PageSourceSearch

https://worldcamera.co.th/assets/index-Dffsf6jx.js

js worldcamera.co.th collected 2026-10-04 03:59:21 UTC 1,555,587 bytes, 482 lines download raw bytes

vendor: 6,973 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/catalog-canon-CY6SC7uC.js","assets/catalog-resolver-MoP1ms1U.js","assets/catalog-nikon-vxW4dPZq.js","assets/catalog-sony-S7Hl6xdt.js","assets/catalog-fujifilm-CdIjWS6C.js","assets/catalog-ricoh-C0eQ2KkC.js","assets/catalog-tamron-C-oMbquZ.js","assets/catalog-kodak-DtesrIy_.js","assets/catalog-eirmai-Qg-HRgwo.js","assets/catalog-fifine-mo9jvdmH.js","assets/catalog-movmax-WZZL8pA_.js","assets/catalog-panasonic-Cw_yMt0f.js","assets/catalog-gopro-DQTo5ixD.js","assets/catalog-insta360-Co7-_jqt.js","assets/catalog-godox-Bt0cWepz.js","assets/catalog-manfrotto-CwFy7e8N.js","assets/catalog-lowepro-cKU299FW.js","assets/catalog-hollyland-D3s6zSX7.js","assets/catalog-feelworld-iOdcTewQ.js","assets/catalog-miliboo-C2o9nuQB.js","assets/peak-design-Cx8VEvk3.js","assets/catalog-pgytech-DWtcOF8L.js"])))=>i.map(i=>d[i]);
2import{k as p9}from"./catalog-kodak-DtesrIy_.js";import{e as g9}from"./catalog-eirmai-Qg-HRgwo.js";import{f as b9}from"./catalog-fifine-mo9jvdmH.js";import{m as y9,n as x9}from"./catalog-movmax-WZZL8pA_.js";import{m as v9}from"./catalog-manfrotto-CwFy7e8N.js";import{l as w9}from"./catalog-lowepro-cKU299FW.js";import{h as S9}from"./catalog-hollyland-D3s6zSX7.js";import{f as C9}from"./catalog-feelworld-iOdcTewQ.js";import{m as N9}from"./catalog-miliboo-C2o9nuQB.js";import{p as k9,c as Fs,g as Zd,C as E9}from"./catalog-pgytech-DWtcOF8L.js";import"./catalog-resolver-MoP1ms1U.js";function Om(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const c=Object.getOwnPropertyDescriptor(r,o);c&&Object.defineProperty(e,o,c.get?c:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function r(o){if(o.ep)return;o.ep=!0;const c=n(o);fetch(o.href,c)}})();function Tm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Y4(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Wp={exports:{}},Pl={};var l2;function j9(){if(l2)return Pl;l2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,c){var u=null;if(c!==void 0&&(u=""+c),o.key!==void 0&&(u=""+o.key),"key"in o){c={};for(var m in o)m!=="key"&&(c[m]=o[m])}else c=o;return o=c.ref,{$$typeof:e,type:r,key:u,ref:o!==void 0?o:null,props:c}}return Pl.Fragment=t,Pl.jsx=n,Pl.jsxs=n,Pl}var c2;function R9(){return c2||(c2=1,Wp.exports=j9()),Wp.exports}var i=R9();const M9=Tm(i),A9=Om({__proto__:null,default:M9},[i]);var Kp={exports:{}},Dl={},Hp={exports:{}},qp={};var u2;function O9(){return u2||(u2=1,(function(e){function t(z,Q){var W=z.length;z.push(Q);e:for(;0<W;){var B=W-1>>>1,O=z[B];if(0<o(O,Q))z[B]=Q,z[W]=O,W=B;else break e}}function n(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var Q=z[0],W=z.pop();if(W!==Q){z[0]=W;e:for(var B=0,O=z.length,X=O>>>1;B<X;){var oe=2*(B+1)-1,se=z[oe],me=oe+1,fe=z[me];if(0>o(se,W))me<O&&0>o(fe,se)?(z[B]=fe,z[me]=W,B=me):(z[B]=se,z[oe]=W,B=oe);else if(me<O&&0>o(fe,W))z[B]=fe,z[me]=W,B=me;else break e}}return Q}function o(z,Q){var W=z.sortIndex-Q.sortIndex;return W!==0?W:z.id-Q.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,m=u.now();e.unstable_now=function(){return u.now()-m}}var f=[],h=[],p=1,b=null,v=3,S=!1,N=!1,w=!1,C=!1,R=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function T(z){for(var Q=n(h);Q!==null;){if(Q.callback===null)r(h);else if(Q.startTime<=z)r(h),Q.sortIndex=Q.expirationTime,t(f,Q);else break;Q=n(h)}}function P(z){if(w=!1,T(z),!N)if(n(f)!==null)N=!0,I||(I=!0,J());else{var Q=n(h);Q!==null&&ie(P,Q.startTime-z)}}var I=!1,_=-1,D=5,V=-1;function H(){return C?!0:!(e.unstable_now()-V<D)}function $(){if(C=!1,I){var z=e.unstable_now();V=z;var Q=!0;try{e:{N=!1,w&&(w=!1,M(_),_=-1),S=!0;var W=v;try{t:{for(T(z),b=n(f);b!==null&&!(b.expirationTime>z&&H());){var B=b.callback;if(typeof B=="function"){b.callback=null,v=b.priorityLevel;var O=B(b.expirationTime<=z);if(z=e.unstable_now(),typeof O=="function"){b.callback=O,T(z),Q=!0;break t}b===n(f)&&r(f),T(z)}else r(f);b=n(f)}if(b!==null)Q=!0;else{var X=n(h);X!==null&&ie(P,X.startTime-z),Q=!1}}break e}finally{b=null,v=W,S=!1}Q=void 0}}finally{Q?J():I=!1}}}var J;if(typeof j=="function")J=function(){j($)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,ee=ae.port2;ae.port1.onmessage=$,J=function(){ee.postMessage(null)}}else J=function(){R($,0)};function ie(z,Q){_=R(function(){z(e.unstable_now())},Q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(z){switch(v){case 1:case 2:case 3:var Q=3;break;default:Q=v}var W=v;v=Q;try{return z()}finally{v=W}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(z,Q){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var W=v;v=z;try{return Q()}finally{v=W}},e.unstable_scheduleCallback=function(z,Q,W){var B=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?B+W:B):W=B,z){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=W+O,z={id:p++,callback:Q,priorityLevel:z,startTime:W,expirationTime:O,sortIndex:-1},W>
vendor: 10,317 bytes, line 2
2B?(z.sortIndex=W,t(h,z),n(f)===null&&z===n(h)&&(w?(M(_),_=-1):w=!0,ie(P,W-B))):(z.sortIndex=O,t(f,z),N||S||(N=!0,I||(I=!0,J()))),z},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(z){var Q=v;return function(){var W=v;v=Q;try{return z.apply(this,arguments)}finally{v=W}}}})(qp)),qp}var d2;function T9(){return d2||(d2=1,Hp.exports=O9()),Hp.exports}var Xp={exports:{}},Ue={};var m2;function P9(){if(m2)return Ue;m2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),b=Symbol.iterator;function v(O){return O===null||typeof O!="object"?null:(O=b&&O[b]||O["@@iterator"],typeof O=="function"?O:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,w={};function C(O,X,oe){this.props=O,this.context=X,this.refs=w,this.updater=oe||S}C.prototype.isReactComponent={},C.prototype.setState=function(O,X){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,X,"setState")},C.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function R(){}R.prototype=C.prototype;function M(O,X,oe){this.props=O,this.context=X,this.refs=w,this.updater=oe||S}var j=M.prototype=new R;j.constructor=M,N(j,C.prototype),j.isPureReactComponent=!0;var T=Array.isArray,P={H:null,A:null,T:null,S:null,V:null},I=Object.prototype.hasOwnProperty;function _(O,X,oe,se,me,fe){return oe=fe.ref,{$$typeof:e,type:O,key:X,ref:oe!==void 0?oe:null,props:fe}}function D(O,X){return _(O.type,X,void 0,void 0,void 0,O.props)}function V(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function H(O){var X={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(oe){return X[oe]})}var $=/\/+/g;function J(O,X){return typeof O=="object"&&O!==null&&O.key!=null?H(""+O.key):X.toString(36)}function ae(){}function ee(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(ae,ae):(O.status="pending",O.then(function(X){O.status==="pending"&&(O.status="fulfilled",O.value=X)},function(X){O.status==="pending"&&(O.status="rejected",O.reason=X)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function ie(O,X,oe,se,me){var fe=typeof O;(fe==="undefined"||fe==="boolean")&&(O=null);var le=!1;if(O===null)le=!0;else switch(fe){case"bigint":case"string":case"number":le=!0;break;case"object":switch(O.$$typeof){case e:case t:le=!0;break;case p:return le=O._init,ie(le(O._payload),X,oe,se,me)}}if(le)return me=me(O),le=se===""?"."+J(O,0):se,T(me)?(oe="",le!=null&&(oe=le.replace($,"$&/")+"/"),ie(me,X,oe,"",function(je){return je})):me!=null&&(V(me)&&(me=D(me,oe+(me.key==null||O&&O.key===me.key?"":(""+me.key).replace($,"$&/")+"/")+le)),X.push(me)),1;le=0;var de=se===""?".":se+":";if(T(O))for(var Se=0;Se<O.length;Se++)se=O[Se],fe=de+J(se,Se),le+=ie(se,X,oe,fe,me);else if(Se=v(O),typeof Se=="function")for(O=Se.call(O),Se=0;!(se=O.next()).done;)se=se.value,fe=de+J(se,Se++),le+=ie(se,X,oe,fe,me);else if(fe==="object"){if(typeof O.then=="function")return ie(ee(O),X,oe,se,me);throw X=String(O),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return le}function z(O,X,oe){if(O==null)return O;var se=[],me=0;return ie(O,se,"","",function(fe){return X.call(oe,fe,me++)}),se}function Q(O){if(O._status===-1){var X=O._result;X=X(),X.then(function(oe){(O._status===0||O._status===-1)&&(O._status=1,O._result=oe)},function(oe){(O._status===0||O._status===-1)&&(O._status=2,O._result=oe)}),O._status===-1&&(O._status=0,O._result=X)}if(O._status===1)return O._result.default;throw O._result}var W=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)};function B(){}return Ue.Children={map:z,forEach:function(O,X,oe){z(O,function(){X.apply(this,arguments)},oe)},count:function(O){var X=0;return z(O,function(){X++}),X},toArray:function(O){return z(O,function(X){return X})||[]},only:function(O){if(!V(O))throw Error("React.Children.only expected to receive a single React element child.");return O}},Ue.Component=C,Ue.Fragment=n,Ue.Profiler=o,Ue.PureComponent=M,Ue.StrictMode=r,Ue.Suspense=f,Ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,Ue.__COMPILER_RUNTIME={__proto__:null,c:function(O){return P.H.useMemoCache(O)}},Ue.cache=function(O){return function(){return O.apply(null,arguments)}},Ue.cloneElement=function(O,X,oe){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var se=N({},O.props),me=O.key,fe=void 0;if(X!=null)for(le in X.ref!==void 0&&(fe=void 0),X.key!==void 0&&(me=""+X.key),X)!I.call(X,le)||le==="key"||le==="__self"||le==="__source"||le==="ref"&&X.ref===void 0||(se[le]=X[le]);var le=arguments.length-2;if(le===1)se.children=oe;else if(1<le){for(var de=Array(le),Se=0;Se<le;Se++)de[Se]=arguments[Se+2];se.children=de}return _(O.type,me,void 0,void 0,fe,se)},Ue.createContext=function(O){return O={$$typeof:u,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:c,_context:O},O},Ue.createElement=function(O,X,oe){var se,me={},fe=null;if(X!=null)for(se in X.key!==void 0&&(fe=""+X.key),X)I.call(X,se)&&se!=="key"&&se!=="__self"&&se!=="__source"&&(me[se]=X[se]);var le=arguments.length-2;if(le===1)me.children=oe;else if(1<le){for(var de=Array(le),Se=0;Se<le;Se++)de[Se]=arguments[Se+2];me.children=de}if(O&&O.defaultProps)for(se in le=O.defaultProps,le)me[se]===void 0&&(me[se]=le[se]);return _(O,fe,void 0,void 0,null,me)},Ue.createRef=function(){return{current:null}},Ue.forwardRef=function(O){return{$$typeof:m,render:O}},Ue.isValidElement=V,Ue.lazy=function(O){return{$$typeof:p,_payload:{_status:-1,_result:O},_init:Q}},Ue.memo=function(O,X){return{$$typeof:h,type:O,compare:X===void 0?null:X}},Ue.startTransition=function(O){var X=P.T,oe={};P.T=oe;try{var se=O(),me=P.S;me!==null&&me(oe,se),typeof se=="object"&&se!==null&&typeof se.then=="function"&&se.then(B,W)}catch(fe){W(fe)}finally{P.T=X}},Ue.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},Ue.use=function(O){return P.H.use(O)},Ue.useActionState=function(O,X,oe){return P.H.useActionState(O,X,oe)},Ue.useCallback=function(O,X){return P.H.useCallback(O,X)},Ue.useContext=function(O){return P.H.useContext(O)},Ue.useDebugValue=function(){},Ue.useDeferredValue=function(O,X){return P.H.useDeferredValue(O,X)},Ue.useEffect=function(O,X,oe){var se=P.H;if(typeof oe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return se.useEffect(O,X)},Ue.useId=function(){return P.H.useId()},Ue.useImperativeHandle=function(O,X,oe){return P.H.useImperativeHandle(O,X,oe)},Ue.useInsertionEffect=function(O,X){return P.H.useInsertionEffect(O,X)},Ue.useLayoutEffect=function(O,X){return P.H.useLayoutEffect(O,X)},Ue.useMemo=function(O,X){return P.H.useMemo(O,X)},Ue.useOptimistic=function(O,X){return P.H.useOptimistic(O,X)},Ue.useReducer=function(O,X,oe){return P.H.useReducer(O,X,oe)},Ue.useRef=function(O){return P.H.useRef(O)},Ue.useState=function(O){return P.H.useState(O)},Ue.useSyncExternalStore=function(O,X,oe){return P.H.useSyncExternalStore(O,X,oe)},Ue.useTransition=function(){return P.H.useTransition()},Ue.version="19.1.0",Ue}var f2;function Pm(){return f2||(f2=1,Xp.exports=P9()),Xp.exports}var Yp={exports:{}},rn={};var h2;function D9(){if(h2)return rn;h2=1;var e=Pm();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");function c(f,h,p){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:b==null?null:""+b,children:f,containerInfo:h,implementation:p}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return rn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,rn.createPortal=function(f,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return c(f,h,null,p)},rn.flushSync=function(f){var h=u.T,p=r.p;try{if(u.T=null,r.p=2,f)return f()}finally{u.T=h,r.p=p,r.d.f()}},rn.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(f,h))},rn.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},rn.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var p=h.as,b=m(p,h.crossOrigin),v=typeof h.integrity=="string"?h.integrity:void 0,S=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?r.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:b,integrity:v,fetchPriority:S}):p==="script"&&r.d.X(f,{crossOrigin:b,integrity:v,fetchPriority:S,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},rn.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=m(h.as,h.
vendor: 4,099 bytes, line 2
2crossOrigin);r.d.M(f,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(f)},rn.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,b=m(p,h.crossOrigin);r.d.L(f,p,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},rn.preloadModule=function(f,h){if(typeof f=="string")if(h){var p=m(h.as,h.crossOrigin);r.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(f)},rn.requestFormReset=function(f){r.d.r(f)},rn.unstable_batchedUpdates=function(f,h){return f(h)},rn.useFormState=function(f,h,p){return u.H.useFormState(f,h,p)},rn.useFormStatus=function(){return u.H.useHostTransitionStatus()},rn.version="19.1.0",rn}var p2;function $4(){if(p2)return Yp.exports;p2=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Yp.exports=D9(),Yp.exports}var g2;function _9(){if(g2)return Dl;g2=1;var e=T9(),t=Pm(),n=$4();function r(a){var s="https://react.dev/errors/"+a;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+a+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function c(a){var s=a,l=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(l=s.return),a=s.return;while(a)}return s.tag===3?l:null}function u(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function m(a){if(c(a)!==a)throw Error(r(188))}function f(a){var s=a.alternate;if(!s){if(s=c(a),s===null)throw Error(r(188));return s!==a?null:a}for(var l=a,d=s;;){var g=l.return;if(g===null)break;var x=g.alternate;if(x===null){if(d=g.return,d!==null){l=d;continue}break}if(g.child===x.child){for(x=g.child;x;){if(x===l)return m(g),a;if(x===d)return m(g),s;x=x.sibling}throw Error(r(188))}if(l.return!==d.return)l=g,d=x;else{for(var E=!1,A=g.child;A;){if(A===l){E=!0,l=g,d=x;break}if(A===d){E=!0,d=g,l=x;break}A=A.sibling}if(!E){for(A=x.child;A;){if(A===l){E=!0,l=x,d=g;break}if(A===d){E=!0,d=x,l=g;break}A=A.sibling}if(!E)throw Error(r(189))}}if(l.alternate!==d)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?a:s}function h(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=h(a),s!==null)return s;a=a.sibling}return null}var p=Object.assign,b=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),M=Symbol.for("react.consumer"),j=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),V=Symbol.for("react.activity"),H=Symbol.for("react.memo_cache_sentinel"),$=Symbol.iterator;function J(a){return a===null||typeof a!="object"?null:(a=$&&a[$]||a["@@iterator"],typeof a=="function"?a:null)}var ae=Symbol.for("react.client.reference");function ee(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===ae?null:a.displayName||a.name||null;
vendor: 15,416 bytes, lines 2-9
2if(typeof a=="string")return a;switch(a){case N:return"Fragment";case C:return"Profiler";case w:return"StrictMode";case P:return"Suspense";case I:return"SuspenseList";case V:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case S:return"Portal";case j:return(a.displayName||"Context")+".Provider";case M:return(a._context.displayName||"Context")+".Consumer";case T:var s=a.render;return a=a.displayName,a||(a=s.displayName||s.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case _:return s=a.displayName||null,s!==null?s:ee(a.type)||"Memo";case D:s=a._payload,a=a._init;try{return ee(a(s))}catch{}}return null}var ie=Array.isArray,z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},B=[],O=-1;function X(a){return{current:a}}function oe(a){0>O||(a.current=B[O],B[O]=null,O--)}function se(a,s){O++,B[O]=a.current,a.current=s}var me=X(null),fe=X(null),le=X(null),de=X(null);function Se(a,s){switch(se(le,s),se(fe,a),se(me,null),s.nodeType){case 9:case 11:a=(a=s.documentElement)&&(a=a.namespaceURI)?Iw(a):0;break;default:if(a=s.tagName,s=s.namespaceURI)s=Iw(s),a=Fw(s,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}oe(me),se(me,a)}function je(){oe(me),oe(fe),oe(le)}function Ie(a){a.memoizedState!==null&&se(de,a);var s=me.current,l=Fw(s,a.type);s!==l&&(se(fe,a),se(me,l))}function Te(a){fe.current===a&&(oe(me),oe(fe)),de.current===a&&(oe(de),Rl._currentValue=W)}var Ke=Object.prototype.hasOwnProperty,dt=e.unstable_scheduleCallback,tt=e.unstable_cancelCallback,he=e.unstable_shouldYield,Ge=e.unstable_requestPaint,Pe=e.unstable_now,yn=e.unstable_getCurrentPriorityLevel,Ee=e.unstable_ImmediatePriority,gt=e.unstable_UserBlockingPriority,Wn=e.unstable_NormalPriority,Ti=e.unstable_LowPriority,Pi=e.unstable_IdlePriority,Di=e.log,_i=e.unstable_setDisableYieldValue,ls=null,sn=null;function Sr(a){if(typeof Di=="function"&&_i(a),sn&&typeof sn.setStrictMode=="function")try{sn.setStrictMode(ls,a)}catch{}}var on=Math.clz32?Math.clz32:Pf,Of=Math.log,Tf=Math.LN2;function Pf(a){return a>>>=0,a===0?32:31-(Of(a)/Tf|0)|0}var eo=256,to=4194304;function Br(a){var s=a&42;if(s!==0)return s;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function no(a,s,l){var d=a.pendingLanes;if(d===0)return 0;var g=0,x=a.suspendedLanes,E=a.pingedLanes;a=a.warmLanes;var A=d&134217727;return A!==0?(d=A&~x,d!==0?g=Br(d):(E&=A,E!==0?g=Br(E):l||(l=A&~a,l!==0&&(g=Br(l))))):(A=d&~x,A!==0?g=Br(A):E!==0?g=Br(E):l||(l=d&~a,l!==0&&(g=Br(l)))),g===0?0:s!==0&&s!==g&&(s&x)===0&&(x=g&-g,l=s&-s,x>=l||x===32&&(l&4194048)!==0)?s:g}function pa(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function Df(a,s){switch(a){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _e(){var a=eo;return eo<<=1,(eo&4194048)===0&&(eo=256),a}function Qe(){var a=to;return to<<=1,(to&62914560)===0&&(to=4194304),a}function Ae(a){for(var s=[],l=0;31>l;l++)s.push(a);return s}function qe(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function ln(a,s,l,d,g,x){var E=a.pendingLanes;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=l,a.entangledLanes&=l,a.errorRecoveryDisabledLanes&=l,a.shellSuspendCounter=0;var A=a.entanglements,F=a.expirationTimes,Y=a.hiddenUpdates;for(l=E&~l;0<l;){var te=31-on(l),re=1<<te;A[te]=0,F[te]=-1;var G=Y[te];if(G!==null)for(Y[te]=null,te=0;te<G.length;te++){var Z=G[te];Z!==null&&(Z.lane&=-536870913)}l&=~re}d!==0&&Xe(a,d,0),x!==0&&g===0&&a.tag!==0&&(a.suspendedLanes|=x&~(E&~s))}function Xe(a,s,l){a.pendingLanes|=s,a.suspendedLanes&=~s;var d=31-on(s);a.entangledLanes|=s,a.entanglements[d]=a.entanglements[d]|1073741824|l&4194090}function ru(a,s){var l=a.entangledLanes|=s;for(a=a.entanglements;l;){var d=31-on(l),g=1<<d;g&s|a[d]&s&&(a[d]|=s),l&=~g}}function Ii(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function Fi(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function ro(){var a=Q.p;return a!==0?a:(a=window.event,a===void 0?32:n2(a.type))}function zi(a,s){var l=Q.p;try{return Q.p=a,s()}finally{Q.p=l}}var ga=Math.random().toString(36).slice(2),tn="__reactFiber$"+ga,xn="__reactProps$"+ga,ao="__reactContainer$"+ga,_f="__reactEvents$"+ga,sM="__reactListeners$"+ga,oM="__reactHandles$"+ga,Nx="__reactResources$"+ga,Li="__reactMarker$"+ga;function If(a){delete a[tn],delete a[xn],delete a[_f],delete a[sM],delete a[oM]}function so(a){var s=a[tn];if(s)return s;for(var l=a.parentNode;l;){if(s=l[ao]||l[tn]){if(l=s.alternate,s.child!==null||l!==null&&l.child!==null)for(a=Vw(a);a!==null;){if(l=a[tn])return l;a=Vw(a)}return s}a=l,l=a.parentNode}return null}function oo(a){if(a=a[tn]||a[ao]){var s=a.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return a}return null}function Ui(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a.stateNode;throw Error(r(33))}function io(a){var s=a[Nx];return s||(s=a[Nx]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Ht(a){a[Li]=!0}var kx=new Set,Ex={};function cs(a,s){lo(a,s),lo(a+"Capture",s)}function lo(a,s){for(Ex[a]=s,a=0;a<s.length;a++)kx.add(s[a])}var iM=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),jx={},Rx={};function lM(a){return Ke.call(Rx,a)?!0:Ke.call(jx,a)?!1:iM.test(a)?Rx[a]=!0:(jx[a]=!0,!1)}function au(a,s,l){if(lM(s))if(l===null)a.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":a.removeAttribute(s);return;case"boolean":var d=s.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){a.removeAttribute(s);return}}a.setAttribute(s,""+l)}}function su(a,s,l){if(l===null)a.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(s);return}a.setAttribute(s,""+l)}}function Wr(a,s,l,d){if(d===null)a.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttributeNS(s,l,""+d)}}var Ff,Mx;function co(a){if(Ff===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);Ff=s&&s[1]||"",Mx=-1<l.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+Ff+a+Mx}var zf=!1;function Lf(a,s){if(!a||zf)return"";zf=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(s){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(Z){var G=Z}Reflect.construct(a,[],re)}else{try{re.call()}catch(Z){G=Z}a.call(re.prototype)}}else{try{throw Error()}catch(Z){G=Z}(re=a())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(Z){if(Z&&G&&typeof Z.stack=="string")return[Z.stack,G.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var x=d.DetermineComponentFrameRoot(),E=x[0],A=x[1];if(E&&A){var F=E.split(`
5`),Y=A.split(`
6`);for(g=d=0;d<F.length&&!F[d].includes("DetermineComponentFrameRoot");)d++;for(;g<Y.length&&!Y[g].includes("DetermineComponentFrameRoot");)g++;if(d===F.length||g===Y.length)for(d=F.length-1,g=Y.length-1;1<=d&&0<=g&&F[d]!==Y[g];)g--;for(;1<=d&&0<=g;d--,g--)if(F[d]!==Y[g]){if(d!==1||g!==1)do if(d--,g--,0>g||F[d]!==Y[g]){var te=`
7`+F[d].replace(" at new "," at ");return a.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",a.displayName)),te}while(1<=d&&0<=g);break}}}finally{zf=!1,Error.prepareStackTrace=l}return(l=a?a.displayName||a.name:"")?co(l):""}function cM(a){switch(a.tag){case 26:case 27:case 5:return co(a.type);case 16:return co("Lazy");case 13:return co("Suspense");case 19:return co("SuspenseList");case 0:case 15:return Lf(a.type,!1);case 11:return Lf(a.type.render,!1);case 1:return Lf(a.type,!0);case 31:return co("Activity");default:return""}}function Ax(a){try{var s="";do s+=cM(a),a=a.return;while(a);return s}catch(l){return`
8Error generating stack: `+l.message+`
9`+l.stack}}function Kn(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ox(a){var s=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function uM(a){var s=Ox(a)?"checked":"value",l=Object.getOwnPropertyDescriptor(a.constructor.prototype,s),d=""+a[s];if(!a.hasOwnProperty(s)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var g=l.get,x=l.set;return Object.defineProperty(a,s,{configurable:!0,get:function(){return g.call(this)},set:function(E){d=""+E,x.call(this,E)}}),Object.defineProperty(a,s,{enumerable:l.enumerable}),{getValue:function(){return d},setValue:function(E){d=""+E},stopTracking:function(){a._valueTracker=null,delete a[s]}}}}function ou(a){a._valueTracker||(a._valueTracker=uM(a))}function Tx(a){if(!a)return!1;var s=a._valueTracker;if(!s)return!0;var l=s.getValue(),d="";return a&&(d=Ox(a)?a.checked?"true":"false":a.value),a=d,a!==l?(s.setValue(a),!0):!1}function iu(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var dM=/[\n"\\]/g;function Hn(a){return a.replace(dM,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Uf(a,s,l,d,g,x,E,A){a.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?a.type=E:a.removeAttribute("type"),s!=null?E==="number"?(s===0&&a.value===""||a.value!=s)&&(a.value=""+Kn(s)):a.value!==""+Kn(s)&&(a.value=""+Kn(s)):E!=="submit"&&E!=="reset"||a.removeAttribute("value"),s!=null?Vf(a,E,Kn(s)):l!=null?Vf(a,E,Kn(l)):d!=null&&a.removeAttribute("value"),g==null&&x!=null&&(a.defaultChecked=!!x),g!=null&&(a.checked=g&&typeof g!="function"&&typeof g!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?a.name=""+Kn(A):a.removeAttribute("name")}function Px(a,s,l,d,g,x,E,A){if(x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(a.type=x),s!=null||l!=null){if(!(x!=="submit"&&x!=="reset"||s!=null))return;l=l!=null?""+Kn(l):"",s=s!=null?""+Kn(s):l,A||s===a.value||(a.value=s),a.defaultValue=s}d=d??g,d=typeof d!="function"&&typeof d!="symbol"&&!!d,a.checked=A?a.checked:!!d,a.defaultChecked=!!d,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(a.name=E)}function Vf(a,s,l){s==="number"&&iu(a.ownerDocument)===a||a.defaultValue===""+l||(a.defaultValue=""+l)}function uo(a,s,l,d){if(a=a.options,s){s={};for(var g=0;g<l.length;g++)s["$"+l[g]]=!0;for(l=0;l<a.length;l++)g=s.hasOwnProperty("$"+a[l].value),a[l].selected!==g&&(a[l].selected=g),g&&d&&(a[l].defaultSelected=!0)}else{for(l=""+Kn(l),s=null,g=0;g<a.length;g++){if(a[g].value===l){a[g].selected=!0,d&&(a[g].defaultSelected=!0);return}s!==null||a[g].disabled||(s=a[g])}s!==null&&(s.selected=!0)}}function Dx(a,s,l){if(s!=null&&(s=""+Kn(s),s!==a.value&&(a.value=s),l==null)){a.defaultValue!==s&&(a.defaultValue=s);return}a.defaultValue=l!=null?""+Kn(l):""}function _x(a,s,l,d){if(s==null){if(d!=null){if(l!=null)throw Error(r(92));if(ie(d)){if(1<d.length)throw Error(r(93));d=d[0]}l=d}l==null&&(l=""),s=l}l=Kn(s),a.defaultValue=l,d=a.textContent,d===l&&d!==""&&d!==null&&(a.value=d)}function mo(a,s){if(s){var l=a.firstChild;if(l&&l===a.lastChild&&l.nodeType===3){l.nodeValue=s;return}}a.textContent=s}var mM=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ix(a,s,l){var d=s.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?d?a.setProperty(s,""):s==="float"?a.cssFloat="":a[s]="":d?a.setProperty(s,l):typeof l!="number"||l===0||mM.has(s)?s==="float"?a.cssFloat=l:a[s]=(""+l).trim():a[s]=l+"px"}function Fx(a,s,l){if(s!=null&&typeof s!="object")throw Error(r(62));if(a=a.style,l!=null){for(var d in l)!l.hasOwnProperty(d)||s!=null&&s.hasOwnProperty(d)||(d.indexOf("--")===0?a.setProperty(d,""):d==="float"?a.cssFloat="":a[d]="");for(var g in s)d=s[g],s.hasOwnProperty(g)&&l[g]!==d&&Ix(a,g,d)}else for(var x in s)s.hasOwnProperty(x)&&Ix(a,x,s[x])}function Bf(a){if(a.indexOf("-")===-1)return!1;switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fM=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
9dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),hM=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function lu(a){return hM.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}var Wf=null;function Kf(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var fo=null,ho=null;function zx(a){var s=oo(a);if(s&&(a=s.stateNode)){var l=a[xn]||null;e:switch(a=s.stateNode,s.type){case"input":if(Uf(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),s=l.name,l.type==="radio"&&s!=null){for(l=a;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Hn(""+s)+'"][type="radio"]'),s=0;s<l.length;s++){var d=l[s];if(d!==a&&d.form===a.form){var g=d[xn]||null;if(!g)throw Error(r(90));Uf(d,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(s=0;s<l.length;s++)d=l[s],d.form===a.form&&Tx(d)}break e;case"textarea":Dx(a,l.value,l.defaultValue);break e;case"select":s=l.value,s!=null&&uo(a,!!l.multiple,s,!1)}}}var Hf=!1;function Lx(a,s,l){if(Hf)return a(s,l);Hf=!0;try{var d=a(s);return d}finally{if(Hf=!1,(fo!==null||ho!==null)&&(Xu(),fo&&(s=fo,a=ho,ho=fo=null,zx(s),a)))for(s=0;s<a.length;s++)zx(a[s])}}function Vi(a,s){var l=a.stateNode;if(l===null)return null;var d=l[xn]||null;if(d===null)return null;l=d[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(a=a.type,d=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!d;break e;default:a=!1}if(a)return null;if(l&&typeof l!="function")throw Error(r(231,s,typeof l));return l}var Kr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qf=!1;
vendor: 8,452 bytes, line 9
9if(Kr)try{var Bi={};Object.defineProperty(Bi,"passive",{get:function(){qf=!0}}),window.addEventListener("test",Bi,Bi),window.removeEventListener("test",Bi,Bi)}catch{qf=!1}var ba=null,Xf=null,cu=null;function Ux(){if(cu)return cu;var a,s=Xf,l=s.length,d,g="value"in ba?ba.value:ba.textContent,x=g.length;for(a=0;a<l&&s[a]===g[a];a++);var E=l-a;for(d=1;d<=E&&s[l-d]===g[x-d];d++);return cu=g.slice(a,1<d?1-d:void 0)}function uu(a){var s=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&s===13&&(a=13)):a=s,a===10&&(a=13),32<=a||a===13?a:0}function du(){return!0}function Vx(){return!1}function vn(a){function s(l,d,g,x,E){this._reactName=l,this._targetInst=g,this.type=d,this.nativeEvent=x,this.target=E,this.currentTarget=null;for(var A in a)a.hasOwnProperty(A)&&(l=a[A],this[A]=l?l(x):x[A]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?du:Vx,this.isPropagationStopped=Vx,this}return p(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=du)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=du)},persist:function(){},isPersistent:du}),s}var us={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mu=vn(us),Wi=p({},us,{view:0,detail:0}),pM=vn(Wi),Yf,$f,Ki,fu=p({},Wi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zf,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Ki&&(Ki&&a.type==="mousemove"?(Yf=a.screenX-Ki.screenX,$f=a.screenY-Ki.screenY):$f=Yf=0,Ki=a),Yf)},movementY:function(a){return"movementY"in a?a.movementY:$f}}),Bx=vn(fu),gM=p({},fu,{dataTransfer:0}),bM=vn(gM),yM=p({},Wi,{relatedTarget:0}),Gf=vn(yM),xM=p({},us,{animationName:0,elapsedTime:0,pseudoElement:0}),vM=vn(xM),wM=p({},us,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),SM=vn(wM),CM=p({},us,{data:0}),Wx=vn(CM),NM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kM={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},EM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jM(a){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(a):(a=EM[a])?!!s[a]:!1}function Zf(){return jM}var RM=p({},Wi,{key:function(a){if(a.key){var s=NM[a.key]||a.key;if(s!=="Unidentified")return s}return a.type==="keypress"?(a=uu(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?kM[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zf,charCode:function(a){return a.type==="keypress"?uu(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?uu(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),MM=vn(RM),AM=p({},fu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kx=vn(AM),OM=p({},Wi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zf}),TM=vn(OM),PM=p({},us,{propertyName:0,elapsedTime:0,pseudoElement:0}),DM=vn(PM),_M=p({},fu,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),IM=vn(_M),FM=p({},us,{newState:0,oldState:0}),zM=vn(FM),LM=[9,13,27,32],Qf=Kr&&"CompositionEvent"in window,Hi=null;Kr&&"documentMode"in document&&(Hi=document.documentMode);var UM=Kr&&"TextEvent"in window&&!Hi,Hx=Kr&&(!Qf||Hi&&8<Hi&&11>=Hi),qx=" ",Xx=!1;function Yx(a,s){switch(a){case"keyup":return LM.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $x(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var po=!1;function VM(a,s){switch(a){case"compositionend":return $x(s);case"keypress":return s.which!==32?null:(Xx=!0,qx);case"textInput":return a=s.data,a===qx&&Xx?null:a;default:return null}}function BM(a,s){if(po)return a==="compositionend"||!Qf&&Yx(a,s)?(a=Ux(),cu=Xf=ba=null,po=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Hx&&s.locale!=="ko"?null:s.data;default:return null}}var WM={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gx(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s==="input"?!!WM[a.type]:s==="textarea"}function Zx(a,s,l,d){fo?ho?ho.push(d):ho=[d]:fo=d,s=Ju(s,"onChange"),0<s.length&&(l=new mu("onChange","change",null,l,d),a.push({event:l,listeners:s}))}var qi=null,Xi=null;function KM(a){Ow(a,0)}function hu(a){var s=Ui(a);if(Tx(s))return a}function Qx(a,s){if(a==="change")return s}var Jx=!1;if(Kr){var Jf;if(Kr){var eh="oninput"in document;if(!eh){var e1=document.createElement("div");e1.setAttribute("oninput","return;"),eh=typeof e1.oninput=="function"}Jf=eh}else Jf=!1;Jx=Jf&&(!document.documentMode||9<document.documentMode)}function t1(){qi&&(qi.detachEvent("onpropertychange",n1),Xi=qi=null)}function n1(a){if(a.propertyName==="value"&&hu(Xi)){var s=[];Zx(s,Xi,a,Kf(a)),Lx(KM,s)}}function HM(a,s,l){a==="focusin"?(t1(),qi=s,Xi=l,qi.attachEvent("onpropertychange",n1)):a==="focusout"&&t1()}function qM(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return hu(Xi)}function XM(a,s){if(a==="click")return hu(s)}function YM(a,s){if(a==="input"||a==="change")return hu(s)}function $M(a,s){return a===s&&(a!==0||1/a===1/s)||a!==a&&s!==s}var En=typeof Object.is=="function"?Object.is:$M;function Yi(a,s){if(En(a,s))return!0;if(typeof a!="object"||a===null||typeof s!="object"||s===null)return!1;var l=Object.keys(a),d=Object.keys(s);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var g=l[d];if(!Ke.call(s,g)||!En(a[g],s[g]))return!1}return!0}function r1(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function a1(a,s){var l=r1(a);a=0;for(var d;l;){if(l.nodeType===3){if(d=a+l.textContent.length,a<=s&&d>=s)return{node:l,offset:s-a};a=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=r1(l)}}function s1(a,s){return a&&s?a===s?!0:a&&a.nodeType===3?!1:s&&s.nodeType===3?s1(a,s.parentNode):"contains"in a?a.contains(s):a.compareDocumentPosition?!!(a.compareDocumentPosition(s)&16):!1:!1}function o1(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var s=iu(a.document);s instanceof a.HTMLIFrameElement;){try{var l=typeof s.contentWindow.location.href=="string"}catch{l=!1}if(l)a=s.contentWindow;else break;s=iu(a.document)}return s}function th(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s&&(s==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||s==="textarea"||a.contentEditable==="true")}var GM=Kr&&"documentMode"in document&&11>=document.documentMode,go=null,nh=null,$i=null,rh=!1;function i1(a,s,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;rh||go==null||go!==iu(d)||(d=go,"selectionStart"in d&&th(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focu
vendor: 97,605 bytes, line 9
9sNode:d.focusNode,focusOffset:d.focusOffset}),$i&&Yi($i,d)||($i=d,d=Ju(nh,"onSelect"),0<d.length&&(s=new mu("onSelect","select",null,s,l),a.push({event:s,listeners:d}),s.target=go)))}function ds(a,s){var l={};return l[a.toLowerCase()]=s.toLowerCase(),l["Webkit"+a]="webkit"+s,l["Moz"+a]="moz"+s,l}var bo={animationend:ds("Animation","AnimationEnd"),animationiteration:ds("Animation","AnimationIteration"),animationstart:ds("Animation","AnimationStart"),transitionrun:ds("Transition","TransitionRun"),transitionstart:ds("Transition","TransitionStart"),transitioncancel:ds("Transition","TransitionCancel"),transitionend:ds("Transition","TransitionEnd")},ah={},l1={};Kr&&(l1=document.createElement("div").style,"AnimationEvent"in window||(delete bo.animationend.animation,delete bo.animationiteration.animation,delete bo.animationstart.animation),"TransitionEvent"in window||delete bo.transitionend.transition);function ms(a){if(ah[a])return ah[a];if(!bo[a])return a;var s=bo[a],l;for(l in s)if(s.hasOwnProperty(l)&&l in l1)return ah[a]=s[l];return a}var c1=ms("animationend"),u1=ms("animationiteration"),d1=ms("animationstart"),ZM=ms("transitionrun"),QM=ms("transitionstart"),JM=ms("transitioncancel"),m1=ms("transitionend"),f1=new Map,sh="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");sh.push("scrollEnd");function ir(a,s){f1.set(a,s),cs(s,[a])}var h1=new WeakMap;function qn(a,s){if(typeof a=="object"&&a!==null){var l=h1.get(a);return l!==void 0?l:(s={value:a,source:s,stack:Ax(s)},h1.set(a,s),s)}return{value:a,source:s,stack:Ax(s)}}var Xn=[],yo=0,oh=0;function pu(){for(var a=yo,s=oh=yo=0;s<a;){var l=Xn[s];Xn[s++]=null;var d=Xn[s];Xn[s++]=null;var g=Xn[s];Xn[s++]=null;var x=Xn[s];if(Xn[s++]=null,d!==null&&g!==null){var E=d.pending;E===null?g.next=g:(g.next=E.next,E.next=g),d.pending=g}x!==0&&p1(l,g,x)}}function gu(a,s,l,d){Xn[yo++]=a,Xn[yo++]=s,Xn[yo++]=l,Xn[yo++]=d,oh|=d,a.lanes|=d,a=a.alternate,a!==null&&(a.lanes|=d)}function ih(a,s,l,d){return gu(a,s,l,d),bu(a)}function xo(a,s){return gu(a,null,null,s),bu(a)}function p1(a,s,l){a.lanes|=l;var d=a.alternate;d!==null&&(d.lanes|=l);for(var g=!1,x=a.return;x!==null;)x.childLanes|=l,d=x.alternate,d!==null&&(d.childLanes|=l),x.tag===22&&(a=x.stateNode,a===null||a._visibility&1||(g=!0)),a=x,x=x.return;return a.tag===3?(x=a.stateNode,g&&s!==null&&(g=31-on(l),a=x.hiddenUpdates,d=a[g],d===null?a[g]=[s]:d.push(s),s.lane=l|536870912),x):null}function bu(a){if(50<vl)throw vl=0,fp=null,Error(r(185));for(var s=a.return;s!==null;)a=s,s=a.return;return a.tag===3?a.stateNode:null}var vo={};function eA(a,s,l,d){this.tag=a,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jn(a,s,l,d){return new eA(a,s,l,d)}function lh(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Hr(a,s){var l=a.alternate;return l===null?(l=jn(a.tag,s,a.key,a.mode),l.elementType=a.elementType,l.type=a.type,l.stateNode=a.stateNode,l.alternate=a,a.alternate=l):(l.pendingProps=s,l.type=a.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=a.flags&65011712,l.childLanes=a.childLanes,l.lanes=a.lanes,l.child=a.child,l.memoizedProps=a.memoizedProps,l.memoizedState=a.memoizedState,l.updateQueue=a.updateQueue,s=a.dependencies,l.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},l.sibling=a.sibling,l.index=a.index,l.ref=a.ref,l.refCleanup=a.refCleanup,l}function g1(a,s){a.flags&=65011714;var l=a.alternate;return l===null?(a.childLanes=0,a.lanes=s,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,s=l.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),a}function yu(a,s,l,d,g,x){var E=0;if(d=a,typeof a=="function")lh(a)&&(E=1);else if(typeof a=="string")E=n9(a,l,me.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case V:return a=jn(31,l,s,g),a.elementType=V,a.lanes=x,a;case N:return fs(l.children,g,x,s);case w:E=8,g|=24;break;case C:return a=jn(12,l,s,g|2),a.elementType=C,a.lanes=x,a;case P:return a=jn(13,l,s,g),a.elementType=P,a.lanes=x,a;case I:return a=jn(19,l,s,g),a.elementType=I,a.lanes=x,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case R:case j:E=10;break e;case M:E=9;break e;case T:E=11;break e;case _:E=14;break e;case D:E=16,d=null;break e}E=29,l=Error(r(130,a===null?"null":typeof a,"")),d=null}return s=jn(E,l,s,g),s.elementType=a,s.type=d,s.lanes=x,s}function fs(a,s,l,d){return a=jn(7,a,d,s),a.lanes=l,a}function ch(a,s,l){return a=jn(6,a,null,s),a.lanes=l,a}function uh(a,s,l){return s=jn(4,a.children!==null?a.children:[],a.key,s),s.lanes=l,s.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},s}var wo=[],So=0,xu=null,vu=0,Yn=[],$n=0,hs=null,qr=1,Xr="";function ps(a,s){wo[So++]=vu,wo[So++]=xu,xu=a,vu=s}function b1(a,s,l){Yn[$n++]=qr,Yn[$n++]=Xr,Yn[$n++]=hs,hs=a;var d=qr;a=Xr;var g=32-on(d)-1;d&=~(1<<g),l+=1;var x=32-on(s)+g;if(30<x){var E=g-g%5;x=(d&(1<<E)-1).toString(32),d>>=E,g-=E,qr=1<<32-on(s)+g|l<<g|d,Xr=x+a}else qr=1<<x|l<<g|d,Xr=a}function dh(a){a.return!==null&&(ps(a,1),b1(a,1,0))}function mh(a){for(;a===xu;)xu=wo[--So],wo[So]=null,vu=wo[--So],wo[So]=null;for(;a===hs;)hs=Yn[--$n],Yn[$n]=null,Xr=Yn[--$n],Yn[$n]=null,qr=Yn[--$n],Yn[$n]=null}var cn=null,Nt=null,et=!1,gs=null,Cr=!1,fh=Error(r(519));function bs(a){var s=Error(r(418,""));throw Qi(qn(s,a)),fh}function y1(a){var s=a.stateNode,l=a.type,d=a.memoizedProps;switch(s[tn]=a,s[xn]=d,l){case"dialog":$e("cancel",s),$e("close",s);break;case"iframe":case"object":case"embed":$e("load",s);break;case"video":case"audio":for(l=0;l<Sl.length;l++)$e(Sl[l],s);break;case"source":$e("error",s);break;case"img":case"image":case"link":$e("error",s),$e("load",s);break;case"details":$e("toggle",s);break;case"input":$e("invalid",s),Px(s,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0),ou(s);break;case"select":$e("invalid",s);break;case"textarea":$e("invalid",s),_x(s,d.value,d.defaultValue,d.children),ou(s)}l=d.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||s.textContent===""+l||d.suppressHydrationWarning===!0||_w(s.textContent,l)?(d.popover!=null&&($e("beforetoggle",s),$e("toggle",s)),d.onScroll!=null&&$e("scroll",s),d.onScrollEnd!=null&&$e("scrollend",s),d.onClick!=null&&(s.onclick=ed),s=!0):s=!1,s||bs(a)}function x1(a){for(cn=a.return;cn;)switch(cn.tag){case 5:case 13:Cr=!1;return;case 27:case 3:Cr=!0;return;default:cn=cn.return}}function Gi(a){if(a!==cn)return!1;if(!et)return x1(a),et=!0,!1;var s=a.tag,l;if((l=s!==3&&s!==27)&&((l=s===5)&&(l=a.type,l=!(l!=="form"&&l!=="button")||Mp(a.type,a.memoizedProps)),l=!l),l&&Nt&&bs(a),x1(a),s===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));e:{for(a=a.nextSibling,s=0;a;){if(a.nodeType===8)if(l=a.data,l==="/$"){if(s===0){Nt=cr(a.nextSibling);break e}s--}else l!=="$"&&l!=="$!"&&l!=="$?"||s++;a=a.nextSibling}Nt=null}}else s===27?(s=Nt,Pa(a.type)?(a=Pp,Pp=null,Nt=a):Nt=s):Nt=cn?cr(a.stateNode.nextSibling):null;return!0}function Zi(){Nt=cn=null,et=!1}function v1(){var a=gs;return a!==null&&(Cn===null?Cn=a:Cn.push.apply(Cn,a),gs=null),a}function Qi(a){gs===null?gs=[a]:gs.push(a)}var hh=X(null),ys=null,Yr=null;function ya(a,s,l){se(hh,s._currentValue),s._currentValue=l}function $r(a){a._currentValue=hh.current,oe(hh)}function ph(a,s,l){for(;a!==null;){var d=a.alternate;if((a.childLanes&s)!==s?(a.childLanes|=s,d!==null&&(d.childLanes|=s)):d!==null&&(d.childLanes&s)!==s&&(d.childLanes|=s),a===l)break;a=a.return}}function gh(a,s,l,d){var g=a.child;for(g!==null&&(g.return=a);g!==null;){var x=g.dependencies;if(x!==null){var E=g.child;x=x.firstContext;e:for(;x!==null;){var A=x;x=g;for(var F=0;F<s.length;F++)if(A.context===s[F]){x.lanes|=l,A=x.alternate,A!==null&&(A.lanes|=l),ph(x.return,l,a),d||(E=null);break e}x=A.next}}else if(g.tag===18){if(E=g.return,E===null)throw Error(r(341));E.lanes|=l,x=E.alternate,x!==null&&(x.lanes|=l),ph(E,l,a),E=null}else E=g.child;if(E!==null)E.return=g;else for(E=g;E!==null;){if(E===a){E=null;break}if(g=E.sibling,g!==null){g.return=E.return,E=g;break}E=E.return}g=E}}function Ji(a,s,l,d){a=null;for(var g=s,x=!1;g!==null;){if(!x){if((g.flags&524288)!==0)x=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var E=g.alternate;if(E===null)throw Error(r(387));if(E=E.memoizedProps,E!==null){var A=g.type;En(g.pendingProps.value,E.value)||(a!==null?a.push(A):a=[A])}}else if(g===de.current){if(E=g.alternate,E===null)throw Error(r(387));E.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(a!==null?a.push(Rl):a=[Rl])}g=g.return}a!==null&&gh(s,a,l,d),s.flags|=262144}function wu(a){for(a=a.firstContext;a!==null;){if(!En(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function xs(a){ys=a,Yr=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function nn(a){return w1(ys,a)}function Su(a,s){return ys===null&&xs(a),w1(a,s)}function w1(a,s){var l=s._currentValue;if(s={context:s,memoizedValue:l,next:null},Yr===null){if(a===null)throw Error(r(308));Yr=s,a.dependencies={lanes:0,firstContext:s},a.flags|=524288}else Yr=Yr.next=s;return l}var tA=typeof AbortController<"u"?AbortController:function(){var a=[],s=this.signal={aborted:!1,addEventListener:function(l,d){a.push(d)}};this.abort=function(){s.aborted=!0,a.forEach(function(l){return l()})}},nA=e.unstable_scheduleCallback,rA=e.unstable_NormalPriority,Lt={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bh(){return{controller:new tA,data:new Map,refCount:0}}function el(a){a.refCount--,a.refCount===0&&nA(rA,function(){a.controller.abort()})}var tl=null,yh=0,Co=0,No=null;function aA(a,s){if(tl===null){var l=tl=[];yh=0,Co=vp(),No={status:"pending",value:void 0,then:function(d){l.push(d)}}}return yh++,s.then(S1,S1),s}function S1(){if(--yh===0&&tl!==null){No!==null&&(No.status="fulfilled");var a=tl;tl=null,Co=0,No=null;for(var s=0;s<a.length;s++)(0,a[s])()}}function sA(a,s){var l=[],d={status:"pending",value:null,reason:null,then:function(g){l.push(g)}};return a.then(function(){d.status="fulfilled",d.value=s;for(var g=0;g<l.length;g++)(0,l[g])(s)},function(g){for(d.status="rejected",d.reason=g,g=0;g<l.length;g++)(0,l[g])(void 0)}),d}var C1=z.S;z.S=function(a,s){typeof s=="object"&&s!==null&&typeof s.then=="function"&&aA(a,s),C1!==null&&C1(a,s)};var vs=X(null);function xh(){var a=vs.current;return a!==null?a:pt.pooledCache}function Cu(a,s){s===null?se(vs,vs.current):se(vs,s.pool)}function N1(){var a=xh();return a===null?null:{parent:Lt._currentValue,pool:a}}var nl=Error(r(460)),k1=Error(r(474)),Nu=Error(r(542)),vh={then:function(){}};function E1(a){return a=a.status,a==="fulfilled"||a==="rejected"}function ku(){}function j1(a,s,l){switch(l=a[l],l===void 0?a.push(s):l!==s&&(s.then(ku,ku),s=l),s.status){case"fulfilled":return s.value;case"rejected":throw a=s.reason,M1(a),a;default:if(typeof s.status=="string")s.then(ku,ku);else{if(a=pt,a!==null&&100<a.shellSuspendCounter)throw Error(r(482));a=s,a.status="pending",a.then(function(d){if(s.status==="pending"){var g=s;g.status="fulfilled",g.value=d}},function(d){if(s.status==="pending"){var g=s;g.status="rejected",g.reason=d}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw a=s.reason,M1(a),a}throw rl=s,nl}}var rl=null;function R1(){if(rl===null)throw Error(r(459));var a=rl;return rl=null,a}function M1(a){if(a===nl||a===Nu)throw Error(r(483))}var xa=!1;function wh(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Sh(a,s){a=a.updateQueue,s.updateQueue===a&&(s.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function va(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function wa(a,s,l){var d=a.updateQueue;if(d===null)return null;if(d=d.shared,(nt&2)!==0){var g=d.pending;return g===null?s.next=s:(s.next=g.next,g.next=s),d.pending=s,s=bu(a),p1(a,null,l),s}return gu(a,d,s,l),bu(a)}function al(a,s,l){if(s=s.updateQueue,s!==null&&(s=s.shared,(l&4194048)!==0)){var d=s.lanes;d&=a.pendingLanes,l|=d,s.lanes=l,ru(a,l)}}function Ch(a,s){var l=a.updateQueue,d=a.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var g=null,x=null;if(l=l.firstBaseUpdate,l!==null){do{var E={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};x===null?g=x=E:x=x.next=E,l=l.next}while(l!==null);x===null?g=x=s:x=x.next=s}else g=x=s;l={baseState:d.baseState,firstBaseUpdate:g,lastBaseUpdate:x,shared:d.shared,callbacks:d.callbacks},a.updateQueue=l;return}a=l.lastBaseUpdate,a===null?l.firstBaseUpdate=s:a.next=s,l.lastBaseUpdate=s}var Nh=!1;function sl(){if(Nh){var a=No;if(a!==null)throw a}}function ol(a,s,l,d){Nh=!1;var g=a.updateQueue;xa=!1;var x=g.firstBaseUpdate,E=g.lastBaseUpdate,A=g.shared.pending;if(A!==null){g.shared.pending=null;var F=A,Y=F.next;F.next=null,E===null?x=Y:E.next=Y,E=F;var te=a.alternate;te!==null&&(te=te.updateQueue,A=te.lastBaseUpdate,A!==E&&(A===null?te.firstBaseUpdate=Y:A.next=Y,te.lastBaseUpdate=F))}if(x!==null){var re=g.baseState;E=0,te=Y=F=null,A=x;do{var G=A.lane&-536870913,Z=G!==A.lane;if(Z?(Ze&G)===G:(d&G)===G){G!==0&&G===Co&&(Nh=!0),te!==null&&(te=te.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var De=a,Me=A;G=s;var lt=l;switch(Me.tag){case 1:if(De=Me.payload,typeof De=="function"){re=De.call(lt,re,G);break e}re=De;break e;case 3:De.flags=De.flags&-65537|128;case 0:if(De=Me.payload,G=typeof De=="function"?De.call(lt,re,G):De,G==null)break e;re=p({},re,G);break e;case 2:xa=!0}}G=A.callback,G!==null&&(a.flags|=64,Z&&(a.flags|=8192),Z=g.callbacks,Z===null?g.callbacks=[G]:Z.push(G))}else Z={lane:G,tag:A.tag,payload:A.payload,callback:A.callback,next:null},te===null?(Y=te=Z,F=re):te=te.next=Z,E|=G;if(A=A.next,A===null){if(A=g.shared.pending,A===null)break;Z=A,A=Z.next,Z.next=null,g.lastBaseUpdate=Z,g.shared.pending=null}}while(!0);te===null&&(F=re),g.baseState=F,g.firstBaseUpdate=Y,g.lastBaseUpdate=te,x===null&&(g.shared.lanes=0),Ma|=E,a.lanes=E,a.memoizedState=re}}function A1(a,s){if(typeof a!="function")throw Error(r(191,a));a.call(s)}function O1(a,s){var l=a.callbacks;if(l!==null)for(a.callbacks=null,a=0;a<l.length;a++)A1(l[a],s)}var ko=X(null),Eu=X(0);function T1(a,s){a=na,se(Eu,a),se(ko,s),na=a|s.baseLanes}function kh(){se(Eu,na),se(ko,ko.current)}function Eh(){na=Eu.current,oe(ko),oe(Eu)}var Sa=0,Be=null,ot=null,Dt=null,ju=!1,Eo=!1,ws=!1,Ru=0,il=0,jo=null,oA=0;function Mt(){throw Error(r(321))}function jh(a,s){if(s===null)return!1;for(var l=0;l<s.length&&l<a.length;l++)if(!En(a[l],s[l]))return!1;return!0}function Rh(a,s,l,d,g,x){return Sa=x,Be=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,z.H=a===null||a.memoizedState===null?pv:gv,ws=!1,x=l(d,g),ws=!1,Eo&&(x=D1(s,l,d,g)),P1(a),x}function P1(a){z.H=Du;var s=ot!==null&&ot.next!==null;if(Sa=0,Dt=ot=Be=null,ju=!1,il=0,jo=null,s)throw Error(r(300));a===null||qt||(a=a.dependencies,a!==null&&wu(a)&&(qt=!0))}function D1(a,s,l,d){Be=a;var g=0;do{if(Eo&&(jo=null),il=0,Eo=!1,25<=g)throw Error(r(301));if(g+=1,Dt=ot=null,a.updateQueue!=null){var x=a.updateQueue;x.lastEffect=null,x.events=null,x.stores=null,x.memoCache!=null&&(x.memoCache.index=0)}z.H=fA,x=s(l,d)}while(Eo);return x}function iA(){var a=z.H,s=a.useState()[0];return s=typeof s.then=="function"?ll(s):s,a=a.useState()[0],(ot!==null?ot.memoizedState:null)!==a&&(Be.flags|=1024),s}function Mh(){var a=Ru!==0;return Ru=0,a}function Ah(a,s,l){s.updateQueue=a.updateQueue,s.flags&=-2053,a.lanes&=~l}function Oh(a){if(ju){for(a=a.memoizedState;a!==null;){var s=a.queue;s!==null&&(s.pending=null),a=a.next}ju=!1}Sa=0,Dt=ot=Be=null,Eo=!1,il=Ru=0,jo=null}function wn(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Dt===null?Be.memoizedState=Dt=a:Dt=Dt.next=a,Dt}function _t(){if(ot===null){var a=Be.alternate;a=a!==null?a.memoizedState:null}else a=ot.next;var s=Dt===null?Be.memoizedState:Dt.next;if(s!==null)Dt=s,ot=a;else{if(a===null)throw Be.alternate===null?Error(r(467)):Error(r(310));ot=a,a={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},Dt===null?Be.memoizedState=Dt=a:Dt=Dt.next=a}return Dt}function Th(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ll(a){var s=il;return il+=1,jo===null&&(jo=[]),a=j1(jo,a,s),s=Be,(Dt===null?s.memoizedState:Dt.next)===null&&(s=s.alternate,z.H=s===null||s.memoizedState===null?pv:gv),a}function Mu(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return ll(a);if(a.$$typeof===j)return nn(a)}throw Error(r(438,String(a)))}function Ph(a){var s=null,l=Be.updateQueue;if(l!==null&&(s=l.memoCache),s==null){var d=Be.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(s={data:d.data.map(function(g){return g.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),l===null&&(l=Th(),Be.updateQueue=l),l.memoCache=s,l=s.data[s.index],l===void 0)for(l=s.data[s.index]=Array(a),d=0;d<a;d++)l[d]=H;return s.index++,l}function Gr(a,s){return typeof s=="function"?s(a):s}function Au(a){var s=_t();return Dh(s,ot,a)}function Dh(a,s,l){var d=a.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=l;var g=a.baseQueue,x=d.pending;if(x!==null){if(g!==null){var E=g.next;g.next=x.next,x.next=E}s.baseQueue=g=x,d.pending=null}if(x=a.baseState,g===null)a.memoizedState=x;else{s=g.next;var A=E=null,F=null,Y=s,te=!1;do{var re=Y.lane&-536870913;if(re!==Y.lane?(Ze&re)===re:(Sa&re)===re){var G=Y.revertLane;if(G===0)F!==null&&(F=F.next={lane:0,revertLane:0,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),re===Co&&(te=!0);else if((Sa&G)===G){Y=Y.next,G===Co&&(te=!0);continue}else re={lane:0,revertLane:Y.revertLane,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},F===null?(A=F=re,E=x):F=F.next=re,Be.lanes|=G,Ma|=G;re=Y.action,ws&&l(x,re),x=Y.hasEagerState?Y.eagerState:l(x,re)}else G={lane:re,revertLane:Y.revertLane,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},F===null?(A=F=G,E=x):F=F.next=G,Be.lanes|=re,Ma|=re;Y=Y.next}while(Y!==null&&Y!==s);if(F===null?E=x:F.next=A,!En(x,a.memoizedState)&&(qt=!0,te&&(l=No,l!==null)))throw l;a.memoizedState=x,a.baseState=E,a.baseQueue=F,d.lastRenderedState=x}return g===null&&(d.lanes=0),[a.memoizedState,d.dispatch]}function _h(a){var s=_t(),l=s.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=a;var d=l.dispatch,g=l.pending,x=s.memoizedState;if(g!==null){l.pending=null;var E=g=g.next;do x=a(x,E.action),E=E.next;while(E!==g);En(x,s.memoizedState)||(qt=!0),s.memoizedState=x,s.baseQueue===null&&(s.baseState=x),l.lastRenderedState=x}return[x,d]}function _1(a,s,l){var d=Be,g=_t(),x=et;if(x){if(l===void 0)throw Error(r(407));l=l()}else l=s();var E=!En((ot||g).memoizedState,l);E&&(g.memoizedState=l,qt=!0),g=g.queue;var A=z1.bind(null,d,g,a);if(cl(2048,8,A,[a]),g.getSnapshot!==s||E||Dt!==null&&Dt.memoizedState.tag&1){if(d.flags|=2048,Ro(9,Ou(),F1.bind(null,d,g,l,s),null),pt===null)throw Error(r(349));x||(Sa&124)!==0||I1(d,s,l)}return l}function I1(a,s,l){a.flags|=16384,a={getSnapshot:s,value:l},s=Be.updateQueue,s===null?(s=Th(),Be.updateQueue=s,s.stores=[a]):(l=s.stores,l===null?s.stores=[a]:l.push(a))}function F1(a,s,l,d){s.value=l,s.getSnapshot=d,L1(s)&&U1(a)}function z1(a,s,l){return l(function(){L1(s)&&U1(a)})}function L1(a){var s=a.getSnapshot;a=a.value;try{var l=s();return!En(a,l)}catch{return!0}}function U1(a){var s=xo(a,2);s!==null&&Tn(s,a,2)}function Ih(a){var s=wn();if(typeof a=="function"){var l=a;if(a=l(),ws){Sr(!0);try{l()}finally{Sr(!1)}}}return s.memoizedState=s.baseState=a,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:a},s}function V1(a,s,l,d){return a.baseState=l,Dh(a,ot,typeof d=="function"?d:Gr)}function lA(a,s,l,d,g){if(Pu(a))throw Error(r(485));if(a=s.action,a!==null){var x={payload:g,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){x.listeners.push(E)}};z.T!==null?l(!0):x.isTransition=!1,d(x),l=s.pending,l===null?(x.next=s.pending=x,B1(s,x)):(x.next=l.next,s.pending=l.next=x)}}function B1(a,s){var l=s.action,d=s.payload,g=a.state;if(s.isTransition){var x=z.T,E={};z.T=E;try{var A=l(g,d),F=z.S;F!==null&&F(E,A),W1(a,s,A)}catch(Y){Fh(a,s,Y)}finally{z.T=x}}else try{x=l(g,d),W1(a,s,x)}catch(Y){Fh(a,s,Y)}}function W1(a,s,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(d){K1(a,s,d)},function(d){return Fh(a,s,d)}):K1(a,s,l)}function K1(a,s,l){s.status="fulfilled",s.value=l,H1(s),a.state=l,s=a.pending,s!==null&&(l=s.next,l===s?a.pending=null:(l=l.next,s.next=l,B1(a,l)))}function Fh(a,s,l){var d=a.pending;if(a.pending=null,d!==null){d=d.next;do s.status="rejected",s.reason=l,H1(s),s=s.next;while(s!==d)}a.action=null}function H1(a){a=a.listeners;for(var s=0;s<a.length;s++)(0,a[s])()}function q1(a,s){return s}function X1(a,s){if(et){var l=pt.formState;if(l!==null){e:{var d=Be;if(et){if(Nt){t:{for(var g=Nt,x=Cr;g.nodeType!==8;){if(!x){g=null;break t}if(g=cr(g.nextSibling),g===null){g=null;break t}}x=g.data,g=x==="F!"||x==="F"?g:null}if(g){Nt=cr(g.nextSibling),d=g.data==="F!";break e}}bs(d)}d=!1}d&&(s=l[0])}}return l=wn(),l.memoizedState=l.baseState=s,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:q1,lastRenderedState:s},l.queue=d,l=mv.bind(null,Be,d),d.dispatch=l,d=Ih(!1),x=Bh.bind(null,Be,!1,d.queue),d=wn(),g={state:s,dispatch:null,action:a,pending:null},d.queue=g,l=lA.bind(null,Be,g,x,l),g.dispatch=l,d.memoizedState=a,[s,l,!1]}function Y1(a){var s=_t();return $1(s,ot,a)}function $1(a,s,l){if(s=Dh(a,s,q1)[0],a=Au(Gr)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var d=ll(s)}catch(E){throw E===nl?Nu:E}else d=s;s=_t();var g=s.queue,x=g.dispatch;return l!==s.memoizedState&&(Be.flags|=2048,Ro(9,Ou(),cA.bind(null,g,l),null)),[d,x,a]}function cA(a,s){a.action=s}function G1(a){var s=_t(),l=ot;if(l!==null)return $1(s,l,a);_t(),s=s.memoizedState,l=_t();var d=l.queue.dispatch;return l.memoizedState=a,[s,d,!1]}function Ro(a,s,l,d){return a={tag:a,create:l,deps:d,inst:s,next:null},s=Be.updateQueue,s===null&&(s=Th(),Be.updateQueue=s),l=s.lastEffect,l===null?s.lastEffect=a.next=a:(d=l.next,l.next=a,a.next=d,s.lastEffect=a),a}function Ou(){return{destroy:void 0,resource:void 0}}function Z1(){return _t().memoizedState}function Tu(a,s,l,d){var g=wn();d=d===void 0?null:d,Be.flags|=a,g.memoizedState=Ro(1|s,Ou(),l,d)}function cl(a,s,l,d){var g=_t();d=d===void 0?null:d;var x=g.memoizedState.inst;ot!==null&&d!==null&&jh(d,ot.memoizedState.deps)?g.memoizedState=Ro(s,x,l,d):(Be.flags|=a,g.memoizedState=Ro(1|s,x,l,d))}function Q1(a,s){Tu(8390656,8,a,s)}function J1(a,s){cl(2048,8,a,s)}function ev(a,s){return cl(4,2,a,s)}function tv(a,s){return cl(4,4,a,s)}function nv(a,s){if(typeof s=="function"){a=a();var l=s(a);return function(){typeof l=="function"?l():s(null)}}if(s!=null)return a=a(),s.current=a,function(){s.current=null}}function rv(a,s,l){l=l!=null?l.concat([a]):null,cl(4,4,nv.bind(null,s,a),l)}function zh(){}function av(a,s){var l=_t();s=s===void 0?null:s;var d=l.memoizedState;return s!==null&&jh(s,d[1])?d[0]:(l.memoizedState=[a,s],a)}function sv(a,s){var l=_t();s=s===void 0?null:s;var d=l.memoizedState;if(s!==null&&jh(s,d[1]))return d[0];if(d=a(),ws){Sr(!0);try{a()}finally{Sr(!1)}}return l.memoizedState=[d,s],d}function Lh(a,s,l){return l===void 0||(Sa&1073741824)!==0?a.memoizedState=s:(a.memoizedState=l,a=lw(),Be.lanes|=a,Ma|=a,l)}function ov(a,s,l,d){return En(l,s)?l:ko.current!==null?(a=Lh(a,l,d),En(a,s)||(qt=!0),a):(Sa&42)===0?(qt=!0,a.memoizedState=l):(a=lw(),Be.lanes|=a,Ma|=a,s)}function iv(a,s,l,d,g){var x=Q.p;Q.p=x!==0&&8>x?x:8;var E=z.T,A={};z.T=A,Bh(a,!1,s,l);try{var F=g(),Y=z.S;if(Y!==null&&Y(A,F),F!==null&&typeof F=="object"&&typeof F.then=="function"){var te=sA(F,d);ul(a,s,te,On(a))}else ul(a,s,d,On(a))}catch(re){ul(a,s,{then:function(){},status:"rejected",reason:re},On())}finally{Q.p=x,z.T=E}}function uA(){}function Uh(a,s,l,d){if(a.tag!==5)throw Error(r(476));var g=lv(a).queue;iv(a,g,s,W,l===null?uA:function(){return cv(a),l(d)})}function lv(a){var s=a.memoizedState;if(s!==null)return s;s={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:W},next:null};var l={};return s.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:l},next:null},a.memoizedState=s,a=a.alternate,a!==null&&(a.memoizedState=s),s}function cv(a){var s=lv(a).next.queue;ul(a,s,{},On())}function Vh(){return nn(Rl)}function uv(){return _t().memoizedState}function dv(){return _t().memoizedState}function dA(a){for(var s=a.return;s!==null;){switch(s.tag){case 24:case 3:var l=On();a=va(l);var d=wa(s,a,l);d!==null&&(Tn(d,s,l),al(d,s,l)),s={cache:bh()},a.payload=s;return}s=s.return}}function mA(a,s,l){var d=On();l={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Pu(a)?fv(s,l):(l=ih(a,s,l,d),l!==null&&(Tn(l,a,d),hv(l,s,d)))}function mv(a,s,l){var d=On();ul(a,s,l,d)}function ul(a,s,l,d){var g={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Pu(a))fv(s,g);else{var x=a.alternate;if(a.lanes===0&&(x===null||x.lanes===0)&&(x=s.lastRenderedReducer,x!==null))try{var E=s.lastRenderedState,A=x(E,l);if(g.hasEagerState=!0,g.eagerState=A,En(A,E))return gu(a,s,g,0),pt===null&&pu(),!1}catch{}if(l=ih(a,s,g,d),l!==null)return Tn(l,a,d),hv(l,s,d),!0}return!1}function Bh(a,s,l,d){if(d={lane:2,revertLane:vp(),action:d,hasEagerState:!1,eagerState:null,next:null},Pu(a)){if(s)throw Error(r(479))}else s=ih(a,l,d,2),s!==null&&Tn(s,a,2)}function Pu(a){var s=a.alternate;return a===Be||s!==null&&s===Be}function fv(a,s){Eo=ju=!0;var l=a.pending;l===null?s.next=s:(s.next=l.next,l.next=s),a.pending=s}function hv(a,s,l){if((l&4194048)!==0){var d=s.lanes;d&=a.pendingLanes,l|=d,s.lanes=l,ru(a,l)}}var Du={readContext:nn,use:Mu,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useLayoutEffect:Mt,useInsertionEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useSyncExternalStore:Mt,useId:Mt,useHostTransitionStatus:Mt,useFormState:Mt,useActionState:Mt,useOptimistic:Mt,useMemoCache:Mt,useCacheRefresh:Mt},pv={readContext:nn,use:Mu,useCallback:function(a,s){return wn().memoizedState=[a,s===void 0?null:s],a},useContext:nn,useEffect:Q1,useImperativeHandle:function(a,s,l){l=l!=null?l.concat([a]):null,Tu(4194308,4,nv.bind(null,s,a),l)},useLayoutEffect:function(a,s){return Tu(4194308,4,a,s)},useInsertionEffect:function(a,s){Tu(4,2,a,s)},useMemo:function(a,s){var l=wn();s=s===void 0?null:s;var d=a();if(ws){Sr(!0);try{a()}finally{Sr(!1)}}return l.memoizedState=[d,s],d},useReducer:function(a,s,l){var d=wn();if(l!==void 0){var g=l(s);if(ws){Sr(!0);try{l(s)}finally{Sr(!1)}}}else g=s;return d.memoizedState=d.baseState=g,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:g},d.queue=a,a=a.dispatch=mA.bind(null,Be,a),[d.memoizedState,a]},useRef:function(a){var s=wn();return a={current:a},s.memoizedState=a},useState:function(a){a=Ih(a);var s=a.queue,l=mv.bind(null,Be,s);return s.dispatch=l,[a.memoizedState,l]},useDebugValue:zh,useDeferredValue:function(a,s){var l=wn();return Lh(l,a,s)},useTransition:function(){var a=Ih(!1);return a=iv.bind(null,Be,a.queue,!0,!1),wn().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,s,l){var d=Be,g=wn();if(et){if(l===void 0)throw Error(r(407));l=l()}else{if(l=s(),pt===null)throw Error(r(349));(Ze&124)!==0||I1(d,s,l)}g.memoizedState=l;var x={value:l,getSnapshot:s};return g.queue=x,Q1(z1.bind(null,d,x,a),[a]),d.flags|=2048,Ro(9,Ou(),F1.bind(null,d,x,l,s),null),l},useId:function(){var a=wn(),s=pt.identifierPrefix;if(et){var l=Xr,d=qr;l=(d&~(1<<32-on(d)-1)).toString(32)+l,s="«"+s+"R"+l,l=Ru++,0<l&&(s+="H"+l.toString(32)),s+="»"}else l=oA++,s="«"+s+"r"+l.toString(32)+"»";return a.memoizedState=s},useHostTransitionStatus:Vh,useFormState:X1,useActionState:X1,useOptimistic:function(a){var s=wn();s.memoizedState=s.baseState=a;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=l,s=Bh.bind(null,Be,!0,l),l.dispatch=s,[a,s]},useMemoCache:Ph,useCacheRefresh:function(){return wn().memoizedState=dA.bind(null,Be)}},gv={readContext:nn,use:Mu,useCallback:av,useContext:nn,useEffect:J1,useImperativeHandle:rv,useInsertionEffect:ev,useLayoutEffect:tv,useMemo:sv,useReducer:Au,useRef:Z1,useState:function(){return Au(Gr)},useDebugValue:zh,useDeferredValue:function(a,s){var l=_t();return ov(l,ot.memoizedState,a,s)},useTransition:function(){var a=Au(Gr)[0],s=_t().memoizedState;return[typeof a=="boolean"?a:ll(a),s]},useSyncExternalStore:_1,useId:uv,useHostTransitionStatus:Vh,useFormState:Y1,useActionState:Y1,useOptimistic:function(a,s){var l=_t();return V1(l,ot,a,s)},useMemoCache:Ph,useCacheRefresh:dv},fA={readContext:nn,use:Mu,useCallback:av,useContext:nn,useEffect:J1,useImperativeHandle:rv,useInsertionEffect:ev,useLayoutEffect:tv,useMemo:sv,useReducer:_h,useRef:Z1,useState:function(){return _h(Gr)},useDebugValue:zh,useDeferredValue:function(a,s){var l=_t();return ot===null?Lh(l,a,s):ov(l,ot.memoizedState,a,s)},useTransition:function(){var a=_h(Gr)[0],s=_t().memoizedState;return[typeof a=="boolean"?a:ll(a),s]},useSyncExternalStore:_1,useId:uv,useHostTransitionStatus:Vh,useFormState:G1,useActionState:G1,useOptimistic:function(a,s){var l=_t();return ot!==null?V1(l,ot,a,s):(l.baseState=a,[a,l.queue.dispatch])},useMemoCache:Ph,useCacheRefresh:dv},Mo=null,dl=0;function _u(a){var s=dl;return dl+=1,Mo===null&&(Mo=[]),j1(Mo,a,s)}function ml(a,s){s=s.props.ref,a.ref=s!==void 0?s:null}function Iu(a,s){throw s.$$typeof===b?Error(r(525)):(a=Object.prototype.toString.call(s),Error(r(31,a==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":a)))}function bv(a){var s=a._init;return s(a._payload)}function yv(a){function s(K,U){if(a){var q=K.deletions;q===null?(K.deletions=[U],K.flags|=16):q.push(U)}}function l(K,U){if(!a)return null;for(;U!==null;)s(K,U),U=U.sibling;return null}function d(K){for(var U=new Map;K!==null;)K.key!==null?U.set(K.key,K):U.set(K.index,K),K=K.sibling;return U}function g(K,U){return K=Hr(K,U),K.index=0,K.sibling=null,K}function x(K,U,q){return K.index=q,a?(q=K.alternate,q!==null?(q=q.index,q<U?(K.flags|=67108866,U):q):(K.flags|=67108866,U)):(K.flags|=1048576,U)}function E(K){return a&&K.alternate===null&&(K.flags|=67108866),K}function A(K,U,q,ne){return U===null||U.tag!==6?(U=ch(q,K.mode,ne),U.return=K,U):(U=g(U,q),U.return=K,U)}function F(K,U,q,ne){var ve=q.type;return ve===N?te(K,U,q.props.children,ne,q.key):U!==null&&(U.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===D&&bv(ve)===U.type)?(U=g(U,q.props),ml(U,q),U.return=K,U):(U=yu(q.type,q.key,q.props,null,K.mode,ne),ml(U,q),U.return=K,U)}function Y(K,U,q,ne){return U===null||U.tag!==4||U.stateNode.containerInfo!==q.containerInfo||U.stateNode.implementation!==q.implementation?(U=uh(q,K.mode,ne),U.return=K,U):(U=g(U,q.children||[]),U.return=K,U)}function te(K,U,q,ne,ve){return U===null||U.tag!==7?(U=fs(q,K.mode,ne,ve),U.return=K,U):(U=g(U,q),U.return=K,U)}function re(K,U,q){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return U=ch(""+U,K.mode,q),U.return=K,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case v:return q=yu(U.type,U.key,U.props,null,K.mode,q),ml(q,U),q.return=K,q;case S:return U=uh(U,K.mode,q),U.return=K,U;case D:var ne=U._init;return U=ne(U._payload),re(K,U,q)}if(ie(U)||J(U))return U=fs(U,K.mode,q,null),U.return=K,U;if(typeof U.then=="function")return re(K,_u(U),q);if(U.$$typeof===j)return re(K,Su(K,U),q);Iu(K,U)}return null}function G(K,U,q,ne){var ve=U!==null?U.key:null;if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return ve!==null?null:A(K,U,""+q,ne);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case v:return q.key===ve?F(K,U,q,ne):null;case S:return q.key===ve?Y(K,U,q,ne):null;case D:return ve=q._init,q=ve(q._payload),G(K,U,q,ne)}if(ie(q)||J(q))return ve!==null?null:te(K,U,q,ne,null);if(typeof q.then=="function")return G(K,U,_u(q),ne);if(q.$$typeof===j)return G(K,U,Su(K,q),ne);Iu(K,q)}return null}function Z(K,U,q,ne,ve){if(typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint")return K=K.get(q)||null,A(U,K,""+ne,ve);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case v:return K=K.get(ne.key===null?q:ne.key)||null,F(U,K,ne,ve);case S:return K=K.get(ne.key===null?q:ne.key)||null,Y(U,K,ne,ve);case D:var He=ne._init;return ne=He(ne._payload),Z(K,U,q,ne,ve)}if(ie(ne)||J(ne))return K=K.get(q)||null,te(U,K,ne,ve,null);if(typeof ne.then=="function")return Z(K,U,q,_u(ne),ve);if(ne.$$typeof===j)return Z(K,U,q,Su(U,ne),ve);Iu(U,ne)}return null}function De(K,U,q,ne){for(var ve=null,He=null,Ne=U,Oe=U=0,Yt=null;Ne!==null&&Oe<q.length;Oe++){Ne.index>Oe?(Yt=Ne,Ne=null):Yt=Ne.sibling;var Je=G(K,Ne,q[Oe],ne);if(Je===null){Ne===null&&(Ne=Yt);break}a&&Ne&&Je.alternate===null&&s(K,Ne),U=x(Je,U,Oe),He===null?ve=Je:He.sibling=Je,He=Je,Ne=Yt}if(Oe===q.length)return l(K,Ne),et&&ps(K,Oe),ve;if(Ne===null){for(;Oe<q.length;Oe++)Ne=re(K,q[Oe],ne),Ne!==null&&(U=x(Ne,U,Oe),He===null?ve=Ne:He.sibling=Ne,He=Ne);return et&&ps(K,Oe),ve}for(Ne=d(Ne);Oe<q.length;Oe++)Yt=Z(Ne,K,Oe,q[Oe],ne),Yt!==null&&(a&&Yt.alternate!==null&&Ne.delete(Yt.key===null?Oe:Yt.key),U=x(Yt,U,Oe),He===null?ve=Yt:He.sibling=Yt,He=Yt);return a&&Ne.forEach(function(za){return s(K,za)}),et&&ps(K,Oe),ve}function Me(K,U,q,ne){if(q==null)throw Error(r(151));for(var ve=null,He=null,Ne=U,Oe=U=0,Yt=null,Je=q.next();Ne!==null&&!Je.done;Oe++,Je=q.next()){Ne.index>Oe?(Yt=Ne,Ne=null):Yt=Ne.sibling;var za=G(K,Ne,Je.value,ne);if(za===null){Ne===null&&(Ne=Yt);break}a&&Ne&&za.alternate===null&&s(K,Ne),U=x(za,U,Oe),He===null?ve=za:He.sibling=za,He=za,Ne=Yt}if(Je.done)return l(K,Ne),et&&ps(K,Oe),ve;if(Ne===null){for(;!Je.done;Oe++,Je=q.next())Je=re(K,Je.value,ne),Je!==null&&(U=x(Je,U,Oe),He===null?ve=Je:He.sibling=Je,He=Je);return et&&ps(K,Oe),ve}for(Ne=d(Ne);!Je.done;Oe++,Je=q.next())Je=Z(Ne,K,Oe,Je.value,ne),Je!==null&&(a&&Je.alternate!==null&&Ne.delete(Je.key===null?Oe:Je.key),U=x(Je,U,Oe),He===null?ve=Je:He.sibling=Je,He=Je);return a&&Ne.forEach(function(h9){return s(K,h9)}),et&&ps(K,Oe),ve}function lt(K,U,q,ne){if(typeof q=="object"&&q!==null&&q.type===N&&q.key===null&&(q=q.props.children),typeof q=="object"&&q!==null){switch(q.$$typeof){case v:e:{for(var ve=q.key;U!==null;){if(U.key===ve){if(ve=q.type,ve===N){if(U.tag===7){l(K,U.sibling),ne=g(U,q.props.children),ne.return=K,K=ne;break e}}else if(U.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===D&&bv(ve)===U.type){l(K,U.sibling),ne=g(U,q.props),ml(ne,q),ne.return=K,K=ne;break e}l(K,U);break}else s(K,U);U=U.sibling}q.type===N?(ne=fs(q.props.children,K.mode,ne,q.key),ne.return=K,K=ne):(ne=yu(q.type,q.key,q.props,null,K.mode,ne),ml(ne,q),ne.return=K,K=ne)}return E(K);case S:e:{for(ve=q.key;U!==null;){if(U.key===ve)if(U.tag===4&&U.stateNode.containerInfo===q.containerInfo&&U.stateNode.implementation===q.implementation){l(K,U.sibling),ne=g(U,q.children||[]),ne.return=K,K=ne;break e}else{l(K,U);break}else s(K,U);U=U.sibling}ne=uh(q,K.mode,ne),ne.return=K,K=ne}return E(K);case D:return ve=q._init,q=ve(q._payload),lt(K,U,q,ne)}if(ie(q))return De(K,U,q,ne);if(J(q)){if(ve=J(q),typeof ve!="function")throw Error(r(150));return q=ve.call(q),Me(K,U,q,ne)}if(typeof q.then=="function")return lt(K,U,_u(q),ne);if(q.$$typeof===j)return lt(K,U,Su(K,q),ne);Iu(K,q)}return typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint"?(q=""+q,U!==null&&U.tag===6?(l(K,U.sibling),ne=g(U,q),ne.return=K,K=ne):(l(K,U),ne=ch(q,K.mode,ne),ne.return=K,K=ne),E(K)):l(K,U)}return function(K,U,q,ne){try{dl=0;var ve=lt(K,U,q,ne);return Mo=null,ve}catch(Ne){if(Ne===nl||Ne===Nu)throw Ne;var He=jn(29,Ne,null,K.mode);return He.lanes=ne,He.return=K,He}}}var Ao=yv(!0),xv=yv(!1),Gn=X(null),Nr=null;function Ca(a){var s=a.alternate;se(Ut,Ut.current&1),se(Gn,a),Nr===null&&(s===null||ko.current!==null||s.memoizedState!==null)&&(Nr=a)}function vv(a){if(a.tag===22){if(se(Ut,Ut.current),se(Gn,a),Nr===null){var s=a.alternate;s!==null&&s.memoizedState!==null&&(Nr=a)}}else Na()}function Na(){se(Ut,Ut.current),se(Gn,Gn.current)}function Zr(a){oe(Gn),Nr===a&&(Nr=null),oe(Ut)}var Ut=X(0);function Fu(a){for(var s=a;s!==null;){if(s.tag===13){var l=s.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||Tp(l)))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function Wh(a,s,l,d){s=a.memoizedState,l=l(d,s),l=l==null?s:p({},s,l),a.memoizedState=l,a.lanes===0&&(a.updateQueue.baseState=l)}var Kh={enqueueSetState:function(a,s,l){a=a._reactInternals;var d=On(),g=va(d);g.payload=s,l!=null&&(g.callback=l),s=wa(a,g,d),s!==null&&(Tn(s,a,d),al(s,a,d))},enqueueReplaceState:function(a,s,l){a=a._reactInternals;var d=On(),g=va(d);g.tag=1,g.payload=s,l!=null&&(g.callback=l),s=wa(a,g,d),s!==null&&(Tn(s,a,d),al(s,a,d))},enqueueForceUpdate:function(a,s){a=a._reactInternals;var l=On(),d=va(l);d.tag=2,s!=null&&(d.callback=s),s=wa(a,d,l),s!==null&&(Tn(s,a,l),al(s,a,l))}};function wv(a,s,l,d,g,x,E){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(d,x,E):s.prototype&&s.prototype.isPureReactComponent?!Yi(l,d)||!Yi(g,x):!0}function Sv(a,s,l,d){a=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(l,d),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(l,d),s.state!==a&&Kh.enqueueReplaceState(s,s.state,null)}function Ss(a,s){var l=s;if("ref"in s){l={};for(var d in s)d!=="ref"&&(l[d]=s[d])}if(a=a.defaultProps){l===s&&(l=p({},l));for(var g in a)l[g]===void 0&&(l[g]=a[g])}return l}var zu=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)};function Cv(a){zu(a)}function Nv(a){console.error(a)}function kv(a){zu(a)}function Lu(a,s){try{var l=a.onUncaughtError;l(s.value,{componentStack:s.stack})}catch(d){setTimeout(function(){throw d})}}function Ev(a,s,l){try{var d=a.onCaughtError;d(l.value,{componentStack:l.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function Hh(a,s,l){return l=va(l),l.tag=3,l.payload={element:null},l.callback=function(){Lu(a,s)},l}function jv(a){return a=va(a),a.tag=3,a}function Rv(a,s,l,d){var g=l.type.getDerivedStateFromError;if(typeof g=="function"){var x=d.value;a.payload=function(){return g(x)},a.callback=function(){Ev(s,l,d)}}var E=l.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(a.callback=function(){Ev(s,l,d),typeof g!="function"&&(Aa===null?Aa=new Set([this]):Aa.add(this));var A=d.stack;this.componentDidCatch(d.value,{componentStack:A!==null?A:""})})}function hA(a,s,l,d,g){if(l.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){if(s=l.alternate,s!==null&&Ji(s,l,g,!0),l=Gn.current,l!==null){switch(l.tag){case 13:return Nr===null?pp():l.alternate===null&&kt===0&&(kt=3),l.flags&=-257,l.flags|=65536,l.lanes=g,d===vh?l.flags|=16384:(s=l.updateQueue,s===null?l.updateQueue=new Set([d]):s.add(d),bp(a,d,g)),!1;case 22:return l.flags|=65536,d===vh?l.flags|=16384:(s=l.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([d])},l.updateQueue=s):(l=s.retryQueue,l===null?s.retryQueue=new Set([d]):l.add(d)),bp(a,d,g)),!1}throw Error(r(435,l.tag))}return bp(a,d,g),pp(),!1}if(et)return s=Gn.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=g,d!==fh&&(a=Error(r(422),{cause:d}),Qi(qn(a,l)))):(d!==fh&&(s=Error(r(423),{cause:d}),Qi(qn(s,l))),a=a.current.alternate,a.flags|=65536,g&=-g,a.lanes|=g,d=qn(d,l),g=Hh(a.stateNode,d,g),Ch(a,g),kt!==4&&(kt=2)),!1;var x=Error(r(520),{cause:d});if(x=qn(x,l),xl===null?xl=[x]:xl.push(x),kt!==4&&(kt=2),s===null)return!0;d=qn(d,l),l=s;do{switch(l.tag){case 3:return l.flags|=65536,a=g&-g,l.lanes|=a,a=Hh(l.stateNode,d,a),Ch(l,a),!1;case 1:if(s=l.type,x=l.stateNode,(l.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Aa===null||!Aa.has(x))))return l.flags|=65536,g&=-g,l.lanes|=g,g=jv(g),Rv(g,a,l,d),Ch(l,g),!1}l=l.return}while(l!==null);return!1}var Mv=Error(r(461)),qt=!1;function $t(a,s,l,d){s.child=a===null?xv(s,null,l,d):Ao(s,a.child,l,d)}function Av(a,s,l,d,g){l=l.render;var x=s.ref;if("ref"in d){var E={};for(var A in d)A!=="ref"&&(E[A]=d[A])}else E=d;return xs(s),d=Rh(a,s,l,E,x,g),A=Mh(),a!==null&&!qt?(Ah(a,s,g),Qr(a,s,g)):(et&&A&&dh(s),s.flags|=1,$t(a,s,d,g),s.child)}function Ov(a,s,l,d,g){if(a===null){var x=l.type;return typeof x=="function"&&!lh(x)&&x.defaultProps===void 0&&l.compare===null?(s.tag=15,s.type=x,Tv(a,s,x,d,g)):(a=yu(l.type,null,d,s,s.mode,g),a.ref=s.ref,a.return=s,s.child=a)}if(x=a.child,!Jh(a,g)){var E=x.memoizedProps;if(l=l.compare,l=l!==null?l:Yi,l(E,d)&&a.ref===s.ref)return Qr(a,s,g)}return s.flags|=1,a=Hr(x,d),a.ref=s.ref,a.return=s,s.child=a}function Tv(a,s,l,d,g){if(a!==null){var x=a.memoizedProps;if(Yi(x,d)&&a.ref===s.ref)if(qt=!1,s.pendingProps=d=x,Jh(a,g))(a.flags&131072)!==0&&(qt=!0);else return s.lanes=a.lanes,Qr(a,s,g)}return qh(a,s,l,d,g)}function Pv(a,s,l){var d=s.pendingProps,g=d.children,x=a!==null?a.memoizedState:null;if(d.mode==="hidden"){if((s.flags&128)!==0){if(d=x!==null?x.baseLanes|l:l,a!==null){for(g=s.child=a.child,x=0;g!==null;)x=x|g.lanes|g.childLanes,g=g.sibling;s.childLanes=x&~d}else s.childLanes=0,s.child=null;return Dv(a,s,d,l)}if((l&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},a!==null&&Cu(s,x!==null?x.cachePool:null),x!==null?T1(s,x):kh(),vv(s);else return s.lanes=s.childLanes=536870912,Dv(a,s,x!==null?x.baseLanes|l:l,l)}else x!==null?(Cu(s,x.cachePool),T1(s,x),Na(),s.memoizedState=null):(a!==null&&Cu(s,null),kh(),Na());return $t(a,s,g,l),s.child}function Dv(a,s,l,d){var g=xh();return g=g===null?null:{parent:Lt._currentValue,pool:g},s.memoizedState={baseLanes:l,cachePool:g},a!==null&&Cu(s,null),kh(),vv(s),a!==null&&Ji(a,s,d,!0),null}function Uu(a,s){var l=s.ref;if(l===null)a!==null&&a.ref!==null&&(s.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(a===null||a.ref!==l)&&(s.flags|=4194816)}}function qh(a,s,l,d,g){return xs(s),l=Rh(a,s,l,d,void 0,g),d=Mh(),a!==null&&!qt?(Ah(a,s,g),Qr(a,s,g)):(et&&d&&dh(s),s.flags|=1,$t(a,s,l,g),s.child)}function _v(a,s,l,d,g,x){return xs(s),s.updateQueue=null,l=D1(s,d,l,g),P1(a),d=Mh(),a!==null&&!qt?(Ah(a,s,x),Qr(a,s,x)):(et&&d&&dh(s),s.flags|=1,$t(a,s,l,x),s.child)}function Iv(a,s,l,d,g){if(xs(s),s.stateNode===null){var x=vo,E=l.contextType;typeof E=="object"&&E!==null&&(x=nn(E)),x=new l(d,x),s.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,x.updater=Kh,s.stateNode=x,x._reactInternals=s,x=s.stateNode,x.props=d,x.state=s.memoizedState,x.refs={},wh(s),E=l.contextType,x.context=typeof E=="object"&&E!==null?nn(E):vo,x.state=s.memoizedState,E=l.getDerivedStateFromProps,typeof E=="function"&&(Wh(s,l,E,d),x.state=s.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(E=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),E!==x.state&&Kh.enqueueReplaceState(x,x.state,null),ol(s,d,x,g),sl(),x.state=s.memoizedState),typeof x.componentDidMount=="function"&&(s.flags|=4194308),d=!0}else if(a===null){x=s.stateNode;var A=s.memoizedProps,F=Ss(l,A);x.props=F;var Y=x.context,te=l.contextType;E=vo,typeof te=="object"&&te!==null&&(E=nn(te));var re=l.getDerivedStateFromProps;te=typeof re=="function"||typeof x.getSnapshotBeforeUpdate=="function",A=s.pendingProps!==A,te||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(A||Y!==E)&&Sv(s,x,d,E),xa=!1;var G=s.memoizedState;x.state=G,ol(s,d,x,g),sl(),Y=s.memoizedState,A||G!==Y||xa?(typeof re=="function"&&(Wh(s,l,re,d),Y=s.memoizedState),(F=xa||wv(s,l,F,d,G,Y,E))?(te||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(s.flags|=4194308)):(typeof x.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=d,s.memoizedState=Y),x.props=d,x.state=Y,x.context=E,d=F):(typeof x.componentDidMount=="function"&&(s.flags|=4194308),d=!1)}else{x=s.stateNode,Sh(a,s),E=s.memoizedProps,te=Ss(l,E),x.props=te,re=s.pendingProps,G=x.context,Y=l.contextType,F=vo,typeof Y=="object"&&Y!==null&&(F=nn(Y)),A=l.getDerivedStateFromProps,(Y=typeof A=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(E!==re||G!==F)&&Sv(s,x,d,F),xa=!1,G=s.memoizedState,x.state=G,ol(s,d,x,g),sl();var Z=s.memoizedState;E!==re||G!==Z||xa||a!==null&&a.dependencies!==null&&wu(a.dependencies)?(typeof A=="function"&&(Wh(s,l,A,d),Z=s.memoizedState),(te=xa||wv(s,l,te,d,G,Z,F)||a!==null&&a.dependencies!==null&&wu(a.dependencies))?(Y||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(d,Z,F),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(d,Z,F)),typeof x.componentDidUpdate=="function"&&(s.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof x.componentDidUpdate!="function"||E===a.memoizedProps&&G===a.memoizedState||(s.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||E===a.memoizedProps&&G===a.memoizedState||(s.flags|=1024),s.memoizedProps=d,s.memoizedState=Z),x.props=d,x.state=Z,x.context=F,d=te):(typeof x.componentDidUpdate!="function"||E===a.memoizedProps&&G===a.memoizedState||(s.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||E===a.memoizedProps&&G===a.memoizedState||(s.flags|=1024),d=!1)}return x=d,Uu(a,s),d=(s.flags&128)!==0,x||d?(x=s.stateNode,l=d&&typeof l.getDerivedStateFromError!="function"?null:x.render(),s.flags|=1,a!==null&&d?(s.child=Ao(s,a.child,null,g),s.child=Ao(s,null,l,g)):$t(a,s,l,g),s.memoizedState=x.state,a=s.child):a=Qr(a,s,g),a}function Fv(a,s,l,d){return Zi(),s.flags|=256,$t(a,s,l,d),s.child}var Xh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Yh(a){return{baseLanes:a,cachePool:N1()}}function $h(a,s,l){return a=a!==null?a.childLanes&~l:0,s&&(a|=Zn),a}function zv(a,s,l){var d=s.pendingProps,g=!1,x=(s.flags&128)!==0,E;if((E=x)||(E=a!==null&&a.memoizedState===null?!1:(Ut.current&2)!==0),E&&(g=!0,s.flags&=-129),E=(s.flags&32)!==0,s.flags&=-33,a===null){if(et){if(g?Ca(s):Na(),et){var A=Nt,F;if(F=A){e:{for(F=A,A=Cr;F.nodeType!==8;){if(!A){A=null;break e}if(F=cr(F.nextSibling),F===null){A=null;break e}}A=F}A!==null?(s.memoizedState={dehydrated:A,treeContext:hs!==null?{id:qr,overflow:Xr}:null,retryLane:536870912,hydrationErrors:null},F=jn(18,null,null,0),F.stateNode=A,F.return=s,s.child=F,cn=s,Nt=null,F=!0):F=!1}F||bs(s)}if(A=s.memoizedState,A!==null&&(A=A.dehydrated,A!==null))return Tp(A)?s.lanes=32:s.lanes=536870912,null;Zr(s)}return A=d.children,d=d.fallback,g?(Na(),g=s.mode,A=Vu({mode:"hidden",children:A},g),d=fs(d,g,l,null),A.return=s,d.return=s,A.sibling=d,s.child=A,g=s.child,g.memoizedState=Yh(l),g.childLanes=$h(a,E,l),s.memoizedState=Xh,d):(Ca(s),Gh(s,A))}if(F=a.memoizedState,F!==null&&(A=F.dehydrated,A!==null)){if(x)s.flags&256?(Ca(s),s.flags&=-257,s=Zh(a,s,l)):s.memoizedState!==null?(Na(),s.child=a.child,s.flags|=128,s=null):(Na(),g=d.fallback,A=s.mode,d=Vu({mode:"visible",children:d.children},A),g=fs(g,A,l,null),g.flags|=2,d.return=s,g.return=s,d.sibling=g,s.child=d,Ao(s,a.child,null,l),d=s.child,d.memoizedState=Yh(l),d.childLanes=$h(a,E,l),s.memoizedState=Xh,s=g);else if(Ca(s),Tp(A)){if(E=A.nextSibling&&A.nextSibling.dataset,E)var Y=E.dgst;E=Y,d=Error(r(419)),d.stack="",d.digest=E,Qi({value:d,source:null,stack:null}),s=Zh(a,s,l)}else if(qt||Ji(a,s,l,!1),E=(l&a.childLanes)!==0,qt||E){if(E=pt,E!==null&&(d=l&-l,d=(d&42)!==0?1:Ii(d),d=(d&(E.suspendedLanes|l))!==0?0:d,d!==0&&d!==F.retryLane))throw F.retryLane=d,xo(a,d),Tn(E,a,d),Mv;A.data==="$?"||pp(),s=Zh(a,s,l)}else A.data==="$?"?(s.flags|=192,s.child=a.child,s=null):(a=F.treeContext,Nt=cr(A.nextSibling),cn=s,et=!0,gs=null,Cr=!1,a!==null&&(Yn[$n++]=qr,Yn[$n++]=Xr,Yn[$n++]=hs,qr=a.id,Xr=a.overflow,hs=s),s=Gh(s,d.children),s.flags|=4096);return s}return g?(Na(),g=d.fallback,A=s.mode,F=a.child,Y=F.sibling,d=Hr(F,{mode:"hidden",children:d.children}),d.subtreeFlags=F.subtreeFlags&65011712,Y!==null?g=Hr(Y,g):(g=fs(g,A,l,null),g.flags|=2),g.return=s,d.return=s,d.sibling=g,s.child=d,d=g,g=s.child,A=a.child.memoizedState,A===null?A=Yh(l):(F=A.cachePool,F!==null?(Y=Lt._currentValue,F=F.parent!==Y?{parent:Y,pool:Y}:F):F=N1(),A={baseLanes:A.baseLanes|l,cachePool:F}),g.memoizedState=A,g.childLanes=$h(a,E,l),s.memoizedState=Xh,d):(Ca(s),l=a.child,a=l.sibling,l=Hr(l,{mode:"visible",children:d.children}),l.return=s,l.sibling=null,a!==null&&(E=s.deletions,E===null?(s.deletions=[a],s.flags|=16):E.push(a)),s.child=l,s.memoizedState=null,l)}function Gh(a,s){return s=Vu({mode:"visible",children:s},a.mode),s.return=a,a.child=s}function Vu(a,s){return a=jn(22,a,null,s),a.lanes=0,a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},a}function Zh(a,s,l){return Ao(s,a.child,null,l),a=Gh(s,s.pendingProps.children),a.flags|=2,s.memoizedState=null,a}function Lv(a,s,l){a.lanes|=s;var d=a.alternate;d!==null&&(d.lanes|=s),ph(a.return,s,l)}function Qh(a,s,l,d,g){var x=a.memoizedState;x===null?a.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:g}:(x.isBackwards=s,x.rendering=null,x.renderingStartTime=0,x.last=d,x.tail=l,x.tailMode=g)}function Uv(a,s,l){var d=s.pendingProps,g=d.revealOrder,x=d.tail;if($t(a,s,d.children,l),d=Ut.current,(d&2)!==0)d=d&1|2,s.flags|=128;else{if(a!==null&&(a.flags&128)!==0)e:for(a=s.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Lv(a,l,s);else if(a.tag===19)Lv(a,l,s);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break e;for(;a.sibling===null;){if(a.return===null||a.return===s)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}d&=1}switch(se(Ut,d),g){case"forwards":for(l=s.child,g=null;l!==null;)a=l.alternate,a!==null&&Fu(a)===null&&(g=l),l=l.sibling;l=g,l===null?(g=s.child,s.child=null):(g=l.sibling,l.sibling=null),Qh(s,!1,g,l,x);break;case"backwards":for(l=null,g=s.child,s.child=null;g!==null;){if(a=g.alternate,a!==null&&Fu(a)===null){s.child=g;break}a=g.sibling,g.sibling=l,l=g,g=a}Qh(s,!0,l,null,x);break;case"together":Qh(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Qr(a,s,l){if(a!==null&&(s.dependencies=a.dependencies),Ma|=s.lanes,(l&s.childLanes)===0)if(a!==null){if(Ji(a,s,l,!1),(l&s.childLanes)===0)return null}else return null;if(a!==null&&s.child!==a.child)throw Error(r(153));if(s.child!==null){for(a=s.child,l=Hr(a,a.pendingProps),s.child=l,l.return=s;a.sibling!==null;)a=a.sibling,l=l.sibling=Hr(a,a.pendingProps),l.return=s;l.sibling=null}return s.child}function Jh(a,s){return(a.lanes&s)!==0?!0:(a=a.dependencies,!!(a!==null&&wu(a)))}function pA(a,s,l){switch(s.tag){case 3:Se(s,s.stateNode.containerInfo),ya(s,Lt,a.memoizedState.cache),Zi();break;case 27:case 5:Ie(s);break;case 4:Se(s,s.stateNode.containerInfo);break;case 10:ya(s,s.type,s.memoizedProps.value);break;case 13:var d=s.memoizedState;if(d!==null)return d.dehydrated!==null?(Ca(s),s.flags|=128,null):(l&s.child.childLanes)!==0?zv(a,s,l):(Ca(s),a=Qr(a,s,l),a!==null?a.sibling:null);Ca(s);break;case 19:var g=(a.flags&128)!==0;if(d=(l&s.childLanes)!==0,d||(Ji(a,s,l,!1),d=(l&s.childLanes)!==0),g){if(d)return Uv(a,s,l);s.flags|=128}if(g=s.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),se(Ut,Ut.current),d)break;return null;case 22:case 23:return s.lanes=0,Pv(a,s,l);case 24:ya(s,Lt,a.memoizedState.cache)}return Qr(a,s,l)}function Vv(a,s,l){if(a!==null)if(a.memoizedProps!==s.pendingProps)qt=!0;else{if(!Jh(a,l)&&(s.flags&128)===0)return qt=!1,pA(a,s,l);qt=(a.flags&131072)!==0}else qt=!1,et&&(s.flags&1048576)!==0&&b1(s,vu,s.index);switch(s.lanes=0,s.tag){case 16:e:{a=s.pendingProps;var d=s.elementType,g=d._init;if(d=g(d._payload),s.type=d,typeof d=="function")lh(d)?(a=Ss(d,a),s.tag=1,s=Iv(null,s,d,a,l)):(s.tag=0,s=qh(null,s,d,a,l));else{if(d!=null){if(g=d.$$typeof,g===T){s.tag=11,s=Av(null,s,d,a,l);break e}else if(g===_){s.tag=14,s=Ov(null,s,d,a,l);break e}}throw s=ee(d)||d,Error(r(306,s,""))}}return s;case 0:return qh(a,s,s.type,s.pendingProps,l);case 1:return d=s.type,g=Ss(d,s.pendingProps),Iv(a,s,d,g,l);case 3:e:{if(Se(s,s.stateNode.containerInfo),a===null)throw Error(r(387));d=s.pendingProps;var x=s.memoizedState;g=x.element,Sh(a,s),ol(s,d,null,l);var E=s.memoizedState;if(d=E.cache,ya(s,Lt,d),d!==x.cache&&gh(s,[Lt],l,!0),sl(),d=E.element,x.isDehydrated)if(x={element:d,isDehydrated:!1,cache:E.cache},s.updateQueue.baseState=x,s.memoizedState=x,s.flags&256){s=Fv(a,s,d,l);break e}else if(d!==g){g=qn(Error(r(424)),s),Qi(g),s=Fv(a,s,d,l);break e}else for(a=s.stateNode.containerInfo,a.nodeType===9?a=a.body:a=a.nodeName==="HTML"?a.ownerDocument.body:a,Nt=cr(a.firstChild),cn=s,et=!0,gs=null,Cr=!0,l=xv(s,null,d,l),s.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Zi(),d===g){s=Qr(a,s,l);break e}$t(a,s,d,l)}s=s.child}return s;case 26:return Uu(a,s),a===null?(l=Hw(s.type,null,s.pendingProps,null))?s.memoizedState=l:et||(l=s.type,a=s.pendingProps,d=td(le.current).createElement(l),d[tn]=s,d[xn]=a,Zt(d,l,a),Ht(d),s.stateNode=d):s.memoizedState=Hw(s.type,a.memoizedProps,s.pendingProps,a.memoizedState),null;case 27:return Ie(s),a===null&&et&&(d=s.stateNode=Bw(s.type,s.pendingProps,le.current),cn=s,Cr=!0,g=Nt,Pa(s.type)?(Pp=g,Nt=cr(d.firstChild)):Nt=g),$t(a,s,s.pendingProps.children,l),Uu(a,s),a===null&&(s.flags|=4194304),s.child;case 5:return a===null&&et&&((g=d=Nt)&&(d=WA(d,s.type,s.pendingProps,Cr),d!==null?(s.stateNode=d,cn=s,Nt=cr(d.firstChild),Cr=!1,g=!0):g=!1),g||bs(s)),Ie(s),g=s.type,x=s.pendingProps,E=a!==null?a.memoizedProps:null,d=x.children,Mp(g,x)?d=null:E!==null&&Mp(g,E)&&(s.flags|=32),s.memoizedState!==null&&(g=Rh(a,s,iA,null,null,l),Rl._currentValue=g),Uu(a,s),$t(a,s,d,l),s.child;case 6:return a===null&&et&&((a=l=Nt)&&(l=KA(l,s.pendingProps,Cr),l!==null?(s.stateNode=l,cn=s,Nt=null,a=!0):a=!1),a||bs(s)),null;case 13:return zv(a,s,l);case 4:return Se(s,s.stateNode.containerInfo),d=s.pendingProps,a===null?s.child=Ao(s,null,d,l):$t(a,s,d,l),s.child;case 11:return Av(a,s,s.type,s.pendingProps,l);case 7:return $t(a,s,s.pendingProps,l),s.child;case 8:return $t(a,s,s.pendingProps.children,l),s.child;case 12:return $t(a,s,s.pendingProps.children,l),s.child;case 10:return d=s.pendingProps,ya(s,s.type,d.value),$t(a,s,d.children,l),s.child;case 9:return g=s.type._context,d=s.pendingProps.children,xs(s),g=nn(g),d=d(g),s.flags|=1,$t(a,s,d,l),s.child;case 14:return Ov(a,s,s.type,s.pendingProps,l);case 15:return Tv(a,s,s.type,s.pendingProps,l);case 19:return Uv(a,s,l);case 31:return d=s.pendingProps,l=s.mode,d={mode:d.mode,children:d.children},a===null?(l=Vu(d,l),l.ref=s.ref,s.child=l,l.return=s,s=l):(l=Hr(a.child,d),l.ref=s.ref,s.child=l,l.return=s,s=l),s;case 22:return Pv(a,s,l);case 24:return xs(s),d=nn(Lt),a===null?(g=xh(),g===null&&(g=pt,x=bh(),g.pooledCache=x,x.refCount++,x!==null&&(g.pooledCacheLanes|=l),g=x),s.memoizedState={parent:d,cache:g},wh(s),ya(s,Lt,g)):((a.lanes&l)!==0&&(Sh(a,s),ol(s,null,null,l),sl()),g=a.memoizedState,x=s.memoizedState,g.parent!==d?(g={parent:d,cache:d},s.memoizedState=g,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=g),ya(s,Lt,d)):(d=x.cache,ya(s,Lt,d),d!==g.cache&&gh(s,[Lt],l,!0))),$t(a,s,s.pendingProps.children,l),s.child;case 29:throw s.pendingProps}throw Error(r(156,s.tag))}function Jr(a){a.flags|=4}function Bv(a,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!Gw(s)){if(s=Gn.current,s!==null&&((Ze&4194048)===Ze?Nr!==null:(Ze&62914560)!==Ze&&(Ze&536870912)===0||s!==Nr))throw rl=vh,k1;a.flags|=8192}}function Bu(a,s){s!==null&&(a.flags|=4),a.flags&16384&&(s=a.tag!==22?Qe():536870912,a.lanes|=s,Do|=s)}function fl(a,s){if(!et)switch(a.tailMode){case"hidden":s=a.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?a.tail=null:l.sibling=null;break;case"collapsed":l=a.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?s||a.tail===null?a.tail=null:a.tail.sibling=null:d.sibling=null}}function wt(a){var s=a.alternate!==null&&a.alternate.child===a.child,l=0,d=0;if(s)for(var g=a.child;g!==null;)l|=g.lanes|g.childLanes,d|=g.subtreeFlags&65011712,d|=g.flags&65011712,g.return=a,g=g.sibling;else for(g=a.child;g!==null;)l|=g.lanes|g.childLanes,d|=g.subtreeFlags,d|=g.flags,g.return=a,g=g.sibling;return a.subtreeFlags|=d,a.childLanes=l,s}function gA(a,s,l){var d=s.pendingProps;switch(mh(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wt(s),null;case 1:return wt(s),null;case 3:return l=s.stateNode,d=null,a!==null&&(d=a.memoizedState.cache),s.memoizedState.cache!==d&&(s.flags|=2048),$r(Lt),je(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(a===null||a.child===null)&&(Gi(s)?Jr(s):a===null||a.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,v1())),wt(s),null;case 26:return l=s.memoizedState,a===null?(Jr(s),l!==null?(wt(s),Bv(s,l)):(wt(s),s.flags&=-16777217)):l?l!==a.memoizedState?(Jr(s),wt(s),Bv(s,l)):(wt(s),s.flags&=-16777217):(a.memoizedProps!==d&&Jr(s),wt(s),s.flags&=-16777217),null;case 27:Te(s),l=le.current;var g=s.type;if(a!==null&&s.stateNode!=null)a.memoizedProps!==d&&Jr(s);else{if(!d){if(s.stateNode===null)throw Error(r(166));return wt(s),null}a=me.current,Gi(s)?y1(s):(a=Bw(g,d,l),s.stateNode=a,Jr(s))}return wt(s),null;case 5:if(Te(s),l=s.type,a!==null&&s.stateNode!=null)a.memoizedProps!==d&&Jr(s);else{if(!d){if(s.stateNode===null)throw Error(r(166));return wt(s),null}if(a=me.current,Gi(s))y1(s);else{switch(g=td(le.current),a){case 1:a=g.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:a=g.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":a=g.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":a=g.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":a=g.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof d.is=="string"?g.createElement("select",{is:d.is}):g.createElement("select"),d.multiple?a.multiple=!0:d.size&&(a.size=d.size);break;default:a=typeof d.is=="string"?g.createElement(l,{is:d.is}):g.createElement(l)}}a[tn]=s,a[xn]=d;e:for(g=s.child;g!==null;){if(g.tag===5||g.tag===6)a.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===s)break e;for(;g.sibling===null;){if(g.return===null||g.return===s)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}s.stateNode=a;e:switch(Zt(a,l,d),l){case"button":case"input":case"select":case"textarea":a=!!d.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Jr(s)}}return wt(s),s.flags&=-16777217,null;case 6:if(a&&s.stateNode!=null)a.memoizedProps!==d&&Jr(s);else{if(typeof d!="string"&&s.stateNode===null)throw Error(r(166));if(a=le.current,Gi(s)){if(a=s.stateNode,l=s.memoizedProps,d=null,g=cn,g!==null)switch(g.tag){case 27:case 5:d=g.memoizedProps}a[tn]=s,a=!!(a.nodeValue===l||d!==null&&d.suppressHydrationWarning===!0||_w(a.nodeValue,l)),a||bs(s)}else a=td(a).createTextNode(d),a[tn]=s,s.stateNode=a}return wt(s),null;case 13:if(d=s.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(g=Gi(s),d!==null&&d.dehydrated!==null){if(a===null){if(!g)throw Error(r(318));if(g=s.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(r(317));g[tn]=s}else Zi(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;wt(s),g=!1}else g=v1(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=g),g=!0;if(!g)return s.flags&256?(Zr(s),s):(Zr(s),null)}if(Zr(s),(s.flags&128)!==0)return s.lanes=l,s;if(l=d!==null,a=a!==null&&a.memoizedState!==null,l){d=s.child,g=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(g=d.alternate.memoizedState.cachePool.pool);var x=null;d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(x=d.memoizedState.cachePool.pool),x!==g&&(d.flags|=2048)}return l!==a&&l&&(s.child.flags|=8192),Bu(s,s.updateQueue),wt(s),null;case 4:return je(),a===null&&Np(s.stateNode.containerInfo),wt(s),null;case 10:return $r(s.type),wt(s),null;case 19:if(oe(Ut),g=s.memoizedState,g===null)return wt(s),null;if(d=(s.flags&128)!==0,x=g.rendering,x===null)if(d)fl(g,!1);else{if(kt!==0||a!==null&&(a.flags&128)!==0)for(a=s.child;a!==null;){if(x=Fu(a),x!==null){for(s.flags|=128,fl(g,!1),a=x.updateQueue,s.updateQueue=a,Bu(s,a),s.subtreeFlags=0,a=l,l=s.child;l!==null;)g1(l,a),l=l.sibling;return se(Ut,Ut.current&1|2),s.child}a=a.sibling}g.tail!==null&&Pe()>Hu&&(s.flags|=128,d=!0,fl(g,!1),s.lanes=4194304)}else{if(!d)if(a=Fu(x),a!==null){if(s.flags|=128,d=!0,a=a.updateQueue,s.updateQueue=a,Bu(s,a),fl(g,!0),g.tail===null&&g.tailMode==="hidden"&&!x.alternate&&!et)return wt(s),null}else 2*Pe()-g.renderingStartTime>Hu&&l!==536870912&&(s.flags|=128,d=!0,fl(g,!1),s.lanes=4194304);g.isBackwards?(x.sibling=s.child,s.child=x):(a=g.last,a!==null?a.sibling=x:s.child=x,g.last=x)}return g.tail!==null?(s=g.tail,g.rendering=s,g.tail=s.sibling,g.renderingStartTime=Pe(),s.sibling=null,a=Ut.current,se(Ut,d?a&1|2:a&1),s):(wt(s),null);case 22:case 23:return Zr(s),Eh(),d=s.memoizedState!==null,a!==null?a.memoizedState!==null!==d&&(s.flags|=8192):d&&(s.flags|=8192),d?(l&536870912)!==0&&(s.flags&128)===0&&(wt(s),s.subtreeFlags&6&&(s.flags|=8192)):wt(s),l=s.updateQueue,l!==null&&Bu(s,l.retryQueue),l=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),d=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool),d!==l&&(s.flags|=2048),a!==null&&oe(vs),null;case 24:return l=null,a!==null&&(l=a.memoizedState.cache),s.memoizedState.cache!==l&&(s.flags|=2048),$r(Lt),wt(s),null;case 25:return null;case 30:return null}throw Error(r(156,s.tag))}function bA(a,s){switch(mh(s),s.tag){case 1:return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 3:return $r(Lt),je(),a=s.flags,(a&65536)!==0&&(a&128)===0?(s.flags=a&-65537|128,s):null;case 26:case 27:case 5:return Te(s),null;case 13:if(Zr(s),a=s.memoizedState,a!==null&&a.dehydrated!==null){if(s.alternate===null)throw Error(r(340));Zi()}return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 19:return oe(Ut),null;case 4:return je(),null;case 10:return $r(s.type),null;case 22:case 23:return Zr(s),Eh(),a!==null&&oe(vs),a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 24:return $r(Lt),null;case 25:return null;default:return null}}function Wv(a,s){switch(mh(s),s.tag){case 3:$r(Lt),je();break;case 26:case 27:case 5:Te(s);break;case 4:je();break;case 13:Zr(s);break;case 19:oe(Ut);break;case 10:$r(s.type);break;case 22:case 23:Zr(s),Eh(),a!==null&&oe(vs);break;case 24:$r(Lt)}}function hl(a,s){try{var l=s.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var g=d.next;l=g;do{if((l.tag&a)===a){d=void 0;var x=l.create,E=l.inst;d=x(),E.destroy=d}l=l.next}while(l!==g)}}catch(A){mt(s,s.return,A)}}function ka(a,s,l){try{var d=s.updateQueue,g=d!==null?d.lastEffect:null;if(g!==null){var x=g.next;d=x;do{if((d.tag&a)===a){var E=d.inst,A=E.destroy;if(A!==void 0){E.destroy=void 0,g=s;var F=l,Y=A;try{Y()}catch(te){mt(g,F,te)}}}d=d.next}while(d!==x)}}catch(te){mt(s,s.return,te)}}function Kv(a){var s=a.updateQueue;if(s!==null){var l=a.stateNode;try{O1(s,l)}catch(d){mt(a,a.return,d)}}}function Hv(a,s,l){l.props=Ss(a.type,a.memoizedProps),l.state=a.memoizedState;try{l.componentWillUnmount()}catch(d){mt(a,s,d)}}function pl(a,s){try{var l=a.ref;if(l!==null){switch(a.tag){case 26:case 27:case 5:var d=a.stateNode;break;case 30:d=a.stateNode;break;default:d=a.stateNode}typeof l=="function"?a.refCleanup=l(d):l.current=d}}catch(g){mt(a,s,g)}}function kr(a,s){var l=a.ref,d=a.refCleanup;if(l!==null)if(typeof d=="function")try{d()}catch(g){mt(a,s,g)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(g){mt(a,s,g)}else l.current=null}function qv(a){var s=a.type,l=a.memoizedProps,d=a.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":l.autoFocus&&d.focus();break e;case"img":l.src?d.src=l.src:l.srcSet&&(d.srcset=l.srcSet)}}catch(g){mt(a,a.return,g)}}function ep(a,s,l){try{var d=a.stateNode;zA(d,a.type,l,s),d[xn]=s}catch(g){mt(a,a.return,g)}}function Xv(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&Pa(a.type)||a.tag===4}function tp(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Xv(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&Pa(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function np(a,s,l){var d=a.tag;if(d===5||d===6)a=a.stateNode,s?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(a,s):(s=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,s.appendChild(a),l=l._reactRootContainer,l!=null||s.onclick!==null||(s.onclick=ed));else if(d!==4&&(d===27&&Pa(a.type)&&(l=a.stateNode,s=null),a=a.child,a!==null))for(np(a,s,l),a=a.sibling;a!==null;)np(a,s,l),a=a.sibling}function Wu(a,s,l){var d=a.tag;if(d===5||d===6)a=a.stateNode,s?l.insertBefore(a,s):l.appendChild(a);else if(d!==4&&(d===27&&Pa(a.type)&&(l=a.stateNode),a=a.child,a!==null))for(Wu(a,s,l),a=a.sibling;a!==null;)Wu(a,s,l),a=a.sibling}function Yv(a){var s=a.stateNode,l=a.memoizedProps;try{for(var d=a.type,g=s.attributes;g.length;)s.removeAttributeNode(g[0]);Zt(s,d,l),s[tn]=a,s[xn]=l}catch(x){mt(a,a.return,x)}}var ea=!1,At=!1,rp=!1,$v=typeof WeakSet=="function"?WeakSet:Set,Xt=null;function yA(a,s){if(a=a.containerInfo,jp=id,a=o1(a),th(a)){if("selectionStart"in a)var l={start:a.selectionStart,end:a.selectionEnd};else e:{l=(l=a.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var g=d.anchorOffset,x=d.focusNode;d=d.focusOffset;try{l.nodeType,x.nodeType}catch{l=null;break e}var E=0,A=-1,F=-1,Y=0,te=0,re=a,G=null;t:for(;;){for(var Z;re!==l||g!==0&&re.nodeType!==3||(A=E+g),re!==x||d!==0&&re.nodeType!==3||(F=E+d),re.nodeType===3&&(E+=re.nodeValue.length),(Z=re.firstChild)!==null;)G=re,re=Z;for(;;){if(re===a)break t;if(G===l&&++Y===g&&(A=E),G===x&&++te===d&&(F=E),(Z=re.nextSibling)!==null)break;re=G,G=re.parentNode}re=Z}l=A===-1||F===-1?null:{start:A,end:F}}else l=null}l=l||{start:0,end:0}}else l=null;for(Rp={focusedElem:a,selectionRange:l},id=!1,Xt=s;Xt!==null;)if(s=Xt,a=s.child,(s.subtreeFlags&1024)!==0&&a!==null)a.return=s,Xt=a;else for(;Xt!==null;){switch(s=Xt,x=s.alternate,a=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((a&1024)!==0&&x!==null){a=void 0,l=s,g=x.memoizedProps,x=x.memoizedState,d=l.stateNode;try{var De=Ss(l.type,g,l.elementType===l.type);a=d.getSnapshotBeforeUpdate(De,x),d.__reactInternalSnapshotBeforeUpdate=a}catch(Me){mt(l,l.return,Me)}}break;case 3:if((a&1024)!==0){if(a=s.stateNode.containerInfo,l=a.nodeType,l===9)Op(a);else if(l===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Op(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(r(163))}if(a=s.sibling,a!==null){a.return=s.return,Xt=a;break}Xt=s.return}}function Gv(a,s,l){var d=l.flags;switch(l.tag){case 0:case 11:case 15:Ea(a,l),d&4&&hl(5,l);break;case 1:if(Ea(a,l),d&4)if(a=l.stateNode,s===null)try{a.componentDidMount()}catch(E){mt(l,l.return,E)}else{var g=Ss(l.type,s.memoizedProps);s=s.memoizedState;try{a.componentDidUpdate(g,s,a.__reactInternalSnapshotBeforeUpdate)}catch(E){mt(l,l.return,E)}}d&64&&Kv(l),d&512&&pl(l,l.return);break;case 3:if(Ea(a,l),d&64&&(a=l.updateQueue,a!==null)){if(s=null,l.child!==null)switch(l.child.tag){case 27:case 5:s=l.child.stateNode;break;case 1:s=l.child.stateNode}try{O1(a,s)}catch(E){mt(l,l.return,E)}}break;case 27:s===null&&d&4&&Yv(l);case 26:case 5:Ea(a,l),s===null&&d&4&&qv(l),d&512&&pl(l,l.return);break;case 12:Ea(a,l);break;case 13:Ea(a,l),d&4&&Jv(a,l),d&64&&(a=l.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(l=jA.bind(null,l),HA(a,l))));break;case 22:if(d=l.memoizedState!==null||ea,!d){s=s!==null&&s.memoizedState!==null||At,g=ea;var x=At;ea=d,(At=s)&&!x?ja(a,l,(l.subtreeFlags&8772)!==0):Ea(a,l),ea=g,At=x}break;case 30:break;default:Ea(a,l)}}function Zv(a){var s=a.alternate;s!==null&&(a.alternate=null,Zv(s)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(s=a.stateNode,s!==null&&If(s)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var vt=null,Sn=!1;function ta(a,s,l){for(l=l.child;l!==null;)Qv(a,s,l),l=l.sibling}function Qv(a,s,l){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(ls,l)}catch{}switch(l.tag){case 26:At||kr(l,s),ta(a,s,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:At||kr(l,s);var d=vt,g=Sn;Pa(l.type)&&(vt=l.stateNode,Sn=!1),ta(a,s,l),Nl(l.stateNode),vt=d,Sn=g;break;case 5:At||kr(l,s);case 6:if(d=vt,g=Sn,vt=null,ta(a,s,l),vt=d,Sn=g,vt!==null)if(Sn)try{(vt.nodeType===9?vt.body:vt.nodeName==="HTML"?vt.ownerDocument.body:vt).removeChild(l.stateNode)}catch(x){mt(l,s,x)}else try{vt.removeChild(l.stateNode)}catch(x){mt(l,s,x)}break;case 18:vt!==null&&(Sn?(a=vt,Uw(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,l.stateNode),Tl(a)):Uw(vt,l.stateNode));break;case 4:d=vt,g=Sn,vt=l.stateNode.containerInfo,Sn=!0,ta(a,s,l),vt=d,Sn=g;break;case 0:case 11:case 14:case 15:At||ka(2,l,s),At||ka(4,l,s),ta(a,s,l);break;case 1:At||(kr(l,s),d=l.stateNode,typeof d.componentWillUnmount=="function"&&Hv(l,s,d)),ta(a,s,l);break;case 21:ta(a,s,l);break;case 22:At=(d=At)||l.memoizedState!==null,ta(a,s,l),At=d;break;default:ta(a,s,l)}}function Jv(a,s){if(s.memoizedState===null&&(a=s.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Tl(a)}catch(l){mt(s,s.return,l)}}function xA(a){switch(a.tag){case 13:case 19:var s=a.stateNode;return s===null&&(s=a.stateNode=new $v),s;case 22:return a=a.stateNode,s=a._retryCache,s===null&&(s=a._retryCache=new $v),s;default:throw Error(r(435,a.tag))}}function ap(a,s){var l=xA(a);s.forEach(function(d){var g=RA.bind(null,a,d);l.has(d)||(l.add(d),d.then(g,g))})}function Rn(a,s){var l=s.deletions;if(l!==null)for(var d=0;d<l.length;d++){var g=l[d],x=a,E=s,A=E;e:for(;A!==null;){switch(A.tag){case 27:if(Pa(A.type)){vt=A.stateNode,Sn=!1;break e}break;case 5:vt=A.stateNode,Sn=!1;break e;case 3:case 4:vt=A.stateNode.containerInfo,Sn=!0;break e}A=A.return}if(vt===null)throw Error(r(160));Qv(x,E,g),vt=null,Sn=!1,x=g.alternate,x!==null&&(x.return=null),g.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)ew(s,a),s=s.sibling}var lr=null;function ew(a,s){var l=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Rn(s,a),Mn(a),d&4&&(ka(3,a,a.return),hl(3,a),ka(5,a,a.return));break;case 1:Rn(s,a),Mn(a),d&512&&(At||l===null||kr(l,l.return)),d&64&&ea&&(a=a.updateQueue,a!==null&&(d=a.callbacks,d!==null&&(l=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=l===null?d:l.concat(d))));break;case 26:var g=lr;if(Rn(s,a),Mn(a),d&512&&(At||l===null||kr(l,l.return)),d&4){var x=l!==null?l.memoizedState:null;if(d=a.memoizedState,l===null)if(d===null)if(a.stateNode===null){e:{d=a.type,l=a.memoizedProps,g=g.ownerDocument||g;t:switch(d){case"title":x=g.getElementsByTagName("title")[0],(!x||x[Li]||x[tn]||x.namespaceURI==="http://www.w3.org/2000/svg"||x.hasAttribute("itemprop"))&&(x=g.createElement(d),g.head.insertBefore(x,g.querySelector("head > title"))),Zt(x,d,l),x[tn]=a,Ht(x),d=x;break e;case"link":var E=Yw("link","href",g).get(d+(l.href||""));if(E){for(var A=0;A<E.length;A++)if(x=E[A],x.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&x.getAttribute("rel")===(l.rel==null?null:l.rel)&&x.getAttribute("title")===(l.title==null?null:l.title)&&x.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){E.splice(A,1);break t}}x=g.createElement(d),Zt(x,d,l),g.head.appendChild(x);break;case"meta":if(E=Yw("meta","content",g).get(d+(l.content||""))){for(A=0;A<E.length;A++)if(x=E[A],x.getAttribute("content")===(l.content==null?null:""+l.content)&&x.getAttribute("name")===(l.name==null?null:l.name)&&x.getAttribute("property")===(l.property==null?null:l.property)&&x.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&x.getAttribute("charset")===(l.charSet==null?null:l.charSet)){E.splice(A,1);break t}}x=g.createElement(d),Zt(x,d,l),g.head.appendChild(x);break;default:throw Error(r(468,d))}x[tn]=a,Ht(x),d=x}a.stateNode=d}else $w(g,a.type,a.stateNode);else a.stateNode=Xw(g,d,a.memoizedProps);else x!==d?(x===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):x.count--,d===null?$w(g,a.type,a.stateNode):Xw(g,d,a.memoizedProps)):d===null&&a.stateNode!==null&&ep(a,a.memoizedProps,l.memoizedProps)}break;case 27:Rn(s,a),Mn(a),d&512&&(At||l===null||kr(l,l.return)),l!==null&&d&4&&ep(a,a.memoizedProps,l.memoizedProps);break;case 5:if(Rn(s,a),Mn(a),d&512&&(At||l===null||kr(l,l.return)),a.flags&32){g=a.stateNode;try{mo(g,"")}catch(Z){mt(a,a.return,Z)}}d&4&&a.stateNode!=null&&(g=a.memoizedProps,ep(a,g,l!==null?l.memoizedProps:g)),d&1024&&(rp=!0);break;case 6:if(Rn(s,a),Mn(a),d&4){if(a.stateNode===null)throw Error(r(162));d=a.memoizedProps,l=a.stateNode;try{l.nodeValue=d}catch(Z){mt(a,a.return,Z)}}break;case 3:if(ad=null,g=lr,lr=nd(s.containerInfo),Rn(s,a),lr=g,Mn(a),d&4&&l!==null&&l.memoizedState.isDehydrated)try{Tl(s.containerInfo)}catch(Z){mt(a,a.return,Z)}rp&&(rp=!1,tw(a));break;case 4:d=lr,lr=nd(a.stateNode.containerInfo),Rn(s,a),Mn(a),lr=d;break;case 12:Rn(s,a),Mn(a);break;case 13:Rn(s,a),Mn(a),a.child.flags&8192&&a.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(up=Pe()),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,ap(a,d)));break;case 22:g=a.memoizedState!==null;var F=l!==null&&l.memoizedState!==null,Y=ea,te=At;if(ea=Y||g,At=te||F,Rn(s,a),At=te,ea=Y,Mn(a),d&8192)e:for(s=a.stateNode,s._visibility=g?s._visibility&-2:s._visibility|1,g&&(l===null||F||ea||At||Cs(a)),l=null,s=a;;){if(s.tag===5||s.tag===26){if(l===null){F=l=s;try{if(x=F.stateNode,g)E=x.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{A=F.stateNode;var re=F.memoizedProps.style,G=re!=null&&re.hasOwnProperty("display")?re.display:null;A.style.display=G==null||typeof G=="boolean"?"":(""+G).trim()}}catch(Z){mt(F,F.return,Z)}}}else if(s.tag===6){if(l===null){F=s;try{F.stateNode.nodeValue=g?"":F.memoizedProps}catch(Z){mt(F,F.return,Z)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===a)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break e;for(;s.sibling===null;){if(s.return===null||s.return===a)break e;l===s&&(l=null),s=s.return}l===s&&(l=null),s.sibling.return=s.return,s=s.sibling}d&4&&(d=a.updateQueue,d!==null&&(l=d.retryQueue,l!==null&&(d.retryQueue=null,ap(a,l))));break;case 19:Rn(s,a),Mn(a),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,ap(a,d)));break;case 30:break;case 21:break;default:Rn(s,a),Mn(a)}}function Mn(a){var s=a.flags;if(s&2){try{for(var l,d=a.return;d!==null;){if(Xv(d)){l=d;break}d=d.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var g=l.stateNode,x=tp(a);Wu(a,x,g);break;case 5:var E=l.stateNode;l.flags&32&&(mo(E,""),l.flags&=-33);var A=tp(a);Wu(a,A,E);break;case 3:case 4:var F=l.stateNode.containerInfo,Y=tp(a);np(a,Y,F);break;default:throw Error(r(161))}}catch(te){mt(a,a.return,te)}a.flags&=-3}s&4096&&(a.flags&=-4097)}function tw(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var s=a;tw(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),a=a.sibling}}function Ea(a,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)Gv(a,s.alternate,s),s=s.sibling}function Cs(a){for(a=a.child;a!==null;){var s=a;switch(s.tag){case 0:case 11:case 14:case 15:ka(4,s,s.return),Cs(s);break;case 1:kr(s,s.return);var l=s.stateNode;typeof l.componentWillUnmount=="function"&&Hv(s,s.return,l),Cs(s);break;case 27:Nl(s.stateNode);case 26:case 5:kr(s,s.return),Cs(s);break;case 22:s.memoizedState===null&&Cs(s);break;case 30:Cs(s);break;default:Cs(s)}a=a.sibling}}function ja(a,s,l){for(l=l&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var d=s.alternate,g=a,x=s,E=x.flags;switch(x.tag){case 0:case 11:case 15:ja(g,x,l),hl(4,x);break;case 1:if(ja(g,x,l),d=x,g=d.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(Y){mt(d,d.return,Y)}if(d=x,g=d.updateQueue,g!==null){var A=d.stateNode;try{var F=g.shared.hiddenCallbacks;if(F!==null)for(g.shared.hiddenCallbacks=null,g=0;g<F.length;g++)A1(F[g],A)}catch(Y){mt(d,d.return,Y)}}l&&E&64&&Kv(x),pl(x,x.return);break;case 27:Yv(x);case 26:case 5:ja(g,x,l),l&&d===null&&E&4&&qv(x),pl(x,x.return);break;case 12:ja(g,x,l);break;case 13:ja(g,x,l),l&&E&4&&Jv(g,x);break;case 22:x.memoizedState===null&&ja(g,x,l),pl(x,x.return);break;case 30:break;default:ja(g,x,l)}s=s.sibling}}function sp(a,s){var l=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),a=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(a=s.memoizedState.cachePool.pool),a!==l&&(a!=null&&a.refCount++,l!=null&&el(l))}function op(a,s){a=null,s.alternate!==null&&(a=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==a&&(s.refCount++,a!=null&&el(a))}function Er(a,s,l,d){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)nw(a,s,l,d),s=s.sibling}function nw(a,s,l,d){var g=s.flags;switch(s.tag){case 0:case 11:case 15:Er(a,s,l,d),g&2048&&hl(9,s);break;case 1:Er(a,s,l,d);break;case 3:Er(a,s,l,d),g&2048&&(a=null,s.alternate!==null&&(a=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==a&&(s.refCount++,a!=null&&el(a)));break;case 12:if(g&2048){Er(a,s,l,d),a=s.stateNode;try{var x=s.memoizedProps,E=x.id,A=x.onPostCommit;typeof A=="function"&&A(E,s.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(F){mt(s,s.return,F)}}else Er(a,s,l,d);break;case 13:Er(a,s,l,d);break;case 23:break;case 22:x=s.stateNode,E=s.alternate,s.memoizedState!==null?x._visibility&2?Er(a,s,l,d):gl(a,s):x._visibility&2?Er(a,s,l,d):(x._visibility|=2,Oo(a,s,l,d,(s.subtreeFlags&10256)!==0)),g&2048&&sp(E,s);break;case 24:Er(a,s,l,d),g&2048&&op(s.alternate,s);break;default:Er(a,s,l,d)}}function Oo(a,s,l,d,g){for(g=g&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var x=a,E=s,A=l,F=d,Y=E.flags;switch(E.tag){case 0:case 11:case 15:Oo(x,E,A,F,g),hl(8,E);break;case 23:break;case 22:var te=E.stateNode;E.memoizedState!==null?te._visibility&2?Oo(x,E,A,F,g):gl(x,E):(te._visibility|=2,Oo(x,E,A,F,g)),g&&Y&2048&&sp(E.alternate,E);break;case 24:Oo(x,E,A,F,g),g&&Y&2048&&op(E.alternate,E);break;default:Oo(x,E,A,F,g)}s=s.sibling}}function gl(a,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var l=a,d=s,g=d.flags;switch(d.tag){case 22:gl(l,d),g&2048&&sp(d.alternate,d);break;case 24:gl(l,d),g&2048&&op(d.alternate,d);break;default:gl(l,d)}s=s.sibling}}var bl=8192;function To(a){if(a.subtreeFlags&bl)for(a=a.child;a!==null;)rw(a),a=a.sibling}function rw(a){switch(a.tag){case 26:To(a),a.flags&bl&&a.memoizedState!==null&&a9(lr,a.memoizedState,a.memoizedProps);break;case 5:To(a);break;case 3:case 4:var s=lr;lr=nd(a.stateNode.containerInfo),To(a),lr=s;break;case 22:a.memoizedState===null&&(s=a.alternate,s!==null&&s.memoizedState!==null?(s=bl,bl=16777216,To(a),bl=s):To(a));break;default:To(a)}}function aw(a){var s=a.alternate;if(s!==null&&(a=s.child,a!==null)){s.child=null;do s=a.sibling,a.sibling=null,a=s;while(a!==null)}}function yl(a){var s=a.deletions;if((a.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var d=s[l];Xt=d,ow(d,a)}aw(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)sw(a),a=a.sibling}function sw(a){switch(a.tag){case 0:case 11:case 15:yl(a),a.flags&2048&&ka(9,a,a.return);break;case 3:yl(a);break;case 12:yl(a);break;case 22:var s=a.stateNode;a.memoizedState!==null&&s._visibility&2&&(a.return===null||a.return.tag!==13)?(s._visibility&=-3,Ku(a)):yl(a);break;default:yl(a)}}function Ku(a){var s=a.deletions;if((a.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var d=s[l];Xt=d,ow(d,a)}aw(a)}for(a=a.child;a!==null;){switch(s=a,s.tag){case 0:case 11:case 15:ka(8,s,s.return),Ku(s);break;case 22:l=s.stateNode,l._visibility&2&&(l._visibility&=-3,Ku(s));break;default:Ku(s)}a=a.sibling}}function ow(a,s){for(;Xt!==null;){var l=Xt;switch(l.tag){case 0:case 11:case 15:ka(8,l,s);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var d=l.memoizedState.cachePool.pool;d!=null&&d.refCount++}break;case 24:el(l.memoizedState.cache)}if(d=l.child,d!==null)d.return=l,Xt=d;else e:for(l=a;Xt!==null;){d=Xt;var g=d.sibling,x=d.return;if(Zv(d),d===l){Xt=null;break e}if(g!==null){g.return=x,Xt=g;break e}Xt=x}}}var vA={getCacheForType:function(a){var s=nn(Lt),l=s.data.get(a);return l===void 0&&(l=a(),s.data.set(a,l)),l}},wA=typeof WeakMap=="function"?WeakMap:Map,nt=0,pt=null,Ye=null,Ze=0,rt=0,An=null,Ra=!1,Po=!1,ip=!1,na=0,kt=0,Ma=0,Ns=0,lp=0,Zn=0,Do=0,xl=null,Cn=null,cp=!1,up=0,Hu=1/0,qu=null,Aa=null,Gt=0,Oa=null,_o=null,Io=0,dp=0,mp=null,iw=null,vl=0,fp=null;function On(){if((nt&2)!==0&&Ze!==0)return Ze&-Ze;if(z.T!==null){var a=Co;return a!==0?a:vp()}return ro()}function lw(){Zn===0&&(Zn=(Ze&536870912)===0||et?_e():536870912);var a=Gn.current;return a!==null&&(a.flags|=32),Zn}function Tn(a,s,l){(a===pt&&(rt===2||rt===9)||a.cancelPendingCommit!==null)&&(Fo(a,0),Ta(a,Ze,Zn,!1)),qe(a,l),((nt&2)===0||a!==pt)&&(a===pt&&((nt&2)===0&&(Ns|=l),kt===4&&Ta(a,Ze,Zn,!1)),jr(a))}function cw(a,s,l){if((nt&6)!==0)throw Error(r(327));var d=!l&&(s&124)===0&&(s&a.expiredLanes)===0||pa(a,s),g=d?NA(a,s):gp(a,s,!0),x=d;do{if(g===0){Po&&!d&&Ta(a,s,0,!1);break}else{if(l=a.current.alternate,x&&!SA(l)){g=gp(a,s,!1),x=!1;continue}if(g===2){if(x=s,a.errorRecoveryDisabledLanes&x)var E=0;else E=a.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){s=E;e:{var A=a;g=xl;var F=A.current.memoizedState.isDehydrated;if(F&&(Fo(A,E).flags|=256),E=gp(A,E,!1),E!==2){if(ip&&!F){A.errorRecoveryDisabledLanes|=x,Ns|=x,g=4;break e}x=Cn,Cn=g,x!==null&&(Cn===null?Cn=x:Cn.push.apply(Cn,x))}g=E}if(x=!1,g!==2)continue}}if(g===1){Fo(a,0),Ta(a,s,0,!0);break}e:{switch(d=a,x=g,x){case 0:case 1:throw Error(r(345));case 4:if((s&4194048)!==s)break;case 6:Ta(d,s,Zn,!Ra);break e;case 2:Cn=null;break;case 3:case 5:break;default:throw Error(r(329))}if((s&62914560)===s&&(g=up+300-Pe(),10<g)){if(Ta(d,s,Zn,!Ra),no(d,0,!0)!==0)break e;d.timeoutHandle=zw(uw.bind(null,d,l,Cn,qu,cp,s,Zn,Ns,Do,Ra,x,2,-0,0),g);break e}uw(d,l,Cn,qu,cp,s,Zn,Ns,Do,Ra,x,0,-0,0)}}break}while(!0);jr(a)}function uw(a,s,l,d,g,x,E,A,F,Y,te,re,G,Z){if(a.timeoutHandle=-1,re=s.subtreeFlags,(re&8192||(re&16785408)===16785408)&&(jl={stylesheets:null,count:0,unsuspend:r9},rw(s),re=s9(),re!==null)){a.cancelPendingCommit=re(bw.bind(null,a,s,x,l,d,g,E,A,F,te,1,G,Z)),Ta(a,x,E,!Y);return}bw(a,s,x,l,d,g,E,A,F)}function SA(a){for(var s=a;;){var l=s.tag;if((l===0||l===11||l===15)&&s.flags&16384&&(l=s.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var d=0;d<l.length;d++){var g=l[d],x=g.getSnapshot;g=g.value;try{if(!En(x(),g))return!1}catch{return!1}}if(l=s.child,s.subtreeFlags&16384&&l!==null)l.return=s,s=l;else{if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Ta(a,s,l,d){s&=~lp,s&=~Ns,a.suspendedLanes|=s,a.pingedLanes&=~s,d&&(a.warmLanes|=s),d=a.expirationTimes;for(var g=s;0<g;){var x=31-on(g),E=1<<x;d[x]=-1,g&=~E}l!==0&&Xe(a,l,s)}function Xu(){return(nt&6)===0?(wl(0),!1):!0}function hp(){if(Ye!==null){if(rt===0)var a=Ye.return;else a=Ye,Yr=ys=null,Oh(a),Mo=null,dl=0,a=Ye;for(;a!==null;)Wv(a.alternate,a),a=a.return;Ye=null}}function Fo(a,s){var l=a.timeoutHandle;l!==-1&&(a.timeoutHandle=-1,UA(l)),l=a.cancelPendingCommit,l!==null&&(a.cancelPendingCommit=null,l()),hp(),pt=a,Ye=l=Hr(a.current,null),Ze=s,rt=0,An=null,Ra=!1,Po=pa(a,s),ip=!1,Do=Zn=lp=Ns=Ma=kt=0,Cn=xl=null,cp=!1,(s&8)!==0&&(s|=s&32);var d=a.entangledLanes;if(d!==0)for(a=a.entanglements,d&=s;0<d;){var g=31-on(d),x=1<<g;s|=a[g],d&=~x}return na=s,pu(),l}function dw(a,s){Be=null,z.H=Du,s===nl||s===Nu?(s=R1(),rt=3):s===k1?(s=R1(),rt=4):rt=s===Mv?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,An=s,Ye===null&&(kt=1,Lu(a,qn(s,a.current)))}function mw(){var a=z.H;return z.H=Du,a===null?Du:a}function fw(){var a=z.A;return z.A=vA,a}function pp(){kt=4,Ra||(Ze&4194048)!==Ze&&Gn.current!==null||(Po=!0),(Ma&134217727)===0&&(Ns&134217727)===0||pt===null||Ta(pt,Ze,Zn,!1)}function gp(a,s,l){var d=nt;nt|=2;var g=mw(),x=fw();(pt!==a||Ze!==s)&&(qu=null,Fo(a,s)),s=!1;var E=kt;e:do try{if(rt!==0&&Ye!==null){var A=Ye,F=An;switch(rt){case 8:hp(),E=6;break e;case 3:case 2:case 9:case 6:Gn.current===null&&(s=!0);var Y=rt;if(rt=0,An=null,zo(a,A,F,Y),l&&Po){E=0;break e}break;default:Y=rt,rt=0,An=null,zo(a,A,F,Y)}}CA(),E=kt;break}catch(te){dw(a,te)}while(!0);return s&&a.shellSuspendCounter++,Yr=ys=null,nt=d,z.H=g,z.A=x,Ye===null&&(pt=null,Ze=0,pu()),E}function CA(){for(;Ye!==null;)hw(Ye)}function NA(a,s){var l=nt;nt|=2;var d=mw(),g=fw();pt!==a||Ze!==s?(qu=null,Hu=Pe()+500,Fo(a,s)):Po=pa(a,s);e:do try{if(rt!==0&&Ye!==null){s=Ye;var x=An;t:switch(rt){case 1:rt=0,An=null,zo(a,s,x,1);break;case 2:case 9:if(E1(x)){rt=0,An=null,pw(s);break}s=function(){rt!==2&&rt!==9||pt!==a||(rt=7),jr(a)},x.then(s,s);break e;case 3:rt=7;break e;case 4:rt=5;break e;case 7:E1(x)?(rt=0,An=null,pw(s)):(rt=0,An=null,zo(a,s,x,7));break;case 5:var E=null;switch(Ye.tag){case 26:E=Ye.memoizedState;case 5:case 27:var A=Ye;if(!E||Gw(E)){rt=0,An=null;var F=A.sibling;if(F!==null)Ye=F;else{var Y=A.return;Y!==null?(Ye=Y,Yu(Y)):Ye=null}break t}}rt=0,An=null,zo(a,s,x,5);break;case 6:rt=0,An=null,zo(a,s,x,6);break;case 8:hp(),kt=6;break e;default:throw Error(r(462))}}kA();break}catch(te){dw(a,te)}while(!0);return Yr=ys=null,z.H=d,z.A=g,nt=l,Ye!==null?0:(pt=null,Ze=0,pu(),kt)}function kA(){for(;Ye!==null&&!he();)hw(Ye)}function hw(a){var s=Vv(a.alternate,a,na);a.memoizedProps=a.pendingProps,s===null?Yu(a):Ye=s}function pw(a){var s=a,l=s.alternate;switch(s.tag){case 15:case 0:s=_v(l,s,s.pendingProps,s.type,void 0,Ze);break;case 11:s=_v(l,s,s.pendingProps,s.type.render,s.ref,Ze);break;case 5:Oh(s);default:Wv(l,s),s=Ye=g1(s,na),s=Vv(l,s,na)}a.memoizedProps=a.pendingProps,s===null?Yu(a):Ye=s}function zo(a,s,l,d){Yr=ys=null,Oh(s),Mo=null,dl=0;var g=s.return;try{if(hA(a,g,s,l,Ze)){kt=1,Lu(a,qn(l,a.current)),Ye=null;return}}catch(x){if(g!==null)throw Ye=g,x;kt=1,Lu(a,qn(l,a.current)),Ye=null;return}s.flags&32768?(et||d===1?a=!0:Po||(Ze&536870912)!==0?a=!1:(Ra=a=!0,(d===2||d===9||d===3||d===6)&&(d=Gn.current,d!==null&&d.tag===13&&(d.flags|=16384))),gw(s,a)):Yu(s)}function Yu(a){var s=a;do{if((s.flags&32768)!==0){gw(s,Ra);return}a=s.return;var l=gA(s.alternate,s,na);if(l!==null){Ye=l;return}if(s=s.sibling,s!==null){Ye=s;return}Ye=s=a}while(s!==null);kt===0&&(kt=5)}function gw(a,s){do{var l=bA(a.alternate,a);if(l!==null){l.flags&=32767,Ye=l;return}if(l=a.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!s&&(a=a.sibling,a!==null)){Ye=a;return}Ye=a=l}while(a!==null);kt=6,Ye=null}function bw(a,s,l,d,g,x,E,A,F){a.cancelPendingCommit=null;do $u();while(Gt!==0);if((nt&6)!==0)throw Error(r(327));if(s!==null){if(s===a.current)throw Error(r(177));if(x=s.lanes|s.childLanes,x|=oh,ln(a,l,x,E,A,F),a===pt&&(Ye=pt=null,Ze=0),_o=s,Oa=a,Io=l,dp=x,mp=g,iw=d,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,MA(Wn,function(){return Sw(),null})):(a.callbackNode=null,a.callbackPriority=0),d=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||d){d=z.T,z.T=null,g=Q.p,Q.p=2,E=nt,nt|=4;try{yA(a,s,l)}finally{nt=E,Q.p=g,z.T=d}}Gt=1,yw(),xw(),vw()}}function yw(){if(Gt===1){Gt=0;var a=Oa,s=_o,l=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||l){l=z.T,z.T=null;var d=Q.p;Q.p=2;var g=nt;nt|=4;try{ew(s,a);var x=Rp,E=o1(a.containerInfo),A=x.focusedElem,F=x.selectionRange;if(E!==A&&A&&A.ownerDocument&&s1(A.ownerDocument.documentElement,A)){if(F!==null&&th(A)){var Y=F.start,te=F.end;if(te===void 0&&(te=Y),"selectionStart"in A)A.selectionStart=Y,A.selectionEnd=Math.min(te,A.value.length);else{var re=A.ownerDocument||document,G=re&&re.defaultView||window;if(G.getSelection){var Z=G.getSelection(),De=A.textContent.length,Me=Math.min(F.start,De),lt=F.end===void 0?Me:Math.min(F.end,De);!Z.extend&&Me>lt&&(E=lt,lt=Me,Me=E);var K=a1(A,Me),U=a1(A,lt);if(K&&U&&(Z.rangeCount!==1||Z.anchorNode!==K.node||Z.anchorOffset!==K.offset||Z.focusNode!==U.node||Z.focusOffset!==U.offset)){var q=re.createRange();q.setStart(K.node,K.offset),Z.removeAllRanges(),Me>lt?(Z.addRange(q),Z.extend(U.node,U.offset)):(q.setEnd(U.node,U.offset),Z.addRange(q))}}}}for(re=[],Z=A;Z=Z.parentNode;)Z.nodeType===1&&re.push({element:Z,left:Z.scrollLeft,top:Z.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<re.length;A++){var ne=re[A];ne.element.scrollLeft=ne.left,ne.element.scrollTop=ne.top}}id=!!jp,Rp=jp=null}finally{nt=g,Q.p=d,z.T=l}}a.current=s,Gt=2}}function xw(){if(Gt===2){Gt=0;var a=Oa,s=_o,l=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||l){l=z.T,z.T=null;var d=Q.p;Q.p=2;var g=nt;nt|=4;try{Gv(a,s.alternate,s)}finally{nt=g,Q.p=d,z.T=l}}Gt=3}}function vw(){if(Gt===4||Gt===3){Gt=0,Ge();var a=Oa,s=_o,l=Io,d=iw;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?Gt=5:(Gt=0,_o=Oa=null,ww(a,a.pendingLanes));var g=a.pendingLanes;if(g===0&&(Aa=null),Fi(l),s=s.stateNode,sn&&typeof sn.onCommitFiberRoot=="function")try{sn.onCommitFiberRoot(ls,s,void 0,(s.current.flags&128)===128)}catch{}if(d!==null){s=z.T,g=Q.p,Q.p=2,z.T=null;try{for(var x=a.onRecoverableError,E=0;E<d.length;E++){var A=d[E];x(A.value,{componentStack:A.stack})}}finally{z.T=s,Q.p=g}}(Io&3)!==0&&$u(),jr(a),g=a.pendingLanes,(l&4194090)!==0&&(g&42)!==0?a===fp?vl++:(vl=0,fp=a):vl=0,wl(0)}}function ww(a,s){(a.pooledCacheLanes&=s)===0&&(s=a.pooledCache,s!=null&&(a.pooledCache=null,el(s)))}function $u(a){return yw(),xw(),vw(),Sw()}function Sw(){if(Gt!==5)return!1;var a=Oa,s=dp;dp=0;var l=Fi(Io),d=z.T,g=Q.p;try{Q.p=32>l?32:l,z.T=null,l=mp,mp=null;var x=Oa,E=Io;if(Gt=0,_o=Oa=null,Io=0,(nt&6)!==0)throw Error(r(331));var A=nt;if(nt|=4,sw(x.current),nw(x,x.current,E,l),nt=A,wl(0,!1),sn&&typeof sn.onPostCommitFiberRoot=="function")try{sn.onPostCommitFiberRoot(ls,x)}catch{}return!0}finally{Q.p=g,z.T=d,ww(a,s)}}function Cw(a,s,l){s=qn(l,s),s=Hh(a.stateNode,s,2),a=wa(a,s,2),a!==null&&(qe(a,2),jr(a))}function mt(a,s,l){if(a.tag===3)Cw(a,a,l);else for(;s!==null;){if(s.tag===3){Cw(s,a,l);break}else if(s.tag===1){var d=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Aa===null||!Aa.has(d))){a=qn(l,a),l=jv(2),d=wa(s,l,2),d!==null&&(Rv(l,d,s,a),qe(d,2),jr(d));break}}s=s.return}}function bp(a,s,l){var d=a.pingCache;if(d===null){d=a.pingCache=new wA;var g=new Set;d.set(s,g)}else g=d.get(s),g===void 0&&(g=new Set,d.set(s,g));g.has(l)||(ip=!0,g.add(l),a=EA.bind(null,a,s,l),s.then(a,a))}function EA(a,s,l){var d=a.pingCache;d!==null&&d.delete(s),a.pingedLanes|=a.suspendedLanes&l,a.warmLanes&=~l,pt===a&&(Ze&l)===l&&(kt===4||kt===3&&(Ze&62914560)===Ze&&300>Pe()-up?(nt&2)===0&&Fo(a,0):lp|=l,Do===Ze&&(Do=0)),jr(a)}function Nw(a,s){s===0&&(s=Qe()),a=xo(a,s),a!==null&&(qe(a,s),jr(a))}function jA(a){var s=a.memoizedState,l=0;s!==null&&(l=s.retryLane),Nw(a,l)}function RA(a,s){var l=0;switch(a.tag){case 13:var d=a.stateNode,g=a.memoizedState;g!==null&&(l=g.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(r(314))}d!==null&&d.delete(s),Nw(a,l)}function MA(a,s){return dt(a,s)}var Gu=null,Lo=null,yp=!1,Zu=!1,xp=!1,ks=0;function jr(a){a!==Lo&&a.next===null&&(Lo===null?Gu=Lo=a:Lo=Lo.next=a),Zu=!0,yp||(yp=!0,OA())}function wl(a,s){if(!xp&&Zu){xp=!0;do for(var l=!1,d=Gu;d!==null;){if(a!==0){var g=d.pendingLanes;if(g===0)var x=0;else{var E=d.suspendedLanes,A=d.pingedLanes;x=(1<<31-on(42|a)+1)-1,x&=g&~(E&~A),x=x&201326741?x&201326741|1:x?x|2:0}x!==0&&(l=!0,Rw(d,x))}else x=Ze,x=no(d,d===pt?x:0,d.cancelPendingCommit!==null||d.timeoutHandle!==-1),(x&3)===0||pa(d,x)||(l=!0,Rw(d,x));d=d.next}while(l);xp=!1}}function AA(){kw()}function kw(){Zu=yp=!1;var a=0;ks!==0&&(LA()&&(a=ks),ks=0);for(var s=Pe(),l=null,d=Gu;d!==null;){var g=d.next,x=Ew(d,s);x===0?(d.next=null,l===null?Gu=g:l.next=g,g===null&&(Lo=l)):(l=d,(a!==0||(x&3)!==0)&&(Zu=!0)),d=g}wl(a)}function Ew(a,s){for(var l=a.suspendedLanes,d=a.pingedLanes,g=a.expirationTimes,x=a.pendingLanes&-62914561;0<x;){var E=31-on(x),A=1<<E,F=g[E];F===-1?((A&l)===0||(A&d)!==0)&&(g[E]=Df(A,s)):F<=s&&(a.expiredLanes|=A),x&=~A}if(s=pt,l=Ze,l=no(a,a===s?l:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),d=a.callbackNode,l===0||a===s&&(rt===2||rt===9)||a.cancelPendingCommit!==null)return d!==null&&d!==null&&tt(d),a.callbackNode=null,a.callbackPriority=0;if((l&3)===0||pa(a,l)){if(s=l&-l,s===a.callbackPriority)return s;switch(d!==null&&tt(d),Fi(l)){case 2:case 8:l=gt;break;case 32:l=Wn;break;case 268435456:l=Pi;break;default:l=Wn}return d=jw.bind(null,a),l=dt(l,d),a.callbackPriority=s,a.callbackNode=l,s}return d!==null&&d!==null&&tt(d),a.callbackPriority=2,a.callbackNode=null,2}function jw(a,s){if(Gt!==0&&Gt!==5)return a.callbackNode=null,a.callbackPriority=0,null;var l=a.callbackNode;if($u()&&a.callbackNode!==l)return null;var d=Ze;return d=no(a,a===pt?d:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),d===0?null:(cw(a,d,s),Ew(a,Pe()),a.callbackNode!=null&&a.callbackNode===l?jw.bind(null,a):null)}function Rw(a,s){if($u())return null;cw(a,s,!0)}function OA(){VA(function(){(nt&6)!==0?dt(Ee,AA):kw()})}function vp(){return ks===0&&(ks=_e()),ks}function Mw(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:lu(""+a)}function Aw(a,s){var l=s.ownerDocument.createElement("input");return l.name=s.name,l.value=s.value,a.id&&l.setAttribute("form",a.id),s.parentNode.insertBefore(l,s),a=new FormData(a),l.parentNode.removeChild(l),a}function TA(a,s,l,d,g){if(s==="submit"&&l&&l.stateNode===g){var x=Mw((g[xn]||null).action),E=d.submitter;E&&(s=(s=E[xn]||null)?Mw(s.formAction):E.getAttribute("formAction"),s!==null&&(x=s,E=null));var A=new mu("action","action",null,d,g);a.push({event:A,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(ks!==0){var F=E?Aw(g,E):new FormData(g);Uh(l,{pending:!0,data:F,method:g.method,action:x},null,F)}}else typeof x=="function"&&(A.preventDefault(),F=E?Aw(g,E):new FormData(g),Uh(l,{pending:!0,data:F,method:g.method,action:x},x,F))},currentTarget:g}]})}}for(var wp=0;wp<sh.length;wp++){var Sp=sh[wp],PA=Sp.toLowerCase(),DA=Sp[0].toUpperCase()+Sp.slice(1);ir(PA,"on"+DA)}ir(c1,"onAnimationEnd"),ir(u1,"onAnimationIteration"),ir(d1,"onAnimationStart"),ir("dblclick","onDoubleClick"),ir("focusin","onFocus"),ir("focusout","onBlur"),ir(ZM,"onTransitionRun"),ir(Q
vendor: 4,845 bytes, line 9
9M,"onTransitionStart"),ir(JM,"onTransitionCancel"),ir(m1,"onTransitionEnd"),lo("onMouseEnter",["mouseout","mouseover"]),lo("onMouseLeave",["mouseout","mouseover"]),lo("onPointerEnter",["pointerout","pointerover"]),lo("onPointerLeave",["pointerout","pointerover"]),cs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),cs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),cs("onBeforeInput",["compositionend","keypress","textInput","paste"]),cs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),cs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),cs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),_A=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sl));function Ow(a,s){s=(s&4)!==0;for(var l=0;l<a.length;l++){var d=a[l],g=d.event;d=d.listeners;e:{var x=void 0;if(s)for(var E=d.length-1;0<=E;E--){var A=d[E],F=A.instance,Y=A.currentTarget;if(A=A.listener,F!==x&&g.isPropagationStopped())break e;x=A,g.currentTarget=Y;try{x(g)}catch(te){zu(te)}g.currentTarget=null,x=F}else for(E=0;E<d.length;E++){if(A=d[E],F=A.instance,Y=A.currentTarget,A=A.listener,F!==x&&g.isPropagationStopped())break e;x=A,g.currentTarget=Y;try{x(g)}catch(te){zu(te)}g.currentTarget=null,x=F}}}}function $e(a,s){var l=s[_f];l===void 0&&(l=s[_f]=new Set);var d=a+"__bubble";l.has(d)||(Tw(s,a,2,!1),l.add(d))}function Cp(a,s,l){var d=0;s&&(d|=4),Tw(l,a,d,s)}var Qu="_reactListening"+Math.random().toString(36).slice(2);function Np(a){if(!a[Qu]){a[Qu]=!0,kx.forEach(function(l){l!=="selectionchange"&&(_A.has(l)||Cp(l,!1,a),Cp(l,!0,a))});var s=a.nodeType===9?a:a.ownerDocument;s===null||s[Qu]||(s[Qu]=!0,Cp("selectionchange",!1,s))}}function Tw(a,s,l,d){switch(n2(s)){case 2:var g=l9;break;case 8:g=c9;break;default:g=zp}l=g.bind(null,s,l,a),g=void 0,!qf||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(g=!0),d?g!==void 0?a.addEventListener(s,l,{capture:!0,passive:g}):a.addEventListener(s,l,!0):g!==void 0?a.addEventListener(s,l,{passive:g}):a.addEventListener(s,l,!1)}function kp(a,s,l,d,g){var x=d;if((s&1)===0&&(s&2)===0&&d!==null)e:for(;;){if(d===null)return;var E=d.tag;if(E===3||E===4){var A=d.stateNode.containerInfo;if(A===g)break;if(E===4)for(E=d.return;E!==null;){var F=E.tag;if((F===3||F===4)&&E.stateNode.containerInfo===g)return;E=E.return}for(;A!==null;){if(E=so(A),E===null)return;if(F=E.tag,F===5||F===6||F===26||F===27){d=x=E;continue e}A=A.parentNode}}d=d.return}Lx(function(){var Y=x,te=Kf(l),re=[];e:{var G=f1.get(a);if(G!==void 0){var Z=mu,De=a;switch(a){case"keypress":if(uu(l)===0)break e;case"keydown":case"keyup":Z=MM;break;case"focusin":De="focus",Z=Gf;break;case"focusout":De="blur",Z=Gf;break;case"beforeblur":case"afterblur":Z=Gf;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Z=Bx;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Z=bM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Z=TM;break;case c1:case u1:case d1:Z=vM;break;case m1:Z=DM;break;case"scroll":case"scrollend":Z=pM;break;case"wheel":Z=IM;break;case"copy":case"cut":case"paste":Z=SM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Z=Kx;break;case"toggle":case"beforetoggle":Z=zM}var Me=(s&4)!==0,lt=!Me&&(a==="scroll"||a==="scrollend"),K=Me?G!==null?G+"Capture":null:G;Me=[];for(var U=Y,q;U!==null;){var ne=U;if(q=ne.stateNode,ne=ne.tag,ne!==5&&ne!==26&&ne!==27||q===null||K===null||(ne=Vi(U,K),ne!=null&&Me.push(Cl(U,ne,q))),lt)break;U=U.return}0<Me.length&&(G=new Z(G,De,null,l,te),re.push({event:G,listeners:Me}))}}if((s&7)===0){e:{if(G=a==="mouseover"||a==="pointerover",Z=a==="mouseout"||a==="pointerout",G&&l!==Wf&&(De=l.relatedTarget||l.fromElement)&&(so(De)||De[ao]))break e;if((Z||G)&&(G=te.window===te?te:(G=te.ownerDocument)?G.defaultView||G.parentWindow:window,Z?(De=l.relatedTarget||l.toElement,Z=Y,De=De?so(De):null,De!==null&&(lt=c(De),Me=De.tag,De!==lt||Me!==5&&Me!==27&&Me!==6)&&(De=null)):(Z=null,De=Y),Z!==De)){if(Me=Bx,ne="onMouseLeave",K="onMouseEnter",U="mouse",(a==="pointerout"||a==="pointerover")&&(Me=Kx,ne="onPointerLeave",K="onPointerEnter",U="pointer"),lt=Z==null?G:Ui(Z),q=De==null?G:Ui(De),G=new Me(ne,
vendor: 20,468 bytes, lines 9-10
9U+"leave",Z,l,te),G.target=lt,G.relatedTarget=q,ne=null,so(te)===Y&&(Me=new Me(K,U+"enter",De,l,te),Me.target=q,Me.relatedTarget=lt,ne=Me),lt=ne,Z&&De)t:{for(Me=Z,K=De,U=0,q=Me;q;q=Uo(q))U++;for(q=0,ne=K;ne;ne=Uo(ne))q++;for(;0<U-q;)Me=Uo(Me),U--;for(;0<q-U;)K=Uo(K),q--;for(;U--;){if(Me===K||K!==null&&Me===K.alternate)break t;Me=Uo(Me),K=Uo(K)}Me=null}else Me=null;Z!==null&&Pw(re,G,Z,Me,!1),De!==null&&lt!==null&&Pw(re,lt,De,Me,!0)}}e:{if(G=Y?Ui(Y):window,Z=G.nodeName&&G.nodeName.toLowerCase(),Z==="select"||Z==="input"&&G.type==="file")var ve=Qx;else if(Gx(G))if(Jx)ve=YM;else{ve=qM;var He=HM}else Z=G.nodeName,!Z||Z.toLowerCase()!=="input"||G.type!=="checkbox"&&G.type!=="radio"?Y&&Bf(Y.elementType)&&(ve=Qx):ve=XM;if(ve&&(ve=ve(a,Y))){Zx(re,ve,l,te);break e}He&&He(a,G,Y),a==="focusout"&&Y&&G.type==="number"&&Y.memoizedProps.value!=null&&Vf(G,"number",G.value)}switch(He=Y?Ui(Y):window,a){case"focusin":(Gx(He)||He.contentEditable==="true")&&(go=He,nh=Y,$i=null);break;case"focusout":$i=nh=go=null;break;case"mousedown":rh=!0;break;case"contextmenu":case"mouseup":case"dragend":rh=!1,i1(re,l,te);break;case"selectionchange":if(GM)break;case"keydown":case"keyup":i1(re,l,te)}var Ne;if(Qf)e:{switch(a){case"compositionstart":var Oe="onCompositionStart";break e;case"compositionend":Oe="onCompositionEnd";break e;case"compositionupdate":Oe="onCompositionUpdate";break e}Oe=void 0}else po?Yx(a,l)&&(Oe="onCompositionEnd"):a==="keydown"&&l.keyCode===229&&(Oe="onCompositionStart");Oe&&(Hx&&l.locale!=="ko"&&(po||Oe!=="onCompositionStart"?Oe==="onCompositionEnd"&&po&&(Ne=Ux()):(ba=te,Xf="value"in ba?ba.value:ba.textContent,po=!0)),He=Ju(Y,Oe),0<He.length&&(Oe=new Wx(Oe,a,null,l,te),re.push({event:Oe,listeners:He}),Ne?Oe.data=Ne:(Ne=$x(l),Ne!==null&&(Oe.data=Ne)))),(Ne=UM?VM(a,l):BM(a,l))&&(Oe=Ju(Y,"onBeforeInput"),0<Oe.length&&(He=new Wx("onBeforeInput","beforeinput",null,l,te),re.push({event:He,listeners:Oe}),He.data=Ne)),TA(re,a,Y,l,te)}Ow(re,s)})}function Cl(a,s,l){return{instance:a,listener:s,currentTarget:l}}function Ju(a,s){for(var l=s+"Capture",d=[];a!==null;){var g=a,x=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||x===null||(g=Vi(a,l),g!=null&&d.unshift(Cl(a,g,x)),g=Vi(a,s),g!=null&&d.push(Cl(a,g,x))),a.tag===3)return d;a=a.return}return[]}function Uo(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function Pw(a,s,l,d,g){for(var x=s._reactName,E=[];l!==null&&l!==d;){var A=l,F=A.alternate,Y=A.stateNode;if(A=A.tag,F!==null&&F===d)break;A!==5&&A!==26&&A!==27||Y===null||(F=Y,g?(Y=Vi(l,x),Y!=null&&E.unshift(Cl(l,Y,F))):g||(Y=Vi(l,x),Y!=null&&E.push(Cl(l,Y,F)))),l=l.return}E.length!==0&&a.push({event:s,listeners:E})}var IA=/\r\n?/g,FA=/\u0000|\uFFFD/g;function Dw(a){return(typeof a=="string"?a:""+a).replace(IA,`
10`).replace(FA,"")}function _w(a,s){return s=Dw(s),Dw(a)===s}function ed(){}function it(a,s,l,d,g,x){switch(l){case"children":typeof d=="string"?s==="body"||s==="textarea"&&d===""||mo(a,d):(typeof d=="number"||typeof d=="bigint")&&s!=="body"&&mo(a,""+d);break;case"className":su(a,"class",d);break;case"tabIndex":su(a,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":su(a,l,d);break;case"style":Fx(a,d,x);break;case"data":if(s!=="object"){su(a,"data",d);break}case"src":case"href":if(d===""&&(s!=="a"||l!=="href")){a.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){a.removeAttribute(l);break}d=lu(""+d),a.setAttribute(l,d);break;case"action":case"formAction":if(typeof d=="function"){a.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof x=="function"&&(l==="formAction"?(s!=="input"&&it(a,s,"name",g.name,g,null),it(a,s,"formEncType",g.formEncType,g,null),it(a,s,"formMethod",g.formMethod,g,null),it(a,s,"formTarget",g.formTarget,g,null)):(it(a,s,"encType",g.encType,g,null),it(a,s,"method",g.method,g,null),it(a,s,"target",g.target,g,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){a.removeAttribute(l);break}d=lu(""+d),a.setAttribute(l,d);break;case"onClick":d!=null&&(a.onclick=ed);break;case"onScroll":d!=null&&$e("scroll",a);break;case"onScrollEnd":d!=null&&$e("scrollend",a);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(r(61));if(l=d.__html,l!=null){if(g.children!=null)throw Error(r(60));a.innerHTML=l}}break;case"multiple":a.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":a.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){a.removeAttribute("xlink:href");break}l=lu(""+d),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,""+d):a.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":d&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,""):a.removeAttribute(l);break;case"capture":case"download":d===!0?a.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,d):a.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?a.setAttribute(l,d):a.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?a.removeAttribute(l):a.setAttribute(l,d);break;case"popover":$e("beforetoggle",a),$e("toggle",a),au(a,"popover",d);break;case"xlinkActuate":Wr(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":Wr(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":Wr(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":Wr(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":Wr(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":Wr(a,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":Wr(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":Wr(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":Wr(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":au(a,"is",d);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=fM.get(l)||l,au(a,l,d))}}function Ep(a,s,l,d,g,x){switch(l){case"style":Fx(a,d,x);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(r(61));if(l=d.__html,l!=null){if(g.children!=null)throw Error(r(60));a.innerHTML=l}}break;case"children":typeof d=="string"?mo(a,d):(typeof d=="number"||typeof d=="bigint")&&mo(a,""+d);break;case"onScroll":d!=null&&$e("scroll",a);break;case"onScrollEnd":d!=null&&$e("scrollend",a);break;case"onClick":d!=null&&(a.onclick=ed);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ex.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(g=l.endsWith("Capture"),s=l.slice(2,g?l.length-7:void 0),x=a[xn]||null,x=x!=null?x[l]:null,typeof x=="function"&&a.removeEventListener(s,x,g),typeof d=="function")){typeof x!="function"&&x!==null&&(l in a?a[l]=null:a.hasAttribute(l)&&a.removeAttribute(l)),a.addEventListener(s,d,g);break e}l in a?a[l]=d:d===!0?a.setAttribute(l,""):au(a,l,d)}}}function Zt(a,s,l){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$e("error",a),$e("load",a);var d=!1,g=!1,x;for(x in l)if(l.hasOwnProperty(x)){var E=l[x];if(E!=null)switch(x){case"src":d=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,s));default:it(a,s,x,E,l,null)}}g&&it(a,s,"srcSet",l.srcSet,l,null),d&&it(a,s,"src",l.src,l,null);return;case"input":$e("invalid",a);var A=x=E=g=null,F=null,Y=null;for(d in l)if(l.hasOwnProperty(d)){var te=l[d];if(te!=null)switch(d){case"name":g=te;break;case"type":E=te;break;case"checked":F=te;break;case"defaultChecked":Y=te;break;case"value":x=te;break;case"defaultValue":A=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(r(137,s));break;default:it(a,s,d,te,l,null)}}Px(a,x,A,F,Y,E,g,!1),ou(a);return;case"select":$e("invalid",a),d=E=x=null;for(g in l)if(l.hasOwnProperty(g)&&(A=l[g],A!=null))switch(g){case"value":x=A;break;case"defaultValue":E=A;break;case"multiple":d=A;default:it(a,s,g,A,l,null)}s=x,l=E,a.multiple=!!d,s!=null?uo(a,!!d,s,!1):l!=null&&uo(a,!!d,l,!0);return;case"textarea":$e("invalid",a),x=g=d=null;for(E in l)if(l.hasOwnProperty(E)&&(A=l[E],A!=null))switch(E){case"value":d=A;break;case"defaultValue":g=A;break;case"children":x=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(r(91));break;default:it(a,s,E,A,l,null)}_x(a,d,g,x),ou(a);return;case"option":for(F in l)l.hasOwnProperty(F)&&(d=l[F],d!=null)&&(F==="selected"?a.selected=d&&typeof d!="function"&&typeof d!="symbol":it(a,s,F,d,l,null));return;case"dialog":$e("beforetoggle",a),$e("toggle",a),$e("cancel",a),$e("close",a);break;case"iframe":case"object":$e("load",a);break;case"video":case"audio":for(d=0;d<Sl.length;d++)$e(Sl[d],a);break;case"image":$e("error",a),$e("load",a);break;case"details":$e("toggle",a);break;case"embed":case"source":case"link":$e("error",a),$e("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Y in l)if(l.hasOwnProperty(Y)&&(d=l[Y],d!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,s));default:it(a,s,Y,d,l,null)}return;default:if(Bf(s)){for(te in l)l.hasOwnProperty(te)&&(d=l[te],d!==void 0&&Ep(a,s,te,d,l,void 0));return}}for(A in l)l.hasOwnProperty(A)&&(d=l[A],d!=null&&it(a,s,A,d,l,null))}function zA(a,s,l,d){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,x=null,E=null,A=null,F=null,Y=null,te=null;for(Z in l){var re=l[Z];if(l.hasOwnProperty(Z)&&re!=null)switch(Z){case"checked":break;case"value":break;case"defaultValue":F=re;default:d.hasOwnProperty(Z)||it(a,s,Z,null,d,re)}}for(var G in d){var Z=d[G];if(re=l[G],d.hasOwnProperty(G)&&(Z!=null||re!=null))switch(G){case"type":x=Z;break;case"name":g=Z;break;case"checked":Y=Z;break;case"defaultChecked":te=Z;break;case"value":E=Z;break;case"defaultValue":A=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(r(137,s));break;default:Z!==re&&it(a,s,G,Z,d,re)}}Uf(a,E,A,F,Y,te,x,g);return;case"select":Z=E=A=G=null;for(x in l)if(F=l[x],l.hasOwnProperty(x)&&F!=null)switch(x){case"value":break;case"multiple":Z=F;default:d.hasOwnProperty(x)||it(a,s,x,null,d,F)}for(g in d)if(x=d[g],F=l[g],d.hasOwnProperty(g)&&(x!=null||F!=null))switch(g){case"value":G=x;break;case"defaultValue":A=x;break;case"multiple":E=x;default:x!==F&&it(a,s,g,x,d,F)}s=A,l=E,d=Z,G!=null?uo(a,!!l,G,!1):!!d!=!!l&&(s!=null?uo(a,!!l,s,!0):uo(a,!!l,l?[]:"",!1));return;case"textarea":Z=G=null;for(A in l)if(g=l[A],l.hasOwnProperty(A)&&g!=null&&!d.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:it(a,s,A,null,d,g)}for(E in d)if(g=d[E],x=l[E],d.hasOwnProperty(E)&&(g!=null||x!=null))switch(E){case"value":G=g;break;case"defaultValue":Z=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(91));break;default:g!==x&&it(a,s,E,g,d,x)}Dx(a,G,Z);return;case"option":for(var De in l)G=l[De],l.hasOwnProperty(De)&&G!=null&&!d.hasOwnProperty(De)&&(De==="selected"?a.selected=!1:it(a,s,De,null,d,G));for(F in d)G=d[F],Z=l[F],d.hasOwnProperty(F)&&G!==Z&&(G!=null||Z!=null)&&(F==="selected"?a.selected=G&&typeof G!="function"&&typeof G!="symbol":it(a,s,F,G,d,Z));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Me in l)G=l[Me],l.hasOwnProperty(Me)&&G!=null&&!d.hasOwnProperty(Me)&&it(a,s,Me,null,d,G);for(Y in d)if(G=d[Y],Z=l[Y],d.hasOwnProperty(Y)&&G!==Z&&(G!=null||Z!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(r(137,s));break;default:it(a,s,Y,G,d,Z)}return;default:if(Bf(s)){for(var lt in l)G=l[lt],l.hasOwnProperty(lt)&&G!==void 0&&!d.hasOwnProperty(lt)&&Ep(a,s,lt,void 0,d,G);for(te in d)G=d[te],Z=l[te],!d.hasOwnProperty(te)||G===Z||G===void 0&&Z===void 0||Ep(a,s,te,G,d,Z);return}}for(var K in l)G=l[K],l.hasOwnProperty(K)&&G!=null&&!d.hasOwnProperty(K)&&it(a,s,K,null,d,G);for(re in d)G=d[re],Z=l[re],!d.hasOwnProperty(re)||G===Z||G==null&&Z==null||it(a,s,re,G,d,Z)}var jp=null,Rp=null;function td(a){return a.nodeType===9?a:a.ownerDocument}function Iw(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Fw(a,s){if(a===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&s==="foreignObject"?0:a}function Mp(a,s){return a==="textarea"||a==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Ap=null;function LA(){var a=window.event;return a&&a.type==="popstate"?a===Ap?!1:(Ap=a,!0):(Ap=null,!1)}var zw=typeof setTimeout=="function"?setTimeout:void 0,UA=typeof clearTimeout=="function"?clearTimeout:void 0,Lw=typeof Promise=="function"?Promise:void 0,VA=typeof queueMicrotask=="function"?queueMicrotask:typeof Lw<"u"?function(a){return Lw.resolve(null).then(a).catch(BA)}:zw;function BA(a){setTimeout(function(){throw a})}function Pa(a){return a==="head"}function Uw(a,s){var l=s,d=0,g=0;do{var x=l.nextSibling;if(a.removeChild(l),x&&x.nodeType===8)if(l=x.data,l==="/$"){if(0<d&&8>d){l=d;var E=a.ownerDocument;if(l&1&&Nl(E.documentElement),l&2&&Nl(E.body),l&4)for(l=E.head,Nl(l),E=l.firstChild;E;){var A=E.nextSibling,F=E.nodeName;E[Li]||F==="SCRIPT"||F==="STYLE"||F==="LINK"&&E.rel.toLowerCase()==="stylesheet"||l.removeChild(E),E=A}}if(g===0){a.removeChild(x),Tl(s);return}g--}else l==="$"||l==="$?"||l==="$!"?g++:d=l.charCodeAt(0)-48;else d=0;l=x}while(l);Tl(s)}function Op(a){var s=a.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var l=s;switch(s=s.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Op(l),If(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}a.removeChild(l)}}function WA(a,s,l,d){for(;a.nodeType===1;){var g=l;if(a.nodeName.toLowerCase()!==s.toLowerCase()){if(!d&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(d){if(!a[Li])switch(s){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(x=a.getAttribute("rel"),x==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(x!==g.rel||a.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||a.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||a.getAttribute("title")!==(g.title==null?null:g.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(x=a.getAttribute("src"),(x!==(g.src==null?null:g.src)||a.getAttribute("type")!==(g.type==null?null:g.type)||a.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&x&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(s==="input"&&a.type==="hidden"){var x=g.name==null?null:""+g.name;if(g.type==="hidden"&&a.getAttribute("name")===x)return a}else return a;if(a=cr(a.nextSibling),a===null)break}return null}function KA(a,s,l){if(s==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!l||(a=cr(a.nextSibling),a===null))return null;return a}function Tp(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState==="complete"}function HA(a,s){var l=a.ownerDocument;if(a.data!=="$?"||l.readyState==="complete")s();else{var d=function(){s(),l.removeEventListener("DOMContentLoaded",d)};l.addEventListener("DOMContentLoaded",d),a._reactRetry=d}}function cr(a){for(;a!=null;a=a.nextSibling){var s=a.nodeType;if(s===1||s===3)break;if(s===8){if(s=a.data,s==="$"||s==="$!"||s==="$?"||s==="F!"||s==="F")break;if(s==="/$")return null}}return a}var Pp=null;function Vw(a){a=a.previousSibling;for(var s=0;a;){if(a.nodeType===8){var l=a.data;if(l==="$"||l==="$!"||l==="$?"){if(s===0)return a;s--}else l==="/$"&&s++}a=a.previousSibling}return null}function Bw(a,s,l){switch(s=td(l),a){case"html":if(a=s.documentElement,!a)throw Error(r(452));return a;case"head":if(a=s.head,!a)throw Error(r(453));return a;case"body":if(a=s.body,!a)throw Error(r(454));return a;default:throw Error(r(451))}}function Nl(a){for(var s=a.attributes;s.length;)a.removeAttributeNode(s[0]);If(a)}var Qn=new Map,Ww=new Set;function nd(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var ra=Q.d;Q.d={f:qA,r:XA,D:YA,C:$A,L:GA,m:ZA,X:JA,S:QA,M:e9};function qA(){var a=ra.f(),s=Xu();return a||s}function XA(a){var s=oo(a);s!==null&&s.tag===5&&s.type==="form"?cv(s):ra.r(a)}var Vo=typeof document>"u"?null:document;function Kw(a,s,l){var d=Vo;if(d&&typeof s=="string"&&s){var g=Hn(s);g='link[rel="'+a+'"][href="'+g+'"]',typeof l=="string"&&(g+='[crossorigin="'+l+'"]'),Ww.has(g)||(Ww.add(g),a={rel:a,crossOrigin:l,href:s},d.querySelector(g)===null&&(s=d.createElement("link"),Zt(s,"link",a),Ht(s),d.head.appendChild(s)))}}function YA(a){ra.D(a),Kw("dns-prefetch",a,null)}function $A(a,s){ra.C(a,s),Kw("preconnect",a,s)}function GA(a,s,l){ra.L(a,s,l);var d=Vo;if(d&&a&&s){var g='link[rel="preload"][as="'+Hn(s)+'"]';s==="image"&&l&&l.imageSrcSet?(g+='[imagesrcset="'+Hn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(g+='[imagesizes="'+Hn(l.imageSizes)+'"]')):g+='[href="'+Hn(a)+'"]';var x=g;switch(s){case"style":x=Bo(a);break;case"script":x=Wo(a)}Qn.has(x)||(a=p({rel:"preload",href:s==="image"&&l&&l.imageSrcSet?void 0:a,as:s},l),Qn.set(x,a),d.querySelector(g)!==null||s==="style"&&d.querySelector(kl(x))||s==="script"&&d.querySelector(El(x))||(s=d.createElement("link"),Zt(s,"link",a),Ht(s),d.head.appendChild(s)))}}function ZA(a,s){ra.m(a,s);var l=Vo;if(l&&a){var d=s&&typeof s.as=="string"?s.as:"script",g='link[rel="modulepreload"][as="'+Hn(d)+'"][href="'+Hn(a)+'"]',x=g;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":x=Wo(a)}if(!Qn.has(x)&&(a=p({rel:"modulepreload",href:a},s),Qn.set(x,a),l.querySelector(g)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(El(x)))return}d=l.createElement("link"),Zt(d,"link",a),Ht(d),l.head.appendChild(d)}}}function QA(a,s,l){ra.S(a,s,l);var d=Vo;if(d&&a){var g=io(d).hoistableStyles,x=Bo(a);s=s||"default";var E=g.get(x);if(!E){var A={loading:0,preload:null};if(E=d.querySelector(kl(x)))A.loading=5;else{a=p({rel:"stylesheet",href:a,"data-precedence":s},l),(l=Qn.get(x))&&Dp(a,l);var F=E=d.createElement("link");Ht(F),Zt(F,"link",a),F._p=new Promise(function(Y,te){F.onload=Y,F.onerror=te}),F.addEventListener("load",function(){A.loading|=1}),F.addEventListener("error",function(){A.loading|=2}),A.loading|=4,rd(E,s,d)}E={type:"stylesheet",instance:E,count:1,state:A},g.set(x,E)}}}function JA(a,s){ra.X(a,s);var l=Vo;if(l&&a){var d=io(l).hoistableScripts,g=Wo(a),x=d.get(g);x||(x=l.querySelector(El(g)),x||(a=p({src:a,async:!0},s),(s=Qn.get(g))&&_p(a,s),x=l.createElement("script"),Ht(x),Zt(x,"link",a),l.head.appendChild(x)),x={type:"script",instance:x,c
vendor: 5,193 bytes, line 10
10ount:1,state:null},d.set(g,x))}}function e9(a,s){ra.M(a,s);var l=Vo;if(l&&a){var d=io(l).hoistableScripts,g=Wo(a),x=d.get(g);x||(x=l.querySelector(El(g)),x||(a=p({src:a,async:!0,type:"module"},s),(s=Qn.get(g))&&_p(a,s),x=l.createElement("script"),Ht(x),Zt(x,"link",a),l.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},d.set(g,x))}}function Hw(a,s,l,d){var g=(g=le.current)?nd(g):null;if(!g)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(s=Bo(l.href),l=io(g).hoistableStyles,d=l.get(s),d||(d={type:"style",instance:null,count:0,state:null},l.set(s,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){a=Bo(l.href);var x=io(g).hoistableStyles,E=x.get(a);if(E||(g=g.ownerDocument||g,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},x.set(a,E),(x=g.querySelector(kl(a)))&&!x._p&&(E.instance=x,E.state.loading=5),Qn.has(a)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Qn.set(a,l),x||t9(g,a,l,E.state))),s&&d===null)throw Error(r(528,""));return E}if(s&&d!==null)throw Error(r(529,""));return null;case"script":return s=l.async,l=l.src,typeof l=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Wo(l),l=io(g).hoistableScripts,d=l.get(s),d||(d={type:"script",instance:null,count:0,state:null},l.set(s,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function Bo(a){return'href="'+Hn(a)+'"'}function kl(a){return'link[rel="stylesheet"]['+a+"]"}function qw(a){return p({},a,{"data-precedence":a.precedence,precedence:null})}function t9(a,s,l,d){a.querySelector('link[rel="preload"][as="style"]['+s+"]")?d.loading=1:(s=a.createElement("link"),d.preload=s,s.addEventListener("load",function(){return d.loading|=1}),s.addEventListener("error",function(){return d.loading|=2}),Zt(s,"link",l),Ht(s),a.head.appendChild(s))}function Wo(a){return'[src="'+Hn(a)+'"]'}function El(a){return"script[async]"+a}function Xw(a,s,l){if(s.count++,s.instance===null)switch(s.type){case"style":var d=a.querySelector('style[data-href~="'+Hn(l.href)+'"]');if(d)return s.instance=d,Ht(d),d;var g=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return d=(a.ownerDocument||a).createElement("style"),Ht(d),Zt(d,"style",g),rd(d,l.precedence,a),s.instance=d;case"stylesheet":g=Bo(l.href);var x=a.querySelector(kl(g));if(x)return s.state.loading|=4,s.instance=x,Ht(x),x;d=qw(l),(g=Qn.get(g))&&Dp(d,g),x=(a.ownerDocument||a).createElement("link"),Ht(x);var E=x;return E._p=new Promise(function(A,F){E.onload=A,E.onerror=F}),Zt(x,"link",d),s.state.loading|=4,rd(x,l.precedence,a),s.instance=x;case"script":return x=Wo(l.src),(g=a.querySelector(El(x)))?(s.instance=g,Ht(g),g):(d=l,(g=Qn.get(x))&&(d=p({},l),_p(d,g)),a=a.ownerDocument||a,g=a.createElement("script"),Ht(g),Zt(g,"link",d),a.head.appendChild(g),s.instance=g);case"void":return null;default:throw Error(r(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(d=s.instance,s.state.loading|=4,rd(d,l.precedence,a));return s.instance}function rd(a,s,l){for(var d=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=d.length?d[d.length-1]:null,x=g,E=0;E<d.length;E++){var A=d[E];if(A.dataset.precedence===s)x=A;else if(x!==g)break}x?x.parentNode.insertBefore(a,x.nextSibling):(s=l.nodeType===9?l.head:l,s.insertBefore(a,s.firstChild))}function Dp(a,s){a.crossOrigin==null&&(a.crossOrigin=s.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=s.referrerPolicy),a.title==null&&(a.title=s.title)}function _p(a,s){a.crossOrigin==null&&(a.crossOrigin=s.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=s.referrerPolicy),a.integrity==null&&(a.integrity=s.integrity)}var ad=null;function Yw(a,s,l){if(ad===null){var d=new Map,g=ad=new Map;g.set(l,d)}else g=ad,d=g.get(l),d||(d=new Map,g.set(l,d));if(d.has(a))return d;for(d.set(a,null),l=l.getElementsByTagName(a),g=0;g<l.length;g++){var x=l[g];if(!(x[Li]||x[tn]||a==="link"&&x.getAttribute("rel")==="stylesheet")&&x.namespaceURI!=="http://www.w3.org/2000/svg"){var E=x.getAttribute(s)||"";E=a+E;var A=d.get(E);A?A.push(x):d.set(E,[x])}}return d}function $w(a,s,l){a=a.ownerDocument||a,a.head.insertBefore(l,s==="title"?a.querySelector("head > title"):null)}function n9(a,s,l){if(l===1||s.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(a=s.disabled,typeof s.precedence=="string"&&a==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function Gw(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}var jl=null;function r9(){}function a9(a,s,l){if(jl===null)throw Error(r(475));var d=jl;
vendor: 5,995 bytes, line 10
10if(s.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var g=Bo(l.href),x=a.querySelector(kl(g));if(x){a=x._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(d.count++,d=sd.bind(d),a.then(d,d)),s.state.loading|=4,s.instance=x,Ht(x);return}x=a.ownerDocument||a,l=qw(l),(g=Qn.get(g))&&Dp(l,g),x=x.createElement("link"),Ht(x);var E=x;E._p=new Promise(function(A,F){E.onload=A,E.onerror=F}),Zt(x,"link",l),s.instance=x}d.stylesheets===null&&(d.stylesheets=new Map),d.stylesheets.set(s,a),(a=s.state.preload)&&(s.state.loading&3)===0&&(d.count++,s=sd.bind(d),a.addEventListener("load",s),a.addEventListener("error",s))}}function s9(){if(jl===null)throw Error(r(475));var a=jl;return a.stylesheets&&a.count===0&&Ip(a,a.stylesheets),0<a.count?function(s){var l=setTimeout(function(){if(a.stylesheets&&Ip(a,a.stylesheets),a.unsuspend){var d=a.unsuspend;a.unsuspend=null,d()}},6e4);return a.unsuspend=s,function(){a.unsuspend=null,clearTimeout(l)}}:null}function sd(){if(this.count--,this.count===0){if(this.stylesheets)Ip(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var od=null;function Ip(a,s){a.stylesheets=null,a.unsuspend!==null&&(a.count++,od=new Map,s.forEach(o9,a),od=null,sd.call(a))}function o9(a,s){if(!(s.state.loading&4)){var l=od.get(a);if(l)var d=l.get(null);else{l=new Map,od.set(a,l);for(var g=a.querySelectorAll("link[data-precedence],style[data-precedence]"),x=0;x<g.length;x++){var E=g[x];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(l.set(E.dataset.precedence,E),d=E)}d&&l.set(null,d)}g=s.instance,E=g.getAttribute("data-precedence"),x=l.get(E)||d,x===d&&l.set(null,g),l.set(E,g),this.count++,d=sd.bind(this),g.addEventListener("load",d),g.addEventListener("error",d),x?x.parentNode.insertBefore(g,x.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(g,a.firstChild)),s.state.loading|=4}}var Rl={$$typeof:j,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function i9(a,s,l,d,g,x,E,A){this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ae(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ae(0),this.hiddenUpdates=Ae(null),this.identifierPrefix=d,this.onUncaughtError=g,this.onCaughtError=x,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Zw(a,s,l,d,g,x,E,A,F,Y,te,re){return a=new i9(a,s,l,E,A,F,Y,re),s=1,x===!0&&(s|=24),x=jn(3,null,null,s),a.current=x,x.stateNode=a,s=bh(),s.refCount++,a.pooledCache=s,s.refCount++,x.memoizedState={element:d,isDehydrated:l,cache:s},wh(x),a}function Qw(a){return a?(a=vo,a):vo}function Jw(a,s,l,d,g,x){g=Qw(g),d.context===null?d.context=g:d.pendingContext=g,d=va(s),d.payload={element:l},x=x===void 0?null:x,x!==null&&(d.callback=x),l=wa(a,d,s),l!==null&&(Tn(l,a,s),al(l,a,s))}function e2(a,s){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var l=a.retryLane;a.retryLane=l!==0&&l<s?l:s}}function Fp(a,s){e2(a,s),(a=a.alternate)&&e2(a,s)}function t2(a){if(a.tag===13){var s=xo(a,67108864);s!==null&&Tn(s,a,67108864),Fp(a,67108864)}}var id=!0;function l9(a,s,l,d){var g=z.T;z.T=null;var x=Q.p;try{Q.p=2,zp(a,s,l,d)}finally{Q.p=x,z.T=g}}function c9(a,s,l,d){var g=z.T;z.T=null;var x=Q.p;try{Q.p=8,zp(a,s,l,d)}finally{Q.p=x,z.T=g}}function zp(a,s,l,d){if(id){var g=Lp(d);if(g===null)kp(a,s,d,ld,l),r2(a,d);else if(d9(g,a,s,l,d))d.stopPropagation();else if(r2(a,d),s&4&&-1<u9.indexOf(a)){for(;g!==null;){var x=oo(g);if(x!==null)switch(x.tag){case 3:if(x=x.stateNode,x.current.memoizedState.isDehydrated){var E=Br(x.pendingLanes);if(E!==0){var A=x;for(A.pendingLanes|=2,A.entangledLanes|=2;E;){var F=1<<31-on(E);A.entanglements[1]|=F,E&=~F}jr(x),(nt&6)===0&&(Hu=Pe()+500,wl(0))}}break;case 13:A=xo(x,2),A!==null&&Tn(A,x,2),Xu(),Fp(x,2)}if(x=Lp(d),x===null&&kp(a,s,d,ld,l),x===g)break;g=x}g!==null&&d.stopPropagation()}else kp(a,s,d,null,l)}}function Lp(a){return a=Kf(a),Up(a)}var ld=null;function Up(a){if(ld=null,a=so(a),a!==null){var s=c(a);if(s===null)a=null;else{var l=s.tag;if(l===13){if(a=u(s),a!==null)return a;a=null}else if(l===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;a=null}else s!==a&&(a=null)}}return ld=a,null}function n2(a){switch(a){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(yn()){case Ee:return 2;case gt:return 8;case Wn:case Ti:return 32;case Pi:return 268435456;default:return 32}default:return 32}}var Vp=!1,Da=null,_a=null,Ia=null,Ml=new Map,Al=new Map,Fa=[],u9="mou
10sedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function r2(a,s){switch(a){case"focusin":case"focusout":Da=null;break;case"dragenter":case"dragleave":_a=null;break;case"mouseover":case"mouseout":Ia=null;break;case"pointerover":case"pointerout":Ml.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Al.delete(s.pointerId)}}function Ol(a,s,l,d,g,x){return a===null||a.nativeEvent!==x?(a={blockedOn:s,domEventName:l,eventSystemFlags:d,nativeEvent:x,targetContainers:[g]},s!==null&&(s=oo(s),s!==null&&t2(s)),a):(a.eventSystemFlags|=d,s=a.targetContainers,g!==null&&s.indexOf(g)===-1&&s.push(g),a)}function d9(a,s,l,d,g){switch(s){case"focusin":return Da=Ol(Da,a,s,l,d,g),!0;case"dragenter":return _a=Ol(_a,a,s,l,d,g),!0;case"mouseover":return Ia=Ol(Ia,a,s,l,d,g),!0;case"pointerover":var x=g.pointerId;return Ml.set(x,Ol(Ml.get(x)||null,a,s,l,d,g)),!0;case"gotpointercapture":return x=g.pointerId,Al.set(x,Ol(Al.get(x)||null,a,s,l,d,g)),!0}return!1}function a2(a){var s=so(a.target);if(s!==null){var l=c(s);if(l!==null){if(s=l.tag,s===13){if(s=u(l),s!==null){a.blockedOn=s,zi(a.priority,function(){if(l.tag===13){var d=On();d=Ii(d);var g=xo(l,d);g!==null&&Tn(g,l,d),Fp(l,d)}});return}}else if(s===3&&l.stateNode.current.memoizedState.isDehydrated){a.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}a.blockedOn=null}function cd(a){if(a.blockedOn!==null)return!1;for(var s=a.targetContainers;0<s.length;){var l=Lp(a.nativeEvent);if(l===null){l=a.nativeEvent;var d=new l.constructor(l.type,l);Wf=d,l.target.dispatchEvent(d),Wf=null}else return s=oo(l),s!==null&&t2(s),a.blockedOn=l,!1;s.shift()}return!0}function s2(a,s,l){cd(a)&&l.delete(s)}function m9(){Vp=!1,Da!==null&&cd(Da)&&(Da=null),_a!==null&&cd(_a)&&(_a=null),Ia!==null&&cd(Ia)&&(Ia=null),Ml.forEach(s2),Al.forEach(s2)}function ud(a,s){a.blockedOn===s&&(a.blockedOn=null,Vp||(Vp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,m9)))}var dd=null;function o2(a){dd!==a&&(dd=a,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){dd===a&&(dd=null);for(var s=0;s<a.length;s+=3){var l=a[s],d=a[s+1],g=a[s+2];if(typeof d!="function"){if(Up(d||l)===null)continue;break}var x=oo(l);x!==null&&(a.splice(s,3),s-=3,Uh(x,{pending:!0,data:g,method:l.method,action:d},d,g))}}))}function Tl(a){function s(F){return ud(F,a)}Da!==null&&ud(Da,a),_a!==null&&ud(_a,a),Ia!==null&&ud(Ia,a),Ml.forEach(s),Al.forEach(s);for(var l=0;l<Fa.length;l++){var d=Fa[l];d.blockedOn===a&&(d.blockedOn=null)}for(;0<Fa.length&&(l=Fa[0],l.blockedOn===null);)a2(l),l.blockedOn===null&&Fa.shift();if(l=(a.ownerDocument||a).$$reactFormReplay,l!=null)for(d=0;d<l.length;d+=3){var g=l[d],x=l[d+1],E=g[xn]||null;if(typeof x=="function")E||o2(l);else if(E){var A=null;if(x&&x.hasAttribute("formAction")){if(g=x,E=x[xn]||null)A=E.formAction;else if(Up(g)!==null)continue}else A=E.action;typeof A=="function"?l[d+1]=A:(l.splice(d,3),d-=3),o2(l)}}}function Bp(a){this._internalRoot=a}md.prototype.render=Bp.prototype.render=function(a){var s=this._internalRoot;if(s===null)throw Error(r(409));var l=s.current,d=On();Jw(l,d,a,s,null,null)},md.prototype.unmount=Bp.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var s=a.containerInfo;Jw(a.current,2,null,a,null,null),Xu(),s[ao]=null}};function md(a){this._internalRoot=a}md.prototype.unstable_scheduleHydration=function(a){if(a){var s=ro();a={blockedOn:null,target:a,priority:s};for(var l=0;l<Fa.length&&s!==0&&s<Fa[l].priority;l++);Fa.splice(l,0,a),l===0&&a2(a)}};var i2=t.version;if(i2!=="19.1.0")throw Error(r(527,i2,"19.1.0"));Q.findDOMNode=function(a){var s=a._reactInternals;if(s===void 0)throw typeof a.render=="function"?Error(r(188)):(a=Object.keys(a).join(","),Error(r(268,a)));return a=f(s),a=a!==null?h(a):null,a=a===null?null:a.stateNode,a};var f9={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.1.0"};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fd.isDisabled&&fd.supportsFiber)try{ls=fd.inject(f9),sn=fd}catch{}}return Dl.createRoot=function(a,s){if(!o(a))throw Error(r(299));var l=!1,d="",g=Cv,x=Nv,E=kv,A=null;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onUncaughtError!==void 0&&(g=s.onUncaughtError),s.onCaughtError!==void 0&&(x=s.onCaughtError),s.onRecoverableError!==void 0&&(E=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(A=s.unstable_transitionCallbacks)),s=Zw(a,1,!1,null,null,l,d,g,x,E,A,null),a[ao]=s.current,Np(a),new Bp(s)},Dl.hydrateRoot=function(a,s,l){if(!o(a))throw Error(r(299));var d=!1,g="",x=Cv,E=Nv,A=kv,F=null,Y=null;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(g=l.identifierPrefix),l.onUncaughtError!==void 0&&(x=l.onUncaughtError),l.onCaughtError!==void 0&&(E=l.onCaughtError),l.onRecoverableError!==void 0&&(A=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(F=l.unstable_transitionCallbacks),l.formState!==void 0&&(Y=l.formState)),s=Zw(a,1,!0,s,l??null,d,g,x,E,A,F,Y),s.context=Qw(null),l=s.current,d=On(),d=Ii(d),g=va(d),g.callback=null,wa(l,g,d),l=d,s.current.lanes=l,qe(s,l),jr(s),a[ao]=s.current,Np(a),new md(s)},Dl.version="19.1.0",Dl}var b2;function I9(){if(b2)return Kp.exports;b2=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Kp.exports=_9(),Kp.exports}var ab=I9();const F9=Tm(ab),z9=Om({__proto__:null,default:F9},[ab]);function L9(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,o,c,u=[],m="",f=e.split("/");for(f[0]||f.shift();o=f.shift();)n=o[0],n==="*"?(u.push(n),m+=o[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=o.indexOf("?",1),c=o.indexOf(".",1),u.push(o.substring(1,~r?r:~c?c:o.length)),m+=~r&&!~c?"(?:/([^/]+?))?":"/([^/]+?)",~c&&(m+=(~r?"?":"")+"\\"+o.substring(c))):m+="/"+o;return{keys:u,pattern:new RegExp("^"+m+(t?"(?=$|/)":"/?$"),"i")}}var y=Pm();const L=Tm(y),xc=Om({__proto__:null,default:L},[y]);var $p={exports:{}},Gp={};var y2;function U9(){if(y2)return Gp;y2=1;var e=Pm();function t(b,v){return b===v&&(b!==0||1/b===1/v)||b!==b&&v!==v}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function m(b,v){var S=v(),N=r({inst:{value:S,getSnapshot:v}}),w=N[0].inst,C=N[1];return c(function(){w.value=S,w.getSnapshot=v,f(w)&&C({inst:w})},[b,S,v]),o(function(){return f(w)&&C({inst:w}),b(function(){f(w)&&C({inst:w})})},[b]),u(S),S}function f(b){var v=b.getSnapshot;b=b.value;try{var S=v();return!n(b,S)}catch{return!0}}function h(b,v){return v()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:m;return Gp.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Gp}var x2;function V9(){return x2||(x2=1,$p.exports=U9()),$p.exports}var B9=V9();const W9=xc.useInsertionEffect,K9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",H9=K9?y.useLayoutEffect:y.useEffect,q9=W9||H9,G4=e=>{const t=y.useRef([e,(...n)=>t[0](...n)]).current;return q9(()=>{t[0]=e}),t[1]},X9="popstate",sb="pushState",ob="replaceState",Y9="hashchange",v2=[X9,sb,ob,Y9],$9=e=>{for(const t of v2)addEventListener(t,e);return()=>{for(const t of v2)removeEventListener(t,e)}},Z4=(e,t)=>B9.useSyncExternalStore($9,e,t),w2=()=>location.search,G9=({ssrSearch:e}={})=>Z4(w2,e!=null?()=>e:w2),S2=()=>location.pathname,Z9=({ssrPath:e}={})=>Z4(S2,e!=null?()=>e:S2),Q9=(e,{replace:t=!1,state:n=null}={})=>history[t?ob:sb](n,"",e),J9=(e={})=>[Z9(e),Q9],C2=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[C2]>"u"){for(const e of[sb,ob]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,C2,{value:!0})}const eO=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",Q4=(e="")=>e==="/"?"":e,tO=(e,t)=>e[0]==="~"?e.slice(1):Q4(t)+e,nO=(e="",t)=>eO(Zg(Q4(e)),Zg(t)),rO=e=>e[0]==="?"?e.slice(1):e,Zg=e=>{try{return decodeURI(e)}catch{return e}},aO=e=>Zg(rO(e)),J4={hook:J9,searchHook:G9,parser:L9,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e,aroundNav:(e,t,n)=>e(t,n)},eC=y.createContext(J4),qs=()=>y.useContext(eC),tC={},nC=y.createContext(tC),sO=()=>y.useContext(nC),Dm=e=>{const[t,n]=e.hook(e);return[nO(e.base,t),G4((r,o)=>e.aroundNav(n,tO(r,e.base),o))]},ts=()=>Dm(qs()),oO=()=>{const e=qs();return aO(e.searchHook(e))},ib=(e,t,n,r)=>{const{pattern:o,keys:c}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),u=o.exec(n)||[],[m,...f]=u;return m!==void 0?[!0,(()=>{const h=c!==!1?Object.fromEntries(c.map((b,v)=>[b,f[v]])):u.groups;let p={...f};return h&&Object.assign(p,h),p})(),...r?[m]:[]]:[!1,null]},iO=e=>ib(qs().parser,e,ts()[0]),rC=({children:e,...t})=>{const n=qs(),r=t.hook?J4:n;let o=r;const[c,u=t.ssrSearch??""]=t.ssrPath?.split("?")??[];c&&(t.ssrSearch=u,t.ssrPath=c),t.hrefs=t.hrefs??t.hook?.hrefs,t.searchHook=t.searchHook??t.hook?.searchHook;let m=y.useRef({}),f=m.current,h=f;
10for(let p in r){const b=p==="base"?r[p]+(t[p]??""):t[p]??r[p];f===h&&b!==h[p]&&(m.current=h={...h}),h[p]=b,(b!==r[p]||b!==o[p])&&(o=h)}return y.createElement(eC.Provider,{value:o,children:e})},N2=({children:e,component:t},n)=>t?y.createElement(t,{params:n}):typeof e=="function"?e(n):e,lO=e=>{let t=y.useRef(tC);const n=t.current;return t.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([r,o])=>o!==n[r])?e:n},Re=({path:e,nest:t,match:n,...r})=>{const o=qs(),[c]=Dm(o),[u,m,f]=n??ib(o.parser,e,c,t),h=lO({...sO(),...m});if(!u)return null;const p=f?y.createElement(rC,{base:f},N2(r,h)):N2(r,h);return y.createElement(nC.Provider,{value:h,children:p})},pe=y.forwardRef((e,t)=>{const n=qs(),[r,o]=Dm(n),{to:c="",href:u=c,onClick:m,asChild:f,children:h,className:p,replace:b,state:v,transition:S,...N}=e,w=G4(R=>{R.ctrlKey||R.metaKey||R.altKey||R.shiftKey||R.button!==0||(m?.(R),R.defaultPrevented||(R.preventDefault(),o(u,e)))}),C=n.hrefs(u[0]==="~"?u.slice(1):n.base+u,n);return f&&y.isValidElement(h)?y.cloneElement(h,{onClick:w,href:C}):y.createElement("a",{...N,onClick:w,href:C,className:p?.call?p(r===u):p,children:h,ref:t})}),aC=e=>Array.isArray(e)?e.flatMap(t=>aC(t&&t.type===y.Fragment?t.props.children:t)):[e],cO=({children:e,location:t})=>{const n=qs(),[r]=Dm(n);for(const o of aC(e)){let c=0;if(y.isValidElement(o)&&(c=ib(n.parser,o.props.path,t||r,o.props.nest))[0])return y.cloneElement(o,{match:c})}return null};var vi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},uO=class extends vi{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},lb=new uO,dO={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},mO=class{#e=dO;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Ps=new mO;function fO(e){setTimeout(e,0)}var hO=typeof window>"u"||"Deno"in globalThis;function dn(){}function pO(e,t){return typeof e=="function"?e(t):e}function Qg(e){return typeof e=="number"&&e>=0&&e!==1/0}function sC(e,t){return Math.max(e+(t||0)-Date.now(),0)}function qa(e,t){return typeof e=="function"?e(t):e}function _n(e,t){return typeof e=="function"?e(t):e}function k2(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:c,queryKey:u,stale:m}=e;if(u){if(r){if(t.queryHash!==cb(u,t.options))return!1}else if(!ac(t.queryKey,u))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||o&&o!==t.state.fetchStatus||c&&!c(t))}function E2(e,t){const{exact:n,status:r,predicate:o,mutationKey:c}=e;if(c){if(!t.options.mutationKey)return!1;if(n){if(Bs(t.options.mutationKey)!==Bs(c))return!1}else if(!ac(t.options.mutationKey,c))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function cb(e,t){return(t?.queryKeyHashFn||Bs)(e)}function Bs(e){return JSON.stringify(e,(t,n)=>Jg(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function ac(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ac(e[n],t[n])):!1}var gO=Object.prototype.hasOwnProperty;function oC(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=j2(e)&&j2(t);if(!r&&!(Jg(e)&&Jg(t)))return t;const c=(r?e:Object.keys(e)).length,u=r?t:Object.keys(t),m=u.length,f=r?new Array(m):{};let h=0;for(let p=0;p<m;p++){const b=r?p:u[p],v=e[b],S=t[b];if(v===S){f[b]=v,(r?p<c:gO.call(e,b))&&h++;continue}if(v===null||S===null||typeof v!="object"||typeof S!="object"){f[b]=S;continue}const N=oC(v,S,n+1);f[b]=N,N===v&&h++}return c===m&&h===c?e:f}function Qd(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function j2(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Jg(e){if(!R2(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!R2(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function R2(e){return Object.prototype.toString.call(e)==="[object Object]"}function bO(e){return new Promise(t=>{Ps.setTimeout(t,e)})}function e0(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?oC(e,t):t}function yO(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function xO(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ub=Symbol();function iC(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===ub?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function db(e,t){return typeof e=="function"?e(...t):!!e}function vO(e,t,n){let r=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??=t(),r||(r=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),e}var sc=(()=>{let e=()=>hO;return{isServer(){return e()},setIsServer(t){e=t}}})();function t0(){let e,t;const n=new Promise((o,c)=>{e=o,t=c});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}var wO=fO;function SO(){let e=[],t=0,n=m=>{m()},r=m=>{m()},o=wO;const c=m=>{t?e.push(m):o(()=>{n(m)})},u=()=>{const m=e;e=[],m.length&&o(()=>{r(()=>{m.forEach(f=>{n(f)})})})};return{batch:m=>{let f;t++;try{f=m()}finally{t--,t||u()}return f},batchCalls:m=>(...f)=>{c(()=>{m(...f)})},schedule:c,setNotifyFunction:m=>{n=m},setBatchNotifyFunction:m=>{r=m},setScheduler:m=>{o=m}}}var Wt=SO(),CO=class extends vi{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n
vendor: 20,366 bytes, line 10
10)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},Jd=new CO;function NO(e){return Math.min(1e3*2**e,3e4)}function lC(e){return(e??"online")==="online"?Jd.isOnline():!0}var n0=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function cC(e){let t=!1,n=0,r;const o=t0(),c=()=>o.status!=="pending",u=w=>{if(!c()){const C=new n0(w);v(C),e.onCancel?.(C)}},m=()=>{t=!0},f=()=>{t=!1},h=()=>lb.isFocused()&&(e.networkMode==="always"||Jd.isOnline())&&e.canRun(),p=()=>lC(e.networkMode)&&e.canRun(),b=w=>{c()||(r?.(),o.resolve(w))},v=w=>{c()||(r?.(),o.reject(w))},S=()=>new Promise(w=>{r=C=>{(c()||h())&&w(C)},e.onPause?.()}).then(()=>{r=void 0,c()||e.onContinue?.()}),N=()=>{if(c())return;let w;const C=n===0?e.initialPromise:void 0;try{w=C??e.fn()}catch(R){w=Promise.reject(R)}Promise.resolve(w).then(b).catch(R=>{if(c())return;const M=e.retry??(sc.isServer()?0:3),j=e.retryDelay??NO,T=typeof j=="function"?j(n,R):j,P=M===!0||typeof M=="number"&&n<M||typeof M=="function"&&M(n,R);if(t||!P){v(R);return}n++,e.onFail?.(n,R),bO(T).then(()=>h()?void 0:S()).then(()=>{t?v(R):N()})})};return{promise:o,status:()=>o.status,cancel:u,continue:()=>(r?.(),o),cancelRetry:m,continueRetry:f,canStart:p,start:()=>(p()?N():S().then(N),o)}}var uC=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Qg(this.gcTime)&&(this.#e=Ps.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(sc.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Ps.clearTimeout(this.#e),this.#e=void 0)}};function kO(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,c=t.state.data?.pages||[],u=t.state.data?.pageParams||[];let m={pages:[],pageParams:[]},f=0;const h=async()=>{let p=!1;const b=N=>{vO(N,()=>t.signal,()=>p=!0)},v=iC(t.options,t.fetchOptions),S=async(N,w,C)=>{if(p)return Promise.reject(t.signal.reason);if(w==null&&N.pages.length)return Promise.resolve(N);const M=(()=>{const I={client:t.client,queryKey:t.queryKey,pageParam:w,direction:C?"backward":"forward",meta:t.options.meta};return b(I),I})(),j=await v(M),{maxPages:T}=t.options,P=C?xO:yO;return{pages:P(N.pages,j,T),pageParams:P(N.pageParams,w,T)}};if(o&&c.length){const N=o==="backward",w=N?EO:M2,C={pages:c,pageParams:u},R=w(r,C);m=await S(C,R,N)}else{const N=e??c.length;do{const w=f===0?u[0]??r.initialPageParam:M2(r,m);if(f>0&&w==null)break;m=await S(m,w),f++}while(f<N)}return m};t.options.persister?t.fetchFn=()=>t.options.persister?.(h,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=h}}}function M2(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function EO(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var jO=class extends uC{#e;#t;#n;#r;#a;#s;#o;#i;constructor(e){super(),this.#i=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#r=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=O2(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=O2(this.options);t.data!==void 0&&(this.setState(A2(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const n=e0(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:"setState",state:e})}cancel(e){const t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(dn).catch(dn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>_n(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ub||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>qa(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!sC(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#s&&(this.#i||this.#u()?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#s?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,r=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#i=!0,n.signal)})},o=()=>{const f=iC(this.options,t),p=(()=>{const b={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(b),b})();return this.#i=!1,this.options.persister?this.options.persister(f,p,this):f(p)},u=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:o};return r(f),f})();(this.#e==="infinite"?kO(this.options.pages):this.options.behavior)?.onFetch(u,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#l({type:"fetch",meta:u.fetchOptions?.meta}),this.#s=cC({initialPromise:t?.initialPromise,fn:u.fetchFn,onCancel:f=>{f instanceof n0&&f.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(f,h)=>{this.#l({type:"failed",failureCount:f,error:h})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{const f=await this.#s.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#r.config.onSuccess?.(f,this),this.#r.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof n0){if(f.silent)return this.#s.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#l({type:"error",error:f}),this.#r.config.onError?.(f,this),this.#r.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#l(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...dC(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...A2(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const o=e.error;return{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Wt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function dC(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:lC(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function A2(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function O2(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var RO=class extends vi{constructor(e,t){super(),this.options=t,this.#e=e,this.#i=null,this.#o=t0(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#a;#s;#o;#i;#u;#l;#h;#d;#m;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),T2(this.#t,this.options)?this.#f():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return r0(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return r0(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#w(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof _n(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),t._defaulted&&!Qd(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&P2(this.#t,n,this.options,t)&&this.#f(),this.updateResult(),r&&(this.#t!==n||_n(this.options.enabled,this.#t)!==_n(t.enabled,this.#t)||qa(this.options.staleTime,this.#t)!==qa(t.staleTime,this.#t))&&this.#g();const o=this.#b();r&&(this.#t!==n||_n(this.options.enabled,this.#t)!==_n(t.enabled,this.#t)||o!==this.#c)&&this.#y(o)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return AO(this,n)&&(this.#r=n,this.#s=this.options,this.#a=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,r))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#f(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(dn)),t}#g(){this.#v();const e=qa(this.options.staleTime,this.#t);if(sc.isServer()||this.#r.isStale||!Qg(e))return;const n=sC(this.#r.dataUpdatedAt,e)+1;this.#d=Ps.setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#b(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(e){this.#w(),this.#c=e,!(sc.isServer()||_n(this.options.enabled,this.#t)===!1||!Qg(this.#c)||this.#c===0)&&(this.#m=Ps.setInterval(()=>{(this.options.refetchIntervalInBackground||lb.isFocused())&&this.#f()},this.#c))}#x(){this.#g(),this.#y(this.#b())}#v(){this.#d!==void 0&&(Ps.clearTimeout(this.#d),this.#d=void 0)}#w(){this.#m!==void 0&&(Ps.clearInterval(this.#m),this.#m=void 0)}createResult(e,t){const n=this.#t,r=this.options,o=this.#r,c=this.#a,u=this.#s,f=e!==n?e.state:this.#n,{state:h}=e;let p={...h},b=!1,v;if(t._optimisticResults){const D=this.hasListeners(),V=!D&&T2(e,t),H=D&&P2(e,n,t,r);(V||H)&&(p={...p,...dC(h.data,e.options)}),t._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:S,errorUpdatedAt:N,status:w}=p;v=p.data;let C=!1;if(t.placeholderData!==void 0&&v===void 0&&w==="pending"){let D;o?.isPlaceholderData&&t.placeholderData===u?.placeholderData?(D=o.data,C=!0):D=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,D!==void 0&&(w="success",v=e0(o?.data,D,t),b=!0)}if(t.select&&v!==void 0&&!C)if(o&&v===c?.data&&t.select===this.#u)v=this.#l;else try{this.#u=t.select,v=t.select(v),v=e0(o?.data,v,t),this.#l=v,this.#i=null}catch(D){this.#i=D}this.#i&&(S=this.#i,v=this.#l,N=Date.now(),w="error");const R=p.fetchStatus==="fetching",M=w==="pending",j=w==="error",T=M&&R,P=v!==void 0,_={status:w,fetchStatus:p.fetchStatus,isPending:M,isSuccess:w==="success",isError:j,isInitialLoading:T,isLoading:T,data:v,dataUpdatedAt:p.dataUpdatedAt,error:S,errorUpdatedAt:N,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:p.dataUpdateCount>f.dataUpdateCount||p.errorUpdateCount>f.errorUpdateCount,isFetching:R,isRefetching:R&&!M,isLoadingError:j&&!P,isPaused:p.fetchStatus==="paused",isPlaceholderData:b,isRefetchError:j&&P,isStale:mb(e,t),refetch:this.refetch,promise:this.#o,isEnabled:_n(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const D=_.data!==void 0,V=_.status==="error"&&!D,H=ae=>{V?ae.reject(_.error):D&&ae.resolve(_.data)},$=()=>{const ae=this.#o=_.promise=t0();H(ae)},J=this.#o;switch(J.status){case"pending":e.queryHash===n.queryHash&&H(J);break;case"fulfilled":(V||_.data!==J.value)&&$();break;case"rejected":(!V||_.error!==J.reason)&&$();break}}return _}updateResult(){const e=this.#r,t=this.createResult(this.#t,this.options);if(this.#a=this.#t.state,this.#s=this.options,this.#a.data!==void 0&&(this.#h=this.#t),Qd(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,o=typeof r=="function"?r():r;if(o==="all"||!o&&!this.#p.size)return!0;const c=new Set(o??this.#p);return this.options.throwOnError&&c.add("error"),Object.keys(this.#r).some(u=>{const m=u;return this.#r[m]!==e[m]&&c.has(m)})};this.#C({listeners:n()})}#S(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#C(e){Wt.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function MO(e,t){return _n(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&_n(t.retryOnMount,e)===!1)}function T2(e,t){return MO(e,t)||e.state.data!==void 0&&r0(e,t,t.refetchOnMount)}function r0(e,t,n){if(_n(t.enabled,e)!==!1&&qa(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&mb(e,t)}return!1}function P2(e,t,n,r){return(e!==t||_n(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&mb(e,n)}function mb(e,t){return _n(t.enabled,e)!==!1&&e.isStaleByTime(qa(t.staleTime,e))}function AO(e,t){return!Qd(e.getCurrentResult(),t)}var OO=class extends uC{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||mC(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#a({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=cC({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(c,u)=>{this.#a({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#a({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",o=!this.#r.canStart();try{if(r)t();else{this.#a({type:"pending",variables:e,isPaused:o}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const u=await this.options.onMutate?.(e,n);u!==this.state.context&&this.#a({type:"pending",context:u,variables:e,isPaused:o})}const c=await this.#r.start();return await this.#n.config.onSuccess?.(c,e,this.state.context,this,n),await this.options.onSuccess?.(c,e,this.state.context,n),await this.#n.config.onSettled?.(c,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(c,null,e,this.state.context,n),this.#a({type:"success",data:c}),c}catch(c){try{await this.#n.config.onError?.(c,e,this.state.context,this,n)}catch(u){Promise.reject(u)}try{await this.options.onError?.(c,e,this.state.context,n)}catch(u){Promise.reject(u)}try{await this.#n.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,n)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,c,e,this.state.context,n)}catch(u){Promise.reject(u)}throw this.#a({type:"error",error:c}),c}finally{this.#n.runNext(this)}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Wt.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function mC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var TO=class extends vi{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const r=new OO({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);const t=hd(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=hd(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=hd(e);if(typeof t=="string"){const r=this.#t.get(t)?.find(o=>o.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=hd(e);return typeof t=="string"?this.#t.get(t)?.find(r=>
10r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Wt.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>E2(t,n))}findAll(e={}){return this.getAll().filter(t=>E2(e,t))}notify(e){Wt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Wt.batch(()=>Promise.all(e.map(t=>t.continue().catch(dn))))}};function hd(e){return e.options.scope?.id}var PO=class extends vi{#e;#t=void 0;#n;#r;constructor(t,n){super(),this.#e=t,this.setOptions(n),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#e.defaultMutationOptions(t),Qd(this.options,n)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Bs(n.mutationKey)!==Bs(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#a(),this.#s(t)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#s()}mutate(t,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(t)}#a(){const t=this.#n?.state??mC();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#s(t){Wt.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#t.variables,r=this.#t.context,o={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,n,r,o)}catch(c){Promise.reject(c)}
vendor: 5,794 bytes, line 10
10try{this.#r.onSettled?.(t.data,null,n,r,o)}catch(c){Promise.reject(c)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,n,r,o)}catch(c){Promise.reject(c)}try{this.#r.onSettled?.(void 0,t.error,n,r,o)}catch(c){Promise.reject(c)}}}this.listeners.forEach(n=>{n(this.#t)})})}},DO=class extends vi{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,o=t.queryHash??cb(r,t);let c=this.get(o);return c||(c=new jO({client:e,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(c)),c}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Wt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>k2(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>k2(e,n)):t}notify(e){Wt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Wt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Wt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_O=class{#e;#t;#n;#r;#a;#s;#o;#i;constructor(e={}){this.#e=e.queryCache||new DO,this.#t=e.mutationCache||new TO,this.#n=e.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#o=lb.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=Jd.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#o?.(),this.#o=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(qa(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),c=this.#e.get(r.queryHash)?.state.data,u=pO(t,c);if(u!==void 0)return this.#e.build(this,r).setData(u,{...n,manual:!0})}setQueriesData(e,t,n){return Wt.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;Wt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return Wt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Wt.batch(()=>this.#e.findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(dn).catch(dn)}invalidateQueries(e,t={}){return Wt.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Wt.batch(()=>this.#e.findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let c=o.fetch(void 0,n);return n.throwOnError||(c=c.catch(dn)),o.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(r).then(dn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(qa(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(dn).catch(dn)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(dn).catch(dn)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Jd.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Bs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{ac(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#a.set(Bs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{ac(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=cb(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===ub&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},fC=y.createContext(void 0),Xs=e=>{const t=y.useContext(fC);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},IO=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),i.jsx(fC.Provider,{value:e,children:t})),hC=y.createContext(!1),FO=()=>y.useContext(hC);hC.Provider;function zO(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
10var LO=y.createContext(zO()),UO=()=>y.useContext(LO),VO=(e,t,n)=>{const r=n?.state.error&&typeof e.throwOnError=="function"?db(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},BO=e=>{y.useEffect(()=>{e.clearReset()},[e])},WO=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&e.data===void 0||db(n,[e.error,r])),KO=e=>{if(e.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...o)=>n(r(...o)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},HO=(e,t)=>e.isLoading&&e.isFetching&&!t,qO=(e,t)=>e?.suspense&&t.isPending,D2=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function XO(e,t,n){const r=FO(),o=UO(),c=Xs(),u=c.defaultQueryOptions(e);c.getDefaultOptions().queries?._experimental_beforeQuery?.(u);const m=c.getQueryCache().get(u.queryHash),f=e.subscribed!==!1;u._optimisticResults=r?"isRestoring":f?"optimistic":void 0,KO(u),VO(u,o,m),BO(o);const h=!c.getQueryCache().get(u.queryHash),[p]=y.useState(()=>new t(c,u)),b=p.getOptimisticResult(u),v=!r&&f;if(y.useSyncExternalStore(y.useCallback(S=>{const N=v?p.subscribe(Wt.batchCalls(S)):dn;return p.updateResult(),N},[p,v]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),y.useEffect(()=>{p.setOptions(u)},[u,p]),qO(u,b))throw D2(u,p,o);if(WO({result:b,errorResetBoundary:o,throwOnError:u.throwOnError,query:m,suspense:u.suspense}))throw b.error;return c.getDefaultOptions().queries?._experimental_afterQuery?.(u,b),u.experimental_prefetchInRender&&!sc.isServer()&&HO(b,r)&&(h?D2(u,p,o):m?.promise)?.catch(dn).finally(()=>{p.updateResult()}),u.notifyOnChangeProps?b:p.trackResult(b)}function Nn(e,t){return XO(e,RO)}function sr(e,t){const n=Xs(),[r]=y.useState(()=>new PO(n,e));y.useEffect(()=>{r.setOptions(e)},[r,e]);const o=y.useSyncExternalStore(y.useCallback(u=>r.subscribe(Wt.batchCalls(u)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),c=y.useCallback((u,m)=>{r.mutate(u,m).catch(dn)},[r]);if(o.error&&db(r.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:c,mutateAsync:o.mutate}}var YO=class pC extends Error{static kind="ClerkError";clerkError=!0;code;longMessage;docsUrl;cause;get name(){return this.constructor.name}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),Object.setPrototypeOf(this,pC.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}toString(){return`[${this.name}]
11Message:${this.message}`}static formatMessage(t,n,r,o){const c="Clerk:",u=new RegExp(c.replace(" ","\\s*"),"i");return n=n.replace(u,""),n=`${c} ${n.trim()}
12
13(code="${r}")
14
15`,o&&(n+=`
16
17Docs: ${o}`),n}},fb=class gC extends YO{static kind="ClerkRuntimeError";clerkRuntimeError=!0;constructor(t,n){super({...n,message:t}),Object.setPrototypeOf(this,gC.prototype)}};const $O=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invali
17d. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function bC({packageName:e,customMessages:t}){let n=e;function r(c,u){if(!u)return`${n}: ${c}`;let m=c;const f=c.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const h of f){const p=(u[h[1]]||"").toString();m=m.replace(`{{${h[1]}}}`,p)}return`${n}: ${m}`}const o={...$O,...t};return{setPackageName({packageName:c}){return typeof c=="string"&&(n=c),this},setMessages({customMessages:c}){return Object.assign(o,c||{}),this},throwInvalidPublishableKeyError(c){throw new Error(r(o.InvalidPublishableKeyErrorMessage,c))},throwInvalidProxyUrl(c){throw new Error(r(o.InvalidProxyUrlErrorMessage,c))},throwMissingPublishableKeyError(){throw new Error(r(o.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(r(o.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(c){throw new Error(r(o.MissingClerkProvider,c))},throw(c){throw new Error(r(c))}}}const GO={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},ZO=new Set(["first_factor","second_factor","multi_factor"]),QO=new Set(["strict_mfa","strict","moderate","lax"]),_2=new Set(["o","org","organization"]),I2=new Set(["u","user"]),JO=e=>typeof e=="number"&&e>0,e7=e=>ZO.has(e),t7=e=>QO.has(e),F2=e=>typeof e=="number"&&Number.isFinite(e)&&(e===-1||e>=0),Zp=e=>e.replace(/^(org:)*/,"org:"),n7=(e,t)=>{const{orgId:n,orgRole:r,orgPermissions:o}=t,c=e.role!==void 0,u=e.permission!==void 0;return!c&&!u?"skip":c&&typeof e.role!="string"||u&&typeof e.permission!="string"||!n||c&&(typeof r!="string"||!r||Zp(r)!==Zp(e.role))||u&&(!Array.isArray(o)||!o.includes(Zp(e.permission)))?"fail":"pass"},z2=(e,t)=>{const{org:n,user:r}=a7(e),[o,c]=t.split(":"),u=c!==void 0,m=o,f=c||o;if(u&&!_2.has(m)&&!I2.has(m))throw new Error(`Invalid scope: ${m}`);if(u){if(_2.has(m))return n.includes(f);if(I2.has(m))return r.includes(f)}return[...n,...r].includes(f)},r7=(e,t)=>{const{features:n,plans:r}=t,o=e.feature!==void 0,c=e.plan!==void 0;if(!o&&!c)return"skip";if(o&&typeof e.feature!="string"||c&&typeof e.plan!="string")return"fail";if(o){if(typeof n!="string"||!n)return"fail";try{if(!z2(n,e.feature))return"fail"}catch{return"fail"}}if(c){if(typeof r!="string"||!r)return"fail";try{if(!z2(r,e.plan))return"fail"}catch{return"fail"}}return"pass"},a7=e=>{const t=[],n=[];if(!e)return{org:t,user:n};const r=e.split(",");for(let o=0;o<r.length;o++){const c=r[o].trim(),u=c.indexOf(":");if(u===-1)throw new Error(`Invalid claim element (missing colon): ${c}`);const m=c.slice(0,u),f=c.slice(u+1);m==="o"?t.push(f):m==="u"?n.push(f):(m==="ou"||m==="uo")&&(t.push(f),n.push(f))}return{org:t,user:n}},s7=e=>{if(!e)return!1;const t=o=>typeof o=="string"?GO[o]:o,n=typeof e=="string"&&t7(e),r=typeof e=="object"&&e7(e.level)&&JO(e.afterMinutes);return n||r?t.bind(null,e):!1},o7=(e,{factorVerificationAge:t})=>{if(e.reverification===void 0)return"skip";if(!t||!Array.isArray(t)||t.length!==2||!F2(t[0])||!F2(t[1]))return"fail";const n=s7(e.reverification);if(!n)return"fail";const{level:r,afterMinutes:o}=n(),[c,u]=t;if(c===-1&&u===-1)return"fail";const m=c!==-1&&o>c,f=u!==-1&&o>u;switch(r){case"first_factor":return m?"pass":"fail";case"second_factor":return u===-1?m?"pass":"fail":f?"pass":"fail";case"multi_factor":return u===-1?m?"pass":"fail":c===-1?"fail":m&&f?"pass":"fail"}},i7=e=>e.some(t=>t==="pass")&&e.every(t=>t==="pass"||t==="skip"),l7=e=>t=>e.userId?i7([n7(t,e),r7(t,e),o7(t,e)]):!1,c7=({authObject:{sessionId:e,sessionStatus:t,userId:n,actor:r,orgId:o,orgRole:c,orgSlug:u,signOut:m,getToken:f,has:h,sessionClaims:p},options:{treatPendingAsSignedOut:b=!0}})=>{if(e===void 0&&n===void 0)return{actor:void 0,getToken:f,has:()=>!1,isLoaded:!1,isSignedIn:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,sessionClaims:void 0,sessionId:e,signOut:m,userId:n};if(e===null&&n===null)return{actor:null,getToken:f,has:()=>!1,isLoaded:!0,isSignedIn:!1,orgId:null,orgRole:null,orgSlug:null,sessionClaims:null,
17sessionId:e,signOut:m,userId:n};if(b&&t==="pending")return{actor:null,getToken:f,has:()=>!1,isLoaded:!0,isSignedIn:!1,orgId:null,orgRole:null,orgSlug:null,sessionClaims:null,sessionId:null,signOut:m,userId:null};if(e&&p&&n&&o&&c)return{actor:r||null,getToken:f,has:h,isLoaded:!0,isSignedIn:!0,orgId:o,orgRole:c,orgSlug:u||null,sessionClaims:p,sessionId:e,signOut:m,userId:n};if(e&&p&&n&&!o)return{actor:r||null,getToken:f,has:h,isLoaded:!0,isSignedIn:!0,orgId:null,orgRole:null,orgSlug:null,sessionClaims:p,sessionId:e,signOut:m,userId:n}},L2=(e,t,n)=>!e&&n?u7(n):d7(t),u7=e=>{const t=e.userId,n=e.user,r=e.sessionId,o=e.sessionStatus,c=e.sessionClaims;return{userId:t,user:n,sessionId:r,session:e.session,sessionStatus:o,sessionClaims:c,organization:e.organization,orgId:e.orgId,orgRole:e.orgRole,orgPermissions:e.orgPermissions,orgSlug:e.orgSlug,actor:e.actor,factorVerificationAge:e.factorVerificationAge}},d7=e=>{const t=e.user?e.user.id:e.user,n=e.user,r=e.session?e.session.id:e.session,o=e.session,c=e.session?.status,u=e.session?e.session.lastActiveToken?.jwt?.claims:null,m=e.session?e.session.factorVerificationAge:null,f=o?.actor,h=e.organization,p=e.organization?e.organization.id:e.organization,b=h?.slug,v=h&&n?.organizationMemberships?.find(N=>N.organization.id===p),S=v&&v.permissions;return{userId:t,user:n,sessionId:r,session:o,sessionStatus:c,sessionClaims:u,organization:h,orgId:p,orgRole:v&&v.role,orgSlug:b,orgPermissions:S,actor:f,factorVerificationAge:m}},m7=[".lcl.dev",".lclstage.dev",".lclclerk.com"],f7=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],yC=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof globalThis.Buffer<"u"?globalThis.Buffer.from(e,"base64").toString():e,h7=e=>typeof btoa<"u"&&typeof btoa=="function"?btoa(e):typeof globalThis.Buffer<"u"?globalThis.Buffer.from(e).toString("base64"):e,hb="pk_live_",xC="pk_test_",p7=/^(([a-z]+)-){2}([0-9]{1,2})\.clerk\.accounts([a-z.]*)(dev|com)$/i;function g7(e){return`${p7.test(e)||e.startsWith("clerk.")&&m7.some(t=>e.endsWith(t))?xC:hb}${h7(`${e}$`).replace(/=+$/,"")}`}function b7(e,t){if(x7(t))return t;const n=e.toLowerCase().replace(/:\d+$/,"");if(!n)throw new Error("Host must not be empty.");return g7(`clerk.${n}`)}function vC(e){if(!e.endsWith("$"))return!1;const t=e.slice(0,-1);return t.includes("$")?!1:t.includes(".")}function Qp(e,t={}){if(e=e||"",!e||!U2(e)){if(t.fatal&&!e)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(t.fatal&&!U2(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith(hb)?"production":"development";let r;try{r=yC(e.split("_")[2])}catch{if(t.fatal)throw new Error("Publishable key not valid: Failed to decode key.");return null}if(!vC(r)){if(t.fatal)throw new Error("Publishable key not valid: Decoded key has invalid format.");return null}let o=r.slice(0,-1);return t.proxyUrl?o=t.proxyUrl:n!=="development"&&t.domain&&t.isSatellite&&(o=`clerk.${t.domain}`),{instanceType:n,frontendApi:o}}function U2(e=""){try{if(!(e.startsWith(hb)||e.startsWith(xC)))return!1;const t=e.split("_");if(t.length!==3)return!1;const n=t[2];return n?vC(yC(n)):!1}catch{return!1}}function y7(){const e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;const n=typeof t=="string"?t:t.hostname;let r=e.get(n);return r===void 0&&(r=f7.some(o=>n.endsWith(o)),e.set(n,r)),r}}}function x7(e){return e.startsWith("test_")||e.startsWith("pk_test_")}const Jp={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CLERK_PROXY_URL:"/api/__clerk",VITE_CLERK_PUBLISHABLE_KEY:"pk_live_Y2xlcmsud29ybGRjYW1lcmEuY28udGgk"};var eg={};const V2=(e,t)=>{if(typeof process<"u"&&eg&&typeof eg[e]=="string")return eg[e];if(typeof import.meta<"u"&&Jp&&typeof Jp[e]=="string")return Jp[e];try{return globalThis[e]}catch{}return""},v7=()=>{try{return!1}catch{}return!1},w7=()=>{try{return!1}catch{}return!1},S7=()=>{try{return!0}catch{}return!1},C7="METHOD_CALLED",N7=.1;function wC(e,t){return{event:C7,eventSamplingRate:N7,payload:{method:e,...t}}}const k7="ClerkJS:";function E7(){throw new Error(`${k7} Clerk instance not found. Make sure Clerk is initialized before using any Clerk components.`)}var B2=Object.prototype.hasOwnProperty;function W2(e,t,n){for(n of e.keys())if(Xl(n,t))return n}function Xl(e,t){var n,r,o;
17if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&Xl(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(o=r,o&&typeof o=="object"&&(o=W2(t,o),!o)||!t.has(o))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(o=r[0],o&&typeof o=="object"&&(o=W2(t,o),!o)||!Xl(r[1],t.get(o)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(B2.call(e,n)&&++r&&!B2.call(t,n)||!(n in t)||!Xl(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function j7(e,t){if(!e)throw typeof t=="string"?new Error(t):new Error(`${t.displayName} not found`)}const wi=(e,t)=>{const{assertCtxFn:n=j7}={},r=L.createContext(void 0);return r.displayName=e,[r,()=>{const u=L.useContext(r);return n(u,`${e} not found`),u.value},()=>{const u=L.useContext(r);return u?u.value:{}}]},[pb,vc]=wi("ClerkInstanceContext"),[R7,M7]=wi("InitialStateContext");function A7({children:e,initialState:t}){const[n]=y.useState(t),r=L.useMemo(()=>({value:n}),[n]);return L.createElement(R7.Provider,{value:r},e)}function SC(){const e=M7();if(e instanceof Promise){if("use"in L&&typeof L.use=="function")return L.use(e);throw new Error("initialState cannot be a promise if React version is less than 19")}return e}L.createContext({});const[O7]=wi("CheckoutContext"),T7=({children:e,...t})=>L.createElement(O7.Provider,{value:{value:t}},e);function gb(e){if(!L.useContext(pb)){if(typeof e=="function"){e();return}throw new Error(`${e} can only be used within the <ClerkProvider /> component.
18
19Possible fixes:
201. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.
212. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one.
22
23Learn more: https://clerk.com/docs/components/clerk-provider`.trim())}}function P7(e){const t=function(){};let n;return n=new Proxy(t,{get(r,o){if(o!=="then")return o==="toString"?()=>`[${e}]`:o===Symbol.toPrimitive?()=>0:n},apply(){return n},construct(){return n},has(){return!1},set(){return!1}}),n}P7("ClerkMockQueryClient");function D7(){const e=vc(),t=SC(),n=y.useCallback(()=>t?.user,[t?.user]);return y.useSyncExternalStore(y.useCallback(r=>e.addListener(r,{skipInitialEmit:!0}),[e]),y.useCallback(()=>!e.loaded||!e.__internal_lastEmittedResources?n():e.__internal_lastEmittedResources.user,[e,n]),n)}const CC=()=>(gb("useClerk"),vc());typeof window<"u"?L.useLayoutEffect:L.useEffect;const K2="useUser";function Bn(){gb(K2);const e=D7();return vc().telemetry?.record(wC(K2)),e===void 0?{isLoaded:!1,isSignedIn:void 0,user:void 0}:e===null?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:e}}const H2=Xl;function _7(e){e||E7()}function I7(e){const t=e.clerk;if(_7(t),e.initialState instanceof Promise&&!("use"in L&&typeof L.use=="function"))throw new Error("initialState cannot be a promise if React version is less than 19");const n=L.useMemo(()=>({value:t}),[e.clerkStatus]);return L.createElement(A7,{initialState:e.initialState},L.createElement(pb.Provider,{value:n},L.createElement(T7,{value:void 0},e.children)))}const F7=e=>{const t=y.useRef(e);return y.useEffect(()=>{t.current=e},[e]),t.current},Pn=(e,t,n)=>{const r=!!n,o=y.useRef(n);y.useEffect(()=>{o.current=n},[n]),y.useEffect(()=>{if(!r||!e)return()=>{};const c=(...u)=>{o.current&&o.current(...u)};return e.on(t,c),()=>{e.off(t,c)}},[r,t,e,o])},NC=L.createContext(null);NC.displayName="ElementsContext";const z7=(e,t)=>{if(!e)throw new Error(`Could not find Elements context; You need to wrap the part of your app that ${t} in an <Elements> provider.`);return e},em=e=>e!==null&&typeof e=="object",L7=(e,t,n)=>em(e)?Object.keys(e).reduce((r,o)=>{const c=!em(t)||!kC(e[o],t[o]);return n.includes(o)?(c&&console.warn(`Unsupported prop change: options.${o} is not a mutable property.`),r):c?{...r||{},[o]:e[o]}:r},null):null,q2="[object Object]",kC=(e,t)=>{if(!em(e)||!em(t))return e===t;const n=Array.isArray(e);if(n!==Array.isArray(t))return!1;const r=Object.prototype.toString.call(e)===q2;if(r!==(Object.prototype.toString.call(t)===q2))return!1;if(!r&&!n)return e===t;const o=Object.keys(e),c=Object.keys(t);if(o.length!==c.length)return!1;const u={};for(let b=0;b<o.length;b+=1)u[o[b]]=!0;for(let b=0;b<c.length;b+=1)u[c[b]]=!0;const m=Object.keys(u);if(m.length!==o.length)return!1;const f=e,h=t,p=b=>kC(f[b],h[b]);return m.every(p)},X2=e=>z7(L.useContext(NC),e),U7=e=>e.charAt(0).toUpperCase()+e.slice(1),V7=(e,t)=>{const n=`${U7(e)}Element`,c=t?u=>{X2(`mounts <${n}>`);const{id:m,className:f}=u;return L.createElement("div",{id:m,className:f})}:({id:u,className:m,fallback:f,options:h={},onBlur:p,onFocus:b,onReady:v,onChange:S,onEscape:N,onClick:w,onLoadError:C,onLoaderStart:R,onNetworksChange:M,onConfirm:j,onCancel:T,onShippingAddressChange:P,onShippingRateChange:I})=>{const _=X2(`mounts <${n}>`),D="elements"in _?_.elements:null,[V,H]=L.useState(null),$=L.useRef(null),J=L.useRef(null),[ae,ee]=y.useState(!1);
23Pn(V,"blur",p),Pn(V,"focus",b),Pn(V,"escape",N),Pn(V,"click",w),Pn(V,"loaderror",C),Pn(V,"loaderstart",R),Pn(V,"networkschange",M),Pn(V,"confirm",j),Pn(V,"cancel",T),Pn(V,"shippingaddresschange",P),Pn(V,"shippingratechange",I),Pn(V,"change",S);let ie;v&&(ie=()=>{ee(!0),v(V)}),Pn(V,"ready",ie),L.useLayoutEffect(()=>{if($.current===null&&J.current!==null&&D){let Q=null;D&&(Q=D.create(e,h)),$.current=Q,H(Q),Q&&Q.mount(J.current)}},[D,h]);const z=F7(h);return L.useEffect(()=>{if(!$.current)return;const Q=L7(h,z,["paymentRequest"]);Q&&"update"in $.current&&$.current.update(Q)},[h,z]),L.useLayoutEffect(()=>()=>{if($.current&&typeof $.current.destroy=="function")try{$.current.destroy(),$.current=null}catch{}},[]),L.createElement(L.Fragment,null,!ae&&f,L.createElement("div",{id:u,style:{height:ae?"unset":"0px",visibility:ae?"visible":"hidden"},className:m,ref:J}))};return c.displayName=n,c.__elementType=e,c};V7("payment",typeof window>"u");wi("PaymentElementContext");wi("StripeUtilsContext");const[ise,,B7]=wi("PortalProvider"),W7=()=>{const e=B7();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null},ca=bC({packageName:"@clerk/react"});function K7(e){ca.setMessages(e).setPackageName(e)}const EC=vc,bb=e=>{gb(()=>{ca.throwMissingClerkProviderError({source:e})})};var fa=$4();const H7=Tm(fa),q7=Om({__proto__:null,default:H7},[fa]);function tg(e,t,n){if(typeof e=="function")return e(t);if(typeof e<"u")return e;if(typeof n<"u")return n}const mn=e=>{v7()&&console.error(`Clerk: ${e}`)},Y2=(e,...t)=>{const n={...e};for(const r of t)delete n[r];return n};function ai(){return typeof window<"u"}const X7="You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.",Y7=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,$7="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/contact/support",ng="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",G7="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",Z7="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",Q7="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",J7="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",eT=e=>`<${e} /> can only accept <${e}.Page /> and <${e}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`,tT=e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,nT=e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`,rT="<UserButton /> can only accept <UserButton.UserProfilePage />, <UserButton.UserProfileLink /> and <UserButton.MenuItems /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",aT="<UserButton.MenuItems /> component can only accept <UserButton.Action /> and <UserButton.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",sT="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",oT="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",iT="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",lT="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",cT="Missing props. <UserButton.Action /> component requires the following props: label.",wc=e=>t=>{try{return L.Children.only(e)}catch{const n=L.Children.toArray(e);return n.length===1&&L.isValidElement(n[0])?n[0]:ca.throw(Y7(t))}},Sc=(e,t)=>(e||(e=t),typeof e=="string"&&(e=L.createElement("button",null,e)),e),Cc=e=>(...t)=>{if(e&&typeof e=="function")return e(...t)},uT=e=>V2(`VITE_${e}`)||V2(e),dT=(e,t)=>e!==void 0?e:uT(t)||void 0,mT=e=>{const t=dT(e.publishableKey,"CLERK_PUBLISHABLE_KEY");return{...e,...t!==void 0&&{publishableKey:t}}};function $2(e){return typeof e=="function"}const Yl=e=>{const[t,n]=y.useState(new Map),r=y.useRef(t),o=y.useRef(new Map),c=y.useRef(new Map);
23r.current=t,o.current=new Map(e.map(m=>[m.id,m.component]));const u=new Set(e.map(m=>m.id));return c.current.forEach((m,f)=>{u.has(f)||c.current.delete(f)}),e.map(m=>{const f=m.id,h=c.current.get(f);if(h)return h;const p=()=>{const v=r.current.get(f),S=o.current.get(f);return v?fa.createPortal(S,v):null},b={id:m.id,mount:v=>n(S=>new Map(S).set(f,v)),unmount:()=>n(v=>{const S=new Map(v);return S.set(f,null),S}),portal:p};return c.current.set(f,b),b})},un=(e,t)=>!!e&&L.isValidElement(e)&&e?.type===t,jC=(e,t)=>AC({children:e,reorderItemsLabels:["account","security","billing","apiKeys"],LinkComponent:kc,PageComponent:Nc,MenuItemsComponent:Im,componentName:"UserProfile"},t),RC=(e,t)=>AC({children:e,reorderItemsLabels:["general","members","billing","apiKeys"],LinkComponent:zm,PageComponent:Fm,componentName:"OrganizationProfile"},t),MC=e=>{const t=[],n=[zm,Fm,Im,Nc,kc];return L.Children.forEach(e,r=>{n.some(o=>un(r,o))||t.push(r)}),t},AC=(e,t)=>{const{children:n,LinkComponent:r,PageComponent:o,MenuItemsComponent:c,reorderItemsLabels:u,componentName:m}=e,{allowForAnyChildren:f=!1}=t||{},h=[],p=new Map;L.Children.forEach(n,j=>{if(!un(j,o)&&!un(j,r)&&!un(j,c)){j&&!f&&mn(eT(m));return}const{props:T}=j,{children:P,label:I,url:_,labelIcon:D}=T,V=j.key;if(un(j,o))if(Z2(T,u))h.push({label:I});else if(rg(T))h.push({label:I,labelIcon:D,children:P,url:_,portalId:G2("page",T,V,p)});else{mn(tT(m));return}if(un(j,r))if(ag(T))h.push({label:I,labelIcon:D,url:_,portalId:G2("link",T,V,p)});else{mn(nT(m));return}});const b=[],v=[],S=[];h.forEach((j,T)=>{if(rg(j)){b.push({component:j.children,id:j.portalId||T}),v.push({component:j.labelIcon,id:j.portalId||T});return}ag(j)&&S.push({component:j.labelIcon,id:j.portalId||T})});const N=Yl(b),w=Yl(v),C=Yl(S),R=[],M=[];return h.forEach((j,T)=>{if(Z2(j,u)){R.push({label:j.label});return}if(rg(j)){const{portal:P,mount:I,unmount:_}=N.find($=>$.id===(j.portalId||T)),{portal:D,mount:V,unmount:H}=w.find($=>$.id===(j.portalId||T));R.push({label:j.label,url:j.url,mount:I,unmount:_,mountIcon:V,unmountIcon:H}),M.push({key:`content:${j.portalId||T}`,portal:P}),M.push({key:`label:${j.portalId||T}`,portal:D});return}if(ag(j)){const{portal:P,mount:I,unmount:_}=C.find(D=>D.id===(j.portalId||T));R.push({label:j.label,url:j.url,mountIcon:I,unmountIcon:_}),M.push({key:`label:${j.portalId||T}`,portal:P});return}}),{customPages:R,customPagesPortals:M}},G2=(e,t,n,r)=>{if(n!=null)return`${e}:key:${n}`;const o=`${e}:${t.label}:${t.url}`,c=r.get(o)??0;return r.set(o,c+1),`${o}:${c}`},Z2=(e,t)=>{const{children:n,label:r,url:o,labelIcon:c}=e;return!n&&!o&&!c&&t.some(u=>u===r)},rg=e=>{const{children:t,label:n,url:r,labelIcon:o}=e;return!!t&&!!r&&!!o&&!!n},ag=e=>{const{children:t,label:n,url:r,labelIcon:o}=e;return!t&&!!r&&!!o&&!!n},fT=(e,t)=>hT({children:e,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:Im,MenuActionComponent:TC,MenuLinkComponent:PC,UserProfileLinkComponent:kc,UserProfilePageComponent:Nc,allowForAnyChildren:t?.allowForAnyChildren??!1}),hT=({children:e,MenuItemsComponent:t,MenuActionComponent:n,MenuLinkComponent:r,UserProfileLinkComponent:o,UserProfilePageComponent:c,reorderItemsLabels:u,allowForAnyChildren:m=!1})=>{const f=[],h=[],p=[],b=new Map;L.Children.forEach(e,C=>{if(!un(C,t)&&!un(C,o)&&!un(C,c)){C&&!m&&mn(rT);return}if(un(C,o)||un(C,c))return;const{props:R}=C;L.Children.forEach(R.children,M=>{if(!un(M,n)&&!un(M,r)){M&&mn(aT);return}const{props:j}=M,T=M.key,{label:P,labelIcon:I,href:_,onClick:D,open:V}=j;if(un(M,n))if(Q2(j,u))f.push({label:P});else if(og(j)){const H={label:P,labelIcon:I};if(D!==void 0)f.push({...H,onClick:D,portalId:sg("action",j,T,b)});else if(V!==void 0)f.push({...H,open:V.startsWith("/")?V:`/${V}`,portalId:sg("action",j,T,b)});else{mn("Custom menu item must have either onClick or open property");return}}else{mn(cT);return}if(un(M,r))if(ig(j))f.push({label:P,labelIcon:I,href:_,portalId:sg("link",j,T,b)});else{mn(lT);return}})});const v=[],S=[];f.forEach((C,R)=>{og(C)&&v.push({component:C.labelIcon,id:C.portalId||R}),ig(C)&&S.push({component:C.labelIcon,id:C.portalId||R})});const N=Yl(v),w=Yl(S);return f.forEach((C,R)=>
23{if(Q2(C,u)&&h.push({label:C.label}),og(C)){const{portal:M,mount:j,unmount:T}=N.find(I=>I.id===(C.portalId||R)),P={label:C.label,mountIcon:j,unmountIcon:T};"onClick"in C?P.onClick=C.onClick:"open"in C&&(P.open=C.open),h.push(P),p.push({key:`icon:${C.portalId||R}`,portal:M})}if(ig(C)){const{portal:M,mount:j,unmount:T}=w.find(P=>P.id===(C.portalId||R));h.push({label:C.label,href:C.href,mountIcon:j,unmountIcon:T}),p.push({key:`icon:${C.portalId||R}`,portal:M})}}),{customMenuItems:h,customMenuItemsPortals:p}},sg=(e,t,n,r)=>{if(n!=null)return`${e}:key:${n}`;const o=t.href||t.open||"",c=`${e}:${t.label}:${o}`,u=r.get(c)??0;return r.set(c,u+1),`${c}:${u}`},Q2=(e,t)=>{const{children:n,label:r,onClick:o,labelIcon:c}=e;return!n&&!o&&!c&&t.some(u=>u===r)},og=e=>{const{label:t,labelIcon:n,onClick:r,open:o}=e;return!!n&&!!t&&(typeof r=="function"||typeof o=="string")},ig=e=>{const{label:t,href:n,labelIcon:r}=e;return!!n&&!!r&&!!t},pT=e=>{const t=e?.isReady;return n=>new Promise((r,o)=>{const{root:c=document?.body,selector:u,timeout:m=0}=n;if(!c){o(new Error("No root element provided"));return}let f=c;if(u&&(f=c?.querySelector(u)),t(f,u)){r();return}const h=new MutationObserver(p=>{for(const b of p)if(!f&&u&&(f=c?.querySelector(u)),(e.childList&&b.type==="childList"||e.attributes&&b.type==="attributes")&&t(f,u)){h.disconnect(),r();return}});h.observe(c,e),m>0&&setTimeout(()=>{h.disconnect(),o(new Error(`Timeout waiting for ${u}`))},m)})},gT=pT({childList:!0,subtree:!0,isReady:(e,t)=>!!e?.childElementCount&&e?.matches?.(t)&&e.childElementCount>0});function en(e,t){const n=y.useRef(),[r,o]=y.useState("rendering");return y.useEffect(()=>{if(!e)throw new Error("Clerk: no component name provided, unable to detect mount.");if(typeof window<"u"&&!n.current){const c=`[data-clerk-component="${e}"]`,u=t?.selector;n.current=gT({selector:u?c+u:c}).then(()=>{o("rendered")}).catch(()=>{o("error")})}},[e,t?.selector]),r}const pd=e=>"mount"in e,J2=e=>"open"in e,eS=e=>e?.map(({mountIcon:t,unmountIcon:n,...r})=>r);var Kt=class extends L.PureComponent{constructor(...e){super(...e),this.rootRef=L.createRef()}componentDidUpdate(e){if(!pd(e)||!pd(this.props))return;const t=Y2(e.props||{},"customPages","customMenuItems","children"),n=Y2(this.props.props||{},"customPages","customMenuItems","children"),r=e.props?.customPages?.length!==this.props.props?.customPages?.length,o=e.props?.customMenuItems?.length!==this.props.props?.customMenuItems?.length,c=eS(e.props?.customMenuItems),u=e
23S(this.props.props?.customMenuItems);(!H2(t,n)||!H2(c,u)||r||o)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(pd(this.props)&&this.props.mount(this.rootRef.current,this.props.props),J2(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(pd(this.props)&&this.props.unmount(this.rootRef.current),J2(this.props)&&this.props.close())}render(){const{hideRootHtmlElement:e=!1}=this.props,t={ref:this.rootRef,...this.props.rootProps,...this.props.component&&{"data-clerk-component":this.props.component}};return L.createElement(L.Fragment,null,!e&&L.createElement("div",t),this.props.children)}};const st=(e,t)=>{const n=(typeof t=="string"?t:t?.component)||e.displayName||e.name||"Component";e.displayName=n;const r=typeof t=="string"?void 0:t,o=c=>{bb(n||"withClerk");const u=EC(),m=W7();return!u.loaded&&!r?.renderWhileLoading?null:L.createElement(e,{getContainer:m,...c,component:n,clerk:u})};return o.displayName=`withClerk(${n})`,o},_m=e=>L.createElement(L.Fragment,null,e?.customPagesPortals?.map(({key:t,portal:n})=>y.createElement(n,{key:t})),e?.customMenuItemsPortals?.map(({key:t,portal:n})=>y.createElement(n,{key:t}))),bT=st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountSignIn,unmount:e.unmountSignIn,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"SignIn",renderWhileLoading:!0}),yT=st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountSignUp,unmount:e.unmountSignUp,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"SignUp",renderWhileLoading:!0});function Nc({children:e}){return mn(G7),L.createElement(L.Fragment,null,e)}function kc({children:e}){return mn(Z7),L.createElement(L.Fragment,null,e)}const xT=st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}},{customPages:u,customPagesPortals:m}=jC(r.children);return L.createElement(L.Fragment,null,o&&n,L.createElement(Kt,{component:t,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__internal_updateProps,props:{...r,customPages:u},rootProps:c},L.createElement(_m,{customPagesPortals:m})))},{component:"UserProfile",renderWhileLoading:!0});Object.assign(xT,{Page:Nc,Link:kc});const OC=y.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),vT=st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}},{customPages:u,customPagesPortals:m}=jC(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),f={...r.userProfileProps,customPages:u},{customMenuItems:h,customMenuItemsPortals:p}=fT(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),b=MC(r.children),v={mount:e.mountUserButton,unmount:e.unmountUserButton,updateProps:e.__internal_updateProps,props:{...r,userProfileProps:f,customMenuItems:h}},S={customPagesPortals:m,customMenuItemsPortals:p};return L.createElement(OC.Provider,{value:v},o&&n,e.loaded&&L.createElement(Kt,{component:t,...v,hideRootHtmlElement:!!r.__experimental_asProvider,rootProps:c},r.__experimental_asProvider?b:null,L.createElement(_m,S)))},{component:"UserButton",renderWhileLoading:!0});function Im({children:e}){return mn(sT),L.createElement(L.Fragment,null,e)}function TC({children:e}){return mn(oT),L.createElement(L.Fragment,null,e)}function PC({children:e}){return mn(iT),L.createElement(L.Fragment,null,e)}function wT(e){const t=y.useContext(OC),n={...t,props:{...t.props,...e}};return L.createElement(Kt,n)}Object.assign(vT,{UserProfilePage:Nc,UserProfileLink:kc,MenuItems:Im,Action:TC,Link:PC,__experimental_Outlet:wT});function Fm({children:e}){return mn(Q7),L.createElement(L.Fragment,null,e)}function zm({children:e}){return mn(J7),L.createElement(L.Fragment,null,e)}const ST=st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}},{customPages:u,customPagesPortals:m}=RC(r.children);return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__internal_updateProps,props:{...r,customPages:u},rootProps:c},L.createElement(_m,{customPagesPortals:m})))},{component:"OrganizationProfile",renderWhileLoading:!0});Object.assign(ST,{Page:Fm,Link:zm});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"CreateOrganization",renderWhileLoading:!0});const DC=y.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}
23),CT=st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}},{customPages:u,customPagesPortals:m}=RC(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),f={...r.organizationProfileProps,customPages:u},h=MC(r.children),p={mount:e.mountOrganizationSwitcher,unmount:e.unmountOrganizationSwitcher,updateProps:e.__internal_updateProps,props:{...r,organizationProfileProps:f},rootProps:c,component:t};return e.__experimental_prefetchOrganizationSwitcher(),L.createElement(DC.Provider,{value:p},L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{...p,hideRootHtmlElement:!!r.__experimental_asProvider},r.__experimental_asProvider?h:null,L.createElement(_m,{customPagesPortals:m}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});function NT(e){const t=y.useContext(DC),n={...t,props:{...t.props,...e}};return L.createElement(Kt,n)}Object.assign(CT,{OrganizationProfilePage:Fm,OrganizationProfileLink:zm,__experimental_Outlet:NT});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountOrganizationList,unmount:e.unmountOrganizationList,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"OrganizationList",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,open:e.openGoogleOneTap,close:e.closeGoogleOneTap,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"GoogleOneTap",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountWaitlist,unmount:e.unmountWaitlist,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"Waitlist",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t,{selector:'[data-component-status="ready"]'})==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountPricingTable,unmount:e.unmountPricingTable,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"PricingTable",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountAPIKeys,unmount:e.unmountAPIKeys,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"ApiKeys",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.__internal_mountOAuthConsent,unmount:e.__internal_unmountOAuthConsent,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"OAuthConsent",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountUserAvatar,unmount:e.unmountUserAvatar,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"UserAvatar",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountTaskChooseOrganization,unmount:e.unmountTaskChooseOrganization,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"TaskChooseOrganization",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountTaskResetPassword,unmount:e.unmountTaskResetPassword,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"TaskResetPassword",renderWhileLoading:!0});st(({clerk:e,component:t,fallback:n,...r})=>{const o=en(t)==="rendering"||!e.loaded,c={...o&&n&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,o&&n,e.loaded&&L.createElement(Kt,{component:t,mount:e.mountTaskSetupMFA,unmount:e.unmountTaskSetupMFA,updateProps:e.__internal_updateProps,props:r,rootProps:c}))},{component:"TaskSetupMFA",renderWhileLoading:!0});const kT={actor:void 0,factorVerificationAge:null,orgId:void 0,orgPermissions:void 0,orgRole:void 0,orgSlug:void 0,sessionClaims:void 0,sessionId:void 0,sessionStatus:void 0,userId:void 0};function ET(){const e=vc(),t=SC(),n=y.useCallback(()=>t,[t]),r=y.useSyncExternalStore(y.useCallback(o=>e.addListener(o,{skipInitialEmit:!0}),[e]),y.useCallback(()=>!e.loaded||!e.__internal_lastEmittedResources?n():e.__internal_lastEmittedResources,[e,n]),n);return y.useMemo(()=>r?jT(RT(r)?L2(!1,{},r):L2(!0,r,void 0)):kT,[r])}function jT(e){return{sessionId:e.sessionId,sessionStatus:e.sessionStatus,sessionClaims:e.sessionClaims,userId:e.userId,actor:e.actor,orgId:e.orgId,orgRole:e.orgRole,orgSlug:e.orgSlug,orgPermissions:e.orgPermissions,factorVerificationAge:e.factorVerificationAge}}function RT(e){return!("client"in e)}const _C=e=>
23new Promise(t=>{const n=r=>{["ready","degraded"].includes(r)&&(t(),e.off("status",n))};e.on("status",n,{notify:!0})}),MT=e=>async t=>{if(!ai())throw new fb("useAuth().getToken() can only be used in browser environments. To access auth data server-side, see the Auth object reference doc: https://clerk.com/docs/reference/backend/types/auth-object",{code:"clerk_runtime_not_browser"});return await _C(e),e.session?e.session.getToken(t):null},AT=e=>async(...t)=>(await _C(e),e.signOut(...t)),OT=(e={})=>{bb("useAuth");const{treatPendingAsSignedOut:t}=e??{},n=ET(),r=EC(),o=y.useCallback(MT(r),[r]),c=y.useCallback(AT(r),[r]);return r.telemetry?.record(wC("useAuth",{treatPendingAsSignedOut:t})),TT({...n,getToken:o,signOut:c},{treatPendingAsSignedOut:t})};function TT(e,{treatPendingAsSignedOut:t=!0}={}){const{userId:n,orgId:r,orgRole:o,has:c,signOut:u,getToken:m,orgPermissions:f,factorVerificationAge:h,sessionClaims:p}=e??{},b=y.useCallback(S=>c?c(S):l7({userId:n,orgId:r,orgRole:o,orgPermissions:f,factorVerificationAge:h,features:p?.fea||"",plans:p?.pla||""})(S),[c,n,r,o,f,h,p]),v=c7({authObject:{...e,getToken:m,signOut:u,has:b},options:{treatPendingAsSignedOut:t}});return v||ca.throw($7)}const PT={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},DT=100,IC=async e=>new Promise(t=>setTimeout(t,e)),FC=(e,t)=>t?e*(1+Math.random()):e,_T=e=>{let t=0;const n=()=>{const r=e.initialDelay,o=e.factor;let c=r*Math.pow(o,t);return c=FC(c,e.jitter),Math.min(e.maxDelayBetweenRetries||c,c)};return async()=>{await IC(n()),t++}},IT=async(e,t={})=>{let n=0;const{shouldRetry:r,initialDelay:o,maxDelayBetweenRetries:c,factor:u,retryImmediately:m,jitter:f,onBeforeRetry:h}={...PT,...t},p=_T({initialDelay:o,maxDelayBetweenRetries:c,factor:u,jitter:f});for(;;)try{return await e()}catch(b){if(n++,!r(b,n))throw b;h&&await h(n),m&&n===1?await IC(FC(DT,f)):await p()}},FT="loadScript cannot be called when document does not exist",zT="loadScript cannot be called without a src";async function zC(e="",t){const{async:n,defer:r,beforeLoad:o,crossOrigin:c,nonce:u}=t||{};return IT(()=>new Promise((f,h)=>{e||h(new Error(zT)),(!document||!document.body)&&h(new Error(FT));const p=document.createElement("script");c&&p.setAttribute("crossorigin",c),p.async=n||!1,p.defer=r||!1,p.addEventListener("load",()=>{p.remove(),f(p)}),p.addEventListener("error",b=>{p.remove(),h(b.error??new Error(`failed to load script: ${e}`))}),p.src=e,u&&(p.nonce=u),o?.(p),document.body.appendChild(p)}),{shouldRetry:(f,h)=>h<=5})}function LT(e){return e?UT(e)||Ec(e):!0}function UT(e){return/^http(s)?:\/\//.test(e||"")}function Ec(e){return e.startsWith("/")}function VT(e){return e?!Ec(e)||typeof window>"u"||!window.location?.origin?e:new URL(e,window.location.origin).toString():""}function BT(e){if(!e)return"";let t;if(e.match(/^(clerk\.)+\w*$/))t=/(clerk\.)*(?=clerk\.)/;else{if(e.match(/\.clerk.accounts/))return e;t=/^(clerk\.)*/gi}return`clerk.${e.replace(t,"")}`}const LC=(e,t="6.29.2")=>{if(e)return e;const n=WT(t);return n?n==="snapshot"?t:n:KT(t)},WT=e=>e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/)?.[1],KT=e=>e.trim().replace(/^v/,"").split(".")[0],{isDevOrStagingUrl:HT}=y7(),yb=bC({packageName:"@clerk/shared"});function UC(e){return typeof window>"u"||!window[e]?!1:!!window[e]}const lg=()=>UC("Clerk"),cg=()=>UC("__internal_ClerkUICtor");function VC(e){if(typeof window>"u"||!window.performance)return!1;const t=performance.getEntriesByName(e,"resource");if(t.length===0)return!1;const n=t[t.length-1];return n.transferSize===0&&n.decodedBodySize===0&&(n.responseEnd===0||n.responseEnd>0&&n.responseStart>0||"responseStatus"in n&&(n.responseStatus>=400||n.responseStatus===0))}const qT=async e=>{const t=e?.scriptLoadTimeout??15e3,n=u=>new fb("Failed to load Clerk JS"+(u?.message?`, ${u.message}`:""),{code:"failed_to_load_clerk_js",cause:u});if(lg())return null;if(!e?.publishableKey)return yb.throwMissingPublishableKeyError(),null;const r=YT(e),o=document.querySelector("script[data-clerk-js-script]");if(o)if(VC(r))o.remove();else try{return await tm(t,lg,n(),o),null}catch{o.remove()}const c=tm(t,lg,n());return zC(r,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:WC(BC(e))}).catch(u=>{throw n(u)}),c},XT=async e=>{const t=e?.scriptLoadTimeout??15e3,n=u=>new fb("Failed to load Clerk UI"+(u?.message?`, ${u.message}`:""),{code:"failed_to_load_clerk_ui",cause:u});if(cg())return null;if(!e?.publishableKey)return yb.throwMissingPublishableKeyError(),null;const r=$T(e),o=document.querySelector("script[data-clerk-ui-script]");if(o)if(VC(r))o.remove();else try{return await tm(t,cg,n(),o),null}catch{o.remove()}const c=tm(t,cg,n());return zC(r,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:WC(GT(e))}).catch(u=>{throw n(u)}),c},YT=e=>{const{__internal_clerkJSUrl:t,__internal_clerkJSVersion:n,proxyUrl:r,domain:o,publishableKey:c}=e;if(t)return t;const u=LC(n);return r&&Ec(r)?KC(r,"clerk-js",u,"clerk.browser.js"):`https://${HC({publishableKey:c,proxyUrl:r,domain:o})}/npm/@clerk/clerk-js@${u}/dist/clerk.browser.js`},$T=e=>{const{__internal_clerkUIUrl:t,__internal_clerkUIVersion:n,proxyUrl:r,domain:o,publishableKey:c}=e;if(t)return t;const u=LC(n,"1.30.4");return r&&Ec(r)?KC(r,"ui",u,"ui.browser.js"):`https://${HC({publishableKey:c,proxyUrl:r,domain:o})}/npm/@clerk/ui@${u}/dist/ui.browser.js`},BC=e=>{const t={};return e.publishableKey&&(t["data-clerk-publishable-key"]=e.publishableKey),e.proxyUrl&&(t["data-clerk-proxy-url"]=e.proxyUrl),e.domain&&(t["data-clerk-domain"]=e.domain),e.nonce&&(t.nonce=e.nonce),t},GT=e=>BC(e),WC=e=>t=>{for(const n in e)t.setAttribute(n,e[n])},ZT=e=>{for(;e.endsWith("/");)e=e.slice(0,-1);return e},KC=(e,t,n,r)=>`${ZT(e)}/npm/@clerk/${t}@${n}/dist/${r}`,HC=e=>{const{proxyUrl:t,domain:n,publishableKey:r}=e;if(t&&LT(t)){const o=VT(t);return Ec(o)?Qp(r)?.frontendApi||"":o.replace(/http(s)?:\/\//,"")}else return n&&!HT(Qp(r)?.frontendApi||"")?BT(n):Qp(r)?.frontendApi||""};function tm(e,t,n,r){return new Promise((o,c)=>{let u=!1;const m=(v,S)=>{clearTimeout(v),clearInterval(S)};r?.addEventListener("error",()=>{m(p,b),c(n)});const f=()=>{u||t()&&(u=!0,m(p,b),o(null))},p=setTimeout(()=>{u||(u=!0,m(p,b),t()?o(null):c(n))},e);f();const b=setInterval(()=>{if(u){clearInterval(b);return}f()},100)})}function QT(e){yb.setPackageName({packageName:e})}const tS=new Set,Lm=(e,t,n)=>{const r=w7()||S7(),o=e;tS.has(o)||r||(tS.add(o),console.warn(`Clerk - DEPRECATION WARNING: "${e}" is deprecated and will be removed in the next major release.
24${t}`))},nS=(e,t,n,r,o)=>{const{notify:c}=o||{};let u=e.get(n);u||(u=[],e.set(n,u)),u.push(r),c&&t.has(n)&&r(t.get(n))},rS=(e,t,n)=>(e.get(t)||[]).map(r=>r(n)),aS=(e,t,n)=>{const r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},JT=()=>{const e=new Map,t=new Map,n=new Map;return{on:(...o)=>nS(e,t,...o),prioritizedOn:(...o)=>nS(n,t,...o),emit:(o,c)=>{t.set(o,c),rS(n,o,c),rS(e,o,c)},off:(...o)=>aS(e,...o),prioritizedOff:(...o)=>aS(n,...o),internal:{retrieveListeners:o=>e.get(o)||[]}}},Ko={Status:"status"},eP=()=>JT(),tP="clerk:beforeunload",a0=["http:","https:","wails:","chrome-extension:"],nP=/^[/\\][/\\]/;function rP(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;let n="";for(let r=t;r<e.length;r++){const o=e.charCodeAt(r);o!==9&&o!==10&&o!==13&&(n+=e[r])}return n}function aP(e,t){if(typeof e=="string"&&nP.test(rP(e))){console.warn(`Clerk: scheme-relative navigation to "${e}" is not allowed. Provide a same-origin path or an absolute URL.`);return}const n=new URL(e,window.location.href);if(!(t?.allowedProtocols??a0).includes(n.protocol)){console.warn(`Clerk: "${n.protocol}" is not a valid navigation protocol. Aborting navigation. If you think this is a mistake, please open an issue.`);return}window.dispatchEvent(new CustomEvent(tP)),window.location.href=n.href}function sP(e){const t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return null;const[,n,r,o]=t;return{major:parseInt(n,10),minor:parseInt(r,10),patch:parseInt(o,10)}}function oP(e,t){const{major:n,minor:r,patch:o}=e;return t.some(([c,u,m,f])=>n!==c?!1:m===-1?r>u||r===u&&o>=f:r===m&&o>=f)}function iP(e,t){const n=sP(e);return n?oP(n,t):!1}const oc=({children:e,fallback:t,treatPendingAsSignedOut:n,when:r})=>{bb("Show");const{has:o,isLoaded:c,userId:u}=OT({treatPendingAsSignedOut:n});if(!c)return null;
24const m=r,f=e,h=t??null;return m==="signed-out"?u?h:f:u&&(m==="signed-in"||lP(m,o))?f:h};function lP(e,t){return typeof e=="function"?e(t):t(e)}st(({clerk:e,...t})=>{const{client:n,session:r}=e,o=(n.signedInSessions?.length??0)>0;return L.useEffect(()=>{r===null&&o?e.redirectToAfterSignOut():e.redirectToSignIn(t)},[]),null},"RedirectToSignIn");st(({clerk:e,...t})=>(L.useEffect(()=>{e.redirectToSignUp(t)},[]),null),"RedirectToSignUp");st(({clerk:e,...t})=>(L.useEffect(()=>{e.redirectToTasks(t)},[]),null),"RedirectToTasks");st(({clerk:e})=>(L.useEffect(()=>{Lm("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),e.redirectToUserProfile()},[]),null),"RedirectToUserProfile");st(({clerk:e})=>(L.useEffect(()=>{Lm("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),e.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");st(({clerk:e})=>(L.useEffect(()=>{Lm("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),e.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");st(({clerk:e,...t})=>(L.useEffect(()=>{e.handleRedirectCallback(t)},[]),null),"AuthenticateWithRedirectCallback");const cP=()=>({fields:{identifier:null,password:null,code:null},raw:null,global:null}),uP=()=>({fields:{firstName:null,lastName:null,emailAddress:null,phoneNumber:null,password:null,username:null,code:null,captcha:null,legalAccepted:null},raw:null,global:null}),dP=()=>({fields:{emailAddress:null},raw:null,global:null}),sS=()=>({pathRoot:"",attempts:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,message:null,status:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient(){return!1},reload(){throw new Error("reload() called before Clerk is loaded")},__internal_toSnapshot(){return{object:"verification",id:"",attempts:null,error:{code:"",message:""},expire_at:null,externalVerificationRedirectURL:null,nonce:null,message:null,status:null,strategy:null,verified_at_client:null}}}),gd=()=>({...sS(),supportedStrategies:[],nextAction:"",reload(){throw new Error("reload() called before Clerk is loaded")},__internal_toSnapshot(){return{...sS().__internal_toSnapshot(),next_action:this.nextAction,supported_strategies:this.supportedStrategies}}});var mP=class{constructor(e){this.isomorphicClerk=e,this.signInSignalProxy=this.buildSignInProxy(),this.signUpSignalProxy=this.buildSignUpProxy(),this.waitlistSignalProxy=this.buildWaitlistProxy()}signInSignal(){return this.signInSignalProxy}signUpSignal(){return this.signUpSignalProxy}waitlistSignal(){return this.waitlistSignalProxy}get __internal_waitlist(){return this.state.__internal_waitlist}checkoutSignal(e){return this.buildCheckoutProxy(e)}buildSignInProxy(){const e=this.gateProperty.bind(this),t=()=>this.client.signIn.__internal_future;return{errors:cP(),fetchStatus:"idle",signIn:{status:"needs_identifier",availableStrategies:[],get isTransferable(){return e(t,"isTransferable",!1)},get id(){return e(t,"id",void 0)},get supportedFirstFactors(){return e(t,"supportedFirstFactors",[])},get supportedSecondFactors(){return e(t,"supportedSecondFactors",[])},get secondFactorVerification(){return e(t,"secondFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},get identifier(){return e(t,"identifier",null)},get createdSessionId(){return e(t,"createdSessionId",null)},get userData(){return e(t,"userData",{})},get firstFactorVerification(){return e(t,"firstFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},get canBeDiscarded(){return e(t,"canBeDiscarded",!1)},get protectCheck(){return e(t,"protectCheck",null)},create:this.gateMethod(t,"create"),password:this.gateMethod(t,"password"),sso:this.gateMethod(t,"sso"),finalize:this.gateMethod(t,"finalize"),reset:this.gateMethod(t,"reset"),submitProtectCheck:this.gateMethod(t,"submitProtectCheck"),emailCode:this.wrapMethods(()=>t().emailCode,["sendCode","verifyCode"]),emailLink:this.wrapStruct(()=>t().emailLink,["sendLink","waitForVerification"],["verification"],{verification:null}),resetPasswordEmailCode:this.wrapMethods(()=>t().resetPasswordEmailCode,["sendCode","verifyCode","submitPassword"]),resetPasswordPhoneCode:this.wrapMethods(()=>t().resetPasswordPhoneCode,["sendCode","verifyCode","submitPassword"]),phoneCode:this.wrapMethods(()=>t().phoneCode,["sendCode","verifyCode"]),mfa:this.wrapMethods(()=>t().mfa,["sendPhoneCode","verifyPhoneCode","sendEmailCode","verifyEmailCode","verifyTOTP","verifyBackupCode"]),ticket:this.gateMethod(t,"ticket"),passkey:this.gateMethod(t,"passkey"),web3:this.gateMethod(t,"web3")}}}buildSignUpProxy(){const e=this.gateProperty.bind(this),t=this.gateMethod.bind(this),n=()=>this.client.signUp.__internal_future;return{errors:uP(),fetchStatus:"idle",signUp:{get id(){return e(n,"id",void 0)},get requiredFields(){return e(n,"requiredFields",[])},get optionalFields(){return e(n,"optionalFields",[])},get missingFields(){return e(n,"missingFields",[])},get username(){return e(n,"username",null)},get firstName(){return e(n,"firstName",null)},get lastName(){return e(n,"lastName",null)},get emailAddress(){return e(n,"emailAddress",null)},get phoneNumber(){return e(n,"phoneNumber",null)},get web3Wallet(){return e(n,"web3Wallet",null)},get hasPassword(){return e(n,"hasPassword",!1)},get unsafeMetadata(){return e(n,"unsafeMetadata",{})}
24,get createdSessionId(){return e(n,"createdSessionId",null)},get createdUserId(){return e(n,"createdUserId",null)},get abandonAt(){return e(n,"abandonAt",null)},get legalAcceptedAt(){return e(n,"legalAcceptedAt",null)},get locale(){return e(n,"locale",null)},get status(){return e(n,"status","missing_requirements")},get unverifiedFields(){return e(n,"unverifiedFields",[])},get isTransferable(){return e(n,"isTransferable",!1)},get canBeDiscarded(){return e(n,"canBeDiscarded",!1)},get protectCheck(){return e(n,"protectCheck",null)},create:t(n,"create"),update:t(n,"update"),sso:t(n,"sso"),password:t(n,"password"),ticket:t(n,"ticket"),web3:t(n,"web3"),finalize:t(n,"finalize"),reset:t(n,"reset"),submitProtectCheck:t(n,"submitProtectCheck"),verifications:this.wrapStruct(()=>n().verifications,["sendEmailCode","verifyEmailCode","sendEmailLink","waitForEmailLinkVerification","sendPhoneCode","verifyPhoneCode"],["emailAddress","phoneNumber","web3Wallet","externalAccount","emailLinkVerification"],{emailAddress:gd(),phoneNumber:gd(),web3Wallet:gd(),externalAccount:gd(),emailLinkVerification:null})}}}buildWaitlistProxy(){const e=this.gateProperty.bind(this),t=this.gateMethod.bind(this),n=()=>this.state.__internal_waitlist;return{errors:dP(),fetchStatus:"idle",waitlist:{pathRoot:"/waitlist",get id(){return e(n,"id","")},get createdAt(){return e(n,"createdAt",null)},get updatedAt(){return e(n,"updatedAt",null)},join:t(n,"join"),reload:t(n,"reload")}}}buildCheckoutProxy(e){const t=this.gateProperty.bind(this),n=()=>this.checkout(e),r=()=>n().checkout;return{errors:{raw:null,global:null},fetchStatus:"idle",checkout:{get status(){return t(r,"status","needs_initialization")},get externalClientSecret(){return t(r,"externalClientSecret",null)},get externalGatewayId(){return t(r,"externalGatewayId",null)},get paymentMethod(){return t(r,"paymentMethod",null)},get plan(){return t(r,"plan",null)},get planPeriod(){return t(r,"planPeriod",null)},get totals(){return t(r,"totals",null)},get isImmediatePlanChange(){return t(r,"isImmediatePlanChange",!1)},get freeTrialEndsAt(){return t(r,"freeTrialEndsAt",null)},get payer(){return t(r,"payer",null)},get planPeriodStart(){return t(r,"planPeriodStart",null)},get needsPaymentMethod(){return t(r,"needsPaymentMethod",null)},start:this.gateMethod(r,"start"),update:this.gateMethod(r,"update"),confirm:this.gateMethod(r,"confirm"),finalize:this.gateMethod(r,"finalize")}}}__internal_effect(e){throw new Error("__internal_effect called before Clerk is loaded")}__internal_computed(e){throw new Error("__internal_computed called before Clerk is loaded")}get state(){const e=this.isomorphicClerk.__internal_state;if(!e)throw new Error("Clerk state not ready");return e}get client(){const e=this.isomorphicClerk.client;if(!e)throw new Error("Clerk client not ready");return e}get checkout(){const e=this.isomorphicClerk.__experimental_checkout;if(!e)throw new Error("Clerk checkout not ready");return e}gateProperty(e,t,n){return!ai()||!this.isomorphicClerk.loaded?n:e()[t]}gateMethod(e,t){return(async(...n)=>{if(!ai())return ca.throw(`Attempted to call a method (${t}) that is not supported on the server.`);this.isomorphicClerk.loaded||await new Promise(o=>this.isomorphicClerk.addOnLoaded(o));const r=e();return r[t].apply(r,n)})}wrapMethods(e,t){return Object.fromEntries(t.map(n=>[n,this.gateMethod(e,n)]))}wrapStruct(e,t,n,r){const o={};for(const c of t)o[c]=this.gateMethod(e,c);for(const c of n)Object.defineProperty(o,c,{get:()=>this.gateProperty(e,c,r[c]),enumerable:!0});return o}};typeof globalThis.__BUILD_DISABLE_RHC__>"u"&&(globalThis.__BUILD_DISABLE_RHC__=!1);const fP={name:"@clerk/react",version:"6.14.4",environment:"production"};var oS=class qC{#e;#t;#n;#r;#a;#s;get publishableKey(){return this.#r}get loaded(){return this.clerkjs?.loaded||!1}get status(){return this.clerkjs?this.clerkjs?.status||(this.clerkjs.loaded?"ready":"loading"):this.#e}static#o;static getOrCreateInstance(t){return(!ai()||!this.#o||t.Clerk&&this.#o.Clerk!==t.Clerk||this.#o.publishableKey!==t.publishableKey)&&(this.#o=new qC(t)),this.#o}static clearInstance(){this.#o=null}get domain(){return typeof window<"u"&&window.location?tg(this.#t,new URL(window.location.href),""):typeof this.#t=="function"?ca.throw(ng):this.#t||""}get proxyUrl(){return typeof window<"u"&&window.location?tg(this.#n,new URL(window.location.href),""):typeof this.#n=="function"?ca.throw(ng):this.#n||""}__internal_getOption(t){return this.clerkjs?.__internal_getOption?this.clerkjs?.__internal_getOption(t):this.options[t]}get __internal_moduleManager(){return this.clerkjs?.__internal_moduleManager}constructor(t){this.clerkjs=null,this.preopenOneTap=null,this.preopenUserVerification=null,this.preopenEnableOrganizationsPrompt=null,this.preopenSignIn=null,this.preopenCheckout=null,this.preopenPlanDetails=null,this.preopenSubscriptionDetail
24s=null,this.preopenSignUp=null,this.preopenUserProfile=null,this.preopenOrganizationProfile=null,this.preopenInviteMembers=null,this.preopenCreateOrganization=null,this.preOpenWaitlist=null,this.premountSignInNodes=new Map,this.premountSignUpNodes=new Map,this.premountUserAvatarNodes=new Map,this.premountUserProfileNodes=new Map,this.premountUserButtonNodes=new Map,this.premountOrganizationProfileNodes=new Map,this.premountCreateOrganizationNodes=new Map,this.premountOrganizationSwitcherNodes=new Map,this.premountOrganizationListNodes=new Map,this.premountMethodCalls=new Map,this.premountWaitlistNodes=new Map,this.premountPricingTableNodes=new Map,this.premountAPIKeysNodes=new Map,this.premountConfigureSSONodes=new Map,this.premountOAuthConsentNodes=new Map,this.premountTaskChooseOrganizationNodes=new Map,this.premountTaskResetPasswordNodes=new Map,this.premountTaskSetupMFANodes=new Map,this.premountAddListenerCalls=new Map,this.loadedListeners=[],this.#e="loading",this.#a=eP(),this.__internal_windowNavigate=(n,r)=>{const o=this.clerkjs;if(typeof o?.__internal_windowNavigate=="function"){o.__internal_windowNavigate(n,r);return}ai()&&aP(n,{allowedProtocols:r?.useStaticAllowlistOnly?a0:[...a0,...this.options.allowedRedirectProtocols??[]]})},this.setProtectAssertion=n=>{const r=()=>this.clerkjs?.setProtectAssertion(n);this.clerkjs&&this.loaded?r():this.premountMethodCalls.set("setProtectAssertion",r)},this.buildSignInUrl=n=>{const r=()=>this.clerkjs?.buildSignInUrl(n)||"";if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("buildSignInUrl",r)},this.buildSignUpUrl=n=>{const r=()=>this.clerkjs?.buildSignUpUrl(n)||"";if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("buildSignUpUrl",r)},this.buildAfterSignInUrl=(...n)=>{const r=()=>this.clerkjs?.buildAfterSignInUrl(...n)||"";if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("buildAfterSignInUrl",r)},this.buildAfterSignUpUrl=(...n)=>{const r=()=>this.clerkjs?.buildAfterSignUpUrl(...n)||"";if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("buildAfterSignUpUrl",r)},this.buildAfterSignOutUrl=()=>{const n=()=>this.clerkjs?.buildAfterSignOutUrl()||"";if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("buildAfterSignOutUrl",n)},this.buildNewSubscriptionRedirectUrl=()=>{const n=()=>this.clerkjs?.buildNewSubscriptionRedirectUrl()||"";if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("buildNewSubscriptionRedirectUrl",n)},this.buildAfterMultiSessionSingleSignOutUrl=()=>{const n=()=>this.clerkjs?.buildAfterMultiSessionSingleSignOutUrl()||"";if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("buildAfterMultiSessionSingleSignOutUrl",n)},this.buildUserProfileUrl=()=>{const n=()=>this.clerkjs?.buildUserProfileUrl()||"";if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("buildUserProfileUrl",n)},this.buildCreateOrganizationUrl=()=>{const n=()=>this.clerkjs?.buildCreateOrganizationUrl()||"";if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("buildCreateOrganizationUrl",n)},this.buildOrganizationProfileUrl=()=>{const n=()=>this.clerkjs?.buildOrganizationProfileUrl()||"";if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("buildOrganizationProfileUrl",n)},this.buildWaitlistUrl=()=>{const n=()=>this.clerkjs?.buildWaitlistUrl()||"";if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("buildWaitlistUrl",n)},this.buildTasksUrl=()=>{const n=()=>this.clerkjs?.buildTasksUrl()||"";if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("buildTasksUrl",n)},this.buildUrlWithAuth=n=>{const r=()=>this.clerkjs?.buildUrlWithAuth(n)||"";if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("buildUrlWithAuth",r)},this.handleUnauthenticated=async()=>{const n=()=>this.clerkjs?.handleUnauthenticated();this.clerkjs&&this.loaded?n():this.premountMethodCalls.set("handleUnauthenticated",n)},this.on=(...n)=>{if(this.clerkjs?.on)return this.clerkjs.on(...n);this.#a.on(...n)},this.off=(...n)=>{if(this.clerkjs?.off)return this.clerkjs.off(...n);this.#a.off(...n)},this.addOnLoaded=n=>{this.loadedListeners.push(n),this.loaded&&this.emitLoaded()},this.emitLoaded=()=>
24{this.loadedListeners.forEach(n=>n()),this.loadedListeners=[]},this.beforeLoad=n=>{if(!n)throw new Error("Failed to hydrate latest Clerk JS")},this.replayInterceptedInvocations=n=>{if(!n)throw new Error("Failed to hydrate latest Clerk JS");return this.clerkjs=n,this.premountMethodCalls.forEach(r=>r()),this.premountAddListenerCalls.forEach((r,o)=>{r.handlers.nativeUnsubscribe=n.addListener(o,r.options)}),this.#a.internal.retrieveListeners("status")?.forEach(r=>{this.on("status",r,{notify:!0})}),this.preopenSignIn!==null&&n.openSignIn(this.preopenSignIn),this.preopenCheckout!==null&&n.__internal_openCheckout(this.preopenCheckout),this.preopenPlanDetails!==null&&n.__internal_openPlanDetails(this.preopenPlanDetails),this.preopenSubscriptionDetails!==null&&n.__internal_openSubscriptionDetails(this.preopenSubscriptionDetails),this.preopenSignUp!==null&&n.openSignUp(this.preopenSignUp),this.preopenUserProfile!==null&&n.openUserProfile(this.preopenUserProfile),this.preopenUserVerification!==null&&n.__internal_openReverification(this.preopenUserVerification),this.preopenOneTap!==null&&n.openGoogleOneTap(this.preopenOneTap),this.preopenOrganizationProfile!==null&&n.openOrganizationProfile(this.preopenOrganizationProfile),this.preopenInviteMembers!==null&&n.openInviteMembers(this.preopenInviteMembers),this.preopenCreateOrganization!==null&&n.openCreateOrganization(this.preopenCreateOrganization),this.preOpenWaitlist!==null&&n.openWaitlist(this.preOpenWaitlist),this.preopenEnableOrganizationsPrompt&&n.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt),this.premountSignInNodes.forEach((r,o)=>{n.mountSignIn(o,r)}),this.premountSignUpNodes.forEach((r,o)=>{n.mountSignUp(o,r)}),this.premountUserProfileNodes.forEach((r,o)=>{n.mountUserProfile(o,r)}),this.premountUserAvatarNodes.forEach((r,o)=>{n.mountUserAvatar(o,r)}),this.premountUserButtonNodes.forEach((r,o)=>{n.mountUserButton(o,r)}),this.premountOrganizationListNodes.forEach((r,o)=>{n.mountOrganizationList(o,r)}),this.premountWaitlistNodes.forEach((r,o)=>{n.mountWaitlist(o,r)}),this.premountPricingTableNodes.forEach((r,o)=>{n.mountPricingTable(o,r)}),this.premountAPIKeysNodes.forEach((r,o)=>{n.mountAPIKeys(o,r)}),this.premountConfigureSSONodes.forEach((r,o)=>{n.__internal_mountConfigureSSO(o,r)}),this.premountOAuthConsentNodes.forEach((r,o)=>{n.__internal_mountOAuthConsent(o,r)}),this.premountTaskChooseOrganizationNodes.forEach((r,o)=>{n.mountTaskChooseOrganization(o,r)}),this.premountTaskResetPasswordNodes.forEach((r,o)=>{n.mountTaskResetPassword(o,r)}),this.premountTaskSetupMFANodes.forEach((r,o)=>{n.mountTaskSetupMFA(o,r)}),typeof this.clerkjs.status>"u"&&this.#a.emit(Ko.Status,"ready"),this.emitLoaded(),this.clerkjs},this.__experimental_checkout=(...n)=>this.loaded&&this.clerkjs?this.clerkjs.__experimental_checkout(...n):this.#s.checkoutSignal(...n),this.__internal_updateProps=async n=>{const r=await this.#i();if(r&&"__internal_updateProps"in r)return r.__internal_updateProps(n)},this.setActive=n=>this.clerkjs?this.clerkjs.setActive(n):Promise.reject(),this.openSignIn=n=>{this.clerkjs&&this.loaded?this.clerkjs.openSignIn(n):this.preopenSignIn=n},this.closeSignIn=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignIn():this.preopenSignIn=null},this.__internal_openCheckout=n=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openCheckout(n):this.preopenCheckout=n},this.__internal_closeCheckout=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeCheckout():this.preopenCheckout=null},this.__internal_openPlanDetails=n=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openPlanDetails(n):this.preopenPlanDetails=n},this.__internal_closePlanDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closePlanDetails():this.preopenPlanDetails=null},this.__internal_openSubscriptionDetails=n=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openSubscriptionDetails(n):this.preopenSubscriptionDetails=n??null},this.__internal_closeSubscriptionDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeSubscriptionDetails():this.preopenSubscriptionDetail
24s=null},this.__internal_openReverification=n=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openReverification(n):this.preopenUserVerification=n},this.__internal_closeReverification=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeReverification():this.preopenUserVerification=null},this.__internal_openEnableOrganizationsPrompt=n=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openEnableOrganizationsPrompt(n):this.preopenEnableOrganizationsPrompt=n},this.__internal_closeEnableOrganizationsPrompt=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeEnableOrganizationsPrompt():this.preopenEnableOrganizationsPrompt=null},this.openGoogleOneTap=n=>{this.clerkjs&&this.loaded?this.clerkjs.openGoogleOneTap(n):this.preopenOneTap=n},this.closeGoogleOneTap=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeGoogleOneTap():this.preopenOneTap=null},this.openUserProfile=n=>{this.clerkjs&&this.loaded?this.clerkjs.openUserProfile(n):this.preopenUserProfile=n},this.closeUserProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeUserProfile():this.preopenUserProfile=null},this.openOrganizationProfile=n=>{this.clerkjs&&this.loaded?this.clerkjs.openOrganizationProfile(n):this.preopenOrganizationProfile=n},this.closeOrganizationProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeOrganizationProfile():this.preopenOrganizationProfile=null},this.openInviteMembers=n=>{this.clerkjs&&this.loaded?this.clerkjs.openInviteMembers(n):this.preopenInviteMembers=n},this.closeInviteMembers=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeInviteMembers():this.preopenInviteMembers=null},this.openCreateOrganization=n=>{this.clerkjs&&this.loaded?this.clerkjs.openCreateOrganization(n):this.preopenCreateOrganization=n},this.closeCreateOrganization=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeCreateOrganization():this.preopenCreateOrganization=null},this.openWaitlist=n=>{this.clerkjs&&this.loaded?this.clerkjs.openWaitlist(n):this.preOpenWaitlist=n},this.closeWaitlist=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeWaitlist():this.preOpenWaitlist=null},this.openSignUp=n=>{this.clerkjs&&this.loaded?this.clerkjs.openSignUp(n):this.preopenSignUp=n},this.closeSignUp=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignUp():this.preopenSignUp=null},this.mountSignIn=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignIn(n,r):this.premountSignInNodes.set(n,r)},this.unmountSignIn=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignIn(n):this.premountSignInNodes.delete(n)},this.mountSignUp=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignUp(n,r):this.premountSignUpNodes.set(n,r)},this.unmountSignUp=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignUp(n):this.premountSignUpNodes.delete(n)},this.mountUserAvatar=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserAvatar(n,r):this.premountUserAvatarNodes.set(n,r)},this.unmountUserAvatar=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserAvatar(n):this.premountUserAvatarNodes.delete(n)},this.mountUserProfile=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserProfile(n,r):this.premountUserProfileNodes.set(n,r)},this.unmountUserProfile=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserProfile(n):this.premountUserProfileNodes.delete(n)},this.mountOrganizationProfile=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationProfile(n,r):this.premountOrganizationProfileNodes.set(n,r)},this.unmountOrganizationProfile=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationProfile(n):this.premountOrganizationProfileNodes.delete(n)},this.mountCreateOrganization=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountCreateOrganization(n,r):this.premountCreateOrganizationNodes.set(n,r)},this.unmountCreateOrganization=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountCreateOrganization(n):this.premountCreateOrganizationNodes.delete(n)},this.mountOrganizationSwitcher=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationSwitcher(n,r):this.premountOrganizationSwitcherNodes.set(n,r)},this.unmountOrganizationSwitcher=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationSwitcher(n):this.premountOrganizationSwitcherNodes.delete(n)},this.__experimental_prefetchOrganizationSwitcher=()=>{const n=()=>this.clerkjs?.__experimental_prefetchOrganizationSwitcher();this.clerkjs&&this.loaded?n():this.premountMethodCalls.set("__experimental_prefetchOrganizationSwitcher",n)},this.mountOrganizationList=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationList(n,r):this.premountOrganizationListNodes.set(n,r)},this.unmountOrganizationList=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationList(n):this.premountOrganizationListNodes.delete(n)},this.mountUserButton=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserButton(n,r):this.premountUserButtonNodes.set(n,r)},this.unmountUserButton=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserButton(n):this.premountUserButtonNodes.delete(n)},this.mountWaitlist=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountWaitlist(n,r):this.premountWaitlistNodes.set(n,r)},this.unmountWaitlist=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountWaitlist(n):this.premountWaitlistNodes.delete(n)},this.mountPricingTable=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountPricingTable(n,r):this.premountPricingTableNodes.set(n,r)},this.unmountPricingTable=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountPricingTable(n):this.premountPricingTableNodes.delete(n)},this.mountAPIKeys=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountAPIKeys(n,r):this.premountAPIKeysNodes.set(n,r)},this.unmountAPIKeys=n=>
24{this.clerkjs&&this.loaded?this.clerkjs.unmountAPIKeys(n):this.premountAPIKeysNodes.delete(n)},this.__internal_mountConfigureSSO=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountConfigureSSO(n,r):this.premountConfigureSSONodes.set(n,r)},this.__internal_unmountConfigureSSO=n=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_unmountConfigureSSO(n):this.premountConfigureSSONodes.delete(n)},this.__internal_mountOAuthConsent=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountOAuthConsent(n,r):this.premountOAuthConsentNodes.set(n,r)},this.__internal_unmountOAuthConsent=n=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_unmountOAuthConsent(n):this.premountOAuthConsentNodes.delete(n)},this.mountOAuthConsent=(n,r)=>{this.__internal_mountOAuthConsent(n,r)},this.unmountOAuthConsent=n=>{this.__internal_unmountOAuthConsent(n)},this.mountTaskChooseOrganization=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskChooseOrganization(n,r):this.premountTaskChooseOrganizationNodes.set(n,r)},this.unmountTaskChooseOrganization=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskChooseOrganization(n):this.premountTaskChooseOrganizationNodes.delete(n)},this.mountTaskResetPassword=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskResetPassword(n,r):this.premountTaskResetPasswordNodes.set(n,r)},this.unmountTaskResetPassword=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskResetPassword(n):this.premountTaskResetPasswordNodes.delete(n)},this.mountTaskSetupMFA=(n,r)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskSetupMFA(n,r):this.premountTaskSetupMFANodes.set(n,r)},this.unmountTaskSetupMFA=n=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskSetupMFA(n):this.premountTaskSetupMFANodes.delete(n)},this.addListener=(n,r)=>{if(this.clerkjs)return this.clerkjs.addListener(n,r);{const o=()=>{const c=this.premountAddListenerCalls.get(n);c?.handlers&&(c?.handlers.nativeUnsubscribe?.(),this.premountAddListenerCalls.delete(n))};return this.premountAddListenerCalls.set(n,{options:r,handlers:{unsubscribe:o,nativeUnsubscribe:void 0}}),o}},this.navigate=n=>{const r=()=>this.clerkjs?.navigate(n);this.clerkjs&&this.loaded?r():this.premountMethodCalls.set("navigate",r)},this.redirectWithAuth=async(...n)=>{const r=()=>this.clerkjs?.redirectWithAuth(...n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("redirectWithAuth",r)},this.redirectToSignIn=async n=>{const r=()=>this.clerkjs?.redirectToSignIn(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("redirectToSignIn",r)},this.redirectToSignUp=async n=>{const r=()=>this.clerkjs?.redirectToSignUp(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("redirectToSignUp",r)},this.redirectToUserProfile=async()=>{const n=()=>this.clerkjs?.redirectToUserProfile();if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("redirectToUserProfile",n)},this.redirectToAfterSignUp=()=>{const n=()=>this.clerkjs?.redirectToAfterSignUp();if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("redirectToAfterSignUp",n)},this.redirectToAfterSignIn=()=>{const n=()=>this.clerkjs?.redirectToAfterSignIn();this.clerkjs&&this.loaded?n():this.premountMethodCalls.set("redirectToAfterSignIn",n)},this.redirectToAfterSignOut=()=>{const n=()=>this.clerkjs?.redirectToAfterSignOut();this.clerkjs&&this.loaded?n():this.premountMethodCalls.set("redirectToAfterSignOut",n)},this.redirectToOrganizationProfile=async()=>{const n=()=>this.clerkjs?.redirectToOrganizationProfile();if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("redirectToOrganizationProfile",n)},this.redirectToCreateOrganization=async()=>{const n=()=>this.clerkjs?.redirectToCreateOrganization();if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("redirectToCreateOrganization",n)},this.redirectToWaitlist=async()=>{const n=()=>this.clerkjs?.redirectToWaitlist();if(this.clerkjs&&this.loaded)return n();this.premountMethodCalls.set("redirectToWaitlist",n)},this.redirectToTasks=async n=>{const r=()=>this.clerkjs?.redirectToTasks(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("redirectToTasks",r)},this.handleRedirectCallback=async n=>{const r=()=>this.clerkjs?.handleRedirectCallback(n);this.clerkjs&&this.loaded?r()?.catch(()=>{}):this.premountMethodCalls.set("handleRedirectCallback",r)},this.handleGoogleOneTapCallback=async(n,r)=>{const o=()=>this.clerkjs?.handleGoogleOneTapCallback(n,r);this.clerkjs&&this.loaded?o()?.catch(()=>{}):this.premountMethodCalls.set("handleGoogleOneTapCallback",o)},this.__internal_handleResourceCallback=async(n,r,o)=>{const c=()=>this.clerkjs?.__internal_handleResourceCallback(n,r,o);if(this.clerkjs&&this.loaded)return c();this.premountMethodCalls.set("__internal_handleResourceCallback",c)},this.handleEmailLinkVerification=async n=>{const r=()=>this.clerkjs?.handleEmailLinkVerification(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("handleEmailLinkVerification",r)},this.authenticateWithMetamask=async n=>{const r=()=>this.clerkjs?.authenticateWithMetamask(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("authenticateWithMetamask",r)},this.authenticateWithCoinbaseWallet=async n=>{const r=()=>this.clerkjs?.authenticateWithCoinbaseWallet(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("authenticateWithCoinbaseWallet",r)},this.authenticateWithBase=async n=>{const r=()=>this.clerkjs?.authenticateWithBase(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("authenticateWithBase",r)},this.authenticateWithOKXWallet=async n=>{const r=()=>this.clerkjs?.authenticateWithOKXWallet(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("authenticateWithOKXWallet",r)},this.authenticateWithSolana=async n=>{const r=()=>this.clerkjs?.authenticateWithSolana(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("authenticateWithSolana",r)},this.authenticateWithWeb3=async n=>{const r=()=>this.clerkjs?.authenticateWithWeb3(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("authenticateWithWeb3",r)},this.authenticateWithGoogleOneTap=async n=>(await this.#i()).authenticateWithGoogleOneTap(n),this.__internal_loadStripeJs=async()=>(await this.#i()).__internal_loadStripeJs(),this.createOrganization=async n=>{const r=()=>this.clerkjs?.createOrganization(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("createOrganization",r)},this.getOrganization=async n=>{const r=()=>this.clerkjs?.getOrganization(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("getOrganization",r)},this.joinWaitlist=async n=>{const r=()=>
24this.clerkjs?.joinWaitlist(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("joinWaitlist",r)},this.signOut=async(...n)=>{const r=()=>this.clerkjs?.signOut(...n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("signOut",r)},this.__internal_attemptToEnableEnvironmentSetting=n=>{const r=()=>this.clerkjs?.__internal_attemptToEnableEnvironmentSetting(n);if(this.clerkjs&&this.loaded)return r();this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting",r)},this.#r=t?.publishableKey,this.#n=t?.proxyUrl,this.#t=t?.domain,this.options=t,this.Clerk=t?.Clerk||null,this.mode=ai()?"browser":"server",this.#s=new mP(this),this.options.sdkMetadata||(this.options.sdkMetadata=fP),this.#a.emit(Ko.Status,"loading"),this.#a.prioritizedOn(Ko.Status,n=>this.#e=n),this.#r&&this.options.experimental?.runtimeEnvironment==="headless"&&this.options.Clerk?this.loadHeadlessClerk():this.#r&&this.getEntryChunks()}loadHeadlessClerk(){const t=$2(this.options.Clerk)?new this.options.Clerk(this.#r,{proxyUrl:this.proxyUrl,domain:this.domain}):this.options.Clerk;if(!t){this.#a.emit(Ko.Status,"error");return}const n=()=>{this.replayInterceptedInvocations(t)};t.loaded?n():t.load(this.options).then(()=>n()).catch(r=>{this.#a.emit(Ko.Status,"error"),this.emitLoaded()})}get sdkMetadata(){return this.clerkjs?.sdkMetadata||this.options.sdkMetadata||void 0}get instanceType(){return this.clerkjs?.instanceType}get frontendApi(){return this.clerkjs?.frontendApi||""}get isStandardBrowser(){return this.clerkjs?.isStandardBrowser||this.options.standardBrowser||!1}get isSatellite(){return typeof window<"u"&&window.location?tg(this.options.isSatellite,new URL(window.location.href),!1):typeof this.options.isSatellite=="function"?ca.throw(ng):!1}#i(){return new Promise(t=>{this.addOnLoaded(()=>t(this.clerkjs))})}async getEntryChunks(){if(!(this.mode!=="browser"||this.loaded)){typeof window<"u"&&(window.__clerk_publishable_key=this.#r,window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{const t=await this.getClerkJsEntryChunk();if(!t.loaded){this.beforeLoad(t);const n=this.options.standardBrowser!==!1&&!this.options.Clerk||this.options.ui?.ClerkUI?await this.getClerkUIEntryChunk():void 0;await t.load({...this.options,ui:{...this.options.ui,ClerkUI:n}})}t.loaded&&this.replayInterceptedInvocations(t)}catch(t){const n=t;this.#a.emit(Ko.Status,"error"),console.error(n.stack||n.message||n);return}}}async getClerkJsEntryChunk(){if((!this.options.Clerk||this.options.__internal_clerkJSUrl)&&!__BUILD_DISABLE_RHC__&&await qT({...this.options,publishableKey:this.#r,proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),this.options.Clerk&&!this.options.__internal_clerkJSUrl&&(globalThis.Clerk=$2(this.options.Clerk)?new this.options.Clerk(this.#r,{proxyUrl:this.proxyUrl,domain:this.domain}):this.options.Clerk),!globalThis.Clerk)throw new Error("Failed to download latest ClerkJS. Contact [email protected].");return globalThis.Clerk}async getClerkUIEntryChunk(){const t=this.options.ui,n=!!this.options.__internal_clerkUIUrl;if(t?.ClerkUI&&!n)return t.ClerkUI;if(!((t||this.options.prefetchUI===!1)&&!n)&&!__BUILD_DISABLE_RHC__){if(await XT({...this.options,publishableKey:this.#r,proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),!globalThis.__internal_ClerkUICtor)throw new Error("Failed to download latest Clerk UI. Contact [email protected].");return globalThis.__internal_ClerkUICtor}}get version(){return this.clerkjs?.version}get uiVersion(){return this.clerkjs?.uiVersion}get client(){if(this.clerkjs)return this.clerkjs.client}get session(){if(this.clerkjs)return this.clerkjs.session}get user(){if(this.clerkjs)return this.clerkjs.user}get organization(){if(this.clerkjs)return this.clerkjs.organization}get telemetry(){if(this.clerkjs)return this.clerkjs.telemetry}get __internal_environment(){if(this.clerkjs)return this.clerkjs.__internal_environment}get isSignedIn(){return this.clerkjs?this.clerkjs.isSignedIn:!1}get billing(){return this.clerkjs?.billing}get __internal_state(){return this.loaded&&this.clerkjs?this.clerkjs.__internal_state:this.#s}get apiKeys(){return this.clerkjs?.apiKeys}get oauthApplication(){return this.clerkjs?.oauthApplication}__internal_setEnvironment(...t){if(this.clerkjs&&"__internal_setEnvironment"in this.clerkjs)this.clerkjs.__internal_setEnvironment(t);else return}get __internal_lastEmittedResources(){return this.clerkjs?.__internal_lastEmittedResources}get __internal_hasOAuthTransport(){return this.clerkjs?.__internal_hasOAuthTransport||!1}get __internal_oauthTransport(){return this.clerkjs?.__internal_oauthTransport||null}};function hP(){try{return iP(L.version,[[18,0,-1,0],[19,0,0,3],[19,1,1,4],[19,2,2,3],[19,3,3,0]])}catch{return!1}}const pP=hP();function gP(e){const{initialState:t,children:n,...r}=e,{isomorphicClerk:o,clerkStatus:c}=xP(mT(r));return L.createElement(I7,{initialState:t,clerk:o,clerkStatus:c},n)}function bP(e){return L.useContext(pb)&&ca.throw(X7),L.createElement(gP,e)}const XC=bP;XC.displayName="ClerkProvider";const yP=pP?"shared":"",xP=e=>{const t=L.useMemo(()=>({clerkUIVariant:yP,...e}),[e]),n=L.useRef(oS.getOrCreateInstance(t)),[r,o]=L.useState(n.current.status);return L.useEffect(()=>{n.current.__internal_updateProps({appearance:e.appearance})},[e.appearance]),L.useEffect(()=>{n.current.__internal_updateProps({options:e})},[e.localization]),L.useEffect(()=>(n.current.on("status",o),()=>{n.current&&n.current.off("status",o),oS.clearInstance()}),[]),{isomorphicClerk:n.current,clerkStatus:r}};typeof window<"u"&&!window.global&&(window.global=typeof global>"u"?window:global);if(globalThis.__clerkSharedModules){const e=globalThis.__clerkSharedModules.react?.ver
24sion;e&&e!==y.version&&console.warn(`[@clerk/ui/register] React version mismatch detected. Already registered: ${e}, current import: ${y.version}. This may cause issues with the shared @clerk/ui variant.`)}else globalThis.__clerkSharedModules={react:xc,"react-dom":q7,"react-dom/client":z9,"react/jsx-runtime":A9};st(({clerk:e,children:t,...n})=>{const{appearance:r,getContainer:o,component:c,...u}=n;t=Sc(t,"Invite members");const m=wc(t)("InviteMembersButton"),f=()=>e.openInviteMembers({appearance:r,getContainer:o}),p={...u,onClick:async b=>(m&&typeof m=="object"&&"props"in m&&await Cc(m.props.onClick)(b),f())};return L.cloneElement(m,p)},{component:"InviteMembersButton",renderWhileLoading:!0});st(({clerk:e,children:t,...n})=>{const{appearance:r,getContainer:o,component:c,signUpFallbackRedirectUrl:u,forceRedirectUrl:m,fallbackRedirectUrl:f,signUpForceRedirectUrl:h,mode:p,initialValues:b,withSignUp:v,oauthFlow:S,...N}=n;t=Sc(t,"Sign in");const w=wc(t)("SignInButton"),C=()=>{const j={forceRedirectUrl:m,fallbackRedirectUrl:f,signUpFallbackRedirectUrl:u,signUpForceRedirectUrl:h,initialValues:b,withSignUp:v,oauthFlow:S};return p==="modal"?e.openSignIn({...j,appearance:r,getContainer:o}):e.redirectToSignIn({...j,signInFallbackRedirectUrl:f,signInForceRedirectUrl:m})},M={...N,onClick:async j=>(w&&typeof w=="object"&&"props"in w&&await Cc(w.props.onClick)(j),C())};return L.cloneElement(w,M)},{component:"SignInButton",renderWhileLoading:!0});st(({clerk:e,children:t,...n})=>{const{redirectUrl:r,getContainer:o,component:c,...u}=n;t=Sc(t,"Sign in with Metamask");const m=wc(t)("SignInWithMetamaskButton"),f=async()=>{async function b(){await e.authenticateWithMetamask({redirectUrl:r||void 0})}b()},p={...u,onClick:async b=>(await Cc(m.props.onClick)(b),f())};return L.cloneElement(m,p)},{component:"SignInWithMetamask",renderWhileLoading:!0});st(({clerk:e,children:t,...n})=>{const{redirectUrl:r="/",sessionId:o,signOutOptions:c,getContainer:u,component:m,...f}=n;c&&Lm("SignOutButton `signOutOptions`","Use the `redirectUrl` and `sessionId` props directly instead."),t=Sc(t,"Sign out");const h=wc(t)("SignOutButton"),p=()=>e.signOut({redirectUrl:r,...o!==void 0&&{sessionId:o},...c}),v={...f,onClick:async S=>(await Cc(h.props.onClick)(S),p())};return L.cloneElement(h,v)},{component:"SignOutButton",renderWhileLoading:!0});st(({clerk:e,children:t,...n})=>{const{appearance:r,unsafeMetadata:o,getContainer:c,component:u,fallbackRedirectUrl:m,forceRedirectUrl:f,signInFallbackRedirectUrl:h,signInForceRedirectUrl:p,mode:b,initialValues:v,oauthFlow:S,...N}=n;t=Sc(t,"Sign up");const w=wc(t)("SignUpButton"),C=()=>{const j={fallbackRedirectUrl:m,forceRedirectUrl:f,signInFallbackRedirectUrl:h,signInForceRedirectUrl:p,initialValues:v,oauthFlow:S};return b==="modal"?e.openSignUp({...j,appearance:r,unsafeMetadata:o,getContainer:c}):e.redirectToSignUp({...j,signUpFallbackRedirectUrl:m,signUpForceRedirectUrl:f})},M={...N,onClick:async j=>(w&&typeof w=="object"&&"props"in w&&await Cc(w.props.onClick)(j),C())};return L.cloneElement(w,M)},{component:"SignUpButton",renderWhileLoading:!0});K7({packageName:"@clerk/react"});QT("@clerk/react");var ug={exports:{}};const Si=e=>({...e,__type:"prebuilt_appearance"}),vP=Object.freeze(Object.defineProperty({__proto__:null,experimental_createTheme:Si},Symbol.toStringTag,{value:"Module"})),wP=Y4(vP),YC=Si({name:"dark",variables:{colorBackground:"#212126",colorNeutral:"white",colorPrimary:"#ffffff",colorPrimaryForeground:"black",colorForeground:"white",colorInputForeground:"white",colorInput:"#26262B"},elements:{providerIcon__apple:{filter:"invert(1)"},providerIcon__github:{filter:"invert(1)"},providerIcon__okx_wallet:{filter:"invert(1)"},providerIcon__vercel:{filter:"invert(1)"},activeDeviceIcon:{"--cl-chassis-bottom":"#d2d2d2","--cl-chassis-back":"#e6e6e6","--cl-chassis-screen":"#e6e6e6","--cl-screen":"#111111"}}}),SP=Si({name:"shadesOfPurple",baseTheme:YC,variables:{colorBackground:"#3f3c77",colorPrimary:"#f8d80d",colorPrimaryForeground:"#38375f",colorInputForeground:"#a1fdfe",colorShimmer:"rgba(161,253,254,0.36)"}}
24),La={boxShadow:"3px 3px 0px #000",border:"2px solid #000","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"},"&:active":{boxShadow:"2px 2px 0px #000",transform:"translate(1px)"}},Es={boxShadow:"3px 3px 0px #000",border:"2px solid #000"},CP=Si({name:"neobrutalism",simpleStyles:!0,variables:{colorPrimary:"#DF1B1B",colorShimmer:"rgba(255,255,255,0.64)",fontWeight:{normal:500,medium:600,bold:700}},elements:{cardBox:{boxShadow:"7px 7px 0px #000",border:"3px solid #000"},card:{borderRadius:"0"},headerSubtitle:{color:"#212126"},alternativeMethodsBlockButton:La,socialButtonsIconButton:{...La},selectButton:{...La,...Es,transition:"all 0.2s ease-in-out","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"}},socialButtonsBlockButton:{...La,color:"#212126"},profileSectionPrimaryButton:La,profileSectionItem:{color:"#212126"},avatarImageActionsUpload:La,menuButton:Es,menuList:Es,formButtonPrimary:La,navbarButton:La,formFieldAction:{fontWeight:"700"},formFieldInput:{...Es,transition:"all 0.2s ease-in-out","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"},"&:hover":{...Es,transform:"scale(1.01)"}},table:Es,tableHead:{color:"#212126"},dividerLine:{background:"#000"},dividerText:{fontWeight:"700",color:"#212126"},footer:{background:"#fff","& div":{color:"#212126"}},footerActionText:{color:"#212126"},footerActionLink:{fontWeight:"700",borderBottom:"3px solid","&:focus":{boxShadow:"none"}},actionCard:{...Es},badge:{border:"1px solid #000",background:"#fff",color:"#212126"}}}),NP=Si({name:"shadcn",cssLayerName:"components",variables:{colorBackground:"var(--card)",colorDanger:"var(--destructive)",colorForeground:"var(--card-foreground)",colorInput:"var(--input)",colorInputForeground:"var(--card-foreground)",colorModalBackdrop:"var(--color-black)",colorMuted:"var(--muted)",colorMutedForeground:"var(--muted-foreground)",colorNeutral:"var(--foreground)",colorPrimary:"var(--primary)",colorPrimaryForeground:"var(--primary-foreground)",colorRing:"var(--ring)",fontWeight:{normal:"var(--font-weight-normal)",medium:"var(--font-weight-medium)",semibold:"var(--font-weight-semibold)",bold:"var(--font-weight-semibold)"}},elements:{input:"bg-transparent dark:bg-input/30",cardBox:"shadow-sm border",popoverBox:"shadow-sm border",button:{'&[data-variant="solid"]::after':{display:"none"}},providerIcon__apple:"dark:invert",providerIcon__github:"dark:invert",providerIcon__okx_wallet:"dark:invert",providerIcon__vercel:"dark:invert"}}),kP=Si({name:"simple",simpleStyles:!0}),EP=Object.freeze(Object.defineProperty({__proto__:null,dark:YC,experimental__simple:kP,neobrutalism:CP,shadcn:NP,shadesOfPurple:SP},Symbol.toStringTag,{value:"Module"})),jP=Y4(EP);var iS;function RP(){return iS||(iS=1,(function(e){var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,c=(h,p,b,v)=>{if(p&&typeof p=="object"||typeof p=="function")for(let S of r(p))!o.call(h,S)&&S!==b&&t(h,S,{get:()=>p[S],enumerable:!(v=n(p,S))||v.enumerable});return h},u=(h,p,b)=>(c(h,p,"default"),b&&c(b,p,"default")),m=h=>c(t({},"__esModule",{value:!0}),h),f={};e.exports=m(f),u(f,wP,e.exports),u(f,jP,e.exports)})(ug)),ug.exports}var MP=RP();const AP=1,OP=1e6;let dg=0;function TP(){return dg=(dg+1)%Number.MAX_SAFE_INTEGER,dg.toString()}const mg=new Map,lS=e=>{if(mg.has(e))return;const t=setTimeout(()=>{mg.delete(e),$l({type:"REMOVE_TOAST",toastId:e})},OP);mg.set(e,t)},PP=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,AP)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?lS(n):e.toasts.forEach(r=>{lS(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},_d=[];let Id={toasts:[]};function $l(e){Id=PP(Id,e),_d.forEach(t=>{t(Id)})}function DP({...e}){const t=TP(),n=o=>$l({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>$l({type:"DISMISS_TOAST",toastId:t});
24return $l({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function xr(){const[e,t]=y.useState(Id);return y.useEffect(()=>(_d.push(t),()=>{const n=_d.indexOf(t);n>-1&&_d.splice(n,1)}),[e]),{...e,toast:DP,dismiss:n=>$l({type:"DISMISS_TOAST",toastId:n})}}function ue(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function cS(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function xb(...e){return t=>{let n=!1;const r=e.map(o=>{const c=cS(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<r.length;o++){const c=r[o];typeof c=="function"?c():cS(e[o],null)}}}}function Le(...e){return y.useCallback(xb(...e),e)}function gn(e,t=[]){let n=[];function r(c,u){const m=y.createContext(u);m.displayName=c+"Context";const f=n.length;n=[...n,u];const h=b=>{const{scope:v,children:S,...N}=b,w=v?.[e]?.[f]||m,C=y.useMemo(()=>N,Object.values(N));return i.jsx(w.Provider,{value:C,children:S})};h.displayName=c+"Provider";function p(b,v){const S=v?.[e]?.[f]||m,N=y.useContext(S);if(N)return N;if(u!==void 0)return u;throw new Error(`\`${b}\` must be used within \`${c}\``)}return[h,p]}const o=()=>{const c=n.map(u=>y.createContext(u));return function(m){const f=m?.[e]||c;return y.useMemo(()=>({[`__scope${e}`]:{...m,[e]:f}}),[m,f])}};return o.scopeName=e,[r,_P(o,...t)]}function _P(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const u=r.reduce((m,{useScope:f,scopeName:h})=>{const b=f(c)[`__scope${h}`];return{...m,...b}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}function Ya(e){const t=y.forwardRef((n,r)=>{let{children:o,...c}=n,u=null,m=!1;const f=[];uS(o)&&typeof bd=="function"&&(o=bd(o._payload)),y.Children.forEach(o,v=>{if(VP(v)){m=!0;const S=v;let N="child"in S.props?S.props.child:S.props.children;uS(N)&&typeof bd=="function"&&(N=bd(N._payload)),u=zP(S,N),f.push(u?.props?.children)}else f.push(v)}),u?u=y.cloneElement(u,void 0,f):!m&&y.Children.count(o)===1&&y.isValidElement(o)&&(u=o);const h=u?UP(u):void 0,p=Le(r,h);if(!u){if(o||o===0)throw new Error(m?HP(e):KP(e));return o}const b=LP(c,u.props??{});return u.type!==y.Fragment&&(b.ref=r?p:h),y.cloneElement(u,b)});return t.displayName=`${e}.Slot`,t}var IP=Ya("Slot"),$C=Symbol.for("radix.slottable");function FP(e){const t=n=>"child"in n?n.children(n.child):n.children;return t.displayName=`${e}.Slottable`,t.__radixId=$C,t}var zP=(e,t)=>{if("child"in e.props){const n=e.props.child;return y.isValidElement(n)?y.cloneElement(n,void 0,e.props.children(n.props.children)):null}return y.isValidElement(t)?t:null};function LP(e,t){const n={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?n[r]=(...m)=>{const f=c(...m);return o(...m),f}:o&&(n[r]=o):r==="style"?n[r]={...o,...c}:r==="className"&&(n[r]=[o,c].filter(Boolean).join(" "))}return{...e,...n}}function UP(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function VP(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$C}var BP=Symbol.for("react.lazy");function uS(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===BP&&"_payload"in e&&WP(e._payload)}function WP(e){return typeof e=="object"&&e!==null&&"then"in e}var KP=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,HP=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,bd=xc[" use ".trim().toString()];function jc(e){const t=e+"CollectionProvider",[n,r]=gn(t),[o,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),u=w=>{const{scope:C,children:R}=w,M=y.useRef(null),j=y.useRef(new Map).current;return i.jsx(o,{scope:C,itemMap:j,collectionRef:M,children:R})};u.displayName=t;const m=e+"CollectionSlot",f=Ya(m),h=y.forwardRef((w,C)=>{const{scope:R,children:M}=w,j=c(m,R),T=Le(C,j.collectionRef);return i.jsx(f,{ref:T,children:M})});h.displayName=m;
24const p=e+"CollectionItemSlot",b="data-radix-collection-item",v=Ya(p),S=y.forwardRef((w,C)=>{const{scope:R,children:M,...j}=w,T=y.useRef(null),P=Le(C,T),I=c(p,R);return y.useEffect(()=>(I.itemMap.set(T,{ref:T,...j}),()=>{I.itemMap.delete(T)})),i.jsx(v,{[b]:"",ref:P,children:M})});S.displayName=p;function N(w){const C=c(e+"CollectionConsumer",w);return y.useCallback(()=>{const M=C.collectionRef.current;if(!M)return[];const j=Array.from(M.querySelectorAll(`[${b}]`));return Array.from(C.itemMap.values()).sort((I,_)=>j.indexOf(I.ref.current)-j.indexOf(_.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:u,Slot:h,ItemSlot:S},N,r]}var qP=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ce=qP.reduce((e,t)=>{const n=Ya(`Primitive.${t}`),r=y.forwardRef((o,c)=>{const{asChild:u,...m}=o,f=u?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(f,{...m,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function vb(e,t){e&&fa.flushSync(()=>e.dispatchEvent(t))}function Tt(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>((...n)=>t.current?.(...n)),[])}function XP(e,t=globalThis?.document){const n=Tt(e);y.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var YP="DismissableLayer",s0="dismissableLayer.update",$P="dismissableLayer.pointerDownOutside",GP="dismissableLayer.focusOutside",dS,wb=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Ys=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:o,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:m,onDismiss:f,...h}=e,p=y.useContext(wb),[b,v]=y.useState(null),S=b?.ownerDocument??globalThis?.document,[,N]=y.useState({}),w=Le(t,V=>v(V)),C=Array.from(p.layers),[R]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),M=C.indexOf(R),j=b?C.indexOf(b):-1,T=p.layersWithOutsidePointerEventsDisabled.size>0,P=j>=M,I=y.useRef(!1),_=JP(V=>{const H=V.target;if(!(H instanceof Node))return;const $=[...p.branches].some(J=>J.contains(H));!P||$||(c?.(V),m?.(V),V.defaultPrevented||f?.())},{ownerDocument:S,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:I,dismissableSurfaces:p.dismissableSurfaces}),D=eD(V=>{if(r&&I.current)return;const H=V.target;[...p.branches].some(J=>J.contains(H))||(u?.(V),m?.(V),V.defaultPrevented||f?.())},S);return XP(V=>{j===p.layers.size-1&&(o?.(V),!V.defaultPrevented&&f&&(V.preventDefault(),f()))},S),y.useEffect(()=>{if(b)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(dS=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(b)),p.layers.add(b),mS(),()=>{n&&(p.layersWithOutsidePointerEventsDisabled.delete(b),p.layersWithOutsidePointerEventsDisabled.size===0&&(S.body.style.pointerEvents=dS))}},[b,S,n,p]),y.useEffect(()=>()=>{b&&(p.layers.delete(b),p.layersWithOutsidePointerEventsDisabled.delete(b),mS())},[b,p]),y.useEffect(()=>{const V=()=>N({});return document.addEventListener(s0,V),()=>document.removeEventListener(s0,V)},[]),i.jsx(Ce.div,{...h,ref:w,style:{pointerEvents:T?P?"auto":"none":void 0,...e.style},onFocusCapture:ue(e.onFocusCapture,D.onFocusCapture),onBlurCapture:ue(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:ue(e.onPointerDownCapture,_.onPointerDownCapture)})});Ys.displayName=YP;var ZP="DismissableLayerBranch",GC=y.forwardRef((e,t)=>{const n=y.useContext(wb),r=y.useRef(null),o=Le(t,r);return y.useEffect(()=>{const c=r.current;if(c)return n.branches.add(c),()=>{n.branches.delete(c)}},[n.branches]),i.jsx(Ce.div,{...e,ref:o})});GC.displayName=ZP;function QP(){const e=y.useContext(wb),[t,n]=y.useState(null);return y.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}function JP(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:c}=t,u=Tt(e),m=y.useRef(!1),f=y.useRef(!1),h=y.useRef(new Map),p=y.useRef(()=>{});return y.useEffect(()=>{function b(){f.current=!1,o.current=!1,h.current.clear()}function v(){return Array.from(h.current.values()).some(Boolean)}function S(M){if(!f.current)return;const j=M.target;j instanceof Node&&[...c].some(P=>P.contains(j))||h.current.set(M.type,!0),M.type==="click"&&window.setTimeout(()=>{f.current&&p.current()},0)}function N(M){f.current&&h.current.set(M.type,!1)}const w=M=>{if(M.target&&!m.current){let j=function(){n.removeEventListener("click",p.current);const P=v();b(),P||ZC($P,u,T,{discrete:!0})};const T={originalEvent:M};f.current=!0,o.current=r&&M.button===0,h.current.clear(),!r||M.button!==0?j():(n.removeEventListener("click",p.current),p.current=j,n.addEventListener("click",p.current,{once:!0}))}else n.removeEventListener("click",p.current),b();m.current=!1},C=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const M of C)n.addEventListener(M,S,!0),n.addEventListener(M,N);const R=window.setTimeout(()=>{n.addEventListener("pointerdown",w)},0);return()=>{window.clearTimeout(R),n.removeEventListener("pointerdown",w),n.removeEventListener("click",p.current);for(const M of C)n.removeEventListener(M,S,!0),n.removeEventListener(M,N)}},[n,u,r,o,c]),{onPointerDownCapture:()=>m.current=!0}}function eD(e,t=globalThis?.document){const n=Tt(e),r=y.useRef(!1);return y.useEffect(()=>{const o=c=>{c.target&&!r.current&&ZC(GP,n,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function mS(){const e=new CustomEvent(s0);document.dispatchEvent(e)}function ZC(e,t,n,{discrete:r}){const o=n.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?vb(o,c):o.dispatchEvent(c)}var tD=Ys,nD=GC,Ft=globalThis?.document?y.useLayoutEffect:()=>{},rD="Portal",$s=y.forwardRef((e,t)=>
vendor: 3,149 bytes, line 24
24{const{container:n,...r}=e,[o,c]=y.useState(!1);Ft(()=>c(!0),[]);const u=n||o&&globalThis?.document?.body;return u?fa.createPortal(i.jsx(Ce.div,{...r,ref:t}),u):null});$s.displayName=rD;function aD(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var Pt=e=>{const{present:t,children:n}=e,r=sD(t),o=typeof n=="function"?n({present:r.isPresent}):y.Children.only(n),c=oD(r.ref,iD(o));return typeof n=="function"||r.isPresent?y.cloneElement(o,{ref:c}):null};Pt.displayName="Presence";function sD(e){const[t,n]=y.useState(),r=y.useRef(null),o=y.useRef(e),c=y.useRef("none"),u=e?"mounted":"unmounted",[m,f]=aD(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const h=yd(r.current);c.current=m==="mounted"?h:"none"},[m]),Ft(()=>{const h=r.current,p=o.current;if(p!==e){const v=c.current,S=yd(h);e?f("MOUNT"):S==="none"||h?.display==="none"?f("UNMOUNT"):f(p&&v!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,f]),Ft(()=>{if(t){let h;const p=t.ownerDocument.defaultView??window,b=S=>{const w=yd(r.current).includes(CSS.escape(S.animationName));if(S.target===t&&w&&(f("ANIMATION_END"),!o.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",h=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},v=S=>{S.target===t&&(c.current=yd(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",b),t.addEventListener("animationend",b),()=>{p.clearTimeout(h),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",b),t.removeEventListener("animationend",b)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:y.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function fS(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function oD(...e){const t=y.useRef(e);return t.current=e,y.useCallback(n=>{const r=t.current;let o=!1;const c=r.map(u=>{const m=fS(u,n);return!o&&typeof m=="function"&&(o=!0),m});if(o)return()=>{for(let u=0;u<c.length;u++){const m=c[u];typeof m=="function"?m():fS(r[u],null)}}},[])}function yd(e){return e?.animationName||"none"}function iD(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var lD=xc[" useInsertionEffect ".trim().toString()]||Ft;function ar({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,c,u]=cD({defaultProp:t,onChange:n}),m=e!==void 0,f=m?e:o;{const p=y.useRef(e!==void 0);y.useEffect(()=>{const b=p.current;b!==m&&console.warn(`${r} is changing from ${b?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=m},[m,r])}const h=y.useCallback(p=>{if(m){const b=uD(p)?p(e):p;b!==e&&u.current?.(b)}
24else c(p)},[m,e,c,u]);return[f,h]}function cD({defaultProp:e,onChange:t}){const[n,r]=y.useState(e),o=y.useRef(n),c=y.useRef(t);return lD(()=>{c.current=t},[t]),y.useEffect(()=>{o.current!==n&&(c.current?.(n),o.current=n)},[n,o]),[n,r,c]}function uD(e){return typeof e=="function"}var QC=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),dD="VisuallyHidden",Um=y.forwardRef((e,t)=>i.jsx(Ce.span,{...e,ref:t,style:{...QC,...e.style}}));Um.displayName=dD;var mD=Um,Sb="ToastProvider",[Cb,fD,hD]=jc("Toast"),[JC]=gn("Toast",[hD]),[pD,Vm]=JC(Sb),e3=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:c=50,announcerContainer:u,children:m}=e,[f,h]=y.useState(null),[p,b]=y.useState(0),v=y.useRef(!1),S=y.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Sb}\`. Expected non-empty \`string\`.`),i.jsx(Cb.Provider,{scope:t,children:i.jsx(pD,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:c,toastCount:p,viewport:f,onViewportChange:h,onToastAdd:y.useCallback(()=>b(N=>N+1),[]),onToastRemove:y.useCallback(()=>b(N=>N-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:S,announcerContainer:u,children:m})})};e3.displayName=Sb;var t3="ToastViewport",gD=["F8"],o0="toast.viewportPause",i0="toast.viewportResume",n3=y.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=gD,label:o="Notifications ({hotkey})",...c}=e,u=Vm(t3,n),m=fD(n),f=y.useRef(null),h=y.useRef(null),p=y.useRef(null),b=y.useRef(null),v=Le(t,b,u.onViewportChange),S=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=u.toastCount>0;y.useEffect(()=>{const C=R=>{r.length!==0&&r.every(j=>R[j]||R.code===j)&&b.current?.focus()};return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[r]),y.useEffect(()=>{const C=f.current,R=b.current;if(N&&C&&R){const M=()=>{if(!u.isClosePausedRef.current){const I=new CustomEvent(o0);R.dispatchEvent(I),u.isClosePausedRef.current=!0}},j=()=>
24{if(u.isClosePausedRef.current){const I=new CustomEvent(i0);R.dispatchEvent(I),u.isClosePausedRef.current=!1}},T=I=>{!C.contains(I.relatedTarget)&&j()},P=()=>{C.contains(document.activeElement)||j()};return C.addEventListener("focusin",M),C.addEventListener("focusout",T),C.addEventListener("pointermove",M),C.addEventListener("pointerleave",P),window.addEventListener("blur",M),window.addEventListener("focus",j),()=>{C.removeEventListener("focusin",M),C.removeEventListener("focusout",T),C.removeEventListener("pointermove",M),C.removeEventListener("pointerleave",P),window.removeEventListener("blur",M),window.removeEventListener("focus",j)}}},[N,u.isClosePausedRef]);const w=y.useCallback(({tabbingDirection:C})=>{const M=m().map(j=>{const T=j.ref.current,P=[T,...MD(T)];return C==="forwards"?P:P.reverse()});return(C==="forwards"?M.reverse():M).flat()},[m]);return y.useEffect(()=>{const C=b.current;if(C){const R=M=>{const j=M.altKey||M.ctrlKey||M.metaKey;if(M.key==="Tab"&&!j){const P=document.activeElement,I=M.shiftKey;if(M.target===C&&I){h.current?.focus();return}const V=w({tabbingDirection:I?"backwards":"forwards"}),H=V.findIndex($=>$===P);fg(V.slice(H+1))?M.preventDefault():I?h.current?.focus():p.current?.focus()}};return C.addEventListener("keydown",R),()=>C.removeEventListener("keydown",R)}},[m,w]),i.jsxs(nD,{ref:f,role:"region","aria-label":o.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:N?void 0:"none"},children:[N&&i.jsx(l0,{ref:h,onFocusFromOutsideViewport:()=>{const C=w({tabbingDirection:"forwards"});fg(C)}}),i.jsx(Cb.Slot,{scope:n,children:i.jsx(Ce.ol,{tabIndex:-1,...c,ref:v})}),N&&i.jsx(l0,{ref:p,onFocusFromOutsideViewport:()=>{const C=w({tabbingDirection:"backwards"});fg(C)}})]})});n3.displayName=t3;var r3="ToastFocusProxy",l0=y.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,c=Vm(r3,n);return i.jsx(Um,{tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:u=>{const m=u.relatedTarget;!c.viewport?.contains(m)&&r()}})});l0.displayName=r3;var Rc="Toast",bD="toast.swipeStart",yD="toast.swipeMove",xD="toast.swipeCancel",vD="toast.swipeEnd",a3=y.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:c,...u}=e,[m,f]=ar({prop:r,defaultProp:o??!0,onChange:c,caller:Rc});return i.jsx(Pt,{present:n||m,children:i.jsx(CD,{open:m,...u,ref:t,onClose:()=>f(!1),onPause:Tt(e.onPause),onResume:Tt(e.onResume),onSwipeStart:ue(e.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ue(e.onSwipeMove,h=>{const{x:p,y:b}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${p}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${b}px`)}),onSwipeCancel:ue(e.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ue(e.onSwipeEnd,h=>{const{x:p,y:b}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${p}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${b}px`),f(!1)})})})});a3.displayName=Rc;var[wD,SD]=JC(Rc,{onClose(){}}),CD=y.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:c,onClose:u,onEscapeKeyDown:m,onPause:f,onResume:h,onSwipeStart:p,onSwipeMove:b,onSwipeCancel:v,onSwipeEnd:S,...N}=e,w=Vm(Rc,n),[C,R]=y.useState(null),M=Le(t,ee=>R(ee)),j=y.useRef(null),T=y.useRef(null),P=o||w.duration,I=y.useRef(0),_=y.useRef(P),D=y.useRef(0),{onToastAdd:V,onToastRemove:H}=w,$=Tt(()=>{C?.contains(document.activeElement)&&w.viewport?.focus(),u()}),J=y.useCallback(ee=>{!ee||ee===1/0||(window.clearTimeout(D.current),I.current=new Date().getTime(),D.current=window.setTimeout($,ee))},[$]);y.useEffect(()=>{const ee=w.viewport;if(ee){const ie=()=>{J(_.current),h?.()},z=()=>{const Q=new Date().getTime()-I.current;_.current=_.current-Q,window.clearTimeout(D.current),f?.()};return ee.addEventListener(o0,z),ee.addEventListener(i0,ie),()=>{ee.removeEventListener(o0,z),ee.removeEventListener(i0,ie)}}},[w.viewport,P,f,h,J]),y.useEffect(()=>{c&&!w.isClosePausedRef.current&&J(P)},[c,P,w.isClosePausedRef,J]),y.useEffect(()=>(V(),()=>H()),[V,H]);const ae=y.useMemo(()=>C?d3(C):null,[C]);return w.viewport?i.jsxs(i.Fragment,{children:[ae&&i.jsx(ND,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:ae}),i.jsx(wD,{scope:n,onClose:$,children:fa.createPortal(i.jsx(Cb.ItemSlot,{scope:n,children:i.jsx(tD,{asChild:!0,onEscapeKeyDown:ue(m,()=>{w.isFocusedToastEscapeKeyDownRef.current||$(),w.isFocusedToastEscapeKeyDownRef.current=!1}),children:i.jsx(Ce.li,{tabIndex:0,"data-state":c?"open":"closed","data-swipe-direction":w.swipeDirection,...N,ref:M,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ue(e.onKeyDown,ee=>{ee.key==="Escape"&&(m?.(ee.nativeEvent),ee.nativeEvent.defaultPrevented||(w.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:ue(e.onPointerDown,ee=>{ee.button===0&&(j.current={x:ee.clientX,y:ee.clientY})}),onPointerMove:ue(e.onPointerMove,ee=>{if(!j.current)return;const ie=ee.clientX-j.current.x,z=ee.clientY-j.current.y,Q=!!T.current,W=["left","right"].includes(w.swipeDirection),B=["left","up"].includes(w.swipeDirection)?Math.min:Math.max,O=W?B(0,ie):0,X=W?0:B(0,z),oe=ee.pointerType==="touch"?10:2,se={x:O,y:X},me={originalEvent:ee,delta:se};Q?(T.current=se,xd(yD,b,me,{discrete:!1})):hS(se,w.swipeDirection,oe)?(T.current=se,xd(bD,p,me,{discrete:!1}),ee.target.setPointerCapture(ee.pointerId)):(Math.abs(ie)>oe||Math.abs(z)>oe)&&(j.current=null)}),onPointerUp:ue(e.onPointerUp,ee=>{const ie=T.current,z=ee.target;if(z.hasPointerCapture(ee.pointerId)&&z.releasePointerCapture(ee.pointerId),T.current=null,j.current=null,ie){const Q=ee.currentTarget,W={originalEvent:ee,delta:ie};hS(ie,w.swipeDirection,w.swipeThreshold)?xd(vD,S,W,{discrete:!0}):xd(xD,v,W,{discrete:!0}),Q.addEventListener("click",B=>B.preventDefault(),{once:!0})}})})})}),w.viewport)})]}):null}),ND=e=>{const{__scopeToast:t,children:n,...r}=e,o=Vm(Rc,t),[c,u]=y.useState(!1),[m,f]=y.useState(!1);return jD(()=>u(!0)),y.useEffect(()=>{const h=window.setTimeout(()=>f(!0),1e3);return()=>window.clearTimeout(h)},[]),m?null:i.jsx($s,{asChild:!0,container:o.announcerContainer||void 0,children:i.jsx(Um,{...r,children:c&&i.jsxs(i.Fragment,{children:[o.label," ",n]})})})},kD="ToastTitle",s3=y.forwardRef((e,t)=>
24{const{__scopeToast:n,...r}=e;return i.jsx(Ce.div,{...r,ref:t})});s3.displayName=kD;var ED="ToastDescription",o3=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(Ce.div,{...r,ref:t})});o3.displayName=ED;var i3="ToastAction",l3=y.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?i.jsx(u3,{altText:n,asChild:!0,children:i.jsx(Nb,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${i3}\`. Expected non-empty \`string\`.`),null)});l3.displayName=i3;var c3="ToastClose",Nb=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=SD(c3,n);return i.jsx(u3,{asChild:!0,children:i.jsx(Ce.button,{type:"button",...r,ref:t,onClick:ue(e.onClick,o.onClose)})})});Nb.displayName=c3;var u3=y.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return i.jsx(Ce.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function d3(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),RD(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",c=r.dataset.radixToastAnnounceExclude==="";if(!o)if(c){const u=r.dataset.radixToastAnnounceAlt;u&&t.push(u)}else t.push(...d3(r))}}),t}function xd(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,c=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?vb(o,c):o.dispatchEvent(c)}var hS=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),c=r>o;return t==="left"||t==="right"?c&&r>n:!c&&o>n};function jD(e=()=>{}){const t=Tt(e);Ft(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function RD(e){return e.nodeType===e.ELEMENT_NODE}function MD(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function fg(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var AD=e3,m3=n3,f3=a3,h3=s3,p3=o3,g3=l3,b3=Nb;function y3(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=y3(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function x3(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=y3(e))&&(r&&(r+=" "),r+=t);return r}const pS=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,gS=x3,Mc=(e,t)=>n=>{var r;if(t?.variants==null)return gS(e,n?.class,n?.className);const{variants:o,defaultVariants:c}=t,u=Object.keys(o).map(h=>{const p=n?.[h],b=c?.[h];if(p===null)return null;const v=pS(p)||pS(b);return o[h][v]}),m=n&&Object.entries(n).reduce((h,p)=>{let[b,v]=p;return v===void 0||(h[b]=v),h},{}),f=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((h,p)=>{let{class:b,className:v,...S}=p;return Object.entries(S).every(N=>{let[w,C]=N;return Array.isArray(C)?C.includes({...c,...m}[w]):{...c,...m}[w]===C})?[...h,b,v]:h},[]);return gS(e,u,f,n?.class,n?.className)};const OD=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),TD=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),bS=e=>{const t=TD(e);return t.charAt(0).toUpperCase()+t.slice(1)},v3=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),PD=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var DD={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const _D=y.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:c,iconNode:u,...m},f)=>y.createElement("svg",{ref:f,...DD,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:v3("lucide",o),...!c&&!PD(m)&&{"aria-hidden":"true"},...m},[...u.map(([h,p])=>
vendor: 6,615 bytes, line 24
24y.createElement(h,p)),...Array.isArray(c)?c:[c]]));const ge=(e,t)=>{const n=y.forwardRef(({className:r,...o},c)=>y.createElement(_D,{ref:c,iconNode:t,className:v3(`lucide-${OD(bS(e))}`,`lucide-${e}`,r),...o}));return n.displayName=bS(e),n};const ID=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],FD=ge("arrow-left",ID);const zD=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ka=ge("arrow-right",zD);const LD=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],UD=ge("building-2",LD);const VD=[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]],BD=ge("calendar-clock",VD);const WD=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],KD=ge("calendar",WD);const HD=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],qD=ge("camera",HD);const XD=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ws=ge("check",XD);const YD=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ua=ge("chevron-down",YD);const $D=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],w3=ge("chevron-left",$D);const GD=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],kb=ge("chevron-right",GD);const ZD=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],QD=ge("chevron-up",ZD);const JD=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],pn=ge("circle-alert",JD);const e_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],er=ge("circle-check",e_);const t_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],S3=ge("circle-question-mark",t_);const n_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],r_=ge("circle-x",n_);const a_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],s_=ge("circle",a_);const o_=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],i_=ge("clipboard-list",o_);const l_=[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ac=ge("clock-3",l_);const c_=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],C3=ge("clock",c_);const u_=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],N3=ge("copy",u_);const d_=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],m_=ge("credit-card",d_);const f_=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],k3=ge("external-link",f_);const h_=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],E3=ge("facebook",h_);const p_=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],yS=ge("file-text",p_);const g_=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],b_=ge("film",g_);const y_=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],j3=ge("funnel",y_);const x_=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],v_=ge("gift",x_);const w_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],xS=ge("globe",w_);const S_=[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]],Gl=ge("hand-coins",S_);const C_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],N_=ge("info",C_);const k_=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z",key:"1m329m"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],vS=ge("landmark",k_);const E_=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],j_=ge("link",E_);const R_=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],yt=ge("loader-circle",R_);const M_=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}
24],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],si=ge("log-in",M_);const A_=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],O_=ge("log-out",A_);const T_=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Eb=ge("mail",T_);const P_=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],jb=ge("map-pin",P_);const D_=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],__=ge("menu",D_);const I_=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],Rb=ge("message-circle",I_);const F_=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],ic=ge("message-square",F_);const z_=[["path",{d:"M5 12h14",key:"1ays0h"}]],L_=ge("minus",z_);const U_=[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]],R3=ge("package-check",U_);const V_=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Mb=ge("package",V_);const B_=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],W_=ge("party-popper",B_);const K_=[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]],H_=ge("percent",K_);const q_=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],ci=ge("phone",q_);const X_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Y_=ge("plus",X_);const $_=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],wS=ge("qr-code",$_);const G_=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Z_=ge("quote",G_);const Q_=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}
24],["path",{d:"M13 16H8",key:"wsln4y"}]],J_=ge("receipt-text",Q_);const eI=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],M3=ge("refresh-cw",eI);const tI=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],nI=ge("save",tI);const rI=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],aI=ge("scale",rI);const sI=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],zs=ge("search",sI);const oI=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],A3=ge("send",oI);const iI=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],SS=ge("settings-2",iI);const lI=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ui=ge("shield-check",lI);const cI=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],lc=ge("shopping-bag",cI);const uI=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],Bm=ge("shopping-cart",uI);const dI=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ls=ge("star",dI);const mI=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],fI=ge("tag",mI);const hI=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],pI=ge("trash-2",hI);const gI=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],bI=ge("truck",gI);const yI=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],O3=ge("user-plus",yI);const xI=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],vI=ge("users",xI);const wI=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],nm=ge("user",wI);const SI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2",key:"4125el"}],["path",{d:"M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21",key:"1dpki6"}]],Ab=ge("wallet-cards",SI);const CI=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 2,063 bytes, line 24
24],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],_r=ge("x",CI);const NI=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],T3=ge("youtube",NI);const kI=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],rm=ge("zap",kI);const EI=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],jI=ge("zoom-in",EI),RI=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},MI=(e,t)=>({classGroupId:e,validator:t}),P3=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),am="-",CS=[],AI="arbitrary..",OI=e=>{const t=PI(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return TI(u);const m=u.split(am),f=m[0]===""&&m.length>1?1:0;return D3(m,f,t)},getConflictingClassGroupIds:(u,m)=>{if(m){const f=r[u],h=n[u];return f?h?RI(h,f):f:h||CS}return n[u]||CS}}},D3=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],c=n.nextPart.get(o);if(c){const h=D3(e,t+1,c);if(h)return h}const u=n.validators;if(u===null)return;const m=t===0?e.join(am):e.slice(t).join(am),f=u.length;for(let h=0;h<f;h++){const p=u[h];if(p.validator(m))return p.classGroupId}},TI=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?AI+r:void 0})(),PI=e=>{const{theme:t,classGroups:n}=e;return DI(n,t)},DI=(e,t)=>{const n=P3();for(const r in e){const o=e[r];Ob(o,n,r,t)}return n},Ob=(e,t,n,r)=>{const o=e.length;for(let c=0;c<o;c++){const u=e[c];_I(u,t,n,r)}},_I=(e,t,n,r)=>
vendor: 7,596 bytes, line 24
24{if(typeof e=="string"){II(e,t,n);return}if(typeof e=="function"){FI(e,t,n,r);return}zI(e,t,n,r)},II=(e,t,n)=>{const r=e===""?t:_3(t,e);r.classGroupId=n},FI=(e,t,n,r)=>{if(LI(e)){Ob(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(MI(n,e))},zI=(e,t,n,r)=>{const o=Object.entries(e),c=o.length;for(let u=0;u<c;u++){const[m,f]=o[u];Ob(f,_3(t,m),n,r)}},_3=(e,t)=>{let n=e;const r=t.split(am),o=r.length;for(let c=0;c<o;c++){const u=r[c];let m=n.nextPart.get(u);m||(m=P3(),n.nextPart.set(u,m)),n=m}return n},LI=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,UI=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(c,u)=>{n[c]=u,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(c){let u=n[c];if(u!==void 0)return u;if((u=r[c])!==void 0)return o(c,u),u},set(c,u){c in n?n[c]=u:o(c,u)}}},c0="!",NS=":",VI=[],kS=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),BI=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const c=[];let u=0,m=0,f=0,h;const p=o.length;for(let w=0;w<p;w++){const C=o[w];if(u===0&&m===0){if(C===NS){c.push(o.slice(f,w)),f=w+1;continue}if(C==="/"){h=w;continue}}C==="["?u++:C==="]"?u--:C==="("?m++:C===")"&&m--}const b=c.length===0?o:o.slice(f);let v=b,S=!1;b.endsWith(c0)?(v=b.slice(0,-1),S=!0):b.startsWith(c0)&&(v=b.slice(1),S=!0);const N=h&&h>f?h-f:void 0;return kS(c,S,v,N)};if(t){const o=t+NS,c=r;r=u=>u.startsWith(o)?c(u.slice(o.length)):kS(VI,!1,u,void 0,!0)}if(n){const o=r;r=c=>n({className:c,parseClassName:o})}return r},WI=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let c=0;c<n.length;c++){const u=n[c],m=u[0]==="[",f=t.has(u);m||f?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(u)):o.push(u)}return o.length>0&&(o.sort(),r.push(...o)),r}},KI=e=>({cache:UI(e.cacheSize),parseClassName:BI(e),sortModifiers:WI(e),postfixLookupClassGroupIds:HI(e),...OI(e)}),HI=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let r=0;r<n.length;r++)t[n[r]]=!0;return t},qI=/\s+/,XI=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:c,postfixLookupClassGroupIds:u}=t,m=[],f=e.trim().split(qI);let h="";for(let p=f.length-1;p>=0;p-=1){const b=f[p],{isExternal:v,modifiers:S,hasImportantModifier:N,baseClassName:w,maybePostfixModifierPosition:C}=n(b);if(v){h=b+(h.length>0?" "+h:h);continue}let R=!!C,M;if(R){const _=w.substring(0,C);M=r(_);const D=M&&u[M]?r(w):void 0;D&&D!==M&&(M=D,R=!1)}else M=r(w);if(!M){if(!R){h=b+(h.length>0?" "+h:h);continue}if(M=r(w),!M){h=b+(h.length>0?" "+h:h);continue}R=!1}const j=S.length===0?"":S.length===1?S[0]:c(S).join(":"),T=N?j+c0:j,P=T+M;if(m.indexOf(P)>-1)continue;m.push(P);const I=o(M,R);for(let _=0;_<I.length;++_){const D=I[_];m.push(T+D)}h=b+(h.length>0?" "+h:h)}return h},YI=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=I3(n))&&(o&&(o+=" "),o+=r);return o},I3=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=I3(e[r]))&&(n&&(n+=" "),n+=t);return n},$I=(e,...t)=>{let n,r,o,c;const u=f=>{const h=t.reduce((p,b)=>b(p),e());return n=KI(h),r=n.cache.get,o=n.cache.set,c=m,m(f)},m=f=>{const h=r(f);if(h)return h;const p=XI(f,n);return o(f,p),p};return c=u,(...f)=>c(YI(...f))},GI=[],Vt=e=>{const t=n=>n[e]||GI;return t.isThemeGetter=!0,t},F3=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,z3=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ZI=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,QI=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,JI=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eF=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tF=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nF=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ua=e=>ZI.test(e),We=e=>!!e&&!Number.isNaN(Number(e)),Rr=e=>!!e&&Number.isInteger(Number(e)),hg=e=>e.endsWith("%")&&We(e.slice(0,-1)),aa=e=>QI.test(e),L3=()=>!0,rF=e=>JI.test(e)&&!eF.test(e),Tb=()=>!1,aF=e=>tF.test(e),sF=e=>nF.test(e),oF=e=>!be(e)&&!ye(e),iF=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),lF=e=>ns(e,B3,Tb),be=e=>F3.test(e),js=e=>ns(e,W3,rF),ES=e=>ns(e,gF,We),cF=e=>ns(e,H3,L3),uF=e=>ns(e,K3,Tb),jS=e=>ns(e,U3,Tb),dF=e=>ns(e,V3,sF),vd=e=>ns(e,q3,aF),ye=e=>z3.test(e),_l=e=>Gs(e,W3),mF=e=>Gs(e,K3),RS=e=>Gs(e,U3),fF=e=>Gs(e,B3),hF=e=>Gs(e,V3),wd=e=>Gs(e,q3,!0),pF=e=>Gs(e,H3,!0),ns=(e,t,n)=>{const r=F3.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Gs=(e,t,n=!1)=>{const r=z3.exec(e);return r?r[1]?t(r[1]):n:!1},U3=e=>e==="position"||e==="percentage",V3=e=>e==="image"||e==="url",B3=e=>e==="length"||e==="size"||e==="bg-size",W3=e=>e==="length",gF=e=>e==="number",K3=e=>e==="family-name",H3=e=>e==="number"||e==="weight",q3=e=>e==="shadow",bF=()=>{const e=Vt("color"),t=Vt("font"),n=Vt("text"),r=Vt("font-weight"),o=Vt("tracking"),c=Vt("leading"),u=Vt("breakpoint"),m=Vt("container"),f=Vt("spacing"),h=Vt("radius"),p=Vt("shadow"),b=Vt("inset-shadow"),v=Vt("text-shadow"),S=Vt("drop-shadow"),N=Vt("blur"),w=Vt("perspective"),C=Vt("aspect"),R=Vt("ease"),M=Vt("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...T(),ye,be],I=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],D=()=>[ye,be,f],V=()=>[Ua,"full","auto",...D()],H=()=>[Rr,"none","subgrid",ye,be],$=()=>["auto",{span:["full",Rr,ye,be]},Rr,ye,be],J=()=>[Rr,"auto",ye,be],ae=()=>["auto","min","max","fr",ye,be],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ie=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...D()],Q=()=>[Ua,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],W=()=>[Ua,"screen","full","dvw","lvw","svw","min","max","fit",...D()],B=()=>[Ua,"screen","full","lh","dvh","lvh","svh","min","max","fit",...D()],O=()=>[e,ye,be],X=()=>[...T(),RS,jS,{position:[ye,be]}],oe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",fF,lF,{size:[ye,be]}],me=()=>[hg,_l,js],fe=()=>["","none","full",h,ye,be],le=()=>["",We,_l,js],de=()=>["solid","dashed","dotted","double"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],je=()=>[We,hg,RS,jS],Ie=()=>["","none",N,ye,be],Te=()=>["none",We,ye,be],Ke=()=>["none",We,ye,be],dt=()=>[We,ye,be],tt=()=>[Ua,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[aa],breakpoint:[aa],color:[L3],container:[aa],"drop-shadow":[aa],ease:["in","out","in-out"],font:[oF],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[aa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[aa],shadow:[aa],spacing:["px",We],text:[aa],"text-shadow":[aa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ua,be,ye,C]}],container:["container"],"container-type":[{"@container":["","normal","size",ye,be]}
vendor: 6,134 bytes, line 24
24],"container-named":[iF],columns:[{columns:[We,be,ye,m]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{"inset-s":V(),start:V()}],end:[{"inset-e":V(),end:V()}],"inset-bs":[{"inset-bs":V()}],"inset-be":[{"inset-be":V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[Rr,"auto",ye,be]}],basis:[{basis:[Ua,"full","auto",m,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[We,Ua,"auto","initial","none",be]}],grow:[{grow:["",We,ye,be]}],shrink:[{shrink:["",We,ye,be]}],order:[{order:[Rr,"first","last","none",ye,be]}],"grid-cols":[{"grid-cols":H()}],"col-start-end":[{col:$()}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":H()}],"row-start-end":[{row:$()}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ae()}],"auto-rows":[{"auto-rows":ae()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...ie(),"normal"]}],"justify-self":[{"justify-self":["auto",...ie()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...ie(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ie(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...ie(),"baseline"]}],"place-self":[{"place-self":["auto",...ie()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pbs:[{pbs:D()}],pbe:[{pbe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],"inline-size":[{inline:["auto",...W()]}],"min-inline-size":[{"min-inline":["auto",...W()]}],"max-inline-size":[{"max-inline":["none",...W()]}],"block-size":[{block:["auto",...B()]}],"min-block-size":[{"min-block":["auto",...B()]}],"max-block-size":[{"max-block":["none",...B()]}],w:[{w:[m,"screen",...Q()]}],"min-w":[{"min-w":[m,"screen","none",...Q()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[u]},...Q()]}],h:[{h:["screen","lh",...Q()]}],"min-h":[{"min-h":["screen","lh","none",...Q()]}],"max-h":[{"max-h":["screen","lh",...Q()]}],"font-size":[{text:["base",n,_l,js]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,pF,cF]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",hg,be]}],"font-family":[{font:[mF,uF,t]}],"font-features":[{"font-features":[be]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ye,be]}],"line-clamp":[{"line-clamp":[We,"none",ye,ES]}],leading:[{leading:[c,...D()]}],"list-image":[{"list-image":["none",ye,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ye,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:[We,"from-font","auto",ye,js]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[We,"auto",ye,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"tab-size":[{tab:[Rr,ye,be]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ye,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:X()}],"bg-repeat":[{bg:oe()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Rr,ye,be],radial:["",ye,be],conic:[Rr,ye,be]},hF,dF]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:me()}
vendor: 7,429 bytes, line 24
24],"gradient-via-pos":[{via:me()}],"gradient-to-pos":[{to:me()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:fe()}],"rounded-s":[{"rounded-s":fe()}],"rounded-e":[{"rounded-e":fe()}],"rounded-t":[{"rounded-t":fe()}],"rounded-r":[{"rounded-r":fe()}],"rounded-b":[{"rounded-b":fe()}],"rounded-l":[{"rounded-l":fe()}],"rounded-ss":[{"rounded-ss":fe()}],"rounded-se":[{"rounded-se":fe()}],"rounded-ee":[{"rounded-ee":fe()}],"rounded-es":[{"rounded-es":fe()}],"rounded-tl":[{"rounded-tl":fe()}],"rounded-tr":[{"rounded-tr":fe()}],"rounded-br":[{"rounded-br":fe()}],"rounded-bl":[{"rounded-bl":fe()}],"border-w":[{border:le()}],"border-w-x":[{"border-x":le()}],"border-w-y":[{"border-y":le()}],"border-w-s":[{"border-s":le()}],"border-w-e":[{"border-e":le()}],"border-w-bs":[{"border-bs":le()}],"border-w-be":[{"border-be":le()}],"border-w-t":[{"border-t":le()}],"border-w-r":[{"border-r":le()}],"border-w-b":[{"border-b":le()}],"border-w-l":[{"border-l":le()}],"divide-x":[{"divide-x":le()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":le()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...de(),"hidden","none"]}],"divide-style":[{divide:[...de(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...de(),"none","hidden"]}],"outline-offset":[{"outline-offset":[We,ye,be]}],"outline-w":[{outline:["",We,_l,js]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",p,wd,vd]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",b,wd,vd]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:le()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[We,js]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":le()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",v,wd,vd]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[We,ye,be]}],"mix-blend":[{"mix-blend":[...Se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Se()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[We]}],"mask-image-linear-from-pos":[{"mask-linear-from":je()}],"mask-image-linear-to-pos":[{"mask-linear-to":je()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":je()}],"mask-image-t-to-pos":[{"mask-t-to":je()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":je()}],"mask-image-r-to-pos":[{"mask-r-to":je()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":je()}],"mask-image-b-to-pos":[{"mask-b-to":je()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":je()}],"mask-image-l-to-pos":[{"mask-l-to":je()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":je()}],"mask-image-x-to-pos":[{"mask-x-to":je()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":je()}],"mask-image-y-to-pos":[{"mask-y-to":je()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[ye,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":je()}],"mask-image-radial-to-pos":[{"mask-radial-to":je()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[We]}],"mask-image-conic-from-pos":[{"mask-conic-from":je()}],"mask-image-conic-to-pos":[{"mask-conic-to":je()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:X()}],"mask-repeat":[{mask:oe()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ye,be]}],filter:[{filter:["","none",ye,be]}],blur:[{blur:Ie()}],brightness:[{brightness:[We,ye,be]}],contrast:[{contrast:[We,ye,be]}],"drop-shadow":[{"drop-shadow":["","none",S,wd,vd]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",We,ye,be]}],"hue-rotate":[{"hue-rotate":[We,ye,be]}],invert:[{invert:["",We,ye,be]}],saturate:[{saturate:[We,ye,be]}],sepia:[{sepia:["",We,ye,be]}],"backdrop-filter":[{"backdrop-filter":["","none",ye,be]}],"backdrop-blur":[{"backdrop-blur":Ie()}],"backdrop-brightness":[{"backdrop-brightness":[We,ye,be]}],"backdrop-contrast":[{"backdrop-contrast":[We,ye,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",We,ye,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[We,ye,be]}],"backdrop-invert":[{"backdrop-invert":["",We,ye,be]}],"backdrop-opacity":[{"backdrop-opacity":[We,ye,be]}],"backdrop-saturate":[{"backdrop-saturate":[We,ye,be]}],"backdrop-sepia":[{"backdrop-sepia":["",We,ye,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ye,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[We,"initial",ye,be]}],ease:[{ease:["linear","initial",R,ye,be]}],delay:[{delay:[We,ye,be]}],animate:[{animate:["none",M,ye,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,ye,be]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Te()}],"rotate-x":[{"rotate-x":Te()}],"rotate-y":[{"rotate-y":Te()}],"rotate-z":[{"rotate-z":Te()}],scale:[{scale:Ke()}],"scale-x":[{"scale-x":Ke()}],"scale-y":[{"scale-y":Ke()}],"scale-z":[{"scale-z":Ke()}],"scale-3d":["scale-3d"],skew:[{skew:dt()}],"skew-x":[{"skew-x":dt()}],"skew-y":[{"skew-y":dt()}],transform:[{transform:[ye,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tt()}],"translate-x":[{"translate-x":tt()}],"translate-y":[{"translate-y":tt()}],"translate-z":[{"translate-z":tt()}],"translate-none":["translate-none"],zoom:[{zoom:[Rr,ye,be]}],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}
24],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ye,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":O()}],"scrollbar-track-color":[{"scrollbar-track":O()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mbs":[{"scroll-mbs":D()}],"scroll-mbe":[{"scroll-mbe":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pbs":[{"scroll-pbs":D()}],"scroll-pbe":[{"scroll-pbe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ye,be]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[We,_l,js,ES]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},yF=$I(bF);function ce(...e){return yF(x3(e))}const xF=AD,X3=y.forwardRef(({className:e,...t},n)=>i.jsx(m3,{ref:n,className:ce("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));X3.displayName=m3.displayName;const vF=Mc("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Y3=y.forwardRef(({className:e,variant:t,...n},r)=>i.jsx(f3,{ref:r,className:ce(vF({variant:t}),e),...n}));Y3.displayName=f3.displayName;const wF=y.forwardRef(({className:e,...t},n)=>i.jsx(g3,{ref:n,className:ce("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));wF.displayName=g3.displayName;const $3=y.forwardRef(({className:e,...t},n)=>i.jsx(b3,{ref:n,className:ce("absolute right-2 top-2 rounded-md p-1 text-foreground
24/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:i.jsx(_r,{className:"h-4 w-4"})}));$3.displayName=b3.displayName;const G3=y.forwardRef(({className:e,...t},n)=>i.jsx(h3,{ref:n,className:ce("text-sm font-semibold",e),...t}));G3.displayName=h3.displayName;const Z3=y.forwardRef(({className:e,...t},n)=>i.jsx(p3,{ref:n,className:ce("text-sm opacity-90",e),...t}));Z3.displayName=p3.displayName;function SF(){const{toasts:e}=xr();return i.jsxs(xF,{children:[e.map(function({id:t,title:n,description:r,action:o,...c}){return i.jsxs(Y3,{...c,children:[i.jsxs("div",{className:"grid gap-1",children:[n&&i.jsx(G3,{children:n}),r&&i.jsx(Z3,{children:r})]}),o,i.jsx($3,{})]},t)}),i.jsx(X3,{})]})}var CF=xc[" useId ".trim().toString()]||(()=>{}),NF=0;function Fn(e){const[t,n]=y.useState(CF());return Ft(()=>{n(r=>r??String(NF++))},[e]),t?`radix-${t}`:""}const kF=["top","right","bottom","left"],$a=Math.min,In=Math.max,sm=Math.round,Sd=Math.floor,Ir=e=>({x:e,y:e}),EF={left:"right",right:"left",bottom:"top",top:"bottom"};function u0(e,t,n){return In(e,$a(t,n))}function da(e,t){return typeof e=="function"?e(t):e}function ma(e){return e.split("-")[0]}function Ci(e){return e.split("-")[1]}function Pb(e){return e==="x"?"y":"x"}function Db(e){return e==="y"?"height":"width"}function Pr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function _b(e){return Pb(Pr(e))}function jF(e,t,n){n===void 0&&(n=!1);const r=Ci(e),o=_b(e),c=Db(o);let u=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(u=om(u)),[u,om(u)]}function RF(e){const t=om(e);return[d0(e),t,d0(t)]}function d0(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const MS=["left","right"],AS=["right","left"],MF=["top","bottom"],AF=["bottom","top"];function OF(e,t,n){switch(e){case"top":case"bottom":return n?t?AS:MS:t?MS:AS;case"left":case"right":return t?MF:AF;default:return[]}}function TF(e,t,n,r){const o=Ci(e);let c=OF(ma(e),n==="start",r);return o&&(c=c.map(u=>u+"-"+o),t&&(c=c.concat(c.map(d0)))),c}function om(e){const t=ma(e);return EF[t]+e.slice(t.length)}function PF(e){return{top:0,right:0,bottom:0,left:0,...e}}function Q3(e){return typeof e!="number"?PF(e):{top:e,right:e,bottom:e,left:e}}function im(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function OS(e,t,n){let{reference:r,floating:o}=e;
vendor: 10,427 bytes, line 24
24const c=Pr(t),u=_b(t),m=Db(u),f=ma(t),h=c==="y",p=r.x+r.width/2-o.width/2,b=r.y+r.height/2-o.height/2,v=r[m]/2-o[m]/2;let S;switch(f){case"top":S={x:p,y:r.y-o.height};break;case"bottom":S={x:p,y:r.y+r.height};break;case"right":S={x:r.x+r.width,y:b};break;case"left":S={x:r.x-o.width,y:b};break;default:S={x:r.x,y:r.y}}switch(Ci(t)){case"start":S[u]-=v*(n&&h?-1:1);break;case"end":S[u]+=v*(n&&h?-1:1);break}return S}async function DF(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:c,rects:u,elements:m,strategy:f}=e,{boundary:h="clippingAncestors",rootBoundary:p="viewport",elementContext:b="floating",altBoundary:v=!1,padding:S=0}=da(t,e),N=Q3(S),C=m[v?b==="floating"?"reference":"floating":b],R=im(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(C)))==null||n?C:C.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(m.floating)),boundary:h,rootBoundary:p,strategy:f})),M=b==="floating"?{x:r,y:o,width:u.floating.width,height:u.floating.height}:u.reference,j=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m.floating)),T=await(c.isElement==null?void 0:c.isElement(j))?await(c.getScale==null?void 0:c.getScale(j))||{x:1,y:1}:{x:1,y:1},P=im(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:M,offsetParent:j,strategy:f}):M);return{top:(R.top-P.top+N.top)/T.y,bottom:(P.bottom-R.bottom+N.bottom)/T.y,left:(R.left-P.left+N.left)/T.x,right:(P.right-R.right+N.right)/T.x}}const _F=50,IF=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:c=[],platform:u}=n,m=u.detectOverflow?u:{...u,detectOverflow:DF},f=await(u.isRTL==null?void 0:u.isRTL(t));let h=await u.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:b}=OS(h,r,f),v=r,S=0;const N={};for(let w=0;w<c.length;w++){const C=c[w];if(!C)continue;const{name:R,fn:M}=C,{x:j,y:T,data:P,reset:I}=await M({x:p,y:b,initialPlacement:r,placement:v,strategy:o,middlewareData:N,rects:h,platform:m,elements:{reference:e,floating:t}});p=j??p,b=T??b,N[R]={...N[R],...P},I&&S<_F&&(S++,typeof I=="object"&&(I.placement&&(v=I.placement),I.rects&&(h=I.rects===!0?await u.getElementRects({reference:e,floating:t,strategy:o}):I.rects),{x:p,y:b}=OS(h,v,f)),w=-1)}return{x:p,y:b,placement:v,strategy:o,middlewareData:N}},FF=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:c,platform:u,elements:m,middlewareData:f}=t,{element:h,padding:p=0}=da(e,t)||{};if(h==null)return{};const b=Q3(p),v={x:n,y:r},S=_b(o),N=Db(S),w=await u.getDimensions(h),C=S==="y",R=C?"top":"left",M=C?"bottom":"right",j=C?"clientHeight":"clientWidth",T=c.reference[N]+c.reference[S]-v[S]-c.floating[N],P=v[S]-c.reference[S],I=await(u.getOffsetParent==null?void 0:u.getOffsetParent(h));let _=I?I[j]:0;(!_||!await(u.isElement==null?void 0:u.isElement(I)))&&(_=m.floating[j]||c.floating[N]);const D=T/2-P/2,V=_/2-w[N]/2-1,H=$a(b[R],V),$=$a(b[M],V),J=H,ae=_-w[N]-$,ee=_/2-w[N]/2+D,ie=u0(J,ee,ae),z=!f.arrow&&Ci(o)!=null&&ee!==ie&&c.reference[N]/2-(ee<J?H:$)-w[N]/2<0,Q=z?ee<J?ee-J:ee-ae:0;return{[S]:v[S]+Q,data:{[S]:ie,centerOffset:ee-ie-Q,...z&&{alignmentOffset:Q}},reset:z}}}),zF=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:c,rects:u,initialPlacement:m,platform:f,elements:h}=t,{mainAxis:p=!0,crossAxis:b=!0,fallbackPlacements:v,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:w=!0,...C}=da(e,t);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const R=ma(o),M=Pr(m),j=ma(m)===m,T=await(f.isRTL==null?void 0:f.isRTL(h.floating)),P=v||(j||!w?[om(m)]:RF(m)),I=N!=="none";!v&&I&&P.push(...TF(m,w,N,T));const _=[m,...P],D=await f.detectOverflow(t,C),V=[];let H=((r=c.flip)==null?void 0:r.overflows)||[];if(p&&V.push(D[R]),b){const ee=jF(o,u,T);V.push(D[ee[0]],D[ee[1]])}if(H=[...H,{placement:o,overflows:V}],!V.every(ee=>ee<=0)){var $,J;const ee=((($=c.flip)==null?void 0:$.index)||0)+1,ie=_[ee];if(ie&&(!(b==="alignment"?M!==Pr(ie):!1)||H.every(W=>Pr(W.placement)===M?W.overflows[0]>0:!0)))return{data:{index:ee,overflows:H},reset:{placement:ie}};let z=(J=H.filter(Q=>Q.overflows[0]<=0).sort((Q,W)=>Q.overflows[1]-W.overflows[1])[0])==null?void 0:J.placement;if(!z)switch(S){case"bestFit":{var ae;const Q=(ae=H.filter(W=>{if(I){const B=Pr(W.placement);return B===M||B==="y"}return!0}).map(W=>[W.placement,W.overflows.filter(B=>B>0).reduce((B,O)=>B+O,0)]).sort((W,B)=>W[1]-B[1])[0])==null?void 0:ae[0];Q&&(z=Q);break}case"initialPlacement":z=m;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function TS(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function PS(e){return kF.some(t=>e[t]>=0)}const LF=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...c}=da(e,t);switch(o){case"referenceHidden":{const u=await r.detectOverflow(t,{...c,elementContext:"reference"}),m=TS(u,n.reference);return{data:{referenceHiddenOffsets:m,referenceHidden:PS(m)}}}case"escaped":{const u=await r.detectOverflow(t,{...c,altBoundary:!0}),m=TS(u,n.floating);return{data:{escapedOffsets:m,escaped:PS(m)}}}default:return{}}}}},J3=new Set(["left","top"]);async function UF(e,t){const{placement:n,platform:r,elements:o}=e,c=await(r.isRTL==null?void 0:r.isRTL(o.floating)),u=ma(n),m=Ci(n),f=Pr(n)==="y",h=J3.has(u)?-1:1,p=c&&f?-1:1,b=da(t,e);let{mainAxis:v,crossAxis:S,alignmentAxis:N}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return m&&typeof N=="number"&&(S=m==="end"?N*-1:N),f?{x:S*p,y:v*h}:{x:v*h,y:S*p}}const VF=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:c,placement:u,middlewareData:m}=t,f=await UF(t,e);return u===((n=m.offset)==null?void 0:n.placement)&&(r=m.arrow)!=null&&r.alignmentOffset?{}:{x:o+f.x,y:c+f.y,data:{...f,placement:u}}}}},BF=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:c}=t,{mainAxis:u=!0,crossAxis:m=!1,limiter:f={fn:R=>{let{x:M,y:j}=R;return{x:M,y:j}}},...h}=da(e,t),p={x:n,y:r},b=await c.detectOverflow(t,h),v=Pr(ma(o)),S=Pb(v);let N=p[S],w=p[v];if(u){const R=S==="y"?"top":"left",M=S==="y"?"bottom":"right",j=N+b[R],T=N-b[M];N=u0(j,N,T)}if(m){const R=v==="y"?"top":"left",M=v==="y"?"bottom":"right",j=w+b[R],T=w-b[M];w=u0(j,w,T)}const C=f.fn({...t,[S]:N,[v]:w});return{...C,data:{x:C.x-n,y:C.y-r,enabled:{[S]:u,[v]:m}}}}}},WF=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:c,middlewareData:u}=t,{offset:m=0,mainAxis:f=!0,crossAxis:h=!0}=da(e,t),p={x:n,y:r},b=Pr(o),v=Pb(b);let S=p[v],N=p[b];const w=da(m,t),C=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(f){const j=v==="y"?"height":"width",T=c.reference[v]-c.floating[j]+C.mainAxis,P=c.reference[v]+c.reference[j]-C.mainAxis;S<T?S=T:S>P&&(S=P)}if(h){var R,M;const j=v==="y"?"width":"height",T=J3.has(ma(o)),P=c.reference[b]-c.floating[j]+(T&&((R=u.offset)==null?void 0:R[b])||0)+(T?0:C.crossAxis),I=c.reference[b]+c.reference[j]+(T?0:((M=u.offset)==null?void 0:M[b])||0)-(T?C.crossAxis:0);N<P?N=P:N>I&&(N=I)}return{[v]:S,[b]:N}}}},KF=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:c,platform:u,elements:m}=t,{apply:f=()=>{},...h}=da(e,t),p=await u.detectOverflow(t,h),b=ma(o),v=Ci(o),S=Pr(o)==="y",{width:N,height:w}=c.floating;let C,R;b==="top"||b==="bottom"?(C=b,R=v===(await(u.isRTL==null?void 0:u.isRTL(m.floating))?"start":"end")?"left":"right"):(R=b,C=v==="end"?"top":"bottom");const M=w-p.top-p.bottom,j=N-p.left-p.right,T=$a(w-p[C],M),P=$a(N-p[R],j),I=!t.middlewareData.shift;let _=T,D=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=j),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(_=M),I&&!v){const H=In(p.left,0),$=In(p.right,0),J=In(p.top,0),ae=In(p.bottom,0);S?D=N-2*(H!==0||$!==0?H+$:In(p.left,p.right)):_=w-2*(J!==0||ae!==0?J+ae:In(p.top,p.bottom))}await f({...t,availableWidth:D,availableHeight:_});const V=await u.getDimensions(m.floating);return N!==V.width||w!==V.height?{reset:{rects:!0}}:{}}}};function Wm(){return typeof window<"u"}function Ni(e){return eN(e)?(e.nodeName||"").toLowerCase():"#document"}function zn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Lr(e){var t;return(t=(eN(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function eN(e){return Wm()?e instanceof Node||e instanceof zn(e).Node:!1}function br(e){return Wm()?e instanceof Element||e instanceof zn(e).Element:!1}function ha(e){return Wm()?e instanceof HTMLElement||e instanceof zn(e).HTMLElement:!1}function DS(e){return!Wm()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof zn(e).ShadowRoot}function Oc(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=yr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function HF(e){return/^(table|td|th)$/.test(Ni(e))}function Km(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const qF=/transform|translate|scale|rotate|perspective|filter/,XF=/paint|layout|strict|content/,Rs=e=>!!e&&e!=="none";let pg;function Ib(e){const t=br(e)?yr(e):e;return Rs(t.transform)||Rs(t.translate)||Rs(t.scale)||Rs(t.rotate)||Rs(t.perspective)||!Fb()&&(Rs(t.backdropFilter)||Rs(t.filter))||qF.test(t.willChange||"")||XF.test(t.contain||"")}function YF(e){let t=Ga(e);for(;ha(t)&&!di(t);){if(Ib(t))return t;if(Km(t))return null;t=Ga(t)}return null}function Fb(){return pg==null&&(pg=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),pg}function di(e){return/^(html|body|#document)$/.test(Ni(e))}function yr(e){return zn(e).getComputedStyle(e)}function Hm(e){return br(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ga(e){if(Ni(e)==="html")return e;const t=e.assignedSlot||e.parentNode||DS(e)&&e.host||Lr(e);return DS(t)?t.host:t}function tN(e){const t=Ga(e);return di(t)?e.ownerDocument?e.ownerDocument.body:e.body:ha(t)&&Oc(t)?t:tN(t)}function cc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=tN(e),c=o===((r=e.ownerDocument)==null?void 0:r.body),u=zn(o);if(c){const m=m0(u);
vendor: 7,577 bytes, line 24
24return t.concat(u,u.visualViewport||[],Oc(o)?o:[],m&&n?cc(m):[])}else return t.concat(o,cc(o,[],n))}function m0(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nN(e){const t=yr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ha(e),c=o?e.offsetWidth:n,u=o?e.offsetHeight:r,m=sm(n)!==c||sm(r)!==u;return m&&(n=c,r=u),{width:n,height:r,$:m}}function zb(e){return br(e)?e:e.contextElement}function oi(e){const t=zb(e);if(!ha(t))return Ir(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:c}=nN(t);let u=(c?sm(n.width):n.width)/r,m=(c?sm(n.height):n.height)/o;return(!u||!Number.isFinite(u))&&(u=1),(!m||!Number.isFinite(m))&&(m=1),{x:u,y:m}}const $F=Ir(0);function rN(e){const t=zn(e);return!Fb()||!t.visualViewport?$F:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function GF(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==zn(e)?!1:t}function Ks(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),c=zb(e);let u=Ir(1);t&&(r?br(r)&&(u=oi(r)):u=oi(e));const m=GF(c,n,r)?rN(c):Ir(0);let f=(o.left+m.x)/u.x,h=(o.top+m.y)/u.y,p=o.width/u.x,b=o.height/u.y;if(c){const v=zn(c),S=r&&br(r)?zn(r):r;let N=v,w=m0(N);for(;w&&r&&S!==N;){const C=oi(w),R=w.getBoundingClientRect(),M=yr(w),j=R.left+(w.clientLeft+parseFloat(M.paddingLeft))*C.x,T=R.top+(w.clientTop+parseFloat(M.paddingTop))*C.y;f*=C.x,h*=C.y,p*=C.x,b*=C.y,f+=j,h+=T,N=zn(w),w=m0(N)}}return im({width:p,height:b,x:f,y:h})}function qm(e,t){const n=Hm(e).scrollLeft;return t?t.left+n:Ks(Lr(e)).left+n}function aN(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-qm(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function ZF(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const c=o==="fixed",u=Lr(r),m=t?Km(t.floating):!1;if(r===u||m&&c)return n;let f={scrollLeft:0,scrollTop:0},h=Ir(1);const p=Ir(0),b=ha(r);if((b||!b&&!c)&&((Ni(r)!=="body"||Oc(u))&&(f=Hm(r)),b)){const S=Ks(r);h=oi(r),p.x=S.x+r.clientLeft,p.y=S.y+r.clientTop}const v=u&&!b&&!c?aN(u,f):Ir(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-f.scrollLeft*h.x+p.x+v.x,y:n.y*h.y-f.scrollTop*h.y+p.y+v.y}}function QF(e){return Array.from(e.getClientRects())}function JF(e){const t=Lr(e),n=Hm(e),r=e.ownerDocument.body,o=In(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),c=In(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let u=-n.scrollLeft+qm(e);const m=-n.scrollTop;return yr(r).direction==="rtl"&&(u+=In(t.clientWidth,r.clientWidth)-o),{width:o,height:c,x:u,y:m}}const _S=25;function ez(e,t){const n=zn(e),r=Lr(e),o=n.visualViewport;let c=r.clientWidth,u=r.clientHeight,m=0,f=0;if(o){c=o.width,u=o.height;const p=Fb();(!p||p&&t==="fixed")&&(m=o.offsetLeft,f=o.offsetTop)}const h=qm(r);if(h<=0){const p=r.ownerDocument,b=p.body,v=getComputedStyle(b),S=p.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,N=Math.abs(r.clientWidth-b.clientWidth-S);N<=_S&&(c-=N)}else h<=_S&&(c+=h);return{width:c,height:u,x:m,y:f}}function tz(e,t){const n=Ks(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,c=ha(e)?oi(e):Ir(1),u=e.clientWidth*c.x,m=e.clientHeight*c.y,f=o*c.x,h=r*c.y;return{width:u,height:m,x:f,y:h}}function IS(e,t,n){let r;if(t==="viewport")r=ez(e,n);else if(t==="document")r=JF(Lr(e));else if(br(t))r=tz(t,n);else{const o=rN(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return im(r)}function sN(e,t){const n=Ga(e);return n===t||!br(n)||di(n)?!1:yr(n).position==="fixed"||sN(n,t)}function nz(e,t){const n=t.get(e);if(n)return n;let r=cc(e,[],!1).filter(m=>br(m)&&Ni(m)!=="body"),o=null;const c=yr(e).position==="fixed";let u=c?Ga(e):e;for(;br(u)&&!di(u);){const m=yr(u),f=Ib(u);!f&&m.position==="fixed"&&(o=null),(c?!f&&!o:!f&&m.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Oc(u)&&!f&&sN(e,u))?r=r.filter(p=>p!==u):o=m,u=Ga(u)}return t.set(e,r),r}function rz(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const u=[...n==="clippingAncestors"?Km(t)?[]:nz(t,this._c):[].concat(n),r],m=IS(t,u[0],o);let f=m.top,h=m.right,p=m.bottom,b=m.left;for(let v=1;v<u.length;v++){const S=IS(t,u[v],o);f=In(S.top,f),h=$a(S.right,h),p=$a(S.bottom,p),b=In(S.left,b)}return{width:h-b,height:p-f,x:b,y:f}}function az(e){const{width:t,height:n}=nN(e);return{width:t,height:n}}function sz(e,t,n){const r=ha(t),o=Lr(t),c=n==="fixed",u=Ks(e,!0,c,t);let m={scrollLeft:0,scrollTop:0};const f=Ir(0);function h(){f.x=qm(o)}if(r||!r&&!c)if((Ni(t)!=="body"||Oc(o))&&(m=Hm(t)),r){const S=Ks(t,!0,c,t);f.x=S.x+t.clientLeft,f.y=S.y+t.clientTop}else o&&h();c&&!r&&o&&h();const p=o&&!r&&!c?aN(o,m):Ir(0),b=u.left+m.scrollLeft-f.x-p.x,v=u.top+m.scrollTop-f.y-p.y;return{x:b,y:v,width:u.width,height:u.height}}function gg(e){return yr(e).position==="static"}function FS(e,t){if(!ha(e)||yr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Lr(e)===n&&(n=n.ownerDocument.body),n}function oN(e,t){const n=zn(e);if(Km(e))return n;if(!ha(e)){let o=Ga(e);for(;o&&!di(o);){if(br(o)&&!gg(o))return o;o=Ga(o)}return n}let r=FS(e,t);for(;r&&HF(r)&&gg(r);)r=FS(r,t);return r&&di(r)&&gg(r)&&!Ib(r)?n:r||YF(e)||n}const oz=async function(e){const t=this.getOffsetParent||oN,n=this.getDimensions,r=await n(e.floating);return{reference:sz(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function iz(e){return yr(e).direction==="rtl"}const lz={convertOffsetParentRelativeRectToViewportRelativeRect:ZF,getDocumentElement:Lr,getClippingRect:rz,getOffsetParent:oN,getElementRects:oz,getClientRects:QF,getDimensions:az,getScale:oi,isElement:br,isRTL:iz};function iN(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cz(e,t){let n=null,r;const o=Lr(e);function c(){var m;clearTimeout(r),(m=n)==null||m.disconnect(),n=null}function u(m,f){m===void 0&&(m=!1),f===void 0&&(f=1),c();const h=e.getBoundingClientRect(),{left:p,top:b,width:v,height:S}=h;if(m||t(),!v||!S)return;const N=Sd(b),w=Sd(o.clientWidth-(p+v)),C=Sd(o.clientHeight-(b+S)),R=Sd(p),j={rootMargin:-N+"px "+-w+"px "+-C+"px "+-R+"px",threshold:In(0,$a(1,f))||1};let T=!0;function P(I){const _=I[0].intersectionRatio;if(_!==f){if(!T)return u();_?u(!1,_):r=setTimeout(()=>{u(!1,1e-7)},1e3)}_===1&&!iN(h,e.getBoundingClientRect())&&u(),T=!1}try{n=new IntersectionObserver(P,{...j,root:o.ownerDocument})}catch{n=new IntersectionObserver(P,j)}n.observe(e)}return u(!0),c}function uz(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,h=zb(e),p=o||c?[...h?cc(h):[],...t?cc(t):[]]:[];p.forEach(R=>{o&&R.addEventListener("scroll",n,{passive:!0}),c&&R.addEventListener("resize",n)});const b=h&&m?cz(h,n):null;let v=-1,S=null;u&&(S=new ResizeObserver(R=>{let[M]=R;M&&M.target===h&&S&&t&&(S.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var j;(j=S)==null||j.observe(t)})),n()}),h&&!f&&S.observe(h),t&&S.observe(t));let N,w=f?Ks(e):null;f&&C();function C(){const R=Ks(e);w&&!iN(w,R)&&n(),w=R,N=requestAnimationFrame(C)}return n(),()=>{var R;p.forEach(M=>{o&&M.removeEventListener("scroll",n),c&&M.removeEventListener("resize",n)}),b?.(),(R=S)==null||R.disconnect(),S=null,f&&cancelAnimationFrame(N)}}const dz=VF,mz=BF,fz=zF,hz=KF,pz=LF,zS=FF,gz=WF,bz=(e,t,n)=>{const r=new Map,o={platform:lz,...n},c={...o.platform,_c:r};return IF(e,t,{...o,platform:c})};var yz=typeof document<"u",xz=function(){},Fd=yz?y.useLayoutEffect:xz;function lm(e,t){if(e===t)return!0;
vendor: 4,128 bytes, line 24
24if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!lm(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const c=o[r];if(!(c==="_owner"&&e.$$typeof)&&!lm(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function lN(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function LS(e,t){const n=lN(e);return Math.round(t*n)/n}function bg(e){const t=y.useRef(e);return Fd(()=>{t.current=e}),t}function vz(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:c,floating:u}={},transform:m=!0,whileElementsMounted:f,open:h}=e,[p,b]=y.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,S]=y.useState(r);lm(v,r)||S(r);const[N,w]=y.useState(null),[C,R]=y.useState(null),M=y.useCallback(W=>{W!==I.current&&(I.current=W,w(W))},[]),j=y.useCallback(W=>{W!==_.current&&(_.current=W,R(W))},[]),T=c||N,P=u||C,I=y.useRef(null),_=y.useRef(null),D=y.useRef(p),V=f!=null,H=bg(f),$=bg(o),J=bg(h),ae=y.useCallback(()=>{if(!I.current||!_.current)return;const W={placement:t,strategy:n,middleware:v};$.current&&(W.platform=$.current),bz(I.current,_.current,W).then(B=>{const O={...B,isPositioned:J.current!==!1};ee.current&&!lm(D.current,O)&&(D.current=O,fa.flushSync(()=>{b(O)}))})},[v,t,n,$,J]);Fd(()=>{h===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,b(W=>({...W,isPositioned:!1})))},[h]);const ee=y.useRef(!1);Fd(()=>(ee.current=!0,()=>{ee.current=!1}),[]),Fd(()=>{if(T&&(I.current=T),P&&(_.current=P),T&&P){if(H.current)return H.current(T,P,ae);ae()}},[T,P,ae,H,V]);const ie=y.useMemo(()=>({reference:I,floating:_,setReference:M,setFloating:j}),[M,j]),z=y.useMemo(()=>({reference:T,floating:P}),[T,P]),Q=y.useMemo(()=>{const W={position:n,left:0,top:0};if(!z.floating)return W;const B=LS(z.floating,p.x),O=LS(z.floating,p.y);return m?{...W,transform:"translate("+B+"px, "+O+"px)",...lN(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:B,top:O}},[n,m,z.floating,p.x,p.y]);return y.useMemo(()=>({...p,update:ae,refs:ie,elements:z,floatingStyles:Q}),[p,ae,ie,z,Q])}const wz=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?zS({element:r.current,padding:o}).fn(n):{}:r?zS({element:r,padding:o}).fn(n):{}}}},Sz=(e,t)=>{const n=dz(e);return{name:n.name,fn:n.fn,options:[e,t]}},Cz=(e,t)=>{const n=mz(e);return{name:n.name,fn:n.fn,options:[e,t]}},Nz=(e,t)=>({fn:gz(e).fn,options:[e,t]}),kz=(e,t)=>{const n=fz(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ez=(e,t)=>{const n=hz(e);return{name:n.name,fn:n.fn,options:[e,t]}},jz=(e,t)=>{const n=pz(e);return{name:n.name,fn:n.fn,options:[e,t]}},Rz=(e,t)=>{const n=wz(e);return{name:n.name,fn:n.fn,options:[e,t]}};var Mz="Arrow",cN=y.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...c}=e;return i.jsx(Ce.svg,{...c,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});cN.displayName=Mz;var Az=cN;function uN(e){const[t,n]=y.useState(void 0);return Ft(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const c=o[0];let u,m;if("borderBoxSize"in c){const f=c.borderBoxSize,h=Array.isArray(f)?f[0]:f;u=h.inlineSize,m=h.blockSize}else u=e.offsetWidth,m=e.offsetHeight;n({width:u,height:m})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Lb="Popper",[dN,rs]=gn(Lb),[Oz,mN]=dN(Lb),fN=e=>{const{__scopePopper:t,children:n}=e,[r,o]=y.useState(null),[c,u]=y.useState(void 0);return i.jsx(Oz,{scope:t,anchor:r,onAnchorChange:o,placementState:c,setPlacementState:u,children:n})};fN.displayName=Lb;var hN="PopperAnchor",pN=y.forwardRef((e,t)=>
24{const{__scopePopper:n,virtualRef:r,...o}=e,c=mN(hN,n),u=y.useRef(null),m=c.onAnchorChange,f=y.useCallback(N=>{u.current=N,N&&m(N)},[m]),h=Le(t,f),p=y.useRef(null);y.useEffect(()=>{if(!r)return;const N=p.current;p.current=r.current,N!==p.current&&m(p.current)});const b=c.placementState&&Vb(c.placementState),v=b?.[0],S=b?.[1];return r?null:i.jsx(Ce.div,{"data-radix-popper-side":v,"data-radix-popper-align":S,...o,ref:h})});pN.displayName=hN;var Ub="PopperContent",[Tz,Pz]=dN(Ub),gN=y.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:c="center",alignOffset:u=0,arrowPadding:m=0,avoidCollisions:f=!0,collisionBoundary:h=[],collisionPadding:p=0,sticky:b="partial",hideWhenDetached:v=!1,updatePositionStrategy:S="optimized",onPlaced:N,...w}=e,C=mN(Ub,n),[R,M]=y.useState(null),j=Le(t,Se=>M(Se)),[T,P]=y.useState(null),I=uN(T),_=I?.width??0,D=I?.height??0,V=r+(c!=="center"?"-"+c:""),H=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},$=Array.isArray(h)?h:[h],J=$.length>0,ae={padding:H,boundary:$.filter(_z),altBoundary:J},{refs:ee,floatingStyles:ie,placement:z,isPositioned:Q,middlewareData:W}=vz({strategy:"fixed",placement:V,whileElementsMounted:(...Se)=>uz(...Se,{animationFrame:S==="always"}),elements:{reference:C.anchor},middleware:[Sz({mainAxis:o+D,alignmentAxis:u}),f&&Cz({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?Nz():void 0,...ae}),f&&kz({...ae}),Ez({...ae,apply:({elements:Se,rects:je,availableWidth:Ie,availableHeight:Te})=>{const{width:Ke,height:dt}=je.reference,tt=Se.floating.style;tt.setProperty("--radix-popper-available-width",`${Ie}px`),tt.setProperty("--radix-popper-available-height",`${Te}px`),tt.setProperty("--radix-popper-anchor-width",`${Ke}px`),tt.setProperty("--radix-popper-anchor-height",`${dt}px`)}}),T&&Rz({element:T,padding:m}),Iz({arrowWidth:_,arrowHeight:D}),v&&jz({strategy:"referenceHidden",...ae,boundary:J?ae.boundary:void 0})]}),B=C.setPlacementState;Ft(()=>(B(z),()=>{B(void 0)}),[z,B]);const[O,X]=Vb(z),oe=Tt(N);Ft(()=>{Q&&oe?.()},[Q,oe]);const se=W.arrow?.x,me=W.arrow?.y,fe=W.arrow?.centerOffset!==0,[le,de]=y.useState();return Ft(()=>{R&&de(window.getComputedStyle(R).zIndex)},[R]),i.jsx("div",{ref:ee.setFloating,"data-radix-popper-content-wrapper":"",style:{...ie,transform:Q?ie.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[W.transformOrigin?.x,W.transformOrigin?.y].join(" "),...W.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(Tz,{scope:n,placedSide:O,placedAlign:X,onArrowChange:P,arrowX:se,arrowY:me,shouldHideArrow:fe,children:i.jsx(Ce.div,{"data-side":O,"data-align":X,...w,ref:j,style:{...w.style,animation:Q?void 0:"none"}})})})});gN.displayName=Ub;var bN="PopperArrow",Dz={top:"bottom",right:"left",bottom:"top",left:"right"},yN=y.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,c=Pz(bN,r),u=Dz[c.placedSide];return i.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:i.jsx(Az,{...o,ref:n,style:{...o.style,display:"block"}})})});yN.displayName=bN;function _z(e){return e!==null}var Iz=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,u=o.arrow?.centerOffset!==0,m=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[h,p]=Vb(n),b={start:"0%",center:"50%",end:"100%"}[p],v=(o.arrow?.x??0)+m/2,S=(o.arrow?.y??0)+f/2;let N="",w="";return h==="bottom"?(N=u?b:`${v}px`,w=`${-f}px`):h==="top"?(N=u?b:`${v}px`,w=`${r.floating.height+f}px`):h==="right"?(N=`${-f}px`,w=u?b:`${S}px`):h==="left"&&(N=`${r.floating.width+f}px`,w=u?b:`${S}px`),{data:{x:N,y:w}}}});function Vb(e){const[t,n="center"]=e.split("-");return[t,n]}var Bb=fN,Tc=pN,Xm=gN,Ym=yN,[$m]=gn("Tooltip",[rs]),Wb=rs(),xN="TooltipProvider",Fz=700,US="tooltip.open",[zz,vN]=$m(xN),wN=e=>{const{__scopeTooltip:t,delayDuration:n=Fz,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:c}=e,u=y.useRef(!0),m=y.useRef(!1),f=y.useRef(0);return y.useEffect(()=>{const h=f.current;return()=>window.clearTimeout(h)},[]),i.jsx(zz,{scope:t,isOpenDelayedRef:u,delayDuration:n,onOpen:y.useCallback(()=>{r<=0||(window.clearTimeout(f.current),u.current=!1)},[r]),onClose:y.useCallback(()=>{r<=0||(window.clearTimeout(f.current),f.current=window.setTimeout(()=>u.current=!0,r))},[r]),isPointerInTransitRef:m,onPointerInTransitChange:y.useCallback(h=>{m.current=h},[]),disableHoverableContent:o,children:c})};wN.displayName=xN;var SN="Tooltip",[lse,Pc]=$m(SN),f0="TooltipTrigger",Lz=y.forwardRef((e,t)=>
vendor: 4,696 bytes, line 24
24{const{__scopeTooltip:n,...r}=e,o=Pc(f0,n),c=vN(f0,n),u=Wb(n),m=y.useRef(null),f=Le(t,m,o.onTriggerChange),h=y.useRef(!1),p=y.useRef(!1),b=y.useCallback(()=>h.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",b),[b]),i.jsx(Tc,{asChild:!0,...u,children:i.jsx(Ce.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:f,onPointerMove:ue(e.onPointerMove,v=>{v.pointerType!=="touch"&&!p.current&&!c.isPointerInTransitRef.current&&(o.onTriggerEnter(),p.current=!0)}),onPointerLeave:ue(e.onPointerLeave,()=>{o.onTriggerLeave(),p.current=!1}),onPointerDown:ue(e.onPointerDown,()=>{o.open&&o.onClose(),h.current=!0,document.addEventListener("pointerup",b,{once:!0})}),onFocus:ue(e.onFocus,()=>{h.current||o.onOpen()}),onBlur:ue(e.onBlur,o.onClose),onClick:ue(e.onClick,o.onClose)})})});Lz.displayName=f0;var Kb="TooltipPortal",[Uz,Vz]=$m(Kb,{forceMount:void 0}),CN=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,c=Pc(Kb,t);return i.jsx(Uz,{scope:t,forceMount:n,children:i.jsx(Pt,{present:n||c.open,children:i.jsx($s,{asChild:!0,container:o,children:r})})})};CN.displayName=Kb;var mi="TooltipContent",NN=y.forwardRef((e,t)=>{const n=Vz(mi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...c}=e,u=Pc(mi,e.__scopeTooltip);return i.jsx(Pt,{present:r||u.open,children:u.disableHoverableContent?i.jsx(kN,{side:o,...c,ref:t}):i.jsx(Bz,{side:o,...c,ref:t})})}),Bz=y.forwardRef((e,t)=>{const n=Pc(mi,e.__scopeTooltip),r=vN(mi,e.__scopeTooltip),o=y.useRef(null),c=Le(t,o),[u,m]=y.useState(null),{trigger:f,onClose:h}=n,p=o.current,{onPointerInTransitChange:b}=r,v=y.useCallback(()=>{m(null),b(!1)},[b]),S=y.useCallback((N,w)=>{const C=N.currentTarget,R={x:N.clientX,y:N.clientY},M=Xz(R,C.getBoundingClientRect()),j=Yz(R,M),T=$z(w.getBoundingClientRect()),P=Zz([...j,...T]);m(P),b(!0)},[b]);return y.useEffect(()=>()=>v(),[v]),y.useEffect(()=>{if(f&&p){const N=C=>S(C,p),w=C=>S(C,f);return f.addEventListener("pointerleave",N),p.addEventListener("pointerleave",w),()=>{f.removeEventListener("pointerleave",N),p.removeEventListener("pointerleave",w)}}},[f,p,S,v]),y.useEffect(()=>{if(u){const N=w=>{const C=w.target,R={x:w.clientX,y:w.clientY},M=f?.contains(C)||p?.contains(C),j=!Gz(R,u);M?v():j&&(v(),h())};return document.addEventListener("pointermove",N),()=>document.removeEventListener("pointermove",N)}},[f,p,u,h,v]),i.jsx(kN,{...e,ref:c})}),[Wz,Kz]=$m(SN,{isInside:!1}),Hz=FP("TooltipContent"),kN=y.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:c,onPointerDownOutside:u,...m}=e,f=Pc(mi,n),h=Wb(n),{onClose:p}=f;return y.useEffect(()=>(document.addEventListener(US,p),()=>document.removeEventListener(US,p)),[p]),y.useEffect(()=>{if(f.trigger){const b=v=>{v.target instanceof Node&&v.target.contains(f.trigger)&&p()};return window.addEventListener("scroll",b,{capture:!0}),()=>window.removeEventListener("scroll",b,{capture:!0})}},[f.trigger,p]),i.jsx(Ys,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:b=>b.preventDefault(),onDismiss:p,children:i.jsxs(Xm,{"data-state":f.stateAttribute,...h,...m,ref:t,style:{...m.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[i.jsx(Hz,{children:r}),i.jsx(Wz,{scope:n,isInside:!0,children:i.jsx(mD,{id:f.contentId,role:"tooltip",children:o||r})})]})})});NN.displayName=mi;var EN="TooltipArrow",qz=y.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Wb(n);return Kz(EN,n).isInside?null:i.jsx(Ym,{...o,...r,ref:t})});qz.displayName=EN;function Xz(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),c=Math.abs(t.left-e.x);switch(Math.min(n,r,o,c)){case c:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Yz(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function $z(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function Gz(e,t){const{x:n,y:r}=e;let o=!1;for(let c=0,u=t.length-1;c<t.length;u=c++){const m=t[c],f=t[u],h=m.x,p=m.y,b=f.x,v=f.y;p>r!=v>
24r&&n<(b-h)*(r-p)/(v-p)+h&&(o=!o)}return o}function Zz(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Qz(t)}function Qz(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const c=t[t.length-1],u=t[t.length-2];if((c.x-u.x)*(o.y-u.y)>=(c.y-u.y)*(o.x-u.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const c=n[n.length-1],u=n[n.length-2];if((c.x-u.x)*(o.y-u.y)>=(c.y-u.y)*(o.x-u.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Jz=wN,eL=CN,jN=NN;const tL=Jz,nL=y.forwardRef(({className:e,sideOffset:t=4,...n},r)=>i.jsx(eL,{children:i.jsx(jN,{ref:r,sideOffset:t,className:ce("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...n})}));nL.displayName=jN.displayName;const RN=Date.parse("2026-09-25T00:00:00+07:00"),MN=Date.parse("2026-10-11T00:00:00+07:00"),AN={"eirmai-mrd-105t":6790,"eirmai-mrd-188t":9990,"eirmai-mrd-268t":16990,"eirmai-mrd-55t":3590,"eirmai-r4":3590,"eirmai-r9":7190};function Za(e){return Object.hasOwn(AN,e)}function ON(e=Date.now()){return e<RN?0:e<MN?1:2}function TN(e,t,n=Date.now()){const r=AN[e];return ON(n)===1&&r!==void 0&&r<t?r:t}const rL="/assets/Canon_EOS_R50_Body-DcQbI0Q1.png",aL="/assets/Canon_EOS_R8_Body-CIjfKuVl.png",PN="/assets/Sony_A7_IV_Body-CgHxI7Ny.png",sL="/assets/canon-eos-r6ii-body-CM6-8nDB.png",oL="/assets/Fujifilm_X100VI-BRH9GFdq.png",iL="/assets/Sony_A9_III-DqtFeAEZ.png",lL="/assets/Canon_EOS_R5_Mark_II-lXhpe9jm.png",cL="/assets/Nikon_Z6_III-CN1ZVWCF.png",uL="/assets/Sony_ZV-E10_II-vZtMIMm9.png",dL="/assets/p13-BnHJSnhq.png",mL="/assets/Fujifilm_X-T50-CkqmZjjT.png",fL="/assets/Fujifilm_X-M5-DpZySiJn.png",hL="/assets/Nikon_Z50_II-BWJ2-4g_.png",pL="/assets/Nikon_Z5_II--jpXAUBu.png",gL="/assets/Canon_EOS_R50_V-D6GfDsLt.png",bL="/assets/Fujifilm_X-E5-DdNKVkyA.png",yL="/assets/Canon_EOS_R6_Mark_III-CBHrfpL_.png",xL="/assets/Sony_A1_II-BweBeWJ-.png",vL="/assets/Canon_RF_50mm_f1.8_STM-CyFY07xZ.png",wL="/assets/Canon_RF_24-50mm_f4.5-6.3_IS_STM-BmOulQhl.png",SL="/assets/canon-eos-r10-w-rf18-45-CP8KvQva.png",CL="/assets/Canon_RF_24-105mm_f4-7.1_IS_STM-B31JPsc4.png",NL="/assets/Canon_RF_35mm_f1.8_Macro_IS_STM-8wKYcWNo.png",kL="/assets/Canon_RF_100mm_f2.8L_Macro_IS_USM-Eku384Oo.png",EL="/assets/Canon_RF_24-105mm_f4L_IS_USM-DgCQ8xem.png",DN="/assets/Canon_RF_50mm_f1.2_L_USM-deCP9xJX.png",jL="/assets/Canon_RF_24-70mm_f2.8_L_IS_USM-C-D-tIl_.png",RL="/assets/Canon_RF_15-35mm_f2.8_L_IS_USM-dFXm6ve9.png",ML="/assets/Canon_RF_70-200mm_f2.8_L_IS_USM-CUj4gkPx.png",AL="/assets/Canon_RF_85mm_f1.2_L_USM-5jbZ0K5s.png",OL="/assets/Nikon_Z_85mm_f1.8_S-C_yC_CGB.png",TL="/assets/Nikon_Z_24-70mm_f2.8_S-B8QgLd2x.png",PL="/assets/Nikon_Z_70-200mm_f2.8_VR_S-DZqCzJBg.png",DL="/assets/Sony_FE_28-70mm_f3.5-5.6_OSS-AgolSy2K.png",_L="/assets/Sony_E_PZ_16-50mm_f3.5-5.6_OSS-DAi2xZpW.png",IL="/assets/Sony_FE_90mm_f2.8_Macro_G_OSS-DiiWsRpy.png",FL="/assets/Sony_FE_35mm_f1.4_GM-CIpfB9rt.png",zL="/assets/Sony_FE_24-70mm_f2.8_GM-CHFokurv.png",LL="/assets/Sony_FE_16-35mm_f2.8_GM-Ds2cESZc.png",UL="/assets/Sony_FE_70-200mm_f2.8_GM_OSS-B5YDfrv8.png",VL=[{id:"canon-powershot-sx740-hs",name:"Canon PowerShot SX740 HS",brand:"Canon",category:"digital-camera",subCategory:"compact-camera",regularPrice:16490,manufacturerWarrantyYears:1,image:"",description:"กล้องคอมแพคท์ซูมไกลที่รวมเลนส์ซูมออปติคอล 40 เท่าและวิดีโอ 4K ไว้ในตัวเครื่องขนาดกะทัดรัด",specValues:{sensor:"CMOS 1/2.3 นิ้ว 20.3 ล้านพิกเซล",lens:"4.3–172.0 มม. (เทียบเท่า 24–960 มม.)",opticalZoom:"40×",video:"4K",connectivity:"Wi‑Fi, Bluetooth"},specs:["CMOS 20.3 ล้านพิกเซล","เลนส์เทียบเท่า 24–960 มม.","ซูมออปติคอล 40×","วิดีโอ 4K","Wi‑Fi และ Bluetooth"],overview:`PowerShot SX740 HS ใช้เซนเซอร์ CMOS ความละเอียดประมาณ 20.3 ล้านพิกเซลและเลนส์เทียบเท่า 24–960 มม. เพื่อครอบคลุมตั้งแต่มุมกว้างถึงเทเลโฟโต้
25
26กล้องรองรับการบันทึกวิดีโอ 4K, ถ่ายภาพต่อเนื่องความเร็วสูง และเชื่อมต่อผ่าน Wi‑Fi กับ Bluetooth ตามข้อมูลผลิตภัณฑ์ของ Canon`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/powershot-sx740-hs/"},{id:"canon-speedlite-el-1-ver-2",name:"Canon SPEEDLITE EL-1 (Ver.2)",brand:"Canon",category:"flash-light",subCategory:"strobe-light",regularPrice:44900,manufacturerWarrantyYears:1,image:"",description:"แฟลชระดับมืออาชีพสำหรับกล้อง EOS R ที่ใช้แบตเตอรี่ลิเธียมไอออน LP‑EL และมีโครงสร้างทนสภาพอากาศ",specValues:{gn:"60 (ISO 100, เมตร)",zoomHead:"14–200 มม.",wireless:"วิทยุและออปติคอล",powerSource:"แบตเตอรี่ลิเธียมไอออน LP‑EL",weather:"กันฝุ่นและละอองน้ำ"},specs:["เลขนำแสงสูงสุด 60 (ISO 100, ม.)","หัวซูม 14–200 มม.","ใช้แบตเตอรี่ LP‑EL","ควบคุมไร้สายแบบวิทยุ/ออปติคอล","โครงสร้างกันฝุ่นและละอองน้ำ"],overview:`SPEEDLITE EL‑1 (Ver.2) ให้เลขนำแสงสูงสุด 60 (ISO 100, เมตร) และใช้หัวแฟลชซูมครอบคลุมทางยาวโฟกัส 14–200 มม.
27
28Canon ระบุการใช้แบตเตอรี่ LP‑EL เพื่อการชาร์จซ้ำเร็วและการทำงานต่อเนื่อง พร้อมระบบไร้สายแบบวิทยุและออปติคอล`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/shop/p/speedlite-el-1-v2"},{id:"canon-cp1500",name:"Canon SELPHY CP1500",brand:"Canon",category:"printer",subCategory:"dye-sub-printer",regularPrice:6666,manufacturerWarrantyYears:1,image:"",description:"เครื่องพิมพ์ภาพถ่ายขนาดกะทัดรัดระบบย้อมสีระเหิดที่พิมพ์ภาพขนาดโปสการ์ดได้",specValues:{system:"Dye-sublimation",printSize:"ขนาดโปสการ์ดและขนาดเล็ก",speed:"โปสการ์ดประมาณ 41 วินาที",connectivity:"Wi‑Fi, USB‑C",lcd:"LCD 3.5 นิ้ว"},specs:["ระบบพิมพ์ Dye-sublimation","พิมพ์ภาพขนาดโปสการ์ด","พิมพ์โปสการ์ดประมาณ 41 วินาที","Wi‑Fi และ USB‑C","จอ LCD 3.5 นิ้ว"],overview:`SELPHY CP1500 ใช้ระบบพิมพ์แบบ dye-sublimation และรองรับงานพิมพ์ขนาดโปสการ์ด, การ์ด และสติกเกอร์แบบเลือกได้ตามชนิดกระดาษ Canon
29
30เชื่อมต่อจากสมาร์ตโฟนหรืออุปกรณ์อื่นผ่าน Wi‑Fi และ USB‑C ได้ โดย Canon ระบุความเร็วพิมพ์ภาพขนาดโปสการ์ดประมาณ 41 วินาที`,overviewSource:"Canon Europe — https://www.canon-europe.com/printers/selphy-cp1500/"},{id:"canon-qx20",name:"Canon SELPHY QX20",brand:"Canon",category:"printer",subCategory:"dye-sub-printer",regularPrice:5222,manufacturerWarrantyYears:1,image:"",description:"เครื่องพิมพ์ภาพพกพาระบบย้อมสีระเหิดที่พิมพ์ภาพแบบมีแถบกาวด้านหลังได้สองขนาด",specValues:{system:"Dye-sublimation",printSize:"ขนาดบัตรเครดิตและสี่เหลี่ยมจัตุรัส",media:"กระดาษภาพถ่ายแบบมีกาวด้านหลัง",connectivity:"Wi‑Fi",battery:"แบตเตอรี่ในตัว"},specs:["ระบบพิมพ์ Dye-sublimation","รองรับกระดาษขนาดบัตรเครดิต","รองรับกระดาษสี่เหลี่ยมจัตุรัส","ภาพพิมพ์มีแผ่นกาวด้านหลัง","เชื่อมต่อ Wi‑Fi"],overview:`SELPHY QX20 รองรับกระดาษภาพถ่ายแบบมีแผ่นกาวด้านหลังในขนาดบัตร เครดิตและขนาดสี่เหลี่ยมจัตุรัส เพื่อทำภาพพิมพ์สำหรับเก็บหรือแบ่งปัน
31
32เครื่องใช้การพิมพ์แบบ dye-sublimation และเชื่อมต่อกับอุปกรณ์พกพาด้วย Wi‑Fi ผ่านแอป SELPHY Photo Layout ของ Canon`,overviewSource:"Canon Europe — https://www.canon-europe.com/printers/selphy-qx20/"},{id:"canon-powershot-golf",name:"Canon PowerShot GOLF",brand:"Canon",category:"digital-camera",subCategory:"compact-camera",regularPrice:11990,manufacturerWarrantyYears:1,image:"",description:"กล้องวัดระยะกอล์ฟดิà¸
32ˆà¸´à¸—ัลพร้อมกล้องบันทึกภาพนิ่งและวิดีโอในตัว",specValues:{resolution:"11MP",video:"Full HD",opticalZoom:"6×",stabilization:"Optical Image Stabilizer",waterproof:"IPX4",charging:"USB-C"},specs:["วัดระยะประมาณ 6.4–732 เมตร","กำลังขยายออปติคอล 6×","ภาพนิ่ง 11MP และวิดีโอ Full HD","Optical Image Stabilizer","มาตรฐานกันน้ำ IPX4","ชาร์จผ่าน USB-C"],overview:`PowerShot GOLF วัดระยะได้ประมาณ 6.4–732 เมตร พร้อม Pin-lock, การสั่นยืนยันการวัด และ Slope Mode ที่ปิดได้สำหรับการแข่งขัน
33
34ตามสเปก Canon รุ่นนี้มีกำลังขยายออปติคอล 6 เท่า ระบบกันสั่น บันทึกภาพนิ่ง 11MP และวิดีโอ Full HD พร้อมตัวเครื่องมาตรฐาน IPX4`,overviewSource:"Canon Europe — https://www.canon-europe.com/golf-rangefinders/powershot-golf-rangefinder/specifications/"},{id:"canon-powershot-v1",name:"Canon PowerShot V1",brand:"Canon",category:"digital-camera",subCategory:"compact-camera",regularPrice:31990,manufacturerWarrantyYears:1,image:"",description:"กล้องคอมแพคท์สำหรับครีเอเตอร์ที่ใช้เซนเซอร์ขนาดใหญ่และบันทึกวิดีโอ 4K 60p ได้",specValues:{sensor:"CMOS 1.4 นิ้ว 22.3 ล้านพิกเซล",lens:"เทียบเท่า 16–50 มม. (วิดีโอ)",af:"Dual Pixel CMOS AF II",video:"4K 60p",connectivity:"Wi‑Fi, Bluetooth"},specs:["CMOS 1.4 นิ้ว 22.3 ล้านพิกเซล","เลนส์เทียบเท่า 16–50 มม. สำหรับวิดีโอ","วิดีโอ 4K 60p","Dual Pixel CMOS AF II","พัดลมระบายความร้อนในตัว"],overview:`PowerShot V1 ใช้เซนเซอร์ CMOS แบบ 1.4 นิ้ว ความละเอียดประมาณ 22.3 ล้านพิกเซล และเลนส์เทียบเท่า 16–50 มม. สำหรับวิดีโอ
35
36Canon ระบุการบันทึก 4K 60p, ระบบโฟกัส Dual Pixel CMOS AF II และพัดลมระบายความร้อนในตัวเพื่อรองรับการบันทึกที่ยาวนานขึ้น`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/powershot-v1/"},{id:"canon-powershot-g7x-mark-iii",name:"Canon PowerShot G7 X Mark III",brand:"Canon",category:"digital-camera",subCategory:"compact-camera",regularPrice:34900,manufacturerWarrantyYears:1,image:"",description:"กล้องคอมแพคท์เซนเซอร์ 1 นิ้วที่มีเลนส์ซูมสว่าง 24–100 มม. และรองรับวิดีโอ 4K",specValues:{sensor:"CMOS 1 นิ้ว 20.1 ล้านพิกเซล",lens:"8.8–36.8 มม. f/1.8–2.8 (เทียบเท่า 24–100 มม.)",opticalZoom:"4.2×",burst:"สูงสุด 20 fps",video:"4K"},specs:["CMOS 1 นิ้ว 20.1 ล้านพิกเซล","เลนส์ 24–100 มม. f/1.8–2.8","วิดีโอ 4K","ถ่ายต่อเนื่องสูงสุด 20 fps","จอสัมผัสปรับเอียงได้"],overview:`PowerShot G7 X Mark III ใช้เซนเซอร์ CMOS แบบ 1 นิ้ว ความละเอียดประมาณ 20.1 ล้านพิกเซล พร้อมเลนส์เทียบเท่า 24–100 มม. f/1.8–2.8
37
38กล้องบันทึกวิดีโอ 4K, ถ่ายต่อเนื่องได้สูงสุด 20 ภาพต่อวินาที และมีจอสัมผัสปรับเอียงได้ตามข้อมูล Canon`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/powershot-g7-x-mark-iii/"},{id:"canon-powershot-v10",name:"Canon PowerShot V10",brand:"Canon",category:"digital-camera",subCategory:"compact-camera",regularPrice:15990,manufacturerWarrantyYears:1,image:"",description:"กล้องวล็อกแบบพกพาที่มีขาตั้งในตัว เลนส์มุมกว้าง และบันทึกวิดีโอ 4K ได้",specValues:{sensor:"CMOS 1 นิ้ว 15.2 ล้านพิกเซล",lens:"เทียบเท่า 19 มม. (วิดีโอ)",video:"4K",mic:"ไมโครโฟนสเตอริโอในตัว",connectivity:"Wi‑Fi, Bluetooth"},specs:["CMOS 1 นิ้ว 15.2 ล้านพิกเซล","เลนส์เทียบเท่า 19 มม. สำหรับวิดีโอ","วิดีโอ 4K","ขาตั้งพับได้ในตัว","ไมโครโฟนสเตอริโอในตัว"],overview:`PowerShot V10 ใช้เซนเซอร์ CMOS ขนาด 1 นิ้ว ความละเอียดประมาณ 15.2 ล้านพิกเซล และเลนส์มุมกว้างเทียบเท่า 19 มม. สำหรับวิดีโอ
39
40Canon ติดตั้งขาตั้งพับได้ในตัว ไมโครโฟนสเตอริโอ และรองรับการบันทึก 4K เพื่อให้เหมาะกับการสร้างวล็อกแบบถือถ่าย`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/powershot-v10/"},{id:"canon-rf-s55-210mm-f-5-7-1-is-stm",name:"Canon RF-S55-210mm F5-7.1 IS STM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:13890,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ RF-S ขนาดกะทัดรัดพร้อมระบบ IS และมอเตอร์ STM",specValues:{focalLength:"55-210mm",maxAperture:"f/5-7.1",is:"สูงสุด 4.5 สต็อป",af:"STM",mount:"rf",weight:"ประมาณ 270 กรัม"},specs:["ทางยาวโฟกัส 55–210 มม.","รูรับแสง f/5–7.1","IS สูงสุด 4.5 สต็อป","STM","น้ำหนักประมาณ 270 กรัม"],overview:`เลนส์สำหรับกล้อง EOS R ระบบ APS-C ครอบคลุมระยะเทเลโฟโต้ 55–210 มม. เพื่อถ่ายวัตถุระยะไกล
41
42ระบบป้องกันภาพสั่นไหวและการขับเคลื่อนโฟกัส STM ช่วยให้ใช้งานถ่ายภาพและวิดีโอได้คล่องตัว.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf-s55-210mm-f5-7-1-is-stm"},{id:"canon-rf-s10-18mm-f-4-5-6-3-is-stm",name:"Canon RF-S10-18mm F4.5-6.3 IS STM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:13790,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอัลตร้าไวด์ RF-S น้ำหนักเบาพร้อม IS และ STM",specValues:{focalLength:"10-18mm",maxAperture:"f/4.5-6.3",minFocus:"0.086m",is:"สูงสุด 4 สต็อป",af:"STM",mount:"rf",weight:"ประมาณ 150 กรัม"},specs:["ทางยาวโฟกัส 10–18 มม.","รูรับแสง f/4.5–6.3","IS สูงสุด 4 สต็อป","โฟกัสใกล้สุด 0.086 ม.","น้ำหนักประมาณ 150 กรัม"],overview:`เลนส์นี้ให้มุมมอง 10–18 มม. สำหรับกล้อง EOS R ระบบ APS-C และออกแบบให้พกพาได้สะดวก
43
44มีระบบป้องกันภาพสั่นไหวแบบออปติคอลและมอเตอร์ STM สำหรับการโฟกัสที่ราบรื่น.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf-s10-18mm-f4-5-6-3-is-stm"},{id:"canon-rf-16mm-f-2-8-stm",name:"Canon RF16mm F2.8 STM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:11900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มุมกว้าง 16 มม. f/2.8 ขนาดกะทัดรัดสำหรับเมาท์ RF",specValues:{focalLength:"16mm",maxAperture:"f/2.8",minFocus:"0.13m",filterSize:"43mm",af:"STM",mount:"rf",weight:"ประมาณ 165 กรัม"},specs:["16 มม.","f/2.8","STM","โฟกัสใกล้สุด 0.13 ม.","ฟิลเตอร์ 43 มม.","น้ำหนักประมาณ 165 กรัม"],overview:`RF16mm F2.8 STM เป็นเลนส์มุมกว้างน้ำหนักเบาสำหรับกล้อง EOS R ฟูลเฟรม
45
46มอเตอร์ STM รองรับการโฟกัสอัตโนมัติที่นุ่มนวล และมีระยะโฟกัสใกล้สุด 0.13 เมตร.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf16mm-f2-8-stm"},{id:"canon-rf-24mm-f-1-8-macro-is-stm",name:"Canon RF24mm F1.8 MACRO IS STM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:24390,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มุมกว้าง f/1.8 พร้อมมาโครและระบบกันสั่นแบบออปติคอล",specValues:{focalLength:"24mm",maxAperture:"f/1.8",magnification:"0.5x",is:"สูงสุด 5 สต็อป",af:"STM",mount:"rf",weight:"ประมาณ 270 กรัม"},specs:["24 มม.","f/1.8","กำลังขยาย 0.5×","IS สูงสุด 5 สต็อป","STM","น้ำหนักประมาณ 270 กรัม"],overview:`เลนส์ 24 มม. นี้มีรูรับแสงกว้าง f/1.8 และกำลังขยายสูงสุด 0.5 เท่า สำหรับการถ่ายใกล้
47
48ระบบ IS ในเลนส์และ STM ช่วยรองรับการถ่ายแบบถือกล้องและวิดีโอ.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf24mm-f
481-8-macro-is-stm"},{id:"canon-rf-28mm-f-2-8-stm",name:"Canon RF28mm F2.8 STM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:11900,manufacturerWarrantyYears:1,image:"",description:"เลนส์แพนเค้ก RF 28 มม. f/2.8 ที่บางและเบา",specValues:{focalLength:"28mm",maxAperture:"f/2.8",minFocus:"0.23m",filterSize:"55mm",af:"STM",mount:"rf",weight:"ประมาณ 120 กรัม"},specs:["28 มม.","f/2.8","STM","โฟกัสใกล้สุด 0.23 ม.","ฟิลเตอร์ 55 มม.","น้ำหนักประมาณ 120 กรัม"],overview:`RF28mm F2.8 STM เป็นเลนส์ไพรม์ฟูลเฟรมแบบแพนเค้กที่มีความยาวเพียง 24.7 มม.
49
50ใช้มอเตอร์ STM และโฟกัสได้ใกล้สุด 0.23 เมตร เหมาะกับชุดกล้องขนาดกะทัดรัด.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf28mm-f2-8-stm"},{id:"canon-rf-45mm-f-1-2-stm",name:"Canon RF45mm F1.2 STM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:15390,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มาตรฐาน RF รูรับแสง f/1.2 พร้อมมอเตอร์ STM",specValues:{focalLength:"45mm",maxAperture:"f/1.2",af:"STM",mount:"rf"},specs:["45 มม.","f/1.2","STM","เมาท์ Canon RF"],overview:`Canon เปิดตัว RF45mm F1.2 STM เป็นเลนส์ไพรม์รูรับแสงกว้างสำหรับระบบ EOS R
51
52ระยะ 45 มม. ให้มุมมองมาตรฐาน ขณะที่ STM รองรับการขับเคลื่อนโฟกัสอัตโนมัติ.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf45mm-f1-2-stm"},{id:"canon-rf-50mm-f-1-8-stm",name:"Canon RF50mm F1.8 STM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:7990,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์ RF 50 มม. f/1.8 ที่กะทัดรัดและใช้มอเตอร์ STM",specValues:{focalLength:"50mm",maxAperture:"f/1.8",minFocus:"0.30m",filterSize:"43mm",af:"STM",mount:"rf",weight:"ประมาณ 160 กรัม"},specs:["50 มม.","f/1.8","STM","โฟกัสใกล้สุด 0.30 ม.","ฟิลเตอร์ 43 มม.","น้ำหนักประมาณ 160 กรัม"],overview:`RF50mm F1.8 STM เป็นเลนส์มาตรฐานรูรับแสงกว้างสำหรับกล้อง EOS R ฟูลเฟรม
53
54โฟกัสได้ใกล้สุด 0.30 เมตร และใช้ฟิลเตอร์ขนาด 43 มม. ในตัวเลนส์น้ำหนักเบา.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/shop/p/rf50mm-f1-8-stm"},{id:"canon-rf24-50mm-f-4-5-6-3-is-stm",name:"Canon RF24-50mm F4.5-6.3 IS STM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:12390,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐานฟูลเฟรมขนาดกะทัดรัดพร้อม IS และ STM",specValues:{focalLength:"24-50mm",maxAperture:"f/4.5-6.3",is:"สูงสุด 4.5 สต็อป",af:"STM",mount:"rf",weight:"ประมาณ 210 กรัม"},specs:["ทางยาวโฟกัส 24–50 มม.","รูรับแสง f/4.5–6.3","IS สูงสุด 4.5 สต็อป","STM","น้ำหนักประมาณ 210 กรัม"],overview:`เลนส์ซูม RF24-50mm ครอบคลุมมุมกว้างถึงระยะมาตรฐานในตัวเลนส์แบบหดเก็บได้
55
56มีระบบ IS แบบออปติคอลและมอเตอร์ STM เพื่อการโฟกัสสำหรับภาพนิ่งและวิดีโอ.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf24-50mm-f4-5-6-3-is-stm"},{id:"canon-rf75-300mm-f-4-5-6",name:"Canon RF75-300mm F4-5.6",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:7990,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ 75–300 มม. สำหรับระบบ Canon RF",specValues:{focalLength:"75-300mm",maxAperture:"f/4-5.6",mount:"rf"},specs:["ทางยาวโฟกัส 75–300 มม.","รูรับแสง f/4–5.6","เมาท์ Canon RF"],overview:`RF75-300mm F4-5.6 ให้ช่วงซูมเทเลโฟโต้สำหรับกล้อง EOS R
57
58การออกแบบรองรับการเข้าถึงวัตถุระยะไกลด้วยเมาท์ RF.`,overviewSource:"Canon Asia — https://asia.canon/en/consumer/rf75-300mm-f4-5-6/product"},{id:"canon-rf14mm-f-1-4l-vcm",name:"Canon RF14mm F1.4 L VCM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:82290,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series อัลตร้าไวด์ 14 มม. f/1.4 พร้อมระบบขับเคลื่อน VCM",specValues:{focalLength:"14mm",maxAperture:"f/1.4",af:"VCM",mount:"rf",weather:"มีการซีลกันฝุ่นและละอองน้ำ"},specs:["14 มม.","f/1.4","VCM","L-series","เมาท์ Canon RF"],overview:`RF14mm F1.4 L VCM เป็นเลนส์ไพรม์มุมกว้างมากในกลุ่ม L-series สำหรับระบบ EOS R
59
60Canon ใช้การขับเคลื่อน VCM เพื่อรองรับการโฟกัสอัตโนมัติของเลนส์รูรับแสงกว้างนี้.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf14mm-f1-4-l-vcm"},{id:"canon-rf20mm-f-1-4l-vcm",name:"Canon RF20mm F1.4 L VCM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:67390,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series มุมกว้าง 20 มม. f/1.4 พร้อม VCM",specValues:{focalLength:"20mm",maxAperture:"f/1.4",af:"VCM",mount:"rf",weather:"มีการซีลกันฝุ่นและละอองน้ำ"},specs:["20 มม.","f/1.4","VCM","L-series","เมาท์ Canon RF"],overview:`RF20mm F1.4 L VCM เป็นเลนส์ไพรม์มุมกว้างรูรับแสง f/1.4 สำหรับกล้อง EOS R
61
62อยู่ในระบบเลนส์ไฮบริด L-series ของ Canon และใช้ VCM สำหรับการโฟกัส.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf20mm-f1-4-l-vcm"}
62,{id:"canon-rf24mm-f1-4-l-vcm",name:"Canon RF24mm F1.4 L VCM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:59390,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series 24 มม. f/1.4 สำหรับงานภาพนิ่งและวิดีโอ พร้อม VCM",specValues:{focalLength:"24mm",maxAperture:"f/1.4",af:"VCM",mount:"rf",weather:"มีการซีลกันฝุ่นและละอองน้ำ"},specs:["24 มม.","f/1.4","VCM","L-series","เมาท์ Canon RF"],overview:`RF24mm F1.4 L VCM เป็นเลนส์ไพรม์มุมกว้าง L-series รูรับแสง f/1.4 สำหรับเมาท์ RF
63
64Canon ระบุการออกแบบแบบไฮบริดและระบบขับเคลื่อน VCM เพื่อรองรับการใช้งานวิดีโอและภาพนิ่ง.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf24mm-f1-4-l-vcm"},{id:"canon-rf-35mm-f-1-4l-vcm",name:"Canon RF35mm F1.4 L VCM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:61890,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series 35 มม. f/1.4 แบบไฮบริดพร้อม VCM",specValues:{focalLength:"35mm",maxAperture:"f/1.4",af:"VCM",mount:"rf",weather:"มีการซีลกันฝุ่นและละอองน้ำ"},specs:["35 มม.","f/1.4","VCM","L-series","เมาท์ Canon RF"],overview:`RF35mm F1.4 L VCM เป็นเลนส์ไพรม์ 35 มม. รูรับแสงกว้างของ Canon สำหรับระบบ EOS R
65
66เลนส์ L-series นี้ใช้ระบบขับเคลื่อน VCM และออกแบบสำหรับการสร้างสรรค์ทั้งภาพนิ่งและวิดีโอ.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf35mm-f1-4-l-vcm"},{id:"canon-rf-35mm-f-1-8-macro-is-stm",name:"Canon RF35mm F1.8 MACRO IS STM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:22190,manufacturerWarrantyYears:1,image:"",description:"เลนส์ 35 มม. f/1.8 พร้อมมาโคร IS และ STM สำหรับเมาท์ RF",specValues:{focalLength:"35mm",maxAperture:"f/1.8",magnification:"0.5x",is:"สูงสุด 5 สต็อป",af:"STM",mount:"rf",weight:"ประมาณ 305 กรัม"},specs:["35 มม.","f/1.8","กำลังขยาย 0.5×","IS สูงสุด 5 สต็อป","STM","น้ำหนักประมาณ 305 กรัม"],overview:`RF35mm F1.8 MACRO IS STM มีรูรับแสง f/1.8 และกำลังขยายสูงสุด 0.5 เท่าในการถ่ายใกล้
67
68ระบบ IS แบบออปติคอลช่วยชดเชยการสั่นไหว และมอเตอร์ STM รองรับการโฟกัส.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf35mm-f1-8-macro-is-stm"},{id:"canon-rf-50mm-f1-4-l-vcm",name:"Canon RF50mm F1.4 L VCM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:53490,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series 50 มม. f/1.4 แบบไฮบริดพร้อม VCM",specValues:{focalLength:"50mm",maxAperture:"f/1.4",af:"VCM",mount:"rf",weather:"มีการซีลกันฝุ่นและละอองน้ำ"},specs:["50 มม.","f/1.4","VCM","L-series","เมาท์ Canon RF"],overview:`RF50mm F1.4 L VCM เป็นเลนส์ไพรม์มาตรฐาน f/1.4 ในระบบ RF ของ Canon
69
70การออกแบบ L-series แบบไฮบริดและมอเตอร์ VCM มุ่งรองรับงานภาพนิ่งและวิดีโอ.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf50mm-f1-4-l-vcm"},{id:"canon-rf85mm-f-1-4l-vcm",name:"Canon RF85mm F1.4 L VCM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:57590,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series 85 มม. f/1.4 สำหรับงานไฮบริดพร้อม VCM",specValues:{focalLength:"85mm",maxAperture:"f/1.4",af:"VCM",mount:"rf",weather:"มีการซีลกันฝุ่นและละอองน้ำ"},specs:["85 มม.","f/1.4","VCM","L-series","เมาท์ Canon RF"],overview:`RF85mm F1.4 L VCM เป็นเลนส์ไพรม์เทเลโฟโต้ระยะกลางรูรับแสง f/1.4 สำหรับระบบ EOS R
71
72Canon วางเลนส์ L-series รุ่นนี้สำหรับการทำงานภาพนิ่งและวิดีโอ โดยใช้การขับเคลื่อน VCM.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf85mm-f1-4-l-vcm"},{id:"canon-rf-85mm-f-1-2l-usm",name:"Canon RF85mm F1.2 L USM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:112800,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series 85 มม. f/1.2 พร้อม USM สำหรับเมาท์ RF",specValues:{focalLength:"85mm",maxAperture:"f/1.2",filterSize:"82mm",af:"USM",mount:"rf",weight:"ประมาณ 1,195 กรัม"},specs:["85 มม.","f/1.2","USM","L-series","ฟิลเตอร์ 82 มม.","น้ำหนักประมาณ 1,195 กรัม"],overview:`RF85mm F1.2 L USM เป็นเลนส์ไพรม์เทเลโฟโต้ระยะกลางรูรับแสงกว้างมากสำหรับ EOS R
73
74ใช้มอเตอร์ USM และรองรับฟิลเตอร์ขนาด 82 มม. ในโครงสร้าง L-series.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf85mm-f1-2-l-usm"},{id:"canon-rf-85mm-f-2-macro-is-stm",name:"Canon RF85mm F2 MACRO IS STM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:20390,manufacturerWarrantyYears:1,image:"",description:"เลนส์ 85 มม. f/2 พร้อมมาโคร IS และ STM",specValues:{focalLength:"85mm",maxAperture:"f/2",magnification:"0.5x",is:"สูงสุด 5 สต็อป",af:"STM",mount:"rf",weight:"ประมาณ 500 กรัม"},specs:["85 มม.","f/2","กำลังขยาย 0.5×","IS สูงสุด 5 สต็อป","STM","น้ำหนักประมาณ 500 กรัม"],overview:`RF85mm F2 MACRO IS STM เป็นเลนส์เทเลโฟโต้ระยะกลางที่มีกำลังขยายสูงสุด 0.5 เท่า
75
76มีระบบ IS แบบออปติคอลและมอเตอร์ STM สำหรับกล้อง EOS R.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf85mm-f2-macro-is-stm"},{id:"canon-rf-85mm-f-1-2l-usm-ds",name:"Canon RF85mm F1.2 L USM DS",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:124190,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series 85 มม. f/1.2 พร้อมเคลือบ Defocus Smoothing และ USM",specValues:{focalLength:"85mm",maxAperture:"f/1.2",filterSize:"82mm",af:"USM",mount:"rf"},specs:["85 มม.","f/1.2","Defocus Smoothing","USM","L-series","ฟิลเตอร์ 82 มม."],overview:`RF85mm F1.2 L USM DS ใช้เทคโนโลยี Defocus Smoothing ของ Canon เพื่อให้ลักษณะโบเก้ที่นุ่มนวล
77
78เป็นเลนส์ RF L-series รูรับแสง f/1.2 ที่ขับเคลื่อนโฟกัสด้วย USM.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf85mm-f1-2-l-usm-ds"},{id:"canon-rf-100mm-f-2-8l-macro-is-usm",name:"Canon RF100mm F2.8 L MACRO IS USM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:46890,manufacturerWarrantyYears:1,image:"",description:"เลนส์มาโคร L-series 100 มม. f/2.8 พร้อม IS และ USM",specValues:{focalLength:"100mm",maxAperture:"f/2.8",magnification:"1.4x",is:"สูงสุด 5 สต็อป",af:"USM",mount:"rf",weight:"ประมาณ 730 กรัม"},specs:["100 มม.","f/2.8","กำลังขยาย 1.4×","IS สูงสุด 5 สต็อป","USM","น้ำหนักประมาณ 730 กรัม"],overview:`RF100mm F2.8 L MACRO IS USM ให้กำลังขยายสูงสุด 1.4 เท่า และมีวงแหวนควบคุมความคลาดทรงกลม
79
80ระบบ IS แบบออปติคอลและมอเตอร์ USM อยู่ในเลนส์มาโคร L-series สำหรับ EOS R.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf100mm-f2-8-l-macro-is-usm"},{id:"canon-rf-135mm-f-1-8l-is-usm",name:"Canon RF135mm F1.8 L IS USM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:82700,manufacturerWarrantyYears:1,image:"",description:"เลนส์ L-series 135 มม. f/1.8 พร้อม IS และ USM",specValues:{focalLength:"135mm",maxAperture:"f/1.8",is:"สูงสุด 5.5 สต็อป",af:"USM",mount:"rf",weight:"ประมาณ 935 กรัม"},specs:["135 มม.","f/1.8","IS สูงสุด 5.5 สต็อป","USM","L-series","น้ำหนักประมาณ 935 กรัม"],overview:`RF135mm F1.8 L IS USM เป็นเลนส์ไพรม์เทเลโฟโต้ L-series รูรับแสงกว้างสำหรับระบบ EOS R
81
82มีระบบป้องกันภาพสั่นไหวแบบออปติคอลและมอเตอร์ USM ในเลนส์ระยะ 135 มม.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf135mm-f1-8-l-is-usm"},{id:"canon-rf7-14mm-f-2-8-3-5l-fisheye-stm",name:"Canon RF 7-14mm F2.8-3.5 L FISHEYE STM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:56790,manufacturerWarrantyYears:1,image:"",description:"เลนส์ฟิชอายซูม L-series ให้มุมรับภาพสูงสุด 190° สำหรับภาพวงกลมและฟูลเฟรม",specValues:{focalLength:"7-14mm",maxAperture:"f/2.8-3.5",fov:"สูงสุด 190°",minFocus:"0.15m",filterSize:"Drop-in filter",af:"STM",mount:"rf",weight:"ประมาณ 476 กรัม"},specs:["ทางยาวโฟกัส 7–14 มม.","รูรับแสง f/2.8–3.5","มุมรับภาพสูงสุด 190°","โฟกัสใกล้สุด 0.15 ม.","ระบบฟิลเตอร์แบบ Drop-in","น้ำหนักประมาณ 476 กรัม"],overview:`RF7-14mm F2.8-3.5 L FISHEYE STM ให้ทั้งภาพฟิชอายวงกลมที่ 7 มม. และภาพฟิชอายเต็มเฟรมที่ 14 มม. ในเลนส์เดียว
83
84Canon ระบุรูรับแสง f/2.8-3.5 ระยะโฟกัสใกล้สุด 0.15 เมตร ระบบฟิลเตอร์แบบ drop-in และน้ำหนักประมาณ 476 กรัม`,overviewSource:"Canon Europe — https://www.canon-europe.com/lenses/rf-7-14mm-f2-8-3-5l-fisheye-stm/specifications/"},{id:"canon-rf-10-20mm-f-4-l-is-stm",name:"Canon RF10-20mm F4 L IS STM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:94600,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอัลตร้าไวด์ซีรีส์ L สำหรับกล้อง EOS R พร้อมระบบป้องกันภาพสั่นไหวแบบออปติคัล",specValues:{focalLength:"10-20mm",maxAperture:"f/4",af:"STM",is:"Optical IS",mount:"rf"},specs:["ระยะโฟกัส 10-20 มม.","รูรับแสงสูงสุด f/4","Optical IS","มอเตอร์ STM","เมาท์ Canon RF"],overview:`Canon ระบุว่า RF10-20mm F4 L IS STM เป็นเลนส์ซูมอัลตร้าไวด์ที่กะทัดรัดสำหรับระบบ EOS R และให้มุมรับภาพกว้างมาก
85
86เลนส์ใช้มอเตอร์ STM และมี Optical IS เพื่อช่วยลดการสั่นไหวขณะถ่ายภาพหรือวิดีโอ`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf10-20mm-f4-l-is-stm"},{id:"canon-rf-14-35mm-f-4l-is-usm",name:"Canon RF14-35mm F4 L IS USM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:58200,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมุมกว้างซีรีส์ L รูรับแสงคงที่ f/4 พร้อมระบบกันสั่นและมอเตอร์ Nano USM",specValues:{focalLength:"14-35mm",maxAperture:"f/4",af:"Nano USM",is:"Optical IS (5.5 stops)",mount:"rf"},specs:["ระยะโฟกัส 14-35 มม.","รูรับแสงสูงสุด f/4","Optical IS สูงสุด 5.5 สต็อป","Nano USM","เมาท์ Canon RF"],overview:`RF14-35mm F4 L IS USM ครอบคลุมตั้งแต่มุมกว้างพิเศษ 14 มม. ถึง 35 มม. ด้วยรูรับแสง f/4 คงที่
87
88Canon ระบุว่าเลนส์มีระบบ Optical IS และระบบขับเคลื่อน Nano USM สำหรับระบบ EOS R`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf14-35mm-f4-l-is-usm"},{id:"canon-rf-15-30mm-f-4-5-6-3-is-stm",name:"Canon RF15-30mm F4.5-6.3 IS STM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:22590,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมุมกว้างสำหรับระบบ EOS R ที่มี Optical IS และมอเตอร์ STM",specValues:{focalLength:"15-30mm",maxAperture:"f/4.5-6.3",af:"STM",is:"Optical IS (5.5 stops)",mount:"rf"},specs:["ระยะโฟกัส 15-30 มม.","รูรับแสง f/4.5-6.3","Optical IS สูงสุด 5.5 สต็อป","มอเตอร์ STM","เมาท์ Canon RF"],overview:`RF15-30mm F4.5-6.3 IS STM เป็นเลนส์ซูมมุมกว้างน้ำหนักเบาของ Canon สำหรับกล้อง EOS R
89
90ช่วงซูม 15-30 มม. ใช้ระบบ Optical IS และมอเตอร์ STM เพื่อการโฟกัส`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf15-30mm-f4-5-6-3-is-stm"},{id:"canon-rf-15-35mm-f-2-8l-is-usm",name:"Canon RF15-35mm F2.8 L IS USM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:86500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมุมกว้างซีรีส์ L รูรับแสงคงที่ f/2.8 พร้อม Optical IS และ Nano USM",specValues:{focalLength:"15-35mm",maxAperture:"f/2.8",af:"Nano USM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 15-35 มม.","รูรับแสงสูงสุด f/2.8","Optical IS สูงสุด 5 สต็อป","Nano USM","เมาท์ Canon RF"],overview:`RF15-35mm F2.8 L IS USM เป็นเลนส์ซูมมุมกว้างระดับมืออาชีพของระบบ EOS R ที่ให้รูรับแสง f/2.8 ตลอดช่วงซูม
91
92Canon ระ
92บุว่ามี Optical IS สูงสุด 5 สต็อป และใช้ระบบโฟกัส Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf15-35mm-f2-8-l-is-usm"},{id:"canon-rf16-28mm-f-2-8-is-stm",name:"Canon RF16-28mm F2.8 IS STM",brand:"Canon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:43900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอัลตร้าไวด์รูรับแสงคงที่ f/2.8 สำหรับระบบ EOS R พร้อม Optical IS และ STM",specValues:{focalLength:"16-28mm",maxAperture:"f/2.8",af:"STM",is:"Optical IS",mount:"rf"},specs:["ระยะโฟกัส 16-28 มม.","รูรับแสงสูงสุด f/2.8","Optical IS","มอเตอร์ STM","เมาท์ Canon RF"],overview:`Canon เปิดตัว RF16-28mm F2.8 IS STM เป็นเลนส์ซูมอัลตร้าไวด์ f/2.8 ที่มีขนาดกะทัดรัดสำหรับระบบ EOS R
93
94เลนส์มีระบบ Optical IS และมอเตอร์ STM สำหรับการโฟกัสอัตโนมัติ`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf16-28mm-f2-8-is-stm"},{id:"canon-rf20-50mm-f-4l-is-usm-pz",name:"Canon RF 20-50mm F4 L IS USM PZ",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:52590,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐาน L-series 20–50 มม. f/4 พร้อม Power Zoom ในตัว",specValues:{focalLength:"20-50mm",maxAperture:"f/4",af:"Dual Nano USM",zoom:"Internal Power Zoom",mount:"rf"},specs:["ทางยาวโฟกัส 20–50 มม.","รูรับแสงคงที่ f/4","Internal Power Zoom","Nano USM สองตัว","สลับ Manual Zoom / Power Zoom","เมาท์ Canon RF"],overview:`RF20-50mm F4 L IS USM PZ เป็นเลนส์ RF ฟูลเฟรมรุ่นแรกของ Canon ที่ใช้การซูมภายในและมี Power Zoom ในตัว
95
96เลนส์ให้รูรับแสง f/4 คงที่ตลอดช่วงซูม ใช้มอเตอร์ Nano USM สองตัว และสลับการซูมแบบแมนนวลหรือไฟฟ้าได้`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/shop/p/rf20-50mm-f4-l-is-usm-pz-lens"},{id:"canon-rf-24-70mm-f-2-8l-is-usm",name:"Canon RF24-70mm F2.8 L IS USM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:86500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐานซีรีส์ L f/2.8 พร้อม Optical IS และ Nano USM สำหรับระบบ EOS R",specValues:{focalLength:"24-70mm",maxAperture:"f/2.8",af:"Nano USM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 24-70 มม.","รูรับแสงสูงสุด f/2.8","Optical IS สูงสุด 5 สต็อป","Nano USM","เมาท์ Canon RF"],overview:`RF24-70mm F2.8 L IS USM ให้ช่วงซูมมาตรฐาน 24-70 มม. พร้อมรูรับแสง f/2.8 คงที่
97
98Canon ระบุว่ามี Optical IS สูงสุด 5 สต็อปและระบบโฟกัส Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf24-70mm-f2-8-l-is-usm"},{id:"canon-rf-24-105mm-f-2-8l-is-usm-z",name:"Canon RF24-105mm F2.8 L IS USM Z",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:123500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมซีรีส์ L f/2.8 สำหรับทั้งภาพนิ่งและวิดีโอ พร้อมระบบขับเคลื่อนที่รองรับ Power Zoom Adapter",specValues:{focalLength:"24
98-105mm",maxAperture:"f/2.8",af:"Nano USM",is:"Optical IS",mount:"rf"},specs:["ระยะโฟกัส 24-105 มม.","รูรับแสงสูงสุด f/2.8","Optical IS","Nano USM","รองรับ Power Zoom Adapter","เมาท์ Canon RF"],overview:`RF24-105mm F2.8 L IS USM Z เป็นเลนส์ซูมมาตรฐานรูรับแสง f/2.8 คงที่ที่ Canon ออกแบบให้รองรับงานภาพนิ่งและงานวิดีโอ
99
100Canon ระบุว่าเลนส์รองรับอุปกรณ์เสริม Power Zoom Adapter และมี Optical IS กับ Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf24-105mm-f2-8-l-is-usm-z"},{id:"canon-rf-24-105mm-f-4l-is-usm",name:"Canon RF24-105mm F4 L IS USM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:51600,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมซีรีส์ L 24-105 มม. รูรับแสงคงที่ f/4 พร้อม Optical IS และ Nano USM",specValues:{focalLength:"24-105mm",maxAperture:"f/4",af:"Nano USM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 24-105 มม.","รูรับแสงสูงสุด f/4","Optical IS สูงสุด 5 สต็อป","Nano USM","เมาท์ Canon RF"],overview:`RF24-105mm F4 L IS USM ครอบคลุมช่วงมุมกว้างถึงเทเลโฟโต้ระยะกลางด้วยรูรับแสง f/4 คงที่
101
102เลนส์สำหรับระบบ EOS R นี้ใช้ Optical IS และระบบโฟกัส Nano USM ตามข้อมูล Canon`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf24-105mm-f4-l-is-usm"},{id:"canon-rf-24-105mm-f-4-7-1-is-stm",name:"Canon RF24-105mm F4-7.1 IS STM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:17100,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอเนกประสงค์ขนาดกะทัดรัดสำหรับระบบ EOS R พร้อม Optical IS และ STM",specValues:{focalLength:"24-105mm",maxAperture:"f/4-7.1",af:"STM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 24-105 มม.","รูรับแสง f/4-7.1","Optical IS สูงสุด 5 สต็อป","มอเตอร์ STM","เมาท์ Canon RF"],overview:`RF24-105mm F4-7.1 IS STM เป็นเลนส์ซูมอเนกประสงค์ที่ครอบคลุม 24-105 มม. สำหรับกล้อง EOS R
103
104Canon ระบุว่าใช้ Optical IS สูงสุด 5 สต็อปและมอเตอร์ STM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf24-105mm-f4-7-1-is-stm"},{id:"canon-rf-24-240mm-f-4-6-3-is-usm",name:"Canon RF24-240mm F4-6.3 IS USM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:37900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูม 10 เท่าสำหรับระบบ EOS R พร้อม Optical IS และ Nano USM",specValues:{focalLength:"24-240mm",maxAperture:"f/4-6.3",af:"Nano USM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 24-240 มม.","ซูม 10 เท่า","รูรับแสง f/4-6.3","Optical IS สูงสุด 5 สต็อป","Nano USM","เมาท์ Canon RF"],overview:`RF24-240mm F4-6.3 IS USM ให้ช่วงซูม 10 เท่า ตั้งแต่ 24 ถึง 240 มม. สำหรับกล้อง EOS R
105
106Canon ระบุว่ามี Optical IS สูงสุด 5 สต็อปและระบบโฟกัส Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf24-240mm-f4-6-3-is-usm"},{id:"canon-rf-28-70mm-f-2-8-is-stm",name:"Canon RF28-70mm F2.8 IS STM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:43290,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐาน f/2.8 ขนาดกะทัดรัดสำหรับระบบ EOS R พร้อม Optical IS และ STM",specValues:{focalLength:"28-70mm",maxAperture:"f/2.8",af:"STM",is:"Optical IS",mount:"rf"},specs:["ระยะโฟกัส 28-70 มม.","รูรับแสงสูงสุด f/2.8","Optical IS","มอเตอร์ STM","เมาท์ Canon RF"],overview:`RF28-70mm F2.8 IS STM ให้รูรับแสง f/2.8 คงที่ตลอดช่วงซูมมาตรฐานสำหรับระบบ EOS R
107
108Canon ระบุว่าเลนส์มี Optical IS และมอเตอร์ STM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf28-70mm-f2-8-is-stm"},{id:"canon-rf-28-70mm-f-2l-usm",name:"Canon RF28-70mm F2 L USM",brand:"Canon",category:"lenses",subCategory:"standard-lenses",regularPrice:125300,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐานซีรีส์ L ที่ให้รูรับแสง f/2 คงที่สำหรับระบบ EOS R",specValues:{focalLength:"28-70mm",maxAperture:"f/2",af:"USM",mount:"rf"},specs:["ระยะโฟกัส 28-70 มม.","รูรับแสงสูงสุด f/2","มอเตอร์ USM","เมาท์ Canon RF"],overview:`RF28-70mm F2 L USM เป็นเลนส์ซูมของ Canon สำหรับระบบ EOS R ที่ให้รูรับแสง f/2 คงที่ตลอดช่วง 28-70 มม.
109
110Canon ใช้มอเตอร์ USM ในเลนส์ซีรีส์ L รุ่นนี้`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf28-70mm-f2-l-usm"},{id:"canon-rf-70-200mm-f-2-8l-is-usm",name:"Canon RF70-200mm F2.8 L IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:102800,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ซีรีส์ L f/2.8 พร้อม Optical IS และ Dual Nano USM",specValues:{focalLength:"70-200mm",maxAperture:"f/2.8",af:"Dual Nano USM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 70-200 มม.","รูรับแสงสูงสุด f/2.8","Optical IS สูงสุด 5 สต็อป","Dual Nano USM","เมาท์ Canon RF"],overview:`RF70-200mm F2.8 L IS USM ให้รูรับแสง f/2.8 คงที่ในช่วงเทเลโฟโต้สำหรับระบบ EOS R
111
112Canon ระบุว่าเลนส์มี Optical IS สูงสุด 5 สต็อปและระบบ Dual Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf70-200mm-f2-8-l-is-usm"},{id:"canon-rf-70-200mm-f-2-8l-is-usm-z-bk",name:"Canon RF70-200mm F2.8 L IS USM Z (Black)",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:117900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ซีรีส์ L f/2.8 ที่ออกแบบรองรับทั้งการถ่ายภาพนิ่งและวิดีโอ",specValues:{focalLength:"70-200mm",maxAperture:"f/2.8",is:"Optical IS",mount:"rf"},specs:["ระยะโฟกัส 70-200 มม.","รูรับแสงสูงสุด f/2.8","Optical IS","รองรับ Power Zoom Adapter","เมาท์ Canon RF"],overview:`RF70-200mm F2.8 L IS USM Z เป็นเลนส์ซูมเทเลโฟโต้ f/2.8 สำหรับระบบ EOS R ที่ Canon ระบุว่าเหมาะกับการใช้งานทั้งภาพนิ่งและวิดีโอ
113
114เลนส์มี Optical IS และรองรับ Power Zoom Adapter ของ Canon`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf70-200mm-f2-8-l-is-usm-z"},{id:"canon-rf-70-200mm-f-2-8l-is-usm-z-wh",name:"Canon RF70-200mm F2.8 L IS USM Z (White)",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:117900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ซีรีส์ L f/2.8 ที่ออกแบบรองรับทั้งการถ่ายภาพนิ่งและวิดีโอ",specValues:{focalLength:"70-200mm",maxAperture:"f/2.8",is:"Optical IS",mount:"rf"},specs:["ระยะโฟกัส 70-200 มม.","รูรับแสงสูงสุด f/2.8","Optical IS","รองรับ Power Zoom Adapter","เมาท์ Canon RF"],overview:`RF70-200mm F2.8 L IS USM Z เป็นเลนส์ซูมเทเลโฟโต้ f/2.8 สำหรับระบบ EOS R ที่ Canon ระบุว่าเหมาะกับการใช้งานทั้งภาพนิ่งและวิดีโอ
115
116เลนส์มี Optical IS และรองรับ Power Zoom Adapter ของ Canon`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf70-200mm-f2-8-l-is-usm-z"},{id:"canon-rf-70-200mm-f-4l-is-usm",name:"Canon RF70-200mm F4 L IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:70190,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ซีรีส์ L รูรับแสง f/4 พร้อม Optical IS และ Dual Nano USM",specValues:{focalLength:"70-200mm",maxAperture:"f/4",af:"Dual Nano USM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 70-200 มม.","รูรับแสงสูงสุด f/4","Optical IS สูงสุด 5 สต็อป","Dual Nano USM","เมาท์ Canon RF"],overview:`RF70-200mm F4 L IS USM ให้ช่วงซูมเทเลโฟโต้ 70-200 มม. พร้อมรูรับแสง f/4 คงที่สำหรับระบบ EOS R
117
118Canon ระบุว่าเลนส์มี Optical IS สูงสุด 5 สต็อปและ Dual Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf70-200mm-f4-l-is-usm"},{id:"canon-rf-100-400mm-f-5-6-8-is-usm",name:"Canon RF100-400mm F5.6-8 IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:28900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้สำหรับระบบ EOS R พร้อม Optical IS และ Nano USM",specValues:{focalLength:"100-400mm",maxAperture:"f/5.6-8",af:"Nano USM",is:"Optical IS (5.5 stops)",mount:"rf"},specs:["ระยะโฟกัส 100-400 มม.","รูรับแสง f/5.6-8","Optical IS สูงสุด 5.5 สต็อป","Nano USM","เมาท์ Canon RF"],overview:`RF100-400mm F5.6-8 IS USM ครอบคลุมช่วงเทเลโฟโต้ 100-400 มม. สำหรับระบบ EOS R
119
120Canon ระบุว่าเลนส์มี Optical IS สูงสุด 5.5 สต็อปและ Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf100-400mm-f5-6-8-is-usm"},{id:"canon-rf-100-300mm-f-2-8l-is-usm",name:"Canon RF100-300mm F2.8 L IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:382900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ซีรีส์ L ที่ให้รูรับแสง f/2.8 คงที่ พร้อม Optical IS",specValues:{focalLength:"100-300mm",maxAperture:"f/2.8",af:"Dual Nano USM",is:"Optical IS (5.5 stops)",mount:"rf"},specs:["ระยะโฟกัส 100-300 มม.","รูรับแสงสูงสุด f/2.8","Optical IS สูงสุด 5.5 สต็อป","Dual Nano USM","เมาท์ Canon RF"],overview:`RF100-300mm F2.8 L IS USM เป็นเลนส์ซูมเทเลโฟโต้ f/2.8 คงที่ของ Canon สำหรับระบบ EOS R
121
122Canon ระบุว่ามี Optical IS สูงสุด 5.5 สต็อปและระบบโฟกัส Dual Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf100-300mm-f2-8-l-is-usm"},{id:"canon-rf-100-500mm-f-4-5-7-1l-is-usm",name:"Canon RF100-500mm F4.5-7.1 L IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:11499
1220,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมซูเปอร์เทเลโฟโต้ซีรีส์ L พร้อม Optical IS และ Dual Nano USM",specValues:{focalLength:"100-500mm",maxAperture:"f/4.5-7.1",af:"Dual Nano USM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 100-500 มม.","รูรับแสง f/4.5-7.1","Optical IS สูงสุด 5 สต็อป","Dual Nano USM","เมาท์ Canon RF"],overview:`RF100-500mm F4.5-7.1 L IS USM ครอบคลุมช่วงซูเปอร์เทเลโฟโต้ 100-500 มม. สำหรับระบบ EOS R
123
124Canon ระบุว่ามี Optical IS สูงสุด 5 สต็อปและ Dual Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf100-500mm-f4-5-7-1-l-is-usm"},{id:"canon-rf-200-800mm-f-6-3-9-is-usm",name:"Canon RF200-800mm F6.3-9 IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:79290,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมซูเปอร์เทเลโฟโต้ 200-800 มม. พร้อม Optical IS และ Nano USM",specValues:{focalLength:"200-800mm",maxAperture:"f/6.3-9",af:"Nano USM",is:"Optical IS (5.5 stops)",mount:"rf"},specs:["ระยะโฟกัส 200-800 มม.","รูรับแสง f/6.3-9","Optical IS สูงสุด 5.5 สต็อป","Nano USM","เมาท์ Canon RF"],overview:`RF200-800mm F6.3-9 IS USM ให้ช่วงซูมซูเปอร์เทเลโฟโต้ 200-800 มม. สำหรับระบบ EOS R
125
126Canon ระบุว่าเลนส์มี Optical IS สูงสุด 5.5 สต็อปและ Nano USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf200-800mm-f6-3-9-is-usm"},{id:"canon-rf-400mm-f-2-8l-is-usm",name:"Canon RF400mm F2.8 L IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:476390,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ซีรีส์ L 400 มม. f/2.8 พร้อม Optical IS",specValues:{focalLength:"400mm",maxAperture:"f/2.8",af:"USM",is:"Optical IS (5.5 stops)",mount:"rf"},specs:["ระยะโฟกัส 400 มม.","รูรับแสงสูงสุด f/2.8","Optical IS สูงสุด 5.5 สต็อป","มอเตอร์ USM","เมาท์ Canon RF"],overview:`RF400mm F2.8 L IS USM เป็นเลนส์ซูเปอร์เทเลโฟโต้รูรับแสง f/2.8 สำหรับระบบ EOS R
127
128Canon ระบุว่าเลนส์ใช้ Optical IS สูงสุด 5.5 สต็อปและมอเตอร์ USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf400mm-f2-8-l-is-usm"},{id:"canon-rf-600mm-f-4l-is-usm",name:"Canon RF600mm F4 L IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:513690,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ซีรีส์ L 600 มม. f/4 พร้อม Optical IS",specValues:{focalLength:"600mm",maxAperture:"f/4",af:"USM",is:"Optical IS (5.5 stops)",mount:"rf"},specs:["ระยะโฟกัส 600 มม.","รูรับแสงสูงสุด f/4","Optical IS สูงสุด 5.5 สต็อป","มอเตอร์ USM","เมาท์ Canon RF"],overview:`RF600mm F4 L IS USM เป็นเลนส์ซูเปอร์เทเลโฟโต้ 600 มม. รูรับแสง f/4 สำหรับระบบ EOS R
129
130Canon ระบุว่าเลนส์ใช้ Optical IS สูงสุด 5.5 สต็อปและมอเตอร์ USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf600mm-f4-l-is-usm"},{id:"canon-rf-600mm-f-11-is-stm",name:"Canon RF600mm F11 IS STM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:32600,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ 600 มม. f/11 ที่มี Optical IS และมอเตอร์ STM",specValues:{focalLength:"600mm",maxAperture:"f/11",af:"STM",is:"Optical IS (5 stops)",mount:"rf"},specs:["ระยะโฟกัส 600 มม.","รูรับแสง f/11","Optical IS สูงสุด 5 สต็อป","มอเตอร์ STM","เมาท์ Canon RF"],overview:`RF600mm F11 IS STM เป็นเลนส์ซูเปอร์เทเลโฟโต้ขนาดกะทัดรัดสำหรับระบบ EOS R
131
132Canon ระบุว่าเลนส์มี Optical IS สูงสุด 5 สต็อปและมอเตอร์ STM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf600mm-f11-is-stm"},{id:"canon-rf-800mm-f-11-stm",name:"Canon RF800mm F11 IS STM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:39990,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟต้ 800 มม. f/11 ที่มี Optical IS และมอเตอร์ STM",specValues:{focalLength:"800mm",maxAperture:"f/11",af:"STM",is:"Optical IS (4 stops)",mount:"rf"},specs:["ระยะโฟกัส 800 มม.","รูรับแสง f/11","Optical IS สูงสุด 4 สต็อป","มอเตอร์ STM","เมาท์ Canon RF"],overview:`RF800mm F11 IS STM เป็นเลนส์ซูเปอร์เทเลโฟโต้ 800 มม. สำหรับระบบ EOS R
133
134Canon ระบุว่าเลนส์มี Optical IS สูงสุด 4 สต็อปและมอเตอร์ STM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf800mm-f11-is-stm"},{id:"canon-rf-800mm-f-5-6l-is-usm",name:"Canon RF800mm F5.6 L IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:673900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ซีรีส์ L 800 มม. f/5.6 พร้อม Optical IS",specValues:{focalLength:"800mm",maxAperture:"f/5.6",af:"USM",is:"Optical IS (4.5 stops)",mount:"rf"},specs:["ระยะโฟกัส 800 มม.","รูรับแสงสูงสุด f/5.6","Optical IS สูงสุด 4.5 สต็อป","มอเตอร์ USM","เมาท์ Canon RF"],overview:`RF800mm F5.6 L IS USM เป็นเลนส์ซูเปอร์เทเลโฟโต้ 800 มม. รูรับแสง f/5.6 สำหรับระบบ EOS R
135
136Canon ระบุว่าเลนส์มี Optical IS สูงสุด 4.5 สต็อปและมอเตอร์ USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf800mm-f5-6-l-is-usm"},{id:"canon-rf-1200mm-f-8l-is-usm",name:"Canon RF1200mm F8 L IS USM",brand:"Canon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:792900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ซีรีส์ L 1200 มม. f/8 พร้อม Optical IS",specValues:{focalLength:"1200mm",maxAperture:"f/8",af:"USM",is:"Optical IS (4 stops)",mount:"rf"},specs:["ระยะโฟกัส 1200 มม.","รูรับแสงสูงสุด f/8","Optical IS สูงสุด 4 สต็อป","มอเตอร์ USM","เมาท์ Canon RF"],overview:`RF1200mm F8 L IS USM เป็นเลนส์ซูเปอร์เทเลโฟโต้ 1200 มม. รูรับแสง f/8 สำหรับระบบ EOS R
137
138Canon ระบุว่าเลนส์มี Optical IS สูงสุด 4 สต็อปและมอเตอร์ USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/rf1200mm-f8-l-is-usm"},{id:"canon-extender-rf1-4x",name:"Canon EXTENDER RF1.4x",brand:"Canon",category:"lenses-support",subCategory:"lens-converter",regularPrice:20690,manufacturerWarrantyYears:1,image:"",description:"อุปกรณ์เพิ่มระยะโฟกัส 1.4 เท่าสำหรับเลนส์ RF ที่รองรับ",specValues:{magnification:"1.4x",mount:"rf",compatibility:"Compatible Canon RF lenses"},specs:["กำลังขยาย 1.4 เท่า","สำหรับเลนส์ Canon RF ที่รองรับ","เมาท์ Canon RF"],overview:`EXTENDER RF1.4x ของ Canon ใช้เพิ่มระยะโฟกัสของเลนส์ RF ที่เข้ากันได้ 1.4 เท่า
139
140อุปกรณ์นี้ออกแบบสำหรับระบบ EOS R และใช้กับเลนส์ RF เฉพาะรุ่นที่รองรับ`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/extender-rf1-4x"},{id:"canon-extender-rf2x",name:"Canon EXTENDER RF2x",brand:"Canon",category:"lenses-support",subCategory:"lens-converter",regularPrice:24890,manufacturerWarrantyYears:1,image:"",description:"อุปกรณ์เพิ่มระยะโฟกัส 2 เท่าสำหรับเลนส์ RF ที่รองรับ",specValues:{magnification:"2x",mount:"rf",compatibility:"Compatible Canon RF lenses"},specs:["กำลังขยาย 2 เท่า","สำหรับเลนส์ Canon RF ที่รองรับ","เมาท์ Canon RF"],overview:`EXTENDER RF2x ของ Canon ใช้เพิ่มระยะโฟกัสของเลนส์ RF ที่เข้ากันได้ 2 เท่า
141
142อุปกรณ์นี้ออกแบบสำหรับระบบ EOS R และใช้กับเลนส์ RF เฉพาะรุ่นที่รองรับ`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/extender-rf2x"},{id:"canon-ef-100mm-f-2-8l-macro-is-usm",name:"Canon EF100mm f/2.8L Macro IS USM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:44100,manufacturerWarrantyYears:1,image:"",description:"เลนส์มาโครซีรีส์ L เมาท์ EF 100 มม. f/2.8 พร้อม Hybrid IS และ USM",specValues:{focalLength:"100mm",maxAperture:"f/2.8",magnification:"1x",af:"USM",is:"Hybrid IS",mount:"Canon EF"},specs:["ระยะโฟกัส 100 มม.","รูรับแสงสูงสุด f/2.8","อัตราขยายสูงสุด 1 เท่า","Hybrid IS","มอเตอร์ USM","เมาท์ Canon EF"],overview:`EF100mm f/2.8L Macro IS USM เป็นเลนส์มาโคร 100 มม. ซีรีส์ L สำหรับกล้องเมาท์ EF
143
144Canon ระบุว่าเลนส์มีอัตราขยายสูงสุด 1 เท่า ใช้ Hybrid IS และมอเตอร์ USM`,overviewSource:"Canon U.S.A. (usa.canon.com) — https://www.usa.canon.com/shop/p/ef100mm-f-2-8l-macro-is-usm"},{id:"canon-eos-c50",name:"Canon EOS C50 Body",brand:"Canon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:121390,manufacturerWarrantyYears:1,image:"",description:"กล้อง Cinema EOS ขนาดกะทัดรัดที่บันทึก RAW แบบ 7K และรองรับเซ็นเซอร์ฟูลเฟรม",specValues:{sensor:"ฟูลเฟรม 7K",video:"7K 60p Cinema RAW Light",mount:"rf",af:"Dual Pixel CMOS AF II"},specs:["เซ็นเซอร์ฟูลเฟรม 7K","บันทึก Cinema RAW Light 7K 60p","Open Gate 3:2","RF Mount","Dual Pixel CMOS AF II"],overview:`EOS C50 เป็นกล้อง Cinema EOS แบบ RF Mount สำหรับผู้สร้างวิดีโอที่ต้องการตัวกล้องขนาดเล็กพร้อมฟังก์ชันงานภาพยนตร์
145
146กล้องรองรับการบันทึกแบบ Open Gate, Cinema RAW Light และระบบออโต้โฟกัส Dual Pixel CMOS AF II ตามข้อมูลของ Canon.`,overviewSource:"Canon Europe — https://www.canon-europe.com/video-cameras/eos-c50/"},{id:"canon-eos-c70-body",name:"Canon EOS C70 Body",brand:"Canon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:188900,manufacturerWarrantyYears:1,image:"",description:"กล้อง Cinema EOS ระบบ RF Mount พร้อมเซ็นเซอร์ Super 35mm DGO และฟิลเตอร์ ND ในตัว",specValues:{sensor:"Super 35mm DGO",video:"4K 120p",mount:"rf",ndValue:"ฟิลเตอร์ ND ในตัว"},specs:["เซ็นเซอร์ Super 35mm DGO","4K สูงสุด 120p","ช่วงไดนามิกมากกว่า 16 สต็อป","ฟิลเตอร์ ND ในตัว","RF Mount"],overview:`EOS C70 ผสานรูปทรงกะทัดรัดแบบกล้องถ่ายภาพเข้ากับระบบ Cinema EOS และเมาท์ RF
147
148Canon ระบุว่าเซ็นเซอร์ DGO Super 35mm ให้ช่วงไดนามิกกว้าง และกล้องบันทึก 4K สูงสุด 120p ได้.`,overviewSource:"Canon Europe — https://www.canon-europe.com/video-cameras/eos-c70/"},{id:"canon-eos-c80-body",name:"Canon EOS C80 Body",brand:"Canon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:199900,manufacturerWarrantyYears:1,image:"",description:"กล้อง Cinema EOS ฟูลเฟรม 6K แบบ BSI Triple Base ISO สำหรับงานวิดีโอระดับมืออาชีพ",specValues:{sensor:"ฟูลเฟรม BSI 6K",video:"6K RAW / 4K 120p",mount:"rf",af:"Dual Pixel CMOS AF II"},specs:["เซ็นเซอร์ฟูลเฟรม BSI 6K","6K RAW","4K สูงสุด 120p","Triple Base ISO","Dual Pixel CMOS AF II","RF Mount"],overview:`EOS C80 ใช้เซ็นเซอร์ฟูลเฟรมแบบ Back-illuminated 6K และระบบ RF Mount ในตัวกล้อง Cinema EOS ที่พกพาได้
149
150ตาม Canon กล้องรองรับ 6K RAW, 4K 120p, Dual Pixel CMOS AF II และระบบ Triple Base ISO.`,overviewSource:"Canon Europe — https://www.canon-europe.com/video-cameras/eos-c80/"},{id:"canon-eos-c400-body",name:"Canon EOS C400 Body",brand:"Canon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:299493,manufacturerWarrantyYears:1,image:"",description:"กล้อง Cinema EOS ฟูลเฟรม 6K แบบ BSI ที่รองรับการบันทึก RAW และเมาท์ RF",specValues:{sensor:"ฟูลเฟรม BSI 6K",video:"6K 60p RAW / 4K 120p",mount:"rf",af:"Dual Pixel CMOS AF II"},specs:["เซ็นเซอร์ฟูลเฟรม BSI 6K","6K 60p RAW","4K 120p","Triple Base ISO","Dual Pixel CMOS AF II","RF Mount"],overview:`EOS C400 เป็นกล้อง Cinema EOS สำหรับงานผลิตระดับมืออาชีพ ใช้เซ็นเซอร์ฟูลเฟรม 6K แบบ backside-illuminated
151
152Canon ระบุความสามารถในการบันทึก 6K 60P RAW, 4K 120P และระบบ Triple Base ISO พร้อม Dual Pixel CMOS AF II.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-c400"},{id:"canon-eos-r3-body",name:"Canon EOS R3 Body",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:181900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.1 ล้านพิกเซลแบบ stacked สำหรับการถ่ายภาพความเร็วสูง",specValues:{sensor:"full-f
152rame",resolution:"24.1 ล้านพิกเซล",burst:"30 fps",video:"6K RAW",ibis:"yes"},specs:["ฟูลเฟรม Stacked BSI 24.1 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 30 fps","6K RAW","Eye Control AF","กันสั่นในตัวสูงสุด 8 สต็อป","RF Mount"],overview:`EOS R3 ใช้เซ็นเซอร์ CMOS แบบ stacked backside-illuminated ฟูลเฟรม 24.1 ล้านพิกเซล และเมาท์ RF
153
154กล้องถ่ายภาพต่อเนื่องด้วยชัตเตอร์อิเล็กทรอนิกส์สูงสุด 30 fps พร้อมระบบ Eye Control AF และบันทึกวิดีโอ 6K RAW.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r3/"},{id:"canon-eos-r5-c-body",name:"Canon EOS R5 C Body",brand:"Canon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:117900,manufacturerWarrantyYears:1,image:"",description:"กล้องไฮบริดฟูลเฟรม 45 ล้านพิกเซลที่รองรับการบันทึกวิดีโอ 8K RAW",specValues:{sensor:"full-frame",resolution:"45 ล้านพิกเซล",video:"8K 60p RAW / 4K 120p",af:"Dual Pixel CMOS AF II"},specs:["ฟูลเฟรม 45 ล้านพิกเซล","8K 60p RAW ด้วยไฟภายนอก","8K 30p RAW ภายในกล้อง","4K 120p","Dual Pixel CMOS AF II","RF Mount"],overview:`EOS R5 C รวมการถ่ายภาพนิ่งความละเอียด 45 ล้านพิกเซลกับระบบวิดีโอ Cinema EOS ในบอดี RF Mount
155
156Canon ระบุว่าเมื่อใช้ไฟภายนอก กล้องบันทึก 8K 60p RAW ได้ และรองรับ 4K 120p.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-r5-c"},{id:"canon-eos-r5mark-ii-w-rf24-105mm-l-usm",name:"Canon EOS R5Mark II + RF24-105mm L USM Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:160400,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม stacked 45 ล้านพิกเซลที่ถ่ายต่อเนื่องได้สูงสุด 30 fps",specValues:{sensor:"full-frame",resolution:"45 ล้านพิกเซล",burst:"30 fps",video:"8K 60p RAW",ibis:"yes"},specs:["ฟูลเฟรม Stacked 45 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 30 fps","8K 60p RAW","4K 120p","กันสั่นในตัวสูงสุด 8.5 สต็อป","RF Mount","ชุด Kit พร้อม RF24-105mm L USM"],overview:`EOS R5 Mark II ใช้เซ็นเซอร์ฟูลเฟรมแบบ back-illuminated stacked 45 ล้านพิกเซล พร้อมชิป DIGIC Accelerator และ DIGIC X
157
158ตามข้อมูล Canon กล้องถ่ายต่อเนื่อง 30 fps ด้วยชัตเตอร์อิเล็กทรอนิกส์และบันทึก 8K 60p RAW ได้.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-r5-mark-ii"},{id:"canon-eos-r6iii-w-rf24-105mm-is-stm",name:"Canon EOS R6III + RF24-105mm IS STM Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:99990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมความละเอียด 32.5 ล้านพิกเซลสำหรับภาพนิ่งและวิดีโอ 7K",specValues:{sensor:"full-frame",resolution:"32.5 ล้านพิกเซล",video:"7K",af:"Dual Pixel CMOS AF II",ibis:"yes"},specs:["เซ็นเซอร์ฟูลเฟรม 32.5 ล้านพิกเซล","บันทึกวิดีโอ 7K","Dual Pixel CMOS AF II","กันสั่นในตัว","RF Mount","ชุด Kit พร้อม RF24-105mm IS STM"],overview:`EOS R6 Mark III เป็นกล้อง EOS R ฟูลเฟรม 32.5 ล้านพิกเซลที่ Canon ออกแบบเพื่อการทำงานไฮบริด
159
160Canon Europe ระบุว่ากล้องรองรับการบันทึก 7K และระบบออโต้โฟกัสอัจฉริยะสำหรับติดตามวัตถุ.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r6-mark-iii/"},{id:"canon-eos-r6iii-w-rf24-105mm-l-usm",name:"Canon EOS R6III + RF24-105mm L USM Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:129990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมความละเอียด 32.5 ล้านพิกเซลสำหรับภาพนิ่งและวิดีโอ 7K",specValues:{sensor:"full-frame",resolution:"32.5 ล้านพิกเซล",video:"7K",af:"Dual Pixel CMOS AF II",ibis:"yes"},specs:["เซ็นเซอร์ฟูลเฟรม 32.5 ล้านพิกเซล","บันทึกวิดีโอ 7K","Dual Pixel CMOS AF II","กันสั่นในตัว","RF Mount","ชุด Kit พร้อม RF24-105mm L USM"],overview:`EOS R6 Mark III เป็นกล้อง EOS R ฟูลเฟรม 32.5 ล้านพิกเซลที่ Canon ออกแบบเพื่อการทำงานไฮบริด
161
162Canon Europe ระบุว่ากล้องรองรับการบันทึก 7K และระบบออโต้โฟกัสอัจฉริยะสำหรับติดตามวัตถุ.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r6-mark-iii/"},{id:"canon-eos-r6v-body",name:"Canon EOS R6 V Body",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:74990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมแบบเน้นวิดีโอของระบบ EOS R พร้อมเมาท์ RF",specValues:{sensor:"full-frame",mount:"rf"},specs:["กล้องมิเรอร์เลสฟูลเฟรม","RF Mount","กล้องเปลี่ยนเลนส์ได้"],overview:`EOS R6 V เป็นกล้อง EOS R ฟูลเฟรมที่ Canon Europe จัดทำหน้าข้อมูลจำเพาะอย่างเป็นทางการไว้
163
164รุ่นนี้ออกแบบเป็นกล้องเปลี่ยนเลนส์ได้ในระบบ RF สำหรับการสร้างสรรค์ภาพและวิดีโอ.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r6v/specifications/"},{id:"canon-eos-r6v-w-rf20-50mm-l-usm",name:"Canon EOS R6V + RF20-50mm L USM Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:115990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมแบบเน้นวิดีโอของระบบ EOS R พร้อมเมาท์ RF",specValues:{sensor:"full-frame",mount:"rf"},specs:["กล้องมิเรอร์เลสฟูลเฟรม","RF Mount","กล้องเปลี่ยนเลนส์ได้","ชุด Kit พร้อม RF20-50mm L USM"],overview:`EOS R6 V เป็นกล้อง EOS R ฟูลเฟรมที่ Canon Europe จัดทำหน้าข้อมูลจำเพาะอย่างเป็นทางการไว้
165
166รุ่นนี้ออกแบบเป็นกล้องเปลี่ยนเลนส์ได้ในระบบ RF สำหรับการสร้างสรรค์ภาพและวิดีโอ.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r6v/specifications/"},{id:"canon-eos-r6ii-body",name:"Canon EOS R6 Mark II Body",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:67990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.2 ล้านพิกเซลที่ถ่ายต่อเนื่องด้วยชัตเตอร์อิเล็กทรอนิกส์ได้ 40 fps",specValues:{sensor:"full-frame",resolution:"24.2 ล้านพิกเซล",burst:"40 fps",video:"4K 60p",ibis:"yes"},specs:["ฟูลเฟรม 24.2 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 40 fps","4K 60p จาก 6K oversampling","Full HD 180p","กันสั่นในตัวสูงสุด 8 สต็อป","RF Mount"],overview:`EOS R6 Mark II ใช้เซ็นเซอร์ฟูลเฟรม 24.2 ล้านพิกเซลและระบบ Dual Pixel CMOS AF II สำหรับติดตามคน สัตว์ และยานพาหนะ
167
168Canon ระบุการถ่ายภาพต่อเนื่องสูงสุด 40 fps และวิดีโอ 4K 60p แบบ oversampled จาก 6K.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-r6-mark-ii"},{id:"canon-eos-r6ii-w-rf24-105mm-is-stm",name:"Canon EOS R6II + RF24-105mm IS STM Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:83990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.2 ล้านพิกเซลที่ถ่ายต่อเนื่องด้วยชัตเตอร์อิเล็กทรอนิกส์ได้ 40 fps",specValues:{sensor:"full-frame",resolution:"24.2 ล้านพิกเซล",burst:"40 fps",video:"4K 60p",ibis:"yes"},specs:["ฟูลเฟรม 24.2 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 40 fps","4K 60p จาก 6K oversampling","Full HD 180p","กันสั่นในตัวสูงสุด 8 สต็อป","RF Mount","ชุด Kit พร้อม RF24-105mm IS STM"],overview:`EOS R6 Mark II ใช้เซ็นเซอร์ฟูลเฟรม 24.2 ล้านพิกเซลและระบบ Dual Pixel CMOS AF II สำหรับติดตามคน สัตว์ และยานพาหนะ
169
170Canon ระบุการถ่ายภาพต่อเนื่องสูงสุด 40 fps และวิดีโอ 4K 60p แบบ oversampled จาก 6K.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-r6-mark-ii"},{id:"canon-eos-r8-body",name:"Canon EOS R8 Body",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:44990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.2 ล้านพิกเซลขนาดกะทัดรัดที่รองรับวิดีโอ 4K 60p",specValues:{sensor:"full-frame",resolution:"24.2 ล้านพิกเซล",burst:"40 fps",video:"4K 60p",af:"Dual Pixel CMOS AF II"},specs:["ฟูลเฟรม 24.2 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 40 fps","4K 60p แบบ oversampled","Full HD 180p","Dual Pixel CMOS AF II","RF Mount"],overview:`EOS R8 เป็นกล้อง EOS R ฟูลเฟรม 24.2 ล้านพิกเซลในบอดีขนาดเล็กและน้ำหนักเบา
171
172Canon ระบุระบบ Dual Pixel CMOS AF II การถ่ายต่อเนื่องสูงสุด 40 fps และวิดีโอ 4K 60p แบบ oversampled.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-r8"},{id:"canon-eos-r8-w-rf24-50mm-is-stm",name:"Canon EOS R8 + RF24-50mm IS STM Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:53190,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.2 ล้านพิกเซลขนาดกะทัดรัดที่รองรับวิดีโอ 4K 60p",specValues:{sensor:"full-frame",resolution:"24.2 ล้านพิกเซล",burst:"40 fps",video:"4K 60p",af:"Dual Pixel CMOS AF II"},specs:["ฟูลเฟรม 24.2 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 40 fps","4K 60p แบบ oversampled","Full HD 180p","Dual Pixel CMOS AF II","RF Mount","ชุด Kit พร้อม RF24-50mm IS STM"],overview:`EOS R8 เป็นกล้อง EOS R ฟูลเฟรม 24.2 ล้านพิกเซลในบอดีขนาดเล็กและน้ำหนักเบา
173
174Canon ระบุระบบ Dual Pixel CMOS AF II การถ่ายต่อเนื่องสูงสุด 40 fps และวิดีโอ 4K 60p แบบ oversampled.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-r8"},{id:"canon-eos-rp-body",name:"Canon EOS RP Body",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:38190,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 26.2 ล้านพิกเซลที่ใช้เมาท์ RF",specValues:{sensor:"full-frame",resolution:"26.2 ล้านพิกเซล",video:"4K",af:"Dual Pixel CMOS AF"},specs:["ฟูลเฟรม 26.2 ล้านพิกเซล","วิดีโอ 4K","Dual Pixel CMOS AF","จอสัมผัสปรับมุมได้","RF Mount"],overview:`EOS RP เป็นกล้อง EOS R ฟูลเฟรมขนาดกะทัดรัดพร้อมเซ็นเซอร์ CMOS ความละเอียด 26.2 ล้านพิกเซล
175
176Canon ระบุการบันทึกวิดีโอ 4K และระบบ Dual Pixel CMOS AF สำหรับการโฟกัสอัตโนมัติ.`,overviewSource:"Canon Europe — https://www.canon-europe.com/support/consumer/products/cameras/eos-r/eos-rp.html"},{id:"canon-eos-r7-body",name:"Canon EOS R7 Body",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:47990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลส APS-C 32.5 ล้านพิกเซลที่ถ่ายต่อเนื่องได้สูงสุด 30 fps",specValues:{sensor:"aps-c",resolution:"32.5 ล้านพิกเซล",burst:"30 fps",video:"4K 60p",ibis:"yes"},specs:["APS-C 32.5 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 30 fps","4K 60p","กันสั่นในตัวสูงสุด 8 สต็อป","Dual Pixel CMOS AF II","RF Mount"],overview:`EOS R7 ใช้เซ็นเซอร์ APS-C 32.5 ล้านพิกเซลและเมาท์ RF เพื่อมุมมองภาพแบบเทเลโฟโต้ที่มากขึ้น
177
178Canon ระบุการถ่ายต่อเนื่อง 30 fps, กันสั่นในตัวสูงสุด 8 สต็อป และบันทึกวิดีโอ 4K 60p.`,overviewSource:"Canon Asia — https://asia.canon/en/consumer/eos-r7/product"},{id:"canon-eos-r7-w-rf18-150",name:"Canon EOS R7 + RF18-150 Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:63490,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลส APS-C 32.5 ล้านพิกเซลที่ถ่ายต่อเนื่องได้สูงสุด 30 fps",spec
178Values:{sensor:"aps-c",resolution:"32.5 ล้านพิกเซล",burst:"30 fps",video:"4K 60p",ibis:"yes"},specs:["APS-C 32.5 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 30 fps","4K 60p","กันสั่นในตัวสูงสุด 8 สต็อป","Dual Pixel CMOS AF II","RF Mount","ชุด Kit พร้อม RF18-150"],overview:`EOS R7 ใช้เซ็นเซอร์ APS-C 32.5 ล้านพิกเซลและเมาท์ RF เพื่อมุมมองภาพแบบเทเลโฟโต้ที่มากขึ้น
179
180Canon ระบุการถ่ายต่อเนื่อง 30 fps, กันสั่นในตัวสูงสุด 8 สต็อป และบันทึกวิดีโอ 4K 60p.`,overviewSource:"Canon Asia — https://asia.canon/en/consumer/eos-r7/product"},{id:"canon-eos-r10-w-rf18-45",name:"Canon EOS R10 + RF18-45 Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:35390,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลส APS-C 24.2 ล้านพิกเซลที่บันทึกวิดีโอ 4K 60p และถ่ายต่อเนื่องได้รวดเร็ว",specValues:{sensor:"aps-c",resolution:"24.2 ล้านพิกเซล",burst:"23 fps",video:"4K 60p",af:"Dual Pixel CMOS AF II"},specs:["APS-C 24.2 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 23 fps","4K 60p","Dual Pixel CMOS AF II","RF Mount","ชุด Kit พร้อม RF18-45"],overview:`EOS R10 เป็นกล้อง EOS R แบบ APS-C 24.2 ล้านพิกเซลสำหรับผู้ที่ต้องการกล้องเปลี่ยนเลนส์ได้ขนาดกะทัดรัด
181
182Canon ระบุการถ่ายต่อเนื่องด้วยชัตเตอร์อิเล็กทรอนิกส์สูงสุด 23 fps และวิดีโอ 4K 60p.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r10/"},{id:"canon-eos-r10-w-rf18-150",name:"Canon EOS R10 + RF18-150 Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:46690,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลส APS-C 24.2 ล้านพิกเซลที่บันทึกวิดีโอ 4K 60p และถ่ายต่อเนื่องได้รวดเร็ว",specValues:{sensor:"aps-c",resolution:"24.2 ล้านพิกเซล",burst:"23 fps",video:"4K 60p",af:"Dual Pixel CMOS AF II"},specs:["APS-C 24.2 ล้านพิกเซล","ถ่ายต่อเนื่องสูงสุด 23 fps","4K 60p","Dual Pixel CMOS AF II","RF Mount","ชุด Kit พร้อม RF18-150"],overview:`EOS R10 เป็นกล้อง EOS R แบบ APS-C 24.2 ล้านพิกเซลสำหรับผู้ที่ต้องการกล้องเปลี่ยนเลนส์ได้ขนาดกะทัดรัด
183
184Canon ระบุการถ่ายต่อเนื่องด้วยชัตเตอร์อิเล็กทรอนิกส์สูงสุด 23 fps และวิดีโอ 4K 60p.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r10/"},{id:"canon-eos-r50v-w-rf-s14-30-pz",name:"Canon EOS R50V + RF-S14-30 PZ Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:33990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลส APS-C แบบเน้นวิดีโอที่บันทึก 4K 60p รองรับ Canon Log 3",specValues:{sensor:"aps-c",video:"4K 60p",log:"Canon Log 3",mount:"rf"},specs:["เซ็นเซอร์ APS-C","4K 60p","Canon Log 3","ไฟ Tally","RF Mount","ชุด Kit พร้อม RF-S14-30 PZ"],overview:`EOS R50 V เป็นกล้องเปลี่ยนเลนส์ได้แบบ video-first ของ Canon พร้อมเซ็นเซอร์ APS-C และเมาท์ RF
185
186Canon ระบุการบันทึก 4K 60p, Canon Log 3 และไฟ tally เพื่อช่วยงานการสร้างคอนเทนต์วิดีโอ.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r50v/"},{id:"canon-eos-r50-w-rf-s18-45mm-is-stm",name:"Canon EOS R50 + RF-S18-45mm IS STM Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:25990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลส APS-C 24.2 ล้านพิกเซลที่มีระบบ Dual Pixel CMOS AF II",specValues:{sensor:"aps-c",resolution:"24.2 ล้านพิกเซล",video:"4K 30p",af:"Dual Pixel CMOS AF II"},specs:["APS-C 24.2 ล้านพิกเซล","4K 30p แบบ oversampled จาก 6K","Full HD 120p","Dual Pixel CMOS AF II","จอปรับมุมได้","RF Mount","ชุด Kit พร้อม RF-S18-45mm IS STM"],overview:`EOS R50 เป็นกล้อง EOS R แบบ APS-C 24.2 ล้านพิกเซลที่ออกแบบให้ใช้งานง่ายและพกพาสะดวก
187
188Canon ระบุการบันทึก 4K 30p แบบ oversampled จาก 6K, ระบบ Dual Pixel CMOS AF II และจอปรับมุมได้.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-r50"},{id:"canon-eos-r50-w-rf-s18-45mm-is-stm-rf-s55-210mm",name:"Canon EOS R50 + RF-S18-45mm IS STM + RF-S55-210mm Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:35490,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลส APS-C 24.2 ล้านพิกเซลที่มีระบบ Dual Pixel CMOS AF II",specValues:{sensor:"aps-c",resolution:"24.2 ล้านพิกเซล",video:"4K 30p",af:"Dual Pixel CMOS AF II"},specs:["APS-C 24.2 ล้านพิกเซล","4K 30p แบบ oversampled จาก 6K","Full HD 120p","Dual Pixel CMOS AF II","จอปรับมุมได้","RF Mount","ชุด Kit พร้อม RF-S18-45mm IS STM + RF-S55-210mm"],overview:`EOS R50 เป็นกล้อง EOS R แบบ APS-C 24.2 ล้านพิกเซลที่ออกแบบให้ใช้งานง่ายและพกพาสะดวก
189
190Canon ระบุการบันทึก 4K 30p แบบ oversampled จาก 6K, ระบบ Dual Pixel CMOS AF II และจอปรับมุมได้.`,overviewSource:"Canon USA — https://www.usa.canon.com/shop/p/eos-r50"},{id:"canon-eos-r100-rf-s-18-45mm-is-stm",name:"Canon EOS R100 + RF-S 18-45mm IS STM Kit",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:23990,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลส APS-C 24.1 ล้านพิกเซลขนาดเล็กในระบบ RF",specValues:{sensor:"aps-c",resolution:"24.1 ล้านพิกเซล",video:"4K 24p",af:"Dual Pixel CMOS AF"},specs:["APS-C 24.1 ล้านพิกเซล","วิดีโอ 4K 24p","Full HD 60p","Dual Pixel CMOS AF","RF Mount","ชุด Kit พร้อม RF-S 18-45mm IS STM"],overview:`EOS R100 เป็นกล้อง EOS R แบบ APS-C 24.1 ล้านพิกเซลที่ Canon ออกแบบให้เป็นจุดเริ่มต้นสู่ระบบกล้องเปลี่ยนเลนส์ได้
191
192กล้องบันทึกวิดีโอ 4K 24p และใช้ระบบ Dual Pixel CMOS AF สำหรับการถ่ายภาพนิ่ง.`,overviewSource:"Canon Europe — https://www.canon-europe.com/cameras/eos-r100/"},{id:"canon-hf-g70",name:"Canon LEGRIA HF G70",brand:"Canon",category:"cinema-vlog",subCategory:"handycam",regularPrice:45900,manufacturerWarrantyYears:1,image:"",description:"กล้องวิดีโอ 4K แบบพกพาที่มีเซนเซอร์ 1/2.3 นิ้วและเลนส์ซูมออปติคอล 20 เท่า",specValues:{sensor:"CMOS 1/2.3 นิ้ว",video:"4K UHD",zoom:"20×",stabilization:"กันสั่น 5 แกน",lcd:"LCD สัมผัส 3.5 นิ้ว"},specs:["เซนเซอร์ CMOS 1/2.3 นิ้ว","วิดีโอ 4K UHD","ซูมออปติคอล 20×","กันสั่น 5 แกน","LCD สัมผัส 3.5 นิ้ว"],overview:`LEGRIA HF G70 บันทึกวิดีโอ 4K UHD ด้วยเซนเซอร์ CMOS แบบ 1/2.3 นิ้ว และเลนส์ซูมออปติคอล 20 เท่า ซึ่งครอบคลุมช่วงเทียบเท่า 29.3–601 มม.
193
194กล้องมีระบบกันสั่น 5 แกน, ช่องมองภาพอิเล็กทรอนิกส์ และจอสัมผัส LCD ขนาด 3.5 นิ้ว ตามข้อมูลสเปกของ Canon`,overviewSource:"Canon Europe — https://www.canon-europe.com/video-cameras/legria-hf-g70/"},{id:"canon-xa-60",name:"Canon XA60",brand:"Canon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:62900,manufacturerWarrantyYears:1,image:"",description:"กล้องวิดีโอมืออาชีพขนาดกะทัดรัดที่บันทึก 4K UHD พร้อมเลนส์ซูมออปติคอล 20 เท่า",specValues:{sensor:"CMOS 1/2.3 นิ้ว",video:"4K UHD",zoom:"20×",stabilization:"กันสั่น 5 แกน",card:"SD card 2 ช่อง"},specs:["เซนเซอร์ CMOS 1/2.3 นิ้ว","วิดีโอ 4K UHD","ซูมออปติคอล 20×","อินพุต XLR 2 ช่อง","ช่องการ์ด SD 2 ช่อง"],overview:`XA60 ใช้เซนเซอร์ CMOS แบบ 1/2.3 นิ้วและเลนส์ซูมออปติคอล 20 เท่า ครอบคลุมทางยาวโฟกัสเทียบเท่า 29.3–601 มม. สำหรับการผลิตวิดีโอ 4K UHD
195
196Canon ระบุว่ากล้องมีอินพุตเสียง XLR สองช่อง, ระบบกันสั่น 5 แกน และสามารถบันทึกลงการ์ด SD สองช่อง`,overviewSource:"Canon Europe — https://www.canon-europe.com/video-cameras/xa60/"}],BL=[{id:"nikon-z9",name:"Nikon Z 9",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:194900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมเรือธง 45.7 ล้านพิกเซล พร้อมเซ็นเซอร์ Stacked CMOS และวิดีโอ 8K",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"45.7 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 493 จุด",iso:"ISO 64–25600 ขยายได้เทียบเท่า ISO 32–102400",shutter:"ชัตเตอร์อิเล็กทรอนิกส์ 1/32000–30 วินาที",burst:"สูงสุด 20 fps สำหรับ RAW, 30 fps สำหรับ JPEG ขนาดเต็ม และ 120 fps ที่ 11 ล้านพิกเซล",ibis:"yes",video:"8.3K 60p N-RAW และ 4.1K 120p",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT แบบปรับเอียง 4 แกน 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD สองช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C, HDMI Type A และ Ethernet",battery:"EN-EL18d",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 149 × 149.5 × 90.5 มม.",weight:"ประมาณ 1,340 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format Stacked CMOS 45.7 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 493 จุด","ถ่ายต่อเนื่อง RAW สูงสุด 20 fps","วิดีโอ 8.3K 60p N-RAW","ช่องใส่การ์ด CFexpress Type B / XQD สองช่อง"],overview:`Nikon Z 9 เป็นกล้องมิเรอร์เลสระดับเรือธงที่ใช้เซ็นเซอร์ FX-format Stacked CMOS ความละเอียดใช้งานจริง 45.7 ล้านพิกเซล และระบบประมวลผล EXPEED 7
197
198กล้องออกแบบสำหรับงานมืออาชีพที่ต้องการความเร็วสูง รองรับการถ่ายภาพต่อเนื่อง 20 ภาพต่อวินาทีใน RAW และบันทึก 8.3K/60p แบบ N-RAW ภายในกล้อง`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z9-body"},{id:"nikon-z8",name:"Nikon Z 8",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:149900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 45.7 ล้านพิกเซลที่ถ่ายทอดสมรรถนะหลักจาก Z 9 ในตัวกล้องขนาดเล็กลง",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"45.7 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 493 จุด",iso:"ISO 64–25600 ขยายได้เทียบเท่า ISO 32–102400",shutter:"ชัตเตอร์อิเล็กทรอนิกส์ 1/32000–30 วินาที",burst:"สูงสุด 20 fps สำหรับ RAW, 30 fps สำหรับ JPEG ขนาดเต็ม และ 120 fps ที่ 11 ล้านพิกเซล",ibis:"yes",video:"8.3K 60p N-RAW และ 4.1K 120p",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT แบบปรับเอียง 4 แกน 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD หนึ่งช่อง และ SD UHS-II หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type A",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 144 × 118.5 × 83 มม.",weight:"ประมาณ 910 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format Stacked CMOS 45.7 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 493 จุด","ถ่ายต่อเนื่อง RAW สูงสุด 20 fps","วิดีโอ 8.3K 60p N-RAW","สล็อต CFexpress Type B / XQD และ SD UHS-II"],overview:`Nikon Z 8 ใช้เซ็นเซอร์ FX-format Stacked CMOS 45.7 ล้านพิกเซลและระบบประมวลผล EXPEED 7 เช่นเดียวกับกล้องเรือธง Z 9
199
200รองรับการถ่ายต่อเนื่อง RAW 20 ภาพต่อวินาที การบันทึก 8.3K/60p N-RAW ภายในกล้อง และระบบโฟกัสอัตโนมัติ 493 จุดพร้อมตรวจจับวัตถุ`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z-8-body"},{id:"nikon-z8-24-120-f4-kit",name:"Nikon Z8 24-120 f4 Kit K
200it",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:185900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 45.7 ล้านพิกเซลที่ถ่ายทอดสมรรถนะหลักจาก Z 9 ในตัวกล้องขนาดเล็กลง",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"45.7 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 493 จุด",iso:"ISO 64–25600 ขยายได้เทียบเท่า ISO 32–102400",shutter:"ชัตเตอร์อิเล็กทรอนิกส์ 1/32000–30 วินาที",burst:"สูงสุด 20 fps สำหรับ RAW, 30 fps สำหรับ JPEG ขนาดเต็ม และ 120 fps ที่ 11 ล้านพิกเซล",ibis:"yes",video:"8.3K 60p N-RAW และ 4.1K 120p",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT แบบปรับเอียง 4 แกน 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD หนึ่งช่อง และ SD UHS-II หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type A",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 144 × 118.5 × 83 มม.",weight:"ประมาณ 910 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format Stacked CMOS 45.7 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 493 จุด","ถ่ายต่อเนื่อง RAW สูงสุด 20 fps","วิดีโอ 8.3K 60p N-RAW","สล็อต CFexpress Type B / XQD และ SD UHS-II","ชุด Kit ตามรายการ Z8 24-120 f4 Kit"],overview:`Nikon Z 8 ใช้เซ็นเซอร์ FX-format Stacked CMOS 45.7 ล้านพิกเซลและระบบประมวลผล EXPEED 7 เช่นเดียวกับกล้องเรือธง Z 9
201
202รองรับการถ่ายต่อเนื่อง RAW 20 ภาพต่อวินาที การบันทึก 8.3K/60p N-RAW ภายในกล้อง และระบบโฟกัสอัตโนมัติ 493 จุดพร้อมตรวจจับวัตถุ`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z-8-body"},{id:"nikon-z-f-sl-sg",name:"Nikon Z f Body (Silver)",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:82900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมดีไซน์คลาสสิก ความละเอียด 24.5 ล้านพิกเซล พร้อมระบบประมวลผล EXPEED 7",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"1/8000–30 วินาที",burst:"สูงสุดประมาณ 14 fps ในโหมดต่อเนื่องความเร็วสูงแบบขยาย",ibis:"yes",video:"4K UHD 60p และ 4K UHD 30p จากการโอเวอร์แซมปลิง 6K",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"SD UHS-II หนึ่งช่อง และ microSD UHS-I หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type D",battery:"EN-EL15c",dimensions:"ประมาณ 144 × 103 × 49 มม.",weight:"ประมาณ 710 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 8 สต็อป","วิดีโอ 4K UHD 60p","จอสัมผัสปรับหมุนได้ 3.2 นิ้ว","ชุด Kit ตามรายการ Z f SL SG"],overview:`Nikon Z f ผสานรูปทรงและแป้นควบคุมที่ได้แรงบันดาลใจจากกล้องฟิล์มเข้ากับเซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล
203
204ระบบประมวลผล EXPEED 7 รองรับการตรวจจับวัตถุ ระบบลดภาพสั่นไหวในตัวกล้อง และวิดีโอ 4K UHD สูงสุด 60p`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z-f-black-body"},{id:"nikon-z-f-sl-sg-40mm-f-2-se-kit",name:"Nikon Z f + NIKKOR Z 40mm f/2 SE Kit (Silver)",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:88900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมดีไซน์คลาสสิก ความละเอียด 24.5 ล้านพิกเซล พร้อมระบบประมวลผล EXPEED 7",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"1/8000–30 วินาที",burst:"สูงสุดประมาณ 14 fps ในโหมดต่อเนื่องความเร็วสูงแบบขยาย",ibis:"yes",video:"4K UHD 60p และ 4K UHD 30p จากการโอเวอร์แซมปลิง 6K",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"SD UHS-II หนึ่งช่อง และ microSD UHS-I หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type D",battery:"EN-EL15c",dimensions:"ประมาณ 144 × 103 × 49 มม.",weight:"ประมาณ 710 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 8 สต็อป","วิดีโอ 4K UHD 60p","จอสัมผัสปรับหมุนได้ 3.2 นิ้ว","ชุด Kit ตามรายการ Z f SL SG 40mm f/2 SE KIT"],overview:`Nikon Z f ผสานรูปทรงและแป้นควบคุมที่ได้แรงบันดาลใจจากกล้องฟิล์มเข้ากับเซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล
205
206ระบบประมวลผล EXPEED 7 รองรับการตรวจจับวัตถุ ระบบลดภาพสั่นไหวในตัวกล้อง และวิดีโอ 4K UHD สูงสุด 60p`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z-f-black-body"},{id:"nikon-z-f-bk-sg",name:"Nikon Z f Body (Black)",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:82900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมดีไซน์คลาสสิก ความละเอียด 24.5 ล้านพิกเซล พร้อมระบบประมวลผล EXPEED 7",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"1/8000–30 วินาที",burst:"สูงสุดประมาณ 14 fps ในโหมดต่อเนื่องความเร็วสูงแบบขยาย",ibis:"yes",video:"4K UHD 60p และ 4K UHD 30p จากการโอเวอร์แซมปลิง 6K",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"SD UHS-II หนึ่งช่อง และ microSD UHS-I หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type D",battery:"EN-EL15c",dimensions:"ประมาณ 144 × 103 × 49 มม.",weight:"ประมาณ 710 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 8 สต็อป","วิดีโอ 4K UHD 60p","จอสัมผัสปรับหมุนได้ 3.2 นิ้ว","ชุด Kit ตามรายการ Z f BK SG"],overview:`Nikon Z f ผสานรูปทรงและแป้นควบคุมที่ได้แรงบันดาลใจจากกล้องฟิล์มเข้ากับเซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล
207
208ระบบประมวลผล EXPEED 7 รองรับการตรวจจับวัตถุ ระบบลดภาพสั่นไหวในตัวกล้อง และวิดีโอ 4K UHD สูงสุด 60p`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z-f-black-body"},{id:"nikon-z-f-bk-sg-40mm-f-2-se-bk-kit",name:"Nikon Z f + NIKKOR Z 40mm f/2 SE Kit (Black)",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:88900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมดีไซน์คลาสสิก ความละเอียด 24.5 ล้านพิกเซล พร้อมระบบประมวลผล EXPEED 7",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"1/8000–30 วินาที",burst:"สูงสุดประมาณ 14 fps ในโหมดต่อเนื่องความเร็วสูงแบบขยาย",ibis:"yes",video:"4K UHD 60p และ 4K UHD 30p จากการโอเวอร์แซมปลิง 6K",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"SD UHS-II หนึ่งช่อง และ microSD UHS-I หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type D",battery:"EN-EL15c",dimensions:"ประมาณ 144 × 103 × 49 มม.",weight:"ประมาณ 710 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 8 สต็อป","วิดีโอ 4K UHD 60p","จอสัมผัสปรับหมุนได้ 3.2 นิ้ว","ชุด Kit ตามรายการ Z f BK SG 40mm f/2 SE BK KIT"],overview:`Nikon Z f ผสานรูปทรงและแป้นควบคุมที่ได้แรงบันดาลใจจากกล้องฟิล์มเข้ากับเซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล
209
210ระบบประมวลผล EXPEED 7 รองรับการตรวจจับวัตถุ ระบบลดภาพสั่นไหวในตัวกล้อง และวิดีโอ 4K UHD สูงสุด 60p`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z-f-black-body"},{id:"nikon-z7-ii",name:"Nikon Z 7II",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:98900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมความละเอียดสูง 45.7 ล้านพิกเซล พร้อมระบบประมวลผล EXPEED 6 คู่",specValues:{sensor:"full-frame",processor:"EXPEED 6 สองตัว",resolution:"45.7 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 493 จุด",iso:"ISO 64–25600 ขยายได้เทียบเท่า ISO 32–102400",shutter:"1/8000–30 วินาที",burst:"สูงสุด 10 fps",ibis:"yes",video:"4K UHD 60p",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับเอียง 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD หนึ่งช่อง และ SD UHS-II หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type C",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 134 × 100.5 × 69.5 มม.",weight:"ประมาณ 705 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 45.7 ล้านพิกเซล","ระบบประมวลผล EXPEED 6 คู่","ระบบโฟกัส 493 จุด","ถ่ายต่อเนื่องสูงสุด 10 fps","วิดีโอ 4K UHD 60p","สล็อต CFexpress Type B / XQD และ SD UHS-II"],overview:`Nikon Z 7II ใช้เซ็นเซอร์ FX-format BSI CMOS ความละเอียด 45.7 ล้านพิกเซล เหมาะกับงานที่ต้องการรายละเอียดสูง
211
212ระบบประมวลผล EXPEED 6 คู่ช่วยให้ถ่ายต่อเนื่องได้สูงสุด 10 ภาพต่อวินาที พร้อมวิดีโอ 4K UHD 60p และช่องใส่การ์ดสองรูปแบบ`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z7ii-body"},{id:"nikon-z7-ii-24-70-kit",name:"Nikon Z7 II 24-70 KIT Kit",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:119900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมความละเอียดสูง 45.7 ล้านพิกเซล พร้อมระบบประมวลผล EXPEED 6 คู่",specValues:{sensor:"full-frame",processor:"EXPEED 6 สองตัว",resolution:"45.7 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 493 จุด",iso:"ISO 64–25600 ขยายได้เทียบเท่า ISO 32–102400",shutter:"1/8000–30 วินาที",burst:"สูงสุด 10 fps",ibis:"yes",video:"4K UHD 60p",evf:"OLED 0.5 นิ้ว 3.69 ลà
212¹‰à¸²à¸™à¸ˆà¸¸à¸”",lcd:"TFT สัมผัสแบบปรับเอียง 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD หนึ่งช่อง และ SD UHS-II หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type C",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 134 × 100.5 × 69.5 มม.",weight:"ประมาณ 705 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 45.7 ล้านพิกเซล","ระบบประมวลผล EXPEED 6 คู่","ระบบโฟกัส 493 จุด","ถ่ายต่อเนื่องสูงสุด 10 fps","วิดีโอ 4K UHD 60p","สล็อต CFexpress Type B / XQD และ SD UHS-II","ชุด Kit ตามรายการ Z7 II 24-70 KIT"],overview:`Nikon Z 7II ใช้เซ็นเซอร์ FX-format BSI CMOS ความละเอียด 45.7 ล้านพิกเซล เหมาะกับงานที่ต้องการรายละเอียดสูง
213
214ระบบประมวลผล EXPEED 6 คู่ช่วยให้ถ่ายต่อเนื่องได้สูงสุด 10 ภาพต่อวินาที พร้อมวิดีโอ 4K UHD 60p และช่องใส่การ์ดสองรูปแบบ`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z7ii-body"},{id:"nikon-z7-ii-24-120-kit",name:"Nikon Z7 II 24-120 KIT Kit",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:119e3,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรมความละเอียดสูง 45.7 ล้านพิกเซล พร้อมระบบประมวลผล EXPEED 6 คู่",specValues:{sensor:"full-frame",processor:"EXPEED 6 สองตัว",resolution:"45.7 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 493 จุด",iso:"ISO 64–25600 ขยายได้เทียบเท่า ISO 32–102400",shutter:"1/8000–30 วินาที",burst:"สูงสุด 10 fps",ibis:"yes",video:"4K UHD 60p",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับเอียง 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD หนึ่งช่อง และ SD UHS-II หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type C",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 134 × 100.5 × 69.5 มม.",weight:"ประมาณ 705 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 45.7 ล้านพิกเซล","ระบบประมวลผล EXPEED 6 คู่","ระบบโฟกัส 493 จุด","ถ่ายต่อเนื่องสูงสุด 10 fps","วิดีโอ 4K UHD 60p","สล็อต CFexpress Type B / XQD และ SD UHS-II","ชุด Kit ตามรายการ Z7 II 24-120 KIT"],overview:`Nikon Z 7II ใช้เซ็นเซอร์ FX-format BSI CMOS ความละเอียด 45.7 ล้านพิกเซล เหมาะกับงานที่ต้องการรายละเอียดสูง
215
216ระบบประมวลผล EXPEED 6 คู่ช่วยให้ถ่ายต่อเนื่องได้สูงสุด 10 ภาพต่อวินาที พร้อมวิดีโอ 4K UHD 60p และช่องใส่การ์ดสองรูปแบบ`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z7ii-body"},{id:"nikon-z6-iii-bk-sg-24-70-bk-kit",name:"Nikon Z6 III 24-70 KIT Kit",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:120900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.5 ล้านพิกเซล พร้อมเซ็นเซอร์ partially-stacked และวิดีโอ RAW 6K",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"ชัตเตอร์กลไก 1/8000–30 วินาที; ชัตเตอร์อิเล็กทรอนิกส์สูงสุด 1/16000 วินาที",burst:"สูงสุด 20 fps สำหรับ RAW และ 120 fps ใน High-Speed Frame Capture+",ibis:"yes",video:"6K 60p N-RAW, 6K 30p ProRes RAW HQ และ 4K 120p",evf:"OLED 0.5 นิ้ว 5.76 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD หนึ่งช่อง และ SD UHS-II หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type A",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 138.5 × 101.5 × 74 มม.",weight:"ประมาณ 760 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","วิดีโอ 6K 60p N-RAW ภายในกล้อง","ช่องมองภาพ OLED 5.76 ล้านจุด","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 8 สต็อป","ชุด Kit ตามรายการ Z6 III BK SG 24-70 BK KIT"],overview:`Nikon Z 6III ใช้เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซลร่วมกับระบบประมวลผล EXPEED 7 เพื่อเพิ่มความเร็วในการอ่านข้อมูล
217
218กล้องบันทึก 6K/60p N-RAW ภายในตัว รองรับการถ่ายภาพความเร็วสูง และมีช่องมองภาพอิเล็กทรอนิกส์ความละเอียด 5.76 ล้านจุด`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z6iii-body"},{id:"nikon-z6-iii-bk-sg-24-200-bk-kit",name:"Nikon Z6 III 24-200 KIT Kit",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:126500,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.5 ล้านพิกเซล พร้อมเซ็นเซอร์ partially-stacked และวิดีโอ RAW 6K",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"ชัตเตอร์กลไก 1/8000–30 วินาที; ชัตเตอร์อิเล็กทรอนิกส์สูงสุด 1/16000 วินาที",burst:"สูงสุด 20 fps สำหรับ RAW และ 120 fps ใน High-Speed Frame Capture+",ibis:"yes",video:"6K 60p N-RAW, 6K 30p ProRes RAW HQ และ 4K 120p",evf:"OLED 0.5 นิ้ว 5.76 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD หนึ่งช่อง และ SD UHS-II หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type A",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 138.5 × 101.5 × 74 มม.",weight:"ประมาณ 760 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","วิดีโอ 6K 60p N-RAW ภายในกล้อง","ช่องมองภาพ OLED 5.76 ล้านจุด","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 8 สต็อป","ชุด Kit ตามรายการ Z6 III BK SG 24-200 BK KIT"],overview:`Nikon Z 6III ใช้เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซลร่วมกับระบบประมวลผล EXPEED 7 เพื่อเพิ่มความเร็วในการอ่านข้อมูล
219
220กล้องบันทึก 6K/60p N-RAW ภายในตัว รองรับการถ่ายภาพความเร็วสูง และมีช่องมองภาพอิเล็กทรอนิกส์ความละเอียด 5.76 ล้านจุด`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z6iii-body"},{id:"nikon-z6-iii-bk-sg-24-120-bk-kit",name:"Nikon Z6 III 24-120 KIT Kit",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:132e3,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.5 ล้านพิกเซล พร้อมเซ็นเซอร์ partially-stacked และวิดีโอ RAW 6K",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"ชัตเตอร์กลไก 1/8000–30 วินาที; ชัตเตอร์อิเล็กทรอนิกส์สูงสุด 1/16000 วินาที",burst:"สูงสุด 20 fps สำหรับ RAW และ 120 fps ใน High-Speed Frame Capture+",ibis:"yes",video:"6K 60p N-RAW, 6K 30p ProRes RAW HQ และ 4K 120p",evf:"OLED 0.5 นิ้ว 5.76 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"CFexpress Type B / XQD หนึ่งช่อง และ SD UHS-II หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type A",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 138.5 × 101.5 × 74 มม.",weight:"ประมาณ 760 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","วิดีโอ 6K 60p N-RAW ภายในกล้อง","ช่องมองภาพ OLED 5.76 ล้านจุด","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 8 สต็อป","ชุด Kit ตามรายการ Z6 III BK SG 24-120 BK KIT"],overview:`Nikon Z 6III ใช้เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซลร่วมกับระบบประมวลผล EXPEED 7 เพื่อเพิ่มความเร็วในการอ่านข้อมูล
221
222กล้องบันทึก 6K/60p N-RAW ภายในตัว รองรับการถ่ายภาพความเร็วสูง และมีช่องมองภาพอิเล็กทรอนิกส์ความละเอียด 5.76 ล้านจุด`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z6iii-body"},{id:"nikon-z5-ii-24-50-kit",name:"Nikon Z5 II 24-50 KIT Kit",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:69900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.5 ล้านพิกเซล พร้อม EXPEED 7 และระบบโฟกัสตรวจจับวัตถุ",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"1/8000–30 วินาที",burst:"สูงสุด 14 fps ด้วยชัตเตอร์กลไก, 15 fps ด้วยชัตเตอร์อิเล็กทรอนิกส์ และ 30 fps ใน High-Speed Frame Capture+",ibis:"yes",video:"4K UHD 60p",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"SD UHS-II สองช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type D",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 134 × 100.5 × 72 มม.",weight:"ประมาณ 700 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","ถ่ายต่อเนื่องสูงสุด 14 fps ด้วยชัตเตอร์กลไก","วิดีโอ 4K UHD 60p","สล็อต SD UHS-II สองช่อง","ชุด Kit ตามรายการ Z5 II 24-50 KIT"],overview:`Nikon Z 5II ใช้เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซลและระบบประมวลผล EXPEED 7
223
224กล้องรองรับระบบลดภาพสั่นไหวในตัว บันทึก 4K UHD 60p และมีสล็อตการ์ด SD UHS-II สองช่องสำหรับการจัดเก็บที่ยืดหยุ่น`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z5ii-body"},{id:"nikon-z5-ii-24-70-kit",name:"Nikon Z5 II 24-70 KIT Kit",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:79900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.5 ล้านพิกเซล พร้อม EXPEED 7 และระบบโฟกัสตรวจจับวัตถุ",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"1/8000–30 วินาที",burst:"สูงสุด 14 fps ด้วยชัตเตอร์กลไก, 15 fps ด้วยชัตเตอร์อิเล็กทรอนิกส์ และ 30 fps ใน High-Speed Frame Capture+",ibis:"yes",video:"4K UHD 60p",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"SD UHS-II สองช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type D",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 134 × 100.5 × 72 มม.",weight:"ประมาณ 700 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","ถ่ายต่อเนื่องสูงสุด 14 fps ด้วยชัตเตอร์กลไก","วิดีโอ 4K UHD 60p","สล็อต SD UHS-II สองช่อง","ชุด Kit ตามรายการ Z5 II 24-70 KIT"],overview:`Nikon Z 5II ใช้เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซลและระบบประมวลผล EXPEED 7
225
226กล้องรองรับระบบลดภาพสั่นไหวในตัว บันทึก 4K UHD 60p และมีสล็อตการ์ด SD UHS-II สองช่องสำหรับการจัดเก็บที่ยืดหยุ่น`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z5ii-body"},{id:"nikon-z5-ii-24-200-kit",name:"Nikon Z5 II 24-200 KIT Kit",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:80900,manufacturerWarrantyYears:1,image:"",description:"กล้องมิเรอร์เลสฟูลเฟรม 24.5 ล้านพิกเซล พร้อม EXPEED 7 และระบบโฟกัสตรวจจับวัตถุ",specValues:{sensor:"full-frame",processor:"EXPEED 7",resolution:"24.5 ล้านพิกเซล",af:"Hybrid AF แบบ phase-detection/contrast-detection 299 จุด",iso:"ISO 100–64000 ขยายได้เทียบเท่า ISO 50–204800",shutter:"1/8000–30 วินาที",burst:"สูงสุด 14 fps ด้วยชัตเตอร์กลไก, 15 fps ด้วยชัตเตอร์อิเล็กทรอนิกส์ และ 30 fps ใน High-Speed Frame Capture+",ibis:"yes",video:"4K UHD 60p",evf:"OLED 0.5 นิ้ว 3.69 ล้านจุด",lcd:"TFT สัมผัสแบบปรับหมุนได้ 3.2 นิ้ว 2.1 ล้านจุด",card:"SD UHS-II สองช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C และ HDMI Type D",battery:"EN-EL15c",weather:"โครงสร้างป้องกันฝุ่นและละอองน้ำ",dimensions:"ประมาณ 134 × 100.5 × 72 มม.",weight:"ประมาณ 700 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซล","ระบบประมวลผล EXPEED 7","ระบบโฟกัส 299 จุด","ถ่ายต่อเนื่องสูงสุด 14 fps ด้วยชัตเตอร์กลไก","วิดีโอ 4K UHD 60p","สล็อต SD UHS-II สองช่อง","ชุด Kit ตามรายการ Z5 II 24-200 KIT"],overview:`Nikon Z 5II ใช้เซ็นเซอร์ FX-format BSI CMOS 24.5 ล้านพิกเซลและระบบประมวลผล EXPEED 7
227
228กล้องรองรับระบบลดภาพสั่นไหวในตัว บันทึก 4K UHD 60p และมีสล็อตการ์ด SD UHS-II สองช่องสำหรับการจัดเก็บที่ยืดหยุ่น`,overviewSource:"Nikon Australia — https://www.nikon.com.au/z5ii-body"},{id:"nikon-nikkor-z-24-70mm-f-2-8-s-ii",name:"Nikon NIKKOR Z 24-70mm f/2.8 S II",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:89900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐาน S-Line ระดับมืออาชีพสำหรับกล้อง Nikon Z ให้รูรับแสงคงที่ f/2.8 ตลอดช่วง 24–70 มม.",specValues:{focalLength:"24
228-70 mm",maxAperture:"f/2.8",minAperture:"f/22",optics:"14 elements in 10 groups (including 2 ED glass elements, 3 aspherical lens elements, elements with Meso Amorphous Coat and ARNEO Coat, and a fluorine-coated front lens element)",minFocus:"0.24 m/0.79 ft (at 24 mm and 28 mm), 0.27 m/0.89 ft (at 35 mm), 0.30 m/0.99 ft (at 50 mm), and 0.33 m/1.09 ft (at 70 mm) from focal plane",magnification:"0.32x (70 mm focal length)",filterSize:"77 mm (P = 0.75 mm)",dimensions:"Approximately 84 mm/3.4 in. maximum diameter x 142 mm/5.6 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 675 g/1 lb 7.9 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 24-70 mm","รูรับแสงสูงสุด: f/2.8","รูรับแสงต่ำสุด: f/22","โครงสร้างชิ้นเลนส์: 14 elements in 10 groups (including 2 ED glass elements, 3 aspherical lens elements, elements with Meso Amorphous Coat and ARNEO Coat, and a fluorine-coated front lens element)","ระยะโฟกัสใกล้สุด: 0.24 m/0.79 ft (at 24 mm and 28 mm), 0.27 m/0.89 ft (at 35 mm), 0.30 m/0.99 ft (at 50 mm), and 0.33 m/1.09 ft (at 70 mm) from focal plane","อัตราขยายสูงสุด: 0.32x (70 mm focal length)","ขนาดฟิลเตอร์: 77 mm (P = 0.75 mm)","ขนาด: Approximately 84 mm/3.4 in. maximum diameter x 142 mm/5.6 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 675 g/1 lb 7.9 oz","เมาท์: Nikon Z"],overview:"ครอบคลุมตั้งแต่มุมกว้างถึงระยะมาตรฐาน พร้อมโครงสร้าง 14 ชิ้นเลนส์ใน 10 กลุ่ม ระยะโฟกัสใกล้สุดเริ่ม 0.24 ม. และน้ำหนักประมาณ 675 กรัม",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_24-70mmf28s2/"},{id:"nikon-nikkor-z-28-135mm-f-4-pz",name:"Nikon NIKKOR Z 28-135mm f/4 PZ",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:89990,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมไฟฟ้าฟูลเฟรม Nikon Z ช่วง 28–135 มม. รูรับแสงคงที่ f/4 ออกแบบสำหรับงานวิดีโอ",specValues:{focalLength:"28-135 mm",maxAperture:"f/4",minAperture:"f/22",optics:"18 elements in 13 groups (including 3 ED elements, 1 aspherical ED element, 4 aspherical elements, and elements with Meso Amorphous Coat, and fluorine Coat)",minFocus:"0.34 m/1.12 ft (at 28 mm) and 0.57 m/1.87 ft (at 135 mm) from focal plane",magnification:"0.25x (55-135 mm focal length)",filterSize:"95 mm",dimensions:"Approximately 105 mm/4.2 in. maximum diameter x 177.5 mm/7 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 1,210 g/2 lb 10.7 oz (with tripod collar); approximately 1,120 g/2 lb 7.5 oz (without tripod collar)",mount:"Nikon Z"},specs:["ระยะโฟกัส: 28-135 mm","รูรับแสงสูงสุด: f/4","รูรับแสงต่ำสุด: f/22","โครงสร้างชิ้นเลนส์: 18 elements in 13 groups (including 3 ED elements, 1 aspherical ED element, 4 aspherical elements, and elements with Meso Amorphous Coat, and fluorine Coat)","ระยะโฟกัสใกล้สุด: 0.34 m/1.12 ft (at 28 mm) and 0.57 m/1.87 ft (at 135 mm) from focal plane","อัตราขยายสูงสุด: 0.25x (55-135 mm focal length)","ขนาดฟิลเตอร์: 95 mm","ขนาด: Approximately 105 mm/4.2 in. maximum diameter x 177.5 mm/7 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 1,210 g/2 lb 10.7 oz (with tripod collar); approximately 1,120 g/2 lb 7.5 oz (without tripod collar)","เมาท์: Nikon Z"],overview:"ระบบ Power Zoom ให้การซูมราบรื่นและเลือกความเร็วได้ 11 ระดับ โดยออกแบบให้การเปลี่ยนจุดโฟกัสขณะซูมน้อยและสมดุลบนกิมบอล",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_28-135mmf4/"},{id:"nikon-nikkor-z-35mm-f-1-2-vr-s",name:"Nikon NIKKOR Z 35mm f/1.2 S",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:98900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มุมกว้าง S-Line 35 มม. รูรับแสง f/1.2 สำหรับกล้อง Nikon Z",specValues:{focalLength:"35 mm",maxAperture:"f/1.2",minAperture:"f/16",optics:"17 elements in 15 groups (including 3 ED elements, 1 aspherical ED element, 3 aspherical elements, and elements with Meso Amorphous Coat, Nano Crystal Coat, and ARNEO Coat)",minFocus:"0.3 m/0.99 ft from the focal plane",magnification:"0.2x",filterSize:"82 mm (P = 0.75 mm)",dimensions:"Approximately 90 mm/3.6 in. maximum diameter x 150 mm/6 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 1,060 g/2 lb 5.4 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 35 mm","รูรับแสงสูงสุด: f/1.2","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 17 elements in 15 groups (including 3 ED elements, 1 aspherical ED element, 3 aspherical elements, and elements with Meso Amorphous Coat, Nano Crystal Coat, and ARNEO Coat)","ระยะโฟกัสใกล้สุด: 0.3 m/0.99 ft from the focal plane","อัตราขยายสูงสุด: 0.2x","ขนาดฟิลเตอร์: 82 mm (P = 0.75 mm)","ขนาด: Approximately 90 mm/3.6 in. maximum diameter x 150 mm/6 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 1,060 g/2 lb 5.4 oz","เมาท์: Nikon Z"],overview:"ให้โบเก้นุ่มและการแยกตัวแบบที่เด่นชัด ใช้ชิ้นเลนส์และสารเคลือบหลายชนิดเพื่อคงความคมชัดทั่วเฟรมและลดแสงหลอก",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_35mmf12s/"},{id:"nikon-nikkor-z-50mm-f-1-4",name:"Nikon NIKKOR Z 50mm f/1.4",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:22900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มาตรฐาน 50 มม. รูรับแสง f/1.4 สำหรับกล้อง Nikon Z",specValues:{focalLength:"50 mm",maxAperture:"f/1.4",minAperture:"f/16",optics:"10 elements in 7 groups (including 1 aspherical lens elements)",minFocus:"0.37 m/1.22 ft from focal plane",magnification:"0.17×",filterSize:"62 mm (P = 0.75 mm)",dimensions:"Approximately 74.5 mm/3 in. maximum diameter × 86.5 mm/3.5 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 420 g/14.9 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 50 mm","รูรับแสงสูงสุด: f/1.4","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 10 elements in 7 groups (including 1 aspherical lens elements)","ระยะโฟกัสใกล้สุด: 0.37 m/1.22 ft from focal plane","อัตราขยายสูงสุด: 0.17×","ขนาดฟิลเตอร์: 62 mm (P = 0.75 mm)","ขนาด: Approximately 74.5 mm/3 in. maximum diameter × 86.5 mm/3.5 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 420 g/14.9 oz","เมาท์: Nikon Z"],overview:"ตัวเลนส์กะทัดรัด น้ำหนักประมาณ 420 กรัม ให้ฉากหลังละลายและโฟกัสใกล้สุด 0.37 ม. เหมาะกับภาพบุคคลและการใช้งานประจำวัน",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_50mmf14/"},{id:"nikon-nikkor-z-35mm-f-1-4",name:"Nikon NIKKOR Z 35mm f/1.4",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:25500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์ 35 มม. รูรับแสง f/1.4 สำหรับกล้อง Nikon Z",specValues:{focalLength:"35 mm",maxAperture:"f/1.4",minAperture:"f/16",optics:"11 elements in 9 groups (including 2 aspherical lens elements)",minFocus:"0.27 m/0.89 ft from focal plane",magnification:"0.18×",filterSize:"62 mm (P = 0.75 mm)",dimensions:"Approximately 74.5 mm/3 in. maximum diameter × 86.5 mm/3.5 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 415 g/14.7 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 35 mm","รูรับแสงสูงสุด: f/1.4","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 11 elements in 9 groups (including 2 aspherical lens elements)","ระยะโฟกัสใกล้สุด: 0.27 m/0.89 ft from focal plane","อัตราขยายสูงสุด: 0.18×","ขนาดฟิลเตอร์: 62 mm (P = 0.75 mm)","ขนาด: Approximately 74.5 mm/3 in. maximum diameter × 86.5 mm/3.5 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 415 g/14.7 oz","เมาท์: Nikon Z"],overview:"มุมมองเป็นธรรมชาติพร้อมโบเก้นุ่ม โฟกัสใกล้สุด 0.27 ม. และมีตัวเลนส์กะทัดรัดน้ำหนักประมาณ 415 กรัม",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_35mmf14/"},{id:"nikon-nikkor-z-28-400mm-f-4-8-vr",name:"Nikon NIKKOR Z 28-400mm f/4-8 VR",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:53500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอเนกประสงค์ Nikon Z ช่วงกว้าง 28–400 มม. พร้อมระบบ VR",specValues:{focalLength:"28-400 mm",maxAperture:"f/4-8",minAperture:"f/22-45",optics:"21 elements in 15 groups (including 4 ED glass elements and 3 aspherical lens elements)",minFocus:"0.2 m/0.66 ft (at 28 mm) and 1.2 m/3.94 ft (at 400 mm) from focal plane",magnification:"0.35x (at 28 mm)",filterSize:"77 mm (P = 0.75 mm)",dimensions:"Approximately 84.5 x 141.5 mm/3.4 x 5.6 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 725 g/1 lb 9.6 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 28-400 mm","รูรับแสงสูงสุด: f/4-8","รูรับแสงต่ำสุด: f/22-45","โครงสร้างชิ้นเลนส์: 21 elements in 15 groups (including 4 ED glass elements and 3 aspherical lens elements)","ระยะโฟกัสใกล้สุด: 0.2 m/0.66 ft (at 28 mm) and 1.2 m/3.94 ft (at 400 mm) from focal plane","อัตราขยายสูงสุด: 0.35x (at 28 mm)","ขนาดฟิลเตอร์: 77 mm (P = 0.75 mm)","ขนาด: Approximately 84.5 x 141.5 mm/3.4 x 5.6 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 725 g/1 lb 9.6 oz","เมาท์: Nikon Z"],overview:"เลนส์ตัวเดียวครอบคลุมมุมกว้างถึงซูเปอร์เทเล โฟกัสใกล้สุด 0.2 ม. ที่ 28 มม. และมีน้ำหนักประมาณ 725 กรัม",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_28-400mmf4-8_vr/"},{id:"nikon-nikkor-z-600mm-f-6-3-vr-s",name:"Nikon NIKKOR Z 600mm f/6.3 VR S",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:191900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์ซูเปอร์เทเล S-Line ระยะ 600 มม. f/6.3 พร้อมระบบ VR สำหรับ Nikon Z",specValues:{focalLength:"600 mm",maxAperture:"f/6.3",minAperture:"f/32",optics:"21 elements in 14 groups (including 2 ED elements, 1 SR element, 1 PF element, elements with Nano Crystal Coat, and a fluorine-coated front lens element)",minFocus:"4 m/13.13 ft from focal plane",magnification:"0.15x",filterSize:"95 mm (P = 1.0 mm)",dimensions:"Approximately 106.5 mm/4.2 in. maximum diameter x 278 mm/11 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 1,470 g/3 lb 3.9 oz (with tripod collar);; approximately 1,390 g/3 lb 1.1 oz (without tripod collar)",mount:"Nikon Z"},specs:["ระยะโฟกัส: 600 mm","รูรับแสงสูงสุด: f/6.3","รูรับแสงต่ำสุด: f/32","โครงสร้างชิ้นเลนส์: 21 elements in 14 groups (including 2 ED elements, 1 SR element, 1 PF element, elements with Nano Crystal Coat, and a fluorine-coated front lens element)","ระยะโฟกัสใกล้สุด: 4 m/13.13 ft from focal plane","อัตราขยายสูงสุด: 0.15x","ขนาดฟิลเตอร์: 95 mm (P = 1.0 mm)","ขนาด: Approximately 106.5 mm/4.2 in. maximum diameter x 278 mm/11 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 1,470 g/3 lb 3.9 oz (with tripod collar);; approximately 1,390 g/3 lb 1.1 oz (without tripod collar)","เมาท์: Nikon Z"],overview:"ออกแบบสำหรับการถ่ายตัวแบบระยะไกลด้วยทางยาวโฟกัส 600 มม. ใช้ฟิลเตอร์ 95 มม. และมีน้ำหนักประมาณ 1,470 กรัม",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_600mmf63_vr_s/"},{id:"nikon-nikkor-z-135mm-f-1-8-s",name:"Nikon NIKKOR Z 135mm f/1.8 S Plena",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:98500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์เทเลระยะ 135 มม. f/1.8 ในกลุ่ม S-Line ที่ Nikon ตั้งชื่อว่า Plena",specValues:{focalLength:"135 mm",maxAperture:"f/1.8",minAperture:"f/16",optics:"16 elements in 14 groups (4 ED elements, 1 aspherical element, 1 SR element, and elements with Meso Amorphous Coat and ARNEO Coat)",minFocus:"0.82 m/2.69 ft",magnification:"0.2x",filterSize:"82 mm",dimensions:"Approximately 98 mm/3.9 in. maximum diameter x 139.5 mm/5.5 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 995 g/2 lb 3.1 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 135 mm","รูรับแสงสูงสุด: f/1.8","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 16 elements in 14 groups (4 ED elements, 1 aspherical element, 1 SR element, and elements with Meso Amorphous Coat and ARNEO Coat)","ระยะโฟกัสใกล้สุด: 0.82 m/2.69 ft","อัตราขยายสูงสุด: 0.2x","ขนาดฟิลเตอร์: 82 mm","ขนาด: Approximately 98 mm/3.9 in. maximum diameter x 139.5 mm/5.5 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 995 g/2 lb 3.1 oz","เมาท์: Nikon Z"],overview:"อà¸
228­à¸à¹à¸šà¸šà¹€à¸žà¸·à¹ˆà¸­à¹‚บเก้ทรงกลมทั่วเฟรมและการไล่โบเก้ที่นุ่ม พร้อมถ่ายทอดรายละเอียดและควบคุมความคลาดสีด้วยโครงสร้าง 16 ชิ้นเลนส์ใน 14 กลุ่ม",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_135mmf18s/"},{id:"nikon-nikkor-z-180-600mm-f-5-6-6-3-vr",name:"Nikon NIKKOR Z 180-600mm f/5.6-6.3 VR",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:76500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลซูม Nikon Z ช่วง 180–600 มม. พร้อมระบบ VR",specValues:{focalLength:"180-600 mm",maxAperture:"f/5.6-6.3",minAperture:"f/32-36",optics:"25 elements in 17 groups (including 6 ED elements, 1 aspherical element, and a fluorine-coated front lens element)",minFocus:"1.3 m/4.27 ft (at 180 mm) and 2.4 m/7.88 ft (at 600 mm) from focal plane",magnification:"0.25x",filterSize:"95 mm",dimensions:"Approximately 110 mm/4.4 in. maximum diameter x 315.5 mm/12.5 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 2,140 g/4 lb 11.5 oz (including tripod collar ring); Approximately 1,955 g/4 lb 5 oz (excluding tripod collar ring)",mount:"Nikon Z"},specs:["ระยะโฟกัส: 180-600 mm","รูรับแสงสูงสุด: f/5.6-6.3","รูรับแสงต่ำสุด: f/32-36","โครงสร้างชิ้นเลนส์: 25 elements in 17 groups (including 6 ED elements, 1 aspherical element, and a fluorine-coated front lens element)","ระยะโฟกัสใกล้สุด: 1.3 m/4.27 ft (at 180 mm) and 2.4 m/7.88 ft (at 600 mm) from focal plane","อัตราขยายสูงสุด: 0.25x","ขนาดฟิลเตอร์: 95 mm","ขนาด: Approximately 110 mm/4.4 in. maximum diameter x 315.5 mm/12.5 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 2,140 g/4 lb 11.5 oz (including tripod collar ring); Approximately 1,955 g/4 lb 5 oz (excluding tripod collar ring)","เมาท์: Nikon Z"],overview:"ช่วงซูมกว้างสำหรับตัวแบบระยะไกลและรองรับเทเลคอนเวอร์เตอร์ มีโครงสร้าง 25 ชิ้นเลนส์ใน 17 กลุ่ม และโฟกัสใกล้สุด 1.3 ม. ที่ 180 มม.",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_180-600mmf56-63_vr/"},{id:"nikon-nikkor-z-70-180mm-f-2-8",name:"Nikon NIKKOR Z 70-180mm f/2.8",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:49900,manufacturerWarrantyYears:1,image:"",description:"เลนส์เทเลซูม Nikon Z ช่วง 70–180 มม. รูรับแสงคงที่ f/2.8",specValues:{focalLength:"70-180 mm",maxAperture:"f/2.8",minAperture:"f/22",optics:"19 elements in 14 groups (5 ED elements, 1 Super ED element, 3 aspherical elements)",minFocus:"0.27 m/0.89 ft (at 70 mm), 0.85 m/2.79 ft (at 180 mm)",magnification:"0.48x",filterSize:"67 mm",dimensions:"Approximately 83.5x151 mm / 3.3 in. x 6 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 795 g/1 lb 12.1 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 70-180 mm","รูรับแสงสูงสุด: f/2.8","รูรับแสงต่ำสุด: f/22","โครงสร้างชิ้นเลนส์: 19 elements in 14 groups (5 ED elements, 1 Super ED element, 3 aspherical elements)","ระยะโฟกัสใกล้สุด: 0.27 m/0.89 ft (at 70 mm), 0.85 m/2.79 ft (at 180 mm)","อัตราขยายสูงสุด: 0.48x","ขนาดฟิลเตอร์: 67 mm","ขนาด: Approximately 83.5x151 mm / 3.3 in. x 6 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 795 g/1 lb 12.1 oz","เมาท์: Nikon Z"],overview:"ให้ช่วงเทเลที่ยืดหยุ่นในตัวเลนส์น้ำหนักประมาณ 795 กรัม โฟกัสใกล้สุดเริ่ม 0.27 ม. ที่ระยะ 70 มม.",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_70-180mmf28/"},{id:"nikon-nikkor-z-dx-24mm-f-1-7",name:"Nikon NIKKOR Z DX 24mm f/1.7",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:11900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์ขนาดกะทัดรัดสำหรับกล้อง Nikon Z รูปแบบ DX ระยะ 24 มม. f/1.7",specValues:{focalLength:"24 mm",maxAperture:"f/1.7",minAperture:"f/11",optics:"9 elements in 8 groups (including 2 aspherical lens elements)",minFocus:"0.18 m/0.59 ft from focal plane",magnification:"0.19x",filterSize:"46 mm",dimensions:"Approximately 70 mm/2.8 in. maximum diameter x 40 mm/1.6 in. (distance from camera lens mount flange)",weight:"Approximately 135 g/4.8 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 24 mm","รูรับแสงสูงสุด: f/1.7","รูรับแสงต่ำสุด: f/11","โครงสร้างชิ้นเลนส์: 9 elements in 8 groups (including 2 aspherical lens elements)","ระยะโฟกัสใกล้สุด: 0.18 m/0.59 ft from focal plane","อัตราขยายสูงสุด: 0.19x","ขนาดฟิลเตอร์: 46 mm","ขนาด: Approximately 70 mm/2.8 in. maximum diameter x 40 mm/1.6 in. (distance from camera lens mount flange)","น้ำหนัก: Approximately 135 g/4.8 oz","เมาท์: Nikon Z"],overview:"ให้มุมมองเทียบเท่าประมาณ 36 มม. บนฟอร์แมต FX พร้อมระยะโฟกัสใกล้สุด 0.18 ม. และน้ำหนักประมาณ 135 กรัม",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_dx_24mmf17/"},{id:"nikon-nikkor-z-dx-12-28mm-f-3-5-5-6-pz-vr",name:"Nikon NIKKOR Z DX 12-28mm f/3.5-5.6 PZ VR",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:12900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมุมกว้างพิเศษสำหรับ Nikon Z รูปแบบ DX พร้อม Power Zoom และ VR",specValues:{focalLength:"12-28 mm",maxAperture:"f/3.5-5.6",minAperture:"f/16-25",optics:"12 elements in 11 groups (including 1 ED glass element and 1 aspherical lens element)",minFocus:"0.19 m/0.63 ft from the focal plane",magnification:"0.21x",filterSize:"67 mm",dimensions:"Approximately 72 mm/2.9 in. maximum diameter × 63.5 mm/2.5 in. distance from the camera lens mount flange",weight:"Approximately 205 g/7.3 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 12-28 mm","รูรับแสงสูงสุด: f/3.5-5.6","รูรับแสงต่ำสุด: f/16-25","โครงสร้างชิ้นเลนส์: 12 elements in 11 groups (including 1 ED glass element and 1 aspherical lens element)","ระยะโฟกัสใกล้สุด: 0.19 m/0.63 ft from the focal plane","อัตราขยายสูงสุด: 0.21x","ขนาดฟิลเตอร์: 67 mm","ขนาด: Approximately 72 mm/2.9 in. maximum diameter × 63.5 mm/2.5 in. distance from the camera lens mount flange","น้ำหนัก: Approximately 205 g/7.3 oz","เมาท์: Nikon Z"],overview:"ครอบคลุมระยะ 12–28 มม. ใช้การซูมไฟฟ้า เหมาะกับภาพนิ่งและวิดีโอ โฟกัสใกล้สุด 0.19 ม. ตลอดช่วงซูม",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_dx_12-28mmf35-56_pz_vr/"},{id:"nikon-nikkor-z-85mm-f-1-2-s",name:"Nikon NIKKOR Z 85mm f/1.2 S",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:109900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์ถ่ายภาพบุคคล S-Line ระยะ 85 มม. รูรับแสง f/1.2 สำหรับ Nikon Z",specValues:{focalLength:"85 mm",maxAperture:"f/1.2",minAperture:"f/16",optics:"15 elements in 10 groups (including 1 ED glass element, 2 aspherical lens elements, and elements with Nano Crystal Coat)",minFocus:"0.85 m/2.79 ft from focal plane",magnification:"0.11x",filterSize:"82 mm (P = 0.75 mm)",dimensions:"Approximately 102.5 mm/4.1 in. maximum diameter x 141.5 mm/5.6 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 1160 g/2 lb 9 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 85 mm","รูรับแสงสูงสุด: f/1.2","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 15 elements in 10 groups (including 1 ED glass element, 2 aspherical lens elements, and elements with Nano Crystal Coat)","ระยะโฟกัสใกล้สุด: 0.85 m/2.79 ft from focal plane","อัตราขยายสูงสุด: 0.11x","ขนาดฟิลเตอร์: 82 mm (P = 0.75 mm)","ขนาด: Approximately 102.5 mm/4.1 in. maximum diameter x 141.5 mm/5.6 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 1160 g/2 lb 9 oz","เมาท์: Nikon Z"],overview:"รูรับแสงกว้างช่วยแยกตัวแบบด้วยระยะชัดตื้น โครงสร้าง 15 ชิ้นเลนส์ใน 10 กลุ่ม และไดอะแฟรม 11 กลีบ",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_85mmf12s/"},{id:"nikon-nikkor-z-26mm-f-2-8",name:"Nikon NIKKOR Z 26mm f/2.8",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:17900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มุมกว้างแบบแพนเค้ก 26 มม. f/2.8 สำหรับกล้อง Nikon Z",specValues:{focalLength:"26 mm",maxAperture:"f/2.8",minAperture:"f/16",optics:"8 elements in 6 groups (including 3 aspherical lens elements)",minFocus:"0.2 m/0.66 ft from focal plane",magnification:"0.19x",filterSize:"52 mm",dimensions:"Approximately 70 mm/2.8 in. maximum diameter x 23.5 mm/1 in. (distance from camera lens mount flange)",weight:"Approximately 125 g/4.5 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 26 mm","รูรับแสงสูงสุด: f/2.8","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 8 elements in 6 groups (including 3 aspherical lens elements)","ระยะโฟกัสใกล้สุด: 0.2 m/0.66 ft from focal plane","อัตราขยายสูงสุด: 0.19x","ขนาดฟิลเตอร์: 52 mm","ขนาด: Approximately 70 mm/2.8 in. maximum diameter x 23.5 mm/1 in. (distance from camera lens mount flange)","น้ำหนัก: Approximately 125 g/4.5 oz","เมาท์: Nikon Z"],overview:"มีความยาวประมาณ 23.5 มม. น้ำหนักประมาณ 125 กรัม โฟกัสใกล้สุด 0.2 ม. เหมาะกับชุดกล้องพกพา",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_26mmf28/"},{id:"nikon-nikkor-z-20mm-f-1-8-s",name:"Nikon NIKKOR Z 20mm f/1.8 S",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:39900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มุมกว้างพิเศษ S-Line ระยะ 20 มม. f/1.8 สำหรับ Nikon Z",specValues:{focalLength:"20 mm",maxAperture:"f/1.8",minAperture:"f/16",optics:"14 elements in 11 groups (including 3 ED glass and 3 aspherical lens elements, and elements with Nano Crystal Coat)",minFocus:"0.20 m/0.66 ft from focal plane",magnification:"0.19x",filterSize:"77 mm (P = 0.75 mm)",dimensions:"Approximately 84.5 mm/3.4 in. maximum diameter x 108.5 mm/4.3 in. (distance from camera lens mount flange)",weight:"Approximately 505 g/1 lb 1.9 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 20 mm","รูรับแสงสูงสุด: f/1.8","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 14 elements in 11 groups (including 3 ED glass and 3 aspherical lens elements, and elements with Nano Crystal Coat)","ระยะโฟกัสใกล้สุด: 0.20 m/0.66 ft from focal plane","อัตราขยายสูงสุด: 0.19x","ขนาดฟิลเตอร์: 77 mm (P = 0.75 mm)","ขนาด: Approximately 84.5 mm/3.4 in. maximum diameter x 108.5 mm/4.3 in. (distance from camera lens mount flange)","น้ำหนัก: Approximately 505 g/1 lb 1.9 oz","เมาท์: Nikon Z"],overview:"ให้มุมรับภาพ FX 94° และออกแบบให้ถ่ายทอดจุดแสงบริเวณขอบภาพ เหมาะกับทิวทัศน์ ภายใน และการถ่ายดาว",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_20mmf18s/"},{id:"nikon-nikkor-z-24mm-f-1-8-s",name:"Nikon NIKKOR Z 24mm f/1.8 S",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:33900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มุมกว้าง S-Line ระยะ 24 มม. f/1.8 สำหรับ Nikon Z",specValues:{focalLength:"24 mm",maxAperture:"f/1.8",minAperture:"f/16",optics:"12 elements in 10 groups (including 1 ED glass and 4 aspherical lens elements, and elements with Nano Crystal Coat)",minFocus:"0.25 m/0.82 ft from focal plane",magnification:"0.15x",filterSize:"72 mm (P = 0.75 mm)",dimensions:"Approximately 78.0 mm maximum diameter x 96.5 mm (distance from camera lens mount flange)",weight:"Approximately 450 g/15.9 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 24 mm","รูรับแสงสูงสุด: f/1.8","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 12 elements in 10 groups (including 1 ED glass and 4 aspherical lens elements, and elements with Nano Crystal Coat)","ระยะโฟกัสใกล้สุด: 0.25 m/0.82 ft from focal plane","อัตราขยายสูงสุด: 0.15x","ขนาดฟิลเตอร์: 72 mm (P = 0.75 mm)","ขนาด: Approximately 78.0 mm maximum diameter x 96.5 mm (distance from camera lens mount flange)","น้ำหนัก: Approximately 450 g/15.9 oz","เมาท์: Nikon Z"],overview:"ให้ความละเอียดทั่วเฟรมในช่วงระยะถ่ายที่หลากหลาย พร้อมระบบมัลติโฟกัสและ Nano Crystal Coat สำหรับลดแสงหลอกและแฟลร์",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_24mmf18s/"},{id:"nikon-nikkor-z-28mm-f-2-8-se",name:"Nikon NIKKOR Z 28mm f/2.8 (SE)",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:9900,manufacturerWarrantyYears:1,im
228age:"",description:"เลนส์ไพรม์มุมกว้างรุ่น Special Edition ระยะ 28 มม. f/2.8 พร้อมดีไซน์ภายนอกแบบคลาสสิก",specValues:{focalLength:"28 mm",maxAperture:"f/2.8",minAperture:"f/16",optics:"9 elements in 8 groups (including 2 aspherical lens elements)",minFocus:"0.19 m/0.63 ft from focal plane",magnification:"0.2x",filterSize:"52 mm",dimensions:"Approximately 71.5 mm/2.9 in. maximum diameter x 43 mm/1.7 in. (distance from camera lens mount flange)",weight:"Approximately 160 g/5.7 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 28 mm","รูรับแสงสูงสุด: f/2.8","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 9 elements in 8 groups (including 2 aspherical lens elements)","ระยะโฟกัสใกล้สุด: 0.19 m/0.63 ft from focal plane","อัตราขยายสูงสุด: 0.2x","ขนาดฟิลเตอร์: 52 mm","ขนาด: Approximately 71.5 mm/2.9 in. maximum diameter x 43 mm/1.7 in. (distance from camera lens mount flange)","น้ำหนัก: Approximately 160 g/5.7 oz","เมาท์: Nikon Z"],overview:"ตัวเลนส์ยาวประมาณ 43 มม. น้ำหนักประมาณ 160 กรัม โฟกัสใกล้สุด 0.19 ม. เหมาะกับการพกถ่ายภาพในชีวิตประจำวัน",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_28mmf28_se/"},{id:"nikon-nikkor-z-28mm-f-2-8",name:"Nikon NIKKOR Z 28mm f/2.8",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:10900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มุมกว้างขนาดกะทัดรัด ระยะ 28 มม. f/2.8 สำหรับกล้อง Nikon Z",specValues:{focalLength:"28 mm",maxAperture:"f/2.8",minAperture:"f/16",optics:"9 elements in 8 groups (including 2 aspherical lens elements)",minFocus:"0.19 m/0.63 ft from focal plane",magnification:"0.2x",filterSize:"52 mm",dimensions:"Approximately 71.5 mm/2.9 in. maximum diameter x 43 mm/1.7 in. (distance from camera lens mount flange)",weight:"Approximately 160 g/5.7 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 28 mm","รูรับแสงสูงสุด: f/2.8","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 9 elements in 8 groups (including 2 aspherical lens elements)","ระยะโฟกัสใกล้สุด: 0.19 m/0.63 ft from focal plane","อัตราขยายสูงสุด: 0.2x","ขนาดฟิลเตอร์: 52 mm","ขนาด: Approximately 71.5 mm/2.9 in. maximum diameter x 43 mm/1.7 in. (distance from camera lens mount flange)","น้ำหนัก: Approximately 160 g/5.7 oz","เมาท์: Nikon Z"],overview:"ตัวเลนส์ยาวประมาณ 43 มม. น้ำหนักประมาณ 160 กรัม โฟกัสใกล้สุด 0.19 ม. เหมาะกับการพกถ่ายภาพในชีวิตประจำวัน",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_28mmf28/"},{id:"nikon-nikkor-z-35mm-f-1-8-s",name:"Nikon NIKKOR Z 35mm f/1.8 S",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:31400,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์ S-Line ระยะ 35 มม. f/1.8 สำหรับกล้อง Nikon Z",specValues:{focalLength:"35 mm",maxAperture:"f/1.8",minAperture:"f/16",optics:"11 elements in 9 groups (including 2 ED glass and 3 asphericasl lens elements, and elements with Nano Crystal Coat)",minFocus:"0.25 m/0.82 ft",magnification:"0.19x",filterSize:"62 mm (P = 0.75 mm)",dimensions:"Approximately 73.0 mm maximum diameter x 86.0 mm (distance from camera lens mount flange)",weight:"Approximately 370 g/13.1 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 35 mm","รูรับแสงสูงสุด: f/1.8","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 11 elements in 9 groups (including 2 ED glass and 3 asphericasl lens elements, and elements with Nano Crystal Coat)","ระยะโฟกัสใกล้สุด: 0.25 m/0.82 ft","อัตราขยายสูงสุด: 0.19x","ขนาดฟิลเตอร์: 62 mm (P = 0.75 mm)","ขนาด: Approximately 73.0 mm maximum diameter x 86.0 mm (distance from camera lens mount flange)","น้ำหนัก: Approximately 370 g/13.1 oz","เมาท์: Nikon Z"],overview:"ให้มุมมอง FX 63° พร้อมโครงสร้าง 11 ชิ้นเลนส์ใน 9 à¸
228à¸¥à¸¸à¹ˆà¸¡ โฟกัสใกล้สุด 0.25 ม. และฟิลเตอร์ 62 มม.",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_35mmf18s/"},{id:"nikon-nikkor-z-40mm-f-2",name:"Nikon NIKKOR Z 40mm f/2",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:10900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มาตรฐานขนาดกะทัดรัด 40 มม. f/2 สำหรับ Nikon Z",specValues:{focalLength:"40 mm",maxAperture:"f/2",minAperture:"f/16",optics:"6 elements in 4 groups (including 2 aspherical lens elements)",minFocus:"0.29 m/0.96 ft from focal plane",magnification:"0.17x",filterSize:"52 mm",dimensions:"Approximately 70 mm/2.8 in. maximum diameter x 45.5 mm/1.8 in. (distance from camera lens mount flange)",weight:"Approximately 170 g/6 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 40 mm","รูรับแสงสูงสุด: f/2","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 6 elements in 4 groups (including 2 aspherical lens elements)","ระยะโฟกัสใกล้สุด: 0.29 m/0.96 ft from focal plane","อัตราขยายสูงสุด: 0.17x","ขนาดฟิลเตอร์: 52 mm","ขนาด: Approximately 70 mm/2.8 in. maximum diameter x 45.5 mm/1.8 in. (distance from camera lens mount flange)","น้ำหนัก: Approximately 170 g/6 oz","เมาท์: Nikon Z"],overview:"น้ำหนักประมาณ 170 กรัม โฟกัสใกล้สุด 0.29 ม. และใช้ฟิลเตอร์ขนาด 52 มม. เหมาะกับการพกใช้งานทั่วไป",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_40mmf2/"},{id:"nikon-nikkor-z-50mm-f-1-8-s",name:"Nikon NIKKOR Z 50mm f/1.8 S",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:22220,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มาตรฐาน S-Line ระยะ 50 มม. f/1.8 สำหรับ Nikon Z",specValues:{focalLength:"50 mm",maxAperture:"f/1.8",minAperture:"f/16",optics:"12 elements in 9 groups (including 2 ED glass and 2 asphericasl lens elements, and elements with Nano Crystal Coat)",minFocus:"0.4 m/1.32 ft",magnification:"0.15x",filterSize:"62 mm (P = 0.75 mm)",dimensions:"Approximately 76.0 mm maximum diameter x 86.5 mm (distance from camera lens mount flange)",weight:"Approximately 415 g/14.7 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 50 mm","รูรับแสงสูงสุด: f/1.8","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 12 elements in 9 groups (including 2 ED glass and 2 asphericasl lens elements, and elements with Nano Crystal Coat)","ระยะโฟกัสใกล้สุด: 0.4 m/1.32 ft","อัตราขยายสูงสุด: 0.15x","ขนาดฟิลเตอร์: 62 mm (P = 0.75 mm)","ขนาด: Approximately 76.0 mm maximum diameter x 86.5 mm (distance from camera lens mount flange)","น้ำหนัก: Approximately 415 g/14.7 oz","เมาท์: Nikon Z"],overview:"โครงสร้าง 12 ชิ้นเลนส์ใน 9 กลุ่ม พร้อม Nano Crystal Coat โฟกัสใกล้สุด 0.4 ม. และใช้ไดอะแฟรม 9 กลีบ",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_50mmf18s/"},{id:"nikon-nikkor-z-50mm-f-1-2-s",name:"Nikon NIKKOR Z 50mm f/1.2 S",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:69990,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์มาตรฐาน S-Line ระยะ 50 มม. รูรับแสงกว้าง f/1.2 สำหรับ Nikon Z",specValues:{focalLength:"50 mm",maxAperture:"f/1.2",minAperture:"f/16",optics:"17 elements in 15 groups (including 2 ED glass and 3 aspherical lens elements, and elements with Nano Crystal Coat and ARNEO Coat)",minFocus:"0.45 m/1.48 ft from focal plane",magnification:"0.15x",filterSize:"82 mm (P = 0.75 mm)",dimensions:"Approximately 89.5 mm/3.6 in. maximum diameter x 150 mm/ 6 in. (distance to end of lens from camera lens mount flange)",weight:"Approximately 1090 g/2 lb 6.5 oz",mount:"Nikon Z"},specs:["ระยะโฟกัส: 50 mm","รูรับแสงสูงสุด: f/1.2","รูรับแสงต่ำสุด: f/16","โครงสร้างชิ้นเลนส์: 17 elements in 15 groups (including 2 ED glass and 3 aspherical lens elements, and elements with Nano Crystal Coat and ARNEO Coat)","ระยะโฟกัสใกล้สุด: 0.45 m/1.48 ft from focal plane","อัตราขยายสูงสุด: 0.15x","ขนาดฟิลเตอร์: 82 mm (P = 0.75 mm)","ขนาด: Approximately 89.5 mm/3.6 in. maximum diameter x 150 mm/ 6 in. (distance to end of lens from camera lens mount flange)","น้ำหนัก: Approximately 1090 g/2 lb 6.5 oz","เมาท์: Nikon Z"],overview:"ออกแบบเพื่อความคมชัดและโบเก้ที่รูรับแสงกว้าง ใช้โครงสร้าง 17 ชิ้นเลนส์ใน 15 กลุ่มและไดอะแฟรม 9 กลีบ",overviewSource:"Nikon Consumer official product overview and specifications — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_50mmf12s/"},{id:"nikon-nikkor-z-dx-50-250mm-f-4-5-6-3-vr",name:"Nikon NIKKOR Z DX 50-250mm f/4.5-6.3 VR",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:11900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ DX ขนาดกะทัดรัด พร้อมระบบลดภาพสั่นไหว VR",specValues:{focalLength:"50-250 mm",maxAperture:"f/4.5-6.3",minFocus:"0.5 m/1.64 ft (at 50 mm) from focal plane",magnification:"0.23x",filterSize:"62 mm (P = 0.75 mm)",weight:"Approximately 405 g/14.3 oz",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 50-250 มม.","รูรับแสงสูงสุด f/4.5-6.3","โฟกัสใกล้สุด 0.5 m/1.64 ft (at 50 mm) from focal plane","อัตราขยายสูงสุด 0.23x","ฟิลเตอร์ 62 mm (P = 0.75 mm)","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 405 g/14.3 oz"],overview:"ครอบคลุมช่วงเทเลโฟโต้ 50–250 มม. สำหรับกล้อง Nikon Z รูปแบบ DX เหมาะกับการถ่ายภาพบุคคล กีฬา และวัตถุระยะไกล พร้อมระบบ VR ในตัว",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_dx_50-250mmf45-63_vr/"},{id:"nikon-nikkor-z-58mm-f-0-95-s-noct",name:"Nikon NIKKOR Z 58mm f/0.95 S Noct",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:299900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ไพรม์ Noct แบบแมนวลโฟกัส ความสว่างสูงสุด f/0.95 ในกลุ่ม S-Line",specValues:{focalLength:"58 mm",maxAperture:"f/0.95",minFocus:"0.5 m/1.64 ft from focal plane",magnification:"0.19x",filterSize:"82 mm (P = 0.75 mm)",weight:"Approximately 2,000 g/4 lb 6.6 oz",mount:"z"},specs:["ทางยาวโฟกัส 58 มม.","รูรับแสงสูงสุด f/0.95","โฟกัสใกล้สุด 0.5 m/1.64 ft from focal plane","อัตราขยายสูงสุด 0.19x","ฟิลเตอร์ 82 mm (P = 0.75 mm)","น้ำหนัก Approximately 2,000 g/4 lb 6.6 oz"],overview:"เลนส์ Noct ทางยาวโฟกัส 58 มม. และรูรับแสงสูงสุด f/0.95 ออกแบบเพื่อความละเอียดและโบเก้ที่โดดเด่น โดยใช้การโฟกัสแบบแมนนวล",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_58mmf095s/"},{id:"nikon-nikkor-z-14-24mm-f-2-8-s",name:"Nikon NIKKOR Z 14-24mm f/2.8 S",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:85900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอัลตร้าไวด์ S-Line รูรับแสงคงที่ f/2.8 พร้อมโครงสร้างทนฝุ่นและละอองน้ำ",specValues:{focalLength:"14-24 mm",maxAperture:"f/2.8",minFocus:"0.28 m/0.92 ft",magnification:"0.13x",filterSize:"112 mm (P = 0.75 mm)",weight:"Approximately 650 g/1 lb 7 oz",mount:"z"},specs:["ทางยาวโฟกัส 14-24 มม.","รูรับแสงสูงสุด f/2.8","โฟกัสใกล้สุด 0.28 m/0.92 ft","อัตราขยายสูงสุด 0.13x","ฟิลเตอร์ 112 mm (P = 0.75 mm)","น้ำหนัก Approximately 650 g/1 lb 7 oz"],overview:"ครอบคลุมระยะ 14–24 มม. ด้วยรูรับแสง f/2.8 คงที่ ใช้ชิ้นเลนส์ ED และแอสเฟอริคัล พร้อม Nano Crystal Coat และ ARNEO Coat",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_14-24mmf28s/"},{id:"nikon-nikkor-z-14-30mm-f-4-s",name:"Nikon NIKKOR Z 14-30mm f/4 S",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:44900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอัลตร้าไวด์ S-Line ระยะ 14–30 มม. รูรับแสงคงที่ f/4",specValues:{focalLength:"14-30 mm",maxAperture:"f/4",minFocus:"0.28 m/0.92 ft",magnification:"0.16x",filterSize:"82 mm (P = 0.75 mm)",weight:"Approximately 485 g/1 lb 1.2 oz",mount:"z"},specs:["ทางยาวโฟกัส 14-30 มม.","รูรับแสงสูงสุด f/4","โฟกัสใกล้สุด 0.28 m/0.92 ft","อัตราขยายสูงสุด 0.16x","ฟิลเตอร์ 82 mm (P = 0.75 mm)","น้ำหนัก Approximately 485 g/1 lb 1.2 oz"],overview:"เลนส์มุมกว้างสำหรับ Nikon Z ที่ครอบคลุม 14–30 มม. ใช้โครงสร้างแบบยืดหดเพื่อความคล่องตัว และรองรับฟิลเตอร์หน้าเลนส์ขนาด 82 มม.",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_14-30mmf4s/"},{id:"nikon-nikkor-z-17-28mm-f-2-8",name:"Nikon NIKKOR Z 17-28mm f/2.8",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:44900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมุมกว้างน้ำหนักเบา พร้อมรูรับแสงคงที่ f/2.8",specValues:{focalLength:"17-28 mm",maxAperture:"f/2.8",minFocus:"0.19 m/0.63 ft (at 17 mm) from the focal plane",magnification:"0.19x",filterSize:"67 mm",weight:"Approximately 450 g/15.9 oz",mount:"z"},specs:["ทางยาวโฟกัส 17-28 มม.","รูรับแสงสูงสุด f/2.8","โฟกัสใกล้สุด 0.19 m/0.63 ft (at 17 mm) from the focal plane","อัตราขยายสูงสุด 0.19x","ฟิลเตอร์ 67 mm","น้ำหนัก Approximately 450 g/15.9 oz"],overview:"ครอบคลุมระยะ 17–28 มม. ด้วยรูรับแสง f/2.8 ตลอดช่วงซูม เหมาะกับภาพทิวทัศน์ สถาปัตยกรรม และงานวิดีโอ",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_17-28mmf28/"},{id:"nikon-nikkor-z-dx-18-140mm-f-3-5-6-3-vr",name:"Nikon NIKKOR Z DX 18-140mm f/3.5-6.3 VR",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:19400,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอเนกประสงค์ DX ช่วง 18–140 มม. พร้อมระบบ VR",specValues:{focalLength:"18-140 mm",maxAperture:"f/3.5-6.3",minFocus:"0.2 m/0.66 ft from focal plane (at 18 mm)",magnification:"0.33x (at 140 mm)",filterSize:"62 mm (P = 0.75 mm)",weight:"Approximately 315 g/11.2 oz",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 18-140 มม.","รูรับแสงสูงสุด f/3.5-6.3","โฟกัสใกล้สุด 0.2 m/0.66 ft from focal plane (at 18 mm)","อัตราขยายสูงสุด 0.33x (at 140 mm)","ฟิลเตอร์ 62 mm (P = 0.75 mm)","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 315 g/11.2 oz"],overview:"เลนส์ซูมกำลังขยายสูงสำหรับกล้อง Nikon Z รูปแบบ DX ครอบคลุมตั้งแต่มุมกว้างถึงเทเลโฟโต้ในเลนส์เดียว พร้อมระบบลดภาพสั่นไหว VR",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_dx_18-140mmf35-63_vr/"},{id:"nikon-nikkor-z-24-50mm-f-4-6-3",name:"Nikon NIKKOR Z 24-50mm f/4-6.3",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:16500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐานฟูลเฟรมขนาดกะทัดรัด ช่วง 24–50 มม.",specValues:{focalLength:"24
228-50 mm",maxAperture:"f/4-6.3",minFocus:"0.35 m/1.15 ft from focal plane at all zoom positions",magnification:"0.17x (at 50 mm)",filterSize:"52 mm",weight:"Approximately 195 g/6.9 oz",mount:"z"},specs:["ทางยาวโฟกัส 24-50 มม.","รูรับแสงสูงสุด f/4-6.3","โฟกัสใกล้สุด 0.35 m/1.15 ft from focal plane at all zoom positions","อัตราขยายสูงสุด 0.17x (at 50 mm)","ฟิลเตอร์ 52 mm","น้ำหนัก Approximately 195 g/6.9 oz"],overview:"เลนส์ซูมสำหรับระบบ Nikon Z ครอบคลุมมุมกว้าง 24 มม. ถึงระยะมาตรฐาน 50 มม. ใช้โครงสร้างแบบยืดหดเพื่อความสะดวกในการพกพา",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_24-50mmf4-63/"},{id:"nikon-nikkor-z-24-70mm-f-2-8-s",name:"Nikon NIKKOR Z 24-70mm f/2.8 S",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:79900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐาน S-Line รูรับแสงคงที่ f/2.8 สำหรับงานระดับมืออาชีพ",specValues:{focalLength:"24-70 mm",maxAperture:"f/2.8",minFocus:"0.38 m/1.25 ft",magnification:"0.22x",filterSize:"82 mm (P = 0.75 mm)",weight:"Approximately 805 g/1 lb 12.4 oz",mount:"z"},specs:["ทางยาวโฟกัส 24-70 มม.","รูรับแสงสูงสุด f/2.8","โฟกัสใกล้สุด 0.38 m/1.25 ft","อัตราขยายสูงสุด 0.22x","ฟิลเตอร์ 82 mm (P = 0.75 mm)","น้ำหนัก Approximately 805 g/1 lb 12.4 oz"],overview:"ครอบคลุมช่วงใช้งานบ่อย 24–70 มม. ด้วยรูรับแสง f/2.8 คงที่ ระบบมัลติโฟกัสช่วยให้โฟกัสรวดเร็วและแม่นยำ พร้อม Nano Crystal Coat และ ARNEO Coat",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_24-70mmf28s/"},{id:"nikon-nikkor-z-24-70mm-f-4-s",name:"Nikon NIKKOR Z 24-70mm f/4 S",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:36990,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐาน S-Line ระยะ 24–70 มม. รูรับแสงคงที่ f/4",specValues:{focalLength:"24-70 mm",maxAperture:"f/4",minFocus:"0.3 m/0.99 ft",magnification:"0.3x",filterSize:"72 mm (P = 0.75 mm)",weight:"Approximately 500 g/1 lb 1.7 oz",mount:"z"},specs:["ทางยาวโฟกัส 24-70 มม.","รูรับแสงสูงสุด f/4","โฟกัสใกล้สุด 0.3 m/0.99 ft","อัตราขยายสูงสุด 0.3x","ฟิลเตอร์ 72 mm (P = 0.75 mm)","น้ำหนัก Approximately 500 g/1 lb 1.7 oz"],overview:"เลนส์ซูมมาตรฐานสำหรับ Nikon Z ที่ให้รูรับแสง f/4 ตลอดช่วง พร้อมการออกแบบแบบยืดหดเพื่อรักษาขนาดให้กะทัดรัดเมื่อพกพา",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_24-70mmf4s/"},{id:"nikon-nikkor-z-28-75mm-f-2-8",name:"Nikon NIKKOR Z 28-75mm f/2.8",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:35900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐานน้ำหนักเบา รูรับแสงคงที่ f/2.8",specValues:{focalLength:"28-75 mm",maxAperture:"f/2.8",minFocus:"0.19 m/0.63 ft (at 28 mm) from focal plane",magnification:"0.34x",filterSize:"67 mm",weight:"Approximately 565 g (1 lb 4 oz)",mount:"z"},specs:["ทางยาวโฟกัส 28-75 มม.","รูรับแสงสูงสุด f/2.8","โฟกัสใกล้สุด 0.19 m/0.63 ft (at 28 mm) from focal plane","อัตราขยายสูงสุด 0.34x","ฟิลเตอร์ 67 mm","น้ำหนัก Approximately 565 g (1 lb 4 oz)"],overview:"เลนส์ซูม 28–75 มม. ให้รูรับแสง f/2.8 ตลอดช่วง เหมาะกับภาพบุคคล ภาพทิวทัศน์ และการบันทึกวิดีโอในตัวเลนส์ที่คล่องตัว",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_28-75mmf28/"},{id:"nikon-nikkor-z-70-200mm-f-2-8-vr-s",name:"Nikon NIKKOR Z 70-200mm f/2.8 VR S",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:89900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมเทเลโฟโต้ S-Line รูรับแสงคงที่ f/2.8 พร้อมระบบ VR",specValues:{focalLength:"70-200 mm",maxAperture:"f/2.8",minFocus:"0.5 m/1.64 ft from the image sensor at the wide-angle end; ;
228 1.0 m/3.28 ft at the telephoto end",magnification:"0.2x",filterSize:"77 mm (P = 0.75 mm)",weight:"Approximately 1,440 g/3 lb 2.8 oz (with the tripod collar);; approximately 1,360 g/3 lb (without the tripod collar)",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 70-200 มม.","รูรับแสงสูงสุด f/2.8","โฟกัสใกล้สุด 0.5 m/1.64 ft from the image sensor at the wide-angle end; ; 1.0 m/3.28 ft at the telephoto end","อัตราขยายสูงสุด 0.2x","ฟิลเตอร์ 77 mm (P = 0.75 mm)","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 1,440 g/3 lb 2.8 oz (with the tripod collar);; approximately 1,360 g/3 lb (without the tripod collar)"],overview:"เลนส์เทเลโฟโต้ซูม 70–200 มม. f/2.8 สำหรับระบบ Nikon Z ใช้ระบบมัลติโฟกัสและระบบลดภาพสั่นไหว VR เพื่อรองรับงานกีฬา ภาพบุคคล และงานระดับมืออาชีพ",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_70-200mmf28_vr_s/"},{id:"nikon-nikkor-z-24-200mm-f-4-6-3-vr",name:"Nikon NIKKOR Z 24-200mm f/4-6.3 VR",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:32900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอเนกประสงค์ 24–200 มม. พร้อมระบบลดภาพสั่นไหว VR",specValues:{focalLength:"24-200 mm",maxAperture:"f/4-6.3",minFocus:"0.5 m/1.64 ft (at 24 mm) and 0.7 m/2.30 ft (at 200 mm) from focal plane",magnification:"0.28x",filterSize:"67 mm (P = 0.75 mm)",weight:"Approximately 570 g/1 lb 4.2 oz",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 24-200 มม.","รูรับแสงสูงสุด f/4-6.3","โฟกัสใกล้สุด 0.5 m/1.64 ft (at 24 mm) and 0.7 m/2.30 ft (at 200 mm) from focal plane","อัตราขยายสูงสุด 0.28x","ฟิลเตอร์ 67 mm (P = 0.75 mm)","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 570 g/1 lb 4.2 oz"],overview:"ครอบคลุมตั้งแต่มุมกว้าง 24 มม. ถึงเทเลโฟโต้ 200 มม. ในเลนส์เดียว พร้อม VR เหมาะสำหรับการเดินทางและการถ่ายภาพหลายรูปแบบ",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_24-200mmf4-63_vr/"},{id:"nikon-nikkor-z-24-120mm-f-4-s",name:"Nikon NIKKOR Z 24-120mm f/4 S",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:38500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมอเนกประสงค์ S-Line ระยะ 24–120 มม. รูรับแสงคงที่ f/4",specValues:{focalLength:"24-120 mm",maxAperture:"f/4",minFocus:"0.35 m/1.15 ft from focal plane",magnification:"0.39x",filterSize:"77 mm",weight:"Approximately 630 g/1 lb 6.3 oz",mount:"z"},specs:["ทางยาวโฟกัส 24-120 มม.","รูรับแสงสูงสุด f/4","โฟกัสใกล้สุด 0.35 m/1.15 ft from focal plane","อัตราขยายสูงสุด 0.39x","ฟิลเตอร์ 77 mm","น้ำหนัก Approximately 630 g/1 lb 6.3 oz"],overview:"ครอบคลุมช่วงกว้างถึงเทเลโฟโต้ระยะกลางด้วยรูรับแสง f/4 คงที่ พร้อมระยะโฟกัสใกล้และอัตราขยายสูงสุด 0.39 เท่า",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_24-120mmf4s/"},{id:"nikon-nikkor-z-100-400mm-f-4-5-5-6-vr-s",name:"Nikon NIKKOR Z 100-400mm f/4.5-5.6 VR S",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:92500,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมซูเปอร์เทเลโฟโต้ S-Line ระยะ 100–400 มม. พร้อม VR",specValues:{focalLength:"100-400 mm",maxAperture:"f/4.5-5.6",minFocus:"0.75 m/2.46 ft from the image sensor at the wide-angle end;
228 0.98 m/3.22 ft at the telephoto end",magnification:"0.38x",filterSize:"77 mm (P = 0.75 mm)",weight:"Approximately 1,435 g/3 lb 2.7 oz (with tripod collar);; approximately 1,355 g/2 lb 15.8 oz (without tripod collar)",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 100-400 มม.","รูรับแสงสูงสุด f/4.5-5.6","โฟกัสใกล้สุด 0.75 m/2.46 ft from the image sensor at the wide-angle end; 0.98 m/3.22 ft at the telephoto end","อัตราขยายสูงสุด 0.38x","ฟิลเตอร์ 77 mm (P = 0.75 mm)","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 1,435 g/3 lb 2.7 oz (with tripod collar);; approximately 1,355 g/2 lb 15.8 oz (without tripod collar)"],overview:"เลนส์ซูมเทเลโฟโต้สำหรับ Nikon Z ใช้ชิ้นเลนส์ ED และ Super ED พร้อม Nano Crystal Coat และ ARNEO Coat รองรับงานกีฬาและสัตว์ป่า",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_100-400mmf45-56_vr_s/"},{id:"nikon-nikkor-400-f4-5-vr-s",name:"Nikon NIKKOR Z 400mm f/4.5 VR S",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:119e3,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ S-Line ระยะ 400 มม. f/4.5 พร้อม VR",specValues:{focalLength:"400 mm",maxAperture:"f/4.5",minFocus:"2.5 m/8.21 ft from focal plane",magnification:"0.16x",filterSize:"95 mm",weight:"Approximately 1,245 g/2 lb 12 oz (with tripod collar);; approximately 1,160 g/2 lb 9 oz (without tripod collar)",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 400 มม.","รูรับแสงสูงสุด f/4.5","โฟกัสใกล้สุด 2.5 m/8.21 ft from focal plane","อัตราขยายสูงสุด 0.16x","ฟิลเตอร์ 95 mm","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 1,245 g/2 lb 12 oz (with tripod collar);; approximately 1,160 g/2 lb 9 oz (without tripod collar)"],overview:"เลนส์ไพรม์ 400 มม. ที่ออกแบบให้มีสมดุลและคล่องตัว พร้อมระบบลดภาพสั่นไหว VR สำหรับกีฬา สัตว์ป่า และวัตถุระยะไกล",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_400mmf45_vr_s/"},{id:"nikon-nikkor-z-mc-50mm-f-2-8",name:"Nikon NIKKOR Z MC 50mm f/2.8",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:22550,manufacturerWarrantyYears:1,image:"",description:"เลนส์มาโครระยะมาตรฐาน 50 มม. ให้อัตราขยายสูงสุด 1 เท่า",specValues:{focalLength:"50 mm",maxAperture:"f/2.8",minFocus:"0.16 m/0.53 ft from focal plane",magnification:"1x",filterSize:"46 mm (P = 0.75 mm)",weight:"Approximately 260 g/9.2 oz",mount:"z"},specs:["ทางยาวโฟกัส 50 มม.","รูรับแสงสูงสุด f/2.8","โฟกัสใกล้สุด 0.16 m/0.53 ft from focal plane","อัตราขยายสูงสุด 1x","ฟิลเตอร์ 46 mm (P = 0.75 mm)","น้ำหนัก Approximately 260 g/9.2 oz"],overview:"เลนส์ Micro NIKKOR สำหรับระบบ Z โฟกัสใกล้สุด 0.16 เมตรและให้อัตราขยาย 1:1 เหมาะกับภาพมาโคร รวมถึงการใช้งานทั่วไป",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_mc50mmf28/"},{id:"nikon-nikkor-z-mc-105mm-f-2-8-vr-s",name:"Nikon NIKKOR Z MC 105mm f/2.8 VR S",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:39900,manufacturerWarrantyYears:1,image:"",description:"เลนส์มาโครเทเลโฟโต้ S-Line ระยะ 105 มม. พร้อม VR และอัตราขยาย 1 เท่า",specValues:{focalLength:"105 mm",maxAperture:"f/2.8",minFocus:"0.29 m/0.96 ft from focal plane",magnification:"1x",filterSize:"62 mm (P = 0.75 mm)",weight:"Approximately 630 g/1 lb 6.3 oz",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 105 มม.","รูรับแสงสูงสุด f/2.8","โฟกัสใกล้สุด 0.29 m/0.96 ft from focal plane","อัตราขยายสูงสุด 1x","ฟิลเตอร์ 62 mm (P = 0.75 mm)","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 630 g/1 lb 6.3 oz"],overview:"เลนส์ Micro NIKKOR ระดับ S-Line ให้ระยะโฟกัสใกล้สุด 0.29 เมตร อัตราขยายสูงสุด 1:1 และระบบลดภาพสั่นไหว VR",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_mc105mmf28_vr_s/"},{id:"nikon-nikkor-z-400mm-f-2-8-tc-vr-s",name:"Nikon NIKKOR Z 400mm f/2.8 TC VR S",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:482900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ 400 มม. f/2.8 พร้อมเทเลคอนเวอร์เตอร์ 1.4 เท่าในตัวและ VR",specValues:{focalLength:"Without built-in teleconverter: 400 mm With built-in teleconverter: 560 mm",maxAperture:"Without built-in teleconverter: f/2.8 With built-in teleconverter: f/4",minFocus:"2.5 m/8.21 ft from focal plane",magnification:"0.17x",filterSize:"46 mm",weight:"Approximately 2,950 g/6 lb 8.1 oz",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส Without built-in teleconverter: 400 มม. With built-in teleconverter: 560 มม.","รูรับแสงสูงสุด Without built-in teleconverter: f/2.8 With built-in teleconverter: f/4","โฟกัสใกล้สุด 2.5 m/8.21 ft from focal plane","อัตราขยายสูงสุด 0.17x","ฟิลเตอร์ 46 mm","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 2,950 g/6 lb 8.1 oz"],overview:"เลนส์ S-Line ระดับมืออาชีพมีเทเลคอนเวอร์เตอร์ 1.4 เท่าในตัว เปลี่ยนทางยาวโฟกัสจาก 400 เป็น 560 มม. ได้อย่างรวดเร็ว พร้อมระบบ VR",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_400mmf28_tc_vr_s/"},{id:"nikon-nikkor-z-600mm-f-4-tc-vr-s",name:"Nikon NIKKOR Z 600mm f/4 TC VR S",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:589e3,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ 600 มม. f/4 พร้อมเทเลคอนเวอร์เตอร์ 1.4 เท่าในตัวและ VR",specValues:{focalLength:"Without built-in teleconverter: 600 mm With built-in teleconverter: 840 mm",maxAperture:"Without built-in teleconverter: f/4 With built-in teleconverter: f/5.6",minFocus:"4.3 m/14.11 ft from focal plane",magnification:"Without built-in teleconverter: 0.14x With built-in teleconverter: 0.2x",filterSize:"46 mm",weight:"Approximately 3,260 g/
2287 lb 3 oz",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส Without built-in teleconverter: 600 มม. With built-in teleconverter: 840 มม.","รูรับแสงสูงสุด Without built-in teleconverter: f/4 With built-in teleconverter: f/5.6","โฟกัสใกล้สุด 4.3 m/14.11 ft from focal plane","อัตราขยายสูงสุด Without built-in teleconverter: 0.14x With built-in teleconverter: 0.2x","ฟิลเตอร์ 46 mm","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 3,260 g/7 lb 3 oz"],overview:"เลนส์ S-Line ระยะ 600 มม. สำหรับงานกีฬาและสัตว์ป่า มีเทเลคอนเวอร์เตอร์ 1.4 เท่าในตัวเพื่อขยายระยะเป็น 840 มม. พร้อมระบบ VR",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_600mmf4_tc_vr_s/"},{id:"nikon-nikkor-z-800mm-f-6-3-vr-s",name:"Nikon NIKKOR Z 800mm f/6.3 VR S",brand:"Nikon",category:"lenses",subCategory:"telephoto-lenses",regularPrice:229e3,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้ S-Line ระยะ 800 มม. f/6.3 พร้อม VR",specValues:{focalLength:"800 mm",maxAperture:"f/6.3",minFocus:"5 m/16.41 ft from focal plane",magnification:"0.16x",filterSize:"46 mm",weight:"Approximately 2,385 g/5 lb 4.2 oz",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 800 มม.","รูรับแสงสูงสุด f/6.3","โฟกัสใกล้สุด 5 m/16.41 ft from focal plane","อัตราขยายสูงสุด 0.16x","ฟิลเตอร์ 46 mm","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 2,385 g/5 lb 4.2 oz"],overview:"เลนส์ไพรม์ 800 มม. ใช้ชิ้นเลนส์ PF เพื่อควบคุมขนาดและน้ำหนัก พร้อมระบบลดภาพสั่นไหว VR สำหรับวัตถุที่อยู่ไกล",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_800mmf63_vr_s/"},{id:"nikon-ftz-ii-mount-adapter",name:"Nikon Mount Adapter FTZ II",brand:"Nikon",category:"lenses-support",subCategory:"mount-adapter",regularPrice:9900,manufacturerWarrantyYears:1,image:"",description:"อะแดปเตอร์เมาท์สำหรับใช้เลนส์ NIKKOR เมาท์ F กับกล้องมิเรอร์เลส Nikon Z",specValues:{type:"Mount adapter",compatibility:"Nikon Z mount mirrorless cameras",weight:"Approx. 125 g/4.5 oz"},specs:["ประเภท Mount adapter","รองรับกล้องมิเรอร์เลส Nikon Z","ขนาด Approx. 70 mm/2.8 in. maximum diameter (excluding projections) x 70 mm/2.8 in.","น้ำหนัก Approx. 125 g/4.5 oz"],overview:"Mount Adapter FTZ II เชื่อมต่อเลนส์ NIKKOR เมาท์ F ที่รองรับเข้ากับกล้อง Nikon Z โดยตัวอะแดปเตอร์มีขนาดเส้นผ่านศูนย์กลางสูงสุดประมาณ 70 มม. และน้ำหนักประมาณ 125 กรัม",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/accessory/camera/ftz_2/"},{id:"nikon-zr-bk-sg",name:"Nikon ZR Kit",brand:"Nikon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:78990,manufacturerWarrantyYears:1,image:"",description:"กล้องภาพยนตร์ฟูลเฟรมขนาดกะทัดรัดที่รองรับ R3D NE 6K และเสียง 32-bit float ภายในกล้อง",specValues:{sensor:"FX-format partially-stacked CMOS 24.5 ล้านพิกเซล",video:"6K 60p R3D NE 12 บิต และ 4K 120p",stabilization:"ระบบลดภาพสั่นไหวแบบ sensor-shift 5 แกน สูงสุด 7.5 สต็อป",lcd:"TFT สัมผัสแบบปรับหมุนได้ 4 นิ้ว 3.07 ล้านจุด รองรับ DCI-P3",card:"CFexpress Type B หนึ่งช่อง และ microSD UHS-I หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C, HDMI Type D, ช่องไมโครโฟนและหูฟัง",battery:"EN-EL15c",dimensions:"ประมาณ 133 × 80.5 × 48.7 มม.",weight:"ประมาณ 630 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล","บันทึก 6K 60p R3D NE แบบ 12 บิตภายในกล้อง","วิดีโอ 4K 120p","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 7.5 สต็อป","จอสัมผัสปรับหมุนได้ 4 นิ้ว 3.07 ล้านจุด","บันทึกเสียง 32-bit float","ชุด Kit ตามรายการ ZR BK SG"],overview:`Nikon ZR เป็นกล้องภาพยนตร์ระบบ Nikon Z mount ที่พัฒนาร่วมกับ RED ใช้เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล
229
230กล้องบันทึก R3D NE แบบ 12 บิตที่ความละเอียดสูงสุด 6K/60p ภายในตัว พร้อมจอภาพ 4 นิ้ว ระบบลดภาพสั่นไหวในตัว และการบันทึกเสียง 32-bit float`,overviewSource:"Nikon Australia — https://www.nikon.com.au/zr-body"},{id:"nikon-zr-bk-sg-24-70-kit",name:"Nikon ZR 24-70 KIT Kit",brand:"Nikon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:96990,manufacturerWarrantyYears:1,image:"",description:"กล้องภาพยนตร์ฟูลเฟรมขนาดกะทัดรัดที่รองรับ R3D NE 6K และเสียง 32-bit float ภายในกล้อง",specValues:{sensor:"FX-format partially-stacked CMOS 24.5 ล้านพิกเซล",video:"6K 60p R3D NE 12 บิต และ 4K 120p",stabilization:"ระบบลดภาพสั่นไหวแบบ sensor-shift 5 แกน สูงสุด 7.5 สต็อป",lcd:"TFT สัมผัสแบบปรับหมุนได้ 4 นิ้ว 3.07 ล้านจุด รองรับ DCI-P3",card:"CFexpress Type B หนึ่งช่อง และ microSD UHS-I หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C, HDMI Type D, ช่องไมโครโฟนและหูฟัง",battery:"EN-EL15c",dimensions:"ประมาณ 133 × 80.5 × 48.7 มม.",weight:"ประมาณ 630 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล","บันทึก 6K 60p R3D NE แบบ 12 บิตภายในกล้อง","วิดีโอ 4K 120p","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 7.5 สต็อป","จอสัมผัสปรับหมุนได้ 4 นิ้ว 3.07 ล้านจุด","บันทึกเสียง 32-bit float","ชุด Kit ตามรายการ ZR BK SG 24-70 KIT"],overview:`Nikon ZR เป็นกล้องภาพยนตร์ระบบ Nikon Z mount ที่พัฒนาร่วมกับ RED ใช้เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล
231
232กล้องบันทึก R3D NE แบบ 12 บิตที่ความละเอียดสูงสุด 6K/60p ภายในตัว พร้อมจอภาพ 4 นิ้ว ระบบลดภาพสั่นไหวในตัว และการบันทึกเสียง 32-bit float`,overviewSource:"Nikon Australia — https://www.nikon.com.au/zr-body"},{id:"nikon-zr-bk-sg-24-200-kit",name:"Nikon ZR 24-200 KIT Kit",brand:"Nikon",category:"cinema-vlog",subCategory:"camcorder",regularPrice:109900,manufacturerWarrantyYears:1,image:"",description:"กล้องภาพยนตร์ฟูลเฟรมขนาดกะทัดรัดที่รองรับ R3D NE 6K และเสียง 32-bit float ภายในกล้อง",specValues:{sensor:"FX-format partially-stacked CMOS 24.5 ล้านพิกเซล",video:"6K 60p R3D NE 12 บิต และ 4K 120p",stabilization:"ระบบลดภาพสั่นไหวแบบ sensor-shift 5 แกน สูงสุด 7.5 สต็อป",lcd:"TFT สัมผัสแบบปรับหมุนได้ 4 นิ้ว 3.07 ล้านจุด รองรับ DCI-P3",card:"CFexpress Type B หนึ่งช่อง และ microSD UHS-I หนึ่งช่อง",connectivity:"Wi‑Fi, Bluetooth, USB Type-C, HDMI Type D, ช่องไมโครโฟนและหูฟัง",battery:"EN-EL15c",dimensions:"ประมาณ 133 × 80.5 × 48.7 มม.",weight:"ประมาณ 630 กรัม รวมแบตเตอรี่และการ์ด"},specs:["เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล","บันทึก 6K 60p R3D NE แบบ 12 บิตภายในกล้อง","วิดีโอ 4K 120p","ระบบลดภาพสั่นไหวในตัวกล้องสูงสุด 7.5 สต็อป","จอสัมผัสปรับหมุนได้ 4 นิ้ว 3.07 ล้านจุด","บันทึกเสียง 32-bit float","ชุด Kit ตามรายการ ZR BK SG 24-200 KIT"],overview:`Nikon ZR เป็นกล้องภาพยนตร์ระบบ Nikon Z mount ที่พัฒนาร่วมกับ RED ใช้เซ็นเซอร์ FX-format partially-stacked CMOS 24.5 ล้านพิกเซล
233
234กล้องบันทึก R3D NE แบบ 12 บิตที่ความละเอียดสูงสุด 6K/60p ภายในตัว พร้อมจอภาพ 4 นิ้ว ระบบลดภาพสั่นไหวในตัว และการบันทึกเสียง 32-bit float`,overviewSource:"Nikon Australia — https://www.nikon.com.au/zr-body"},{id:"nikon-nikkor-z-dx-mc-35mm-f-1-7",name:"Nikon NIKKOR Z DX MC 35mm f/1.7",brand:"Nikon",category:"lenses",subCategory:"standard-lenses",regularPrice:17900,manufacturerWarrantyYears:1,image:"",description:"เลนส์มาโคร DX ระยะ 35 มม. f/1.7 ให้อัตราขยายสูงสุด 0.67 เท่า",specValues:{focalLength:"35 mm",maxAperture:"f/1.7",minFocus:"0.16 m/0.53 ft from focal plane",magnification:"0.67x",filterSize:"52 mm (P = 0.75 mm)",weight:"Approximately 220 g/7.8 oz",mount:"z"},specs:["ทางยาวโฟกัส 35 มม.","รูรับแสงสูงสุด f/1.7","โฟกัสใกล้สุด 0.16 m/0.53 ft from focal plane","อัตราขยายสูงสุด 0.67x","ฟิลเตอร์ 52 mm (P = 0.75 mm)","น้ำหนัก Approximately 220 g/7.8 oz"],overview:"เลนส์ Micro NIKKOR สำหรับกล้อง Nikon Z รูปแบบ DX ให้รูรับแสง f/1.7 โฟกัสใกล้สุด 0.16 เมตร และอัตราขยายสูงสุด 0.67 เท่า",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_dx_mc35mmf17/"},{id:"nikon-nikkor-z-dx-16-50mm-f-2-8-vr",name:"Nikon NIKKOR Z DX 16-50mm f/2.8 VR",brand:"Nikon",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:29900,manufacturerWarrantyYears:1,image:"",description:"เลนส์ซูมมาตรฐานสว่างสำหรับ DX ระยะ 16–50 มม. f/2.8 พร้อม VR",specValues:{focalLength:"16-50 mm",maxAperture:"f/2.8",minFocus:"0.15 m/0.5 ft (at 16 mm), 0.18 m/0.59 ft (at 24 mm), 0.21 m/0.69 ft (at 35 mm), 0.25 m/0.82 ft (at 50 mm) from focal plane",magnification:"0.24x (at 50 mm)",filterSize:"67 mm (P = 0.75 mm)",weight:"Approximately 330 g/11.7 oz",is:"Optical VR",mount:"z"},specs:["ทางยาวโฟกัส 16-50 มม.","รูรับแสงสูงสุด f/2.8","โฟกัสใกล้สุด 0.15 m/0.5 ft (at 16 mm), 0.18 m/0.59 ft (at 24 mm), 0.21 m/0.69 ft (at 35 mm), 0.25 m/0.82 ft (at 50 mm) from focal plane","อัตราขยายสูงสุด 0.24x (at 50 mm)","ฟิลเตอร์ 67 mm (P = 0.75 mm)","ระบบลดภาพสั่นไหว Optical VR","น้ำหนัก Approximately 330 g/11.7 oz"],overview:"เลนส์ซูมสำหรับกล้อง Nikon Z รูปแบบ DX ครอบคลุม 16–50 มม. ด้วยรูรับแสง f/2.8 ตลอดช่วง พร้อมระบบลดภาพสั่นไหว VR",overviewSource:"Nikon Consumer (imaging.nikon.com) — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_dx16-50mmf28_vr/"}],WL=[["compact","HX99",16990],["compact","RX100 VII (Body Only)",42990],["compact","RX100 VII Shooting Grip Kit",45990],["compact","RX10 V",70990],["compact","RX1R III",154990],["camera","α1 (Body Only)",199990],["camera","α1 II (Body Only)",224990],["camera","α6700 (Body Only)",52990],["camera","α6700 + 16-50mm Power Zoom Lens",56990],["camera","α7C II (Body Only, Black)",75990],["camera","α7C II + 28-60mm Zoom Lens (Black)",86990],["camera","α7C II + 28-60mm Zoom Lens (Silver)",86990],["camera","α7C II (Body Only, Silver)",75990],["camera","α7C (Body Only, Silver)",61990],["camera","α7 IV (Body Only)",82990],["camera","α7 IV + 28-70mm Zoom Lens",89990],["camera","α7 IV + 28-70mm II Zoom Lens",89990],["camera","α7 V (Body Only)",89990],["camera","α7 V + 28-70mm II Zoom Lens",97990],["camera","α7R V (Body Only)",159990],["camera","α7R VI (Body Only)",159990],["camera","α7S III (Body Only)",121990],["camera","α9 III (Body Only)",224990],["cinema","FX2 (Body Only)",95990],["cinema","FX2 + XLR Handle Unit",109990],["cinema","FX30 (Body Only)",69990],["cinema","FX30 + XLR Handle Unit",83990],["cinema","FX3A + XLR Handle Unit",134990],["cinema","FX3 + XLR Handle Unit",134990],["cinema","FX5 (Body Only)",167990],["cinema","FX5 + XLR Handle Unit",187990],["cinema","FX6 Full-frame Cinema Line Camera",224990],["lens","Fisheye Converter",9990],["lens","Ultra Wide Converter",8490],["lens","FE 100-400mm F4.5-5.6 GM OSS",89990],["lens","FE 100-400mm F4.5 GM OSS",144990],["lens","FE 100-400mm F5.6-8 OSS",28490],["lens","FE 100mm F2.8 STF GM OSS",58990],["lens","FE 100mm F2.8 Macro GM OSS",44990],["lens","E 10-18mm F4 OSS",27990],["lens","E 11mm F1.8",18990],["lens","FE 12-24mm F2.8 GM",94990],["lens","FE 12-24mm F4 G",63990],["lens","FE 135mm F1.8 GM",63990],["lens","FE 14mm F1.8 GM",49990],["lens","1.4x Teleconverter",21990],["lens","E 15mm F1.4 G",26990],["lens","FE 16-25mm F2.8 G",46990],["lens","FE 16-35mm F2.8 GM II",83990],["lens","FE 16-35mm F2.8 GM",77990],["lens","Vario-Tessar T* FE 16-35mm F4 ZA OSS",44990],["lens","E 16-55mm F2.8 G",43990],["lens","Vario-Tessar T* E 16-70mm F4 ZA OSS",33990],["lens","FE 16mm F1.8 G",29490],["lens","E 16mm F2.8",9990],["lens","E 18-135mm F3.5-5.6 OSS",22990],["lens","E 18-200mm F3.5-6.3 OSS LE",25990],["lens","FE 200-600mm F5.6-6.3 G OSS",69990],["lens","FE 20-70mm F4 G",42990],["lens","FE 20mm F1.8 G",31990],["lens","E 20mm F2.8",11490],["lens","2.0x Teleconverter",21990],["lens","FE 24-105mm F4 G OSS",46990],["lens","FE 24-240mm F3.5-6.3 OSS",32990],["lens",
234"FE 24-50mm F2.8 G",42990],["lens","FE 24-70mm F2.8 GM II",72990],["lens","Vario-Tessar T* FE 24-70mm F4 ZA OSS",32990],["lens","FE 24mm F1.4 GM",49990],["lens","Sonnar T* E 24mm F1.8 ZA",36990],["lens","FE 24mm F2.8 G",19990],["lens","FE 28-60mm F4-5.6",14990],["lens","FE 28-70mm F2 GM",102990],["lens","FE 28mm F2",14990],["lens","FE 300mm F2.8 GM OSS",229990],["lens","E 30mm F3.5 Macro",9990],["lens","FE 35mm F1.4 GM",49990],["lens","Distagon T* FE 35mm F1.4 ZA",34990],["lens","E 35mm F1.8 OSS",14990],["lens","FE 35mm F1.8",22990],["lens","Sonnar T* FE 35mm F2.8 ZA",28990],["lens","FE 400-800mm F6.3-8 G OSS",94990],["lens","FE 400mm F2.8 GM OSS",429990],["lens","FE 40mm F2.5 G",19990],["lens","FE 50-150mm F2 GM",123990],["lens","FE 50mm F1.2 GM",68990],["lens","FE 50mm F1.4 GM",52990],["lens","Planar T* FE 50mm F1.4 ZA",59990],["lens","E 50mm F1.8 OSS (Black)",9990],["lens","FE 50mm F1.8",11990],["lens","E 50mm F1.8 OSS (Silver)",9990],["lens","FE 50mm F2.5 G",19990],["lens","FE 50mm F2.8 Macro",19990],["lens","E 55-210mm F4.5-6.3 OSS (Silver)",13990],["lens","E 55-210mm F4.5-6.3 OSS (Black)",13990],["lens","Sonnar T* FE 55mm F1.8 ZA",32990],["lens","FE 600mm F4 GM OSS",459990],["lens","FE 70-200mm F4 Macro G OSS II",63990],["lens","FE 70-200mm F4 G OSS",49990],["lens","FE 70-200mm F2.8 GM OSS II",90990],["lens","FE 70-300mm F4.5-5.6 G OSS",46990],["lens","E 70-350mm F4.5-6.3 G OSS",29990],["lens","FE 85mm F1.4 GM II",69990],["lens","FE 85mm F1.4 GM",59990],["lens","FE 85mm F1.8",21990],["lens","FE 90mm F2.8 Macro G OSS",35990],["lens","E PZ 10-20mm F4 G",26990],["lens","FE PZ 16-35mm F4 G",44990],["lens","E PZ 18-105mm F4 G OSS",19990],["lens","E PZ 18-110mm F4 G OSS",119990],["lens","FE PZ 28-135mm F4 G OSS",84990],["compact","ZV-1 (Black)",22990],["compact","ZV-1F (Black)",17990],["compact","ZV-1F (White)",17990],["compact","ZV-1 II (Black)",29990],["compact","ZV-1 (White)",22990],["camera","ZV-E10 + 16-50mm Power Zoom Lens (Black)",25990],["camera","ZV-E10 + 16-50mm Power Zoom Lens (White)",25990],["camera","ZV-E10 II (Body Only, Black)",38990],["camera","ZV-E10 II + 16-50mm Power Zoom Lens (Black)",42990],["camera","ZV-E10 II + 16-50mm Power Zoom Lens (White)",42990],["camera","ZV-E10 II (Body Only, White)",38990],["camera","ZV-E1 (Body Only, Black)",77990],["camera","ZV-E1 + 28-60mm Zoom Lens (Black)",88990]],KL={"α1 II":"https://www.sony.co.th/en/electronics/interchangeable-lens-cameras/ilce-1m2/specifications",FX2:"https://www.sony.co.th/en/electronics/interchangeable-lens-cameras/ilme-fx2","ZV-E10 ":"https://www.sony.co.th/en/interchangeable-lens-cameras/products/zv-e10","ZV-E1":"https://electronics.sony.com/imaging/interchangeable-lens-cameras/all-interchangeable-lens-cameras/p/ilczve1-b"},HL={"α1 ":{sensor:"full-frame",resolution:"50.1 ล้านพิกเซล",video:"8K"},"α1 II":{sensor:"full-frame",resolution:"50.1 ล้านพิกเซล",video:"8K",ibis:"yes"},α6700:{sensor:"aps-c",resolution:"26.0 ล้านพิกเซล",video:"4K",ibis:"yes"},"α7C II":{sensor:"full-frame",resolution:"33.0 ล้านพิกเซล",video:"4K",ibis:"yes"},"α7C ":{sensor:"full-frame",resolution:"24.2 ล้านพิกเซล",video:"4K",ibis:"yes"},"α7 IV":{sensor:"full-frame",resolution:"33.0 ล้านพิกเซล",video:"4K",ibis:"yes"},"α7R V":{sensor:"full-frame",resolution:"61.0 ล้านพิกเซล",video:"8K",ibis:"yes"},"α7S III":{sensor:"full-frame",resolution:"12.1 ล้านพิกเซล",video:"4K",ibis:"yes"},"α9 III":{sensor:"full-frame",resolution:"24.6 ล้านพิกเซล",video:"4K",ibis:"yes"},FX2:{sensor:"full-frame",resolution:"33.0 ล้านพิกเซล",video:"4K",ibis:"yes"},FX30:{sensor:"aps-c",resolution:"26.0 ล้านพิกเซล",video:"4K",ibis:"yes"},FX3:{sensor:"full-frame",resolution:"12.1 ล้านพิกเซล",video:"4K",ibis:"yes"},FX3A:{sensor:"full-frame",resolution:"12.1 ล้านพิกเซล",video:"4K",ibis:"yes"},FX6:{sensor:"full-frame",resolution:"10.2 ล้านพิกเซล",video:"4K"},"RX100 VII":{sensor:"1.0-type",resolution:"20.1 ล้านพิกเซล",lens:"24–200 มม. F2.8–4.5",video:"4K"},"RX1R III":{sensor:"full-frame",resolution:"61.0 ล้านพิกเซล",lens:"35 มม. F2",video:"4K"},HX99:{sensor:"1/2.3-type",resolution:"18.2 ล้านพิกเซล",lens:"24–720 มม.",video:"4K"},"ZV-1 ":{sensor:"1.0-type",resolution:"20.1 ล้านพิกเซล",lens:"24–70 มม. F1.8–2.8",video:"4K"},"ZV-1F":{sensor:"1.0-type",resolution:"20.1 ล้านพิกเซล",lens:"20 มม. F2",video:"4K"},"ZV-1 II":{sensor:"1.0-type",resolution:"20.1 ล้านพิกเซล",lens:"18–50 มม. F1.8–4",video:"4K"},"ZV-E10 ":{sensor:"aps-c",resolution:"24.2 ล้านพิกเซล",video:"4K"},"ZV-E10 II":{sensor:"aps-c",resolution:"26.0 ล้านพิกเซล",video:"4K"},"ZV-E1":{sensor:"full-frame",resolution:"12.1 ล้านพิกเซล",video:"4K",ibis:"yes"}},qL={"α7 IV (Body Only)":"p1","α7R V (Body Only)":"p4","α9 III (Body Only)":"p14","α1 II (Body Only)":"p15","ZV-E10 II (Body Only, Black)":"p25","FE 24-70mm F2.8 GM II":"p6"},XL=e=>e.normalize("NFKD").toLowerCase().replace(/α/g,"alpha-").replace(/\*/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""),YL=e=>Object.entries(HL).find(([t])=>e.startsWith(t))?.[1]??{},$L=e=>Object.entries(KL).find(([n])=>e.startsWith(n))?.[1]??`https://www.sony.co.th/en/search?query=${encodeURIComponent(e)}
234`,GL=e=>{const t=e.match(/(\d+(?:-\d+)?)mm/i)?.[1],n=e.match(/\bF(\d+(?:\.\d+)?(?:-\d+(?:\.\d+)?)?)/i)?.[1];return{...t?{focalLength:`${t} มม.`}:{},...n?{maxAperture:`F${n}`}:{},mount:"e-mount",format:/\bFE\b/.test(e)?"full-frame":"aps-c",is:/\bOSS\b/.test(e)?"Optical SteadyShot (OSS)":"ไม่มี OSS ในตัวเลนส์"}},ZL=e=>{const t=e.match(/(\d+)(?:-\d+)?mm/i),n=e.match(/(\d+)-(\d+)mm/i),r=Number(t?.[1]??0),o=Number(n?.[2]??r);return o<=35?"wide-angle-lenses":r>=70||o>135?"telephoto-lenses":!n&&r>=50?"portrait-lenses":"standard-lenses"},QL=[...new Map(WL.map(e=>[`${e[0]}|${e[1]}|${e[2]}`,e])).values()],JL=QL.filter(([,e])=>!qL[e]).map(([e,t,n])=>{const r=/converter/i.test(t),o=r?"lenses-support":e==="lens"?"lenses":e==="cinema"?"cinema-vlog":"digital-camera",c=r?"lens-converter":e==="lens"?ZL(t):e==="cinema"?"camcorder":e==="compact"?"compact-camera":"mirrorless-camera",u=e==="lens"?GL(t):{...YL(t),...e==="camera"||e==="cinema"?{mount:"e-mount"}:{}},m=t.includes("+")||/kit/i.test(t),f=t.match(/\((?:Body Only,\s*)?(Black|White|Silver)\)/i)?.[1],h=[...Object.values(u),m?`ชุด Kit: ${t.split("+")[1]?.trim()??t}`:"",f?`สี ${f}`:""].filter(Boolean);return{id:`sony-${XL(t)}
234`,name:`Sony ${t.replace(/α/g,"Alpha ")}`,brand:"Sony",category:o,subCategory:c,regularPrice:n,manufacturerWarrantyYears:1,commercialUseOnly:e==="cinema",image:"",description:`ผลิตภัณฑ์ Sony ${t} ตาม SKU และราคาในไฟล์รายการสินค้าปัจจุบันที่นำเข้าเมื่อ 26 สิงหาคม 2026 ข้อมูลทางเทคนิคที่แสดงจำกัดเฉพาะข้อมูลจาก Sony ทางการ`,specValues:u,specs:h.length?h:[`ผลิตภัณฑ์ Sony รุ่น ${t}`],overview:`Sony ${t} จัดหมวดหมู่ตามระบบ Digital Imaging ของ Sony ราคาอ้างอิงจากไฟล์รายการสินค้าปัจจุบันที่ผู้ใช้นำเข้า ส่วนข้อมูลทางเทคนิคที่แสดงอ้างอิงเฉพาะข้อมูลรุ่นจากเว็บไซต์ Sony ทางการ หาก Sony ไม่มีข้อมูลระดับรุ่นที่ยืนยันได้ ระบบจะไม่เติมสเปคจากแหล่งอื่นหรือคาดเดาข้อมูล`,overviewSource:`Sony official model reference — ${$L(t)}`}}),_N="https://houseofphotography-th.fujifilm.com",eU=[["xc13-33mmf3-5-6-3-ois","XC13-33mmF3.5-6.3 OIS",12990],["xc35mmf2","XC35mmF2",7990],["xf10-24mmf4-r-ois-wr","XF10-24mmF4 R OIS WR",36990],["xf100-400mmf4-5-5-6-r-lm-ois-wr","XF100-400mmF4.5-5.6 R LM OIS WR",72990],["xf150-600mmf5-6-8-r-lm-ois-wr","XF150-600mmF5.6-8 R LM OIS WR",76990],["xf16-50mmf2-8-4-8-r-lm-wr","XF16-50mmF2.8-4.8 R LM WR",26990],["xf16-55mmf2-8-r-lm-wr-ii","XF16-55mmF2.8 R LM WR II",45990],["xf16-80mmf4-r-ois-wr","XF16-80mmF4 R OIS WR",28990],["xf16mmf1-4-r-wr","XF16mmF1.4 R WR",35990],["xf16mmf2-8-r-wr","XF16mmF2.8 R WR",14990],["xf18-120mmf4-lm-pz-wr","XF18-120mmF4 LM PZ WR",32990],["xf18-135mmf3-5-5-6-r-lm-ois-wr","XF18-135mmF3.5-5.6 R LM OIS WR",32990],["xf18mmf1-4-r-lm-wr","XF18mmF1.4 R LM WR",35990],["xf18mmf2-r","XF18mmF2 R",21990],["xf200mmf2-r-lm-ois-wr-with-xf1-4x-tc-f2-wr-teleconverter","XF200mmF2 R LM OIS WR with XF1.4X TC F2 WR Teleconverter",179990],["xf23mmf1-4-r-lm-wr","XF23mmF1.4 R LM WR",26990],["xf23mmf2-r-wr","XF23mmF2 R WR",17990],["xf23mmf2-8-r-wr","XF23mmF2.8 R WR",14990],["xf27mmf2-8-r-wr","XF27mmF2.8 R WR",12990],["xf30mmf2-8-r-macro","XF30mmF2.8 R LM WR Macro",24990],["xf33mmf1-4-r-lm-wr","XF33mmF1.4 R LM WR",29990],["xf35mmf1-4-r","XF35mmF1.4 R",19490],["xf35mmf2-r-wr","XF35mmF2 R WR",15990],["xf50-140mmf2-8-r-lm-ois-wr","XF50-140mmF2.8 R LM OIS WR",59990],["xf500mmf5-6-r-lm-ois-wr","XF500mmF5.6 R LM OIS WR",112990],["xf50mmf1-0-r-wr","XF50mmF1.0 R WR",53990],["xf50mmf2-r-wr","XF50mmF2 R WR",18990],["xf55-200mmf3-5-4-8-r-lm-ois","XF55-200mmF3.5-4.8 R LM OIS",25990],["xf56mmf1-2-r","XF56mmF1.2 R",38990],["xf56mmf1-2-r-wr","XF56mmF1.2 R WR",39990],["xf70-300mm-f-4-5-6-r-lm-ois-wr","XF70-300mmF4-5.6 R LM OIS WR",29990],["xf8-16mmf2-8-r-lm-wr","XF8-16mmF2.8 R LM WR",53990],["xf80mmf2-8-r-lm-ois-wr-macro","XF80mmF2.8 R LM OIS WR Macro",41990],["xf8mmf3-5-r-wr","XF8mmF3.5 R WR",28990],["xf90mmf2-r-lm-wr","XF90mmF2 R LM WR",34990]],tU=[{id:"fujifilm-x-half",handle:"x-half",name:"Fujifilm X half",regularPrice:19990,subCategory:"compact-camera",description:"กล้องคอมแพคเลนส์ติดตัวขนาดเล็กสำหรับการถ่ายภาพแนวตั้งแบบ point-and-shoot พร้อม Film Camera Mode และโหมด 2-in-1",specs:["กล้องคอมแพคเลนส์ติดตัว","น้ำหนัก 240 กรัม","Film Camera Mode","โหมด 2-in-1"]},{id:"fujifilm-x-h2",handle:"fujifilm-x-h2",name:"Fujifilm X-H2",regularPrice:67990,subCategory:"mirrorless-camera",description:"กล้องมิเรอร์เลส Fujifilm X ความละเอียดสูงสำหรับภาพนิ่งและวิดีโอ ใช้เซ็นเซอร์ X-Trans CMOS 5 HR 40.2MP และรองรับวิดีโอ 8K",specs:["เซ็นเซอร์ X-Trans CMOS 5 HR 40.2MP","X-Processor 5","วิดีโอ 8K","เมาท์ Fujifilm X"]},{id:"fujifilm-x-h2s-body",handle:"fujifilm-x-h2s-body",name:"Fujifilm X-H2S",regularPrice:69990,subCategory:"mirrorless-camera",description:"กล้องมิเรอร์เลส Fu
234jifilm X ที่เน้นความเร็วสำหรับภาพนิ่งและวิดีโอ ถ่ายต่อเนื่องแบบไม่ดับสูงสุด 40 เฟรมต่อวินาทีและบันทึกวิดีโอ 6.2K",specs:["ถ่ายต่อเนื่องสูงสุด 40 เฟรมต่อวินาที","วิดีโอ 6.2K","ระบบกันสั่นในตัวสูงสุด 7 สต็อป","เมาท์ Fujifilm X"]},{id:"fujifilm-x-s20",handle:"fujifilm-x-s20",name:"Fujifilm X-S20",regularPrice:43990,subCategory:"mirrorless-camera",description:"กล้องมิเรอร์เลส Fujifilm X แบบไฮบริดขนาดกะทัดรัด รองรับทั้งภาพนิ่ง วิดีโอ และ Vlog พร้อมระบบกันสั่นในตัว",specs:["เซ็นเซอร์ APS-C 26.1MP","ระบบกันสั่นในตัวสูงสุด 7 สต็อป","โหมด Vlog","เมาท์ Fujifilm X"]},{id:"fujifilm-x-t30iii",handle:"x-t30iii",name:"Fujifilm X-T30 III",regularPrice:31990,subCategory:"mirrorless-camera",description:"กล้องมิเรอร์เลส Fujifilm X ขนาดกะทัดรัด ใช้เซ็นเซอร์ X-Trans CMOS 4 26.1MP ร่วมกับ X-Processor 5",specs:["เซ็นเซอร์ X-Trans CMOS 4 26.1MP","X-Processor 5","บอดี้ขนาดกะทัดรัด","เมาท์ Fujifilm X"]}];function nU([e,t,n]){const r=t.match(/^(?:XC|XF)(\d+(?:-\d+)?)mmF([\d.]+(?:-[\d.]+)?)/);if(!r)throw new Error(`Unable to read Fujifilm lens model: ${t}`);const o=`${r[1]} มม.`,c=`F${r[2]}`,u=r[1].includes("-"),[m,f=m]=r[1].split("-").map(Number),h=f<=35?"wide-angle-lenses":m>=70||f>135?"telephoto-lenses":!u&&m>=50?"portrait-lenses":"standard-lenses",p=[t.includes(" OIS")&&"ระบบป้องกันภาพสั่นไหว OIS",t.includes(" LM")&&"มอเตอร์โฟกัส LM",t.includes(" PZ")&&"ระบบซูมไฟฟ้า PZ",t.includes(" WR")&&"โครงสร้าง WR",t.includes("Macro")&&"เลนส์มาโคร",t.includes("Teleconverter")&&"มาพร้อมเทเลคอนเวอร์เตอร์ XF1.4X TC F2 WR"].filter(v=>!!v),b=p.length?` พร้อม${p.join(" และ")}`:"";return{id:`fujifilm-${e}`,name:t,brand:"Fujifilm",category:"lenses",subCategory:h,regularPrice:n,manufacturerWarrantyYears:1,image:"",description:`เลนส์${u?"ซูม":"ไพรม์"}เมาท์ Fujifilm X ระยะ ${o} รูรับแสงกว้างสุด ${c}${b}`,specValues:{mount:"x",focalLength:o,maximumAperture:c,lensType:u?"Zoom":"Prime"},specs:["เมาท์ Fujifilm X",`ทางยาวโฟกัส ${o}`,`รูรับแสงกว้างสุด ${c}`,...p],overviewSource:`Fujifilm House of Photography Thailand — ${_N}/products/${e}`}}const rU=eU.map(nU),aU=tU.map(e=>({id:e.id,name:e.name,brand:"Fujifilm",category:"digital-camera",subCategory:e.subCategory,regularPrice:e.regularPrice,manufacturerWarrantyYears:1,image:"",description:e.description,specs:[...e.specs],specValues:{...e.subCategory==="mirrorless-camera"?{mount:"x"}:{}},overviewSource:`Fujifilm House of Photography Thailand — ${_N}/products/${e.handle}`})),sU=[...rU,...aU],oU=[{id:"ricoh-gr-iv-monochrome",name:"Ricoh GR IV Monochrome",brand:"Ricoh",category:"digital-camera",subCategory:"compact-camera",regularPrice:67990,image:"",description:"กล้องคอมแพคขาวดำโดยเฉพาะ ใช้เซ็นเซอร์ Monochrome CMOS ขนาด APS-C ความละเอียดประมาณ 25.74 ล้านพิกเซล พร้อมเลนส์ GR 18.3mm F2.8",specs:["เซ็นเซอร์ Monochrome CMOS ขนาด APS-C 25.74MP","เลนส์ GR 18.3mm F2.8 (เทียบเท่า 28mm)","ISO 160–409600","ระบบกันสั่น 5 แกน สูงสุด 6 สต็อป","ฟิลเตอร์สีแดงในชุดเลนส์"],overviewSource:"EEP Store — https://www.eepstore.com/product/52131-141572/ricoh-gr-iv-monochrome"},{id:"ricoh-gr-iv",name:"[Pre-order] Ricoh GR IV",brand:"Ricoh",category:"digital-camera",subCategory:"compact-camera",regularPrice:47990,image:"",description:"กล้องคอมแพคเซ็นเซอร์ CMOS ขนาด APS-C ความละเอียด 25.74 ล้านพิกเซล พร้อมเลนส์ GR 18.3mm F2.8 และระบบประมวลผล GR Engine 7",specs:["เซ็นเซอร์ CMOS ขนาด APS-C 25.74MP","เลนส์ GR 18.3mm F2.8 (เทียบเท่า 28mm)","GR Engine 7","ระบบกันสั่น 5 แกน","หน่วยความจำภายใน 53GB"],overviewSource:"EEP Store — https://www.eepstore.com/product/48752-137317/pre-order-ricoh-gr-iv"},{id:"ricoh-gr-iv-hdf",name:"[Pre-order] Ricoh GR IV HDF",brand:"Ricoh",category:"digital-camera",subCategory:"compact-camera",regularPrice:52990,image:"",description:"กล้องคอมแพค GR IV รุ่นติดตั้งฟิลเตอร์ HDF ภายในสำหรับสร้างความนุ่มนวลในส่วนสว่างของภาพ ใช้เซ็นเซอร์ CMOS ขนาด APS-C 25.74 ล้านพิกเซล",specs:["เซ็นเซอร์ CMOS ขนาด APS-C 25.74MP","เลนส์ GR 18.3mm F2.8 (เทียบเท่า 28mm)","ฟิลเตอร์ HDF ภายในตัวกล้อง","GR Engine 7","ระบบกันสั่น 5 แกน"],overviewSource:"EEP Store — https://www.eepstore.com/product/51960-141395/pre-order-ricoh-gr-iv-hdf"}],iU=[{id:"tamron-17-70-f28-canon-rf",name:"TAMRON 17-70mm F/2.8 Di III-A RXD | Canon RF-Mount",brand:"Tamron",category:"lenses",subCategory:"standard-lenses",regularPrice:26990,image:"",description:"เลนส์ซูมมาตรฐานรูรับแสงคงที่ F/2.8 สำหรับกล้อง APS-C เมาท์ Canon RF พร้อมระบบกันสั่น VC และมอเตอร์โฟกัส RXD",specs:["Model B070","เมาท์ Canon RF | APS-C","ทางยาวโฟกัส 17-70mm | F/2.8","ระบบกันสั่น VC","มอเตอร์โฟกัส RXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/53840-143755/tamron-17-70mm-f28-di-iii-a-rxd-canon-rf-mount"},{id:"tamron-18-300-f35-63-canon-rf",name:"TAMRON 18-300mm F/3.5-6.3 Di III-A VC VXD | Canon RF-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses",regularPrice:26990,image:"",description:"เลนส์ซูมอเนกประสงค์ 16.6 เท่าสำหรับกล้อง APS-C เมาท์ Canon RF ครอบคลุมมุมกว้างถึงซูเปอร์เทเล พร้อม VC และ VXD",specs:["Model B061","เมาท์ Canon RF | APS-C","ทางยาวโฟกัส 18-300mm | F/3.5-6.3","ระบบกันสั่น VC","มอเตอร์โฟกัส VXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/49136-137721/tamron-18-300mm-f35-63-di-iii-a-vc-vxd-canon-rf-mount"},{id:"tamron-11-20-f28-canon-rf",name:"TAMRON 11-20mm F/2.8 Di III-A RXD | Canon RF-Mount",brand:"Tamron",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:28990,image:"",description:"เลนส์ซูมอัลตร้าไวด์ F/2.8 ตลอดช่วงสำหรับกล้อง APS-C เมาท์ Canon RF ใช้มอเตอร์โฟกัส RXD ที่รวดเร็วและเงียบ",specs:["Model B060","เมาท์ Canon RF | APS-C","ทางยาวโฟกัส 11-20mm | F/2.8","มอเตอร์โฟกัส RXD","โครงสร้างทนละอองน้ำ"],overviewSource:"EEP Store — https://www.eepstore.com/product/35151-50533/tamron-11-20mm-f28-di-iii-a-rxd-canon-rf-mount"},{id:"tamron-11-20-f28-fujifilm-x",name:"TAMRON 11-20mm F/2.8 Di III-A RXD | Fujifilm X-Mount",brand:"Tamron",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:32990,image:"",description:"เลนส์ซูมอัลตร้าไวด์ F/2.8 ตลอดช่วงสำหรับกล้อง APS-C เมาท์ Fujifilm X ใช้มอเตอร์โฟกัส RXD ที่รวดเร็วและเงียบ",specs:["Model B060","เมาท์ Fujifilm X | APS-C","ทางยาวโฟกัส 11-20mm | F/2.8","มอเตอร์โฟกัส RXD","โครงสร้างทนละอองน้ำ"],overviewSource:"EEP Store — https://www.eepstore.com/product/35150-50532/tamron-11-20mm-f28-di-iii-a-rxd-fujifilm-x-mount"},{id:"tamron-18-300-f35-63-fujifilm-x",name:"TAMRON 18-300mm F/3.5-6.3 Di III-A VC VXD | Fujifilm X-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses",regularPrice:26990,salePrice:22990,image:"",description:"เลนส์ซูมอเนกประสงค์ 16.6 เท่าสำหรับกล้อง APS-C เมาท์ Fujifilm X ครอบคลุมมุมกว้างถึงซูเปอร์เทเล พร้อม VC และ VXD",specs:["Model B061","เมาท์ Fujifilm X | APS-C","ทางยาวโฟกัส 18-300mm | F/3.5-6.3","ระบบกันสั่น VC","มอเตอร์โฟกัส VXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/35149-50531/tamron-18-300mm-f35-63-di-iii-a-vc-vxd-fujifilm-x-mount"},{id:"tamron-150-500-f5-67-fujifilm-x",name:"TAMRON 150-500mm F/5-6.7 Di III VC VXD | Fujifilm X-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses",regularPrice:54990,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้เมาท์ Fujifilm X ช่วง 150-500mm พร้อมระบบกันสั่น VC และมอเตอร์ VXD สำหรับติดตามวัตถุอย่างรวดเร็ว",specs:["Model A057","เมาท์ Fujifilm X","ทางยาวโฟกัส 150-500mm | F/5-6.7","ระบบกันสั่น VC","มอเตอร์โฟกัส VXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/35148-50530/tamron-150-500mm-f5-67-di-iii-vc-vxd-fujifilm-x-mount"},{id:"tamron-17-70-f28-fujifilm-x",name:"TAMRON 17-70mm F/2.8 Di III-A RXD | Fujifilm X-Mount",brand:"Tamron",category:"lenses",subCategory:"standard-lenses",regularPrice:26990,image:"",description:"เลนส์ซูมมาตรฐานรูรับแสงคงที่ F/2.8 สำหรับกล้อง APS-C เมาท์ Fujifilm X พร้อมระบบกันสั่น VC และมอเตอร์โฟกัส RXD",specs:["Model B070","เมาท์ Fujifilm X | APS-C","ทางยาวโฟกัส 17-70mm | F/2.8","ระบบกันสั่น VC","มอเตอร์โฟกัส RXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/35146-50527/tamron-17-70mm-f28-di-iii-a-rxd-fujifilm-x-mount"},{id:"tamron-12-20-f28-nikon-z",name:"TAMRON 12-20mm F/2.8 | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:69990,image:"",description:"เลนส์ซูมอัลตร้าไวด์ F/2.8 สำหรับกล้องฟูลเฟรมเมาท์ Nikon Z โฟกัสใกล้ 0.18 เมตรและใช้มอเตอร์ VXD",specs:["Model A084","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 12-20mm | F/2.8","มอเตอร์โฟกัส VXD","ระยะโฟกัสใกล้สุด 0.18 เมตรที่ 12mm"],overviewSource:"EEP Store — https://www.eepstore.com/product/54125-144169/tamron-12-20mm-f28-nikon-z-mount"},{id:"tamron-17-70-f28-nikon-z",name:"TAMRON 17-70mm F/2.8 Di III-A RXD | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"standard-lenses",regularPrice:26990,image:"",description:"เลนส์ซูมมาตรฐานรูรับแสงคงที่ F/2.8 สำหรับกล้อง APS-C เมาท์ Nikon Z พร้อมระบบกันสั่น VC และมอเตอร์โฟกัส RXD",specs:["Model B070","เมาท์ Nikon Z | APS-C","ทางยาวโฟกัส 17-70mm | F/2.8","ระบบกันสั่น VC","มอเตอร์โฟกัส RXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/53841-143756/tamron-17-70mm-f28-di-iii-a-rxd-nikon-z-mount"},{id:"tamron-70-180-f28-g2-nikon-z",name:"TAMRON 70-180mm F/2.8 Di III VC VXD G2 | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses",regularPrice:46990,image:"",description:"เลนส์เทเลโฟโต้ซูม F/2.8 รุ่น G2 สำหรับกล้องฟูลเฟรมเมาท์ Nikon Z พร้อมระบบกันสั่น VC และมอเตอร์ VXD",specs:["Model A065","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 70-180mm | F/2.8","ระบบกันสั่น VC","มอเตอร์โฟกัส VXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/51523-140861/tamron-70-180-f28-di-iii-vc-vxd-g2-nikon-z-mount"},{id:"tamron-18-300-f35-63-nikon-z",name:"TAMRON 18-300mm F/3.5-6.3 Di III-A VC VXD | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses",regularPrice:26990,image:"",description:"เลนส์ซูมอเนกประสงค์ 16.6 เท่าสำหรับกล้อง APS-C เมาท์ Nikon Z ครอบคลุมมุมกว้างถึงซูเปอร์เทเล พร้อม VC และ VXD",specs:["Model B061","เมาท์ Nikon Z | APS-C","ทางยาวโฟกัส 18-300mm | F/3.5-6.3","ระบบกันสั่น VC","มอเตอร์โฟกัส VXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/49137-137722/tamron-18-300mm-f35-63-di-iii-a-vc-vxd-nikon-z-mount"},{id:"tamron-16-30-f28-g2-nikon-z",name:"TAMRON 16-30mm F/2.8 Di III VXD G2 | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:36990,salePrice:32990,image:"",description:"เลนส์ซูมมุมกว้าง F/2.8 รุ่น G2 สำหรับกล้องฟูลเฟรมเมาท์ Nikon Z ใช้มอเตอร์ VXD และออกแบบให้กะทัดรัด",specs:["Model A064","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 16-30mm | F/2.8","มอเตอร์โฟกัส VXD","รองรับ TAMRON Lens Utility"],overviewSource:"EEP Store — https://www.eepstore.com/product/47988-136329/tamron-16-30mm-f28-di-iii-vxd-g2-nikon-z-mount"},{id:"tamron-90-f28-macro-nikon-z",name:"TAMRON 90mm F/2.8 Di III Macro VXD | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"portrait-lenses",regularPrice:28990,image:"",description:"เลนส์มาโคร 90mm F/2.8 สำหรับกล้องฟูลเฟรมเมาท์ Nikon Z ให้อัตราขยาย 1:1 พร้อมมอเตอร์โฟกัส VXD",specs:["Model F072","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 90mm | F/2.8","อัตราขยายสูงสุด 1:1","มอเตอร์โฟกัส VXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/35157-50539/tamron-90mm-f28-di-iii-macro-vxd-nikon-z-mount"},{id:"tamron-50-400-f45-63-nikon-z",name:"TAMRON 50-400mm F/4.5-6.3 Di III VC VXD | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses"
234,regularPrice:53990,image:"",description:"เลนส์ซูมอเนกประสงค์ 8 เท่าสำหรับกล้องฟูลเฟรมเมาท์ Nikon Z เริ่มที่ระยะมาตรฐาน 50mm ถึงซูเปอร์เทเล 400mm พร้อม VC และ VXD",specs:["Model A067","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 50-400mm | F/4.5-6.3","ระบบกันสั่น VC","มอเตอร์โฟกัส VXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/35156-50538/tanron-50-400mm-f45-63-di-iii-vc-vxd-nikon-z-mount"},{id:"tamron-28-75-f28-g2-nikon-z",name:"TAMRON 28-75mm F/2.8 Di III VXD G2 | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"standard-lenses",regularPrice:35990,salePrice:32990,image:"",description:"เลนส์ซูมมาตรฐาน F/2.8 รุ่น G2 สำหรับกล้องฟูลเฟรมเมาท์ Nikon Z ให้คุณภาพสูงในตัวเลนส์กะทัดรัดและใช้มอเตอร์ VXD",specs:["Model A063","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 28-75mm | F/2.8","มอเตอร์โฟกัส VXD","รองรับ TAMRON Lens Utility"],overviewSource:"EEP Store — https://www.eepstore.com/product/35155-50537/tamron-28-75mm-f28-di-iii-vxd-g2-nikon-z-mount"},{id:"tamron-35-150-f2-28-nikon-z",name:"TAMRON 35-150mm F/2-2.8 Di III VXD | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses",regularPrice:75990,salePrice:67990,image:"",description:"เลนส์ซูมไวแสงสำหรับกล้องฟูลเฟรมเมาท์ Nikon Z ครอบคลุม 35-150mm ด้วยรูรับแสง F/2-2.8 และมอเตอร์ VXD",specs:["Model A058","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 35-150mm | F/2-2.8","มอเตอร์โฟกัส VXD","รองรับ TAMRON Lens Utility"],overviewSource:"EEP Store — https://www.eepstore.com/product/35154-50536/tamron-35-150mm-f2-28-di-iii-vxd-nikon-z-mount"},{id:"tamron-150-500-f5-67-nikon-z",name:"TAMRON 150-500mm F/5-6.7 Di III VC VXD | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses",regularPrice:48990,image:"",description:"เลนส์ซูเปอร์เทเลโฟโต้สำหรับกล้องฟูลเฟรมเมาท์ Nikon Z ช่วง 150-500mm พร้อมระบบกันสั่น VC และมอเตอร์ VXD",specs:["Model A057","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 150-500mm | F/5-6.7","ระบบกันสั่น VC","มอเตอร์โฟกัส VXD"],overviewSource:"EEP Store — https://www.eepstore.com/product/35153-50535/tamron-150-500mm-f5-67-di-iii-vc-vxd-nikon-z-mount"},{id:"tamron-70-300-f45-63-nikon-z",name:"TAMRON 70-300mm F/4.5-6.3 Di III RXD | Nikon Z-Mount",brand:"Tamron",category:"lenses",subCategory:"telephoto-lenses",regularPrice:21990,salePrice:19990,image:"",description:"เลนส์เทเลโฟโต้ซูมน้ำหนักเบาสำหรับกล้องฟูลเฟรมเมาท์ Nikon Z ใช้มอเตอร์ RXD ที่รวดเร็ว แม่นยำ และเงียบ",specs:["Model A047","เมาท์ Nikon Z | Full Frame","ทางยาวโฟกัส 70-300mm | F/4.5-6.3","มอเตอร์โฟกัส RXD","น้ำหนัก 580 กรัม"],overviewSource:"EEP Store — https://www.eepstore.com/product/35152-50534/tamron-70-300mm-f45-63-di-iii-rxd-nikon-z-mount"}],lU={path:"/rental-catalog/feiyu-scorpion.webp",sourceUrl:"https://qiniu.feiyu-tech.cn/feiyu-scorp-detail-scorp-header.mp4",productName:"FEIYU SCORPION"},cU={path:"/rental-catalog/boya-by-pm700.webp",sourceUrl:"https://store.boyamic.com/cdn/shop/files/BY-PM700_2.webp?v=1756884227",productName:"BOYA BY-PM700"},uU={path:"/rental-catalog/boya-by-xm6-s2.webp",sourceUrl:"https://boya-mic.in/cdn/shop/files/BOYA_XM6-S2_WIRELESS_LAVALIER_MICROPHONE.png?v=1781004230&width=3840",productName:"BOYA BY-XM6-S2 original dual transmitters+receiver"},dU={path:"/rental-catalog/jinbei-efii-150.webp",sourceUrl:"https://images.squarespace-cdn.com/content/v1/52e11f86e4b0c14b4f88e9fc/1603108150627-EGMU06WREXUYB2ILWT7W/1049_EFII-150_LED-Dauerlicht_02.png",productName:"Jinbei EFII-150 LED Video Light SET"},mU={path:"/rental-catalog/jinbei-ef-200bi.webp",sourceUrl:"https://images.squarespace-cdn.com/content/v1/52e11f86e4b0c14b4f88e9fc/1603107989582-FO3OQESHH038OJR9K1WR/1048_EF-200Bi-Color_LED-Dauerlicht_03.png",productName:"Jinbei EF-200Bi LED Video Light SET"},fU={REN00053:lU,REN00054:cU,REN00055:uU,REN00056:dU,REN00057:mU},hU="/assets/zv-e10-16-50mm-power-zoom-lens-black-1-CeyYwjhl.webp",pU="/assets/fe-24-105mm-f4-g-oss-NBtDku81.webp",gU=[{row:6,
234category:"101 Digital Camera",subcategory:"101MRC MIRRORLESS CAMERA",brand:"CANON",rentalCode:"REN00004",productCode:"DMCAMRCAN117",name:"CANON EOS R8 BODY (DEMO)",historicalStock:1,deposit:11310,prices:{1:950,3:2560,5:3800,7:4650,9:5130}},{row:7,category:"101 Digital Camera",subcategory:"101MRC MIRRORLESS CAMERA",brand:"CANON",rentalCode:"REN00006",productCode:"DMCAMRCAN115",name:"CANON EOS R6 Mark II BODY (DEMO)",historicalStock:3,deposit:16580,prices:{1:1330,3:3590,5:5320,7:6510,9:7180}},{row:8,category:"101 Digital Camera",subcategory:"101MRC MIRRORLESS CAMERA",brand:"CANON",rentalCode:"REN00007",productCode:"DMCAMRCAN114",name:"CANON EOS R50 BODY (DEMO)",historicalStock:2,deposit:3780,prices:{1:420,3:1130,5:1680,7:2050,9:2260}},{row:9,category:"101 Digital Camera",subcategory:"101MRC Mirrorless Camera",brand:"SONY",rentalCode:"REN00010",productCode:"DMDCMRSON012",name:"SONY PKG ILCE-A7 IV BODY ( DEMO )",historicalStock:1,deposit:16590,prices:{1:1270,3:3420,5:5080,7:6220,9:6850}},{row:10,category:"101 Digital Camera",subcategory:"101MRC MIRRORLESS CAMERA",brand:"SONY",rentalCode:"REN00011",productCode:"DMDCMRSON081",name:"SONY EMT ILCE ZV-E10L/BQ (BLACK) (DEMO)",historicalStock:1,deposit:3810,prices:{1:400,3:1080,5:1600,7:1960,9:2160}},{row:11,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00015",productCode:"DMCAMRCAN121",name:"CANON RF 24-105 mm f4-7.1 IS STM (KIT SET) (DEMO)",historicalStock:3,deposit:3260,prices:{1:260,3:700,5:1040,7:1270,9:1400}},{row:12,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00016",productCode:"DMCAMRCAN120",name:"CANON RF 24-50 mm F/4.5-6.3 IS STM (DEMO) ชุดแยก",historicalStock:1,deposit:2470,prices:{1:230,3:620,5:920,7:1120,9:1240}},{row:13,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00018",productCode:"DMLEMRCAN064",name:"CANON RF-S 18-45 mm F4.5-6.3 IS STM (DEMO)",historicalStock:2,deposit:2580,prices:{1:240,3:640,5:960,7:1170,9:1290}},{row:14,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00019",productCode:"DMLEMRCAN098",name:"CANON RF 100 mm F/2.8L MACRO IS USM (DEMO)",historicalStock:1,deposit:9370,prices:{1:550,3:1480,5:2200,7:2690,9:2970}},{row:15,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00020",productCode:"DMLEMRCAN095",name:"CANON RF 15-35 mm F2.8 L IS USM (DEMO)",historicalStock:1,deposit:17300,prices:{1:900,3:2430,5:3600,7:4410,9:4860}},{row:16,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00022",productCode:"DMLEMRCAN097",name:"CANON RF 24-105 mm F4L IS USM (DEMO)",historicalStock:1,deposit:10320,prices:{1:570,3:1530,5:2280,7:2790,9:3070}},{row:17,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00024",productCode:"DMLEMRCAN082",name:"CANON RF 24-70 mm F2.8 L IS USM (DEMO)",historicalStock:2,deposit:17300,prices:{1:900,3:2430,5:3600,7:4410,9:4860}},{row:18,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"CANON",rentalCode:"REN00025",productCode:"DM01-02L00040",name:"CANON RF 35 mm F/1.8 MACRO IS STM (DEMO)",historicalStock:1,deposit:4180,prices:{1:290,3:780,5:1160,7:1420,9:1560}},{row:19,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"CANON",rentalCode:"REN00026",productCode:"DM01-02L00037",name:"CANON RF 50 mm F/1.2 L USM (DEMO)",historicalStock:1,deposit:16870,prices:{1:880,3:2370,5:3520,7:4310,9:4750}},{row:20,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00027",productCode:"DMLEMRCAN096",name:"CANON RF 50 mm F/1.8  STM (DEMO)",historicalStock:2,deposit:1590,prices:{1:180,3:480,5:720,7:880,9:970}},{row:21,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00028",productCode:"DMLEMRCAN083",name:"CANON RF 70-200 mm F/2.8L IS USM (DEMO)",historicalStock:1,deposit:20560,prices:{1:1070,3:2880,5:4280,7:5240,9:5770}},{row:22,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"CANON",rentalCode:"REN00029",productC
234ode:"DMLEMRCAN084",name:"CANON RF 85 mm F/1.2 L USM (DEMO)",historicalStock:1,deposit:22560,prices:{1:1180,3:3180,5:4720,7:5780,9:6370}},{row:23,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"NIKON",rentalCode:"REN00035",productCode:"DM02-02L00058",name:"NIKON Z 24-70 mm F/2.8 S (DEMO)",historicalStock:1,deposit:15980,prices:{1:830,3:2240,5:3320,7:4060,9:4480}},{row:24,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"NIKON",rentalCode:"REN00039",productCode:"DMLEMRNIK216",name:"NIKON Z 70-200 mm F2.8 VR S (DEMO)",historicalStock:1,deposit:17180,prices:{1:940,3:2530,5:3760,7:4600,9:5070}},{row:25,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"SONY",rentalCode:"REN00041",productCode:"DMLEMRSON079",name:"SONY E PZ16-50mmF3.5-5.6 OSS  (DEMO) ชุดแยกKIT",historicalStock:1,deposit:1380,prices:{1:150,3:400,5:600,7:730,9:810}},{row:26,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"SONY",rentalCode:"REN00042",productCode:"DM12-02L00037",name:"SONY EMT LENS FE 16-35 mm F2.8 GM (DEMO)",historicalStock:1,deposit:15590,prices:{1:780,3:2100,5:3120,7:3820,9:4210}},{row:27,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"SONY",rentalCode:"REN00043",productCode:"DMLEMRSON029",name:"SONY FE 28-70mm F3.5-5.6 OSS (BLACK) (DEMO) ชุดแยก",historicalStock:1,deposit:1380,prices:{1:150,3:400,5:600,7:730,9:810}},{row:28,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"SONY",rentalCode:"REN00046",productCode:"DM12-02L00019",name:"SONY EMT LENS SEL 90 mm F/2.8 Macro G OSS (Full Frame) (DEMO)",historicalStock:1,deposit:7190,prices:{1:410,3:1100,5:1640,7:2e3,9:2210}},{row:29,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"SONY",rentalCode:"REN00047",productCode:"DM12-02L00026",name:"SONY EMT LENS SEL FE 24-70 mm F/2.8 G MASTER (Full Frame) (DEMO)",historicalStock:2,deposit:14590,prices:{1:730,3:1970,5:2920,7:3570,9:3940}},{row:30,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"SONY",rentalCode:"REN00058",productCode:"RTLEMRSON0001",name:"SONY LENS SEL FE 24-105 mm f/4 G OSS (DEMO)",historicalStock:1,deposit:9390,prices:{1:500,3:1350,5:2e3,7:2450,9:2700}},{row:31,category:"201 Lenses",subcategory:"201MRL Mirrorless Lens",brand:"SONY",rentalCode:"REN00048",productCode:"DM12-02L00033",name:"SONY EMT LENS SEL FE 70-200mm f/2.8 GM OSS (Full Frame) (DEMO)",historicalStock:1,deposit:18190,prices:{1:900,3:2430,5:3600,7:4410,9:4860}},{row:32,category:"201 Lenses",subcategory:"201MRL MIRRORLESS LENS",brand:"SONY",rentalCode:"REN00049",productCode:"DMLNMRSON018",name:"SONY FE 35 mm F1.4 GM (DEMO)",historicalStock:1,deposit:9990,prices:{1:580,3:1560,5:2320,7:2840,9:3130}},{row:33,category:"303 Video Making Gear",subcategory:"303GIM GIMBALS & ACCESSORIES",brand:"FEIYU",rentalCode:"REN00053",productCode:"RTVMGIFEI010",name:"FEIYU SCORPION",historicalStock:2,deposit:2380,prices:{1:480,3:1290,5:1920,7:2350,9:2590}},{row:34,category:"303 Video Making Gear",subcategory:"303MIC MICROPHONE",brand:"BOYA",rentalCode:"REN00054",productCode:"RTVMMIBOY038",name:"BOYA BY-PM700 LARGE-DIAPHRAGM CONDENSER MICROPHONE (BY-PM700)",historicalStock:1,deposit:700,prices:{1:300,3:810,5:1200,7:1470,9:1620}},{row:35,category:"303 Video Making Gear",subcategory:"303WMC WIRELESS MICROPHONE",brand:"BOYA",rentalCode:"REN00055",productCode:"RTVMWMBOY031",name:"BOYA BY-XM6-S2 Dual-channel 2.4G wireless lavalier microphone for DLSRs, smartphone and computer (2 transmitters & 1 receiver)",historicalStock:3,deposit:1180,prices:{1:370,3:990,5:1480,7:1810,9:1990}},{row:36,category:"304 Flash & Light",subcategory:"304SLG STUDIO LIGHT",brand:"JINBEI",rentalCode:"REN00056",productCode:"RTFLSLJIN027",name:"Jinbei EFII-150 LED Video Light SET",historicalStock:2,deposit:5180,prices:{1:880,3:2370,5:3520,7:4310,9:4750}},{row:37,category:"304 Flash & Light",subcategory:"304SLG STUDIO LIGHT",brand:"JINBEI",rentalCode:"REN00057",productCode:"RTFLRLJIN028",name:"Jinbei EF-200Bi LED Video Light SET",historicalStock:1,deposit:7180,prices:{1:1120,3:3020,5:4480,7:5480,9:6040}}],bU={items:gU},yU="World Camera ปิ่นเกล้าสายใต้เก่า",Hb=[1,3,5,7,9],IN=bU;function yg(e){return typeof e=="number"&&Number.isInteger(e)&&e>=0}function xU(e){if(e.items.length!==32)throw new Error("Rental catalog source must contain exactly Sheet1 rows 6-37 (32 items)");const t=new Set,n=new Set;for(const r of e.items){if(t.has(r.row)||r.row<6||r.row>
23437)throw new Error(`Rental catalog has an invalid or duplicate source row: ${r.row}`);t.add(r.row);const o=FN(r.rentalCode);if(n.has(o))throw new Error(`Rental catalog has a duplicate rental ID: ${o}`);if(n.add(o),!r.rentalCode||!r.productCode||!r.name||!r.category||!r.subcategory||!r.brand||!yg(r.historicalStock)||!yg(r.deposit))throw new Error(`Rental catalog row ${r.row} is missing source fields`);for(const c of Hb)if(!yg(r.prices[c]))throw new Error(`Rental catalog row ${r.row} is missing its ${c}-day price`)}if(t.size!==32)throw new Error("Rental catalog source does not cover all 32 workbook rows")}function FN(e){return`rental-${e.toLowerCase()}`}xU(IN);const zN=IN.items.map(e=>({...e,name:e.name.replace(/\s*\(\s*DEMO\s*\)\s*/gi," ").trim(),id:FN(e.rentalCode)}));new Map(zN.map(e=>[e.id,e]));const vU=Object.assign({"./rental-catalog/equipment-images.json":fU});function wU(){const e=Object.values(vU).find(n=>!!n&&typeof n=="object"&&!Array.isArray(n));if(!e)return{};const t=e.images&&typeof e.images=="object"&&!Array.isArray(e.images)?e.images:e;return Object.fromEntries(Object.entries(t).flatMap(([n,r])=>{const o=typeof r=="string"?r:r&&typeof r=="object"&&"path"in r?r.path:void 0;return typeof o=="string"&&o.length>0?[[n,o]]:[]}))}const xg=wU(),SU={REN00004:aL,REN00006:sL,REN00007:rL,REN00010:PN,REN00011:hU,REN00015:CL,REN00016:wL,REN00018:SL,REN00019:kL,REN00020:RL,REN00022:EL,REN00024:jL,REN00025:NL,REN00026:DN,REN00027:vL,REN00028:ML,REN00029:AL,REN00035:TL,REN00039:PL,REN00041:_L,REN00042:LL,REN00043:DL,REN00046:IL,REN00047:zL,REN00058:pU,REN00048:UL,REN00049:FL};function CU(e){return e.startsWith("101")?"digital-camera":e.startsWith("201")?"lenses":"equipment"}function NU(e){return xg[e.id]??xg[e.rentalCode]??xg[e.name]??""}function kU(e){const t=SU[e.rentalCode]??NU(e),n=e.prices;return{id:e.id,name:e.name,brand:e.brand,category:CU(e.category),subCategory:e.subcategory,rentalCode:e.rentalCode,productCode:e.productCode,sourceCategory:e.category,sourceSubcategory:e.subcategory,sourceRow:e.row,historicalStock:e.historicalStock,prices:n,pricePerDay:n[1],pricePerWeek:n[7],deposit:e.deposit,depositRefundable:!0,image:t,specs:[]}}const EU=zN.map(kU),jU=[...VL,...BL,...JL,...sU,...oU,...iU,...p9,...g9,...b9,...y9,...v9,...w9,...S9,...C9,...N9,...k9,{id:"p1",name:"Sony Alpha 7 IV (Body Only)",brand:"Sony",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:82990,image:"/images/sony-a7iv.png",galleryImages:[PN],description:"The Sony a7 IV does double duty with strong stills and video performance. An advanced hybrid mirrorless camera, the a7 IV has the resolution and AF performance that appeals to photographers along with robust 4K 60p video recording for filmmakers and content creators.",specs:["33MP Full-Frame Exmor R CMOS Sensor","Up to 10 fps Shooting, ISO 100-51200","4K 60p Video in 10-Bit, S-Cinetone","3.68m-Dot EVF with 120 fps Refresh Rate"],specValues:{sensor:"full-frame",resolution:"33.0 ล้านพิกเซล",video:"4K",mount:"e-mount",ibis:"yes"},overview:`The Alpha 7 IV is the new standard in full-frame photography, featuring a newly developed 33 megapixel back-illuminated Exmor R CMOS sensor coupled with the latest-generation BIONZ XR image processing engine. Designed for both still photography and video, the a7 IV delivers the resolution, speed, and performance demanded by professional creators across every discipline.
235
236Sony's most advanced autofocus algorithms power the a7 IV's Real-time Tracking and Real-time Eye AF, recognising and tracking subjects — people, animals, and birds — with tenacity across the frame. With up to 10 fps continuous shooting and a robust 828-shot battery life, the a7 IV is built to keep pace with any subject.
237
238For video creators, the a7 IV offers uncropped 4K 60p recording in 10-bit 4:2:2, alongside S-Log3 and S-Cinetone colour profiles for maximum post-production flexibility. The 5-axis in-body image stabilisation system delivers up to 5.5 stops of compensation, giving both photographers and filmmakers the confidence to create in any situation.`,overviewSource:"Sony Corporation — Alpha Universe / sony.com"},{id:"p2",name:"Canon EOS R5",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:119900,image:"/images/canon-r5.png",description:"For the professional image-maker who needs resolution, speed, and video capabilities, there is the Canon EOS R5. Setting a new standard for versatility, this full-frame mirrorless camera features a newly developed 45MP CMOS sensor, which offers 8K raw video recording.",specs:["45MP Full-Frame CMOS Sensor","8K 30p Raw and 4K 120p Video","Sensor-Shift 5-Axis Image Stabilization","12 fps Mech. Shutter, 20 fps E. Shutter"],overview:`The EOS R5 is a camera designed for professional applications featuring a new 45-megapixel full-frame CMOS sensor and uncropped 8K video recording up to 29.97 fps. These groundbreaking cameras are the result of many years of collecting and listening to feedback from Canon users and are sure to meet the needs and demands of a variety of creators.
239
240The EOS R5 features Canon's most advanced autofocus algorithms and Dual Pixel CMOS AF II with subject recognition for people, animals, and vehicles. Combined with a high-speed electronic shutter capable of up to 20 fps continuous shooting, the EOS R5 ensures you never miss the decisive moment whether in the studio or out in the field.
241
242For video creators, the EOS R5 records internal uncropped 8K RAW video—a first for a Canon EOS camera—as well as 4K 120p for stunning slow-motion footage. In-body image stabilization up to 8 stops when combined with select RF lenses gives filmmakers the freedom to shoot handheld with confidence.`,overviewSource:"Canon U.S.A., Inc. — Official Newsroom (canon.com)"},{id:"p4",name:"Sony Alpha 7R V (Body Only)",brand:"Sony",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:159990,image:"/images/sony-a7iv.png",description:"Combining resolution and precision, the Sony a7R V is the mirrorless camera designed for those who crave detail. Featuring a 61MP full-frame sensor and an all-new AI-based autofocus system.",specs:["61MP Full-Frame Exmor R BSI CMOS Sensor","BIONZ XR & AI Processing Unit","AI-Based Real-Time Tracking AF System","8K 24p, 4K 60p, FHD 120p 10-Bit Video"],specValues:{sensor:"full-frame",resolution:"61.0 ล้านพิกเซล",video:"8K",mount:"e-mount",ibis:"yes"}
242,overview:`The Alpha 7R V combines the world's highest resolution full-frame image sensor — 61.0 megapixels — with a new AI processing unit for professional-level subject recognition and autofocus precision. This camera is built for those who demand the absolute maximum in image detail, whether shooting landscapes, fashion, wildlife, or architecture.
243
244The AI Processing Unit works in tandem with the BIONZ XR engine to power Sony's most advanced Real-time Recognition AF, capable of detecting and tracking people, animals, birds, insects, cars, trains, and aeroplanes simultaneously. Combined with the high-density 693-point phase-detection AF system, the a7R V locks on with exceptional accuracy even in challenging conditions.
245
246For video, the a7R V records 8K 24p internally in the XAVC HS format alongside 4K 60p in 10-bit 4:2:2, making it equally capable as a video production tool. An 8-stop 5-axis in-body image stabilisation system and a newly designed rear LCD with full tilt-and-twist articulation complete a camera designed without compromise.`,overviewSource:"Sony Corporation — Official Press Release (sony.com)"},{id:"p5",name:"Fujifilm X-T5",brand:"Fujifilm",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:64990,image:"/images/canon-r5.png",description:"The portable and powerful Fujifilm X-T5 features a newly developed 40MP APS-C sensor, classic dial-based layout, and advanced autofocus in a compact body perfect for street and travel photography.",specs:["40MP APS-C X-Trans CMOS 5 HR BSI Sensor","4K 120p, 6.2K 30p, FHD 240p 10-Bit Video","7-Stop In-Body Image Stabilization","425-Point Intelligent Hybrid AF"],specValues:{mount:"x"},overview:`Photography First. X-T1 was originally released in 2014 to celebrate Fujifilm's 80th anniversary. Almost a decade and five generations later, Fujifilm's latest imaging technology has come to X-T5, bringing photographers unrivalled image quality in a timeless, classic, and beloved camera body.
247
248X-T5 is equipped with a newly developed 40.2MP X-Trans CMOS 5 HR sensor and X-Processor 5 — the fastest processor Fujifilm has ever made. Together they deliver outstanding resolution and speed, with support for 6.2K 30p and 4K 120p video internally. The 7-stop in-body image stabilisation system provides photographers with the confidence to shoot in low light and at slow shutter speeds without a tripod.
249
250With its 425-point Intelligent Hybrid AF system and subject detection powered by deep learning, X-T5 tracks people, animals, birds, cars, motorcycles, bicycles, aeroplanes, and trains with remarkable accuracy. Combined with up to 20 Film Simulation modes — Fujifilm's acclaimed colour science inherited from 85 years of photographic expertise — the X-T5 is a camera built to inspire.`,overviewSource:"Fujifilm — X Series Official Website (fujifilm-x.com)"},{id:"p13",name:"Canon EOS R1",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:235900,image:dL,description:"เรือธงระดับมืออาชีพตัวจริงจาก Canon เปิดตัวปี 2024 มาพร้อมเซนเซอร์ Back-Illuminated Stacked และระบบโฟกัสอัจฉริยะ ออกแบบมาเพื่องานกีฬา ข่าว และงานระดับสูงสุด",specs:["เซนเซอร์ Full-Frame BSI Stacked 24.2MP","ถ่ายต่อเนื่อง 40 fps ชัตเตอร์อิเล็กทรอนิกส์","วิดีโอ 6K 60p RAW ภายในตัว","Eye Control AF และ Action Priority AF","บอดี้พร้อมกริปแนวตั้งในตัว กันสภาพอากาศ"],overview:`Developed to deliver outstanding performance and reliability, the EOS R1 is the first flagship model in Canon's EOS R mirrorless camera series. Filled to the brim with top-tier capabilities and the most advanced technologies of the time to enable professional photographers to shoot dependably even in harsh conditions, it promises a game-changing new shooting experience.
251
252Professional photographers who capture once-in-a-lifetime moments — whether in news, sports, or nature — must be able to shoot reliably and capture the best possible moments even in harsh environments. Canon has been developing professional photography cameras for over 50 years. Driven by its mission to deliver the ultimate performance and reliability, it equips these cameras with cutting-edge technologies to cater to professional photographers' stringent needs.
253
254The EOS R1 boasts sophisticated AF technologies including newly developed intelligent subject detection and tenacious subject tracking. The Action Priority AF system automatically switches to burst shooting the moment a subject begins to move, ensuring professionals never miss the defining shot. Built-in vertical grip, weather-sealing, and dual card slots make the EOS R1 the ultimate tool for the working professional.`,overviewSource:"Canon Global — Technology Page (global.canon)"},{id:"p14",name:"Sony Alpha 9 III (Body Only)",brand:"Sony",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:224990,image:iL,description:"กล้องฟูลเฟรมตัวแรกของโลกที่ใช้ Global Shutter เปิดตัวต้นปี 2024 ถ่ายต่อเนื่อง 120 fps โดยไม่มีอาการภาพเบี้ยว เหมาะกับงานกีฬาและแอ็กชันความเร็วสูง",specs:["เซนเซอร์ Full-Frame Global Shutter 24.6MP","ถ่ายต่อเนื่อง 120 fps แบบไร้ Blackout","ชัตเตอร์สูงสุด 1/80000 วินาที","วิดีโอ 4K 120p ไม่ครอป","ระบบกันสั่น 8 สต็อป"],specValues:{sensor:"full-frame",resolution:"24.6 ล้านพิกเซล",video:"4K",mount:"e-mount",ibis:"yes"},overview:`The Sony Alpha 9 III introduces the world's first full-frame image sensor with a global shutter system — a breakthrough that fundamentally changes what is possible in professional photography. By reading all pixels simultaneously rather than line by line, the Alpha 9 III eliminates rolling shutter distortion completely, enabling flash sync at any shutter speed up to 1/80,000 sec.
255
256With a maximum continuous shooting speed of 120 fps with no blackout and full AF/AE tracking, the Alpha 9 III redefines the ceiling for sports and action photography. Sony's AI-based Real-time Recognition AF tracks subjects — people, animals, birds, and vehicles — with extraordinary precision even at these extreme frame rates, ensuring every decisive moment is captured with pin-sharp focus.
257
258For video creators, the Alpha 9 III records 4K 120p internally without crop alongside 4K 60p in 10-bit 4:2:2, with Sony's S-Log3 and S-Cinetone colour profiles providing maximum flexibility in post-production. The camera's 8-stop 5-axis in-body image stabilisation system and weather-sealed magnesium alloy body complete a professional tool built for the most demanding assignments.`,overviewSource:"Sony Corporation — Official Announcement (sony.com)"},{id:"p15",name:"Sony Alpha 1 II (Body Only)",brand:"Sony",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:224990,image:xL,description:"เรือธงอเนกประสงค์รุ่นล่าสุดของ Sony เปิดตัวปลายปี 2024 รวมความละเอียดสูง ความเร็ว และ AI AF ไว้ในตัวเดียว ตอบโจทย์ทั้งงานภาพนิ่งระดับคอมเมอร์เชียลและวิดีโอ 8K",specs:["เซนเซอร์ Full-Frame Stacked 50.1MP","ถ่ายต่อเนื่อง 30 fps","วิดีโอ 8K 30p / 4K 120p","AI Processing Unit จดจำวัตถุอัตโนมัติ","ระบบกันสั่น 8.5 สต็อป"],specValues:{sensor:"full-frame",resolution:"50.1 ล้านพิกเซล",video:"8K",mount:"e-mount",ibis:"yes"},overview:`The Sony Alpha 1 II represents the pinnacle of Sony's full-frame mirrorless engineering — combining the resolution of a high-megapixel camera, the speed of a professional sports camera, and the video capabilities of a cinema-grade system in a single, versatile body.
259
260At its heart is a 50.1 megapixel full-frame Stacked CMOS sensor paired with both a BIONZ XR image processor and a dedicated AI Processing Unit. This dual-processor architecture powers Sony's most advanced Real-time Recognition AF, tracking people, animals, birds, insects, vehicles, and more simultaneously with extraordinary accuracy at up to 30 fps continuous shooting.
261
262The Alpha 1 II records 8K 30p RAW and 4K 120p internally, making it a true professional hybrid. Sony's AI-powered Active Mode image stabilisation delivers up to 8.5 stops of compensation for handheld video, while the 9.44 million dot EVF — the highest resolution viewfinder Sony has ever produced — provides an optical-quality view of the scene. Built for professionals who cannot afford to miss a moment, the Alpha 1 II is the definitive Sony camera.`,overviewSource:"Sony Corporation — Official Announcement (sony.com)"},{id:"p16",name:"Fujifilm GFX100RF",brand:"Fujifilm",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:174990,image:"",description:"กล้องมีเดียมฟอร์แมตแบบคอมแพคเลนส์ติดตัวรุ่นแรกของ Fujifilm วางจำหน่ายปี 2025 ความละเอียด 102MP ในบอดี้พกพาได้จริง สายภาพสตรีทและแลนด์สเคปที่ต้องการรายละเอียดสูงสุด",specs:["เซนเซอร์มีเดียมฟอร์แมต 102MP","เลนส์ติดตัว 35mm f/4 (เทียบเท่า 28mm)","วงแหวน Aspect Ratio เลือกสัดส่วนภาพ","Film Simulation 20 โหมด","น้ำหนักเพียง 735 กรัม"],overview:`The One and Only. Large format photography has never been so portable. The compact, lightweight design of GFX100RF means its detail-rich 102-megapixel resolution can always be close at hand. With a precision-crafted aluminium body, tactile analog controls, and versatile aspect ratios, it brings creative joy to your hands, eyes, and heart.
263
264GFX100RF's offset viewfinder draws inspiration from the classic rangefinder form, placing the lens closer to the edge of the body for a more natural and discreet shooting position. An exclusive Aspect Ratio dial lets photographers switch instantly between 17:6, 3:2, 4:3, 1:1, and 65:24 panoramic formats — each one recomposing the scene in the moment of creation.
265
266Powered by Fujifilm's X-Processor 5, the GFX100RF renders each of its 102 megapixels with extraordinary tonal depth and colour accuracy through 20 Film Simulation modes developed from Fujifilm's 85 years of photographic colour science. Whether shooting architecture, landscape, or street photography, the GFX100RF is a camera that sets its own standard.`,overviewSource:"Fujifilm — GFX Series Official Website (fujifilm-x.com)"},{id:"p17",name:"Canon EOS R5 Mark II",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:123e3,image:lL,description:"ตัวจบสายไฮบริดจาก Canon เปิดตัวปี 2024 เซนเซอร์ Stacked ใหม่พร้อมวิดีโอ 8K RAW และระบบ AF ที่ยกมาจากเรือธง เหมาะทั้งงานภาพนิ่งความละเอียดสูงและงานวิดีโอโปรดักชัน",specs:["เซนเซอร์ Full-Frame BSI Stacked 45MP","วิดีโอ 8K 60p RAW ภายในตัว","ถ่ายต่อเนื่อง 30 fps","Eye Control AF","ระบบกันสั่นในบอดี้สูงสุด 8.5 สต็อป"],overview:`Canon officially launched the EOS R5 Mark II as a new professional full-frame mirrorless camera featuring improved video-focused capabilities for advanced creators and a real-time multi-recognition tracking system for those who focu
266s on still photography.
267
268The EOS R5 Mark II features a newly developed 45MP BSI Stacked CMOS sensor that enables dramatically faster readout speeds — enabling internal 8K 60p RAW video recording, a world first for a full-frame mirrorless camera at launch. The improved DIGIC X processor powers Canon's most advanced real-time tracking AF, capable of simultaneously recognising and tracking multiple subjects including people, animals, and vehicles.
269
270For still photographers, the EOS R5 Mark II offers up to 30 fps continuous shooting with full AF/AE tracking, while Eye Control AF — inherited from the flagship EOS R1 — lets photographers intuitively select focus points simply by looking through the viewfinder. In-body image stabilisation of up to 8.5 stops ensures sharp results even in challenging light.`,overviewSource:"Canon U.S.A., Inc. — Official Newsroom (canon.com)"},{id:"p18",name:"Canon EOS R6 Mark III",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:87990,image:yL,description:"ฟูลเฟรมไฮบริดรุ่นกลางที่คุ้มค่าที่สุดของ Canon วางจำหน่ายปี 2025 อัปเกรดเซนเซอร์ใหม่ 32.5MP พร้อมวิดีโอ 7K RAW และระบบโฟกัสรุ่นล่าสุด",specs:["เซนเซอร์ Full-Frame CMOS 32.5MP","วิดีโอ 7K 60p RAW / 4K 120p","ถ่ายต่อเนื่อง 40 fps ชัตเตอร์อิเล็กทรอนิกส์","Dual Pixel Intelligent AF","ระบบกันสั่นในบอดี้สูงสุด 8.5 สต็อป"],overview:`As the newest model in the range for hybrid creators, the EOS R6 series utilises the powerful foundations of the RF Mount and redefines standards set by its predecessors. For both stills and movie, it raises the bar with its unique blend of class-leading performance, breathtaking speed, stability and professional filmmaking features.
271
272Using the same DIGIC X processor technology alongside a high-resolution CMOS sensor, the EOS R6 series supports Canon's next-generation Dual Pixel CMOS AF II — pushing speed and reliability to unmatched levels. The camera can track subjects, keeping them sharp as they move through a scene. Using improved deep-learning artificial intelligence, it recognises peo
272ple, vehicles (including aircraft and trains), and animals with remarkable accuracy.
273
274For video creators, the EOS R6 series delivers Cinema EOS-quality colour science and Log recording formats, making it equally at home on professional video productions as it is in day-to-day hybrid shooting. In-body image stabilisation and advanced subject tracking ensure stable, sharp footage in virtually any situation.`,overviewSource:"Canon UK — Press Centre (canon.co.uk)"},{id:"p19",name:"Nikon Z6 III",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:94900,image:cL,description:"ฟูลเฟรมรุ่นกลางตัวแรงจาก Nikon เปิดตัวปี 2024 ใช้เซนเซอร์ Partially Stacked ตัวแรกของโลก อ่านข้อมูลเร็วขึ้น โฟกัสไวขึ้น พร้อมวิดีโอ 6K RAW ภายในตัว",specs:["เซนเซอร์ Partially Stacked 24.5MP","วิดีโอ 6K 60p N-RAW ภายในตัว","ถ่ายต่อเนื่องสูงสุด 120 fps (DX)","EVF สว่าง 4000 นิต","ระบบกันสั่น 8 สต็อป"],overview:`Nikon introduces the Z6III — the world's first mirrorless camera to feature a partially stacked CMOS sensor. This breakthrough architecture dramatically accelerates readout speed, enabling blackout-free continuous shooting at up to 20 fps with full AF/AE tracking, and up to 120 fps in DX crop mode.
275
276The Z6III's partially stacked sensor delivers over three times the data readout speed of a conventional BSI CMOS sensor, virtually eliminating rolling shutter in video and enabling the blazing speed photographers demand for sports, wildlife, and action. Combined with Nikon's Subject Detection AF — powered by deep learning to re
276cognise people, animals, birds, vehicles, and aircraft — the Z6III maintains focus with a tenacity previously reserved for dedicated flagship cameras.
277
278For video, the Z6III records 6K 60p N-RAW internally for the first time in the Z series, alongside ProRes RAW via HDMI and 4K 120p for slow-motion capture. A class-leading 4,000-nit EVF and a refined ergonomic body with dual card slots and professional-grade weather sealing complete a camera built for creators who demand the very best from a full-frame mirrorless system.`,overviewSource:"Nikon Corporation — Official Announcement (nikon.com)"},{id:"p20",name:"Fujifilm X100VI",brand:"Fujifilm",category:"digital-camera",subCategory:"compact-camera",regularPrice:59990,image:oL,description:"กล้องคอมแพคพรีเมียมที่ฮิตที่สุดแห่งปี 2024 ดีไซน์เรโทรพร้อมเซนเซอร์ 40MP และกันสั่นในบอดี้เป็นครั้งแรกของตระกูล X100 ตัวโปรดของสายสตรีทและไลฟ์สไตล์",specs:["เซนเซอร์ APS-C X-Trans 5 HR 40.2MP","เลนส์ติดตัว 23mm f/2 (เทียบเท่า 35mm)","กันสั่นในบอดี้ 6 สต็อป","ช่องมองภาพไฮบริด OVF/EVF","Film Simulation 20 โหมด"],overview:`See. Enjoy photography in its purest form with Fujifilm's X100 Series digital cameras. Using a timeless dial-based design, passed down from model to model, the stunning 6th-generation X100VI offers an indulgent, tactile image-making experience that delivers unforgettable content in every creative moment.
279
280The One and Only. However you want to create content, the light, portable X100VI will always be ready for the next great moment. Featuring a 40.2MP X-Trans CMOS 5 HR sensor and the X-Processor 5 for outstanding image quality, the X100VI also marks the introduction of in-body image stabilisation to the X100 series for the first time — delivering up to 6 stops of compensation for sharper handheld images and smoother video.
281
282The X100VI's iconic Hybrid Viewfinder lets photographers choose between an optical viewfinder — for the most natural, immersive shooting experience — and an electronic viewfinder for precise exposure preview and manual focus assist. With 20 Film Simulation modes and the full Creative Controls palette, every image from the X100VI carries the depth and character that has made the X100 series legendary.`,overviewSource:"Fujifilm — X Series Official Website (fujifilm-x.com)"},{id:"p21",name:"Nikon Z5 II",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:59900,image:pL,description:"ฟูลเฟรมรุ่นเริ่มต้นที่สเปกไม่เริ่มต้นจาก Nikon วางจำหน่ายปี 2025 ยกระบบโฟกัสและโปรเซสเซอร์ EXPEED 7 จากรุ่นพี่มาในราคาจับต้องได้",specs:["เซนเซอร์ Full-Frame BSI 24.5MP","โปรเซสเซอร์ EXPEED 7","วิดีโอ 4K 60p / N-RAW","AF ตรวจจับวัตถุ 9 ประเภท","ระบบกันสั่นในบอดี้ 7.5 สต็อป"],overview:`The Nikon Z5II is the ideal gateway into the Z mount full-frame system, delivering flagship-level autofocus performance and video capabilities in an accessible, lightweight body. Powered by the EXPEED 7 image processor — the same engine found in the Z8 and Z9 — the Z5II brings class-leading subject detection to the entry-level full-frame segment.
283
284Nikon's Subject Detection AF recognises and tracks nine subject types — people, animals, birds, cars, motorcycles, bicycles, trains, aeroplanes, and boats — using deep learning for reliable focus even in challenging lighting conditions. With continuous shooting at up to 14 fps and 7.5 stops of in-body image stabilisation, the Z5II ensures sharp results in virtually any situation.
285
286For video, the Z5II records 4K 60p oversampled from full-frame and supports N-RAW and ProRes RAW output via HDMI, giving videographers a powerful and versatile production tool at an approachable price point. Dual UHS-II SD card slots, a fully articulating touchscreen LCD, and Nikon's weather-sealed body construction make the Z5II a dependable companion for photographers and filmmakers moving to full-frame for the first time.`,overviewSource:"Nikon Corporation — Official Announcement (nikon.com)"},{id:"p22",name:"Panasonic Lumix S9",brand:"Panasonic",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:55990,image:"",description:"ฟูลเฟรมไซซ์พกพาสำหรับครีเอเตอร์ เปิดตัวปี 2024 บอดี้มินิมอลน้ำหนักเบา พร้อมปุ่ม LUT สร้างโทนภาพเฉพาะตัวได้ทันทีจากกล้อง",specs:["เซนเซอร์ Full-Frame CMOS 24.2MP","วิดีโอ 6K 30p / 4K 60p","ปุ่ม LUT ใส่โทนภาพแบบเรียลไทม์","Phase Hybrid AF","บอดี้เบาเพียง 486 กรัม"],overview:`The LUMIX S9 is the smallest and lightest LUMIX S Series full-frame mirrorless camera, designed to give every creator access to the cinematic image quality of a full-frame sensor in a body that goes anywhere. At just 486g, the S9 fits seamlessly into the everyday carry of photographers, vloggers, and content creators who refuse to compromise on image quality.
287
288The S9 introduces a dedicated LUT (Look-Up Table) button on the body — a world first for a mirrorless camera — allowing creators to apply custom colour grades in real time, straight from the camera. With supp
288ort for V-Log and Hybrid Log Gamma recording alongside 6K 30p and 4K 60p video, the S9 delivers professional-quality footage that stands out in the feed.
289
290Panasonic's Phase Hybrid AF system provides reliable subject tracking for both stills and video, while the S9's compact design accommodates a fully articulating rear LCD for creative framing from any angle. Compatible with the growing L-Mount lens ecosystem shared with Leica and Sigma, the LUMIX S9 opens a world of creative possibilities for the next generation of full-frame creators.`,overviewSource:"Panasonic Corporation — LUMIX S9 Official Page (panasonic.net)"},{id:"p23",name:"Fujifilm X-T50",brand:"Fujifilm",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:47990,image:mL,description:"กล้อง APS-C สไตล์เรโทรเปิดตัวปี 2024 ยกเซนเซอร์ 40MP และกันสั่นในบอดี้จาก X-T5 มาในขนาดกะทัดรัดกว่า พร้อมวงแหวน Film Simulation เฉพาะรุ่น",specs:["เซนเซอร์ APS-C X-Trans 5 HR 40.2MP","กันสั่นในบอดี้ 7 สต็อป","วิดีโอ 6.2K 30p / 4K 60p","วงแหวน Film Simulation","AF ตรวจจับวัตถุด้วย AI"],specValues:{mount:"x"},overview:`My Experience, My Color. FUJIFILM X-T50 inherits the X-T Series design that suggests the close resemblance of a classic film camera. Combined with a sleek design and ergonomic styling, it's a joy to use wherever your creative journey takes you.
291
292X-T50 features the same class-leading 40.2MP X-Trans CMOS 5 HR sensor and X-Processor 5 found in the acclaimed X-T5, but in a more compact and accessible body. For the first time in the X-T50 series, in-body image stabilisation delivers up to 7 stops of compensation — allowing photographers to push into lower light and slower shutter speeds with confidence.
293
294A dedicated Film Simulation dial on the body — a first for the X-T50 — gives direct, tactile access to Fujifilm's acclaimed colour profiles inspired by the company's legacy in photographic film. With AI-powered subject detection AF, 6.2K 30p internal video, and Fujifilm's characteristic colour science baked into every image, the X-T50 is a camera that makes every day feel worth shooting.`,overviewSource:"Fujifilm — X Series Official Website (fujifilm-x.com)"},{id:"p24",name:"Fujifilm X-E5",brand:"Fujifilm",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:47990,image:bL,description:"กล้องสไตล์เรนจ์ไฟน์เดอร์สุดคลาสสิก วางจำหน่ายปี 2025 บอดี้บางเบาพร้อมเซนเซอร์ 40MP และกันสั่นในบอดี้ครั้งแรกของตระกูล X-E",specs:["เซนเซอร์ APS-C X-Trans 5 HR 40.2MP","กันสั่นในบอดี้ 7 สต็อป","วิดีโอ 6.2K 30p","วงแหวน Film Simulation","ดีไซน์เรนจ์ไฟน์เดอร์น้ำหนักเบา"],specValues:{mount:"x"},overview:`The Refined Classic. A modern classic can't simply mimic what has gone before. FUJIFILM X-E5 embodies what it means to be a modern classic, combining a sophisticated, elegant design with analog controls that inspire image-making.
295
296Crafted solely from machined aluminium, the top-plate retains the essence of a classic camera with its angular design. This stunning look comes together with tactile analog controls — dedicated dials for shutter speed, exposure compensation, and ISO — that connect the photographer physically to the act of creating. For the first time in the X-E series, in-body image stabilisation provides up to 7 stops of compensation, freeing photographers to shoot in low-light environments without a tripod.
297
298At its heart is the 40.2MP X-Trans CMOS 5 HR sensor and X-Processor 5, delivering the same outstanding resolution and colour depth as Fujifilm's acclaimed X-T5 in a slimmer, more discreet rangefinder-style body. With a Film Simulation dial, 6.2K 30p video, and AI-powered subject detection AF, the X-E5 is for photographers who believe that the best camera is the one you always have with you.`,overviewSource:"Fujifilm — X Series Official Website (fujifilm-x.com)"},{id:"p25",name:"Sony ZV-E10 II (Body Only, Black)",brand:"Sony",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:38990,image:uL,description:"กล้อง Vlog เปลี่ยนเลนส์ได้รุ่นอัปเกรดใหญ่ปี 2024 เซนเซอร์ใหม่ 26MP แบตอึดขึ้น พร้อมระบบโฟกัสและสีแบบเดียวกับกล้องรุ่นใหญ่ เหมาะกับสายคอนเทนต์ครีเอเตอร์",specs:["เซนเซอร์ APS-C Exmor R 26MP","วิดีโอ 4K 60p 10 บิต","S-Cinetone และ Log Shooting","ไมโครโฟน 3 แคปซูลในตัว","แบตเตอรี่ Z-Series ถ่ายวิดีโอได้ยาวนาน"],specValues:{sensor:"aps-c",resolution:"26.0 ล้านพิกเซล",video:"4K",mount:"e-mount"},overview:`The Sony ZV-E10 II is the creator-focused interchangeable-lens camera that combines the versatility of the E-mount ecosystem with features purpose-built for vlogging and content creation. Featuring a newly developed 26MP APS-C Exmor R CMOS sensor and the BIONZ XR processor, the ZV-E10 II delivers a substantial leap in image quality, autofocus performance, and video capability over its predecessor.
299
300Sony's AI-based Real-time Recognition AF — now available on an entry-level APS-C body for the first time — automatically detects and tracks people, animals, and birds, maintaining sharp focus even as subjects move unpredictably through the frame. The Product Showcase Setting shifts focu
300s smoothly from the creator to a product they hold up, making reviews and demos effortless.
301
302For video, the ZV-E10 II records 4K 60p in 10-bit 4:2:2 internally alongside S-Cinetone and S-Log3 colour profiles for professional-grade colour grading. A built-in 3-capsule directional microphone captures clear audio with reduced wind noise, while the upgraded Z-series battery delivers up to twice the recording time of the original ZV-E10 — making it the ideal tool for creators who shoot all day.`,overviewSource:"Sony Corporation — Official Announcement (sony.com)"},{id:"p26",name:"Fujifilm X-M5",brand:"Fujifilm",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:26990,image:fL,description:"กล้องเปลี่ยนเลนส์ได้ขนาดเล็กจาก Fujifilm เปิดตัวปลายปี 2024 น้ำหนักเบาที่สุดในตระกูล X เหมาะกับสาย Vlog และมือใหม่",specs:["เซนเซอร์ APS-C X-Trans 4 26.1MP","วิดีโอ 6.2K 30p / 4K 60p","จอสัมผัสพลิกออกด้านข้าง","วงแหวน Film Simulation","น้ำหนักเพียง 355 กรัม"],specValues:{mount:"x"},overview:`Color Your Moment. Every day is different. The weather, the light, the way you feel — each offers a chance to view the world in a new way. FUJIFILM X-M5 mirrorless digital camera has everything you need to bring that vision to life. C
302ompact, lightweight, and with powerful photo and video functions, it's the perfect companion to record everyday life.
303
304Ready For Everything. At 355g, FUJIFILM X-M5 is the lightest camera in the X Series lineup — light enough to carry everywhere, yet powerful enough to create content that stands out. A side-opening vari-angle touchscreen makes shooting from any angle natural and intuitive, while a dedicated Film Simulation dial puts Fujifilm's celebrated colour science at your fingertips with direct, tactile control.
305
306Despite its compact size, the X-M5 records 6.2K 30p and 4K 60p video with the rich colour depth and film-like tonal character that Fujifilm cameras are celebrated for. AI-powered subject detection AF tracks people, animals, and birds automatically, and the camera's USB-C power delivery allows extended shooting sessions without interruption — making the X-M5 the ideal first Fujifilm camera for a new generation of creators.`,overviewSource:"Fujifilm — X Series Official Website (fujifilm-x.com)"},{id:"p27",name:"Nikon Z50 II",brand:"Nikon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:32900,image:hL,description:"กล้อง APS-C รุ่นใหม่ปี 2024 ที่ได้โปรเซสเซอร์ EXPEED 7 ระดับเรือธง โฟกัสไวและแม่นยำขึ้นมาก พร้อมปุ่ม Picture Control เลือกโทนภาพได้ทันที",specs:["เซนเซอร์ APS-C CMOS 20.9MP","โปรเซสเซอร์ EXPEED 7","วิดีโอ 4K 60p (ครอป) / 4K 30p","AF ตรวจจับวัตถุ 9 ประเภท","ปุ่ม Picture Control เฉพาะรุ่น"],overview:`The Nikon Z50 II brings the power of the EXPEED 7 image processor — the same engine powering the professional Z8 and Z9 — to a compact, lightweight APS-C body designed for photographers and content creators taking their first steps into the Z mount system.
307
308With EXPEED 7 on board, the Z50 II gains access to Nikon's flagship-level Subject Detection AF, recognising and tracking nine subject types including people, animals, birds, vehicles, and aircraft with deep-learning accuracy. Continuous shooting at up to 14 fps with full AF/AE tracking ensures that fast-moving subjects are captured with precision, regardless of skill level.
309
310A dedicated Picture Control button — unique to the Z50 II — allows creators to switch between creative colour profiles directly from the body without entering menus, making it easy to develop a distinctive visual style from the camera itself. With 4K 30p full-frame-equivalent video, a fully articulating touchscreen, and access to the entire Z-mount lens ecosystem via the included mount adapter, the Z50 II is a capable and expandable creative platform for beginners and enthusiasts alike.`,overviewSource:"Nikon Corporation — Official Announcement (nikon.com)"},{id:"p28",name:"Canon EOS R50 V",brand:"Canon",category:"digital-camera",subCategory:"mirrorless-camera",regularPrice:30990,image:gL,description:"กล้องสายวิดีโอสำหรับครีเอเตอร์รุ่นเริ่มต้น วางจำหน่ายปี 2025 (ราคาชุดคิทพร้อมเลนส์ RF-S14-30mm PZ) ดีไซน์เน้นการถ่ายวิดีโอทั้งแนวนอนและแนวตั้ง",specs:["เซนเซอร์ APS-C CMOS 24.2MP","วิดีโอ 4K 60p (ครอป) / 4K 30p Oversampled","Canon Log 3 และ HDR PQ","ขาตั้งแนวตั้งในตัวบอดี้","Dual Pixel CMOS AF II"],overview:`The Canon EOS R50 V is Canon's first camera purpose-built for vertical video creation, featuring an integrated vertical grip that makes handheld portrait-orientation shooting — the dominant format for short-form social content — as natural and comfortable as traditional landscape-mode photography.
311
312Equipped with a 24.2MP APS-C CMOS sensor and the DIGIC X processor, the R50 V delivers Dual Pixel CMOS AF II across its entire frame, providing the reliable face, eye, and subject detection tracking that content creators depend on. 
312Canon Log 3 and HDR PQ recording give creators professional-grade colour science for footage that stands up in post-production.
313
314The R50 V records 4K 30p with full-sensor oversampling for maximum resolution and detail, alongside 4K 60p in cropped mode for smooth, high-frame-rate footage. Designed for the creator generation, the EOS R50 V connects seamlessly to smartphones via Bluetooth and Wi-Fi, and supports USB streaming for live content — making it the most focused, creator-centric camera Canon has ever built.`,overviewSource:"Canon — Official Product Announcement (canon.com)"},{id:"p6",name:"Sony FE 24-70mm F2.8 GM II",brand:"Sony",category:"lenses",subCategory:"standard-lenses",regularPrice:72990,image:"/images/sony-lens.png",description:"A refined take on the fast standard zoom, the Sony FE 24-70mm f/2.8 GM II is not only smaller and lighter than the previous generation, it also features a variety of optical, focusing, and handling upgrades.",specs:["E-Mount Lens/Full-Frame Format","Aperture Range: f/2.8 to f/22","Four XD Linear AF Motors","Nano AR Coating II and Fluorine Coating"],specValues:{focalLength:"24-70 มม.",maxAperture:"F2.8",mount:"e-mount",format:"full-frame",is:"ไม่มี OSS ในตัวเลนส์"}},{id:"p7",name:"Canon RF 50mm f/1.2 L USM",brand:"Canon",category:"lenses",subCategory:"portrait-lenses",regularPrice:84390,manufacturerWarrantyYears:1,image:DN,description:"เลนส์ไพรม์ L-series 50 มม. f/1.2 สำหรับกล้อง Canon EOS R ให้รูรับแสงกว้างและใช้มอเตอร์ USM",specValues:{focalLength:"50mm",maxAperture:"f/1.2",filterSize:"77mm",af:"USM",mount:"rf",weight:"ประมาณ 950 กรัม"},specs:["50 มม.","f/1.2","USM","L-series","ฟิลเตอร์ 77 มม.","น้ำหนักประมาณ 950 กรัม"],overview:`RF50mm F1.2 L USM เป็นเลนส์มาตรฐานรูรับแสงกว้างมากในกลุ่ม L-series ของ Canon สำหรับระบบ EOS R ฟูลเฟรม
315
316เลนส์ใช้มอเตอร์ USM วงแหวนควบคุมที่ปรับแต่งได้ และรองรับฟิลเตอร์ขนาด 77 มม.`,overviewSource:"Canon U.S.A. — https://www.usa.canon.com/support/p/rf50mm-f1-2-l-usm"},{id:"p8",name:"Sigma 35mm f/1.4 DG HSM Art",brand:"Sigma",category:"lenses",subCategory:"wide-angle-lenses",regularPrice:28500,image:"/images/sony-lens.png",description:"A true classic, the Sigma 35mm f/1.4 DG HSM Art lens offers exceptional sharpness, beautiful bokeh, and reliable build quality for a wide range of mounting systems.",specs:["Aperture Range: f/1.4 to f/16","Hyper Sonic Motor AF System","Super Multi-Layer Coating","Rounded 9-Blade Diaphragm"]},{id:"p9",name:"Nikon NIKKOR Z 85mm f/1.8 S",brand:"Nikon",category:"lenses",subCategory:"portrait-lenses",regularPrice:28500,manufacturerWarrantyYears:1,image:OL,description:"เลนส์ไพรม์ระยะ 85 มม. รูรับแสง f/1.8 สำหรับ Nikon Z เหมาะกับงานพอร์ตเทรตและการถ่ายในแสงน้อย",specValues:{focalLength:"85mm",maxAperture:"f/1.8",filterSize:"67mm",mount:"nikon-z",weight:"ประมาณ 470 กรัม"},specs:["ทางยาวโฟกัส 85 มม.","รูรับแสงกว้างสุด f/1.8","ฟิลเตอร์ 67 มม.","ระยะโฟกัสใกล้สุด 0.8 ม.","น้ำหนักประมาณ 470 กรัม"],overview:`NIKKOR Z 85mm f/1.8 S เป็นเลนส์ S-Line สำหรับกล้อง Nikon Z ที่ออกแบบสำหรับงานพอร์ตเทรต ให้ความคมชัดสูงและโบเก้ที่นุ่มนวล
317
318ตามข้อมูล Nikon เลนส์ใช้ชิ้นเลนส์ ED สองชิ้น เคลือบ Nano Crystal Coat และใช้ระบบ Multi-Focus พร้อม stepping motors สองตัว.`,overviewSource:"Nikon Imaging — https://imaging.nikon.com/imaging/lineup/lens/z-mount/z_85mmf18s/"},{id:"p10",name:"Godox SL-200W II LED Video Light",brand:"Godox",category:"studio",subCategory:"studio-house-accessories",regularPrice:7990,image:"",description:"The Godox SL200W II LED Video Light is a daylight-balanced 200W LED monolite-style light source suitable for broadcasting, cinematography, online streaming, and other video applications.",specs:["Color Temperature: 5600K","CRI/TLCI: 96/97","Dimming: 0-100%","Bowens Front Accessory Mount"]},{id:"p12",name:"Peak Design Everyday Backpack V2",brand:"Peak Design",category:"bags",subCategory:"backpack",regularPrice:6990,image:"",description:"An iconic, award-winning pack for everyday and photo carry, the Everyday Backpack is built around access, organization, expansion, and protection.",specs:["Capacity: 20L or 30L","Customizable FlexFold Dividers","Weatherproof 400D Nylon Canvas","MagLatch Hardware"],variants:[{size:"20L",color:"Black"},{size:"20L",color:"Charcoal"},{size:"20L",color:"Ocean"},{size:"20L",color:"Kelp"},{size:"20L",color:"Midnight"},{size:"20L",color:"Coyote X-Pac™"},{size:"20L",color:"Ash"},{size:"20L",color:"Eclipse"},{size:"30L",color:"Black"},{size:"30L",color:"Charcoal"},{size:"30L",color:"Ocean"},{size:"30L",color:"Kelp"},{size:"30L",color:"Midnight"},{size:"30L",color:"Coyote X-Pac™"}],overviewSource:"Peak Design — Everyday Backpack official product page (peakdesign.com)"}],jt=jU.map(e=>{const t=x9(e,"runtime");return Za(t.id)?Object.defineProperty(t,"salePrice",{enumerable:!0,get(){const n=TN(t.id,t.regularPrice);return n<t.regularPrice?n:void 0}}):t}),zd=jt.filter(e=>!Za(e.id)&&typeof e.salePrice=="number"&&e.salePrice>=0&&e.salePrice<e.regularPrice);function LN(e){return e.salePrice===void 0||e.regularPrice<=0||e.salePrice>=e.regularPrice?0:Math.round((e.regularPrice-e.salePrice)/e.regularPrice*100)}
318const RU=EU,Ve=e=>new Intl.NumberFormat("th-TH",{style:"currency",currency:"THB",minimumFractionDigits:0,maximumFractionDigits:0}).format(e);function MU(e){let t;const n=()=>{e(),clearTimeout(t);const o=[RN,MN].find(c=>c>Date.now());o&&(t=setTimeout(n,Math.min(o-Date.now(),2147483647)))},r=setInterval(n,1e3);return window.addEventListener("focus",n),document.addEventListener("visibilitychange",n),n(),()=>{clearInterval(r),clearTimeout(t),window.removeEventListener("focus",n),document.removeEventListener("visibilitychange",n)}}function ki(){return y.useSyncExternalStore(MU,ON,()=>0)}const UN=y.createContext(void 0),VN="world-camera.cart.v1",BN=1;function Dc(e,t){return t?`${e}::${t.size}::${t.color}`:e}function Il(e){return Dc(e.product.id,e.variant)}function AU(e){return e==="world_warranty"||e==="world_warranty_plus"}function OU(){if(typeof window>"u")return[];try{const e=window.localStorage.getItem(VN);if(!e)return[];const t=JSON.parse(e),n=Array.isArray(t)?t:typeof t=="object"&&t!==null&&"version"in t&&t.version===BN&&Array.isArray(t.items)?t.items:[],r=new Map;for(const o of n){if(typeof o!="object"||o===null)continue;const c=o,u=c.product?.id,m=typeof u=="string"?jt.find(w=>w.id===u):void 0,f=c.quantity;if(!m||typeof f!="number"||!Number.isSafeInteger(f)||f<1||f>99)continue;const p=(typeof c.variant?.size=="string"&&typeof c.variant?.color=="string"?m.variants?.find(w=>w.size===c.variant?.size&&w.color===c.variant?.color):void 0)??(m.variants?.length&&!c.variant?m.variants[0]:void 0);if(m.variants?.length&&!p)continue;const b=Dc(m.id,p),v=typeof c.product?.image=="string"?c.product.image:m.image,S=typeof c.warrantyUnitPrice=="number"&&Number.isSafeInteger(c.warrantyUnitPrice)&&c.warrantyUnitPrice>=0?c.warrantyUnitPrice:void 0,N=r.get(b);if(N){N.quantity=Math.min(99,N.quantity+f);continue}r.set(b,{lineId:b,product:{...m,image:v},quantity:f,variant:p?{...p}:void 0,warrantyPlan:AU(c.warrantyPlan)?c.warrantyPlan:void 0,warrantyUnitPrice:S})}return[...r.values()]}catch{return[]}}function VS(e){if(!(typeof window>"u"))try{window.localStorage.setItem(VN,JSON.stringify({version:BN,items:e}))}catch{}}function TU({children:e}){const[t,n]=y.useState(OU),r=ki(),o=y.useMemo(()=>t.map(w=>{if(!Za(w.product.id))return w;const C=jt.find(M=>M.id===w.product.id),R=TN(C.id,C.regularPrice);return{...w,product:{...C,image:w.product.image,salePrice:R<C.regularPrice?R:void 0},warrantyPlan:void 0,warrantyUnitPrice:void 0}}),[t,r]),[c,u]=y.useState(!1),m=y.useRef(!1);y.useEffect(()=>{if(!m.current){m.current=!0,o.length>0&&VS(o);return}VS(o)},[o]);const f=(w,C=1,R,M,j)=>{w.priceOnRequest||(n(T=>{const P=Dc(w.id,j);return T.find(_=>Il(_)===P)?T.map(_=>Il(_)===P?{..._,lineId:P,quantity:_.quantity+C,...R?{warrantyPlan:R,warrantyUnitPrice:M}:{}}:_):[...T,{lineId:P,product:w,quantity:C,variant:j?{...j}:void 0,warrantyPlan:R,warrantyUnitPrice:M}]}),u(!0))},h=w=>{n(C=>C.filter(R=>Il(R)!==w))},p=(w,C)=>{C<1||n(R=>R.map(M=>Il(M)===w?{...M,lineId:w,quantity:C}:M))},b=(w,C,R)=>{n(M=>M.map(j=>Il(j)===w?{...j,lineId:w,warrantyPlan:C,warrantyUnitPrice:R}:j))},v=()=>n([]),S=y.useMemo(()=>o.reduce((w,C)=>w+C.quantity,0),[o]),N=y.useMemo(()=>o.reduce((w,C)=>{const R=C.product.salePrice||C.product.regularPrice;return w+(R+(C.warrantyUnitPrice??0))*C.quantity},0),[o]);return i.jsx(UN.Provider,{value:{items:o,addItem:f,removeItem:h,updateQuantity:p,setWarrantyPlan:b,clearCart:v,totalItems:S,subtotal:N,isCartOpen:c,setIsCartOpen:u},children:e})}function Ei(){const e=y.useContext(UN);if(e===void 0)throw new Error("useCart must be used within a CartProvider");return e}const vg={th:"ไทย",en:"EN",zh:"中文"},PU={authorizedDealer:{th:"Authorized Dealer: Sony, Canon, Nikon, Fujifilm",en:"Authorized Dealer: Sony, Canon, Nikon, Fujifilm",zh:"授权经销商:Sony、Canon、Nikon、Fujifilm"},searchPlaceholder:{th:"ค้นหากล้อง, เลนส์, อุปกรณ์...",en:"Search cameras, lenses, and pro gear...",zh:"搜索相机、镜头和专业装备..."},searchPlaceholderShort:{th:"ค้นหา...",en:"Search gear...",zh:"搜索..."},searchResults:{th:"สินค้าที่ค้นพบ",en:"Search results",zh:"搜索结果"},noSearchResults:{th:"ไม่พบสินค้าที่ตรงกับคำค้นหา",en:"No products found",zh:"未找到匹配的商品"},account:{th:"บัญชี",en:"Account",zh:"账户"},cart:{th:"ตะกร้า",en:"Cart",zh:"购物车"},shopCategories:{th:"หมวดหมู่สินค้า",en:"Shop Categories",zh:"商品分类"},shopByBrand:{th:"เลือกช้อปตามแบรนด์",en:"Shop by Brand",zh:"按品牌选购"},shopByBrandDesc:{th:"เลือกอุปกรณ์ถ่ายภาพจากแบรนด์ชั้นนำที่คุณไว้วางใจ",en:"Browse professional gear from the world's most trusted camera brands",zh:"浏览来自全球顶级相机品牌的专业器材"},services:{th:"บริการ",en:"Services",zh:"服务"},navLighting:{th:"จัดชุดไฟนอกสถานที่",en:"Location Lighting",zh:"外景灯光套装"},navLightingFull:{th:"จัดชุดไฟนอกสถานที่",en:"Location Lighting Package",zh:"外景灯光套装"},navClearance:{th:"Clearance",en:"Clearance",zh:"Clearance"},navRent:{th:"เช่ากล้อง",en:"Rent",zh:"租借"},navServices:{th:"ขอใบเสนอราคา",en:"Request a Quote",zh:"询价"},navContact:{th:"ติดต่อ",en:"Contact",zh:"联系我们"},navRentFull:{th:"เช่ากล้อง (Rent)",en:"Camera Rental",zh:"租借相机"},navServicesFull:{th:"ขอใบเสนอราคา",en:"Request a Quote",zh:"询价"},navContactFull:{th:"ติดต่อเรา (Contact)",en:"Contact Us",zh:"联系我们"},navMenuTitle:{th:"เมนูนำทาง",en:"Navigation Menu",zh:"导航菜单"},groupCamera:{th:"กล้อง",en:"Cameras",zh:"相机"},groupLens:{th:"เลนส์",en:"Lenses",zh:"镜头"},groupFilter:{th:"ฟิลเตอร์ & ฟิล์ม",en:"Filters & Film",zh:"滤镜和胶片"},groupVideo:{th:"วิดีโอ",en:"Video",zh:"视频器材"},groupLight:{th:"แสง & ไฟ",en:"Lighting",zh:"灯光"},groupBag:{th:"กระเป๋า",en:"Bags",zh:"包袋"},groupAccessory:{th:"อุปกรณ์เสริม",en:"Accessories",zh:"配件"},groupComputer:{th:"คอมพิวเตอร์",en:"Computers",zh:"电脑"},heroSlide1Title:{th:"New Arrivals",en:"New Arrivals",zh:"新品上市"},heroSlide1Sub:{th:"Canon EOS R1 – ประสิทธิภาพระดับ Flagship",en:"
318Canon EOS R1 – Flagship Performance",zh:"Canon EOS R1 – 旗舰性能"},heroSlide2Title:{th:"เช่ากล้องราคาเริ่มต้นหลักร้อย",en:"Camera Rental from ฿XXX/day",zh:"相机租借低至数百铢/天"},heroSlide2Sub:{th:"ลองก่อนซื้อ หรือลุยงานถ่ายด้วยอุปกรณ์ระดับโปร",en:"Try before you buy, or shoot with pro gear",zh:"先试后买,或使用专业设备拍摄"},heroSlide3Title:{th:"จัดชุดไฟนอกสถานที่",en:"Location Lighting",zh:"外景灯光套装"},heroSlide3Sub:{th:"วางแผนแสงให้เหมาะกับงานของคุณ พร้อมทีมงานช่วยจัดชุดอุปกรณ์",en:"Get the right lighting setup for your shoot, with expert support.",zh:"为您的拍摄定制合适的灯光方案,提供专业支持。"},shopNow:{th:"ช้อปเลย",en:"Shop Now",zh:"立即购买"},viewRentals:{th:"ดูอุปกรณ์เช่า",en:"View Rentals",zh:"查看租借设备"},heroSlide3Cta:{th:"สอบถามจัดชุดไฟ",en:"Request Lighting Setup",zh:"咨询灯光套装"},shopEligible:{th:"ดูสินค้าร่วมรายการ",en:"Shop Eligible Items",zh:"查看参与商品"},worldCameraSpecial:{th:"World Camera Special",en:"World Camera Special",zh:"World Camera 特惠"},newArrivals:{th:"สินค้ามาใหม่ (New Arrivals)",en:"New Arrivals",zh:"新品上市"},newArrivalsDesc:{th:"อุปกรณ์ล่าสุดจากผู้ผลิตชั้นนำ",en:"Latest gear from top manufacturers",zh:"来自顶级制造商的最新装备"},bestSellers:{th:"สินค้าขายดี",en:"Best Sellers",zh:"畅销商品"},bestSellersDesc:{th:"รายการสินค้าที่ได้รับความนิยมสูงสุด",en:"Our most popular products",zh:"最受欢迎的商品"},seeAll:{th:"ดูทั้งหมด",en:"See All",zh:"查看全部"},seeAllGear:{th:"ดูสินค้าทั้งหมด",en:"See All Gear",zh:"查看所有装备"},promoRentalTitle:{th:"บริการเช่ากล้อง",en:"Camera Rental Service",zh:"相机租借服务"},promoRentalSub:{th:"ลองก่อนซื้อ",en:"Try Before You Buy",zh:"先试后买"},promoRentalDesc:{th:"ลองใช้กล้องและเลนส์ระดับมืออาชีพก่อนตัดสินใจซื้อ อัตรารายวัน",en:"Test drive the latest professional bodies and lenses before you commit to buying. Daily rates available.",zh:"在购买之前试用最新的专业机身和镜头。提供日租服务。"},promoInstallTitle:{th:"ผ่อน 0%",en:"0% Installment",zh:"0% 分期付款"},promoInstallSub:{th:"สูงสุดนาน 24 เดือน",en:"Up to 24 Months",zh:"最长24个月"},promoInstallDesc:{th:"อัพเกรดทุกอุปกรณ์วันนี้ ผ่อน 0% กับบัตรเครดิตที่ร่วมรายการ",en:"Upgrade your entire setup today. 0% interest installment plans on participating credit cards for eligible items.",zh:"今天升级您的全套设备。参与信用卡可享受0%利率分期付款。"},promoDealerTitle:{th:"Authorized Dealer",en:"Authorized Dealer",zh:"授权经销商"},promoDealerSub:{th:"รับประกันศูนย์",en:"Official Warranty",zh:"官方保修"},promoDealerDesc:{th:"ซื้อด้วยความมั่นใจ รับประกันจากผู้ผลิต บริการหลังการขายโดยผู้เชี่ยวชาญ",en:"Shop with confidence. Full manufacturer warranty, professional support, and local service center access.",zh:"放心购买。完整制造商保修、专业支持及本地服务中心。"},learnMore:{th:"เรียนรู้เพิ่มเติม",en:"Learn More",zh:"了解更多"},prevSlide:{th:"สไลด์ก่อนหน้า",en:"Previous slide",zh:"上一张"},nextSlide:{th:"สไลด์ถัดไป",en:"Next slide",zh:"下一张"},catCameras:{th:"กล้อง",en:"Cameras",zh:"相机"},catLenses:{th:"เลนส์",en:"Lenses",zh:"镜头"}
318,catVideo:{th:"วิดีโอ",en:"Video",zh:"视频"},catLighting:{th:"แสง & ไฟ",en:"Lighting",zh:"灯光"},catBags:{th:"กระเป๋า",en:"Bags",zh:"包袋"},catAccessories:{th:"อุปกรณ์เสริม",en:"Accessories",zh:"配件"},catFilterFilm:{th:"ฟิลเตอร์ & ฟิล์ม",en:"Filter & Film",zh:"滤镜和胶片"},catRental:{th:"เช่ากล้อง",en:"Rental",zh:"租借"},allGear:{th:"สินค้าทั้งหมด",en:"All Gear",zh:"全部商品"},filters:{th:"ตัวกรอง",en:"Filters",zh:"筛选"},subCategory:{th:"หมวดหมู่ย่อย",en:"Sub Category",zh:"子分类"},subCategoryLabel:{th:"Sub Category",en:"Sub Category",zh:"子分类"},allItems:{th:"ทั้งหมด (All)",en:"All",zh:"全部"},search:{th:"ค้นหา",en:"Search",zh:"搜索"},searchModels:{th:"ค้นหารุ่น...",en:"Search models...",zh:"搜索型号..."},brands:{th:"แบรนด์",en:"Brands",zh:"品牌"},maxPrice:{th:"ราคาสูงสุด",en:"Max Price",zh:"最高价格"},noProducts:{th:"ไม่พบสินค้าที่ตรงกับตัวกรอง",en:"No products found matching your filters.",zh:"未找到符合筛选条件的商品。"},clearFilters:{th:"ล้างตัวกรองทั้งหมด",en:"Clear all filters",zh:"清除所有筛选"},showing:{th:"แสดง",en:"Showing",zh:"显示"},items:{th:"รายการ",en:"items",zh:"件商品"},sale:{th:"ลด",en:"SALE",zh:"特价"},addToCart:{th:"เพิ่มในตะกร้า",en:"Add to Cart",zh:"加入购物车"},keySpecs:{th:"สเปคหลัก",en:"Key Specifications",zh:"主要规格"},tabOverview:{th:"ภาพรวมสินค้า",en:"Overview",zh:"产品概览"},tabSpecs:{th:"สเปค",en:"Specifications",zh:"规格参数"},tabQA:{th:"Q&A ลูกค้า",en:"Customer Q&A",zh:"买家问答"},tabReviews:{th:"รีวิวลูกค้า",en:"Customer Reviews",zh:"买家评价"},overviewHighlights:{th:"จุดเด่น",en:"Highlights",zh:"产品亮点"},overviewInBox:{th:"ในกล่องมีอะไรบ้าง",en:"What's in the Box",zh:"包装清单"},overviewAndReview:{th:"รีวิวและภาพรวม",en:"Review & Overview",zh:"评测与概览"},whyChoose:{th:"ทำไมต้องเลือก",en:"Why Choose",zh:"为什么选择"},suitableFor:{th:"เหมาะสำหรับใคร?",en:"Who Is It For?",zh:"适合谁?"},pdForPro:{th:"ช่างภาพมืออาชีพ",en:"Professional Photographer",zh:"专业摄影师"},pdForProDesc:{th:"ต้องการความละเอียดสูง ความเร็ว AF และคุณภาพภาพระดับ Pro",en:"Demands high resolution, fast AF, and pro-grade image quality",zh:"需要高分辨率、快速对焦和专业图像质量"},pdForVideo:{th:"นักถ่ายวิดีโอ",en:"Videographer",zh:"视频摄影师"},pdForVideoDesc:{th:"ต้องการวิดีโอคุณภาพสูง รองรับ 4K และ Log Format",en:"Needs high-quality video with 4K recording and Log Format support",zh:"需要高质量视频,支持4K录制和Log格式"},pdForCreator:{th:"คอนเทนต์ครีเอเตอร์",en:"Content Creator",zh:"内容创作者"},pdForCreatorDesc:{th:"ต้องการกล้องอเนกประสงค์ ใช้งานง่าย ผลลัพธ์สวยงามทันที",en:"Wants a versatile, easy-to-use camera with great results straight out of camera",zh:"需要多功能、易用且即拍即好的相机"},pdGuaranteeTitle:{th:"รับประกันของแท้จาก World Camera",en:"World Camera Authenticity Guarantee",zh:"World Camera 正品保证"},pdGuaranteeBody:{th:"สินค้าทุกชิ้นที่จำหน่ายโดย World Camera เป็นสินค้าของแท้ 100% นำเข้าà¹
318‚ดยตัวแทนจำหน่ายอย่างเป็นทางการในประเทศไทย พร้อมรับประกันศูนย์ไทย 1 ปีเต็ม และบริการหลังการขายจากทีมงานผู้เชี่ยวชาญของเรา",en:"Every product sold by World Camera is 100% genuine, imported by official authorized dealers in Thailand, backed by a full 1-year Thai warranty and expert after-sales support.",zh:"World Camera销售的每件产品均为100%正品,由泰国官方授权经销商进口,附带完整1年泰国保修及专业售后服务。"},inBoxBodyCap:{th:"ฝาปิดบอดี้",en:"Body Cap",zh:"机身盖"},inBoxBattery:{th:"แบตเตอรี่",en:"Battery",zh:"电池"},inBoxCharger:{th:"ที่ชาร์จแบตเตอรี่",en:"Battery Charger",zh:"电池充电器"},inBoxUSB:{th:"สาย USB",en:"USB Cable",zh:"USB数据线"},inBoxStrap:{th:"สายคล้องกล้อง",en:"Shoulder Strap",zh:"背带"},inBoxManual:{th:"คู่มือการใช้งาน",en:"User Manual",zh:"用户手册"},inBoxWarranty:{th:"บัตรรับประกัน",en:"Warranty Card",zh:"保修卡"},pdOverviewSource:{th:"ที่มา",en:"Source",zh:"来源"},qaNoQuestion:{th:"ยังไม่มีคำถาม เป็นคนแรกที่ถาม!",en:"No questions yet. Be the first to ask!",zh:"暂无问题,抢先提问!"},qaAskBtn:{th:"ถามคำถาม",en:"Ask a Question",zh:"提问"},reviewNoReview:{th:"ยังไม่มีรีวิว",en:"No reviews yet",zh:"暂无评价"},reviewWriteBtn:{th:"เขียนรีวิว",en:"Write a Review",zh:"撰写评价"},reviewVerified:{th:"ผู้ซื้อที่ยืนยันแล้ว",en:"Verified Purchase",zh:"已验证购买"},reviewRating:{th:"คะแนนเฉลี่ย",en:"Average Rating",zh:"平均评分"},warranty:{th:"รับประกัน 1 ปี",en:"1 Year Warranty",zh:"1年保修"},warrantyAddTitle:{th:"เพิ่ม World Warranty",en:"Add World Warranty",zh:"添加 World Warranty"},warrantyAddDesc:{th:"ขยายระยะเวลารับประกันสูงสุด 3 ปี พร้อมความคุ้มครองพิเศษตามแผน",en:"Extend coverage for up to 3 years with plan-specific protection.",zh:"延长保修最长3年,并享受方案专属保障。"},warrantyDetailsHint:{th:"คลิกเพื่อดูรายละเอียดความคุ้มครอง",en:"Click a plan to see coverage details",zh:"点击方案查看保障详情"},warrantyCoverageLabel:{th:"ความคุ้มครอง",en:"Coverage",zh:"保障范围"},galleryMainView:{th:"ภาพหลัก",en:"Main image",zh:"主图"},galleryExtraView:{th:"ภาพเพิ่มเติม",en:"Additional image",zh:"附加图片"},galleryCloseUp:{th:"ซูมสินค้า",en:"Product close-up",zh:"产品近景"},galleryDetailView:{th:"ซูมรายละเอียด",en:"Detail close-up",zh:"细节特写"},galleryOpenZoom:{th:"กดเพื่อขยายรูป",en:"Open enlarged image",zh:"打开大图"},warrantyPriceOfProduct:{th:"ของราคาสินค้า",en:"of product price",zh:"商品价格"},warrantyNoThanks:{th:"ไม่เพิ่มประกัน",en:"No additional warranty",zh:"暂不添加保障"},warrantyPolicyLink:{th:"อ่านนโยบายฉบับเต็ม",en:"Read full policy",zh:"阅读完整条款"},warrantyShortLabel:{th:"ประกันเพิ่ม:",en:"Warranty:",zh:"附加保障:"},freeShipping:{th:"จัดส่งฟรี",en:"Free Shipping",zh:"免费配送"},relatedEquipment:{th:"อุปกรณ์ที่เกี่ยวข้อง",en:"Related Equipment",zh:"相关装备"},viewDetails:{th:"ดูรายละเอียด",en:"View Details",zh:"查看详情"},shoppingCart:{th:"ตะกร้าสินค้า",en:"Shopping Cart",zh:"购物车"},cartEmpty:{th:"ตะกร้าว่างเปล่า เริ่มเพิ่มสินค้าได้เลย!",en:"Your cart is empty. Start adding some gear!",zh:"购物车为空,快去挑选商品吧!"},continueShopping:{th:"ช้อปต่อ",en:"Continue Shopping",zh:"继续购物"},subtotal:{th:"ยอดรวม",en:"Subtotal",zh:"小计"},shippingNote:{th:"คำนวณค่าจัดส่งและภาษีเมื่อชำระเงิน",en:"Shipping and taxes calculated at checkout.",zh:"运费和税费将在结账时计算。"},checkoutNow:{th:"ดำเนินการสั่งซื้อ",en:"Checkout Now",zh:"立即结账"},checkout:{th:"ชำระเงิน",en:"Checkout",zh:"结账"},orderSummary:{th:"สรุปรายการสั่งซื้อ",en:"Order Summary",zh:"订单摘要"},paymentMethod:{th:"วิธีชำระเงิน",en:"Payment Method",zh:"付款方式"},bankTransfer:{th:"โอนเงินผ่านธนาคาร",en:"Bank Transfer",zh:"银行转账"},promptpay:{th:"พร้อมเพย์ / QR Code",en:"PromptPay / QR Code",zh:"PromptPay / 二维码"},placeOrder:{th:"ยืนยันคำสั่งซื้อ",en:"Place Order",zh:"确认订单"},customerName:{th:"ชื่อ-นามสกุล",en:"Full Name",zh:"全名"},phone:{th:"เบอร์โทรศัพท์",en:"Phone Number",zh:"电话号码"},email:{th:"อีเมล (ไม่บังคับ)",en:"Email (optional)",zh:"邮箱(选填)"},address:{th:"ที่อยู่จัดส่ง (ไม่บังคับ)",en:"Delivery Address (optional)",zh:"配送地址(选填)"},note:{th:"หมายเหตุ (ไม่บังคับ)",en:"Note (optional)",zh:"备注(选填)"},footerTagline:{th:"ศูนย์รวมกล้องมืออาชีพ",en:"Your Pro Camera Hub",zh:"专业相机中心"},footerDesc:{th:"แหล่งรวมกล้องและอุปกรณ์ถ่ายภาพระดับมืออาชีพที่ครบครัน คัดสรรสินค้าจากแบรนด์ชั้นนำทั่วโลก พร้อมบริการเช่ากล้อง",en:"Your one-stop shop for professional cameras and photography equipment. Curated from the world's top brands, with camera rental services available.",zh:"您的专业相机一站式购物中心,精选全球顶级品牌,提供相机租借服务。"},footerShop:{th:"ร้านค้า",en:"Shop",zh:"购物"},footerSupport:{th:"ช่วยเหลือ",en:"Support",zh:"客户支持"},footerContact:{th:"ติดต่อ",en:"Contact",zh:"联系"}
318,footerDigitalCamera:{th:"กล้องดิจิตอล",en:"Digital Camera",zh:"数码相机"},footerLenses:{th:"เลนส์",en:"Lenses",zh:"镜头"},footerVideo:{th:"อุปกรณ์ถ่ายวิดีโอ",en:"Video Gear",zh:"视频器材"},footerLighting:{th:"ไฟและแฟลช",en:"Lighting",zh:"灯光"},footerRental:{th:"เช่ากล้อง",en:"Rental Service",zh:"租借服务"},footerContactUs:{th:"ติดต่อเรา",en:"Contact Us",zh:"联系我们"},footerShipping:{th:"การจัดส่งและคืนสินค้า",en:"Shipping & Returns",zh:"配送与退货"},footerWarranty:{th:"นโยบายรับประกัน",en:"Warranty Policy",zh:"保修政策"},footerTrack:{th:"ติดตามสินค้า",en:"Track Order",zh:"追踪订单"},footerFaq:{th:"คำถามที่พบบ่อย",en:"FAQ",zh:"常见问题"},footerAllRights:{th:"สงวนลิขสิทธิ์",en:"All rights reserved.",zh:"版权所有。"},footerPrivacy:{th:"นโยบายความเป็นส่วนตัว",en:"Privacy Policy",zh:"隐私政策"},footerTerms:{th:"ข้อกำหนดการใช้งาน",en:"Terms of Use",zh:"使用条款"},contactTitle:{th:"ติดต่อเรา",en:"Contact Us",zh:"联系我们"},contactSubtitle:{th:"มีคำถามเรื่องสินค้า การเช่าอุปกรณ์ หรืออยากได้คำแนะนำ ทักมาได้ทุกช่องทาง",en:"Have questions about products, rental, or need advice? Reach us through any channel.",zh:"有关商品、租借或需要建议?通过任何渠道联系我们。"},contactAddress:{th:"ที่อยู่ร้าน",en:"Store Address",zh:"门店地址"},contactPhone:{th:"โทรศัพท์",en:"Phone",zh:"电话"},contactEmail:{th:"อีเมล",en:"Email",zh:"邮箱"},contactSocial:{th:"ช่องทางโซเชียล",en:"Social Channels",zh:"社交媒体"},servicesTitle:{th:"บริการ",en:"Services",zh:"服务"},servicesSubtitle:{th:"บริการของเรา",en:"Our Services",zh:"我们的服务"},servicesDesc:{th:"World Camera พร้อมดูแลช่างภาพทุกระดับ ตั้งแต่เลือกซื้ออุปกรณ์ชิ้นแรก ไปจนถึงงานโปรดักชั่นระดับมืออาชีพ",en:"World Camera supports photographers at every level, from first-time buyers to professional productions.",zh:"World Camera 为各级摄影师提供服务,从首次购买到专业制作。"},servicesSellTitle:{th:"จำหน่ายกล้องและอุปกรณ์",en:"Camera & Equipment Sales",zh:"相机及设备销售"},servicesSellDesc:{th:"กล้อง เลนส์ อุปกรณ์สตูดิโอ และอุปกรณ์เสริมของแท้จากแบรนด์ชั้นนำทั่วโลก พร้อมการรับประกันจากศูนย์",en:"Genuine cameras, lenses, studio gear, and accessories from world-leading brands with official warranty.",zh:"来自全球顶级品牌的正品相机、镜头、摄影棚设备和配件,附官方保修。"},servicesShopBtn:{th:"เลือกซื้อสินค้า",en:"Shop Now",zh:"立即购买"},servicesRentTitle:{th:"บริการเช่ากล้องและเลนส์",en:"Camera & Lens Rental",zh:"相机及镜头租借"},servicesRentDesc:{th:"เช่ากล้อง เลนส์ และอุปกรณ์ระดับมืออาชีพ รายวันหรือรายสัปดาห์ ทุกชิ้นตรวจเช็กสภาพโดยช่างผู้เชี่ยวชาญก่อนส่งมอบ",en:"Rent cameras, lenses, and professional gear daily or weekly. Every item inspected by technicians before delivery.",zh:"按日或按周租借相机、镜头和专业设备。每件设备交付前均经技术人员检查。"},servicesRentBtn:{th:"ดูอุปกรณ์ให้เช่า",en:"View Rentals",zh:"查看租借设备"},servicesAfterTitle:{th:"บริการหลังการขาย",en:"After-Sales Service",zh:"售后服务"},servicesAfterDesc:{th:"ดูแลลูกค้าตลอดอายุการใช้งาน ทั้งเรื่องการรับประกัน การเคลมสินค้า และคำแนะนำการดูแลรักษาอุปกรณ์",en:"We support customers throughout the product lifecycle: warranty, claims, and maintenance advice.",zh:"我们在整个产品生命周期为客户提供支持:保修、索赔和保养建议。"},servicesAfterBtn:{th:"ติดต่อเรา",en:"Contact Us",zh:"联系我们"},servicesConsultTitle:{th:"ให้คำปรึกษาโดยผู้เชี่ยวชาญ",en:"Expert Consultation",zh:"专家咨询"},servicesConsultDesc:{th:"ไม่แน่ใจว่ารุ่นไหนเหมาะกับงานของคุณ? ทีมงานของเรายินดีให้คำแนะนำ ช่วยเลือกอุปกรณ์ที่ตรงกับการใช้งานและงบประมาณ",en:"Not sure which model suits your needs? Our team is happy to advise and help you choose the right gear for your budget.",zh:"不确定哪款机型适合您?我们的团队很乐意为您提供建议,帮助您选择适合的设备。"},servicesConsultBtn:{th:"ปรึกษาฟรี",en:"Free Consultation",zh:"免费咨询"},servicesQuoteTitle:{th:"ต้องการใบเสนอราคา?",en:"Need a Quote?",zh:"需要报价?"},servicesQuoteDesc:{th:"สั่งซื้อจำนวนมาก จัดซื้อในนามบริษัทหรือหน่วยงาน หรืออยากเปรียบเทียบราคาก่อนตัดสินใจ กรอกรายการกล้องและอุปกรณ์ที่ต้องการ",en:"Bulk orders, corporate purchases, or comparing prices? Fill in the items you need and we'll prepare a quote.",zh:"批量采购、企业采购或价格比较?填写所需商品,我们将ä¸
318ºæ‚¨å‡†å¤‡æŠ¥ä»·ã€‚"},homeRentTitle:{th:"บริการเช่ากล้องและเลนส์",en:"Camera & Lens Rental",zh:"相机与镜头租借"},homeRentSubtitle:{th:"ลองก่อนซื้อ หรือเลือกอุปกรณ์ตรงงาน ไม่ต้องลงทุนสูง",en:"Try before you buy, or pick the right tool for the job — no big investment needed.",zh:"先试后买,或按需选择设备,无需大额投入。"},homeRentBadge1Title:{th:"เลือกง่าย จ่ายรายวัน",en:"Flexible Day Rates",zh:"灵活日租"},homeRentBadge1Desc:{th:"ราคาเริ่มต้นหลักร้อยต่อวัน ไม่มีค่าสมัครสมาชิก",en:"Starting from a few hundred baht/day, no membership fee",zh:"每天数百铢起,无需会员费"},homeRentBadge2Title:{th:"ตรวจสภาพก่อนส่งทุกครั้ง",en:"Inspected Before Every Rental",zh:"每次出租前检查"},homeRentBadge2Desc:{th:"ช่างเทคนิคตรวจเซ็นเซอร์และฟังก์ชันครบก่อนถึงมือคุณ",en:"Technicians verify sensor and functions before each handover",zh:"技术人员在每次移交前检查传感器和功能"},homeRentBadge3Title:{th:"ค่ามัดจำคืนเต็ม",en:"Full Deposit Refund",zh:"全额退还押金"},homeRentBadge3Desc:{th:"คืนค่ามัดจำ 100% เมื่อส่งคืนในสภาพเดิม",en:"100% deposit returned when equipment is returned in original condition",zh:"设备完好归还后全额退还押金"},homeRentFeatured:{th:"อุปกรณ์ยอดนิยม",en:"Popular Rentals",zh:"热门租借设备"},homeRentPerDay:{th:"/วัน",en:"/day",zh:"/天"},homeRentPerWeek:{th:"/สัปดาห์",en:"/week",zh:"/周"},homeRentDeposit:{th:"มัดจำ",en:"Deposit",zh:"押金"},homeRentCTA:{th:"ดูอุปกรณ์เช่าทั้งหมด",en:"Browse All Rentals",zh:"查看所有租借设备"},homeRentHowTitle:{th:"เช่าง่าย 3 ขั้นตอน",en:"Rent in 3 Simple Steps",zh:"3步轻松租借"},homeRentStep1Title:{th:"เลือกอุปกรณ์",en:"Choose Equipment",zh:"选择设备"},homeRentStep1Desc:{th:"เลือกกล้อง เลนส์ หรืออุปกรณ์ที่ต้องการจากรายการ",en:"Pick the camera, lens, or gear you need from our catalogue",zh:"从目录中选择所需的相机、镜头或设备"},homeRentStep2Title:{th:"นัดรับหรือส่งถึงที่",en:"Pick Up or Delivery",zh:"自取或送货上门"},homeRentStep2Desc:{th:"รับที่ร้านหรือจัดส่งถึงบ้าน ทั่วกรุงเทพฯ",en:"Collect in-store or get it delivered across Bangkok",zh:"到店自取或全曼谷配送"},homeRentStep3Title:{th:"ถ่าย แล้วคืน",en:"Shoot, Then Return",zh:"拍摄后归还"},homeRentStep3Desc:{th:"คืนตามวันที่นัด รับค่ามัดจำคืนทันที",en:"Return on the agreed date and get your deposit straight back",zh:"按约定日期归还,立即退还押金"},navDeal:{th:"Flash Sale",en:"Flash Sale",zh:"Flash Sale"},dealZoneBadge:{th:"โปรโมชั่นพิเศษ",en:"Special Offers",zh:"特惠活动"},dealZoneLimited:{th:"จำกัดเวลา",en:"Limited Time",zh:"限时优惠"},dealZoneDesc:{th:"ดีลสุดคุ้มคัดสรรเฉพาะกล้องและอุปกรณ์ยอดนิยม ลดแรงในเวลาจำกัด อย่าพลาดก่อนหมด",en:"Handpicked deals on top cameras and gear. Deep discounts for a limited time — don't miss out.",zh:"精选热门相机及配件的超值优惠,限时大幅折扣,先到先得。"},dealFlashTitle:{th:"Flash Deals",en:"Flash Deals",zh:"闪购特惠"},dealFlashSub:{th:"ลดแรงในเวลาไม่กี่ชั่วโมง — หมดแล้วหมดเลย",en:"Steep discounts for just a few hours — while stocks last",zh:"限时数小时的超低折扣,售完即止"},dealWeeklyTitle:{th:"Weekly Deals",en:"Weekly Deals",zh:"本周特惠"},dealWeeklySub:{th:"โปรโมชั่นสัปดาห์นี้ คัดสรรมาให้แล้ว",en:"This week's best deals, handpicked for you",zh:"本周精选特惠,为您优中选优"},dealWeeklyLabel:{th:"โปรโมชั่นประจำสัปดาห์",en:"Weekly Promotions",zh:"每周促销"},dealDays:{th:"วัน",en:"d",zh:"天"},dealHours:{th:"ชม.",en:"h",zh:"时"},dealMins:{th:"นาที",en:"m",zh:"分"},dealSecs:{th:"วิ",en:"s",zh:"秒"},dealSave:{th:"ประหยัด",en:"Save",zh:"节省"},dealRemain:{th:"เหลือ",en:"Remaining:",zh:"剩余"},dealLowStock:{th:"เหลือน้อย! เหลือ",en:"Low stock! Only",zh:"库存紧张!仅剩"},dealUnit:{th:"ชิ้น",en:"left",zh:"ä»¶"},dealSold:{th:"ขายไปแล้ว:",en:"Sold:",zh:"已售:"},dealDisclaimer:{th:"เงื่อนไขโปรโมชั่น",en:"Promotion Terms",zh:"促销条款"},dealDisclaimerDesc:{th:"ราคาโปรโมชั่นใช้ได้ตามระยะเวลาที่กำหนดหรือจนกว่าสินค้าจะหมด ไม่สามารถใช้ร่วมกับส่วนลดอื่นได้ ราคาดังกล่าวรวมภาษีมูลค่าเพิ่มแล้ว",en:"Promotional prices are valid for the stated period or while stocks last. Cannot be combined with other discounts. Prices include VAT.",zh:"促销价格在规å
318®šæœŸé—´å†…有效或售完为止,不可与其他折扣同时使用,价格含税。"},dealBrowseAll:{th:"ดูสินค้าทั้งหมด",en:"Browse All Products",zh:"浏览所有商品"},clearanceTitle:{th:"CLEARANCE",en:"CLEARANCE",zh:"清仓特卖"},clearanceBadge:{th:"ราคาพิเศษ",en:"Final Sale",zh:"清仓特卖"},clearanceDesc:{th:"อุปกรณ์ระดับมืออาชีพในราคาที่คุ้มค่าที่สุด สินค้ามีจำนวนจำกัด",en:"Professional gear at unbeatable prices. Limited quantities available.",zh:"专业装备,超值价格。数量有限,售完即止。"},clearanceSearch:{th:"ค้นหา",en:"Search",zh:"搜索"},clearanceSearchPlaceholder:{th:"ค้นหาอุปกรณ์...",en:"Find gear...",zh:"查找装备..."},clearanceBrands:{th:"แบรนด์",en:"Brands",zh:"品牌"},clearanceCategories:{th:"หมวดหมู่",en:"Categories",zh:"类别"},clearanceClear:{th:"ล้าง",en:"Clear",zh:"清除"},clearanceClearAll:{th:"ล้างตัวกรองทั้งหมด",en:"Clear all filters",zh:"清除所有筛选"},clearanceRemoveFilter:{th:"ลบตัวกรอง",en:"Remove filter",zh:"移除筛选"},clearanceDisclaimerTitle:{th:"สินค้าราคาพิเศษ",en:"Final Sale Items",zh:"特价商品"},clearanceDisclaimer:{th:"สินค้า Clearance ลดราคาพิเศษและมีจำนวนจำกัด การรับประกันเป็นไปตามเงื่อนไขปกติ",en:"Clearance items are heavily discounted and available in limited quantities. Warranty applies as normal.",zh:"清仓商品大幅折扣且库存有限,保修政策正常适用。"},clearanceNoResults:{th:"ไม่พบสินค้า",en:"No items found",zh:"未找到商品"},clearanceNoResultsDesc:{th:"ลองปรับตัวกรองหรือคำค้นหาเพื่อค้นหาสินค้าที่ต้องการ",en:"Try adjusting your filters or search terms to find what you are looking for.",zh:"请调整筛选条件或搜索词以查找所需商品。"},rentTitle:{th:"เช่ากล้อง",en:"Camera Rental",zh:"相机租借"},rentSubtitle:{th:"อุปกรณ์ให้เช่า",en:"Rental Equipment",zh:"租借设备"},rentInquiry:{th:"สอบถามเช่า",en:"Inquire to Rent",zh:"咨询租借"},rentPerDay:{th:"/วัน",en:"/day",zh:"/天"},rentHeroTitle:{th:"บริการเช่ากล้องและอุปกรณ์",en:"Camera & Equipment Rental",zh:"相机及设备租借服务"},rentHeroDesc:{th:"เช่ากล้อง เลนส์ กิมบอล ไมโครโฟน และไฟสตูดิโอ เลือกระยะเวลา 1, 3, 5, 7 หรือ 9 วัน พร้อมแสดงค่าเช่าและเงินมัดจำตามรายการ",en:"Rent cameras, lenses, gimbals, microphones, and studio lights for 1, 3, 5, 7, or 9 days, with listed rental prices and deposits.",zh:"租借相机、镜头、稳定器、麦克风和摄影灯,可选择1、3、5、7或9天,并查看各项租金和押金。"},rentStep1Title:{th:"เลือกอุปกรณ์",en:"Choose Equipment",zh:"选择设备"},rentStep1Desc:{th:"เลือกกล้องหรืออุปกรณ์ที่ต้องการจากคลังสินค้าของเรา",en:"Browse our inventory and pick the camera or gear you need.",zh:"浏览我们的库存,选择您需要的相机或设备。"},rentStep2Title:{th:"จองวันเช่า",en:"Book Your Dates",zh:"预约租借日期"},rentStep2Desc:{th:"เลือกช่วงเวลาที่ต้องการ: 1, 3, 5, 7 หรือ 9 วัน ในราคาที่แสดง",en:"Select one of the supported periods: 1, 3, 5, 7, or 9 days.",zh:"选择支持的租借时长:1、3、5、7或9天。"},rentStep3Title:{th:"รับสินค้าและถ่าย",en:"Pick Up & Shoot",zh:"取货并开始拍摄"},rentStep3Desc:{th:"รับสินค้าที่ร้าน ทุกชิ้นผ่านการตรวจสอบและทำความสะอาดแล้ว",en:"Pick up in-store. Every item cleaned and inspected before handover.",zh:"到店取货,每件设备均经过清洁和检查。"},rentEquipTitle:{th:"อุปกรณ์ให้เช่า",en:"Rental Equipment",zh:"租借设备"},rentDayBtn:{th:"รายวัน",en:"Daily",zh:"按天"},rentWeekBtn:{th:"รายสัปดาห์",en:"Weekly",zh:"按周"},rentPerWeek:{th:"/สัปดาห์",en:"/week",zh:"/周"},rentDaysUnit:{th:"วัน",en:"days",zh:"天"},rentSearchPlaceholder:{th:"ค้นหายี่ห้อหรือรุ่น",en:"Search brand or model",zh:"搜索品牌或型号"},rentCategoryEquipment:{th:"อุปกรณ์",en:"Equipment",zh:"设备"},rentNoResults:{th:"ไม่พบอุปกรณ์เช่า",en:"No rental equipment found",zh:"未找到租借设备"},rentSnapshotNote:{th:"จำนวนในสต็อกเป็นข้อมูล ณ วันที่ในไฟล์ ไม่ใช่จำนวนว่างแบบเรียลไทม์",en:"Stock 
318is a workbook snapshot, not a live availability promise.",zh:"库存为文件快照,并非实时可用数量承诺。"},rentDepositLabel:{th:"มัดจำเช่า",en:"Security Deposit",zh:"押金"},rentDepositNote:{th:"** รับเงินมัดจำคืนหลังคืนสินค้า",en:"** Deposit refunded upon return",zh:"** 归还后退还押金"},rentConditionsTitle:{th:"เงื่อนไขการเช่า",en:"Rental Requirements",zh:"租借条件"},rentCond1:{th:"บัตรประชาชนหรือหนังสือเดินทาง (ฉบับจริง) พร้อมสำเนา",en:"National ID or passport (original) with a copy",zh:"身份证或护照(原件)及复印件"},rentCond2:{th:"เอกสารยืนยันที่อยู่ (บิลน้ำ/ไฟ หรือสเตทเมนต์ธนาคาร ย้อนหลังไม่เกิน 3 เดือน)",en:"Proof of address (utility bill or bank statement, within 3 months)",zh:"地址证明(水电费账单或银行对账单,3个月内)"},rentCond3:{th:"วางเงินมัดจำตามมูลค่าอุปกรณ์ (เงินสดหรือบัตรเครดิต)",en:"Security deposit based on equipment value (cash or credit card)",zh:"根据设备价值缴纳押金(现金或信用卡)"},rentCond4:{th:"รับและคืนสินค้าที่ร้านสาขาหลักเท่านั้น ในเวลาทำการ",en:"Pick-up and return at our main branch during business hours only",zh:"仅在营业时间内于主门店取货和归还"},rentInquiryTitle:{th:"สอบถามการเช่า",en:"Rental Inquiry",zh:"租借咨询"},rentInquiryDesc:{th:"กรอกข้อมูลเพื่อจอง",en:"Fill in your details to book",zh:"填写信息以预约"},rentFieldName:{th:"ชื่อ-นามสกุล",en:"Full Name",zh:"姓名"},rentFieldNamePlaceholder:{th:"ชื่อ นามสกุล",en:"First Last",zh:"姓名"},rentFieldPhone:{th:"เบอร์โทรศัพท์",en:"Phone Number",zh:"电话号码"},rentFieldStartDate:{th:"วันที่รับ",en:"Pick-up Date",zh:"取货日期"},rentFieldDays:{th:"จำนวนวัน",en:"Number of Days",zh:"天数"},rentPickupLocation:{th:"จุดรับสินค้าเช่า",en:"Rental pickup location",zh:"租赁取货地点"},rentSubmit:{th:"ส่งคำขอเช่า",en:"Submit Rental Request",zh:"提交租借申请"},rentSubmitting:{th:"กำลังส่ง...",en:"Sending...",zh:"发送中..."},rentSuccessTitle:{th:"ส่งคำขอเช่าเรียบร้อย",en:"Rental Request Sent",zh:"租借申请已发送"},rentSuccessDesc:{th:"ทางร้านได้รับคำขอของคุณแล้ว จะติดต่อกลับโดยเร็วที่สุด",en:"We have received your request and will get back to you shortly.",zh:"我们已收到您的申请,将尽快与您联系。"},rentErrorTitle:{th:"ส่งคำขอไม่สำเร็จ",en:"Request Failed",zh:"发送失败"},rentErrorDesc:{th:"เกิดข้อผิดพลาดในการส่งคำขอ กรุณาลองใหม่ หรือติดต่อร้านโดยตรง",en:"An error occurred. Please try again or contact us directly.",zh:"发生错误,请重试或直接联系我们。"},rentValidationTitle:{th:"กรุณากรอกข้อมูลให้ครบ",en:"Please fill in all fields",zh:"请填写所有字段"},rentPhoneValidation:{th:"กรุณากรอกเบอร์โทรให้ครบถ้วน (6–30 ตัวอักษร)",en:"Please enter your complete phone number (6–30 characters).",zh:"请输入完整电话号码(6–30个字符)。"},rentValidationDesc:{th:"โปรดกรอกชื่อ เบอร์โทร วันที่รับ และจำนวนวันให้ครบถ้วน",en:"Please provide your name, phone, pick-up date and number of days.",zh:"请提供您的姓名、电话、取货日期和天数。"},notFound:{th:"ไม่พบหน้าที่ต้องการ",en:"404 – Page Not Found",zh:"404 – 页面未找到"},signIn:{th:"เข้าสู่ระบบ",en:"Sign In",zh:"登录"},signUp:{th:"สมัครสมาชิก",en:"Sign Up",zh:"注册"},signOut:{th:"ออกจากระบบ",en:"Sign Out",zh:"退出登录"},myPoints:{th:"คะแนนของฉัน",en:"My Points",zh:"我的积分"},manageOrders:{th:"จัดการคำสั่งซื้อ (ร้าน)",en:"Manage Orders (Staff)",zh:"订单管理(店员)"},pointsPageTitle:{th:"คะแนนของฉัน",en:"My Points",zh:"我的积分"},pointsBalance:{th:"แต้มที่ใช้ได้",en:"Available Points",zh:"可用积分"},pointsUnit:{th:"แต้ม",en:"pts",zh:"分"},pointsExpiringSoon:{th:"แต้มที่จะหมดอายุเร็วที่สุด",en:"Expiring Soonest",zh:"最快到期积分"},pointsExpiresOn:{th:"หมดอายุ",en:"Expires",zh:"到期日"},pointsNoExpiring:{th:"ยังไม่มีแต้มใกล้หมดอายุ",en:"No points expiring soon",zh:"暂无即将到期的积分"},pointsHistory:{th:"ประวัติแต้ม",en:"Points History",zh:"积分记录"},pointsNoHistory:{th:"ยังไม่มีประวัติแต้ม เริ่มสะสมได้จากการสั่งซื้อสินค้า",en:"No points activity yet — start earning with your first order",zh:"暂无积分记录 — 下单即可开始累积"},pointsTypeEarn:{th:"ได้รับแต้ม",en:"Earned",zh:"获得积分"},pointsTypeRedeem:{th:"ใช้แต้ม",en:"Redeemed",zh:"使用积分"},pointsTypeRefund:{th:"คืนแต้ม",en:"Refunded",zh:"退还积分"},pointsTypeExpire:{th:"แต้มหมดอายุ",en:"Expired",zh:"积分过期"},pointsTypeReview:{th:"แต้มจากการรีวิว",en:"Review reward",zh:"评价奖励"},pointsRulesTitle:{th:"กติกาการสะสมและใช้แต้ม",en:"Points Rules",zh:"积分规则"},pointsRule1:{th:"ทุกยอดซื้อสินค้า ฿1,000 (หลังหักส่วนลดจากแต้ม) รับ 1 แต้ม เมื่อร้านยืนยันการชำระเงินแล้ว",en:"Earn 1 point per ฿1,000 of product spend (after points discount), awarded once the shop confirms payment",zh:"每消费 ฿1,000(扣除积分折扣后)获得 1 分,店铺确认付款后发放"},pointsRule2:{th:"1 แต้ม = ส่วนลด ฿1 ใช้ได้เฉพาะค่าสินค้า ไม่รวมค่าเช่าหรือบริการ และแลกเป็นเงินสดไม่ได้",en:"1 point = ฿1 discount on products only (not rentals/services); points cannot be exchanged for cash",zh:"1 分 = ฿1 折扣,仅限商品(不含租借/服务),不可兑换现金"},pointsRule3:{th:"ใช้แต้มลดได้สูงสุด 20% ของยอดค่าสินค้าต่อคำสั่งซื้อ",en:"Redeem up to 20% of the product total per order",zh:"每单最多可抵扣商品总额的 20%"},pointsRule4:{th:"แต้มมีอายุ 36 เดือนนับจากวันที่ได้รับ ระบบจะใช้แต้มที่ใกล้หมดอายุก่อน",en:"Points expire 36 months after they are earned; soonest-expiring points are used first",zh:"积分自获得之日起 36 个月有效,系统优先使用最快到期的积分"},pointsSignInPrompt:{th:"เข้าสู่ระบบเพื่อดูและใช้แต้มของคุณ",en:"Sign in to view and use your points",zh:"登录以查看和使用您的积分"},checkoutUsePoints:{th:"ใช้แต้มส่วนลด",en:"Use Points",zh:"使用积分"},checkoutYourPoints:{th:"แต้มของคุณ",en:"Your points",zh:"您的积分"},checkoutMaxRedeem:{th:"ใช้ได้สูงสุด",en:"Max redeemable",zh:"最多可用"},checkoutPointsDiscount:{th:"ส่วนลดจากแต้ม",en:"Points discount",zh:"积分折扣"},checkoutPointsEarnPreview:{th:"จะได้รับแต้มเมื่อร้านยืนยันชำระเงิน",en:"Points earned after payment is confirmed",zh:"付款确认后将获得积分"},checkoutSignInForPoints:{th:"เข้าสู่ระบบเพื่อสะสมและใช้แต้ม",en:"Sign in to earn and redeem points",zh:"登录以累积和使用积分"},checkoutTotalAfterPoints:{th:"ยอดชำระ",en:"Amount due",zh:"应付金额"}},WN=y.createContext({lang:"th",setLang:()=>{},tr:e=>e});function DU({children:e}){const[t,n]=y.useState(()=>{try{return localStorage.getItem("wc-lang")||"th"}catch{return"th"}}),r=c=>{n(c);try{localStorage.setItem("wc-lang",c)}catch{}},o=c=>{const u=PU[c];return u?u[t]??u.th??c:c};return i.jsx(WN.Provider,{value:{lang:t,setLang:r,tr:o},children:e})}function Rt(){return y.useContext(WN)}var KN={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},BS=L.createContext&&L.createContext(KN),_U=["attr","size","title"];function IU(e,t){if(e==null)return{};var n,r,o=FU(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function FU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function cm(){return cm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cm.apply(null,arguments)}function WS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function um(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
318t%2?WS(Object(n),!0).forEach(function(r){zU(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WS(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function zU(e,t,n){return(t=LU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LU(e){var t=UU(e,"string");return typeof t=="symbol"?t:t+""}function UU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function HN(e){return e&&e.map((t,n)=>L.createElement(t.tag,um({key:n},t.attr),HN(t.child)))}function qb(e){return t=>L.createElement(VU,cm({attr:um({},e.attr)},t),HN(e.child))}function VU(e){var t=n=>{var r=e.attr,o=e.size,c=e.title,u=IU(e,_U),m=o||n.size||"1em",f;return n.className&&(f=n.className),e.className&&(f=(f?f+" ":"")+e.className),L.createElement("svg",cm({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,u,{className:f,style:um(um({color:e.color||n.color},n.style),e.style),height:m,width:m,xmlns:"http://www.w3.org/2000/svg"}),c&&L.createElement("title",null,c),e.children)};return BS!==void 0?L.createElement(BS.Consumer,null,n=>t(n)):t(KN)}function BU(e){return qb({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"},child:[]}]})(e)}function h0(e){return qb({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"},child:[]}]})(e)}function KS(e){return qb({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"},child:[]}]})(e)}const WU=[{alias:"PGY Tech",canonical:"PGYTECH"}];function Ds(e){return e.normalize("NFKC").trim().toLocaleLowerCase().replace(/\s+/g," ")}function KU(e){const t=new Map;for(const n of e)t.set(n,(t.get(n)??0)+1);return[...t.entries()].sort((n,r)=>r[1]-n[1]).map(([n])=>n)[0]}function Xb(e,t=WU){const n=new Map;for(const f of e){const h=f.brand.trim();if(!h)continue;
318const p=Ds(h),b=n.get(p)??[];b.push(h),n.set(p,b)}const r=new Map;for(const[f,h]of n)r.set(f,KU(h));const o=[...new Set(r.values())].sort((f,h)=>f.localeCompare(h)),c=new Map;for(const{alias:f,canonical:h}of t){const p=Ds(f),b=Ds(h),v=r.get(b),S=r.get(p);if(!v||S&&S!==v)continue;const N=c.get(p);N&&N!==v||c.set(p,v)}const u=f=>{const h=Ds(f);return r.get(h)??c.get(h)},m=new Map;for(const f of e){const h=u(f.brand);h&&m.set(h,(m.get(h)??0)+1)}return{canonicalNames:o,canonicalNameFor:u,countFor:f=>m.get(u(f)??"")??0,matches:(f,h)=>{const p=u(h);return!!(p&&u(f)===p)}}}var HU=y.createContext(void 0);function ji(e){const t=y.useContext(HU);return e||t||"ltr"}var Cd=0,Ho=null;function Gm(){y.useEffect(()=>{Ho||(Ho={start:HS(),end:HS()});const{start:e,end:t}=Ho;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Cd++,()=>{Cd===1&&(Ho?.start.remove(),Ho?.end.remove(),Ho=null),Cd=Math.max(0,Cd-1)}},[])}function HS(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var wg="focusScope.autoFocusOnMount",Sg="focusScope.autoFocusOnUnmount",qS={bubbles:!1,cancelable:!0},qU="FocusScope",_c=y.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...u}=e,[m,f]=y.useState(null),h=Tt(o),p=Tt(c),b=y.useRef(null),v=Le(t,w=>f(w)),S=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(r){let w=function(j){if(S.paused||!m)return;const T=j.target;m.contains(T)?b.current=T:Ba(b.current,{select:!0})},C=function(j){if(S.paused||!m)return;const T=j.relatedTarget;T!==null&&(m.contains(T)||Ba(b.current,{select:!0}))},R=function(j){if(document.activeElement===document.body)for(const P of j)P.removedNodes.length>0&&Ba(m)};document.addEventListener("focusin",w),document.addEventListener("focusout",C);const M=new MutationObserver(R);return m&&M.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",C),M.disconnect()}}},[r,m,S.paused]),y.useEffect(()=>{if(m){YS.add(S);const w=document.activeElement;if(!m.contains(w)){const R=new CustomEvent(wg,qS);m.addEventListener(wg,h),m.dispatchEvent(R),R.defaultPrevented||(XU(QU(qN(m)),{select:!0}),document.activeElement===w&&Ba(m))}return()=>{m.removeEventListener(wg,h),setTimeout(()=>{const R=new CustomEvent(Sg,qS);m.addEventListener(Sg,p),m.dispatchEvent(R),R.defaultPrevented||Ba(w??document.body,{select:!0}),m.removeEventListener(Sg,p),YS.remove(S)},0)}}},[m,h,p,S]);const N=y.useCallback(w=>{if(!n&&!r||S.paused)return;const C=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,R=document.activeElement;if(C&&R){const M=w.currentTarget,[j,T]=YU(M);j&&T?!w.shiftKey&&R===T?(w.preventDefault(),n&&Ba(j,{select:!0})):w.shiftKey&&R===j&&(w.preventDefault(),n&&Ba(T,{select:!0})):R===M&&w.preventDefault()}},[n,r,S.paused]);return i.jsx(Ce.div,{tabIndex:-1,...u,ref:v,onKeyDown:N})});_c.displayName=qU;function XU(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ba(r,{select:t}),document.activeElement!==n)return}function YU(e){const t=qN(e),n=XS(t,e),r=XS(t.reverse(),e);return[n,r]}function qN(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function XS(e,t){for(const n of e)if(!$U(n,{upTo:t}))return n}function $U(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function GU(e){return e instanceof HTMLInputElement&&"select"in e}function Ba(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&GU(e)&&t&&e.select()}}var YS=ZU();function ZU(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=$S(e,t),e.unshift(t)},remove(t){e=$S(e,t),e[0]?.resume()}}}function $S(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function QU(e){return e.filter(t=>t.tagName!=="A")}var Cg="rovingFocusGroup.onEntryFocus",JU={bubbles:!1,cancelable:!0},Ic="RovingFocusGroup",[p0,XN,eV]=jc(Ic),[tV,Zm]=gn(Ic,[eV]),[nV,rV]=tV(Ic),YN=y.forwardRef((e,t)=>
vendor: 10,273 bytes, lines 318-333
318i.jsx(p0.Provider,{scope:e.__scopeRovingFocusGroup,children:i.jsx(p0.Slot,{scope:e.__scopeRovingFocusGroup,children:i.jsx(aV,{...e,ref:t})})}));YN.displayName=Ic;var aV=y.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:c,currentTabStopId:u,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:f,onEntryFocus:h,preventScrollOnEntryFocus:p=!1,...b}=e,v=y.useRef(null),S=Le(t,v),N=ji(c),[w,C]=ar({prop:u,defaultProp:m??null,onChange:f,caller:Ic}),[R,M]=y.useState(!1),j=Tt(h),T=XN(n),P=y.useRef(!1),[I,_]=y.useState(0);return y.useEffect(()=>{const D=v.current;if(D)return D.addEventListener(Cg,j),()=>D.removeEventListener(Cg,j)},[j]),i.jsx(nV,{scope:n,orientation:r,dir:N,loop:o,currentTabStopId:w,onItemFocus:y.useCallback(D=>C(D),[C]),onItemShiftTab:y.useCallback(()=>M(!0),[]),onFocusableItemAdd:y.useCallback(()=>_(D=>D+1),[]),onFocusableItemRemove:y.useCallback(()=>_(D=>D-1),[]),children:i.jsx(Ce.div,{tabIndex:R||I===0?-1:0,"data-orientation":r,...b,ref:S,style:{outline:"none",...e.style},onMouseDown:ue(e.onMouseDown,()=>{P.current=!0}),onFocus:ue(e.onFocus,D=>{const V=!P.current;if(D.target===D.currentTarget&&V&&!R){const H=new CustomEvent(Cg,JU);if(D.currentTarget.dispatchEvent(H),!H.defaultPrevented){const $=T().filter(z=>z.focusable),J=$.find(z=>z.active),ae=$.find(z=>z.id===w),ie=[J,ae,...$].filter(Boolean).map(z=>z.ref.current);ZN(ie,p)}}P.current=!1}),onBlur:ue(e.onBlur,()=>M(!1))})})}),$N="RovingFocusGroupItem",GN=y.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:c,children:u,...m}=e,f=Fn(),h=c||f,p=rV($N,n),b=p.currentTabStopId===h,v=XN(n),{onFocusableItemAdd:S,onFocusableItemRemove:N,currentTabStopId:w}=p;return y.useEffect(()=>{if(r)return S(),()=>N()},[r,S,N]),i.jsx(p0.ItemSlot,{scope:n,id:h,focusable:r,active:o,children:i.jsx(Ce.span,{tabIndex:b?0:-1,"data-orientation":p.orientation,...m,ref:t,onMouseDown:ue(e.onMouseDown,C=>{r?p.onItemFocus(h):C.preventDefault()}),onFocus:ue(e.onFocus,()=>p.onItemFocus(h)),onKeyDown:ue(e.onKeyDown,C=>{if(C.key==="Tab"&&C.shiftKey){p.onItemShiftTab();return}if(C.target!==C.currentTarget)return;const R=iV(C,p.orientation,p.dir);if(R!==void 0){if(C.metaKey||C.ctrlKey||C.altKey||C.shiftKey)return;C.preventDefault();let j=v().filter(T=>T.focusable).map(T=>T.ref.current);if(R==="last")j.reverse();else if(R==="prev"||R==="next"){R==="prev"&&j.reverse();const T=j.indexOf(C.currentTarget);j=p.loop?lV(j,T+1):j.slice(T+1)}setTimeout(()=>ZN(j))}}),children:typeof u=="function"?u({isCurrentTabStop:b,hasTabStop:w!=null}):u})})});GN.displayName=$N;var sV={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function oV(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function iV(e,t,n){const r=oV(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return sV[r]}function ZN(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function lV(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var QN=YN,JN=GN,cV=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},qo=new WeakMap,Nd=new WeakMap,kd={},Ng=0,e6=function(e){return e&&(e.host||e6(e.parentNode))},uV=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=e6(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},dV=function(e,t,n,r){var o=uV(t,Array.isArray(e)?e:[e]);kd[n]||(kd[n]=new WeakMap);var c=kd[n],u=[],m=new Set,f=new Set(o),h=function(b){!b||m.has(b)||(m.add(b),h(b.parentNode))};o.forEach(h);var p=function(b){!b||f.has(b)||Array.prototype.forEach.call(b.children,function(v){if(m.has(v))p(v);else try{var S=v.getAttribute(r),N=S!==null&&S!=="false",w=(qo.get(v)||0)+1,C=(c.get(v)||0)+1;qo.set(v,w),c.set(v,C),u.push(v),w===1&&N&&Nd.set(v,!0),C===1&&v.setAttribute(n,"true"),N||v.setAttribute(r,"true")}catch(R){console.error("aria-hidden: cannot operate on ",v,R)}})};return p(t),m.clear(),Ng++,function(){u.forEach(function(b){var v=qo.get(b)-1,S=c.get(b)-1;qo.set(b,v),c.set(b,S),v||(Nd.has(b)||b.removeAttribute(r),Nd.delete(b)),S||b.removeAttribute(n)}),Ng--,Ng||(qo=new WeakMap,qo=new WeakMap,Nd=new WeakMap,kd={})}},Qm=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=cV(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),dV(r,o,n,"aria-hidden")):function(){return null}},Tr=function(){return Tr=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(t[c]=n[c])}return t},Tr.apply(this,arguments)};function t6(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function mV(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,c;r<o;r++)(c||!(r in t))&&(c||(c=Array.prototype.slice.call(t,0,r)),c[r]=t[r]);return e.concat(c||Array.prototype.slice.call(t))}var Ld="right-scroll-bar-position",Ud="width-before-scroll-bar",fV="with-scroll-bars-hidden",hV="--removed-body-scroll-bar-size";function kg(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function pV(e,t){var n=y.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var gV=typeof window<"u"?y.useLayoutEffect:y.useEffect,GS=new WeakMap;function bV(e,t){var n=pV(null,function(r){return e.forEach(function(o){return kg(o,r)})});return gV(function(){var r=GS.get(n);if(r){var o=new Set(r),c=new Set(e),u=n.current;o.forEach(function(m){c.has(m)||kg(m,null)}),c.forEach(function(m){o.has(m)||kg(m,u)})}GS.set(n,e)},[e]),n}function yV(e){return e}function xV(e,t){t===void 0&&(t=yV);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(c){var u=t(c,r);return n.push(u),function(){n=n.filter(function(m){return m!==u})}},assignSyncMedium:function(c){for(r=!0;n.length;){var u=n;n=[],u.forEach(c)}n={push:function(m){return c(m)},filter:function(){return n}}},assignMedium:function(c){r=!0;var u=[];if(n.length){var m=n;n=[],m.forEach(c),u=n}var f=function(){var p=u;u=[],p.forEach(c)},h=function(){return Promise.resolve().then(f)};h(),n={push:function(p){u.push(p),h()},filter:function(p){return u=u.filter(p),n}}}};return o}function vV(e){e===void 0&&(e={});var t=xV(null);return t.options=Tr({async:!0,ssr:!1},e),t}var n6=function(e){var t=e.sideCar,n=t6(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return y.createElement(r,Tr({},n))};n6.isSideCarExport=!0;function wV(e,t){return e.useMedium(t),n6}var r6=vV(),Eg=function(){},Jm=y.forwardRef(function(e,t){var n=y.useRef(null),r=y.useState({onScrollCapture:Eg,onWheelCapture:Eg,onTouchMoveCapture:Eg}),o=r[0],c=r[1],u=e.forwardProps,m=e.children,f=e.className,h=e.removeScrollBar,p=e.enabled,b=e.shards,v=e.sideCar,S=e.noRelative,N=e.noIsolation,w=e.inert,C=e.allowPinchZoom,R=e.as,M=R===void 0?"div":R,j=e.gapMode,T=t6(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=v,I=bV([n,t]),_=Tr(Tr({},T),o);return y.createElement(y.Fragment,null,p&&y.createElement(P,{sideCar:r6,removeScrollBar:h,shards:b,noRelative:S,noIsolation:N,inert:w,setCallbacks:c,allowPinchZoom:!!C,lockRef:n,gapMode:j}),u?y.cloneElement(y.Children.only(m),Tr(Tr({},_),{ref:I})):y.createElement(M,Tr({},_,{className:f,ref:I}),m))});Jm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Jm.classNames={fullWidth:Ud,zeroRight:Ld};var SV=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function CV(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=SV();return t&&e.setAttribute("nonce",t),e}function NV(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function kV(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var EV=function(){var e=0,t=null;return{add:function(n){e==0&&(t=CV())&&(NV(t,n),kV(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},jV=function(){var e=EV();return function(t,n){y.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},a6=function(){var e=jV(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},RV={left:0,top:0,right:0,gap:0},jg=function(e){return parseInt(e||"",10)||0},MV=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[jg(n),jg(r),jg(o)]},AV=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return RV;var t=MV(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},OV=a6(),ii="data-scroll-locked",TV=function(e,t,n,r){var o=e.left,c=e.top,u=e.right,m=e.gap;return n===void 0&&(n="margin"),`
319  .`.concat(fV,` {
320   overflow: hidden `).concat(r,`;
321   padding-right: `).concat(m,"px ").concat(r,`;
322  }
323  body[`).concat(ii,`] {
324    overflow: hidden `).concat(r,`;
325    overscroll-behavior: contain;
326    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
327    padding-left: `.concat(o,`px;
328    padding-top: `).concat(c,`px;
329    padding-right: `).concat(u,`px;
330    margin-left:0;
331    margin-top:0;
332    margin-right: `).concat(m,"px ").concat(r,`;
333    `),n==="padding"&&"padding-right: ".concat(m,"px ").concat(r,";
333")].filter(Boolean).join(""),`
334  }
335  
336  .`).concat(Ld,` {
337    right: `).concat(m,"px ").concat(r,`;
338  }
339  
340  .`).concat(Ud,` {
341    margin-right: `).concat(m,"px ").concat(r,`;
342  }
343  
344  .`).concat(Ld," .").concat(Ld,` {
345    right: 0 `).concat(r,`;
346  }
347  
348  .`).concat(Ud," .").concat(Ud,` {
349    margin-right: 0 `).concat(r,`;
350  }
351  
352  body[`).concat(ii,`] {
353    `).concat(hV,": ").concat(m,`px;
354  }
355`)},ZS=function(){var e=parseInt(document.body.getAttribute(ii)||"0",10);return isFinite(e)?e:0},PV=function(){y.useEffect(function(){return document.body.setAttribute(ii,(ZS()+1).toString()),function(){var e=ZS()-1;e<=0?document.body.removeAttribute(ii):document.body.setAttribute(ii,e.toString())}},[])},DV=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;PV();var c=y.useMemo(function(){return AV(o)},[o]);return y.createElement(OV,{styles:TV(c,!t,o,n?"":"!important")})},g0=!1;if(typeof window<"u")try{var Ed=Object.defineProperty({},"passive",{get:function(){return g0=!0,!0}});window.addEventListener("test",Ed,Ed),window.removeEventListener("test",Ed,Ed)}catch{g0=!1}var Xo=g0?{passive:!1}:!1,_V=function(e){return e.tagName==="TEXTAREA"},s6=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!_V(e)&&n[t]==="visible")},IV=function(e){return s6(e,"overflowY")},FV=function(e){return s6(e,"overflowX")},QS=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=o6(e,r);if(o){var c=i6(e,r),u=c[1],m=c[2];if(u>m)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},zV=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},LV=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},o6=function(e,t){return e==="v"?IV(t):FV(t)},i6=function(e,t){return e==="v"?zV(t):LV(t)},UV=function(e,t){return e==="h"&&t==="rtl"?-1:1},VV=function(e,t,n,r,o){var c=UV(e,window.getComputedStyle(t).direction),u=c*r,m=n.target,f=t.contains(m),h=!1,p=u>0,b=0,v=0;do{if(!m)break;var S=i6(e,m),N=S[0],w=S[1],C=S[2],R=w-C-c*N;(N||R)&&o6(e,m)&&(b+=R,v+=N);var M=m.parentNode;m=M&&M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?M.host:M}while(!f&&m!==document.body||f&&(t.contains(m)||t===m));return(p&&Math.abs(b)<1||!p&&Math.abs(v)<1)&&(h=!0),h},jd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},JS=function(e){return[e.deltaX,e.deltaY]},e5=function(e){return e&&"current"in e?e.current:e},BV=function(e,t){return e[0]===t[0]&&e[1]===t[1]},WV=function(e){return`
356  .block-interactivity-`.concat(e,` {pointer-events: none;}
357  .allow-interactivity-`).concat(e,` {pointer-events: all;}
358`)},KV=0,Yo=[];function HV(e){var t=y.useRef([]),n=y.useRef([0,0]),r=y.useRef(),o=y.useState(KV++)[0],c=y.useState(a6)[0],u=y.useRef(e);y.useEffect(function(){u.current=e},[e]),y.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var w=mV([e.lockRef.current],(e.shards||[]).map(e5),!0).filter(Boolean);return w.forEach(function(C){return C.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),w.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var m=y.useCallback(function(w,C){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!u.current.allowPinchZoom;var R=jd(w),M=n.current,j="deltaX"in w?w.deltaX:M[0]-R[0],T="deltaY"in w?w.deltaY:M[1]-R[1],P,I=w.target,_=Math.abs(j)>Math.abs(T)?"h":"v";if("touches"in w&&_==="h"&&I.type==="range")return!1;
vendor: 17,167 bytes, line 358
358var D=window.getSelection(),V=D&&D.anchorNode,H=V?V===I||V.contains(I):!1;if(H)return!1;var $=QS(_,I);if(!$)return!0;if($?P=_:(P=_==="v"?"h":"v",$=QS(_,I)),!$)return!1;if(!r.current&&"changedTouches"in w&&(j||T)&&(r.current=P),!P)return!0;var J=r.current||P;return VV(J,C,w,J==="h"?j:T)},[]),f=y.useCallback(function(w){var C=w;if(!(!Yo.length||Yo[Yo.length-1]!==c)){var R="deltaY"in C?JS(C):jd(C),M=t.current.filter(function(P){return P.name===C.type&&(P.target===C.target||C.target===P.shadowParent)&&BV(P.delta,R)})[0];if(M&&M.should){C.cancelable&&C.preventDefault();return}if(!M){var j=(u.current.shards||[]).map(e5).filter(Boolean).filter(function(P){return P.contains(C.target)}),T=j.length>0?m(C,j[0]):!u.current.noIsolation;T&&C.cancelable&&C.preventDefault()}}},[]),h=y.useCallback(function(w,C,R,M){var j={name:w,delta:C,target:R,should:M,shadowParent:qV(R)};t.current.push(j),setTimeout(function(){t.current=t.current.filter(function(T){return T!==j})},1)},[]),p=y.useCallback(function(w){n.current=jd(w),r.current=void 0},[]),b=y.useCallback(function(w){h(w.type,JS(w),w.target,m(w,e.lockRef.current))},[]),v=y.useCallback(function(w){h(w.type,jd(w),w.target,m(w,e.lockRef.current))},[]);y.useEffect(function(){return Yo.push(c),e.setCallbacks({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:v}),document.addEventListener("wheel",f,Xo),document.addEventListener("touchmove",f,Xo),document.addEventListener("touchstart",p,Xo),function(){Yo=Yo.filter(function(w){return w!==c}),document.removeEventListener("wheel",f,Xo),document.removeEventListener("touchmove",f,Xo),document.removeEventListener("touchstart",p,Xo)}},[]);var S=e.removeScrollBar,N=e.inert;return y.createElement(y.Fragment,null,N?y.createElement(c,{styles:WV(o)}):null,S?y.createElement(DV,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function qV(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const XV=wV(r6,HV);var Fc=y.forwardRef(function(e,t){return y.createElement(Jm,Tr({},e,{ref:t,sideCar:XV}))});Fc.classNames=Jm.classNames;var b0=["Enter"," "],YV=["ArrowDown","PageUp","Home"],l6=["ArrowUp","PageDown","End"],$V=[...YV,...l6],GV={ltr:[...b0,"ArrowRight"],rtl:[...b0,"ArrowLeft"]},ZV={ltr:["ArrowLeft"],rtl:["ArrowRight"]},zc="Menu",[uc,QV,JV]=jc(zc),[Zs,c6]=gn(zc,[JV,rs,Zm]),ef=rs(),u6=Zm(),[eB,Qs]=Zs(zc),[tB,Lc]=Zs(zc),d6=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:c,modal:u=!0}=e,m=ef(t),[f,h]=y.useState(null),p=y.useRef(!1),b=Tt(c),v=ji(o);return y.useEffect(()=>{const S=()=>{p.current=!0,document.addEventListener("pointerdown",N,{capture:!0,once:!0}),document.addEventListener("pointermove",N,{capture:!0,once:!0})},N=()=>p.current=!1;return document.addEventListener("keydown",S,{capture:!0}),()=>{document.removeEventListener("keydown",S,{capture:!0}),document.removeEventListener("pointerdown",N,{capture:!0}),document.removeEventListener("pointermove",N,{capture:!0})}},[]),y.useEffect(()=>{if(!n)return;const S=()=>b(!1);return window.addEventListener("blur",S),()=>window.removeEventListener("blur",S)},[n,b]),i.jsx(Bb,{...m,children:i.jsx(eB,{scope:t,open:n,onOpenChange:b,content:f,onContentChange:h,children:i.jsx(tB,{scope:t,onClose:y.useCallback(()=>b(!1),[b]),isUsingKeyboardRef:p,dir:v,modal:u,children:r})})})};d6.displayName=zc;var nB="MenuAnchor",Yb=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ef(n);return i.jsx(Tc,{...o,...r,ref:t})});Yb.displayName=nB;var $b="MenuPortal",[rB,m6]=Zs($b,{forceMount:void 0}),f6=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,c=Qs($b,t);return i.jsx(rB,{scope:t,forceMount:n,children:i.jsx(Pt,{present:n||c.open,children:i.jsx($s,{asChild:!0,container:o,children:r})})})};f6.displayName=$b;var nr="MenuContent",[aB,Gb]=Zs(nr),h6=y.forwardRef((e,t)=>{const n=m6(nr,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,c=Qs(nr,e.__scopeMenu),u=Lc(nr,e.__scopeMenu);return i.jsx(uc.Provider,{scope:e.__scopeMenu,children:i.jsx(Pt,{present:r||c.open,children:i.jsx(uc.Slot,{scope:e.__scopeMenu,children:u.modal?i.jsx(sB,{...o,ref:t}):i.jsx(oB,{...o,ref:t})})})})}),sB=y.forwardRef((e,t)=>{const n=Qs(nr,e.__scopeMenu),r=y.useRef(null),o=Le(t,r);return y.useEffect(()=>{const c=r.current;if(c)return Qm(c)},[]),i.jsx(Zb,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:ue(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),oB=y.forwardRef((e,t)=>{const n=Qs(nr,e.__scopeMenu);return i.jsx(Zb,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),iB=Ya("MenuContent.ScrollLock"),Zb=y.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:c,onCloseAutoFocus:u,disableOutsidePointerEvents:m,onEntryFocus:f,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:b,onInteractOutside:v,onDismiss:S,disableOutsideScroll:N,...w}=e,C=Qs(nr,n),R=Lc(nr,n),M=ef(n),j=u6(n),T=QV(n),[P,I]=y.useState(null),_=y.useRef(null),D=Le(t,_,C.onContentChange),V=y.useRef(0),H=y.useRef(""),$=y.useRef(0),J=y.useRef(null),ae=y.useRef("right"),ee=y.useRef(0),ie=N?Fc:y.Fragment,z=N?{as:iB,allowPinchZoom:!0}:void 0,Q=B=>{const O=H.current+B,X=T().filter(de=>!de.disabled),oe=document.activeElement,se=X.find(de=>de.ref.current===oe)?.textValue,me=X.map(de=>de.textValue),fe=xB(me,O,se),le=X.find(de=>de.textValue===fe)?.ref.current;(function de(Se){H.current=Se,window.clearTimeout(V.current),Se!==""&&(V.current=window.setTimeout(()=>de(""),1e3))})(O),le&&setTimeout(()=>le.focus())};y.useEffect(()=>()=>window.clearTimeout(V.current),[]),Gm();const W=y.useCallback(B=>ae.current===J.current?.side&&wB(B,J.current?.area),[]);return i.jsx(aB,{scope:n,searchRef:H,onItemEnter:y.useCallback(B=>{W(B)&&B.preventDefault()},[W]),onItemLeave:y.useCallback(B=>{W(B)||(_.current?.focus(),I(null))},[W]),onTriggerLeave:y.useCallback(B=>{W(B)&&B.preventDefault()},[W]),pointerGraceTimerRef:$,onPointerGraceIntentChange:y.useCallback(B=>{J.current=B},[]),children:i.jsx(ie,{...z,children:i.jsx(_c,{asChild:!0,trapped:o,onMountAutoFocus:ue(c,B=>{B.preventDefault(),_.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:i.jsx(Ys,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:b,onInteractOutside:v,onDismiss:S,children:i.jsx(QN,{asChild:!0,...j,dir:R.dir,orientation:"vertical",loop:r,currentTabStopId:P,onCurrentTabStopIdChange:I,onEntryFocus:ue(f,B=>{R.isUsingKeyboardRef.current||B.preventDefault()}),preventScrollOnEntryFocus:!0,children:i.jsx(Xm,{role:"menu","aria-orientation":"vertical","data-state":A6(C.open),"data-radix-menu-content":"",dir:R.dir,...M,...w,ref:D,style:{outline:"none",...w.style},onKeyDown:ue(w.onKeyDown,B=>{const X=B.target.closest("[data-radix-menu-content]")===B.currentTarget,oe=B.ctrlKey||B.altKey||B.metaKey,se=B.key.length===1;X&&(B.key==="Tab"&&B.preventDefault(),!oe&&se&&Q(B.key));const me=_.current;if(B.target!==me||!$V.includes(B.key))return;B.preventDefault();const le=T().filter(de=>!de.disabled).map(de=>de.ref.current);l6.includes(B.key)&&le.reverse(),bB(le)}),onBlur:ue(e.onBlur,B=>{B.currentTarget.contains(B.target)||(window.clearTimeout(V.current),H.current="")}),onPointerMove:ue(e.onPointerMove,dc(B=>{const O=B.target,X=ee.current!==B.clientX;if(B.currentTarget.contains(O)&&X){const oe=B.clientX>ee.current?"right":"left";ae.current=oe,ee.current=B.clientX}}))})})})})})})});h6.displayName=nr;var lB="MenuGroup",Qb=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return i.jsx(Ce.div,{role:"group",...r,ref:t})});Qb.displayName=lB;var cB="MenuLabel",p6=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return i.jsx(Ce.div,{...r,ref:t})});p6.displayName=cB;var dm="MenuItem",t5="menu.itemSelect",tf=y.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,c=y.useRef(null),u=Lc(dm,e.__scopeMenu),m=Gb(dm,e.__scopeMenu),f=Le(t,c),h=y.useRef(!1),p=()=>{const b=c.current;if(!n&&b){const v=new CustomEvent(t5,{bubbles:!0,cancelable:!0});b.addEventListener(t5,S=>r?.(S),{once:!0}),vb(b,v),v.defaultPrevented?h.current=!1:u.onClose()}};return i.jsx(g6,{...o,ref:f,disabled:n,onClick:ue(e.onClick,p),onPointerDown:b=>{e.onPointerDown?.(b),h.current=!0},onPointerUp:ue(e.onPointerUp,b=>{h.current||b.currentTarget?.click()}),onKeyDown:ue(e.onKeyDown,b=>{const v=m.searchRef.current!=="";n||v&&b.key===" "||b0.includes(b.key)&&(b.currentTarget.click(),b.preventDefault())})})});tf.displayName=dm;var g6=y.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...c}=e,u=Gb(dm,n),m=u6(n),f=y.useRef(null),h=Le(t,f),[p,b]=y.useState(!1),[v,S]=y.useState("");return y.useEffect(()=>{const N=f.current;N&&S((N.textContent??"").trim())},[c.children]),i.jsx(uc.ItemSlot,{scope:n,disabled:r,textValue:o??v,children:i.jsx(JN,{asChild:!0,...m,focusable:!r,children:i.jsx(Ce.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...c,ref:h,onPointerMove:ue(e.onPointerMove,dc(N=>{r?u.onItemLeave(N):(u.onItemEnter(N),N.defaultPrevented||N.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ue(e.onPointerLeave,dc(N=>u.onItemLeave(N))),onFocus:ue(e.onFocus,()=>b(!0)),onBlur:ue(e.onBlur,()=>b(!1))})})})}),uB="MenuCheckboxItem",b6=y.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return i.jsx(S6,{scope:e.__scopeMenu,checked:n,children:i.jsx(tf,{role:"menuitemcheckbox","aria-checked":mm(n)?"mixed":n,...o,ref:t,"data-state":ey(n),onSelect:ue(o.onSelect,()=>r?.(mm(n)?!0:!n),{checkForDefaultPrevented:!1})})})});b6.displayName=uB;var y6="MenuRadioGroup",[dB,mB]=Zs(y6,{value:void 0,onValueChange:()=>{}}),x6=y.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,c=Tt(r);return i.jsx(dB,{scope:e.__scopeMenu,value:n,onValueChange:c,children:i.jsx(Qb,{...o,ref:t})})});x6.displayName=y6;var v6="MenuRadioItem",w6=y.forwardRef((e,t)=>{const{value:n,...r}=e,o=mB(v6,e.__scopeMenu),c=n===o.value;return i.jsx(S6,{scope:e.__scopeMenu,checked:c,children:i.jsx(tf,{role:"menuitemradio","aria-checked":c,...r,ref:t,"data-state":ey(c),onSelect:ue(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});w6.displayName=v6;var Jb="MenuItemIndicator",[S6,fB]=Zs(Jb,{checked:!1}),C6=y.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,c=fB(Jb,n);return i.jsx(Pt,{present:r||mm(c.checked)||c.checked===!0,children:i.jsx(Ce.span,{...o,ref:t,"data-state":ey(c.checked)})})});C6.displayName=Jb;var hB="MenuSeparator",N6=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return i.jsx(Ce.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});N6.displayName=hB;var pB="MenuArrow",k6=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ef(n);return i.jsx(Ym,{...o,...r,ref:t})});k6.displayName=pB;var gB="MenuSub",[cse,E6]=Zs(gB),Bl="MenuSubTrigger",j6=y.forwardRef((e,t)=>{const n=Qs(Bl,e.__scopeMenu),r=Lc(Bl,e.__scopeMenu),o=E6(Bl,e.__scopeMenu),c=Gb(Bl,e.__scopeMenu),u=y.useRef(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:f}=c,h={__scopeMenu:e.__scopeMenu},p=y.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return y.useEffect(()=>p,[p]),y.useEffect(()=>{const b=m.current;return()=>{window.clearTimeout(b),f(null)}},[m,f]),i.jsx(Yb,{asChild:!0,...h,children:i.jsx(g6,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":n.open?o.contentId:void 0,"data-state":A6(n.open),...e,ref:xb(t,o.onTriggerChange),onClick:b=>{e.onClick?.(b),!(e.disabled||b.defaultPrevented)&&(b.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:ue(e.onPointerMove,dc(b=>{c.onItemEnter(b),!b.defaultPrevented&&!e.disabled&&!n.open&&!u.current&&(c.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:ue(e.onPointerLeave,dc(b=>{p();const v=n.content?.getBoundingClientRect();if(v){const S=n.content?.dataset.side,N=S==="right",w=N?-5:5,C=v[N?"left":"right"],R=v[N?"right":"left"];c.onPointerGraceIntentChange({area:[{x:b.clientX+w,y:b.clientY},{x:C,y:v.top},{x:R,y:v.top},{x:R,y:v.bottom},{x:C,y:v.bottom}],side:S}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(b),b.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:ue(e.onKeyDown,b=>{const v=c.searchRef.current!=="";e.disabled||v&&b.key===" "||GV[r.dir].includes(b.key)&&(n.onOpenChange(!0),n.content?.focus(),b.preventDefault())})})})});j6.displayName=Bl;var R6="MenuSubContent",M6=y.forwardRef((e,t)=>{const n=m6(nr,e.__scopeMenu),{forceMount:r=n.forceMount,align:o="start",...c}=e,u=Qs(nr,e.__scopeMenu),m=Lc(nr,e.__scopeMenu),f=E6(R6,e.__scopeMenu),h=y.useRef(null),p=Le(t,h);return i.jsx(uc.Provider,{scope:e.__scopeMenu,children:i.jsx(Pt,{present:r||u.open,children:i.jsx(uc.Slot,{scope:e.__scopeMenu,children:i.jsx(Zb,{id:f.contentId,"aria-labelledby":f.triggerId,...c,ref:p,align:o,side:m.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:b=>{m.isUsingKeyboardRef.current&&h.current?.focus(),b.preventDefault()},onCloseAutoFocus:b=>b.preventDefault(),onFocusOutside:ue(e.onFocusOutside,b=>{b.target!==f.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:ue(e.onEscapeKeyDown,b=>{m.onClose(),b.preventDefault()}),onKeyDown:ue(e.onKeyDown,b=>{const v=b.currentTarget.contains(b.target),S=ZV[m.dir].includes(b.key);v&&S&&(u.onOpenChange(!1),f.trigger?.focus(),b.preventDefault())})})})})})});M6.displayName=R6;function A6(e){return e?"open":"closed"}function mm(e){return e==="indeterminate"}function ey(e){return mm(e)?"indeterminate":e?"checked":"unchecked"}function bB(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function yB(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function xB(e,t,n){const o=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,c=n?e.indexOf(n):-1;let u=yB(e,Math.max(c,0));o.length===1&&(u=u.filter(h=>h!==n));const f=u.find(h=>h.toLowerCase().startsWith(o.toLowerCase()));return f!==n?f:void 0}function vB(e,t){const{x:n,y:r}=e;let o=!1;for(let c=0,u=t.length-1;c<t.length;u=c++){const m=t[c],f=t[u],h=m.x,p=m.y,b=f.x,v=f.y;p>r!=v>r&&n<(b-h)*(r-p)/(v-p)+h&&(o=!o)}return o}function wB(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return vB(n,t)}function dc(e){return t=>t.pointerType==="mouse"?e(t):void 0}var SB=d6,CB=Yb,NB=f6,kB=h6,EB=Qb,jB=p6,RB=tf,MB=b6,AB=x6,OB=w6,TB=C6,PB=N6,DB=k6,_B=j6,IB=M6,nf="DropdownMenu",[FB]=gn(nf,[c6]),bn=c6(),[zB,O6]=FB(nf),T6=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:c,onOpenChange:u,modal:m=!0}=e,f=bn(t),h=y.useRef(null),[p,b]=ar({prop:o,defaultProp:c??!1,onChange:u,caller:nf});return i.jsx(zB,{scope:t,triggerId:Fn(),triggerRef:h,contentId:Fn(),open:p,onOpenChange:b,onOpenToggle:y.useCallback(()=>b(v=>!v),[b]),modal:m,children:i.jsx(SB,{...f,open:p,onOpenChange:b,dir:r,modal:m,children:n})})};T6.displayName=nf;var P6="DropdownMenuTrigger",D6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,c=O6(P6,n),u=bn(n);return i.jsx(CB,{asChild:!0,...u,children:i.jsx(Ce.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:xb(t,c.triggerRef),onPointerDown:ue(e.onPointerDown,m=>{!r&&m.button===0&&m.ctrlKey===!1&&(c.onOpenToggle(),c.open||m.preventDefault())}),onKeyDown:ue(e.onKeyDown,m=>{r||(["Enter"," "].includes(m.key)&&c.onOpenToggle(),m.key==="ArrowDown"&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(m.key)&&m.preventDefault())})})})});D6.displayName=P6;var LB="DropdownMenuPortal",_6=e=>{const{__scopeDropdownMenu:t,...n}=e,r=bn(t);return i.jsx(NB,{...r,...n})};_6.displayName=LB;var I6="DropdownMenuContent",F6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=O6(I6,n),c=bn(n),u=y.useRef(!1);return i.jsx(kB,{id:o.contentId,"aria-labelledby":o.triggerId,...c,...r,ref:t,onCloseAutoFocus:ue(e.onCloseAutoFocus,m=>{u.current||o.triggerRef.current?.focus(),u.current=!1,m.preventDefault()}),onInteractOutside:ue(e.onInteractOutside,m=>{const f=m.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0,p=f.button===2||h;(!o.modal||p)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});F6.displayName=I6;var UB="DropdownMenuGroup",VB=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(EB,{...o,...r,ref:t})});VB.displayName=UB;var BB="DropdownMenuLabel",z6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(jB,{...o,...r,ref:t})});z6.displayName=BB;var WB="DropdownMenuItem",L6=y.forwardRef((e,t)=>
358{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(RB,{...o,...r,ref:t})});L6.displayName=WB;var KB="DropdownMenuCheckboxItem",U6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(MB,{...o,...r,ref:t})});U6.displayName=KB;var HB="DropdownMenuRadioGroup",qB=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(AB,{...o,...r,ref:t})});qB.displayName=HB;var XB="DropdownMenuRadioItem",V6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(OB,{...o,...r,ref:t})});V6.displayName=XB;var YB="DropdownMenuItemIndicator",B6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(TB,{...o,...r,ref:t})});B6.displayName=YB;var $B="DropdownMenuSeparator",W6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(PB,{...o,...r,ref:t})});W6.displayName=$B;var GB="DropdownMenuArrow",ZB=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(DB,{...o,...r,ref:t})});ZB.displayName=GB;var QB="DropdownMenuSubTrigger",K6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(_B,{...o,...r,ref:t})});K6.displayName=QB;var JB="DropdownMenuSubContent",H6=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=bn(n);return i.jsx(IB,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});H6.displayName=JB;var eW=T6,tW=D6,nW=_6,q6=F6,X6=z6,Y6=L6,$6=U6,G6=V6,Z6=B6,Q6=W6,J6=K6,ek=H6;const tk=eW,nk=tW,rW=y.forwardRef(({className:e,inset:t,children:n,...r},o)=>i.jsxs(J6,{ref:o,className:ce("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[n,i.jsx(kb,{className:"ml-auto"})]}));rW.displayName=J6.displayName;const aW=y.forwardRef(({className:e,...t},n)=>i.jsx(ek,{ref:n,className:ce("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",e),...t}));aW.displayName=ek.displayName;const ty=y.forwardRef(({className:e,sideOffset:t=4,...n},r)=>i.jsx(nW,{children:i.jsx(q6,{ref:r,sideOffset:t,className:ce("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",e),...n})}));ty.displayName=q6.displayName;const Wa=y.forwardRef(({className:e,inset:t,...n},r)=>i.jsx(Y6,{ref:r,className:ce("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...n}));Wa.displayName=Y6.displayName;const sW=y.forwardRef(({className:e,children:t,checked:n,...r},o)=>i.jsxs($6,{ref:o,className:ce("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[i.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i.jsx(Z6,{children:i.jsx(Ws,{className:"h-4 w-4"})})}),t]}));sW.displayName=$6.displayName;const oW=y.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(G6,{ref:r,className:ce("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[i.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i.jsx(Z6,{children:i.jsx(s_,{className:"h-2 w-2 fill-current"})})}),t]}));oW.displayName=G6.displayName;const iW=y.forwardRef(({className:e,inset:t,...n},r)=>i.jsx(X6,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));iW.displayName=X6.displayName;const lW=y.forwardRef(({className:e,...t},n)=>i.jsx(Q6,{ref:n,className:ce("-mx-1 my-1 h-px bg-muted",e),...t}));
358lW.displayName=Q6.displayName;const y0=Mc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground shadow-sm border-destructive-border",outline:" border [border-color:var(--button-outline)] shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent",link:"text-primary underline-offset-4 hover:underline"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),xe=y.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},c)=>{const u=r?IP:"button";return i.jsx(u,{className:ce(y0({variant:t,size:n,className:e})),ref:c,...o})});xe.displayName="Button";const ct=y.forwardRef(({className:e,type:t,...n},r)=>i.jsx("input",{type:t,className:ce("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));ct.displayName="Input";var rf="Dialog",[rk]=gn(rf),[cW,vr]=rk(rf),ny=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:c,modal:u=!0}=e,m=y.useRef(null),f=y.useRef(null),[h,p]=ar({prop:r,defaultProp:o??!1,onChange:c,caller:rf});return i.jsx(cW,{scope:t,triggerRef:m,contentRef:f,contentId:Fn(),titleId:Fn(),descriptionId:Fn(),open:h,onOpenChange:p,onOpenToggle:y.useCallback(()=>p(b=>!b),[p]),modal:u,children:n})};ny.displayName=rf;var ak="DialogTrigger",ry=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vr(ak,n),c=Le(t,o.triggerRef);return i.jsx(Ce.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":iy(o.open),...r,ref:c,onClick:ue(e.onClick,o.onOpenToggle)})});ry.displayName=ak;var ay="DialogPortal",[uW,sk]=rk(ay,{forceMount:void 0}),sy=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,c=vr(ay,t);return i.jsx(uW,{scope:t,forceMount:n,children:y.Children.map(r,u=>i.jsx(Pt,{present:n||c.open,children:i.jsx($s,{asChild:!0,container:o,children:u})}))})};sy.displayName=ay;var fm="DialogOverlay",Uc=y.forwardRef((e,t)=>{const n=sk(fm,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,c=vr(fm,e.__scopeDialog);return c.modal?i.jsx(Pt,{present:r||c.open,children:i.jsx(mW,{...o,ref:t})}):null});Uc.displayName=fm;var dW=Ya("DialogOverlay.RemoveScroll"),mW=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vr(fm,n),c=QP(),u=Le(t,c);return i.jsx(Fc,{as:dW,allowPinchZoom:!0,shards:[o.contentRef],children:i.jsx(Ce.div,{"data-state":iy(o.open),...r,ref:u,style:{pointerEvents:"auto",...r.style}})})}),fi="DialogContent",Vc=y.forwardRef((e,t)=>{const n=sk(fi,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,c=vr(fi,e.__scopeDialog);return i.jsx(Pt,{present:r||c.open,children:c.modal?i.jsx(fW,{...o,ref:t}):i.jsx(hW,{...o,ref:t})})});Vc.displayName=fi;var fW=y.forwardRef((e,t)=>{const n=vr(fi,e.__scopeDialog),r=y.useRef(null),o=Le(t,n.contentRef,r);return y.useEffect(()=>{const c=r.current;if(c)return Qm(c)},[]),i.jsx(ok,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:ue(e.onCloseAutoFocus,c=>{c.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:ue(e.onPointerDownOutside,c=>{const u=c.detail.originalEvent,m=u.button===0&&u.ctrlKey===!0;(u.button===2||m)&&c.preventDefault()}),onFocusOutside:ue(e.onFocusOutside,c=>c.preventDefault())})}),hW=y.forwardRef((e,t)=>
358{const n=vr(fi,e.__scopeDialog),r=y.useRef(!1),o=y.useRef(!1);return i.jsx(ok,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{e.onCloseAutoFocus?.(c),c.defaultPrevented||(r.current||n.triggerRef.current?.focus(),c.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(r.current=!0,c.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=c.target;n.triggerRef.current?.contains(u)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&o.current&&c.preventDefault()}})}),ok=y.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:c,...u}=e,m=vr(fi,n);return Gm(),i.jsx(i.Fragment,{children:i.jsx(_c,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:c,children:i.jsx(Ys,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":iy(m.open),...u,ref:t,deferPointerDownOutside:!0,onDismiss:()=>m.onOpenChange(!1)})})})}),ik="DialogTitle",Bc=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vr(ik,n);return i.jsx(Ce.h2,{id:o.titleId,...r,ref:t})});Bc.displayName=ik;var lk="DialogDescription",Wc=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vr(lk,n);return i.jsx(Ce.p,{id:o.descriptionId,...r,ref:t})});Wc.displayName=lk;var ck="DialogClose",oy=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vr(ck,n);return i.jsx(Ce.button,{type:"button",...r,ref:t,onClick:ue(e.onClick,()=>o.onOpenChange(!1))})});oy.displayName=ck;function iy(e){return e?"open":"closed"}const af=ny,ly=ry,pW=sy,uk=y.forwardRef(({className:e,...t},n)=>i.jsx(Uc,{className:ce("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));uk.displayName=Uc.displayName;const gW=Mc("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Kc=y.forwardRef(({side:e="right",className:t,children:n,...r},o)=>i.jsxs(pW,{children:[i.jsx(uk,{}),i.jsxs(Vc,{ref:o,className:ce(gW({side:e}),t),...r,children:[i.jsxs(oy,{className:"absolute right-4 top-4 roun
358ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[i.jsx(_r,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));Kc.displayName=Vc.displayName;const cy=({className:e,...t})=>i.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",e),...t});cy.displayName="SheetHeader";const sf=y.forwardRef(({className:e,...t},n)=>i.jsx(Bc,{ref:n,className:ce("text-lg font-semibold text-foreground",e),...t}));sf.displayName=Bc.displayName;const bW=y.forwardRef(({className:e,...t},n)=>i.jsx(Wc,{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));bW.displayName=Wc.displayName;var of="Popover",[dk]=gn(of,[rs]),Hc=rs(),[yW,as]=dk(of),mk=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:c,modal:u=!1}=e,m=Hc(t),f=y.useRef(null),[h,p]=y.useState(!1),[b,v]=ar({prop:r,defaultProp:o??!1,onChange:c,caller:of});return i.jsx(Bb,{...m,children:i.jsx(yW,{scope:t,contentId:Fn(),triggerRef:f,open:b,onOpenChange:v,onOpenToggle:y.useCallback(()=>v(S=>!S),[v]),hasCustomAnchor:h,onCustomAnchorAdd:y.useCallback(()=>p(!0),[]),onCustomAnchorRemove:y.useCallback(()=>p(!1),[]),modal:u,children:n})})};mk.displayName=of;var fk="PopoverAnchor",xW=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=as(fk,n),c=Hc(n),{onCustomAnchorAdd:u,onCustomAnchorRemove:m}=o;return y.useEffect(()=>(u(),()=>m()),[u,m]),i.jsx(Tc,{...c,...r,ref:t})});xW.displayName=fk;var hk="PopoverTrigger",pk=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=as(hk,n),c=Hc(n),u=Le(t,o.triggerRef),m=i.jsx(Ce.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":vk(o.open),...r,ref:u,onClick:ue(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?m:i.jsx(Tc,{asChild:!0,...c,children:m})});pk.displayName=hk;var uy="PopoverPortal",[vW,wW]=dk(uy,{forceMount:void 0}),gk=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,c=as(uy,t);return i.jsx(vW,{scope:t,forceMount:n,children:i.jsx(Pt,{present:n||c.open,children:i.jsx($s,{asChild:!0,container:o,children:r})})})};gk.displayName=uy;var hi="PopoverContent",bk=y.forwardRef((e,t)=>{const n=wW(hi,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,c=as(hi,e.__scopePopover);return i.jsx(Pt,{present:r||c.open,children:c.modal?i.jsx(CW,{...o,ref:t}):i.jsx(NW,{...o,ref:t})})});bk.displayName=hi;var SW=Ya("PopoverContent.RemoveScroll"),CW=y.forwardRef((e,t)=>{const n=as(hi,e.__scopePopover),r=y.useRef(null),o=Le(t,r),c=y.useRef(!1);return y.useEffect(()=>{const u=r.current;if(u)return Qm(u)},[]),i.jsx(Fc,{as:SW,allowPinchZoom:!0,children:i.jsx(yk,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ue(e.onCloseAutoFocus,u=>{u.preventDefault(),c.current||n.triggerRef.current?.focus()}),onPointerDownOutside:ue(e.onPointerDownOutside,u=>{const m=u.detail.originalEvent,f=m.button===0&&m.ctrlKey===!0,h=m.button===2||f;c.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:ue(e.onFocusOutside,u=>u.preventDefault(),{checkForDefaultPrevented:!1})})})}),NW=y.forwardRef((e,t)=>{const n=as(hi,e.__scopePopover),r=y.useRef(!1),o=y.useRef(!1);return i.jsx(yk,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{e.onCloseAutoFocus?.(c),c.defaultPrevented||(r.current||n.triggerRef.current?.focus(),c.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(r.current=!0,c.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=c.target;n.triggerRef.current?.contains(u)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&o.current&&c.preventDefault()}})}),yk=y.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:c,disableOutsidePointerEvents:u,onEscapeKeyDown:m,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:p,...b}=e,v=as(hi,n),S=Hc(n);return Gm(),i.jsx(_c,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:c,children:i.jsx(Ys,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:p,onEscapeKeyDown:m,onPointerDownOutside:f,onFocusOutside:h,onDismiss:()=>v.onOpenChange(!1),deferPointerDownOutside:!0,children:i.jsx(Xm,{"data-state":vk(v.open),role:"dialog",id:v.contentId,...S,...b,ref:t,style:{...b.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),xk="PopoverClose",kW=y.forwardRef((e,t)=>
358{const{__scopePopover:n,...r}=e,o=as(xk,n);return i.jsx(Ce.button,{type:"button",...r,ref:t,onClick:ue(e.onClick,()=>o.onOpenChange(!1))})});kW.displayName=xk;var EW="PopoverArrow",jW=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Hc(n);return i.jsx(Ym,{...o,...r,ref:t})});jW.displayName=EW;function vk(e){return e?"open":"closed"}var RW=mk,MW=pk,AW=gk,wk=bk;const dy=RW,my=MW,lf=y.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},o)=>i.jsx(AW,{children:i.jsx(wk,{ref:o,align:t,sideOffset:n,className:ce("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",e),...r})}));lf.displayName=wk.displayName;const x0="/assets/339636271_969669284194475_8572084232613057327_n_(1)_1783067235188-DDy_YmCS.jpg",OW="modulepreload",TW=function(e){return"/"+e},n5={},Ot=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let f=function(h){return Promise.all(h.map(p=>Promise.resolve(p).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),m=u?.nonce||u?.getAttribute("nonce");o=f(n.map(h=>{if(h=TW(h),h in n5)return;n5[h]=!0;const p=h.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${b}`))return;const v=document.createElement("link");if(v.rel=p?"stylesheet":OW,p||(v.as="script"),v.crossOrigin="",v.href=h,m&&v.setAttribute("nonce",m),document.head.appendChild(v),p)return new Promise((S,N)=>{v.addEventListener("load",S),v.addEventListener("error",()=>N(new Error(`Unable to preload CSS for ${h}`)))})}))}function c(u){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=u,window.dispatchEvent(m),!m.defaultPrevented)throw u}return o.then(u=>{for(const m of u||[])m.status==="rejected"&&c(m.reason);return t().catch(c)})},PW={Canon:()=>Ot(()=>import("./catalog-canon-CY6SC7uC.js"),__vite__mapDeps([0,1])),Nikon:()=>Ot(()=>import("./catalog-nikon-vxW4dPZq.js"),__vite__mapDeps([2,1])),Sony:()=>Ot(()=>import("./catalog-sony-S7Hl6xdt.js"),__vite__mapDeps([3,1])),Fujifilm:()=>Ot(()=>import("./catalog-fujifilm-CdIjWS6C.js"),__vite__mapDeps([4,1])),Ricoh:()=>Ot(()=>import("./catalog-ricoh-C0eQ2KkC.js"),__vite__mapDeps([5,1])),Tamron:()=>Ot(()=>import("./catalog-tamron-C-oMbquZ.js"),__vite__mapDeps([6,1])),Kodak:()=>Ot(()=>import("./catalog-kodak-DtesrIy_.js").then(e=>e.a),__vite__mapDeps([7,1])),Eirmai:()=>Ot(()=>import("./catalog-eirmai-Qg-HRgwo.js").then(e=>e.a),__vite__mapDeps([8,1])),Fifine:()=>Ot(()=>import("./catalog-fifine-mo9jvdmH.js").then(e=>e.a),__vite__mapDeps([9,1])),MOVMAX:()=>Ot(()=>import("./catalog-movmax-WZZL8pA_.js").then(e=>e.b),__vite__mapDeps([10,1])),Panasonic:()=>Ot(()=>import("./catalog-panasonic-Cw_yMt0f.js"),__vite__mapDeps([11,1])),GoPro:()=>Ot(()=>import("./catalog-gopro-DQTo5ixD.js"),__vite__mapDeps([12,1])),Insta360:()=>Ot(()=>import("./catalog-insta360-Co7-_jqt.js"),__vite__mapDeps([13,1])),Godox:()=>Ot(()=>import("./catalog-godox-Bt0cWepz.js"),__vite__mapDeps([14,1])),Manfrotto:()=>Ot(()=>import("./catalog-manfrotto-CwFy7e8N.js").then(e=>e.a),__vite__mapDeps([15,10,1])),Lowepro:()=>Ot(()=>import("./catalog-lowepro-cKU299FW.js").then(e=>e.a),__vite__mapDeps([16,10,1])),Hollyland:()=>Ot(()=>import("./catalog-hollyland-D3s6zSX7.js").then(e=>e.a),__vite__mapDeps([17,10,1])),Feelworld:()=>Ot(()=>import("./catalog-feelworld-iOdcTewQ.js").then(e=>e.a),__vite__mapDeps([18,10,1])),Miliboo:()=>Ot(()=>import("./catalog-miliboo-C2o9nuQB.js").then(e=>e.a),__vite__mapDeps([19,10,1])),"Peak Design":()=>Ot(()=>import("./peak-design-Cx8VEvk3.js"),__vite__mapDeps([20,1])),PGYTECH:()=>Ot(()=>import("./catalog-pgytech-DWtcOF8L.js").then(e=>e.a),__vite__mapDeps([21,10,1]))},r5=new Map,DW=new Set(["Canon","Nikon","Sony","Ricoh","Tamron","Kodak","Eirmai","Fifine","MOVMAX","Panasonic","GoPro","Insta360","Godox","Manfrotto","Lowepro","Hollyland","Feelworld","Miliboo","Peak Design","PGYTECH"]);async function fy(e){const t=PW[e];if(!t)return;const n=r5.get(e);if(n)return n;const r=t();return r5.set(e,r),r}async function _W(e,t){return(await fy(t))?.getProductImage(e)}async function IW(e,t){return((await fy(t))?.getProductGalleryImages?.(e)??[]).filter((o,c,u)=>!!o?.trim()&&u.indexOf(o)===c)}async function FW(e,t,n,r){return(await fy(t))?.getProductVariantImage?.(e,n,r)}async function zW(e){const t=await _W(e.id,e.brand);if(t)return t;if(DW.has(e.brand))throw new Error(`No verified local product image is registered for ${e.brand} product ${e.id}`);return e.image}const LW="fd74653d6545b0b6728074bb.webp",UW="c0fe818b9581c302af0ff8a4.webp",VW="b54edbbf646825d7dea10bf4.webp",BW="a562cf673770d05a9b97b9da.webp",WW="fc49d9de7852180c9739e964.webp",KW="b9293cc1214f5a875f2ff24b.webp",HW="5a69a718dbd4744ecd4170c3.webp",qW="2f59a626a8efc42a16ceab10.webp",XW="0d4ff0743e47f76ab6afdecc.webp",YW="2ba93b2fd018d8055e3bbf29.webp",$W="87825132f70f86e137e71aeb.webp",GW="2e4dcb079437acea32938da0.webp",ZW="70b7a278aeb030e5db48c199.webp",QW="da17506afdc5aecd94200ac7.webp",JW="8a740060f1f7b9088aac2bae.webp",eK="dec08f3a1accb3a8068bedb7.webp",tK="6384d8a3ca420976d49e68da.webp",nK="fc49d9de7852180c9739e964.webp",rK="0ec28abd156f8fa6d1a60a6e.webp",aK="46e14e4d2a7efb966a6f9dba.webp",sK="a764714e312f04ae7b45870f.webp",oK="41502e39e2db6eb79e
35801f09a.webp",iK="a3a44998ccd985415d51c361.webp",lK="b0b3e3f7247f44eba8593183.webp",cK="4fd64091caa52cef8b9de223.webp",uK="acf2b1ec61e6e96be5ff718b.webp",dK="5d0ebdc1f7c4c621a7fe2915.webp",mK="b56a694e16886a86d907aaa3.webp",fK="72c666cc3a1919f67c013549.webp",hK="e4ca77bbc6a9521e60124259.webp",pK="eafdf76595d4220b3fe37012.webp",gK="30bfde1deff5771aad668d7f.webp",bK="d3c9e0f228edd668cc52289f.webp",yK="92013a5249e6102050c89e3d.webp",xK="e53c6a9c233fe746f394376d.webp",vK="4becb8c042b1ea2d4fe974a0.webp",wK="be0b65454ba025d56dd813f8.webp",SK="1d68e98654d4f06a959f7b38.webp",CK="74019eca9809c4ba068cd043.webp",NK="a70e11ad122b8afa687ee9f5.webp",kK="9313cc96c86fea3a87967dee.webp",EK="3ceb56519a0f2ee699cb4a67.webp",jK="bfde674e455cedb6d447d391.webp",RK="ede5ea5e2001fd97fcf0f040.webp",MK="29b24ce0e378560e2930f6c1.webp",AK="939e825aa07fd657a4b92f8c.webp",OK="cfaac0f5e5491866857de4cc.webp",TK="81e111ab35722db8731b18b6.webp",PK="f6cdcfc9616d7b1af5a201e2.webp",DK="1ff71959f92f95fa8b459cf0.webp",_K="9aa251bd7e98ef712aff671c.webp",IK="b1b1f75f421f7a07a03cb04e.webp",FK="a5aaea73e0552de44e06de7d.webp",zK="fe15fb507a680261f05ebea1.webp",LK="c586dd4e5134be0fc8e28981.webp",UK="ebcfea09f16a72647a97e244.webp",VK="2d5fa018bc34f51a91752824.webp",BK="9ac55348c20825a3198ecd3f.webp",WK="b1b1f75f421f7a07a03cb04e.webp",KK="1fd6760226e20bd487252613.webp",HK="6751f43e69e7fa08d83bb6a5.webp",qK="4ba5993d146a7d5bdcac2b3a.webp",XK="21cc6e4999f90d93aacddf43.webp",YK="5a2efad561528a572526b9cb.webp",$K="e9a89f1e54e8cf48cdeda614.webp",GK="5728267e7ced2800a6823ad8.webp",ZK={"canon-powershot-sx740-hs":"25aca0c20a44fe0dee1ee021.webp","canon-speedlite-el-1-ver-2":"f4118ddb53c68adfed740fad.webp","canon-cp1500":"58e5180ce2db7871d4bec9e2.webp","canon-qx20":"a5838a106755fb50dbd95375.webp","canon-powershot-golf":"b5bfabb05416c8a4da01205b.webp","canon-powershot-g7x-mark-iii":"a76ae2b71424f0ee310fb2d9.webp","canon-powershot-v10":"61eebaa0ac06f1a7e371d278.webp","canon-rf-s55-210mm-f-5-7-1-is-stm":"7dc8755ce1e0cbd30836eb92.webp","canon-rf-s10-18mm-f-4-5-6-3-is-stm":"126848e7e635c3648a77fb5f.webp","canon-rf-16mm-f-2-8-stm":"69021105426ff3aa20af0f37.webp","canon-rf-24mm-f-1-8-macro-is-stm":"4e61f6212f23864ed20a6126.webp","canon-rf-28mm-f-2-8-stm":"5b0a460734b328c59fa1d2e1.webp","canon-rf-45mm-f-1-2-stm":"762bc3297cae56e1fd5733f3.webp","canon-rf-50mm-f-1-8-stm":"573348df315df781f18c778a.webp","canon-rf24-50mm-f-4-5-6-3-is-stm":"3404ece2df253b49da144c24.webp","canon-rf14mm-f-1-4l-vcm":"2d18e2f4ca69b460a3e6e035.webp","canon-rf20mm-f-1-4l-vcm":"fe02c8292a808d0542ea11c5.webp","canon-rf24mm-f1-4-l-vcm":"c0f8745b585150af79aedc34.webp","canon-rf-35mm-f-1-4l-vcm":"e76b0c07a5482af8aa4816d9.webp","canon-rf-35mm-f-1-8-macro-is-stm":"da17506afdc5aecd94200ac7.webp","canon-rf-50mm-f1-4-l-vcm":"8e7ed1ebd6b92ca6733abfc1.webp","canon-rf85mm-f-1-4l-vcm":"1dfda82a58765f8f48cf9d94.webp","canon-rf-85mm-f-1-2l-usm":"41502e39e2db6eb79e01f09a.webp","canon-rf-85mm-f-2-macro-is-stm":"6ed9798320734d7b224b79ce.webp","canon-rf-85mm-f-1-2l-usm-ds":"df0aea38337c2a4cdb8ced3a.webp","canon-rf-100mm-f-2-8l-macro-is-usm":"901793a353194226c30eae97.webp","canon-rf-135mm-f-1-8l-is-usm":"8dc84e070348cadf1981b23a.webp","canon-rf7-14mm-f-2-8-3-5l-fisheye-stm":"79ce58ef469068cb0ddbfcc3.webp","canon-rf-10-20mm-f-4-l-is-stm":"26cfe1fe7631a523d5374bb0.webp","canon-rf-14-35mm-f-4l-is-usm":"513fe3c1e7d50bf9718af1fd.webp","canon-rf-15-30mm-f-4-5-6-3-is-stm":"8ae213e15536802bc30cc08d.webp","canon-rf-15-35mm-f-2-8l-is-usm":"302c37cc2d23d54442c10b55.webp","canon-rf16-28mm-f-2-8-is-stm":"853d07ffc78f13fd787349ca.webp","canon-rf20-50mm-f-4l-is-usm-pz":"3014de119c38fd38bb1b675b.webp","canon-rf-24-70mm-f-2-8l-is-usm":"a55c35d7268b684b3236ae1a.webp","canon-rf-24-105mm-f-2-8l-is-usm-z":"5fbe340c2a7f8be4fdc332da.webp","canon-rf-24-105mm-f-4l-is-usm":"aaeab44d6f1d6335d4292e57.webp","canon-rf-24-105mm-f-4-7-1-is-stm":"70b7a278aeb030e5db48c199.webp","canon-rf-24-240mm-f-4-6-3-is-usm":"9db4893db0dad0111f980b0a.webp","canon-rf-28-70mm-f-2-8-is-stm":"27a9236c1e96bcada995a0e7.webp","canon-rf-28-70mm-f-2l-usm":"1fa8968ddedf7ee68d7dcfca.webp","canon-rf-70-200mm-f-2-8l-is-usm":"68b751498f0aeeda7259574e.webp","canon-rf-70-200mm-f-2-8l-is-usm-z-bk":"c169f9f163f584b37d9db646.webp","canon-rf-70-200mm-f-2-8l-is-usm-z-wh":"589129096a7e8342d8cd7099.webp","canon-rf-70-200mm-f-4l-is-usm":"b6e9a794a1684f92c609484b.webp","canon-rf-100-400mm-f-5-6-8-is-usm":"ed14a280153995b958dfa96b.webp","canon-rf-100-300mm-f-2-8l-is-usm":"44d6e502f46076923daffc8b.webp","canon-rf-100-500mm-f-4-5-7-1l-is-usm":"32e886ee61b22fe820c74e2e.webp","canon-rf-200-800mm-f-6-3-9-is-usm":"3728b26206bbd281c2b74b2a.webp","canon-rf-400mm-f-2-8l-is-usm":"a46b6e748f07d26f0f147dc4.webp","canon-rf-600mm-f-4l-is-usm":"ba64a4b775a11ae42ce0fba5.webp","canon-rf-600mm-f-11-is-stm":"4e2d0544e09758e68bd85570.webp","canon-rf-800mm-f-11-stm":"71ef54b781d8081f08d55d34.webp","canon-rf-800mm-f-5-6l-is-usm":"862d80e831e1cba2ba377a85.webp","canon-rf-1200mm-f-8l-is-usm":"c298e72820d1a7763b67c3fe.webp","canon-extender-rf1-4x":"83dd97543ce303dce8bf26e2.webp","canon-extender-rf2x":"fce1f258b31ab07d6d79e1ec.webp","canon-eos-c50":"9cbe9443e3ba6780caaf2e86.webp","canon-eos-c70-body":"778c910ce225c3f5c1db6ba2.webp","canon-eos-c80-body":"9a9f307b124eef3d475a2806.webp","canon-eos-r3-body":"921f5c04849fda6bb08bc3c6.webp","canon-eos-r5-c-body":"7758845dd3c77ff71c8fc1b8.webp","canon-eos-r5mark-ii-w-rf24-105mm-l-usm":"85fe7036d37df254a6149fb8.webp","canon-eos-r6iii-w-rf24-105mm-is-stm":"8e675cbbe1e90ab651d5af4f.webp","canon-eos-r6iii-w-rf24-105mm-l-usm":"8e675cbbe1e90ab651d5af4f.webp","canon-eos-r6ii-body":"1d0263e0bdfe6608b2fae61b.webp","canon-eos-r6ii-w-rf24-105mm-is-stm":"c6a0285b76000a9510d1869d.webp","canon-eos-r8-body":"1ee4bb670792b55103c66cf9.webp","canon-eos-r8-w-rf24-50mm-is-stm":"d12489c80e46e814d8f1329a.webp","canon-eos-rp-body":"5d0414a1a7903d7f07ea477e.webp","canon-eos-r7-body":"d2867e2dc3454a60a211a89b.webp","canon-eos-r7-w-rf18-150":"d2867e2dc3454a60a211a89b.webp","canon-eos-r10-w-rf18-45":"e5b7630d9a0d77a23d78b822.webp","canon-eos-r10-w-rf18-150":"b555b0fcb80892fb41a0
35872d4.webp","canon-eos-r50v-w-rf-s14-30-pz":"a562cf673770d05a9b97b9da.webp","canon-eos-r50-w-rf-s18-45mm-is-stm":"712479a31f94193c0de009ee.webp","canon-eos-r50-w-rf-s18-45mm-is-stm-rf-s55-210mm":"ecb33192635ac26b3040c552.webp","canon-eos-r100-rf-s-18-45mm-is-stm":"19a0ef4be129effa55c353bf.webp","canon-hf-g70":"caf651811ebfe69548ef164b.webp","canon-xa-60":"0a9372cdfca8b50af8022933.webp",p2:LW,p17:UW,p18:VW,p28:BW,p7:WW,r2:KW,r6:HW,r7:qW,r9:XW,r10:YW,r11:$W,r12:GW,r13:ZW,r14:QW,r15:JW,r16:eK,r17:tK,r18:nK,r19:rK,r20:aK,r21:sK,r22:oK,p13:iK,"canon-powershot-v1":"814a1c0f045cb9780fa35d34.webp","canon-rf75-300mm-f-4-5-6":"d0ac03260eb5ae931dc266ab.webp","canon-ef-100mm-f-2-8l-macro-is-usm":"1121293548abef8b9de3c759.webp","canon-eos-c400-body":"d372e8a098aa645e913bcd85.webp","canon-eos-r6v-body":"ee3ab2d35aaa7208e1ffd41c.webp","canon-eos-r6v-w-rf20-50mm-l-usm":"8c4f59259c998a4635067a34.webp","eirmai-mrd-28c":"a03bb626386da080635cddd8.webp","eirmai-mrd-105t":"cf5daf9c9eb5742fb79bcf1a.webp","eirmai-mrd-55t":"7993c702b4a699edbb57d5d2.webp","eirmai-mrd-268t":"bb8c5e93befef0cfa684e789.webp","eirmai-mrd-188t":"e3a01db0c98319c06122a91e.webp","eirmai-r4":"cecbc1c3afefdf613027c504.webp","eirmai-r9":"542c5f0deaab9553fdb178c2.webp","feelworld-p6x":"09948ab877bfedd80b883c2a.webp","feelworld-f5-pro-x":"659f79b1429f43efb52f516f.webp","feelworld-f7-plus":"c99a2494a77c62be490b00ff.webp","feelworld-fw568-pro":"c5dfb3af84efe93c0335647c.webp","fifine-ampli1":"dd3521197d3e1ebf085cf4b8.webp","fifine-ampli3":"3bf8f0684e9d8ae4f12cb5bc.webp","fifine-k651-bundle":"bd9a7a0502f4b267060da2d3.webp","fifine-a8v-pink":"d1e433cdb54a3d97a4d29307.webp","fifine-a8v-white":"601bcf75f83e0c5ab162012d.webp","fifine-k688-black":"493ef0fa1e4144e9b6435e43.webp","fifine-k688-white":"0bc57f3d96f2e03ce74c1ead.webp","fifine-a8v-black":"22d13c9e7b542c9d40b95c5c.webp","fifine-a9":"6e49b49e41e1bd1c38d828bd.webp","fifine-bm63":"62cf16e06d78cdfde7a0c6a4.webp","fifine-bm66":"f77b0002128deac8a9e3c8d7.webp","fifine-bm88-white":"5d1228071e04b29758d7a9b6.webp","fifine-s3":"6a5e25894324926341090a0d.webp","fifine-h6":"a919c939046ca3a83f24e626.webp","fifine-k420":"59c8cbf7e8e6b33916013237.webp","fifine-k658":"f74e1ab30accb4269e61b588.webp","fifine-k669":"cdcedeb90226d35b4f667c14.webp","fifine-k669-pro3":"ff7e5e1f3b6db6c455cd6a33.webp","fifine-k670b":"4ce8fd17e8764b80dbf51d38.webp","fifine-k678":"8dd6323c09bdb7d4de142fa7.webp","fifine-k683b":"bec3e5a909a450fb14097658.webp","fifine-k690":"2e730510d17344b5c076b479.webp","fifine-l9":"ad97b58f3ef71c6a8ecc2a19.webp","fifine-m6":"a8943abf509d6b422d588ae5.webp","fifine-profile3":"ad4acdd5b5610aca8c897411.webp","fifine-t669-pro3":"582c1ab50b6aeb8bedbecb26.webp","fifine-t670":"348323b7eecbd26c171ca26e.webp","fifine-t683":"8033d1f8cd459b76901cf855.webp","fifine-t688-black":"b30dff928690ea77831a5164.webp","fifine-t688-white-bundle":"f5970a03e3ca0c2e3d59d25b.webp","fifine-tank3":"d122857b08578e7cf462e95e.webp","fifine-u1":"059651bc5c282c5f60a2e7e3.webp","fifine-h8":"99a7e70e00058308e0db415e.webp","fifine-bm88-black":"c53dcd3a38ca14e384423585.webp","fujifilm-xc13-33mmf3-5-6-3-ois":"ed0942170d28d117167feebf.webp","fujifilm-xc35mmf2":"7d5b57fc0a2c01b70269fba8.webp","fujifilm-xf10-24mmf4-r-ois-wr":"156a88b4eabd257894b1d65f.webp","fujifilm-xf100-400mmf4-5-5-6-r-lm-ois-wr":"1611ce0526c82196c7aeee01.webp","fujifilm-xf150-600mmf5-6-8-r-lm-ois-wr":"67597c9135a86da55370c3a4.webp","fujifilm-xf16-50mmf2-8-4-8-r-lm-wr":"649b2c34250108433e88379f.webp","fujifilm-xf16-55mmf2-8-r-lm-wr-ii":"e8cea6c5100f0624fb288cc6.webp","fujifilm-xf16-80mmf4-r-ois-wr":"4b8d82143199895148f75ac9.webp","fujifilm-xf16mmf1-4-r-wr":"b2669fd280c109bc52ce35cb.webp","fujifilm-xf16mmf2-8-r-wr":"0366fea70334bb524b0feba2.webp","fujifilm-xf18-120mmf4-lm-pz-wr":"b9af57d39a6d9b35262a01eb.webp","fujifilm-xf18-135mmf3-5-5-6-r-lm-ois-wr":"287cec75e9dc395f4709342c.webp","fujifilm-xf18mmf1-4-r-lm-wr":"a42e761d1f15b006747d518e.webp","fujifilm-xf18mmf2-r":"27ddbe6d2705493329cf6553.webp","fujifilm-xf200mmf2-r-lm-ois-wr-with-xf1-4x-tc-f2-wr-teleconverter":"a676e86a567d38e2c650b979.webp","fujifilm-xf23mmf1-4-r-lm-wr":"1cd5b118deeb6e0239
3586b669b.webp","fujifilm-xf23mmf2-r-wr":"c3554c8c7e36382b2266cdee.webp","fujifilm-xf23mmf2-8-r-wr":"d1c755a0f213b99fe94bcb2f.webp","fujifilm-xf27mmf2-8-r-wr":"f93574f0f967901afd3be705.webp","fujifilm-xf30mmf2-8-r-macro":"483c5812be2acb17f5db375f.webp","fujifilm-xf33mmf1-4-r-lm-wr":"d8db2952fe496d9d57edf1fb.webp","fujifilm-xf35mmf1-4-r":"9065b791e31c9d0a138e98a5.webp","fujifilm-xf35mmf2-r-wr":"1a2f3df835a85d950fbf6690.webp","fujifilm-xf50-140mmf2-8-r-lm-ois-wr":"49137b273b614c6b78c203cd.webp","fujifilm-xf500mmf5-6-r-lm-ois-wr":"01d1af6a68497f8b57142b25.webp","fujifilm-xf50mmf1-0-r-wr":"3de37bb75856cff0b7fe5810.webp","fujifilm-xf50mmf2-r-wr":"cfb4a9198a0ab5f0181a3996.webp","fujifilm-xf55-200mmf3-5-4-8-r-lm-ois":"443b82b75a38a8cdc2cdc15b.webp","fujifilm-xf56mmf1-2-r":"f9700d7c717a95b08e080669.webp","fujifilm-xf56mmf1-2-r-wr":"4b1a4cf70a0862d8ce263761.webp","fujifilm-xf70-300mm-f-4-5-6-r-lm-ois-wr":"e48980c280176bad11773025.webp","fujifilm-xf8-16mmf2-8-r-lm-wr":"e1bdab6223aa8e8160e99a77.webp","fujifilm-xf80mmf2-8-r-lm-ois-wr-macro":"4e638331fd941ca21b1e8eec.webp","fujifilm-xf8mmf3-5-r-wr":"2d610359f6590d522644f233.webp","fujifilm-xf90mmf2-r-lm-wr":"ba24c6fecfce5d69e0e7ebf3.webp","fujifilm-x-half":"18dce1acba26298c1dc3614a.webp",p24:lK,"fujifilm-x-h2":"455423b23c70bf39695e2d9a.webp","fujifilm-x-h2s-body":"9fc8dd1da96fc437789e848e.webp",p26:cK,"fujifilm-x-s20":"d958bbde4d429d791d7d762b.webp","fujifilm-x-t30iii":"f80ad2bf9fd6df4cb26b526d.webp",p5:uK,p23:dK,p20:mK,p16:fK,p10:hK,r3:pK,"hollyland-5970758740302":"106cdf97df8cd3567c5b3fcd.webp","hollyland-5970758743051":"e1ee044f262f3cc61c9ec106.webp","hollyland-6976068115748":"8bb2d422abdf0831dc8845ef.webp","hollyland-6976068115755":"a4693b7457fc0606d3afb36e.webp","hollyland-6970758740340":"9a82268638e1698848b77f35.webp","hollyland-6976068110675":"9d7611d1fbe47754232896ca.webp","hollyland-6970758741675":"df340c6432b2c9544e728b24.webp","hollyland-6976068115021":"5ac15f253e3522923896c431.webp","hollyland-6976068114369":"b6c864651d86d62568e94aae.webp","hollyland-6976068118138":"db9d8aefa2d1ff6dab51e012.webp","hollyland-6976068117711":"9e368995591b384ab1eb6fa8.webp","hollyland-6976068117728":"62a4a115b093cde90c0e63c2.webp","hollyland-6976068117438":"47324cfc19a78632cd09c7e1.webp","hollyland-6976068115243":"752f80e6526a19a2cc799ca7.webp","hollyland-6976068115496":"59b666d74a47ba855f000fc6.webp","hollyland-6976068119586":"c20dcb8ba742815bf1214fc5.webp","hollyland-6976068118718":"d1aeb38fb1fe424596abf9fc.webp","hollyland-6976068119142":"4c832ca3328cadbef7c7b02c.webp","hollyland-6976068119449":"4c832ca3328cadbef7c7b02c.webp","hollyland-6976068118367":"4c8d3b981cd4b96628026c99.webp","hollyland-6976068118411":"9f52681ecea616129f6d75c0.webp","hollyland-6976068118350":"a7d3eab6c49ca24754a11ac3.webp","hollyland-6976068118343":"1f39aeef9e9dcf89f49de197.webp","hollyland-6976068118336":"223a6e27167d08f9c113352f.webp","hollyland-5976068118374":"e5a3c25566434a8025ffc6c5.webp","hollyland-6976068118725":"afc40a253caa2c085cff40b6.webp","hollyland-6976068118633":"afc40a253caa2c085cff40b6.webp","hollyland-6976068112747":"706e20907505981249e9c7a8.webp","hollyland-6976068117292":"8a070b778e9f57f3768f82e5.webp","hollyland-6976068112655":"706e20907505981249e9c7a8.webp","hollyland-6976068114444":"706e20907505981249e9c7a8.webp","hollyland-5976068118909":"706e20907505981249e9c7a8.webp","hollyland-5976068117544":"882309876cb3a4d5c4e6c463.webp","hollyland-6976068117902":"882309876cb3a4d5c4e6c463.webp","hollyland-6976068117551":"882309876cb3a4d5c4e6c463.webp","hollyland-6976068117193":"87ccb3201a40c44266e6284e.webp","hollyland-6976068118954":"73b7fec76973cd39241575d9.webp","hollyland-6976068118695":"87ccb3201a40c44266e6284e.webp","hollyland-6976068110620":"e68437be026b6b5139e52d69.webp","hollyland-6976068118657":"fa2341dc52686ef5829cfb40.webp","hollyland-6976068115502":"bdbc29eadfb2756ac3a0f47f.webp","hollyland-6976068114956":"d6d5c8e1c5850f33e3e0f740.webp","hollyland-6976068114871":"7c828ac8470e8184ce0ba8e4.webp","hollyland-6976068114864":"7c828ac8470e8184ce0ba8e4.webp",r4:gK,"kodak-pixpro-fz55":"d158c6591178efef1a5cb9b2.webp","kodak-charmera-35mm":"7238c580ea9293dfc63a9ada.webp","kodak-pixpro-wpz2":"2a4b9e5ffee9f6baa9485d47.webp","kodak-pixpro-fz45":"0ce69f7272713c61609ef572.webp","kodak-pixpro-c1":"3336a6aeab6d03c52d2f17e2.webp","lowepro-freeline-bp-350-aw-grey":"340a7e493642729230217c5d.webp","lowepro-protactic-bp":"9a9e161530ba306c5264539d.webp","lowepro-protactic-bp-350-aw-ii-black":"5b1152382a24bed12a696d9c.webp","lowepro-freeline-bp-350":"83cd0f1109e49810bdbca8d2.webp","lowepro-highline-rl-x400-aw-grey":"7fe1bd0ac44ef79bb9e4af45.webp","lowepro-highline-bp-300-aw-grey":"7602c1c7bea26af7fed4b6d7.webp","lowepro-ridgeline-bp-250-awhorizon-blue":"49ac853e5e55221dc9998a67.webp","lowepro-ridgeline-pro-bp-300-aw":"40978b009396664ecca6f27f.webp","lowepro-whistler-bp-450-aw-grey":"bce2183231ccef5f2c61514c.webp","lowepro-photo-sport-bp-200-aw-ii":"dbf8eafb60269ccac80e3899.webp","lowepro-photo-sport-bp-200-aw-ii-2":"464ea2b93683c282913b1abe.webp","lowepro-powder-bp-500-aw-midnight":"332c2d19d0fc5a375223920d.webp","lowepro-photosport-outdoor":"eef5937249cb503afe95143c.webp","lowepro-lens-case-11-x-11-cm-black":"c89b4540dae8ee95f765a822.webp","lowepro-nova-170-aw-ii-black":"c50f8f91040263d839ab2f4d.webp","lowepro-m-trekker-hp-120-charcoal":"f6e50d81ac900402ea4224b5.webp","lowepro-gearup-pouch-mini-dark-grey":"939d05342c95e45d635ab32c.webp","manfrotto-uncover-backpack-30l":"3558119ce5dd511fc77a9b63.webp","manfrotto-uncover-backpack-24l":"b222ca493a77153f58ac4efe.webp","manfrotto-uncover-messenger-12l":"e39b273d3a62f2026b48e064.webp","manfrotto-uncover-messenger-sling":"4636984a14cd13bcff12d87e.webp","manfrotto-one-photo-aluminum":"48b2c7f4ec301bbf6855520a.webp","manfrotto-one-carbon-with-500x-fluid-head":"bbb4d15e639ab2352b2c618e.webp","manfrotto-one-alu-with-500x-fluid-head":"f2335dc2832d79f6b46416e8.webp","manfrotto-one-aluminum-with-xpro-ball-head-as":"0be9057da11d1b5b8b4a8c7d.webp","manfrotto-one-carbon-hybrid-tripod":"8f981a9ded79a8c8c2d63ad5.webp","manfrotto-one-alu-hybrid-tripod":"5a379c8881e16f514ffb576a.webp","manfrotto-one-photo-aluminum-tripod-with-xpro-3-way-head":"b88e9ee22b7d1875088c3d78.webp","manfrotto-element-sl-tripod-with-ball-head":"7a3032b74b8a360706e0058b.webp","manfrotto-244rc":"5ef07b06e64e6334c25dc9b4.webp","manfrotto-055-alu-3-sec":"ba386498b344b7418c20dba4.webp","manfrotto-nitrotech-608-2":"013cc1684404b8a751dad7f1.webp","manfrotto-tripod-with-fluid-video":"b134d1f5b3aa430b9ac025e2.webp","manfrotto-028b-triman-tripod":"d86678ef3c2e1df5c089685d.webp","manfrotto-161mk2b-super":"2a9ecb32fe7fff0f08173660.webp","manfrotto-058b-triaut-tripod":"70a6f4da7831140e24481c2f.webp","manfrotto-video-tripod":"b71eddca08fff3329d8a7944.webp","manfrotto-mkc3-p02-compact-photo":"abe596e4232d6e335fcb6342.webp","manfrotto-aluminium-3-section":"997f0b004726216a5bd42435.webp","manfrotto-befree-advanced-alpha":"7650356f2753a3fb007a6451.webp","manfrotto-500-fluid-video-head":"25e3d942dbd5a8dd0b2b45e4.webp","manfrotto-befree-live-aluminium-tripod":"c9dfe5fd94ef5ce625ea9c5a.webp","manfrotto-element-mii-aluminium-blue":"c7aa25f792e97611047fa447.webp","manfrotto-element-mii-aluminium-red":"7e041ad85cc92df35a0c033e.webp","manfrotto-element-mii-aluminium-black":"4a9dd7016b87644bb9864b4b.webp","manfrotto-befree-3-way-live":"13fbbe432890140b7f61bb31.webp","manfrotto-befree-3-way-live-advanced":"7d072279d675a8500d27d07c.webp","manfrotto-befree-gt-carbon-for-sony":"a3256c1456b943be9603c286.webp","manfrotto-befree-gt-xpro-carbon-tripod":"d3bcc7b2a4396711139c2
3581e5.webp","manfrotto-aluminium-tripod":"b2d96acc1b16cd11308bdbfb.webp","manfrotto-carbon-fibre-tripod":"2983a8ab75b94ca7ab9d6991.webp","manfrotto-gt-aluminum-tripod":"94d44c3df357520087c33832.webp","manfrotto-gt-carbon-fibre-tripod":"0375eb3593afc349e7a11e5c.webp","manfrotto-travel-tripod":"07264b9e9f6fc8560441a84c.webp","manfrotto-tripod-twist":"4f9eba410f7ce50b0d22f87b.webp","manfrotto-travel-tripod-kit":"34a1c8b7be11efdd769a27f2.webp","manfrotto-aluminium-travel-tripod-kit":"2bae6de89d19c2b1551afe53.webp","manfrotto-290-dual-kit-3-way-head":"60b04c555bc470ff33ab554c.webp","manfrotto-mkcompactn-bk-compact-action-black":"7be981a8128e6ae013ee6070.webp",p11:bK,"manfrotto-tripod":"1b26e37c5786eb5045c6dad1.webp","manfrotto-055cxpro3-055":"a1835e04a11400335cc5c0bd.webp","manfrotto-mk190xpro3-3w":"70273261a5545c7b608af9df.webp","manfrotto-monopod":"19152e237bbc88702673cfce.webp","manfrotto-xpro-aluminium-5":"c91d8871d963bd669fe45f5f.webp","manfrotto-mpmxproa5":"63c60bda4f88eebdc0856dab.webp","manfrotto-xpro-5-section-photo-monopod":"26ea5cc4ce917b53dde4d30e.webp","manfrotto-xpro-3-monopod":"492f8fd816a56ea200308b5b.webp","manfrotto-photo-monopod":"2e4d433f2e1dd31cce36ab0b.webp","manfrotto-neotec-monopod":"99cb825ecddfab4581324f4c.webp","manfrotto-compact-monopod-advanced-white":"71ebcc019417d9f42a3b3fb7.webp","manfrotto-compact-monopod-advanced-black":"b97c82e731f89db7cbf40a80.webp","manfrotto-compact-monopod":"e104b1f8e55d0921ff514840.webp","manfrotto-387xu":"88a9d15c9a87becffb83dbcc.webp","manfrotto-025bs-super-boom-stand-black":"38c23b287b548537d65380ff.webp","manfrotto-avenger":"756865b9a352ee0d271ead11.webp","manfrotto-compact-lighting-stand":"3b62b7fc28115cf1f2d58ed0.webp","manfrotto-lighting-stand":"3f5660916afb1327874fec54.webp","manfrotto-410-junior-geared-tripod-head":"9c9e90f09f9eaf5f5a6d46be.webp","manfrotto-405-geared-tripod-head":"d8e3fbaa902ecbf23c20bbe1.webp","manfrotto-nitrotech-608":"35d4299d1c6e057077a78f89.webp","manfrotto-video-head":"a32b6d3fa57598e1a97321dc.webp","manfrotto-mvh500ah-fluid-video-head":"183fbcce96ed93d1210b67ff.webp","manfrotto-3-way-tripod-head":"45e0d0b5f993c21d5a5a4b89.webp","manfrotto-mh054mo-q6-054":"b40fcea886e298e319b15cd4.webp","manfrotto-494-ball-head":"909e1b6f152ef68361ae0698.webp","manfrotto-496-ball-head":"f1d5f41db86a79f8ee7e3eb0.webp","manfrotto-xpro-ball-head":"6b724c2ce72d9b08316ee180.webp","manfrotto-057-magnesium-ball-head":"8b98a7ea25e18ca57295432b.webp","manfrotto-496rc2-compact-ball-head-wrc2":"a6ee4e5cf97bc76617de0ac9.webp","manfrotto-155rc":"df6c21ebd406c3738cb48bd2.webp","manfrotto-camera-cage-2":"865ea6f8fed43c299ec8189b.webp","manfrotto-camera-cage":"1dfef58e7c0dc3017fcc48ed.webp","manfrotto-camera-cage-for-large-dslr":"d7dd2444c158c9e686e92f53.webp","manfrotto-pro-light-tough":"54a2aaf31a804c0663bfcb25.webp","manfrotto-spin-55":"c17fd82a81644f50d6f3d0bc.webp","manfrotto-advanced-rolling-camera-bag-iii":"68544d721e9ffc3b545f5078.webp","manfrotto-pro-light-multiloader-camera-backpack-m":"536031cc3bdf3e70d4e033fa.webp","manfrotto-pro-light-frontloader":"d950865d9135960594a75eff.webp","manfrotto-dslr-camera-bag-manfrotto":"a61ff1de812ded822fd037cc.webp","manfrotto-windsor-backpack":"22fa0851d55990065057b56c.webp","manfrotto-windsor-messenger-s":"225d66dd1a07989971126dbc.webp","manfrotto-nx-camera-bodypack":"a35a5dff9405582c54080f0f.webp","manfrotto-street-waist-bag":"092f13f95c09b7815757b3ab.webp","manfrotto-street-tech-organizer":"3a390d985d6af45b1252734f.webp","manfrotto-professional":"0b17ae763d11894d8ced2040.webp","manfrotto-professional-circular":"7931edcac307388f54d3669e.webp","manfrotto-lens-filter":"5872641958efe0329162401c.webp","manfrotto-essential-uv-filter":"5d32945509ab5f37e843ca39.webp","manfrotto-polarising-filter":"267333c95c061113f8ef35e1.webp","manfrotto-video-movie-heavy-dolly":"35af0d2c55ed3c6d8cca1ed2.webp","manfrotto-tripod-spreader":"0963bad6319ff0dbdc7d186e.webp","manfrotto-127vs":"3862515f8f13c8f0b1ecb244.webp","manfrotto-127dolly":"205c8d797e91709dd4e966dd.webp","manfrotto-114mv-video-dolly":"f0426964df106f9b49c91aa3.webp","manfrotto-410pl-plate":"ccaff334099b6036e83552ae.webp","manfrotto-manfrtto-200pl-pro-plate":"33d57bd9ba21ac8c31930675.webp","miliboo-mtt703awh":"284a6d87d6f17e5ebcd8b415.webp","miliboo-mtt705-ca":"ffebc5c11e8f6df4291040db.webp","miliboo-mtt70511-al":"ffebc5c11e8f6df4291040db.webp","miliboo-mtt705bswh":"ffebc5c11e8f6df4291040db.webp","miliboo-mtt705aswh":"ffebc5c11e8f6df4291040db.webp","miliboo-mtt703bwh":"284a6d87d6f17e5ebcd8b415.webp","miliboo-muf705as":"fbccc3d16fc0e7f25ed94a7d.webp","miliboo-mtt702bwh":"680fe3ec8e5b8f9a951e423c.webp","miliboo-mtt702b":"5d860beefc2fe9c3b7b67417.webp","miliboo-mtt702awh":"680fe3ec8e5b8f9a951e423c.webp","miliboo-mtt702a":"5d860beefc2fe9c3b7b67417.webp","miliboo-mtt701bwh":"4ad48d3aab70c890163053e5.webp","miliboo-mtt701b":"58de215960cab2593ad3d19f.webp","miliboo-mtt701awh":"4ad48d3aab70c890163053e5.webp","miliboo-mza":"4f08c2e58986813ff1126256.webp","miliboo-mukb":"98f9e87d1c3765de6b58c7f5.webp","miliboo-muka":"98f9e87d1c3765de6b58c7f5.webp","miliboo-mufb-bk":"c6528dd22d75d7f36565ec3f.webp","miliboo-mufb":"b796b80def5b46f39d4366cd.webp","miliboo-mufa-bk":"c6528dd22d75d7f36565ec3f.webp","miliboo-mufa":"b796b80def5b46f39d4366cd.webp","miliboo-muf705bs":"fbccc3d16fc0e7f25ed94a7d.webp","miliboo-mtt501cf-kit":"361a7a5e9dde1400d0aef06f.webp","miliboo-mtt501al":"361a7a5e9dde1400d0aef06f.webp","miliboo-mqb":"522f407c5db1ad72d73efb76.webp","miliboo-mqa":"522f407c5db1ad72d73efb76.webp","miliboo-mj02":"731b283f37302c96b26546bf.webp","miliboo-mtt605a":"f9619b0c74c2d8859f56c0a5.webp","miliboo-mtt701a":"58de215960cab2593ad3d19f.webp","miliboo-mtt609b":"69c13296425713e2f113b713.webp","miliboo-mtt609a":"69c13296425713e2f113b713.webp","miliboo-mtt608a":"d4939829c9575f53abd5b9ac.webp","miliboo-mtt606b":"cf0d4fb553f297a1be96bd84.webp","miliboo-mtt605b":"f9619b0c74c2d8859f56c0a5.webp","miliboo-mtt606a":"cf0d4fb553f297a1be96bd84.webp","miliboo-mtt602a":"2dfa8302ac3771143f740dac.webp","miliboo-mtt601a":"5ff059355ac598a66f85df63.webp","miliboo-mtt502b":"ee1826f1cfdb1ae8a1aaa3b4.webp","miliboo-myt803p":"e257a69bc6a7c89dbf4b56a6.webp","miliboo-myt803":"e257
358a69bc6a7c89dbf4b56a6.webp","miliboo-myt802l":"10674b67cca6a45476394355.webp","miliboo-myt801l":"450a2f381ca259b642407d8a.webp","miliboo-mj01":"731b283f37302c96b26546bf.webp","movmax-blade-arm-nano-black":"967a922dd453defe5db11889.webp","movmax-blade-arm-nano-orange":"9b1f430fe994ac9ab2de2adc.webp","movmax-vintage-cage-for-dji-osmo-action-3-action-4-action-5-pro":"032c175b9ea08d496b5760b7.webp","movmax-vintage-cage-for-dji-osmo-action-6":"831d6c1924a6db039d9bd73f.webp","movmax-vintage-cage-for-insta360-ace-pro2":"fdd3e6d1f446d3e4ff74b813.webp","movmax-backpack-mount":"d1029179a434e85b91820b68.webp","movmax-adjustable-selfie-stick-25-40cm-0-8-1-3ft":"669fdb94645e19b1af6e6723.webp","movmax-selfie-stick-w-rotatable-screw-swivel-mount-40-100cm-1-3-3-2ft":"2e79fc917b0a470ea9faab25.webp","movmax-round-tube-universal-c-clamp":"d553b4adfa52db0d80631b9e.webp","movmax-flat-tube-universal-c-clamp":"6fc77e34a6e081c907cd32a0.webp","movmax-blade-arm-solar-electronic":"de8a6200e9d0ca3a6a9cde6c.webp","movmax-blade-arm-handheld-kit":"b49e03235eebf288e6abb574.webp","movmax-blade-arm-rod-clamp-kit":"b4bfe1feb29fc700549ec16e.webp","movmax-blade-arm":"bdb1cf1b325fb7164719636c.webp","movmax-suction-cup-bracket-7-inch":"1f9458a1f42e3e3a50728620.webp","movmax-suction-cup-bracket-5-inch":"4f1b5f5ba10cb30c5a0b396e.webp","movmax-solar-electronic-nato":"8b664bd1c9ee93aa8e440596.webp","movmax-solar-electronic-suction":"25b1185f0d14a90591240dc7.webp","movmax-solar-electronic-suction-cup-multi-interface-expansion-edition":"62e03324039ef68ce15f0034.webp","movmax-suction-cup-w-bracket":"b60bb8bb8de8545fc4f1b833.webp","movmax-nd-8-16-32-filter":"bbd0534706b39f92603b26e8.webp","movmax-special-effects-filter":"125476ecbf3d45d27f895bb3.webp","movmax-filter-set-for-dji-pocket-3":"aee3734f3073cacbad410fe6.webp","movmax-nd-16-64-256-cpl-filter":"2ac388f92fa21f065e3f7d0d.webp","movmax-black-mist-1-4-filter":"6206bb45c6258d6dc69e3af1.webp","movmax-uhc-filter-for-dji":"2011298ceb10f958a5042778.webp","movmax-cpl-filter-for-dji-pocket":"b215c35c5b5a8a868484697f.webp","movmax-uv-movmax":"3750ce98fef782eeaa46d5f5.webp","movmax-0-72x-wide-angle-lens-for-dji-pocket-3":"bf3fe75a4ddea43cd6f9a570.webp","movmax-10x-macro-lens-for-dji":"6b49a56c39ce954d72c0c204.webp","movmax-incontrol-kit":"1f1395ff75169bc4863eade5.webp","movmax-incontrol":"ef8bbc8b50c5d5f6a03b95f3.webp","movmax-pocket-controller":"d6091647bb8d2263462ecf27.webp","movmax-5-inch-bracket-extender":"05e83af5631e1fe916e967b9.webp","movmax-quick-release-v-mount-battery-plate":"e230652f91eabd4ca5d5e625.webp","movmax-pocket-3-waterproof":"bcea4bfda0b650c3e2e151f7.webp","movmax-universal-ball-head":"29b9db6b5dd603adf47c1125.webp","movmax-blade-arm-phone-holder":"80ac516177afe096f2b49eec.webp","movmax-vibration-isolator-ins":"07472a89259b274f42cdb674.webp","movmax-mount-clamp":"24299521340bf7de1642b5c6.webp","movmax-hoop-connector-for-blade":"2adfd3d5ebbf47d3911717e9.webp","movmax-extension-hoop-connector":"3b976ef0795990589f8f0250.webp","movmax-adjustable-telescopic-rod":"1719b26a44b5aa5c2eb81c05.webp","movmax-carbon-fiber-extention":"9c026360fc9cb505831c0eff.webp","movmax-hand-grip-for-blade-arm":"b517bd7064881c6a388fb075.webp","movmax-socket-arm-with-rod-clamp":"a8f4a37c119a0e42600c0028.webp","movmax-socket-arm-with-nato-clamp":"9b2f25fe5ee9b5003bd98e2a.webp","movmax-double-socket-arm-10cm":"e4933a83f27a6f9fc0096740.webp","movmax-ball-mount-adapter-for-camera":"d84487133e65f3958346356d.webp","movmax-1-ball-connector":"6fb51c63725c7e872e9eb4a7.webp","movmax-1-4-screws-connector":"1dd226cadba466502f03fa75.webp","nikon-z9":"eab00933e348392790567289.webp","nikon-z8":"231a20306aadc846440d3ebb.webp","nikon-z8-24-120-f4-kit":"aed7a5bf81d62bf1a262c19a.webp","nikon-z-f-sl-sg":"47ede3d4d69cc5b2fffc8f1b.webp","nikon-z-f-sl-sg-40mm-f-2-se-kit":"a0798a521a33c5d8dd15a377.webp","nikon-z-f-bk-sg":"f4736d7a5fb107f71569d701.webp","nikon-z-f-bk-sg-40mm-f-2-se-bk-kit":"09710a227246c7e7ab7a86d5.webp","nikon-z7-ii":"190378e2833ecbdeaf1863be.webp","nikon-z7-ii-24-70-kit":"bbfce61977f5d3f93e868a85.webp","nikon-z7-ii-24-120-kit":"2c25ca91e99fdc0880361984.webp","nikon-z6-iii-bk-sg-24-70-bk-kit":"e5b19c360af91f1a943d8b4a.webp","nikon-z6-iii-bk-sg-24-200-bk-kit":"adda5512992570795508ddad.webp","nikon-z6-iii-bk-sg-24-120-bk-kit":"f82462c07845cbdd1d0deaad.webp","nikon-z5-ii-24-50-kit":"14d3a5d9446c42fa4231665d.webp","nikon-z5-ii-24-70-kit":"66445c3f700f9772ecf45630.webp","nikon-z5-ii-24-200-kit":"e7960c257ed1a9511ffa0a1c.webp","nikon-nikkor-z-24-70mm-f-2-8-s-ii":"2417ffca130e977608fc780c.webp","nikon-nikkor-z-28-135mm-f-4-pz":"1546e18211063fbcd3f81eb3.webp","nikon-nikkor-z-35mm-f-1-2-vr-s":"e4a293dcadabc24630c368be.webp","nikon-nikkor-z-50mm-f-1-4":"b24a8f513a
3587d06408f8afe8e.webp","nikon-nikkor-z-35mm-f-1-4":"542f52f1f3134aca54ade7bc.webp","nikon-nikkor-z-28-400mm-f-4-8-vr":"1e025af52813958c365ab668.webp","nikon-nikkor-z-600mm-f-6-3-vr-s":"fb21541632fa1d8534caba1e.webp","nikon-nikkor-z-135mm-f-1-8-s":"dbf15c7a0e1dc520fada7013.webp","nikon-nikkor-z-180-600mm-f-5-6-6-3-vr":"eced43da620563aeaa985e43.webp","nikon-nikkor-z-70-180mm-f-2-8":"45b826b61d06be8683ddeb16.webp","nikon-nikkor-z-dx-24mm-f-1-7":"fd607e3376b3618f111e25bd.webp","nikon-nikkor-z-dx-12-28mm-f-3-5-5-6-pz-vr":"69ed736f5892274de5346dc3.webp","nikon-nikkor-z-85mm-f-1-2-s":"3c6ce0dd93a77d4f5aad2533.webp","nikon-nikkor-z-26mm-f-2-8":"1af839749c2d0d9516286400.webp","nikon-nikkor-z-20mm-f-1-8-s":"8fbf638d127858eac0c778fa.webp","nikon-nikkor-z-24mm-f-1-8-s":"e5d9f2ac3bef2628716e4010.webp","nikon-nikkor-z-28mm-f-2-8-se":"dc5d7bd657b14da0ac1e02cd.webp","nikon-nikkor-z-28mm-f-2-8":"c6d22124b046f9cbac1922f2.webp","nikon-nikkor-z-35mm-f-1-8-s":"313dc114bb5df81bbc7fda93.webp","nikon-nikkor-z-40mm-f-2":"3e41bac791c6fc15f65b1e6d.webp","nikon-nikkor-z-50mm-f-1-8-s":"554a928cb4cbb9dc4514b834.webp","nikon-nikkor-z-50mm-f-1-2-s":"d0a263fc25d548530e1f14d9.webp","nikon-nikkor-z-dx-50-250mm-f-4-5-6-3-vr":"cbce8900cc877a6eaa2fe97d.webp","nikon-nikkor-z-58mm-f-0-95-s-noct":"0423e71a10e8eb9421939346.webp","nikon-nikkor-z-14-24mm-f-2-8-s":"ea64a2578720dadfce4755fd.webp","nikon-nikkor-z-14-30mm-f-4-s":"349596623af88c6e6643175e.webp","nikon-nikkor-z-17-28mm-f-2-8":"e16a5e010ea8df20657a703f.webp","nikon-nikkor-z-dx-18-140mm-f-3-5-6-3-vr":"b741856c39e586850f432420.webp","nikon-nikkor-z-24-50mm-f-4-6-3":"9bdd1a848f26a0b788bf7adf.webp","nikon-nikkor-z-24-70mm-f-2-8-s":"b3ca6c464c5f5acd52a4bf16.webp","nikon-nikkor-z-24-70mm-f-4-s":"a374b5a0a226b0bb860efcc0.webp","nikon-nikkor-z-28-75mm-f-2-8":"3b0066f43265437a2f2ebec5.webp","nikon-nikkor-z-70-200mm-f-2-8-vr-s":"b9ac53132f33b6e069eafe4d.webp","nikon-nikkor-z-24-200mm-f-4-6-3-vr":"1aff685491a4ada688a2d6e4.webp","nikon-nikkor-z-24-120mm-f-4-s":"f7e88dccab13a0addc0cdfd3.webp","nikon-nikkor-z-100-400mm-f-4-5-5-6-vr-s":"274a9036a58953870c6554a4.webp","nikon-nikkor-400-f4-5-vr-s":"8e4ab65b17238114cf404a4c.webp","nikon-nikkor-z-mc-50mm-f-2-8":"436b3c06fcc59344eaa3619d.webp","nikon-nikkor-z-mc-105mm-f-2-8-vr-s":"25f3db278532674db7178b30.webp","nikon-nikkor-z-400mm-f-2-8-tc-vr-s":"8439cd8d7ccbcfa12e58d9f1.webp","nikon-nikkor-z-600mm-f-4-tc-vr-s":"c683b9ac4eb626ec948ca031.webp","nikon-nikkor-z-800mm-f-6-3-vr-s":"05764657b8fd7bf1555be8f3.webp","nikon-ftz-ii-mount-adapter":"c0831da9218a8e9f79187e51.webp","nikon-zr-bk-sg":"57ee31fb8a90bf5e4503529e.webp","nikon-zr-bk-sg-24-70-kit":"323a5c4ab68ad0fd0dbcd62c.webp","nikon-zr-bk-sg-24-200-kit":"08f947896e2f8b87ce991a26.webp","nikon-nikkor-z-dx-mc-35mm-f-1-7":"0965776a724edd12fa7cfa5c.webp","nikon-nikkor-z-dx-16-50mm-f-2-8-vr":"91f8317a3f33703f7a8b6b31.webp",p19:yK,p21:xK,p27:vK,p9:wK,r5:SK,r23:CK,r24:NK,r25:kK,r26:EK,r27:jK,r28:RK,r29:MK,r30:AK,r31:OK,r32:TK,r33:PK,p22:DK,p12:_K,"pgytech-p-cb-028":"71bf2770e5bb54f888d6083f.webp","pgytech-p-cb-098":"6c19e3a9700338689135695f.webp","pgytech-p-cb-115":"45de8b88c7428cfd9daca032.webp","pgytech-p-cb-150":"5217ee87fbcdefd885b2d23d.webp","pgytech-p-cb-152":"2c401881ee132757efa7857b.webp","pgytech-p-cb-153":"43b70899d312b44f16b395f4.webp","pgytech-p-cb-154":"16b8f52456847b94a0c4b2eb.webp","pgytech-p-cb-170":"9b6455d7f380e0550f2f7861.webp","pgytech-p-cb-180":"4e426a78184d1538e9d86285.webp","pgytech-p-cb-195":"287a1828d92aab327982c844.webp","pgytech-p-cb-196":"220675924c4cc052ab8eb9d5.webp","pgytech-p-cb-197":"94c6e7b9d49ec37b1a32693e.webp","pgytech-p-cb-198":"1311bcecebd6dc466762848e.webp","pgytech-p-cb-203":"231e1f66791f2b8bd2d73a07.webp","pgytech-p-cb-204":"35839eca1291b19e9ebe3188.webp","pgytech-p-cb-220":"027e67b0bb4947e0c4d3f2ee.webp","pgytech-p-cb-250":"f088027525676f76b1a2c1cb.webp","pgytech-p-cb-251":"ba10e126a15f95a1b805cd85.webp","pgytech-p-cb-252":"2daa9429c050b4953aeecaa6.webp","pgytech-p-cb-253":"801411de2b7707981c5018ae.webp","pgytech-p-cb-255":"7a166ae8f3b9a846adb5c443.webp","pgytech-p-cb-256":"9d8639848cc853e1c914bd6d.webp","pgytech-p-cb-257":"4e301c1555f28e58bb24be9d.webp","pgytech-p-cb-293":"9e68eca637758dc7c2fc7781.webp","pgytech-p-cb-352":"e344fa06c7317324e788546a.webp","pgytech-p-cb-355":"8c1f67b2acc4da193f3a0431.webp","pgytech-p-cb-356":"0cb4037bd4a05c98a35956d1.webp","pgytech-p-cb-417":"538d80bc93d03e93f7f27e35.webp","pgytech-p-cb-418":"35fc42a11d9ca83ac941139c.webp","pgytech-p-cb-567":"cdc08b14da3afccbfd4bcde6.webp","pgytech-p-cb-575":"767515e7e9be276c029aa1e3.webp","pgytech-p-cb-576":"c4e3720920e08dd2c9dbc0ec.webp","pgytech-p-cb-577":"099a69c97c2b105acf8c0a30.webp","pgytech-p-cb-578":"1d4b8f741a324c8e5c0bbe29.webp","pgytech-p-cb-613":"a5491acc111e397bced4dcb3.webp","pgytech-p-cb-614":"1676d50f0089993dc941f7d9.webp","pgytech-p-cb-615":"e00c7934edc3cf20d2832ab3.webp","pgytech-p-gm-162":"0621c3364f7a0ac8f9193580.webp","pgytech-p-gm-163":"fddd5b745c928d51a63589c4.webp","pgytech-p-gm-164":"1239f4eb866e9f8dc664c137.webp","pgytech-p-gm-167":"1239f4eb866e9f8dc664c137.webp","pgytech-p-gm-168":"f1018e4eb081dadb0428ae10.webp","pgytech-p-gm-169":"f1018e4eb081dadb0428ae10.webp","pgytech-p-pg-011":"be40434e959f39a28440fda2.webp","pgytech-p-pg-012":"b6c8118d6f113d43aebb77be.webp","pgytech-p-cb-119":"ad6c4da59346357797b6b1b4.webp","pgytech-p-cb-120":"2c11e3589d58b6dba2ac3ae6.webp","pgytech-p-cb-121":"7a33a9a723b425f363d1d987.webp","pgytech-p-cb-122":"9a4ceef12c5f9fb897d05d7b.webp","pgytech-p-cb-124":"57d30aab77f976fb70a52bf7.webp","pgytech-p-cb-125":"a6b7c250664d5646af2ce765.webp","pgytech-p-cb-270":"f79a121021030b4b4e
3580bdcb2.webp","pgytech-p-cb-271":"b1754391f3cfa8a15f79dfa5.webp","pgytech-p-cb-272":"380441585b8793836b0981b0.webp","pgytech-p-cb-294":"3cc2c1f330027d5d480b7af2.webp","pgytech-p-cb-295":"1b65d74753be7e765ed65840.webp","pgytech-p-cb-296":"d2d1159b2b60792395f2abdf.webp","pgytech-p-cb-297":"b024a78431dfa9338983535a.webp","pgytech-p-cg-040":"93fefc9c852b04e95cc4e6ed.webp","pgytech-p-pg-072":"93d483050437fee83c09ec64.webp","pgytech-p-pg-102":"d9ac9d0e2103ea90c072eab4.webp","pgytech-p-pg-125":"beb49828665917c996936dbf.webp","pgytech-p-pg-126":"4f03b1c31de115b94041ddd5.webp","pgytech-p-pg-130":"94a3b0deb432ebb273c63ed1.webp","pgytech-p-pg-131":"5a001068efc54e3795aa9af0.webp","ricoh-gr-iv-monochrome":"dfd81ce6e782e9000993c3c0.webp","ricoh-gr-iv":"099fda1cd6b10186a581cda5.webp","ricoh-gr-iv-hdf":"09e0b86f91bd7dc863501907.webp",p1:IK,p4:FK,p6:zK,"sony-fe-16-35mm-f2-8-gm":"e9a89f1e54e8cf48cdeda614.webp","sony-fe-24-50mm-f2-8-g":"f7425937fb1c13ca31a1a39e.webp","sony-fe-35mm-f1-4-gm":"21cc6e4999f90d93aacddf43.webp","sony-fe-70-200mm-f2-8-gm-oss-ii":"1155f6acc031a38fb54dd080.webp","sony-fe-90mm-f2-8-macro-g-oss":"4ba5993d146a7d5bdcac2b3a.webp","sony-zv-e1-body-only-black":"84823615bbf4d59b88f8f980.webp",p14:LK,p15:UK,p25:VK,r1:BK,r8:WK,r34:KK,r35:HK,r36:qK,r37:XK,r38:YK,r39:$K,r40:GK,"sony-hx99":"6475b44a8747bb42a8fb3c53.webp","sony-rx100-vii-shooting-grip-kit":"1e317872c79194869df112c5.webp","sony-alpha-6700-body-only":"7c266cf2b73f325213d583e3.webp","sony-alpha-7c-body-only-silver":"e37452a6399bafdad92faa2c.webp","sony-fx30-xlr-handle-unit":"0b88aa83c11dc0c7a81bb601.webp","sony-fx6-full-frame-cinema-line-camera":"f8ac134af40881d31f6c1fc4.webp","sony-fisheye-converter":"a81bf5d6f99de967ecb545ce.webp","sony-ultra-wide-converter":"e70169012f63bbe6479d409a.webp","sony-fe-100-400mm-f4-5-5-6-gm-oss":"0d911b0ba6fd6efc5ddbc55b.webp","sony-fe-100mm-f2-8-stf-gm-oss":"20816f7afaea3e712b6d64d1.webp","sony-e-11mm-f1-8":"86d7267e92d8cebe005588c0.webp","sony-fe-12-24mm-f2-8-gm":"e0f8aa166a0b199c1598c2ca.webp","sony-fe-12-24mm-f4-g":"246d327ae6801ebacbbd74b6.webp","sony-fe-14mm-f1-8-gm":"d6606abae50fe24bcb76fb3e.webp","sony-1-4x-teleconverter":"4f2429f5390e8bdfe1a3441c.webp","sony-e-15mm-f1-4-g":"
3586261548f8545bff987d6060d.webp","sony-fe-16-25mm-f2-8-g":"d0818a1dd4eafe700b293af8.webp","sony-fe-16-35mm-f2-8-gm-ii":"080f52fea49242c2e82b74b9.webp","sony-vario-tessar-t-fe-16-35mm-f4-za-oss":"ae3954696100c210feaaab8c.webp","sony-e-16-55mm-f2-8-g":"b5ea9b0039288fc153b2c015.webp","sony-vario-tessar-t-e-16-70mm-f4-za-oss":"27dd2ab5d0995cc6989167f8.webp","sony-e-18-135mm-f3-5-5-6-oss":"039076a669722c5ca799760c.webp","sony-e-18-200mm-f3-5-6-3-oss-le":"c50ed042ccbcf361c79d3f6a.webp","sony-fe-200-600mm-f5-6-6-3-g-oss":"42fb126730327f70144f73f9.webp","sony-fe-20-70mm-f4-g":"333c0217c0d3b90930ea1a80.webp","sony-fe-20mm-f1-8-g":"cf8bad246d9bf5562a1912d2.webp","sony-2-0x-teleconverter":"b5de54e817fdfac76a45b158.webp","sony-fe-24-240mm-f3-5-6-3-oss":"1a622266836a57948216154e.webp","sony-fe-24mm-f1-4-gm":"2ee8d7dca293e1694f6b5ba1.webp","sony-sonnar-t-e-24mm-f1-8-za":"31f55425cc9324b707ffd71c.webp","sony-fe-24mm-f2-8-g":"d450b0b288eecb0d57029c3f.webp","sony-fe-28-60mm-f4-5-6":"45bada17918e465347d0ae7b.webp","sony-fe-28mm-f2":"c5cbfb29bb687622d9eda464.webp","sony-fe-300mm-f2-8-gm-oss":"c72131f3f61bf34a356b06e6.webp","sony-e-30mm-f3-5-macro":"6f3ed2e378c479c1810efdd4.webp","sony-distagon-t-fe-35mm-f1-4-za":"071827fb28baf12d21a40b08.webp","sony-e-35mm-f1-8-oss":"5d3588ae2e0610c42fec3e8c.webp","sony-fe-35mm-f1-8":"d169d8086baf429651e9407b.webp","sony-sonnar-t-fe-35mm-f2-8-za":"e143d10fa169965577432315.webp","sony-fe-400mm-f2-8-gm-oss":"3f58f05205227bb7e8c35d53.webp","sony-fe-40mm-f2-5-g":"f4539f81295ab54894a8d5bd.webp","sony-fe-50mm-f1-2-gm":"057dd4f9668f06a25d22d2e0.webp","sony-fe-50mm-f1-4-gm":"ab6800834c08e7f4f06ba517.webp","sony-planar-t-fe-50mm-f1-4-za":"d0986250c70c2b98231f64cb.webp","sony-e-50mm-f1-8-oss-black":"ddbe49b8d867aade14d4887b.webp","sony-fe-50mm-f2-5-g":"91376fe36cc970aaead9a02f.webp","sony-fe-50mm-f2-8-macro":"402c22309b8b32047ecae1d3.webp","sony-e-55-210mm-f4-5-6-3-oss-black":"225edebce4eac62b6c05e4b8.webp","sony-sonnar-t-fe-55mm-f1-8-za":"4f64372deaa00164dd931c6b.webp","sony-fe-600mm-f4-gm-oss":"16169c448bc5e863636c1619.webp","sony-fe-70-200mm-f4-macro-g-oss-ii":"b2af1b1cbb2a73ee86fcf9ff.webp","sony-fe-70-200mm-f4-g-oss":"eb531a0990ae59469bff1731.webp","sony-fe-70-300mm-f4-5-5-6-g-oss":"7f664104909db647502f9172.webp","sony-e-70-350mm-f4-5-6-3-g-oss":"7112ebf5ad504b56a80b38d9.webp","sony-fe-85mm-f1-4-gm-ii":"566e53a3fa3b9b80a2e11049.webp","sony-fe-85mm-f1-4-gm":"6361781531e6b710b66ddb29.webp","sony-e-pz-10-20mm-f4-g":"0952f15f59b017ffeaa4b4fb.webp","sony-fe-pz-16-35mm-f4-g":"28740b7532ed510d80486be1.webp","sony-e-pz-18-105mm-f4-g-oss":"a1e2fc5f75cd1dd4a7c55958.webp","sony-e-pz-18-110mm-f4-g-oss":"0d25906e10fd247e3775a628.webp","sony-fe-pz-28-135mm-f4-g-oss":"f17ea7938e704f3bc94a221c.webp","sony-rx100-vii-body-only":"0de1779025b27a1d81ae0243.webp","sony-alpha-1-body-only":"3b2f4ed6bc99aa2834635ade.webp","sony-alpha-6700-16-50mm-power-zoom-lens":"d126930f90d1bedca24d8c69.webp","sony-alpha-7c-ii-body-only-black":"b2bc4bd7b877d614e3245e50.webp","sony-alpha-7c-ii-28-60mm-zoom-lens-black":"b2bc4bd7b877d614e3245e50.webp","sony-alpha-7c-ii-28-60mm-zoom-lens-silver":"b0bb50722dd6ec8df22e55d6.webp","sony-alpha-7c-ii-body-only-silver":"b0bb50722dd6ec8df22e55d6.webp","sony-alpha-7-iv-28-70mm-zoom-lens":"b1b1f75f421f7a07a03cb04e.webp","sony-alpha-7-v-body-only":"57d454f560a74ca510ce78fb.webp","sony-alpha-7s-iii-body-only":"0136a489ae2e88e826a4d89b.webp","sony-fx2-body-only":"3fc7935515641ad9eeb0e48d.webp","sony-fx2-xlr-handle-unit":"3fc7935515641ad9eeb0e48d.webp","sony-fx30-body-only":"d061ecd11b86ac55eebbeacb.webp","sony-fx3a-xlr-handle-unit":"69e3e60b2e195098c0ab63d5.webp","sony-fx3-xlr-handle-unit":"69e3e60b2e195098c0ab63d5.webp","sony-fx5-body-only":"8af26bb6f38d2c722b7a7af5.webp","sony-fx5-xlr-handle-unit":"8611e9b45d20bdb876a1e8d8.webp","sony-fe-100-400mm-f5-6-8-oss":"7e59d594239d41e691aa5324.webp","sony-fe-100mm-f2-8-macro-gm-oss":"cd9621a70dcb08b13dcdd90d.webp","sony-fe-135mm-f1-8-gm":"32045508fff5dc57492d4b03.webp","sony-fe-16mm-f1-8-g":"4604d7610b379c195be8ddac.webp","sony-e-16mm-f2-8":"2c6e0c0dc00ebd06bfebae1d.webp","sony-e-20mm-f2-8":"fb6ef3528b88ecc5d12177b5.webp","sony-fe-24-105mm-f4-g-oss":"3d18d3b16d0f5e72a7b3e3cf.webp","sony-fe-28-70mm-f2-gm":"18fce91cd713ca81327a0c42.webp","sony-fe-400-800mm-f6-3-8-g-oss":"d24a58d30776436dea49ea7d.webp","sony-fe-50-150mm-f2-gm":"0e679f6625f042162d7b9172.webp","sony-e-55-210mm-f4-5-6-3-oss-silver":"1842854d8f2ef35f540938fc.webp","sony-fe-85mm-f1-8":"8b3d4a57bde4a7aa3f034d64.webp","sony-zv-1-black":"74fd426b96b29bf6109b19be.webp","sony-zv-1f-black":"f0b569b78c5ed283494f05ce.webp","sony-zv-1f-white":"9623cf38adeefc383413522b.webp","sony-zv-1-ii-black":"97c91ed98b5b235db3f4ad57.webp","sony-zv-1-w
358hite":"4e494c5bac4b18272fdc367f.webp","sony-zv-e10-16-50mm-power-zoom-lens-black":"1c2ab1e1f492958f7fb119de.webp","sony-zv-e10-16-50mm-power-zoom-lens-white":"1cd5488e4c6dd59b74895271.webp","sony-zv-e10-ii-16-50mm-power-zoom-lens-black":"e56ee3208c436e2a3f6b04e8.webp","sony-zv-e10-ii-16-50mm-power-zoom-lens-white":"534ec373e9e4d1d835d5d9c1.webp","sony-zv-e10-ii-body-only-white":"5b4d82dcd3dc3f9fca3f920d.webp","sony-zv-e1-28-60mm-zoom-lens-black":"f8855e82267e94438264de22.webp","sony-rx10-v":"1bb69eeb53e41f6394898864.webp","sony-rx1r-iii":"e1887fb2baa191d7b3c10732.webp","sony-alpha-7r-vi-body-only":"c41b5999bd809df57a2e3684.webp","sony-fe-100-400mm-f4-5-gm-oss":"0b05054b0b9316d2c4be7983.webp","sony-vario-tessar-t-fe-24-70mm-f4-za-oss":"4ad23a8292672f8f4fecd939.webp","sony-e-50mm-f1-8-oss-silver":"6d26e51699c7bcd1b4f2b33c.webp","sony-e-10-18mm-f4-oss":"1363288cb7c758d08c675970.webp","sony-fe-50mm-f1-8":"d36855de9ef2c275bf2023c5.webp","sony-alpha-7-iv-28-70mm-ii-zoom-lens":"a823791fccd8b88a3a763b47.webp","sony-alpha-7-v-28-70mm-ii-zoom-lens":"f04b8856c3beabeb1ddef81d.webp","tamron-17-70-f28-canon-rf":"feb0780fefa9cfca61b6c154.webp","tamron-18-300-f35-63-canon-rf":"95437425ee516fbda2d24c2b.webp","tamron-11-20-f28-canon-rf":"eed0c57da6cda23a2bff91f5.webp","tamron-11-20-f28-fujifilm-x":"a1e8183a28eff0d01eb00479.webp","tamron-18-300-f35-63-fujifilm-x":"90be399377f939f4cd9135fc.webp","tamron-150-500-f5-67-fujifilm-x":"25fd4a87cc8a9fa4e4dcfd56.webp","tamron-17-70-f28-fujifilm-x":"a3e7353699468f043d15e734.webp","tamron-12-20-f28-nikon-z":"910d7ca09dd543632f2c3cc7.webp","tamron-17-70-f28-nikon-z":"e0c039d8de7d26892038d511.webp","tamron-70-180-f28-g2-nikon-z":"6f82b59b99ef05791d3818f2.webp","tamron-18-300-f35-63-nikon-z":"8099e3d6fb9604c630c3ec96.webp","tamron-16-30-f28-g2-nikon-z":"046258f75fb39a7a4910da21.webp","tamron-90-f28-macro-nikon-z":"efd5c6592840db50a164d16a.webp","tamron-50-400-f45-63-nikon-z":"c02050a68e1050ab8b5507f0.webp","tamron-28-75-f28-g2-nikon-z":"50c0495a647de64221a01190.webp","tamron-35-150-f2-28-nikon-z":"18eeb5493d64c9c4e78d6b81.webp","tamron-150-500-f5-67-nikon-z":"fdea2a13d324187b8fec4dc7.webp","tamron-70-300-f45-63-nikon-z":"ab658e3c594593e2c6888307.webp"};function QK(e){const t=ZK[e];return t?`/catalog-cards/${t}`:void 0}function hr({product:e,eager:t=!1,thumbnail:n=!1,resolveCatalog:r=!0,onResolved:o,className:c="",onLoad:u,onError:m,...f}){const h=n?QK(e.id):void 0,p=h??e.image,b=y.useRef(null),v=y.useRef(null),[S,N]=y.useState(t),[w,C]=y.useState(p),[R,M]=y.useState(!1);return y.useEffect(()=>{C(p),M(!1),N(t)},[t,e.id,p]),y.useEffect(()=>{const j=v.current;j?.complete&&M(j.naturalWidth>0&&j.naturalHeight>0)},[w,t,e.id,p]),y.useEffect(()=>{if(S)return;const j=b.current;if(!j||!("IntersectionObserver"in window)){N(!0);return}const T=new IntersectionObserver(([P])=>{P.isIntersecting&&(N(!0),T.disconnect())},{rootMargin:"300px"});return T.observe(j),()=>T.disconnect()},[S]),y.useEffect(()=>{if(h){o?.(h);return}if(!S||!r)return;let j=!1;return zW(e).then(T=>{j||(C(T),o?.(T))}).catch(T=>{console.error(T),!j&&e.image&&C(e.image)}),()=>{j=!0}},[h,e.brand,e.id,e.image,r,S,o]),i.jsxs("span",{ref:b,className:"relative block h-full w-full bg-white","aria-busy":!R,children:[!R&&i.jsx("span",{className:"absolute inset-0 animate-pulse bg-gradient-to-br from-zinc-100 via-white to-zinc-100"}),w&&i.jsx("img",{ref:v,...f,src:w,loading:t?"eager":"lazy",fetchPriority:f.fetchPriority??(t?"high":"auto"),decoding:"async",className:`${c} transition-opacity duration-200 ${R?"opacity-100":"opacity-0"}`,onLoad:j=>{M(!0),u?.(j)},onError:j=>{M(!1),m?.(j)}})]})}const Vd=Xb(jt),Sk=[{label:"กล้อง",labelKey:"groupCamera",categorySlugs:["digital-camera","film-camera","cinema-vlog"]},{label:"เลนส์",labelKey:"groupLens",categorySlugs:["lenses","lenses-support"]},{label:"ฟิลเตอร์ & ฟิล์ม",labelKey:"groupFilter",categorySlugs:["filter","film","darkroom"]},{label:"วิดีโอ",labelKey:"groupVideo",categorySlugs:["video-gear","audio","tripod"]},{label:"แสง & ไฟ",labelKey:"groupLight",categorySlugs:["flash-light","studio"]},{label:"กระเป๋า",labelKey:"groupBag",categorySlugs:["bags","protection","strap"]},{label:"อุปกรณ์เสริม",labelKey:"groupAccessory",categorySlugs:["camera-accessories","maintenance","memory-card","memory-card-accessories","power"]},{label:"คอมพิวเตอร์",labelKey:"groupComputer",categorySlugs:["printer","computer-hardware","computer-software"]}];function Ck(e){return e.categorySlugs.map(t=>Zd(t)).filter(t=>t!==void 0&&jt.some(n=>n.category===t.slug))}function v0(e){return e.subcategories.filter(t=>jt.some(n=>n.category===e.slug&&n.subCategory===t.slug))}function a5({query:e,tr:t,onSelect:n}){const r=e.trim().toLocaleLowerCase();if(!r)return null;const o=Vd.canonicalNames.filter(u=>
358Ds(u).includes(Ds(e))||Vd.canonicalNameFor(e)===u),c=jt.filter(u=>[u.name,u.brand,u.description,...u.specs].join(" ").toLocaleLowerCase().includes(r)).slice(0,8);return i.jsxs("div",{className:"absolute left-0 right-0 top-full z-[60] mt-1 overflow-hidden rounded-md border border-zinc-200 bg-white shadow-xl","data-testid":"search-results",children:[o.length>0&&i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"border-b border-zinc-100 px-4 py-2 text-xs font-semibold uppercase tracking-wide text-zinc-500",children:t("brands")}),i.jsx("div",{className:"border-b border-zinc-100 py-1",children:o.map(u=>i.jsxs(pe,{href:`/shop?brand=${encodeURIComponent(u)}`,onClick:n,className:"flex items-center justify-between px-3 py-2.5 transition-colors hover:bg-zinc-50","data-testid":`search-brand-result-${Ds(u).replace(/\s+/g,"-")}`,children:[i.jsxs("span",{className:"text-sm font-semibold text-zinc-900",children:["Shop all ",u]}),i.jsxs("span",{className:"text-xs text-zinc-500",children:[Vd.countFor(u)," ",t("items")]})]},u))})]}),c.length>0&&i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"border-b border-zinc-100 px-4 py-2 text-xs font-semibold uppercase tracking-wide text-zinc-500",children:t("searchResults")}),i.jsx("div",{className:"max-h-[min(60vh,420px)] overflow-y-auto py-1",children:c.map(u=>i.jsxs(pe,{href:`/product/${u.id}`,onClick:n,className:"flex items-center gap-3 px-3 py-2.5 transition-colors hover:bg-zinc-50","data-testid":`search-result-${u.id}`,children:[i.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded bg-zinc-50 p-1.5",children:i.jsx(hr,{product:u,alt:"",className:"max-h-full max-w-full object-contain"})}),i.jsxs("div",{className:"min-w-0 flex-1",children:[i.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wide text-zinc-500",children:u.brand}),i.jsx("div",{className:"truncate text-sm font-medium text-zinc-900",children:u.name})]}),i.jsx("div",{className:"shrink-0 text-sm font-bold text-primary",children:Ve(u.salePrice??u.regularPrice)})]},u.id))})]}),o.length===0&&c.length===0&&i.jsx("div",{className:"px-4 py-5 text-center text-sm text-zinc-500","data-testid":"search-no-results",children:t("noSearchResults")})]})}function JK({tr:e}){const{lang:t}=Rt(),[n,r]=y.useState({}),[o,c]=y.useState({}),u=f=>r(h=>({...h,[f]:!h[f]})),m=f=>c(h=>({...h,[f]:!h[f]}));return i.jsxs("div",{className:"py-2",children:[i.jsx("div",{className:"px-4 py-3 text-xs font-bold text-zinc-500 uppercase tracking-wider",children:e("shopCategories")}),Sk.map(f=>{const h=Ck(f),p=n[f.label];return i.jsxs("div",{className:"border-b border-white/5 last:border-0",children:[i.jsxs("button",{type:"button",onClick:()=>u(f.label),className:"w-full flex items-center justify-between px-4 py-3 text-sm font-bold text-white hover:bg-white/5 transition-colors",children:[e(f.labelKey),i.jsx(ua,{className:`h-4 w-4 text-zinc-400 transition-transform duration-200 ${p?"rotate-180":""}`})]}),p&&i.jsx("div",{className:"pb-1",children:h.map(b=>{const v=o[b.slug],S=v0(b),N=S.length>0;return i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center",children:[i.jsx(pe,{href:`/${b.slug}`,className:"flex-1 px-6 py-2 text-sm text-zinc-200 hover:text-primary transition-colors",children:Fs(b,t)}),N&&i.jsx("button",{type:"button",onClick:()=>m(b.slug),className:"px-3 py-2 text-zinc-500 hover:text-zinc-200 transition-colors",children:i.jsx(ua,{className:`h-3.5 w-3.5 transition-transform duration-200 ${v?"rotate-180":""}`})})]}),N&&v&&i.jsx("div",{className:"pl-6 pb-1",children:S.map(w=>i.jsx(pe,{href:`/${b.slug}?sub=${w.slug}`,className:"block px-3 py-1.5 text-[13px] text-zinc-400 hover:text-primary transition-colors border-l border-white/10",children:Fs(w,t)},w.slug))})]},b.slug)})})]},f.label)})]})}function eH(){const{tr:e}=Rt(),{user:t}=Bn(),{signOut:n}=CC(),r="/".replace(/\/$/,"");return i.jsxs(tk,{children:[i.jsx(nk,{asChild:!0,children:i.jsxs(xe,{variant:"ghost",className:"hidden sm:flex text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100 rounded-md flex-col gap-1 h-auto py-2 px-3","data-testid":"button-account",children:[i.jsx(nm,{className:"h-5 w-5"}),i.jsxs("span",{className:"flex items-center gap-0.5 text-[10px] leading-none font-medium max-w-[92px] truncate",children:[t?t.firstName||t.primaryEmailAddress?.emailAddress?.split("@")[0]||e("account"):e("signIn"),i.jsx(ua,{className:"h-3 w-3 shrink-0 opacity-60"})]})]})}),i.jsxs(ty,{align:"end",className:"min-w-[190px]",children:[i.jsxs(oc,{when:"signed-out",children:[i.jsx(Wa,{asChild:!0,children:i.jsxs(pe,{href:"/sign-up",className:"cursor-pointer flex items-center gap-2","data-testid":"link-sign-up",children:[i.jsx(O3,{className:"h-4 w-4"})," ",e("signUp")]})}),i.jsx(Wa,{asChild:!0,children:i.jsxs(pe,{href:"/sign-in",className:"cursor-pointer flex items-center gap-2","data-testid":"link-sign-in",children:[i.jsx(si,{className:"h-4 w-4"})," ",e("signIn")]})}),i.jsx(Wa,{asChild:!0,children:i.jsxs(pe,{href:"/affiliate",className:"cursor-pointer flex items-center gap-2","data-testid":"link-affiliate-sign-in",children:[i.jsx(si,{className:"h-4 w-4"})," เข้าสู่ระบบ Affiliate"]})}),i.jsx(Wa,{asChild:!0,children:i.jsxs(pe,{href:"/sign-in?admin=true",className:"cursor-pointer flex items-center gap-2","data-testid":"link-admin-sign-in",children:[i.jsx(si,{className:"h-4 w-4"})," เข้าสู่ระบบ Admin"]})})]}),i.jsxs(oc,{when:"signed-in",children:[i.jsx(Wa,{asChild:!0,children:i.jsxs(pe,{href:"/account",className:"cursor-pointer flex items-center gap-2","data-testid":"link-my-orders",children:[i.jsx(nm,{className:"h-4 w-4"})," คำสั่งซื้อของฉัน"]})}),i.jsxs(Wa,{className:"cursor-pointer flex items-center gap-2",onClick:()=>n({redirectUrl:r||"/"}),"data-testid":"button-sign-out",children:[i.jsx(O_,{className:"h-4 w-4"})," ",e("signOut")]})]})]})]})}function s5({compact:e=!1}){const{lang:t,setLang:n}=Rt(),r=["th","en","zh"];return e?i.jsxs(tk,{children:[i.jsx(nk,{asChild:!0,children:i.jsxs("button",{className:"flex items-center gap-1 px-2 py-1.5 rounded text-[12px] font-medium text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100 transition-colors cursor-pointer",children:[i.jsx(xS,{className:"h-3.5 w-3.5 shrink-0"}),vg[t],i.jsx(ua,{className:"h-3 w-3 shrink-0 opacity-60"})]})}),i.jsx(ty,{align:"end",className:"min-w-[100px]",children:r.map(o=>i.jsx(Wa,{onClick:()=>
358n(o),className:`cursor-pointer text-sm ${t===o?"font-bold text-primary":""}`,children:vg[o]},o))})]}):i.jsxs("div",{className:"flex items-center gap-1 px-4 py-3 border-t border-white/10",children:[i.jsx(xS,{className:"h-4 w-4 text-zinc-400 mr-1"}),r.map(o=>i.jsx("button",{onClick:()=>n(o),className:`text-sm px-2.5 py-1 rounded transition-colors ${t===o?"bg-primary text-white font-bold":"text-zinc-400 hover:text-zinc-100 bg-white/5"}`,children:vg[o]},o))]})}function tH(){const{totalItems:e,setIsCartOpen:t}=Ei(),{tr:n,lang:r}=Rt(),[o,c]=ts(),[u,m]=y.useState(!1),[f,h]=y.useState(""),[p,b]=y.useState(null),v=()=>h(""),S=()=>{v(),m(!1)},N=()=>{const w=f.trim();if(!w)return;m(!1),v();const C=Vd.canonicalNameFor(w);c(C?`/shop?brand=${encodeURIComponent(C)}`:`/shop?q=${encodeURIComponent(w)}`)};return i.jsxs("header",{className:"sticky top-0 z-50 w-full bg-white flex flex-col shadow-sm border-b border-zinc-200",children:[i.jsx("div",{className:"hidden lg:block w-full bg-zinc-800 text-zinc-300 text-[11px] py-1.5 px-4 border-b border-zinc-700",children:i.jsxs("div",{className:"container mx-auto flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-6",children:[i.jsxs("a",{href:"tel:0863427836",className:"flex items-center gap-1.5 hover:text-white transition-colors",children:[i.jsx(ci,{className:"h-3 w-3"})," 086-3427836"]}),i.jsxs("a",{href:"https://lin.ee/ZIkaE0T",target:"_blank",rel:"noreferrer",className:"flex items-center gap-1.5 hover:text-white transition-colors",children:[i.jsx(h0,{className:"h-3 w-3"})," @worldcamera"]}),i.jsxs("a",{href:"https://www.facebook.com/worldcameraofficial/",target:"_blank",rel:"noreferrer",className:"flex items-center gap-1.5 hover:text-white transition-colors",children:[i.jsx(KS,{className:"h-3 w-3"})," worldcameraofficial"]})]}),i.jsx("div",{className:"flex items-center gap-6",children:i.jsx("span",{className:"tracking-wide",children:n("authorizedDealer")})})]})}),i.jsxs("div",{className:"container mx-auto px-4 h-[72px] flex items-center justify-between gap-4 lg:gap-2 bg-white relative z-20",children:[i.jsx("div",{className:"flex items-center gap-3 lg:w-auto shrink-0",children:i.jsx(pe,{href:"/",className:"flex items-center group",children:i.jsx("img",{src:x0,alt:"World Camera",className:"h-[70px] w-auto object-contain"})})}),i.jsx("div",{className:"hidden lg:flex flex-1 max-w-4xl",children:i.jsxs("div",{className:"relative w-full flex shadow-sm group",children:[i.jsx(ct,{type:"text",placeholder:n("searchPlaceholder"),className:"w-full h-11 bg-white text-black placeholder:text-zinc-500 rounded-l-md rounded-r-none border-0 border-y border-l border-zinc-300 focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-0 text-[15px] pl-4",value:f,onChange:w=>h(w.target.value),onKeyDown:w=>{w.key==="Enter"&&N()},"data-testid":"input-search"}),i.jsx(xe,{className:"h-11 px-7 bg-primary hover:bg-primary/90 text-white rounded-l-none rounded-r-md transition-colors",type:"button",onClick:N,"data-testid":"button-search",children:i.jsx(zs,{className:"h-5 w-5"})}),i.jsx(a5,{query:f,tr:n,onSelect:S})]})}),i.jsxs("div",{className:"flex items-center gap-1 sm:gap-3 lg:w-auto lg:min-w-fit justify-end shrink-0",children:[i.jsx(xe,{variant:"ghost",size:"icon",className:"lg:hidden text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100",onClick:()=>m(!u),children:i.jsx(zs,{className:"h-6 w-6"})}),i.jsxs(af,{children:[i.jsx(ly,{asChild:!0,children:i.jsx(xe,{variant:"ghost",size:"icon",className:"lg:hidden text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100",children:i.jsx(__,{className:"h-6 w-6"})})}),i.jsxs(Kc,{side:"left",className:"w-[320px] bg-[#111] border-r-white/10 p-0 overflow-y-auto",children:[i.jsx(sf,{className:"sr-only",children:n("navMenuTitle")}),i.jsx("div",{className:"p-4 border-b border-white/10 flex items-center justify-between bg-black/20",children:i.jsx(pe,{href:"/",className:"flex items-center",children:i.jsx("img",{src:x0,alt:"World Camera",className:"h-10 w-auto object-contain"})})}),i.jsx(JK,{tr:n}),i.jsxs("div",{className:"py-2 border-t border-white/10",children:[i.jsx(pe,{href:"/deals",className:`flex items-center px-4 py-3 text-sm font-bold hover:bg-white/5 transition-colors gap-1.5 text-primary ${o==="/deals"?"bg-white/5":""}`,children:n("navDeal")}),i.jsx(pe,{href:"/clearance",className:`flex items-center px-4 py-3 text-sm font-bold hover:bg-white/5 transition-colors text-primary ${o==="/clearance"?"bg-white/5":""}`,children:n("navClearance")}),i.jsx(pe,{href:"/rent",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors",children:n("navRentFull")}),i.jsx(pe,{href:"/lighting",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors",children:n("navLightingFull")}),i.jsx(pe,{href:"/services",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors",children:n("navServicesFull")}),i.jsx(pe,{href:"/contact",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors",children:n("navContactFull")})]}),i.jsxs("div",{className:"py-2 border-t border-white/10",children:[i.jsxs(oc,{when:"signed-out",children:[i.jsxs(pe,{href:"/sign-up",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors gap-2",children:[i.jsx(O3,{className:"h-4 w-4"})," ",n("signUp")]}),i.jsxs(pe,{href:"/sign-in",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors gap-2",children:[i.jsx(si,{className:"h-4 w-4"})," ",n("signIn")]}),i.jsxs(pe,{href:"/affiliate",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors gap-2","data-testid":"link-mobile-affiliate-sign-in",children:[i.jsx(si,{className:"h-4 w-4"})," เข้าสู่ระบบ Affiliate"]}),i.jsxs(pe,{href:"/sign-in?admin=true",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors gap-2","data-testid":"link-mobile-admin-sign-in",children:[i.jsx(si,{className:"h-4 w-4"})," เข้าสู่ระบบ Admin"]})]}),i.jsxs(oc,{when:"signed-in",children:[i.jsxs(pe,{href:"/account",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors gap-2","data-testid":"link-mobile-my-orders",children:[i.jsx(nm,{className:"h-4 w-4"})," คำสั่งซื้อของฉัน"]}),i.jsx(pe,{href:"/points",className:"flex items-center px-4 py-3 text-sm text-zinc-200 hover:bg-white/5 hover:text-primary transition-colors gap-2",children:"คะแนนสมาชิก"})]})]}),i.jsx(s5,{}),i.jsxs("div",{className:"p-4 border-t border-white/10 bg-black/40 space-y-4",children:[i.jsxs("a",{href:"tel:0863427836",className:"flex items-center gap-3 text-sm text-zinc-400 hover:text-white transition-colors",children:[i.jsx(ci,{className:"h-4 w-4"})," 086-3427836"]}),i.jsxs("a",{href:"https://lin.ee/ZIkaE0T",className:"flex items-center gap-3 text-sm text-zinc-400 hover:text-white transition-colors",children:[i.jsx(h0,{className:"h-4 w-4"})," @worldcamera"]}),i.jsxs("a",{href:"https://www.facebook.com/worldcameraofficial/",className:"flex items-center gap-3 text-sm text-zinc-400 hover:text-white transition-colors",children:[i.jsx(KS,{className:"h-4 w-4"})," worldcameraofficial"]})]})]})]}),i.jsx(eH,{}),i.jsxs(xe,{variant:"ghost",className:"text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100 rounded-md flex-col gap-1 h-auto py-2 px-3 relative group",onClick:()=>t(!0),"data-testid":"button-cart",children:[i.jsxs("div",{className:"relative",children:[i.jsx(Bm,{className:"h-5 w-5 group-hover:text-primary transition-colors"}),e>0&&i.jsx("span",{className:"absolute -top-1.5 -right-2 bg-primary text-primary-foreground text-[10px] font-bold h-[18px] min-w-[18px] px-1 rounded-full flex items-center justify-center border-2 border-white",children:e})]}),i.jsx("span",{className:"text-[10px] leading-none font-medium hidden sm:block group-hover:text-primary transition-colors",children:n("cart")})]}),i.jsx(s5,{compact:!0})]})]}),u&&i.jsx("div",{className:"absolute top-[72px] left-0 w-full bg-white p-3 border-b border-zinc-200 lg:hidden flex items-center gap-2 z-10 animate-in slide-in-from-top-2",children:i.jsxs("div",{className:"relative flex-1 flex",children:[i.jsx(ct,{autoFocus:!0,placeholder:n("searchPlaceholderShort"),className:"w-full h-11 bg-white text-black placeholder:text-zinc-500 rounded-l-md rounded-r-none border border-zinc-300 focus-visible:ring-0 text-base pl-4",value:f,onChange:w=>h(w.target.value),onKeyDown:w=>{w.key==="Enter"&&N()},"data-testid":"input-search-mobile"}),i.jsx(xe,{className:"h-11 px-4 bg-primary hover:bg-primary/90 text-white rounded-l-none rounded-r-md transition-colors",type:"button",onClick:N,"data-testid":"button-search-mobile",children:i.jsx(zs,{className:"h-5 w-5"})}),i.jsx(a5,{query:f,tr:n,onSelect:S})]})}),i.jsx("div",{className:"hidden lg:block w-full border-t border-zinc-200 bg-white relative z-10",children:i.jsxs("div",{className:"container mx-auto px-4 flex items-stretch justify-between overflow-x-auto h-12",children:[Sk.map(w=>{const C=Ck(w),M=C.reduce((j,T)=>j+v0(T).length,0)>8;return i.jsxs(dy,{open:p===w.label,onOpenChange:j=>b(j?w.label:null),children:[i.jsx(my,{asChild:!0,children:i.jsxs("button",{type:"button","aria-expanded":p===w.label,className:`w-auto flex shrink-0 cursor-pointer items-center justify-center gap-1 text-center text-zinc-600 hover:text-primary text-[13px] font-medium leading-tight whitespace-nowrap h-full px-1 border-b-[3px] transition-colors ${p===w.label?"border-primary text-primary":"border-transparent"}`,children:[n(w.labelKey)," ",i.jsx(ua,{className:"h-3 w-3"})]})}),i.jsx(lf,{align:"start",side:"bottom",sideOffset:0,collisionPadding:16,className:`bg-white text-zinc-900 shadow-xl border-zinc-100 rounded-md z-50 py-3 px-2 max-h-[70vh] overflow-y-auto ${M?"w-[560px]":"w-[260px]"}`,children:i.jsx("div",{className:M?"columns-2 gap-4":"",children:C.map(j=>{const T=v0(j);return i.jsxs("div",{className:"mb-3 break-inside-avoid px-2",children:[i.jsx(pe,{href:`/${j.slug}`,onClick:()=>b(null),className:"block px-1 py-1 text-sm font-bold text-zinc-800 hover:text-primary transition-colors border-b border-zinc-100 mb-1",children:Fs(j,r)}),T.map(P=>i.jsx(pe,{href:`/${j.slug}?sub=${P.slug}`,onClick:()=>b(null),className:"block px-1 py-1 text-[13px] text-zinc-600 hover:bg-zinc-50 hover:text-primary rounded transition-colors",children:Fs(P,r)},P.slug))]},j.slug)})})})]},w.label)}),i.jsx("div",{className:"w-[1px] h-4 self-center bg-zinc-300 shrink-0"}),i.jsx(pe,{href:"/deals",className:`relative h-full shrink-0 flex items-center justify-center text-center border-b-[3px] text-[13px] font-bold transition-colors gap-1 px-1 whitespace-nowrap text-primary ${o==="/deals"?"border-primary":"border-transparent hover:border-primary"}`,children:n("navDeal")}),i.jsx(pe,{href:"/clearance",className:`relative h-full shrink-0 flex items-center justify-center text-center border-b-[3px] text-[13px] font-bold transition-colors px-1 whitespace-nowrap text-primary ${o==="/clearance"?"border-primary":"border-transparent hover:border-primary"}`,children:n("navClearance")}),i.jsx(pe,{href:"/rent",className:"shrink-0 justify-center text-center hover:text-primary text-[13px] text-zinc-600 font-medium transition-colors h-full flex items-center border-b-[3px] border-transparent hover:border-primary whitespace-nowrap px-1",children:n("navRent")}),i.jsx(pe,{href:"/lighting",className:"shrink-0 justify-center text-center hover:text-primary text-[13px] text-zinc-600 font-medium transition-colors h-full flex items-center border-b-[3px] border-transparent hover:border-primary whitespace-nowrap px-1",children:n("navLighting")}),i.jsx(pe,{href:"/services",className:"shrink-0 justify-center text-center hover:text-primary text-[13px] text-zinc-600 font-medium transition-colors h-full flex items-center border-b-[3px] border-transparent hover:border-primary whitespace-nowrap px-1",children:n("navServices")}),i.jsx(pe,{href:"/contact",className:"shrink-0 justify-center text-center hover:text-primary text-[13px] text-zinc-600 font-medium transition-colors h-full flex items-center border-b-[3px] border-transparent hover:border-primary whitespace-nowrap px-1",children:n("navContact")})]})})]})}function nH(){const{tr:e}=Rt();return i.jsx("footer",{className:"bg-white border-t border-zinc-200 pt-16 pb-8",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-12 mb-16",children:[i.jsxs("div",{className:"space-y-6",children:[i.jsx("div",{className:"border border-zinc-200 p-2 rounded-md inline-block",children:i.jsx("img",{src:x0,alt:"World Camera",className:"h-8 object-contain"})}),i.jsx("p",{className:"text-zinc-900 font-semibold text-sm",children:e("footerTagline")}),i.jsx("p",{className:"text-zinc-500 text-sm leading-relaxed",children:e("footerDesc")}),i.jsxs("div",{className:"flex gap-4",children:[i.jsx("a",{href:"https://www.facebook.com/worldcameraofficial/?locale=th_TH",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"h-10 w-10 rounded-full flex items-center justify-center text-white transition-opacity hover:opacity-80",style:{backgroundColor:"#1877F2"},children:i.jsx(E3,{className:"h-5 w-5"})}),i.jsx("a",{href:"https://lin.ee/ZIkaE0T",target:"_blank",rel:"noopener noreferrer","aria-label":"LINE",className:"h-10 w-10 rounded-full flex items-center justify-center text-white transition-opacity hover:opacity-80",style:{backgroundColor:"#06C755"},children:i.jsx(h0,{className:"h-5 w-5"})}),i.jsx("a",{href:"https://www.youtube.com/@WorldCameraChannel",target:"_blank",rel:"noopener noreferrer","aria-label":"YouTube",className:"h-10 w-10 rounded-full flex items-center justify-center text-white transition-opacity hover:opacity-80",style:{backgroundColor:"#FF0000"},children:i.jsx(T3,{className:"h-5 w-5"})}),i.jsx("a",{href:"https://www.tiktok.com/@worldcamera",target:"_blank",rel:"noopener noreferrer","aria-label":"TikTok",className:"h-10 w-10 rounded-full flex items-center justify-center text-white transition-opacity hover:opacity-80",style:{backgroundColor:"#010101"},children:i.jsx(BU,{className:"h-5 w-5"})})]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsx("h4",{className:"text-zinc-900 font-semibold uppercase tracking-wider text-sm",children:e("footerSupport")}),i.jsxs("ul",{className:"space-y-3",children:[i.jsx("li",{children:i.jsx(pe,{href:"/tracking",className:"text-zinc-500 hover:text-primary transition-colors text-sm",children:e("footerTrack")})}),i.jsx("li",{children:i.jsx(pe,{href:"/faq",className:"text-zinc-500 hover:text-primary transition-colors text-sm",children:e("footerFaq")})}),i.jsx("li",{children:i.jsx(pe,{href:"/affiliate/join",className:"text-zinc-500 hover:text-primary transition-colors text-sm",children:"เงื่อนไขและสมัคร Affiliate"})}),i.jsx(oc,{when:"signed-in",children:i.jsx("li",{children:i.jsx(pe,{href:"/points",className:"inline-flex items-center text-zinc-500 transition-colors hover:text-primary","data-testid":"link-footer-my-points",children:e("myPoints")})})})]}),i.jsxs(pe,{href:"/services",className:"block border-t border-zinc-200 pt-5 group","data-testid":"link-footer-quote",children:[i.jsx("h5",{className:"text-sm font-bold text-primary transition-colors group-hover:text-primary/80",children:e("navServices")}),i.jsx("p",{className:"mt-1 text-xs leading-relaxed text-zinc-500",children:e("servicesQuoteDesc")})]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsx("h4",{className:"text-zinc-900 font-semibold uppercase tracking-wider text-sm",children:e("footerContact")}),i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex gap-3 text-zinc-500 text-sm",children:[i.jsx(jb,{className:"h-5 w-5 shrink-0 text-primary"}),i.jsx("span",{children:"147/190-193 ถนนบรมราชชนนี แขวงอรุณอมรินทร์ เขตบางกอกน้อย กรุงเทพมหานคร 10700"})]}),i.jsxs("li",{className:"
358flex gap-3 text-zinc-500 text-sm",children:[i.jsx(ci,{className:"h-5 w-5 shrink-0 text-primary"}),i.jsx("span",{children:"086-3427836"})]}),i.jsxs("li",{className:"flex gap-3 text-zinc-500 text-sm",children:[i.jsx(Eb,{className:"h-5 w-5 shrink-0 text-primary"}),i.jsx("span",{children:"[email protected]"})]})]})]})]}),i.jsxs("div",{className:"border-t border-zinc-200 pt-8 flex flex-col md:flex-row items-center justify-between gap-4",children:[i.jsxs("p",{className:"text-zinc-400 text-sm",children:["© ",new Date().getFullYear()," World Camera. ",e("footerAllRights")]}),i.jsxs("div",{className:"flex gap-4 text-sm text-zinc-400",children:[i.jsx(pe,{href:"/privacy",className:"hover:text-zinc-900 transition-colors",children:e("footerPrivacy")}),i.jsx(pe,{href:"/terms",className:"hover:text-zinc-900 transition-colors",children:e("footerTerms")})]})]})]})})}function w0(e,[t,n]){return Math.min(n,Math.max(t,e))}function rH(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var hy="ScrollArea",[Nk]=gn(hy),[aH,or]=Nk(hy),kk=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:c=600,...u}=e,[m,f]=y.useState(null),[h,p]=y.useState(null),[b,v]=y.useState(null),[S,N]=y.useState(null),[w,C]=y.useState(null),[R,M]=y.useState(0),[j,T]=y.useState(0),[P,I]=y.useState(!1),[_,D]=y.useState(!1),V=Le(t,$=>f($)),H=ji(o);return i.jsx(aH,{scope:n,type:r,dir:H,scrollHideDelay:c,scrollArea:m,viewport:h,onViewportChange:p,content:b,onContentChange:v,scrollbarX:S,onScrollbarXChange:N,scrollbarXEnabled:P,onScrollbarXEnabledChange:I,scrollbarY:w,onScrollbarYChange:C,scrollbarYEnabled:_,onScrollbarYEnabledChange:D,onCornerWidthChange:M,onCornerHeightChange:T,children:i.jsx(Ce.div,{dir:H,...u,ref:V,style:{position:"relative","--radix-scroll-area-corner-width":R+"px","--radix-scroll-area-corner-height":j+"px",...e.style}})})});kk.displayName=hy;var Ek="ScrollAreaViewport",jk=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:o,...c}=e,u=or(Ek,n),m=y.useRef(null),f=Le(t,m,u.onViewportChange);return i.jsxs(i.Fragment,{children:[i.jsx(sH,{nonce:o}),i.jsx(Ce.div,{"data-radix-scroll-area-viewport":"",...c,ref:f,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:i.jsx("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});jk.displayName=Ek;var sH=y.memo(({nonce:e})=>i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:e}),(e,t)=>e.nonce===t.nonce),Ur="ScrollAreaScrollbar",py=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=or(Ur,e.__scopeScrollArea),{onScrollbarXEnabledChange:c,onScrollbarYEnabledChange:u}=o,m=e.orientation==="horizontal";return y.useEffect(()=>(m?c(!0):u(!0),()=>{m?c(!1):u(!1)}),[m,c,u]),o.type==="hover"?i.jsx(oH,{...r,ref:t,forceMount:n}):o.type==="scroll"?i.jsx(iH,{...r,ref:t,forceMount:n}):o.type==="auto"?i.jsx(Rk,{...r,ref:t,forceMount:n}):o.type==="always"?i.jsx(gy,{...r,ref:t,"data-state":"visible"}):null});py.displayName=Ur;var oH=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=or(Ur,e.__scopeScrollArea),[c,u]=y.useState(!1);return y.useEffect(()=>{const m=o.scrollArea;let f=0;if(m){const h=()=>{window.clearTimeout(f),u(!0)},p=()=>{f=window.setTimeout(()=>u(!1),o.scrollHideDelay)};return m.addEventListener("pointerenter",h),m.addEventListener("pointerleave",p),()=>{window.clearTimeout(f),m.removeEventListener("pointerenter",h),m.removeEventListener("pointerleave",p)}}},[o.scrollArea,o.scrollHideDelay]),i.jsx(Pt,{present:n||c,children:i.jsx(Rk,{"data-state":c?"visible":"hidden",...r,ref:t})})}),iH=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=or(Ur,e.__scopeScrollArea),c=e.orientation==="horizontal",u=uf(()=>f("SCROLL_END"),100),[m,f]=rH("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return y.useEffect(()=>{if(m==="idle"){const h=window.setTimeout(()=>f("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(h)}},[m,o.scrollHideDelay,f]),y.useEffect(()=>{const h=o.viewport,p=c?"scrollLeft":"scrollTop";if(h){let b=h[p];const v=()=>{const S=h[p];b!==S&&(f("SCROLL"),u()),b=S};return h.addEventListener("scroll",v),()=>h.removeEventListener("scroll",v)}},[o.viewport,c,f,u]),i.jsx(Pt,{present:n||m!=="hidden",children:i.jsx(gy,{"data-state":m==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:ue(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:ue(e.onPointerLeave,()=>f("POINTER_LEAVE"))})})}),Rk=y.forwardRef((e,t)=>
vendor: 4,758 bytes, line 358
358{const n=or(Ur,e.__scopeScrollArea),{forceMount:r,...o}=e,[c,u]=y.useState(!1),m=e.orientation==="horizontal",f=uf(()=>{if(n.viewport){const h=n.viewport.offsetWidth<n.viewport.scrollWidth,p=n.viewport.offsetHeight<n.viewport.scrollHeight;u(m?h:p)}},10);return pi(n.viewport,f),pi(n.content,f),i.jsx(Pt,{present:r||c,children:i.jsx(gy,{"data-state":c?"visible":"hidden",...o,ref:t})})}),gy=y.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,o=or(Ur,e.__scopeScrollArea),c=y.useRef(null),u=y.useRef(0),[m,f]=y.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),h=Pk(m.viewport,m.content),p={...r,sizes:m,onSizesChange:f,hasThumb:h>0&&h<1,onThumbChange:v=>c.current=v,onThumbPointerUp:()=>u.current=0,onThumbPointerDown:v=>u.current=v};function b(v,S){return fH(v,u.current,m,S)}return n==="horizontal"?i.jsx(lH,{...p,ref:t,onThumbPositionChange:()=>{if(o.viewport&&c.current){const v=o.viewport.scrollLeft,S=o5(v,m,o.dir);c.current.style.transform=`translate3d(${S}px, 0, 0)`}},onWheelScroll:v=>{o.viewport&&(o.viewport.scrollLeft=v)},onDragScroll:v=>{o.viewport&&(o.viewport.scrollLeft=b(v,o.dir))}}):n==="vertical"?i.jsx(cH,{...p,ref:t,onThumbPositionChange:()=>{if(o.viewport&&c.current){const v=o.viewport.scrollTop,S=o5(v,m);c.current.style.transform=`translate3d(0, ${S}px, 0)`}},onWheelScroll:v=>{o.viewport&&(o.viewport.scrollTop=v)},onDragScroll:v=>{o.viewport&&(o.viewport.scrollTop=b(v))}}):null}),lH=y.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,c=or(Ur,e.__scopeScrollArea),[u,m]=y.useState(),f=y.useRef(null),h=Le(t,f,c.onScrollbarXChange);return y.useEffect(()=>{f.current&&m(getComputedStyle(f.current))},[f]),i.jsx(Ak,{"data-orientation":"horizontal",...o,ref:h,sizes:n,style:{bottom:0,left:c.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:c.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":cf(n)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.x),onDragScroll:p=>e.onDragScroll(p.x),onWheelScroll:(p,b)=>{if(c.viewport){const v=c.viewport.scrollLeft+p.deltaX;e.onWheelScroll(v),_k(v,b)&&p.preventDefault()}},onResize:()=>{f.current&&c.viewport&&u&&r({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:f.current.clientWidth,paddingStart:pm(u.paddingLeft),paddingEnd:pm(u.paddingRight)}})}})}),cH=y.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,c=or(Ur,e.__scopeScrollArea),[u,m]=y.useState(),f=y.useRef(null),h=Le(t,f,c.onScrollbarYChange);return y.useEffect(()=>{f.current&&m(getComputedStyle(f.current))},[f]),i.jsx(Ak,{"data-orientation":"vertical",...o,ref:h,sizes:n,style:{top:0,right:c.dir==="ltr"?0:void 0,left:c.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":cf(n)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.y),onDragScroll:p=>e.onDragScroll(p.y),onWheelScroll:(p,b)=>{if(c.viewport){const v=c.viewport.scrollTop+p.deltaY;e.onWheelScroll(v),_k(v,b)&&p.preventDefault()}},onResize:()=>{f.current&&c.viewport&&u&&r({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:f.current.clientHeight,paddingStart:pm(u.paddingTop),paddingEnd:pm(u.paddingBottom)}})}})}),[uH,Mk]=Nk(Ur),Ak=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:c,onThumbPointerUp:u,onThumbPointerDown:m,onThumbPositionChange:f,onDragScroll:h,onWheelScroll:p,onResize:b,...v}=e,S=or(Ur,n),[N,w]=y.useState(null),C=Le(t,V=>w(V)),R=y.useRef(null),M=y.useRef(""),j=S.viewport,T=r.content-r.viewport,P=Tt(p),I=Tt(f),_=uf(b,10);function D(V){if(R.current){const H=V.clientX-R.current.left,$=V.clientY-R.current.top;h({x:H,y:$})}}return y.useEffect(()=>{const V=H=>{const $=H.target;N?.contains($)&&P(H,T)};return document.addEventListener("wheel",V,{passive:!1}),()=>document.removeEventListener("wheel",V,{passive:!1})},[j,N,T,P]),y.useEffect(I,[r,I]),pi(N,_),pi(S.content,_),i.jsx(uH,{scope:n,scrollbar:N,hasThumb:o,onThumbChange:Tt(c),onThumbPointerUp:Tt(u),onThumbPositionChange:I,onThumbPointerDown:Tt(m),children:i.jsx(Ce.div,{...v,ref:C,style:{position:"absolute",...v.style},onPointerDown:ue(e.onPointerDown,V=>{V.button===0&&(V.target.setPointerCapture(V.pointerId),R.current=N.getBoundingClientRect(),M.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),D(V))}),onPointerMove:ue(e.onPointerMove,D),onPointerUp:ue(e.onPointerUp,V=>{const H=V.target;H.hasPointerCapture(V.pointerId)&&H.releasePointerCapture(V.pointerId),document.body.style.webkitUserSelect=M.current,S.viewport&&(S.viewport.style.scrollBehavior=""),R.current=null})})})}),hm="ScrollAreaThumb",Ok=y.forwardRef((e,t)=>
358{const{forceMount:n,...r}=e,o=Mk(hm,e.__scopeScrollArea);return i.jsx(Pt,{present:n||o.hasThumb,children:i.jsx(dH,{ref:t,...r})})}),dH=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...o}=e,c=or(hm,n),u=Mk(hm,n),{onThumbPositionChange:m}=u,f=Le(t,b=>u.onThumbChange(b)),h=y.useRef(void 0),p=uf(()=>{h.current&&(h.current(),h.current=void 0)},100);return y.useEffect(()=>{const b=c.viewport;if(b){const v=()=>{if(p(),!h.current){const S=hH(b,m);h.current=S,m()}};return m(),b.addEventListener("scroll",v),()=>b.removeEventListener("scroll",v)}},[c.viewport,p,m]),i.jsx(Ce.div,{"data-state":u.hasThumb?"visible":"hidden",...o,ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:ue(e.onPointerDownCapture,b=>{const S=b.target.getBoundingClientRect(),N=b.clientX-S.left,w=b.clientY-S.top;u.onThumbPointerDown({x:N,y:w})}),onPointerUp:ue(e.onPointerUp,u.onThumbPointerUp)})});Ok.displayName=hm;var by="ScrollAreaCorner",Tk=y.forwardRef((e,t)=>{const n=or(by,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?i.jsx(mH,{...e,ref:t}):null});Tk.displayName=by;var mH=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,o=or(by,n),[c,u]=y.useState(0),[m,f]=y.useState(0),h=!!(c&&m);return pi(o.scrollbarX,()=>{const p=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(p),f(p)}),pi(o.scrollbarY,()=>{const p=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(p),u(p)}),h?i.jsx(Ce.div,{...r,ref:t,style:{width:c,height:m,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function pm(e){return e?parseInt(e,10):0}function Pk(e,t){const n=e/t;return isNaN(n)?0:n}function cf(e){const t=Pk(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function fH(e,t,n,r="ltr"){const o=cf(n),c=o/2,u=t||c,m=o-u,f=n.scrollbar.paddingStart+u,h=n.scrollbar.size-n.scrollbar.paddingEnd-m,p=n.content-n.viewport,b=r==="ltr"?[0,p]:[p*-1,0];return Dk([f,h],b)(e)}function o5(e,t,n="ltr"){const r=cf(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,c=t.scrollbar.size-o,u=t.content-t.viewport,m=c-r,f=n==="ltr"?[0,u]:[u*-1,0],h=w0(e,f);return Dk([0,u],[0,m])(h)}function Dk(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function _k(e,t){return e>0&&e<t}var hH=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function o(){const c={left:e.scrollLeft,top:e.scrollTop},u=n.left!==c.left,m=n.top!==c.top;(u||m)&&t(),n=c,r=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(r)};function uf(e,t){const n=Tt(e),r=y.useRef(0);return y.useEffect(()=>()=>window.clearTimeout(r.current),[]),y.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function pi(e,t){const n=Tt(t);Ft(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}var Ik=kk,pH=jk,gH=Tk;const qc=y.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(Ik,{ref:r,className:ce("relative overflow-hidden",e),...n,children:[i.jsx(pH,{className:"h-full w-full rounded-[inherit]",children:t}),i.jsx(Fk,{}),i.jsx(gH,{})]}));qc.displayName=Ik.displayName;const Fk=y.forwardRef(({className:e,orientation:t="vertical",...n},r)=>i.jsx(py,{ref:r,orientation:t,className:ce("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:i.jsx(Ok,{className:"relative flex-1 rounded-full bg-border"})}));Fk.displayName=py.displayName;const bH=new Set([204,205,304]),yH="application/json, application/problem+json";function zk(e){return typeof Request<"u"&&e instanceof Request}function xH(e,t){return t?t.toUpperCase():zk(e)?e.method.toUpperCase():"GET"}function vH(e){return typeof URL<"u"&&e instanceof URL}function wH(e){return typeof e=="string"?e:vH(e)?e.toString():e.url}function SH(...e){const t=new Headers;
358for(const n of e)n&&new Headers(n).forEach((r,o)=>{t.set(o,r)});return t}function Lk(e){const t=e.get("content-type");return t?t.split(";",1)[0].trim().toLowerCase():null}function S0(e){return e==="application/json"||!!e?.endsWith("+json")}function Uk(e){return!!(e&&(e.startsWith("text/")||e==="application/xml"||e==="text/xml"||e.endsWith("+xml")||e==="application/x-www-form-urlencoded"))}function Vk(e,t){return!!(t==="HEAD"||bH.has(e.status)||e.headers.get("content-length")==="0"||e.body===null)}function Bk(e){return e.charCodeAt(0)===65279?e.slice(1):e}function Wk(e){const t=e.trimStart();return t.startsWith("{")||t.startsWith("[")}function Fl(e,t){if(!e||typeof e!="object")return;const n=e[t];if(typeof n!="string")return;const r=n.trim();return r===""?void 0:r}function CH(e,t=300){return e.length>t?`${e.slice(0,t-1)}…`:e}function NH(e,t){const n=`HTTP ${e.status} ${e.statusText}`;if(typeof t=="string"){const u=t.trim();return u?`${n}: ${CH(u)}`:n}const r=Fl(t,"title"),o=Fl(t,"detail"),c=Fl(t,"message")??Fl(t,"error_description")??Fl(t,"error");return r&&o?`${n}: ${r} — ${o}`:o?`${n}: ${o}`:c?`${n}: ${c}`:r?`${n}: ${r}`:n}class kH extends Error{name="ApiError";status;statusText;data;headers;response;method;url;constructor(t,n,r){super(NH(t,n)),Object.setPrototypeOf(this,new.target.prototype),this.status=t.status,this.statusText=t.statusText,this.data=n,this.headers=t.headers,this.response=t,this.method=r.method,this.url=t.url||r.url}}class EH extends Error{name="ResponseParseError";status;statusText;headers;response;method;url;rawBody;cause;constructor(t,n,r,o){super(`Failed to parse response from ${o.method} ${t.url||o.url} (${t.status} ${t.statusText}) as JSON`),Object.setPrototypeOf(this,new.target.prototype),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers,this.response=t,this.method=o.method,this.url=t.url||o.url,this.rawBody=n,this.cause=r}}async function jH(e,t){const n=await e.text(),r=Bk(n);if(r.trim()==="")return null;try{return JSON.parse(r)}catch(o){throw new EH(e,n,o,t)}}async function RH(e,t){if(Vk(e,t))return null;const n=Lk(e.headers);if(n&&!S0(n)&&!Uk(n))return typeof e.blob=="function"?e.blob():e.text();const r=await e.text(),o=Bk(r);if(o.trim()==="")return null;if(S0(n)||Wk(o))try{return JSON.parse(o)}catch{return r}return r}function MH(e){const t=Lk(e.headers);return S0(t)?"json":Uk(t)||t==null?"text":"blob"}async function AH(e,t,n){if(Vk(e,n.method))return null;switch(t==="auto"?MH(e):t){case"json":return jH(e,n);case"text":{const o=await e.text();return o===""?null:o}case"blob":if(typeof e.blob!="function")throw new TypeError('Blob responses are not supported in this runtime. Use responseType "json" or "text" instead.');return e.blob()}}async function xt(e,t={}){e=e;const{responseType:n="auto",headers:r,...o}=t,c=xH(e,o.method);if(o.body!=null&&(c==="GET"||c==="HEAD"))throw new TypeError(`customFetch: ${c} requests cannot have a body.`);const u=SH(zk(e)?e.headers:void 0,r);typeof o.body=="string"&&!u.has("content-type")&&Wk(o.body)&&u.set("content-type","application/json"),n==="json"&&!u.has("accept")&&u.set("accept",yH);const m={method:c,url:wH(e)},f=await fetch(e,{...o,method:c,headers:u});if(!f.ok){const h=await RH(f,c);throw new kH(f,h,m)}return await AH(f,n,m)}const kn=(e,t)=>{const n={queryKey:t};for(const r of Object.keys(e))r!=="queryKey"&&Object.defineProperty(n,r,{enumerable:!0,configurable:!0,get:()=>e[r]});return n},OH=()=>"/api/rental-requests",TH=async(e,t)=>xt(OH(),{...t,method:"POST",headers:{"Content-Type":"application/json",...t?.headers},body:JSON.stringify(e)}),PH=e=>{const t=["createRentalRequest"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{data:u}=c??{};return TH(u,r)},...n}},DH=e=>sr(PH()),_H=()=>"/api/quote-requests",IH=async(e,t)=>xt(_H(),{...t,method:"POST",headers:{"Content-Type":"application/json",...t?.headers},body:JSON.stringify(e)}),FH=e=>{const t=["createQuoteRequest"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{data:u}=c??{};return IH(u,r)},...n}},zH=e=>sr(FH()),LH=()=>"/api/orders",UH=async(e,t)=>xt(LH(),{...t,method:"POST",headers:{"Content-Type":"application/json",...t?.headers},body:JSON.stringify(e)}),VH=e=>{const t=["createOrder"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{data:u}=c??{};return UH(u,r)},...n}},BH=e=>sr(VH()),WH=()=>"/api/orders/me",KH=async e=>xt(WH(),{...e,method:"GET"}),Kk=()=>["/api/orders/me"],HH=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??Kk(),queryFn:({signal:c})=>KH({signal:c,...n}),...t}};function qH(e){const t=HH(e),n=Nn(t);return kn(n,t.queryKey)}const XH=()=>"/api/preorder-settings",YH=async e=>xt(XH(),{...e,method:"GET"}),yy=()=>["/api/preorder-settings"],$H=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??yy(),queryFn:({signal:c})=>YH({signal:c,...n}),...t}};function GH(e){const t=$H(e),n=Nn(t);return kn(n,t.queryKey)}const ZH=()=>"/api/product-specs",QH=async e=>xt(ZH(),{...e,method:"GET"}),df=()=>["/api/product-specs"],JH=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??df(),queryFn:({signal:c})=>QH({signal:c,...n}),...t}};function Hk(e){const t=JH(e),n=Nn(t);return kn(n,t.queryKey)}const eq=()=>"/api/warranty-options",tq=async e=>xt(eq(),{...e,method:"GET"}),xy=()=>["/api/warranty-options"],nq=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??xy(),queryFn:({signal:c})=>tq({signal:c,...n}),...t}};function qk(e){const t=nq(e),n=Nn(t);return kn(n,t.queryKey)}const rq=()=>"/api/loyalty/me",aq=async e=>xt(rq(),{...e,method:"GET"}),mf=()=>["/api/loyalty/me"],sq=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??mf(),queryFn:({signal:c})=>aq({signal:c,...n}),...t}};function Xk(e){const t=sq(e),n=Nn(t);return kn(n,t.queryKey)}const oq=e=>`/api/products/${e}/reviews`,iq=async(e,t)=>xt(oq(e),{...t,method:"GET"}),C0=e=>[`/api/products/${e}/reviews`],lq=(e,t)=>
358{const{query:n,request:r}=t??{};return{queryKey:n?.queryKey??C0(e),queryFn:({signal:u})=>iq(e,{signal:u,...r}),enabled:e!=null,...n}};function cq(e,t){const n=lq(e,t),r=Nn(n);return kn(r,n.queryKey)}const uq=e=>`/api/products/${e}/reviews`,dq=async(e,t,n)=>xt(uq(e),{...n,method:"POST",headers:{"Content-Type":"application/json",...n?.headers},body:JSON.stringify(t)}),mq=e=>{const t=["createProductReview"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{productId:u,data:m}=c??{};return dq(u,m,r)},...n}},fq=e=>sr(mq()),hq=()=>"/api/affiliate/me",pq=async e=>xt(hq(),{...e,method:"GET"}),Yk=()=>["/api/affiliate/me"],gq=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??Yk(),queryFn:({signal:c})=>pq({signal:c,...n}),...t}};function bq(e){const t=gq(e),n=Nn(t);return kn(n,t.queryKey)}const yq=e=>{const t=new URLSearchParams;Object.entries({}).forEach(([r,o])=>{o!==void 0&&t.append(r,o===null?"null":String(o))});const n=t.toString();return n.length>0?`/api/admin/orders?${n}`:"/api/admin/orders"},xq=async(e,t)=>xt(yq(),{...t,method:"GET"}),$k=e=>["/api/admin/orders"],vq=(e,t)=>{const{query:n,request:r}=t??{};return{queryKey:n?.queryKey??$k(),queryFn:({signal:u})=>xq(e,{signal:u,...r}),...n}};function wq(e,t){const n=vq(e,t),r=Nn(n);return kn(r,n.queryKey)}const Sq=()=>"/api/admin/preorder-products",Cq=async e=>xt(Sq(),{...e,method:"GET"}),N0=()=>["/api/admin/preorder-products"],Nq=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??N0(),queryFn:({signal:c})=>Cq({signal:c,...n}),...t}};function kq(e){const t=Nq(e),n=Nn(t);return kn(n,t.queryKey)}const Eq=e=>`/api/admin/preorder-products/${e}`,jq=async(e,t,n)=>xt(Eq(e),{...n,method:"PUT",headers:{"Content-Type":"application/json",...n?.headers},body:JSON.stringify(t)}),Rq=e=>{const t=["updatePreorderLeadTime"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{productId:u,data:m}=c??{};return jq(u,m,r)},...n}},Mq=e=>sr(Rq()),Aq=()=>"/api/admin/product-specs",Oq=async e=>xt(Aq(),{...e,method:"GET"}),k0=()=>["/api/admin/product-specs"],Tq=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??k0(),queryFn:({signal:c})=>Oq({signal:c,...n}),...t}};function Pq(e){const t=Tq(e),n=Nn(t);return kn(n,t.queryKey)}const Dq=e=>`/api/admin/product-specs/${e}`,_q=async(e,t,n)=>xt(Dq(e),{...n,method:"PUT",headers:{"Content-Type":"application/json",...n?.headers},body:JSON.stringify(t)}),Iq=e=>{const t=["updateProductSpecValues"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{productId:u,data:m}=c??{};return _q(u,m,r)},...n}},Fq=e=>sr(Iq()),zq=()=>"/api/admin/affiliates",Lq=async e=>xt(zq(),{...e,method:"GET"}),Gk=()=>["/api/admin/affiliates"],Uq=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??Gk(),queryFn:({signal:c})=>Lq({signal:c,...n}),...t}};function Vq(e){const t=Uq(e),n=Nn(t);return kn(n,t.queryKey)}const Bq=e=>`/api/admin/affiliates/commissions/${e}/mark-paid`,Wq=async(e,t,n)=>xt(Bq(e),{...n,method:"POST",headers:{"Content-Type":"application/json",...n?.headers},body:JSON.stringify(t)}),Kq=e=>{const t=["markAffiliateCommissionPaid"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{commissionId:u,data:m}=c??{};return Wq(u,m,r)},...n}},Hq=e=>sr(Kq()),qq=e=>`/api/admin/orders/${e}/confirm`,Xq=async(e,t)=>xt(qq(e),{...t,method:"POST"}),Yq=e=>{const t=["confirmOrder"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{orderNumber:u}=c??{};return Xq(u,r)},...n}},$q=e=>sr(Yq()),Gq=e=>`/api/admin/orders/${e}/cancel`,Zq=async(e,t)=>xt(Gq(e),{...t,method:"POST"}),Qq=e=>{const t=["cancelOrder"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{orderNumber:u}=c??{};return Zq(u,r)},...n}},Jq=e=>sr(Qq()),eX=()=>"/api/chat/messages",tX=async e=>xt(eX(),{...e,method:"GET"}),Zk=()=>["/api/chat/messages"],nX=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??Zk(),queryFn:({signal:c})=>tX({signal:c,...n}),...t}};function rX(e){const t=nX(e),n=Nn(t);return kn(n,t.queryKey)}const aX=()=>"/api/chat/messages",sX=async(e,t)=>xt(aX(),{...t,method:"POST",headers:{"Content-Type":"application/json",...t?.headers},body:JSON.stringify(e)}),oX=e=>{const t=["sendChatMessage"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{data:u}=c??{};return sX(u,r)},...n}},iX=e=>sr(oX()),lX=()=>"/api/admin/chat/conversations",cX=async e=>xt(lX(),{...e,method:"GET"}),vy=()=>["/api/admin/chat/conversations"],uX=e=>{const{query:t,request:n}=e??{};return{queryKey:t?.queryKey??vy(),queryFn:({signal:c})=>cX({signal:c,...n}),...t}};function dX(e){const t=uX(e),n=Nn(t);return kn(n,t.queryKey)}const mX=e=>`/api/admin/chat/conversations/${e}`,fX=async(e,t)=>xt(mX(e),{...t,method:"GET"}),Qk=e=>[`/api/admin/chat/conversations/${e}`],hX=(e,t)=>{const{query:n,request:r}=t??{};return{queryKey:n?.queryKey??Qk(e),queryFn:({signal:u})=>fX(e,{signal:u,...r}),enabled:e!=null,...n}};function pX(e,t){const n=hX(e,t),r=Nn(n);return kn(r,n.queryKey)}const gX=e=>`/api/admin/chat/conversations/${e}/messages`,bX=async(e,t,n)=>xt(gX(e),{...n,method:"POST",headers:{"Content-Type":"application/json",...n?.headers},body:JSON.stringify(t)}),yX=e=>{const t=["sendAdminChatMessage"],{mutation:n,request:r}={mutation:{mutationKey:t},request:void 0};return{mutationFn:c=>{const{customerId:u,data:m}=c??{};return bX(u,m,r)},...n}},xX=e=>sr(yX()),vX=14;function Xc(){const e=GH({query:{queryKey:yy(),staleTime:6e4,retry:!1}}),t=y.useMemo(()=>new Map((e.data?.settings??[]).map(n=>[n.productId,n.leadDays])),[e.data?.settings]);return{getLeadDays:n=>t.get(n)??vX,isLoading:e.isLoading}}function wX(e){return new Intl.DateTimeFormat("th-TH",{day:"numeric",month:"short",year:"numeric"}).format(new Date(e))}const SX={world_warranty:{th:"World Warranty",en:"World Warranty",zh:"World Warranty"},world_warranty_plus:{th:"World Warranty Plus",en:"World Warranty Plus",zh:"World Warranty Plus"}};function Jk(e,t){return SX[e][t]}function CX(){const{items:e,isCartOpen:t,setIsCartOpen:n,removeItem:r,updateQuantity:o,setWarrantyPlan:c,subtotal:u,totalItems:m}=Ei(),[,f]=ts(),{tr:h,lang:p}=Rt(),{getLeadDays:b}=Xc(),v=qk({query:{queryKey:xy(),retry:!1}});return i.jsx(af,{open:t,onOpenChange:n,children:i.jsxs(Kc,{className:"w-full sm:max-w-md flex flex-col p-0 bg-card border-l-white/10",children:[i.jsx(cy,{className:"p-6 pb-4 border-b border-white/5",children:i.jsxs(sf,{className:"flex items-center gap-2 text-xl",children:[i.jsx(lc,{className:"h-5 w-5 text-primary"}),h("shoppingCart")," (",m,")"]})}),i.jsx("div",{className:"flex-1 overflow-hidden",children:i.jsx(qc,{className:"h-full",children:e.length===0?i.jsxs("div",{className:"flex flex-col items-center justify-center h-64 text-muted-foreground gap-4 p-6 text-center",children:[i.jsx(lc,{className:"h-12 w-12 opacity-20"}),i.jsx("p",{children:h("cartEmpty")}),i.jsx(xe,{variant:"outline",onClick:()=>n(!1),className:"mt-4 border-white/10 hover:bg-white/5",children:h("continueShopping")})]}):i.jsx("div",{className:"flex flex-col p-6 gap-6",children:e.map(S=>{const N=v.data?.products.find(C=>C.productId===S.product.id),w=Dc(S.product.id,S.variant);return i.jsxs("div",{className:"flex gap-4 group",children:[i.jsx("div",{className:"h-20 w-20 bg-white rounded-md border border-white/5 overflow-hidden shrink-0 flex items-center justify-center",children:i.jsx("img",{src:S.product.image,alt:S.product.name,className:"max-h-full max-w-full object-contain p-2 group-hover:scale-110 transition-transform duration-300"})}),i.jsxs("div",{className:"flex flex-col justify-between flex-1 min-w-0",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-start gap-2",children:[i.jsx("h4",{className:"font-medium text-sm line-clamp-2 leading-tight",children:S.product.name}),i.jsx("button",{onClick:()=>r(w),className:"text-muted-foreground hover:text-destructive transition-colors",children:i.jsx(pI,{className:"h-4 w-4"})})]}),i.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:S.product.brand}),S.variant&&i.jsx("p",{className:"mt-1 text-xs text-zinc-300",children:[S.variant.size,S.variant.color].filter(
358Boolean).join(" · ")}),i.jsx("p",{className:"mt-1 flex items-center gap-1 text-xs text-primary",children:S.product.readyStock?"สินค้าพร้อมส่ง":i.jsxs(i.Fragment,{children:[i.jsx(Ac,{className:"h-3 w-3"})," Pre-Order · รับภายใน ",b(S.product.id)," วัน"]})}),N?.plans.length?i.jsxs("label",{className:"mt-2 flex items-center gap-2 text-xs text-emerald-300",children:[i.jsx("span",{className:"shrink-0",children:h("warrantyShortLabel")}),i.jsxs("select",{"aria-label":`${h("warrantyShortLabel")} ${S.product.name}`,value:S.warrantyPlan??"",onChange:C=>{const R=C.target.value,M=N.plans.find(j=>j.planId===R);c(w,M?.planId,M?.price)},className:"min-w-0 rounded border border-emerald-400/30 bg-background px-1.5 py-1 text-xs text-foreground",children:[i.jsx("option",{value:"",children:h("warrantyNoThanks")}),N.plans.map(C=>i.jsxs("option",{value:C.planId,children:[C.name[p]," (+฿",C.price.toLocaleString("th-TH"),")"]},C.planId))]})]}):S.warrantyPlan?i.jsx("p",{className:"mt-2 text-xs text-emerald-300",children:Jk(S.warrantyPlan,p)}):null]}),i.jsxs("div",{className:"flex items-center justify-between mt-2",children:[i.jsxs("div",{className:"flex items-center gap-2 bg-background border border-white/5 rounded-full px-2 py-1",children:[i.jsx("button",{onClick:()=>o(w,S.quantity-1),disabled:S.quantity<=1,className:"text-muted-foreground hover:text-foreground disabled:opacity-50",children:i.jsx(L_,{className:"h-3 w-3"})}),i.jsx("span",{className:"text-xs font-medium w-4 text-center",children:S.quantity}),i.jsx("button",{onClick:()=>o(w,S.quantity+1),className:"text-muted-foreground hover:text-foreground",children:i.jsx(Y_,{className:"h-3 w-3"})})]}),i.jsx("span",{className:"font-semibold text-primary",children:Ve(((S.product.salePrice||S.product.regularPrice)+(S.warrantyUnitPrice??0))*S.quantity)})]})]})]},w)})})})}),e.length>0&&i.jsxs("div",{className:"p-6 border-t border-white/5 bg-background/50 backdrop-blur",children:[i.jsxs("div",{className:"flex justify-between text-sm mb-4",children:[i.jsx("span",{className:"text-muted-foreground",children:h("subtotal")}),i.jsx("span",{className:"font-bold",children:Ve(u)})]}),i.jsx("p",{className:"text-xs text-muted-foreground mb-6 text-center",children:h("shippingNote")}),i.jsx(xe,{className:"w-full h-12 text-base font-semibold",size:"lg",onClick:()=>{n(!1),f("/checkout")},children:h("checkoutNow")})]})]})})}function NX({onClose:e}){const{isSignedIn:t,isLoaded:n}=Bn(),[r,o]=y.useState(""),c=y.useRef(null),u=rX({query:{queryKey:Zk(),enabled:!!t,refetchInterval:3e3}}),m=iX(),f=u.data?.messages??[];y.useEffect(()=>{f.length>0&&c.current?.scrollIntoView({behavior:"smooth"})},[f.length]);const h=p=>{p.preventDefault();const b=r.trim();!b||m.isPending||m.mutate({data:{body:b}},{onSuccess:()=>{o(""),u.refetch()}})};return i.jsxs("section",{id:"customer-chat-panel","aria-label":"แชทกับร้านค้า",className:"flex h-[min(34rem,calc(100dvh-7.5rem))] w-[min(24rem,calc(100vw-2rem))] flex-col overflow-hidden rounded-2xl border border-white/15 bg-zinc-950 shadow-2xl shadow-black/50","data-testid":"customer-chat-panel",children:[i.jsxs("header",{className:"flex shrink-0 items-center gap-3 border-b border-white/10 bg-zinc-900 px-4 py-3",children:[i.jsx("span",{className:"grid h-9 w-9 place-items-center rounded-full bg-primary/15 text-primary",children:i.jsx(ic,{className:"h-5 w-5"})}),i.jsxs("div",{className:"min-w-0 flex-1",children:[i.jsx("h2",{className:"text-sm font-bold text-white",children:"แชทกับ World Camera"}),i.jsx("p",{className:"text-xs text-zinc-400",children:"ส่งข้อความถึงทีมงานของเรา"})]}),i.jsx("button",{type:"button",onClick:e,className:"rounded-md p-1.5 text-zinc-400 transition-colors hover:bg-white/10 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary","aria-label":"ปิดกล่องแชต","data-testid":"button-close-customer-chat",children:i.jsx(_r,{className:"h-4 w-4"})})]}),n?t?u.isLoading?i.jsx("div",{className:"grid flex-1 place-items-center",children:i.jsx(yt,{className:"h-6 w-6 animate-spin text-primary"})}):u.isError?i.jsxs("div",{className:"flex flex-1 flex-col items-center justify-center px-7 text-center","data-testid":"status-chat-load-error",children:[i.jsx(pn,{className:"mb-3 h-9 w-9 text-primary"}),i.jsx("h3",{className:"text-base font-bold text-white",children:"เปิดแชตไม่สำเร็จ"}),i.jsx("p",{className:"mt-2 text-sm text-zinc-400",children:"กรุณาลองเปิดกล่องแชตอีกครั้ง"})]}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex-1 space-y-3 overflow-y-auto p-4",children:[f.length===0&&i.jsxs("div",{className:"flex h-full flex-col items-center justify-center text-center text-zinc-500",children:[i.jsx(ic,{className:"mb-3 h-9 w-9 opacity-30"}),i.jsx("p",{className:"text-sm",children:"ส่งข้อความเพื่อติดต่อพนักงานของเรา"})]}),f.map(p=>i.jsxs("div",{className:`flex max-w-[86%] flex-col ${p.senderRole==="customer"?"ml-auto items-end":"mr-auto items-start"}`,"data-testid":`message-${p.id}`,children:[i.jsx("div",{className:`rounded-2xl px-3 py-2 text-sm ${p.senderRole==="customer"?"rounded-tr-sm bg-zinc-800 text-white":"rounded-tl-sm bg-primary text-white"}`,children:p.body}),i.jsx("span",{className:"mt-1 px-1 text-[10px] text-zinc-500",children:new Intl.DateTimeFormat("th-TH",{timeStyle:"short"}).format(new Date(p.createdAt))})]}
358,p.id)),i.jsx("div",{ref:c})]}),i.jsx("div",{className:"shrink-0 border-t border-white/10 bg-zinc-900/70 p-3",children:i.jsxs("form",{onSubmit:h,className:"flex gap-2",children:[i.jsx(ct,{value:r,onChange:p=>o(p.target.value),placeholder:"พิมพ์ข้อความ...",className:"h-10 flex-1 bg-zinc-950 text-sm",disabled:m.isPending,"data-testid":"input-chat-message"}),i.jsx(xe,{type:"submit",disabled:!r.trim()||m.isPending,className:"h-10 w-10 shrink-0 bg-primary p-0 hover:bg-primary/90","aria-label":"ส่งข้อความ","data-testid":"button-send-message",children:m.isPending?i.jsx(yt,{className:"h-4 w-4 animate-spin"}):i.jsx(A3,{className:"h-4 w-4"})})]})})]}):i.jsxs("div",{className:"flex flex-1 flex-col items-center justify-center px-7 text-center","data-testid":"status-chat-sign-in-required",children:[i.jsx(pn,{className:"mb-3 h-9 w-9 text-primary"}),i.jsx("h3",{className:"text-base font-bold text-white",children:"เข้าสู่ระบบก่อนเริ่มแชต"}),i.jsx("p",{className:"mt-2 text-sm leading-relaxed text-zinc-400",children:"เพื่อเก็บประวัติการสนทนาและให้ทีมงานติดต่อกลับได้"}),i.jsx(pe,{href:"/sign-in",onClick:e,className:"mt-5 inline-flex h-10 items-center justify-center rounded-lg bg-primary px-4 text-sm font-semibold text-white transition-colors hover:bg-primary/90","data-testid":"link-chat-sign-in",children:"เข้าสู่ระบบ"})]}):i.jsx("div",{className:"grid flex-1 place-items-center",children:i.jsx(yt,{className:"h-6 w-6 animate-spin text-primary"})})]})}const kX="https://lin.ee/ZIkaE0T",i5="world-camera:open-customer-chat";function EX(){const[e,t]=y.useState(!1);return y.useEffect(()=>{const n=()=>t(!0);return window.addEventListener(i5,n),()=>window.removeEventListener(i5,n)},[]),i.jsxs("div",{className:"fixed bottom-5 right-4 z-40 flex flex-col items-end gap-3 sm:bottom-7 sm:right-7",children:[e&&i.jsxs(i.Fragment,{children:[i.jsxs("a",{href:kX,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 rounded-full border border-[#06C755]/40 bg-zinc-950 px-3 py-2 text-xs font-semibold text-white shadow-lg transition-colors hover:bg-[#06C755]/15","data-testid":"link-line-oa-launcher",children:[i.jsx("span",{className:"grid h-4 w-4 place-items-center rounded-full bg-[#06C755] text-[9px] font-black text-white",children:"L"}),"เปิด LINE OA",i.jsx(k3,{className:"h-3.5 w-3.5 text-zinc-400"})]}),i.jsx(NX,{onClose:()=>t(!1)})]}),i.jsxs("button",{type:"button",onClick:()=>t(n=>!n),className:"flex h-12 items-center gap-2 rounded-full bg-primary px-4 text-sm font-bold text-white shadow-lg shadow-black/30 transition-all hover:bg-primary/90 hover:shadow-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background sm:h-14 sm:px-5","aria-expanded":e,"aria-controls":"customer-chat-panel","data-testid":"button-open-chat-launcher",children:[e?i.jsx(_r,{className:"h-5 w-5"}):i.jsx(Rb,{className:"h-5 w-5"}),i.jsx("span",{children:"แชทกับร้านค้า"})]})]})}const gm="world-camera-affiliate-referral",jX=720*60*60*1e3,e8=/^[A-Z0-9-]{4,32}$/;function RX(e){return e.trim().toUpperCase()}function E0(){try{const e=window.localStorage.getItem(gm);if(!e)return null;const t=JSON.parse(e);return!e8.test(t.code)||!Number.isFinite(t.expiresAt)||t.expiresAt<=Date.now()?(window.localStorage.removeItem(gm),null):t.code}catch{return null}}function t8(){const e=E0();if(e)return e;const t=new URLSearchParams(window.location.search).get("ref");if(!t)return null;const n=RX(t);if(!e8.test(n))return null;try{window.localStorage.setItem(gm,JSON.stringify({code:n,expiresAt:Date.now()+jX}))}catch{return null}return n}function MX(){try{window.localStorage.removeItem(gm)}catch{}}function AX(){const[e]=ts();return y.useEffect(()=>{t8()},[e]),null}const n8=y.createContext({});function OX(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}const TX=typeof window<"u",PX=TX?y.useLayoutEffect:y.useEffect,wy=y.createContext(null);function Sy(e,t){e.indexOf(t)===-1&&e.push(t)}function bm(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const zr=(e,t,n)=>n>t?t:n<e?e:n;let Cy=()=>{};const Qa={},r8=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),a8=e=>typeof e=="object"&&e!==null,s8=e=>/^0[^.\s]+$/u.test(e);function o8(e){let t;return()=>(t===void 0&&(t=e()),t)}const rr=e=>e,Yc=(...e)=>e.reduce((t,n)=>r=>n(t(r))),mc=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class Ny{constructor(){this.subscriptions=[]}add(t){return Sy(this.subscriptions,t),()=>bm(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let c=0;c<o;c++){const u=this.subscriptions[c];u&&u(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ln=e=>e*1e3,tr=e=>e/1e3,i8=(e,t)=>
vendor: 33,856 bytes, line 358
358t?e*(1e3/t):0,l8=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,DX=1e-7,_X=12;function IX(e,t,n,r,o){let c,u,m=0;do u=t+(n-t)/2,c=l8(u,r,o)-e,c>0?n=u:t=u;while(Math.abs(c)>DX&&++m<_X);return u}function $c(e,t,n,r){if(e===t&&n===r)return rr;const o=c=>IX(c,0,1,e,n);return c=>c===0||c===1?c:l8(o(c),t,r)}const c8=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,u8=e=>t=>1-e(1-t),d8=$c(.33,1.53,.69,.99),ky=u8(d8),m8=c8(ky),f8=e=>e>=1?1:(e*=2)<1?.5*ky(e):.5*(2-Math.pow(2,-10*(e-1))),Ey=e=>1-Math.sin(Math.acos(e)),h8=u8(Ey),p8=c8(Ey),FX=$c(.42,0,1,1),zX=$c(0,0,.58,1),g8=$c(.42,0,.58,1),LX=e=>Array.isArray(e)&&typeof e[0]!="number",b8=e=>Array.isArray(e)&&typeof e[0]=="number",UX={linear:rr,easeIn:FX,easeInOut:g8,easeOut:zX,circIn:Ey,circInOut:p8,circOut:h8,backIn:ky,backInOut:m8,backOut:d8,anticipate:f8},VX=e=>typeof e=="string",l5=e=>{if(b8(e)){Cy(e.length===4);const[t,n,r,o]=e;return $c(t,n,r,o)}else if(VX(e))return UX[e];return e},Rd=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function BX(e,t){let n=new Set,r=new Set,o=!1,c=!1;const u=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function f(p){u.has(p)&&(h.schedule(p),e()),p(m)}const h={schedule:(p,b=!1,v=!1)=>{const N=v&&o?n:r;return b&&u.add(p),N.add(p),p},cancel:p=>{r.delete(p),u.delete(p)},process:p=>{if(m=p,o){c=!0;return}o=!0;const b=n;n=r,r=b,n.forEach(f),n.clear(),o=!1,c&&(c=!1,h.process(p))}};return h}const WX=40;function y8(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>n=!0,u=Rd.reduce((j,T)=>(j[T]=BX(c),j),{}),{setup:m,read:f,resolveKeyframes:h,preUpdate:p,update:b,preRender:v,render:S,postRender:N}=u,w=()=>{const j=Qa.useManualTiming,T=j?o.timestamp:performance.now();n=!1,j||(o.delta=r?1e3/60:Math.max(Math.min(T-o.timestamp,WX),1)),o.timestamp=T,o.isProcessing=!0,m.process(o),f.process(o),h.process(o),p.process(o),b.process(o),v.process(o),S.process(o),N.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(w))},C=()=>{n=!0,r=!0,o.isProcessing||e(w)};return{schedule:Rd.reduce((j,T)=>{const P=u[T];return j[T]=(I,_=!1,D=!1)=>(n||C(),P.schedule(I,_,D)),j},{}),cancel:j=>{for(let T=0;T<Rd.length;T++)u[Rd[T]].cancel(j)},state:o,steps:u}}const{schedule:ht,cancel:Ja,state:Qt,steps:Rg}=y8(typeof requestAnimationFrame<"u"?requestAnimationFrame:rr,!0);let Bd;function KX(){Bd=void 0}const fn={now:()=>(Bd===void 0&&fn.set(Qt.isProcessing||Qa.useManualTiming?Qt.timestamp:performance.now()),Bd),set:e=>{Bd=e,queueMicrotask(KX)}},x8=e=>t=>typeof t=="string"&&t.startsWith(e),v8=x8("--"),HX=x8("var(--"),jy=e=>HX(e)?qX.test(e.split("/*")[0].trim()):!1,qX=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function c5(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ri={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},fc={...Ri,transform:e=>zr(0,1,e)},Md={...Ri,default:1},Zl=e=>Math.round(e*1e5)/1e5,Ry=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function XX(e){return e==null}const YX=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,My=(e,t)=>n=>!!(typeof n=="string"&&YX.test(n)&&n.startsWith(e)||t&&!XX(n)&&Object.prototype.hasOwnProperty.call(n,t)),w8=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,c,u,m]=r.match(Ry);return{[e]:parseFloat(o),[t]:parseFloat(c),[n]:parseFloat(u),alpha:m!==void 0?parseFloat(m):1}},$X=e=>zr(0,255,e),Mg={...Ri,transform:e=>Math.round($X(e))},_s={test:My("rgb","red"),parse:w8("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Mg.transform(e)+", "+Mg.transform(t)+", "+Mg.transform(n)+", "+Zl(fc.transform(r))+")"};function GX(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const j0={test:My("#"),parse:GX,transform:_s.transform},Gc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),sa=Gc("deg"),Fr=Gc("%"),we=Gc("px"),ZX=Gc("vh"),QX=Gc("vw"),u5={...Fr,parse:e=>Fr.parse(e)/100,transform:e=>Fr.transform(e*100)},ti={test:My("hsl","hue"),parse:w8("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Fr.transform(Zl(t))+", "+Fr.transform(Zl(n))+", "+Zl(fc.transform(r))+")"},It={test:e=>_s.test(e)||j0.test(e)||ti.test(e),parse:e=>_s.test(e)?_s.parse(e):ti.test(e)?ti.parse(e):j0.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?_s.transform(e):ti.transform(e),getAnimatableNone:e=>{const t=It.parse(e);return t.alpha=0,It.transform(t)}},JX=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function eY(e){return isNaN(e)&&typeof e=="string"&&(e.match(Ry)?.length||0)+(e.match(JX)?.length||0)>0}const S8="number",C8="color",tY="var",nY="var(",d5="${}",rY=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function gi(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let c=0;const m=t.replace(rY,f=>(It.test(f)?(r.color.push(c),o.push(C8),n.push(It.parse(f))):f.startsWith(nY)?(r.var.push(c),o.push(tY),n.push(f)):(r.number.push(c),o.push(S8),n.push(parseFloat(f))),++c,d5)).split(d5);return{values:n,split:m,indexes:r,types:o}}function aY(e){return gi(e).values}function N8({split:e,types:t}){const n=e.length;return r=>{let o="";for(let c=0;c<n;c++)if(o+=e[c],r[c]!==void 0){const u=t[c];u===S8?o+=Zl(r[c]):u===C8?o+=It.transform(r[c]):o+=r[c]}return o}}function sY(e){return N8(gi(e))}const oY=e=>typeof e=="number"?0:It.test(e)?It.getAnimatableNone(e):e,iY=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:oY(e);function lY(e){const t=gi(e);return N8(t)(t.values.map((r,o)=>iY(r,t.split[o])))}const gr={test:eY,parse:aY,createTransformer:sY,getAnimatableNone:lY};function Ag(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function cY({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,c=0,u=0;if(!t)o=c=u=n;else{const m=n<.5?n*(1+t):n+t-n*t,f=2*n-m;o=Ag(f,m,e+1/3),c=Ag(f,m,e),u=Ag(f,m,e-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:r}}function ym(e,t){return n=>n>0?t:e}const ft=(e,t,n)=>e+(t-e)*n,Og=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},uY=[j0,_s,ti],dY=e=>uY.find(t=>t.test(e));function m5(e){const t=dY(e);if(!t)return!1;let n=t.parse(e);return t===ti&&(n=cY(n)),n}const f5=(e,t)=>{const n=m5(e),r=m5(t);if(!n||!r)return ym(e,t);const o={...n};return c=>(o.red=Og(n.red,r.red,c),o.green=Og(n.green,r.green,c),o.blue=Og(n.blue,r.blue,c),o.alpha=ft(n.alpha,r.alpha,c),_s.transform(o))},R0=new Set(["none","hidden"]);function mY(e,t){return R0.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function fY(e,t){return n=>ft(e,t,n)}function Ay(e){return typeof e=="number"?fY:typeof e=="string"?jy(e)?ym:It.test(e)?f5:gY:Array.isArray(e)?k8:typeof e=="object"?It.test(e)?f5:hY:ym}function k8(e,t){const n=[...e],r=n.length,o=e.map((c,u)=>Ay(c)(c,t[u]));return c=>{for(let u=0;u<r;u++)n[u]=o[u](c);return n}}function hY(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Ay(e[o])(e[o],t[o]));return o=>{for(const c in r)n[c]=r[c](o);return n}}function pY(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const c=t.types[o],u=e.indexes[c][r[c]],m=e.values[u]??0;n[o]=m,r[c]++}return n}const gY=(e,t)=>{const n=gr.createTransformer(t),r=gi(e),o=gi(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?R0.has(e)&&!o.values.length||R0.has(t)&&!r.values.length?mY(e,t):Yc(k8(pY(r,o),o.values),n):ym(e,t)};function E8(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ft(e,t,n):Ay(e)(e,t)}const bY=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ht.update(t,n),stop:()=>Ja(t),now:()=>Qt.isProcessing?Qt.timestamp:fn.now()}},j8=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let c=0;c<o;c++)r+=Math.round(e(c/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},xm=2e4;function Oy(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<xm;)t+=n,r=e.next(t);return t>=xm?1/0:t}function yY(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(Oy(r),xm);return{type:"keyframes",ease:c=>r.next(o*c).value/t,duration:tr(o)}}const Et={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function M0(e,t){return e*Math.sqrt(1-t*t)}const xY=12;function vY(e,t,n){let r=n;for(let o=1;o<xY;o++)r=r-e(r)/t(r);return r}const Tg=.001;function wY({duration:e=Et.duration,bounce:t=Et.bounce,velocity:n=Et.velocity,mass:r=Et.mass}){let o,c,u=1-t;u=zr(Et.minDamping,Et.maxDamping,u),e=zr(Et.minDuration,Et.maxDuration,tr(e)),u<1?(o=h=>{const p=h*u,b=p*e,v=p-n,S=M0(h,u),N=Math.exp(-b);return Tg-v/S*N},c=h=>{const b=h*u*e,v=b*n+n,S=Math.pow(u,2)*Math.pow(h,2)*e,N=Math.exp(-b),w=M0(Math.pow(h,2),u);return(-o(h)+Tg>0?-1:1)*((v-S)*N)/w}):(o=h=>{const p=Math.exp(-h*e),b=(h-n)*e+1;return-Tg+p*b},c=h=>{const p=Math.exp(-h*e),b=(n-h)*(e*e);return p*b});const m=5/e,f=vY(o,c,m);if(e=Ln(e),isNaN(f))return{stiffness:Et.stiffness,damping:Et.damping,duration:e};{const h=Math.pow(f,2)*r;return{stiffness:h,damping:u*2*Math.sqrt(r*h),duration:e}}}const SY=["duration","bounce"],CY=["stiffness","damping","mass"];function h5(e,t){return t.some(n=>e[n]!==void 0)}function NY(e){let t={velocity:Et.velocity,stiffness:Et.stiffness,damping:Et.damping,mass:Et.mass,isResolvedFromDuration:!1,...e};if(!h5(e,CY)&&h5(e,SY))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,c=2*zr(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Et.mass,stiffness:o,damping:c}}else{const n=wY({...e,velocity:0});t={...t,...n,mass:Et.mass},t.isResolvedFromDuration=!0}return t}function vm(e=Et.visualDuration,t=Et.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const c=n.keyframes[0],u=n.keyframes[n.keyframes.length-1],m={done:!1,value:c},{stiffness:f,damping:h,mass:p,duration:b,velocity:v,isResolvedFromDuration:S}=NY({...n,velocity:-tr(n.velocity||0)}),N=v||0,w=h/(2*Math.sqrt(f*p)),C=u-c,R=tr(Math.sqrt(f/p)),M=Math.abs(C)<5;r||(r=M?Et.restSpeed.granular:Et.restSpeed.default),o||(o=M?Et.restDelta.granular:Et.restDelta.default);let j,T,P,I,_,D;if(w<1)P=M0(R,w),I=(N+w*R*C)/P,j=H=>{const $=Math.exp(-w*R*H);return u-$*(I*Math.sin(P*H)+C*Math.cos(P*H))},_=w*R*I+C*P,D=w*R*C-I*P,T=H=>Math.exp(-w*R*H)*(_*Math.sin(P*H)+D*Math.cos(P*H));else if(w===1){j=$=>u-Math.exp(-R*$)*(C+(N+R*C)*$);const H=N+R*C;T=$=>Math.exp(-R*$)*(R*H*$-N)}else{const H=R*Math.sqrt(w*w-1);j=ee=>{const ie=Math.exp(-w*R*ee),z=Math.min(H*ee,300);return u-ie*((N+w*R*C)*Math.sinh(z)+H*C*Math.cosh(z))/H};const $=(N+w*R*C)/H,J=w*R*$-C*H,ae=w*R*C-$*H;T=ee=>{const ie=Math.exp(-w*R*ee),z=Math.min(H*ee,300);return ie*(J*Math.sinh(z)+ae*Math.cosh(z))}}const V={calculatedDuration:S&&b||null,velocity:H=>Ln(T(H)),next:H=>{if(!S&&w<1){const J=Math.exp(-w*R*H),ae=Math.sin(P*H),ee=Math.cos(P*H),ie=u-J*(I*ae+C*ee),z=Ln(J*(_*ae+D*ee));return m.done=Math.abs(z)<=r&&Math.abs(u-ie)<=o,m.value=m.done?u:ie,m}const $=j(H);if(S)m.done=H>=b;else{const J=Ln(T(H));m.done=Math.abs(J)<=r&&Math.abs(u-$)<=o}return m.value=m.done?u:$,m},toString:()=>{const H=Math.min(Oy(V),xm),$=j8(J=>V.next(H*J).value,H,30);return H+"ms "+$},toTransition:()=>{}};return V}vm.applyToOptions=e=>{const t=yY(e,100,vm);return e.ease=t.ease,e.duration=Ln(t.duration),e.type="keyframes",e};const kY=5;function R8(e,t,n){const r=Math.max(t-kY,0);return i8(n-e(r),t-r)}function A0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:u,min:m,max:f,restDelta:h=.5,restSpeed:p}){const b=e[0],v={done:!1,value:b},S=D=>m!==void 0&&D<m||f!==void 0&&D>f,N=D=>m===void 0?f:f===void 0||Math.abs(m-D)<Math.abs(f-D)?m:f;let w=n*t;const C=b+w,R=u===void 0?C:u(C);R!==C&&(w=R-b);const M=D=>-w*Math.exp(-D/r),j=D=>R+M(D),T=D=>{const V=M(D),H=j(D);v.done=Math.abs(V)<=h,v.value=v.done?R:H};let P,I;const _=D=>{S(v.value)&&(P=D,I=vm({keyframes:[v.value,N(v.value)],velocity:R8(j,D,v.value),damping:o,stiffness:c,restDelta:h,restSpeed:p}))};return _(0),{calculatedDuration:null,next:D=>{let V=!1;return!I&&P===void 0&&(V=!0,T(D),_(D)),P!==void 0&&D>=P?I.next(D-P):(!V&&T(D),v)}}}function EY(e,t,n){const r=[],o=n||Qa.mix||E8,c=e.length-1;for(let u=0;u<c;u++){let m=o(e[u],e[u+1]);if(t){const f=Array.isArray(t)?t[u]||rr:t;m=Yc(f,m)}r.push(m)}return r}function jY(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const c=e.length;if(Cy(c===t.length),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const u=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const m=EY(t,r,o),f=m.length,h=p=>{if(u&&p<e[0])return t[0];let b=0;if(f>1)for(;b<e.length-2&&!(p<e[b+1]);b++);const v=mc(e[b],e[b+1],p);return m[b](v)};return n?p=>h(zr(e[0],e[c-1],p)):h}function RY(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=mc(0,t,r);e.push(ft(n,1,o))}}function MY(e){const t=[0];return RY(t,e.length-1),t}function AY(e,t){return e.map(n=>n*t)}function OY(e,t){return e.map(()=>t||g8).splice(0,e.length-1)}function Ql({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=LX(r)?r.map(l5):l5(r),c={done:!1,value:t[0]},u=AY(n&&n.length===t.length?n:MY(t),e),m=jY(u,t,{ease:Array.isArray(o)?o:OY(t,o)});return{calculatedDuration:e,next:f=>(c.value=m(f),c.done=f>=e,c)}}const TY=e=>e!==null;function ff(e,{repeat:t,repeatType:n="loop"},r,o=1){const c=e.filter(TY),m=o<0||t&&n!=="loop"&&t%2===1?0:c.length-1;return!m||r===void 0?c[m]:r}const PY={decay:A0,inertia:A0,tween:Ql,keyframes:Ql,spring:vm};function M8(e){typeof e.type=="string"&&(e.type=PY[e.type])}class Ty{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const DY=e=>e/100;class wm extends Ty{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==fn.now()&&this.tick(fn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;M8(t);const{type:n=Ql,repeat:r=0,repeatDelay:o=0,repeatType:c,velocity:u=0}=t;let{keyframes:m}=t;const f=n||Ql;f!==Ql&&typeof m[0]!="number"&&(this.mixKeyframes=Yc(DY,E8(m[0],m[1])),m=[0,100]);const h=f({...t,keyframes:m});c==="mirror"&&(this.mirroredGenerator=f({...t,keyframes:[...m].reverse(),velocity:-u})),h.calculatedDuration===null&&(h.calculatedDuration=Oy(h));const{calculatedDuration:p}=h;this.calculatedDuration=p,this.resolvedDuration=p+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=h}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:m,calculatedDuration:f}=this;if(this.startTime===null)return r.next(0);const{delay:h=0,keyframes:p,repeat:b,repeatType:v,repeatDelay:S,type:N,onUpdate:w,finalKeyframe:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const R=this.currentTime-h*(this.playbackSpeed>=0?1:-1),M=this.playbackSpeed>=0?R<0:R>o;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let j=this.currentTime,T=r;if(b){const D=Math.min(this.currentTime,o)/m;let V=Math.floor(D),H=D%1;!H&&D>=1&&(H=1),H===1&&V--,V=Math.min(V,b+1),V%2&&(v==="reverse"?(H=1-H,S&&(H-=S/m)):v==="mirror"&&(T=u)),j=zr(0,1,H)*m}let P;M?(this.delayState.value=p[0],P=this.delayState):P=T.next(j),c&&!M&&(P.value=c(P.value));let{done:I}=P;!M&&f!==null&&(I=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);return _&&N!==A0&&(P.value=ff(p,this.options,C,this.speed)),w&&w(P.value),_&&this.finish(),P}then(t,n){return this.finished.then(t,n)}get duration(){return tr(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+tr(t)}get time(){return tr(this.currentTime)}set time(t){t=Ln(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return R8(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(fn.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=tr(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=bY,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(fn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function _Y(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Is=e=>e*180/Math.PI,O0=e=>{const t=Is(Math.atan2(e[1],e[0]));return T0(t)},IY={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:O0,rotateZ:O0,skewX:e=>Is(Math.atan(e[1])),skewY:e=>Is(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},T0=e=>(e=e%360,e<0&&(e+=360),e),p5=O0,g5=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),b5=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),FY={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:g5,scaleY:b5,scale:e=>(g5(e)+b5(e))/2,rotateX:e=>T0(Is(Math.atan2(e[6],e[5]))),rotateY:e=>T0(Is(Math.atan2(-e[2],e[0]))),rotateZ:p5,rotate:p5,skewX:e=>Is(Math.atan(e[4])),skewY:e=>Is(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function P0(e){return e.includes("scale")?1:0}function D0(e,t){if(!e||e==="none")return P0(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=FY,o=n;else{const m=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=IY,o=m}if(!o)return P0(t);const c=r[t],u=o[1].split(",").map(LY);return typeof c=="function"?c(u):u[c]}const zY=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return D0(n,t)};function LY(e){return parseFloat(e.trim())}const Mi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ai=new Set([...Mi,"pathRotation"]),y5=e=>e===Ri||e===we,UY=new Set(["x","y","z"]),VY=Mi.filter(e=>!UY.has(e));function BY(e){const t=[];return VY.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ha={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>D0(t,"x"),y:(e,{transform:t})=>D0(t,"y")};Ha.translateX=Ha.x;Ha.translateY=Ha.y;const Us=new Set;let _0=!1,I0=!1,F0=!1;function A8(){if(I0){const e=Array.from(Us).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=BY(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([c,u])=>{r.getValue(c)?.set(u)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}I0=!1,_0=!1,Us.forEach(e=>e.complete(F0)),Us.clear()}function O8(){Us.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(I0=!0)})}function WY(){F0=!0,O8(),A8(),F0=!1}class Py{constructor(t,n,r,o,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(Us.add(this),_0||(_0=!0,ht.read(O8),ht.resolveKeyframes(A8))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const c=o?.get(),u=t[t.length-1];if(c!==void 0)t[0]=c;else if(r&&n){const m=r.readValue(n,u);m!=null&&(t[0]=m)}t[0]===void 0&&(t[0]=u),o&&c===void 0&&o.set(t[0])}_Y(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Us.delete(this)}cancel(){this.state==="scheduled"&&(Us.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const KY=e=>e.startsWith("--");function T8(e,t,n){KY(t)?e.style.setProperty(t,n):e.style[t]=n}const HY={};function P8(e,t){const n=o8(e);return()=>HY[t]??n()}const qY=P8(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),D8=P8(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Wl=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,x5={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wl([0,.65,.55,1]),circOut:Wl([.55,0,1,.45]),backIn:Wl([.31,.01,.66,-.59]),backOut:Wl([.33,1.53,.69,.99])};function _8(e,t){if(e)return typeof e=="function"?D8()?j8(e,t):"ease-out":b8(e)?Wl(e):Array.isArray(e)?e.map(n=>_8(n,t)||x5.easeOut):x5[e]}function XY(e,t,n,{delay:r=0,duration:o=300,repeat:c=0,repeatType:u="loop",ease:m="easeOut",times:f}={},h=void 0){const p={[t]:n};f&&(p.offset=f);const b=_8(m,o);Array.isArray(b)&&(p.easing=b);const v={delay:r,duration:o,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return h&&(v.pseudoElement=h),e.animate(p,v)}function I8(e){return typeof e=="function"&&"applyToOptions"in e}function YY({type:e,...t}){return I8(e)&&D8()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class F8 extends Ty{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:m,onComplete:f}=t;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=t,Cy(typeof t.type!="string");const h=YY(t);this.animation=XY(n,r,o,h,c),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const p=ff(o,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(p),T8(n,r,p),this.animation.cancel()}f?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return tr(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+tr(t)}get time(){return tr(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ln(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&qY()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),rr):o(this)}}const z8={anticipate:f8,backInOut:m8,circInOut:p8};function $Y(e){return e in z8}function GY(e){typeof e.ease=="string"&&$Y(e.ease)&&(e.ease=z8[e.ease])}const Pg=10;class ZY extends F8{constructor(t){GY(t),M8(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:c,...u}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const m=new wm({...u,autoplay:!1}),f=Math.max(Pg,fn.now()-this.startTime),h=zr(0,Pg,f-Pg),p=m.sample(f).value,{name:b}=this.options;c&&b&&T8(c,b,p),n.setWithVelocity(m.sample(Math.max(0,f-h)).value,p,h),m.stop()}}const v5=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(gr.test(e)||e==="0")&&!e.startsWith("url("));function QY(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function JY(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],u=v5(o,t),m=v5(c,t);return!u||!m?!1:QY(e)||(n==="spring"||I8(n))&&r}function z0(e){e.duration=0,e.type="keyframes"}const L8=new Set(["opacity","clipPath","filter","transform"]),e$=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function t$(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&e$.test(e[t]))return!0;return!1}const n$=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),r$=o8(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function a$(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:c,type:u,keyframes:m}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:p}=t.owner.getProps();return r$()&&n&&(L8.has(n)||n$.has(n)&&t$(m))&&(n!=="transform"||!p)&&!h&&!r&&o!=="mirror"&&c!==0&&u!=="inertia"}const s$=40;class o$ extends Ty{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:u="loop",keyframes:m,name:f,motionValue:h,element:p,...b}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=fn.now();const v={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:c,repeatType:u,name:f,motionValue:h,element:p,...b},S=p?.KeyframeResolver||Py;this.keyframeResolver=new S(m,(N,w,C)=>this.onKeyframesResolved(N,w,v,!C),f,h,p),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,o){this.keyframeResolver=void 0;const{name:c,type:u,velocity:m,delay:f,isHandoff:h,onUpdate:p}=r;this.resolvedAt=fn.now();let b=!0;JY(t,c,u,m)||(b=!1,(Qa.instantAnimations||!f)&&p?.(ff(t,r,n)),t[0]=t[t.length-1],z0(r),r.repeat=0);const S={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>s$?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},N=b&&!h&&a$(S),w=S.motionValue?.owner?.current;let C;if(N)try{C=new ZY({...S,element:w})}catch{C=new wm(S)}else C=new wm(S);C.finished.then(()=>{this.notifyFinished()}).catch(rr),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),WY()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function U8(e,t,n,r=0,o=1){const c=Array.from(e).sort((h,p)=>h.sortNodePosition(p)).indexOf(t),u=e.size,m=(u-1)*r;return typeof n=="function"?n(c,u):o===1?c*r:m-c*r}const w5=30,i$=e=>!isNaN(parseFloat(e));class l${constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const o=fn.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=fn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=i$(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Ny);const r=this.events[t].add(n);return t==="change"?()=>{r(),ht.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=fn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>w5)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,w5);return i8(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function bi(e,t){return new l$(e,t)}function V8(e,t){if(e?.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Dy(e,t){const n=e?.[t]??e?.default??e;return n!==e?V8(n,e):n}const c$={type:"spring",stiffness:500,damping:25,restSpeed:10},u$=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),d$={type:"keyframes",duration:.8},m$={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},f$=(e,{keyframes:t})=>t.length>2?d$:Ai.has(e)?e.startsWith("scale")?u$(t[1]):c$:m$,h$=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function p$(e){for(const t in e)if(!h$.has(t))return!0;return!1}const _y=(e,t,n,r={},o,c)=>u=>{const m=Dy(r,e)||{},f=m.delay||r.delay||0;
358let{elapsed:h=0}=r;h=h-Ln(f);const p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...m,delay:-h,onUpdate:v=>{t.set(v),m.onUpdate&&m.onUpdate(v)},onComplete:()=>{u(),m.onComplete&&m.onComplete()},name:e,motionValue:t,element:c?void 0:o};p$(m)||Object.assign(p,f$(e,p)),p.duration&&(p.duration=Ln(p.duration)),p.repeatDelay&&(p.repeatDelay=Ln(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let b=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(z0(p),p.delay===0&&(b=!0)),(Qa.instantAnimations||Qa.skipAnimations||o?.shouldSkipAnimations||m.skipAnimations)&&(b=!0,z0(p),p.delay=0),p.allowFlatten=!m.type&&!m.ease,b&&!c&&t.get()!==void 0){const v=ff(p.keyframes,m);if(v!==void 0){ht.update(()=>{p.onUpdate(v),p.onComplete()});return}}return m.isSync?new wm(p):new o$(p)},g$=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function b$(e){const t=g$.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function B8(e,t,n=1){const[r,o]=b$(e);if(!r)return;const c=window.getComputedStyle(t).getPropertyValue(r);if(c){const u=c.trim();return r8(u)?parseFloat(u):u}return jy(o)?B8(o,t,n+1):o}function S5(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Iy(e,t,n,r){if(typeof t=="function"){const[o,c]=S5(r);t=t(n!==void 0?n:e.custom,o,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,c]=S5(r);t=t(n!==void 0?n:e.custom,o,c)}return t}function Vs(e,t,n){const r=e.getProps();return Iy(r,t,n!==void 0?n:r.custom,e)}
vendor: 5,177 bytes, line 358
358const W8=new Set(["width","height","top","left","right","bottom",...Mi]),L0=e=>Array.isArray(e);function y$(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,bi(n))}function x$(e){return L0(e)?e[e.length-1]||0:e}function v$(e,t){const n=Vs(e,t);let{transitionEnd:r={},transition:o={},...c}=n||{};c={...c,...r};for(const u in c){const m=x$(c[u]);y$(e,u,m)}}const Jt=e=>!!(e&&e.getVelocity);function w$(e){return!!(Jt(e)&&e.add)}function U0(e,t){const n=e.getValue("willChange");if(w$(n))return n.add(t);if(!n&&Qa.WillChange){const r=new Qa.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Fy(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const S$="framerAppearId",K8="data-"+Fy(S$);function H8(e){return e.props[K8]}function C$({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function q8(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:c,transitionEnd:u,...m}=t;const f=e.getDefaultTransition();c=c?V8(c,f):f;const h=c?.reduceMotion,p=c?.skipAnimations;r&&(c=r);const b=[],v=o&&e.animationState&&e.animationState.getState()[o],S=c?.path;S&&S.animateVisualElement(e,m,c,n,b);for(const N in m){const w=e.getValue(N,e.latestValues[N]??null),C=m[N];if(C===void 0||v&&C$(v,N))continue;const R={delay:n,...Dy(c||{},N)};p&&(R.skipAnimations=!0);const M=w.get();if(M!==void 0&&!w.isAnimating()&&!Array.isArray(C)&&C===M&&!R.velocity){ht.update(()=>w.set(C));continue}let j=!1;if(window.MotionHandoffAnimation){const I=H8(e);if(I){const _=window.MotionHandoffAnimation(I,N,ht);_!==null&&(R.startTime=_,j=!0)}}U0(e,N);const T=h??e.shouldReduceMotion;w.start(_y(N,w,C,T&&W8.has(N)?{type:!1}:R,e,j));const P=w.animation;P&&b.push(P)}if(u){const N=()=>ht.update(()=>{u&&v$(e,u)});b.length?Promise.all(b).then(N):N()}return b}function V0(e,t,n={}){const r=Vs(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const c=r?()=>Promise.all(q8(e,r,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(f=0)=>{const{delayChildren:h=0,staggerChildren:p,staggerDirection:b}=o;return N$(e,t,f,h,p,b,n)}:()=>Promise.resolve(),{when:m}=o;if(m){const[f,h]=m==="beforeChildren"?[c,u]:[u,c];return f().then(()=>h())}else return Promise.all([c(),u(n.delay)])}function N$(e,t,n=0,r=0,o=0,c=1,u){const m=[];for(const f of e.variantChildren)f.notify("AnimationStart",t),m.push(V0(f,t,{...u,delay:n+(typeof r=="function"?0:r)+U8(e.variantChildren,f,r,o,c)}).then(()=>f.notify("AnimationComplete",t)));return Promise.all(m)}function k$(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(c=>V0(e,c,n));r=Promise.all(o)}else if(typeof t=="string")r=V0(e,t,n);else{const o=typeof t=="function"?Vs(e,t,n.custom):t;r=Promise.all(q8(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const E$={test:e=>e==="auto",parse:e=>e},X8=e=>t=>t.test(e),Y8=[Ri,we,Fr,sa,QX,ZX,E$],C5=e=>Y8.find(X8(e));function j$(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||s8(e):!0}const R$=new Set(["brightness","contrast","saturate","opacity"]);function M$(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ry)||[];if(!r)return e;const o=n.replace(r,"");let c=R$.has(t)?1:0;return r!==n&&(c*=100),t+"("+c+o+")"}const A$=/\b([a-z-]*)\(.*?\)/gu,B0={...gr,getAnimatableNone:e=>{const t=e.match(A$);return t?t.map(M$).join(" "):e}},W0={...gr,getAnimatableNone:e=>{const t=gr.parse(e);return gr.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},N5={...Ri,transform:Math.round},O$={rotate:sa,pathRotation:sa,rotateX:sa,rotateY:sa,rotateZ:sa,scale:Md,scaleX:Md,scaleY:Md,scaleZ:Md,skew:sa,skewX:sa,skewY:sa,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:fc,originX:u5,originY:u5,originZ:we},Sm={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,inset:we,insetBlock:we,insetBlockStart:we,insetBlockEnd:we,insetInline:we,insetInlineStart:we,insetInlineEnd:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,paddingBlock:we,paddingBlockStart:we,paddingBlockEnd:we,paddingInline:we,paddingInlineStart:we,paddingInlineEnd:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,marginBlock:we,marginBlockStart:we,marginBlockEnd:we,marginInline:we,marginInlineStart:we,marginInlineEnd:we,fontSize:we,backgroundPositionX:we,backgroundPositionY:we,...O$,zIndex:N5,fillOpacity:fc,strokeOpacity:fc,numOctaves:N5},T$={...Sm,color:It,backgroundColor:It,outlineColor:It,fill:It,stroke:It,borderColor:It,borderTopColor:It,borderRightColor:It,borderBottomColor:It,borderLeftColor:It,filter:B0,WebkitFilter:B0,mask:W0,WebkitMask:W0},$8=e=>T$[e],P$=new Set([B0,W0]);function G8(e,t){let n=$8(e);return P$.has(n)||(n=gr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
vendor: 1,699 bytes, line 358
358const D$=new Set(["auto","none","0"]);function _$(e,t,n){let r=0,o;for(;r<e.length&&!o;){const c=e[r];typeof c=="string"&&!D$.has(c)&&gi(c).values.length&&(o=e[r]),r++}if(o&&n)for(const c of t)e[c]=G8(n,o)}class I$ extends Py{constructor(t,n,r,o,c){super(t,n,r,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let p=0;p<t.length;p++){let b=t[p];if(typeof b=="string"&&(b=b.trim(),jy(b))){const v=B8(b,n.current);v!==void 0&&(t[p]=v),p===t.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!W8.has(r)||t.length!==2)return;const[o,c]=t,u=C5(o),m=C5(c),f=c5(o),h=c5(c);if(f!==h&&Ha[r]){this.needsMeasurement=!0;return}if(u!==m)if(y5(u)&&y5(m))for(let p=0;p<t.length;p++){const b=t[p];typeof b=="string"&&(t[p]=parseFloat(b))}else Ha[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||j$(t[o]))&&r.push(o);r.length&&_$(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ha[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const c=r.length-1,u=r[c];r[c]=Ha[n](t.measureViewportBox(),window.getComputedStyle(t.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),this.removedTransforms?.length&&this.removedTransforms.forEac
vendor: 54,564 bytes, line 358
358h(([m,f])=>{t.getValue(m).set(f)}),this.resolveNoneKeyframes()}}function Z8(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const o=n?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}const K0=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function F$(e){return a8(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:zy}=y8(queueMicrotask,!1),mr={x:!1,y:!1};function Q8(){return mr.x||mr.y}function z$(e){return e==="x"||e==="y"?mr[e]?null:(mr[e]=!0,()=>{mr[e]=!1}):mr.x||mr.y?null:(mr.x=mr.y=!0,()=>{mr.x=mr.y=!1})}function J8(e,t){const n=Z8(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function L$(e){return!(e.pointerType==="touch"||Q8())}function U$(e,t,n={}){const[r,o,c]=J8(e,n);return r.forEach(u=>{let m=!1,f=!1,h;const p=()=>{u.removeEventListener("pointerleave",N)},b=C=>{h&&(h(C),h=void 0),p()},v=C=>{m=!1,window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",v),f&&(f=!1,b(C))},S=()=>{m=!0,window.addEventListener("pointerup",v,o),window.addEventListener("pointercancel",v,o)},N=C=>{if(C.pointerType!=="touch"){if(m){f=!0;return}b(C)}},w=C=>{if(!L$(C))return;f=!1;const R=t(u,C);typeof R=="function"&&(h=R,u.addEventListener("pointerleave",N,o))};u.addEventListener("pointerenter",w,o),u.addEventListener("pointerdown",S,o)}),c}const eE=(e,t)=>t?e===t?!0:eE(e,t.parentElement):!1,Ly=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,V$=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function B$(e){return V$.has(e.tagName)||e.isContentEditable===!0}const W$=new Set(["INPUT","SELECT","TEXTAREA"]);function K$(e){return W$.has(e.tagName)||e.isContentEditable===!0}const Wd=new WeakSet;function k5(e){return t=>{t.key==="Enter"&&e(t)}}function Dg(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const H$=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=k5(()=>{if(Wd.has(n))return;Dg(n,"down");const o=k5(()=>{Dg(n,"up")}),c=()=>Dg(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",c,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function E5(e){return Ly(e)&&!Q8()}const j5=new WeakSet;function q$(e,t,n={}){const[r,o,c]=J8(e,n),u=m=>{const f=m.currentTarget;if(!E5(m)||j5.has(m))return;Wd.add(f),n.stopPropagation&&j5.add(m);const h=t(f,m),p=(S,N)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",v),Wd.has(f)&&Wd.delete(f),E5(S)&&typeof h=="function"&&h(S,{success:N})},b=S=>{p(S,f===window||f===document||n.useGlobalTarget||eE(f,S.target))},v=S=>{p(S,!1)};window.addEventListener("pointerup",b,o),window.addEventListener("pointercancel",v,o)};return r.forEach(m=>{(n.useGlobalTarget?window:m).addEventListener("pointerdown",u,o),F$(m)&&(m.addEventListener("focus",h=>H$(h,o)),!B$(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),c}function Uy(e){return a8(e)&&"ownerSVGElement"in e}const Kd=new WeakMap;let Hd;const tE=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:Uy(r)&&"getBBox"in r?r.getBBox()[t]:r[n],X$=tE("inline","width","offsetWidth"),Y$=tE("block","height","offsetHeight");function $$({target:e,borderBoxSize:t}){Kd.get(e)?.forEach(n=>{n(e,{get width(){return X$(e,t)},get height(){return Y$(e,t)}})})}function G$(e){e.forEach($$)}function Z$(){typeof ResizeObserver>"u"||(Hd=new ResizeObserver(G$))}function Q$(e,t){Hd||Z$();const n=Z8(e);return n.forEach(r=>{let o=Kd.get(r);o||(o=new Set,Kd.set(r,o)),o.add(t),Hd?.observe(r)}),()=>{n.forEach(r=>{const o=Kd.get(r);o?.delete(t),o?.size||Hd?.unobserve(r)})}}const qd=new Set;let ni;function J$(){ni=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};qd.forEach(t=>t(e))},window.addEventListener("resize",ni)}function eG(e){return qd.add(e),ni||J$(),()=>{qd.delete(e),!qd.size&&typeof ni=="function"&&(window.removeEventListener("resize",ni),ni=void 0)}}function R5(e,t){return typeof e=="function"?eG(e):Q$(e,t)}function tG(e){return Uy(e)&&e.tagName==="svg"}const nG=[...Y8,It,gr],rG=e=>nG.find(X8(e)),M5=()=>({translate:0,scale:1,origin:0,originPoint:0}),ri=()=>({x:M5(),y:M5()}),A5=()=>({min:0,max:0}),Bt=()=>({x:A5(),y:A5()}),aG=new WeakMap;function hf(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function hc(e){return typeof e=="string"||Array.isArray(e)}const Vy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],By=["initial",...Vy];function pf(e){return hf(e.animate)||By.some(t=>hc(e[t]))}function nE(e){return!!(pf(e)||e.variants)}function sG(e,t,n){for(const r in t){const o=t[r],c=n[r];if(Jt(o))e.addValue(r,o);else if(Jt(c))e.addValue(r,bi(o,{owner:e}));else if(c!==o)if(e.hasValue(r)){const u=e.getValue(r);u.liveStyle===!0?u.jump(o):u.hasAnimated||u.set(o)}else{const u=e.getStaticValue(r);e.addValue(r,bi(u!==void 0?u:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const H0={current:null},rE={current:!1},oG=typeof window<"u";function iG(){if(rE.current=!0,!!oG)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>H0.current=e.matches;e.addEventListener("change",t),t()}else H0.current=!1}const O5=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Cm={};function aE(e){Cm=e}function lG(){return Cm}class cG{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:c,blockInitialAnimation:u,visualState:m},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Py,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=fn.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,ht.render(this.render,!1,!0))};const{latestValues:h,renderState:p}=m;this.latestValues=h,this.baseTarget={...h},this.initialValues=n.initial?{...h}:{},this.renderState=p,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=c,this.options=f,this.blockInitialAnimation=!!u,this.isControllingVariants=pf(n),this.isVariantNode=nE(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:b,...v}=this.scrapeMotionValuesFromProps(n,{},this);for(const S in v){const N=v[S];h[S]!==void 0&&Jt(N)&&N.set(h[S])}}mount(t){if(this.hasBeenMounted)for(const n in this.initialValues)this.values.get(n)?.jump(this.initialValues[n]),this.latestValues[n]=this.initialValues[n];this.current=t,aG.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(rE.current||iG(),this.shouldReduceMotion=H0.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Ja(this.notifyUpdate),Ja(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&L8.has(t)&&this.current instanceof HTMLElement){const{factory:u,keyframes:m,times:f,ease:h,duration:p}=n.accelerate,b=new F8({element:this.current,name:t,keyframes:m,times:f,ease:h,duration:Ln(p)}),v=u(b);this.valueSubscriptions.set(t,()=>{v(),b.cancel()});return}const r=Ai.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&ht.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),c&&c()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Cm){const n=Cm[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const c=this.features[t];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Bt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<O5.length;r++){const o=O5[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,u=t[c];u&&(this.propEventSubscriptions[o]=this.on(o,u))}this.prevMotionValues=sG(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=bi(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(r8(r)||s8(r))?r=parseFloat(r):!rG(r)&&gr.test(n)&&(r=G8(t,n)),this.setBaseTarget(t,Jt(r)?r.get():r)),Jt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const c=Iy(this.props,n,this.presenceContext?.custom);c&&(r=c[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Jt(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ny),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){zy.render(this.render)}}class sE extends cG{constructor(){super(...arguments),this.KeyframeResolver=I$}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Jt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class ss{constructor(t){this.isMounted=!1,this.node=t}update(){}}function oE({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function uG({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function dG(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function _g(e){return e===void 0||e===1}function q0({scale:e,scaleX:t,scaleY:n}){return!_g(e)||!_g(t)||!_g(n)}function Os(e){return q0(e)||iE(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function iE(e){return T5(e.x)||T5(e.y)}function T5(e){return e&&e!=="0%"}function Nm(e,t,n){const r=e-n,o=t*r;return n+o}function P5(e,t,n,r,o){return o!==void 0&&(e=Nm(e,o,r)),Nm(e,n,r)+t}function X0(e,t=0,n=1,r,o){e.min=P5(e.min,t,n,r,o),e.max=P5(e.max,t,n,r,o)}function lE(e,{x:t,y:n}){X0(e.x,t.translate,t.scale,t.originPoint),X0(e.y,n.translate,n.scale,n.originPoint)}const D5=.999999999999,_5=1.0000000000001;function mG(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let c,u;for(let m=0;m<o;m++){c=n[m],u=c.projectionDelta;const{visualElement:f}=c.options;f&&f.props.style&&f.props.style.display==="contents"||(r&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(Or(e.x,-c.scroll.offset.x),Or(e.y,-c.scroll.offset.y)),u&&(t.x*=u.x.scale,t.y*=u.y.scale,lE(e,u)),r&&Os(c.latestValues)&&Xd(e,c.latestValues,c.layout?.layoutBox))}t.x<_5&&t.x>D5&&(t.x=1),t.y<_5&&t.y>D5&&(t.y=1)}function Or(e,t){e.min+=t,e.max+=t}function I5(e,t,n,r,o=.5){const c=ft(e.min,e.max,o);X0(e,t,n,c,r)}function F5(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Xd(e,t,n){const r=n??e;I5(e.x,F5(t.x,r.x),t.scaleX,t.scale,t.originX),I5(e.y,F5(t.y,r.y),t.scaleY,t.scale,t.originY)}function cE(e,t){return oE(dG(e.getBoundingClientRect(),t))}function fG(e,t,n){const r=cE(e,n),{scroll:o}=t;return o&&(Or(r.x,o.offset.x),Or(r.y,o.offset.y)),r}const hG={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pG=Mi.length;function gG(e,t,n){let r="",o=!0;for(let u=0;u<pG;u++){const m=Mi[u],f=e[m];if(f===void 0)continue;let h=!0;if(typeof f=="number")h=f===(m.startsWith("scale")?1:0);else{const p=parseFloat(f);h=m.startsWith("scale")?p===1:p===0}if(!h||n){const p=K0(f,Sm[m]);if(!h){o=!1;const b=hG[m]||m;r+=`${b}(${p}) `}n&&(t[m]=p)}}const c=e.pathRotation;return c&&(o=!1,r+=`rotate(${K0(c,Sm.pathRotation)}) `),r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Wy(e,t,n){const{style:r,vars:o,transformOrigin:c}=e;let u=!1,m=!1;for(const f in t){const h=t[f];if(Ai.has(f)){u=!0;continue}else if(v8(f)){o[f]=h;continue}else{const p=K0(h,Sm[f]);f.startsWith("origin")?(m=!0,c[f]=p):r[f]=p}}if(t.transform||(u||n?r.transform=gG(t,e.transform,n):r.transform&&(r.transform="none")),m){const{originX:f="50%",originY:h="50%",originZ:p=0}=c;r.transformOrigin=`${f} ${h} ${p}`}}function uE(e,{style:t,vars:n},r,o){const c=e.style;let u;for(u in t)c[u]=t[u];o?.applyProjectionStyles(c,r);for(u in n)c.setProperty(u,n[u])}function z5(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const zl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(we.test(e))e=parseFloat(e);else return e;const n=z5(e,t.target.x),r=z5(e,t.target.y);return`${n}% ${r}%`}},bG={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=gr.parse(e);if(o.length>5)return r;const c=gr.createTransformer(e),u=typeof o[0]!="number"?1:0,m=n.x.scale*t.x,f=n.y.scale*t.y;o[0+u]/=m,o[1+u]/=f;const h=ft(m,f,.5);return typeof o[2+u]=="number"&&(o[2+u]/=h),typeof o[3+u]=="number"&&(o[3+u]/=h),c(o)}},Y0={borderRadius:{...zl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:zl,borderTopRightRadius:zl,borderBottomLeftRadius:zl,borderBottomRightRadius:zl,boxShadow:bG};function dE(e,{layout:t,layoutId:n}){return Ai.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Y0[e]||e==="opacity")}function Ky(e,t,n){const r=e.style,o=t?.style,c={};if(!r)return c;for(const u in r)(Jt(r[u])||o&&Jt(o[u])||dE(u,e)||n?.getValue(u)?.liveStyle!==void 0)&&(c[u]=r[u]);return c}function yG(e){return window.getComputedStyle(e)}class xG extends sE{constructor(){super(...arguments),this.type="html",this.renderInstance=uE}readValueFromInstance(t,n){if(Ai.has(n))return this.projection?.isProjecting?P0(n):zY(t,n);{const r=yG(t),o=(v8(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return cE(t,n)}build(t,n,r){Wy(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Ky(t,n,r)}}const vG={offset:"stroke-dashoffset",array:"stroke-dasharray"},wG={offset:"strokeDashoffset",array:"strokeDasharray"};function SG(e,t,n=1,r=0,o=!0){e.pathLength=1;const c=o?vG:wG;e[c.offset]=`${-r}`,e[c.array]=`${t} ${n}`}const CG=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function mE(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:c=1,pathOffset:u=0,...m},f,h,p){if(Wy(e,m,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:b,style:v}=e;b.transform&&(v.transform=b.transform,delete b.transform),(v.transform||b.transformOrigin)&&(v.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),v.transform&&(v.transformBox=p?.transformBox??"fill-box",delete b.transformBox);for(const S of CG)b[S]!==void 0&&(v[S]=b[S],delete b[S]);t!==void 0&&(b.x=t),n!==void 0&&(b.y=n),r!==void 0&&(b.scale=r),o!==void 0&&SG(b,o,c,u,!1)}const fE=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),hE=e=>typeof e=="string"&&e.toLowerCase()==="svg";function NG(e,t,n,r){uE(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(fE.has(o)?o:Fy(o),t.attrs[o])}function pE(e,t,n){const r=Ky(e,t,n);for(const o in e)if(Jt(e[o])||Jt(t[o])){const c=Mi.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[c]=e[o]}return r}class kG extends sE{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Bt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ai.has(n)){const r=$8(n);return r&&r.default||0}return n=fE.has(n)?n:Fy(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return pE(t,n,r)}build(t,n,r){mE(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){NG(t,n,r,o)}mount(t){this.isSVGTag=hE(t.tagName),super.mount(t)}}const EG=By.length;function gE(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?gE(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<EG;n++){const r=By[n],o=e.props[r];(hc(o)||o===!1)&&(t[r]=o)}return t}function bE(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const jG=[...Vy].reverse(),RG=Vy.length;function MG(e){return t=>Promise.all(t.map(({animation:n,options:r})=>k$(e,n,r)))}function AG(e){let t=MG(e),n=L5(),r=!0,o=!1;const c=h=>(p,b)=>{const v=Vs(e,b,h==="exit"?e.presenceContext?.custom:void 0);if(v){const{transition:S,transitionEnd:N,...w}=v;p={...p,...w,...N}}return p};function u(h){t=h(e)}function m(h){const{props:p}=e,b=gE(e.parent)||{},v=[],S=new Set;let N={},w=1/0;for(let R=0;R<RG;R++){const M=jG[R],j=n[M],T=p[M]!==void 0?p[M]:b[M],P=hc(T),I=M===h?j.isActive:null;I===!1&&(w=R);let _=T===b[M]&&T!==p[M]&&P;if(_&&(r||o)&&e.manuallyAnimateOnMount&&(_=!1),j.protectedKeys={...N},!j.isActive&&I===null||!T&&!j.prevProp||hf(T)||typeof T=="boolean")continue;if(M==="exit"&&j.isActive&&I!==!0){j.prevResolvedValues&&(N={...N,...j.prevResolvedValues});continue}const D=OG(j.prevProp,T);let V=D||M===h&&j.isActive&&!_&&P||R>w&&P,H=!1;const $=Array.isArray(T)?T:[T];let J=$.reduce(c(M),{});I===!1&&(J={});const{prevResolvedValues:ae={}}=j,ee={...ae,...J},ie=W=>{V=!0,S.has(W)&&(H=!0,S.delete(W)),j.needsAnimating[W]=!0;const B=e.getValue(W);B&&(B.liveStyle=!1)};for(const W in ee){const B=J[W],O=ae[W];if(N.hasOwnProperty(W))continue;let X=!1;L0(B)&&L0(O)?X=!bE(B,O)||D:X=B!==O,X?B!=null?ie(W):S.add(W):B!==void 0&&S.has(W)?ie(W):j.protectedKeys[W]=!0}j.prevProp=T,j.prevResolvedValues=J,j.isActive&&(N={...N,...J}),(r||o)&&e.blockInitialAnimation&&(V=!1);const z=_&&D;V&&(!z||H)&&v.push(...$.map(W=>{const B={type:M};if(typeof W=="string"&&(r||o)&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:O}=e,X=Vs(O,W);if(O.enteringChildren&&X){const{delayChildren:oe}=X.transition||{};B.delay=U8(O.enteringChildren,e,oe)}}return{animation:W,options:B}}))}if(S.size){const R={};if(typeof p.initial!="boolean"){const M=Vs(e,Array.isArray(p.initial)?p.initial[0]:p.initial);M&&M.transition&&(R.transition=M.transition)}S.forEach(M=>{const j=e.getBaseTarget(M),T=e.getValue(M);T&&(T.liveStyle=!0),R[M]=j??null}),v.push({animation:R})}let C=!!v.length;return r&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(C=!1),r=!1,o=!1,C?t(v):Promise.resolve()}function f(h,p){if(n[h].isActive===p)return Promise.resolve();e.variantChildren?.forEach(v=>v.animationState?.setActive(h,p)),n[h].isActive=p;const b=m(h);for(const v in n)n[v].protectedKeys={};return b}return{animateChanges:m,setActive:f,setAnimateFunction:u,getState:()=>n,reset:()=>{n=L5(),o=!0}}}function OG(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!bE(t,e):!1}function Ms(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function L5(){return{animate:Ms(!0),whileInView:Ms(),whileHover:Ms(),whileTap:Ms(),whileDrag:Ms(),whileFocus:Ms(),exit:Ms()}}function $0(e,t){e.min=t.min,e.max=t.max}function ur(e,t){$0(e.x,t.x),$0(e.y,t.y)}function U5(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const yE=1e-4,TG=1-yE,PG=1+yE,xE=.01,DG=0-xE,_G=0+xE;function hn(e){return e.max-e.min}function IG(e,t,n){return Math.abs(e-t)<=n}function V5(e,t,n,r=.5){e.origin=r,e.originPoint=ft(t.min,t.max,e.origin),e.scale=hn(n)/hn(t),e.translate=ft(n.min,n.max,e.origin)-e.originPoint,(e.scale>=TG&&e.scale<=PG||isNaN(e.scale))&&(e.scale=1),(e.translate>=DG&&e.translate<=_G||isNaN(e.translate))&&(e.translate=0)}function Jl(e,t,n,r){V5(e.x,t.x,n.x,r?r.originX:void 0),V5(e.y,t.y,n.y,r?r.originY:void 0)}function B5(e,t,n,r=0){const o=r?ft(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+hn(t)}function FG(e,t,n,r){B5(e.x,t.x,n.x,r?.x),B5(e.y,t.y,n.y,r?.y)}function W5(e,t,n,r=0){const o=r?ft(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+hn(t)}function km(e,t,n,r){W5(e.x,t.x,n.x,r?.x),W5(e.y,t.y,n.y,r?.y)}function K5(e,t,n,r,o){return e-=t,e=Nm(e,1/n,r),o!==void 0&&(e=Nm(e,1/o,r)),e}function zG(e,t=0,n=1,r=.5,o,c=e,u=e){if(Fr.test(t)&&(t=parseFloat(t),t=ft(u.min,u.max,t/100)-u.min),typeof t!="number")return;let m=ft(c.min,c.max,r);e===c&&(m-=t),e.min=K5(e.min,t,n,m,o),e.max=K5(e.max,t,n,m,o)}function H5(e,t,[n,r,o],c,u){zG(e,t[n],t[r],t[o],t.scale,c,u)}const LG=["x","scaleX","originX"],UG=["y","scaleY","originY"];function q5(e,t,n,r){H5(e.x,t,LG,n?n.x:void 0,r?r.x:void 0),H5(e.y,t,UG,n?n.y:void 0,r?r.y:void 0)}function X5(e){return e.translate===0&&e.scale===1}function vE(e){return X5(e.x)&&X5(e.y)}function Y5(e,t){return e.min===t.min&&e.max===t.max}function VG(e,t){return Y5(e.x,t.x)&&Y5(e.y,t.y)}function $5(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function wE(e,t){return $5(e.x,t.x)&&$5(e.y,t.y)}function G5(e){return hn(e.x)/hn(e.y)}function Z5(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Mr(e){return[e("x"),e("y")]}function BG(e,t,n){let r="";const o=e.x.translate/t.x,c=e.y.translate/t.y,u=n?.z||0;if((o||c||u)&&(r=`translate3d(${o}px, ${c}px, ${u}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:p,pathRotation:b,rotateX:v,rotateY:S,skewX:N,skewY:w}=n;h&&(r=`perspective(${h}px) ${r}`),p&&(r+=`rotate(${p}deg) `),b&&(r+=`rotate(${b}deg) `),v&&(r+=`rotateX(${v}deg) `),S&&(r+=`rotateY(${S}deg) `),N&&(r+=`skewX(${N}deg) `),w&&(r+=`skewY(${w}deg) `)}const m=e.x.scale*t.x,f=e.y.scale*t.y;return(m!==1||f!==1)&&(r+=`scale(${m}, ${f})`),r||"none"}const SE=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],WG=SE.length,Q5=e=>typeof e=="string"?parseFloat(e):e,J5=e=>typeof e=="number"||we.test(e);function KG(e,t,n,r,o,c){o?(e.opacity=ft(0,n.opacity??1,HG(r)),e.opacityExit=ft(t.opacity??1,0,qG(r))):c&&(e.opacity=ft(t.opacity??1,n.opacity??1,r));for(let u=0;u<WG;u++){const m=SE[u];let f=e4(t,m),h=e4(n,m);if(f===void 0&&h===void 0)continue;f||(f=0),h||(h=0),f===0||h===0||J5(f)===J5(h)?(e[m]=Math.max(ft(Q5(f),Q5(h),r),0),(Fr.test(h)||Fr.test(f))&&(e[m]+="%")):e[m]=h}(t.rotate||n.rotate)&&(e.rotate=ft(t.rotate||0,n.rotate||0,r))}function e4(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const HG=CE(0,.5,h8),qG=CE(.5,.95,rr);function CE(e,t,n){return r=>r<e?0:r>t?1:n(mc(e,t,r))}function XG(e,t,n){const r=Jt(e)?e:bi(e);return r.start(_y("",r,t,n)),r.animation}function pc(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const YG=(e,t)=>e.depth-t.depth;class $G{constructor(){this.children=[],this.isDirty=!1}add(t){Sy(this.children,t),this.isDirty=!0}remove(t){bm(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(YG),this.isDirty=!1,this.children.forEach(t)}}function GG(e,t){const n=fn.now(),r=({timestamp:o})=>{const c=o-n;c>=t&&(Ja(r),e(c-t))};return ht.setup(r,!0),()=>Ja(r)}function Yd(e){return Jt(e)?e.get():e}class ZG{constructor(){this.members=[]}add(t){Sy(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(bm(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(bm(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){for(let n=this.members.indexOf(t)-1;n>=0;n--){const r=this.members[n];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:c}=t.options;(o===void 0||o!==c)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const $d={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ig=["","X","Y","Z"],QG=1e3;let JG=0;function Fg(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function NE(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=H8(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ht,!(o||c))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&NE(r)}function kE({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(u={},m=t?.()){this.id=JG++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(nZ),this.nodes.forEach(lZ),this.nodes.forEach(cZ),this.nodes.forEach(rZ)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new $G)}addEventListener(u,m){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new Ny),this.eventHandlers.get(u).add(m)}notifyListeners(u,...m){const f=this.eventHandlers.get(u);f&&f.notify(...m)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=Uy(u)&&!tG(u),this.instance=u;const{layoutId:m,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||m)&&(this.isLayoutDirty=!0),e){let p,b=0;const v=()=>this.root.updateBlockedByResize=!1;ht.read(()=>{b=window.innerWidth}),e(u,()=>{const S=window.innerWidth;S!==b&&(b=S,this.root.updateBlockedByResize=!0,p&&p(),p=GG(v,250),$d.hasAnimatedSinceResize&&($d.hasAnimatedSinceResize=!1,this.nodes.forEach(r4)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&h&&(m||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:b,hasRelativeLayoutChanged:v,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||h.getDefaultTransition()||hZ,{onLayoutAnimationStart:w,onLayoutAnimationComplete:C}=h.getProps(),R=!this.targetLayout||!wE(this.targetLayout,S),M=!b&&v;if(this.options.layoutRoot||this.resumeFrom||M||b&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const j={...Dy(N,"layout"),onPlay:w,onComplete:C};(h.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j),this.setAnimationOrigin(p,M,j.path)}else b||r4(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ja(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(uZ),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&NE(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const b=this.path[p];b.shouldResetTransform=!0,(typeof b.latestValues.x=="string"||typeof b.latestValues.y=="string")&&(b.isLayoutDirty=!0),b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:m,layout:f}=this.options;if(m===void 0&&!f)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const f=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),f&&this.nodes.forEach(sZ),this.nodes.forEach(t4);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(n4);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(oZ),this.nodes.forEach(iZ),this.nodes.forEach(eZ),this.nodes.forEach(tZ)):this.nodes.forEach(n4),this.clearAllSnapshots();const m=fn.now();Qt.delta=zr(0,1e3/60,m-Qt.timestamp),Qt.timestamp=m,Qt.isProcessing=!0,Rg.update.process(Qt),Rg.preRender.process(Qt),Rg.render.process(Qt),Qt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zy.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(aZ),this.sharedNodes.forEach(dZ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ht.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ht.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!hn(this.snapshot.measuredBox.x)&&!hn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Bt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(m=!1),m&&this.instance){const f=r(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!o)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!vE(this.projectionDelta),f=this.getTransformTemplate(),h=f?f(this.latestValues,""):void 0,p=h!==this.prevTransformTemplateValue;u&&this.instance&&(m||Os(this.latestValues)||p)&&(o(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const m=this.measurePageBox();let f=this.removeElementScroll(m);return u&&(f=this.removeTransform(f)),pZ(f),{animationId:this.root.animationId,measuredBox:m,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return Bt();const m=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(gZ))){const{scroll:h}=this.root;h&&(Or(m.x,h.offset.x),Or(m.y,h.offset.y))}return m}removeElementScroll(u){const m=Bt();if(ur(m,u),this.scroll?.wasRoot)return m;for(let f=0;f<this.path.length;f++){const h=this.path[f],{scroll:p,options:b}=h;h!==this.root&&p&&b.layoutScroll&&(p.wasRoot&&ur(m,u),Or(m.x,p.offset.x),Or(m.y,p.offset.y))}return m}applyTransform(u,m=!1,f){const h=f||Bt();ur(h,u);for(let p=0;p<this.path.length;p++){const b=this.path[p];!m&&b.options.layoutScroll&&b.scroll&&b!==b.root&&(Or(h.x,-b.scroll.offset.x),Or(h.y,-b.scroll.offset.y)),Os(b.latestValues)&&Xd(h,b.latestValues,b.layout?.layoutBox)}return Os(this.latestValues)&&Xd(h,this.latestValues,this.layout?.layoutBox),h}removeTransform(u){const m=Bt();ur(m,u);for(let f=0;f<this.path.length;f++){const h=this.path[f];if(!Os(h.latestValues))continue;let p;h.instance&&(q0(h.latestValues)&&h.updateSnapshot(),p=Bt(),ur(p,h.measurePageBox())),q5(m,h.latestValues,h.snapshot?.layoutBox,p)}return Os(this.latestValues)&&q5(m,this.latestValues),m}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Qt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==m;if(!(u||f&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:b}=this.options;if(!this.layout||!(p||b))return;this.resolvedRelativeTargetAt=Qt.timestamp;const v=this.getClosestProjectingParent();v&&this.linkedParentVersion!==v.layoutVersion&&!v.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&v&&v.layout?this.createRelativeTarget(v,this.layout.layoutBox,v.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Bt(),this.targetWithTransforms=Bt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),FG(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ur(this.target,this.layout.layoutBox),lE(this.target,this.targetDelta)):ur(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?this.createRelativeTarget(v,this.target,v.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||q0(this.parent.latestValues)||iE(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,m,f){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Bt(),this.relativeTargetOrigin=Bt(),km(this.relativeTargetOrigin,m,f,this.options.layoutAnchor||void 0),ur(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const u=this.getLead(),m=!!this.resumingFrom||this!==u;let f=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(f=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===Qt.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;ur(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,v=this.treeScale.y;mG(this.layoutCorrected,this.treeScale,this.path,m),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=Bt());const{target:S}=u;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(U5(this.prevProjectionDelta.x,this.projectionDelta.x),U5(this.prevProjectionDelta.y,this.projectionDelta.y)),Jl(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==v||!Z5(this.projectionDelta.x,this.prevProjectionDelta.x)||!Z5(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){if(this.options.visualElement?.scheduleRender(),u){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ri(),this.projectionDelta=ri(),this.projectionDeltaWithTransform=ri()}setAnimationOrigin(u,m=!1,f){const h=this.snapshot,p=h?h.latestValues:{},b={...this.latestValues},v=ri();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const S=Bt(),N=h?h.source:void 0,w=this.layout?this.layout.source:void 0,C=N!==w,R=this.getStack(),M=!R||R.members.length<=1,j=!!(C&&!M&&this.options.crossfade===!0&&!this.path.some(fZ));this.animationProgress=0;let T;const P=f?.interpolateProjection(u);this.mixTargetDelta=I=>{const _=I/1e3,D=P?.(_);D?(v.x.translate=D.x,v.x.scale=ft(u.x.scale,1,_),v.x.origin=u.x.origin,v.x.originPoint=u.x.originPoint,v.y.translate=D.y,v.y.scale=ft(u.y.scale,1,_),v.y.origin=u.y.origin,v.y.originPoint=u.y.originPoint):(a4(v.x,u.x,_),a4(v.y,u.y,_)),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(km(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),mZ(this.relativeTarget,this.relativeTargetOrigin,S,_),T&&VG(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=Bt()),ur(T,this.relativeTarget)),C&&(this.animationValues=b,KG(b,p,this.latestValues,_,j,M)),D&&D.rotate!==void 0&&(this.animationValues||(this.animationValues=b),this.animationValues.pathRotation=D.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=_},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ja(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ht.update(()=>{$d.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=bi(0)),this.motionValue.jump(0,!1),this.currentAnimation=XG(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),u.onUpdate&&u.onUpdate(m)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(QG),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:m,target:f,layout:h,latestValues:p}=u;if(!(!m||!f||!h)){if(this!==u&&this.layout&&h&&EE(this.options.animationType,this.layout.layoutBox,h.layoutBox)){f=this.target||Bt();const b=hn(this.layout.layoutBox.x);f.x.min=u.target.x.min,f.x.max=f.x.min+b;const v=hn(this.layout.layoutBox.y);f.y.min=u.target.y.min,f.y.max=f.y.min+v}ur(m,f),Xd(m,p),Jl(this.projectionDeltaWithTransform,this.layoutCorrected,m,p)}}registerSharedNode(u,m){this.sharedNodes.has(u)||this.sharedNodes.set(u,new ZG),this.sharedNodes.get(u).add(m);const h=m.options.initialPromotionConfig;m.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(m):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){const{layoutId:u}=this.options;return u?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:u}=this.options;return u?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:m,preserveFollowOpacity:f}={}){const h=this.getStack();h&&h.promote(this,f),u&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let m=!1;const{latestValues:f}=u;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(m=!0),!m)return;const h={};f.z&&Fg("z",u,h,this.animationValues);for(let p=0;p<Ig.length;p++)Fg(`rotate${Ig[p]}`,u,h,this.animationValues),Fg(`skew${Ig[p]}`,u,h,this.animationValues);u.render();for(const p in h)u.setStaticValue(p,h[p]),this.animationValues&&(this.animationValues[p]=h[p]);u.scheduleRender()}applyProjectionStyles(u,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=Yd(m?.pointerEvents)||"",u.transform=f?f(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=Yd(m?.pointerEvents)||""),this.hasProjected&&!Os(this.latestValues)&&(u.transform=f?f({},""):"none",this.hasProjected=!1);return}u.visibility="";const p=h.animationValues||h.latestValues;this.applyTransformsToTarget();let b=BG(this.projectionDeltaWithTransform,this.treeScale,p);f&&(b=f(p,b)),u.transform=b;const{x:v,y:S}=this.projectionDelta;u.transformOrigin=`${v.origin*100}% ${S.origin*100}% 0`,h.animationValues?u.opacity=h===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:u.opacity=h===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const N in Y0){if(p[N]===void 0)continue;const{correct:w,applyTo:C,isCSSVariable:R}=Y0[N],M=b==="none"?p[N]:w(p[N],h);if(C){const j=C.length;for(let T=0;T<j;T++)u[C[T]]=M}else R?this.options.visualElement.renderState.vars[N]=M:u[N]=M}this.options.layoutId&&(u.pointerEvents=h===this?Yd(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(t4),this.root.sharedNodes.clear()}}}function eZ(e){e.updateLayout()}function tZ(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,c=t.source!==e.layout.source;if(o==="size")Mr(p=>{const b=c?t.measuredBox[p]:t.layoutBox[p],v=hn(b);b.min=n[p].min,b.max=b.min+v});else if(o==="x"||o==="y"){const p=o==="x"?"y":"x";$0(c?t.measuredBox[p]:t.layoutBox[p],n[p])}else EE(o,t.layoutBox,n)&&Mr(p=>{const b=c?t.measuredBox[p]:t.layoutBox[p],v=hn(n[p]);b.max=b.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+v)});const u=ri();Jl(u,n,t.layoutBox);const m=ri();c?Jl(m,e.applyTransform(r,!0),t.measuredBox):Jl(m,n,t.layoutBox);const f=!vE(u);let h=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:b,layout:v}=p;if(b&&v){const S=e.options.layoutAnchor||void 0,N=Bt();km(N,t.layoutBox,b.layoutBox,S);const w=Bt();km(w,n,v.layoutBox,S),wE(N,w)||(h=!0),p.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=N,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:m,layoutDelta:u,hasLayoutChanged:f,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function nZ(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function rZ(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function aZ(e){e.clearSnapshot()}function t4(e){e.clearMeasurements()}function sZ(e){e.isLayoutDirty=!0,e.updateLayout()}function n4(e){e.isLayoutDirty=!1}function oZ(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function iZ(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function r4(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function lZ(e){e.resolveTargetDelta()}function cZ(e){e.calcProjection()}function uZ(e){e.resetSkewAndRotation()}function dZ(e){e.removeLeadSnapshot()}function a4(e,t,n){e.translate=ft(t.translate,0,n),e.scale=ft(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function s4(e,t,n,r){e.min=ft(t.min,n.min,r),e.max=ft(t.max,n.max,r)}function mZ(e,t,n,r){s4(e.x,t.x,n.x,r),s4(e.y,t.y,n.y,r)}function fZ(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const hZ={duration:.45,ease:[.4,0,.1,1]},o4=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),i4=o4("applewebkit/")&&!o4("chrome/")?Math.round:rr;function l4(e){e.min=i4(e.min),e.max=i4(e.max)}function pZ(e){l4(e.x),l4(e.y)}function EE(e,t,n){return e==="position"||e==="preserve-aspect"&&!IG(G5(t),G5(n),.2)}function gZ(e){return e!==e.root&&e.scroll?.wasRoot}const bZ=kE({attachResizeListener:(e,t)=>pc(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),zg={current:void 0},jE=kE({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!zg.current){const e=new bZ({});e.mount(window),e.setOptions({layoutScroll:!0}),zg.current=e}return zg.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),RE=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function yZ(e=!0){const t=y.useContext(wy);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,c=y.useId();y.useEffect(()=>{if(e)return o(c)},[e]);const u=y.useCallback(()=>e&&r&&r(c),[c,r,e]);return!n&&r?[!1,u]:[!0]}const ME=y.createContext({strict:!1}),c4={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let u4=!1;function xZ(){if(u4)return;const e={};for(const t in c4)e[t]={isEnabled:n=>c4[t].some(r=>!!n[r])};aE(e),u4=!0}function AE(){return xZ(),lG()}function vZ(e){const t=AE();for(const n in e)t[n]={...t[n],...e[n]};aE(t)}const wZ=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Em(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||wZ.has(e)}let OE=e=>!Em(e);function SZ(e){typeof e=="function"&&(OE=t=>t.startsWith("on")?!Em(t):e(t))}try{SZ(require("@emotion/is-prop-valid").default)}catch{}function CZ(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||Jt(e[o])||(OE(o)||n===!0&&Em(o)||!t&&!Em(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const gf=y.createContext({});function NZ(e,t){if(pf(e)){const{initial:n,animate:r}=e;return{initial:n===!1||hc(n)?n:void 0,animate:hc(r)?r:void 0}}return e.inherit!==!1?t:{}}function kZ(e){const{initial:t,animate:n}=NZ(e,y.useContext(gf));return y.useMemo(()=>({initial:t,animate:n}),[d4(t),d4(n)])}function d4(e){return Array.isArray(e)?e.join(" "):e}const Hy=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function TE(e,t,n){for(const r in t)!Jt(t[r])&&!dE(r,n)&&(e[r]=t[r])}function EZ({transformTemplate:e},t){return y.useMemo(()=>{const n=Hy();return Wy(n,t,e),Object.assign({},n.vars,n.style)},[t])}function jZ(e,t){const n=e.style||{},r={};return TE(r,n,e),Object.assign(r,EZ(e,t)),r}function RZ(e,t){const n={},r=jZ(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
358`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const PE=()=>({...Hy(),attrs:{}});function MZ(e,t,n,r){const o=y.useMemo(()=>{const c=PE();return mE(c,t,hE(r),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};TE(c,e.style,e),o.style={...c,...o.style}}return o}const AZ=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function qy(e){return typeof e!="string"||e.includes("-")?!1:!!(AZ.indexOf(e)>-1||/[A-Z]/u.test(e))}function OZ(e,t,n,{latestValues:r},o,c=!1,u){const f=(u??qy(e)?MZ:RZ)(t,r,o,e),h=CZ(t,typeof e=="string",c),p=e!==y.Fragment?{...h,...f,ref:n}:{},{children:b}=t,v=y.useMemo(()=>Jt(b)?b.get():b,[b]);return y.createElement(e,{...p,children:v})}function TZ({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:PZ(n,r,o,e),renderState:t()}}function PZ(e,t,n,r){const o={},c=r(e,{});for(const v in c)o[v]=Yd(c[v]);let{initial:u,animate:m}=e;const f=pf(e),h=nE(e);t&&h&&!f&&e.inherit!==!1&&(u===void 0&&(u=t.initial),m===void 0&&(m=t.animate));let p=n?n.initial===!1:!1;p=p||u===!1;const b=p?m:u;if(b&&typeof b!="boolean"&&!hf(b)){const v=Array.isArray(b)?b:[b];for(let S=0;S<v.length;S++){const N=Iy(e,v[S]);if(N){const{transitionEnd:w,transition:C,...R}=N;for(const M in R){let j=R[M];if(Array.isArray(j)){const T=p?j.length-1:0;j=j[T]}j!==null&&(o[M]=j)}for(const M in w)o[M]=w[M]}}}return o}const DE=e=>(t,n)=>{const r=y.useContext(gf),o=y.useContext(wy),c=()=>TZ(e,t,r,o);return n?c():OX(c)},DZ=DE({scrapeMotionValuesFromProps:Ky,createRenderState:Hy}),_Z=DE({scrapeMotionValuesFromProps:pE,createRenderState:PE}),IZ=Symbol.for("motionComponentSymbol");function FZ(e,t,n){const r=y.useRef(n);y.useInsertionEffect(()=>{r.current=n});const o=y.useRef(null);return y.useCallback(c=>{c&&e.onMount?.(c),t&&(c?t.mount(c):t.unmount());const u=r.current;if(typeof u=="function")if(c){const m=u(c);typeof m=="function"&&(o.current=m)}else o.current?(o.current(),o.current=null):u(c);else u&&(u.current=c)},[t])}const _E=y.createContext({});function Jo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function zZ(e,t,n,r,o,c){const{visualElement:u}=y.useContext(gf),m=y.useContext(ME),f=y.useContext(wy),h=y.useContext(RE),p=h.reducedMotion,b=h.skipAnimations,v=y.useRef(null),S=y.useRef(!1);r=r||m.renderer,!v.current&&r&&(v.current=r(e,{visualState:t,parent:u,props:n,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:p,skipAnimations:b,isSVG:c}),S.current&&v.current&&(v.current.manuallyAnimateOnMount=!0));const N=v.current,w=y.useContext(_E);N&&!N.projection&&o&&(N.type==="html"||N.type==="svg")&&LZ(v.current,n,o,w);const C=y.useRef(!1);y.useInsertionEffect(()=>{N&&C.current&&N.update(n,f)});const R=n[K8],M=y.useRef(!!R&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(R)&&window.MotionHasOptimisedAnimation?.(R));return PX(()=>{S.current=!0,N&&(C.current=!0,window.MotionIsMounted=!0,N.updateFeatures(),N.scheduleRenderMicrotask(),M.current&&N.animationState&&N.animationState.animateChanges())}),y.useEffect(()=>{N&&(!M.current&&N.animationState&&N.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(R)}),M.current=!1),N.enteringChildren=void 0)}),N}function LZ(e,t,n,r){const{layoutId:o,layout:c,drag:u,dragConstraints:m,layoutScroll:f,layoutRoot:h,layoutAnchor:p,layoutCrossfade:b}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:IE(e.parent)),e.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!u||m&&Jo(m),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:r,crossfade:b,layoutScroll:f,layoutRoot:h,layoutAnchor:p})}function IE(e){if(e)return e.options.allowProjection!==!1?e.projection:IE(e.parent)}function Lg(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&vZ(r);const c=n?n==="svg":qy(e),u=c?_Z:DZ;function m(h,p){let b;const v={...y.useContext(RE),...h,layoutId:UZ(h)},{isStatic:S}=v,N=kZ(h),w=u(h,S);
vendor: 19,102 bytes, line 358
358if(!S&&typeof window<"u"){VZ();const C=BZ(v);b=C.MeasureLayout,N.visualElement=zZ(e,w,v,o,C.ProjectionNode,c)}return i.jsxs(gf.Provider,{value:N,children:[b&&N.visualElement?i.jsx(b,{visualElement:N.visualElement,...v}):null,OZ(e,h,FZ(w,N.visualElement,p),w,S,t,c)]})}m.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const f=y.forwardRef(m);return f[IZ]=e,f}function UZ({layoutId:e}){const t=y.useContext(n8).id;return t&&e!==void 0?t+"-"+e:e}function VZ(e,t){y.useContext(ME).strict}function BZ(e){const t=AE(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function WZ(e,t){if(typeof Proxy>"u")return Lg;const n=new Map,r=(c,u)=>Lg(c,u,e,t),o=(c,u)=>r(c,u);return new Proxy(o,{get:(c,u)=>u==="create"?r:(n.has(u)||n.set(u,Lg(u,void 0,e,t)),n.get(u))})}const KZ=(e,t)=>t.isSVG??qy(e)?new kG(t):new xG(t,{allowProjection:e!==y.Fragment});class HZ extends ss{constructor(t){super(t),t.animationState||(t.animationState=AG(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();hf(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let qZ=0;class XZ extends ss{constructor(){super(...arguments),this.id=qZ++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:c,custom:u}=this.node.getProps();if(typeof c=="string"||typeof c=="object"&&c!==null&&!Array.isArray(c)){const m=Vs(this.node,c,u);if(m){const{transition:f,transitionEnd:h,...p}=m;for(const b in p)this.node.getValue(b)?.jump(p[b])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const YZ={animation:{Feature:HZ},exit:{Feature:XZ}};function Zc(e){return{point:{x:e.pageX,y:e.pageY}}}const $Z=e=>t=>Ly(t)&&e(t,Zc(t));function ec(e,t,n,r){return pc(e,t,$Z(n),r)}const FE=({current:e})=>e?e.ownerDocument.defaultView:null,m4=(e,t)=>Math.abs(e-t);function GZ(e,t){const n=m4(e.x,t.x),r=m4(e.y,t.y);return Math.sqrt(n**2+r**2)}const f4=new Set(["auto","scroll"]);class zE{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ad(this.lastRawMoveEventInfo,this.transformPagePoint));const S=Ug(this.lastMoveEventInfo,this.history),N=this.startEvent!==null,w=GZ(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!N&&!w)return;const{point:C}=S,{timestamp:R}=Qt;this.history.push({...C,timestamp:R});const{onStart:M,onMove:j}=this.handlers;N||(M&&M(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),j&&j(this.lastMoveEvent,S)},this.handlePointerMove=(S,N)=>{this.lastMoveEvent=S,this.lastRawMoveEventInfo=N,this.lastMoveEventInfo=Ad(N,this.transformPagePoint),ht.update(this.updatePoint,!0)},this.handlePointerUp=(S,N)=>{this.end();const{onEnd:w,onSessionEnd:C,resumeAnimation:R}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&R&&R(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=Ug(S.type==="pointercancel"?this.lastMoveEventInfo:Ad(N,this.transformPagePoint),this.history);this.startEvent&&w&&w(S,M),C&&C(S,M)},!Ly(t))return;this.dragSnapToOrigin=c,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=u,this.contextWindow=o||window;const f=Zc(t),h=Ad(f,this.transformPagePoint),{point:p}=h,{timestamp:b}=Qt;this.history=[{...p,timestamp:b}];const{onSessionStart:v}=n;v&&v(t,Ug(h,this.history)),this.removeListeners=Yc(ec(this.contextWindow,"pointermove",this.handlePointerMove),ec(this.contextWindow,"pointerup",this.handlePointerUp),ec(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(f4.has(r.overflowX)||f4.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},c={x:o.x-n.x,y:o.y-n.y};c.x===0&&c.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(t,o),ht.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ja(this.updatePoint)}}function Ad(e,t){return t?{point:t(e.point)}:e}function h4(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ug({point:e},t){return{point:e,delta:h4(e,LE(t)),offset:h4(e,ZZ(t)),velocity:QZ(t,.1)}}function ZZ(e){return e[0]}function LE(e){return e[e.length-1]}function QZ(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=LE(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ln(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>Ln(t)*2&&(r=e[1]);const c=tr(o.timestamp-r.timestamp);if(c===0)return{x:0,y:0};const u={x:(o.x-r.x)/c,y:(o.y-r.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function JZ(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ft(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ft(n,e,r.max):Math.min(e,n)),e}function p4(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function eQ(e,{top:t,left:n,bottom:r,right:o}){return{x:p4(e.x,n,o),y:p4(e.y,t,r)}}function g4(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function tQ(e,t){return{x:g4(e.x,t.x),y:g4(e.y,t.y)}}function nQ(e,t){let n=.5;const r=hn(e),o=hn(t);return o>r?n=mc(t.min,t.max-r,e.min):r>o&&(n=mc(e.min,e.max-o,t.min)),zr(0,1,n)}function rQ(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const G0=.35;function aQ(e=G0){return e===!1?e=0:e===!0&&(e=G0),{x:b4(e,"left","right"),y:b4(e,"top","bottom")}}function b4(e,t,n){return{min:y4(e,t),max:y4(e,n)}}function y4(e,t){return typeof e=="number"?e:e[t]||0}const sQ=new WeakMap;class oQ{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Bt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const c=b=>{n&&this.snapToCursor(Zc(b).point),this.stopAnimation()},u=(b,v)=>{const{drag:S,dragPropagation:N,onDragStart:w}=this.getProps();if(S&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=z$(S),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=v,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Mr(R=>{let M=this.getAxisMotionValue(R).get()||0;if(Fr.test(M)){const{projection:j}=this.visualElement;if(j&&j.layout){const T=j.layout.layoutBox[R];T&&(M=hn(T)*(parseFloat(M)/100))}}this.originPoint[R]=M}),w&&ht.update(()=>w(b,v),!1,!0),U0(this.visualElement,"transform");const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},m=(b,v)=>{this.latestPointerEvent=b,this.latestPanInfo=v;const{dragPropagation:S,dragDirectionLock:N,onDirectionLock:w,onDrag:C}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:R}=v;if(N&&this.currentDirection===null){this.currentDirection=lQ(R),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",v.point,R),this.updateAxis("y",v.point,R),this.visualElement.render(),C&&ht.update(()=>C(b,v),!1,!0)},f=(b,v)=>{this.latestPointerEvent=b,this.latestPanInfo=v,this.stop(b,v),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>{const{dragSnapToOrigin:b}=this.getProps();(b||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:p}=this.getProps();this.panSession=new zE(t,{onSessionStart:c,onStart:u,onMove:m,onSessionEnd:f,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:r,contextWindow:FE(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!o||!r)return;const{velocity:u}=o;this.startAnimation(u);const{onDragEnd:m}=this.getProps();m&&ht.postRender(()=>m(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Od(t,o,this.currentDirection))return;const c=this.getAxisMotionValue(t);let u=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(u=JZ(u,this.constraints[t],this.elastic[t])),c.set(u)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&Jo(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=eQ(r.layoutBox,t):this.constraints=!1,this.elastic=aQ(n),o!==this.constraints&&!Jo(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Mr(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=rQ(r.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Jo(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;o.root&&(o.root.scroll=void 0,o.root.updateScroll());const c=fG(r,o.root,this.visualElement.getTransformPagePoint());let u=tQ(o.layout.layoutBox,c);if(n){const m=n(uG(u));this.hasMutatedConstraints=!!m,m&&(u=oE(m))}return u}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:m}=this.getProps(),f=this.constraints||{},h=Mr(p=>{if(!Od(p,n,this.currentDirection))return;let b=f&&f[p]||{};(u===!0||u===p)&&(b={min:0,max:0});const v=o?200:1e6,S=o?40:1e7,N={type:"inertia",velocity:r?t[p]:0,bounceStiffness:v,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...c,...b};return this.startAxisValueAnimation(p,N)});return Promise.all(h).then(m)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return U0(this.visualElement,t),r.start(_y(t,r,0,n,this.visualElement,!1))}stopAnimation(){Mr(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps()[n];return o||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Mr(n=>{const{drag:r}=this.getProps();if(!Od(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(n);if(o&&o.layout){const{min:u,max:m}=o.layout.layoutBox[n],f=c.get()||0;c.set(t[n]-ft(u,m,.5)+f)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Jo(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Mr(u=>{const m=this.getAxisMotionValue(u);if(m&&this.constraints!==!1){const f=m.get();o[u]=nQ({min:f,max:f},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Mr(u=>{if(!Od(u,t,null))return;const m=this.getAxisMotionValue(u),{min:f,max:h}=this.constraints[u];m.set(ft(f,h,o[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;sQ.set(this.visualElement,this);const t=this.visualElement.current,n=ec(t,"pointerdown",h=>{const{drag:p,dragListener:b=!0}=this.getProps(),v=h.target,S=v!==t&&K$(v);p&&b&&!S&&this.start(h)});let r;const o=()=>{const{dragConstraints:h}=this.getProps();Jo(h)&&h.current&&(this.constraints=this.resolveRefConstraints(),r||(r=iQ(t,h.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,u=c.addEventListener("measure",o);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),ht.read(o);const m=pc(window,"resize",()=>this.scalePositionWithinConstraints()),f=c.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:p})=>{this.isDragging&&p&&(Mr(b=>{const v=this.getAxisMotionValue(b);v&&(this.originPoint[b]+=h[b].translate,v.set(v.get()+h[b].translate))}),this.visualElement.render())}));return()=>{m(),n(),u(),f&&f(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:u=G0,dragMomentum:m=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:c,dragElastic:u,dragMomentum:m}}}function x4(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function iQ(e,t,n){const r=R5(e,x4(n)),o=R5(t,x4(n));return()=>{r(),o()}}function Od(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lQ(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class cQ extends ss{constructor(t){super(t),this.removeGroupControls=rr,this.removeListeners=rr,this.controls=new oQ(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||rr}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Vg=e=>(t,n)=>{e&&ht.update(()=>e(t,n),!1,!0)};class uQ extends ss{constructor(){super(...arguments),this.removePointerDownListener=rr}onPointerDown(t){this.session=new zE(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:FE(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Vg(t),onStart:Vg(n),onMove:Vg(r),onEnd:(c,u)=>{delete this.session,o&&ht.postRender(()=>o(c,u))}}}mount(){this.removePointerDownListener=ec(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Bg=!1;class dQ extends y.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:c}=t;c&&(n.group&&n.group.add(c),r&&r.register&&o&&r.register(c),Bg&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),$d.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:c}=this.props,{projection:u}=r;return u&&(u.isPresent=c,t.layoutDependency!==n&&u.setOptions({...u.options,layoutDependency:n}),Bg=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==c?u.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?u.promote():u.relegate()||ht.postRender(()=>{const m=u.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),zy.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;Bg=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function UE(e){const[t,n]=yZ(),r=y.useContext(n8);return i.jsx(dQ,{...e,layoutGroup:r,switchLayoutGroup:y.useContext(_E),isPresent:t,safeToRemove:n})}const mQ={pan:{Feature:uQ},drag:{Feature:cQ,ProjectionNode:jE,MeasureLayout:UE}};function v4(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,c=r[o];c&&ht.postRender(()=>c(t,Zc(t)))}class fQ extends ss{mount(){const{current:t}=this.node;t&&(this.unmount=U$(t,(n,r)=>(v4(this.node,r,"Start"),o=>v4(this.node,o,"End"))))}unmount(){}}class hQ extends ss{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Yc(pc(this.node.current,"focus",()=>this.onFocus()),pc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function w4(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),c=r[o];c&&ht.postRender(()=>c(t,Zc(t)))}class pQ extends ss{mount(){const{current:t}=this.node;if(!t)return;
358const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=q$(t,(o,c)=>(w4(this.node,c,"Start"),(u,{success:m})=>w4(this.node,u,m?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:r?.tap===!1})}unmount(){}}const Z0=new WeakMap,Wg=new WeakMap,gQ=e=>{const t=Z0.get(e.target);t&&t(e)},bQ=e=>{e.forEach(gQ)};function yQ({root:e,...t}){const n=e||document;Wg.has(n)||Wg.set(n,{});const r=Wg.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(bQ,{root:e,...t})),r[o]}function xQ(e,t,n){const r=yQ(t);return Z0.set(e,n),r.observe(e),()=>{Z0.delete(e),r.unobserve(e)}}const vQ={some:0,all:1};class wQ extends ss{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:c}=t,u={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:vQ[o]},m=f=>{const{isIntersecting:h}=f;if(this.isInView===h||(this.isInView=h,c&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:p,onViewportLeave:b}=this.node.getProps(),v=h?p:b;v&&v(f)};this.stopObserver=xQ(this.node.current,u,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(SQ(t,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function SQ({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const CQ={inView:{Feature:wQ},tap:{Feature:pQ},focus:{Feature:hQ},hover:{Feature:fQ}},NQ={layout:{ProjectionNode:jE,MeasureLayout:UE}},kQ={...YZ,...CQ,...mQ,...NQ},EQ=WZ(kQ,KZ);function VE({product:e,compact:t=!1}){if(ki(),!Za(e.id)||!e.salePrice)return null;const n=e.regularPrice-e.salePrice;return i.jsxs("div",{className:`rounded-xl border border-primary/30 bg-gradient-to-br from-primary/15 to-transparent ${t?"p-3":"p-5"}`,children:[i.jsxs("div",{className:"mb-2 flex flex-wrap items-center gap-2",children:[i.jsx("span",{className:"rounded-full bg-primary px-2.5 py-1 text-[10px] font-bold tracking-wider text-white",children:"EIRMAI SPECIAL OFFER"}),i.jsxs("span",{className:"text-xs font-semibold text-primary",children:["ลด ",Math.round(n/e.regularPrice*100),"%"]})]}),i.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-3 gap-y-1",children:[i.jsx("span",{className:`${t?"text-2xl":"text-4xl"} font-extrabold tracking-tight text-primary`,children:Ve(e.salePrice)}),i.jsx("del",{className:"text-sm text-muted-foreground",children:Ve(e.regularPrice)})]}),i.jsxs("p",{className:"mt-1 text-xs font-semibold text-foreground",children:["ประหยัด ",Ve(n)]}),i.jsx("p",{className:"mt-3 border-t border-primary/15 pt-2 text-[11px] leading-relaxed text-muted-foreground",children:"ถึง 10 ต.ค. 2026 เวลา 23:59 น. (เวลาไทย)"})]})}const bf=y.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ce("rounded-xl border bg-card text-card-foreground shadow",e),...t}));bf.displayName="Card";const jQ=y.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ce("flex flex-col space-y-1.5 p-6",e),...t}));jQ.displayName="CardHeader";const RQ=y.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ce("font-semibold leading-none tracking-tight",e),...t}));RQ.displayName="CardTitle";const MQ=y.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));MQ.displayName="CardDescription";const yf=y.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ce("p-6 pt-0",e),...t}));yf.displayName="CardContent";const AQ=y.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ce("flex items-center p-6 pt-0",e),...t}));AQ.displayName="CardFooter";function li({product:e,compact:t=!1,priority:n=!1}){ki();const{addItem:r}=Ei(),{getLeadDays:o}=Xc(),c=o(e.id),[u,m]=y.useState(e.image);y.useEffect(()=>{m(e.image)},[e.id,e.image]);const f=h=>{h.preventDefault(),h.stopPropagation(),!e.priceOnRequest&&!e.variants?.length&&r({...e,image:u})};return i.jsx(pe,{href:`/product/${e.id}`,children:i.jsxs(bf,{className:"group relative bg-card border-white/5 overflow-hidden hover:border-white/20 transition-all duration-300 h-full flex flex-col cursor-pointer",children:[e.salePrice&&i.jsx("div",{className:`absolute top-2 left-2 z-10 bg-primary text-white font-bold rounded-sm uppercase tracking-wider ${t?"text-[10px] px-1.5 py-0.5":"text-xs px-2 py-1"}`,children:"Sale"}),i.jsxs("div",{className:"relative flex aspect-square items-center justify-center overflow-hidden bg-white",children:[i.jsx("div",{className:"flex h-full w-full items-center justify-center",children:i.jsx(hr,{product:e,thumbnail:!0,eager:n,onResolved:m,alt:e.name,className:"h-full w-full object-contain transition-transform duration-500 group-hover:scale-[1.06]"})}),!t&&i.jsx("div",{className:"absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center backdrop-blur-[2px]",children:i.jsxs(xe,{onClick:f,disabled:!u||e.priceOnRequest||!!e.variants?.length,className:"translate-y-4 group-hover:translate-y-0 transition-transform duration-300 flex items-center gap-2",variant:"default",children:[!e.priceOnRequest&&i.jsx(Bm,{className:"h-4 w-4"}),e.priceOnRequest?"สอบถามราคา":"Add to Cart"]})})]}),i.jsxs(yf,{className:`flex-1 flex flex-col ${t?"p-3":"p-5"}`,children:[i.jsx("div",{className:`font-medium text-muted-foreground uppercase tracking-widest mb-1 ${t?"text-[10px]":"text-xs mb-2"}`,children:e.brand}),i.jsx("h3",{className:`font-semibold text-foreground group-hover:text-primary transition-colors flex-1 ${t?"text-xs line-clamp-2 mb-2":"line-clamp-2 mb-4"}`,children:e.name}
358),e.colorOptions?.length?i.jsxs("div",{className:`mb-2 flex flex-wrap items-center gap-1.5 text-muted-foreground ${t?"text-[10px]":"text-xs"}`,children:[i.jsx("span",{children:"Color:"}),e.colorOptions.map(h=>i.jsx("span",{title:h.color,className:`rounded border px-1.5 py-0.5 ${h.productId===e.id?"border-primary/60 text-primary":"border-white/10 text-zinc-400"}`,children:h.color},h.productId))]}):null,i.jsx("div",{className:`mb-2 flex items-center gap-1 text-primary ${t?"text-[10px]":"text-xs"}`,children:e.readyStock?"สินค้าพร้อมส่ง":i.jsxs(i.Fragment,{children:[i.jsx(Ac,{className:"h-3.5 w-3.5"})," Pre-Order · รับภายใน ",c," วัน"]})}),i.jsx("div",{className:"flex items-end gap-1.5 mt-auto",children:e.priceOnRequest?i.jsx("span",{className:`font-bold text-primary ${t?"text-sm":"text-lg"}`,children:"สอบถามราคา"}):e.salePrice&&Za(e.id)?i.jsx(VE,{product:e,compact:!0}):e.salePrice?i.jsxs(i.Fragment,{children:[i.jsx("span",{className:`font-bold text-primary ${t?"text-sm":"text-lg"}`,children:Ve(e.salePrice)}),i.jsx("span",{className:`text-muted-foreground line-through mb-0.5 ${t?"text-[11px]":"text-sm"}`,children:Ve(e.regularPrice)})]}):i.jsx("span",{className:`font-bold text-foreground ${t?"text-sm":"text-lg"}`,children:Ve(e.regularPrice)})})]})]})})}function OQ(e){const t=y.useCallback(()=>{const o=Math.max(0,e-Date.now());return{days:Math.floor(o/864e5),hours:Math.floor(o%864e5/36e5),minutes:Math.floor(o%36e5/6e4),seconds:Math.floor(o%6e4/1e3)}},[e]),[n,r]=y.useState(t);return y.useEffect(()=>{const o=setInterval(()=>r(t()),1e3);return()=>clearInterval(o)},[t]),n}function Xy({endTime:e,showDays:t=!0}){const n=OQ(e),{tr:r}=Rt(),o=t?[{v:n.days,l:r("dealDays")},{v:n.hours,l:r("dealHours")},{v:n.minutes,l:r("dealMins")},{v:n.seconds,l:r("dealSecs")}]:[{v:n.hours,l:r("dealHours")},{v:n.minutes,l:r("dealMins")},{v:n.seconds,l:r("dealSecs")}];return i.jsx("div",{className:"flex items-center gap-1",children:o.map((c,u)=>i.jsxs("span",{className:"flex items-center gap-1",children:[i.jsxs("span",{className:"inline-flex flex-col items-center bg-black/30 backdrop-blur text-white font-mono font-bold text-sm rounded px-2 py-1 min-w-[2.2rem] leading-tight tabular-nums",children:[String(c.v).padStart(2,"0"),i.jsx("span",{className:"text-[9px] font-normal opacity-70 leading-none mt-0.5",children:c.l})]}),u<o.length-1&&i.jsx("span",{className:"text-white/60 font-bold text-xs",children:":"})]},u))})}function TQ({regular:e,deal:t}){const n=Math.round((1-t/e)*100);return i.jsxs("span",{className:"absolute top-3 left-3 z-10 bg-primary text-white text-xs font-bold px-2 py-1 rounded-full shadow-lg",children:["-",n,"%"]})}function BE({deal:e,flash:t=!1}){const{tr:n}=Rt(),{addItem:r}=Ei(),{getLeadDays:o}=Xc(),c=e.regularPrice-e.dealPrice,u=o(e.productId),m=jt.find(({id:p})=>p===e.productId),[f,h]=y.useState(e.image);if(!m)throw new Error(`Deal ${e.id} references missing product ${e.productId}`);return y.useEffect(()=>{h(e.image)},[e.image,e.productId]),i.jsxs("div",{className:`relative bg-card rounded-2xl overflow-hidden border flex flex-col group transition-shadow hover:shadow-2xl hover:shadow-primary/10 ${t?"border-primary/30":"border-white/5"}`,children:[i.jsx(TQ,{regular:e.regularPrice,deal:e.dealPrice}),e.badge==="hottest"&&i.jsx("span",{className:"absolute top-3 right-3 z-10 bg-orange-500 text-white text-[10px] font-bold px-2 py-0.5 rounded-full uppercase tracking-wide",children:"HOT"}),i.jsx(pe,{href:`/product/${e.productId}`,children:i.jsx("div",{className:"relative flex aspect-square cursor-pointer items-center justify-center overflow-hidden bg-white p-8",children:i.jsx(hr,{product:m,onResolved:h,alt:e.name,className:"max-h-full object-contain drop-shadow-xl group-hover:scale-105 transition-transform duration-300"})})}),i.jsxs("div",{className:"p-5 flex flex-col flex-1 gap-3",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-primary text-xs font-bold uppercase tracking-widest mb-1",children:e.brand}),i.jsx(pe,{href:`/product/${e.productId}`,children:i.jsx("h3",{className:"font-semibold text-sm leading-snug hover:text-primary transition-colors cursor-pointer",children:e.name})})]}),i.jsxs("div",{className:"flex items-end gap-2",children:[i.jsx("span",{className:"text-2xl font-bold text-foreground",children:Ve(e.dealPrice)}),i.jsx("span",{className:"text-sm text-muted-foreground line-through mb-0.5",children:Ve(e.regularPrice)})]}),i.jsxs("p",{className:"text-xs text-green-400 font-medium",children:[n("dealSave")," ",Ve(c)]}),i.jsxs("div",{className:`flex items-center gap-2 rounded-lg px-3 py-2 ${t?"bg-primary/20 border border-primary/30":"bg-white/5 border border-white/5"}`,children:[i.jsx(C3,{className:"h-3.5 w-3.5 text-primary shrink-0"}),i.jsx(Xy,{endTime:e.endTime,showDays:!t})]}),i.jsxs("div",{className:"flex items-center gap-1.5 rounded-lg border border-primary/20 bg-primary/5 px-3 py-2 text-xs font-semibold text-primary",children:[i.jsx(Ac,{className:"h-3.5 w-3.5 shrink-0"}),"Pre-Order · รับภายใน ",u," วัน"]}),i.jsxs(xe,{onClick:()=>{m.priceOnRequest||r({...m,image:f,salePrice:e.dealPrice})},disabled:!f||m.priceOnRequest,className:"w-full font-bold mt-auto gap-2",variant:t?"default":"outline",children:[!m.priceOnRequest&&i.jsx(Bm,{className:"h-4 w-4"}),m.priceOnRequest?"สอบถามราคา":n("addToCart")]})]})]})}const tc=new Date("2026-08-12T16:59:59Z").getTime(),PQ=new Date("2026-08-13T16:59:59Z").getTime(),$o=new Date("2026-08-18T16:59:59Z").getTime(),DQ=[{id:"fd1",productId:"p19",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:67900,stock:3,maxStock:10,endTime:tc,badge:"flash"},{id:"fd2",productId:"p24",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:43900,stock:5,maxStock:15,endTime:tc,badge:"flash"},{id:"fd3",productId:"p22",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:45900,stock:2,maxStock:8,endTime:tc,badge:"hottest"}],_Q=[{id:"wd1",productId:"p1",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:76900,stock:8,maxStock:20,endTime:$o},{id:"wd2",productId:"p20",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:52900,stock:12,maxStock:25,endTime:$o},{id:"wd3",productId:"p17",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:129900,stock:4,maxStock:10,endTime:$o},{id:"wd4",productId:"p21",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:52900,stock:15,maxStock:30,endTime:$o},{id:"wd5",productId:"p18",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:75900,stock:6,maxStock:15,endTime:$o},{id:"wd6",productId:"p23",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:46900,stock:18,maxStock:35,endTime:$o},{id:"wd7",productId:"canon-eos-r8-body",name:"",brand:"",category:"",image:"",regularPrice:0,dealPrice:44900,stock:9,maxStock:20,endTime:PQ}];function WE(e){const t=jt.find(({id:n})=>n===e.productId);if(!t)throw new Error(`Deal ${e.id} references missing product ${e.productId}`);return{...e,name:t.name,brand:t.brand,category:t.category,image:t.image,regularPrice:t.regularPrice}}const IQ=DQ.map(WE),FQ=_Q.map(WE),KE=[...IQ,...FQ],zQ=KE.slice(0,4);function LQ(){const{tr:e}=Rt();return i.jsxs("section",{className:"py-16 bg-[#0d0d10] border-t border-white/5 relative overflow-hidden",children:[i.jsx("div",{className:"absolute -top-40 -left-40 w-[500px] h-[500px] bg-primary/8 rounded-full blur-[120px] pointer-events-none"}),i.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[i.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-8",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"h-12 w-12 rounded-xl bg-primary/10 border border-primary/20 flex items-center justify-center shrink-0",children:i.jsx(rm,{className:"h-6 w-6 text-primary"})}),i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-black tracking-tight text-white",style:{fontFamily:"Raleway, sans-serif"},children:["FLASH ",i.jsx("span",{className:"text-primary",children:"SALE"})]}),i.jsx("p",{className:"text-zinc-500 text-sm",children:e("dealFlashSub")})]})]}),i.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[i.jsx(Xy,{endTime:tc,showDays:!1}),i.jsx(xe,{variant:"link",className:"text-primary p-0 h-auto font-semibold flex items-center gap-1 hidden sm:flex",asChild:!0,children:i.jsxs(pe,{href:"/deals",children:[e("seeAll")," ",i.jsx(Ka,{className:"h-4 w-4"})]})})]})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-6",children:zQ.map(t=>i.jsx(BE,{deal:t,flash:!0},t.id))}),i.jsx("div",{className:"mt-6 sm:hidden",children:i.jsx(xe,{variant:"outline",className:"w-full h-12 border-white/10",asChild:!0,children:i.jsx(pe,{href:"/deals",children:e("seeAll")})})})]})]})}const UQ=[{id:1,image:"/images/canon-r5.png",link:"/product/p13",titleKey:"heroSlide1Title",subt
358itleKey:"heroSlide1Sub",ctaKey:"shopNow"},{id:2,image:"/images/rental-banner.png",link:"/rent",titleKey:"heroSlide2Title",subtitleKey:"heroSlide2Sub",ctaKey:"viewRentals"},{id:3,image:"/images/categories/studio.jpg",link:"/lighting",titleKey:"heroSlide3Title",subtitleKey:"heroSlide3Sub",ctaKey:"heroSlide3Cta"}],VQ={"digital-camera":"/images/categories/new/1.png","film-camera":"/images/categories/new/2.png","cinema-vlog":"/images/categories/new/3.png",lenses:"/images/categories/new/4.png","lenses-support":"/images/categories/new/5.png",filter:"/images/categories/new/6.png",film:"/images/categories/new/7.png",darkroom:"/images/categories/new/8.png","video-gear":"/images/categories/new/video-making-gear.png",audio:"/images/categories/new/audio.png","flash-light":"/images/categories/new/10.png",studio:"/images/categories/new/11.png",bags:"/images/categories/new/12.png",protection:"/images/categories/new/13.png",maintenance:"/images/categories/new/14.png",tripod:"/images/categories/new/15.png","camera-accessories":"/images/categories/new/16.png",strap:"/images/categories/new/17.png","memory-card":"/images/categories/new/18.png","memory-card-accessories":"/images/categories/new/19.png",power:"/images/categories/new/20.png",printer:"/images/categories/new/21.png","computer-hardware":"/images/categories/new/22.png","computer-software":"/images/categories/new/23.png"},BQ=[{name:"Sony",logo:"/images/brands/sony.png",tag:"Cameras & Lenses"},{name:"Canon",logo:"/images/brands/canon.png",tag:"Cameras & Lenses"},{name:"Nikon",logo:"/images/brands/nikon.png",tag:"Cameras & Lenses"},{name:"Fujifilm",logo:"/images/brands/fuji.png",tag:"Cameras & Film"},{name:"Panasonic",logo:"/images/brands/panasonic.png",tag:"Video & Cameras"},{name:"Leica",logo:"/images/brands/leica.png",tag:"Cameras & Lenses"},{name:"Ricoh",logo:"/images/brands/ricoh.png",tag:"Cameras"},{name:"DJI",logo:"/images/brands/dji.png",tag:"Drones & Gimbals"},{name:"GoPro",logo:"/images/brands/gopro.png",tag:"Action Cameras"},{name:"Insta360",logo:"/images/brands/insta360.png",tag:"360° Cameras"},{name:"SJCam",logo:"/images/brands/sjcam.png",tag:"Action Cameras"},{name:"Sigma",logo:"/images/brands/sigma.png",tag:"Lenses"},{name:"Tamron",logo:"/images/brands/tamron.png",tag:"Lenses"},{name:"TTArtisan",logo:"/images/brands/ttartisan.png",tag:"Lenses"},{name:"Sirui",logo:"/images/brands/sirui.png",tag:"Lenses & Tripods"},{name:"K&F Concept",logo:"/images/brands/kf-concept.png",tag:"Filters & Accessories"},{name:"Hoya",logo:"/images/brands/hoya.png",tag:"Filters"},{name:"Kenko",logo:"/images/brands/kenko.png",tag:"Filters & Optics"},{name:"B+W",logo:"/images/brands/b-w.png",tag:"Filters"},{name:"Godox",logo:"/images/brands/godox.png?v=3",tag:"Lighting",imgScale:1.45},{name:"Nanlite",logo:"/images/brands/nanlite.png",tag:"Lighting"},{name:"Amaran",logo:"/images/brands/amaran.png",tag:"Lighting"},{name:"Jinbei",logo:"/images/brands/jinbei.png",tag:"Lighting"},{name:"Nicefoto",logo:"/images/brands/nicefoto.png",tag:"Lighting"},{name:"Manfrotto",logo:"/images/brands/manfrotto.png",tag:"Tripods & Bags"},{name:"Benro",logo:"/images/brands/benro.png",tag:"Tripods"},{name:"Miliboo",logo:"/images/brands/miliboo.png",tag:"Tripods"},{name:"Ifootage",logo:"/images/brands/ifootage.png",tag:"Sliders & Jibs"},{name:"Zhiyun",logo:"/images/brands/zhiyun.png",tag:"Gimbals"},{name:"Peak Design",logo:"/images/brands/peak-design.png",tag:"Bags & Straps"},{name:"Lowepro",logo:"/images/brands/lowepro.png",tag:"Camera Bags"},{name:"Pgytech",logo:"/images/brands/pgytech.png",tag:"Bags & Accessories"},{name:"Rhinosaur",logo:"/images/brands/rhinosaur.png",tag:"Accessories"},{name:"Pelican",logo:"/images/brands/pelican.png",tag:"Hard Cases"},{name:"Smallrig",logo:"/images/brands/smallrig.png",tag:"Rigs & Cages"},{name:"Atomos",logo:"/images/brands/atomos.png",tag:"Monitors & Recorders"},{name:"Feelworld",logo:"/images/brands/feelworld.png",tag:"Field Monitors"},{name:"Hollyland",logo:"/images/brands/hollyland.png",tag:"Wireless Video"},{name:"Devicewell",logo:"/images/brands/devicewell.png",tag:"Video Production"},{name:"Elgato",logo:"/images/brands/elgato.png",tag:"Streaming Gear"},{name:"Ulanzi",logo:"/images/brands/ulanzi.png",tag:"Video Accessories"},{name:"Rode",logo:"/images/brands/rode.png",tag:"Microphones"},{name:"Saramonic",logo:"/images/brands/saramonic.png",tag:"Microphones"},{name:"Boya",logo:"/images/brands/boya.png",tag:"Microphones"},{name:"Comica",logo:"/images/brands/comica.png",tag:"Microphones"},{name:"Fifine",logo:"/images/brands/fifine.png",tag:"Microphones"},{name:"Eirmai",logo:"/images/brands/eirmai.png?v=2",tag:"Accessories"},{name:"SanDisk",logo:"/images/brands/sandisk.png",tag:"Memory Cards"},{name:"Nitecore",logo:"/images/brands/nitecore.png",tag:"Power & Lighting"},{name:"Ugreen",logo:"/images/brands/ugreen.png",tag:"Cables & Hubs"},{name:"Kodak",logo:"/images/brands/kodak.png",tag:"Film"},{name:"AgfaPhoto",logo:"/images/brands/agfaphoto.png",tag:"Film & Batteries"},{name:"VSGO",logo:"/images/brands/vsgo.png",tag:"Cleaning"},{name:"Matin",logo:"/images/brands/matin.png",tag:"Accessories"},{name:"Gravity Move",logo:"/images/brands/gravity-move.png",tag:"Accessories"},{name:"Spa",logo:"/images/brands/spa.png",tag:"Accessories"}],S4=Xb(jt);function C4(){const{tr:e,lang:t}=Rt(),n=jt.slice(0,8),r=jt.slice(8,16),o=zd.slice(0,4);return i.jsxs("div",{className:"flex flex-col min-h-screen bg-background text-foreground",children:[i.jsx("section",{className:"w-full bg-black border-b border-white/5",children:i.jsx("div",{className:"container mx-auto px-4 py-4 md:py-6",children:i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-12 lg:grid-rows-[220px_220px] gap-3 md:gap-4",children:UQ.map((c,u)=>i.jsxs(pe,{href:c.link,className:`group relative min-h-[220px] overflow-hidden rounded-xl border border-white/10 bg-[#0a0a0a] shadow-2xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary ${u===0?"col-span-2 min-h-[300px] lg:col-span-7 lg:row-span-2 lg:min-h-0":"col-span-1 min-h-[220px] lg:col-span-5 lg:min-h-0"}`,children:[i.jsxs(EQ.div,{initial:{opacity:0,y:14}
358,animate:{opacity:1,y:0},transition:{duration:.55,delay:u*.08},className:"absolute inset-0",children:[i.jsx("img",{src:c.image,alt:"","aria-hidden":"true",className:"h-full w-full object-cover opacity-65 transition duration-700 group-hover:scale-105 group-hover:opacity-75"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/75 via-black/35 to-black/5"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/65 via-transparent to-transparent"})]}),i.jsxs("div",{className:"relative z-10 flex h-full flex-col justify-end p-5 md:p-7",children:[i.jsx("h2",{className:`max-w-xl font-bold leading-tight tracking-tight text-white drop-shadow-lg ${u===0?"text-3xl md:text-5xl":"text-2xl md:text-3xl"}`,children:e(c.titleKey)}),i.jsx("p",{className:`mt-2 max-w-2xl text-zinc-300 drop-shadow-md ${u===0?"text-base md:text-xl":"line-clamp-2 text-sm md:text-base"}`,children:e(c.subtitleKey)}),i.jsxs("span",{className:"mt-5 inline-flex w-fit items-center gap-2 text-sm font-semibold text-white transition-colors group-hover:text-primary",children:[e(c.ctaKey),i.jsx(Ka,{className:"h-4 w-4 transition-transform group-hover:translate-x-1"})]})]})]},c.id))})})}),i.jsx("section",{className:"py-12 bg-[#0d0d10] border-b border-white/5",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 md:grid-cols-6 gap-3 md:gap-4",children:E9.map(c=>{const u=jt.filter(m=>m.category===c.slug).length;return i.jsxs(pe,{href:`/${c.slug}`,className:"flex flex-col items-center group","data-testid":`link-category-${c.slug}`,children:[i.jsx("div",{className:"w-full aspect-square rounded-xl mb-2 group-hover:ring-2 ring-primary transition-all border border-zinc-200 group-hover:border-primary/60 overflow-hidden shadow-sm bg-white",children:i.jsx("img",{src:VQ[c.slug]??"/images/hero.png",alt:c.en,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),i.jsx("span",{className:"font-semibold text-[11px] text-zinc-300 group-hover:text-primary transition-colors text-center leading-tight",children:t==="th"?c.th:c.en}),i.jsx("span",{className:`mt-1 text-[10px] ${u>0?"text-zinc-500":"text-zinc-600"}`,"data-testid":`count-category-${c.slug}`,children:u>0?`${u} ${e("items")}`:t==="th"?"ยังไม่มีสินค้า":t==="zh"?"暂无商品":"No products yet"})]},c.slug)})})})}),i.jsx("section",{className:"py-16 bg-[#0a0a0c] border-t border-white/5",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsx("div",{className:"flex items-end justify-between mb-10",children:i.jsxs("div",{children:[i.jsx("h2",{className:"text-3xl font-bold tracking-tight mb-2 text-white",children:e("shopByBrand")}),i.jsx("p",{className:"text-zinc-400 text-sm",children:e("shopByBrandDesc")})]})}),i.jsx("div",{className:"grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 gap-2 md:gap-3",children:BQ.map(c=>{const u=S4.canonicalNameFor(c.name),m=u?S4.countFor(u):0,f=i.jsxs(i.Fragment,{children:[i.jsx("img",{src:c.logo,alt:c.name,className:"max-h-12 w-full object-contain transition-transform duration-200",style:{transform:`scale(${"imgScale"in c?c.imgScale:1})`}}),i.jsx("span",{className:`absolute bottom-0.5 left-0 right-0 text-center text-[9px] ${m>0?"text-zinc-500":"text-zinc-400"}`,children:m>0?`${m} ${e("items")}`:t==="th"?"ยังไม่มีสินค้า":t==="zh"?"暂无商品":"No products yet"})]}),h=`group relative flex h-20 items-center justify-center overflow-hidden rounded-lg border px-4 py-2 transition-all duration-200 ${m>0?"cursor-pointer bg-white border-zinc-200 hover:border-primary hover:shadow-md":"cursor-not-allowed bg-zinc-100/80 border-zinc-300 opacity-65"}`;return m>0&&u?i.jsx(pe,{href:`/shop?brand=${encodeURIComponent(u)}`,title:`${c.name} (${m} products)`,className:h,"data-testid":`link-brand-${c.name.toLocaleLowerCase().replace(/\s+/g,"-")}`,children:f},c.name):i.jsx("div",{title:`${c.name}: no products in the current catalog`,"aria-disabled":"true",className:h,"data-testid":`brand-disabled-${c.name.toLocaleLowerCase().replace(/\s+/g,"-")}`,children:f},c.name)})})]})}),i.jsx("section",{className:"py-16 bg-[#0a0a0c] border-t border-white/5",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"flex items-end justify-between mb-10",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-3xl font-bold tracking-tight mb-2 text-white",children:e("newArrivals")}),i.jsx("p",{className:"text-zinc-400 text-sm",children:e("newArrivalsDesc")})]}),i.jsx(xe,{variant:"link",className:"hidden sm:flex text-primary hover:text-primary/80 p-0 h-auto font-semibold items-center gap-1",asChild:!0,children:i.jsxs(pe,{href:"/digital-camera",children:[e("seeAll")," ",i.jsx(Ka,{className:"h-4 w-4"})]})})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-6",children:n.map(c=>i.jsx(li,{product:c},c.id))}),i.jsx("div",{className:"mt-8 text-center sm:hidden",children:i.jsx(xe,{variant:"outline",className:"w-full h-12 border-white/10",asChild:!0,children:i.jsx(pe,{href:"/digital-camera",children:e("seeAllGear")})})})]})}),i.jsx("section",{className:"py-16 bg-[#0d0d10] border-t border-white/5",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"flex items-end justify-between mb-10",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-3xl font-bold tracking-tight mb-2 text-white",children:e("bestSellers")}),i.jsx("p",{className:"text-zinc-400 text-sm",children:e("bestSellersDesc")})]}),i.jsx(xe,{variant:"link",className:"hidden sm:flex text-primary hover:text-primary/80 p-0 h-auto font-semibold items-center gap-1",asChild:!0,children:i.jsxs(pe,{href:"/shop",children:[e("seeAll")," ",i.jsx(Ka,{className:"h-4 w-4"})]})})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-6",children:r.map(c=>i.jsx(li,{product:c},c.id))}),i.jsx("div",{className:"mt-8 text-center sm:hidden",children:i.jsx(xe,{variant:"outline",className:"w-full h-12 border-white/10",asChild:!0,children:i.jsx(pe,{href:"/shop",children:e("seeAllGear")})})})]})}),i.jsx(LQ,{}),i.jsx("section",{className:"border-t border-primary/20 bg-gradient-to-b from-primary/10 via-[#100d10] to-[#0d0d10] py-16",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"mb-10 flex items-end justify-between gap-4",children:[i.jsxs("div",{children:[i.jsx("div",{className:"mb-3 inline-flex items-center rounded-sm bg-primary px-3 py-1.5 text-xs font-bold uppercase tracking-widest text-white",children:e("clearanceBadge")}),i.jsx("h2",{className:"text-3xl font-black tracking-tight text-white md:text-4xl",children:e("clearanceTitle")}),i.jsx("p",{className:"mt-2 max-w-2xl text-sm leading-relaxed text-zinc-400",children:e("clearanceDesc")})]}),i.jsx(xe,{variant:"link",className:"hidden shrink-0 items-center gap-1 p-0 font-semibold text-primary hover:text-primary/80 sm:flex",asChild:!0,children:i.jsxs(pe,{href:"/clearance",children:[e("seeAll")," ",i.jsx(Ka,{className:"h-4 w-4"})]})})]}),i.jsx("div",{className:"grid grid-cols-2 gap-4 md:grid-cols-4 md:gap-6",children:o.map(c=>i.jsxs("div",{className:"group/card relative",children:[i.jsx(li,{product:c}),i.jsx("div",{className:"pointer-events-none absolute right-2 top-2 z-20",children:i.jsxs("div",{className:"rounded-sm border border-primary/50 bg-primary px-2.5 py-1 text-xs font-bold text-white shadow-[0_4px_12px_rgba(255,0,0,0.3)]",children:["-",LN(c),"%"]})})]},c.id))}),i.jsx("div",{className:"mt-8 sm:hidden",children:i.jsx(xe,{variant:"outline",className:"h-12 w-full border-primary/40 text-primary hover:bg-primary/10",asChild:!0,children:i.jsx(pe,{href:"/clearance",children:e("seeAllGear")})})})]})}),i.jsx("section",{className:"py-12 bg-background border-t border-white/5",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"grid grid-cols-2 gap-2 md:gap-4 max-w-5xl mx-auto",children:[i.jsxs("div",{className:"group flex flex-col items-center gap-3 rounded-2xl border border-primary/20 bg-gradient-to-br from-primary/10 via-[#14151c] to-[#0c0c10] p-3 text-center shadow-lg transition-all hover:border-primary/50 hover:shadow-
358primary/10 md:flex-row md:items-start md:gap-5 md:p-6 md:text-left",children:[i.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border border-primary/30 bg-primary/15 text-primary transition-transform duration-300 group-hover:scale-105 md:h-14 md:w-14 md:rounded-2xl",children:i.jsx(m_,{className:"h-7 w-7"})}),i.jsxs("div",{children:[i.jsxs("h3",{className:"text-sm font-bold leading-snug text-white md:text-lg",children:[e("promoInstallTitle")," ",i.jsx("span",{className:"text-primary",children:e("promoInstallSub")})]}),i.jsx("p",{className:"mt-2 hidden text-sm leading-relaxed text-zinc-400 md:block",children:e("promoInstallDesc")})]})]}),i.jsxs("div",{className:"group flex flex-col items-center gap-3 rounded-2xl border border-white/10 bg-[#111114] p-3 text-center shadow-lg transition-all hover:border-primary/40 hover:shadow-primary/10 md:flex-row md:items-start md:gap-5 md:p-6 md:text-left",children:[i.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border border-white/15 bg-white/5 text-primary transition-transform duration-300 group-hover:scale-105 md:h-14 md:w-14 md:rounded-2xl",children:i.jsx(ui,{className:"h-7 w-7"})}),i.jsxs("div",{children:[i.jsxs("h3",{className:"text-sm font-bold leading-snug text-white md:text-lg",children:[e("promoDealerTitle")," ",i.jsx("span",{className:"text-zinc-300",children:e("promoDealerSub")})]}),i.jsx("p",{className:"mt-2 hidden text-sm leading-relaxed text-zinc-400 md:block",children:e("promoDealerDesc")})]})]})]})})})]})}const WQ={sensor:"传感器",processor:"处理器",resolution:"分辨率",af:"自动对焦",iso:"ISO 感光度",shutter:"快门速度",burst:"连拍速度",ibis:"机身防抖",video:"视频",evf:"电子取景器",viewfinder:"取景器",lcd:"LCD 屏幕",card:"存储卡插槽",connectivity:"连接方式",battery:"电池",weather:"防尘防滴",dimensions:"尺寸",weight:"重量",mount:"镜头卡口",format:"格式",lens:"镜头",aperture:"光圈",focalLength:"焦距",maxAperture:"最大光圈",opticalZoom:"光学变焦",stabilization:"防抖",waterproof:"防水",material:"材质",capacity:"容量",type:"类型",size:"尺寸",coating:"镀膜",colorTemp:"色温",power:"功率",payload:"承重",maxHeight:"最大高度",minHeight:"最小高度",compatibility:"兼容性",interface:"接口",readSpeed:"读取速度",writeSpeed:"写入速度",aspectRatio:"画幅比例",axes:"轴数",body:"机身与防护",brightness:"亮度",bulb:"闪光管",centerColumn:"中轴",chargeTime:"充电时间",charging:"充电方式",closure:"闭合方式",color:"色彩配置",colorSpace:"色彩空间",compatible:"兼容设备",control:"控制方式",controlRing:"控制环",coverage:"覆盖角度",cri:"显色指数",depthRating:"防水深度",diaphragm:"光圈叶片",dimming:"调光",filmSimulation:"胶片模拟",filmSize:"胶片尺寸",filterSize:"滤镜尺寸",flash:"闪光灯",flashSync:"闪光同步速度",flightTime:"最长飞行时间",foldedLength:"折叠长度",foldedSize:"折叠尺寸",fov:"视角",frame:"镜框",frameRate:"帧率",frequency:"频率响应",gimbal:"云台",glass:"玻璃材质",gn:"闪光指数",grip:"竖拍手柄",head:"云台类型",humidityRange:"湿度范围",ink:"墨水系统",input:"输入",interior:"内部尺寸",iris:"光圈叶片数",is:"防抖",laptop:"笔记本电脑隔层",lockType:"锁定方式",log:"视频配置文件",lut:"LUT 系统",magnification:"最大放大倍率",maxSpeed:"最高速度",media:"打印介质",metering:"测光系统",mic:"内置麦克风",microphone:"麦克风",minAperture:"最小光圈",minFocus:"最近对焦距离",modes:"拍摄模式",ndValue:"ND 值/档位",optics:"光学结构",organization:"收纳分区",output:"输出",panRange:"平移/俯仰范围",photoRes:"照片分辨率",pictureControl:"优化校准",plate:"快装板",polar:"指向性",portDiameter:"端口直径",powerSource:"电源",printSize:"打印尺寸",range:"控制距离",recycleTime:"回电时间",screenSize:"屏幕尺寸",sections:"节数",shelves:"层板",shots:"拍摄张数",slots:"插槽数量",speed:"速度",speedClass:"速度等级",spl:"最大声压级",system:"打印系统",tStop:"T 档",thickness:"厚度",ttl:"TTL 系统",videoRes:"视频分辨率",voltage:"电压",windResist:"抗风能力",wireless:"无线系统",zoom:"光学变焦",zoomHead:"闪光灯变焦"},N4={sensor:[{value:"medium-format",th:"มีเดียมฟอร์แมต",en:"Medium Format",zh:"中画幅",aliases:["medium format","medium-format","gfx","102mp"]},{value:"full-frame",th:"ฟูลเฟรม",en:"Full-Frame",zh:"全画幅",aliases:["full-frame","full frame"]},{value:"aps-c",th:"APS-C",en:"APS-C",zh:"APS-C",aliases:["aps-c","aps c"]},{value:"mft",th:"Micro 4/3",en:"Micro 4/3",zh:"M4/3",aliases:["micro 4/3","mft","four thirds"]}],video:[{value:"8k",th:"8K",en:"8K",zh:"8K",aliases:["8k"]},{value:"6k",th:"6K",en:"6K",zh:"6K",aliases:["6k","6.2k","6.5k"]},{value:"4k",th:"4K",en:"4K",zh:"4K",aliases:["4k"]}],ibis:[{value:"yes",th:"มี",en:"Available",zh:"有",aliases:["ibis","in-body","กันสั่น","image stabilization"]},{value:"no",th:"ไม่มี",en:"Not available",zh:"无",aliases:["no ibis","ไม่มีระบบกันสั่น"]}],mount:[{value:"e-mount",th:"Sony E-Mount",en:"Sony E-Mount",zh:"索尼 E 卡口",aliases:["e-mount","e mount","sony e","sony fe"]}
358,{value:"rf",th:"Canon RF",en:"Canon RF",zh:"佳能 RF",aliases:["rf-mount","rf mount","canon rf"]},{value:"z",th:"Nikon Z",en:"Nikon Z",zh:"尼康 Z",aliases:["nikon z","nikon-z","z-mount","z mount"]},{value:"x",th:"Fujifilm X",en:"Fujifilm X",zh:"富士 X",aliases:["x-mount","x mount","fujifilm x"]},{value:"l-mount",th:"L-Mount",en:"L-Mount",zh:"L 卡口",aliases:["l-mount","l mount","leica l"]},{value:"ef",th:"Canon EF",en:"Canon EF",zh:"佳能 EF",aliases:["canon ef","ef-mount","ef mount"]},{value:"f",th:"Nikon F",en:"Nikon F",zh:"尼康 F",aliases:["nikon f","f-mount","f mount"]},{value:"mft",th:"Micro 4/3",en:"Micro 4/3",zh:"M4/3",aliases:["micro 4/3","micro four thirds","mft"]}],material:[{value:"carbon",th:"คาร์บอนไฟเบอร์",en:"Carbon Fiber",zh:"碳纤维",aliases:["carbon","คาร์บอน"]},{value:"aluminium",th:"อะลูมิเนียม",en:"Aluminium",zh:"铝合金",aliases:["aluminium","aluminum","อลูมิเนียม"]}],waterproof:[{value:"yes",th:"กันน้ำ",en:"Waterproof",zh:"防水",aliases:["waterproof","water resistant","กันน้ำ"]}]},KQ=new Set(["sensor","video","ibis","mount","format","material","waterproof","type","capacity","size","coating","colorTemp","power","interface","connectivity","stabilization","is","focalLength","maxAperture","aperture","resolution","payload"]),k=(e,t,n)=>{const r=WQ[e];if(!r)throw new Error(`Missing Chinese specification label: ${e}`);return{key:e,th:t,en:n,zh:r,input:N4[e]?"select":"text",filterable:KQ.has(e),options:N4[e]}},Fe=(e,t,n,r)=>({...k(e,t,n),filterable:!0,filterOptions:r});function nc(e){return e.filterOptions??e.options}const ze={focalLength:[{value:"under-35mm",th:"ต่ำกว่า 35 มม.",en:"Under 35 mm",zh:"小于 35 毫米",aliases:["under-35mm"]},{value:"35-70mm",th:"35–70 มม.",en:"35–70 mm",zh:"35–70 毫米",aliases:["35-70mm"]},{value:"70-135mm",th:"70–135 มม.",en:"70–135 mm",zh:"70–135 毫米",aliases:["70-135mm"]},{value:"over-135mm",th:"มากกว่า 135 มม.",en:"Over 135 mm",zh:"大于 135 毫米",aliases:["over-135mm"]}],maxAperture:[{value:"f1.4-or-wider",th:"F1.4 หรือน้อยกว่า",en:"F1.4 or wider",zh:"F1.4 或更大",aliases:["f1.4-or-wider"]},{value:"f1.8-f2.8",th:"F1.8–F2.8",en:"F1.8–F2.8",zh:"F1.8–F2.8",aliases:["f1.8-f2.8"]},{value:"f3.5-f5.6",th:"F3.5–F5.6",en:"F3.5–F5.6",zh:"F3.5–F5.6",aliases:["f3.5-f5.6"]},{value:"f6.3-or-narrower",th:"F6.3 ขึ้นไป",en:"F6.3 or narrower",zh:"F6.3 或更小",aliases:["f6.3-or-narrower"]}],stabilization:[{value:"yes",th:"มีระบบกันสั่น",en:"Stabilized",zh:"带防抖",aliases:["yes","stabilized","กันสั่น"]},{value:"no",th:"ไม่มีระบบกันสั่น",en:"Not stabilized",zh:"无防抖",aliases:["no","none","ไม่มี"]}],capacityBag:[{value:"under-10l",th:"ต่ำกว่า 10 ลิตร",en:"Under 10 L",zh:"小于 10 升",aliases:["under-10l"]},{value:"10-20l",th:"10–20 ลิตร",en:"10–20 L",zh:"10–20 升",aliases:["10-20l"]},{value:"20-40l",th:"20–40 ลิตร",en:"20–40 L",zh:"20–40 升",aliases:["20-40l"]},{value:"over-40l",th:"มากกว่า 40 ลิตร",en:"Over 40 L",zh:"大于 40 升",aliases:["over-40l"]}],capacityProtection:[{value:"under-60l",th:"ต่ำกว่า 60 ลิตร",en:"Under 60 L",zh:"小于 60 升",aliases:["under-60l"]},{value:"60-150l",th:"60–150 ลิตร",en:"60–150 L",zh:"60–150 升",aliases:["60-150l"]},{value:"150-250l",th:"150–250 ลิตร",en:"150–250 L",zh:"150–250 升",aliases:["150-250l"]},{value:"over-250l",th:"มากกว่า 250 ลิตร",en:"Over 250 L",zh:"大于 250 升",aliases:["over-250l"]}],capacityStorage:[{value:"under-32gb",th:"ต่ำกว่า 32 GB",en:"Under 32 GB",zh:"小于 32 GB",aliases:["under-32gb"]},{value:"32-128gb",th:"32–128 GB",en:"32–128 GB",zh:"32–128 GB",aliases:["32-128gb"]},{value:"128-512gb",th:"128–512 GB",en:"128–512 GB",zh:"128–512 GB",aliases:["128-512gb"]},{value:"over-512gb",th:"มากกว่า 512 GB",en:"Over 512 GB",zh:"大于 512 GB",aliases:["over-512gb"]}],power:[{value:"under-100w",th:"ต่ำกว่า 100 W",en:"Under 100 W",zh:"小于 100 W",aliases:["under-100w"]},{value:"100-300w",th:"100–300 W",en:"100–300 W",zh:"100–300 W",aliases:["100-300w"]},{value:"300-600w",th:"300–600 W",en:"300–600 W",zh:"300–600 W",aliases:["300-600w"]},{value:"over-600w",th:"มากกว่า 600 W",en:"Over 600 W",zh:"大于 600 W",aliases:["over-600w"]}],colorTemp:[{value:"under-4000k",th:"ต่ำกว่า 4000 K",en:"Under 4000 K",zh:"小于 4000 K",aliases:["under-4000k"]},{value:"4000-5000k",th:"4000–5000 K",en:"4000–5000 K",zh:"4000–5000 K",aliases:["4000-5000k"]},{value:"over-5000k",th:"มากกว่า 5000 K",en:"Over 5000 K",zh:"大于 5000 K",aliases:["over-5000k"]}],connectivity:[{value:"usb",th:"USB",en:"USB",zh:"USB",aliases:["usb"]},{value:"hdmi",th:"HDMI",en:"HDMI",zh:"HDMI",aliases:["hdmi"]},{value:"xlr",th:"XLR",en:"XLR",zh:"XLR",aliases:["xlr"]},{value:"3.5mm",th:"3.5 มม.",en:"3.5 mm",zh:"3.5 毫米",aliases:["3.5mm"]},{value:"bluetooth",th:"บลูทูธ",en:"Bluetooth",zh:"蓝牙",aliases:["bluetooth"]},{value:"wi-fi",th:"Wi‑Fi",en:"Wi‑Fi",zh:"Wi‑Fi",aliases:["wi-fi","wifi"]},{value:"ethernet",th:"Ethernet",en:"Ethernet",zh:"以太网",aliases:["ethernet","lan"]}],interface:[{value:"usb",th:"USB",en:"USB",zh:"USB",aliases:["usb"]},{value:"sd",th:"SD",en:"SD",zh:"SD",aliases:["sd"]},{value:"cfexpress",th:"CFexpress",en:"CFexpress",zh:"CFexpress",aliases:["cfexpress"]},{value:"xqd",th:"XQD",en:"XQD",zh:"XQD",aliases:["xqd"]}],material:[{value:"carbon",th:"คาร์บอนไฟเบอร์",en:"Carbon Fiber",zh:"碳纤维",aliases:["carbon","carbon fiber","คาร์บอน"]},{value:"aluminium",th:"อะลูมิเนียม",en:"Aluminium",zh:"铝合金",aliases:["aluminium","aluminum","อลูมิเนียม"]},{value:"nylon",th:"ไนลอน",en:"Nylon",zh:"尼龙",aliases:["nylon","ไนลอน"]},{value:"polyester",th:"โพลีเอสเตอร์",en:"Polyester",zh:"聚酯纤维",aliases:["polyester","โพลีเอสเตอร์"]},{value:"canvas",th:"ผ้าแคนวาส",en:"Canvas",zh:"帆布",aliases:["canvas","ผ้าแคนวาส"]},{value:"leather",th:"หนัง",en:"Leather",zh:"皮革",aliases:["leather","หนัง"]},{value:"plastic",th:"พลาสติก",en:"Plastic",zh:"塑料",aliases:["plastic","พลาสติก"]},{value:"rubber",th:"ยาง",en:"Rubber",zh:"橡胶",aliases:["rubber","ยาง"]},{value:"steel",th:"เหล็ก",en:"Steel",zh:"钢",aliases:["steel","เหล็ก"]}],compatibility:[{value:"camera",th:"กล้อง",en:"Camera",zh:"相机",aliases:["camera","กล้อง"]},{value:"smartphone",th:"สมาร์ทโฟน",en:"Smartphone",zh:"智能手机",aliases:["smartphone","iphone","android","โทรศัพท์"]},{value:"computer",th:"คอมพิวเตอร์",en:"Computer",zh:"电脑",aliases:["computer","pc","mac","คอมพิวเตอร์"]}],resolutionPrinter:[{value:"300dpi-or-higher",th:"300 dpi ขึ้นไป",en:"300 dpi or higher",zh:"300 dpi 或更高",aliases:["300dpi-or-higher"]},{value:"under-300dpi",th:"ต่ำกว่า 300 dpi",en:"Under 300 dpi",zh:"低于 300 dpi",aliases:["under-300dpi"]}],size:[{value:"compact",th:"เล็ก/กะทัดรัด",en:"Compact",zh:"紧凑型",aliases:["compact"]},{value:"medium",th:"ขนาดกลาง",en:"Medium",zh:"中型",aliases:["medium"]},{value:"large",th:"ขนาดใหญ่",en:"Large",zh:"大型",aliases:["large"]}],microphoneType:[{value:"condenser",th:"คอนเดนเซอร์",en:"Condenser",zh:"电容式",aliases:["condenser"]}
358,{value:"dynamic",th:"ไดนามิก",en:"Dynamic",zh:"动圈式",aliases:["dynamic"]},{value:"shotgun",th:"ช็อตกัน",en:"Shotgun",zh:"枪式",aliases:["shotgun"]},{value:"wireless",th:"ไร้สาย",en:"Wireless",zh:"无线",aliases:["wireless"]},{value:"lavalier",th:"หนีบปกเสื้อ",en:"Lavalier",zh:"领夹式",aliases:["lavalier"]}]},Td={"mirrorless-camera":[k("sensor","เซนเซอร์","Sensor"),k("processor","โปรเซสเซอร์","Processor"),k("resolution","ความละเอียด","Resolution"),k("af","ระบบโฟกัส","AF System"),k("iso","ความไวแสง ISO","ISO Range"),k("shutter","ความเร็วชัตเตอร์","Shutter Speed"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("ibis","ระบบกันสั่น","Image Stabilization"),k("video","วิดีโอ","Video"),k("evf","ช่องมองภาพ EVF","Viewfinder"),k("lcd","จอ LCD","LCD"),k("card","สล็อตการ์ด","Memory Card Slot"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("battery","แบตเตอรี่","Battery"),k("weather","กันน้ำ / กันฝุ่น","Weather Sealing"),k("dimensions","ขนาด (ก × ส × ล)","Dimensions (W × H × D)"),k("weight","น้ำหนัก","Weight")],"dslr-camera":[k("sensor","เซนเซอร์","Sensor"),k("processor","โปรเซสเซอร์","Processor"),k("resolution","ความละเอียด","Resolution"),k("af","ระบบโฟกัส","AF System"),k("iso","ความไวแสง ISO","ISO Range"),k("shutter","ความเร็วชัตเตอร์","Shutter Speed"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("ibis","ระบบกันสั่นในเลนส์","Image Stabilization"),k("video","วิดีโอ","Video"),k("viewfinder","ช่องมองภาพ OVF","Viewfinder"),k("lcd","จอ LCD","LCD"),k("card","สล็อตการ์ด","Memory Card Slot"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("battery","แบตเตอรี่","Battery"),k("weather","กันน้ำ / กันฝุ่น","Weather Sealing"),k("mount","เมาท์เลนส์","Lens Mount"),k("dimensions","ขนาด (ก × ส × ล)","Dimensions (W × H × D)"),k("weight","น้ำหนัก","Weight")],"compact-camera":[k("sensor","เซนเซอร์","Sensor"),k("lens","เลนส์ติดตัว","Built-in Lens"),k("opticalZoom","ซูมออพติคอล","Optical Zoom"),k("af","ระบบโฟกัส","AF System"),k("iso","ความไวแสง ISO","ISO Range"),k("shutter","ความเร็วชัตเตอร์","Shutter Speed"),k("ibis","ระบบกันสั่น","Image Stabilization"),k("video","วิดีโอ","Video"),k("lcd","จอ LCD","LCD"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("battery","แบตเตอรี่","Battery"),k("weather","กันน้ำ / กันฝุ่น","Weather Sealing"),k("dimensions","ขนาด (ก × ส × ล)","Dimensions (W × H × D)"),k("weight","น้ำหนัก","Weight")],"slr-camera":[k("format","ฟอร์แมทฟิล์ม","Film Format"),k("mount","เมาท์เลนส์","Lens Mount"),k("shutter","ชัตเตอร์","Shutter"),k("viewfinder","ช่องมองภาพ","Viewfinder"),k("af","ระบบโฟกัส","Focus System"),k("metering","ระบบวัดแสง","Metering"),k("flashSync","แฟลชซิงก์","Flash Sync Speed"),k("battery","แบตเตอรี่","Battery"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"compact-film-camera":[k("format","ฟอร์แมทฟิล์ม","Film Format"),k("lens","เลนส์","Lens"),k("shutter","ชัตเตอร์","Shutter"),k("af","ระบบโฟกัส","Focus System"),k("flash","แฟลช","Flash"),k("battery","แบตเตอรี่","Battery"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"instant-camera":[k("filmSize","ขนาดฟิล์ม","Film Size"),k("lens","เลนส์","Lens"),k("af","ระบบโฟกัส","Focus System"),k("fov","มุมมองภาพ","Field of View"),k("flash","แฟลช","Flash"),k("modes","โหมดถ่ายภาพ","Sho
358oting Modes"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("battery","แบตเตอรี่","Battery"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"action-camera":[k("videoRes","ความละเอียดวิดีโอสูงสุด","Max Video Resolution"),k("frameRate","เฟรมเรต","Frame Rate"),k("stabilization","ระบบกันสั่น","Stabilization"),k("waterproof","กันน้ำ","Waterproof"),k("fov","มุมมองภาพ","Field of View"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("battery","แบตเตอรี่","Battery Life"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"360-camera":[k("videoRes","ความละเอียดวิดีโอ 360°","360° Video Resolution"),k("photoRes","ความละเอียดภาพนิ่ง","Photo Resolution"),k("stabilization","ระบบกันสั่น","Stabilization"),k("waterproof","กันน้ำ","Waterproof"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("battery","แบตเตอรี่","Battery Life"),k("weight","น้ำหนัก","Weight")],drone:[k("sensor","เซนเซอร์กล้อง","Camera Sensor"),k("video","ความละเอียดวิดีโอ","Video Resolution"),k("gimbal","กิมบอล","Gimbal"),k("flightTime","เวลาบิน","Max Flight Time"),k("range","ระยะควบคุม","Max Control Range"),k("maxSpeed","ความเร็วสูงสุด","Max Speed"),k("weight","น้ำหนัก","Weight"),k("foldedSize","ขนาดพับ","Folded Size"),k("windResist","ทนลมได้","Wind Resistance")],camcorder:[k("sensor","เซนเซอร์","Sensor"),k("video","ความละเอียดวิดีโอ","Video Resolution"),k("zoom","ซูมออพติคอล","Optical Zoom"),k("stabilization","ระบบกันสั่น","Stabilization"),k("lcd","จอ LCD","LCD"),k("card","สล็อตการ์ด","Memory Card Slot"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("battery","แบตเตอรี่","Battery Life"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],handycam:[k("sensor","เซนเซอร์","Sensor"),k("video","ความละเอียดวิดีโอ","Video Resolution"),k("zoom","ซูมออพติคอล","Optical Zoom"),k("stabilization","ระบบกันสั่น","Stabilization"),k("lcd","จอ LCD","LCD"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("battery","แบตเตอรี่","Battery Life"),k("weight","น้ำหนัก","Weight")],webcam:[k("videoRes","ความละเอียดวิดีโอ","Video Resolution"),k("frameRate","เฟรมเรต","Frame Rate"),k("fov","มุมมองภาพ","Field of View"),k("af","ระบบโฟกัส","Autofocus"),k("mic","ไมโครโฟนในตัว","Built-in Microphone"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("compatibility","ระบบปฏิบัติการ","OS Compatibility"),k("weight","น้ำหนัก","Weight")],lenses:[k("mount","เมาท์","Lens Mount"),Fe("focalLength","ระยะโฟกัส","Focal Length",ze.focalLength),Fe("maxAperture","รูรับแสงสูงสุด","Max Aperture",ze.maxAperture),Fe("is","ระบบกันสั่น","Image Stabilization",ze.stabilization)],"mirrorless-lenses":[Fe("focalLength","ระยะโฟกัส","Focal Length",ze.focalLength),Fe("maxAperture","รูรับแสงสูงสุด","Max Aperture",ze.maxAperture),k("minAperture","รูรับแสงต่ำสุด","Min Aperture"),k("optics","โครงสร้างแก้ว","Optical Formula"),k("minFocus","ระยะโฟกัสต่ำสุด","Min Focus Distance"),k("magnification","อัตราขยายสูงสุด","Max Magnification"),k("filterSize","ขนาดฟิลเตอร์","Filter Size"),k("af","ระบบ AF","AF System"),Fe("is","ระบบกันสั่น","Image Stabilization",ze.stabilization),k("mount","เมาท์","Lens Mount"),k("weather","กันน้ำ / กันฝุ่น","Weather Sealing"),k("dimensions","ขนาด (เส้นผ่าศูนย์กลาง × ยาว)","Dimensions (Ø × L)"),k("weight","น้ำหนัก","Weight")],"dslr-lenses":[Fe("focalLength","ระยะโฟกัส","Focal Length",ze.focalLength),Fe("maxAperture","รูรับแสงสูงสุด","Max Aperture",ze.maxAperture),k("minAperture","รูรับแสงต่ำสุด","Min Aperture"),k("optics","โครงสร้างแก้ว","Optical Formula"),k("minFocus","ระยะโฟกัสต่ำสุด","Min Focus Distance"),k("magnification","อัตราขยายสูงสุด","Max Magnification"),k("filterSize","ขนาดฟิลเตอร์","Filter Size"),k("af","ระบบ AF","AF System"),Fe("is","ระบบกันสั่น","Image Stabilization",ze.stabilization),k("mount","เมาท์","Lens Mount"),k("weather","กันน้ำ / กันฝุ่น","Weather Sealing"),k("dimensions","ขนาด (Ø × ยาว)","Dimensions (Ø × L)"),k("weight","น้ำหนัก","Weight")],"slr-lenses":[Fe("focalLength","ระยะโฟกัส","Focal Length",ze.focalLength),Fe("maxAperture","รูรับแสงสูงสุด","Max Aperture",ze.maxAperture),k("minAperture","รูรับแสงต่ำสุด","Min Aperture"),k("optics","โครงสร้างแก้ว","Optical Formula"),k("minFocus","ระยะโฟกัสต่ำสุด","Min Focus Distance"),k("filterSize","ขนาดฟิลเตอร์","Filter Size"),k("mount","เมาท์","Lens Mount"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"cinema-lenses":[Fe("focalLength","ระยะโฟกัส","Focal Length",ze.focalLength),k("tStop","T-Stop","T-Stop"),k("optics","โครงสร้างแก้ว","Optical Formula"),k("minFocus","ระยะโฟกัสต่ำสุด","Min Focus Distance"),k("fov","มุมมองภาพ","Angle of View"),k("iris","จำนวนใบ Iris","Iris Blades"),k("mount","เมาท์","Lens Mount"),k("filterSize","ขนาดฟิลเตอร์","Filter Size"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"uv-filter":[k("size","ขนาด (มม.)","Diameter (mm)"),k("glass","ชนิดกระจก","Glass Type"),k("frame","กรอบ","Frame Material"),k("thickness","ความหนา","Thickness"),k("coating","ระบบเคลือบ","Coating")],"cp-l-filter":[k("size","ขนาด (มม.)","Diameter (mm)"),k("glass","ชนิดกระจก","Glass Type"),k("frame","กรอบ","Frame Material"),k("thickness","ความหนา","Thickness"),k("coating","ระบบเคลือบ","Coating")],"nd-filter":[k("size","ขนาด (มม.)","Diameter (mm)"),k("ndValue","ค่า ND / สต็อป","ND Value / Stops"),k("glass","ชนิดกระจก","Glass Type"),k("frame","กรอบ","Frame Material"),k("coating","ระบบเคลือบ","Coating")],"square-filter":[k("size","ขนาดแผ่น","Filter Size"),k("ndValue","ค่า ND / สต็อป","ND Value / Stops"),k("glass","ชนิดกระจก","Glass Type"),k("thickness","ความหนา","Thickness"),k("coating","ระบบเคลือบ","Coating")],filter:[k("size","ขนาด (มม.)","Diameter (mm)"),k("glass","ชนิดกระจก","Glass Type"),k("frame","กรอบ","Frame Material"),k("thickness","ความหนา","Thickness"),k("coating","ระบบเคลือบ","Coating")],"continue-light":[Fe("power","กำลังไฟ","Power Output",ze.power),Fe("colorTemp","อุณหภูมิสี","Color Temperature",ze.colorTemp),k("cri","ค่า CRI","CRI"),k("mount","เมาท์","Mount"),k("wireless","ระบบไร้สาย","Wireless System"),k("powerSource","แหล่งพลังงาน","Power Source"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"strobe-light":[Fe("power","กำลังไฟ (Ws)","Power Output (Ws)",ze.power),k("bulb","ชนิดหลอด","Flash Tube"),k("recycleTime","เวลารีไซเคิล","Recycle Time"),k("mount","เมาท์","Mount"),k("wireless","ระบบไร้สาย","Wireless Trigger"),k("powerSource","แหล่งพลังงาน","Power Source"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"flash-light":[Fe("colorTemp","อุณหภูมิสี","Color Temperature",ze.colorTemp),Fe("power","กำลังไฟ","Power Output",ze.power),k("mount","เมาท์","Mount"),k("gn","เลขนำแสง GN","Guide Number (GN)"),k("ttl","ระบบ TTL","TTL System"),k("zoomHead","ซูมหัวแฟลช","Flash Head Zoom"),k("coverage","มุมครอบคลุม","Coverage Angle"),k("recycleTime","เวลารีไซเคิล","Recycle Time"),k("wireless","ระบบไร้สาย","Wireless System"),k("powerSource","แหล่งพลังงาน","Power Source"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],studio:[k("type","ประเภท","Type"),Fe("size","ขนาด","Size",ze.size),Fe("material","วัสดุ","Material",ze.material),k("mount","เมาท์","Mount"),k("weight","น้ำหนัก","Weight")],"video-gear":[Fe("connectivity","การเชื่อมต่อ","Connectivity",ze.connectivity),Fe("interface","อินเทอร์เฟซ","Interface",ze.interface),Fe("compatibility","รองรับอุปกรณ์","Device Compatibility",ze.compatibility)],gimbal:[k("payload","น้ำหนักรับได้","Max Payload"),k("axes","จำนวนแกน","Axes"),k("panRange","มุมหมุน Pan / Tilt / Roll","Pan / Tilt / Roll Range"),k("battery","แบตเตอรี่","Battery Life"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],microphone:[Fe("type","ประเภทไมค์","Microphone Type",ze.microphoneType),k("polar","รูปแบบรับเสียง","Polar Pattern"),k("frequency","ช่วงความถี่","Frequency Response"),k("spl","SPL สูงสุด","Max SPL"),Fe("connectivity","การเชื่อมต่อ","Connection",ze.connectivity),k("powerSource","แหล่งพลังงาน","Power Source"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],monitor:[k("screenSize","ขนาดหน้าจอ","Screen Size"),k("resolution","ความละเอียด","Resolution"),k("brightness","ความสว่าง","Brightness (nit)"),k("colorSpace","ช่วงสี","Color Space"),k("input","อินพุต","Video Input"),k("battery","แบตเตอรี่","Battery"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],tripod:[Fe("material","วัสดุ","Material",ze.material),Fe("size","ขนาด","Size",ze.size),k("sections","จำนวนส่วนขา","Leg Sections"),k("maxHeight","ความสูงสูงสุด","Max Height"),k("minHeight","ความสูงต่ำสุด","Min Height"),k("payload","รับน้ำหนักได้","Load Capacity"),k("head","ประเภทหัว","Head Type"),k("dimensions","ขนาดพับ","Folded Length"),k("weight","น้ำหนัก","Weight")],monopod:[k("material","วัสดุ","Material"),k("sections","จำนวนส่วน","Sections"),k("maxHeight","ความสูงสูงสุด","Max Height"),k("minHeight","ความสูงต่ำสุด","Min Height"),k("payload","รับน้ำหนักได้","Load Capacity"),k("foldedLength","ความยาวพับ","Folded Length"),k("weight","น้ำหนัก","Weight")],"ball-head":[k("payload","รับน้ำหนักได้","Load Capacity"),k("plate","เพลท","Quick Release Plate"),k("material","วัสดุ","Material"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"pan-head":[k("payload","รับน้ำหนักได้","Load Capacity"),k("plate","เพลท","Quick Release Plate"),k("panRange","มุมแพน / ทิลท์","Pan / Tilt Range"),k("material","วัสดุ","Material"),k("weight","น้ำหนัก","Weight")],bags:[Fe("capacity","ความจุ","Capacity",ze.capacityBag),k("dimensions","ขนาดภายนอก","Exterior Dimensions"),k("interior","ขนาดภายใน","Interior Dimensions"),Fe("material","วัสดุ","Material",ze.material),k("laptop","ช่องแล็ปท็อป","Laptop Compartment"),k("waterproof","กันน้ำ","Waterproof"),k("weight","น้ำหนัก","Weight")],hardcase:[k("dimensions","ขนาดภายนอก","Exterior Dimensions"),k("interior","ขนาดภายใน","Interior Dimensions"),k("material","วัสดุ","Material"),k("waterproof","กันน้ำ / กันฝุ่น","IP Rating"),k("lockType","ระบบล็อค","Lock Type"),k("weight","น้ำหนัก","Weight")],protection:[Fe("capacity","ความจุ","Capacity",ze.capacityProtection),Fe("material","วัสดุ","Material",ze.material)],strap:[Fe("material","วัสดุ","Material",ze.material),Fe("size","ขนาด","Size",ze.size)],"camera-accessories":[k("connectivity","การเชื่อมต่อ","Connectivity")],"memory-card-accessories":[Fe("interface","อินเทอร์เฟซ","Interface",ze.interface),Fe("capacity","ความจุ","Capacity",ze.capacityStorage)],"sd-card-wifi-sd-card":[k("type","ประเภท","Card Type"),k("capacity","ความจุ","Capacity"),k("readSpeed","ความเร็วอ่าน","Read Speed"),k("writeSpeed","ความเร็วเขียน","Write Speed"),k("speedClass","Speed Class / UHS","Speed Class / UHS"),k("interface","Interface","Interface"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"cf-card":[k("capacity","ความจุ","Capacity"),k("readSpeed","ความเร็วอ่าน","Read Speed"),k("writeSpeed","ความเร็วเขียน","Write Speed"),k("interface","Interface","Interface")],"xqd-card":[k("capacity","ความจุ","Capacity"),k("readSpeed","ความเร็วอ่าน","Read Speed"),k("writeSpeed","ความเร็วเขียน","Write Speed"),k("interface","Interface","Interface")],"micro-sd-card":[k("type","ประเภท","Card Type"),k("capacity","ความจุ","Capacity"),k("readSpeed","ความเร็วอ่าน","Read Speed"),k("writeSpeed","ความเร็วเขียน","Write Speed"),k("speedClass","Speed Class / UHS / A","Speed Class / UHS / A"),k("interface","Interface","Interface")],"memory-card":[k("type","ประเภท","Card Type"),k("capacity","ความจุ","Capacity"),k("readSpeed","ความเร็วอ่าน","Read Speed"),k("writeSpeed","ความเร็วเขียน","Write Speed"),k("speedClass","Speed Class / UHS","Speed Class / UHS"),k("interface","Interface","Interface")],battery:[k("type","ประเภท","Battery Type"),k("voltage","แรงดัน","Voltage"),k("capacity","ความจุ","Capacity (mAh)"),k("shot
358s","จำนวนช็อต","Approx. Shot Count"),k("charging","การชาร์จ","Charging Method"),k("weight","น้ำหนัก","Weight")],charger:[k("compatible","รองรับแบตเตอรี่","Compatible Batteries"),k("slots","จำนวนช่องชาร์จ","Charging Slots"),k("input","Input","Input"),k("output","Output","Output"),k("chargeTime","เวลาชาร์จ","Charge Time"),k("weight","น้ำหนัก","Weight")],"battery-grip":[k("compatible","รองรับกล้อง","Compatible Cameras"),k("battery","แบตเตอรี่ที่รองรับ","Compatible Batteries"),k("slots","จำนวนช่องแบต","Battery Slots"),k("connectivity","การเชื่อมต่อ","Connectivity"),k("weather","กันน้ำ / กันฝุ่น","Weather Sealing"),k("weight","น้ำหนัก","Weight")],"compact-printer":[k("printSize","ขนาดงานพิมพ์","Print Size"),k("system","ระบบพิมพ์","Print System"),Fe("resolution","ความละเอียด","Print Resolution",ze.resolutionPrinter),k("speed","ความเร็ว","Print Speed"),Fe("connectivity","การเชื่อมต่อ","Connectivity",ze.connectivity),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"dye-sub-printer":[k("printSize","ขนาดงานพิมพ์","Print Size"),Fe("resolution","ความละเอียด","Print Resolution",ze.resolutionPrinter),k("speed","ความเร็ว","Print Speed"),k("media","สื่อบันทึก","Print Media"),Fe("connectivity","การเชื่อมต่อ","Connectivity",ze.connectivity),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"inkjet-printer":[k("printSize","ขนาดงานพิมพ์สูงสุด","Max Print Size"),Fe("resolution","ความละเอียด","Print Resolution",ze.resolutionPrinter),k("speed","ความเร็ว","Print Speed"),k("ink","ระบบหมึก","Ink System"),Fe("connectivity","การเชื่อมต่อ","Connectivity",ze.connectivity),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],printer:[k("connectivity","การเชื่อมต่อ","Connectivity"),Fe("resolution","ความละเอียด","Resolution",ze.resolutionPrinter)],"external-hard-disk":[k("capacity","ความจุ","Capacity"),k("interface","Interface","Interface"),k("readSpeed","ความเร็วอ่าน","Read Speed"),k("writeSpeed","ความเร็วเขียน","Write Speed"),k("compatibility","รองรับระบบปฏิบัติการ","OS Compatibility"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],"dry-cabinet":[Fe("capacity","ความจุ (ลิตร)","Capacity (L)",ze.capacityProtection),k("humidityRange","ช่วงความชื้น","Humidity Range (%)"),k("control","การควบคุม","Humidity Control"),k("shelves","ชั้นวาง","Shelves"),k("powerSource","แหล่งพลังงาน","Power Source"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")],housing:[k("compatible","รองรับกล้อง","Compatible Camera"),k("depthRating","กันน้ำถึงความลึก","Depth Rating"),Fe("material","วัสดุ","Material",ze.material),k("portDiameter","ขนาด Port","Port Diameter"),k("dimensions","ขนาด","Dimensions"),k("weight","น้ำหนัก","Weight")]},Q0={p1:[k("sensor","เซนเซอร์","Sensor"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("video","วิดีโอ","Video"),k("evf","ช่องมองภาพ EVF","Viewfinder")],p2:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("ibis","ระบบกันสั่น","Image Stabilization"),k("shutter","ความเร็วชัตเตอร์","Shutter Speed")],p4:[k("sensor","เซนเซอร์","Sensor"),k("processor","โปรเซสเซอร์","Processor"),k("af","ระบบโฟกัส","AF System"),k("video","วิดีโอ","Video")],p5:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("ibis","ระบบกันสั่น","Image Stabilization"),k("af","ระบบโฟกัส","AF System")],p13:[k("sensor","เซนเซอร์","Sensor"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("video","วิดีโอ","Video"),k("af","ระบบโฟกัส","AF System"),k("body","บอดี้และการป้องกัน","Body & Protection")],p14:[k("sensor","เซนเซอร์","Sensor"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("shutter","ความเร็วชัตเตอร์","Shutter Speed"),k("video","วิดีโอ","Video"),k("ibis","ระบบกันสั่น","Image Stabilization")],p15:[k("sensor","เซนเซอร์","Sensor"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("video","วิดีโอ","Video"),k("processor","โปรเซสเซอร์","Processor"),k("ibis","ระบบกันสั่น","Image Stabilization")],p16:[k("sensor","เซนเซอร์","Sensor"),k("lens","เลนส์ติดตัว","Built-in Lens"),k("aspectRatio","สัดส่วนภาพ","Aspect Ratio"),k("filmSimulation","Film Simulation","Film Simulation"),k("weight","น้ำหนัก","Weight")],p17:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("af","ระบบโฟกัส","AF System"),k("ibis","ระบบกันสั่น","Image Stabilization")],p18:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("af","ระบบโฟกัส","AF System"),k("ibis","ระบบกันสั่น","Image Stabilization")],p19:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("burst","ถ่ายต่อเนื่อง","Burst Rate"),k("evf","ช่องมองภาพ EVF","Viewfinder"),k("ibis","ระบบกันสั่น","Image Stabilization")],p20:[k("sensor","เซนเซอร์","Sensor"),k("lens","เลนส์ติดตัว","Built-in Lens"),k("ibis","ระบบกันสั่น","Image Stabilization"),k("viewfinder","ช่องมองภาพ","Vie
358wfinder"),k("filmSimulation","Film Simulation","Film Simulation")],p21:[k("sensor","เซนเซอร์","Sensor"),k("processor","โปรเซสเซอร์","Processor"),k("video","วิดีโอ","Video"),k("af","ระบบโฟกัส","AF System"),k("ibis","ระบบกันสั่น","Image Stabilization")],p22:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("lut","ระบบ LUT","LUT System"),k("af","ระบบโฟกัส","AF System"),k("weight","น้ำหนัก","Weight")],p23:[k("sensor","เซนเซอร์","Sensor"),k("ibis","ระบบกันสั่น","Image Stabilization"),k("video","วิดีโอ","Video"),k("filmSimulation","Film Simulation","Film Simulation"),k("af","ระบบโฟกัส","AF System")],p24:[k("sensor","เซนเซอร์","Sensor"),k("ibis","ระบบกันสั่น","Image Stabilization"),k("video","วิดีโอ","Video"),k("filmSimulation","Film Simulation","Film Simulation"),k("body","ดีไซน์บอดี้","Body Design")],p25:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("color","โปรไฟล์สี","Color Profiles"),k("microphone","ไมโครโฟน","Microphone"),k("battery","แบตเตอรี่","Battery")],p26:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("lcd","จอ LCD","LCD"),k("filmSimulation","Film Simulation","Film Simulation"),k("weight","น้ำหนัก","Weight")],p27:[k("sensor","เซนเซอร์","Sensor"),k("processor","โปรเซสเซอร์","Processor"),k("video","วิดีโอ","Video"),k("af","ระบบโฟกัส","AF System"),k("pictureControl","Picture Control","Picture Control")],p28:[k("sensor","เซนเซอร์","Sensor"),k("video","วิดีโอ","Video"),k("log","โปรไฟล์วิดีโอ","Video Profiles"),k("grip","กริปแนวตั้ง","Vertical Grip"),k("af","ระบบโฟกัส","AF System")],p6:[k("mount","เมาท์เลนส์","Lens Mount"),k("aperture","ช่วงรูรับแสง","Aperture Range"),k("af","ระบบโฟกัส","AF System"),k("coating","การเคลือบผิวเลนส์","Lens Coating")],p7:[k("mount","เมาท์เลนส์","Lens Mount"),k("aperture","ช่วงรูรับแสง","Aperture Range"),k("af","ระบบโฟกัส","AF System"),k("controlRing","วงแหวนควบคุม","Control Ring")],p8:[k("aperture","ช่วงรูรับแสง","Aperture Range"),k("af","ระบบโฟกัส","AF System"),k("coating","การเคลือบผิวเลนส์","Lens Coating"),k("diaphragm","ไดอะแฟรม","Diaphragm")],p9:[k("mount","เมาท์เลนส์","Lens Mount"),k("aperture","ช่วงรูรับแสง","Aperture Range"),k("af","ระบบโฟกัส","AF System"),k("coating","การเคลือบผิวเลนส์","Lens Coating")],p10:[k("colorTemp","อุณหภูมิสี","Color Temperature"),k("cri","ค่า CRI / TLCI","CRI / TLCI"),k("dimming","การหรี่แสง","Dimming"),k("mount","เมาท์อุปกรณ์เสริม","Accessory Mount")],p11:[k("payload","รองรับน้ำหนักสูงสุด","Load Capacity"),k("maxHeight","ความสูงสูงสุด","Max Height"),k("minHeight","ความสูงต่ำสุด","Min Height"),k("weight","น้ำหนัก","Weight"),k("centerColumn","แกนกลาง","Center Column")],p12:[k("capacity","ความจุ","Capacity"),k("organization","ระบบจัดช่องเก็บของ","Organization"),k("material","วัสดุ","Material"),k("closure","ระบบปิดกระเป๋า","Closure")]};function Qc(e,t,n){return n&&Q0[n]?Q0[n]:t&&Td[t]?Td[t]:e&&Td[e]?Td[e]:[]}function HQ(e){return e?Q0[e]:void 0}function HE(e,t){return t==="th"?e.th:t==="zh"?e.zh??e.en:e.en}function qQ(e,t){return t==="th"?e.th:t==="zh"?e.zh:e.en}function qE(e,t){return Qc(e,t).filter(n=>n.filterable)}
358function XQ(e,t,n){const r=Qc(e,t),o=new Set(r.map(u=>u.key)),c=Object.fromEntries(Object.entries(n).filter(([,u])=>typeof u=="string"&&u.trim()).map(([u,m])=>[u,m.trim()]));return{values:c,invalidKeys:Object.keys(c).filter(u=>!o.has(u))}}function Yy(e){const t=e.indexOf(":");return t>0&&t<48?e.slice(t+1).trim():e.trim()}function YQ(e,t){const n=e.slice(0,e.indexOf(":")).trim().toLocaleLowerCase();return!n||e.indexOf(":")<1?!1:[t.th,t.en,t.zh].filter(Boolean).some(r=>n===r?.toLocaleLowerCase())}function $Q(e,t){const n=e.specs.find(o=>YQ(o,t));if(n)return[Yy(n)];const r=nc(t);return r?r.filter(o=>e.specs.some(c=>$y(c,o.value,o.aliases))).map(o=>o.value):[]}function GQ(e){const t=HQ(e.id);return!t||t.length!==e.specs.length?{}:Object.fromEntries(t.map((n,r)=>[n.key,Yy(e.specs[r])]))}function yi(e,t){return{...GQ(e),...e.specValues,...t}}function ZQ(e,t,n){const r=yi(e,n),c=Qc(e.category,e.subCategory,e.id).flatMap(f=>{const h=r[f.key];return h?[{key:f.key,field:f,value:h,label:HE(f,t)}]:[]}),u=t==="th"?"จุดเด่น":t==="zh"?"产品亮点":"Highlights",m=e.specs.map((f,h)=>{const p=f.indexOf(":"),b=p>0&&p<48;return{key:`legacy-${h}`,value:Yy(f),label:b?f.slice(0,p).trim():u}});return c.length?c:m}function XE(e,t,n){const r=yi(e,n)[t.key];if(r?.trim())return[r];const o=$Q(e,t);return o.length?o:tJ(e,t.key)}function YE(e,t,n){return!nc(t)&&!QQ(e,t.key)?n:n.flatMap(r=>$E(t.key,r,e))}function QQ(e,t){return e.category==="lenses"?["focalLength","maxAperture","is","mount"].includes(t):e.category==="bags"||e.category==="protection"?["capacity","material"].includes(t):e.category==="tripod"||e.category==="studio"||e.category==="strap"?["size","material","payload"].includes(t):e.category==="video-gear"?["connectivity","interface","compatibility","type"].includes(t):e.category==="printer"?["resolution","connectivity"].includes(t):e.category==="flash-light"?["power","colorTemp","mount"].includes(t):!1}function JQ(e){return[e.name,e.description,...e.specs].filter(Boolean).join(" ")}function Go(e,t){for(const[n,r]of t)if(e<=n)return r;return t[t.length-1]?.[1]??""}const eJ=new Set(["under-35mm","35-70mm","70-135mm","over-135mm","f1.4-or-wider","f1.8-f2.8","f3.5-f5.6","f6.3-or-narrower","under-10l","10-20l","20-40l","over-40l","under-60l","60-150l","150-250l","over-250l","under-32gb","32-128gb","128-512gb","over-512gb","under-100w","100-300w","300-600w","over-600w","under-4000k","4000-5000k","over-5000k","under-2kg","2-5kg","5-10kg","over-10kg","4k-or-higher","1080p","under-1080p","300dpi-or-higher","under-300dpi","compact","medium","large"]);function $E(e,t,n){const r=t.trim();if(!r)return[];const o=r.toLocaleLowerCase();if(eJ.has(o))return[r];if(e==="mount")return[["e-mount",["e-mount","e mount","sony e","sony fe"]],["rf",["rf-mount","rf mount","canon rf"]],["z",["nikon z","z-mount","z mount"]],["x",["fujifilm x","x-mount","x mount"]],["l-mount",["l-mount","l mount","leica l"]],["ef",["canon ef","ef-mount","ef mount"]],["f",["nikon f","f-mount","f mount"]],["mft",["micro 4/3","micro four thirds","micro four-thirds","mft"]]].filter(([,u])=>u.some(m=>o.includes(m))).map(([u])=>u);if(e==="focalLength"){const c=o.match(/(\d+(?:[.,]\d+)?)\s*(?:[-–]\s*(\d+(?:[.,]\d+)?))?\s*(?:mm|มม)/i);if(!c)return[];const u=Number(c[1].replace(",",".")),m=c[2]?Number(c[2].replace(",",".")):u;if(!Number.isFinite(u)||!Number.isFinite(m))return[];const f=Math.max(u,m);return f<35?["under-35mm"]:f<=70?["35-70mm"]:f<=135?["70-135mm"]:["over-135mm"]}if(e==="maxAperture"||e==="aperture"){const c=o.match(/(?:f\s*\/?\s*)(\d+(?:[.,]\d+)?)/i);if(!c)return[];const u=Number(c[1].replace(",","."));return Number.isFinite(u)?u<=1.4?["f1.4-or-wider"]:u<=2.8?["f1.8-f2.8"]:u<=5.6?["f3.5-f5.6"]:["f6.3-or-narrower"]:[]}if(e==="is"||e==="stabilization"){const c=/\b(?:oss|ois|vr|is|vc|vcm|image stabilization|optical stabilization|กันสั่น|ลดภาพสั่นไหว)\b/i.test(o),u=/\b(?:no|without|none|ไม่มี|ไม่มีกันสั่น|ไม่มีระบบกันสั่น)\b/i.test(o);return!c&&!u?[]:[u?"no":"yes"]}if(e==="material")return[["carbon",["carbon","carbon fiber","carbon fibre","คาร์บอนไฟเบอร์","คาร์บอน"]],["aluminium",["aluminium","aluminum","อลูมิเนียม"]],["nylon",["nylon","ไนลอน"]],["polyester",["polyester","โพลีเอสเตอร์"]],["canvas",["canvas","ผ้าแคนวาส"]],["leather",["leather","หนัง"]],["plastic",["plastic","พลาสติก"]],["rubber",["rubber","ยาง"]],["steel",["steel","เหล็ก"]],["wood",["wood","ไม้"]]].filter(([,u])=>u.some(m=>o.includes(m))).map(([u])=>u);if(e==="capacity"){const c=o.match(/(\d+(?:[.,]\d+)?)\s*(?:l|liter|litre|ลิตร)/g),u=o.match(/(\d+(?:[.,]\d+)?)\s*(?:gb|tb)\b/g),m=[...c??[],...u??[]];return[...new Set(m.flatMap(f=>{const h=Number(f.match(/\d+(?:[.,]\d+)?/)?.[0]?.replace(",","."));if(!Number.isFinite(h))return[];if(/\b(?:gb|tb)\b/i.test(f)){const p=/\btb\b/i.test(f)?h*1024:h;return[Go(p,[[32,"under-32gb"],[128,"32-128gb"],[512,"128-512gb"],[1/0,"over-512gb"]])]}return n.category==="protection"||n.subCategory==="dry-cabinet"?[Go(h,[[60,"under-60l"],[150,"60-150l"],[250,"150-250l"],[1/0,"over-250l"]])]:[Go(h,[[10,"under-10l"],[20,"10-20l"],[40,"20-40l"],[1/0,"over-40l"]])]}))]}if(e==="power"){const c=o.match(/(\d+(?:[.,]\d+)?)\s*(?:w|ws|วัตต์)\b/i);if(!c)return[];const u=Number(c[1].replace(",","."));return Number.isFinite(u)?[Go(u,[[100,"under-100w"],[300,"100-300w"],[600,"300-600w"],[1/0,"over-600w"]])]:[]}if(e==="colorTemp"){const c=o.match(/(\d{3,5})\s*k\b/i);if(!c)return[];const u=Number(c[1]);return[Go(u,[[3999,"under-4000k"],[5e3,"4000-5000k"],[1/0,"over-5000k"]])]}if(e==="payload"){const c=o.match(/(\d+(?:[.,]\d+)?)\s*(kg|กก|lb|lbs)\b/i);if(!c)return[];const u=Number(c[1].replace(",",".")),m=/lb/i.test(c[2])?u*.453592:u;return[Go(m,[[2,"under-2kg"],[5,"2-5kg"],[10,"5-10kg"],[1/0,"over-10kg"]])]}if(e==="connectivity"||e==="interface"||e==="input")return[["usb",/\busb(?:-c| 3(?:\.0)?)?\b/i],["hdmi",/\bhdmi\b/i],["xlr",/\bxlr\b/i],["3.5mm",/3\.5\s*mm|3\.5\s
358*มม/i],["bluetooth",/\bbluetooth\b/i],["wi-fi",/\bwi[\s-]?fi\b/i],["ethernet",/\bethernet\b|\blan\b/i],["sd",/\bsd(?:xc|hc)?\b/i],["cfexpress",/\bcfexpress\b/i],["xqd",/\bxqd\b/i]].filter(([,u])=>u.test(o)).map(([u])=>u);if(e==="compatibility"||e==="compatible"){const c=[["camera",/\bcamera\b|\bกล้อง\b/i],["smartphone",/\bsmartphone\b|\biphone\b|\bandroid\b|โทรศัพท์/i],["computer",/\bcomputer\b|\bpc\b|\bmac\b|\bคอมพิวเตอร์\b/i]];return n.category!=="video-gear"?[r]:c.filter(([,u])=>u.test(o)).map(([u])=>u)}if(e==="resolution"){const c=[];/\b(?:8k|6k|5k|4k)\b/i.test(o)&&c.push("4k-or-higher"),/\b(?:1080p|full\s*hd)\b/i.test(o)&&c.push("1080p"),/\b(?:720p|480p)\b/i.test(o)&&c.push("under-1080p");const u=o.match(/(\d{3,5})\s*dpi/i);return u&&c.push(Number(u[1])>=300?"300dpi-or-higher":"under-300dpi"),c}return e==="size"?[["compact",/\b(?:compact|mini|small|เล็ก)\b/i],["medium",/\b(?:medium|กลาง)\b/i],["large",/\b(?:large|xl|ใหญ่)\b/i]].filter(([,u])=>u.test(o)).map(([u])=>u):e==="type"&&n.subCategory==="microphone"?[["condenser",/\bcondenser\b/i],["dynamic",/\bdynamic\b/i],["shotgun",/\bshotgun\b/i],["wireless",/\bwireless\b/i],["lavalier",/\b(?:lavalier|lapel)\b/i]].filter(([,u])=>u.test(o)).map(([u])=>u):[r]}function tJ(e,t){const n=JQ(e);if(!n)return[];if(t==="type"&&e.subCategory!=="microphone")return[];if(t==="compatibility"&&e.category!=="video-gear")return[];const r=[e.name,...e.specs,e.description].filter(Boolean),c={focalLength:/focal|ทางยาวโฟกัส|ระยะโฟกัส/i,maxAperture:/aperture|รูรับแสง/i,is:/oss|ois|optical\s+vr|\bvr\b|image\s+stabil|กันสั่น|ลดภาพสั่น/i,stabilization:/stabil|กันสั่น|ลดภาพสั่น/i,material:/material|วัสดุ/i,capacity:/capacity|ความจุ/i,power:/power|กำลังไฟ|วัตต์/i,colorTemp:/color\s*temp|อุณหภูมิสี/i,payload:/payload|load|รับน้ำหนัก|รองรับน้ำหนัก/i,connectivity:/connect|interface|usb|hdmi|xlr|bluetooth|wi[\s-]?fi|การเชื่อมต่อ/i,interface:/interface|connect|usb|hdmi|xlr|การเชื่อมต่อ/i,input:/input|อินพุต/i,resolution:/resolution|dpi|ความละเอียด/i,size:/size|ขนาด/i}[t],u=c?r.filter(f=>c.test(f)):r;if((t==="is"||t==="stabilization")&&!u.length)return[];const m=u.length?u.join(" "):n;return $E(t,m,e)}function nJ(e,t){return[e.name,e.brand,e.description,...e.specs,...Object.values(yi(e,t))].join(" ").toLocaleLowerCase()}function $y(e,t,n){if(!e)return!1;const r=e.toLocaleLowerCase();return r===t.toLocaleLowerCase()?!0:(n??[]).some(o=>r.includes(o.toLocaleLowerCase()))}function rJ({category:e,products:t,lang:n,specsByProduct:r}){if(!e)return[];const o=t.filter(u=>u.category===e),c=new Map;return o.forEach(u=>{qE(u.category,u.subCategory).forEach(m=>{const f=c.get(m.key);(!f||!nc(f)&&nc(m))&&c.set(m.key,m)})}),[...c.values()].flatMap(u=>{if(e==="studio"&&u.key==="type")return[];const m=o.flatMap(p=>{const b=XE(p,u,r?.get(p.id));return b.length?[{values:b,optionValues:YE(p,u,b)}]:[]});if(m.length<2)return[];const f=nc(u),h=f?f.filter(p=>m.some(b=>b.optionValues.some(v=>$y(v,p.value,p.aliases)))).map(p=>({value:p.value,label:qQ(p,n),aliases:p.aliases})):[...new Set(m.flatMap(p=>p.values))].sort((p,b)=>p.localeCompare(b)).slice(0,12).map(p=>({value:p,label:p}));return h.length>=2?[{id:u.key,label:HE(u,n),options:h}]:[]})}function GE(e){const t=y.useRef({value:e,previous:e});return y.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var xf="Checkbox",[aJ]=gn(xf),[sJ,Gy]=aJ(xf);function oJ(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:c,form:u,name:m,onCheckedChange:f,required:h,value:p="on",internal_do_not_use_render:b}=e,[v,S]=ar({prop:n,defaultProp:o??!1,onChange:f,caller:xf}),[N,w]=y.useState(null),[C,R]=y.useState(null),M=y.useRef(!1),j=N?!!u||!!N.closest("form"):!0,T={checked:v,disabled:c,setChecked:S,control:N,setControl:w,name:m,form:u,value:p,hasConsumerStoppedPropagationRef:M,required:h,defaultChecked:Xa(o)?!1:o,isFormControl:j,bubbleInput:C,setBubbleInput:R};return i.jsx(sJ,{scope:t,...T,children:iJ(b)?b(T):r})}var ZE="CheckboxTrigger",QE=y.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},o)=>{const{control:c,value:u,disabled:m,checked:f,required:h,setControl:p,setChecked:b,hasConsumerStoppedPropagationRef:v,isFormControl:S,bubbleInput:N}=Gy(ZE,e),w=Le(o,p),C=y.useRef(f);return y.useEffect(()=>{const R=c?.form;if(R){const M=()=>b(C.current);return R.addEventListener("reset",M),()=>R.removeEventListener("reset",M)}},[c,b]),i.jsx(Ce.button,{type:"button",role:"checkbox","aria-checked":Xa(f)?"mixed":f,"aria-required":h,"data-state":rj(f),"data-disabled":m?"":void 0,disabled:m,value:u,...r,ref:w,onKeyDown:ue(t,R=>{R.key==="Enter"&&R.preventDefault()}),onClick:ue(n,R=>{b(M=>Xa(M)?!0:!M),N&&S&&(v.current=R.isPropagationStopped(),v.current||R.stopPropagation())})})});QE.displayName=ZE;var Zy=y.forwardRef((e,t)=>
358{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:c,required:u,disabled:m,value:f,onCheckedChange:h,form:p,...b}=e;return i.jsx(oJ,{__scopeCheckbox:n,checked:o,defaultChecked:c,disabled:m,required:u,onCheckedChange:h,name:r,form:p,value:f,internal_do_not_use_render:({isFormControl:v})=>i.jsxs(i.Fragment,{children:[i.jsx(QE,{...b,ref:t,__scopeCheckbox:n}),v&&i.jsx(nj,{__scopeCheckbox:n})]})})});Zy.displayName=xf;var JE="CheckboxIndicator",ej=y.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,c=Gy(JE,n);return i.jsx(Pt,{present:r||Xa(c.checked)||c.checked===!0,children:i.jsx(Ce.span,{"data-state":rj(c.checked),"data-disabled":c.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});ej.displayName=JE;var tj="CheckboxBubbleInput",nj=y.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:c,defaultChecked:u,required:m,disabled:f,name:h,value:p,form:b,bubbleInput:v,setBubbleInput:S}=Gy(tj,e),N=Le(n,S),w=GE(c),C=uN(r);y.useEffect(()=>{const M=v;if(!M)return;const j=window.HTMLInputElement.prototype,P=Object.getOwnPropertyDescriptor(j,"checked").set,I=!o.current;if(w!==c&&P){const _=new Event("click",{bubbles:I});M.indeterminate=Xa(c),P.call(M,Xa(c)?!1:c),M.dispatchEvent(_)}},[v,w,c,o]);const R=y.useRef(Xa(c)?!1:c);return i.jsx(Ce.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??R.current,required:m,disabled:f,name:h,value:p,form:b,...t,tabIndex:-1,ref:N,style:{...t.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});nj.displayName=tj;function iJ(e){return typeof e=="function"}function Xa(e){return e==="indeterminate"}function rj(e){return Xa(e)?"indeterminate":e?"checked":"unchecked"}const jm=y.forwardRef(({className:e,...t},n)=>i.jsx(Zy,{ref:n,className:ce("grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:i.jsx(ej,{className:ce("grid place-content-center text-current"),children:i.jsx(Ws,{className:"h-4 w-4"})})}));jm.displayName=Zy.displayName;const k4={"digital-camera":"https://images.unsplash.com/photo-1516035069371-29a1b244cc32?w=1400&auto=format&fit=crop&q=80","film-camera":"https://images.unsplash.com/photo-1495231916454-a57a290c59fa?w=1400&auto=format&fit=crop&q=80","cinema-vlog":"https://images.unsplash.com/photo-1574717024453-354056adb4be?w=1400&auto=format&fit=crop&q=80",lenses:"https://images.unsplash.com/photo-1510127034890-ba27508e9f1c?w=1400&auto=format&fit=crop&q=80","lenses-support":"https://images.unsplash.com/photo-1621520291095-aa6c7137491a?w=1400&auto=format&fit=crop&q=80",filter:"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=1400&auto=format&fit=crop&q=80",film:"https://images.unsplash.com/photo-1616400619175-5beda3a17896?w=1400&auto=format&fit=crop&q=80",darkroom:"https://images.unsplash.com/photo-1585828922344-0e1c7e8e0b2f?w=1400&auto=format&fit=crop&q=80","video-gear":"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=1400&auto=format&fit=crop&q=80",audio:"https://images.unsplash.com/photo-1590602847861-f357a9332bbc?w=1400&auto=format&fit=crop&q=80",tripod:"https://images.unsplash.com/photo-1533310266094-8898a03807dd?w=1400&auto=format&fit=crop&q=80","flash-light":"https://images.unsplash.com/photo-1542038784456-1ea8e935640e?w=1400&auto=format&fit=crop&q=80",studio:"https://images.unsplash.com/photo-1478737270197-7832c8831a4c?w=1400&auto=format&fit=crop&q=80",bags:"https://images.unsplash.com/photo-1553062407-98eeb64c6a62?w=1400&auto=format&fit=crop&q=80",protection:"https://images.unsplash.com/photo-1625708458528-802ec79b1ed8?w=1400&auto=format&fit=crop&q=80",strap:"https://images.unsplash.com/photo-1560256035-9f4c01f01f6e?w=1400&auto=format&fit=crop&q=80","camera-accessories":"https://images.unsplash.com/photo-1606983340126-99ab4feaa64a?w=1400&auto=format&fit=crop&q=80",maintenance:"https://images.unsplash.com/photo-1517420879524-86d64ac2f339?w=1400&auto=format&fit=crop&q=80","memory-card":"https://images.unsplash.com/photo-1518770660439-4636190af475?w=1400&auto=format&fit=crop&q=80","memory-card-accessories":"https://images.unsplash.com/photo-1518770660439-4636190af475?w=1400&auto=format&fit=crop&q=80",power:"https://images.unsplash.com/photo-1558618047-3b56e5f56f61?w=1400&auto=format&fit=crop&q=80",printer:"https://images.unsplash.com/photo-1612815154651-4ed55c6f8e73?w=1400&auto=format&fit=crop&q=80","computer-hardware":"https://images.unsplash.com/photo-1496181133206-80ce9b88a853?w=1400&auto=format&fit=crop&q=80","computer-software":"https://images.unsplash.com/photo-1561736778-36f7c91a2e46?w=1400&auto=format&fit=crop&q=80"},Pd=Math.ceil(Math.max(...jt.map(e=>e.salePrice??e.regularPrice))/5e3)*5e3;function bt({category:e}){const t=ki(),n=oO(),{tr:r,lang:o}=Rt(),c=y.useMemo(()=>Xb(jt),[]),u=new URLSearchParams(n).get("q")??"",m=Hk({query:{queryKey:df(),retry:!1}}),[f,h]=y.useState(u),[p,b]=y.useState([0,Pd]),[v,S]=y.useState({}),N=y.useMemo(()=>new Map((m.data?.specs??[]).map(W=>[W.productId,W.values])),[m.data?.specs]),w=e?Zd(e):void 0,C=y.useMemo(()=>(w?.subcategories??[]).filter(W=>jt.some(B=>B.category===e&&B.subCategory===W.slug)),[e,w]),R=y.useMemo(()=>{const W=new URLSearchParams(n).get("sub")??"";return C.some(B=>B.slug===W)?W:""},[n,C]),M=y.useMemo(()=>{const W=new URLSearchParams(n).get("brand")??"";return W?[c.canonicalNameFor(W)??W]:[]},[c,n]),[j,T]=y.useState(R),[P,I]=y.useState(M);y.useEffect(()=>T(R),[R]),y.useEffect(()=>I(M),[M]),y.useEffect(()=>h(u),[u]),y.useEffect(()=>S({}),[e,j]);const _=y.useMemo(()=>jt.filter(W=>!e||W.category===e),[e]),D=y.useMemo(()=>rJ({category:e,products:jt,lang:o,specsByProduct:N}
358),[e,o,N]),V=y.useMemo(()=>[...new Set(_.map(W=>c.canonicalNameFor(W.brand)).filter(W=>!!W))].sort(),[c,_]),H=y.useMemo(()=>{const W={};return _.forEach(B=>{B.subCategory&&(W[B.subCategory]=(W[B.subCategory]??0)+1)}),W},[_]),$=y.useMemo(()=>_.filter(W=>{if(j&&W.subCategory!==j||f&&!nJ(W,N.get(W.id)).includes(f.toLocaleLowerCase())||P.length&&!P.some(O=>c.matches(W.brand,O)))return!1;const B=W.salePrice??W.regularPrice;return B<p[0]||B>p[1]?!1:Object.entries(v).every(([O,X])=>{if(!X.length)return!0;const oe=D.find(le=>le.id===O),se=qE(W.category,W.subCategory).find(le=>le.key===O),me=se?XE(W,se,N.get(W.id)):[],fe=se?YE(W,se,me):[];return!!oe?.options.some(le=>X.includes(le.value)&&fe.some(de=>$y(de,le.value,le.aliases)))})}),[D,c,_,p,f,v,P,j,N,t]),J=W=>I(B=>B.includes(W)?B.filter(O=>O!==W):[...B,W]),ae=(W,B)=>S(O=>{const X=O[W]??[];return{...O,[W]:X.includes(B)?X.filter(oe=>oe!==B):[...X,B]}}),ee=()=>{h(""),I([]),T(""),b([0,Pd]),S({})},ie=+!!f.trim()+P.length+ +!!j+Object.values(v).flat().length+ +(p[1]<Pd),z=w?{en:w.en,th:w.th}:{en:r("allGear"),th:r("allGear")},Q=({className:W="space-y-7"})=>i.jsxs("div",{className:W,children:[C.length>0&&i.jsx(Ll,{label:r("subCategory"),children:i.jsxs("select",{value:j,onChange:B=>T(B.target.value),className:"w-full cursor-pointer rounded border border-white/10 bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-primary/60",children:[i.jsx("option",{value:"",children:r("allItems")}),C.map(B=>i.jsxs("option",{value:B.slug,children:[B.en," – ",B.th,H[B.slug]?` (${H[B.slug]})`:""]},B.slug))]})}),D.map(B=>i.jsx(Ll,{label:B.label,children:i.jsx("div",{className:"space-y-2.5",children:B.options.map(O=>{const X=(v[B.id]??[]).includes(O.value);return i.jsxs("div",{className:"flex items-center space-x-2",children:[i.jsx(jm,{id:`attr-${B.id}-${O.value}`,checked:X,onCheckedChange:()=>ae(B.id,O.value),className:"border-white/20 data-[state=checked]:bg-primary"}),i.jsx("label",{htmlFor:`attr-${B.id}-${O.value}`,className:"cursor-pointer text-sm leading-none",children:O.label})]},O.value)})})},B.id)),i.jsx(Ll,{label:r("search"),children:i.jsx(ct,{placeholder:r("searchModels"),value:f,onChange:B=>h(B.target.value),className:"border-white/10 bg-background"})}),V.length>0&&i.jsx(Ll,{label:r("brands"),children:i.jsx("div",{className:"space-y-2.5",children:V.map(B=>i.jsxs("div",{className:"flex items-center space-x-2",children:[i.jsx(jm,{id:`brand-${B}`,checked:P.includes(B),onCheckedChange:()=>J(B),className:"border-white/20 data-[state=checked]:bg-primary"}),i.jsx("label",{htmlFor:`brand-${B}`,className:"cursor-pointer text-sm font-medium leading-none",children:B})]},B))})}),i.jsxs(Ll,{label:r("maxPrice"),children:[i.jsx("input",{type:"range",min:"0",max:Pd,step:"5000",value:p[1],onChange:B=>b([0,Number(B.target.value)]),className:"w-full accent-primary"}),i.jsxs("div",{className:"mt-2 flex justify-between text-xs text-muted-foreground",children:[i.jsx("span",{children:"฿0"}),i.jsxs("span",{className:"font-medium text-foreground",children:["฿",p[1].toLocaleString()]})]})]}),ie>0&&i.jsxs("button",{onClick:ee,className:"flex w-full items-center justify-center gap-2 rounded-lg border border-primary/30 py-2 text-sm text-primary transition-colors hover:text-primary/80",children:[i.jsx(_r,{className:"h-4 w-4"})," ",r("clearFilters")," (",ie,")"]})]});return i.jsxs("div",{className:"min-h-screen bg-background",children:[e&&k4[e]?i.jsxs("div",{className:"relative overflow-hidden border-b border-white/5 py-20",children:[i.jsx("img",{src:k4[e],alt:"",className:"absolute inset-0 h-full w-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/65"}),i.jsxs("div",{className:"relative container mx-auto px-4",children:[i.jsx("h1",{className:"mb-2 text-4xl font-bold tracking-tight text-white md:text-5xl",children:o==="th"?z.th:z.en}),i.jsx("p",{className:"text-xl text-white/60",children:o==="th"?z.en:z.th})]})]}):i.jsx("div",{className:"border-b border-white/5 bg-card py-12",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsx("h1",{className:"mb-2 text-4xl font-bold tracking-tight md:text-5xl",children:o==="th"?z.th:z.en}),i.jsx("p",{className:"text-xl text-muted-foreground",children:o==="th"?z.en:z.th})]})}),i.jsx("div",{className:"container mx-auto px-4 py-12",children:i.jsxs("div",{className:"flex flex-col gap-8",children:[i.jsxs("div",{className:"flex w-full items-center justify-between",children:[i.jsxs("span",{className:"text-sm text-muted-foreground",children:[$.length," ",r("items")]}),i.jsxs(af,{children:[i.jsx(ly,{asChild:!0,children:i.jsxs(xe,{variant:"outline",size:"sm",className:"relative gap-2",children:[i.jsx(j3,{className:"h-4 w-4"})," ",r("filters"),ie>0&&i.jsx("span",{className:"absolute -right-1.5 -top-1.5 flex h-4 w-4 items-center justify-center rounded-full bg-primary text-[10px] font-bold text-white",children:ie})]})}),i.jsxs(Kc,{side:"right",className:"w-[300px] border-l-white/10 bg-card p-6 sm:w-[400px] md:w-[460px]",children:[i.jsx("div",{className:"mb-6 border-b border-white/10 pb-6",children:i.jsx("h2",{className:"text-lg font-bold",children:r("filters")})}),i.jsx(qc,{className:"h-[calc(100vh-120px)]",children:i.jsx(Q,{})})]})]})]}),i.jsx("main",{className:"w-full",children:$.length===0?i.jsxs("div",{className:"rounded-lg border border-dashed border-white/5 py-20 text-center",children:[i.jsx("p",{className:"text-lg text-muted-foreground",children:r("noProducts")}),ie>0&&i.jsx(xe,{variant:"link",onClick:ee,className:"mt-4 text-primary",children:r("clearFilters")})]}):i.jsx("div",{className:"grid grid-cols-2 gap-3 sm:gap-6 md:grid-cols-4",children:$.map((W,B)=>i.jsx(li,{product:W,priority:B<4},W.id))})})]})})]})}function Ll({label:e,children:t}){return i.jsxs("div",{children:[i.jsx("h3",{className:"mb-3 text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:e}),t]})}const lJ={p1:`Alpha 7 IV คือมาตรฐานใหม่ของการถ่ายภาพฟูลเฟรม ด้วยเซนเซอร์ Exmor R CMOS 33MP แบบ Back-Illuminated ที่พัฒนาขึ้นใหม่ ควบคู่กับเอนจิ้นประมวลผล BIONZ XR รุ่นล่าสุด ออกแบบมาเพื่อทั้งการถ่ายภาพนิ่งและวิดีโอ กล้องตัวนี้มอบความละเอียด ความเร็ว และประสิทธิภาพที่ตอบโจทย์ครีเอเตอร์มืออาชีพในทุกสาขา
359
360ระบบ Real-time Tracking และ Real-time Eye AF ของ a7 IV สามารถจดจำและติดตามคน สัตว์ และนกได้อย่างต่อเนื่องทั่วทั้งเฟรม ถ่ายต่อเนื่องได้สูงสุด 10 fps พร้อมแบตเตอรี่ที่อึดถึง 828 ช็อต
361
362สำหรับงานวิดีโอ a7 IV บันทึก 4K 60p แบบไม่ครอปในรูปแบบ 10 บิต 4:2:2 พร้อม S-Log3 และ S-Cinetone สำหรับความยืดหยุ่นสูงสุดในการตัดต่อ ระบบกันสั่น 5 แกนในบอดี้ชดเชยได้ถึง 5.5 สต็อป ให้ถ่ายทั้งภาพนิ่งและวิดีโอมือถือได้อย่างมั่นใจ`,p2:`EOS R5 คือกล้องที่ออกแบบมาสำหรับงานระดับมืออาชีพ ด้วยเซนเซอร์ Full-Frame CMOS 45MP ใหม่ และการบันทึกวิดีโอ 8K แบบไม่ครอปสูงสุด 29.97 fps กล้องตัวนี้เป็นผลจากหลายปีแห่งการรวบรวมและรับฟังข้อเสนอแนะจากผู้ใช้ Canon และพร้อมตอบสนองความต้องการของครีเอเตอร์ในทุกรูปแบบ
363
364EOS R5 มาพร้อม Dual Pixel CMOS AF II พร้อมระบบจดจำวัตถุสำหรับคน สัตว์ และยานพาหนะ ควบคู่กับชัตเตอร์อิเล็กทรอนิกส์ 20 fps ทำให้ไม่พลาดทุกโมเมนต์สำคัญทั้งในสตูดิโอและภาคสนาม
365
366สำหรับครีเอเตอร์วิดีโอ EOS R5 บันทึก 8K RAW แบบไม่ครอปภายในตัว ซึ่งเป็นครั้งแรกสำหรับกล้อง Canon EOS รวมถึง 4K 120p สำหรับสโลว์โมชันอันน่าทึ่ง ระบบกันสั่นในบอดี้สูงถึง 8 สต็อปเมื่อใช้กับเลนส์ RF บางรุ่น`,p4:`Alpha 7R V รวมเซนเซอร์ฟูลเฟรมความละเอียดสูงที่สุดในโลก 61.0 เมกะพิกเซล เข้ากับหน่วยประมวลผล AI ใหม่สำหรับการจดจำวัตถุและความแม่นยำของ AF ในระดับมืออาชีพ กล้องตัวนี้สร้างมาสำหรับผู้ที่ต้องการรายละเอียดภาพสูงสุด ไม่ว่าจะเป็นงานแลนด์สเคป แฟชัน สัตว์ป่า หรือสถาปัตยกรรม
367
368หน่วยประมวลผล AI ทำงานร่วมกับเอนจิ้น BIONZ XR เพื่อขับเคลื่อน Real-time Recognition AF ขั้นสูงสุดของ Sony สามารถตรวจจับและติดตามคน สัตว์ นก แมลง รถยนต์ รถไฟ และเครื่องบินได้พร้อมก
368ัน รวมกับระบบ Phase-Detection AF ความหนาแน่นสูง 693 จุด
369
370สำหรับวิดีโอ a7R V บันทึก 8K 24p ภายในตัวในรูปแบบ XAVC HS ควบคู่กับ 4K 60p แบบ 10 บิต 4:2:2 ระบบกันสั่น 5 แกน 8 สต็อปและจอ LCD ด้านหลังที่ปรับได้รอบทิศทาง ทำให้กล้องตัวนี้สมบูรณ์แบบอย่างแท้จริง`,p5:`Photography First. X-T1 เปิดตัวครั้งแรกในปี 2014 เพื่อฉลองครบรอบ 80 ปีของ Fujifilm เกือบหนึ่งทศวรรษและห้ารุ่นต่อมา เทคโนโลยีการถ่ายภาพล่าสุดของ Fujifilm ได้มาถึง X-T5 นำมาซึ่งคุณภาพภาพที่เหนือชั้นในบอดี้คลาสสิกอันเป็นที่รักที่ไม่มีวันตกยุค
371
372X-T5 มาพร้อมเซนเซอร์ X-Trans CMOS 5 HR 40.2MP ที่พัฒนาขึ้นใหม่และโปรเซสเซอร์ X-Processor 5 ซึ่งเป็นโปรเซสเซอร์ที่เร็วที่สุดที่ Fujifilm เคยสร้าง ทั้งสองทำงานร่วมกันเพื่อมอบความละเอียดและความเร็วที่โดดเด่น รองรับวิดีโอ 6.2K 30p และ 4K 120p ภายในตัว ระบบกันสั่นในบอดี้ 7 สต็อปช่วยให้ถ่ายในที่แสงน้อยได้อย่างมั่นใจ
373
374ด้วยระบบ AF ไฮบริด 425 จุดและการตรวจจับวัตถุด้วย Deep Learning X-T5 ติดตามคน สัตว์ นก รถยนต์ มอเตอร์ไซค์ จักรยาน เครื่องบิน และรถไฟได้อย่างแม่นยำ ควบคู่กับ Film Simulation ถึง 20 โหมด ซึ่งเป็นวิทยาศาสตร์สีที่ได้รับการยกย่องจากความเชี่ยวชาญ 85 ปีของ Fujifilm`,p13:`EOS R1 ได้รับการพัฒนาเพื่อมอบประสิทธิภาพและความเชื่อถือได้ในระดับสูงสุด เป็นกล้อง Flagship ตัวแรกในซีรีส์ EOS R Mirrorless ของ Canon เต็มเปี่ยมด้วยความสามารถระดับสูงและเทคโนโลยีล้ำสมัยที่ช่วยให้ช่างภาพมืออาชีพถ่ายได้อย่างน่าเชื่อถือแม้ในสภาพแวดล้อมที่โหดร้าย
375
376Canon พัฒนากล้องถ่ายภาพมืออาชีพมากว่า 50 ปี และ EOS R1 มาพร้อมเทคโนโลยี AF ที่ซับซ้อน รวมถึงระบบตรวจจับวัตถุด้วย AI ที่พัฒนาใหม่และการติดตามวัตถุที่ไม่ยอมแพ้ ระบบ Action Priority AF สลับเป็นโหมดถ่ายต่อเนื่องโดยอัตโนมัติเมื่อวัตถุเริ่มเคลื่อนไหว
377
378กริปแนวตั้งในตัว ซีลกันสภาพอากาศ และช่องการ์ดคู่ ทำให้ EOS R1 เป็นเครื่องมือสูงสุดสำหรับช่างภาพมืออาชีพที่ต้องบันทึกช่วงเวลาที่เกิดขึ้นเพียงครั้งเดียว ไม่ว่าจะเป็นข่าว กีฬา หรือธรรมชาติ`,p14:`Sony Alpha 9 III นำเสนอเซนเซอร์ภาพฟูลเฟรมตัวแรกของโลกที่ใช้ระบบ Global Shutter ซึ่งเป็นการก้าวกระโดดที่เปลี่ยนแปลงสิ่งที่เป็นไปได้ในการถ่ายภาพมืออาชีพอย่างสิ้นเชิง ด้วยการอ่านพิกเซลทั้งหมดพร้อมก
378ัน Alpha 9 III ขจัด Rolling Shutter ได้อย่างสมบูรณ์ รองรับ Flash Sync ที่ความเร็วชัตเตอร์ใดก็ได้ถึง 1/80,000 วินาที
379
380ด้วยความเร็วถ่ายต่อเนื่องสูงสุด 120 fps แบบไม่มี Blackout พร้อม AF/AE ติดตามเต็มรูปแบบ Alpha 9 III กำหนดนิยามใหม่ของการถ่ายกีฬาและแอ็กชัน ระบบ Real-time Recognition AF ที่ขับเคลื่อนด้วย AI ติดตามคน สัตว์ นก และยานพาหนะด้วยความแม่นยำสูงแม้ที่อัตราเฟรมสูงสุด
381
382สำหรับงานวิดีโอ Alpha 9 III บันทึก 4K 120p ภายในตัวแบบไม่ครอป ควบคู่กับ 4K 60p แบบ 10 บิต 4:2:2 พร้อม S-Log3 และ S-Cinetone ระบบกันสั่น 5 แกน 8 สต็อปและบอดี้อลูมิเนียมซีลกันสภาพอากาศ`,p15:`Sony Alpha 1 II คือสุดยอดวิศวกรรม Mirrorless ฟูลเฟรมของ Sony ผสมผสานความละเอียดสูงของกล้อง High-Megapixel ความเร็วของกล้องกีฬามืออาชีพ และความสามารถด้านวิดีโอระดับซีนีม่าไว้ในบอดี้เดียวที่อเนกประสงค์
383
384หัวใจคือเซนเซอร์ Stacked CMOS ฟูลเฟรม 50.1 เมกะพิกเซล คู่กับโปรเซสเซอร์ BIONZ XR และหน่วยประมวลผล AI เฉพาะ สถาปัตยกรรมสองโปรเซสเซอร์นี้ขับเคลื่อน Real-time Recognition AF ขั้นสูงสุดของ Sony ติดตามคน สัตว์ นก แมลง ยานพาหนะ และอื่นๆ พร้อมกันด้วยความแม่นยำสูงที่ 30 fps
385
386Alpha 1 II บันทึก 8K 30p RAW และ 4K 120p ภายในตัว ทำให้เป็น Hybrid มืออาชีพที่แท้จริง ระบบกันสั่น Active Mode ที่ขับเคลื่อนด้วย AI ชดเชยได้ถึง 8.5 สต็อป ขณะที่ EVF ความละเอียด 9.44 ล้านจุด ซึ่งสูงที่สุดที่ Sony เคยผลิต มอบมุมมองคุณภาพระดับออปติก`,p16:`ไม่มีกล้องใดพกพาได้สะดวกเท่านี้พร้อมความละเอียด Medium Format ดีไซน์กะทัดรัดน้ำหนักเบาของ GFX100RF ทำให้ความละเอียด 102 เมกะพิกเซลพร้อมอยู่กับคุณเสมอ ด้วยบอดี้อลูมิเนียมแมชชีนนิ่ง การควบคุมแบบอนาล็อกที่สัมผัสได้จริง และสัดส่วนภาพที่หลากหลาย
387
388ช่องมองภาพ Offset ได้รับแรงบันดาลใจจากรูปแบบคลาสสิกของ Rangefinder วางเลนส์ให้ใกล้ขอบบอดี้มากขึ้นสำหรับท่าถ่ายที่เป็นธรรมชาติ วงแหวน Aspect Ratio พิเศษช่วยให้ช่างภาพสลับระหว่าง 17:6, 3:2, 4:3, 1:1 และพาโนรามา 65:24 ได้ทันทีในขณะถ่าย
389
390ขับเคลื่อนด้วย X-Processor 5 ของ Fujifilm GFX100RF แสดงผล 102 เมกะพิกเซลพร้อมความลึกของโทนสีและความแม่นยำของสีที่น่าทึ่งผ่าน Film Simulation 20 โหมด ไม่ว่าจะถ่ายสถาปัตยกรรม แลนด์สเคป หรือสตรีทโฟโตกราฟี GFX100RF คือกล้องที่ตั้งมาตรฐานของตัวเอง`,p17:`Canon เปิดตัว EOS R5 Mark II ในฐานะกล้อง Mirrorless ฟูลเฟรมมืออาชีพรุ่นใหม่ที่มีความสามารถด้านวิดีโอที่ปรับปรุงสำหรับครีเอเตอร์ขั้นสูง และระบบการติดตามหลายวัตถุแบบเรียลไทม์สำหรับงานภาพนิ่ง
391
392EOS R5 Mark II มาพร้อมเซนเซอร์ BSI Stacked CMOS 45MP ที่พัฒนาขึ้นใหม่ รองรับการบันทึกวิดีโอ 8K 60p RAW ภายในตัว ซึ่งเป็นครั้งแรกของโลกสำหรับกล้อง Mirrorless ฟูลเฟรม โปรเซสเซอร์ DIGIC X ขับเคลื่อนระบบ AF ติดตามแบบ Real-time ขั้นสูงสุดของ Canon
393
394สำหรับช่างภาพภาพนิ่ง EOS R5 Mark II ถ่ายต่อเนื่องได้ 30 fps พร้อม AF/AE ติดตามเต็มรูปแบบ ขณะที่ Eye Control AF ซึ่งสืบทอดมาจาก Flagship EOS R1 ช่วยให้ช่างภาพเลือกจุดโฟกัสได้อย่างง่ายดายเพียงแค่มองผ่านช่องมองภาพ และระบบกันสั่นในบอดี้สูงถึง 8.5 สต็อป`,p18:`ในฐานะรุ่นใหม่ล่าสุดในกลุ่มกล้อง Hybrid สำหรับครีเอเตอร์ EOS R6 Series ใช้รากฐานอันแข็งแกร่งของ RF Mount และยกระดับมาตรฐานจากรุ่นก่อน ทั้งสำหรับงานภาพนิ่งและวิดีโอ มันยกระดับด้วยประสิทธิภาพ ความเร็ว เสถียรภาพ และฟีเจอร์การทำภาพยนตร์ระดับมืออาชีพ
395
396ด้วยเทคโนโลยีโปรเซสเซอร์ DIGIC X ควบคู่กับเซนเซอร์ CMOS ความละเอียดสูง EOS R6 Series รองรับ Dual Pixel CMOS AF II รุ่นถัดไปของ Canon ผลักดันความเร็วและความน่าเชื่อถือไปสู่ระดับที่ไม่มีคู่แข่ง ด้วยการตรวจจับและติดตามคน ยานพาหนะ และสัตว์ด้วย AI Deep Learning ที่แม่นยำน่าทึ่ง
397
398สำหรับครีเอเตอร์วิดีโอ EOS R6 Series มอบวิทยาศาสตร์สีระดับ Cinema EOS และรูปแบบ Log Recording ทำให้พร้อมสำหรับการผลิตวิดีโอมืออาชีพควบคู่กับการถ่ายทำ Hybrid ประจำวัน ระบบกันสั่นในบอดี้สูงถึง 8.5 สต็อป`,p19:`Nikon แนะนำ Z6III กล้อง Mirrorless ตัวแรกของโลกที่มีเซนเซอร์ CMOS แบบ Parti
398ally Stacked สถาปัตยกรรมที่ก้าวล้ำนี้เร่งความเร็วการอ่านข้อมูลอย่างมีนัยสำคัญ รองรับการถ่ายต่อเนื่องแบบไม่มี Blackout ที่ 20 fps พร้อม AF/AE ติดตาม และถึง 120 fps ในโหมด DX Crop
399
400เซนเซอร์ Partially Stacked ของ Z6III ให้ความเร็วการอ่านข้อมูลมากกว่าเซนเซอร์ BSI CMOS ทั่วไปถึงสามเท่า แทบขจัด Rolling Shutter ในวิดีโอ Subject Detection AF ของ Nikon ที่ขับเคลื่อนด้วย Deep Learning จดจำคน สัตว์ นก ยานพาหนะ และเครื่องบินได้อย่างน่าเชื่อถือ
401
402สำหรับวิดีโอ Z6III บันทึก 6K 60p N-RAW ภายในตัวเป็นครั้งแรกในซีรีส์ Z ควบคู่กับ ProRes RAW ผ่าน HDMI และ 4K 120p สำหรับสโลว์โมชัน EVF ระดับ Class-Leading ความสว่าง 4,000 นิต บอดี้ Ergonomic ที่ปรับปรุงใหม่ พร้อมช่องการ์ดคู่และซีลกันสภาพอากาศระดับมืออาชีพ`,p20:`สัมผัสประสบการณ์การถ่ายภาพในรูปแบบที่บริสุทธิ์ที่สุดกับ X100 Series ของ Fujifilm ด้วยดีไซน์หมุนปุ่มแบบดั้งเดิมที่ส่งต่อจากรุ่นสู่รุ่น X100VI รุ่นที่ 6 มอบประสบการณ์การสร้างภาพที่น่าหลงใหลและสัมผัสได้จริง สร้างคอนเทนต์ที่น่าจดจำในทุกช่วงเวลาสร้างสรรค์
403
404ไม่ว่าคุณต้องการสร้างคอนเทนต์แบบไหน X100VI น้ำหนักเบาพกสะดวกพร้อมอยู่กับทุกช่วงเวลาที่ยิ่งใหญ่เสมอ ด้วยเซนเซอร์ X-Trans CMOS 5 HR 40.2MP และ X-Processor 5 X100VI ยังนำระบบกันสั่นในบอดี้มาสู่ซีรีส์ X100 เป็นครั้งแรก ชดเชยได้ถึง 6 สต็อป
405
406ช่องมองภาพไฮบริด OVF/EVF อันเป็นเอกลักษณ์ให้เลือกระหว่าง OVF สำหรับประสบการณ์ที่เป็นธรรมชาติที่สุด และ EVF สำหรับการตรวจสอบ Exposure ที่แม่นยำ ด้วย Film Simulation 20 โหมด ทุกภาพจาก X100VI มีความลึกและคาแรคเตอร์ที่ทำให้ X100 Series เป็นตำนาน`,p21:`Nikon Z5II คือประตูสู่ระบบ Z Mount ฟูลเฟรมที่สมบูรณ์แบบ มอบประสิทธิภาพ AF และความสามารถด้านวิดีโอระดับ Flagship ในบอดี้น้ำหนักเบาที่เข้าถึงได้ง่าย ขับเคลื่อนด้วย EXPEED 7 โปรเซสเซอร์เดียวกับ Z8 และ Z9 Z5II นำ Subject Detection ระดับ Class-Leading มาสู่ Segment ฟูลเฟรมราคาเริ่มต้น
407
408ระบบ Subject Detection AF ของ Nikon จดจำและติดตามวัตถุ 9 ประเภท ได้แก่ คน สัตว์ นก รถ มอเตอร์ไซค์ จักรยาน รถไฟ เครื่องบิน และเรือ ด้วย Deep Learning เพื่อโฟกัสที่เชื่อถือได้แม้ในสภาพแสงที่ท้าทาย ถ่ายต่อเนื่อง 14 fps พร้อมระบบกันสั่นในบอดี้ 7.5 สต็อป
409
410สำหรับวิดีโอ Z5II บันทึก 4K 60p แบบ Oversample จากฟูลเฟรมและรองรับ N-RAW และ ProRes RAW ผ่าน HDMI ช่องการ์ด UHS-II คู่ จอสัมผัสพลิกได้รอบทิศทาง และบอดี้ซีลกันสภาพอากาศ ทำให้ Z5II เป็นเพื่อนร่วมทางที่เชื่อถือได้`,p22:`LUMIX S9 คือกล้อง Mirrorless ฟูลเฟรมในซีรีส์ LUMIX S ที่เล็กและเบาที่สุด ออกแบบเพื่อให้ครีเอเตอร์ทุกคนเข้าถึงคุณภาพภาพ Cinematic ของเซนเซอร์ฟูลเฟรมในบอดี้ที่พกไปได้ทุกที่ ด้วยน้ำหนักเพียง 486 กรัม S9 เข้ากับไลฟ์สไตล์ประจำวันของช่างภาพและครีเอเตอร์ที่ไม่ยอมประนีประนอมเรื่องคุณภาพ
411
412S9 มาพร้อมปุ่ม LUT บนบอดี้เป็นครั้งแรกของโลกสำหรับกล้อง Mirrorless ให้ครีเอเตอร์ใส่ Color Grade แบบกำหนดเองได้แบบ Real-time โดยตรงจากกล้อง รองรับ V-Log และ Hybrid Log Gamma ควบคู่กับวิดีโอ 6K 30p และ 4K 60p
413
414ระบบ Phase Hybrid AF ของ Panasonic ให้การติดตามวัตถุที่เชื่อถือได้ทั้งภาพนิ่งและวิดีโอ ขณะที่ดีไซน์กะทัดรัดมาพร้อมจอ LCD พลิกได้รอบทิศทาง รองรับระบบเลนส์ L-Mount ที่ใช้ร่วมกับ Leica และ Sigma`,p23:`FUJIFILM X-T50 สืบทอดดีไซน์ X-T Series ที่ให้ความรู้สึกใกล้เคียงกับกล้องฟิล์มคลาสสิก ผสมกับดีไซน์ที่ทันสมัยและ Ergonomic ที่ใช้งานสบายไม่ว่าจะพาไปถ่ายที่ไหน
415
416X-T50 มาพร้อมเซนเซอร์ X-Trans CMOS 5 HR 40.2MP ระดับ Class-Leading และ X-Processor 5 เดียวกับ X-T5 ที่ได้รับการยกย่อง แต่ในบอดี้ที่กะทัดรัดและเข้าถึงได้มากกว่า พร้อมระบบกันสั่นในบอดี้ 7 สต็อปเป็นครั้งแรกสำหรับรุ่น X-T50
417
418วงแหวน Film Simulation บนบอดี้ซึ่งเป็นครั้งแรกสำหรับ X-T50 ให้การเข้าถึงโดยตรงสู่ Color Profile อันโดดเด่นของ Fujifilm ด้วย AI Subject Detection AF วิดีโอ 6.2K 30p ภายในตัว และวิทยาศาสตร์สีอันเป็นเอกลักษณ์ X-T50 คือกล้องที่ทำให้ทุกวันมีคุณค่าพอจะถ่าย`,p24:`กล้องคลาสสิกสมัยใหม่ไม่ใช่แค่เลียนแบบสิ่งที่เคยมีมา FUJIFILM X-E5 คือตัวอย่างของการเป็น Modern Classic ที่แท้จริง ผสมดีไซน์ที่ซับซ้อนและงดงามเข้ากับการควบคุมแบบอนาล็อกที่กระตุ้นความต้องการสร้างภาพ
419
420ทำจากอลูมิเนียมแมชชีนนิ่งทั้งหมด Top-Plate ยังคงสาระสำคัญของกล้องคลาสสิกด้วยดีไซน์เป็นเหลี่ยมมุม มาพร้อมคันปรับ Shutter Speed ชดเชย Exposure และ ISO สำหรับครั้งแรกในซีรีส์ X-E ระบบกันสั่นในบอดี้ชดเชยได้ 7 สต็อป
421
422หัวใจคือเซนเซอร์ X-Trans CMOS 5 HR 40.2MP และ X-Processor 5 ที่มอบความละเอียดและความลึกของสีเช่นเดียวกับ X-T5 ในบอดี้แบบ Rangefinder ที่บางและดูไม่ฉาวกว่า ด้วยวงแหวน Film Simulation วิดีโอ 6.2K 30p และ AI Subject Detection AF X-E5 คือกล้องสำหรับช่างภาพที่เชื่อว่ากล้องที่ดีที่สุดคือกล้องที่คุณพกติดตัวเสมอ`,p25:`Sony ZV-E10 II คือกล้อง Mirrorless เปลี่ยนเลนส์ได้ที่เน้นการสร้างสรรค์คอนเทนต์ ผสมความยืดหยุ่นของระบบ E-Mount กับฟีเจอร์ที่สร้างมาเพื่อการ Vlog โดยเฉพาะ ด้วยเซนเซอร์ APS-C Exmor R CMOS 26MP ที่พัฒนาใหม่และโปรเซสเซอร์ BIONZ XR ZV-E10 II ก้าวกระโดดด้านคุณภาพภาพ AF และความสามารถวิดีโออย่างมีนัยสำคัญ
423
424Real-time Recognition AF ที่ขับเคลื่อนด้วย AI ของ Sony ซึ่งนำมาสู่บอดี้ APS-C ราคาเริ่มต้นเป็นครั้งแรก ตรวจจับและติดตามคน สัตว์ และนกโดยอัตโนมัติ Product Showcase Setting สลับโฟกัสอย่างราบรื่นจากครีเอเตอร์ไปยังสินค้าที่ยกขึ้นมา ทำให้รีวิวสินค้าง่ายดาย
425
426สำหรับวิดีโอ ZV-E10 II บันทึก 4K 60p แบบ 10 บิต 4:2:2 ภายในตัวพร้อม S-Cinetone และ S-Log3 ไมโครโฟน 3 แคปซูลในตัวจับเสียงชัดเจน ขณะที่แบตเตอรี่ Z-Series รุ่นอัปเกรดบันทึกได้นานขึ้นถึงสองเท่า`,p26:`ทุกวันแตกต่างกัน สภาพอากาศ แสง ความรู้สึก ทุกอย่างมอบโอกาสในการมองโลกในแง่มุมใหม่ FUJIFILM X-M5 มีทุกสิ่งที่คุณต้องการเพื่อนำวิสัยทัศน์นั้นออกมา กะทัดรัด น้ำหนักเบา พร้อมฟังก์ชันถ่ายภาพและวิดีโอที่ทรงพลัง เป็นเพื่อนร่วมทางที่สมบูรณ์แบบสำหรับบันทึกชีวิตประจำวัน
427
428ด้วยน้ำหนักเพียง 355 กรัม FUJIFILM X-M5 คือกล้องที่เบาที่สุดในไลน์อัพ X Series เบาพอที่จะพกทุกที่ แต่ทรงพลังพอที่จะสร้างคอนเทนต์ที่โดดเด่น จอสัมผัสพลิกออกด้านข้างทำให้การถ่ายจากทุกมุมเป็นเรื่องธรรมชาติ ขณะที่วงแหวน Film Simulation ให้การเข้าถึงวิทยาศาสตร์สีอันโดดเด่นของ Fujifilm โดยตรง
429
430แม้ขนาดจะกะทัดรัด X-M5 บันทึกวิดีโอ 6.2K 30p และ 4K 60p ด้วยความลึกของสีและลักษณะแบบฟิล์มที่ Fujifilm ขึ้นชื่อ AI Subject Detection AF ติดตามคน สัตว์ และนกโดยอัตโนมัติ และการจ่ายไฟผ่าน USB-C ช่วยให้ถ่ายได้นานขึ้น`,p27:`Nikon Z50 II นำพลังของโปรเซสเซอร์ EXPEED 7 เอนจิ้นเดียวกับที่ขับเคลื่อน Z8 และ Z9 มืออาชีพ สู่บอดี้ APS-C ขนาดกะทัดรัดน้ำหนักเบา ออกแบบสำหรับช่างภาพและครีเอเตอร์ที่เริ่มก้าวแรกสู่ระบบ Z Mount
431
432ด้วย EXPEED 7 Z50 II ได้รับ Subject Detection AF ระดับ Flagship ของ Nikon จดจำและติดตามวัตถุ 9 ประเภท รวมถึงคน สัตว์ นก ยานพาหนะ และเครื่องบิน ด้วยความแม่นยำ Deep Learning ถ่ายต่อเนื่อง 14 fps พร้อม AF/AE ติดตามเต็มรูปแบบ
433
434ปุ่ม Picture Control เฉพาะรุ่น Z50 II ช่วยให้สลับระหว่าง Color Profile สร้างสรรค์ได้โดยตรงจากบอดี้โดยไม่ต้องเข้าเมนู ทำให้พัฒนาสไตล์ภาพที่เป็นเอกลักษณ์ได้ง่ายดาย ด้วยวิดีโอ 4K 30p จอสัมผัสพลิกได้รอบทิศทาง และการเข้าถึงระบบเลนส์ Z Mount ทั้งหมด Z50 II คือแพลตฟอร์มสร้างสรรค์ที่ขยายได้`,p28:`Canon EOS R50 V คือกล้องแรกของ Canon ที่สร้างมาเพื่อการสร้างวิดีโอแนวตั้งโดยเฉพาะ มาพร้อมก
434ริปแนวตั้งในตัวที่ทำให้การถ่ายมือถือในแนวตั้ง ซึ่งเป็นรูปแบบหลักของคอนเทนต์ Short-Form เป็นเรื่องที่เป็นธรรมชาติและสะดวกสบาย
435
436มาพร้อมเซนเซอร์ APS-C CMOS 24.2MP และโปรเซสเซอร์ DIGIC X R50 V มอบ Dual Pixel CMOS AF II ตลอดทั้งเฟรม ให้การตรวจจับใบหน้า ดวงตา และวัตถุที่ครีเอเตอร์ต้องพึ่งพา Canon Log 3 และ HDR PQ Recording มอบวิทยาศาสตร์สีระดับมืออาชีพสำหรับฟุตเทจที่แข็งแรงในขั้นตอน Post
437
438R50 V บันทึก 4K 30p แบบ Full-Sensor Oversampling เพื่อความละเอียดสูงสุด ควบคู่กับ 4K 60p แบบครอปสำหรับวิดีโอ High Frame Rate ที่ราบรื่น ออกแบบมาสำหรับรุ่น Creator เชื่อมต่อกับสมาร์ทโฟนผ่าน Bluetooth และ Wi-Fi ได้อย่างราบรื่น และรองรับการสตรีม USB สำหรับ Live Content`,r1:`Sony ZV-E10 คือกล้อง Mirrorless เปลี่ยนเลนส์ได้ที่ออกแบบมาตั้งแต่ต้นสำหรับครีเอเตอร์วิดีโอและ Vlogger ผสมวิทยาศาสตร์สีระดับมืออาชีพและเทคโนโลยี AF ของ Sony กับบอดี้ขนาดกะทัดรัดน้ำหนักเบาและฟีเจอร์ที่เป็นมิตรกับครีเอเตอร์ เซนเซอร์ APS-C Exmor CMOS 24.2MP มอบฟุตเทจที่สะอาดและละเอียดพร้อม Shallow DoF แบบเซนเซอร์ขนาดใหญ่
439
440Real-time Eye AF และ Real-time Tracking ทำให้วัตถุทั้งคนและสัตว์อยู่ในโฟกัสคมชัดโดยอัตโนมัติ Product Showcase Setting สลับโฟกัสอย่างชาญฉลาดจากใบหน้าครีเอเตอร์ไปยังสินค้าที่ยื่นออกมา ทำให้รีวิวและสาธิตสินค้าง่ายดาย
441
442ไมโครโฟน 3 แคปซูลพร้อม Windscreen ในตัวจับเสียงชัดเจนและลดเสียงรบกวนรอบข้าง ขณะที่จอสัมผัส LCD พลิกออกด้านข้างรองรับการถ่ายแบบ Selfie จากทุกมุม ระบบ E-Mount เปิดประตูสู่ Ecosystem เลนส์ที่กว้างขวางของ Sony`,r2:`Canon EOS R50 นำ Dual Pixel CMOS AF II ซึ่งเป็นเทคโนโลยี AF ขั้นสูงสุดของ Canon สู่บอดี้ APS-C ขนาดเบาที่เข้าถึงได้ ออกแบบสำหรับช่างภาพและครีเอเตอร์ที่ก้าวเข้าสู่ระบบ RF เป็นครั้งแรก ด้วย 651 โซน AF ที่เลือกอัตโนมัติและ Subject Detection ด้วย Deep Learning สำหรับคน สัตว์ และยานพาหนะ
443
444เซนเซอร์ APS-C CMOS 24.2MP และโปรเซสเซอร์ DIGIC X มอบคุณภาพภาพที่ยอดเยี่ยมพร้อม High-ISO ที่สะอาดและการสร้างสีที่แม่นยำ ชัตเตอร์อิเล็กทรอนิกส์ของ R50 ถ่ายต่อเนื่อง 15 fps ทำให้จับวัตถุเคลื่อนไหวได้ในกล้องขนาดพก
444พา
445
446สำหรับครีเอเตอร์วิดีโอ R50 บันทึก UHD 4K 30p แบบ Oversample จากความกว้างเต็มเซนเซอร์ มอบฟุตเทจที่ดูเป็นธรรมชาติพร้อมสีแบบ Canon มืออาชีพ จอสัมผัสปรับมุมได้ 3.0" ทำให้จัดเฟรมจากโหมด Selfie ถึงมุมสูงต่ำเป็นเรื่องง่าย`,r3:`GoPro HERO12 Black คือ Action Camera ที่ทรงความสามารถที่สุดของ GoPro มอบประสิทธิภาพวิดีโอและภาพถ่ายคุณภาพสูงสุดในบอดี้ที่ทนทานและกันน้ำที่สุด ด้วยโปรเซสเซอร์ GP2 ใหม่และเซนเซอร์ขนาดใหญ่ขึ้น 1/1.9" พร้อมประสิทธิภาพในที่แสงน้อยที่ปรับปรุงขึ้น HERO12 Black ถ่ายภาพ 27MP และวิดีโอสูงสุด 5.3K60 / 4K120 / 2.7K240
447
448ระบบกันสั่น HyperSmooth 6.0 มอบฟุตเทจราบรื่นในสภาพที่โหดร้ายที่สุด HERO12 Black กันน้ำได้ 33 ฟุต (10 เมตร) โดยไม่ต้องใช้เคส และภายนอกที่ทนทานพร้อมรับทุกการผจญภัย
449
450หน้าจอ LCD ด้านหน้าและด้านหลังทำให้การจัดเฟรมและดูภาพเป็นเรื่องง่าย ขณะที่แบตเตอรี่ Enduro และการจัดการความร้อนที่ปรับปรุงขึ้นรองรับการบันทึกต่อเนื่องที่ยาวนานกว่า HERO รุ่นก่อนๆ พร้อม GPS Bluetooth และ Wi-Fi เชื่อมต่อแอป GoPro Quik ได้ทันที`,r4:`Insta360 X3 คือกล้อง 360° ที่อเนกประสงค์ที่สุดในโลก เป็นอุปกรณ์สองโหมดที่ทำงานได้ทั้งในฐานะกล้อง 360° แบบ Immersive เต็มรูปแบบและกล้อง Action มาตรฐานมุมกว้าง มอบกล้องสองตัวในหนึ่งเดียว ขับเคลื่อนด้วยเซนเซอร์คู่ 1/2" และ AI Stitching ขั้นสูงของ Insta360
451
452ระบบกันสั่น FlowState ด้วย Gyroscope 6 แกน มอบฟุตเทจราบเรียบระดับ Gimbal โดยไม่ต้องใช้อุปกรณ์ภายนอก เอฟเฟกต์ Invisible Selfie Stick ที่เป็นเอกลักษณ์ ลบไม้เซลฟี่ออกจากเฟรมในขั้นตอน Post โดยอัตโนมัติ สร้างภาพลักษณ์กล้องลอยในอากาศที่ไม่สามารถทำได้ด้วยกล้องประเภทอื่น
453
454X3 กันน้ำได้ 33 ฟุต (10 เมตร) โดยไม่ต้องใช้ Housing มาพร้อมหน้าจอสัมผัสขนาด 2.29" ด้วยโหมด Me Mode Steady Cam Mode และ AI Editing Tools ครบชุดในแอป Insta360 X3 ออกแบบสำหรับครีเอเตอร์ที่ต้องการจับทุกอย่างแล้วค้นหาช็อตที่ดีที่สุดใน Post`,r5:`Nikon Zfc คือการเฉลิมฉลองดีไซน์อันเป็นตำนาน ได้รับแรงบันดาลใจจากกล้องฟิล์ม Nikon FM2 อันเป็นที่รักในยุค 1970s ขณะที่มอบประสิทธิภาพเต็มรูปแบบของระบบ Z Mount Mirrorless สมัยใหม่ ด้วยสีเงินและดำแบบ Retro หมุนปุ่มอนาล็อกสำหรับ Shutter Speed ISO และชดเชย Exposure
455
456ภายใต้ภายนอกที่คลาสสิก Zfc เป็นสมัยใหม่โดยสมบูรณ์ เซนเซอร์ DX-Format CMOS 20.9MP และโปรเซสเซอร์ EXPEED 6 มอบคุณภาพภาพที่ยอดเยี่ยมตลอดช่วง ISO 100–51200 ขณะที่ระบบ AF ไฮบริด 209 จุดพร้อม Eye Detection AF และ 3D Tracking ให้โฟกัสที่เชื่อถือได้สำหรับงานพอร์เทรต สตรีท และถ่ายภาพทั่วไป
457
458Zfc บันทึกวิดีโอ UHD 4K สูงสุด 30p และ Full HD สูงสุด 120p สำหรับสโลว์โมชัน จอสัมผัส LCD พลิกออกด้านข้างรองรับทุกมุมตั้งแต่ Selfie ถึงมุมสูงต่ำ Wi-Fi และ Bluetooth ในตัวช่วยแชร์ภาพไปยังสมาร์ทโฟนได้ทันที`,r6:`Canon EOS R7 คือกล้อง APS-C ที่ทรงความสามารถที่สุดที่ Canon เคยสร้าง มอบทั้งความละเอียด ความเร็ว และคุณภาพวิดีโอที่เทียบเคียงกับกล้องฟูลเฟรมในรุ่นก่อนๆ เซนเซอร์ APS-C CMOS 32.5MP คู่กับ Dual Pixel CMOS AF II ขั้นสูงสุดของ Canon
459
460ด้วยชัตเตอร์อิเล็กทรอนิกส์ 3
4600 fps และชัตเตอร์กลไก 15 fps R7 สร้างมาสำหรับแอ็กชัน กีฬา สัตว์ป่า และวัตถุเคลื่อนไหวเร็วถูกจับภาพด้วยความแม่นยำเดียวกับ Flagship มืออาชีพ Subject Detection AF ของ Canon จดจำคน สัตว์ ยานพาหนะ และเครื่องบิน
461
462สำหรับวิดีโอ R7 บันทึก 4K 60p แบบ 10 บิต Canon Log 3 และ HDR PQ ภายในตัว ช่องการ์ด UHS-II คู่ Multi-Function Shoe และระบบกันสั่นในบอดี้ 7 สต็อป ทำให้ EOS R7 เป็นเครื่องมือโปรดักชันจริงจังในบอดี้ RF ที่กะทัดรัดที่สุดของ Canon`,r7:`Canon EOS R8 นำคุณภาพภาพฟูลเฟรมและความสามารถวิดีโอขั้นสูงมาสู่จุดราคาที่เข้าถึงได้มากที่สุดในระบบ RF ด้วยเซนเซอร์ Full-Frame CMOS 24.2MP และโปรเซสเซอร์ DIGIC X R8 มอบ Subject Detection AF ขั้นสูง รวมถึงคน สัตว์ และยานพาหนะ
463
464ชัตเตอร์อิเล็กทรอนิกส์ 40 fps ทำให้ R8 สามารถจับแอ็กชันเร็วด้วยเซนเซอร์ฟูลเฟรมที่น้ำหนักเพียง 461 กรัม เบากว่ากล้อง APS-C หลายรุ่น Canon Log 3 และ 4K 60p แบบ 10 บิต มอบความลึกของสีและ Dynamic Range สำหรับการผลิตวิดีโอระดับมืออาชีพ
465
466EOS R8 คือจุดเริ่มต้นที่เหมาะสมสำหรับช่างภาพและฟิล์มเมกเกอร์ที่เปลี่ยนมาฟูลเฟรมเป็นครั้งแรก ด้วยจอสัมผัสพลิกได้รอบทิศทาง Wi-Fi และ Bluetooth ในตัว และ Multi-Function Shoe สำหรับอุปกรณ์เสริมมืออาชีพ`,r8:`Sony Alpha 7 IV คือมาตรฐานใหม่ของการถ่ายภาพฟูลเฟรม ด้วยเซนเซอร์ Exmor R CMOS 33MP แบบ Back-Illuminated ที่พัฒนาขึ้นใหม่ ควบคู่กับเอนจิ้นประมวลผล BIONZ XR รุ่นล่าสุด ออกแบบมาเพื่อทั้งการถ่ายภาพนิ่งและวิดีโอ
467
468ระบบ Fast Hybrid AF 759 จุดครอบคลุม 94% ของพื้นที่เซนเซอร์ และ EVF ความละเอียดสูง 3.68 ล้านจุดอัตรารีเฟรช 120 fps มอบมุมมองที่คมชัดและตอบสนองเร็ว Real-time Tracking และ Real-time Eye AF สามารถจดจำและติดตามคน สัตว์ และนกได้อย่างต่อเนื่อง
469
470สำหรับครีเอเตอร์วิดีโอ a7 IV บันทึก 4K 60p แบบไม่ครอปในรูปแบบ 10 บิต 4:2:2 พร้อม S-Log3 และ S-Cinetone รองรับการสตรีม USB 4K UVC/UAC แบบ Native แปลงกล้องเป็น Webcam คุณภาพ Broadcast โดยไม่ต้องใช้ฮาร์ดแวร์เพิ่ม ระบบกันสั่น 5 แกนชดเชยได้ถึง 5.5 สต็อป`,r9:`Canon EOS R6 Mark II กำหนดนิยามใหม่ของสิ่งที่กล้อง Hybrid ฟูลเฟรมระดับกลางทำได้ ผสมความสามารถ AF ของ Flagship EOS R3 กับประสิทธิภาพวิดีโอที่โดดเด่นในบอดี้ที่อเนกประสงค์และซีลกันสภาพอากาศ Dual Pixel CMOS AF II พร้อม Subject Detection สำหรับคน สัตว์ ยานพาหนะ และเครื่องบิน
471
472สำหรับภาพนิ่ง R6 Mark II ถ่ายสูงสุด 40 fps ด้วยชัตเตอร์อิเล็กทรอนิกส์หรือ 12 fps ด้วยชัตเตอร์กลไก EVF OLED 3.69 ล้านจุดและจอสัมผัส LCD พลิกได้รอบทิศทางมอบการมองเห็นที่ยอดเยี่ยมในทุกแนว
473
474สำหรับวิดีโอ R6 Mark II บันทึก 4K 60p แบบ 10 บิต Canon Log 3 ภายในตัว และรองรับ 6K RAW ภายนอกผ่าน HDMI ระบบกันสั่นในบอดี้ 8 สต็อปและบอดี้อลูมิเนียมซีลกันสภาพอากาศ ทำให้ EOS R6 Mark II พร้อมทำงานทุกที่ที่ต้องการ`},cJ={p1:{description:"Sony a7 IV เป็นกล้องไฮบริดที่ให้ประสิทธิภาพโดดเด่นทั้งภาพนิ่งและวิดีโอ เซนเซอร์ฟูลเฟรมความละเอียดสูงและระบบ AF ที่แม่นยำ เหมาะสำหรับช่างภาพ ผู้สร้างภาพยนตร์ และครีเอเตอร์คอนเทนต์",specs:["เซนเซอร์ Exmor R CMOS ฟูลเฟรม 33MP","ถ่ายต่อเนื่องสูงสุด 10 fps, ISO 100-51200","วิดีโอ 4K 60p 10 บิต พร้อม S-Cinetone","ช่องมองภาพ EVF ความละเอียด 3.68 ล้านจุด รีเฟรชเรต 120 fps"]},p2:{description:"Canon EOS R5 คือกล้องสำหรับช่างภาพมืออาชีพที่ต้องการความละเอียด ความเร็ว และความสามารถด้านวิดีโอในตัวเดียว โดดเด่นด้วยเซนเซอร์ฟูลเฟรม 45MP และการบันทึกวิดีโอ 8K RAW",specs:["เซนเซอร์ CMOS ฟูลเฟรม 45MP","วิดีโอ 8K 30p RAW และ 4K 120p","ระบบกันสั่นในบอดี้ 5 แกน","ชัตเตอร์กลไก 12 fps / ชัตเตอร์อิเล็กทรอนิกส์ 20 fps"]},p4:{description:"Sony a7R V ผสานความละเอียดสูงเข้ากับความแม่นยำในการโฟกัส เป็นกล้อง Mirrorless สำหรับผู้ที่ต้องการเà¸
474à¹‡à¸šà¸£à¸²à¸¢à¸¥à¸°à¹€à¸­à¸µà¸¢à¸”ภาพอย่างเต็มที่ มาพร้อมเซนเซอร์ฟูลเฟรม 61MP และระบบโฟกัสอัตโนมัติที่ขับเคลื่อนด้วย AI",specs:["เซนเซอร์ Exmor R BSI CMOS ฟูลเฟรม 61MP","โปรเซสเซอร์ BIONZ XR และหน่วยประมวลผล AI","ระบบติดตามโฟกัสแบบ Real-time Recognition AF","วิดีโอ 8K 24p, 4K 60p และ FHD 120p 10 บิต"]},p5:{description:"Fujifilm X-T5 เป็นกล้องที่พกพาสะดวกแต่ทรงพลัง มาพร้อมเซนเซอร์ APS-C 40MP รุ่นใหม่ เลย์เอาต์ปุ่มแบบคลาสสิก และระบบโฟกัสอัตโนมัติขั้นสูงในบอดี้กะทัดรัด เหมาะสำหรับการถ่ายภาพสตรีทและท่องเที่ยว",specs:["เซนเซอร์ X-Trans CMOS 5 HR BSI APS-C 40MP","วิดีโอ 4K 120p, 6.2K 30p และ FHD 240p 10 บิต","ระบบกันสั่นในบอดี้ 7 สต็อป","ระบบโฟกัสอัตโนมัติ Intelligent Hybrid AF 425 จุด"]},p6:{description:"Sony FE 24-70mm f/2.8 GM II คือเลนส์ซูมมาตรฐานรูรับแสงกว้างที่ได้รับการปรับปรุงให้เล็กและเบากว่ารุ่นก่อน พร้อมการอัปเกรดด้านออปติก ระบบโฟกัส และการควบคุมที่ใช้งานคล่องตัวยิ่งขึ้น",specs:["เลนส์ E-Mount รองรับฟูลเฟรม","ช่วงรูรับแสง f/2.8 ถึง f/22","มอเตอร์โฟกัส XD Linear 4 ตัว","เคลือบ Nano AR Coating II และ Fluorine Coating"]},p7:{description:"เลนส์ Canon RF 50mm f/1.2 L USM ยกระดับมาตรฐานด้านประสิทธิภาพออปติก ให้ภาพคมกริบ ควบคุมมุมมองสร้างสรรค์ได้มากขึ้น และถ่ายในที่แสงน้อยได้อย่างยอดเยี่ยม",specs:["เลนส์ RF-Mount รองรับฟูลเฟรม","ช่วงรูรับแสง f/1.2 ถึง f/16","ระบบโฟกัสมอเตอร์ Ultrasonic แบบ Ring-Type","วงแหวนควบคุมที่ปรับแต่งได้"]},p8:{description:"Sigma 35mm f/1.4 DG HSM Art คือเลนส์คลาสสิกที่ให้ความคมชัดสูง โบเก้สวย และโครงสร้างแข็งแรงเชื่อถือได้ รองรับการใช้งานกับเมาท์กล้องหลากหลายระบบ",specs:["ช่วงรูรับแสง f/1.4 ถึง f/16","ระบบโฟกัส Hyper Sonic Motor AF","เคลือบผิวเลนส์ Super Multi-Layer","ไดอะแฟรมทรงกลม 9 ใบ"]},p9:{description:"NIKKOR Z 85mm f/1.8 S เป็นเลนส์ที่เหมาะสำหรับการถ่ายภาพบุคคล ให้การบีบระยะที่สวยงามและรูรับแสงกว้าง f/1.8 ช่วยแยกตัวแบบจากฉากหลังและถ่ายในที่แสงน้อยได้ดี",specs:["เลนส์ Z-Mount รองรับฟูลเฟรม FX","ช่วงรูรับแสง f/1.8 ถึง f/16","ระบบ Multi-Focus พร้อมมอเตอร์ Stepping 2 ตัว","เคลือบ Nano Crystal และ Super Integrated"]},p10:{description:"Godox SL200W II เป็นไฟวิดีโอ LED กำลัง 200W แสงสมดุลà¸
474à¸¥à¸²à¸‡à¸§à¸±à¸™ เหมาะสำหรับงานออกอากาศ งานภาพยนตร์ การสตรีมออนไลน์ และงานวิดีโอรูปแบบต่าง ๆ",specs:["อุณหภูมิสี 5600K","ค่า CRI/TLCI: 96/97","ปรับความสว่างได้ 0-100%","เมาท์อุปกรณ์เสริมด้านหน้าแบบ Bowens"]},p11:{description:"ขาตั้งกล้อง Manfrotto 055XPRO3 แบบอะลูมิเนียม 3 ท่อน แข็งแรง อเนกประสงค์ และรองรับงานระดับมืออาชีพ ให้ความมั่นคงสูงสำหรับช่างภาพในทุกสถานการณ์",specs:["รองรับน้ำหนักสูงสุด 19.8 ปอนด์","ความสูงสูงสุด 66.9 นิ้ว","ความสูงต่ำสุด 3.5 นิ้ว","น้ำหนัก 5.5 ปอนด์","แกนกลางปรับได้ 90°"]},p12:{description:"Peak Design Everyday Backpack V2 คือกระเป๋าที่ได้รับรางวัลและเหมาะสำหรับการใช้งานในชีวิตประจำวัน รวมถึงการพกพาอุปกรณ์ถ่ายภาพ ออกแบบให้หยิบของง่าย จัดระเบียบได้ ขยายพื้นที่ได้ และปกป้องอุปกรณ์อย่างมั่นใจ",specs:["ความจุ 20 ลิตร หรือ 30 ลิตร","แผ่นกั้น FlexFold ปรับรูปแบบได้","ผ้าไนลอนแคนวาส 400D กันสภาพอากาศ","อุปกรณ์ล็อกแบบ MagLatch"]}};var vf="Tabs",[uJ]=gn(vf,[Zm]),aj=Zm(),[dJ,Qy]=uJ(vf),sj=y.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:c,orientation:u="horizontal",dir:m,activationMode:f="automatic",...h}=e,p=ji(m),[b,v]=ar({prop:r,onChange:o,defaultProp:c??"",caller:vf});return i.jsx(dJ,{scope:n,baseId:Fn(),value:b,onValueChange:v,orientation:u,dir:p,activationMode:f,children:i.jsx(Ce.div,{dir:p,"data-orientation":u,...h,ref:t})})});sj.displayName=vf;var oj="TabsList",ij=y.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,c=Qy(oj,n),u=aj(n);return i.jsx(QN,{asChild:!0,...u,orientation:c.orientation,dir:c.dir,loop:r,children:i.jsx(Ce.div,{role:"tablist","aria-orientation":c.orientation,...o,ref:t})})});ij.displayName=oj;var lj="TabsTrigger",cj=y.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...c}=e,u=Qy(lj,n),m=aj(n),f=mj(u.baseId,r),h=fj(u.baseId,r),p=r===u.value;return i.jsx(JN,{asChild:!0,...m,focusable:!o,active:p,children:i.jsx(Ce.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":h,"data-state":p?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:f,...c,ref:t,onMouseDown:ue(e.onMouseDown,b=>{!o&&b.button===0&&b.ctrlKey===!1?u.onValueChange(r):b.preventDefault()}),onKeyDown:ue(e.onKeyDown,b=>{[" ","Enter"].includes(b.key)&&u.onValueChange(r)}),onFocus:ue(e.onFocus,()=>{const b=u.activationMode!=="manual";!p&&!o&&b&&u.onValueChange(r)})})})});cj.displayName=lj;var uj="TabsContent",dj=y.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:c,...u}=e,m=Qy(uj,n),f=mj(m.baseId,r),h=fj(m.baseId,r),p=r===m.value,b=y.useRef(p);return y.useEffect(()=>{const v=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(v)},[]),i.jsx(Pt,{present:o||p,children:({present:v})=>i.jsx(Ce.div,{"data-state":p?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":f,hidden:!v,id:h,tabIndex:0,...u,ref:t,style:{...e.style,animationDuration:b.current?"0s":void 0},children:v&&c})})});dj.displayName=uj;function mj(e,t){return`${e}-trigger-${t}`}function fj(e,t){return`${e}-content-${t}`}var mJ=sj,hj=ij,pj=cj,gj=dj;const fJ=mJ,bj=y.forwardRef(({className:e,...t},n)=>i.jsx(hj,{ref:n,className:ce("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));bj.displayName=hj.displayName;const yj=y.forwardRef(({className:e,...t},n)=>i.jsx(pj,{ref:n,className:ce("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));yj.displayName=pj.displayName;const Gd=y.forwardRef(({className:e,...t},n)=>i.jsx(gj,{ref:n,className:ce("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Gd.displayName=gj.displayName;function xj(){return i.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:i.jsx(bf,{className:"w-full max-w-md mx-4",children:i.jsxs(yf,{className:"pt-6",children:[i.jsxs("div",{className:"flex mb-4 gap-2",children:[i.jsx(pn,{className:"h-8 w-8 text-red-500"}),i.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),i.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const vj=ny,hJ=ry,pJ=sy,wj=y.forwardRef(({className:e,...t},n)=>i.jsx(Uc,{ref:n,className:ce("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));wj.displayName=Uc.displayName;const Jy=y.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(pJ,{children:[i.jsx(wj,{}),i.jsxs(Vc,{ref:r,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
474nded-lg",e),...n,children:[t,i.jsxs(oy,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[i.jsx(_r,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Jy.displayName=Vc.displayName;const Sj=({className:e,...t})=>i.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Sj.displayName="DialogHeader";const Cj=({className:e,...t})=>i.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Cj.displayName="DialogFooter";const ex=y.forwardRef(({className:e,...t},n)=>i.jsx(Bc,{ref:n,className:ce("text-lg font-semibold leading-none tracking-tight",e),...t}));ex.displayName=Bc.displayName;const Nj=y.forwardRef(({className:e,...t},n)=>i.jsx(Wc,{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));Nj.displayName=Wc.displayName;function gJ({product:e,sale:t,className:n,onImageResolved:r,preferredImage:o}){const{tr:c}=Rt(),[u,m]=y.useState(0),[f,h]=y.useState(!1),[p,b]=y.useState(null),v=`${e.brand}:${e.id}`,S=p?.productKey===v?p.urls:null,N=y.useMemo(()=>{const C=(S?.length?S:[e.image,...e.galleryImages??[]]).filter((M,j,T)=>!!M?.trim()&&T.indexOf(M)===j);return(o?[o,...C.filter(M=>M!==o)]:C).map((M,j)=>({src:M,label:j===0?c("galleryMainView"):`${c("galleryExtraView")} ${j}`,resolveCatalog:!S&&j===0}))},[o,e.galleryImages,e.image,S,c]);y.useEffect(()=>{m(0),h(!1);let C=!1;return IW(e.id,e.brand).then(R=>{C||(b({productKey:v,urls:R}),m(0),(o??R[0])&&r?.(o??R[0]))}).catch(R=>{console.error(R),C||(b({productKey:v,urls:[]}),m(0))}),()=>{C=!0}},[r,o,e.brand,e.id,v]),y.useEffect(()=>{o&&(m(0),r?.(o))},[r,o]);const w=N[u]??N[0];return w?i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex flex-col",children:[i.jsxs("div",{className:`relative flex aspect-square items-center justify-center overflow-hidden border-b border-zinc-200 bg-white ${n??""}`,children:[t&&i.jsx("div",{className:"absolute left-6 top-6 z-20 rounded-sm bg-primary px-3 py-1.5 text-sm font-bold uppercase tracking-wider text-white",children:c("sale")}),i.jsx("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden",children:i.jsx("button",{type:"button",onClick:()=>h(!0),"aria-label":c("galleryOpenZoom"),className:"absolute inset-0 z-[1] flex cursor-zoom-in items-center justify-center focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-inset",children:i.jsx(hr,{product:{...e,image:w.src},eager:!0,resolveCatalog:w.resolveCatalog,onResolved:w.resolveCatalog?r:void 0,alt:`${e.name} — ${w.label}`,className:"h-full w-full object-contain drop-shadow-2xl transition-transform duration-300"},`${w.src}-${u}`)})}),i.jsx("button",{type:"button",onClick:()=>h(!0),"aria-label":c("galleryOpenZoom"),className:"absolute right-4 top-4 z-10 rounded-full bg-black/35 p-2 text-white/75 transition hover:bg-primary hover:text-white focus:outline-none focus-visible:ring-2 focus-visible:ring-primary",children:i.jsx(jI,{className:"h-4 w-4"})})]}),N.length>1&&i.jsx("div",{className:"flex min-h-[88px] items-center justify-center border-b border-white/5 bg-background/70 px-4 py-4",children:i.jsx("div",{className:"flex max-w-full gap-2 overflow-x-auto",children:N.map((C,R)=>i.jsx("button",{type:"button",title:C.label,"aria-label":C.label,"aria-pressed":u===R,onClick:()=>m(R),className:`h-14 w-14 shrink-0 overflow-hidden rounded-md border-2 bg-white p-0.5 transition ${u===R?"border-primary ring-2 ring-primary/30":"border-white/40 hover:border-white"}`,children:i.jsx(hr,{product:{...e,image:C.src},resolveCatalog:C.resolveCatalog,alt:"",className:"h-full w-full object-contain"})},`${C.label}-${R}`))})})]}),i.jsx(vj,{open:f,onOpenChange:h,children:i.jsxs(Jy,{className:"max-h-[calc(100vh-2rem)] max-w-[calc(100vw-2rem)] overflow-hidden border-white/10 bg-black/95 p-2 sm:max-w-[1200px] sm:p-4",children:[i.jsxs(ex,{className:"sr-only",children:[e.name," — ",w.label]}),i.jsxs("div",{className:"relative flex min-h-[60vh] items-center justify-center overflow-hidden rounded-lg bg-white",children:[i.jsx(hr,{product:{...e,image:w.src},eager:!0,resolveCatalog:w.resolveCatalog,alt:`${e.name} — ${w.label}`,className:"max-h-[78vh] max-w-full object-contain drop-shadow-2xl"}),N.length>1&&i.jsx("div",{className:"absolute inset-x-0 bottom-0 flex justify-center bg-gradient-to-t from-black/70 via-black/20 to-transparent px-3 pb-3 pt-12",children:i.jsx("div",{className:"flex max-w-full gap-2 overflow-x-auto",children:N.map((C,R)=>i.jsx("button",{type:"button",title:C.label,"aria-label":C.label,"aria-pressed":u===R,onClick:()=>m(R),className:`h-14 w-14 shrink-0 overflow-hidden rounded-md border-2 bg-white p-0.5 transition ${u===R?"border-primary ring-2 ring-primary/30":"border-white/40 hover:border-white"}`,children:i.jsx(hr,{product:{...e,image:C.src},resolveCatalog:C.resolveCatalog,alt:"",className:"h-full w-full object-contain"})},`lightbox-${C.label}-${R}`))})})]})]})})]}):null}function bJ({plans:e,value:t,onChange:n}){const{lang:r,tr:o}=Rt();return e.length===0?null:i.jsxs("section",{className:"rounded-xl border border-emerald-500/25 bg-emerald-500/[0.06] p-2.5","aria-labelledby":"warranty-title",children:[i.jsxs("div",{className:"mb-2 flex items-start gap-2",children:[i.jsx("div",{className:"rounded-md bg-emerald-500/15 p-1 text-emerald-300",children:i.jsx(ui,{className:"h-3.5 w-3.5"})}),i.jsxs("div",{className:"min-w-0 flex-1",children:[i.jsx("h2",{id:"warranty-title",className:"font-bold text-sm leading-tight text-foreground",children:o("warrantyAddTitle")}),i.jsx("p",{className:"mt-0.5 text-[11px] leading-snug text-muted-foreground",children:o("warrantyDetailsHint")})]})]}),i.jsx("div",{className:"grid grid-cols-1 gap-1.5 lg:grid-cols-2",children:e.map(c=>{const u=t===c.planId;return i.jsxs(dy,{children:[i.jsx(my,{asChild:!0,children:i.jsxs("button",{type:"button","aria-pressed":u,"aria-label":`${c.name[r]}
474 +฿${c.price.toLocaleString("th-TH")}`,onClick:()=>n(c.planId),className:`relative flex min-h-11 w-full flex-col items-stretch overflow-hidden rounded-lg border px-2.5 py-1.5 text-left transition-colors ${u?"border-emerald-400 bg-emerald-500/15 ring-1 ring-emerald-400/40":"border-white/10 bg-background/40 hover:border-emerald-400/50"}`,children:[i.jsxs("span",{className:"flex min-w-0 items-center gap-1.5 pr-3",children:[u?i.jsx(Ws,{className:"h-3.5 w-3.5 shrink-0 text-emerald-300"}):i.jsx(ui,{className:"h-3.5 w-3.5 shrink-0 text-emerald-400/70"}),i.jsx("span",{className:"min-w-0 whitespace-normal break-words text-xs font-semibold leading-tight",children:c.name[r]}),i.jsx(N_,{className:"h-3 w-3 shrink-0 text-emerald-300 opacity-70"})]}),i.jsxs("span",{className:"mt-0.5 flex items-center justify-between gap-1.5 pl-5",children:[i.jsxs("span",{className:"min-w-0 whitespace-normal break-words text-[10px] leading-snug text-muted-foreground",children:[(c.rate*100).toFixed(c.rate===.065?1:0),"% ",o("warrantyPriceOfProduct")]}),i.jsxs("span",{className:"flex shrink-0 items-center gap-1 whitespace-nowrap text-[11px] font-bold text-emerald-300",children:["+฿",c.price.toLocaleString("th-TH")]})]})]})}),i.jsxs(lf,{align:"start",className:"w-72 border-emerald-500/30 bg-card p-3",children:[i.jsx("p",{className:"font-semibold text-sm",children:c.name[r]}),i.jsx("p",{className:"mt-0.5 text-xs text-muted-foreground",children:o("warrantyCoverageLabel")}),i.jsx("ul",{className:"mt-2 space-y-1.5 text-xs text-muted-foreground",children:c.coverage.map(m=>i.jsxs("li",{className:"flex items-start gap-1.5",children:[i.jsx(Ws,{className:"mt-0.5 h-3 w-3 shrink-0 text-emerald-400"}),i.jsx("span",{children:m[r]})]},m.en))})]})]},c.planId)})}),i.jsx("div",{className:"mt-1 flex items-center justify-between gap-2",children:i.jsx(xe,{type:"button",variant:"ghost",size:"sm",onClick:()=>n(void 0),className:"h-7 px-1.5 text-[11px] text-muted-foreground hover:text-foreground",children:o("warrantyNoThanks")})})]})}const Jc=y.forwardRef(({className:e,...t},n)=>i.jsx("textarea",{className:ce("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));Jc.displayName="Textarea";var yJ="Label",kj=y.forwardRef((e,t)=>i.jsx(Ce.label,{...e,ref:t,onMouseDown:n=>{n.target.closest("button, input, select, textarea")||(e.onMouseDown?.(n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));kj.displayName=yJ;var Ej=kj;const xJ=Mc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Ct=y.forwardRef(({className:e,...t},n)=>i.jsx(Ej,{ref:n,className:ce(xJ(),e),...t}));Ct.displayName=Ej.displayName;function Kg({rating:e,size:t="sm"}){const n=t==="lg"?"h-6 w-6":"h-4 w-4";return i.jsx("div",{className:"flex gap-0.5",children:[1,2,3,4,5].map(r=>i.jsx(Ls,{className:`${n} ${r<=e?"fill-yellow-400 text-yellow-400":"text-zinc-600"}`},r))})}function vJ(){ki();const[,e]=iO("/product/:id"),t=e?.id,n=jt.find(he=>he.id===t),[,r]=ts(),{addItem:o,items:c}=Ei(),{tr:u,lang:m}=Rt(),{isSignedIn:f,isLoaded:h,user:p}=Bn(),b=Xs(),{toast:v}=xr(),{getLeadDays:S}=Xc(),N=Hk({query:{queryKey:df(),retry:!1}}),w=qk({query:{queryKey:xy(),retry:!1}}),C=[...C0(n?.id??""),p?.id??"guest"],R=cq(n?.id??"",{query:{queryKey:C,enabled:!!n,retry:!1}}),M=fq(),[j,T]=y.useState(),[P,I]=y.useState(5),[_,D]=y.useState(""),[V,H]=y.useState(!1),[$,J]=y.useState(n?.image??""),[ae,ee]=y.useState(n?.variants?.[0]),[ie,z]=y.useState(),[Q,W]=y.useState(),B=c.find(he=>he.product.id===t&&(!ae||he.variant?.size===ae.size&&he.variant?.color===ae.color));if(y.useEffect(()=>{T(B?.warrantyPlan),I(5),D(""),H(!1)},[t,B?.warrantyPlan,p?.id]),y.useEffect(()=>{ee(n?.variants?.[0])},[n?.id,n?.variants]),y.useEffect(()=>{J(n?.image??"")},[n?.id,n?.image]),y.useEffect(()=>{let he=!1;if(z(void 0),W(void 0),!(!n||!ae))return ae.size&&J(""),FW(n.id,n.brand,ae.size,ae.color).then(Ge=>{he||(z(Ge),W(n.id))}).catch(Ge=>{console.error(Ge),he||z(void 0)}),()=>{he=!0}},[n,ae]),!n)return i.jsx(xj,{});const O=jt.filter(he=>
474he.category===n.category&&he.id!==n.id).slice(0,4),X=cJ[n.id],oe=m==="th"&&X?X.description:n.description;m==="th"&&X?X.specs:n.specs;const se=N.data?.specs.find(he=>he.productId===n.id)?.values,me=ZQ(n,m,se),fe=R.data?.reviews??[],le=R.data?.averageRating??0,de=R.data?.ratingCounts??{},Se=R.data?.canReview??!1,je=R.data?.reviewEligibility??"not_signed_in",Ie=Se&&!V,Te=S(n.id),Ke=w.data?.products.find(he=>he.productId===n.id),dt=Ke?.plans.find(he=>he.planId===j),tt=n.selectedColor;return i.jsx("div",{className:"min-h-screen bg-background py-12",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsx("div",{className:"mb-8 overflow-hidden rounded-2xl border border-white/5 bg-card",children:i.jsxs("div",{className:"grid items-start gap-0 md:grid-cols-2",children:[i.jsxs("div",{className:"flex min-w-0 flex-col md:border-r md:border-white/5",children:[i.jsx(gJ,{product:n,sale:!!n.salePrice,className:"lg:aspect-[10/9]",onImageResolved:J,preferredImage:Q===n.id?ie:void 0}),i.jsx("div",{className:"border-b border-white/5 bg-white/[0.02] px-6 py-5 md:px-8",children:i.jsx("div",{className:"flex justify-center",children:i.jsxs("div",{className:"flex min-w-0 items-center gap-2 rounded-lg border border-white/5 bg-background/50 p-3 text-sm text-muted-foreground",children:[i.jsx(ui,{className:"h-5 w-5 shrink-0 text-primary"}),i.jsx("span",{className:"min-w-0",children:u("warranty")})]})})})]}),i.jsxs("div",{className:"flex min-w-0 flex-col p-7 sm:p-8 lg:h-full lg:p-10 lg:pb-5 xl:p-12 xl:pb-5",children:[i.jsxs("div",{className:"border-b border-white/10 pb-7",children:[i.jsx("span",{className:"mb-2 block text-xs font-semibold uppercase tracking-[0.2em] text-primary",children:n.brand}),i.jsx("h1",{className:"text-3xl font-bold leading-tight tracking-tight md:text-[2.15rem]",children:n.name}),i.jsxs("div",{className:"mt-4 flex flex-wrap items-center gap-x-3 gap-y-2",children:[i.jsx(Kg,{rating:Math.round(le)}),i.jsxs("span",{className:"text-sm text-zinc-400",children:[le.toFixed(1)," / 5 (",fe.length," ",u("tabReviews"),")"]})]}),i.jsxs("div",{className:"mt-7 flex items-center justify-between gap-3",children:[i.jsx("div",{className:"flex flex-wrap items-baseline gap-x-4 gap-y-1",children:n.priceOnRequest?i.jsx("span",{className:"text-4xl font-bold text-primary",children:"สอบถามราคา"}):n.salePrice&&Za(n.id)?i.jsx(VE,{product:n}):n.salePrice?i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"text-4xl font-bold text-primary",children:Ve(n.salePrice)}),i.jsx("span",{className:"text-lg text-muted-foreground line-through",children:Ve(n.regularPrice)})]}):i.jsx("span",{className:"text-4xl font-bold text-foreground",children:Ve(n.regularPrice)})}),i.jsx("div",{role:"img","aria-label":n.readyStock?"สินค้าพร้อมส่ง":`Pre-Order · รับสินค้าใน ${Te} วัน`,title:n.readyStock?"สินค้าพร้อมส่ง":`Pre-Order · รับสินค้าใน ${Te} วัน`,className:`flex h-8 shrink-0 items-center justify-center rounded-md border border-primary/25 bg-primary/10 text-primary ${n.readyStock?"px-3 text-xs font-semibold":"w-8"}`,children:n.readyStock?"สินค้าพร้อมส่ง":i.jsx(Ac,{className:"h-4 w-4"})})]})]}),i.jsxs("div",{className:"space-y-3 pt-5",children:[n.colorOptions?.length?i.jsxs("div",{className:"space-y-2 pb-1",children:[i.jsx("span",{className:"block text-sm font-medium",children:"Color"}),i.jsx("div",{className:"flex flex-wrap gap-2",role:"list","aria-label":"Color options",children:n.colorOptions.map(he=>i.jsx("button",{type:"button",role:"listitem",onClick:()=>{he.productId!==n.id&&r(`/product/${he.productId}`)},"aria-current":he.productId===n.id?"true":void 0,className:`rounded-md border px-3 py-2 text-sm transition-colors ${he.productId===n.id?"border-primary bg-primary/10 text-primary":"border-white/10 text-zinc-300 hover:border-primary/50 hover:text-foreground"}`,children:he.color},he.productId))}),tt&&i.jsxs("p",{className:"text-xs text-muted-foreground",children:["Selected color: ",i.jsx("span",{className:"text-zinc-300",children:tt})]})]}):null,n.variants?.length&&ae&&(()=>{const he=[...new Set(n.variants.map(Pe=>Pe.size))],Ge=n.variants.filter(Pe=>Pe.size===ae.size).map(Pe=>Pe.color);return i.jsxs("div",{className:"grid gap-4 pb-2 sm:grid-cols-2",children:[he.some(Boolean)&&i.jsxs("label",{className:"space-y-1.5 text-sm font-medium",children:[i.jsx("span",{children:"Size"}),i.jsx("select",{"aria-label":"Size",value:ae.size,onChange:Pe=>{const yn=Pe.target.value;
474ee(n.variants?.find(Ee=>Ee.size===yn&&Ee.color===ae.color)??n.variants?.find(Ee=>Ee.size===yn))},className:"h-11 w-full rounded-md border border-white/10 bg-background px-3 text-foreground",children:he.map(Pe=>i.jsx("option",{value:Pe,children:Pe},Pe))})]}),i.jsxs("label",{className:"space-y-1.5 text-sm font-medium",children:[i.jsx("span",{children:"Color"}),i.jsx("select",{"aria-label":"Color",value:ae.color,onChange:Pe=>{const yn=Pe.target.value;ee(n.variants?.find(Ee=>Ee.size===ae.size&&Ee.color===yn))},className:"h-11 w-full rounded-md border border-white/10 bg-background px-3 text-foreground",children:Ge.map(Pe=>i.jsx("option",{value:Pe,children:Pe},Pe))})]})]})})(),Ke&&i.jsx(bJ,{plans:Ke.plans,value:j,onChange:T}),i.jsxs(xe,{size:"lg",className:"relative -top-px h-[46px] w-full text-base font-bold lg:h-11",disabled:!$||n.priceOnRequest,onClick:()=>o({...n,image:$},1,dt?.planId,dt?.price,ae),children:[!n.priceOnRequest&&i.jsx(Bm,{className:"mr-2 h-5 w-5"}),n.priceOnRequest?"สอบถามราคา":u("addToCart")]})]})]})]})}),i.jsxs(fJ,{defaultValue:"overview",className:"mb-16",children:[i.jsx(bj,{className:"w-full justify-start rounded-none border-b border-white/10 bg-transparent h-auto p-0 mb-8 gap-0",children:["overview","specs","reviews"].map(he=>i.jsx(yj,{value:he,className:"rounded-none border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:text-white data-[state=active]:bg-transparent text-zinc-400 hover:text-zinc-200 px-6 py-4 text-sm font-semibold transition-all",children:u(he==="overview"?"tabOverview":he==="specs"?"tabSpecs":"tabReviews")},he))}),i.jsx(Gd,{value:"overview",children:i.jsxs("div",{className:"max-w-3xl mx-auto space-y-10",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl md:text-3xl font-bold text-white mb-4",children:[n.name," — ",u("overviewAndReview")]}),i.jsx("p",{className:"text-zinc-300 text-lg leading-relaxed",children:oe})]}),i.jsxs("div",{children:[i.jsxs("h3",{className:"text-xl font-bold text-white mb-4 pb-3 border-b border-white/10",children:[u("whyChoose")," ",n.name,"?"]}),(()=>{const he=lJ[n.id],Ge=m==="th"&&he?he:n.overview;return Ge?i.jsxs("div",{className:"space-y-4",children:[Ge.split(`
475
476`).map((Pe,yn)=>i.jsx("p",{className:"text-zinc-400 leading-relaxed",children:Pe},yn)),n.overviewSource&&i.jsxs("p",{className:"text-xs text-zinc-600 mt-2 flex items-center gap-1.5",children:[i.jsx("span",{className:"inline-block w-3 h-px bg-zinc-600"}),u("pdOverviewSource"),": ",n.overviewSource]})]}):n.brand==="PGYTECH"?null:i.jsxs("p",{className:"text-zinc-400 leading-relaxed mb-6",children:[n.brand," ได้พัฒนา ",n.name," มาเพื่อตอบโจทย์ทั้งช่างภาพมืออาชีพและกึ่งมืออาชีพที่ต้องการประสิทธิภาพสูงสุดในทุกสถานการณ์"]})})()]}),n.brand!=="PGYTECH"&&i.jsxs("div",{children:[i.jsx("h3",{className:"text-xl font-bold text-white mb-4 pb-3 border-b border-white/10",children:u("overviewInBox")}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-3",children:[n.name,u("inBoxBodyCap"),u("inBoxBattery"),u("inBoxCharger"),u("inBoxUSB"),u("inBoxStrap"),u("inBoxManual"),u("inBoxWarranty")].map((he,Ge)=>i.jsxs("div",{className:"flex items-center gap-3 bg-white/[0.03] rounded-lg px-4 py-3 border border-white/5",children:[i.jsx("span",{className:"w-6 h-6 rounded-full bg-primary/10 text-primary text-xs flex items-center justify-center font-bold shrink-0",children:Ge+1}),i.jsx("span",{className:"text-zinc-300 text-sm",children:he})]},Ge))})]}),i.jsx("div",{className:"bg-primary/5 border border-primary/20 rounded-2xl p-6",children:i.jsxs("div",{className:"flex items-start gap-4",children:[i.jsx(ui,{className:"h-6 w-6 text-primary shrink-0 mt-0.5"}),i.jsxs("div",{children:[i.jsx("p",{className:"font-bold text-white mb-1",children:u("pdGuaranteeTitle")}),i.jsx("p",{className:"text-zinc-400 text-sm leading-relaxed",children:u("pdGuaranteeBody")})]})]})})]})}),i.jsx(Gd,{value:"specs",children:i.jsx("div",{className:"bg-card rounded-2xl border border-white/5 overflow-hidden",children:i.jsx("table",{className:"w-full text-sm",children:i.jsx("tbody",{children:me.map(({key:he,label:Ge,value:Pe},yn)=>i.jsxs("tr",{className:`border-b border-white/5 last:border-0 ${yn%2===0?"bg-white/[0.02]":""}`,children:[i.jsx("td",{className:"px-6 py-4 font-semibold text-zinc-300 w-2/5 align-top",children:Ge}),i.jsx("td",{className:"px-6 py-4 text-zinc-400 align-top",children:Pe})]},he))})})})}),i.jsxs(Gd,{value:"reviews",children:[i.jsxs("div",{className:"bg-card rounded-2xl border border-white/5 p-8 mb-6 flex flex-col sm:flex-row items-center gap-8",children:[i.jsxs("div",{className:"text-center shrink-0",children:[i.jsx("div",{className:"text-6xl font-black text-white mb-2",children:le.toFixed(1)}),i.jsx(Kg,{rating:Math.round(le),size:"lg"}),i.jsxs("p",{className:"text-zinc-400 text-sm mt-2",children:[fe.length," ",u("tabReviews")]})]}),i.jsx("div",{className:"flex-1 w-full space-y-2",children:[5,4,3,2,1].map(he=>{const Ge=de[String(he)]??0,Pe=fe.length>0?Math.round(Ge/fe.length*100):0;return i.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[i.jsx("span",{className:"text-zinc-400 w-4 text-right",children:he}),i.jsx(Ls,{className:"h-3.5 w-3.5 fill-yellow-400 text-yellow-400 shrink-0"}),i.jsx("div",{className:"flex-1 bg-white/5 rounded-full h-2 overflow-hidden",children:i.jsx("div",{className:"bg-yellow-400 h-full rounded-full",style:{width:`${Pe}%`}})}),i.jsx("span",{className:"text-zinc-500 w-8",children:Ge})]},he)})})]}),R.isLoading?i.jsx("div",{className:"mb-6 grid place-items-center py-10 text-zinc-400",children:i.jsx(yt,{className:"h-6 w-6 animate-spin"})}):R.isError?i.jsx("div",{className:"mb-6 rounded-xl border border-destructive/30 bg-destructive/10 p-5 text-sm text-zinc-300",children:"ไม่สามารถโหลดรีวิวได้ในขณะนี้ กรุณาลองใหม่อีกครั้ง"}):fe.length===0?i.jsxs("div",{className:"mb-6 rounded-xl border border-white/5 bg-card p-6 text-center text-sm text-zinc-400",children:[u("reviewNoReview")," — เป็นคนแรกที่แบ่งปันประสบการณ์ พร้อมรับ 10 แต้ม"]}):i.jsx("div",{className:"mb-6 space-y-4",children:fe.map(he=>i.jsxs("div",{className:"bg-card rounded-xl border border-white/5 p-6",children:[i.jsxs("div",{className:"flex items-start justify-between gap-4 mb-3",children:[i.jsxs("div",{children:[i.jsx("span",{className:"mb-1 block font-semibold text-zinc-200",children:he.authorName}),i.jsx(Kg,{rating:he.rating})]}),i.jsx("span",{className:"text-xs text-zinc-500 shrink-0",children:new Intl.DateTimeFormat("th-TH",{dateStyle:"medium"}).format(new Date(he.createdAt))})]}),i.jsx("p",{className:"text-zinc-400 text-sm leading-relaxed whitespace-pre-wrap",children:he.body})]},he.id))}),i.jsxs("div",{className:"rounded-xl border border-primary/20 bg-primary/5 p-5",children:[i.jsxs("div",{className:"mb-4",children:[i.jsx("h3",{className:"font-bold text-white",children:u("reviewWriteBtn")}
476),i.jsx("p",{className:"mt-1 text-sm text-zinc-400",children:"เฉพาะสมาชิกที่ซื้อสินค้าและร้านยืนยันคำสั่งซื้อแล้ว รีวิวครั้งแรก รับทันที 10 แต้ม"})]}),h?f?R.isError?i.jsx("p",{className:"text-sm text-zinc-300",children:"ยังตรวจสอบสิทธิ์การรีวิวไม่ได้ กรุณาลองใหม่อีกครั้ง"}):!Ie&&!R.isLoading&&je==="already_reviewed"?i.jsx("p",{className:"text-sm text-zinc-300",children:"คุณรีวิวสินค้านี้แล้ว ขอบคุณที่แบ่งปันประสบการณ์กับเรา"}):!Ie&&!R.isLoading?i.jsxs("p",{className:"text-sm text-zinc-300",children:["รีวิวได้เฉพาะสมาชิกที่ซื้อสินค้านี้และร้านยืนยันคำสั่งซื้อแล้ว",je==="not_purchased"&&" ขณะนี้ยังไม่พบคำสั่งซื้อที่ยืนยันสำหรับสินค้านี้"]}):i.jsxs("form",{className:"space-y-4",onSubmit:he=>{he.preventDefault(),!(!t||_.trim().length<10)&&M.mutate({productId:t,data:{rating:P,body:_.trim()}},{onSuccess:Ge=>{D(""),H(!0),b.invalidateQueries({queryKey:C0(t)}),b.invalidateQueries({queryKey:mf()}),v({title:"บันทึกรีวิวแล้ว",description:`คุณได้รับ ${Ge.pointsAwarded.toLocaleString("th-TH")} แต้มจากการรีวิวครั้งนี้`})},onError:Ge=>{const Pe=typeof Ge=="object"&&Ge!==null&&"status"in Ge&&typeof Ge.status=="number"?Ge.status:void 0;v({title:Pe===403?"ยังไม่มีสิทธิ์รีวิวสินค้านี้":Pe===409?"คุณรีวิวสินค้านี้แล้ว":"บันทึกรีวิวไม่สำเร็จ",description:Pe===403?"รีวิวได้เฉพาะสินค้าที่คุณซื้อและร้านยืนยันคำสั่งซื้อแล้ว":Pe===409?"รีวิวสินค้าเดิมรับแต้มได้เพียงครั้งเดียว":"กรุณาลองใหม่อีกครั้ง",variant:"destructive"})}})},children:[i.jsxs("div",{children:[i.jsx(Ct,{children:"ให้คะแนน"}),i.jsx("div",{className:"mt-2 flex gap-1",children:[1,2,3,4,5].map(he=>i.jsx("button",{type:"button",onClick:()=>I(he),className:"rounded p-1 text-yellow-400 transition hover:bg-white/5 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary","aria-label":`ให้ ${he} ดาว`,children:i.jsx(Ls,{className:`h-6 w-6 ${he<=P?"fill-current":""}`})},he))})]}),i.jsxs("div",{children:[i.jsx(Ct,{htmlFor:"review-body",children:"แชร์ประสบการณ์ของคุณ"}),i.jsx(Jc,{id:"review-body",value:_,onChange:he=>D(he.target.value),placeholder:"เขียนอย่างน้อย 10 ตัวอักษร",minLength:10,maxLength:2e3,required:!0,className:"mt-2 min-h-28 resize-y"})]}),i.jsxs(xe,{type:"submit",disabled:M.isPending||_.trim().length<10,children:[M.isPending?i.jsx(yt,{className:"mr-2 h-4 w-4 animate-spin"}):i.jsx(Ls,{className:"mr-2 h-4 w-4"}),"ส่งรีวิวและรับ 10 แต้ม"]})]}):i.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[i.jsx("p",{className:"text-sm text-zinc-300",children:"กรุณาเข้าสู่ระบบก่อนเขียนรีวิวและรับแต้มสะสม"}),i.jsx(pe,{href:"/sign-in",children:i.jsx(xe,{children:u("signIn")})})]}):i.jsx(yt,{className:"h-5 w-5 animate-spin text-primary"})]})]})]}),O.length>0&&i.jsxs("div",{className:"pt-12 border-t border-white/5",children:[i.jsx("h2",{className:"text-lg font-bold mb-4",children:u("relatedEquipment")}),i.jsx("div",{className:"flex snap-x snap-mandatory gap-3 overflow-x-auto pb-3 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:O.map(he=>i.jsx("div",{className:"w-[220px] shrink-0 snap-start sm:w-[240px] lg:w-[260px] [&>a]:block [&>a]:h-full",children:i.jsx(li,{product:he,compact:!0})},he.id))})]})]})})}function wJ(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}const SJ={},Kl={};function oa(e,t){try{const r=(SJ[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];return r in Kl?Kl[r]:E4(r,r.split(":"))}catch{if(e in Kl)return Kl[e];const n=e?.match(CJ);return n?E4(e,n.slice(1)):NaN}}const CJ=/([+-]\d\d):?(\d\d)?/;function E4(e,t){const n=+(t[0]||0),r=+(t[1]||0),o=+(t[2]||0)/60;return Kl[e]=n*60+r>0?n*60+r+o:n*60-r-o}class Dr extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(oa(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])
476):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),jj(this,t)):this.setTime(Date.now())}static tz(t,...n){return n.length?new Dr(...n,t):new Dr(Date.now(),t)}withTimeZone(t){return new Dr(+this,t)}getTimezoneOffset(){const t=-oa(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),Rm(this),+this}[Symbol.for("constructDateFrom")](t){return new Dr(+new Date(t),this.timeZone)}}const j4=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!j4.test(e))return;const t=e.replace(j4,"$1UTC");Dr.prototype[t]&&(e.startsWith("get")?Dr.prototype[e]=function(){return this.internal[t]()}:(Dr.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),NJ(this),+this},Dr.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),Rm(this),+this}))});function Rm(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-oa(e.timeZone,e)*60))}function NJ(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),jj(e)}function jj(e,t){const n=Array.isArray(t)?kJ(t):+e.internal,r=oa(e.timeZone,e),o=r>0?Math.floor(r):Math.ceil(r),c=new Date(+e);c.setUTCHours(c.getUTCHours()-1);const u=-new Date(+e).getTimezoneOffset(),m=-new Date(+c).getTimezoneOffset(),f=u-m;let h=u;if(f&&u!==o){const V=Date.prototype.getHours.apply(e),H=Array.isArray(t)?t[3]||0:e.internal.getUTCHours();if(V!==H){const $=new Date(+e),J=u-o;J&&$.setUTCMinutes($.getUTCMinutes()+J);const ae=oa(e.timeZone,$);(ae>0?Math.floor(ae):Math.ceil(ae))===o&&(h=m)}}const p=h-o;p&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+p);const b=new Date(+e);b.setUTCSeconds(0);const v=u>0?b.getSeconds():(b.getSeconds()-60)%60,S=Math.round(-(oa(e.timeZone,e)*60))%60;(S||v)&&Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+S+v);const N=oa(e.timeZone,e),w=N>0?Math.floor(N):Math.ceil(N),R=-new Date(+e).getTimezoneOffset()-w,M=w!==o,j=R-p,T=w-o,P=n-w*60*1e3,I=T>0&&R4(e)-n===T*60*1e3&&R4(e,P)!==n;if(M&&j&&!I){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+j);const V=oa(e.timeZone,e),H=V>0?Math.floor(V):Math.ceil(V),$=w-H;$&&j<0&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+$)}Rm(e);const D=(t?n:n+S*1e3)-+e.internal;D&&Math.abs(D)<1800*1e3&&(Date.prototype.setTime.call(e,+e+D),Rm(e))}function kJ(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function R4(e,t){const n=new Date(t??+e);return n.setUTCSeconds(n.getUTCSeconds()-Math.round(-oa(e.timeZone,n)*60)),+n}class an extends Dr{static tz(t,...n){return n.length?new an(...n,t):new an(Date.now(),t)}toISOString(){const[t,n,r]=this.tzComponents(),o=`${t}${n}:${r}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,n,r,o]=this.internal.toUTCString().split(" ");return`${t?.slice(0,-1)} ${r} ${n} ${o}`}
476toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[n,r,o]=this.tzComponents();return`${t} GMT${n}${r}${o} (${wJ(this.timeZone,this)})`}toLocaleString(t,n){return Date.prototype.toLocaleString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}toLocaleDateString(t,n){return Date.prototype.toLocaleDateString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}toLocaleTimeString(t,n){return Date.prototype.toLocaleTimeString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),n=t>0?"-":"+",r=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),o=String(Math.abs(t)%60).padStart(2,"0");return[n,r,o]}withTimeZone(t){return new an(+this,t)}[Symbol.for("constructDateFrom")](t){return new an(+new Date(t),this.timeZone)}}const Rj=6048e5,EJ=864e5,M4=Symbol.for("constructDateFrom");function zt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&M4 in e?e[M4](t):e instanceof Date?new e.constructor(t):new Date(t)}function ut(e,t){return zt(t||e,e)}function Mj(e,t,n){const r=ut(e,n?.in);return isNaN(t)?zt(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Aj(e,t,n){const r=ut(e,n?.in);if(isNaN(t))return zt(e,NaN);if(!t)return r;const o=r.getDate(),c=zt(e,r.getTime());c.setMonth(r.getMonth()+t+1,0);const u=c.getDate();return o>=u?c:(r.setFullYear(c.getFullYear(),c.getMonth(),o),r)}let jJ={};function eu(){return jJ}function xi(e,t){const n=eu(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=ut(e,t?.in),c=o.getDay(),u=(c<r?7:0)+c-r;return o.setDate(o.getDate()-u),o.setHours(0,0,0,0),o}function gc(e,t){return xi(e,{...t,weekStartsOn:1})}function Oj(e,t){const n=ut(e,t?.in),r=n.getFullYear(),o=zt(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const c=gc(o),u=zt(n,0);u.setFullYear(r,0,4),u.setHours(0,0,0,0);const m=gc(u);return n.getTime()>=c.getTime()?r+1:n.getTime()>=m.getTime()?r:r-1}function A4(e){const t=ut(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Oi(e,...t){const n=zt.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function bc(e,t){const n=ut(e,t?.in);return n.setHours(0,0,0,0),n}function tx(e,t,n){const[r,o]=Oi(n?.in,e,t),c=bc(r),u=bc(o),m=+c-A4(c),f=+u-A4(u);return Math.round((m-f)/EJ)}function RJ(e,t){const n=Oj(e,t),r=zt(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),gc(r)}function MJ(e,t,n){return Mj(e,t*7,n)}function AJ(e,t,n){return Aj(e,t*12,n)}function OJ(e,t){let n,r=t?.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=zt.bind(null,o));const c=ut(o,r);(!n||n<c||isNaN(+c))&&(n=c)}),zt(r,n||NaN)}function TJ(e,t){let n,r=t?.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=zt.bind(null,o));const c=ut(o,r);(!n||n>c||isNaN(+c))&&(n=c)}),zt(r,n||NaN)}function PJ(e,t,n){const[r,o]=Oi(n?.in,e,t);return+bc(r)==+bc(o)}function Tj(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function DJ(e){return!(!Tj(e)&&typeof e!="number"||isNaN(+ut(e)))}function Pj(e,t,n){const[r,o]=Oi(n?.in,e,t),c=r.getFullYear()-o.getFullYear(),u=r.getMonth()-o.getMonth();return c*12+u}function _J(e,t){const n=ut(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Dj(e,t){const[n,r]=Oi(e,t.start,t.end);return{start:n,end:r}}function IJ(e,t){const{start:n,end:r}=Dj(t?.in,e);let o=+n>+r;const c=o?+n:+r,u=o?r:n;u.setHours(0,0,0,0),u.setDate(1);let m=1;const f=[];for(;+u<=c;)f.push(zt(n,u)),u.setMonth(u.getMonth()+m);return o?f.reverse():f}function FJ(e,t){const n=ut(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function zJ(e,t){const n=ut(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function _j(e,t){const n=ut(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function LJ(e,t){const{start:n,end:r}=Dj(t?.in,e);let o=+n>+r;const c=o?+n:+r,u=o?r:n;u.setHours(0,0,0,0),u.setMonth(0,1);let m=1;const f=[];for(;+u<=c;)f.push(zt(n,u)),u.setFullYear(u.getFullYear()+m);return o?f.reverse():f}function Ij(e,t){const n=eu(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=ut(e,t?.in),c=o.getDay(),u=(c<r?-7:0)+6-(c-r);return o.setDate(o.getDate()+u),o.setHours(23,59,59,999),o}function UJ(e,t){return Ij(e,{...t,weekStartsOn:1}
vendor: 17,696 bytes, line 476
476)}const VJ={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},BJ=(e,t,n)=>{let r;const o=VJ[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Hg(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const WJ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},KJ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},HJ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qJ={date:Hg({formats:WJ,defaultWidth:"full"}),time:Hg({formats:KJ,defaultWidth:"full"}),dateTime:Hg({formats:HJ,defaultWidth:"full"})},XJ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},YJ=(e,t,n,r)=>XJ[e];function Ul(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const u=e.defaultFormattingWidth||e.defaultWidth,m=n?.width?String(n.width):u;o=e.formattingValues[m]||e.formattingValues[u]}else{const u=e.defaultWidth,m=n?.width?String(n.width):e.defaultWidth;o=e.values[m]||e.values[u]}const c=e.argumentCallback?e.argumentCallback(t):t;return o[c]}}const $J={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},GJ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ZJ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},QJ={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},JJ={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},eee={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},tee=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},nee={ordinalNumber:tee,era:Ul({values:$J,defaultWidth:"wide"}),quarter:Ul({values:GJ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ul({values:ZJ,defaultWidth:"wide"}),day:Ul({values:QJ,defaultWidth:"wide"}),dayPeriod:Ul({values:JJ,defaultWidth:"wide",formattingValues:eee,defaultFormattingWidth:"wide"})};function Vl(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],c=t.match(o);if(!c)return null;const u=c[0],m=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(m)?aee(m,b=>b.test(u)):ree(m,b=>b.test(u));let h;h=e.valueCallback?e.valueCallback(f):f,h=n.valueCallback?n.valueCallback(h):h;const p=t.slice(u.length);return{value:h,rest:p}}}function ree(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function aee(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function see(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],c=t.match(e.parsePattern);if(!c)return null;let u=e.valueCallback?e.valueCallback(c[0]):c[0];u=n.valueCallback?n.valueCallback(u):u;const m=t.slice(o.length);return{value:u,rest:m}}}const oee=/^(\d+)(th|st|nd|rd)?/i,iee=/\d+/i,lee={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},cee={any:[/^b/i,/^(a|c)/i]},uee={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},dee={any:[/1/i,/2/i,/3/i,/4/i]},mee={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},fee={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},hee={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},pee={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},gee={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},bee={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},yee={ordinalNumber:see({matchPattern:oee,parsePattern:iee,valueCallback:e=>parseInt(e,10)}),era:Vl({matchPatterns:lee,defaultMatchWidth:"wide",parsePatterns:cee,defaultParseWidth:"any"}),quarter:Vl({matchPatterns:uee,defaultMatchWidth:"wide",parsePatterns:dee,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Vl({matchPatterns:mee,defaultMatchWidth:"wide",parsePatterns:fee,defaultParseWidth:"any"}),day:Vl({matchPatterns:hee,defaultMatchWidth:"wide",parsePatterns:pee,defaultParseWidth:"any"}),dayPeriod:Vl({matchPatterns:gee,defaultMatchWidth:"any",parsePatterns:bee,defaultParseWidth:"any"})},ei={code:"en-US",formatDistance:BJ,formatLong:qJ,formatRelative:YJ,localize:nee,match:yee,options:{weekStartsOn:0,firstWeekContainsDate:1}};function xee(e,t){const n=ut(e,t?.in);return tx(n,_j(n))+1}function nx(e,t){const n=ut(e,t?.in),r=+gc(n)-+RJ(n);return Math.round(r/Rj)+1}function Fj(e,t){const n=ut(e,t?.in),r=n.getFullYear(),o=eu(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,u=zt(t?.in||e,0);u.setFullYear(r+1,0,c),u.setHours(0,0,0,0);const m=xi(u,t),f=zt(t?.in||e,0);f.setFullYear(r,0,c),f.setHours(0,0,0,0);const h=xi(f,t);return+n>=+m?r+1:+n>=+h?r:r-1}function vee(e,t){const n=eu(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=Fj(e,t),c=zt(t?.in||e,0);return c.setFullYear(o,0,r),c.setHours(0,0,0,0),xi(c,t)}function rx(e,t){const n=ut(e,t?.in),r=+xi(n,t)-+vee(n,t);return Math.round(r/Rj)+1}function at(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Va={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return at(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):at(n+1,2)},d(e,t){return at(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return at(e.getHours()%12||12,t.length)},H(e,t){return at(e.getHours(),t.length)},m(e,t){return at(e.getMinutes(),t.length)},s(e,t){return at(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return at(o,t.length)}},Zo={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},O4={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Va.y(e,t)},Y:function(e,t,n,r){const o=Fj(e,r),c=o>0?o:1-o;if(t==="YY"){const u=c%100;return at(u,2)}return t==="Yo"?n.ordinalNumber(c,{unit:"year"}):at(c,t.length)},R:function(e,t){const n=Oj(e);return at(n,t.length)},u:function(e,t){const n=e.getFullYear();return at(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return at(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return at(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Va.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return at(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=rx(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):at(o,t.length)},I:function(e,t,n){const r=nx(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):at(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Va.d(e,t)},D:function(e,t,n){const r=xee(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):at(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),c=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(c);case"ee":return at(c,2);case"eo":return n.ordinalNumber(c,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),c=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(c);case"cc":return at(c,t.length);case"co":return n.ordinalNumber(c,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return at(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=Zo.noon:r===0?o=Zo.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=Zo.evening:r>=12?o=Zo.afternoon:r>=4?o=Zo.morning:o=Zo.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Va.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Va.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):at(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):at(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Va.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Va.s(e,t)},S:function(e,t){return Va.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return P4(r);case"XXXX":case"XX":return Ts(r);default:return Ts(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return P4(r);case"xxxx":case"xx":return Ts(r);default:return Ts(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+T4(r,":");default:return"GMT"+Ts(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+T4(r,":");default:return"GMT"+Ts(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return at(r,t.length)},T:function(e,t,n){return at(+e,t.length)}};function T4(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),c=r%60;return c===0?n+String(o):n+String(o)+t+at(c,2)}function P4(e,t){return e%60===0?(e>0?"-":"+")+at(Math.abs(e)/60,2):Ts(e,t)}function Ts(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=at(Math.trunc(r/60),2),c=at(r%60,2);return n+o+t+c}const D4=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},zj=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},wee=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return D4(e,t);let c;switch(r){case"P":c=t.dateTime({width:"short"});break;case"PP":c=t.dateTime({width:"medium"});break;case"PPP":c=t.dateTime({width:"long"});break;default:c=t.dateTime({width:"full"});break}return c.replace("{{date}}",D4(r,t)).replace("{{time}}",zj(o,t))},See={p:zj,P:wee},Cee=/^D+$/,Nee=/^Y+$/,kee=["D","DD","YY","YYYY"];function Eee(e){return Cee.test(e)}function jee(e){return Nee.test(e)}function Ree(e,t,n){const r=Mee(e,t,n);if(console.warn(r),kee.includes(e))throw new RangeError(r)}function Mee(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Aee=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Oee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Tee=/^'([^]*?)'?$/,Pee=/''/g,Dee=/[a-zA-Z]/;function Hl(e,t,n){const r=eu(),o=n?.locale??r.locale??ei,c=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,u=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,m=ut(e,n?.in);if(!DJ(m))throw new RangeError("Invalid time value");let f=t.match(Oee).map(p=>{const b=p[0];if(b==="p"||b==="P"){const v=See[b];return v(p,o.formatLong)}return p}).join("").match(Aee).map(p=>{if(p==="''")return{isToken:!1,value:"'"};const b=p[0];if(b==="'")return{isToken:!1,value:_ee(p)};if(O4[b])return{isToken:!0,value:p};
476if(b.match(Dee))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:p}});o.localize.preprocessor&&(f=o.localize.preprocessor(m,f));const h={firstWeekContainsDate:c,weekStartsOn:u,locale:o};return f.map(p=>{if(!p.isToken)return p.value;const b=p.value;(!n?.useAdditionalWeekYearTokens&&jee(b)||!n?.useAdditionalDayOfYearTokens&&Eee(b))&&Ree(b,t,String(e));const v=O4[b[0]];return v(m,b,o.localize,h)}).join("")}function _ee(e){const t=e.match(Tee);return t?t[1].replace(Pee,"'"):e}function Iee(e,t){const n=ut(e,t?.in),r=n.getFullYear(),o=n.getMonth(),c=zt(n,0);return c.setFullYear(r,o+1,0),c.setHours(0,0,0,0),c.getDate()}function Fee(e,t){return ut(e,t?.in).getMonth()}function zee(e,t){return ut(e,t?.in).getFullYear()}function Lee(e,t){return+ut(e)>+ut(t)}function Uee(e,t){return+ut(e)<+ut(t)}function Vee(e,t,n){const[r,o]=Oi(n?.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function Bee(e,t,n){const[r,o]=Oi(n?.in,e,t);return r.getFullYear()===o.getFullYear()}function Wee(e,t,n){const r=ut(e,n?.in),o=r.getFullYear(),c=r.getDate(),u=zt(e,0);u.setFullYear(o,t,15),u.setHours(0,0,0,0);const m=Iee(u);return r.setMonth(t,Math.min(c,m)),r}function Kee(e,t,n){const r=ut(e,n?.in);return isNaN(+r)?zt(e,NaN):(r.setFullYear(t),r)}const _4=5,Hee=4;function qee(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,o=t.addDays(e,-r+1),c=t.addDays(o,_4*7-1);return t.getMonth(e)===t.getMonth(c)?_4:Hee}function Lj(e,t){const n=t.startOfMonth(e),r=n.getDay();return r===1?n:r===0?t.addDays(n,-6):t.addDays(n,-1*(r-1))}function Xee(e,t){const n=Lj(e,t),r=qee(e,t);return t.addDays(n,r*7-1)}const Uj={...ei,labels:{labelDayButton:(e,t,n,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(u,m)=>Hl(u,m,{locale:ei,...n});let c=o(e,"PPPP");return t.today&&(c=`Today, ${c}`),t.selected&&(c=`${c}, selected`),c},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(o,c)=>Hl(o,c,{locale:ei,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(u,m)=>Hl(u,m,{locale:ei,...n});let c=o(e,"PPPP");return t?.today&&(c=`Today, ${c}`),c},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(o,c)=>Hl(o,c,{locale:ei,...t}),r(e,"cccc")}}};class Vn{constructor(t,n){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?an.tz(this.options.timeZone):new this.Date,this.newDate=(r,o,c)=>this.overrides?.newDate?this.overrides.newDate(r,o,c):this.options.timeZone?new an(r,o,c,this.options.timeZone):new Date(r,o,c),this.addDays=(r,o)=>this.overrides?.addDays?this.overrides.addDays(r,o):Mj(r,o),this.addMonths=(r,o)=>this.overrides?.addMonths?this.overrides.addMonths(r,o):Aj(r,o),this.addWeeks=(r,o)=>this.overrides?.addWeeks?this.overrides.addWeeks(r,o):MJ(r,o),this.addYears=(r,o)=>this.overrides?.addYears?this.overrides.addYears(r,o):AJ(r,o),this.differenceInCalendarDays=(r,o)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,o):tx(r,o),this.differenceInCalendarMonths=(r,o)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,o):Pj(r,o),this.eachMonthOfInterval=r=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):IJ(r),this.eachYearOfInterval=r=>{const o=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(r):LJ(r),c=new Set(o.map(m=>this.getYear(m)));if(c.size===o.length)return o;const u=[];return c.forEach(m=>{u.push(new Date(m,0,1))}),u},this.endOfBroadcastWeek=r=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):Xee(r,this),this.endOfISOWeek=r=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(r):UJ(r),this.endOfMonth=r=>this.overrides?.endOfMonth?this.overrides.endOfMonth(r):_J(r),this.endOfWeek=(r,o)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(r,o):Ij(r,this.options),this.endOfYear=r=>this.overrides?.endOfYear?this.overrides.endOfYear(r):zJ(r),this.format=(r,o,c)=>{const u=this.overrides?.format?this.overrides.format(r,o,this.options):Hl(r,o,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(u):u},this.getISOWeek=r=>this.overrides?.getISOWeek?this.overrides.getISOWeek(r):nx(r),this.getMonth=(r,o)=>this.overrides?.getMonth?this.overrides.getMonth(r,this.options):Fee(r,this.options),this.getYear=(r,o)=>this.overrides?.getYear?this.overrides.getYear(r,this.options):zee(r,this.options),this.getWeek=(r,o)=>this.overrides?.getWeek?this.overrides.getWeek(r,this.options):rx(r,this.options),this.isAfter=(r,o)=>this.overrides?.isAfter?this.overrides.isAfter(r,o):Lee(r,o),this.isBefore=(r,o)=>this.overrides?.isBefore?this.overrides.isBefore(r,o):Uee(r,o),this.isDate=r=>this.overrides?.isDate?this.overrides.isDate(r):Tj(r),this.isSameDay=(r,o)=>this.overrides?.isSameDay?this.overrides.isSameDay(r,o):PJ(r,o),this.isSameMonth=(r,o)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(r,o):Vee(r,o),this.isSameYear=(r,o)=>this.overrides?.isSameYear?this.overrides.isSameYear(r,o):Bee(r,o),this.max=r=>this.overrides?.max?this.overrides.max(r):OJ(r),this.min=r=>this.overrides?.min?this.overrides.min(r):TJ(r),this.setMonth=(r,o)=>this.overrides?.setMonth?this.overrides.setMonth(r,o):Wee(r,o),this.setYear=(r,o)=>
476this.overrides?.setYear?this.overrides.setYear(r,o):Kee(r,o),this.startOfBroadcastWeek=(r,o)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):Lj(r,this),this.startOfDay=r=>this.overrides?.startOfDay?this.overrides.startOfDay(r):bc(r),this.startOfISOWeek=r=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(r):gc(r),this.startOfMonth=r=>this.overrides?.startOfMonth?this.overrides.startOfMonth(r):FJ(r),this.startOfWeek=(r,o)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(r,this.options):xi(r,this.options),this.startOfYear=r=>this.overrides?.startOfYear?this.overrides.startOfYear(r):_j(r),this.options={locale:Uj,...t},this.overrides=n}getDigitMap(){const{numerals:t="latn"}=this.options,n=new Intl.NumberFormat("en-US",{numberingSystem:t}),r={};for(let o=0;o<10;o++)r[o.toString()]=n.format(o);return r}replaceDigits(t){const n=this.getDigitMap();return t.replace(/\d/g,r=>n[r]||r)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){const t=this.options.locale?.code;return t&&Vn.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:n,timeZone:r,numerals:o}=this.options,c=n?.code;if(c&&Vn.yearFirstLocales.has(c))try{return new Intl.DateTimeFormat(c,{month:"long",year:"numeric",timeZone:r,numberingSystem:o}).format(t)}catch{}const u=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,u)}}Vn.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const Vr=new Vn;class Vj{constructor(t,n,r=Vr){this.date=t,this.displayMonth=n,this.outside=!!(n&&!r.isSameMonth(t,n)),this.dateLib=r,this.isoDate=r.format(t,"yyyy-MM-dd"),this.displayMonthId=r.format(n,"yyyy-MM"),this.dateMonthId=r.format(t,"yyyy-MM")}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}}class Yee{constructor(t,n){this.date=t,this.weeks=n}}class $ee{constructor(t,n){this.days=n,this.weekNumber=t}}function Gee(e){return L.createElement("button",{...e})}function Zee(e){return L.createElement("span",{...e})}function Qee(e){const{size:t=24,orientation:n="left",className:r}=e;return L.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&L.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&L.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&L.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&L.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function Jee(e){const{day:t,modifiers:n,...r}=e;return L.createElement("td",{...r})}function ete(e){const{day:t,modifiers:n,...r}=e,o=L.useRef(null);return L.useEffect(()=>{n.focused&&o.current?.focus()},[n.focused]),L.createElement("button",{ref:o,...r})}var ke;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(ke||(ke={}));var St;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(St||(St={}));var pr;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(pr||(pr={}));var Dn;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(Dn||(Dn={}));function tte(e){const{options:t,className:n,components:r,classNames:o,...c}=e,u=[o[ke.Dropdown],n].join(" "),m=t?.find(({value:f})=>f===c.value);return L.createElement("span",{"data-disabled":c.disabled,className:o[ke.DropdownRoot]},L.createElement(r.Select,{className:u,...c},t?.map(({value:f,label:h,disabled:p})=>L.createElement(r.Option,{key:f,value:f,disabled:p},h))),L.createElement("span",{className:o[ke.CaptionLabel],"aria-hidden":!0},m?.label,L.createElement(r.Chevron,{orientation:"down",size:18,className:o[ke.Chevron]}
vendor: 4,058 bytes, line 476
476)))}function nte(e){return L.createElement("div",{...e})}function rte(e){return L.createElement("div",{...e})}function ate(e){const{calendarMonth:t,displayIndex:n,...r}=e;return L.createElement("div",{...r},e.children)}function ste(e){const{calendarMonth:t,displayIndex:n,...r}=e;return L.createElement("div",{...r})}function ote(e){return L.createElement("table",{...e})}function ite(e){return L.createElement("div",{...e})}const Bj=y.createContext(void 0);function tu(){const e=y.useContext(Bj);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function lte(e){const{components:t}=tu();return L.createElement(t.Dropdown,{...e})}function cte(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:o,...c}=e,{components:u,classNames:m,labels:{labelPrevious:f,labelNext:h}}=tu(),p=y.useCallback(v=>{o&&n?.(v)},[o,n]),b=y.useCallback(v=>{r&&t?.(v)},[r,t]);return L.createElement("nav",{...c},L.createElement(u.PreviousMonthButton,{type:"button",className:m[ke.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":f(r),onClick:b},L.createElement(u.Chevron,{disabled:r?void 0:!0,className:m[ke.Chevron],orientation:"left"})),L.createElement(u.NextMonthButton,{type:"button",className:m[ke.NextMonthButton],tabIndex:o?void 0:-1,"aria-disabled":o?void 0:!0,"aria-label":h(o),onClick:p},L.createElement(u.Chevron,{disabled:o?void 0:!0,orientation:"right",className:m[ke.Chevron]})))}function ute(e){const{components:t}=tu();return L.createElement(t.Button,{...e})}function dte(e){return L.createElement("option",{...e})}function mte(e){const{components:t}=tu();return L.createElement(t.Button,{...e})}function fte(e){const{rootRef:t,...n}=e;return L.createElement("div",{...n,ref:t})}function hte(e){return L.createElement("select",{...e})}function pte(e){const{week:t,...n}=e;return L.createElement("tr",{...n})}function gte(e){return L.createElement("th",{...e})}function bte(e){return L.createElement("thead",{"aria-hidden":!0},L.createElement("tr",{...e}))}function yte(e){const{week:t,...n}=e;return L.createElement("th",{...n})}function xte(e){return L.createElement("th",{...e})}function vte(e){return L.createElement("tbody",{...e})}function wte(e){const{components:t}=tu();return L.createElement(t.Dropdown,{...e})}const Ste=Object.freeze(Object.defineProperty({__proto__:null,Button:Gee,CaptionLabel:Zee,Chevron:Qee,Day:Jee,DayButton:ete,Dropdown:tte,DropdownNav:nte,Footer:rte,Month:ate,MonthCaption:ste,MonthGrid:ote,Months:ite,MonthsDropdown:lte,Nav:cte,NextMonthButton:ute,Option:dte,PreviousMonthButton:mte,Root:fte,Select:hte,Week:pte,WeekNumber:yte,WeekNumberHeader:xte,Weekday:gte,Weekdays:bte,Weeks:vte,YearsDropdown:wte},Symbol.toStringTag,{value:"Module"}));function ia(e,t,n=!1,r=Vr){let{from:o,to:c}=e;const{differenceInCalendarDays:u,isSameDay:m}=r;return o&&c?(u(c,o)<0&&([o,c]=[c,o]),u(t,o)>=(n?1:0)&&u(c,t)>=(n?1:0)):!n&&c?m(c,t):!n&&o?m(o,t):!1}function ax(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function wf(e){return!!(e&&typeof e=="object"&&"from"in e)}function sx(e){return!!(e&&typeof e=="object"&&"after"in e)}function ox(e){return!!(e&&typeof e=="object"&&"before"in e)}function Wj(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Kj(e,t){return Array.isArray(e)&&e.every(t.isDate)}function la(e,t,n=Vr){const r=Array.isArray(t)?t:[t],{isSameDay:o,differenceInCalendarDays:c,isAfter:u}=n;return r.some(m=>{if(typeof m=="boolean")return m;if(n.isDate(m))return o(e,m);if(Kj(m,n))return m.some(f=>o(e,f));if(wf(m))return ia(m,e,!1,n);if(Wj(m))return Array.isArray(m.dayOfWeek)?m.dayOfWeek.includes(e.getDay()):m.dayOfWeek===e.getDay();if(ax(m)){const f=c(m.before,e),h=c(m.after,e),p=f>0,b=h<0;return u(m.before,m.after)?b&&p:p||b}return sx(m)?c(e,m.after)>0:ox(m)?c(m.before,e)>0:typeof m=="function"?m(e):!1})}function Cte(e,t,n,r,o){const{disabled:c,hidden:u,modifiers:m,showOutsideDays:f,broadcastCalendar:h,today:p=o.today()}=t,{isSameDay:b,isSameMonth:v,startOfMonth:S,isBefore:N,endOfMonth:w,isAfter:C}
476=o,R=n&&S(n),M=r&&w(r),j={[St.focused]:[],[St.outside]:[],[St.disabled]:[],[St.hidden]:[],[St.today]:[]},T={};for(const P of e){const{date:I,displayMonth:_}=P,D=!!(_&&!v(I,_)),V=!!(R&&N(I,R)),H=!!(M&&C(I,M)),$=!!(c&&la(I,c,o)),J=!!(u&&la(I,u,o))||V||H||!h&&!f&&D||h&&f===!1&&D,ae=b(I,p);D&&j.outside.push(P),$&&j.disabled.push(P),J&&j.hidden.push(P),ae&&j.today.push(P),m&&Object.keys(m).forEach(ee=>{const ie=m?.[ee];ie&&la(I,ie,o)&&(T[ee]?T[ee].push(P):T[ee]=[P])})}return P=>{const I={[St.focused]:!1,[St.disabled]:!1,[St.hidden]:!1,[St.outside]:!1,[St.today]:!1},_={};for(const D in j){const V=j[D];I[D]=V.some(H=>H===P)}for(const D in T)_[D]=T[D].some(V=>V===P);return{...I,..._}}}function Nte(e,t,n={}){return Object.entries(e).filter(([,o])=>o===!0).reduce((o,[c])=>(n[c]?o.push(n[c]):t[St[c]]?o.push(t[St[c]]):t[pr[c]]&&o.push(t[pr[c]]),o),[t[ke.Day]])}function kte(e){return{...Ste,...e}}function Ete(e){const t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([n,r])=>{n.startsWith("data-")&&(t[n]=r)}),t}function ix(){const e={};for(const t in ke)e[ke[t]]=`rdp-${ke[t]}`;for(const t in St)e[St[t]]=`rdp-${St[t]}`;for(const t in pr)e[pr[t]]=`rdp-${pr[t]}`;for(const t in Dn)e[Dn[t]]=`rdp-${Dn[t]}`;return e}function Hj(e,t,n){return(n??new Vn(t)).formatMonthYear(e)}const jte=Hj;function Rte(e,t,n){return(n??new Vn(t)).format(e,"d")}function Mte(e,t=Vr){return t.format(e,"LLLL")}function Ate(e,t,n){return(n??new Vn(t)).format(e,"cccccc")}function Ote(e,t=Vr){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function Tte(){return""}function qj(e,t=Vr){return t.format(e,"yyyy")}const Pte=qj,Dte=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:Hj,formatDay:Rte,formatMonthCaption:jte,formatMonthDropdown:Mte,formatWeekNumber:Ote,formatWeekNumberHeader:Tte,formatWeekdayName:Ate,formatYearCaption:Pte,formatYearDropdown:qj},Symbol.toStringTag,{value:"Module"}));function _te(e){return e?.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e?.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...Dte,...e}}function lx(e,t,n,r){let o=(r??new Vn(n)).format(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o}const Ite=lx;function cx(e,t,n){return(n??new Vn(t)).formatMonthYear(e)}const Fte=cx;function Xj(e,t,n,r){let o=(r??new Vn(n)).format(e,"PPPP");return t?.today&&(o=`Today, ${o}`),o}function Yj(e){return"Choose the Month"}function $j(){return""}const zte="Go to the Next Month";function Gj(e,t){return zte}function Zj(e){return"Go to the Previous Month"}function Qj(e,t,n){return(n??new Vn(t)).format(e,"cccc")}function Jj(e,t){return`Week ${e}`}function eR(e){return"Week Number"}function tR(e){return"Choose the Year"}const Lte=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:Fte,labelDay:Ite,labelDayButton:lx,labelGrid:cx,labelGridcell:Xj,labelMonthDropdown:Yj,labelNav:$j,labelNext:Gj,labelPrevious:Zj,labelWeekNumber:Jj,labelWeekNumberHeader:eR,labelWeekday:Qj,labelYearDropdown:tR},Symbol.toStringTag,{value:"Module"})),dr=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function Ute(e,t){const n=t.locale?.labels??{};return{...Lte,...e??{},labelDayButton:dr(lx,e?.labelDayButton,n.labelDayButton),labelMonthDropdown:dr(Yj,e?.labelMonthDropdown,n.labelMonthDropdown),labelNext:dr(Gj,e?.labelNext,n.labelNext),labelPrevious:dr(Zj,e?.labelPrevious,n.labelPrevious),labelWeekNumber:dr(Jj,e?.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:dr(tR,e?.labelYearDropdown,n.labelYearDropdown),labelGrid:dr(cx,e?.labelGrid,n.labelGrid),labelGridcell:dr(Xj,e?.labelGridcell,n.labelGridcell),labelNav:dr($j,e?.labelNav,n.labelNav),labelWeekNumberHeader:dr(eR,e?.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:dr(Qj,e?.labelWeekday,n.labelWeekday)}}function Vte(e,t,n,r,o){const{startOfMonth:c,startOfYear:u,endOfYear:m,eachMonthOfInterval:f,getMonth:h}=o;return f({start:u(e),end:m(e)}).map(v=>{const S=r.formatMonthDropdown(v,o),N=h(v),w=t&&v<c(t)||n&&v>c(n)||!1;return{value:N,label:S,disabled:w}})}function Bte(e,t={},n={}){let r={...t?.[ke.Day]};return Object.entries(e).filter(([,o])=>
vendor: 8,916 bytes, line 476
476o===!0).forEach(([o])=>{r={...r,...n?.[o]}}),r}function Wte(e,t,n,r){const o=r??e.today(),c=n?e.startOfBroadcastWeek(o,e):t?e.startOfISOWeek(o):e.startOfWeek(o),u=[];for(let m=0;m<7;m++){const f=e.addDays(c,m);u.push(f)}return u}function Kte(e,t,n,r,o=!1){if(!e||!t)return;const{startOfYear:c,endOfYear:u,eachYearOfInterval:m,getYear:f}=r,h=c(e),p=u(t),b=m({start:h,end:p});return o&&b.reverse(),b.map(v=>{const S=n.formatYearDropdown(v,r);return{value:f(v),label:S,disabled:!1}})}function Hte(e,t={}){const{weekStartsOn:n,locale:r}=t,o=n??r?.options?.weekStartsOn??0,c=m=>{const f=typeof m=="number"||typeof m=="string"?new Date(m):m;return new an(f.getFullYear(),f.getMonth(),f.getDate(),12,0,0,e)},u=m=>{const f=c(m);return new Date(f.getFullYear(),f.getMonth(),f.getDate(),0,0,0,0)};return{today:()=>c(an.tz(e)),newDate:(m,f,h)=>new an(m,f,h,12,0,0,e),startOfDay:m=>c(m),startOfWeek:(m,f)=>{const h=c(m),p=f?.weekStartsOn??o,b=(h.getDay()-p+7)%7;return h.setDate(h.getDate()-b),h},startOfISOWeek:m=>{const f=c(m),h=(f.getDay()-1+7)%7;return f.setDate(f.getDate()-h),f},startOfMonth:m=>{const f=c(m);return f.setDate(1),f},startOfYear:m=>{const f=c(m);return f.setMonth(0,1),f},endOfWeek:(m,f)=>{const h=c(m),v=(((f?.weekStartsOn??o)+6)%7-h.getDay()+7)%7;return h.setDate(h.getDate()+v),h},endOfISOWeek:m=>{const f=c(m),h=(7-f.getDay())%7;return f.setDate(f.getDate()+h),f},endOfMonth:m=>{const f=c(m);return f.setMonth(f.getMonth()+1,0),f},endOfYear:m=>{const f=c(m);return f.setMonth(11,31),f},eachMonthOfInterval:m=>{const f=c(m.start),h=c(m.end),p=[],b=new an(f.getFullYear(),f.getMonth(),1,12,0,0,e),v=h.getFullYear()*12+h.getMonth();for(;b.getFullYear()*12+b.getMonth()<=v;)p.push(new an(b,e)),b.setMonth(b.getMonth()+1,1);return p},addDays:(m,f)=>{const h=c(m);return h.setDate(h.getDate()+f),h},addWeeks:(m,f)=>{const h=c(m);return h.setDate(h.getDate()+f*7),h},addMonths:(m,f)=>{const h=c(m);return h.setMonth(h.getMonth()+f),h},addYears:(m,f)=>{const h=c(m);return h.setFullYear(h.getFullYear()+f),h},eachYearOfInterval:m=>{const f=c(m.start),h=c(m.end),p=[],b=new an(f.getFullYear(),0,1,12,0,0,e);for(;b.getFullYear()<=h.getFullYear();)p.push(new an(b,e)),b.setFullYear(b.getFullYear()+1,0,1);return p},getWeek:(m,f)=>{const h=u(m);return rx(h,{weekStartsOn:f?.weekStartsOn??o,firstWeekContainsDate:f?.firstWeekContainsDate??r?.options?.firstWeekContainsDate??1})},getISOWeek:m=>{const f=u(m);return nx(f)},differenceInCalendarDays:(m,f)=>{const h=u(m),p=u(f);return tx(h,p)},differenceInCalendarMonths:(m,f)=>{const h=u(m),p=u(f);return Pj(h,p)}}}const nu=e=>e instanceof HTMLElement?e:null,qg=e=>[...e.querySelectorAll("[data-animated-month]")??[]],qte=e=>nu(e.querySelector("[data-animated-month]")),Xg=e=>nu(e.querySelector("[data-animated-caption]")),Yg=e=>nu(e.querySelector("[data-animated-weeks]")),Xte=e=>nu(e.querySelector("[data-animated-nav]")),Yte=e=>nu(e.querySelector("[data-animated-weekdays]"));function $te(e,t,{classNames:n,months:r,focused:o,dateLib:c}){const u=y.useRef(null),m=y.useRef(r),f=y.useRef(!1);y.useLayoutEffect(()=>{const h=m.current;if(m.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||h.length===0||r.length!==h.length)return;const p=c.isSameMonth(r[0].date,h[0].date),b=c.isAfter(r[0].date,h[0].date),v=b?n[Dn.caption_after_enter]:n[Dn.caption_before_enter],S=b?n[Dn.weeks_after_enter]:n[Dn.weeks_before_enter],N=u.current,w=e.current.cloneNode(!0);if(w instanceof HTMLElement?(qg(w).forEach(j=>{if(!(j instanceof HTMLElement))return;const T=qte(j);T&&j.contains(T)&&j.removeChild(T);const P=Xg(j);P&&P.classList.remove(v);const I=Yg(j);I&&I.classList.remove(S)}),u.current=w):u.current=null,f.current||p||o)return;const C=N instanceof HTMLElement?qg(N):[],R=qg(e.current);if(R?.every(M=>M instanceof HTMLElement)&&C&&C.every(M=>M instanceof HTMLElement)){f.current=!0,e.current.style.isolation="isolate";const M=Xte(e.current);M&&(M.style.zIndex="1"),R.forEach((j,T)=>{const P=C[T];if(!P)return;j.style.position="relative",j.style.overflow="hidden";const I=Xg(j);I&&I.classList.add(v);const _=Yg(j);_&&_.classList.add(S);const D=()=>{f.current=!1,e.current&&(e.current.style.isolation=""),M&&(M.style.zIndex=""),I&&I.classList.remove(v),_&&_.classList.remove(S),j.style.position="",j.style.overflow="",j.contains(P)&&j.removeChild(P)};P.style.pointerEvents="none",P.style.position="absolute",P.style.overflow="hidden",P.setAttribute("aria-hidden","true");const V=Yte(P);V&&(V.style.opacity="0");const H=Xg(P);H&&(H.classList.add(b?n[Dn.caption_before_exit]:n[Dn.caption_after_exit]),H.addEventListener("animationend",D));const $=Yg(P);$&&$.classList.add(b?n[Dn.weeks_before_exit]:n[Dn.weeks_after_exit]),j.insertBefore(P,j.firstChild)})}})}function Gte(e,t,n,r){const o=e[0],c=e[e.length-1],{ISOWeek:u,fixedWeeks:m,broadcastCalendar:f}=n??{},{addDays:h,differenceInCalendarDays:p,differenceInCalendarMonths:b,endOfBroadcastWeek:v,endOfISOWeek:S,endOfMonth:N,endOfWeek:w,isAfter:C,startOfBroadcastWeek:R,startOfISOWeek:M,startOfWeek:j}=r,T=f?R(o,r):u?M(o):j(o),P=f?v(c):u?S(N(c)):w(N(c)),I=t&&(f?v(t):u?S(t):w(t)),_=I&&C(P,I)?I:P,D=p(_,T),V=b(c,o)+1,H=[];for(let ae=0;ae<=D;ae++){const ee=h(T,ae);H.push(ee)}const J=(f?35:42)*V;if(m&&H.length<J){const ae=J-H.length;for(let ee=0;ee<ae;ee++){const ie=h(H[H.length-1],1);H.push(ie)}}return H}function Zte(e){const t=[];return e.reduce((n,r)=>{const o=r.weeks.reduce((c,u)=>c.concat(u.days.slice()),t.slice());return n.concat(o.slice())},t.slice())}function Qte(e,t,n,r){const{numberOfMonths:o=1}=n,c=[];for(let u=0;u<o;u++){const m=r.addMonths(e,u);if(t&&m>t)break;c.push(m)}return c}function I4(e,t,n,r){const{month:o,defaultMonth:c,today:u=r.today(),numberOfMonths:m=1}=e;let f=o||c||u;const{differenceInCalendarMonths:h,addMonths:p,startOfMonth:b}=r;if(n&&h(n,f)<m-1){const v=-1*(m-1);f=p(n,v)}return t&&h(f,t)<0&&(f=t),b(f)}function Jte(e,t,n,r){const{addDays:o,endOfBroadcastWeek:c,endOfISOWeek:u,endOfMonth:m,endOfWeek:f,getISOWeek:h,getWeek:p,startOfBroadcastWeek:b,startOfISOWeek:v,startOfWeek:S}=r,N=e.reduce((w,C)=>{const R=n.broadcastCalendar?b(C,r):n.ISOWeek?v(C):S(C),M=n.broadcastCalendar?c(C):n.ISOWeek?u(m(C)):f(m(C)),j=t.filter(_=>_>=R&&_<=M),T=n.broadcastCalendar?35:42;if(n.fixedWeeks&&j.length<T){const _=t.filter(D=>{const V=T-j.length;return D>M&&D<=o(M,V)});j.push(..._)}const P=j.reduce((_,D)=>{const V=n.ISOWeek?h(D):p(D),H=_.find(J=>J.weekNumber===V),$=new Vj(D,C,r);return H?H.days.push($):_.push(new $ee(V,[$])),_},[]),I=new Yee(C,P);return w.push(I),w},[]);return n.reverseMonths?N.reverse():N}function ene(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:o,startOfDay:c,startOfMonth:u,endOfMonth:m,addYears:f,endOfYear:h,newDate:p,today:b}=t,{fromYear:v,toYear:S,fromMonth:N,toMonth:w}=e;!n&&N&&(n=N),!n&&v&&(n=t.newDate(v,0,1)),!r&&w&&(r=w),!r&&S&&(r=p(S,11,31));const C=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=u(n):v?n=p(v,0,1):!n&&C&&(n=o(f(e.today??b(),-100))),r?r=m(r):S?r=p(S,11,31):!r&&C&&(r=h(e.today??b())),[n&&c(n),r&&c(r)]}function tne(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:c=1}=n,{startOfMonth:u,addMonths:m,differenceInCalendarMonths:f}=r,h=o?c:1,p=u(e);if(!t)return m(p,h);if(!(f(t,e)<c))return m(p,h)}function nne(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:c}=n,{startOfMonth:u,addMonths:m,differenceInCalendarMonths:f}=r,h=o?c??1:1,p=u(e);if(!t)return m(p,-h);if(!(f(p,t)<=0))return m(p,-h)}function rne(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function Sf(e,t){const[n,r]=y.useState(e);return[t===void 0?n:t,r]}function ane(e,t){const[n,r]=ene(e,t),{startOfMonth:o,endOfMonth:c}=t,u=I4(e,n,r,t),[m,f]=Sf(u,e.month?u:void 0);y.useEffect(()=>{const T=I4(e,n,r,t);f(T)},[e.timeZone]);const{months:h,weeks:p,days:b,previousMonth:v,nextMonth:S}=y.useMemo(()=>{const T=Qte(m,r,{numberOfMonths:e.numberOfMonths},t),P=Gte(T,e.endMonth?c(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),I=Jte(T,P,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),_=rne(I),D=Zte(I),V=nne(m,n,e,t),H=tne(m,r,e,t);return{months:I,weeks:_,days:D,previousMonth:V,nextMonth:H}},[t,m.getTime(),r?.getTime(),n?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:N,onMonthChange:w}=e,C=T=>p.some(P=>P.days.some(I=>I.isEqualTo(T))),R=T=>{if(N)return;let P=o(T);n&&P<o(n)&&(P=o(n)),r&&P>o(r)&&(P=o(r)),f(P),w?.(P)};return{months:h,weeks:p,days:b,navStart:n,navEnd:r,previousMonth:v,nextMonth:S,goToMonth:R,goToDay:T=>{C(T)||R(T.date)}}}var Ar;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(Ar||(Ar={}));
476function F4(e){return!e[St.disabled]&&!e[St.hidden]&&!e[St.outside]}function sne(e,t,n,r){let o,c=-1;for(const u of e){const m=t(u);F4(m)&&(m[St.focused]&&c<Ar.FocusedModifier?(o=u,c=Ar.FocusedModifier):r?.isEqualTo(u)&&c<Ar.LastFocused?(o=u,c=Ar.LastFocused):n(u.date)&&c<Ar.Selected?(o=u,c=Ar.Selected):m[St.today]&&c<Ar.Today&&(o=u,c=Ar.Today))}return o||(o=e.find(u=>F4(t(u)))),o}function one(e,t,n,r,o,c,u){const{ISOWeek:m,broadcastCalendar:f}=c,{addDays:h,addMonths:p,addWeeks:b,addYears:v,endOfBroadcastWeek:S,endOfISOWeek:N,endOfWeek:w,max:C,min:R,startOfBroadcastWeek:M,startOfISOWeek:j,startOfWeek:T}=u;let I={day:h,week:b,month:p,year:v,startOfWeek:_=>f?M(_,u):m?j(_):T(_),endOfWeek:_=>f?S(_):m?N(_):w(_)}[e](n,t==="after"?1:-1);return t==="before"&&r?I=C([r,I]):t==="after"&&o&&(I=R([o,I])),I}function nR(e,t,n,r,o,c,u,m=0){if(m>365)return;const f=one(e,t,n.date,r,o,c,u),h=!!(c.disabled&&la(f,c.disabled,u)),p=!!(c.hidden&&la(f,c.hidden,u)),b=f,v=new Vj(f,b,u);return!h&&!p?v:nR(e,t,v,r,o,c,u,m+1)}function ine(e,t,n,r,o){const{autoFocus:c}=e,[u,m]=y.useState(),f=sne(t.days,n,r||(()=>!1),u),[h,p]=y.useState(c?f:void 0);return{isFocusTarget:w=>!!f?.isEqualTo(w),setFocused:p,focused:h,blur:()=>{m(h),p(void 0)},moveFocus:(w,C)=>{if(!h)return;const R=nR(w,C,h,t.navStart,t.navEnd,e,o);R&&(e.disableNavigation&&!t.days.some(j=>j.isEqualTo(R))||(t.goToDay(R),p(R)))}}}function lne(e,t){const{selected:n,required:r,onSelect:o}=e,[c,u]=Sf(n,o?n:void 0),m=o?n:c,{isSameDay:f}=t,h=S=>m?.some(N=>f(N,S))??!1,{min:p,max:b}=e;return{selected:m,select:(S,N,w)=>{let C=[...m??[]];if(h(S)){if(m?.length===p||r&&m?.length===1)return;C=m?.filter(R=>!f(R,S))}else m?.length===b?C=[S]:C=[...C,S];return o||u(C),o?.(C,S,N,w),C},isSelected:h}}function cne(e,t,n=0,r=0,o=!1,c=Vr){const{from:u,to:m}=t||{},{isSameDay:f,isAfter:h,isBefore:p}=c;let b;if(!u&&!m)b={from:e,to:n>0?void 0:e};else if(u&&!m)f(u,e)?n===0?b={from:u,to:e}:o?b={from:u,to:void 0}:b=void 0:p(e,u)?b={from:e,to:u}:b={from:u,to:e};else if(u&&m)if(f(u,e)&&f(m,e))o?b={from:u,to:m}:b=void 0;else if(f(u,e))b={from:u,to:n>0?void 0:e};else if(f(m,e))b={from:e,to:n>0?void 0:e};else if(p(e,u))b={from:e,to:m};else if(h(e,u))b={from:u,to:e};else if(h(e,m))b={from:u,to:e};else throw new Error("Invalid range");if(b?.from&&b?.to){const v=c.differenceInCalendarDays(b.to,b.from);r>0&&v>r?b={from:e,to:void 0}:n>1&&v<n&&(b={from:e,to:void 0})}return b}function une(e,t,n=Vr){const r=Array.isArray(t)?t:[t];let o=e.from;const c=n.differenceInCalendarDays(e.to,e.from),u=Math.min(c,6);for(let m=0;m<=u;m++){if(r.includes(o.getDay()))return!0;o=n.addDays(o,1)}return!1}function z4(e,t,n=Vr){return ia(e,t.from,!1,n)||ia(e,t.to,!1,n)||ia(t,e.from,!1,n)||ia(t,e.to,!1,n)}function dne(e,t,n=Vr){const r=Array.isArray(t)?t:[t];if(r.filter(m=>typeof m!="function").some(m=>typeof m=="boolean"?m:n.isDate(m)?ia(e,m,!1,n):Kj(m,n)?m.some(f=>ia(e,f,!1,n)):wf(m)?m.from&&m.to?z4(e,{from:m.from,to:m.to},n):!1:Wj(m)?une(e,m.dayOfWeek,n):ax(m)?n.isAfter(m.before,m.after)?z4(e,{from:n.addDays(m.after,1),to:n.addDays(m.before,-1)},n):la(e.from,m,n)||la(e.to,m,n):sx(m)||ox(m)?la(e.from,m,n)||la(e.to,m,n):!1))return!0;const u=r.filter(m=>typeof m=="function");if(u.length){let m=e.from;const f=n.differenceInCalendarDays(e.to,e.from);for(let h=0;h<=f;h++){if(u.some(p=>p(m)))return!0;m=n.addDays(m,1)}}return!1}function mne(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:o,selected:c,required:u,onSelect:m}=e,[f,h]=Sf(c,m?c:void 0),p=m?c:f;return{selected:p,select:(S,N,w)=>{const{min:C,max:R}=e;let M;if(S){const j=p?.from,T=p?.to,P=!!j&&!!T,I=!!j&&!!T&&t.isSameDay(j,T)&&t.isSameDay(S,j);o&&(P||!p?.from)?!u&&I?M=void 0:M={from:S,to:void 0}:M=cne(S,p,C,R,u,t)}return r&&n&&M?.from&&M.to&&dne({from:M.from,to:M.to},n,t)&&(M.from=S,M.to=void 0),m||h(M),m?.(M,S,N,w),M},isSelected:S=>p&&ia(p,S,!1,t)}}function fne(e,t){const{selected:n,required:r,onSelect:o}=e,[c,u]=Sf(n,o?n:void 0),m=o?n:c,{isSameDay:f}=t;return{selected:m,select:(b,v,S)=>{let N=b;return!r&&m&&m&&f(b,m)&&(N=void 0),o||u(N),o?.(N,b,v,S),N},isSelected:b=>m?f(m,b):!1}}function hne(e,t){const n=fne(e,t),r=lne(e,t),o=mne(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return o;default:return}}function Jn(e,t){return e instanceof an&&e.timeZone===t?e:new an(e,t)}
476function Qo(e,t,n){return Jn(e,t)}function L4(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?Qo(e,t):Array.isArray(e)?e.map(r=>r instanceof Date?Qo(r,t):r):wf(e)?{...e,from:e.from?Jn(e.from,t):e.from,to:e.to?Jn(e.to,t):e.to}:ax(e)?{before:Qo(e.before,t),after:Qo(e.after,t)}:sx(e)?{after:Qo(e.after,t)}:ox(e)?{before:Qo(e.before,t)}:e}function $g(e,t,n){return e&&(Array.isArray(e)?e.map(r=>L4(r,t)):L4(e,t))}function pne(e){let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=Jn(t.today,n)),t.month&&(t.month=Jn(t.month,n)),t.defaultMonth&&(t.defaultMonth=Jn(t.defaultMonth,n)),t.startMonth&&(t.startMonth=Jn(t.startMonth,n)),t.endMonth&&(t.endMonth=Jn(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=Jn(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=t.selected?.map(_e=>Jn(_e,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?Jn(t.selected.from,n):t.selected.from,to:t.selected.to?Jn(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=$g(t.disabled,n)),t.hidden!==void 0&&(t.hidden=$g(t.hidden,n)),t.modifiers)){const _e={};Object.keys(t.modifiers).forEach(Qe=>{_e[Qe]=$g(t.modifiers?.[Qe],n)}),t.modifiers=_e}const{components:r,formatters:o,labels:c,dateLib:u,locale:m,classNames:f}=y.useMemo(()=>{const _e={...Uj,...t.locale},Qe=t.broadcastCalendar?1:t.weekStartsOn,Ae=t.noonSafe&&t.timeZone?Hte(t.timeZone,{weekStartsOn:Qe,locale:_e}):void 0,qe=t.dateLib&&Ae?{...Ae,...t.dateLib}:t.dateLib??Ae,ln=new Vn({locale:_e,weekStartsOn:Qe,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},qe);return{dateLib:ln,components:kte(t.components),formatters:_te(t.formatters),labels:Ute(t.labels,ln.options),locale:_e,classNames:{...ix(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:u.today()});const{captionLayout:h,mode:p,navLayout:b,numberOfMonths:v=1,onDayBlur:S,onDayClick:N,onDayFocus:w,onDayKeyDown:C,onDayMouseEnter:R,onDayMouseLeave:M,onNextClick:j,onPrevClick:T,showWeekNumber:P,styles:I}=t,{formatCaption:_,formatDay:D,formatMonthDropdown:V,formatWeekNumber:H,formatWeekNumberHeader:$,formatWeekdayName:J,formatYearDropdown:ae}=o,ee=ane(t,u),{days:ie,months:z,navStart:Q,navEnd:W,previousMonth:B,nextMonth:O,goToMonth:X}=ee,oe=Cte(ie,t,Q,W,u),{isSelected:se,select:me,selected:fe}=hne(t,u)??{},{blur:le,focused:de,isFocusTarget:Se,moveFocus:je,setFocused:Ie}=ine(t,ee,oe,se??(()=>!1),u),{labelDayButton:Te,labelGridcell:Ke,labelGrid:dt,labelMonthDropdown:tt,labelNav:he,labelPrevious:Ge,labelNext:Pe,labelWeekday:yn,labelWeekNumber:Ee,labelWeekNumberHeader:gt,labelYearDropdown:Wn}=c,Ti=y.useMemo(()=>Wte(u,t.ISOWeek,t.broadcastCalendar,t.today),[u,t.ISOWeek,t.broadcastCalendar,t.today]),Pi=p!==void 0||N!==void 0,Di=y.useCallback(()=>{B&&(X(B),T?.(B))},[B,X,T]),_i=y.useCallback(()=>{O&&(X(O),j?.(O))},[X,O,j]),ls=y.useCallback((_e,Qe)=>Ae=>{Ae.preventDefault(),Ae.stopPropagation(),Ie(_e),!Qe.disabled&&(me?.(_e.date,Qe,Ae),N?.(_e.date,Qe,Ae))},[me,N,Ie]),sn=y.useCallback((_e,Qe)=>Ae=>{Ie(_e),w?.(_e.date,Qe,Ae)},[w,Ie]),Sr=y.useCallback((_e,Qe)=>Ae=>{le(),S?.(_e.date,Qe,Ae)},[le,S]),on=y.useCallback((_e,Qe)=>Ae=>{const qe={ArrowLeft:[Ae.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[Ae.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[Ae.shiftKey?"year":"week","after"],ArrowUp:[Ae.shiftKey?"year":"week","before"],PageUp:[Ae.shiftKey?"year":"month","before"],PageDown:[Ae.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(qe[Ae.key]){Ae.preventDefault(),Ae.stopPropagation();const[ln,Xe]=qe[Ae.key];je(ln,Xe)}C?.(_e.date,Qe,Ae)},[je,C,t.dir]),Of=y.useCallback((_e,Qe)=>Ae=>{R?.(_e.date,Qe,Ae)},[R]),Tf=y.useCallback((_e,Qe)=>Ae=>{M?.(_e.date,Qe,Ae)},[M]),Pf=y.useCallback(_e=>Qe=>{const Ae=Number(Qe.target.value),qe=u.setMonth(u.startOfMonth(_e),Ae);X(qe)},[u,X]),eo=y.useCallback(_e=>Qe=>{const Ae=Number(Qe.target.value),qe=u.setYear(u.startOfMonth(_e),Ae);X(qe)},[u,X]),{className:to,style:Br}=y.useMemo(()=>
vendor: 4,282 bytes, line 476
476({className:[f[ke.Root],t.className].filter(Boolean).join(" "),style:{...I?.[ke.Root],...t.style}}),[f,t.className,t.style,I]),no=Ete(t),pa=y.useRef(null);$te(pa,!!t.animate,{classNames:f,months:z,focused:de,dateLib:u});const Df={dayPickerProps:t,selected:fe,select:me,isSelected:se,months:z,nextMonth:O,previousMonth:B,goToMonth:X,getModifiers:oe,components:r,classNames:f,styles:I,labels:c,formatters:o};return L.createElement(Bj.Provider,{value:Df},L.createElement(r.Root,{rootRef:t.animate?pa:void 0,className:to,style:Br,dir:t.dir,id:t.id,lang:t.lang??m.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...no},L.createElement(r.Months,{className:f[ke.Months],style:I?.[ke.Months]},!t.hideNavigation&&!b&&L.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:f[ke.Nav],style:I?.[ke.Nav],"aria-label":he(),onPreviousClick:Di,onNextClick:_i,previousMonth:B,nextMonth:O}),z.map((_e,Qe)=>L.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:f[ke.Month],style:I?.[ke.Month],key:Qe,displayIndex:Qe,calendarMonth:_e},b==="around"&&!t.hideNavigation&&Qe===0&&L.createElement(r.PreviousMonthButton,{type:"button",className:f[ke.PreviousMonthButton],tabIndex:B?void 0:-1,"aria-disabled":B?void 0:!0,"aria-label":Ge(B),onClick:Di,"data-animated-button":t.animate?"true":void 0},L.createElement(r.Chevron,{disabled:B?void 0:!0,className:f[ke.Chevron],orientation:t.dir==="rtl"?"right":"left"})),L.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:f[ke.MonthCaption],style:I?.[ke.MonthCaption],calendarMonth:_e,displayIndex:Qe},h?.startsWith("dropdown")?L.createElement(r.DropdownNav,{className:f[ke.Dropdowns],style:I?.[ke.Dropdowns]},(()=>{const Ae=h==="dropdown"||h==="dropdown-months"?L.createElement(r.MonthsDropdown,{key:"month",className:f[ke.MonthsDropdown],"aria-label":tt(),classNames:f,components:r,disabled:!!t.disableNavigation,onChange:Pf(_e.date),options:Vte(_e.date,Q,W,o,u),style:I?.[ke.Dropdown],value:u.getMonth(_e.date)}):L.createElement("span",{key:"month"},V(_e.date,u)),qe=h==="dropdown"||h==="dropdown-years"?L.createElement(r.YearsDropdown,{key:"year",className:f[ke.YearsDropdown],"aria-label":Wn(u.options),classNames:f,components:r,disabled:!!t.disableNavigation,onChange:eo(_e.date),options:Kte(Q,W,o,u,!!t.reverseYears),style:I?.[ke.Dropdown],value:u.getYear(_e.date)}):L.createElement("span",{key:"year"},ae(_e.date,u));return u.getMonthYearOrder()==="year-first"?[qe,Ae]:[Ae,qe]})(),L.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},_(_e.date,u.options,u))):L.createElement(r.CaptionLabel,{className:f[ke.CaptionLabel],role:"status","aria-live":"polite"},_(_e.date,u.options,u))),b==="around"&&!t.hideNavigation&&Qe===v-1&&L.createElement(r.NextMonthButton,{type:"button",className:f[ke.NextMonthButton],tabIndex:O?void 0:-1,"aria-disabled":O?void 0:!0,"aria-label":Pe(O),onClick:_i,"data-animated-button":t.animate?"true":void 0},L.createElement(r.Chevron,{disabled:O?void 0:!0,className:f[ke.Chevron],orientation:t.dir==="rtl"?"left":"right"})),Qe===v-1&&b==="after"&&!t.hideNavigation&&L.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:f[ke.Nav],style:I?.[ke.Nav],"aria-label":he(),onPreviousClick:Di,onNextClick:_i,previousMonth:B,nextMonth:O}),L.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":p==="multiple"||p==="range","aria-label":dt(_e.date,u.options,u)||void 0,className:f[ke.MonthGrid],style:I?.[ke.MonthGrid]},!t.hideWeekdays&&L.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:f[ke.Weekdays],style:I?.[ke.Weekdays]},P&&L.createElement(r.WeekNumberHeader,{"aria-label":gt(u.options),className:f[ke.WeekNumberHeader],style:I?.[ke.WeekNumberHeader],scope:"col"},$()),Ti.map(Ae=>L.createElement(r.Weekday,{"aria-label":yn(Ae,u.options,u),className:f[ke.Weekday],key:String(Ae),style:I?.[ke.Weekday],scope:"col"},J(Ae,u.options,u)))),L.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:f[ke.Weeks],style:I?.[ke.Weeks]}
476,_e.weeks.map(Ae=>L.createElement(r.Week,{className:f[ke.Week],key:Ae.weekNumber,style:I?.[ke.Week],week:Ae},P&&L.createElement(r.WeekNumber,{week:Ae,style:I?.[ke.WeekNumber],"aria-label":Ee(Ae.weekNumber,{locale:m}),className:f[ke.WeekNumber],scope:"row",role:"rowheader"},H(Ae.weekNumber,u)),Ae.days.map(qe=>{const{date:ln}=qe,Xe=oe(qe);if(Xe[St.focused]=!Xe.hidden&&!!de?.isEqualTo(qe),Xe[pr.selected]=se?.(ln)||Xe.selected,wf(fe)){const{from:ro,to:zi}=fe;Xe[pr.range_start]=!!(ro&&zi&&u.isSameDay(ln,ro)),Xe[pr.range_end]=!!(ro&&zi&&u.isSameDay(ln,zi)),Xe[pr.range_middle]=ia(fe,ln,!0,u)}const ru=Bte(Xe,I,t.modifiersStyles),Ii=Nte(Xe,f,t.modifiersClassNames),Fi=!Pi&&!Xe.hidden?Ke(ln,Xe,u.options,u):void 0;return L.createElement(r.Day,{key:`${qe.isoDate}_${qe.displayMonthId}`,day:qe,modifiers:Xe,className:Ii.join(" "),style:ru,role:"gridcell","aria-selected":Xe.selected||void 0,"aria-label":Fi,"data-day":qe.isoDate,"data-month":qe.outside?qe.dateMonthId:void 0,"data-selected":Xe.selected||void 0,"data-disabled":Xe.disabled||void 0,"data-hidden":Xe.hidden||void 0,"data-outside":qe.outside||void 0,"data-focused":Xe.focused||void 0,"data-today":Xe.today||void 0},!Xe.hidden&&Pi?L.createElement(r.DayButton,{className:f[ke.DayButton],style:I?.[ke.DayButton],type:"button",day:qe,modifiers:Xe,disabled:!Xe.focused&&Xe.disabled||void 0,"aria-disabled":Xe.focused&&Xe.disabled||void 0,tabIndex:Se(qe)?0:-1,"aria-label":Te(ln,Xe,u.options,u),onClick:ls(qe,Xe),onBlur:Sr(qe,Xe),onFocus:sn(qe,Xe),onKeyDown:on(qe,Xe),onMouseEnter:Of(qe,Xe),onMouseLeave:Tf(qe,Xe)},D(ln,u.options,u)):!Xe.hidden&&D(qe.date,u.options,u))})))))))),t.footer&&L.createElement(r.Footer,{className:f[ke.Footer],style:I?.[ke.Footer],role:"status","aria-live":"polite"},t.footer)))}function rR({className:e,classNames:t,showOutsideDays:n=!0,captionLayout:r="label",buttonVariant:o="ghost",formatters:c,components:u,...m}){const f=ix();return i.jsx(pne,{showOutsideDays:n,className:ce("bg-background group/calendar p-3 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:r,formatters:{formatMonthDropdown:h=>h.toLocaleString("default",{month:"short"}),...c},classNames:{root:ce("w-fit",f.root),months:ce("relative flex flex-col gap-4 md:flex-row",f.months),month:ce("flex w-full flex-col gap-4",f.month),nav:ce("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",f.nav),button_previous:ce(y0({variant:o}),"h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50",f.button_previous),button_next:ce(y0({variant:o}),"h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50",f.button_next),month_caption:ce("flex h-[--cell-size] w-full items-center justify-center px-[--cell-size]",f.month_caption),dropdowns:ce("flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium",f.dropdowns),dropdown_root:ce("has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border",f.dropdown_root),dropdown:ce("bg-popover absolute inset-0 opacity-0",f.dropdown),caption_label:ce("select-none font-medium",r==="label"?"text-sm":"[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5",f.caption_label),table:"w-full border-collapse",weekdays:ce("flex",f.weekdays),weekday:ce("text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal",f.weekday),week:ce("mt-2 flex w-full",f.week),week_number_header:ce("w-[--cell-size] select-none",f.week_number_header),week_number:ce("text-muted-foreground select-none text-[0.8rem]",f.week_number),day:ce("group/day relative aspect-square h-full w-full select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md",f.day),range_start:ce("bg-accent rounded-l-md",f.range_start),range_middle:ce("rounded-none",f.range_middle),range_end:ce("bg-accent rounded-r-md",f.range_end),today:ce("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",f.today),outside:ce("text-muted-foreground aria-selected:text-muted-foreground",f.outside),disabled:ce("text-muted-foreground opacity-50",f.disabled),hidden:ce("invisible",f.hidden),...t}
476,components:{Root:({className:h,rootRef:p,...b})=>i.jsx("div",{"data-slot":"calendar",ref:p,className:ce(h),...b}),Chevron:({className:h,orientation:p,...b})=>p==="left"?i.jsx(w3,{className:ce("size-4",h),...b}):p==="right"?i.jsx(kb,{className:ce("size-4",h),...b}):i.jsx(ua,{className:ce("size-4",h),...b}),DayButton:gne,WeekNumber:({children:h,...p})=>i.jsx("td",{...p,children:i.jsx("div",{className:"flex size-[--cell-size] items-center justify-center text-center",children:h})}),...u},...m})}function gne({className:e,day:t,modifiers:n,...r}){const o=ix(),c=y.useRef(null);return y.useEffect(()=>{n.focused&&c.current?.focus()},[n.focused]),i.jsx(xe,{ref:c,variant:"ghost",size:"icon","data-day":t.date.toLocaleDateString(),"data-selected-single":n.selected&&!n.range_start&&!n.range_end&&!n.range_middle,"data-range-start":n.range_start,"data-range-end":n.range_end,"data-range-middle":n.range_middle,className:ce("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex aspect-square h-auto w-full min-w-[--cell-size] flex-col gap-1 font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70",o.day,e),...r})}const bne="rental-cards/ren00004-ec289d65ba43c1c7.webp",yne="rental-cards/ren00006-a08a942cefc12666.webp",xne="rental-cards/ren00007-0411bb2fe92158c1.webp",vne="rental-cards/ren00010-8a7c73ca0acec7e2.webp",wne="rental-cards/ren00011-24cea5f6941d3700.webp",Sne="rental-cards/ren00015-dfd19db7869bdc03.webp",Cne="rental-cards/ren00016-d02e20afde689ebe.webp",Nne="rental-cards/ren00018-f9615d25143a6528.webp",kne="rental-cards/ren00019-69b12654c325ce57.webp",Ene="rental-cards/ren00020-16fc0c8a441efe4d.webp",jne="rental-cards/ren00022-3e41f346c42b6171.webp",Rne="rental-cards/ren00024-865ebf3badf27a1a.webp",Mne="rental-cards/ren00025-00ce0ec8dd642c7c.webp",Ane="rental-cards/ren00026-a94c616144708794.webp",One="rental-cards/ren00027-ed13b5761a67540e.webp",Tne="rental-cards/ren00028-b0f7dc7db33d98d3.webp",Pne="rental-cards/ren00029-1fd74092343d13b0.webp",Dne="rental-cards/ren00035-b5c5ca6c7ea7c2cb.webp",_ne="rental-cards/ren00039-a06e1e493164d938.webp",Ine="rental-cards/ren00041-a21139c23d1df4a8.webp",Fne="rental-cards/ren00042-1fc3aaa38bd63526.webp",zne="rental-cards/ren00043-c602a23311723a6e.webp",Lne="rental-cards/ren00046-02e9e5487ea64368.webp",Une="rental-cards/ren00047-de72877fad05c210.webp",Vne="rental-cards/ren00058-3ca5aa9c13fd1215.webp",Bne="rental-cards/ren00048-d9ddf344ef8f0455.webp",Wne="rental-cards/ren00049-f8cb350b04484cd6.webp",Kne="rental-cards/ren00053-b3da4f62e456c477.webp",Hne="rental-cards/ren00054-c86d77c27f890362.webp",qne="rental-cards/ren00055-1d1146774ab662d4.webp",Xne="rental-cards/ren00056-5ec95723387ada05.webp",Yne="rental-cards/ren00057-d4397434e84b2dfe.webp",$ne="rental-cards/banner800-9fb0115abcef284b.webp",Gne="rental-cards/banner1600-982717603f109e65.webp",Zne={REN00004:bne,REN00006:yne,REN00007:xne,REN00010:vne,REN00011:wne,REN00015:Sne,REN00016:Cne,REN00018:Nne,REN00019:kne,REN00020:Ene,REN00022:jne,REN00024:Rne,REN00025:Mne,REN00026:Ane,REN00027:One,REN00028:Tne,REN00029:Pne,REN00035:Dne,REN00039:_ne,REN00041:Ine,REN00042:Fne,REN00043:zne,REN00046:Lne,REN00047:Une,REN00058:Vne,REN00048:Bne,REN00049:Wne,REN00053:Kne,REN00054:Hne,REN00055:qne,REN00056:Xne,REN00057:Yne,banner800:$ne,banner1600:Gne};function rc(e){const t=Zne[e];return t?`/${t}`:void 0}function Cf(e,t){if(!(typeof window>"u"))try{window.umami?.track(e,t)}catch{}}function Qne({item:e,selectedPlan:t}){const{tr:n}=Rt(),[r,o]=y.useState(!1),[c,u]=y.useState(""),[m,f]=y.useState(""),[h,p]=y.useState(!1),[b,v]=y.useState(""),[S,N]=y.useState(!1),[w,C]=y.useState(t),{toast:R}=xr(),{mutate:M,isPending:j}=DH(),T=e.prices[w];y.useEffect(()=>{C(t)},[t]);const P=new Date;P.setHours(0,0,0,0);const I=b?new Date(`${b}T00:00:00`):void 0;function _($){const J=$.getFullYear(),ae=String($.getMonth()+1).padStart(2,"0"),ee=String($.getDate()).padStart(2,"0");return`${J}-${ae}-${ee}`}function D($){return new Intl.DateTimeFormat("th-TH",{day:"numeric",month:"long",year:"numeric"}).format($)}function V(){u(""),f(""),p(!1),v(""),C(t)}function H($){if($.preventDefault(),!c.trim()||!m.trim()||!b){R({title:n("rentValidationTitle"),description:n("rentValidationDesc"),variant:"destructive"});return}if(m.trim().length<6||m.trim().length>30){p(!0),document.getElementById(`phone-${e.id}`)?.focus();return}p(!1),M({data:{customerName:c.trim(),phone:m.trim(),itemId:e.id,itemName:e.name,startDate:b,days:w,durationType:w===7?"week":"day"}},{onSuccess:()=>{Cf("rental_request_submitted",{days:w,category:e.category}),R({title:n("rentSuccessTitle"),description:n("rentSuccessDesc")}),V(),o(!1)},onError:J=>{const ae=J&&typeof J=="object"&&"data"in J?J.data:null,ee=ae&&typeof ae=="object"&&"detail"in ae&&typeof ae.detail=="string"?ae.detail:void 0;R({title:n("rentErrorTitle"),description:ee||n("rentErrorDesc"),variant:"destructive"})}})}return i.jsxs(vj,{open:r,onOpenChange:o,children:[i.jsx(hJ,{asChild:!0,children:i.jsx(xe,{"data-testid":`btn-inquire-${e.id}`,className:"w-full font-bold",children:n("rentInquiryTitle")})}
476),i.jsx(Jy,{className:"sm:max-w-[425px] bg-card border-white/10",children:i.jsxs("form",{onSubmit:H,children:[i.jsxs(Sj,{children:[i.jsx(ex,{children:n("rentInquiryTitle")}),i.jsxs(Nj,{children:[n("rentInquiryDesc")," ",e.name]})]}),i.jsxs("div",{className:"grid gap-4 py-4 mt-2",children:[i.jsxs("div",{className:"flex items-center gap-4 p-3 bg-background border border-white/5 rounded-lg mb-2",children:[i.jsx("div",{className:"h-10 w-10",children:i.jsx(hr,{product:{...e,image:rc(e.rentalCode)??e.image},resolveCatalog:!1,eager:!0,className:"h-10 w-10 object-contain",alt:e.name})}),i.jsxs("div",{children:[i.jsx("p",{className:"font-semibold text-sm",children:e.name}),i.jsxs("p",{className:"text-xs text-primary",children:[Ve(T)," / ",w," ",n("rentDaysUnit")]}),i.jsxs("p",{className:"text-xs text-muted-foreground",children:[n("rentDepositLabel"),": ",Ve(e.deposit??0)]})]})]}),i.jsxs("div",{className:"rounded-lg border border-primary/20 bg-primary/5 p-3","data-testid":"rental-pickup-location",children:[i.jsx("p",{className:"text-sm font-semibold",children:n("rentPickupLocation")}),i.jsx("p",{className:"mt-1 text-sm",children:yU})]}),i.jsxs("div",{className:"grid gap-2",children:[i.jsx(Ct,{htmlFor:`plan-${e.id}`,children:n("rentFieldDays")}),i.jsx("select",{id:`plan-${e.id}`,"data-testid":"input-duration-plan",value:w,onChange:$=>C(Number($.target.value)),className:"h-10 rounded-md border border-white/10 bg-background px-3 text-sm",children:Hb.map($=>i.jsxs("option",{value:$,children:[$," ",n("rentDaysUnit")," — ",Ve(e.prices[$])]},$))})]}),i.jsxs("div",{className:"grid gap-2",children:[i.jsx(Ct,{htmlFor:`name-${e.id}`,children:n("rentFieldName")}),i.jsx(ct,{id:`name-${e.id}`,"data-testid":"input-name",className:"bg-background border-white/10",placeholder:n("rentFieldNamePlaceholder"),maxLength:120,value:c,onChange:$=>u($.target.value)})]}),i.jsxs("div",{className:"grid gap-2",children:[i.jsx(Ct,{htmlFor:`phone-${e.id}`,children:n("rentFieldPhone")}),i.jsx(ct,{id:`phone-${e.id}`,"data-testid":"input-phone",className:"bg-background border-white/10",placeholder:"0XX-XXX-XXXX",type:"tel",autoComplete:"tel",maxLength:30,"aria-invalid":h,"aria-describedby":h?`phone-error-${e.id}`:void 0,value:m,onChange:$=>{f($.target.value),p(!1)}}),h&&i.jsx("p",{id:`phone-error-${e.id}`,role:"alert",className:"text-sm text-destructive",children:n("rentPhoneValidation")})]}),i.jsxs("div",{className:"grid gap-2",children:[i.jsx(Ct,{htmlFor:`start-${e.id}`,children:n("rentFieldStartDate")}),i.jsxs(dy,{open:S,onOpenChange:N,children:[i.jsx(my,{asChild:!0,children:i.jsxs(xe,{id:`start-${e.id}`,type:"button",variant:"outline","data-testid":"input-start",className:`w-full justify-start bg-background border-white/10 text-left font-normal ${I?"":"text-muted-foreground"}`,children:[i.jsx(KD,{className:"mr-2 h-4 w-4"}),I?D(I):"เลือกวันที่รับอุปกรณ์"]})}),i.jsx(lf,{className:"w-auto p-0",align:"start",children:i.jsx(rR,{mode:"single",selected:I,onSelect:$=>{v($?_($):""),N(!1)},disabled:{before:P},initialFocus:!0})})]})]})]}),i.jsx(Cj,{children:i.jsx(xe,{type:"submit",className:"w-full",disabled:j,children:n(j?"rentSubmitting":"rentSubmit")})})]})})]})}function Jne(e){return e==="digital-camera"?"CAMERA":e==="lenses"?"LENS":"EQUIPMENT"}function ere(){const{tr:e}=Rt(),[t,n]=y.useState(1),[r,o]=y.useState("all"),[c,u]=y.useState(""),m=[{id:"all",label:e("allItems")},{id:"digital-camera",label:e("catCameras")},{id:"lenses",label:e("catLenses")},{id:"equipment",label:e("rentCategoryEquipment")}],f=y.useMemo(()=>{const h=c.trim().toLocaleLowerCase();return RU.filter(p=>{const b=r==="all"||p.category===r,v=!h||`${p.brand} ${p.name}`.toLocaleLowerCase().includes(h);return b&&v})},[c,r]);return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsxs("div",{className:"bg-card border-b border-white/5 py-20 relative overflow-hidden",children:[i.jsx("img",{src:rc("banner1600"),srcSet:`${rc("banner800")} 800w, ${rc("banner1600")} 1600w`,sizes:"100vw",fetchPriority:"high",decoding:"async",alt:e("rentHeroTitle"),className:"absolute inset-0 h-full w-full object-cover object-[100%_75%]"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background/95 via-background/70 to-background/20"}),i.jsx("div",{className:"container mx-auto px-4 relative z-10",children:i.jsxs("div",{className:"max-w-3xl",children:[i.jsx("p",{className:"text-primary text-sm font-semibold tracking-widest uppercase mb-3",children:"World Camera Rental"}),i.jsx("h1",{className:"text-4xl md:text-6xl font-bold tracking-tight mb-6",children:e("rentHeroTitle")}),i.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:e("rentHeroDesc")})]})})]}),i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 mb-20",children:[{step:"1",title:e("rentStep1Title"),desc:e("rentStep1Desc")},{step:"2",title:e("rentStep2Title"),desc:e("rentStep2Desc")},{step:"3",title:e("rentStep3Title"),desc:e("rentStep3Desc")}].map(({step:h,title:p,desc:b})=>i.jsxs("div",{className:"p-6 rounded-xl border border-white/5 bg-card",children:[i.jsx("div",{className:"h-12 w-12 rounded-full bg-primary/10 text-primary flex items-center justify-center mb-5 text-xl font-bold",children:h}),i.jsx("h3",{className:"text-xl font-bold mb-2",children:p}),i.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:b})]},h))}),i.jsxs("div",{className:"mb-8 flex flex-col lg:flex-row justify-between items-start lg:items-center gap-4",children:[i.jsx("h2",{className:"text-3xl font-bold tracking-tight",children:e("rentEquipTitle")}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 w-full lg:w-auto",children:[i.jsxs("label",{className:"relative flex-1 sm:w-72",children:[i.jsx(zs,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),i.jsx("input",{type:"search",value:c,onChange:h=>u(h.target.value),placeholder:e("rentSearchPlaceholder"),"aria-label":e("rentSearchPlaceholder"),"data-testid":"rental-search",className:"h-10 w-full rounded-lg border border-white/10 bg-background pl-9 pr-3 text-sm outline-none focus:border-primary"})]}),i.jsx("select",{value:t,onChange:h=>n(Number(h.target.value)),"aria-label":e("rentFieldDays"),"data-testid":"rental-plan-selector",className:"h-10 rounded-lg border border-white/10 bg-background px-3 text-sm",children:Hb.map(h=>i.jsxs("option",{value:h,children:[h," ",e("rentDaysUnit")]},h))})]})]}),i.jsx("div",{className:"flex flex-wrap gap-2 mb-10",children:m.map(h=>i.jsx("button",{"data-testid":`cat-${h.id}`,onClick:()=>o(h.id),className:`px-5 py-2 rounded-full text-sm font-semibold border transition-all duration-200 ${r===h.id?"bg-primary text-white border-primary":"bg-transparent text-muted-foreground border-white/10 hover:border-primary/50 hover:text-foreground"}`,children:h.label},h.id))}),i.jsx("p",{className:"mb-6 text-xs text-muted-foreground",children:e("rentSnapshotNote")}),f.length===0?i.jsx("div",{className:"rounded-xl border border-white/5 bg-card p-12 text-center text-muted-foreground",children:e("rentNoResults")}):i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-2 lg:grid-cols-4 gap-3 md:gap-6",children:f.map((h,p)=>i.jsx(tre,{item:h,selectedPlan:t,eager:p<4},h.id))}),i.jsxs("div",{className:"mt-24 p-8 md:p-12 bg-card rounded-2xl border border-white/5",children:[i.jsx("h2",{className:"text-2xl font-bold mb-6",children:e("rentConditionsTitle")}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-8 text-muted-foreground",children:[i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex gap-3",children:[i.jsx(er,{className:"h-6 w-6 text-primary shrink-0"}),i.jsx("span",{children:e("rentCond1")})]}),i.jsxs("li",{className:"flex gap-3",children:[i.jsx(er,{className:"h-6 w-6 text-primary shrink-0"}),i.jsx("span",{children:e("rentCond2")})]})]}),i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex gap-3",children:[i.jsx(er,{className:"h-6 w-6 text-primary shrink-0"}),i.jsx("span",{children:e("rentCond3")})]}),i.jsxs("li",{className:"flex gap-3",children:[i.jsx(er,{className:"h-6 w-6 text-primary shrink-0"}),i.jsx("span",{children:e("rentCond4")})]})]})]})]})]})]})}function tre({item:e,selectedPlan:t,eager:n=!1}){const{tr:r}=Rt();return i.jsxs(bf,{"data-testid":`rental-card-${e.id}`,className:"bg-card border-white/5 overflow-hidden flex flex-col",children:[i.jsxs("div",{className:"aspect-square p-8 flex items-center justify-center relative",style:{background:"radial-gradient(circle at 50% 38%, #3a3a3d 0%, #232326 45%, #0c0c0e 100%)"},children:[i.jsx("div",{className:"absolute top-4 left-4 bg-background/80 backdrop-blur text-[10px] font-bold px-2 py-1 rounded text-primary uppercase tracking-wider border border-primary/20",children:Jne(e.category)}),i.jsx(hr,{product:{...e,image:rc(e.rentalCode)??e.image},eager:n,resolveCatalog:!1,alt:e.name,className:"max-h-full object-contain drop-shadow-xl"})]}),i.jsxs(yf,{className:"p-6 flex-1 flex flex-col",children:[i.jsx("div",{className:"text-xs font-medium text-primary uppercase tracking-widest mb-1",children:e.brand}),i.jsx("h3",{className:"font-semibold text-base mb-3 leading-snug",children:e.name}),i.jsx("div",{className:"flex-1"}),i.jsxs("div",{className:"mb-4 pt-4 border-t border-white/5",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-2xl font-bold text-foreground",children:Ve(e.prices[t])}),i.jsxs("span",{className:"text-sm text-muted-foreground ml-1",children:["/ ",t," ",r("rentDaysUnit")]})]}),i.jsxs("div",{className:"mt-3 rounded-lg bg-white/5 border border-white/5 px-3 py-2",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("span",{className:"text-xs text-muted-foreground",children:r("rentDepositLabel")}),i.jsx("span",{className:"text-sm font-semibold text-foreground",children:Ve(e.deposit??0)})]}),i.jsx("p",{className:"text-[10px] text-primary/80 mt-0.5",children:r("rentDepositNote")})]})]}),i.jsx(Qne,{item:e,selectedPlan:t})]})]})}const nre=[{name:"คุณนัท",role:"ช่างภาพงานแต่ง",rating:5,text:"เช่าเลนส์ไปถ่ายงานแต่งหลายครั้งแล้ว อุปกรณ์สภาพดีมาก ทางร้านตรวจเช็กให้ก่อนทุกครั้ง ติดต่อง่าย ตอบไว ประทับใจครับ"},{name:"คุณพลอย",role:"คอนเทนต์ครีเอเตอร์",rating:5,text:"ซื้อกล้องตัวแรกที่นี่ พนักงานให้คำแนะนำดีมาก ไม่ยัดเยียดขายของแพง ช่วยเลือกรุ่นที่เหมาะกับงานจริงๆ"},{name:"คุณเบียร์",role:"วิดีโอโปรดักชั่น",rating:5,text:"เช่าอุปกรณ์สตูดิโอชุดใหญ่ไปถ่ายโฆษณา ของครบตามนัด ราคาดีกว่าหลายที่ที่เคยใช้ จะกลับมาใช้บริการอีกแน่นอน"},{name:"คุณแพร",role:"ช่างภาพท่องเที่ยว",rating:5,text:"อยากลองกล้องรุ่นใหม่ก่อนตัดสินใจซื้อ เลยมาเช่าที่นี่ก่อน สุดท้ายก็กลับมาซื้อที่ร้านเลยเพราะบริการดีและราคาโอเค"},{name:"คุณต้น",role:"ช่างภาพอิสระ",rating:5,text:"ร้านกล้องที่ไว้ใจได้ สินค้าของแท้ มีรับประกันชัดเจน มีปัญหาอะไรทักไปถามได้ตลอด ดูแลดีทั้งก่อนและหลังการขาย"},{name:"คุณมิ้นท์",role:"สตูดิโอถ่ายภาพ",rating:5,text:"สั่งซื้ออุปกรณ์ไฟสตูดิโอหลายชิ้น จัดส่งไว แพ็กของดีมาก ของครบทุกชิ้น แนะนำร้านนี้ให้เพื่อนๆ ในวงการตลอด"}];function rre(){return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsx("div",{className:"bg-card border-b border-white/5 py-16",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsx("p",{className:"text-primary text-sm font-semibold tracking-widest uppercase mb-3",children:"Reviews"}),i.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight",children:"รีวิวจากลูกค้า"}),i.jsx("p",{className:"text-muted-foreground mt-4 text-lg max-w-2xl",children:"เสียงตอบรับจากช่างภาพและครีเอเตอร์ที่ไว้วางใจ World Camera ทั้งการซื้อและเช่าอุปกรณ์"})]})}),i.jsx("div",{className:"container mx-auto px-4 py-16",children:i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:nre.map(e=>i.jsxs("div",{className:"bg-card border border-white/5 rounded-xl p-6 flex flex-col gap-4",children:[i.jsx(Z_,{className:"h-8 w-8 text-primary/40"}),i.jsx("p",{className:"text-muted-foreground leading-relaxed flex-1",children:e.text}),i.jsx("div",{className:"flex gap-1",children:Array.from({length:e.rating}).map((t,n)=>i.jsx(Ls,{className:"h-4 w-4 fill-primary text-primary"},n))}),i.jsxs("div",{children:[i.jsx("p",{className:"font-semibold",children:e.name}),i.jsx("p",{className:"text-sm text-muted-foreground",children:e.role})]})]},e.name))})})]})}const are=[{icon:Mb,title:"สั่งซื้อจำนวนมาก",desc:"ต้องการกล้องหรืออุปกรณ์หลายชิ้น รับส่วนลดพิเศษตามปริมาณ"},{icon:UD,title:"จัดซื้อในนามบริษัท/หน่วยงาน",desc:"รองรับระบบใบสั่งซื้อ (PO) พร้อมเอกสารภาษีครบถ้วน"},{icon:aI,title:"เปรียบเทียบราคาก่อนตัดสินใจ",desc:"รับใบเสนอราคาอย่างเป็นทางการเพื่อนำไปประกอบการพิจารณา"}];function sre(){const[e,t]=y.useState(""),[n,r]=y.useState(""),[o,c]=y.useState(""),[u,m]=y.useState(""),[f,h]=y.useState(""),[p,b]=y.useState(!1),{toast:v}=xr(),{mutate:S,isPending:N}=zH();function w(){t(""),r(""),c(""),m(""),h("")}function C(R){if(R.preventDefault(),!e.trim()||!o.trim()||!f.trim()){v({title:"กรุณากรอกข้อมูลให้ครบ",description:"โปรดกรอกชื่อ เบอร์โทร และรายการสินค้าที่ต้องการ",variant:"destructive"});return}S({data:{customerName:e.trim(),company:n.trim()||void 0,phone:o.trim(),email:u.trim()||void 0,details:f.trim()}},{onSuccess:()=>{Cf("quote_request_submitted",{location:"services_page"}),w(),b(!0)},onError:()=>v({title:"ส่งคำขอไม่สำเร็จ",description:"เกิดข้อผิดพลาด กรุณาลองใหม่หรือติดต่อร้านโดยตรง",variant:"destructive"})})}return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsx("div",{className:"bg-card border-b border-white/5 py-16",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 border border-primary/20 text-primary text-xs font-bold uppercase tracking-widest px-3 py-1.5 rounded-full mb-5",children:[i.jsx(yS,{className:"h-3.5 w-3.5"}),"ขอใบเสนอราคา"]}),i.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight mb-4",children:"ขอใบเสนอรà
476¸²à¸„า"}),i.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl leading-relaxed",children:"กรอกรายการสินค้าและอุปกรณ์ที่ต้องการ ทีมงาน World Camera จะจัดทำใบเสนอราคาและติดต่อกลับภายใน 1 วันทำการ"})]})}),i.jsx("div",{className:"container mx-auto px-4 py-16",children:i.jsxs("div",{className:"grid lg:grid-cols-5 gap-12 items-start",children:[i.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-lg font-bold mb-5 text-white",children:"เหมาะสำหรับ"}),i.jsx("div",{className:"space-y-4",children:are.map(({icon:R,title:M,desc:j})=>i.jsxs("div",{className:"flex gap-4",children:[i.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center shrink-0 mt-0.5",children:i.jsx(R,{className:"h-5 w-5 text-primary"})}),i.jsxs("div",{children:[i.jsx("p",{className:"font-semibold text-white text-sm mb-1",children:M}),i.jsx("p",{className:"text-zinc-500 text-sm leading-relaxed",children:j})]})]},M))})]}),i.jsxs("div",{className:"bg-white/[0.03] rounded-2xl border border-white/5 p-6 space-y-4",children:[i.jsx("p",{className:"text-sm font-bold text-white",children:"ติดต่อโดยตรง"}),i.jsxs("a",{href:"tel:0863427836",className:"flex items-center gap-3 text-sm text-zinc-400 hover:text-primary transition-colors",children:[i.jsx(ci,{className:"h-4 w-4 text-primary shrink-0"}),"086-342-7836"]}),i.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 text-sm text-zinc-400 hover:text-primary transition-colors",children:[i.jsx(Eb,{className:"h-4 w-4 text-primary shrink-0"}),"@worldcamera"]}),i.jsx("p",{className:"text-xs text-zinc-600 pt-1",children:"เปิดทำการ จ–ศ 09:00–18:00 น."})]})]}),i.jsx("div",{className:"lg:col-span-3",children:p?i.jsxs("div",{className:"bg-white/[0.03] border border-white/5 rounded-2xl p-12 flex flex-col items-center text-center gap-4",children:[i.jsx("div",{className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center",children:i.jsx(er,{className:"h-8 w-8 text-primary"})}),i.jsx("h2",{className:"text-2xl font-bold text-white",children:"ส่งคำขอเรียบร้อยแล้ว!"}),i.jsx("p",{className:"text-zinc-400 max-w-md leading-relaxed",children:"ทางร้านได้รับคำขอใบเสนอราคาของคุณแล้ว จะจัดทำใบเสนอราคาและติดต่อกลับภายใน 1 วันทำการ"}),i.jsx(xe,{variant:"outline",className:"mt-4 border-white/10 hover:bg-white/5",onClick:()=>b(!1),children:"ขอใบเสนอราคาอีกครั้ง"})]}):i.jsxs("form",{onSubmit:C,className:"bg-white/[0.03] border border-white/5 rounded-2xl p-8 space-y-5",children:[i.jsx("h2",{className:"text-xl font-bold text-white mb-6",children:"กรอกข้อมูลเพื่อรับใบเสนอราคา"}),i.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-1.5",children:[i.jsxs(Ct,{htmlFor:"q-name",children:["ชื่อ-นามสกุล ",i.jsx("span",{className:"text-primary",children:"*"})]}),i.jsx(ct,{id:"q-name","data-testid":"input-quote-name",className:"bg-background border-white/10",placeholder:"ชื่อ นามสกุล",value:e,onChange:R=>t(R.target.value)})]}),i.jsxs("div",{className:"space-y-1.5",children:[i.jsx(Ct,{htmlFor:"q-company",children:"บริษัท / หน่วยงาน"}),i.jsx(ct,{id:"q-company","data-testid":"input-quote-company",className:"bg-background border-white/10",placeholder:"ชื่อบริษัทหรือหน่วยงาน",value:n,onChange:R=>r(R.target.value)})]})]}),i.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-1.5",children:[i.jsxs(Ct,{htmlFor:"q-phone",children:["เบอร์โทรศัพท์ ",i.jsx("span",{className:"text-primary",children:"*"})]}),i.jsx(ct,{id:"q-phone","data-testid":"input-quote-phone",className:"bg-background border-white/10",placeholder:"0XX-XXX-XXXX",value:o,onChange:R=>c(R.target.value)})]}),i.jsxs("div",{className:"space-y-1.5",children:[i.jsx(Ct,{htmlFor:"q-email",children:"อีเมล"}),i.jsx(ct,{id:"q-email","data-testid":"input-quote-email",type:"email",className:"bg-background border-white/10",placeholder:"[email protected]",value:u,onChange:R=>m(R.target.value)})]})]}),i.jsxs("div",{className:"space-y-1.5",children:[i.jsxs(Ct,{htmlFor:"q-details",children:["รายการสินค้าที่ต้องการ ",i.jsx("span",{className:"text-primary",children:"*"})]}),i.jsx(Jc,{id:"q-details","data-testid":"input-quote-details",className:"bg-background border-white/10 min-h-[160px] resize-none",placeholder:`เช่น
477Sony A7 IV จำนวน 2 ตัว
478เลนส์ Sony FE 24-70mm f/2.8 GM II จำนวน 1 ตัว
479ไฟสตูดิโอ Godox AD300 Pro จำนวน 3 ชุด
480
481หรือแจ้งงบประมาณที่ต้องการ เพื่อให้ทางร้านแนะนำอุปกรณ์ที่เหมาะสม`,value:f,onChange:R=>h(R.target.value)})]}),i.jsxs(xe,{type:"submit",size:"lg",className:"w-full h-12 text-base font-semibold",disabled:N,"data-testid":"btn-submit-quote",children:[i.jsx(yS,{className:"mr-2 h-5 w-5"}),N?"กำลังส่ง...":"ส่งคำขอใบเสนอราคา"]}),i.jsx("p",{className:"text-xs text-zinc-600 text-center",children:"ข้อมูลของคุณจะถูกใช้เพื่อจัดทำใบเสนอราคาเท่านั้น และจะไม่ถูกเผยแพร่ให้บุคคลภายนอก"})]})})]})})]})}const ore=[{icon:jb,title:"ที่อยู่ร้าน",lines:["147/190-193 ถนนบรมราชชนนี","แขวงอรุณอมรินทร์ เขตบางกอกน้อย","กรุงเทพมหานคร 10700"]},{icon:ci,title:"โทรศัพท์",lines:["086-3427836"],href:"tel:0863427836"},{icon:Eb,title:"อีเมล",lines:["[email protected]"],href:"mailto:[email protected]"}
481],ire=[{icon:E3,name:"Facebook",desc:"World Camera Official",href:"https://www.facebook.com/worldcameraofficial/?locale=th_TH"},{icon:Rb,name:"LINE",desc:"แชทสอบถามได้ทันที",href:"https://lin.ee/ZIkaE0T"},{icon:T3,name:"YouTube",desc:"World Camera Channel",href:"https://www.youtube.com/@WorldCameraChannel"}];function lre(){return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsx("div",{className:"bg-card border-b border-white/5 py-16",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsx("p",{className:"text-primary text-sm font-semibold tracking-widest uppercase mb-3",children:"Contact Us"}),i.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight",children:"ติดต่อเรา"}),i.jsx("p",{className:"text-muted-foreground mt-4 text-lg max-w-2xl",children:"มีคำถามเรื่องสินค้า การเช่าอุปกรณ์ หรืออยากได้คำแนะนำ ทักมาได้ทุกช่องทาง ทีมงานยินดีดูแลครับ"})]})}),i.jsxs("div",{className:"container mx-auto px-4 py-16 space-y-12",children:[i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:ore.map(e=>i.jsxs("div",{className:"bg-card border border-white/5 rounded-xl p-8",children:[i.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center mb-4",children:i.jsx(e.icon,{className:"h-6 w-6 text-primary"})}),i.jsx("h2",{className:"text-lg font-bold mb-2",children:e.title}),e.lines.map(t=>e.href?i.jsx("a",{href:e.href,className:"block text-muted-foreground hover:text-primary transition-colors",children:t},t):i.jsx("p",{className:"text-muted-foreground",children:t},t))]},e.title))}),i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold mb-6",children:"ช่องทางโซเชียล"}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:ire.map(e=>i.jsxs("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"bg-card border border-white/5 rounded-xl p-6 flex items-center gap-4 hover:border-primary/40 transition-colors group",children:[i.jsx("div",{className:"h-12 w-12 rounded-full bg-white/5 flex items-center justify-center group-hover:bg-primary group-hover:text-white transition-colors text-muted-foreground shrink-0",children:i.jsx(e.icon,{className:"h-6 w-6"})}),i.jsxs("div",{children:[i.jsx("p",{className:"font-semibold",children:e.name}),i.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]})]},e.name))})]})]})]})}const U4="/assets/%E0%B8%94%E0%B8%B5%E0%B9%84%E0%B8%8B%E0%B8%99%E0%B9%8C%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%B1%E0%B8%87%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%95%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%8A%E0%B8%B7%E0%B9%88%E0%B8%AD_(39)_1790588868104-gUGxmchn.jpg";var cre="Separator",V4="horizontal",ure=["horizontal","vertical"],aR=y.forwardRef((e,t)=>{const{decorative:n,orientation:r=V4,...o}=e,c=dre(r)?r:V4,m=n?{role:"none"}:{"aria-orientation":c==="vertical"?c:void 0,role:"separator"};return i.jsx(Ce.div,{"data-orientation":c,...m,...o,ref:t})});aR.displayName=cre;function dre(e){return ure.includes(e)}var sR=aR;const yc=y.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>i.jsx(sR,{ref:o,decorative:n,orientation:t,className:ce("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));yc.displayName=sR.displayName;const As={bankName:"ธนาคารกสิกรไทย (KBank)",accountNumber:"027-2-24784-8",accountNumberRaw:"0272247848",accountName:"บริษัท เวิลด์คาเมร่า กรุ๊ป จำกัด"};function mre(){const{items:e,subtotal:t,clearCart:n,setIsCartOpen:r}=Ei(),{tr:o,lang:c}=Rt(),{isSignedIn:u,isLoaded:m}=Bn(),{toast:f}=xr(),h=ki(),p=y.useRef(h);y.useEffect(()=>{p.current!==h&&e.some(Ee=>Za(Ee.product.id))&&f({title:"ราคาโปรโมชันเปลี่ยนแล้ว",description:"ระบบอัปเดตราคาและยอดรวมแล้ว กรุณาตรวจสอบก่อนยืนยันคำสั่งซื้อ",variant:"destructive"}),p.current=h},[h,e,f]);const[,b]=ts(),{mutate:v,isPending:S}=BH(),{getLeadDays:N}=Xc(),w=Xk({query:{queryKey:mf(),enabled:!!u,retry:!1}}),[C,R]=y.useState(""),[M,j]=y.useState(""),[T,P]=y.useState(""),[I,_]=y.useState(""),[D,V]=y.useState(""),[H,$]=y.useState("bank_transfer"),[J,ae]=y.useState("0"),[ee,ie]=y.useState(()=>(t8(),E0()??"")),[z,Q]=y.useState(()=>!!E0()),[W,B]=y.useState(null),[O,X]=y.useState(0),[oe,se]=y.useState("bank_transfer"),[me,fe]=y.useState(!0),[le,de]=y.useState(null),[Se,je]=y.useState(null),Ie=w.data?.balance??0,Te=u?Math.min(Ie,Math.floor(t*.2)):0,Ke=Number(J),dt=Number.isSafeInteger(Ke)?Math.max(0,Math.min(Ke,Te)):0,tt
481=t-dt,he=Math.floor(tt/1e3);y.useEffect(()=>{r(!1)},[r]),y.useEffect(()=>{Number(J)>Te&&ae(String(Te))},[Te,J]);const Ge=(Ee,gt)=>{navigator.clipboard.writeText(Ee).then(()=>f({title:`คัดลอก${gt}แล้ว`})).catch(()=>f({title:`คัดลอกไม่สำเร็จ กรุณาจดบันทึก${gt}ด้วยตนเอง`,variant:"destructive"}))},Pe=()=>{MX(),ie(""),Q(!1)},yn=Ee=>{if(Ee.preventDefault(),e.length!==0){if(ee&&!u){f({title:"กรุณาเข้าสู่ระบบเพื่อใช้รหัส Affiliate",description:"ระบบต้องยืนยันบัญชีผู้ซื้อก่อนบันทึกสิทธิ์ค่านายหน้า",variant:"destructive"});return}v({data:{customerName:C,phone:M,email:T||void 0,address:I||void 0,note:D||void 0,paymentMethod:H,redeemPoints:dt||void 0,affiliateCode:ee||void 0,items:e.map(gt=>({productId:gt.product.id,expectedUnitPrice:gt.product.salePrice??gt.product.regularPrice,quantity:gt.quantity,size:gt.variant?.size,color:gt.variant?.color,warrantyPlan:gt.warrantyPlan}))}},{onSuccess:gt=>{Cf("order_created",{total:gt.total,item_count:e.reduce((Wn,Ti)=>Wn+Ti.quantity,0),payment_method:H}),B(gt.orderNumber),X(gt.total),se(H),fe(gt.notificationSent),de(gt.estimatedAvailabilityDate),je(gt.maximumPreorderLeadDays),n()},onError:gt=>{const Wn=gt instanceof Error?gt.message:"";ee&&/affiliate|self referral|รหัส/i.test(Wn)&&Pe(),f({title:"ส่งคำสั่งซื้อไม่สำเร็จ",description:/Price changed|ราคาสินค้ามีการเปลี่ยนแปลง/.test(Wn)?"ราคาสินค้าเปลี่ยนแล้ว กรุณารีเฟรชหน้า ตรวจสอบยอดรวมใหม่ แล้วจึงยืนยันอีกครั้ง":/affiliate|self referral|รหัส/i.test(Wn)?"รหัส Affiliate ใช้ไม่ได้หรือไม่สามารถใช้รหัสของตนเองได้ ระบบล้างรหัสให้แล้ว":"กรุณาลองใหม่ หรือติดต่อร้านที่ 086-3427836",variant:"destructive"})}})}};return W?i.jsxs("div",{className:"max-w-2xl mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-10",children:[i.jsx(er,{className:"h-14 w-14 text-green-500 mx-auto mb-4"}),i.jsx("h1",{className:"text-2xl font-bold mb-2",children:"ได้รับคำสั่งซื้อแล้ว"}),i.jsxs("p",{className:"text-muted-foreground",children:["หมายเลขคำสั่งซื้อ ",i.jsx("span",{className:"font-semibold text-foreground",children:W})]}),i.jsxs("p",{className:"text-muted-foreground mt-1",children:["ยอดชำระ ",i.jsx("span",{className:"font-bold text-primary",children:Ve(O)})]}),le&&Se&&i.jsxs("p",{className:"mt-2 text-sm text-primary",children:["Pre-Order · รับของภายใน ",Se," วัน (ภายใน ",wX(le),")"]}),ee&&i.jsxs("p",{className:"mt-2 text-sm text-muted-foreground",children:["ใช้รหัส Affiliate ",i.jsx("span",{className:"font-mono font-semibold text-foreground",children:ee})," แล้ว"]}),!me&&i.jsx("p",{className:"mt-3 rounded-lg border border-amber-500/30 bg-amber-500/10 px-4 py-3 text-sm text-amber-200",children:"คำสั่งซื้อถูกบันทึกแล้ว แต่ระบบยังแจ้งร้านไม่สำเร็จ กรุณาส่งสลิปพร้อมหมายเลขคำสั่งซื้อผ่าน LINE @worldcamera เพื่อให้ร้านดำเนินการต่อ"})]}),i.jsxs("div",{className:"bg-card border border-white/10 rounded-xl p-6 md:p-8",children:[oe==="bank_transfer"?i.jsxs(i.Fragment,{children:[i.jsxs("h2",{className:"font-semibold text-lg mb-4 flex items-center gap-2",children:[i.jsx(vS,{className:"h-5 w-5 text-primary"})," โอนเงินผ่านธนาคาร"]}),i.jsxs("div",{className:"space-y-3 text-sm",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsx("span",{className:"text-muted-foreground",children:"ธนาคาร"}),i.jsx("span",{className:"font-medium",children:As.bankName})]}),i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsx("span",{className:"text-muted-foreground",children:"เลขที่บัญชี"}),i.jsxs("button",{onClick:()=>Ge(As.accountNumberRaw,"เลขที่บัญชี"),className:"font-bold text-base flex items-center gap-2 hover:text-primary",children:[As.accountNumber," ",i.jsx(N3,{className:"h-4 w-4"})]})]}),i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsx("span",{className:"text-muted-foreground",children:"ชื่อบัญชี"}),i.jsx("span",{className:"font-medium",children:As.accountName})]})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs("h2",{className:"font-semibold text-lg mb-4 flex items-center gap-2",children:[i.jsx(wS,{className:"h-5 w-5 text-primary"})," สแกนจ่ายด้วยพร้อมเพย์"]}),i.jsx("div",{className:"bg-white rounded-xl p-4 w-fit mx-auto",children:i.jsx("img",{src:U4,alt:"คิวอาร์โค้ดชำระเงินของร้าน",className:"w-64 h-64 object-contain"})}),i.jsxs("p",{className:"text-center text-sm text-muted-foreground mt-4",children:["ยอดที่ต้องชำระ ",Ve(O)," — กรุณาตรวจสอบชื่อผู้รับและกรอกหรือตรวจสอบยอดเงินให้ตรงก่อนยืนยันการชำระ"]})]}),i.jsx(yc,{className:"my-6 bg-white/10"}),i.jsxs("p",{className:"text-sm text-muted-foreground",children:["หลังชำระเงินแล้ว กรุณาส่งสลิปพร้อมหมายเลขคำสั่งซื้อ"," ",i.jsx("span",{className:"text-foreground font-medium",children:W})," มาที่ LINE"," ",i.jsx("span",{className:"text-foreground font-medium",children:"@worldcamera"})," หรือโทร"," ",i.jsx("span",{className:"text-foreground font-medium",children:"086-3427836"})," เพื่อยืนยันคำสั่งซื้อ"]})]}),i.jsxs("div",{className:"text-center mt-8",children:[u&&i.jsx(pe,{href:"/account",className:"inline-block mb-4 text-sm font-semibold text-primary hover:underline",children:"ดูสถานะคำสั่งซื้อในบัญชีสมาชิก →"}),i.jsx(pe,{href:"/",children:i.jsxs(xe,{variant:"outline",className:"border-white/10",children:[i.jsx(FD,{className:"h-4 w-4 mr-2"})," กลับหน้าแรก"]})})]})]}):e.length===0?i.jsxs("div",{className:"max-w-2xl mx-auto px-4 py-24 text-center",children:[i.jsx(lc,{className:"h-12 w-12 mx-auto opacity-20 mb-4"}),i.jsx("h1",{className:"text-xl font-semibold mb-2",children:"ตะกร้าของคุณว่างเปล่า"}),i.jsx("p",{className:"text-muted-foreground mb-6",children:"เลือกสินค้าก่อนไปหน้าชำระเงิน"}),i.jsx(xe,{onClick:()=>b("/digital-camera"),children:"เลือกซื้อสินค้า"})]}):i.jsxs("div",{className:"max-w-6xl mx-auto px-4 py-10",children:[i.jsx("h1",{className:"text-2xl md:text-3xl font-bold mb-8",children:"ชำระเงิน / Checkout"}
481),i.jsxs("form",{onSubmit:yn,className:"grid lg:grid-cols-5 gap-8 items-start",children:[i.jsxs("div",{className:"lg:col-span-3 space-y-8",children:[i.jsxs("div",{className:"bg-card border border-white/10 rounded-xl p-6",children:[i.jsx("h2",{className:"font-semibold text-lg mb-5",children:"ข้อมูลผู้สั่งซื้อ"}),i.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ct,{htmlFor:"name",children:"ชื่อ-นามสกุล *"}),i.jsx(ct,{id:"name",required:!0,value:C,onChange:Ee=>R(Ee.target.value),placeholder:"ชื่อผู้สั่งซื้อ"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ct,{htmlFor:"phone",children:"เบอร์โทรศัพท์ *"}),i.jsx(ct,{id:"phone",required:!0,minLength:6,value:M,onChange:Ee=>j(Ee.target.value),placeholder:"08x-xxx-xxxx"})]}),i.jsxs("div",{className:"space-y-2 sm:col-span-2",children:[i.jsx(Ct,{htmlFor:"email",children:"อีเมล"}),i.jsx(ct,{id:"email",type:"email",value:T,onChange:Ee=>P(Ee.target.value),placeholder:"[email protected]"})]}),i.jsxs("div",{className:"space-y-2 sm:col-span-2",children:[i.jsx(Ct,{htmlFor:"address",children:"ที่อยู่จัดส่ง"}),i.jsx(Jc,{id:"address",rows:3,value:I,onChange:Ee=>_(Ee.target.value),placeholder:"ที่อยู่สำหรับจัดส่งสินค้า (เว้นว่างหากรับที่ร้าน)"})]}),i.jsxs("div",{className:"space-y-2 sm:col-span-2",children:[i.jsx(Ct,{htmlFor:"note",children:"หมายเหตุ"}),i.jsx(ct,{id:"note",value:D,onChange:Ee=>V(Ee.target.value),placeholder:"ข้อความถึงร้าน (ถ้ามี)"})]}),i.jsxs("div",{className:"space-y-2 sm:col-span-2",children:[i.jsx(Ct,{htmlFor:"affiliate-code",children:"รหัส Affiliate (ถ้ามี)"}),i.jsx(ct,{id:"affiliate-code",value:ee,onChange:Ee=>ie(Ee.target.value.toUpperCase()),readOnly:z,placeholder:"กรอกรหัสที่ได้รับจากผู้แนะนำ",className:ee?"bg-muted/50 font-mono":"","data-testid":"input-affiliate-code"}),i.jsx("p",{className:"text-xs text-muted-foreground",children:z?"รหัสนี้บันทึกจากลิงก์แนะนำแล้ว และจะใช้กับคำสั่งซื้อนี้":"กรอกรหัสที่ได้รับ หรือเปิดลิงก์แนะนำของผู้แนะนำก่อนชำระเงิน"}),z&&i.jsx(xe,{type:"button",variant:"link",className:"h-auto px-0 text-xs text-muted-foreground hover:text-primary",onClick:Pe,"data-testid":"button-clear-affiliate-code",children:"ลบหรือเปลี่ยนรหัส Affiliate"}),ee&&!u&&i.jsxs("p",{className:"text-xs text-amber-300",children:["กรุณา ",i.jsx(pe,{href:"/sign-in",className:"font-semibold underline",children:"เข้าสู่ระบบ"})," ก่อนยืนยันคำสั่งซื้อเพื่อใช้รหัสนี้"]})]})]})]}),i.jsxs("div",{className:"bg-card border border-white/10 rounded-xl p-6",children:[i.jsx("h2",{className:"font-semibold text-lg mb-5",children:"ช่องทางชำระเงิน"}),i.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[i.jsxs("button",{type:"button",onClick:()=>$("bank_transfer"),className:`text-left rounded-xl border p-4 transition-colors ${H==="bank_transfer"?"border-primary bg-primary/10":"border-white/10 hover:border-white/25"}`,children:[i.jsx(vS,{className:`h-6 w-6 mb-3 ${H==="bank_transfer"?"text-primary":"text-muted-foreground"}`}),i.jsx("p",{className:"font-medium",children:"โอนผ่านธนาคาร"}),i.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"กสิกรไทย — บจก. เวิลด์คาเมร่า กรุ๊ป"})]}),i.jsxs("button",{type:"button",onClick:()=>$("promptpay"),className:`text-left rounded-xl border p-4 transition-colors ${H==="promptpay"?"border-primary bg-primary/10":"border-white/10 hover:border-white/25"}`,children:[i.jsx(wS,{className:`h-6 w-6 mb-3 ${H==="promptpay"?"text-primary":"text-muted-foreground"}`}),i.jsx("p",{className:"font-medium",children:"QR พร้อมเพย์"}),i.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"สแกนจ่ายด้วยแอปธนาคาร"})]})]}),H==="bank_transfer"&&i.jsxs("div",{className:"mt-5 rounded-lg bg-background border border-white/10 p-4 text-sm space-y-2",children:[i.jsxs("div",{className:"flex justify-between",children:[i.jsx("span",{className:"text-muted-foreground",children:"ธนาคาร"}),i.jsx("span",{children:As.bankName})]}),i.jsxs("div",{className:"flex justify-between",children:[i.jsx("span",{className:"text-muted-foreground",children:"เลขที่บัญชี"}),i.jsx("span",{className:"font-semibold",children:As.accountNumber})]}),i.jsxs("div",{className:"flex justify-between",children:[i.jsx("span",{className:"text-muted-foreground",children:"ชื่อบัญชี"}),i.jsx("span",{children:As.accountName})]}),i.jsx("p",{className:"text-xs text-muted-foreground pt-2",children:"รายละเอียดการโอนจะแสดงอีกครั้งหลังยืนยันคำสั่งซื้อ"})]}),H==="promptpay"&&i.jsxs("div",{className:"mt-5 rounded-lg bg-background border border-white/10 p-4 text-center",children:[i.jsx("div",{className:"bg-white rounded-lg p-3 w-fit mx-auto",children:i.jsx("img",{src:U4,alt:"คิวอาร์โค้ดชำระเงินของร้าน",className:"w-40 h-40 object-contain"})}),i.jsxs("p",{className:"text-xs text-muted-foreground mt-3",children:["ยอดที่ต้องชำระ ",Ve(tt)," — กรุณายืนยันคำสั่งซื้อก่อนชำระเงิน และตรวจสอบชื่อผู้รับกับยอดเงินในแอปธนาคารทุกครั้ง"]})]})]})]}),i.jsxs("div",{className:"lg:col-span-2 bg-card border border-white/10 rounded-xl p-6 lg:sticky lg:top-40",children:[i.jsx("h2",{className:"font-semibold text-lg mb-5",children:"สรุปคำสั่งซื้อ"}),e.some(Ee=>Za(Ee.product.id))&&i.jsx("p",{role:"status",className:"mb-4 rounded-lg border border-primary/25 bg-primary/10 p-3 text-xs leading-relaxed",children:h===1?"ราคาโปร Eirmai ถึง 10 ต.ค. 2026 เวลา 23:59 น. (เวลาไทย) การใส่ตะกร้ายังไม่ล็อกราคา กรุณายืนยันคำสั่งซื้อก่อนหมดโปร":h===2?"โปรโมชัน Eirmai สิ้นสุดแล้ว ยอดรวมนี้ใช้ราคาปกติ à¸
481à¸£à¸¸à¸“าตรวจสอบก่อนยืนยันคำสั่งซื้อ":"โปรโมชัน Eirmai เริ่ม 25 ก.ย. 2026 เวลา 00:00 น. (เวลาไทย) ขณะนี้ใช้ราคาปกติ"}),i.jsx("div",{className:"space-y-4 max-h-72 overflow-y-auto pr-1",children:e.map(Ee=>i.jsxs("div",{className:"flex gap-3",children:[i.jsx("div",{className:"h-14 w-14 bg-white rounded-md border border-white/5 shrink-0 flex items-center justify-center overflow-hidden",children:i.jsx("img",{src:Ee.product.image,alt:Ee.product.name,className:"max-h-full max-w-full object-contain p-1.5"})}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsx("p",{className:"text-sm font-medium line-clamp-2 leading-tight",children:Ee.product.name}),Ee.variant&&i.jsx("p",{className:"mt-0.5 text-xs text-zinc-300",children:[Ee.variant.size,Ee.variant.color].filter(Boolean).join(" · ")}),i.jsxs("p",{className:"text-xs text-muted-foreground mt-0.5",children:["x",Ee.quantity]}),i.jsx("p",{className:"mt-1 text-xs text-primary",children:Ee.product.readyStock?"สินค้าพร้อมส่ง":`Pre-Order · รับภายใน ${N(Ee.product.id)} วัน`}),Ee.warrantyPlan&&i.jsxs("p",{className:"mt-1 text-xs text-emerald-400",children:[Jk(Ee.warrantyPlan,c)," · +",Ve((Ee.warrantyUnitPrice??0)*Ee.quantity)]})]}),i.jsx("span",{className:"text-sm font-semibold whitespace-nowrap",children:Ve(((Ee.product.salePrice||Ee.product.regularPrice)+(Ee.warrantyUnitPrice??0))*Ee.quantity)})]},Dc(Ee.product.id,Ee.variant)))}),i.jsx(yc,{className:"my-5 bg-white/10"}),m?u?i.jsxs("div",{className:"rounded-xl border border-primary/25 bg-primary/5 p-4 mb-5",children:[i.jsxs("div",{className:"flex items-center justify-between gap-3",children:[i.jsxs("div",{className:"flex items-center gap-2 font-semibold",children:[i.jsx(Ls,{className:"h-4 w-4 text-primary fill-primary"})," ",o("checkoutUsePoints")]}),i.jsxs("span",{className:"text-sm text-muted-foreground",children:[o("checkoutYourPoints"),": ",i.jsx("strong",{className:"text-foreground",children:Ie.toLocaleString("th-TH")})]})]}),w.isError?i.jsxs("div",{className:"mt-3 flex items-center gap-2 text-xs text-amber-300",children:[i.jsx(pn,{className:"h-4 w-4"})," ไม่สามารถโหลดคะแนนได้ในขณะนี้"]}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"mt-3 flex items-center gap-3",children:[i.jsx(ct,{type:"number",inputMode:"numeric",min:0,max:Te,step:1,value:J,onChange:Ee=>ae(Ee.target.value),"aria-label":o("checkoutUsePoints"),className:"h-10 bg-background","data-testid":"input-redeem-points"}),i.jsx(xe,{type:"button",variant:"outline",className:"shrink-0",onClick:()=>ae(String(Te)),disabled:Te===0,"data-testid":"button-max-redeem-points",children:o("checkoutMaxRedeem")})]}),i.jsxs("p",{className:"mt-2 text-xs text-muted-foreground",children:[o("checkoutMaxRedeem")," ",Te.toLocaleString("th-TH")," ",o("pointsUnit")," (20%)"]})]})]}):i.jsxs("div",{className:"rounded-xl border border-white/10 bg-white/[0.03] p-4 mb-5",children:[i.jsx("p",{className:"text-sm text-muted-foreground",children:o("checkoutSignInForPoints")}),i.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:"เข้าสู่ระบบก่อนสั่งซื้อเพื่อดูสถานะคำสั่งซื้อในบัญชีสมาชิกได้ภายหลัง (ยังสั่งซื้อโดยไม่เข้าสู่ระบบได้)"}),i.jsx(pe,{href:"/sign-in",className:"inline-block mt-2 text-sm font-bold text-primary hover:underline",children:o("signIn")})]}):i.jsx("div",{className:"rounded-lg border border-white/10 p-4 flex justify-center",children:i.jsx(yt,{className:"h-5 w-5 animate-spin text-muted-foreground"})}),i.jsxs("div",{className:"space-y-3 mb-6",children:[i.jsxs("div",{className:"flex justify-between",children:[i.jsx("span",{className:"text-muted-foreground",children:"ยอดรวม"}),i.jsx("span",{children:Ve(t)})]}),dt>0&&i.jsxs("div",{className:"flex justify-between text-emerald-400",children:[i.jsx("span",{children:o("checkoutPointsDiscount")}
481),i.jsxs("span",{children:["-",Ve(dt)]})]}),i.jsxs("div",{className:"flex justify-between pt-1",children:[i.jsx("span",{className:"font-semibold",children:o("checkoutTotalAfterPoints")}),i.jsx("span",{className:"text-xl font-bold text-primary",children:Ve(tt)})]})]}),u&&!w.isError&&i.jsxs("p",{className:"text-xs text-muted-foreground mb-4",children:[o("checkoutPointsEarnPreview"),": ",i.jsxs("strong",{className:"text-foreground",children:[he.toLocaleString("th-TH")," ",o("pointsUnit")]})]}),i.jsx(xe,{type:"submit",disabled:S,className:"w-full h-12 text-base font-semibold",children:S?i.jsxs(i.Fragment,{children:[i.jsx(yt,{className:"h-4 w-4 mr-2 animate-spin"})," กำลังส่งคำสั่งซื้อ..."]}):"ยืนยันคำสั่งซื้อ"}),i.jsx("p",{className:"text-xs text-muted-foreground text-center mt-4",children:"ร้านจะติดต่อกลับเพื่อยืนยันสต็อกและการจัดส่งหลังได้รับคำสั่งซื้อ"})]})]})]})}const fre=[{title:"1. ข้อมูลที่เราเก็บรวบรวม",body:["เมื่อคุณใช้บริการเว็บไซต์ World Camera ไม่ว่าจะเป็นการสั่งซื้อสินค้า สอบถามการเช่าอุปกรณ์ หรือติดต่อเรา เราอาจเก็บรวบรวมข้อมูลดังต่อไปนี้"],list:["ชื่อ-นามสกุล","หมายเลขโทรศัพท์","อีเมล","รายละเอียดคำสั่งซื้อหรือคำขอเช่า เช่น สินค้าที่สนใจ วันที่ต้องการเช่า และระยะเวลาเช่า"]},{title:"2. วัตถุประสงค์ในการใช้ข้อมูล",body:["เราใช้ข้อมูลของคุณเพื่อวัตถุประสงค์ดังนี้เท่านั้น"],list:["ติดต่อกลับเพื่อยืนยันคำสั่งซื้อหรือคำขอเช่าอุปกรณ์","ให้บริการหลังการขาย เช่น การรับประกันสินค้าและการซ่อมบำรุง","แจ้งข้อมูลข่าวสาร โปรโมชั่น หรือสิทธิพิเศษ (เฉพาะกรณีที่คุณยินยอม)","ปรับปรุงคุณภาพสินค้าและบริการของเรา"]},{title:"3. การเก็บรักษาและความปลอดภัยของข้อมูล",body:["เราเก็บรักษาข้อมูลส่วนบุคคลของคุณอย่างปลอดภัย โดยจำกัดการเข้าถึงเฉพาะพนักงานที่เกี่ยวข้องเท่านั้น และจะเก็บข้อมูลไว้เพียงเท่าที่จำเป็นต่อการให้บริการ"]},{title:"4. การเปิดเผยข้อมูลแก่บุคคลภายนอก",body:["เราจะไม่ขาย แลกเปลี่ยน หรือเปิดเผยข้อมูลส่วนบุคคลของคุณแก่บุคคลภายนอก ยกเว้นกรณีที่จำเป็นต่อการให้บริการ เช่น บริษัทขนส่งสินค้า หรือกรณีที่กฎหมายกำหนด"]}
481,{title:"5. สิทธิของเจ้าของข้อมูล",body:["ภายใต้พระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 (PDPA) คุณมีสิทธิขอเข้าถึง แก้ไข หรือลบข้อมูลส่วนบุคคลของคุณ รวมถึงถอนความยินยอมได้ตลอดเวลา โดยติดต่อเราตามช่องทางด้านล่าง"]},{title:"6. ติดต่อเรา",body:["หากมีข้อสงสัยเกี่ยวกับนโยบายความเป็นส่วนตัว หรือต้องการใช้สิทธิเกี่ยวกับข้อมูลส่วนบุคคล สามารถติดต่อได้ที่อีเมล [email protected] หรือโทร 086-3427836"]}];function hre(){return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsx("div",{className:"bg-card border-b border-white/5 py-16",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsx("p",{className:"text-primary text-sm font-semibold tracking-widest uppercase mb-3",children:"World Camera"}),i.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight",children:"นโยบายความเป็นส่วนตัว"}),i.jsx("p",{className:"text-muted-foreground mt-4",children:"อัปเดตล่าสุด: กรกฎาคม 2569"})]})}),i.jsxs("div",{className:"container mx-auto px-4 py-16 max-w-3xl",children:[i.jsx("p",{className:"text-muted-foreground leading-relaxed mb-12",children:"World Camera ให้ความสำคัญกับความเป็นส่วนตัวของลูกค้าทุกท่าน นโยบายฉบับนี้อธิบายว่าเราเก็บรวบรวม ใช้ และดูแลข้อมูลส่วนบุคคลของคุณอย่างไร เมื่อคุณใช้งานเว็บไซต์และบริการของเรา"}),i.jsx("div",{className:"space-y-10",children:fre.map(e=>i.jsxs("section",{children:[i.jsx("h2",{className:"text-xl font-bold mb-3",children:e.title}),e.body.map((t,n)=>i.jsx("p",{className:"text-muted-foreground leading-relaxed mb-3",children:t},n)),e.list&&i.jsx("ul",{className:"space-y-2 mt-2",children:e.list.map((t,n)=>i.jsxs("li",{className:"text-muted-foreground text-sm flex gap-2 leading-relaxed",children:[i.jsx("span",{className:"text-primary shrink-0 mt-0.5",children:"•"}),i.jsx("span",{children:t})]},n))})]},e.title))})]})]})}const pre=[{title:"1. ข้อมูลสินค้าและราคา",body:["เราพยายามแสดงข้อมูลสินค้า รูปภาพ และราคาให้ถูกต้องและเป็นปัจจุบันมากที่สุด อย่างไรก็ตาม ราคาและความพร้อมของสินค้าอาจเปลี่ยนแปลงได้โดยไม่ต้องแจ้งล่วงหน้า กรณีมีข้อผิดพลาดในการแสดงราคา ทางร้านขอสงวนสิทธิ์ยืนยันราคาที่ถูกต้องก่อนทำรายการ"]},{title:"2. การสั่งซื้อและการชำระเงิน",body:["คำสั่งซื้อจะสมบูรณ์เมื่อทางร้านยืนยันรายการและได้รับการชำระเงินครบถ้วน สินค้าทุกชิ้นเป็นของแท้ ผ่านการรับประกันจากผู้นำเข้าหรือศูนย์บริการอย่างเป็นทางการ"]},{title:"3. เงื่อนไขการเช่าอุปกรณ์",body:["การเช่ากล้องและอุปกรณ์กับ World Camera มีเงื่อนไขดังนี้"],list:["ผู้เช่าต้องแสดงบัตรประชาชนหรือหนังสือเดินทาง (ฉบับจริง) พร้อมสำเนา","แสดงเอกสารยืนยันที่อยู่ เช่น บิลค่าน้ำ/ค่าไฟ หรือสเตทเมนต์ธนาคาร ย้อนหลังไม่เกิน 3 เดือน","วางเงินมัดจำตามมูลค่าอุปกรณ์ และจะได้รับคืนเต็มจำนวนเมื่อคืนอุปกรณ์ในสภาพสมบูรณ์","รับและคืนอุปกรณ์ที่ร้านสาขาหลักเท่านั้น ภายในเวลาทำการ","กรณีอุปกรณ์เสียหาย สูญหาย หรือคืนล่าช้า ผู้เช่าตกลงรับผิดชอบค่าใช้จ่ายตามจริง"]},{title:"4. การรับประกันและการคืนสินค้า",body:["สินค้าใหม่ทุกชิ้นได้รับการรับประกันตามเงื่อนไขของผู้ผลิตหรือผู้นำเข้า กรณีสินค้ามีปัญหาจากการผลิต กรุณาติดต่อเราภายใน 7 วันหลังได้รับสินค้า พร้อมใบเสร็จและอุปกรณ์ครบà¸
481à¸¥à¹ˆà¸­à¸‡"]},{title:"5. ทรัพย์สินทางปัญญา",body:["ข้อความ รูปภาพ โลโก้ และเนื้อหาทั้งหมดบนเว็บไซต์นี้เป็นทรัพย์สินของ World Camera ห้ามคัดลอก ดัดแปลง หรือนำไปใช้เพื่อการค้าโดยไม่ได้รับอนุญาตเป็นลายลักษณ์อักษร"]},{title:"6. ข้อจำกัดความรับผิด",body:["World Camera จะไม่รับผิดชอบต่อความเสียหายทางอ้อมใดๆ ที่เกิดจากการใช้งานเว็บไซต์หรือความล่าช้าที่อยู่นอกเหนือการควบคุมของทางร้าน ทั้งนี้ไม่กระทบสิทธิของผู้บริโภคตามกฎหมาย"]},{title:"7. ติดต่อเรา",body:["หากมีข้อสงสัยเกี่ยวกับข้อกำหนดการใช้งาน สามารถติดต่อได้ที่อีเมล [email protected] หรือโทร 086-3427836"]}];function gre(){return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsx("div",{className:"bg-card border-b border-white/5 py-16",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsx("p",{className:"text-primary text-sm font-semibold tracking-widest uppercase mb-3",children:"World Camera"}),i.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight",children:"ข้อกำหนดการใช้งาน"}),i.jsx("p",{className:"text-muted-foreground mt-4",children:"อัปเดตล่าสุด: กรกฎาคม 2569"})]})}),i.jsxs("div",{className:"container mx-auto px-4 py-16 max-w-3xl",children:[i.jsx("p",{className:"text-muted-foreground leading-relaxed mb-12",children:"ยินดีต้อนรับสู่เว็บไซต์ World Camera การเข้าใช้งานเว็บไซต์นี้ถือว่าคุณยอมรับข้อกำหนดและเงื่อนไขด้านล่าง กรุณาอ่านอย่างละเอียดก่อนใช้บริการ"}),i.jsx("div",{className:"space-y-10",children:pre.map(e=>i.jsxs("section",{children:[i.jsx("h2",{className:"text-xl font-bold mb-3",children:e.title}),e.body.map((t,n)=>i.jsx("p",{className:"text-muted-foreground leading-relaxed mb-3",children:t},n)),e.list&&i.jsx("ul",{className:"space-y-2 mt-2",children:e.list.map((t,n)=>i.jsxs("li",{className:"text-muted-foreground text-sm flex gap-2 leading-relaxed",children:[i.jsx("span",{className:"text-primary shrink-0 mt-0.5",children:"•"}),i.jsx("span",{children:t})]},n))})]},e.title))})]})]})}const oR=[{id:"kerry",name:"Kerry Express",nameTh:"Kerry Express",logo:"🟡",color:"#FFD400",trackUrl:e=>`https://th.kerryexpress.com/th/track/?track=${e}`,pattern:/^[A-Z]{2}\d{9}TH$|^KERRYTH\d+$/i},{id:"thaipost",name:"Thailand Post (EMS)",nameTh:"ไปรษณีย์ไทย (EMS)",logo:"🟠",color:"#F47920",trackUrl:e=>`https://track.thailandpost.co.th/?trackNumber=${e}`,pattern:/^[A-Z]{2}\d{8}TH$/},{id:"flash",name:"Flash Express",nameTh:"Flash Express",logo:"🔴",color:"#E8242A",trackUrl:e=>`https://www.flashexpress.co.th/fle/tracking/?se=${e}`,pattern:/^TH\d{12}$/i},{id:"jt",name:"J&T Express",nameTh:"J&T Express",logo:"🔴",color:"#CC0001",trackUrl:e=>`https://www.jtexpress.co.th/trajectoryQuery?billCodes=${e}`,pattern:/^[0-9]{18}$|^[Jj][Tt]\d+$/},{id:"dhl",name:"DHL Express",nameTh:"DHL Express",logo:"🟡",color:"#FFCC00",trackUrl:e=>`https://www.dhl.com/th-en/home/tracking/tracking-express.html?submit=1&tracking-id=${e}`,pattern:/^\d{10,11}$/},{id:"ninja",name:"Ninja Van",nameTh:"Ninja Van",logo:"⚫",color:"#2B2D42",trackUrl:e=>`https://www.ninjavan.co/th-th/tracking?id=${e}`,pattern:/^[Nn][Vv]\w+/}];function bre(e){const t=e.trim().toUpperCase();for(const n of oR)if(n.pattern&&n.pattern.test(t))return n;return null}function yre(){const[e,t]=y.useState(""),[n,r]=y.useState(null),[o,c]=y.useState(!1),u=e.trim()?bre(e):null,m=n??u;function f(h){h.preventDefault(),c(!0),e.trim()&&m&&window.open(m.trackUrl(e.trim()),"_blank","noopener,noreferrer")}return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsx("div",{className:"bg-card border-b border-white/5 py-16",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 border border-primary/20 text-primary text-xs font-bold uppercase tracking-widest px-3 py-1.5 rounded-full mb-5",children:[i.jsx(bI,{className:"h-3.5 w-3.5"}),"ติดตามพัสดุ"]}),i.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight mb-4",children:"ติดตามสถานะพัสดุ"}),i.jsx("p",{className:"text-muted-foreground text-lg max-w-xl leading-relaxed",children:"กรอกเลขพัสดุเพื่อดูสถานะการจัดส่งแบบเรียลไทม์ รองรับทุกสายส่งชั้นนำ"})]})}),i.jsxs("div",{className:"container mx-auto px-4 py-16 max-w-3xl",children:[i.jsxs("form",{onSubmit:f,className:"bg-white/[0.03] border border-white/5 rounded-2xl p-8 mb-8",children:[i.jsx("label",{className:"block text-sm font-semibold text-white mb-3",children:"เลขพัสดุ"}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Mb,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 text-zinc-500"}),i.jsx(ct,{className:"pl-10 h-12 bg-background border-white/10 text-white placeholder:text-zinc-600 text-base",placeholder:"เช่น TH123456789 / EV123456789TH",value:e,onCh
481ange:h=>{t(h.target.value),r(null),c(!1)}})]}),i.jsxs(xe,{type:"submit",size:"lg",className:"h-12 px-6 shrink-0",children:[i.jsx(zs,{className:"h-5 w-5 mr-2"})," ติดตาม"]})]}),u&&!n&&i.jsx("div",{className:"mt-3 flex items-center gap-2 text-sm text-zinc-400",children:i.jsxs("span",{className:"text-xs bg-white/5 border border-white/10 px-2 py-1 rounded-full",children:["ตรวจพบ: ",i.jsx("span",{className:"text-white font-medium",children:u.nameTh})]})}),o&&!m&&e.trim()&&i.jsx("p",{className:"mt-3 text-sm text-zinc-500",children:"ตรวจไม่พบสายส่งอัตโนมัติ — กรุณาเลือกสายส่งด้านล่าง"}),o&&!e.trim()&&i.jsx("p",{className:"mt-3 text-sm text-primary",children:"กรุณากรอกเลขพัสดุ"})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-zinc-500 mb-4",children:"เลือกสายส่ง"}),i.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:oR.map(h=>{const p=n?.id===h.id;return i.jsxs("button",{type:"button",onClick:()=>{r(p?null:h),c(!1)},className:`flex items-center gap-3 rounded-xl border px-4 py-3 text-left transition-all
482                    ${p?"border-primary bg-primary/10 text-white":"border-white/5 bg-white/[0.03] text-zinc-400 hover:border-white/20 hover:text-white"}`,children:[i.jsx("span",{className:"text-xl leading-none",children:h.logo}),i.jsx("div",{className:"min-w-0",children:i.jsx("p",{className:"text-sm font-semibold leading-tight truncate text-white",children:h.name})})]},h.id)})})]}),m&&e.trim()&&i.jsx("div",{className:"mt-6",children:i.jsxs("a",{href:m.trackUrl(e.trim()),target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between w-full bg-primary/10 hover:bg-primary/20 border border-primary/30 rounded-xl px-6 py-4 transition-all group",children:[i.jsxs("div",{children:[i.jsxs("p",{className:"text-sm text-zinc-400 mb-0.5",children:["ติดตามกับ ",m.nameTh]}),i.jsx("p",{className:"font-bold text-white",children:e.trim()})]}),i.jsx(k3,{className:"h-5 w-5 text-primary group-hover:translate-x-1 transition-transform"})]})}),i.jsxs("div",{className:"mt-10 bg-white/[0.02] border border-white/5 rounded-xl p-5 flex gap-4",children:[i.jsx(Ka,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),i.jsxs("div",{className:"text-sm text-zinc-500 leading-relaxed space-y-1",children:[i.jsx("p",{children:"เลขพัสดุจะได้รับทาง SMS หรืออีเมลหลังจากร้านจัดส่งสินค้าแล้ว"}),i.jsxs("p",{children:["หากยังไม่ได้รับเลขพัสดุภายใน 1–2 วันทำการ กรุณาติดต่อ ",i.jsx("strong",{className:"text-white",children:"086-342-7836"})," หรือ Line OA ",i.jsx("strong",{className:"text-white",children:"@worldcamera"})]})]})]})]})]})}function xre({icon:e,title:t,subtitle:n,endTime:r,showDays:o}){return i.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-8",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[e,i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold",children:t}),i.jsx("p",{className:"text-muted-foreground text-sm",children:n})]})]}),i.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[i.jsx(C3,{className:"h-4 w-4 text-primary"}),i.jsx(Xy,{endTime:r,showDays:o})]})]})}function vre(){const{tr:e}=Rt();return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsxs("div",{className:"relative overflow-hidden bg-background border-b border-white/5",children:[i.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"url(/images/flash-sale-hero.jpg)",backgroundSize:"cover",backgroundPosition:"center"}}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/85 via-black/60 to-black/30"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
482parent to-transparent"}),i.jsx("div",{className:"container mx-auto px-4 py-20 relative z-10",children:i.jsxs("div",{className:"max-w-3xl",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[i.jsx("span",{className:"bg-primary/10 border border-primary/20 text-primary text-xs font-bold px-3 py-1 rounded-full uppercase tracking-widest",children:e("dealZoneBadge")}),i.jsxs("span",{className:"bg-orange-500/10 border border-orange-500/20 text-orange-400 text-xs font-bold px-3 py-1 rounded-full uppercase tracking-widest flex items-center gap-1.5",children:[i.jsx(rm,{className:"h-3.5 w-3.5"})," ",e("dealZoneLimited")]})]}),i.jsxs("h1",{className:"text-5xl md:text-7xl font-black tracking-tight mb-4 leading-none",style:{fontFamily:"Raleway, sans-serif"},children:[i.jsx("span",{className:"text-foreground",children:"FLASH"})," ",i.jsx("span",{className:"text-primary",children:"SALE"})]}),i.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed max-w-xl",children:e("dealZoneDesc")})]})})]}),i.jsxs("div",{className:"container mx-auto px-4 py-14 space-y-20",children:[i.jsxs("section",{children:[i.jsx(xre,{icon:i.jsx("div",{className:"h-12 w-12 rounded-xl bg-primary/10 border border-primary/20 flex items-center justify-center",children:i.jsx(rm,{className:"h-6 w-6 text-primary"})}),title:e("dealFlashTitle"),subtitle:e("dealFlashSub"),endTime:tc,showDays:!1}),i.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:KE.map(t=>i.jsx(BE,{deal:t,flash:!0},t.id))})]}),i.jsxs("div",{className:"flex items-start gap-4 p-5 rounded-xl border border-orange-500/20 bg-orange-500/5",children:[i.jsx(pn,{className:"h-5 w-5 text-orange-400 shrink-0 mt-0.5"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-sm font-semibold text-foreground mb-1",children:e("dealDisclaimer")}),i.jsx("p",{className:"text-sm text-muted-foreground",children:e("dealDisclaimerDesc")})]})]}),i.jsx("div",{className:"text-center pt-4",children:i.jsx(pe,{href:"/shop",children:i.jsxs(xe,{variant:"outline",size:"lg",className:"gap-2",children:[e("dealBrowseAll")," ",i.jsx(kb,{className:"h-4 w-4"})]})})})]})]})}const wre=Mc("whitespace-nowrap inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover-elevate ",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow-xs",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground shadow-xs",outline:"text-foreground border [border-color:var(--badge-outline)]"}},defaultVariants:{variant:"default"}});function B4({className:e,variant:t,...n}){return i.jsx("div",{className:ce(wre({variant:t}),e),...n})}function Sre(){const{tr:e,lang:t}=Rt(),[n,r]=y.useState(""),[o,c]=y.useState([]),[u,m]=y.useState([]),f=y.useMemo(()=>Array.from(new Set(zd.map(w=>w.brand))).sort(),[]),h=y.useMemo(()=>Array.from(new Set(zd.map(w=>w.category))).sort(),[]),p=y.useMemo(()=>zd.filter(w=>{if(n.trim()){const C=n.trim().toLowerCase();if(!w.name.toLowerCase().includes(C)&&!w.brand.toLowerCase().includes(C)&&!w.description.toLowerCase().includes(C))return!1}return!(o.length>0&&!o.includes(w.brand)||u.length>0&&!u.includes(w.category))}),[n,o,u]),b=w=>{c(C=>C.includes(w)?C.filter(R=>R!==w):[...C,w])},v=w=>{m(C=>C.includes(w)?C.filter(R=>R!==w):[...C,w])},S=()=>{r(""),c([]),m([])},N=()=>i.jsxs("div",{className:"space-y-8",children:[i.jsxs("div",{className:"space-y-3",children:[i.jsx("h3",{className:"font-bold uppercase tracking-wider text-sm text-foreground",children:e("clearanceSearch")}),i.jsxs("div",{className:"relative group",children:[i.jsx(zs,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground group-focus-within:text-primary transition-colors"}),i.jsx(ct,{value:n,onChange:w=>r(w.target.value),"aria-label":e("clearanceSearch"),className:"pl-9 bg-black/40 border-white/10 hover:border-white/20 focus-visible:border-primary focus-visible:ring-1 focus-visible:ring-primary transition-all rounded-lg",placeholder:e("clearanceSearchPlaceholder")})]})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("h3",{className:"font-bold uppercase tracking-wider text-sm flex items-center justify-between text-foreground",children:[e("clearanceBrands"),o.length>0&&i.jsx("button",{onClick:()=>c([]),className:"text-xs text-primary hover:underline normal-case font-medium",children:e("clearanceClear")})]}),i.jsx("div",{className:"flex flex-col gap-2",children:f.map(w=>i.jsxs("button",{type:"button","aria-pressed":o.includes(w),onClick:()=>b(w),className:"flex items-center gap-3 cursor-pointer group select-none text-left",children:[i.jsx("div",{className:`w-4 h-4 rounded-[4px] border flex items-center justify-center transition-all duration-200 ${o.includes(w)?"bg-primary border-primary text-white scale-110":"bg-black/20 border-white/20 group-hover:border-white/50"}`,children:o.includes(w)&&i.jsx(Ws,{className:"h-3 w-3"})}),i.jsx("span",{className:`text-sm transition-colors ${o.includes(w)?"text-foreground font-medium":"text-muted-foreground group-hover:text-foreground"}`,children:w})]},w))})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("h3",{className:"font-bold uppercase tracking-wider text-sm flex items-center justify-between text-foreground",children:[e("clearanceCategories"),u.length>0&&i.jsx("button",{onClick:()=>m([]),className:"text-xs text-primary hover:underline normal-case font-medium",children:e("clearanceClear")})]}),i.jsx("div",{className:"flex flex-col gap-2",children:h.map(w=>{const C=Zd(w),R=C?Fs(C,t):w;return i.jsxs("button",{type:"button","aria-pressed":u.includes(w),onClick:()=>v(w),className:"flex items-center gap-3 cursor-pointer group select-none text-left",children:[i.jsx("div",{className:`w-4 h-4 rounded-[4px] border flex items-center justify-center transition-all duration-200 ${u.includes(w)?"bg-primary border-primary text-white scale-110":"bg-black/20 border-white/20 group-hover:border-white/50"}`,children:u.includes(w)&&i.jsx(Ws,{className:"h-3 w-3"})}),i.jsx("span",{className:`text-sm transition-colors ${u.includes(w)?"text-foreground font-medium":"text-muted-foreground group-hover:text-foreground"}`,children:R})]},w)})})]})]});return i.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[i.jsxs("div",{className:"relative overflow-hidden bg-background border-b border-white/5",children:[i.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary/15 via-background to-background"}),i.jsx("div",{className:"absolute top-1/2 right-0 w-[600px] h-[600px] bg-primary/10 rounded-full blur-[100px] -translate-y-1/2 translate-x-1/3"}),i.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none flex items-center justify-end opacity-[0.02] select-none",children:i.jsx("div",{className:"text-[15vw] font-black leading-none whitespace-nowrap text-transparent",style:{WebkitTextStroke:"2px white"},children:"FINAL SALE"})}),i.jsx("div",{className:"container mx-auto px-4 py-24 relative z-10",children:i.jsxs("div",{className:"max-w-2xl",children:[i.jsx("div",{className:"flex items-center gap-2 mb-6",children:i.jsxs("span",{className:"bg-primary text-white text-xs font-bold px-3 py-1.5 rounded-sm uppercase tracking-widest flex items-center gap-1.5 shadow-[0_0_15px_rgba(255,0,0,0.5)]",children:[i.jsx(H_,{className:"h-3.5 w-3.5"}),e("clearanceBadge")]})}),i.jsx("h1",{className:"text-5xl md:text-7xl font-black tracking-tight mb-6 leading-none",style:{fontFamily:"Raleway, sans-serif"},children:i.jsx("span",{className:"text-primary",children:e("clearanceTitle")})}),i.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:e("clearanceDesc")})]})})]}),i.jsx("div",{className:"container mx-auto px-4 py-12 flex-1",children:i.jsxs("div",{className:"flex flex-col lg:flex-row gap-10",children:[i.jsx("div",{className:"hidden lg:block w-64 shrink-0",children:i.jsx("div",{className:"sticky top-24 bg-card/30 border border-white/5 rounded-2xl p-6 backdrop-blur-sm",children:N()})}),i.jsxs("div",{className:"lg:hidden flex items-center justify-between mb-4",children:[i.jsxs("div",{className:"text-sm text-muted-foreground",children:[i.jsx("span",{className:"font-semibold text-foreground",children:p.length})," ",e("items")]}),i.jsxs(af,{children:[i.jsx(ly,{asChild:!0,children:i.jsxs(xe,{variant:"outline",className:"gap-2 border-white/10 bg-black/40",children:[i.jsx(j3,{className:"h-4 w-4"}),e("filters")]})}),i.jsxs(Kc,{side:"left",className:"w-[85vw] sm:w-[350px] border-r-white/10 bg-background/95 backdrop-blur-xl p-6",children:[i.jsx(cy,{className:"mb-8 text-left",children:i.jsx(sf,{className:"text-2xl font-bold",children:e("filters")})}),i.jsx("div",{className:"h-full pb-20 overflow-y-auto",children:N()})]})]})]}),i.jsxs("div",{className:"flex-1",children:[i.jsxs("div",{className:"hidden lg:flex mb-8 flex-wrap gap-2 items-center min-h-[32px]",children:[i.jsxs("span",{className:"text-sm text-muted-foreground mr-2",children:[i.jsx("span",{className:"font-semibold text-foreground",children:p.length})," ",e("items")]}),o.map(w=>i.jsxs(B4,{variant:"secondary",className:"gap-1 bg-white/5 hover:bg-white/10 border-white/10 transition-colors py-1 px-3",children:[w,i.jsx("button",{type:"button",onClick:()=>b(w),"aria-label":`${e("clearanceRemoveFilter")}: ${w}`,className:"rounded-sm opacity-70 hover:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary",children:i.jsx(_r,{className:"h-3 w-3"})})]},w)),u.map(w=>{const C=Zd(w);return i.jsxs(B4,{variant:"secondary",className:"gap-1 bg-white/5 hover:bg-white/10 border-white/10 transition-colors py-1 px-3",children:[C?Fs(C,t):w,i.jsx("button",{type:"button",onClick:()=>v(w),"aria-label":`${e("clearanceRemoveFilter")}: ${C?Fs(C,t):w}`,className:"rounded-sm opacity-70 hover:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary",children:i.jsx(_r,{className:"h-3 w-3"})})]},w)}),(o.length>0||u.length>0||n)&&i.jsx(xe,{variant:"ghost",size:"sm",className:"h-8 text-xs ml-2 text-muted-foreground hover:text-foreground",onClick:S,children:e("clearanceClearAll")})]}),p.length>0&&i.jsxs("div",{className:"flex items-start gap-3 p-4 mb-8 rounded-xl border border-primary/20 bg-primary/5",children:[i.jsx(pn,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),i.jsxs("div",{className:"text-sm text-muted-foreground",children:[i.jsx("strong",{className:"text-foreground",children:e("clearanceDisclaimerTitle")}),i.jsx("span",{className:"mx-2",children:"—"}),e("clearanceDisclaimer")]})]}),p.length>0?i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-3 sm:gap-6",children:p.map(w=>{const C=LN(w);return i.jsxs("div",{className:"relative group/card animate-in fade-in slide-in-from-bottom-4 duration-500 fill-mode-both",children:[i.jsx(li,{product:w}),i.jsx("div",{className:"absolute top-2 right-2 z-20 pointer-events-none",children:i.jsxs("div",{className:"bg-primary text-primary-foreground font-bold text-xs px-2.5 py-1 rounded-sm shadow-[0_4px_12px_rgba(255,0,0,0.3)] border border-primary/50 backdrop-blur-md",children:["-",C,"%"]})})]},w.id)})}):i.jsxs("div",{className:"flex flex-col items-center justify-center py-32 px-4 text-center border border-dashed border-white/10 rounded-2xl bg-card/20 backdrop-blur-sm",children:[i.jsx("div",{className:"h-16 w-16 rounded-full bg-white/5 flex items-center justify-center mb-6",children:i.jsx(fI,{className:"h-8 w-8 text-muted-foreground opacity-50"})}),i.jsx("h3",{className:"text-2xl font-bold mb-3",children:e("clearanceNoResults")}),i.jsx("p",{className:"text-muted-foreground max-w-md mb-8",children:e("clearanceNoResultsDesc")}),i.jsxs(xe,{onClick:S,className:"gap-2",children:[i.jsx(_r,{className:"h-4 w-4"}),e("clearanceClearAll")]})]})]})]})})]})}const W4=[{id:"portrait",label:"Portrait / แฟชั่น",sub:"บุคคล นักแสดง นางแบบ",icon:qD},{id:"product",label:"สินค้า / โฆษณา",sub:"Commercial, Packshot, ของขวัญ",icon:Mb},{id:"video",label:"วิดีโอ / ฟิล์ม",sub:"ยูทูบ, ดราม่า, ภาพยนตร์",icon:b_},{id:"event",label:"Event / งานเลี้ยง",sub:"สัมมนา, ปาร์ตี้, พรีเซนต์",icon:W_},{id:"other",label:"อื่นๆ",sub:"ระบุในหมายเหตุ",icon:S3}],K4=[{id:"small",label:"เล็ก",sub:"1–3 คน / สินค้าไม่กี่ชิ้น"},{id:"medium",label:"กลาง",sub:"4–10 คน / ถ่ายหลายฉาก"},{id:"large",label:"ใหญ่",sub:"10+ คน / Production เต็มรูปแบบ"}],H4=e=>`${e.getFullYear()}
482-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,Gg=e=>e.toLocaleDateString("th-TH",{day:"numeric",month:"long",year:"numeric"});function Cre(){return sr({mutationFn:async e=>{const t=await fetch("/api/lighting-bookings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok){const n=await t.json().catch(()=>({}));throw new Error(n.detail??"เกิดข้อผิดพลาด")}return t.json()}})}function Dd({children:e}){return i.jsx("p",{className:"text-[11px] font-bold text-zinc-500 uppercase tracking-widest mb-3",children:e})}function Nre(){const{toast:e}=xr(),[t,n]=y.useState([]),[r,o]=y.useState(""),[c,u]=y.useState(),[m,f]=y.useState(""),[h,p]=y.useState(""),[b,v]=y.useState(""),[S,N]=y.useState(""),[w,C]=y.useState(""),{mutate:R,isPending:M}=Cre(),j=new Date;j.setHours(0,0,0,0);function T(_){n(D=>D.includes(_)?D.filter(V=>V!==_):[...D,_])}function P(){n([]),o(""),u(void 0),f(""),p(""),v(""),N(""),C("")}function I(_){if(_.preventDefault(),t.length===0){e({title:"กรุณาเลือกประเภทงาน",variant:"destructive"});return}if(!r){e({title:"กรุณาเลือกขนาดของงาน",variant:"destructive"});return}if(!c?.from){e({title:"กรุณาเลือกวันที่",variant:"destructive"});return}if(!m.trim()||!h.trim()||!b.trim()){e({title:"กรุณากรอกข้อมูลให้ครบ",description:"สถานที่ ชื่อ และเบอร์โทรเป็นข้อมูลที่จำเป็น",variant:"destructive"});return}const D=H4(c.from),V=H4(c.to??c.from),H=t.map(J=>W4.find(ae=>ae.id===J)?.label??J),$=K4.find(J=>J.id===r)?.label??r;R({customerName:h.trim(),phone:b.trim(),lineId:S.trim()||void 0,shootTypes:H,scale:$,startDate:D,endDate:V,venue:m.trim(),note:w.trim()||void 0},{onSuccess:()=>{Cf("lighting_request_submitted"),e({title:"ส่งคำขอแล้ว! 🎉",description:"ทีมงานจะติดต่อกลับภายใน 24 ชั่วโมงเพื่อประเมินและเสนอราคา"}),P()},onError:J=>{e({title:"เกิดข้อผิดพลาด",description:J instanceof Error?J.message:"ไม่สามารถส่งคำขอได้ กรุณาลองใหม่",variant:"destructive"})}})}return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsxs("div",{className:"bg-[#0a0a0c] border-b border-white/5 py-20 relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_rgba(229,34,34,0.15)_0%,_transparent_60%)]"}),i.jsx("div",{className:"container mx-auto px-4 relative z-10",children:i.jsxs("div",{className:"max-w-2xl",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 border border-primary/20 text-primary text-xs font-bold uppercase tracking-widest px-3 py-1.5 rounded-full mb-5",children:[i.jsx(rm,{className:"h-3.5 w-3.5"}),"World Camera Service"]}),i.jsxs("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight mb-5 text-white",children:["จัดชุดไฟ",i.jsx("br",{}),i.jsx("span",{className:"text-primary",children:"นอกสถานที่"})]}),i.jsx("p",{className:"text-lg text-zinc-400 leading-relaxed max-w-xl",children:"ตอบแบบสอบถามสั้นๆ แล้วทีมงาน World Camera จะติดต่อกลับเพื่อประเมินและเสนอราคาที่เหมาะกับงานของคุณ"})]})})]}),i.jsxs("div",{className:"container mx-auto px-4 py-14 max-w-3xl",children:[i.jsxs("form",{onSubmit:I,className:"space-y-10",children:[i.jsxs("div",{children:[i.jsx(Dd,{children:"1 — ประเภทงานถ่ายทำ"}),i.jsxs("p",{className:"text-white font-semibold text-lg mb-4",children:["งานนี้เป็นการถ่ายประเภทใด? ",i.jsx("span",{className:"text-zinc-500 font-normal text-base",children:"(เลือกได้หลายอย่าง)"})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:W4.map(_=>{const D=t.includes(_.id),V=_.icon;return i.jsxs("button",{type:"button",onClick:()=>
482T(_.id),className:ce("relative flex items-center gap-4 rounded-xl border px-5 py-4 text-left transition-all duration-150",D?"border-primary bg-primary/5 ring-1 ring-primary":"border-white/8 bg-white/[0.02] hover:border-white/20 hover:bg-white/[0.04]"),children:[i.jsx("div",{className:ce("shrink-0 w-9 h-9 rounded-lg flex items-center justify-center",D?"bg-primary/20 text-primary":"bg-white/5 text-zinc-500"),children:i.jsx(V,{className:"h-4.5 w-4.5"})}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsx("p",{className:ce("text-sm font-semibold",D?"text-white":"text-zinc-300"),children:_.label}),i.jsx("p",{className:"text-xs text-zinc-500 mt-0.5",children:_.sub})]}),D&&i.jsx(er,{className:"h-4.5 w-4.5 text-primary shrink-0"})]},_.id)})})]}),i.jsxs("div",{children:[i.jsx(Dd,{children:"2 — ขนาดของงาน"}),i.jsx("p",{className:"text-white font-semibold text-lg mb-4",children:"โปรเจกต์นี้มีขนาดประมาณไหน?"}),i.jsx("div",{className:"grid grid-cols-3 gap-3",children:K4.map(_=>{const D=r===_.id;return i.jsxs("button",{type:"button",onClick:()=>o(_.id),className:ce("rounded-xl border px-4 py-4 text-center transition-all duration-150",D?"border-primary bg-primary/5 ring-1 ring-primary":"border-white/8 bg-white/[0.02] hover:border-white/20 hover:bg-white/[0.04]"),children:[i.jsx("p",{className:ce("text-base font-bold",D?"text-white":"text-zinc-300"),children:_.label}),i.jsx("p",{className:"text-xs text-zinc-500 mt-1 leading-relaxed",children:_.sub})]},_.id)})})]}),i.jsxs("div",{children:[i.jsx(Dd,{children:"3 — วันที่ต้องการ"}),i.jsx("p",{className:"text-white font-semibold text-lg mb-4",children:"ต้องการใช้บริการช่วงไหน?"}),i.jsxs("div",{className:"flex flex-col lg:flex-row gap-6 items-start",children:[i.jsx("div",{className:"bg-white/[0.02] border border-white/8 rounded-2xl p-4 shrink-0",children:i.jsx(rR,{mode:"range",selected:c,onSelect:u,numberOfMonths:2,disabled:{before:j},classNames:{months:"flex flex-col sm:flex-row gap-6"}})}),c?.from?i.jsxs("div",{className:"bg-white/[0.02] border border-white/8 rounded-xl p-5 flex-1 min-w-0 space-y-3",children:[i.jsx("p",{className:"text-xs font-bold text-zinc-500 uppercase tracking-widest",children:"ช่วงที่เลือก"}),i.jsxs("div",{className:"flex justify-between text-sm py-2 border-b border-white/5",children:[i.jsx("span",{className:"text-zinc-400",children:"เริ่ม"}),i.jsx("span",{className:"font-semibold text-white",children:Gg(c.from)})]}),i.jsxs("div",{className:"flex justify-between text-sm py-2",children:[i.jsx("span",{className:"text-zinc-400",children:"สิ้นสุด"}),i.jsx("span",{className:"font-semibold text-white",children:c.to?Gg(c.to):Gg(c.from)})]})]}):i.jsx("div",{className:"bg-white/[0.02] border border-white/8 border-dashed rounded-xl p-6 text-center flex-1",children:i.jsxs("p",{className:"text-zinc-500 text-sm",children:["คลิกวันที่บนปฏิทิน",i.jsx("br",{}),"เพื่อเลือกช่วงเวลา"]})})]})]}),i.jsxs("div",{children:[i.jsx(Dd,{children:"4 — ข้อมูลติดต่อ"}),i.jsx("p",{className:"text-white font-semibold text-lg mb-5",children:"กรอกข้อมูลเพื่อให้ทีมงานติดต่อกลับ"}),i.jsxs("div",{className:"bg-white/[0.02] border border-white/8 rounded-2xl p-6 md:p-8 grid grid-cols-1 md:grid-cols-2 gap-5",children:[i.jsxs("div",{className:"md:col-span-2 grid gap-2",children:[i.jsxs(Ct,{className:"flex items-center gap-2 text-sm font-medium",children:[i.jsx(jb,{className:"h-4 w-4 text-primary"}),"สถานที่ถ่ายทำ ",i.jsx("span",{className:"text-primary",children:"*"})]}),i.jsx(ct,{className:"bg-background border-white/10 h-11",placeholder:"เช่น สตูดิโอ X กรุงเทพฯ, บ้านลูกค้า จ.ชลบุรี, โรงแรม Y",value:m,onChange:_=>f(_.target.value)})]}),i.jsxs("div",{className:"grid gap-2",children:[i.jsxs(Ct,{className:"flex items-center gap-2 text-sm font-medium",children:[i.jsx(nm,{className:"h-4 w-4 text-primary"}),"ชื่อ-นามสกุล ",i.jsx("span",{className:"text-primary",children:"*"})]}),i.jsx(ct,{className:"bg-background border-white/10 h-11",placeholder:"ชื่อผู้ติดต่อ",value:h,onChange:_=>p(_.target.value)})]}),i.jsxs("div",{className:"grid gap-2",children:[i.jsxs(Ct,{className:"flex items-center gap-2 text-sm font-medium",children:[i.jsx(ci,{className:"h-4 w-4 text-primary"}),"เบอร์โทรศัพท์ ",i.jsx("span",{className:"text-primary",children:"*"})]}),i.jsx(ct,{className:"bg-background border-white/10 h-11",placeholder:"0XX-XXX-XXXX",value:b,onChange:_=>v(_.target.value)})]}),i.jsxs("div",{className:"grid gap-2",children:[i.jsxs(Ct,{className:"text-sm font-medium text-zinc-300",children:["LINE ID ",i.jsx("span",{className:"text-zinc-500 font-normal",children:"(ไม่บังคับ)"})]}),i.jsx(ct,{className:"bg-background border-white/10 h-11",placeholder:"@lineid",value:S,onChange:_=>N(_.target.value)})]}),i.jsxs("div",{className:"md:col-span-2 grid gap-2",children:[i.jsxs(Ct,{className:"flex items-center gap-2 text-sm font-medium text-zinc-300",children:[i.jsx(ic,{className:"h-4 w-4 text-zinc-500"}),"รายละเอียดเพิ่มเติม ",i.jsx("span",{className:"text-zinc-500 font-normal",children:"(ไม่บังคับ)"})]}),i.jsx(Jc,{className:"bg-background border-white/10 resize-none",placeholder:"จำนวนนักแสดง ธีมงาน ความต้องการพิเศษ หรืออุปกรณ์ที่ต้องการเพิ่ม",rows:3,value:w,onChange:_=>C(_.target.value)})]}),i.jsxs("div",{className:"md:col-span-2 pt-2",children:[i.jsx(xe,{type:"submit",size:"lg",className:"w-full h-13 text-base font-bold",disabled:M,children:M?"กำลังส่ง...":"ส่งแบบสอบถาม"}),i.jsx("p",{className:"text-center text-xs text-zinc-500 mt-3",children:"ทีมงานจะติดต่อกลับภายใน 24 ชั่วโมงเพื่อประเมินและเสนอราคา"})]})]})]})]}),i.jsxs("div",{className:"mt-14 bg-white/[0.02] border border-white/8 rounded-2xl p-6 md:p-8",children:[i.jsx("h2",{className:"text-lg font-bold text-white mb-5",children:"เงื่อนไขการให้บริการ"}),i.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:["กรุณาส่งคำขอล่วงหน้าอย่างน้อย 3 วัน เพื่อให้ทีมงานเตรียมอุปกรณ์ได้ครบถ้วน","ราคาบริการจะแจ้งหลังจากทีมงานประเมินตามสถานที่และรายละเอียดงาน","กรณียกเลิกต้องแจ้งล่วงหน้าอย่างน้อย 48 ชั่วโมง","ผู้ใช้บริการรับผิดชอบความเสียหายที่เกิดจากการใช้งานอุปกรณ์ผิดวิธี","บริการครอบคลุมพื้นที่กรุงเทพฯ และปริมณฑล (นอกพื้นที่แจ้งเพิ่มเติม)","สามารถปรับชุดอุปกรณ์ได้ตามความต้องการ กรุณาระบุในรายละเอียดเพิ่มเติม"].map(_=>i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(er,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),i.jsx("p",{className:"text-sm text-zinc-400 leading-relaxed",children:_})]},_))})]})]})]})}var Nf="Collapsible",[kre,iR]=gn(Nf),[Ere,ux]=kre(Nf),lR=y.forwardRef((e,t)=>
482{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:c,onOpenChange:u,...m}=e,[f,h]=ar({prop:r,defaultProp:o??!1,onChange:u,caller:Nf});return i.jsx(Ere,{scope:n,disabled:c,contentId:Fn(),open:f,onOpenToggle:y.useCallback(()=>h(p=>!p),[h]),children:i.jsx(Ce.div,{"data-state":mx(f),"data-disabled":c?"":void 0,...m,ref:t})})});lR.displayName=Nf;var cR="CollapsibleTrigger",uR=y.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=ux(cR,n);return i.jsx(Ce.button,{type:"button","aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":mx(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:ue(e.onClick,o.onOpenToggle)})});uR.displayName=cR;var dx="CollapsibleContent",dR=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ux(dx,e.__scopeCollapsible);return i.jsx(Pt,{present:n||o.open,children:({present:c})=>i.jsx(jre,{...r,ref:t,present:c})})});dR.displayName=dx;var jre=y.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...c}=e,u=ux(dx,n),[m,f]=y.useState(r),h=y.useRef(null),p=Le(t,h),b=y.useRef(0),v=b.current,S=y.useRef(0),N=S.current,w=u.open||m,C=y.useRef(w),R=y.useRef(void 0);return y.useEffect(()=>{const M=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(M)},[]),Ft(()=>{const M=h.current;if(M){R.current=R.current||{transitionDuration:M.style.transitionDuration,animationName:M.style.animationName},M.style.transitionDuration="0s",M.style.animationName="none";const j=M.getBoundingClientRect();b.current=j.height,S.current=j.width,C.current||(M.style.transitionDuration=R.current.transitionDuration,M.style.animationName=R.current.animationName),f(r)}},[u.open,r]),i.jsx(Ce.div,{"data-state":mx(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!w,...c,ref:p,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":N?`${N}px`:void 0,...e.style},children:w&&o})});function mx(e){return e?"open":"closed"}var Rre=lR,Mre=uR,Are=dR,wr="Accordion",Ore=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[fx,Tre,Pre]=jc(wr),[kf]=gn(wr,[Pre,iR]),hx=iR(),mR=y.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,c=r;return i.jsx(fx.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?i.jsx(Fre,{...c,ref:t}):i.jsx(Ire,{...o,ref:t})})});mR.displayName=wr;var[fR,Dre]=kf(wr),[hR,_re]=kf(wr,{collapsible:!1}),Ire=y.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:c=!1,...u}=e,[m,f]=ar({prop:n,defaultProp:r??"",onChange:o,caller:wr});return i.jsx(fR,{scope:e.__scopeAccordion,value:y.useMemo(()=>m?[m]:[],[m]),onItemOpen:f,onItemClose:y.useCallback(()=>c&&f(""),[c,f]),children:i.jsx(hR,{scope:e.__scopeAccordion,collapsible:c,children:i.jsx(pR,{...u,ref:t})})})}),Fre=y.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...c}=e,[u,m]=ar({prop:n,defaultProp:r??[],onChange:o,caller:wr}),f=y.useCallback(p=>m((b=[])=>[...b,p]),[m]),h=y.useCallback(p=>m((b=[])=>b.filter(v=>v!==p)),[m]);return i.jsx(fR,{scope:e.__scopeAccordion,value:u,onItemOpen:f,onItemClose:h,children:i.jsx(hR,{scope:e.__scopeAccordion,collapsible:!0,children:i.jsx(pR,{...c,ref:t})})})}),[zre,Ef]=kf(wr),pR=y.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:c="vertical",...u}=e,m=y.useRef(null),f=Le(m,t),h=Tre(n),b=ji(o)==="ltr",v=ue(e.onKeyDown,S=>{if(!Ore.includes(S.key))return;const N=S.target,w=h().filter(D=>!D.ref.current?.disabled),C=w.findIndex(D=>D.ref.current===N),R=w.length;if(C===-1)return;S.preventDefault();let M=C;const j=0,T=R-1,P=()=>{M=C+1,M>T&&(M=j)},I=()=>{M=C-1,M<j&&(M=T)};switch(S.key){case"Home":M=j;break;case"End":M=T;break;case"ArrowRight":c==="horizontal"&&(b?P():I());break;case"ArrowDown":c==="vertical"&&P();break;case"ArrowLeft":c==="horizontal"&&(b?I():P());break;case"ArrowUp":c==="vertical"&&I();break}const _=M%R;w[_].ref.current?.focus()});return i.jsx(zre,{scope:n,disabled:r,direction:o,orientation:c,children:i.jsx(fx.Slot,{scope:n,children:i.jsx(Ce.div,{...u,"data-orientation":c,ref:f,onKeyDown:r?void 0:v})})})}),Mm="AccordionItem",[Lre,px]=kf(Mm),gR=y.forwardRef((e,t)=>
482{const{__scopeAccordion:n,value:r,...o}=e,c=Ef(Mm,n),u=Dre(Mm,n),m=hx(n),f=Fn(),h=r&&u.value.includes(r)||!1,p=c.disabled||e.disabled;return i.jsx(Lre,{scope:n,open:h,disabled:p,triggerId:f,children:i.jsx(Rre,{"data-orientation":c.orientation,"data-state":SR(h),...m,...o,ref:t,disabled:p,open:h,onOpenChange:b=>{b?u.onItemOpen(r):u.onItemClose(r)}})})});gR.displayName=Mm;var bR="AccordionHeader",yR=y.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ef(wr,n),c=px(bR,n);return i.jsx(Ce.h3,{"data-orientation":o.orientation,"data-state":SR(c.open),"data-disabled":c.disabled?"":void 0,...r,ref:t})});yR.displayName=bR;var J0="AccordionTrigger",xR=y.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ef(wr,n),c=px(J0,n),u=_re(J0,n),m=hx(n);return i.jsx(fx.ItemSlot,{scope:n,children:i.jsx(Mre,{"aria-disabled":c.open&&!u.collapsible||void 0,"data-orientation":o.orientation,id:c.triggerId,...m,...r,ref:t})})});xR.displayName=J0;var vR="AccordionContent",wR=y.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ef(wr,n),c=px(vR,n),u=hx(n);return i.jsx(Are,{role:"region","aria-labelledby":c.triggerId,"data-orientation":o.orientation,...u,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});wR.displayName=vR;function SR(e){return e?"open":"closed"}var Ure=mR,Vre=gR,Bre=yR,CR=xR,NR=wR;const Wre=Ure,kR=y.forwardRef(({className:e,...t},n)=>i.jsx(Vre,{ref:n,className:ce("border-b",e),...t}));kR.displayName="AccordionItem";const ER=y.forwardRef(({className:e,children:t,...n},r)=>i.jsx(Bre,{className:"flex",children:i.jsxs(CR,{ref:r,className:ce("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,i.jsx(ua,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));ER.displayName=CR.displayName;const jR=y.forwardRef(({className:e,children:t,...n},r)=>i.jsx(NR,{ref:r,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:i.jsx("div",{className:ce("pb-4 pt-0",e),children:t})}));jR.displayName=NR.displayName;const Kre={th:{badge:"ช่วยเหลือ",title:"คำถามที่พบบ่อย",description:"รวมคำตอบเกี่ยวกับการสั่งซื้อ การชำระเงิน การจัดส่ง การเช่ากล้อง และบริการของ World Camera",sections:[{title:"การสั่งซื้อและชำระเงิน",entries:[{question:"สั่งซื้อสินค้ากับ World Camera ได้อย่างไร?",answer:"เลือกสินค้าที่ต้องการใส่ตะกร้า จากนั้นไปที่หน้าชำระเงิน กรอกข้อมูลสำหรับติดต่อและจัดส่ง แล้วตรวจสอบรายการก่อนยืนยันคำสั่งซื้อ ทางร้านจะติดต่อกลับเพื่อยืนยันรายการและยอดชำระอีกครั้ง"},{question:"มีช่องทางชำระเงินอะไรบ้าง?",answer:"รองรับการชำระผ่าน PromptPay และ QR Code ตามที่แสดงในหน้าชำระเงิน หากต้องการชำระในรูปแบบอื่น หรือต้องการเอกสารสำหรับบริษัท สามารถขอใบเสนอราคาเพื่อให้ทีมงานแนะนำได้"},{question:"สินค้าที่แสดงบนเว็บไซต์มีพร้อมส่งทุกรุ่นหรือไม่?",answer:"สินค้าและจำนวนสต็อกอาจเปลี่ยนแปลงได้ หลังจากได้รับคำสั่งซื้อ ทีมงานจะตรวจสอบสต็อกและยืนยันความพร้อมก
482่อนจัดส่ง หากรุ่นที่ต้องการหมดสต็อก เราจะแนะนำรุ่นหรือทางเลือกที่ใกล้เคียงให้"}]},{title:"การจัดส่งและรับสินค้า",entries:[{question:"ใช้เวลาจัดส่งกี่วัน?",answer:"ระยะเวลาจัดส่งขึ้นอยู่กับพื้นที่ปลายทางและความพร้อมของสินค้า โดยทั่วไปทีมงานจะยืนยันกำหนดส่งให้หลังตรวจสอบคำสั่งซื้อและการชำระเงินเรียบร้อยแล้ว"},{question:"สามารถติดตามสถานะคำสั่งซื้อได้ที่ไหน?",answer:"เข้าเมนู “ติดตามสินค้า” ในเว็บไซต์ แล้วกรอกเลขคำสั่งซื้อและเบอร์โทรศัพท์ที่ใช้สั่งซื้อ หากต้องการสอบถามเพิ่มเติมสามารถติดต่อทีมงานได้โดยตรง"}]},{title:"บริการเช่ากล้องและอุปกรณ์",entries:[{question:"ต้องใช้เอกสารอะไรในการเช่าอุปกรณ์?",answer:"ผู้เช่าต้องแสดงบัตรประชาชนหรือหนังสือเดินทางฉบับจริง พร้อมเอกสารยืนยันที่อยู่ตามเงื่อนไขของร้าน และวางเงินมัดจำตามประเภทอุปกรณ์ที่เช่า"},{question:"รับและคืนอุปกรณ์เช่าที่ไหน?",answer:"การรับและคืนอุปกรณ์ดำเนินการที่ร้านสาขาหลักภายในเวลาทำการ กรุณาตรวจสอบวันและเวลาว่างของอุปกรณ์ก่อนทำรายการเช่า"}]},{title:"การคืนสินค้าและการรับประกัน",entries:[{question:"หากสินค้าเสียหรือมีปัญหาจากการผลิตต้องทำอย่างไร?",answer:"กรุณาติดต่อ World Camera โดยเร็ว พร้อมเลขคำสั่งซื้อและหลักฐานการซื้อ ทีมงานจะตรวจสอบอาการและประสานงานตามเงื่อนไขการรับประกันของผู้ผลิตหรือผู้นำเข้า"},{question:"สินค้า Clearance รับประกันหรือไม่?",answer:"สินค้า Clearance มีเงื่อนไขการรับประกันตามปกติ เว้นแต่จะมีการระบุเงื่อนไขเฉพาะไว้ในรายละเอียดสินค้า กรุณาตรวจสอบรายละเอียดก่อนยืนยันคำสั่งซื้อ"}]},{title:"สมาชิกและแต้มสะสม",entries:[{question:"แต้มสะสมได้จากอะไร?",answer:"สมาชิกจะได้รับ 1 แต้มต่อยอดซื้อสินค้า 1,000 บาท แต้มใช้เป็นส่วนลดค่าสินค้าได้สูงสุด 20% ของยอดสินค้า และไม่สามารถแลกเป็นเงินสดได้"},{question:"แต้มสะสมหมดอายุเมื่อไร?",answer:"แต้มสะสมมีอายุ 36 เดือนนับจากวันที่ได้รับ แต้มที่หมดอายุแล้วไม่สามารถนำกลับมาใช้ได้ สามารถตรวจสอบยอดคงเหลือและวันหมดอายุได้ที่หน้าแต้มของสมาชิก"}]}],stillNeedHelp:"ยังมีคำถามอยู่ใช่ไหม?",stillNeedHelpDescription:"ทีมงาน World Camera พร้อมช่วยแนะนำสินค้าและบริการให้เหมาะกับงานของคุณ",contactButton:"ติดต่อร้าน",quoteButton:"ขอใบเสนอราคา"},en:{badge:"Help Center",title:"Frequently Asked Questions",description:"Answers about ordering, payment, delivery, camera rental, and World Camera services.",sections:[{title:"Orders & Payment",entries:[{question:"How do I place an order with World Camera?",answer:"Add the products you want to your cart, continue to checkout, enter your contact and delivery details, then review and confirm your order. Our team will c
482ontact you to confirm availability and the final amount."},{question:"Which payment methods are available?",answer:"PromptPay and QR Code payment are available as shown at checkout. For other payment methods or company purchasing documents, request a quote and our team will help."},{question:"Are all products shown online in stock?",answer:"Availability can change. Our team checks stock and confirms availability after receiving your order. If an item is unavailable, we will suggest a similar option where possible."}]},{title:"Delivery & Order Tracking",entries:[{question:"How long does delivery take?",answer:"Delivery time depends on the destination and product availability. Our team will confirm the estimated dispatch date after your order and payment have been checked."},{question:"Where can I track my order?",answer:"Open Track Order on the website and enter your order number and the phone number used for the purchase. You can also contact our team for assistance."}]},{title:"Camera & Equipment Rental",entries:[{question:"What documents are needed to rent equipment?",answer:"Renters must present an original Thai national ID card or passport, supporting address documents according to store policy, and a deposit based on the equipment rented."},{question:"Where do I collect and return rental equipment?",answer:"Rental equipment is collected and returned at the main store during business hours. Please check equipment availability before booking."}]},{title:"Returns & Warranty",entries:[{question:"What should I do if a product has a manufacturing issue?",answer:"Contact World Camera as soon as possible with your order number and proof of purchase. Our team will assess the issue and coordinate support under the manufacturer or importer warranty."},{question:"Do Clearance items include a warranty?",answer:"Clearance items follow the standard warranty terms unless a specific condition is stated in the product details. Please review the details before confirming your order."}]},{title:"Membership & Points",entries:[{question:"How do I earn points?",answer:"Members earn 1 point for every ฿1,000 spent on products. Points can be used for up to 20% off the product subtotal and cannot be exchanged for cash."},{question:"When do points expire?",answer:"Points expire 36 months after they are earned. You can check your balance and expiry dates from the member points page."}]}],stillNeedHelp:"Still need help?",stillNeedHelpDescription:"Our team is ready to recommend the right products and services for your work.",contactButton:"Contact us",quoteButton:"Request a quote"},zh:{badge:"帮助中心",title:"常见问题",description:"查看关于购买、付款、配送、相机租借及 World Camera 服务的常见答案。",sections:[{title:"订单与付款",entries:[{question:"如何在 World Camera 下单?",answer:"将商品加入购物车,进入结账页面,填写联系及配送信息,确认订单内容后提交。我们的团队会联系您确认库存和最终金额。"},{question:"支持哪些付款方式?",answer:"结账页面支持 PromptPay 和二维码付款。如需其他付款方式或企业采购文件,可以提交询价申请。"},{question:"网站显示的商品都有库存吗?",answer:"库存可能随时变化。收到订单后,团队会再次确认库存;如果商品暂时缺货,我们会尽可能推荐相近的选择。"}]},{title:"配送与订单追踪",entries:[{question:"配送需要多长时间?",answer:"配送时间取决于目的地和商品库存。订单及付款确认后,团队会告知预计发货时间。"},{question:"在哪里可以追踪订单?",answer:"打开网站的“追踪订单”页面,输入订单号和下单时使用的电话号码即可查询。"}]},{title:"相机与器材租借",entries:[{question:"租借器材需要哪些文件?",answer:"租借人需出示身份证或护照原件、符合店铺要求的地址证明,并按照器材类型支付押金。"},{question:"在哪里领取和归还租借器材?",answer:"请在营业时间于主店领取和归还器材。预订前请先确认器材的可用日期。"}]},{title:"退货与保修",entries:[{question:"商品出现制造问题时应该怎么办?",answer:"请尽快联系 World Camera,并提供订单号和购买凭证。团队会检查问题并按照制造商或进口商的保修条款协助处理。"},{question:"清仓商品有保修吗?",answer:"清仓商品通常适用正常保修条款,除非商品详情中另有说明。下单前请仔细查看商品详情。"}]},{title:"会员与积分",entries:[{question:"如何获得积分?",answer:"会员每消费 ฿1,000 商品金额可获
482得 1 分。积分最多可抵扣商品小计的 20%,不可兑换现金。"},{question:"积分什么时候过期?",answer:"积分自获得之日起 36 个月后过期。您可以在会员积分页面查看余额和到期日期。"}]}],stillNeedHelp:"还有其他问题?",stillNeedHelpDescription:"World Camera 团队可以为您的工作推荐合适的产品和服务。",contactButton:"联系我们",quoteButton:"申请报价"}};function Hre(){const{lang:e}=Rt(),t=Kre[e];return i.jsxs("div",{className:"min-h-screen bg-background","data-testid":"faq-page",children:[i.jsxs("section",{className:"relative overflow-hidden border-b border-white/5 bg-card py-16 md:py-20",children:[i.jsx("div",{className:"absolute right-0 top-0 h-full w-1/2 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary/15 via-transparent to-transparent"}),i.jsx("div",{className:"container relative z-10 mx-auto px-4",children:i.jsxs("div",{className:"max-w-3xl",children:[i.jsxs("div",{className:"mb-5 inline-flex items-center gap-2 rounded-full border border-primary/20 bg-primary/10 px-3 py-1.5 text-xs font-bold uppercase tracking-widest text-primary",children:[i.jsx(S3,{className:"h-3.5 w-3.5"}),t.badge]}),i.jsx("h1",{className:"text-4xl font-bold tracking-tight text-white md:text-5xl",children:t.title}),i.jsx("p",{className:"mt-4 max-w-2xl text-lg leading-relaxed text-muted-foreground",children:t.description})]})})]}),i.jsxs("main",{className:"container mx-auto max-w-5xl px-4 py-12 md:py-16",children:[i.jsx("div",{className:"space-y-8",children:t.sections.map((n,r)=>i.jsxs("section",{className:"rounded-2xl border border-white/10 bg-white/[0.03] px-5 md:px-8","data-testid":`faq-section-${r}`,children:[i.jsx("h2",{className:"border-b border-white/10 py-5 text-xl font-bold text-white md:text-2xl",children:n.title}),i.jsx(Wre,{type:"single",collapsible:!0,children:n.entries.map((o,c)=>i.jsxs(kR,{value:`faq-${r}-${c}`,"data-testid":`faq-item-${r}-${c}`,children:[i.jsx(ER,{className:"text-left text-base text-white hover:no-underline md:text-lg",children:o.question}),i.jsx(jR,{className:"max-w-3xl text-sm leading-relaxed text-zinc-400 md:text-base",children:o.answer})]},o.question))})]},n.title))}),i.jsxs("section",{className:"mt-12 rounded-2xl border border-primary/20 bg-primary/5 p-6 md:flex md:items-center md:justify-between md:gap-8 md:p-8",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-primary/15 text-primary",children:i.jsx(Rb,{className:"h-6 w-6"})}),i.jsxs("div",{children:[i.jsx("h2",{className:"text-xl font-bold text-white",children:t.stillNeedHelp}),i.jsx("p",{className:"mt-1 text-sm leading-relaxed text-zinc-400",children:t.stillNeedHelpDescription})]})]}),i.jsxs("div",{className:"mt-5 flex flex-col gap-3 sm:flex-row md:mt-0 md:shrink-0",children:[i.jsx(xe,{variant:"outline",className:"border-white/15 text-white hover:bg-white/10",asChild:!0,children:i.jsx(pe,{href:"/contact",children:t.contactButton})}),i.jsx(xe,{className:"gap-2",asChild:!0,children:i.jsxs(pe,{href:"/services",children:[t.quoteButton," ",i.jsx(Ka,{className:"h-4 w-4"})]})})]})]})]})]})}function q4(e){return new Intl.DateTimeFormat("th-TH",{dateStyle:"medium"}).format(new Date(e))}function qre({type:e,tr:t}){const n={earn:"pointsTypeEarn",redeem:"pointsTypeRedeem",refund:"pointsTypeRefund",expire:"pointsTypeExpire",review:"pointsTypeReview"};return i.jsx("span",{children:t(n[e])})}function Xre(){const{tr:e}=Rt(),{isSignedIn:t,isLoaded:n}=Bn(),r=Xk({query:{queryKey:mf(),enabled:!!t,retry:!1}});if(!n)return i.jsx("div",{className:"min-h-[55dvh] grid place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})});if(!t)return i.jsxs("div",{className:"max-w-xl mx-auto px-4 py-20 text-center",children:[i.jsx(Ls,{className:"h-12 w-12 mx-auto mb-4 text-primary"}),i.jsx("h1",{className:"text-2xl font-bold mb-3",children:e("pointsPageTitle")}),i.jsx("p",{className:"text-muted-foreground mb-6",children:e("pointsSignInPrompt")}),i.jsxs("div",{className:"flex justify-center gap-3",children:[i.jsx(pe,{href:"/sign-in",children:i.jsx(xe,{children:e("signIn")})}),i.jsx(pe,{href:"/sign-up",children:i.jsx(xe,{variant:"outline",children:e("signUp")})})]})]});if(r.isLoading)return i.jsx("div",{className:"min-h-[55dvh] grid place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})});if(r.isError||!r.data)return i.jsxs("div",{className:"max-w-xl mx-auto px-4 py-20 text-center",children:[i.jsx(pn,{className:"h-12 w-12 mx-auto mb-4 text-primary"}),i.jsx("h1",{className:"text-2xl font-bold mb-3",children:e("pointsPageTitle")}),i.jsx("p",{className:"text-muted-foreground mb-6",children:"ไม่สามารถโหลดข้อมูลคะแนนได้ในขณะนี้ กรุณาลองใหม่อีกครั้ง"}),i.jsx(xe,{onClick:()=>r.refetch(),children:"ลองใหม่"})]});const{balance:o,expiringSoon:c,history:u}=r.data;return i.jsxs("div",{className:"max-w-5xl mx-auto px-4 py-10 md:py-14",children:[i.jsxs("div",{className:"mb-8",children:[i.jsx("p",{className:"text-primary text-sm font-bold tracking-widest uppercase",children:"World Camera Member"}),i.jsx("h1",{className:"text-3xl font-bold mt-2",children:e("pointsPageTitle")}),i.jsx(pe,{href:"/account",className:"inline-block mt-3 text-sm font-medium text-primary hover:underline",children:"ดูคำสั่งซื้อของฉัน →"})]}),i.jsxs("section",{className:"grid md:grid-cols-[1.2fr_0.8fr] gap-5 mb-10",children:[i.jsx("div",{className:"rounded-2xl bg-gradient-to-br from-primary to-red-800 text-white p-7 md:p-8 shadow-xl shadow-primary/15",children:i.jsxs("div",{className:"flex items-start justify-between gap-4",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-white/75 font-medium",children:e("pointsBalance")}),i.jsx("p",{className:"text-5xl font-bold mt-3 tabular-nums",children:o.toLocaleStr
482ing("th-TH")}),i.jsxs("p",{className:"text-white/75 mt-2",children:[e("pointsUnit")," · 1 ",e("pointsUnit")," = ฿1"]})]}),i.jsx(v_,{className:"h-10 w-10 text-white/80"})]})}),i.jsxs("div",{className:"rounded-2xl border border-white/10 bg-card p-6",children:[i.jsxs("div",{className:"flex items-center gap-2 text-primary mb-3",children:[i.jsx(BD,{className:"h-5 w-5"}),i.jsx("h2",{className:"font-semibold",children:e("pointsExpiringSoon")})]}),c?i.jsxs(i.Fragment,{children:[i.jsxs("p",{className:"text-3xl font-bold",children:[c.points.toLocaleString("th-TH")," ",i.jsx("span",{className:"text-base font-medium text-muted-foreground",children:e("pointsUnit")})]}),i.jsxs("p",{className:"text-sm text-muted-foreground mt-2",children:[e("pointsExpiresOn")," ",q4(c.expiresAt)]})]}):i.jsx("p",{className:"text-sm text-muted-foreground mt-5",children:e("pointsNoExpiring")})]})]}),i.jsxs("section",{className:"rounded-2xl border border-white/10 bg-card p-5 md:p-7 mb-8",children:[i.jsxs("h2",{className:"text-xl font-bold flex items-center gap-2 mb-5",children:[i.jsx(J_,{className:"h-5 w-5 text-primary"})," ",e("pointsHistory")]}),u.length===0?i.jsx("p",{className:"text-muted-foreground py-5",children:e("pointsNoHistory")}):i.jsx("div",{className:"divide-y divide-white/10",children:u.map(m=>i.jsxs("div",{className:"flex items-center justify-between gap-4 py-4",children:[i.jsxs("div",{className:"min-w-0",children:[i.jsx("p",{className:"font-medium",children:i.jsx(qre,{type:m.type,tr:e})}),i.jsxs("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:[m.note||m.orderNumber||"World Camera",m.orderNumber&&m.note?` · ${m.orderNumber}`:""]}),i.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:q4(m.createdAt)})]}),i.jsxs("span",{className:`shrink-0 text-lg font-bold tabular-nums ${m.points>0?"text-emerald-400":"text-red-400"}`,children:[m.points>0?"+":"",m.points.toLocaleString("th-TH")]})]},m.id))})]}),i.jsxs("section",{className:"rounded-2xl border border-white/10 bg-card p-5 md:p-7",children:[i.jsx("h2",{className:"text-xl font-bold mb-4",children:e("pointsRulesTitle")}),i.jsx(yc,{className:"bg-white/10 mb-4"}),i.jsxs("ol",{className:"space-y-3 text-sm leading-6 text-muted-foreground list-decimal pl-5",children:[i.jsx("li",{children:e("pointsRule1")}),i.jsx("li",{children:e("pointsRule2")}),i.jsx("li",{children:e("pointsRule3")}),i.jsx("li",{children:e("pointsRule4")})]})]})]})}const Yre={pending:{label:"รอดำเนินการ",style:"bg-amber-500/10 text-amber-600 border-amber-500/30"},confirmed:{label:"ร้านยืนยันคำสั่งซื้อแล้ว",style:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"},cancelled:{label:"ยกเลิกแล้ว",style:"bg-zinc-500/10 text-muted-foreground border-zinc-500/30"}};function $re(){const{isLoaded:e,isSignedIn:t,user:n}=Bn(),r=qH({query:{queryKey:[...Kk(),n?.id??"signed-out"],enabled:e&&!!(t&&n?.id),staleTime:0,refetchInterval:3e4,refetchOnWindowFocus:!0,retry:!1}});return e?t?i.jsxs("div",{className:"max-w-5xl mx-auto px-4 py-10 md:py-14",children:[i.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-4 mb-8",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-primary text-sm font-bold tracking-widest uppercase",children:"World Camera Member"}),i.jsx("h1",{className:"text-3xl font-bold mt-2",children:"คำสั่งซื้อของฉัน"}),i.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:"รายการที่สั่งซื้อขณะเข้าสู่ระบบสมาชิก · สถานะอัปเดตจากร้าน"})]}),i.jsxs(xe,{variant:"outline",onClick:()=>r.refetch(),disabled:r.isFetching,className:"gap-2",children:[i.jsx(M3,{className:`h-4 w-4 ${r.isFetching?"animate-spin":""}`})," อัปเดตสถานะ"]})]}),i.jsx("div",{className:"mb-7",children:i.jsx(pe,{href:"/points",className:"text-sm font-medium text-primary hover:underline",children:"ดูคะแนนสมาชิก →"})}),r.isLoading?i.jsxs("div",{className:"py-20 grid place-items-center",role:"status",children:[i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"}),i.jsx("span",{className:"mt-3 text-muted-foreground",children:"กำลังโหลดคำสั่งซื้อ"})]}):r.isError?i.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 text-center",children:[i.jsx(pn,{className:"h-10 w-10 mx-auto text-primary mb-3"}),i.jsx("p",{className:"font-semibold",children:"ไม่สามารถโหลดคำสั่งซื้อได้"}),i.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:"กรุณาลองใหม่อีกครั้ง"}),i.jsx(xe,{className:"mt-5",onClick:()=>r.refetch(),children:"ลองใหม่"})]}):r.data?.orders.length?i.jsxs("div",{className:"space-y-5",children:[r.data.orders.map(o=>{const c=Yre[o.status];return i.jsxs("article",{className:"rounded-2xl border border-border bg-card overflow-hidden",children:[i.jsxs("div",{className:"px-5 py-4 md:px-7 flex flex-wrap gap-3 justify-between items-start border-b border-border",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-xs text-muted-foreground",children:"หมายเลขคำสั่งซื้อ"}),i.jsx("h2",{className:"font-bold text-lg tracking-wide",children:o.orderNumber}),i.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:new Date(o.createdAt).toLocaleStr
482ing("th-TH",{dateStyle:"medium",timeStyle:"short"})})]}),i.jsxs("span",{className:`inline-flex items-center rounded-full border px-3 py-1.5 text-xs font-semibold ${c.style}`,children:[i.jsx(R3,{className:"h-3.5 w-3.5 mr-1.5"}),c.label]})]}),i.jsx("div",{className:"px-5 py-3 md:px-7",children:o.items.map((u,m)=>i.jsxs("div",{className:"flex justify-between gap-4 py-2 text-sm",children:[i.jsxs("span",{children:[u.name," ",i.jsxs("span",{className:"text-muted-foreground",children:["× ",u.quantity]})]}),i.jsxs("span",{className:"shrink-0 tabular-nums",children:["฿",u.lineTotal.toLocaleString("th-TH")]})]},`${m}-${u.name}`))}),i.jsxs("div",{className:"px-5 py-4 md:px-7 bg-muted/40 flex items-center justify-between font-bold",children:[i.jsx("span",{children:"ยอดรวมคำสั่งซื้อ"}),i.jsxs("span",{className:"text-primary tabular-nums",children:["฿",o.total.toLocaleString("th-TH")]})]})]},o.orderNumber)}),r.data.orders.length===100&&i.jsx("p",{className:"text-center text-sm text-muted-foreground",children:"แสดงคำสั่งซื้อ 100 รายการล่าสุด"}),i.jsx("p",{className:"text-xs text-muted-foreground text-center",children:"สถานะยืนยันคำสั่งซื้อไม่ใช่หลักฐานว่าชำระเงินแล้วหรือจัดส่งแล้ว"})]}):i.jsxs("div",{className:"rounded-2xl border border-border bg-card p-10 text-center",children:[i.jsx(lc,{className:"h-12 w-12 mx-auto mb-4 text-primary"}),i.jsx("h2",{className:"text-xl font-bold",children:"ยังไม่มีคำสั่งซื้อในบัญชีนี้"}),i.jsx("p",{className:"text-muted-foreground text-sm mt-3 mb-6",children:"คำสั่งซื้อที่ทำก่อนเข้าสู่ระบบหรือสั่งในฐานะแขกจะไม่แสดงในหน้านี้"}),i.jsx(pe,{href:"/shop",children:i.jsx(xe,{children:"เลือกซื้อสินค้า"})})]})]}):i.jsxs("div",{className:"max-w-xl mx-auto px-4 py-20 text-center",children:[i.jsx(lc,{className:"h-12 w-12 mx-auto mb-4 text-primary"}),i.jsx("h1",{className:"text-2xl font-bold mb-3",children:"คำสั่งซื้อของฉัน"}),i.jsx("p",{className:"text-muted-foreground mb-6",children:"เข้าสู่ระบบเพื่อดูคำสั่งซื้อที่ทำขณะใช้บัญชีสมาชิก"}),i.jsxs("div",{className:"flex justify-center gap-3",children:[i.jsx(pe,{href:"/sign-in",children:i.jsx(xe,{children:"เข้าสู่ระบบ"})}),i.jsx(pe,{href:"/sign-up",children:i.jsx(xe,{variant:"outline",children:"สมัครสมาชิก"})})]})]}):i.jsx("div",{className:"min-h-[55dvh] grid place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})})}const Gre={pending:"รอยืนยันออเดอร์",ready:"พร้อมจ่าย",paid:"จ่ายแล้ว",void:"ยกเลิก"};function Zre(e){return new Intl.DateTimeFormat("th-TH",{dateStyle:"medium",timeStyle:"short"}).format(new Date(e))}function Qre(){const{isLoaded:e,isSignedIn:t}=Bn(),{toast:n}=xr(),r=bq({query:{queryKey:Yk(),enabled:!!t,retry:!1}});if(!e||t&&r.isLoading)return i.jsx("div",{className:"grid min-h-[55dvh] place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})});if(!t)return i.jsxs("div",{className:"mx-auto max-w-xl px-4 py-20 text-center",children:[i.jsx(Gl,{className:"mx-auto mb-4 h-12 w-12 text-primary"}),i.jsx("h1",{className:"mb-3 text-2xl font-bold",children:"Affiliate World Camera"}),i.jsx("p",{className:"text-muted-foreground",children:"เข้าสู่ระบบเพื่อรับลิงก์แนะนำและติดตามค่านายหน้า 2%"}),i.jsx(pe,{href:"/sign-in",className:"mt-6 inline-flex h-10 items-center rounded-lg bg-primary px-4 text-sm font-semibold text-white hover:bg-primary/90",children:"เข้าสู่ระบบ"})]});if(r.isError||!r.data)return i.jsxs("div",{className:"mx-auto max-w-xl px-4 py-20 text-center",children:[i.jsx(pn,{className:"mx-auto mb-4 h-12 w-12 text-primary"}),i.jsx("h1",{className:"mb-3 text-2xl font-bold",children:"เปิดหน้า Affiliate ไม่สำเร็จ"}),i.jsx("p",{className:"text-muted-foreground",children:"กรุณาลองใหม่อีกครั้ง"}),i.jsx(xe,{className:"mt-6",variant:"outline",onClick:()=>r.refetch(),children:"ลองใหม่"})]});const{code:o,commissionRate:c,referrals:u,summary:m}=r.data,f="/".replace(/\/$/,""),h=`${window.location.origin}${f||""}/?ref=${o}`,p=()=>{navigator.clipboard.writeText(h).then(()=>n({title:"คัดลอกลิงก์ Affiliate แล้ว",description:o})).catch(()=>n({title:"คัดลอกไม่สำเร็จ",description:"กรุณาคัดลอกลิงก์ด้วยตนเอง",variant:"destructive"}))};return i.jsxs("div",{className:"mx-auto max-w-6xl px-4 py-10 md:py-14",children:[i.jsxs("div",{className:"mb-8 flex flex-col gap-4 md:flex-row md:items-end md:justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-sm font-bold uppercase tracking-widest text-primary",children:"Affiliate program"}),i.jsxs("h1",{className:"mt-2 flex items-center gap-3 text-3xl font-bold",children:[i.jsx(Gl,{className:"h-7 w-7 text-primary"}),"แนะนำเพื่อน รับค่านายหน้า ",c,"%"]}),i.jsx("p",{className:"mt-2 text-muted-foreground",children:"ค่านายหน้าจะพร้อมจ่ายเมื่อร้านยืนยันคำสั่งซื้อ"})]}),i.jsx(pe,{href:"/affiliate/join",className:"text-sm text-muted-foreground transition-colors hover:text-primary",children:"ดูเงื่อนไข Affiliate"})]}),i.jsx("section",{className:"rounded-2xl border border-primary/30 bg-primary/10 p-5 md:p-7",children:i.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between",children:[i.jsxs("div",{className:"min-w-0",children:[i.jsx("p",{className:"text-sm font-semibold text-primary",children:"ลิงก์แนะนำของคุณ"}),i.jsx("p",{className:"mt-2 break-all rounded-lg border border-white/10 bg-background px-3 py-2 font-mono text-sm text-foreground","data-testid":"text-affiliate-link",children:h}),i.jsxs("p",{className:"mt-2 text-xs text-muted-foreground",children:["รหัส Affiliate: ",i.jsx("strong",{className:"text-foreground",children:o})]})]}),i.jsxs(xe,{onClick:p,className:"shrink-0","data-testid":"button-copy-affiliate-link",children:[i.jsx(N3,{className:"mr-2 h-4 w-4"})," คัดลอกลิงก์"]})]})}),i.jsx("section",{className:"mt-6 grid gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[["ออเดอร์จากลิงก์",m.totalOrders.toLocaleStr
482ing("th-TH"),j_],["รอยืนยัน",Ve(m.pendingAmount),Ab],["พร้อมจ่าย",Ve(m.readyAmount),er],["จ่ายแล้ว",Ve(m.paidAmount),Gl]].map(([b,v,S])=>{const N=S;return i.jsxs("article",{className:"rounded-2xl border border-white/10 bg-card p-5",children:[i.jsx(N,{className:"h-5 w-5 text-primary"}),i.jsx("p",{className:"mt-4 text-sm text-muted-foreground",children:b}),i.jsx("p",{className:"mt-1 text-2xl font-bold",children:v})]},b)})}),i.jsxs("section",{className:"mt-8 rounded-2xl border border-white/10 bg-card p-5 md:p-7",children:[i.jsx("h2",{className:"text-xl font-bold",children:"ประวัติการแนะนำ"}),i.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"เพื่อความเป็นส่วนตัว ระบบจะแสดงเฉพาะหมายเลขคำสั่งซื้อและสถานะ"}),u.length===0?i.jsx("div",{className:"mt-6 rounded-xl border border-dashed border-white/15 px-6 py-12 text-center text-muted-foreground",children:"ยังไม่มีคำสั่งซื้อจากลิงก์ของคุณ"}):i.jsx("div",{className:"mt-6 overflow-x-auto",children:i.jsxs("table",{className:"w-full min-w-[640px] text-left text-sm",children:[i.jsx("thead",{className:"border-b border-white/10 text-muted-foreground",children:i.jsxs("tr",{children:[i.jsx("th",{className:"px-3 py-3 font-medium",children:"คำสั่งซื้อ"}),i.jsx("th",{className:"px-3 py-3 font-medium",children:"วันที่"}),i.jsx("th",{className:"px-3 py-3 font-medium",children:"ยอดสุทธิ"}),i.jsx("th",{className:"px-3 py-3 font-medium",children:"ค่านายหน้า"}),i.jsx("th",{className:"px-3 py-3 font-medium",children:"สถานะ"})]})}),i.jsx("tbody",{children:u.map(b=>i.jsxs("tr",{className:"border-b border-white/5 last:border-0",children:[i.jsx("td",{className:"px-3 py-4 font-medium",children:b.orderNumber}),i.jsx("td",{className:"px-3 py-4 text-muted-foreground",children:Zre(b.createdAt)}),i.jsx("td",{className:"px-3 py-4",children:Ve(b.orderTotal)}),i.jsx("td",{className:"px-3 py-4 font-semibold text-primary",children:Ve(b.commissionAmount)}),i.jsx("td",{className:"px-3 py-4",children:i.jsx("span",{className:"rounded-full bg-white/10 px-2.5 py-1 text-xs",children:Gre[b.commissionStatus]})})]},b.orderNumber))})]})})]})]})}const Jre=[{icon:Gl,title:"รับค่านายหน้า 2%",description:"รับค่านายหน้า 2% จากยอดสุทธิของคำสั่งซื้อ หลังหักส่วนลดจากแต้มสะสม"},{icon:ui,title:"ระบบตรวจสอบโดยร้าน",description:"ระบบจะตรวจสอบรหัส Affiliate และป้องกันการใช้รหัสของตัวเองกับคำสั่งซื้อ"},{icon:er,title:"ค่านายหน้าเมื่อออเดอร์ได้รับการยืนยัน",description:"ค่านายหน้าจะอยู่ในสถานะรอยืนยันก่อน และพร้อมจ่ายเมื่อร้านยืนยันคำสั่งซื้อแล้ว"},{icon:Ab,title:"ติดตามสถานะได้ด้วยตัวเอง",description:"ดูรหัส Affiliate ลิงก์แนะนำ จำนวนออเดอร์ และสถานะค่านายหน้าได้จากหน้า Affiliate"}];function eae(){const{isLoaded:e,isSignedIn:t}=Bn(),[,n]=ts(),[r,o]=y.useState(!1),c=()=>{r&&n(t?"/affiliate":"/sign-in")};return i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsx("section",{className:"border-b border-white/5 bg-card py-14 md:py-20",children:i.jsx("div",{className:"mx-auto max-w-5xl px-4",children:i.jsxs("div",{className:"max-w-3xl",children:[i.jsx("p",{className:"text-sm font-bold uppercase tracking-[0.2em] text-primary",children:"World Camera Affiliate"}),i.jsxs("h1",{className:"mt-3 text-4xl font-bold tracking-tight md:text-5xl",children:["แนะนำกล้องที่คุณชอบ",i.jsx("br",{}),"รับค่านายหน้า 2%"]}),i.jsx("p",{className:"mt-5 max-w-2xl text-lg leading-relaxed text-muted-foreground",children:"แชร์ลิงก์สินค้า World Camera ให้เพื่อนหรือผู้ติดตาม เมื่อมีคำสั่งซื้อผ่านลิงก์ของคุณ ระบบจะติดตามและคำนวณค่านายหน้าให้อัตโนมัติ"})]})})}),i.jsxs("main",{className:"mx-auto max-w-5xl px-4 py-10 md:py-14",children:[i.jsxs("section",{children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest text-primary",children:"Program terms"}),i.jsx("h2",{className:"mt-2 text-2xl font-bold",children:"เงื่อนไขการเข้าร่วม"})]}),i.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:Jre.map(({icon:u,title:m,description:f})=>i.jsxs("article",{className:"rounded-2xl border border-white/10 bg-card p-5",children:[i.jsx(u,{className:"h-6 w-6 text-primary"}),i.jsx("h3",{className:"mt-4 font-bold",children:m}),i.jsx("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:f})]},m))})]}),i.jsxs("section",{className:"mt-10 rounded-2xl border border-primary/25 bg-primary/5 p-5 md:p-7",children:[i.jsx("h2",{className:"text-xl font-bold",children:"ข้อตกลงการใช้งาน Affiliate"}),i.jsxs("ul",{className:"mt-4 space-y-3 text-sm leading-relaxed text-muted-foreground",children:[i.jsxs("li",{className:"flex gap-3",children:[i.jsx("span",{className:"text-primary",children:"•"}),i.jsx("span",{children:"ต้องเข้าสู่ระบบสมาชิกก่อนสมัครและใช้งานลิงก์ Affiliate"})]}),i.jsxs("li",{className:"flex gap-3",children:[i.jsx("span",{className:"text-primary",children:"•"}),i.jsx("span",{children:"ระบบเก็บการอ้างอิงจากลิงก์ครั้งแรกไว้ 30 วัน และใช้รหัสที่ถูกตรวจสอบโดยเซิร์ฟเวอร์เท่านั้น"})]}),i.jsxs("li",{className:"flex gap-3",children:[i.jsx("span",{className:"text-primary",children:"•"}),i.jsx("span",{children:"ค่านายหน้าจะไม่เกิดขึ้นกับคำสั่งซื้อที่ยกเลิก และร้านอาจยกเลิกรายการที่พบการใช้งานผิดเงื่อนไข"})]}),i.jsxs("li",{className:"flex gap-3",children:[i.jsx("span",{className:"text-primary",children:"•"}),i.jsx("span",{children:"World Camera ขอสงวนสิทธิ์ตรวจสอบและปรับสถานะค่านายหน้าตามสถานะคำสั่งซื้อจริง"})]})]})]}),i.jsxs("section",{className:"mt-10 rounded-2xl border border-white/10 bg-card p-5 md:p-7",children:[i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(jm,{id:"affiliate-terms",checked:r,onCheckedChange:u=>o(u===!0),disabled:!e,className:"mt-1","data-testid":"checkbox-affiliate-terms"}),i.jsx("label",{htmlFor:"affiliate-terms",className:"cursor-pointer text-sm leading-relaxed text-muted-foreground",children:"ฉันได้อ่านและยอมรับเงื่อนไขการเข้าร่วม Affiliate ของ World Camera"})]}),i.jsxs("div",{className:"mt-6 flex flex-col gap-3 sm:flex-row sm:items-center",children:[i.jsxs(xe,{type:"button",onClick:c,disabled:!e||!r,className:"gap-2","data-testid":"button-join-affiliate",children:[t?"สมัครและดูรหัส Affiliate":"เข้าสู่ระบบเพื่อสมัคร",i.jsx(Ka,{className:"h-4 w-4"})]}),t&&i.jsx(pe,{href:"/affiliate",className:"text-sm text-muted-foreground transition-colors hover:text-primary",children:"มีบัญชี Affiliate อยู่แล้ว? ดูแดชบอร์ด"})]})]})]})]})}function tae(e){return new Intl.DateTimeFormat("th-TH",{dateStyle:"medium",timeStyle:"short"}).format(new Date(e))}function nae(e){return new Intl.DateTimeFormat("th-TH",{dateStyle:"medium"}).format(new Date(e))}function rae(){const{isSignedIn:e,isLoaded:t}=Bn(),{toast:n}=xr(),[r,o]=y.useState(null),c=wq(void 0,{query:{queryKey:$k(),enabled:!!e,retry:!1}}),u=$q(),m=Jq(),f=(p,b)=>{o(p),(b==="confirm"?u:m).mutate({orderNumber:p},{onSuccess:S=>{n({title:b==="confirm"?"ยืนยันคำสั่งซื้อแล้ว":"ยกเลิกคำสั่งซื้อแล้ว",description:b==="confirm"&&S.pointsEarned?`มอบ ${S.pointsEarned.toLocaleStr
482ing("th-TH")} แต้มให้ลูกค้าแล้ว`:void 0}),c.refetch()},onError:S=>{n({title:"ดำเนินการไม่สำเร็จ",description:S instanceof Error?S.message:"กรุณาลองใหม่",variant:"destructive"})},onSettled:()=>o(null)})};if(!t||c.isLoading)return i.jsx("div",{className:"min-h-[55dvh] grid place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})});if(!e||c.isError)return i.jsxs("div",{className:"max-w-xl mx-auto px-4 py-20 text-center",children:[i.jsx(pn,{className:"h-12 w-12 mx-auto mb-4 text-primary"}),i.jsx("h1",{className:"text-2xl font-bold mb-3",children:"พื้นที่สำหรับพนักงานร้าน"}),i.jsx("p",{className:"text-muted-foreground",children:e?"บัญชีนี้ไม่มีสิทธิ์จัดการคำสั่งซื้อ หรือไม่สามารถโหลดข้อมูลได้":"กรุณาเข้าสู่ระบบด้วยบัญชีพนักงาน"})]});const h=c.data?.orders??[];return i.jsxs("div",{className:"max-w-6xl mx-auto px-4 py-10 md:py-14",children:[i.jsxs("div",{className:"flex items-start justify-between gap-4 mb-8",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-primary text-sm font-bold tracking-widest uppercase",children:"Staff only"}),i.jsxs("h1",{className:"text-3xl font-bold mt-2 flex items-center gap-3",children:[i.jsx(i_,{className:"h-7 w-7"})," จัดการคำสั่งซื้อ"]})]}),i.jsx(xe,{variant:"outline",onClick:()=>c.refetch(),disabled:c.isFetching,children:"รีเฟรช"})]}),h.length===0?i.jsx("div",{className:"rounded-2xl border border-dashed border-white/15 p-12 text-center text-muted-foreground",children:"ยังไม่มีคำสั่งซื้อ"}):i.jsx("div",{className:"space-y-4",children:h.map(p=>{const b=p.status==="pending",v=r===p.orderNumber;return i.jsxs("article",{className:"rounded-2xl border border-white/10 bg-card p-5 md:p-6",children:[i.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[i.jsx("h2",{className:"font-bold",children:p.orderNumber}),i.jsx("span",{className:`rounded-full px-2.5 py-1 text-xs font-bold ${p.status==="confirmed"?"bg-emerald-500/15 text-emerald-400":p.status==="cancelled"?"bg-red-500/15 text-red-400":"bg-amber-500/15 text-amber-300"}`,children:p.status}),p.isMember&&i.jsx("span",{className:"rounded-full bg-primary/15 px-2.5 py-1 text-xs font-bold text-primary",children:"สมาชิก"})]}),i.jsxs("p",{className:"mt-2 text-sm",children:[p.customerName," · ",p.phone]}),i.jsxs("p",{className:"mt-1 text-xs text-muted-foreground",children:[tae(p.createdAt)," · ",p.paymentMethod==="promptpay"?"PromptPay":"โอนธนาคาร"]})]}),i.jsxs("div",{className:"sm:text-right",children:[i.jsx("p",{className:"text-xl font-bold text-primary",children:Ve(p.total)}),p.pointsUsed>0&&i.jsxs("p",{className:"text-xs text-emerald-400 mt-1",children:["ใช้ ",p.pointsUsed.toLocaleString("th-TH")," แต้ม"]})]})]}),i.jsx("div",{className:"mt-4 rounded-xl bg-background/70 px-4 py-3 text-sm space-y-3",children:p.items.map(S=>i.jsxs("div",{className:"flex justify-between gap-4",children:[i.jsxs("div",{children:[i.jsxs("p",{children:[S.name," × ",S.quantity]}),i.jsx("p",{className:"mt-1 text-xs text-primary",children:S.preorderLeadDays===0?"สินค้าพร้อมส่ง":`Pre-Order · รับภายใน ${S.preorderLeadDays} วัน (ภายใน ${nae(S.estimatedAvailabilityDate)})`}),S.warrantyPlan&&i.jsxs("p",{className:"mt-1 text-xs text-emerald-400",children:[S.warrantyPlan==="world_warranty_plus"?"World Warranty Plus (8%)":"World Warranty (6.5%)"," · ",Ve(S.warrantyLineTotal)]})]}),i.jsx("span",{className:"shrink-0",children:Ve(S.lineTotal)})]},`${S.name}-${S.quantity}`))}),p.affiliateCode&&i.jsxs("div",{className:"mt-3 rounded-xl border border-primary/20 bg-primary/5 px-4 py-3 text-sm",children:[i.jsx("span",{className:"font-semibold text-primary",children:"Affiliate: "}),i.jsx("span",{className:"font-mono",children:p.affiliateCode}),p.affiliateCommissionAmount!==void 0&&i.jsxs("span",{className:"text-muted-foreground",children:[" ","· ค่านายหน้า ",Ve(p.affiliateCommissionAmount),p.affiliateCommissionStatus==="paid"?" (จ่ายแล้ว)":p.affiliateCommissionStatus==="ready"?" (พร้อมจ่าย)":""]})]}),b&&i.jsxs("div",{className:"mt-5 flex flex-wrap gap-3",children:[i.jsxs(xe,{onClick:()=>f(p.orderNumber,"confirm"),disabled:v,children:[v?i.jsx(yt,{className:"h-4 w-4 mr-2 animate-spin"}):i.jsx(er,{className:"h-4 w-4 mr-2"})," ยืนยันชำระเงิน"]}),i.jsxs(xe,{variant:"outline",className:"border-red-500/30 text-red-400 hover:bg-red-500/10 hover:text-red-300",onClick:()=>f(p.orderNumber,"cancel"),disabled:v,children:[i.jsx(r_,{className:"h-4 w-4 mr-2"})," ยกเลิกคำสั่งซื้อ"]})]})]},p.orderNumber)})})]})}function aae(e){return new Intl.DateTimeFormat("th-TH",{dateStyle:"medium",timeStyle:"short"}).format(new Date(e))}function sae(){const{isSignedIn:e,isLoaded:t}=Bn(),{toast:n}=xr(),[r,o]=y.useState({}),[c,u]=y.useState(null),m=Vq({query:{queryKey:Gk(),enabled:!!e,retry:!1}}),f=Hq(),h=v=>{u(v),f.mutate({commissionId:v,data:{note:r[v]||void 0}},{onSuccess:()=>{n({title:"บันทึกการจ่ายค่านายหน้าแล้ว"}),m.refetch()},onError:()=>n({title:"บันทึกไม่สำเร็จ",description:"กรุณาลองใหม่",variant:"destructive"}),onSettled:()=>u(null)})};if(!t||m.isLoading)return i.jsx("div",{className:"grid min-h-[55dvh] place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})});if(!e||m.isError||!m.data)return i.jsxs("div",{className:"mx-auto max-w-xl px-4 py-20 text-center",children:[i.jsx(pn,{className:"mx-auto mb-4 h-12 w-12 text-primary"}),i.jsx("h1",{className:"mb-3 text-2xl font-bold",children:"พื้นที่สำหรับพนักงานร้าน"}),i.jsx("p",{className:"text-muted-foreground",children:e?"บัญชีนี้ไม่มีสิทธิ์จัดการ Affiliate หรือไม่สามารถโหลดข้อมูลได้":"กรุณาเข้าสู่ระบบด้วยบัญชีพนักงาน"})]});const{affiliates:p,commissions:b}=m.data;return i.jsxs("div",{className:"mx-auto max-w-6xl px-4 py-10 md:py-14",children:[i.jsxs("div",{className:"mb-8 flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-sm font-bold uppercase tracking-widest text-primary",children:"Staff only"}),i.jsxs("h1",{className:"mt-2 flex items-center gap-3 text-3xl font-bold",children:[i.jsx(Gl,{className:"h-7 w-7"})," จัดการ Affiliate"]}),i.jsx("p",{className:"mt-2 text-muted-foreground",children:"ค่านายหน้า 2% จะปรากฏที่นี่หลังยืนยันออเดอร์"})]}),i.jsxs(xe,{variant:"outline",onClick:()=>m.refetch(),disabled:m.isFetching,children:[i.jsx(M3,{className:"mr-2 h-4 w-4"})," รีเฟรช"]})]}),i.jsxs("section",{className:"grid gap-4 md:grid-cols-3",children:[i.jsxs("article",{className:"rounded-2xl border border-white/10 bg-card p-5",children:[i.jsx("p",{className:"text-sm text-muted-foreground",children:"Affiliate ทั้งหมด"}),i.jsx("p",{className:"mt-2 text-3xl font-bold",children:p.length})]}),i.jsxs("article",{className:"rounded-2xl border border-white/10 bg-card p-5",children:[i.jsx("p",{className:"text-sm text-muted-foreground",children:"ค่านายหน้าพร้อมจ่าย"}),i.jsx("p",{className:"mt-2 text-3xl font-bold text-primary",children:Ve(p.reduce((v,S)=>v+S.readyAmount,0))})]}),i.jsxs("article",{className:"rounded-2xl border border-white/10 bg-card p-5",children:[i.jsx("p",{className:"text-sm text-muted-foreground",children:"à¸
482ˆà¹ˆà¸²à¸¢à¹à¸¥à¹‰à¸§à¸—ั้งหมด"}),i.jsx("p",{className:"mt-2 text-3xl font-bold",children:Ve(p.reduce((v,S)=>v+S.paidAmount,0))})]})]}),i.jsxs("section",{className:"mt-8 rounded-2xl border border-white/10 bg-card p-5 md:p-7",children:[i.jsxs("h2",{className:"flex items-center gap-2 text-xl font-bold",children:[i.jsx(Ab,{className:"h-5 w-5 text-primary"})," รายการค่านายหน้า"]}),b.length===0?i.jsx("div",{className:"mt-6 rounded-xl border border-dashed border-white/15 px-6 py-12 text-center text-muted-foreground",children:"ยังไม่มีค่านายหน้าจากออเดอร์ที่ยืนยันแล้ว"}):i.jsx("div",{className:"mt-6 space-y-3",children:b.map(v=>{const S=v.status==="ready",N=c===v.id;return i.jsx("article",{className:"rounded-xl border border-white/10 bg-background/60 p-4",children:i.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[i.jsx("p",{className:"font-bold",children:v.orderNumber}),i.jsx("span",{className:"rounded-full bg-primary/10 px-2 py-0.5 text-xs font-semibold text-primary",children:v.status==="ready"?"พร้อมจ่าย":v.status==="paid"?"จ่ายแล้ว":v.status})]}),i.jsxs("p",{className:"mt-1 text-sm text-muted-foreground",children:["Affiliate: ",v.affiliateName||"สมาชิก"," ·"," ",v.affiliateCode," · ยอดคำสั่งซื้อ"," ",Ve(v.orderTotal)]}),i.jsxs("p",{className:"mt-2 font-semibold text-primary",children:["ค่านายหน้า ",Ve(v.commissionAmount)]}),v.paidAt&&i.jsxs("p",{className:"mt-1 text-xs text-muted-foreground",children:["จ่ายเมื่อ ",aae(v.paidAt),v.payoutNote?` · ${v.payoutNote}`:""]})]}),S&&i.jsxs("div",{className:"flex w-full flex-col gap-2 sm:flex-row lg:w-[360px]",children:[i.jsx(ct,{value:r[v.id]??"",onChange:w=>o(C=>({...C,[v.id]:w.target.value})),placeholder:"หมายเหตุการโอน (ไม่บังคับ)",maxLength:500,"data-testid":`input-affiliate-payout-note-${v.id}`}),i.jsxs(xe,{onClick:()=>h(v.id),disabled:N,"data-testid":`button-mark-affiliate-paid-${v.id}`,children:[N&&i.jsx(yt,{className:"mr-2 h-4 w-4 animate-spin"}),"จ่ายแล้ว"]})]})]})},v.id)})})]})]})}function oae({customerId:e,onBack:t}){const n=Xs(),r=pX(e,{query:{queryKey:Qk(e),refetchInterval:3e3}}),o=xX(),[c,u]=y.useState(""),m=y.useRef(null),f=r.data,h=f?.messages||(Array.isArray(f)?f:[]),p=f?.customerName||f?.customerEmail||`Customer #${e}`;y.useEffect(()=>{h.length>0&&m.current?.scrollIntoView({behavior:"smooth"})},[h.length]);const b=v=>{v.preventDefault(),!(!c.trim()||o.isPending)&&o.mutate({customerId:e,data:{body:c.trim()}},{onSuccess:()=>{u(""),r.refetch(),n.invalidateQueries({queryKey:vy()})}})};return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"p-4 border-b border-white/10 bg-zinc-900/50 flex items-center gap-3 shrink-0",children:[i.jsx("button",{onClick:t,className:"md:hidden text-zinc-400 hover:text-white transition-colors","data-testid":"button-back-chat",children:i.jsx(w3,{className:"h-5 w-5"})}),i.jsx("div",{className:"font-bold text-sm truncate",children:p})]}),i.jsxs("div",{className:"flex-1 p-4 overflow-y-auto space-y-4",children:[r.isLoading&&h.length===0&&i.jsx("div",{className:"h-full flex items-center justify-center",children:i.jsx(yt,{className:"h-6 w-6 animate-spin text-primary"})}),h.map(v=>i.jsxs("div",{"data-testid":`admin-message-${v.id}`,className:`flex flex-col max-w-[80%] ${v.senderRole==="staff"?"ml-auto items-end":"mr-auto items-start"}`,children:[i.jsx("div",{className:`px-4 py-2.5 rounded-2xl text-[14px] ${v.senderRole==="staff"?"bg-primary text-white rounded-tr-sm":"bg-zinc-800 text-white rounded-tl-sm"}`,children:v.body}),i.jsx("span",{className:"text-[10px] text-zinc-500 mt-1 px-1",children:new Intl.DateTimeFormat("th-TH",{timeStyle:"short"}).format(new Date(v.createdAt))})]},v.id)),i.jsx("div",{ref:m})]}),i.jsx("div",{className:"p-3 bg-zinc-900/50 border-t border-white/10 shrink-0",children:i.jsxs("form",{onSubmit:b,className:"flex gap-2",children:[i.jsx(ct,{value:c,onChange:v=>u(v.target.value),placeholder:"พิมพ์ข้อความตอบกลับ...",className:"flex-1 bg-zinc-950 border-white/10 focus-visible:ring-primary h-11",disabled:o.isPending,"data-testid":"input-admin-chat-message"}),i.jsx(xe,{type:"submit",disabled:!c.trim()||o.isPending,className:"bg-primary hover:bg-primary/90 px-6 h-11","data-testid":"button-send-admin-message",children:o.isPending?i.jsx(yt,{className:"h-5 w-5 animate-spin"}):i.jsx(A3,{className:"h-5 w-5"})})]})})]})}function iae(){const{isSignedIn:e,isLoaded:t}=Bn(),[n,r]=y.useState(null),o=dX({query:{queryKey:vy(),enabled:!!e,refetchInterval:m=>m.state.status==="error"?!1:5e3,retry:!1}});if(!t)return i.jsx("div",{className:"min-h-[55dvh] grid place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})});if(e&&o.isLoading)return i.jsx("div",{className:"min-h-[55dvh] grid place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})});if(!e||o.isError)return i.jsxs("div",{className:"max-w-xl mx-auto px-4 py-20 text-center","data-testid":"status-admin-chat-access-denied",children:[i.jsx(pn,{className:"h-12 w-12 mx-auto mb-4 text-primary"}),i.jsx("h1",{className:"text-2xl font-bold mb-3",children:"พื้นที่สำหรับพนักงานร้าน"}),i.jsx("p",{className:"text-muted-foreground",children:"กรุณาเข้าสู่ระบบด้วยบัญชีพนักงาน หรือหากเข้าสู่ระบบแล้วบัญชีนี้ไม่มีสิทธิ์จัดการแชท"})]});const c=o.data,u=c?.conversations||(Array.isArray(c)?c:[]);return i.jsxs("div",{className:"max-w-6xl mx-auto px-4 py-6 md:py-10 h-[calc(100vh-140px)] min-h-[600px] flex flex-col",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[i.jsx(ic,{className:"h-6 w-6 text-primary"}),i.jsx("h1",{className:"text-2xl font-bold text-white",children:"à¸
482ˆà¸±à¸”การแชทลูกค้า"})]}),i.jsxs("div",{className:"flex-1 flex overflow-hidden bg-card border border-white/10 rounded-2xl shadow-xl",children:[i.jsxs("div",{className:`w-full md:w-80 border-r border-white/10 flex flex-col ${n?"hidden md:flex":"flex"}`,children:[i.jsx("div",{className:"p-4 border-b border-white/10 bg-zinc-900/50 shrink-0",children:i.jsxs("h2",{className:"font-bold flex items-center gap-2 text-sm",children:[i.jsx(vI,{className:"h-4 w-4 text-primary"})," ลูกค้าที่ติดต่อ"]})}),i.jsxs("div",{className:"flex-1 overflow-y-auto",children:[u.length===0&&i.jsx("div",{className:"p-8 text-center text-zinc-500 text-sm",children:"ยังไม่มีแชท"}),u.map(m=>i.jsxs("button",{onClick:()=>r(m.customerId),"data-testid":`conversation-${m.customerId}`,className:`w-full text-left p-4 border-b border-white/5 transition-colors hover:bg-white/5 ${n===m.customerId?"bg-white/5 border-l-2 border-l-primary":""}`,children:[i.jsxs("div",{className:"flex justify-between items-start mb-1",children:[i.jsx("span",{className:"font-bold text-sm truncate pr-2",children:m.customerName||m.customerEmail||`Customer #${m.customerId}`}),m.lastMessageAt&&i.jsx("span",{className:"text-[10px] text-zinc-500 whitespace-nowrap",children:new Intl.DateTimeFormat("th-TH",{timeStyle:"short"}).format(new Date(m.lastMessageAt))})]}),i.jsxs("div",{className:"flex justify-between items-center gap-2",children:[i.jsx("p",{className:"text-[13px] text-zinc-400 truncate flex-1",children:m.lastMessage||"เริ่มการสนทนาแล้ว"}),m.unreadForStaff>0&&i.jsx("span",{className:"bg-primary text-white text-[10px] font-bold px-1.5 py-0.5 rounded-full min-w-[1.25rem] text-center",children:m.unreadForStaff})]})]},m.customerId))]})]}),i.jsx("div",{className:`flex-1 flex flex-col bg-zinc-950/30 ${n?"flex":"hidden md:flex"}`,children:n?i.jsx(oae,{customerId:n,onBack:()=>r(null)}):i.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center text-zinc-600",children:[i.jsx(ic,{className:"h-12 w-12 mb-3 opacity-20"}),i.jsx("p",{className:"text-sm",children:"เลือกแชทเพื่อดูข้อความ"})]})})]})]})}const lae=[7,14,30];function cae(){const{isSignedIn:e,isLoaded:t}=Bn(),{toast:n}=xr(),r=Xs(),[o,c]=y.useState(""),[u,m]=y.useState(null),f=kq({query:{queryKey:N0(),enabled:!!e,retry:!1}}),h=Mq(),p=(v,S)=>{m(v),h.mutate({productId:v,data:{leadDays:S}},{onSuccess:()=>{r.invalidateQueries({queryKey:N0()}),r.invalidateQueries({queryKey:yy()}),n({title:"บันทึกกำหนดรับของแล้ว",description:`ลูกค้าจะเห็น Pre-Order รับภายใน ${S} วัน`})},onError:N=>{n({title:"บันทึกไม่สำเร็จ",description:N instanceof Error?N.message:"กรุณาลองใหม่อีกครั้ง",variant:"destructive"})},onSettled:()=>m(null)})};if(!t||f.isLoading)return i.jsx("div",{className:"grid min-h-[55dvh] place-items-center",children:i.jsx(yt,{className:"h-7 w-7 animate-spin text-primary"})});if(!e||f.isError)return i.jsxs("div",{className:"mx-auto max-w-xl px-4 py-20 text-center",children:[i.jsx(pn,{className:"mx-auto mb-4 h-12 w-12 text-primary"}),i.jsx("h1",{className:"mb-3 text-2xl font-bold",children:"พื้นที่สำหรับพนักงานร้าน"}),i.jsx("p",{className:"text-muted-foreground",children:e?"บัญชีนี้ไม่มีสิทธิ์จัดการ Pre-Order หรือไม่สามารถโหลดข้อมูลได้":"กรุณาเข้าสู่ระบบด้วยบัญชีพนักงาน"})]});const b=(f.data?.products??[]).filter(v=>v.name.toLocaleLowerCase().includes(o.trim().toLocaleLowerCase()));return i.jsxs("div",{className:"mx-auto max-w-6xl px-4 py-10 md:py-14",children:[i.jsxs("div",{className:"mb-8 flex flex-col gap-5 sm:flex-row sm:items-end sm:justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-sm font-bold uppercase tracking-widest text-primary",children:"Staff only"}),i.jsxs("h1",{className:"mt-2 flex items-center gap-3 text-3xl font-bold",children:[i.jsx(R3,{className:"h-7 w-7"})," ตั้งค่า Pre-Order"]}),i.jsx("p",{className:"mt-2 max-w-2xl text-muted-foreground",children:"เลือกกำหนดรับของของสินค้าแต่ละรุ่น ลูกค้าจะเห็นระยะเวลาเดียวกันบนหน้าสินค้าและ Checkout"})]}),i.jsx(ct,{value:o,onChange:v=>c(v.target.value),placeholder:"ค้นหาชื่อสินค้า",className:"sm:w-72","data-testid":"input-preorder-search"})]}),i.jsxs("div",{className:"overflow-hidden rounded-2xl border border-white/10 bg-card",children:[i.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] gap-4 border-b border-white/10 bg-white/[0.03] px-4 py-3 text-xs font-bold uppercase tracking-wider text-muted-foreground md:px-6",children:[i.jsx("span",{children:"สินค้า"}),i.jsx("span",{children:"รับภายใน"})]}),b.map(v=>{const S=u===v.productId;return i.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] items-center gap-4 border-b border-white/5 px-4 py-4 last:border-0 md:px-6",children:[i.jsxs("div",{className:"min-w-0",children:[i.jsx("p",{className:"font-semibold",children:v.name}),i.jsx("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:v.productId})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[S&&i.jsx(yt,{className:"h-4 w-4 animate-spin text-primary"}),i.jsx("div",{className:"flex rounded-lg border border-white/10 bg-background p-1",children:lae.map(N=>i.jsxs(xe,{type:"button",size:"sm",variant:v.leadDays===N?"default":"ghost",disabled:S,onClick:()=>p(v.productId,N),"data-testid":`button-preorder-${v.productId}-${N}`,children:[N," วัน"]},N))})]})]},v.productId)}),b.length===0&&i.jsx("div",{className:"px-6 py-14 text-center text-muted-foreground",children:"ไม่พบสินค้าที่ค้นหา"})]}),i.jsxs("div",{className:"mt-5 flex items-start gap-3 rounded-xl border border-primary/20 bg-primary/5 p-4 text-sm text-muted-foreground",children:[i.jsx(Ac,{className:"mt-0.5 h-5 w-5 shrink-0 text-primary"}),i.jsx("p",{children:"การเปลี่ยนค่านี้จะมีผลกับคำสั่งซื้อใหม่เท่านั้น ออเดอร์ที่สั่งไปแล้วจะเà¸
482à¹‡à¸šà¸à¸³à¸«à¸™à¸”รับของเดิมไว้"})]})]})}var uae=[" ","Enter","ArrowUp","ArrowDown"],dae=[" ","Enter"],Hs="Select",[jf,Rf,mae]=jc(Hs),[Js]=gn(Hs,[mae,rs]),Mf=rs(),[fae,os]=Js(Hs),[hae,pae]=Js(Hs),gae="SelectProvider";function RR(e){const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:c,value:u,defaultValue:m,onValueChange:f,dir:h,name:p,autoComplete:b,disabled:v,required:S,form:N,internal_do_not_use_render:w}=e,C=Mf(t),[R,M]=y.useState(null),[j,T]=y.useState(null),[P,I]=y.useState(!1),_=ji(h),[D,V]=ar({prop:r,defaultProp:o??!1,onChange:c,caller:Hs}),[H,$]=ar({prop:u,defaultProp:m,onChange:f,caller:Hs}),J=y.useRef(null),ae=R?!!N||!!R.closest("form"):!0,[ee,ie]=y.useState(new Set),z=Fn(),Q=Array.from(ee).map(X=>X.props.value).join(";"),W=y.useCallback(X=>{ie(oe=>new Set(oe).add(X))},[]),B=y.useCallback(X=>{ie(oe=>{const se=new Set(oe);return se.delete(X),se})},[]),O={required:S,trigger:R,onTriggerChange:M,valueNode:j,onValueNodeChange:T,valueNodeHasChildren:P,onValueNodeHasChildrenChange:I,contentId:z,value:H,onValueChange:$,open:D,onOpenChange:V,dir:_,triggerPointerDownPosRef:J,disabled:v,name:p,autoComplete:b,form:N,nativeOptions:ee,nativeSelectKey:Q,isFormControl:ae};return i.jsx(Bb,{...C,children:i.jsx(fae,{scope:t,...O,children:i.jsx(jf.Provider,{scope:t,children:i.jsx(hae,{scope:t,onNativeOptionAdd:W,onNativeOptionRemove:B,children:Oae(w)?w(O):n})})})})}RR.displayName=gae;var MR=e=>{const{__scopeSelect:t,children:n,...r}=e;return i.jsx(RR,{__scopeSelect:t,...r,internal_do_not_use_render:({isFormControl:o})=>i.jsxs(i.Fragment,{children:[n,o?i.jsx(GR,{__scopeSelect:t}):null]})})};MR.displayName=Hs;var AR="SelectTrigger",gx=y.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,c=Mf(n),u=os(AR,n),m=u.disabled||r,f=Le(t,u.onTriggerChange),h=Rf(n),p=y.useRef("touch"),[b,v,S]=ZR(w=>{const C=h().filter(j=>!j.disabled),R=C.find(j=>j.value===u.value),M=QR(C,w,R);M!==void 0&&u.onValueChange(M.value)}),N=w=>{m||(u.onOpenChange(!0),S()),w&&(u.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})};return i.jsx(Tc,{asChild:!0,...c,children:i.jsx(Ce.button,{type:"button",role:"combobox","aria-controls":u.open?u.contentId:void 0,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:m,"data-disabled":m?"":void 0,"data-placeholder":Af(u.value)?"":void 0,...o,ref:f,onClick:ue(o.onClick,w=>{w.currentTarget.focus(),p.current!=="mouse"&&N(w)}),onPointerDown:ue(o.onPointerDown,w=>{p.current=w.pointerType;const C=w.target;C.hasPointerCapture(w.pointerId)&&C.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&w.pointerType==="mouse"&&(N(w),w.preventDefault())}),onKeyDown:ue(o.onKeyDown,w=>{const C=b.current!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&v(w.key),!(C&&w.key===" ")&&uae.includes(w.key)&&(N(),w.preventDefault())})})})});gx.displayName=AR;var OR="SelectValue",TR=y.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:c,placeholder:u="",...m}=e,f=os(OR,n),{onValueNodeHasChildrenChange:h}=f,p=c!==void 0,b=Le(t,f.onValueNodeChange);Ft(()=>{h(p)},[h,p]);const v=Af(f.value);return i.jsx(Ce.span,{...m,asChild:v?!1:m.asChild,ref:b,style:{pointerEvents:"none"},children:i.jsx(y.Fragment,{children:v?u:c},v?"placeholder":"value")})});TR.displayName=OR;var bae="SelectIcon",PR=y.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return i.jsx(Ce.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});PR.displayName=bae;var DR="SelectPortal",[yae,xae]=Js(DR,{forceMount:void 0}),_R=e=>{const{__scopeSelect:t,forceMount:n,...r}=e;return i.jsx(yae,{scope:e.__scopeSelect,forceMount:n,children:i.jsx($s,{asChild:!0,...r})})};_R.displayName=DR;var es="SelectContent",bx=y.forwardRef((e,t)=>{const n=xae(es,e.__scopeSelect),{forceMount:r=n.forceMount,...o}=e,c=os(es,e.__scopeSelect),[u,m]=y.useState();return Ft(()=>{m(new DocumentFragment)},[]),i.jsx(Pt,{present:r||c.open,children:({present:f})=>f?i.jsx(zR,{...o,ref:t}):i.jsx(IR,{...o,fragment:u})})});bx.displayName=es;var IR=y.forwardRef((e,t)=>
vendor: 4,306 bytes, line 482
482{const{__scopeSelect:n,children:r,fragment:o}=e;return o?fa.createPortal(i.jsx(FR,{scope:n,children:i.jsx(jf.Slot,{scope:n,children:i.jsx("div",{ref:t,children:r})})}),o):null});IR.displayName="SelectContentFragment";var fr=10,[FR,is]=Js(es),vae="SelectContentImpl",wae=Ya("SelectContent.RemoveScroll"),zR=y.forwardRef((e,t)=>{const{__scopeSelect:n}=e,{position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:c,onPointerDownOutside:u,side:m,sideOffset:f,align:h,alignOffset:p,arrowPadding:b,collisionBoundary:v,collisionPadding:S,sticky:N,hideWhenDetached:w,avoidCollisions:C,...R}=e,M=os(es,n),[j,T]=y.useState(null),[P,I]=y.useState(null),_=Le(t,de=>T(de)),[D,V]=y.useState(null),[H,$]=y.useState(null),J=Rf(n),[ae,ee]=y.useState(!1),ie=y.useRef(!1);y.useEffect(()=>{if(j)return Qm(j)},[j]),Gm();const z=y.useCallback(de=>{const[Se,...je]=J().map(Ke=>Ke.ref.current),[Ie]=je.slice(-1),Te=document.activeElement;for(const Ke of de)if(Ke===Te||(Ke?.scrollIntoView({block:"nearest"}),Ke===Se&&P&&(P.scrollTop=0),Ke===Ie&&P&&(P.scrollTop=P.scrollHeight),Ke?.focus(),document.activeElement!==Te))return},[J,P]),Q=y.useCallback(()=>z([D,j]),[z,D,j]);y.useEffect(()=>{ae&&Q()},[ae,Q]);const{onOpenChange:W,triggerPointerDownPosRef:B}=M;y.useEffect(()=>{if(j){let de={x:0,y:0};const Se=Ie=>{de={x:Math.abs(Math.round(Ie.pageX)-(B.current?.x??0)),y:Math.abs(Math.round(Ie.pageY)-(B.current?.y??0))}},je=Ie=>{de.x<=10&&de.y<=10?Ie.preventDefault():Ie.composedPath().includes(j)||W(!1),document.removeEventListener("pointermove",Se),B.current=null};return B.current!==null&&(document.addEventListener("pointermove",Se),document.addEventListener("pointerup",je,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Se),document.removeEventListener("pointerup",je,{capture:!0})}}},[j,W,B]),y.useEffect(()=>{const de=()=>W(!1);return window.addEventListener("blur",de),window.addEventListener("resize",de),()=>{window.removeEventListener("blur",de),window.removeEventListener("resize",de)}},[W]);const[O,X]=ZR(de=>{const Se=J().filter(Te=>!Te.disabled),je=Se.find(Te=>Te.ref.current===document.activeElement),Ie=QR(Se,de,je);Ie&&setTimeout(()=>Ie.ref.current?.focus())}),oe=y.useCallback((de,Se,je)=>{const Ie=!ie.current&&!je;(M.value!==void 0&&M.value===Se||Ie)&&(V(de),Ie&&(ie.current=!0))},[M.value]),se=y.useCallback(()=>j?.focus(),[j]),me=y.useCallback((de,Se,je)=>{const Ie=!ie.current&&!je;(M.value!==void 0&&M.value===Se||Ie)&&$(de)},[M.value]),fe=r==="popper"?eb:LR,le=fe===eb?{side:m,sideOffset:f,align:h,alignOffset:p,arrowPadding:b,collisionBoundary:v,collisionPadding:S,sticky:N,hideWhenDetached:w,avoidCollisions:C}:{};return i.jsx(FR,{scope:n,content:j,viewport:P,onViewportChange:I,itemRefCallback:oe,selectedItem:D,onItemLeave:se,itemTextRefCallback:me,focusSelectedItem:Q,selectedItemText:H,position:r,isPositioned:ae,searchRef:O,children:i.jsx(Fc,{as:wae,allowPinchZoom:!0,children:i.jsx(_c,{asChild:!0,trapped:M.open,onMountAutoFocus:de=>{de.preventDefault()},onUnmountAutoFocus:ue(o,de=>{M.trigger?.focus({preventScroll:!0}),de.preventDefault()}),children:i.jsx(Ys,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:de=>de.preventDefault(),onDismiss:()=>M.onOpenChange(!1),children:i.jsx(fe,{role:"listbox",id:M.contentId,"data-state":M.open?"open":"closed",dir:M.dir,onContextMenu:de=>de.preventDefault(),...R,...le,onPlaced:()=>ee(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...R.style},onKeyDown:ue(R.onKeyDown,de=>{const Se=de.ctrlKey||de.altKey||de.metaKey;if(de.key==="Tab"&&de.preventDefault(),!Se&&de.key.length===1&&X(de.key),["ArrowUp","ArrowDown","Home","End"].includes(de.key)){let Ie=J().filter(Te=>!Te.disabled).map(Te=>Te.ref.current);if(["ArrowUp","End"].includes(de.key)&&(Ie=Ie.slice().reverse()),["ArrowUp","ArrowDown"].includes(de.key)){const Te=de.target,Ke=Ie.indexOf(Te);Ie=Ie.slice(Ke+1)}setTimeout(()=>z(Ie)),de.preventDefault()}})})})})})})});zR.displayName=vae;var Sae="SelectItemAlignedPosition",LR=y.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,c=os(es,n),u=is(es,n),[m,f]=y.useState(null),[h,p]=y.useState(null),b=Le(t,_=>p(_)),v=Rf(n),S=y.useRef(!1),N=y.useRef(!0),{viewport:w,selectedItem:C,selectedItemText:R,focusSelectedItem:M}=u,j=y.useCallback(()=>
vendor: 8,370 bytes, line 482
482{if(c.trigger&&c.valueNode&&m&&h&&w&&C&&R){const _=c.trigger.getBoundingClientRect(),D=h.getBoundingClientRect(),V=c.valueNode.getBoundingClientRect(),H=R.getBoundingClientRect();if(c.dir!=="rtl"){const Te=H.left-D.left,Ke=V.left-Te,dt=_.left-Ke,tt=_.width+dt,he=Math.max(tt,D.width),Ge=window.innerWidth-fr,Pe=w0(Ke,[fr,Math.max(fr,Ge-he)]);m.style.minWidth=tt+"px",m.style.left=Pe+"px"}else{const Te=D.right-H.right,Ke=window.innerWidth-V.right-Te,dt=window.innerWidth-_.right-Ke,tt=_.width+dt,he=Math.max(tt,D.width),Ge=window.innerWidth-fr,Pe=w0(Ke,[fr,Math.max(fr,Ge-he)]);m.style.minWidth=tt+"px",m.style.right=Pe+"px"}const $=v(),J=window.innerHeight-fr*2,ae=w.scrollHeight,ee=window.getComputedStyle(h),ie=parseInt(ee.borderTopWidth,10),z=parseInt(ee.paddingTop,10),Q=parseInt(ee.borderBottomWidth,10),W=parseInt(ee.paddingBottom,10),B=ie+z+ae+W+Q,O=Math.min(C.offsetHeight*5,B),X=window.getComputedStyle(w),oe=parseInt(X.paddingTop,10),se=parseInt(X.paddingBottom,10),me=_.top+_.height/2-fr,fe=J-me,le=C.offsetHeight/2,de=C.offsetTop+le,Se=ie+z+de,je=B-Se;if(Se<=me){const Te=$.length>0&&C===$[$.length-1].ref.current;m.style.bottom="0px";const Ke=h.clientHeight-w.offsetTop-w.offsetHeight,dt=Math.max(fe,le+(Te?se:0)+Ke+Q),tt=Se+dt;m.style.height=tt+"px"}else{const Te=$.length>0&&C===$[0].ref.current;m.style.top="0px";const dt=Math.max(me,ie+w.offsetTop+(Te?oe:0)+le)+je;m.style.height=dt+"px",w.scrollTop=Se-me+w.offsetTop}m.style.margin=`${fr}px 0`,m.style.minHeight=O+"px",m.style.maxHeight=J+"px",r?.(),requestAnimationFrame(()=>S.current=!0)}},[v,c.trigger,c.valueNode,m,h,w,C,R,c.dir,r]);Ft(()=>j(),[j]);const[T,P]=y.useState();Ft(()=>{h&&P(window.getComputedStyle(h).zIndex)},[h]);const I=y.useCallback(_=>{_&&N.current===!0&&(j(),M?.(),N.current=!1)},[j,M]);return i.jsx(Nae,{scope:n,contentWrapper:m,shouldExpandOnScrollRef:S,onScrollButtonChange:I,children:i.jsx("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T},children:i.jsx(Ce.div,{...o,ref:b,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});LR.displayName=Sae;var Cae="SelectPopperPosition",eb=y.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=fr,...c}=e,u=Mf(n);return i.jsx(Xm,{...u,...c,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...c.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});eb.displayName=Cae;var[Nae,yx]=Js(es,{}),tb="SelectViewport",UR=y.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,c=is(tb,n),u=yx(tb,n),m=Le(t,c.onViewportChange),f=y.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),i.jsx(jf.Slot,{scope:n,children:i.jsx(Ce.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ue(o.onScroll,h=>{const p=h.currentTarget,{contentWrapper:b,shouldExpandOnScrollRef:v}=u;if(v?.current&&b){const S=Math.abs(f.current-p.scrollTop);if(S>0){const N=window.innerHeight-fr*2,w=parseFloat(b.style.minHeight),C=parseFloat(b.style.height),R=Math.max(w,C);if(R<N){const M=R+S,j=Math.min(N,M),T=M-j;b.style.height=j+"px",b.style.bottom==="0px"&&(p.scrollTop=T>0?T:0,b.style.justifyContent="flex-end")}}}f.current=p.scrollTop})})})]})});UR.displayName=tb;var VR="SelectGroup",[kae,Eae]=Js(VR),jae=y.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Fn();return i.jsx(kae,{scope:n,id:o,children:i.jsx(Ce.div,{role:"group","aria-labelledby":o,...r,ref:t})})});jae.displayName=VR;var BR="SelectLabel",xx=y.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Eae(BR,n);return i.jsx(Ce.div,{id:o.id,...r,ref:t})});xx.displayName=BR;var Am="SelectItem",[Rae,WR]=Js(Am),vx=y.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:c,...u}=e,m=os(Am,n),f=is(Am,n),h=m.value===r,[p,b]=y.useState(c??""),[v,S]=y.useState(!1),N=Le(t,M=>f.itemRefCallback?.(M,r,o)),w=Fn(),C=y.useRef("touch"),R=()=>{o||(m.onValueChange(r),m.onOpenChange(!1))};return i.jsx(Rae,{scope:n,value:r,disabled:o,textId:w,isSelected:h,onItemTextChange:y.useCallback(M=>{b(j=>j||(M?.textContent??"").trim())},[]),children:i.jsx(jf.ItemSlot,{scope:n,value:r,disabled:o,textValue:p,children:i.jsx(Ce.div,{role:"option","aria-labelledby":w,"data-highlighted":v?"":void 0,"aria-selected":h&&v,"data-state":h?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...u,ref:N,onFocus:ue(u.onFocus,()=>S(!0)),onBlur:ue(u.onBlur,()=>S(!1)),onClick:ue(u.onClick,()=>{C.current!=="mouse"&&R()}),onPointerUp:ue(u.onPointerUp,()=>{C.current==="mouse"&&R()}),onPointerDown:ue(u.onPointerDown,M=>{C.current=M.pointerType}),onPointerMove:ue(u.onPointerMove,M=>{C.current=M.pointerType,o?f.onItemLeave?.():C.current==="mouse"&&M.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ue(u.onPointerLeave,M=>{M.currentTarget===document.activeElement&&f.onItemLeave?.()}),onKeyDown:ue(u.onKeyDown,M=>{f.searchRef?.current!==""&&M.key===" "||(dae.includes(M.key)&&R(),M.key===" "&&M.preventDefault())})})})})});vx.displayName=Am;var ql="SelectItemText",KR=y.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...c}=e,u=os(ql,n),m=is(ql,n),f=WR(ql,n),h=pae(ql,n),[p,b]=y.useState(null),v=Le(t,R=>b(R),f.onItemTextChange,R=>m.itemTextRefCallback?.(R,f.value,f.disabled)),S=p?.textContent,N=y.useMemo(()=>i.jsx("option",{value:f.value,disabled:f.disabled,children:S},f.value),[f.disabled,f.value,S]),{onNativeOptionAdd:w,onNativeOptionRemove:C}=h;return Ft(()=>(w(N),()=>C(N)),[w,C,N]),i.jsxs(i.Fragment,{children:[i.jsx(Ce.span,{id:f.textId,...c,ref:v}),f.isSelected&&u.valueNode&&!u.valueNodeHasChildren&&!Af(u.value)?fa.createPortal(c.children,u.valueNode):null]})});KR.displayName=ql;var HR="SelectItemIndicator",qR=y.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return WR(HR,n).isSelected?i.jsx(Ce.span,{"aria-hidden":!0,...r,ref:t}):null});qR.displayName=HR;var nb="SelectScrollUpButton",wx=y.forwardRef((e,t)=>{const n=is(nb,e.__scopeSelect),r=yx(nb,e.__scopeSelect),[o,c]=y.useState(!1),u=Le(t,r.onScrollButtonChange);return Ft(()=>{if(n.viewport&&n.isPositioned){let m=function(){const h=f.scrollTop>0;c(h)};const f=n.viewport;return m(),f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[n.viewport,n.isPositioned]),o?i.jsx(XR,{...e,ref:u,onAutoScroll:()=>{const{viewport:m,selectedItem:f}=n;m&&f&&(m.scrollTop=m.scrollTop-f.offsetHeight)}}):null});wx.displayName=nb;var rb="SelectScrollDownButton",Sx=y.forwardRef((e,t)=>{const n=is(rb,e.__scopeSelect),r=yx(rb,e.__scopeSelect),[o,c]=y.useState(!1),u=Le(t,r.onScrollButtonChange);return Ft(()=>{if(n.viewport&&n.isPositioned){let m=function(){const h=f.scrollHeight-f.clientHeight,p=Math.ceil(f.scrollTop)<h;c(p)};const f=n.viewport;return m(),f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[n.viewport,n.isPositioned]),o?i.jsx(XR,{...e,ref:u,onAutoScroll:()=>{const{viewport:m,selectedItem:f}=n;m&&f&&(m.scrollTop=m.scrollTop+f.offsetHeight)}}):null});Sx.displayName=rb;var XR=y.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,c=is("SelectScrollButton",n),u=y.useRef(null),m=Rf(n),f=y.useCallback(()=>{u.current!==null&&(window.clearInterval(u.current),u.current=null)},[]);return y.useEffect(()=>()=>f(),[f]),Ft(()=>{m().find(p=>p.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[m]),i.jsx(Ce.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:ue(o.onPointerDown,()=>{u.current===null&&(u.current=window.setInterval(r,50))}),onPointerMove:ue(o.onPointerMove,()=>{c.onItemLeave?.(),u.current===null&&(u.current=window.setInterval(r,50))}),onPointerLeave:ue(o.onPointerLeave,()=>{f()})})}),Mae="SelectSeparator",Cx=y.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return i.jsx(Ce.div,{"aria-hidden":!0,...r,ref:t})});
482Cx.displayName=Mae;var YR="SelectArrow",Aae=y.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Mf(n);return is(YR,n).position==="popper"?i.jsx(Ym,{...o,...r,ref:t}):null});Aae.displayName=YR;var $R="SelectBubbleInput",GR=y.forwardRef(({__scopeSelect:e,...t},n)=>{const r=os($R,e),{value:o,onValueChange:c,required:u,disabled:m,name:f,autoComplete:h,form:p}=r,{nativeOptions:b,nativeSelectKey:v}=r,S=y.useRef(null),N=Le(n,S),w=o??"",C=GE(w),R=Array.from(b).some(M=>(M.props.value??"")==="");return y.useEffect(()=>{const M=S.current;if(!M)return;const j=window.HTMLSelectElement.prototype,P=Object.getOwnPropertyDescriptor(j,"value").set;if(C!==w&&P){const I=new Event("change",{bubbles:!0});P.call(M,w),M.dispatchEvent(I)}},[C,w]),i.jsxs(Ce.select,{"aria-hidden":!0,required:u,tabIndex:-1,name:f,autoComplete:h,disabled:m,form:p,onChange:M=>c(M.target.value),...t,style:{...QC,...t.style},ref:N,defaultValue:w,children:[Af(o)&&!R?i.jsx("option",{value:""}):null,Array.from(b)]},v)});GR.displayName=$R;function Oae(e){return typeof e=="function"}function Af(e){return e===""||e===void 0}function ZR(e){const t=Tt(e),n=y.useRef(""),r=y.useRef(0),o=y.useCallback(u=>{const m=n.current+u;t(m),(function f(h){n.current=h,window.clearTimeout(r.current),h!==""&&(r.current=window.setTimeout(()=>f(""),1e3))})(m)},[t]),c=y.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return y.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,c]}function QR(e,t,n){const o=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,c=n?e.indexOf(n):-1;let u=Tae(e,Math.max(c,0));o.length===1&&(u=u.filter(h=>h!==n));const f=u.find(h=>h.textValue.toLowerCase().startsWith(o.toLowerCase()));return f!==n?f:void 0}function Tae(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Pae=MR,Dae=TR,JR=y.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(gx,{ref:r,className:ce("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,i.jsx(PR,{asChild:!0,children:i.jsx(ua,{className:"h-4 w-4 opacity-50"})})]}));JR.displayName=gx.displayName;const eM=y.forwardRef(({className:e,...t},n)=>i.jsx(wx,{ref:n,className:ce("flex cursor-default items-center justify-center py-1",e),...t,children:i.jsx(QD,{className:"h-4 w-4"})}));eM.displayName=wx.displayName;const tM=y.forwardRef(({className:e,...t},n)=>i.jsx(Sx,{ref:n,className:ce("flex cursor-default items-center justify-center py-1",e),...t,children:i.jsx(ua,{className:"h-4 w-4"})}));tM.displayName=Sx.displayName;const nM=y.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>i.jsx(_R,{children:i.jsxs(bx,{ref:o,className:ce("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[i.jsx(eM,{}),i.jsx(UR,{className:ce("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),i.jsx(tM,{})]})}));nM.displayName=bx.displayName;const _ae=y.forwardRef(({className:e,...t},n)=>i.jsx(xx,{ref:n,className:ce("px-2 py-1.5 text-sm font-semibold",e),...t}));_ae.displayName=xx.displayName;const rM=y.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(vx,{ref:r,className:ce("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[i.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:i.jsx(qR,{children:i.jsx(Ws,{className:"h-4 w-4"})})}),i.jsx(KR,{children:t})]}));rM.displayName=vx.displayName;const Iae=y.forwardRef(({className:e,...t},n)=>i.jsx(Cx,{ref:n,className:ce("-mx-1 my-1 h-px bg-muted",e),...t}));Iae.displayName=Cx.displayName;function Fae(){const{isSignedIn:e,isLoaded:t}=Bn(),{toast:n}=xr(),r=Xs(),[o,c]=y.useState(""),[u,m]=y.useState(null),{data:f,isLoading:h,isError:p}=Pq({query:{queryKey:k0(),enabled:!!e,retry:!1}}),b=Fq(),v=y.useMemo(()=>jt.filter(w=>w.name.toLocaleLowerCase().includes(o.trim().toLocaleLowerCase())||w.brand.toLocaleLowerCase().includes(o.trim().toLocaleLowerCase())).sort((w,C)=>w.brand.localeCompare(C.brand)||w.name.localeCompare(C.name)),[o]),S=y.useMemo(()=>jt.find(w=>w.id===u),[u]),N=y.useMemo(()=>f?.specs?f.specs.reduce((w,C)=>
482(w[C.productId]=C.values,w),{}):{},[f]);return!t||h?i.jsx("div",{className:"grid min-h-[100dvh] place-items-center bg-background",children:i.jsx(yt,{className:"h-8 w-8 animate-spin text-primary"})}):!e||p?i.jsxs("div",{className:"flex min-h-[100dvh] flex-col items-center justify-center bg-background px-4 text-center",children:[i.jsx(pn,{className:"mb-4 h-16 w-16 text-primary"}),i.jsx("h1",{className:"mb-3 font-display text-3xl font-bold",children:"Restricted Area"}),i.jsx("p",{className:"max-w-md text-muted-foreground",children:e?"Your account does not have permission to access product specifications, or the data could not be loaded.":"Please sign in with a staff account to access the specification editor."})]}):i.jsxs("div",{className:"flex h-[100dvh] flex-col bg-background",children:[i.jsx("header",{className:"flex h-16 shrink-0 items-center justify-between border-b border-white/10 bg-card px-6",children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-md bg-primary/10 text-primary",children:i.jsx(SS,{className:"h-4 w-4"})}),i.jsxs("div",{children:[i.jsx("h1",{className:"font-display text-lg font-bold leading-tight",children:"Specification Editor"}),i.jsx("p",{className:"text-[10px] uppercase tracking-widest text-muted-foreground",children:"Staff Only"})]})]})}),i.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[i.jsxs("div",{className:"flex w-[380px] flex-col border-r border-white/10 bg-card/50",children:[i.jsx("div",{className:"p-4",children:i.jsxs("div",{className:"relative",children:[i.jsx(zs,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),i.jsx(ct,{value:o,onChange:w=>c(w.target.value),placeholder:"Search products...",className:"pl-9 bg-background/50 border-white/10 focus-visible:ring-primary/50","data-testid":"input-product-search"})]})}),i.jsx(yc,{className:"bg-white/5"}),i.jsx(qc,{className:"flex-1",children:i.jsxs("div",{className:"p-2",children:[v.map(w=>{const C=u===w.id,R=N[w.id]||{},M=Qc(w.category,w.subCategory,w.id),j=yi(w,R),T=M.every(P=>!!j[P.key]);return i.jsxs("button",{onClick:()=>m(w.id),className:`flex w-full items-start gap-3 rounded-xl p-3 text-left transition-all duration-200 ${C?"bg-primary/15 border border-primary/30":"border border-transparent hover:bg-white/5"}`,"data-testid":`button-select-product-${w.id}`,children:[i.jsx("div",{className:"mt-1 flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-background p-1 border border-white/10",children:i.jsx(hr,{product:w,alt:w.name,className:"h-full w-full object-contain mix-blend-plus-lighter opacity-80"})}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsx("p",{className:`truncate font-semibold text-sm ${C?"text-primary-foreground":"text-foreground"}`,children:w.name}),i.jsxs("p",{className:"truncate text-xs text-muted-foreground mt-0.5",children:[w.brand," • ",w.id]})]}),i.jsx("div",{className:"shrink-0 pt-1",children:T?i.jsx(er,{className:"h-4 w-4 text-emerald-500/70"}):i.jsx(pn,{className:"h-4 w-4 text-amber-500/70"})})]},w.id)}),v.length===0&&i.jsx("div",{className:"py-12 text-center text-sm text-muted-foreground",children:"No products found."})]})})]}),i.jsx("div",{className:"flex-1 bg-background",children:S?i.jsx(zae,{product:S,savedValues:N[S.id],onSave:w=>{b.mutate({productId:S.id,data:{values:w}},{onSuccess:()=>{r.invalidateQueries({queryKey:df()}),r.invalidateQueries({queryKey:k0()}),n({title:"Specifications saved",description:`Updated values for ${S.name}`})},onError:C=>{n({title:"Failed to save",description:C instanceof Error?C.message:"An unknown error occurred.",variant:"destructive"})}})},isSaving:b.isPending},S.id):i.jsxs("div",{className:"flex h-full flex-col items-center justify-center text-muted-foreground",children:[i.jsx(SS,{className:"mb-4 h-12 w-12 opacity-20"}),i.jsx("p",{children:"Select a product to edit its specifications"})]})})]})]})}function zae({product:e,savedValues:t,onSave:n,isSaving:r}){const o=y.useMemo(()=>Qc(e.category,e.subCategory,e.id),[e]),[c,u]=y.useState({}),[m,f]=y.useState(!1);y.useEffect(()=>{const b=yi(e,t);u(b),f(!1)},[e,t]);const h=(b,v)=>{u(S=>{const N={...S,[b]:v};return f(!0),N})},p=()=>{const{values:b}=XQ(e.category,e.subCategory,c);n(b),f(!1)};return i.jsxs("div",{className:"flex h-full flex-col",children:[i.jsxs("div",{className:"flex items-start justify-between border-b border-white/5 bg-card/30 p-6 md:p-8",children:[i.jsxs("div",{className:"flex items-start gap-6",children:[i.jsx("div",{className:"flex h-24 w-24 shrink-0 items-center justify-center rounded-xl bg-white/5 p-2 border border-white/10",children:i.jsx(hr,{product:e,eager:!0,alt:e.name,className:"h-full w-full object-contain drop-shadow-2xl"})}),i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-1",children:[i.jsx("span",{className:"uppercase tracking-wider",children:e.brand}),i.jsx("span",{children:"•"}),i.jsx("span",{className:"font-mono",children:e.id})]}),i.jsx("h2",{className:"font-display text-2xl font-bold text-foreground",children:e.name}),i.jsx("p",{className:"mt-2 text-sm text-muted-foreground max-w-2xl line-clamp-2 leading-relaxed",children:e.description})]})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[m&&i.jsxs(xe,{variant:"ghost",size:"sm",onClick:()=>{u(yi(e,t)),f(!1)},disabled:r,"data-testid":"button-discard-changes",className:"text-muted-foreground hover:text-foreground",children:[i.jsx(_r,{className:"mr-2 h-4 w-4"})," Discard"]}),i.jsx(xe,{size:"sm",onClick:p,disabled:!m||r,"data-testid":"button-save-specs",className:"bg-primary text-primary-foreground hover:bg-primary/90 min-w-[100px]",children:r?i.jsx(yt,{className:"h-4 w-4 animate-spin"}):i.jsxs(i.Fragment,{children:[i.jsx(nI,{className:"mr-2 h-4 w-4"})," Save Changes"]})})]})]}),i.jsx(qc,{className:"flex-1 p-6 md:p-8",children:i.jsxs("div",{className:"mx-auto max-w-5xl",children:[i.jsx("div",{className:"grid grid-cols-1 gap-x-6 gap-y-5 md:grid-cols-2 lg:grid-cols-3",children:o.map(b=>i.jsx(Lae,{field:b,value:c[b.key]||"",onChange:v=>h(b.key,v)},b.key))}),o.length===0&&i.jsx("div",{className:"py-20 text-center text-muted-foreground",children:i.jsx("p",{children:"No specification schema defined for this product category."})})]})})]})}function Lae({field:e,value:t,onChange:n}){if(e.input==="select"&&e.options){const r=e.options.some(o=>o.value===t);return i.jsxs("div",{className:"flex flex-col gap-1.5",children:[i.jsx("label",{className:"text-[10px] font-bold uppercase tracking-widest text-muted-foreground",children:e.en}),i.jsxs(Pae,{value:r?t:void 0,onValueChange:n,children:[i.jsx(JR,{className:"h-9 bg-background/50 border-white/10 focus:ring-primary/50 text-sm",children:i.jsx(Dae,{placeholder:t||"Select..."})}),i.jsx(nM,{children:e.options.map(o=>i.jsxs(rM,{value:o.value,className:"text-sm",children:[o.en," ",i.jsxs("span",{className:"ml-1 text-muted-foreground
482/70 text-xs",children:["(",o.th,")"]})]},o.value))})]}),!r&&t&&i.jsxs("p",{className:"text-[10px] text-amber-500/80",children:["Legacy: ",t]})]})}return i.jsxs("div",{className:"flex flex-col gap-1.5",children:[i.jsx("label",{className:"text-[10px] font-bold uppercase tracking-widest text-muted-foreground",children:e.en}),i.jsx(ct,{value:t,onChange:r=>n(r.target.value),placeholder:`Enter ${e.en.toLowerCase()}...`,className:"h-9 text-sm bg-background/50 border-white/10 focus-visible:ring-primary/50"})]})}const Uae=new _O,aM=b7(window.location.hostname,"pk_live_Y2xlcmsud29ybGRjYW1lcmEuY28udGgk"),Vae="/api/__clerk",Un="/".replace(/\/$/,"");function X4(e){return Un&&e.startsWith(Un)?e.slice(Un.length)||"/":e}if(!aM)throw new Error("Missing VITE_CLERK_PUBLISHABLE_KEY in .env file");const Bae={theme:MP.dark,cssLayerName:"clerk",options:{logoPlacement:"inside",logoLinkUrl:Un||"/",logoImageUrl:`${window.location.origin}${Un}/logo.svg`},variables:{colorPrimary:"hsl(0 79% 52%)",colorForeground:"hsl(0 0% 96%)",colorMutedForeground:"hsl(0 0% 64%)",colorDanger:"hsl(0 84% 60%)",colorBackground:"hsl(0 0% 9%)",colorInput:"hsl(0 0% 13%)",colorInputForeground:"hsl(0 0% 96%)",colorNeutral:"hsl(0 0% 85%)",fontFamily:"'Sarabun', 'Raleway', sans-serif",borderRadius:"0.75rem"},elements:{rootBox:"w-full flex justify-center",cardBox:"bg-[hsl(0_0%_9%)] border border-white/10 rounded-2xl w-[440px] max-w-full overflow-hidden shadow-2xl",card:"!shadow-none !border-0 !bg-transparent !rounded-none",footer:"!shadow-none !border-0 !bg-transparent !rounded-none",headerTitle:"text-white",headerSubtitle:"text-zinc-400",socialButtonsBlockButtonText:"text-white",formFieldLabel:"text-zinc-200",footerActionLink:"text-[hsl(0_79%_58%)] hover:text-[hsl(0_79%_65%)]",footerActionText:"text-zinc-400",dividerText:"text-zinc-500",identityPreviewEditButton:"text-[hsl(0_79%_58%)]",formFieldSuccessText:"text-green-400",alertText:"text-zinc-200",logoBox:"justify-center",logoImage:"h-9 bg-white rounded px-2 py-1",socialButtonsBlockButton:"bg-white/5 border border-white/15 hover:bg-white/10",formButtonPrimary:"bg-[hsl(0_79%_52%)] hover:bg-[hsl(0_79%_45%)] text-white font-semibold",formFieldInput:"bg-[hsl(0_0%_13%)] border border-white/15 text-white",footerAction:"justify-center",dividerLine:"bg-white/15",alert:"bg-white/5 border border-white/10",otpCodeFieldInput:"bg-[hsl(0_0%_13%)] border border-white/15 text-white",formFieldRow:"gap-2",main:"gap-5"}};function Wae(){const e=new URLSearchParams(window.location.search).get("admin")==="true";return i.jsx("div",{className:"flex min-h-[70dvh] items-center justify-center bg-background px-4 py-12",children:i.jsx(bT,{routing:"path",path:`${Un}/sign-in`,signUpUrl:`${Un}/sign-up`,forceRedirectUrl:e?`${Un}/admin/orders`:void 0})})}function Kae(){return i.jsx("div",{className:"flex min-h-[70dvh] items-center justify-center bg-background px-4 py-12",children:i.jsx(yT,{routing:"path",path:`${Un}/sign-up`,signInUrl:`${Un}/sign-in`})})}function Hae(){const{addListener:e}=CC(),t=Xs(),n=y.useRef(void 0);return y.useEffect(()=>e(({user:o})=>{const c=o?.id??null;n.current!==void 0&&n.current!==c&&t.clear(),n.current=c}),[e,t]),null}function qae(){return i.jsxs("div",{className:"min-h-screen flex flex-col bg-background text-foreground",children:[i.jsx(tH,{}),i.jsx(AX,{}),i.jsx("main",{className:"flex-1",children:i.jsxs(cO,{children:[i.jsx(Re,{path:"/",component:C4}),i.jsx(Re,{path:"/sign-in/*?",component:Wae}),i.jsx(Re,{path:"/sign-up/*?",component:Kae}),i.jsx(Re,{path:"/points",component:Xre}),i.jsx(Re,{path:"/account",component:$re}),i.jsx(Re,{path:"/affiliate/join",component:eae}),i.jsx(Re,{path:"/affiliate",component:Qre}),i.jsx(Re,{path:"/admin/orders",component:rae}),i.jsx(Re,{path:"/admin/affiliates",component:sae}),i.jsx(Re,{path:"/admin/chat",component:iae}),i.jsx(Re,{path:"/admin/preorders",component:cae}),i.jsx(Re,{path:"/admin/products",component:Fae}),i.jsx(Re,{path:"/chat",children:i.jsx(C4,{})}),i.jsx(Re,{path:"/shop",children:i.jsx(bt,{})}),i.jsx(Re,{path:"/digital-camera",children:i.jsx(bt,{category:"digital-camera"})}),i.jsx(Re,{path:"/film-camera",children:i.jsx(bt,{category:"film-camera"})}),i.jsx(Re,{path:"/cinema-vlog",children:i.jsx(bt,{category:"cinema-vlog"})}),i.jsx(Re,{path:"/lenses",children:i.jsx(bt,{category:"lenses"})}),i.jsx(Re,{path:"/lenses-support",children:i.jsx(bt,{category:"lenses-support"})}),i.jsx(Re,{path:"/filter",children:i.jsx(bt,{category:"filter"})}),i.jsx(Re,{path:"/film",children:i.jsx(bt,{category:"film"})}),i.jsx(Re,{path:"/darkroom",children:i.jsx(bt,{category:"darkroom"})}),i.jsx(Re,{path:"/video-gear",children:i.jsx(bt,{category:"video-gear"})}),i.jsx(Re,{path:"/audio",children:i.jsx(bt,{category:"audio"})}),i.jsx(Re,{path:"/tripod",children:i.jsx(bt,{category:"tripod"})}),i.jsx(Re,{path:"/flash-light",children:i.jsx(bt,{category:"flash-light"})}),i.jsx(Re,{path:"/studio",children:i.jsx(bt,{category:"studio"})}),i.jsx(Re,{path:"/bags",children:i.jsx(bt,{category:"bags"})}),i.jsx(Re,{path:"/protection",children:i.jsx(bt,{category:"protection"})}),i.jsx(Re,{path:"/strap",children:i.jsx(bt,{category:"strap"})}),i.jsx(Re,{path:"/camera-accessories",children:i.jsx(bt,{category:"camera-accessories"})}),i.jsx(Re,{path:"/maintenance",children:i.jsx(bt,{category:"maintenance"})}),i.jsx(Re,{path:"/memory-card",children:i.jsx(bt,{category:"memory-card"})}),i.jsx(Re,{path:"/memory-card-accessories",children:i.jsx(bt,{category:"memory-card-accessories"})}),i.jsx(Re,{path:"/power",children:i.jsx(bt,{category:"power"})}),i.jsx(Re,{path:"/printer",children:i.jsx(bt,{category:"printer"})}),i.jsx(Re,{path:"/computer-hardware",children:i.jsx(bt,{category:"computer-hardware"})}),i.jsx(Re,{path:"/computer-software",children:i.jsx(bt,{category:"computer-software"})}),i.jsx(Re,{path:"/product/:id",component:vJ}),i.jsx(Re,{path:"/rent",component:ere}),i.jsx(Re,{path:"/reviews",component:rre}),i.jsx(Re,{path:"/services",component:sre}),i.jsx(Re,{path:"/contact",component:lre}),i.jsx(Re,{path:"/checkout",component:mre}),i.jsx(Re,{path:"/privacy",component:hre}),i.jsx(Re,{path:"/terms",component:gre}),i.jsx(Re,{path:"/tracking",component:yre}),i.jsx(Re,{path:"/deals",component:vre}),i.jsx(Re,{path:"/clearance",component:Sre}),i.jsx(Re,{path:"/lighting",component:Nre}),i.jsx(Re,{path:"/faq",component:Hre}),i.jsx(Re,{component:xj})]})}),i.jsx(nH,{}),i.jsx(EX,{}),i.jsx(CX,{})]})}function Xae(){const[,e]=ts();return i.jsx(XC,{publishableKey:aM,proxyUrl:Vae,appearance:Bae,signInUrl:`${Un}/sign-in`,signUpUrl:`${Un}/sign-up`,localization:{signIn:{start:{title:"ยินดีต้อนรับกลับ",subt
482itle:"เข้าสู่ระบบเพื่อสะสมและใช้แต้ม World Camera"}},signUp:{start:{title:"สมัครสมาชิก World Camera",subtitle:"สะสมแต้มทุกยอดซื้อ ฿1,000 = 1 แต้ม"}}},routerPush:t=>e(X4(t)),routerReplace:t=>e(X4(t),{replace:!0}),children:i.jsxs(IO,{client:Uae,children:[i.jsx(Hae,{}),i.jsx(tL,{children:i.jsx(DU,{children:i.jsxs(TU,{children:[i.jsx(qae,{}),i.jsx(SF,{})]})})})]})})}function Yae(){return i.jsx(rC,{base:Un,children:i.jsx(Xae,{})})}ab.createRoot(document.getElementById("root")).render(i.jsx(Yae,{}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.