1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},98183,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={assign:function(){return a},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return l}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});function o(e){let t={};for(let[i,r]of e.entries()){let e=t[i];void 0===e?t[i]=r:Array.isArray(e)?e.push(r):t[i]=[e,r]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[i,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(i,s(e));else t.set(i,s(r));return t}function a(e,...t){for(let i of t){for(let t of i.keys())e.delete(t);for(let[t,r]of i.entries())e.append(t,r)}return e}},18967,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return w},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return s},getDisplayName:function(){return u},getLocationOrigin:function(){return c},getURL:function(){return h},isAbsoluteUrl:function(){return a},isResSent:function(){return d},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,i=!1;return(...r)=>(i||(i=!0,t=e(...r)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=e=>l.test(e);function c(){let{protocol:e,hostname:t,port:i}=window.location;return`${e}//${t}${i?":"+i:""}`}function h(){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 d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let i=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(i&&d(i))return r;if(!r)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return r}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class x extends Error{}class v extends Error{}class b 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 S(e){return JSON.stringify({message:e.message,stack:e.stack})}},18581,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=e.r(71645);function n(e,t){let i=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=i.current;e&&(i.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(i.current=o(e,r)),t&&(n.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let i=e(t);return"function"==typeof i?i:()=>e(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},95057,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return a}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let o=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:i}=e,r=e.protocol||"",n=e.pathname||"",l=e.hash||"",a=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:i&&(c=t+(~i.indexOf(":")?`[${i}]`:i),e.port&&(c+=":"+e.port)),a&&"object"==typeof a&&(a=String(o.urlQueryToSearchParams(a)));let h=e.search||a&&`?${a}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||s.test(r))&&!1!==c?(c="//"+(c||""),n&&"/"!==n[0]&&(n="/"+n)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),h&&"?"!==h[0]&&(h="?"+h),n=n.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${r}${c}${n}${h}${l}`}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}},73668,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return o}});let r=e.r(18967),n=e.r(52817);function o(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),i=new URL(e,t);return i.origin===t&&(0,n.hasBasePath)(i.pathname)}catch(e){return!1}}},84508,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},22016,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return x},useLinkStatus:function(){return b}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let o=e.r(90809),s=e.r(43476),l=o._(e.r(71645)),a=e.r(95057),c=e.r(8372),h=e.r(18581),u=e.r(18967),d=e.r(5550);e.r(33525);let p=e.r(88540),f=e.r(91949),m=e.r(73668),g=e.r(9396);function x(t){var i,r;let n,o,x,[b,w]=(0,l.useOptimistic)(f.IDLE_LINK_STATUS),y=(0,l.useRef)(null),{href:S,as:k,children:E,prefetch:N=null,passHref:j,replace:T,shallow:C,scroll:A,onClick:P,onMouseEnter:z,onTouchStart:L,legacyBehavior:F=!1,onNavigate:R,transitionTypes:O,ref:M,unstable_dynamicOnHover:_,...B}=t;n=E,F&&("string"==typeof n||"number"==typeof n)&&(n=(0,s.jsx)("a",{children:n}));let I=l.default.useContext(c.AppRouterContext),$=!1!==N,D=!1!==N?null===(r=N)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,H="str
1ing"==typeof(i=k||S)?i:(0,a.formatUrl)(i);if(F){if(n?.$$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});o=l.default.Children.only(n)}let W=F?o&&"object"==typeof o&&o.ref:M,U=l.default.useCallback(e=>(null!==I&&(y.current=(0,f.mountLinkInstance)(e,H,I,D,$,w)),()=>{y.current&&((0,f.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,f.unmountPrefetchableInstance)(e)}),[$,H,I,D,w]),V={ref:(0,h.useMergedRef)(U,W),onClick(t){F||"function"!=typeof P||P(t),F&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!I||t.defaultPrevented||function(t,i,r,n,o,s,a){if("u">typeof window){let c,{nodeName:h}=t.currentTarget;if("A"===h.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,m.isLocalURL)(i)){n&&(t.preventDefault(),location.replace(i));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);l.default.startTransition(()=>{u(i,n?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,r.current,a)})}}(t,H,y,T,A,R,O)},onMouseEnter(e){F||"function"!=typeof z||z(e),F&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),I&&$&&(0,f.onNavigationIntent)(e.currentTarget,!0===_)},onTouchStart:function(e){F||"function"!=typeof L||L(e),F&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),I&&$&&(0,f.onNavigationIntent)(e.currentTarget,!0===_)}};return(0,u.isAbsoluteUrl)(H)?V.href=H:F&&!j&&("a"!==o.type||"href"in o.props)||(V.href=(0,d.addBasePath)(H)),x=F?l.default.cloneElement(o,V):(0,s.jsx)("a",{...B,...V,children:n}),(0,s.jsx)(v.Provider,{value:b,children:x})}e.r(84508);let v=(0,l.createContext)(f.IDLE_LINK_STATUS),b=()=>(0,l.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},88653,e=>{"use strict";e.i(47167);var t=e.i(43476),i=e.i(71645),r=e.i(31178),n=e.i(47414),o=e.i(74008),s=e.i(21476),l=e.i(72846),a=i,c=e.i(37806);function h(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class u extends a.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,l.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,i=(0,l.isHTMLElement)(e)&&e.offsetWidth||0,r=(0,l.isHTMLElement)(e)&&e.offsetHeight||0,n=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(n.height),o.width=parseFloat(n.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=i-o.width-o.left,o.bottom=r-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:r,anchorX:n,anchorY:o,root:s,pop:l}){let p=(0,a.useId)(),f=(0,a.useRef)(null),m=(0,a.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=(0,a.useContext)(c.MotionConfigContext),x=function(...e){return i.useCallback(function(...e){return t=>{let i=!1,r=e.map(e=>{let r=h(e,t);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let t=0;t<r.length;t++){let i=r[t];"function"==typeof i?i():h(e[t],null)}}}}(...e),e)}(f,e.props?.ref??e?.ref);return(0,a.useInsertionEffect)(()=>{let{width:e,height:t,top:i,left:a,right:c,bottom:h}=m.current;if(r||!1===l||!f.current||!e||!t)return;let u="left"===n?`left: ${a}`:`right: ${c}`,d="bottom"===o?`bottom: ${h}`:`top: ${i}`;f.current.dataset.motionPopId=p;let x=document.createElement("style");g&&(x.nonce=g);let v=s??document.head;return v.appendChild(x),x.sheet&&x.sheet.insertRule(` 2 [data-motion-pop-id="${p}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${u}px !important; 7 ${d}px !important; 8 } 9 `),()=>{f.current?.removeAttribute("data-motion-pop-id"),v.contains(x)&&v.removeChild(x)}},[r]),(0,t.jsx)(u,{isPresent:r,childRef:f,sizeRef:m,pop:l,children:!1===l?e:a.cloneElement(e,{ref:x})})}let p=({children:e,initial:r,isPresent:o,onExitComplete:l,custom:a,presenceAffectsLayout:c,mode:h,anchorX:u,anchorY:p,root:m})=>{let g=(0,n.useConstant)(f),x=(0,i.useId)(),v=!0,b=(0,i.useMemo)(()=>
9(v=!1,{id:x,initial:r,isPresent:o,custom:a,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;l&&l()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[o,g,l]);return c&&v&&(b={...b}),(0,i.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[o]),i.useEffect(()=>{o||g.size||!l||l()},[o]),e=(0,t.jsx)(d,{pop:"popLayout"===h,isPresent:o,anchorX:u,anchorY:p,root:m,children:e}),(0,t.jsx)(s.PresenceContext.Provider,{value:b,children:e})};function f(){return new Map}var m=e.i(64978);let g=e=>e.key||"";function x(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:s,initial:l=!0,onExitComplete:a,presenceAffectsLayout:c=!0,mode:h="sync",propagate:u=!1,anchorX:d="left",anchorY:f="top",root:v})=>{let[b,w]=(0,m.usePresence)(u),y=(0,i.useMemo)(()=>x(e),[e]),S=u&&!b?[]:y.map(g),k=(0,i.useRef)(!0),E=(0,i.useRef)(y),N=(0,n.useConstant)(()=>new Map),j=(0,i.useRef)(new Set),[T,C]=(0,i.useState)(y),[A,P]=(0,i.useState)(y);(0,o.useIsomorphicLayoutEffect)(()=>{k.current=!1,E.current=y;for(let e=0;e<A.length;e++){let t=g(A[e]);S.includes(t)?(N.delete(t),j.current.delete(t)):!0!==N.get(t)&&N.set(t,!1)}},[A,S.length,S.join("-")]);let z=[];if(y!==T){let e=[...y];for(let t=0;t<A.length;t++){let i=A[t],r=g(i);S.includes(r)||(e.splice(t,0,i),z.push(i))}return"wait"===h&&z.length&&(e=z),P(x(e)),C(y),null}let{forceRender:L}=(0,i.useContext)(r.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:A.map(e=>{let i=g(e),r=(!u||!!b)&&(y===A||S.includes(i));return(0,t.jsx)(p,{isPresent:r,initial:(!k.current||!!l)&&void 0,custom:s,presenceAffectsLayout:c,mode:h,root:v,onExitComplete:r?void 0:()=>{if(j.current.has(i)||!N.has(i))return;j.current.add(i),N.set(i,!0);let e=!0;N.forEach(t=>{t||(e=!1)}),e&&(L?.(),P(E.current),u&&w?.(),a&&a())},anchorX:d,anchorY:f,children:e},i)})})}],88653)},18566,(e,t,i)=>{t.exports=e.r(76562)},71655,e=>{"use strict";var t=e.i(43476),i="1.3.23";function r(e,t,i){return Math.max(e,Math.min(t,i))}var n=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let i=r(0,this.currentTime/this.duration,1),n=(t=i>=1)?1:this.easing(i);this.value=this.from+(this.to-this.from)*n}else if(this.lerp){var i,n,o,s;this.value=(i=this.value,n=this.to,o=60*this.lerp,(1-(s=1-Math.exp(-o*e)))*i+s*n),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i,duration:r,easing:n,onStart:o,onUpdate:s}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=r,this.easing=n,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=s}},o=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(e,t,{autoResize:i=!0,debounce:r=250}={}){this.wrapper=e,this.content=t,i&&(this.debouncedResize=function(e,t){let i;return function(...r){clearTimeout(i),i=setTimeout(()=>{i=void 0,e.apply(this,r)},t)}}(this.resize,r),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},s=class{events={};emit(e,...t){let i=this.events[e]||[];for(let e=0,r=i.length;e<r;e++)i[e]?.(...t)}on(e,t){return this.events[e]?this.events[e].push(t):this.events[e]=[t],()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}};let l=100/6,a={passive:!1};function c(e,t){return 1===e?l:2===e?t:1}var h=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new s;constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,a),this.element.addEventListener("touchstart",this.onTouchStart,a),this.element.addEventListener("touchmove",this.onTouchMove,a),this.element.addEventListener("touchend",this.onTouchEnd,a)}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,a),this.element.removeEventListener("touchstart",this.onTouchStart,a),this.element.removeEventListener("touchmove",this.onTouchMove,a),this.element.removeEventListener("touchend",this.onTouchEnd,a)}onTouchStart=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e,r=-(t-this.touchStart.x)*this.options.touchMultiplier,n=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:r,y:n},this.emitter.emit("scroll",{deltaX:r,deltaY:n,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:i,deltaMode:r}=e,n=c(r,this.window.width),o=c(r,this.window.height);t*=n,i*=o,t*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let u=e=>Math.min(1,1.001-2**(-10*e));var d=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new n;emitter=new s;dimensions;virtualScroll;constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:r=e,smoothWheel:n=!0,syncTouch:s=!1,syncTouchLerp:l=.075,touchInertiaExponent:a=1.7,duration:c,easing:d,lerp:p=.1,infinite:f=!1,orientation:m="vertical",gestureOrientation:g="horizontal"===m?"both":"vertical",touchMultiplier:x=1,wheelMultiplier:v=1,autoResize:b=!0,prevent:w,virtualScroll:y,overscroll:S=!0,autoRaf:k=!1,anchors:E=!1,autoToggle:N=!1,allowNestedScroll:j=!1,__experimental__naiveDimensions:T=!1,naiveDimensions:C=T,stopInertiaOnNavigate:A=!1}={}){window.lenisVersion=i,window.lenis||(window.lenis={}),window.lenis.version=i,"horizontal"===m&&(window.lenis.horizontal=!0),!0===s&&(window.lenis.touch=!0),e&&e!==document.documentElement||(e=window),"number"==typeof c&&"function"!=typeof d?d=u:"function"==typeof d&&"number"!=typeof c&&(c=1),this.options={wrapper:e,content:t,eventsTarget:r,smoothWheel:n,syncTouch:s,syncTouchLerp:l,touchInertiaExponent:a,duration:c,easing:d,lerp:p,infinite:f,gestureOrientation:g,orientation:m,touchMultiplier:x,wheelMultiplier:v,autoResize:b,prevent:w,virtualScroll:y,overscroll:S,autoRaf:k,anch
9ors:E,autoToggle:N,allowNestedScroll:j,naiveDimensions:C,stopInertiaOnNavigate:A},this.dimensions=new o(e,t,{autoResize:b}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new h(r,{touchMultiplier:x,wheelMultiplier:v}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().filter(e=>e instanceof HTMLAnchorElement&&e.href).map(e=>new URL(e.href)),i=new URL(window.location.href);if(this.options.anchors){let e=t.find(e=>i.host===e.host&&i.pathname===e.pathname&&e.hash);if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=`#${e.hash.split("#")[1]}`;this.scrollTo(i,t);return}}if(this.options.stopInertiaOnNavigate&&t.some(e=>i.host===e.host&&i.pathname!==e.pathname))return void this.reset()};onPointerDown=e=>{1===e.button&&this.reset()};onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:i,event:r}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:i,event:r}),r.ctrlKey||r.lenisStopPropagation)return;let n=r.type.includes("touch"),o=r.type.includes("wheel");this.isTouching="touchstart"===r.type||"touchmove"===r.type;let s=0===t&&0===i;if(this.options.syncTouch&&n&&"touchstart"===r.type&&s&&!this.isStopped&&!this.isLocked)return void this.reset();let l="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===t;if(s||l)return;let a=r.composedPath();a=a.slice(0,a.indexOf(this.rootElement));let c=this.options.prevent,h=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if(a.find(e=>e instanceof HTMLElement&&("function"==typeof c&&c?.(e)||e.hasAttribute?.("data-lenis-prevent")||"vertical"===h&&e.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===h&&e.hasAttribute?.("data-lenis-prevent-horizontal")||n&&e.hasAttribute?.("data-lenis-prevent-touch")||o&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(e,{deltaX:t,deltaY:i}))))return;if(this.isStopped||this.isLocked){r.cancelable&&r.preventDefault();return}if(!(this.options.syncTouch&&n||this.options.smoothWheel&&o)){this.isScrolling="native",this.animate.stop(),r.lenisStopPropagation=!0;return}let u=i;"both"===this.options.gestureOrientation?u=Math.abs(i)>Math.abs(t)?i:t:"horizontal"===this.options.gestureOrientation&&(u=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&i>0||this.animatedScroll===this.limit&&i<0))&&(r.lenisStopPropagation=!0),r.cancelable&&r.preventDefault();let d=n&&this.options.syncTouch,p=n&&"touchend"===r.type;p&&(u=Math.sign(u)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+u,{programmatic:!1,...d?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit
9()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:i=!1,lock:n=!1,programmatic:o=!0,lerp:s=o?this.options.lerp:void 0,duration:l=o?this.options.duration:void 0,easing:a=o?this.options.easing:void 0,onStart:c,onComplete:h,force:d=!1,userData:p}={}){if((this.isStopped||this.isLocked)&&!d)return;let f=e,m=t;if("string"==typeof f&&["top","left","start","#"].includes(f))f=0;else if("string"==typeof f&&["bottom","right","end"].includes(f))f=this.limit;else{let e=null;if("string"==typeof f?(e=document.querySelector(f))||("#top"===f?f=0:console.warn("Lenis: Target not found",f)):f instanceof HTMLElement&&f?.nodeType&&(e=f),e){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();m-=this.isHorizontal?e.left:e.top}let t=e.getBoundingClientRect(),i=getComputedStyle(e),r=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),n=getComputedStyle(this.rootElement),o=this.isHorizontal?Number.parseFloat(n.scrollPaddingLeft):Number.parseFloat(n.scrollPaddingTop);f=(this.isHorizontal?t.left:t.top)+this.animatedScroll-(Number.isNaN(r)?0:r)-(Number.isNaN(o)?0:o)}}if("number"==typeof f){if(f+=m,this.options.infinite){if(o){this.targetScroll=this.animatedScroll=this.scroll;let e=f-this.animatedScroll;e>this.limit/2?f-=this.limit:e<-this.limit/2&&(f+=this.limit)}}else f=r(0,f,this.limit);if(f===this.targetScroll){c?.(this),h?.(this);return}if(this.userData=p??{},i){this.animatedScroll=this.targetScroll=f,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),h?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}o||(this.targetScroll=f),"number"==typeof l&&"function"!=typeof a?a=u:"function"==typeof a&&"number"!=typeof l&&(l=1),this.animate.fromTo(this.animatedScroll,f,{duration:l,easing:a,lerp:s,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",c?.(this)},onUpdate:(e,t)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),o&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),h?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(e,{deltaX:t,deltaY:i}){let r,n,o,s,l,a,c,h,u,d,p,f,m,g,x,v,b=Date.now();e._lenis||(e._lenis={});let w=e._lenis;if(b-(w.time??0)>2e3){w.time=Date.now();let t=window.getComputedStyle(e);if(w.computedStyle=t,r=["auto","overlay","scroll"].includes(t.overflowX),n=["auto","overlay","scroll"].includes(t.overflowY),l=["auto"].includes(t.overscrollBehaviorX),a=["auto"].includes(t.overscrollBehaviorY),w.hasOverflowX=r,w.hasOverflowY=n,!(r||n))return!1;c=e.scrollWidth,h=e.scrollHeight,u=e.clientWidth,d=e.clientHeight,o=c>u,s=h>d,w.isScrollableX=o,w.isScrollableY=s,w.scrollWidth=c,w.scrollHeight=h,w.clientWidth=u,w.clientHeight=d,w.hasOverscrollBehaviorX=l,w.hasOverscrollBehaviorY=a}else o=w.isScrollableX,s=w.isScrollableY,r=w.hasOverflowX,n=w.hasOverflowY,c=w.scrollWidth,h=w.scrollHeight,u=w.clientWidth,d=w.clientHeight,l=w.hasOverscrollBehaviorX,a=w.hasOverscrollBehaviorY;if(!(r&&o||n&&s))return!1;let y=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===y)p=Math.round(e.scrollLeft),f=c-u,m=t,g=r,x=o,v=l;else{if("vertical"!==y)return!1;p=Math.round(e.scrollTop),f=h-d,m=i,g=n,x=s,v=a}return!v&&(p>=f||p<=0)||(m>0?p<f:p>0)&&g&&x}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(e
9=>{this.rootElement.classList.add(e)})}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))("lenis"===e||e.startsWith("lenis-"))&&this.rootElement.classList.remove(e)}},p=e.i(18566),f=e.i(71645);let m=(0,f.createContext)(null);e.s(["default",0,function({children:e}){let i=(0,p.usePathname)(),r=(0,f.useRef)(null),n=(0,f.useRef)(null),o=(0,f.useCallback)(()=>r.current,[]),s=(0,f.useCallback)((e,t)=>{let i=r.current;if(!i)return;let o=t?.durationMs??260,s=Math.max(0,Math.min(1,e)),l=i.options.lerp??.1;if(n.current&&(cancelAnimationFrame(n.current),n.current=null),o<=0||1e-4>Math.abs(l-s)){i.options.lerp=s;return}let a=performance.now(),c=s-l,h=e=>{let t=Math.min((e-a)/o,1),r=1-Math.pow(1-t,3);i.options.lerp=l+c*r,t<1?n.current=requestAnimationFrame(h):n.current=null};n.current=requestAnimationFrame(h)},[]);(0,f.useEffect)(()=>{let e=r.current;e&&e.scrollTo(0,{immediate:!0})},[i]),(0,f.useEffect)(()=>{let e=new d({duration:1.2,lerp:.1,smoothWheel:!0});r.current=e;let t=0,i=r=>{e.raf(r),t=requestAnimationFrame(i)};return t=requestAnimationFrame(i),()=>{cancelAnimationFrame(t),n.current&&cancelAnimationFrame(n.current),e.destroy(),r.current=null,n.current=null}},[]);let l=(0,f.useMemo)(()=>({getLenis:o,defaultLerp:.1,setLerp:s}),[o,s]);return(0,t.jsx)(m.Provider,{value:l,children:e})},"useLenis",0,function(){let e=(0,f.useContext)(m);if(!e)throw Error("useLenis must be used inside <LenisProvider />");return e}],71655)},2355,e=>{"use strict";var t=e.i(47167),i=e.i(71645),r=e.i(18566);function n(){return"u">typeof window}function o(){return"production"}function s(){return"development"===((n()?window.vam:o())||"production")}function l(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function a(e){return(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,i.useEffect)(()=>{!function(e={debug:!0}){var t;if(!n())return;!function(e="auto"){if("auto"===e){window.vam=o();return}window.vam=e}(e.mode),window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)}),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let i=e.scriptSrc?e.scriptSrc:s()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}/insights/script.js`:"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${i}"]`))return;let r=document.createElement("script");r.src=i,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(e.framework?`/${e.framework}`:""),r.dataset.sdkv="1.6.1",e.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),e.endpoint?r.dataset.endpoint=e.endpoint:e.basePath&&(r.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(r.dataset.dsn=e.dsn),r.onerror=()=>{let e=s()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${i}. ${e}`)},s()&&!1===e.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,i.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var i;null==(i=window.va)||i.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function c(e){let n,o,s,{route:c,path:h}=(n=(0,r.useParams)(),o=(0,r.useSearchParams)(),s=(0,r.usePathname)(),n?{route:function(e,t){if(!e||!t)return e;let i=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=l(r);e.test(i)&&(i=i.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=l(r.join("/"));e.test(i)&&(i=i.replace(e,`/[...${t}]`))}return i}catch(t){return e}}(s,Object.keys(n).length?n:Object.fromEntries(o.entries())),path:s}:{route:null,path:s});return i.default.createElement(a,{path:h,route:c,...e,basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}(),framework:"next"})}e.s(["Analytics",0,function(e){return i.default.createElement(i.Suspense,{fallback:null},i.default.createElement(c,{...e}))}])},73478,e=>{"use strict";var t=e.i(43476),i=e.i(22016),r=e.i(18566),n=e.i(71645),o=e.i(46932),s=e.i(88653),l=e.i(47163);let a=[{label:"Ana Sayfa",href:"/"},{label:"Hakkımızda",href:"/about"},{label:"Markalar",href:"/brands"},{label:"Affiliate Programları",href:"/affiliate-programs"}
9,{label:"İçerik Ãreticileri",href:"/talent"},{label:"Blog",href:"/blog"},{label:"İletiÅim",href:"/contact"}],c=[{label:"Instagram",href:"https://www.instagram.com/imediaff/"},{label:"LinkedIn",href:"https://tr.linkedin.com/company/imediaff"},{label:"Twitter",href:"#"}];e.s(["default",0,function(){let e=(0,r.usePathname)(),[h,u]=(0,n.useState)(!1),[d,p]=(0,n.useState)(!1),[f,m]=(0,n.useState)("light"),g="light"===f&&!h;(0,n.useEffect)(()=>{let e=()=>p(window.scrollY>24);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,n.useEffect)(()=>{let e=new IntersectionObserver(e=>{let t=e.filter(e=>e.isIntersecting);if(t.length>0){let e=t[t.length-1].target,i=e.className||"";m(i.includes("bg-white")||i.includes("bg-[#FFFFFF]")||i.includes("bg-[#F9FAFB]")||i.includes("bg-background")||i.includes("bg-[#fafafa]")||i.includes("bg-gray-50")||"light"===e.getAttribute("data-theme")||!i.includes("bg-[#111111]")&&!i.includes("bg-black")&&!i.includes("bg-[#0a0a0a]")&&!i.includes("bg-[#FB430A]")&&!i.includes("bg-[#FE9417]")&&"SECTION"===e.tagName?"light":"dark")}},{rootMargin:"-24px 0px -80% 0px"}),t=()=>{document.querySelectorAll("section, main > div, [data-theme]").forEach(t=>{e.observe(t)})};t();let i=setTimeout(t,500);return()=>{clearTimeout(i),e.disconnect()}},[e]),(0,n.useEffect)(()=>(h?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[h]),(0,n.useEffect)(()=>{u(!1)},[e]);let x={initial:{y:"20px",opacity:0},open:{y:0,opacity:1,transition:{duration:.5,ease:[.22,1,.36,1]}},close:{y:"20px",opacity:0,transition:{duration:.3}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:(0,l.cn)("fixed top-0 left-0 right-0 z-[110] transition-all duration-300 ease-out",d?(0,l.cn)("h-[60px] min-[992px]:h-[64px]",g?"bg-white/80 backdrop-blur-md border-b border-black/[0.08]":"bg-[#0a0a0a]/60 backdrop-blur-md border-b border-white/[0.08]"):"h-[64px] min-[992px]:h-[72px] bg-transparent border-b border-transparent"),children:(0,t.jsxs)("div",{className:"mx-auto flex h-full max-w-[1600px] items-center justify-between px-6 min-[992px]:px-10",children:[(0,t.jsx)("div",{className:"flex items-center flex-shrink-0",children:(0,t.jsx)(i.default,{href:"/",className:"group flex items-center relative z-[60]",children:(0,t.jsx)("img",{src:"/logo.png",alt:"imediaff",className:(0,l.cn)("object-contain transition-all duration-300 ease-out",d?"w-[116px] h-auto":"w-[163px] h-auto")})})}),(0,t.jsx)("nav",{className:"hidden min-[992px]:flex items-center gap-1 min-[1200px]:gap-3",children:a.map(r=>{let n=e===r.href||r.subItems&&e.startsWith(r.href+"/");return r.subItems?(0,t.jsxs)("div",{className:"relative group",children:[(0,t.jsxs)(i.default,{href:r.href,className:(0,l.cn)("group/link nav-link-underline py-2 text-[13px] px-[10px] font-medium tracking-wide transition-colors inline-flex items-center gap-1",n&&"active",g?n?"text-[#0F172A] font-semibold":"text-[#0F172A]/70 hover:text-[#0F172A]":n?"text-white font-semibold":"text-white/70 hover:text-white"),children:[r.label,(0,t.jsx)("span",{className:"text-[10px] opacity-70 group-hover/link:opacity-100 transition-opacity",children:"â¾"})]}),(0,t.jsx)("div",{className:"absolute top-full left-0 pt-4 opacity-0 translate-y-2 pointer-events-none group-hover:opacity-100 group-hover:translate-y-0 group-hover:pointer-events-auto transition-all duration-300 z-[100]",children:(0,t.jsx)("div",{className:"bg-white dark:bg-[#0a0a0a] border border-[#E5E5E5] dark:border-white/10 rounded-xl p-2 w-[280px] shadow-2xl flex flex-col gap-1",children:r.subItems.map(e=>(0,t.jsxs)(i.default,{href:e.href,className:"flex items-center justify-between px-4 py-3 rounded-lg text-sm text-[#666666] dark:text-white/70 hover:text-[#111111] dark:hover:text-white hover:bg-[#FFF3E0] dark:hover:bg-white/5 transition-colors group/sub",children:[(0,t.jsx)("span",{className:"group-hover/sub:text-[#FB430A] transition-colors",children:e.label}),(0,t.jsx)("span",{className:"text-sm opacity-80",children:e.flags})]},e.href))})})]},`${r.label}-${r.href}`):(0,t.jsx)(i.default,{href:r.href,className:(0,l.cn)("group nav-link-underline py-2 text-[13px] px-[10px] font-medium tracking-wide transition-colors",n&&"active",g?n?"text-[#0F172A] font-semibold":"text-[#0F172A]/70 hover:text-[#0F172A]":n?"text-white font-semibold":"text-white/70 hover:text-white"),children:r.label},`${r.label}-${r.href}`)})}),(0,t.jsx)("div",{className:"flex items-center gap-4 flex-shrink-0",children:(0,t.jsxs)("button",{onClick:()=>u(!h),className:"group relative z-[60] flex h-10 w-10 flex-col items-end justify-center gap-[6px] min-[992px]:hidden","aria-label":"Toggle menu",children:[(0,t.jsx)(o.motion.span,{animate:h?{rotate:45,y:8,width:24}:{rotate:0,y:0,width:24},className:(0,l.cn)("h-[2px] transition-all duration-300",h||!g?"bg-white":"bg-[#111111]")}),(0,t.jsx)(o.motion.span,{animate:h?{opacity:0,x:10}:{opacity:1,x:0},className:(0,l.cn)("h-[2px] w-5 transition-all duration-300",h||!g?"bg-white":"bg-[#111111]")}),(0,t.jsx)(o.motion.span,{animate:h?{rotate:-45,y:-8,width:24}:{rotate:0,y:0,width:16},className:(0,l.cn)("h-[2px] transition-all duration-300",h||!g?"bg-white":"bg-[#111111]")})]})})]})}),(0,t.jsx)(s.AnimatePresence,{children:h&&(0,t.jsxs)(o.motion.div,{variants:{initial:{opacity:0}
9,animate:{opacity:1,transition:{duration:.4,ease:[.22,1,.36,1]}},exit:{opacity:0,transition:{delay:.2,duration:.3}}},initial:"initial",animate:"animate",exit:"exit",className:"fixed inset-0 z-[100] flex flex-col bg-[#0a0a0a] px-6 overflow-y-auto min-[992px]:hidden",children:[(0,t.jsx)("div",{className:"fixed top-1/2 left-1/2 h-[60vh] w-[60vh] -translate-x-1/2 -translate-y-1/2 rounded-full bg-[#FB430A]/10 blur-[100px] pointer-events-none"}),(0,t.jsx)("div",{className:"fixed inset-0 opacity-[0.04] pointer-events-none mix-blend-overlay",style:{backgroundImage:'url("data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E")'}}),(0,t.jsxs)("div",{className:"flex flex-col min-h-full py-24",children:[(0,t.jsx)(o.motion.nav,{variants:{initial:{transition:{staggerChildren:.08,staggerDirection:-1}},open:{transition:{delayChildren:.1,staggerChildren:.08,staggerDirection:1}},close:{transition:{staggerChildren:.05,staggerDirection:-1}}},initial:"initial",animate:"open",exit:"close",className:"relative z-10 flex flex-col items-start justify-center flex-grow",children:a.map(e=>(0,t.jsx)(o.motion.div,{variants:x,className:"w-full",children:e.subItems?(0,t.jsxs)("div",{className:"w-full py-2 flex flex-col",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between w-full group",children:[(0,t.jsx)(i.default,{href:e.href,onClick:()=>u(!1),className:"block py-1 text-[clamp(28px,8vw,48px)] font-bold uppercase leading-none tracking-tighter text-white hover:bg-gradient-to-r hover:from-[#FB430A] hover:via-[#FB430A] hover:to-[#FB430A] hover:bg-clip-text hover:text-transparent transition-all duration-300",children:e.label}),(0,t.jsx)("button",{onClick:t=>{t.preventDefault(),setOpenSubmenu(openSubmenu===e.label?null:e.label)},className:"p-2 text-white/60 hover:text-white",children:(0,t.jsx)("span",{className:(0,l.cn)("inline-block transform transition-transform text-2xl",openSubmenu===e.label?"rotate-180":"rotate-0"),children:"â¾"})})]}),(0,t.jsx)(s.AnimatePresence,{children:openSubmenu===e.label&&(0,t.jsx)(o.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:(0,t.jsx)("div",{className:"mt-4 flex flex-col gap-4 pl-4 border-l border-white/10 ml-2 py-2",children:e.subItems.map(e=>(0,t.jsxs)(i.default,{href:e.href,onClick:()=>u(!1),className:"text-lg font-medium text-white/60 hover:text-[#FB430A] transition-colors flex items-center justify-between pr-4 group/sublink",children:[(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)("span",{className:"inline-block w-1.5 h-1.5 rounded-full bg-white/20 mr-3 group-hover/sublink:bg-[#FB430A] transition-colors"}),e.label]}),(0,t.jsx)("span",{className:"text-xl",children:e.flags})]},e.href))})})})]}):(0,t.jsxs)(i.default,{href:e.href,onClick:()=>u(!1),className:"group block w-full py-3 text-[clamp(28px,8vw,48px)] font-bold uppercase leading-none tracking-tighter text-white hover:bg-gradient-to-r hover:from-[#FB430A] hover:via-[#FB430A] hover:to-[#FB430A] hover:bg-clip-text hover:text-transparent transition-all duration-300",children:[e.label,(0,t.jsx)("span",{className:"ml-4 inline-block opacity-0 -translate-x-4 transition-all duration-300 group-hover:opacity-100 group-hover:translate-x-0 bg-gradient-to-r from-[#FB430A] to-[#FF6B00] bg-clip-text text-transparent",children:"â"})]})},`mobile-${e.label}`))}),(0,t.jsxs)(o.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5,duration:.4},className:"relative z-10 mt-auto pt-10 flex flex-col gap-6",children:[(0,t.jsx)(i.default,{href:"/contact",onClick:()=>u(!1),className:"inline-flex items-center justify-center gap-2 w-full py-4 text-base font-bold uppercase tracking-widest text-black bg-gradient-to-r from-[#FB430A] to-[#FF6B00] rounded-none transition-transform hover:scale-[1.02]",children:"Teklif Al"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-x-6 gap-y-2",children:c.map(e=>(0,t.jsx)(i.default,{href:e.href,className:"text-sm font-medium text-white/50 hover:text-white uppercase tracking-wider transition-colors hover:cursor-crosshair",children:e.label},e.label))}),(0,t.jsx)("div",{className:"h-px w-full bg-white/10"}),(0,t.jsx)("div",{className:"font-mono text-xs uppercase tracking-widest text-white/40",children:"IST"})]})]})]})})]})}])},16200,e=>{"use strict";var t=e.i(43476),i=e.i(22016),r=e.i(46932);let n={KeÅfet:[{label:"Ana Sayfa",href:"/"},{label:"Hakkımızda",href:"/about"},{label:"Markalar",href:"/brands"},{label:"Blog",href:"/blog"}],Hizmetler:[{label:"Affiliate Pazarlama",href:"/contact"},{label:"Influencer İŠBirlikleri",href:"/contact"},{label:"Kampanya Yönetimi",href:"/contact"},{label:"Creator DanıÅmanlıÄı",href:"/contact"}],İletiÅim:[{label:"[email protected]",href:"mailto:[email protected]"},{label:"İstanbul, Türkiye",href:"/contact"},{label:"Teklif Al",href:"/contact"}]},o=[{label:"Instagram",href:"https://www.instagram.com/imediaff/"},{label:"LinkedIn",href:"https://tr.linkedin.com/company/imediaff"}];e.s(["default",0,function(){return(0,t.jsxs)("footer",{className:"relative border-t border-border bg-background overflow-hidden",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-[1600px] px-6 md:px-10 py-14 grid grid-cols-1 md:grid-cols-12 gap-10",children:[(0,t.jsxs)(r.motion.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-10% 0px"},transition:{duration:.7,ease:[.22,1,.36,1]},className:"md:col-span-4",children:[(0,t.jsxs)(i.default,{href:"/",className:"font-display text-lg font-semibold tracking-tight text-[#111111]",children:["iMediaff",(0,t.jsx)("span",{className:"text-[#FB430A]",children:"."})]}),(0,t.jsx)("p",{className:"mt-4 max-w-sm text-sm text-[#666666] leading-relaxed font-sans",children:"Markalara ve içerik üreticiler
9ine affiliate, prodüksiyon ve kampanya yönetimi çözümleri sunuyoruz."}),(0,t.jsx)("div",{className:"mt-6 flex flex-wrap gap-2",children:o.map(e=>(0,t.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 border border-[#E5E5E5] px-3 py-1.5 text-xs font-mono tracking-widest text-[#666666] hover:border-[#E5E5E5] hover:text-[#111111] transition-colors",children:[e.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"â"})]},e.label))}),(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)("img",{src:"/iab_logo.svg",alt:"IAB Member",className:"h-10 w-auto object-contain opacity-70 hover:opacity-100 transition-opacity"})})]}),Object.entries(n).map(([e,n],o)=>(0,t.jsxs)(r.motion.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-10% 0px"},transition:{duration:.7,ease:[.22,1,.36,1],delay:.1+.1*o},className:"md:col-span-2",children:[(0,t.jsxs)("p",{className:"font-mono text-xs uppercase tracking-[0.2em] text-[#111111] font-bold",children:["/ ",e]}),(0,t.jsx)("ul",{className:"mt-6 flex flex-col gap-4",children:n.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:e.href,className:"text-sm text-[#666666] hover:text-[#111111] transition-colors font-sans",children:e.label})},e.label))})]},e)),(0,t.jsxs)(r.motion.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-10% 0px"},transition:{duration:.7,ease:[.22,1,.36,1],delay:.5},className:"md:col-span-2",children:[(0,t.jsx)("div",{className:"flex items-center h-8",children:(0,t.jsx)("img",{src:"/logo-global.png",alt:"iMediaff Global",className:"h-full w-auto object-contain"})}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsxs)("a",{href:"https://imediaff-global.vercel.app/",target:"_blank",rel:"noopener noreferrer","aria-label":"iMediaff Global sitesini yeni sekmede aç",className:"group flex flex-col gap-2",children:[(0,t.jsxs)("span",{className:"text-sm font-semibold text-[#111111] group-hover:text-[#FB430A] transition-colors inline-flex items-center gap-1",children:["iMediaff Global ",(0,t.jsx)("span",{"aria-hidden":!0,children:"â"})]}),(0,t.jsx)("span",{className:"text-xs text-[#666666] leading-relaxed font-sans mt-1",children:"Global operasyon ve uluslararası yapılanma için ana siteyi ziyaret edin."})]})})]})]}),(0,t.jsx)(r.motion.div,{initial:{opacity:0}
9,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.5},className:"border-t border-[#E5E5E5]",children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1600px] px-6 md:px-10 py-6 flex flex-col md:flex-row items-start md:items-center justify-between gap-4",children:[(0,t.jsxs)("p",{className:"font-mono text-[10px] uppercase tracking-widest text-[#888888]",children:["© ",new Date().getFullYear()," iMediaff. Tüm hakları saklıdır."]}),(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsx)(i.default,{href:"/kvkk",className:"font-mono text-[10px] uppercase tracking-widest text-[#888888] hover:text-[#111111] transition-colors",children:"KVKK"}),(0,t.jsx)(i.default,{href:"#",className:"font-mono text-[10px] uppercase tracking-widest text-[#888888] hover:text-[#111111] transition-colors",children:"Gizlilik Politikası"}),(0,t.jsx)("a",{href:"https://www.mfdigitalstudio.com",target:"_blank",rel:"noopener noreferrer",className:"font-mono font-bold text-[10px] uppercase tracking-widest text-[#888888] hover:text-[#111111] transition-colors",children:"Desıgned by MF Dıgıtal Studıo"})]})]})})]})}])},81888,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(46932),n=e.i(88653),o=e.i(22016);function s({checked:e,onChange:i,disabled:r=!1}){return(0,t.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[(0,t.jsx)("span",{className:"font-mono text-[11px] uppercase tracking-widest w-7 text-right select-none",style:{color:e?"#FB430A":"#666"},children:e?"ON":"OFF"}),(0,t.jsx)("button",{type:"button",disabled:r,onClick:()=>i?.(!e),"aria-pressed":e,style:{position:"relative",display:"inline-flex",alignItems:"center",width:"52px",height:"28px",flexShrink:0,backgroundColor:e?r?"#555555":"#FB430A":"#2a2a2a",border:"1px solid",borderColor:e?r?"#555555":"#FB430A":"#444",cursor:r?"not-allowed":"pointer",opacity:r?.6:1,transition:"background-color 0.3s, border-color 0.3s"},children:(0,t.jsx)("span",{style:{display:"inline-block",width:"20px",height:"20px",backgroundColor:"white",transform:e?"translateX(28px)":"translateX(3px)",transition:"transform 0.3s",flexShrink:0}})})]})}e.s(["default",0,function(){let[e,l]=(0,i.useState)(!1),[a,c]=(0,i.useState)(!1),[h,u]=(0,i.useState)(!1),[d,p]=(0,i.useState)(!1),[f,m]=(0,i.useState)(!1),g=(0,i.useRef)(null);return((0,i.useEffect)(()=>
9{l(!0);let e=localStorage.getItem("cookie-consent-tr");if("custom"===e)try{let e=localStorage.getItem("cookie-preferences-tr");if(e){let t=JSON.parse(e);p(!!t.analytics),m(!!t.marketing)}}catch(e){console.error("Failed to parse cookie preferences",e)}if(!e){let e=setTimeout(()=>c(!0),400);return()=>clearTimeout(e)}},[]),(0,i.useEffect)(()=>{if(!a){document.body.style.paddingBottom="0px";return}let e=()=>{g.current&&(document.body.style.paddingBottom=`${g.current.offsetHeight}px`)};e(),window.addEventListener("resize",e);let t=new ResizeObserver(e);return g.current&&t.observe(g.current),()=>{window.removeEventListener("resize",e),t.disconnect(),document.body.style.paddingBottom="0px"}},[a,h]),e)?(0,t.jsx)(n.AnimatePresence,{children:a&&(0,t.jsxs)(r.motion.div,{ref:g,initial:{y:"100%"},animate:{y:0},exit:{y:"100%"},transition:{duration:.4,ease:[.22,1,.36,1]},style:{position:"fixed",bottom:0,left:0,right:0,zIndex:0x7fffffff,pointerEvents:"auto",isolation:"isolate"},className:"w-full bg-[#0a0a0a] border-t border-[#2a2a2a] shadow-2xl",children:[(0,t.jsx)(n.AnimatePresence,{children:h&&(0,t.jsx)(r.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.35,ease:[.22,1,.36,1]},className:"overflow-hidden border-b border-[#2a2a2a]",children:(0,t.jsxs)("div",{className:"px-6 md:px-10 py-6 md:py-8 flex flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-mono text-[10px] uppercase tracking-[0.25em] text-[#FB430A] font-semibold",children:"/ TERCİHLER"}),(0,t.jsx)("h3",{className:"font-sans text-sm font-bold text-white tracking-tight mt-1 uppercase",children:"Ãerez Kategorileri"})]}),(0,t.jsx)("button",{type:"button",onClick:()=>u(!1),className:"text-white/60 hover:text-white font-mono text-[10px] tracking-widest uppercase flex items-center gap-1 transition-colors cursor-pointer ml-4 shrink-0 font-semibold",children:"â GERİ"})]}),(0,t.jsx)("div",{className:"flex flex-col divide-y divide-[#2a2a2a]",children:[{title:"Zorunlu Ãerezler",desc:"Sitenin düzgün çalıÅması için gereklidir. Devre dıÅı bırakılamaz.",checked:!0,disabled:!0},{title:"Analitik Ãerezler",desc:"Ziyaretçi davranıÅlarını anlamamıza yardımcı olur. (Google Analytics vb.)",checked:d,onChange:p},{title:"Pazarlama & Takip Ãerezleri",desc:"Reklam performansı ve affiliate takibi için kullanılır.",checked:f,onChange:m}].map(e=>(0,t.jsxs)("div",{className:"flex items-center justify-between gap-8 py-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-white font-bold text-sm uppercase tracking-tight",children:e.title}),(0,t.jsx)("p",{className:"text-white/70 text-xs mt-0.5 leading-relaxed",children:e.desc})]}),(0,t.jsx)(s,{checked:e.checked,onChange:e.onChange,disabled:e.disabled})]},e.title))}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("button",{type:"button",onClick:()=>{localStorage.setItem("cookie-consent-tr","custom"),localStorage.setItem("cookie-preferences-tr",JSON.stringify({essential:!0,analytics:d,marketing:f})),c(!1)},className:"px-6 py-3 bg-[#FB430A] border border-[#FB430A] text-black font-bold text-xs tracking-tight uppercase hover:bg-[#ff551f] hover:border-[#ff551f] transition-all duration-300 rounded-none cursor-pointer font-sans",children:"SEÃİMİ KAYDET"})})]})},"preferences-panel")}),(0,t.jsxs)("div",{className:"px-6 md:px-10 py-5",children:[(0,t.jsx)("span",{className:"font-mono text-[10px] uppercase tracking-[0.25em] text-[#FB430A] font-semibold mb-3 block",children:"/ ÃEREZLER"}),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-center gap-4 md:gap-6",children:[(0,t.jsx)("h3",{className:"font-sans text-sm font-bold text-white tracking-tight uppercase shrink-0",children:"Ãerez Tercihleriniz"}),(0,t.jsx)("div",{className:"hidden lg:block w-px h-5 bg-[#2a2a2a] shrink-0"}),(0,t.jsxs)("p",{className:"text-white/70 text-xs md:text-sm leading-relaxed flex-1",children:["Deneyiminizi kiÅiselleÅtirmek ve siteyi iyileÅtirmek amacıyla çerezler kullanıyoruz. Detaylar için"," ",(0,t.jsx)(o.default,{href:"/kvkk",className:"text-[#FB430A] hover:underline font-semibold transition-colors duration-200",children:"KVKK"})," ","metnimizi inceleyebilirsiniz."]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 shrink-0",children:[(0,t.jsx)("button",{type:"button",onClick:()=>u(e=>!e),className:"px-5 py-3 border border-white font-bold text-xs tracking-tight uppercase transition-all duration-300 rounded-none cursor-pointer font-sans whitespace-nowrap",style:{color:"white"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="white",e.currentTarget.style.color="black"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color="white"},children:"TERCİHLERİ YÃNET"}),(0,t.jsx)("button",{type:"button",onClick:()=>{localStorage.setItem("cookie-consent-tr","rejected"),localStorage.setItem("cookie-preferences-tr",JSON.stringify({essential:!0,analytics:!1,marketing:!1})),c(!1)},className:"px-5 py-3 border border-white font-bold text-xs tracking-tight uppercase transition-all duration-300 rounded-none cursor-pointer font-sans whitespace-nowrap",style:{color:"white"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="white",e.currentTarget.style.color="black"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color="white"},children:"REDDET"}),(0,t.jsx)("button",{type:"button",onClick:()=>{localStorage.setItem("cookie-consent-tr","accepted"),localStorage.setItem("cookie-preferences-tr",JSON.stringify({essential:!0,analytics:!0,marketing:!0})),c(!1)},className:"px-6 py-3 bg-[#FB430A] border border-[#FB430A] text-black font-bold text-xs tracking-tight uppercase hover:bg-[#ff551f] hover:border-[#ff551f] transition-all duration-300 rounded-none cursor-pointer font-sans whitespace-nowrap",children:"KABUL ET"})]})]})]})]},"cookie-banner")}):null}])}]);
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.