PageSourceSearch

https://sourcinginmarket.co.kr/_next/static/chunks/app/(home)/layout-14672dfa303aabbb.js

js sourcinginmarket.co.kr collected 2026-10-09 03:09:15 UTC 16,260 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19057],{49171:function(e,t,n){Promise.resolve().then(n.bind(n,20451)),Promise.resolve().then(n.bind(n,82442)),Promise.resolve().then(n.bind(n,26821)),Promise.resolve().then(n.bind(n,35389)),Promise.resolve().then(n.bind(n,98100)),Promise.resolve().then(n.bind(n,68662)),Promise.resolve().then(n.bind(n,73822)),Promise.resolve().then(n.bind(n,83010)),Promise.resolve().then(n.bind(n,50803)),Promise.resolve().then(n.bind(n,2560)),Promise.resolve().then(n.bind(n,15529)),Promise.resolve().then(n.bind(n,60826)),Promise.resolve().then(n.bind(n,84748)),Promise.resolve().then(n.bind(n,8015)),Promise.resolve().then(n.bind(n,67855)),Promise.resolve().then(n.t.bind(n,25327,23)),Promise.resolve().then(n.bind(n,55128)),Promise.resolve().then(n.bind(n,15446)),Promise.resolve().then(n.bind(n,77968)),Promise.resolve().then(n.bind(n,8261)),Promise.resolve().then(n.bind(n,2070)),Promise.resolve().then(n.bind(n,14815)),Promise.resolve().then(n.bind(n,79276)),Promise.resolve().then(n.bind(n,91622)),Promise.resolve().then(n.bind(n,86512)),Promise.resolve().then(n.bind(n,13823)),Promise.resolve().then(n.bind(n,29670)),Promise.resolve().then(n.bind(n,28433)),Promise.resolve().then(n.bind(n,58827)),Promise.resolve().then(n.bind(n,73997)),Promise.resolve().then(n.bind(n,80236)),Promise.resolve().then(n.bind(n,34825)),Promise.resolve().then(n.bind(n,63395)),Promise.resolve().then(n.bind(n,79195)),Promise.resolve().then(n.bind(n,3048)),Promise.resolve().then(n.bind(n,88818)),Promise.resolve().then(n.bind(n,3411)),Promise.resolve().then(n.bind(n,50399)),Promise.resolve().then(n.bind(n,39186)),Promise.resolve().then(n.bind(n,21889)),Promise.resolve().then(n.bind(n,39445)),Promise.resolve().then(n.bind(n,8918)),Promise.resolve().then(n.bind(n,8229))},15446:function(e,t,n){"use strict";n.d(t,{default:function(){return k}});var i=n(27573),s=n(67754),r=n(56401),o=n(38242),a=n(87663),u=n(7653),c=n(65414),l=e=>c.Z.get("/public/popups?languages=".concat(e)),m=e=>c.Z.get("/public/popups/".concat(e,"/content")),d=n(2560);let p=(0,n(46246).no)("popup",{popups:e=>({queryKey:[e],queryFn:()=>l(e)}),popupContent:e=>({queryKey:[e],queryFn:()=>m(e)})});var g=e=>(0,d.useQuery)({...p.popups(e),staleTime:1/0}),h=e=>(0,d.useQuery)({...p.popupContent(e),staleTime:1/0}),f=n(42349),v=n(3458),y=n(40510);let b="popup_hidden_",C=e=>"".concat(b).concat(e),x={setHidePopupCookie:(e,t)=>{let n=Date.now()+864e5*t,i=C(e),s=JSON.stringify({hiddenUntil:n,exposeDays:t}),r=new Date(n).toUTCString();document.cookie="".concat(i,"=").concat(s,"; expires=").concat(r,"; path=/")},isPopupHidden:e=>{let t=C(e);for(let n of document.cookie.split(";")){let[i,s]=n.trim().split("=");if(i===t&&s)try{let e=JSON.parse(decodeURIComponent(s));return Date.now()<e.hiddenUntil}catch(t){console.error("Failed to parse cookie data:",t),x.removePopupCookie(e)}}return!1},removePopupCookie:e=>{let t=C(e);document.cookie="".concat(t,"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;")},cleanupExpiredCookies:()=>{for(let e of document.cookie.split(";")){let[t,n]=e.trim().split("=");if(t.startsWith(b)&&n)try{let e=JSON.parse(decodeURIComponent(n));if(Date.now()>e.hiddenUntil){let e=t.replace(b,"").trim();x.removePopupCookie(parseInt(e))}}catch(e){console.error("Failed to parse cookie data:",e),document.cookie="".concat(t,"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;")}}}};var S=n(5210),P=n.n(S),E=e=>{let{popupWidth:t,initialPosition:n,popupRef:i}=e,[s,r]=(0,u.useState)({x:Math.min(n.x,window.innerWidth-t),y:n.y}),[o,a]=(0,u.useState)(!1),[c,l]=(0,u.useState)({x:0,y:0}),m=(0,u.useRef)(null),d=(0,u.useRef)(s),p=(0,u.useRef)(!1);return(0,u.useEffect)(()=>{d.current=s},[s]),(0,u.useEffect)(()=>{if(!m.current)return;let e=e=>{a(!0),l({x:e.clientX-d.current.x,y:e.clientY-d.current.y}),e.preventDefault()},t=e=>{if(1!==e.touches.length||e.target.closest('\n      button, \n      input, \n      label, \n      a, \n      select, \n      textarea,\n      [role="button"],\n      [role="link"]\n    '))return;let{clientX:t,clientY:n}=e.touches[0];p.current=!0,l({x:t-d.current.x,y:n-d.current.y}),e.preventDefault()},n=m.current;return n.addEventListener("mousedown",e),n.addEventListener("touchstart",t,{passive:!1}),()=>{n.removeEventListener("mousedown",e),n.removeEventListener("touchstart",t)}},[]),(0,u.useEffect)(()=>{let e=e=>{var n;if(!o)return;let s=e.clientX-c.x,a=e.clientY-c.y,u=(null===(n=i.current)||void 0===n?void 0:n.offsetHeight)||100,l=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,window.innerHeight),m={minX:0,minY:0,maxX:window.innerWidth-t,maxY:l-u};r({x:Math.max(m.minX,Math.min(m.maxX,s)),y:Math.max(m.minY,Math.min(m.maxY,a))})},n=e=>{var n;if(!p.current||1!==e.touches.length)return;let{clientX:s,clientY:u}=e.touches[0],l=Math.abs(s-(c.x+d.current.x)),m=Math.abs(u-(c.y+d.current.y));if(!o&&l<5&&m<5)return;a(!0);let g=s-c.x,h=u-c.y,f=(null===(n=i.current)||void 0===n?void 0:n.offsetHeight)||100,v=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,window.innerHeight),y={minX:0,minY:0,maxX:window.innerWidth-t,maxY:v-f};r({x:Math.max(y.minX,Math.min(y.maxX,g)),y:Math.max(y.minY,Math.min(y.maxY,h))}),e.preventDefault()},s=()=>{a(!1)},u=()=>{p.current=!1,a(!1)};return document.addEventListener("mousemove",e),document.addEventListener("mouseup",s),document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",u),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",s),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",u)}},[o,c,t,i]),{position:s,isDragging:o,dragHandleRef:m}},T=e=>{let{popup:t,onClose:n}=e,{t:s}=(0,f.$G)(),r=(0,u.useRef)(null),{position:o,isDragging:a,dragHandleRef:c}=E({popupWidth:t.width,initialPosition:{x:t.positionX,y:t.positionY},popupRef:r}),{data:l}=h(t.idx),[m,d]=(0,u.useState)(!1);return(0,v.createPortal)((0,i.jsx)("div",{ref:r,className:P()["popup-container"],style:{zIndex:1500-t.displayOrder,top:"".concat(o.y,"px"),left:"".concat(o.x,"px")},children:(0,i.jsxs)("div",{style:{width:t.width},className:"".concat(P()["popup-body"]," ").concat(a?P().dragging:""),ref:c,children:[(0,i.jsx)("div",{className:"".concat(P()["popup-content"]),children:(null==l?void 0:l.content)&&(0,i.jsx)(y.Vd,{htmlContent:l.content})}),(0,i.jsxs)("div",{className:P()["popup-footer"],children:[(0,i.jsx)(y.BT,{checked:m,onChange:e=>d(e.target.checked),label:s("site.popup.hide.for.days",{days:t.exposeDays})}),(0,i.jsx)(y.zx,{className:"primary xsmall",onClick:()=>{m&&x.setHidePopupCookie(t.idx,t.exposeDays),n(t.idx)},children:s("site.button.confirm")})]})]})}),document.body)},I=e=>{let{pageType:t,pageRefIdx:n}=e,{i18n:s}=(0,f.$G)(),{data:r=[]}=g(s.language);(0,u.useEffect)(()=>{x.cleanupExpiredCookies()},[]);let[o,a]=(0,u.useState)([]),c=(0,u.useMemo)(()=>r.filter(e=>e.isPageSpecific?e.pages.some(e=>e.pageType===t&&(null===e.pageRefIdx||e.pageRefIdx===n)):"MAIN"===t).filter(e=>!x.isPopupHidden(e.idx)&&!o.includes(e.idx)),[r,t,n,o]),l=e=>{a(t=>[...t,e])};return(0,i.jsx)(i.Fragment,{children:c.map(e=>(0,i.jsx)(T,{popup:e,onClose:l},e.idx))})},k=()=>{let e=(0,s.usePathname)(),{userType:t}=(0,a.L)(),n=function(e,t){if("/"===e)return{pageType:r.qC.MAIN,pageRefIdx:null};let n=e.match(/^\/tickets\/(\d+)/);if(n)return{pageType:r.qC.TICKET,pageRefIdx:Number(n[1])};if(e.startsWith("/mypage"))return{pageType:t===o.E_.COMPANYUSER?r.qC.MYPAGE_MANAGER:r.qC.MYPAGE_VISITOR,pageRefIdx:null};let i=e.match(/^\/conferences\/(\d+)\/programs/);if(i)return{pageType:r.qC.CONFERENCE,pageRefIdx:Number(i[1])};if(e.startsWith("/conferences"))return{pageType:r.qC.CONFERENCE,pageRefIdx:null};let s=e.match(/^\/boards\/(\d+)/);return s?{pageType:r.qC.BOARD,pageRefIdx:Number(s[1])}:e.startsWith("/booth-events")?{pageType:r.qC.BOOTH_EVENTS,pageRefIdx:null}:e.startsWith("/company-directories")?{pageType:r.qC.COMPANY_DIRECTORY,pageRefIdx:null}:e.startsWith("/product-directories")?{pageType:r.qC.PRODUCT_DIRECTORY,pageRefIdx:null}:null}(e,t);return n?(0,i.jsx)(I,{pageType:n.pageType,pageRefIdx:n.pageRefIdx}):null}},77968:function(e,t,n){"use strict";n.d(t,{default:function(){return u}});var i=n(81440),s=n(17184),r=n(7653);let o=(0,n(95554).env)("NEXT_PUBLIC_SSO_ATTENDEE_URL")||"",a="".concat(o,"/oidc-check-session");function u(){return!function(){let e=(0,i.Z)(e=>e.ssoClientId),t=(0,s.Z)(),n=(0,r.useRef)(null),u=(0,r.useRef)(null);(0,r.useEffect)(()=>
1{if(!n.current){let e=document.createElement("iframe");e.setAttribute("src",a),e.style.display="none",document.body.appendChild(e),n.current=e}function i(e){var t;if(e.origin===new URL(a).origin&&(null===(t=e.data)||void 0===t?void 0:t.message)==="changed"){let e=document.createElement("iframe");e.setAttribute("src","".concat(window.location.origin,"/sign-in/sso?return_uri=/api/auth/refresh-message")),e.style.display="none",document.body.appendChild(e),u.current=e;return}}function s(e){var n,i,s,r;e.origin===window.location.origin&&(null===(n=e.data)||void 0===n?void 0:n.message)==="refresh"&&((null===(i=e.data)||void 0===i?void 0:i.refresh)==="fail"?(localStorage.removeItem("session_state"),t()):null===(s=e.data)||void 0===s||s.refresh,null===(r=u.current)||void 0===r||r.remove(),u.current=null)}window.addEventListener("message",i),window.addEventListener("message",s);let r=()=>{let t=window.localStorage.getItem("session_state");if(n.current&&t&&e){var i;null===(i=n.current.contentWindow)||void 0===i||i.postMessage({session_state:t,client_id:e},o)}};r();let c=setInterval(r,3e4);return()=>{var e;clearInterval(c),window.removeEventListener("message",i),window.removeEventListener("message",s),null===(e=u.current)||void 0===e||e.remove(),u.current=null}},[t,e])}(),null}},8261:function(e,t,n){"use strict";n.d(t,{default:function(){return r}});var i=n(87663),s=n(7653);function r(e){let{accessToken:t,idToken:n}=e,r=(0,s.useRef)(!1);return(0,s.useLayoutEffect)(()=>{if(r.current||!t||!n)return;let{accessToken:e}=i.L.getState();e||(i.L.setState({accessToken:t,idToken:n}),r.current=!0)},[t,n]),null}},17184:function(e,t,n){"use strict";var i=n(82588),s=n(56394),r=n(87663),o=n(26821);t.Z=()=>{let{createSignOut:e}=i.default,{setIsSignIn:t,setTokens:n,setAttendeeInfo:a,setCompanyUserInfo:u}=(0,r.L)(e=>e),{userType:c}=(0,r.L)(),{setMyParticipantType:l,setMyParticipantIdx:m}=(0,s.ZP)(),d=(0,o.useQueryClient)();return i=>{if(c)Promise.all([e(c),fetch("".concat(window.location.origin,"/api/auth/sign-out"),{method:"POST"})]).catch(e=>console.warn(e)).finally(async()=>{var e,s;d.clear(),l(null),m(null),n(null,null),t(!1),a(null),u(null),null===(s=window)||void 0===s||null===(e=s.localStorage)||void 0===e||e.removeItem("session_state"),null==i||i()});else{var s,r;null===(r=window)||void 0===r||null===(s=r.localStorage)||void 0===s||s.removeItem("session_state"),null==i||i()}}}},20872:function(e,t,n){"use strict";var i=n(65414);t.Z={fetchCampaignInfoByDomain:()=>i.Z.get("/public/campaigns"),fetchCampaignSsoClientId:()=>i.Z.get("/public/get-sso-client-id"),fetchForms:e=>i.Z.get("/public/forms/".concat(e)),fetchTicketSettings:()=>i.Z.get("/public/ticket-settings"),fetchTicketSetting:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return i.Z.get("/public/ticket-settings/".concat(e),{params:{language:t,isTicketAll:n}})},fetchTicketCategories:e=>i.Z.get("/public/ticket-settings/".concat(e,"/ticket-categories")),fetchCampaignCurrencies:()=>i.Z.get("/public/currencies"),fetchEventCodeCampaigns:e=>i.Z.get("/public/events/campaigns",{params:{lang:e}}),fetchTaxRates:e=>i.Z.get("/public/tax-rates",{params:{country:e}}),fetchCampaignSettlements:()=>i.Z.get("/public/settlements"),fetchCampaignSettlementStatus:(e,t)=>i.Z.get("/public/campaigns/".concat(e,"/revenue-settlements/close-status"),{params:{currency:t}}),fetchSubmissionPdf:(e,t)=>i.Z.all.get("/submissions/".concat(e,"/pdf"),{params:{lang:t},responseType:"blob"},!1)}},22234:function(e,t,n){"use strict";var i=n(46246),s=n(20872);let r=(0,i.no)("campaign",{campaignInfoByDomain:{queryKey:null,queryFn:()=>s.Z.fetchCampaignInfoByDomain()},forms:e=>({queryKey:[e],queryFn:()=>s.Z.fetchForms(e)}),ticketSettings:{queryKey:null,queryFn:()=>s.Z.fetchTicketSettings(),contextQueries:{ticketSetting:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{queryKey:[e,t,n],queryFn:()=>s.Z.fetchTicketSetting(e,t,n),contextQueries:{ticketCategories:{queryKey:null,queryFn:()=>s.Z.fetchTicketCategories(e)}}}}}},eventCodeCampaigns:e=>({queryKey:[e],queryFn:()=>s.Z.fetchEventCodeCampaigns(e)}),taxRates:e=>({queryKey:[e],queryFn:()=>s.Z.fetchTaxRates(e)}),campaignCurrencies:{queryKey:null,queryFn:()=>s.Z.fetchCampaignCurrencies()},campaignSettlements:{queryKey:null,queryFn:()=>s.Z.fetchCampaignSettlements()},campaignSettlementStatus:(e,t)=>({queryKey:[e,t],queryFn:()=>s.Z.fetchCampaignSettlementStatus(e,t)})});t.Z=r},2070:function(e,t,n){"use strict";var i=n(2560),s=n(22234);t.default={useFetchCampaignInfoByDomain:()=>(0,i.useQuery)({...s.Z.campaignInfoByDomain}),useFetchForms:e=>(0,i.useQuery)({...s.Z.forms(e),staleTime:1/0,enabled:!!e&&e>0}),useFetchTicketSettings:()=>(0,i.useQuery)({...s.Z.ticketSettings,staleTime:1/0}),useFetchTicketSetting:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,i.useQuery)({...s.Z.ticketSettings._ctx.ticketSetting(e,t,n),staleTime:1/0,enabled:!!e&&e>0})},useFetchTicketCategories:(e,t)=>(0,i.useQuery)({...s.Z.ticketSettings._ctx.ticketSetting(e,t)._ctx.ticketCategories,staleTime:1/0}),useFetchEventCodeCampaigns:e=>(0,i.useQuery)({...s.Z.eventCodeCampaigns(e),staleTime:1/0}),useFetchTaxRates:e=>(0,i.useQuery)({...s.Z.taxRates(e),enabled:!!e}),useFetchCampaignCurrencies:()=>(0,i.useQuery)({...s.Z.campaignCurrencies}),useFetchCampaignSettlements:()=>(0,i.useQuery)({...s.Z.campaignSettlements}),useFetchCampaignSettlementStatus:(e,t)=>(0,i.useQuery)({...s.Z.campaignSettlementStatus(e,t)})}},56394:function(e,t,n){"use strict";n.d(t,{Je:function(){return c}});var i=n(38242),s=n(56210),r=n(66641);let o=(0,n(19868).n)((e,t)=>({storeInit:!1,setStoreInit:t=>e(e=>{e.storeInit=t}),bizmatchingNames:[],setBizmatchingNames:t=>e(e=>{e.bizmatchingNames=t}),myParticipantType:null,setMyParticipantType:t=>e(e=>{null===t?e.myParticipantType=null:e.myParticipantType=t===i.E_.COMPANYUSER?s.EP3.SELLER:s.EP3.BUYER}
1),myParticipantIdx:null,setMyParticipantIdx:t=>{e(e=>{e.myParticipantIdx=t})},getIsSeller:()=>{let e=t();return e.storeInit&&null!==e.myParticipantType?e.myParticipantType===s.EP3.SELLER:null}})),a=(0,r.Ue)()((e,t,n)=>o(e,t,n)),u=e=>e.storeInit&&null!==e.myParticipantType?e.myParticipantType===s.EP3.SELLER:null,c=()=>a(u);t.ZP=a},81440:function(e,t,n){"use strict";var i=n(66641);let s=(0,n(19868).n)(e=>({campaignInfo:void 0,setCampaignInfo:t=>e(e=>{e.campaignInfo=t}),campaignSettings:{},setCampaignSettings:t=>e(e=>{e.campaignSettings=t}),ticketSettings:[],setTicketSettings:t=>e(e=>{e.ticketSettings=t}),languages:{defaultLanguage:"en",languages:["en"]},setLanguages:t=>e(e=>{e.languages=t}),ssoClientId:null,setSsoClientId:t=>e(e=>{e.ssoClientId=t}),campaignCurrencies:{},setCampaignCurrencies:t=>e(e=>{e.campaignCurrencies=t}),bizmatchingSettings:[],setBizmatchingSettings:t=>e(e=>{e.bizmatchingSettings=t}),visitBuyerSetting:void 0,setVisitBuyerSetting:t=>e(e=>{e.visitBuyerSetting=t}),eximbaySetting:{storeId:null,isApiSecret:!1,isWebhookSecret:!1,channelKey:null,isActive:!1,isTest:!1},setEximbaySetting:t=>e(e=>{e.eximbaySetting=t}),boothEventSetting:void 0,setBoothEventSetting:t=>e(e=>{e.boothEventSetting=t})})),r=(0,i.Ue)()((e,t,n)=>s(e,t,n));t.Z=r},87663:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var i=n(66641);let s=(0,n(19868).n)(e=>({isSignIn:!1,setIsSignIn:t=>e(e=>{e.isSignIn=t}),userType:null,setUserType:t=>e(e=>{e.userType=t}),accessToken:null,idToken:null,setTokens:(t,n)=>e(e=>{e.accessToken=t,e.idToken=n}),attendeeInfo:null,setAttendeeInfo:t=>e(e=>{e.attendeeInfo=t}),companyUserInfo:null,setCompanyUserInfo:t=>e(e=>{e.companyUserInfo=t})})),r=(0,i.Ue)()((e,t,n)=>s(e,t,n))}},function(e){e.O(0,[52446,47392,1424,10016,52285,53093,86412,7075,40510,55084,81293,60286,1744],function(){return e(e.s=49171)}),_N_E=e.O()}]);

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.