1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,618566,(e,t,r)=>{t.exports=e.r(976562)},233525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function s(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return w},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return p},ST:function(){return g},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return u},getLocationOrigin:function(){return c},getURL:function(){return d},isAbsoluteUrl:function(){return l},isResSent:function(){return h},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return j}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>i.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=c();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function h(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&h(r))return n;if(!n)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let p="u">typeof performance,g=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class x extends Error{}class b extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class w extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(271645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=s(e,n)),t&&(a.current=s(t,n))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(190809)._(e.r(998183)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let d=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),d&&"?"!==d[0]&&(d="?"+d),a=a.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${c}${a}${d}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=e.r(718967),a=e.r(652817);function s(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return v}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(190809),o=e.r(843476),i=s._(e.r(271645)),l=e.r(195057),c=e.r(8372),d=e.r(818581),u=e.r(718967),h=e.r(405550);e.r(233525);let f=e.r(388540),m=e.r(91949),p=e.r(573668),g=e.r(509396);function x(t){var r,n;let a,s,x,[v,w]=(0,i.useOptimistic)(m.IDLE_LINK_STATUS),y=(0,i.useRef)(null),{href:j,as:k,children:N,prefetch:S=null,passHref:E,replace:C,shallow:L,scroll:P,onClick:_,onMouseEnter:T,onTouchStart:M,legacyBehavior:R=!1,onNavigate:$,transitionTypes:A,ref:I,unstable_dynamicOnHover:O,...U}=t;a=N,R&&("string"==typeof a||"number"==typeof a)&&(a=(0,o.jsx)("a",{children:a}));let z=i.default.useContext(c.AppRouterContext),W=!1!==S,F=!1!==S?null===(n=S)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,D="string"==typeof(r=k||j)?r:(0,l.formatUrl)(r);if(R){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=i.default.Children.only(a)}let H=R?s&&"object"==typeof s&&s.ref:I,B=i.default.useCallback(e=>(null!==z&&(y.current=(0,m.mountLinkInstance)(e,D,z,F,W,w)),()=>{y.current&&((0,m.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,m.unmountPrefetchableInstance)(e)}),[W,D,z,F,w]),X={ref:(0,d.useMergedRef)(B,H),onClick(t){R||"function"!=typeof _||_(t),R&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!z||t.defaultPrevented||function(t,r,n,a,s,o,l){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(699781);i.default.startTransition(()=>{u(r,a?"replace":"push",!1===s?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,n.current,l)})}}(t,D,y,C,P,$,A)},onMouseEnter(e){R||"function"!=typeof T||T(e),R&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),z&&W&&(0,m.onNavigationIntent)(e.currentTarget,!0===O)},onTouchStart:function(e){R||"function"!=typeof M||M(e),R&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),z&&W&&(0,m.onNavigationIntent)(e.currentTarget,!0===O)}};return(0,u.isAbsoluteUrl)(D)?X.href=D:R&&!E&&("a"!==s.type||"href"in s.props)||(X.href=(0,h.addBasePath)(D)),x=R?i.default.cloneElement(s,X):(0,o.jsx)("a",{...U,...X,children:a}),(0,o.jsx)(b.Provider,{value:v,children:x})}e.r(284508);let b=(0,i.createContext)(m.IDLE_LINK_STATUS),v=()=>(0,i.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},396661,e=>{"use strict";e.s(["mergeClasses",0,(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()])},871987,388973,e=>{"use strict";e.s(["default",0,{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"}],871987),e.s(["hasA11yProp",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],388973)},505014,e=>{"use strict";var t=e.i(271645),r=e.i(871987),n=e.i(388973),a=e.i(396661);let s=(0,t.createContext)({}),o=(0,t.forwardRef)(({color:e,size:o,strokeWidth:i,absoluteStrokeWidth:l,className:c="",children:d,iconNode:u,...h},f)=>{let{size:m=24,strokeWidth:p=2,absoluteStrokeWidth:g=!1,color:x="currentColor",className:b=""}=(0,t.useContext)(s)??{},v=l??g?24*Number(i??p)/Number(o??m):i??p;return(0,t.createElement)("svg",{ref:f,...r.default,width:o??m??r.default.width,height:o??m??r.default.height,stroke:e??x,strokeWidth:v,className:(0,a.mergeClasses)("lucide",b,c),...!d&&!(0,n.hasA11yProp)(h)&&{"aria-hidden":"true"},...h},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(d)?d:[d]])});e.s(["default",0,o],505014)},456420,e=>{"use strict";var t=e.i(271645),r=e.i(396661);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a=e.i(505014);e.s(["default",0,(e,s)=>{let o=(0,t.forwardRef)(({className:o,...i},l)=>(0,t.createElement)(a.default,{ref:l,iconNode:s,className:(0,r.mergeClasses)(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...i}));return o.displayName=n(e),o}],456420)},263676,e=>{"use strict";let t=(0,e.i(456420).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],263676)},328623,e=>{"use strict";let t=(0,e.i(456420).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",0,t],328623)},730274,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["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"}]]);e.s(["Send",0,t],730274)},526732,e=>{"use strict";var t=e.i(247167),r=e.i(843476),n=e.i(271645);class a extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);const r=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${r}`}}class s extends a{}class o extends a{}async function i(e,t,r,n={}){let a=`${l(t)}/${e}`;try{let e={headers:{"Content-Type":"application/json",...n?.headers?.cookie?{cookie:n.headers.cookie}:{}}};n?.body&&(e.body=JSON.stringify(n.body),e.method="POST");let t=await fetch(a,e),r=await t.json();if(!t.ok)throw r;return r}catch(e){return r.error(new s(e.message,e)),null}}function l(e){return"u"<typeof window?`${e.baseUrlServer}${e.basePathServer}`:e.basePath}function c(){return Math.floor(Date.now()/1e3)}function d(e){let t=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let r=new URL(e||t),n=("/"===r.pathname?t.pathname:r.pathname).replace(/\/$/,""),a=`${r.origin}${n}`;return{origin:r.origin,host:r.host,path:n,base:a,toString:()=>a}}let u={baseUrl:d(t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePath:d(t.default.env.NEXTAUTH_URL).path,baseUrlServer:d(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePathServer:d(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},h=null;function f(){return"u"<typeof BroadcastChannel?{postMessage:()=>{},addEventListener:()=>{},removeEventListener:()=>{},name:"next-auth",onmessage:null,onmessageerror:null,close:()=>{},dispatchEvent:()=>!1}:new BroadcastChannel("next-auth")}function m(){return null===h&&(h=f()),h}let p={debug:console.debug,error:console.error,warn:console.warn},g=n.createContext?.(void 0);async function x(e){let t=await i("session",u,p,e);return(e?.broadcast??!0)&&f().postMessage({event:"session",data:{trigger:"getSession"}}),t}async function b(){let e=await i("csrf",u,p);return e?.csrfToken??""}async function v(){return i("providers",u,p)}async function w(e,t,r){let{callbackUrl:n,...a}=t??{},{redirect:s=!0,redirectTo:o=n??window.location.href,...i}=a,c=l(u),d=await v();if(!d){let e=`${c}/error`;window.location.href=e;return}if(!e||!d[e]){let e=`${c}/signin?${new URLSearchParams({callbackUrl:o})}`;window.location.href=e;return}let h=d[e].type;if("webauthn"===h)throw TypeError(`Provider id "${e}" refers to a WebAuthn provider. 2Please use \`import { signIn } from "next-auth/webauthn"\` instead.`);let f=`${c}/${"credentials"===h?"callback":"signin"}/${e}`,m=await b(),p=await fetch(`${f}?${new URLSearchParams(r)}`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({...i,csrfToken:m,callbackUrl:o})}),g=await p.json();if(s){let e=g.url??o;window.location.href=e,e.includes("#")&&window.location.reload();return}let x=new URL(g.url).searchParams.get("error")??void 0,w=new URL(g.url).searchParams.get("code")??void 0;return p.ok&&await u._getSession({event:"storage"}),{error:x,code:w,status:p.status,ok:p.ok,url:x?null:g.url}}async function y(e){let{redirect:t=!0,redirectTo:r=e?.callbackUrl??window.location.href}=e??{},n=l(u),a=await b(),s=await fetch(`${n}/signout`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({csrfToken:a,callbackUrl:r})}),o=await s.json();if(m().postMessage({event:"session",data:{trigger:"signout"}}),t){let e=o.url??r;window.location.href=e,e.includes("#")&&window.location.reload();return}return await u._getSession({event:"storage"}),o}e.s(["SessionProvider",0,function(e){if(!g)throw Error("React Context is unavailable in Server Components");let{children:t,basePath:a,refetchInterval:s,refetchWhenOffline:l}=e;a&&(u.basePath=a);let d=void 0!==e.session;u._lastSync=d?c():0;let[h,f]=n.useState(()=>(d&&(u._session=e.session),e.session)),[v,w]=n.useState(!d);n.useEffect(()=>(u._getSession=async({event:e}={})=>{try{let t="storage"===e;if(t||void 0===u._session){u._lastSync=c(),u._session=await x({broadcast:!t}),f(u._session);return}if(!e||null===u._session||c()<u._lastSync)return;u._lastSync=c(),u._session=await x(),f(u._session)}catch(e){p.error(new o(e.message,e))}finally{w(!1)}},u._getSession(),()=>{u._lastSync=0,u._session=void 0,u._getSession=()=>{}}),[]),n.useEffect(()=>{let e=()=>u._getSession({event:"storage"});return m().addEventListener("message",e),()=>m().removeEventListener("message",e)},[]),n.useEffect(()=>{let{refetchOnWindowFocus:t=!0}=e,r=()=>{t&&"visible"===document.visibilityState&&u._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",r,!1),()=>document.removeEventListener("visibilitychange",r,!1)},[e.refetchOnWindowFocus]);let y=function(){let[e,t]=n.useState("u">typeof navigator&&navigator.onLine),r=()=>t(!0),a=()=>t(!1);return n.useEffect(()=>(window.addEventListener("online",r),window.addEventListener("offline",a),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}),[]),e}(),j=!1!==l||y;n.useEffect(()=>{if(s&&j){let e=setInterval(()=>{u._session&&u._getSession({event:"poll"})},1e3*s);return()=>clearInterval(e)}},[s,j]);let k=n.useMemo(()=>({data:h,status:v?"loading":h?"authenticated":"unauthenticated",async update(e){if(v)return;w(!0);let t=await i("session",u,p,void 0===e?void 0:{body:{csrfToken:await b(),data:e}});return w(!1),t&&(f(t),m().postMessage({event:"session",data:{trigger:"getSession"}})),t}}),[h,v]);return(0,r.jsx)(g.Provider,{value:k,children:t})},"signIn",0,w,"signOut",0,y,"useSession",0,function(e){if(!g)throw Error("React Context is unavailable in Server Components");let t=n.useContext(g),{required:r,onUnauthenticated:a}=e??{},s=r&&"unauthenticated"===t.status;return(n.useEffect(()=>{if(s){let e=`${u.basePath}/signin?${new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href})}`;a?a():window.location.href=e}},[s,a]),s)?{data:t.data,update:t.update,status:"loading"}:t}],526732)},716327,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],716327)},615227,e=>{"use strict";let t=(0,e.i(456420).default)("message-circle",[["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"}]]);e.s(["MessageCircle",0,t],615227)},263448,e=>{"use strict";let t=(0,e.i(456420).default)("shopping-bag",[["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 2H7
2a2 2 0 0 0-1.6.8z",key:"o988cm"}]]);e.s(["ShoppingBag",0,t],263448)},986206,e=>{"use strict";let t=(0,e.i(456420).default)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);e.s(["Smartphone",0,t],986206)},294105,e=>{"use strict";let t=(0,e.i(456420).default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);e.s(["LayoutDashboard",0,t],294105)},808306,e=>{"use strict";let t=(0,e.i(456420).default)("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);e.s(["Gamepad2",0,t],808306)},367784,e=>{"use strict";let t=(0,e.i(456420).default)("log-out",[["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"}]]);e.s(["LogOut",0,t],367784)},622159,e=>{"use strict";var t=e.i(843476),r=e.i(810382),n=e.i(262293),a=e.i(185006),s=e.i(820333),o=e.i(975157);let i=(0,e.i(456420).default)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);e.s(["LanguageSwitcher",0,function({className:e,compact:l=!1}){let{setLocale:c,t:d,locale:u}=(0,r.useLocale)(),{pathname:h,ready:f}=(0,n.usePublicPathnameReady)(),m=f&&(0,a.isLocaleExemptPath)(h),p=f?m?u:(0,a.isBnPath)(h)?"bn":"en":u;return(0,t.jsxs)("div",{className:(0,o.cn)("inline-flex items-center gap-1 rounded-full border border-border/60 bg-surface/80 p-0.5",e),role:"group","aria-label":d("lang.switch"),children:[l?null:(0,t.jsx)(i,{className:"ml-1.5 h-3.5 w-3.5 text-muted","aria-hidden":!0}),["en","bn"].map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>(function(e){c(e);let t=window.location.pathname||h;if((0,a.isLocaleExemptPath)(t))return void window.location.reload();let r=(0,a.stripBnPrefix)(t)??t,n=r.match(/^\/blog\/([^/]+)\/?$/);if(n&&"u">typeof document){let r=document.querySelector("[data-blog-alt-slug]"),s=r?.getAttribute("data-blog-alt-slug")?.trim(),o=r?.getAttribute("data-blog-slug")?.trim()||decodeURIComponent(n[1]);if(s){let r=o.endsWith("-bn"),n="bn"===e?(0,a.withBnPrefix)(`/blog/${r?o:s}`):`/blog/${r?s:o}`;return n===t?void window.location.reload():void window.location.assign(n)}}let s="bn"===e?(0,a.withBnPrefix)(r):r;s===t?window.location.reload():window.location.assign(s)})(e),className:(0,o.cn)("rounded-full px-2 py-0.5 text-[10px] font-semibold transition-colors sm:px-2.5 sm:py-1 sm:text-[11px]",p===e?"bg-brand-gradient-slide text-white shadow-sm":"text-foreground hover:bg-surface"),"aria-pressed":p===e,"aria-current":p===e?"true":void 0,children:l?"en"===e?"EN":"BN":s.LOCALE_LABELS[e]},e))]})}],622159)},772562,e=>{"use strict";var t=e.i(843476),r=e.i(975157);let n={xs:{height:32,width:98},sm:{height:40,width:123},md:{height:48,width:148},lg:{height:56,width:172}};e.s(["Logo",0,function({className:e,size:a="sm"}){let s=n[a];return(0,t.jsx)("span",{className:(0,r.cn)("inline-flex shrink-0 items-center",e),"aria-label":"Fah Swe logo",role:"img",children:(0,t.jsx)("img",{src:"/brand/fahswe-logo.webp",srcSet:"/brand/fahswe-logo-240.webp 240w, /brand/fahswe-logo-320.webp 320w, /brand/fahswe-logo-480.webp 480w, /brand/fahswe-logo-640.webp 640w, /brand/fahswe-logo-800.webp 800w, /brand/fahswe-logo.webp 1672w",sizes:`${s.width}px`,alt:"Fah Swe",width:s.width,height:s.height,decoding:"async",className:"object-contain object-left",style:{width:s.width,height:s.height,maxWidth:"100%"}})})}])},427423,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n="fahswe-theme",a=(0,r.createContext)(null);function s(e){return"dark"===e?"dark":"light"===e?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
2k":"light"}function o(e){let t=document.documentElement;t.classList.remove("light","dark"),t.classList.add(e)}function i(e,t){localStorage.setItem(n,e);let r="system"===e?t:e;document.cookie=`${n}=${r};path=/;max-age=31536000;SameSite=Lax`}e.s(["ThemeProvider",0,function({children:e}){let[l,c]=(0,r.useState)("system"),[d,u]=(0,r.useState)("light"),[h,f]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=localStorage.getItem(n),t="light"===e||"dark"===e||"system"===e?e:"system",r=s(t);c(t),u(r),o(r),i(t,r),f(!0)},[]),(0,r.useEffect)(()=>{if(!h)return;let e=s(l);u(e),o(e),i(l,e)},[l,h]),(0,r.useEffect)(()=>{if(!h||"system"!==l)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>{let e=s("system");u(e),o(e)};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[l,h]),(0,t.jsx)(a.Provider,{value:{theme:l,resolvedTheme:d,setTheme:function(e){c(e)}},children:e})},"useTheme",0,function(){let e=(0,r.useContext)(a);if(!e)throw Error("useTheme must be used within ThemeProvider");return e}])},894013,e=>{"use strict";var t=e.i(843476),r=e.i(456420);let n=(0,r.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),a=(0,r.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);var s=e.i(271645),o=e.i(427423),i=e.i(975157);e.s(["ThemeToggle",0,function({className:e}){let{resolvedTheme:r,setTheme:l}=(0,o.useTheme)(),[c,d]=(0,s.useState)(!1);return((0,s.useEffect)(()=>d(!0),[]),c)?(0,t.jsx)("button",{type:"button",onClick:()=>l("dark"===r?"light":"dark"),className:(0,i.cn)("inline-flex h-8 w-8 items-center justify-center rounded-full border border-border/60 bg-surface text-foreground transition-colors hover:bg-surface-elevated sm:h-9 sm:w-9",e),"aria-label":"dark"===r?"Switch to light mode":"Switch to dark mode",children:"dark"===r?(0,t.jsx)(a,{className:"h-4 w-4"}):(0,t.jsx)(n,{className:"h-4 w-4"})}):(0,t.jsx)("div",{className:(0,i.cn)("h-8 w-8 rounded-full border border-border/60 sm:h-9 sm:w-9",e),"aria-hidden":!0})}],894013)},901279,e=>{"use strict";let t=(0,e.i(456420).default)("user",[["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"}]]);e.s(["User",0,t],901279)},312456,e=>{"use strict";var t=e.i(843476),r=e.i(615227),n=e.i(730274),a=e.i(328623),s=e.i(263676),o=e.i(271645),i=e.i(810382);let l="fahswe-chat-position";function c(e,t,r){return Math.min(Math.max(e,t),r)}function d(e,t){return{x:window.innerWidth-56-t,y:window.innerHeight-56-e}}var u=e.i(975157);let h={landing:["How do I optimize images?","What is OptimizeImage?","Which country is Fah Swe from?","Do you have your own AI?"],dashboard:["How do I download a product?","What payment methods are accepted?","How do I contact support?"]},f={landing:"Hello! Iâm Fah Swe AI â how can I help you today? Ask about our software services, portal, pricing, or OptimizeImage tools.",dashboard:"Hello! Iâm Fah Swe AI â how can I help you today? I can help with projects, payments, downloads, support, or OptimizeImage."},m=["Thinkingâ¦","Understanding your questionâ¦","Reviewing Fah Swe knowledgeâ¦","Composing your answerâ¦"];function p({actions:e}){return e.length?(0,t.jsx)("div",{className:"mt-3 flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:e.map(e=>(0,t.jsx)("a",{href:e.href,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:"inline-flex min-h-11 items-center justify-center rounded-xl bg-brand-gradient-slide px-4 py-2.5 text-sm font-semibold text-white shadow-md shadow-brand-orange/30 transition hover:brightness-110",children:e.label},`${e.label}-${e.href}`))}):null}function g({step:e}){return(0,t.jsxs)("div",{className:"mr-auto max-w-[85%] rounded-2xl border border-border/60 bg-surface-elevated px-3.5 py-3 text-sm",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-muted",children:[(0,t.jsx)(a.Sparkles,{className:"h-4 w-4 shrink-0 animate-pulse text-brand-orange"}),(0,t.jsx)("span",{className:"font-medium text-foreground",children:e})]}),(0,t.jsxs)("div",{className:"mt-2 flex gap-1 pl-6",children:[(0,t.jsx)("span",{className:"h-2 w-2 animate-bounce rounded-full bg-brand-orange [animation-delay:0ms]"}),(0,t.jsx)("span",{className:"h-2 w-2 animate-bounce rounded-full bg-brand-orange [animation-delay:150ms]"}),(0,t.jsx)("span",{className:"h-2 w-2 animate-bounce rounded-full bg-brand-orange [animation-delay:300ms]"})]})]})}function x({text:e,onDone:r}){let[n,a]=(0,o.useState)(""),s=(0,o.useRef)(!1),i=(0,o.useRef)(r);return i.current=r,(0,o.useEffect)(()=>{let t;a(""),s.current=!1;let r=0,n=e.length>400?7:e.length>180?10:14,o=()=>
2{if(r+=1,a(e.slice(0,r)),r>=e.length){s.current||(s.current=!0,i.current?.());return}t=setTimeout(o,n)};return t=setTimeout(o,n),()=>clearTimeout(t)},[e]),(0,t.jsxs)("span",{className:"whitespace-pre-wrap",children:[n,n.length<e.length?(0,t.jsx)("span",{className:"ml-0.5 inline-block h-4 w-0.5 animate-pulse bg-brand-orange align-middle"}):null]})}e.s(["FahSweChatWidget",0,function({variant:e="landing"}){let{locale:a}=(0,i.useLocale)(),[b,v]=(0,o.useState)(!1),[w,y]=(0,o.useState)([{id:"welcome",role:"assistant",content:f[e]}]),[j,k]=(0,o.useState)(""),[N,S]=(0,o.useState)(!1),[E,C]=(0,o.useState)(0),[L,P]=(0,o.useState)(null),[_,T]=(0,o.useState)(!1),[M,R]=(0,o.useState)(88),$=(0,o.useRef)(null),A=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=window.matchMedia("(min-width: 640px)"),t=window.matchMedia("(min-width: 1024px)"),r=()=>{T(e.matches),R(t.matches?24:96)};return r(),e.addEventListener("change",r),t.addEventListener("change",r),()=>{e.removeEventListener("change",r),t.removeEventListener("change",r)}},[]),(0,o.useEffect)(()=>{if(!N)return;C(0);let e=setInterval(()=>{C(e=>(e+1)%m.length)},900);return()=>clearInterval(e)},[N]);let{position:I,ready:O,panelStyle:U,onPointerDown:z,onPointerMove:W,onPointerUp:F,wasDragged:D,resetDrag:H}=function({defaultBottom:e,defaultRight:t}){let[r,n]=(0,o.useState)(null),[a,s]=(0,o.useState)(!1),i=(0,o.useRef)({active:!1,moved:!1,pointerId:-1,startX:0,startY:0,originX:0,originY:0}),u=(0,o.useCallback)(e=>{let t=window.innerWidth-56-8,r=window.innerHeight-56-8;return{x:c(e.x,8,t),y:c(e.y,8,r)}},[]);(0,o.useEffect)(()=>{let r=function(){try{let e=localStorage.getItem(l);if(!e)return null;let t=JSON.parse(e);if("number"==typeof t.x&&"number"==typeof t.y)return t}catch{}return null}();function a(){n(r=>r?u(r):d(e,t))}return n(r?u(r):d(e,t)),s(!0),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[e,t,u]);let h=(0,o.useCallback)(e=>{let t=u(e);n(t);try{localStorage.setItem(l,JSON.stringify(t))}catch{}},[u]),f=(0,o.useCallback)(e=>{r&&(i.current={active:!0,moved:!1,pointerId:e.pointerId,startX:e.clientX,startY:e.clientY,originX:r.x,originY:r.y},e.currentTarget.setPointerCapture(e.pointerId))},[r]),m=(0,o.useCallback)(e=>{if(!i.current.active||!r)return;let t=e.clientX-i.current.startX,n=e.clientY-i.current.startY;(Math.abs(t)>6||Math.abs(n)>6)&&(i.current.moved=!0),i.current.moved&&h({x:i.current.originX+t,y:i.current.originY+n})},[r,h]),p=(0,o.useCallback)(e=>{i.current.pointerId===e.pointerId&&(i.current.active=!1,e.currentTarget.releasePointerCapture(e.pointerId))},[]),g=(0,o.useCallback)(()=>i.current.moved,[]),x=(0,o.useCallback)(()=>{i.current.moved=!1},[]),b=(0,o.useCallback)(()=>{if(!r||window.innerWidth<640)return;let e=Math.min(400,window.innerWidth-32),t=Math.min(520,.8*window.innerHeight),n=r.x+56-e,a=r.y-t-12;return a<12&&(a=r.y+56+12),n<12&&(n=12),n+e>window.innerWidth-12&&(n=window.innerWidth-e-12),a+t>window.innerHeight-12&&(a=window.innerHeight-t-12),{left:n,top:a,width:e,height:t}},[r]);return{position:r,ready:a,panelStyle:b,onPointerDown:f,onPointerMove:m,onPointerUp:p,wasDragged:g,resetDrag:x}}({defaultBottom:M,defaultRight:24}),B=(0,o.useCallback)(()=>{requestAnimationFrame(()=>{$.current?.scrollTo({top:$.current.scrollHeight,behavior:"smooth"})})},[]);async function X(e){let t=(e??j).trim();if(!t||N)return;let r={id:`u-${Date.now()}`,role:"user",content:t};y(e=>[...e,r]),k(""),S(!0);try{let e=w.filter(e=>"welcome"!==e.id).map(e=>({role:e.role,content:e.content.length>2e3?`${e.content.slice(0,2e3)}â¦`:e.content})),r=await fetch("/api/help-chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:t,history:e,locale:"bn"===a||/[\u0980-\u09FF]/.test(t)?"bn":"en"})}),n=await r.json(),s=function(e,t){let r=[],n=new Set,a=(e,t,a)=>{let s,o=((s=(s=t.trim()).replace(/https?:\/\/(?:www\.)?fahswe\.com(?=https?:\/\/)/gi,"")).startsWith("/")&&(s=`https://fahswe.com${s}`),s);if(!o||n.has(o))return;n.add(o);let i=e.replace(/^Open\s+/i,"").trim()||"Link";r.push({label:`Open ${i}`,href:o,external:a??/optimizeimage\.|https?:\/\//i.test(o)})};for(let e of t||[])e?.label&&e?.href&&a(e.label,e.href,e.external);let s=e||"";return s.replace(/\[([^\]]+)\]\(([^)]+)\)/gi,(e,t,r)=>
2(a(String(t),String(r),!0),"")),(/optimizeimage\.fahswe\.com/i.test(s)||/optimize\s*image/i.test(s))&&(a("OptimizeImage","https://optimizeimage.fahswe.com",!0),a("Compress tool","https://optimizeimage.fahswe.com/image/compress",!0)),{content:s.replace(/https?:\/\/(?:www\.)?fahswe\.com(?=https?:\/\/)/gi,"").replace(/\[([^\]]+)\]\(([^)]+)\)/gi,"").replace(/\*{0,2}Quick links?\*{0,2}\s*/gi,"").replace(/https?:\/\/[^\s)>\]]+/gi,"").replace(/\boptimizeimage\.fahswe\.com\b/gi,"OptimizeImage").replace(/\n[â¢\-]\s*$/gm,"").replace(/[ \t]+\n/g,"\n").replace(/\n{3,}/g,"\n\n").trim(),actions:r}}(n.reply??"Sorry, I couldn't respond right now. Please try again or call +8801783975571.",Array.isArray(n.actions)?n.actions:void 0),o=`a-${Date.now()}`;y(e=>[...e,{id:o,role:"assistant",content:s.content,stream:!0,actions:s.actions}]),P(o)}catch{y(e=>[...e,{id:`e-${Date.now()}`,role:"assistant",content:"Connection error. Please check your network and try again."}])}finally{S(!1)}}if((0,o.useEffect)(()=>{b&&B()},[w,b,N,E,L,B]),(0,o.useEffect)(()=>{b&&A.current?.focus()},[b]),!O||!I)return null;let K=_?U():void 0;return(0,t.jsxs)(t.Fragment,{children:[!b&&(0,t.jsx)("button",{type:"button",onClick:function(){D()?H():v(!0)},onPointerDown:z,onPointerMove:W,onPointerUp:F,style:{left:I.x,top:I.y,touchAction:"none"},className:"fixed z-[60] flex h-14 w-14 cursor-grab items-center justify-center rounded-full bg-brand-gradient-slide text-white shadow-lg shadow-brand-orange/30 active:cursor-grabbing active:scale-95","aria-label":"Open Fah Swe AI chat â drag to move",children:(0,t.jsx)(r.MessageCircle,{className:"pointer-events-none h-6 w-6"})}),b&&(0,t.jsxs)("div",{className:(0,u.cn)("fixed z-[60] flex flex-col bg-surface shadow-2xl",!K&&"inset-0",K&&"rounded-2xl border border-border/60"),style:K,children:[(0,t.jsxs)("header",{className:(0,u.cn)("flex shrink-0 items-center justify-between border-b border-border/60 px-4 py-3",K&&"rounded-t-2xl"),children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-foreground",children:"Fah Swe AI"}),(0,t.jsx)("p",{className:"text-[11px] text-muted",children:N?"Thinkingâ¦":"Online · Fah Swe expert"})]}),(0,t.jsx)("button",{type:"button",onClick:()=>v(!1),className:"rounded-lg p-2 text-muted hover:bg-surface-elevated hover:text-foreground","aria-label":"Close chat",children:(0,t.jsx)(s.X,{className:"h-5 w-5"})})]}),(0,t.jsxs)("div",{ref:$,className:"flex-1 space-y-3 overflow-y-auto overscroll-contain p-4",children:[w.map(e=>(0,t.jsxs)("div",{className:(0,u.cn)("max-w-[90%] rounded-2xl px-3.5 py-2.5 text-sm leading-relaxed","user"===e.role?"ml-auto bg-brand-gradient-slide text-white":"mr-auto border border-brand-orange/20 bg-brand-orange/10 text-foreground"),children:["assistant"===e.role&&e.stream&&e.id===L?(0,t.jsx)(x,{text:e.content,onDone:()=>{P(null),y(t=>t.map(t=>t.id===e.id?{...t,stream:!1}:t))}}):(0,t.jsx)("span",{className:"whitespace-pre-wrap",children:e.content}),"assistant"===e.role&&!e.stream&&e.actions?.length?(0,t.jsx)(p,{actions:e.actions}):null]},e.id)),N&&(0,t.jsx)(g,{step:m[E]})]}),w.length<=1&&!N&&(0,t.jsx)("div",{className:"flex shrink-0 flex-wrap gap-2 border-t border-border/40 px-4 py-2",children:h[e].map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>X(e),className:"rounded-full border border-border/60 px-3 py-1 text-[11px] text-muted hover:border-brand-orange/40 hover:text-foreground",children:e},e))}),(0,t.jsxs)("form",{className:(0,u.cn)("flex shrink-0 gap-2 border-t border-border/60 p-3",K&&"rounded-b-2xl"),style:{paddingBottom:"max(0.75rem, env(safe-area-inset-bottom))"},onSubmit:e=>{e.preventDefault(),X()},children:[(0,t.jsx)("input",{ref:A,value:j,onChange:e=>k(e.target.value),placeholder:"Ask about Fah Sweâ¦",maxLength:500,disabled:N,className:"min-w-0 flex-1 rounded-xl border border-border/60 bg-background px-3 py-2.5 text-sm outline-none focus:border-brand-orange/50"}),(0,t.jsx)("button",{type:"submit",disabled:N||!j.trim(),className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-brand-gradient-slide text-white disabled:opacity-50","aria-label":"Send message",children:(0,t.jsx)(n.Send,{className:"h-4 w-4"})})]})]})]})}],312456)},749817,e=>{"use strict";let t=(0,e.i(456420).default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);e.s(["Home",0,t],749817)},341981,e=>{"use strict";var t=e.i(843476),r=e.i(526732);e.s(["AuthProvider",0,function({children:e}){return(0,t.jsx)(r.SessionProvider,{children:e})}])},587749,e=>{"use strict";var t=e.i(843476),r=e.i(618566),n=e.i(312456),a=e.i(522016),s=e.i(810382),o=e.i(772562),i=e.i(623534),l=e.i(185006);let c={"/":"nav.home","/services":"nav.services","/pricing":"nav.price","/products":"nav.digital","/rent":"nav.rent","/loan":"nav.loan","/portfolio":"nav.portfolio","/work":"nav.work","/blog":"nav.blog","/about":"nav.about","/contact":"nav.contact"};function d(){let{t:e,locale:r}=(0,s.useLocale)(),n=e=>(0,l.localizedHref)(e,r);return(0,t.jsx)("footer",{className:"border-t border-border/60 bg-surface pb-mobile-nav lg:pb-0",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-4 py-12 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 lg:grid-cols-6",children:[(0,t.jsxs)("div",{className:"space-y-4 lg:col-span-1",children:[(0,t.jsx)(a.default,{href:n("/"),className:"inline-flex","aria-label":"Fah
2Swe home",children:(0,t.jsx)(o.Logo,{size:"sm"})}),(0,t.jsx)("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:e("site.description")})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-foreground",children:e("footer.nav")}),(0,t.jsx)("ul",{className:"space-y-2",children:i.navLinks.map(r=>(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n(r.href),className:"text-sm text-muted transition-colors hover:text-foreground",children:e(c[r.href]??r.label)})},r.href))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-foreground",children:e("footer.capabilities")}),(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/services/webrtc-livekit"),className:"transition-colors hover:text-foreground",children:e("footer.cap.rtc")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/services/live-streaming-apps"),className:"transition-colors hover:text-foreground",children:e("footer.cap.live")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/services/ai-highlight"),className:"transition-colors hover:text-foreground",children:e("footer.cap.aiHighlight")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/services/ai-computer-assistant"),className:"transition-colors hover:text-foreground",children:e("footer.cap.aiAssistant")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/services/mobile-flash-tools"),className:"transition-colors hover:text-foreground",children:e("footer.cap.flashTools")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/what-we-do"),className:"transition-colors hover:text-foreground",children:e("footer.cap.whatWeDo")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/services"),className:"transition-colors hover:text-foreground",children:e("footer.cap.allServices")})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-foreground",children:e("footer.freeTools")}),(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/services/game-development"),className:"transition-colors hover:text-foreground",children:"bn"===r?"à¦à§à¦® ডà§à¦à§à¦²à¦ªà¦®à§à¦¨à§à¦":"Game Development"})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://tools.fahswe.com/",target:"_blank",rel:"noopener noreferrer",className:"transition-colors hover:text-foreground",children:e("footer.tools.optimize")})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-foreground",children:e("footer.legal")}),(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/program"),className:"transition-colors hover:text-foreground",children:e("footer.program")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/program/affiliate"),className:"transition-colors hover:text-foreground",children:e("footer.affiliate")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/refund"),className:"transition-colors hover:text-foreground",children:e("footer.refund")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/privacy"),className:"transition-colors hover:text-foreground",children:e("footer.privacy")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/terms"),className:"transition-colors hover:text-foreground",children:e("footer.terms")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/security"),className:"transition-colors hover:text-foreground",children:e("footer.security")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/about/founder"),className:"transition-colors hover:text-foreground",children:e("footer.founder")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:n("/about/revenue"),className:"transition-colors hover:text-foreground",children:e("footer.revenue")})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-foreground",children:e("footer.contact")}),(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted",children:[(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:`mailto:${i.siteConfig.email}`,className:"transition-colors hover:text-foreground",children:i.siteConfig.email})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:`mailto:${i.siteConfig.emailSecondary}`,className:"transition-colors hover:text-foreground",children:i.siteConfig.emailSecondary})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:`tel:${i.siteConfig.phone}`,className:"transition-colors hover:text-foreground",children:i.siteConfig.phoneDis
2play})}),(0,t.jsx)("li",{children:i.siteConfig.location})]})]})]}),(0,t.jsxs)("div",{className:"mt-10 flex flex-col gap-3 border-t border-border/60 pt-6 text-sm text-muted sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("p",{children:["© ",new Date().getFullYear()," ",i.siteConfig.name,". ",e("footer.rights")]}),(0,t.jsxs)("p",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)("span",{className:"inline-block h-2 w-2 rounded-full bg-emerald-500","aria-hidden":!0}),e("footer.secure")]})]})]})})}var u=e.i(526732),h=e.i(271645),f=e.i(622159),m=e.i(894013),p=e.i(975157),g=e.i(716327);let x={"/":"nav.home","/services":"nav.services","/pricing":"nav.price","/products":"nav.digital","/rent":"nav.rent","/loan":"nav.loan","/game-development":"nav.games","/portfolio":"nav.portfolio","/work":"nav.work","/blog":"nav.blog","/about":"nav.about","/contact":"nav.contact"},b=new Set(["/","/services","/pricing","/products","/rent","/loan","/game-development","/portfolio"]);function v(e,t){let r=(0,l.stripBnPrefix)(e)??e;return"/"===t?"/"===r:r===t||r.startsWith(`${t}/`)}function w(){let e=(0,r.usePathname)()||"/",{data:n,status:c}=(0,u.useSession)(),{t:d,locale:w}=(0,s.useLocale)(),[y,j]=(0,h.useState)(!1),[k,N]=(0,h.useState)(!1),S=(0,h.useRef)(null),E=(0,h.useId)(),C=e=>(0,l.localizedHref)(e,w),L=i.navLinks.filter(e=>b.has(e.href)),P=i.navLinks.filter(e=>!b.has(e.href)),_=P.some(t=>v(e,t.href));(0,h.useEffect)(()=>{j(!0)},[]),(0,h.useEffect)(()=>{N(!1)},[e]),(0,h.useEffect)(()=>{if(k)return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)};function e(e){S.current&&!S.current.contains(e.target)&&N(!1)}function t(e){"Escape"===e.key&&N(!1)}},[k]);let T=y&&"authenticated"===c&&!!n;return(0,t.jsx)("header",{className:(0,p.cn)("fixed inset-x-0 top-0 z-50 border-b border-border/60 bg-background shadow-sm","pt-[env(safe-area-inset-top,0px)]"),children:(0,t.jsxs)("div",{className:"mx-auto flex h-14 max-w-7xl items-center justify-between gap-2 px-3 sm:h-16 sm:gap-3 sm:px-6 lg:px-8",children:[(0,t.jsxs)(a.default,{href:C("/"),className:"flex shrink-0 items-center text-foreground","aria-label":"Fah Swe home",children:[(0,t.jsx)(o.Logo,{size:"xs",className:"sm:!hidden"}),(0,t.jsx)(o.Logo,{size:"sm",className:"!hidden sm:!inline-flex"})]}),(0,t.jsxs)("nav",{className:"hidden min-w-0 items-center gap-0.5 xl:flex","aria-label":"bn"===w?"পà§à¦°à¦§à¦¾à¦¨ নà§à¦à¦¿à¦à§à¦¶à¦¨":"Main navigation",children:[L.map(r=>{let n=v(e,r.href);return(0,t.jsx)(a.default,{href:C(r.href),className:(0,p.cn)("whitespace-nowrap rounded-lg px-2.5 py-2 text-[13px] font-semibold transition-colors",n?"bg-surface-elevated text-foreground":"text-foreground/80 hover:bg-surface hover:text-foreground"),children:d(x[r.href]??r.label)},r.href)}),(0,t.jsxs)("div",{className:"relative",ref:S,children:[(0,t.jsxs)("button",{type:"button",id:E,"aria-haspopup":"menu","aria-expanded":k,"aria-controls":`${E}-menu`,onClick:()=>N(e=>!e),className:(0,p.cn)("inline-flex items-center gap-1 whitespace-nowrap rounded-lg px-2.5 py-2 text-[13px] font-semibold transition-colors",k||_?"bg-surface-elevated text-foreground":"text-foreground/80 hover:bg-surface hover:text-foreground"),children:["bn"===w?"à¦à¦°à¦":"More",(0,t.jsx)(g.ChevronDown,{className:(0,p.cn)("h-3.5 w-3.5 transition-transform",k&&"rotate-180")})]}),k?(0,t.jsx)("ul",{id:`${E}-menu`,role:"menu","aria-labelledby":E,className:"absolute right-0 top-full z-50 mt-1 min-w-[11rem] rounded-xl border border-border/60 bg-background p-1.5 shadow-lg",children:P.map(r=>{let n=v(e,r.href);return(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(a.default,{role:"menuitem",href:C(r.href),className:(0,p.cn)("block rounded-lg px-3 py-2 text-sm font-semibold",n?"bg-surface-elevated text-foreground":"text-foreground/85 hover:bg-surface hover:text-foreground"),onClick:()=>N(!1),children:d(x[r.href]??r.label)})},r.href)})}):null]})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-1.5 sm:gap-2",children:[(0,t.jsx)(f.LanguageSwitcher,{compact:!0}),(0,t.jsx)(m.ThemeToggle,{}),(0,t.jsx)("div",{className:"flex items-center gap-1.5 sm:gap-2",children:T?(0,t.jsx)(a.default,{href:"ADMIN"===n.user.role?"/admin":"/dashboard",className:"rounded-full bg-brand-gradient-slide px-3 py-1.5 text-xs font-semibold text-white shadow-brand sm:px-4 sm:py-2 sm:text-sm",children:"ADMIN"===n.user.role?"bn"===w?"à¦
à§à¦¯à¦¾à¦¡à¦®à¦¿à¦¨":"Admin Panel":d("nav.dashboard")}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{href:"/login",rel:"nofollow",className:"rounded-full px-2.5 py-1.5 text-xs font-semibold text-foreground transition-colors hover:bg-surface sm:px-3 sm:py-2 sm:text-sm",children:d("nav.login")}),(0,t.jsx)(a.default,{href:"/register",rel:"nofollow",className:"rounded-full bg-brand-gradient-slide px-3 py-1.5 text-xs font-semibold text-white shadow-brand sm:px-4 sm:py-2 sm:text-sm",children:d("nav.signup")})]})})]})]})})}var y=e.i(808306),j=e.i(749817),k=e.i(294105);let N=(0,e.i(456420).default)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}
2],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]);var S=e.i(367784),E=e.i(263448),C=e.i(986206),L=e.i(901279),P=e.i(263676);function _({text:e,className:r,active:n=!1}){return e.length>8?(0,t.jsx)("span",{className:(0,p.cn)("relative block w-full max-w-[3.1rem] overflow-hidden text-center text-[9px] font-medium leading-none sm:max-w-[3.4rem] sm:text-[10px]",n&&"font-semibold",r),title:e,children:(0,t.jsxs)("span",{className:"tab-marquee-track inline-block whitespace-nowrap will-change-transform",children:[e,(0,t.jsx)("span",{className:"px-2 opacity-40","aria-hidden":!0,children:"â¢"}),e]})}):(0,t.jsx)("span",{className:(0,p.cn)("max-w-full truncate text-[10px] font-medium leading-none",r),children:e})}let T={"/":"nav.home","/services":"nav.services","/pricing":"nav.price","/products":"nav.digital","/rent":"nav.rent","/loan":"nav.loan","/game-development":"nav.games","/portfolio":"nav.portfolio","/work":"nav.work","/blog":"nav.blog","/about":"nav.about","/contact":"nav.contact","/security":"nav.security"},M={home:j.Home,products:E.ShoppingBag,rent:C.Smartphone,games:y.Gamepad2,account:L.User};function R(){let e=(0,r.usePathname)()||"/",n=(0,l.stripBnPrefix)(e)??e,{data:o}=(0,u.useSession)(),{t:c,locale:d}=(0,s.useLocale)(),f=e=>(0,l.localizedHref)(e,d),[m,g]=(0,h.useState)(!1);(0,h.useEffect)(()=>{g(!1)},[e]),(0,h.useEffect)(()=>{if(!m)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[m]);let x=[{id:"home",labelKey:"nav.home",href:"/",icon:M.home,match:e=>"/"===e},{id:"products",labelKey:"nav.products",href:"/products",icon:M.products,match:e=>e.startsWith("/products")},{id:"rent",labelKey:"nav.rent",href:"/rent",icon:M.rent,match:e=>e.startsWith("/rent")},{id:"games",labelKey:"nav.games",href:"/game-development",icon:M.games,match:e=>e.startsWith("/game-development")},{id:"account",labelKey:o?"nav.account":"nav.login",href:o?"ADMIN"===o.user.role?"/admin":"/dashboard":"/login",icon:M.account,match:e=>e.startsWith("/login")||e.startsWith("/register")||e.startsWith("/dashboard")||e.startsWith("/admin"),drawer:!0}],b=[...i.navLinks,{label:"Security",href:"/security"}],v=o?.user?.id?o.user.id.slice(0,8):"",w=o?.user.role==="ADMIN"?"/admin":"/dashboard",y=(o?.user?.name??o?.user?.email??"U").slice(0,2).toUpperCase();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("nav",{className:"fixed inset-x-0 bottom-0 z-50 border-t border-border/50 bg-background/95 shadow-[0_-4px_20px_rgba(0,0,0,0.08)] backdrop-blur-md lg:hidden","aria-label":"Mobile app navigation",style:{paddingBottom:"env(safe-area-inset-bottom, 0px)"},children:(0,t.jsx)("div",{className:"mx-auto flex h-14 max-w-lg items-stretch justify-around px-1",children:x.map(e=>{let r=e.icon,s=e.match(n),o=c(e.labelKey),i=s||"drawer"in e&&e.drawer&&m;return"drawer"in e&&e.drawer?(0,t.jsxs)("button",{type:"button",onClick:()=>g(!0),className:(0,p.cn)("flex min-h-10 min-w-0 flex-1 flex-col items-center justify-center gap-0.5 px-0.5 py-1.5 transition-colors",i?"text-brand-orange":"text-muted active:text-foreground"),"aria-expanded":m,"aria-haspopup":"dialog",children:[(0,t.jsx)(r,{className:"h-4.5 w-4.5 h-[18px] w-[18px]",strokeWidth:i?2.25:1.75}),(0,t.jsx)(_,{text:o,active:i})]},e.id):(0,t.jsxs)(a.default,{href:f(e.href),className:(0,p.cn)("flex min-h-10 min-w-0 flex-1 flex-col items-center justify-center gap-0.5 px-0.5 py-1.5 transition-colors",s?"text-brand-orange":"text-muted active:text-foreground"),"aria-current":s?"page":void 0,children:[(0,t.jsx)(r,{className:"h-[18px] w-[18px]",strokeWidth:s?2.25:1.75}),(0,t.jsx)(_,{text:o,active:s})]},e.id)})})}),m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"fixed inset-0 z-[60] bg-black/45 lg:hidden","aria-label":"Close profile menu",onClick:()=>g(!1)}),(0,t.jsxs)("aside",{className:"fixed inset-y-0 right-0 z-[70] flex w-[min(100vw-3rem,18.5rem)] flex-col border-l border-border/50 bg-background shadow-2xl lg:hidden",style:{paddingTop:"env(safe-area-inset-top, 0px)",paddingBottom:"env(safe-area-inset-bottom, 0px)"},"aria-label":"Profile menu",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-4 py-3",children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.14em] text-muted",children:o?c("nav.account"):c("nav.login")}),(0,t.jsx)("button",{type:"button",onClick:()=>g(!1),className:"rounded-md p-1.5 text-muted hover:bg-surface hover:text-foreground","aria-label":"Close",children:(0,t.jsx)(P.X,{className:"h-4 w-4"})})]}),(0,t.jsx)("div",{className:"border-y border-border/40 px-4 py-3.5",children:o?(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-full bg-slate-800 text-[11px] font-bold text-white dark:bg-white/90 dark:text-slate-900",children:y}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate text-sm font-semibold text-foreground",children:o.user.name??o.user.email}),v?(0,t.jsxs)("p",{className:"font-mono text-[10px] text-muted",children:["ID · ",v]}):null]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)(a.default,{href:w,onClick:()=>g(!1),className:"inline-flex items-center gap-1.5 text-sm font-semibold text-brand-orange hover:underline",children:[(0,t.jsx)(k.LayoutDashboard,{className:"h-3.5 w-3.5"}),"ADMIN"===o.user.role?"Admin Panel":c("nav.dashboard")]}),(0,t.jsx)("span",{className:"text-border",children:"·"}),(0,t.jsxs)("button",{type:"button",onClick:()=>(0,u.signOut)({callbackUrl:"/"}),className:"inline-flex items-center gap-1.5 text-sm text-muted hover:text-foreground",children:[(0,t.jsx)(S.LogOut,{className:"h-3.5 w-3.5"}),c("dash.logout")]})]})]}):(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)(a.default,{href:"/login",rel:"nofollow",onClick:()=>g(!1),className:"inline-flex items-center justify-center gap-2 rounded-lg border border-border/60 bg-surface px-3 py-2 text-sm font-semibold text-foreground",children:[(0,t.jsx)(N,{className:"h-4 w-4"}),c("nav.login")]}),(0,t.jsx)(a.default,{href:"/register",rel:"nofollow",onClick:()=>g(!1),className:"text-center text-sm font-medium text-brand-orange hover:underline",children:c("nav.signup")})]})}),(0,t.jsxs)("nav",{className:"flex-1 overflow-y-auto px-2 py-3","aria-label":"Site sections",children:[(0,t.jsx)("p",{className:"px-2.5 pb-2 text-[10px] font-semibold uppercase tracking-[0.16em] text-muted",children:"Menu"}),(0,t.jsx)("ul",{className:"space-y-0.5",children:b.map(e=>{let r="/"===e.href?"/"===n:n===e.href||n.startsWith(`${e.href}/`);return(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:f(e.href),onClick:()=>g(!1),className:(0,p.cn)("block rounded-lg px-2.5 py-2 text-[13px] font-medium transition-colors",r?"bg-surface text-foreground":"text-muted hover:bg-surface/80 hover:text-foreground"),children:c(T[e.href]??e.label)})},e.href)})})]})]})]}):null]})}function $(){let e=(0,r.usePathname)(),[n,a]=(0,h.useState)(!1),[s,o]=(0,h.useState)(0),[i,l]=(0,h.useState)(!1),c=(0,h.useRef)(null),d=(0,h.useRef)(null),u=(0,h.useRef)(!1),f=(0,h.useCallback)(()=>{c.current&&(clearInterval(c.current),c.current=null),d.current&&(clearTimeout(d.current),d.current=null)},[]),m=(0,h.useCallback)(()=>{u.current&&(f(),o(100),l(!0),d.current=setTimeout(()=>{u.current=!1,a(!1),o(0),l(!1)},220))},[f]),p=(0,h.useCallback)(()=>{u.current||(u.current=!0,f(),l(!1),a(!0),o(8),c.current=setInterval(()=>{o(e=>e>=88?e:e<40?e+9:e<70?e+3.5:e+.8)},180))},[f]);return((0,h.useEffect)(()=>{m()},[e,m]),(0,h.useEffect)(()=>{let e=e=>{let t;if(e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let r=e.target?.closest("a");if(!r||r.target&&"_self"!==r.target||r.hasAttribute("download"))return;let n=r.getAttribute("href");if(!(!n||n.startsWith("#")||n.startsWith("mailto:")||n.startsWith("tel:"))){try{t=new URL(n,window.location.href)}catch{return}t.origin!==window.location.origin||t.pathname.startsWith("/api")||(t.pathname!==window.location.pathname||t.search!==window.location.search)&&p()}};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[p]),(0,h.useEffect)(()=>()=>f(),[f]),n)?(0,t.jsx)("div",{className:"pointer-events-none fixed inset-x-0 top-0 z-[200] h-[3px] overflow-hidden",role:"progressbar","aria-hidden":!0,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(s),children:(0,t.jsx)("div",{className:"h-full origin-left rounded-r-full bg-brand-orange shadow-[0_0_10px_rgba(249,115,22,0.55)] transition-[width,opacity] duration-200 ease-out",style:{width:`${s}%`,opacity:+!i}})}):null}e.s(["SiteShell",0,function({children:e}){let a=(0,r.usePathname)().replace(/^\/bn(?=\/|$)/,"")||"/",s=a.startsWith("/admin")||a.startsWith("/dashboard"),o="/login"===a||"/register"===a;return s||o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)($,{}),e]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)($,{}),(0,t.jsx)(w,{}),(0,t.jsx)("main",{className:"flex-1 pb-mobile-nav pt-[calc(3.5rem+env(safe-area-inset-top,0px))] sm:pt-[calc(4rem+env(safe-area-inset-top,0px))] lg:pb-0",children:e}),(0,t.jsx)(d,{}),(0,t.jsx)(R,{}),(0,t.jsx)(n.FahSweChatWidget,{variant:"landing"})]})}],587749)}]);
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.