PageSourceSearch

https://megazonejapan.jp/v2/_next/static/chunks/2995.fc38e56702799ec7.js

js megazonejapan.jp collected 2026-10-03 20:56:45 UTC 6,727 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2995],{12995:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});var r=n(3648),o=n(95155),i=n(45003),l=n(31460),a=n(49714),s=n(8751),c=n(26497);n(12115);var u=n(47650);function p(){let e=(0,r._)(["\n  position: fixed;\n  bottom: 30px;\n  border-radius: 20px;\n  border: 1px solid transparent;\n  background:\n    linear-gradient(#fff, #fff) padding-box,\n    linear-gradient(125deg, #ff41c1 -10.23%, #414aff 88.92%) border-box;\n\n  z-index: 1000;\n  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);\n\n  padding: 24px 40px;\n  display: flex;\n  width: max-content;\n  max-width: calc(100vw - 40px);\n\n  "," {\n    padding: 20px 32px;\n  }\n"]);return p=function(){return e},e}function f(){let e=(0,r._)(["\n  color: #000;\n  font-size: 16px;\n  font-weight: 700;\n  line-height: 130%;\n  letter-spacing: -0.64px;\n  text-align: center;\n  white-space: pre-wrap;\n  word-break: keep-all;\n\n  span {\n    background: linear-gradient(125deg, #ff41c1 -10.23%, #414aff 88.92%);\n    -webkit-background-clip: text;\n    -webkit-text-fill-color: transparent;\n    background-clip: text;\n  }\n"]);return f=function(){return e},e}let d=(0,a.default)(s.P.div)(p(),e=>{let{theme:t}=e;return t.breakpoints.down("tablet")}),h=(0,a.default)("p")(f()),m=()=>{let e=(0,i.c6)(),{isOpen:t}=(0,l.A)(),n=null;return"kr"===e?n=(0,o.jsxs)(o.Fragment,{children:["해시태그는 ",(0,o.jsx)("span",{children:"최대 5개 까지"})," 선택 가능합니다."]}):"us"===e||"hk"===e||"cn"===e||"jp"===e?o.Fragment:"vn"===e&&o.Fragment,(0,o.jsx)(o.Fragment,{children:(0,u.createPortal)((0,o.jsx)(o.Fragment,{children:(0,o.jsx)(c.N,{children:t&&(0,o.jsx)(d,{initial:{opacity:0,y:20,scale:.8,x:"-50%",left:"50%"},animate:{opacity:1,y:0,scale:1,x:"-50%",left:"50%",transition:{type:"spring",stiffness:500,damping:30}},exit:{opacity:0,y:20,scale:.8,x:"-50%",left:"50%"},children:(0,o.jsx)(h,{children:n})})})}),document.body)})}},26497:(e,t,n)=>{n.d(t,{N:()=>k});var r=n(95155),o=n(12115),i=n(60296),l=n(94416),a=n(86553),s=n(59686),c=n(81402),u=n(53127);function p(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,c.s)(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d(e){let{children:t,isPresent:n,anchorX:i,root:l}=e,a=(0,o.useId)(),s=(0,o.useRef)(null),c=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,o.useContext)(u.Q),h=function(...e){return o.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=p(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():p(e[t],null)}}}}(...e),e)}(s,null==t?void 0:t.ref);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:o,right:u}=c.current;if(n||!s.current||!e||!t)return;s.current.dataset.motionPopId=a;let p=document.createElement("style");d&&(p.nonce=d);let f=null!=l?l:document.head;return f.appendChild(p),p.sheet&&p.sheet.insertRule('\n          [data-motion-pop-id="'.concat(a,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            ").concat("left"===i?"left: ".concat(o):"right: ".concat(u),"px !important;\n            top: ").concat(r,"px !important;\n          }\n        ")),()=>{f.contains(p)&&f.removeChild(p)}},[n]),(0,r.jsx)(f,{isPresent:n,childRef:s,sizeRef:c,children:o.cloneElement(t,{ref:h})})}let h=e=>{let{children:t,initial:n,isPresent:i,onExitComplete:a,custom:c,presenceAffectsLayout:u,mode:p,anchorX:f,root:h}=e,w=(0,l.M)(m),g=(0,o.useId)(),x=!0,k=(0,o.useMemo)(()=>(x=!1,{id:g,initial:n,isPresent:i,custom:c,onExitComplete:e=>{for(let t of(w.set(e,!0),w.values()))if(!t)return;a&&a()},register:e=>(w.set(e,!1),()=>w.delete(e))}),[i,w,a]);return u&&x&&(k={...k}),(0,o.useMemo)(()=>
1{w.forEach((e,t)=>w.set(t,!1))},[i]),o.useEffect(()=>{i||w.size||!a||a()},[i]),"popLayout"===p&&(t=(0,r.jsx)(d,{isPresent:i,anchorX:f,root:h,children:t})),(0,r.jsx)(s.t.Provider,{value:k,children:t})};function m(){return new Map}var w=n(75601);let g=e=>e.key||"";function x(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}let k=e=>{let{children:t,custom:n,initial:s=!0,onExitComplete:c,presenceAffectsLayout:u=!0,mode:p="sync",propagate:f=!1,anchorX:d="left",root:m}=e,[k,b]=(0,w.xQ)(f),j=(0,o.useMemo)(()=>x(t),[t]),v=f&&!k?[]:j.map(g),y=(0,o.useRef)(!0),z=(0,o.useRef)(j),E=(0,l.M)(()=>new Map),[C,P]=(0,o.useState)(j),[R,M]=(0,o.useState)(j);(0,a.E)(()=>{y.current=!1,z.current=j;for(let e=0;e<R.length;e++){let t=g(R[e]);v.includes(t)?E.delete(t):!0!==E.get(t)&&E.set(t,!1)}},[R,v.length,v.join("-")]);let F=[];if(j!==C){let e=[...j];for(let t=0;t<R.length;t++){let n=R[t],r=g(n);v.includes(r)||(e.splice(t,0,n),F.push(n))}return"wait"===p&&F.length&&(e=F),M(x(e)),P(j),null}let{forceRender:L}=(0,o.useContext)(i.L);return(0,r.jsx)(r.Fragment,{children:R.map(e=>{let t=g(e),o=(!f||!!k)&&(j===R||v.includes(t));return(0,r.jsx)(h,{isPresent:o,initial:(!y.current||!!s)&&void 0,custom:n,presenceAffectsLayout:u,mode:p,root:m,onExitComplete:o?void 0:()=>{if(!E.has(t))return;E.set(t,!0);let e=!0;E.forEach(t=>{t||(e=!1)}),e&&(null==L||L(),M(z.current),f&&(null==b||b()),c&&c())},anchorX:d,children:e},t)})})}},45003:(e,t,n)=>{n.d(t,{O0:()=>l,c6:()=>p,q2:()=>a,xl:()=>i});var r=n(20063),o=n(12115);let i=["kr","us","jp","vn","cn","hk"],l={kr:"대한민국",us:"US",jp:"日本",vn:"Việt Nam",cn:"中国",hk:"Hong Kong"},a={kr:"https://www.megazone.com",us:"https://www.megazone.com".concat("/us"),jp:"https://www.megazonejapan.jp".concat("/jp"),vn:"https://www.megazone.com".concat("/vn"),cn:"https://www.megazone.com".concat("/cn"),hk:"https://www.megazone.com".concat("/hk")},s={kr:"https://www.megazone.com",us:"https://www.megazone.com",jp:"https://www.megazonejapan.jp",vn:"https://www.megazone.com",cn:"https://www.megazone.com",hk:"https://www.megazone.com"},c=e=>{if(!e)return"";try{let t=e.startsWith("http")?e:"https://"+e;return new URL(t).hostname}catch(t){return console.error("Invalid URL in environment variable:",e),""}},u=e=>i.includes(e),p=()=>{let e=(0,r.usePathname)(),[t,n]=(0,o.useState)("kr");return(0,o.useEffect)(()=>{let t=e.split("/")[1],r="kr";{let e="kr",n=window.location.hostname;for(let[t,r]of Object.entries(s)){let o=c(r);if(u(t)&&o&&n===o){e=t;break}}r=t&&u(t)?t:e}n(r)},[e]),t}}}]);

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.