@adstage/web-sdk 3.0.14 → 3.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,23 @@
1
- var t,e,n,r,o,i,s,a,c,l,d,u;function p(t,e){var n=h();return(p=function(t,e){return n[t-=344]})(t,e)}function h(){var t=["543963aZsTbK","8UhDVJH","CLICK","3092850NzBoXa","POPUP","TEXT","DESKTOP","NATIVE","1632630lLKNXV","4649472RhfcdW","INTERSTITIAL","6175113ycCowV","TABLET","WEB","BANNER","MOBILE","VIDEO","1019187BDcUDX","17832384amzxZz","4ZlQlkN","VIEWABLE"];return(h=function(){return t})()}!function(){for(var t=p,e=h();;)try{if(665803===-parseInt(t(347))/1+parseInt(t(349))/2*(-parseInt(t(351))/3)+-parseInt(t(360))/4+parseInt(t(354))/5+-parseInt(t(359))/6+-parseInt(t(362))/7*(-parseInt(t(352))/8)+parseInt(t(348))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=p)(344)]=n(344),e[n(355)]=n(355),e.INTERSTITIAL=n(361),e.NATIVE=n(358),e[n(346)]=n(346),e[n(356)]=n(356),(o=r||(r={}))[(i=p)(364)]=i(364),o[i(345)]=i(345),(a=s||(s={}))[(c=p)(350)]=c(350),a[c(353)]=c(353),(d=l||(l={}))[(u=p)(357)]=u(357),d[u(345)]=u(345),d[u(363)]=u(363);const f=g;function g(t,e){const n=m();return(g=function(t,e){return n[t-=447]})(t,e)}function m(){const t=["DOMContentLoaded","waitForDOM","safeWindowOpen","getScrollInfo","innerHeight","safeRemoveClass",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"safeQuerySelectorAll","safeRemoveChild",'❌ 컨테이너를 찾을 수 없습니다: "',"safeQuerySelector","loading","canUseDOM","from","error","getViewportInfo","getElementById","getDocumentProperty","ms 경과)","✅ 컨테이너 즉시 발견: ","setProperty","getWindowProperty","4379712jpQxQq","undefined","referrer","removeEventListener","isBrowser","querySelector","open","126nhfTqU","devicePixelRatio","번 시도)","getPageInfo","innerWidth","2262501IOjMQW","classList","safeAddClass","innerHTML","pageXOffset","safeAppendChild","waitForElement","entries","76284WnxIUj","safeSetInnerHTML","1456076WSRTdb","readyState","✅ 컨테이너 발견: ","287679GDQAHJ","safeSetTextContent","isDOMReady",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"log","style","번째 시도, ","safeApplyStyles","pageYOffset","min","safeAddEventListener","10uIjbOT","waitForElements","⏳ 컨테이너 대기 중: ","isSSR","147063pbmnim","getComputedStyle","DOM을 사용할 수 없는 환경입니다.","pow","add","addEventListener","textContent","ceil","querySelectorAll","safeGetElementById","1264164opzcuc"];return(m=function(){return t})()}!function(){const t=g,e=m();for(;;)try{if(542225===-parseInt(t(481))/1+parseInt(t(476))/2+parseInt(t(506))/3+-parseInt(t(478))/4*(-parseInt(t(492))/5)+-parseInt(t(463))/6*(-parseInt(t(496))/7)+-parseInt(t(456))/8+-parseInt(t(468))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static[f(460)](){return typeof window!==f(457)&&"undefined"!=typeof document}static[f(495)](){return!this[f(460)]()}static[f(519)](){const t=f;return this[t(460)]()&&void 0!==document[t(479)]}static[f(505)](t){const e=f;return this[e(519)]()?document[e(450)](t):null}static[f(517)](t){const e=f;return this[e(519)]()?document[e(461)](t):null}static[f(514)](t){const e=f;return this[e(519)]()?Array[e(447)](document[e(504)](t)):[]}static safeCreateElement(t){return this[f(519)]()?document.createElement(t):null}static[f(491)](t,e,n,r){const o=f;this[o(519)]()&&t&&t[o(501)](e,n,r)}static safeRemoveEventListener(t,e,n,r){const o=f;this[o(519)]()&&t&&t[o(459)](e,n,r)}static[f(455)](t,e){return this[f(460)]()?window[t]??e:e}static[f(451)](t,e){return this[f(519)]()?document[t]??e:e}static[f(509)](t,e,n){const r=f;return this[r(460)]()?window[r(462)](t,e,n):null}static safeGetComputedStyle(t){const e=f;return this.isBrowser()&&t?window[e(497)](t):null}static[f(483)](){const t=f;return!!this[t(519)]()&&document[t(479)]!==t(518)}static[f(508)](){return new Promise(t=>{const e=g;this[e(519)]()?this.isDOMReady()?t():this[e(491)](document,e(507),()=>t()):t()})}static[f(488)](t,e){const n=f;this[n(519)]()&&t&&Object[n(475)](e).forEach(([e,r])=>{const o=n;t[o(486)][o(454)](e,r)})}static[f(470)](t,e){const n=f;this[n(519)]()&&t&&t.classList[n(500)](e)}static[f(512)](t,e){const n=f;this.canUseDOM()&&t&&t[n(469)].remove(e)}static[f(482)](t,e){const n=f;this[n(519)]()&&t&&(t[n(502)]=e)}static[f(477)](t,e){const n=f;this[n(519)]()&&t&&(t[n(471)]=e)}static[f(473)](t,e){this[f(519)]()&&t&&e&&t.appendChild(e)}static[f(515)](t,e){this.canUseDOM()&&t&&e&&t.removeChild(e)}static[f(466)](){const t=f;return{url:this[t(455)]("location",{href:""}).href,title:this.getDocumentProperty("title",""),referrer:this[t(451)](t(458),"")}}static[f(449)](){const t=f;return{width:this[t(455)](t(467),0),height:this[t(455)](t(511),0),pixelRatio:this[t(455)](t(464),1)}}static[f(510)](){const t=f;return{scrollTop:this[t(519)]()?window[t(489)]||document.documentElement.scrollTop:0,scrollLeft:this[t(455)](t(472),0)}}static async[f(474)](t,e={}){const n=f,{timeout:r=3e3,retryInterval:o=100,debug:i=!1}=e;if(!this[n(519)]())throw new Error(n(498));const s=document[n(450)](t);return s?(i&&console[n(485)](n(453)+t),s):(i&&console[n(485)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+r+"ms)"),new Promise((e,s)=>{const a=n;let c=0;const l=Math[a(503)](r/o),d=()=>{const n=a;c++;const u=document[n(450)](t);if(u)return i&&console.log(n(480)+t+" ("+c+n(487)+c*o+n(452)),void e(u);if(c>=l){const e=n(516)+t+n(484)+t+n(513)+r+"ms ("+c+n(465);return i&&console[n(448)](e),void s(new Error(e))}i&&c%10==0&&console[n(485)](n(494)+t+" ("+c+"/"+l+")");const p=Math[n(490)](o*Math[n(499)](1.2,c),500);setTimeout(d,p)};setTimeout(d,o)}))}static async[f(493)](t,e={}){const n=f,r=t.map(t=>this[n(474)](t,e));return Promise.all(r)}}const v=I;function I(t,e){const n=b();return(I=function(t,e){return n[t-=323]})(t,e)}function b(){const t=["589449FTVGRy","2099880TYyLFR","800140xvfmYv","3.0.14","30DHFfew","400752irHAWf","undefined","userAgent","750ofbDXR","4FAILLb","12870IxcXpp","3846JXNqEA","AdStageSDK/","743048emAuay"];return(b=function(){return t})()}!function(){const t=I,e=b();for(;;)try{if(221266===-parseInt(t(324))/1*(-parseInt(t(326))/2)+parseInt(t(334))/3+parseInt(t(328))/4+parseInt(t(331))/5+parseInt(t(333))/6*(-parseInt(t(329))/7)+parseInt(t(330))/8+-parseInt(t(325))/9*(parseInt(t(323))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const w=v(332);function k(){return w}function E(t,e){const n=S();return(E=function(t,e){return n[t-=161]})(t,e)}const x=E;function S(){const t=["resolvedOptions","platform","getViewportInfo","28037940MNaBkA","device_"," .adstage-slider-wrapper","3551007pjstJx","session_","ios","296eUGIRg",",y:","ssr_device_","toString","generateDeviceId","collectDeviceInfo","adstage_session_id","SSR","width","1124497khiPKF","5517xPBnrh","18680LZDAMp","getScrollInfo","setItem","substr","100RCfLUA","261028kgvFpz","3299298NfjmCz","getSlotPosition","DateTimeFormat","unknown","scrollTop","now","web","top","height","UTC","safeGetElementById",'[data-adstage-slot-id="',"ssr_session_","14eSttlI","random","effectiveType","userAgent","isBrowser","6602YFRDWr","adstage_device_id","test","getPlatform","getItem","safeQuerySelector","colorDepth","95xnMZkh","round","left","isMobile","1.0.0","pixelRatio","generateSessionId"];return(S=function(){return t})()}!function(){const t=E,e=S();for(;;)try{if(724932===-parseInt(t(173))/1*(parseInt(t(208))/2)+-parseInt(t(170))/3+-parseInt(t(189))/4*(-parseInt(t(215))/5)+parseInt(t(190))/6*(-parseInt(t(203))/7)+-parseInt(t(184))/8*(-parseInt(t(183))/9)+parseInt(t(188))/10*(-parseInt(t(182))/11)+parseInt(t(167))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static[x(177)](){const t=x;if(!y[t(207)]())return t(175)+Date.now();const e=localStorage.getItem("adstage_device_id");if(e)return e;const n=t(168)+Math[t(204)]()[t(176)](36)[t(187)](2,9)+"_"+Date[t(195)]();return localStorage[t(186)](t(209),n),n}static[x(163)](){const t=x;if(!y.isBrowser())return t(202)+Date[t(195)]();const e=sessionStorage[t(212)](t(179));if(e)return e;const n=t(171)+Math[t(204)]()[t(176)](36)[t(187)](2,9)+"_"+Date[t(195)]();return sessionStorage[t(186)](t(179),n),n}static isMobile(){const t=x;return!!y.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(210)](navigator[t(206)])}static getPlatform(){const t=x;if(!y[t(207)]())return t(196);const e=navigator[t(206)].toLowerCase();return/iphone|ipad|ipod/[t(210)](e)?t(172):/android/[t(210)](e)?"android":A[t(218)]()?"web":"desktop"}static[x(178)](){const t=x,e=y[t(166)]();return{deviceId:A[t(177)](),sessionId:A[t(163)](),osVersion:y[t(207)]()?navigator.platform:t(180),deviceModel:y[t(207)]()?navigator[t(165)]:t(180),appVersion:t(161),sdkVersion:k(),language:y.isBrowser()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:y.isBrowser()?navigator[t(206)]:"SSR",timezone:y[t(207)]()?Intl[t(192)]()[t(164)]().timeZone:t(199),viewportWidth:e.width,viewportHeight:e.height,screenWidth:y[t(207)]()?screen[t(181)]:0,screenHeight:y[t(207)]()?screen[t(198)]:0,colorDepth:y.isBrowser()?screen[t(214)]:24,pixelRatio:e[t(162)],connectionType:y[t(207)]()&&navigator.connection?.[t(205)]||t(193),platform:A[t(211)]()}}static[x(191)](t){const e=x;let n=y[e(200)](t);if(!n){const r=y[e(213)]("#"+t+e(169));r&&(n=r)}if(!n&&(n=y.safeQuerySelector(e(201)+t+'"]')),!n)return e(193);const r=n.getBoundingClientRect(),o=y[e(185)]();return"x:"+Math[e(216)](r[e(217)])+e(174)+Math[e(216)](r[e(197)]+o[e(194)])}}const C=_;function T(){const t=["API key is required","1233OPCJRi","1076238iaSSiP","56160kLmQEj","5940550XFcPfK","4643404sYuuLM","userAgent","10102uphEAP","User-Agent","create","14nkNQlf","undefined","79oejfiK","186324dngJHh","5EwERAR","application/json","6910020QoZhMj"];return(T=function(){return t})()}function _(t,e){const n=T();return(_=function(t,e){return n[t-=333]})(t,e)}!function(){const t=_,e=T();for(;;)try{if(647508===-parseInt(t(344))/1*(-parseInt(t(339))/2)+parseInt(t(334))/3+parseInt(t(337))/4*(-parseInt(t(346))/5)+-parseInt(t(345))/6*(parseInt(t(342))/7)+-parseInt(t(335))/8*(-parseInt(t(333))/9)+parseInt(t(348))/10+-parseInt(t(336))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class R{static[C(341)](t,e){const n=C;if(!t)throw new Error(n(349));const r={"x-api-key":t,"Content-Type":e?.contentType||n(347)};return typeof navigator!==n(343)&&(r[n(340)]=e?.userAgent||navigator[n(338)]),r}static createForEvents(t,e){const n=C,r=R[n(341)](t);return e?.[n(338)]&&(r["User-Agent"]=e[n(338)]),r}}const D=L;function L(t,e){const n=O();return(L=function(t,e){return n[t-=161]})(t,e)}function O(){const t=["get","✅ Successfully tracked advertisement event: ","45mXZVVO","createForEvents","40370eqVwga","slots"," - ","debug","). Skipping event tracking.","616GCUJlr"," (containerId: ","1940659OqTWXR","containerId","sessionId","statusText","54SZUUZR","status"," for ad ","number","/advertisements/events/","🌐 Full API call details:","53756giENuS","API request failed: ","⚠️ Slot not found for slotId: ","error","VIEWABLE","553132WLkmeQ"," in slot ","⚠️ DOM element not found for slotId: ","height","getPageInfo","66xRXKYq","apiKey","197418qUTWaA","stringify",'[data-adstage-slot-id="',"...","trackAdvertisementEvent","referrer","parseNumericValue","🚀 Sending advertisement event: ","warn","title","🔍 Debug info:","substring","301024sgUrhD","url","48851YpfSLZ","querySelector","POST","🚀 AdvertisementEventTracker: Processing ","deviceId","baseUrl","now","log"];return(O=function(){return t})()}!function(){const t=L,e=O();for(;;)try{if(150345===parseInt(t(184))/1+parseInt(t(163))/2+-parseInt(t(168))/3*(-parseInt(t(213))/4)+-parseInt(t(194))/5*(parseInt(t(170))/6)+parseInt(t(203))/7+parseInt(t(182))/8*(-parseInt(t(207))/9)+parseInt(t(196))/10*(-parseInt(t(201))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{constructor(t,e,n,r){const o=L;this.baseUrl=t,this[o(169)]=e,this[o(199)]=n,this.slots=r}async[D(174)](t,e,n){const r=D;try{this[r(199)]&&console[r(191)](r(187)+n+" event for ad "+t+r(164)+e);const o=this[r(197)][r(192)](e);if(!o)return void(this[r(199)]&&console[r(178)](r(215)+e+". Skipping event tracking to prevent incorrect adType."));if(!(document.getElementById(o[r(204)])||document[r(185)](r(172)+e+'"]')))return void(this[r(199)]&&console[r(178)](r(165)+e+r(202)+o.containerId+r(200)));const i=A.collectDeviceInfo(),a={adType:o.adType,platform:i.platform,deviceId:i[r(188)],deviceInfo:i,pageUrl:y[r(167)]()[r(183)],pageTitle:y[r(167)]()[r(179)],referrer:y[r(167)]()[r(175)],slotId:e,slotPosition:A.getSlotPosition(o[r(204)]),slotWidth:P[r(176)](o.width),slotHeight:P[r(176)](o[r(166)]),sessionId:i[r(205)],pageLoadTime:performance[r(190)](),metadata:{eventType:n,sdkVersion:k(),timestamp:Date[r(190)]()},...n===s[r(162)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(189)]+r(211)+t+"/"+n,l=R[r(195)](this[r(169)],a);this.debug&&(console.log(r(177)+n+r(209)+t,{url:c,headers:l,eventData:a}),console[r(191)](r(212),{method:r(186),url:c,hasApiKey:!!this[r(169)],bodySize:JSON.stringify(a).length}));const d=await fetch(c,{method:r(186),headers:l,body:JSON[r(171)](a)});if(this[r(199)]&&console[r(191)]("📡 API Response Status: "+d.status+" "+d[r(206)],{url:c,ok:d.ok}),!d.ok){const t=await d.text();throw new Error(r(214)+d[r(208)]+" "+d[r(206)]+r(198)+t)}this[r(199)]&&console[r(191)](r(193)+n+" for ad "+t)}catch(o){console[r(161)]("❌ Failed to track advertisement event:",o),console[r(161)](r(180),{baseUrl:this.baseUrl,apiKey:this[r(169)]?this.apiKey[r(181)](0,8)+r(173):"NOT_SET",url:this[r(189)]+r(211)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[D(176)](t){if(typeof t===D(210))return t;if("string"==typeof t){const e=parseFloat(t.replace(/px$/,""));return isNaN(e)?0:e}return 0}}var U=z;function z(t,e){var n=B();return(z=function(t,e){return n[t-=394]})(t,e)}function B(){var t=["2209671QtiTAD","5980130tbHbrW","handleIntersection","element","119IwUZYQ","4sLFppR","873760AMOMYY","IntersectionObserver","177384KyGqlF","visibilityState","observe","IntersectionObserver not supported, viewability tracking disabled","observer","isViewableTriggered","860OObNCy","1391808TsyrxD","visible","forEach","destroy","intersectionRatio","1353qPIUAz","warn","disconnect","onViewableCallback","isDocumentVisible","9546EEfPQV","0px"];return(B=function(){return t})()}!function(){for(var t=z,e=B();;)try{if(222442===parseInt(t(403))/1*(-parseInt(t(400))/2)+parseInt(t(415))/3*(-parseInt(t(409))/4)+parseInt(t(401))/5+parseInt(t(420))/6*(-parseInt(t(399))/7)+parseInt(t(410))/8+-parseInt(t(395))/9+parseInt(t(396))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{constructor(t,e){var n=z;this[n(407)]=null,this[n(408)]=!1,this[n(398)]=t,this.onViewableCallback=e,this.initIntersectionObserver()}initIntersectionObserver(){var t=z;t(402)in window?(this[t(407)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(394)}),this.observer[t(405)](this[t(398)])):console[t(416)](t(406))}[U(397)](t){var e=U;t[e(412)](t=>{var n=e;t[n(414)]>=.5&&this[n(419)]()&&!this[n(408)]&&(this.isViewableTriggered=!0,this[n(418)]&&this[n(418)]())})}[U(419)](){var t=U;return!document.hidden&&document[t(404)]===t(411)}[U(413)](){var t=U;this[t(407)]&&(this[t(407)][t(417)](),this[t(407)]=null)}}const N=V;function V(t,e){const n=F();return(V=function(t,e){return n[t-=319]})(t,e)}function F(){const t=["1069830yLyVCO","/events/register/attribution","https://api.adstage.app","877930KoIBVA","/advertisements/events","1306863hNriQx","210174Yvvonu","/advertisements","setBaseUrl","events","5544940susGyu","getBaseUrl","advertisements","production","baseUrl","2TzRJkn","/advertisements/list","registerAttribution","1235016NdxDnL","7teldad","110Almzbx","5255784gDrEbO","custom","/events/track","track","https://beta-api.adstage.app","list"];return(F=function(){return t})()}!function(){const t=V,e=F();for(;;)try{if(455514===parseInt(t(322))/1+-parseInt(t(334))/2*(parseInt(t(324))/3)+-parseInt(t(337))/4+-parseInt(t(339))/5*(parseInt(t(325))/6)+-parseInt(t(338))/7*(-parseInt(t(340))/8)+-parseInt(t(319))/9+parseInt(t(329))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const j={production:N(321),beta:N(344)},K={advertisements:{list:N(335),detail:N(326),events:N(323)},events:{track:N(342),registerAttribution:N(320)}};class H{constructor(t){const e=N;this[e(331)]={list:()=>""+this.baseUrl+K[e(331)][e(345)],detail:t=>""+this[e(333)]+K[e(331)].detail+"/"+t,events:(t,n)=>""+this.baseUrl+K[e(331)][e(328)]+"/"+t+"/"+n},this.events={track:()=>""+this.baseUrl+K.events[e(343)],registerAttribution:()=>""+this[e(333)]+K.events[e(336)]},this[e(333)]=t||j[e(332)]}[N(327)](t){this[N(333)]=t}[N(330)](){return this[N(333)]}[N(341)](t){return""+this.baseUrl+(t.startsWith("/")?t:"/"+t)}}const W=new H;function q(){var t=["3816954MLTEez","trackSlideViewable","6RQefdw"," (index: 0) in slot: ","1676038iYoste","72GdAjMB","83522RdKybf","47575wVaDFn","1282480YSmuwY","160107zAAODH","🎯 Triggering VIEWABLE event for slide change: ad ","log","VIEWABLE",") in slot: "," (index: ","trackInitialSlideViewable","3255144nrSjag","_id"];return(q=function(){return t})()}var Y=J;function J(t,e){var n=q();return(J=function(t,e){return n[t-=412]})(t,e)}!function(){for(var t=J,e=q();;)try{if(233350===parseInt(t(428))/1+-parseInt(t(425))/2*(parseInt(t(421))/3)+-parseInt(t(427))/4+parseInt(t(426))/5*(-parseInt(t(424))/6)+-parseInt(t(423))/7+parseInt(t(417))/8+parseInt(t(419))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class X{static[Y(420)](t,e,n,r,o=!1){var i=Y;o&&console[i(412)](i(429)+t[i(418)]+i(415)+n+i(414)+e.id),r(t._id,e.id,s.VIEWABLE)}static[Y(416)](t,e,n,r=!1){var o=Y;r&&console.log("🎯 Triggering initial VIEWABLE event: ad "+t[o(418)]+o(422)+e.id),n(t[o(418)],e.id,s[o(413)])}}const G=Z;function Z(t,e){const n=Q();return(Z=function(t,e){return n[t-=143]})(t,e)}function Q(){const t=["stopPropagation","log","addClickEvent","1557105EUCjqX","preventDefault","forEach"," -> ","7186416OirRGL","CLICK","_blank","19UKCkIh","pointer","open","cursor","isClickable","491071KHJglD","20998kfFjqk","1183890YTfNKM","🔗 ","addClickEventsBatch","style","400062eellgP","addEventListener","linkUrl","toLowerCase"," ad clicked: ","_id","129352sbHWvz"];return(Q=function(){return t})()}!function(){const t=Z,e=Q();for(;;)try{if(159222===-parseInt(t(159))/1*(parseInt(t(165))/2)+-parseInt(t(170))/3+parseInt(t(148))/4+-parseInt(t(152))/5+-parseInt(t(166))/6+parseInt(t(164))/7+parseInt(t(156))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ${static[G(151)](t,e,n,r,o=!1,i){const a=G;e[a(144)]&&(t[a(169)][a(162)]="pointer",t.addEventListener("click",t=>{const c=a;if(t[c(153)](),t[c(149)](),r&&r(e[c(147)],n.id,s.CLICK),window[c(161)](e[c(144)],"_blank"),o){const t=i||String(n.adType).toLowerCase();console.log(c(167)+t+c(146)+e._id+c(155)+e[c(144)])}}))}static addClickEventForRenderer(t,e,n,r,o=!1,i){const a=G;e.linkUrl&&(t[a(169)][a(162)]=a(160),t[a(143)]("click",t=>{const c=a;t[c(153)](),t[c(149)]();if(r()(e._id,n.id,s[c(157)]),window[c(161)](e[c(144)],c(158)),o){const t=i||String(n.adType)[c(145)]();console[c(150)](c(167)+t+c(146)+e[c(147)]+c(155)+e[c(144)])}}))}static addClickEventForSlider(t,e,n,r,o=!1,i){this[G(151)](t,e,n,r,o,i)}static[G(163)](t){return Boolean(t[G(144)])}static[G(168)](t,e,n,r,o=!1,i){t[G(154)]((t,s)=>{const a=e[s];a&&this.addClickEvent(t,a,n,r,o,i)})}}const tt=et;function et(t,e){const n=nt();return(et=function(t,e){return n[t-=168]})(t,e)}function nt(){const t=["400375llpxZO","5265488OtPJOK","textContent","getBoundingClientRect","classList","normal","whiteSpace","Text Ad","data-adstage-slot-id","appendChild","borderColor","padding"," Ad","cssText","addEventListener","width","backgroundColor","remove","toLowerCase","changedTouches","autoSlideInterval","200px","3520491akxfWP","createMinimalDotIndicator","flex","addTouchSupport","center","7890YuRZyN","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","white","string","clientX","25668434QHwMMc","adstage-dot","display","opacity","every","setProperty","forEach","videoUrl","src","createSliderContainer","100px","adstage-ad adstage-","#000","none","transition","children","100%","active","touches","querySelectorAll","setAttribute","touchend","1px dashed #ccc","8px","TEXT","body","imageUrl","border","1px solid #666","cover","244466TOOVfq","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","#cccccc","20djFCPH","Banner Ad","translateX(-","className","0.9","20LdEJJI","color","mouseleave","_id","fontSize","1ewTsVX","length","#666666","background","adstage-slide-container","#999999","entries","auto","mouseenter",".adstage-dot","touchstart","button","removeChild","height","0.7","469CqbdSs","touchmove","abs","adType","14px","addClickEventForSlider","hidden","relative","adstage-slider-wrapper","includes","inline-block","createElement","div","style","adstage-dots","click","trackSlideViewable","transform 0.4s ease-out","2767356pPVxBz","video","#f9f9f9"];return(nt=function(){return t})()}!function(){const t=et,e=nt();for(;;)try{if(592502===-parseInt(t(188))/1*(parseInt(t(175))/2)+-parseInt(t(246))/3+parseInt(t(178))/4*(-parseInt(t(224))/5)+parseInt(t(251))/6*(-parseInt(t(203))/7)+parseInt(t(225))/8+-parseInt(t(221))/9*(parseInt(t(183))/10)+parseInt(t(256))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static createSimpleAdElement(e,n){const r=et,o=document[r(214)](r(215));switch(o[r(181)]=r(267)+String(e[r(206)])[r(242)](),o[r(276)]("data-adstage-ad-id",n[r(186)]),o[r(276)](r(232),e.id),o[r(216)][r(258)]="block",o.style[r(239)]=r(272),o[r(216)][r(201)]=r(195),e[r(206)]){case t.BANNER:if(n[r(171)]){const t=document[r(214)]("img");t[r(264)]=n[r(171)],t[r(216)][r(239)]="100%",t.style[r(201)]=r(195),t[r(216)].objectFit=r(174),o[r(233)](t)}else o[r(216)][r(201)]=r(266),o[r(216)].backgroundColor="#f0f0f0",o[r(216)][r(172)]=r(278),o.textContent=r(179);break;case t.VIDEO:if(n[r(263)]){const t=document[r(214)](r(222));t[r(264)]=n[r(263)],t[r(216)].width="100%",t[r(216)].height=r(195),o[r(233)](t)}else o[r(216)].height=r(245),o[r(216)][r(240)]=r(268),o[r(216)][r(172)]=r(173),o[r(226)]="Video Ad",o.style[r(184)]=r(253);break;case t[r(169)]:if(n[r(226)]){const t=document[r(214)](r(215));t[r(226)]=n.textContent||"",t.style[r(235)]=r(168),t[r(216)][r(187)]=r(207),o.appendChild(t)}else o[r(216)][r(201)]="50px",o.style[r(235)]=r(168),o[r(226)]=r(231);break;default:o[r(216)][r(201)]="100px",o[r(216)][r(172)]=r(278),o[r(216)][r(240)]=r(223),o[r(226)]=e[r(206)]+r(236)}return o}static[tt(265)](e,n,r,o,i=!1){const s=tt,a=document[s(214)]("div");a[s(181)]=s(211);const c={position:s(210),overflow:s(209)};if(e[s(239)]&&0!==e.width){let t;t=typeof e[s(239)]===s(254)&&(e[s(239)][s(212)]("px")||e.width.includes("%"))?e.width:e[s(239)]+"px",c[s(239)]=t,c[s(258)]=s(213)}else c[s(258)]="inline-block";if(e.height&&0!==e[s(201)]){const t=typeof e[s(201)]===s(254)?e[s(201)]:e[s(201)]+"px";c[s(201)]=t}Object[s(194)](c)[s(262)](([t,e])=>{a[s(216)].setProperty(t,e)});const l=!e[s(239)]||0===e[s(239)],d=!e[s(201)]||0===e[s(201)];if(l||d){const t=document[s(214)]("div");if(t[s(216)].cssText=s(252),!l&&e[s(239)]){let n;n="string"==typeof e.width&&(e[s(239)][s(212)]("px")||e[s(239)][s(212)]("%"))?e[s(239)]:e[s(239)]+"px",t[s(216)].width=n,t[s(216)][s(230)]=s(229)}document.body[s(233)](t);let r=0,o=0;n[s(262)](n=>{const i=s,a=this.createSimpleAdElement(e,n);t[i(233)](a);const c=a[i(227)]();c[i(239)]>r&&(r=c[i(239)]),c.height>o&&(o=c[i(201)]),t[i(200)](a)}),l&&r>0&&(a[s(216)][s(239)]=r+"px",c[s(239)]=r+"px"),d&&o>0&&(a[s(216)][s(201)]=o+"px",c.height=o+"px"),document[s(170)][s(200)](t)}const u=[...n,n[0]],p=document[s(214)](s(215));p[s(181)]=s(192);const h={display:s(248),transition:s(220),width:100*u[s(189)]+"%"};e[s(201)]&&0!==e[s(201)]&&(h[s(201)]="100%"),Object[s(194)](h).forEach(([t,e])=>{p.style.setProperty(t,e)}),u[s(262)]((t,n)=>{const r=s,a=document.createElement(r(215));a[r(181)]="adstage-slide";const c={width:100/u.length+"%","flex-shrink":"0",display:r(248),"align-items":"center","justify-content":r(250)};e.height&&0!==e[r(201)]&&(c[r(201)]=r(272)),Object[r(194)](c)[r(262)](([t,e])=>{const n=r;a[n(216)][n(261)](t,e)});const l=this.createSimpleAdElement(e,t);$[r(208)](l,t,e,o,i,String(e[r(206)])[r(242)]()),a[r(233)](l),p[r(233)](a)});const f=n[s(260)](e=>e[s(206)]===t[s(169)])?null:this[s(247)](n[s(189)]);let g=0;const m=n[s(189)],y=1e3*(r?.[s(244)]||3),v=(t,r=!1)=>{const a=s;g=t,p[a(216)][a(270)]=a(r?269:220),p[a(216)].transform=a(180)+100/u[a(189)]*g+"%)";const c=g===m?0:g;if(f){f[a(275)](a(197))[a(262)]((t,e)=>{const n=a,r=t;e===c?(r.classList.add(n(273)),r[n(216)][n(191)]=n(190),r.style[n(234)]=n(190),r[n(216)][n(259)]="1"):(r.classList[n(241)](n(273)),r[n(216)].background="transparent",r[n(216)][n(234)]=n(177),r[n(216)][n(259)]=n(202))})}X[a(219)](n[c],e,c,o,i)},I=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[s(275)](s(197)).forEach((t,e)=>{const n=s;t.addEventListener(n(218),()=>v(e))})}let b=setInterval(()=>{v(g+1),I()},y);return a.addEventListener(s(196),()=>{clearInterval(b)}),a[s(238)](s(185),()=>{b=setInterval(()=>{v(g+1),I()},y)}),this[s(249)](p,v,()=>g,m,I),a[s(233)](p),f&&a[s(233)](f),v(0),(!e.width||0===e[s(239)])&&setTimeout(()=>{const t=s,n=p[t(271)][0];if(n){const r=n[t(271)][0];if(r){const n=r.getBoundingClientRect();a[t(216)][t(239)]=n[t(239)]+"px",(!e.height||0===e.height)&&(a[t(216)][t(201)]=n[t(201)]+"px"),a[t(216)].overflow="hidden"}}},10),a}static[tt(247)](t){const e=tt,n=document[e(214)]("div");n[e(181)]=e(217),n.style[e(237)]="\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ";for(let r=0;r<t;r++){const t=document[e(214)](e(199));t.className=e(257),t[e(216)].cssText=e(176),t.addEventListener(e(196),()=>{const n=e;!t[n(228)].contains("active")&&(t[n(216)][n(234)]=n(193),t.style[n(259)]=n(182))}),t[e(238)](e(185),()=>{const n=e;!t[n(228)].contains(n(273))&&(t[n(216)][n(234)]=n(177),t[n(216)][n(259)]=n(202))}),n[e(233)](t)}return n}static addTouchSupport(t,e,n,r,o){const i=tt;let s=0,a=!1;t.addEventListener(i(198),t=>{const e=i;s=t[e(274)][0][e(255)],a=!0}),t.addEventListener(i(204),t=>{a&&t.preventDefault()}),t.addEventListener(i(277),t=>{const c=i;if(!a)return;a=!1;const l=t[c(243)][0][c(255)],d=s-l;if(Math[c(205)](d)>50){const t=n();if(d>0){e(t+1),o&&o()}else{e(t>0?t-1:r-1)}}})}}const ot=st;function it(){const t=["clear","add"," in slot ","18fGYLVS","1657248kcUrWM","has","2682463BifTAB","viewableTracker","delete","9705720ETGssL","isDuplicateViewable","323104BzIJbo","154316Bthfyk","clearAdViewable","462733vnIbZj","1682920VzTlcU","log"];return(it=function(){return t})()}function st(t,e){const n=it();return(st=function(t,e){return n[t-=232]})(t,e)}!function(){const t=st,e=it();for(;;)try{if(286921===parseInt(t(246))/1+-parseInt(t(243))/2+parseInt(t(235))/3*(-parseInt(t(244))/4)+-parseInt(t(247))/5+-parseInt(t(236))/6+-parseInt(t(238))/7+parseInt(t(241))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static[ot(242)](t,e,n=!1){const r=ot,o=t+"_"+e;return at[r(239)][r(237)](o)?(n&&console.log("Duplicate viewable blocked for ad "+t+r(234)+e),!0):(at[r(239)][r(233)](o),n&&console[r(248)]("✅ New viewable recorded for ad "+t+r(234)+e),!1)}static clear(){const t=ot;at[t(239)][t(232)]()}static[ot(245)](t,e){const n=ot,r=t+"_"+e;at[n(239)][n(240)](r)}}at[ot(239)]=new Set;const ct=dt;function lt(){const t=["2px dashed #e74c3c","#e74c3c",'[class*="ad"]'," container collapsed (","log","rgba(0, 0, 0, 0.02)","rgba(231, 76, 60, 0.1)","📏 Using 100% height (container: ","getDefaultHeight","opacity","center","innerHTML","color","generic","parentElement","isDuplicateViewable"," container: ","6px","width","transparent","true","fontFamily","px)","15ApBsnR",'div[style*="min-height"]',"renderFallback","data-adstage-slot","1294uhARzv","❌ Failed to track ","debug","4px"," in slot ","isEmpty","<span>Loading ","): ",'[class*="banner"]',"advertisementEventTracker","setAttribute",'[data-adstage-container="true"]'," event for ad ","height","adType","1px dashed #ccc"," event","alignItems","hasAttribute"," for ","🚫 Duplicate viewable blocked for ad "," slot: ","monospace","none","📏 Using default height ","⚠️ "," ad...</span>","data-adstage-container","fontSize","classList",'div[style*="height"]',"createPlaceholder","getElementById","unknown","style","data-adstage-empty","getComputedStyle","borderRadius","border","calculateAdSize","trackAdvertisementEvent","auto","278OMbMwC","querySelector",") - Mode: ","createEmptyContainer","9843911DDKyFt","#666","string","2420280OYzclk","warn",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"getAttribute","error"," for ad ","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",'[class*="container"]',"toLowerCase","adstage-class","containerId","getContainerHeight","applyPlaceholderStyle","contains","display","cssText","backgroundColor",".adstage-slot","954vWRxwL","advertisement","flex","appendChild","8YEbSEC","44830kjQAhO","adstage-official","🔄 Starting advertisement event tracking: ","454472cynpYq","createElement","✅ New viewable recorded for ad ","createEventTrackingCallback",".adstage-","11px","className","100%","justifyContent","3811437rNhoSZ","number","closest","div","📊 Advertisement event tracked: ","2006712HaJTuI","filter","📦 Placeholder created for ","adstage-slot adstage-empty adstage-","placeholderMode","invisible"];return(lt=function(){return t})()}function dt(t,e){const n=lt();return(dt=function(t,e){return n[t-=226]})(t,e)}!function(){const t=dt,e=lt();for(;;)try{if(305496===parseInt(t(292))/1*(parseInt(t(334))/2)+parseInt(t(288))/3*(-parseInt(t(245))/4)+parseInt(t(341))/5+parseInt(t(259))/6+-parseInt(t(254))/7*(parseInt(t(241))/8)+parseInt(t(237))/9*(-parseInt(t(242))/10)+parseInt(t(338))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ut{constructor(t,e=!1,n){const r=dt;this[r(306)]=t,this[r(294)]=e,this[r(301)]=n||null}[ct(323)](t,e,n,r){const o=ct,i=document.createElement(o(257));i.id=e,i[o(251)]="adstage-slot adstage-"+String(this[o(306)])[o(227)](),i[o(302)](o(319),o(285)),i[o(302)]("data-adstage-type",String(this[o(306)])),i[o(302)](o(291),e);const{width:s,height:a}=this.calculateAdSize(t,n,r)||{width:o(252),height:this[o(273)]()};i.style[o(283)]=s,i[o(326)][o(305)]=a;const c=r?.[o(263)]||n[o(263)]||"invisible";this[o(231)](i,c),t[o(240)](i),this[o(294)]&&console[o(269)](o(261)+this[o(306)]+o(313)+e+" ("+s+" x "+a+o(336)+c)}[ct(231)](t,e){const n=ct;switch(e){case n(264):t[n(326)].backgroundColor=n(284),t.style[n(330)]=n(315),t[n(326)][n(274)]="0",t[n(276)]="";break;case"transparent":t[n(326)][n(235)]=n(284),t.style[n(330)]=n(315),t[n(326)][n(233)]="block",t[n(276)]="";break;case"subtle":t[n(326)][n(235)]=n(270),t.style[n(330)]="none",t[n(326)].borderRadius=n(295),t[n(326)][n(233)]=n(239),t[n(326)][n(309)]=n(275),t[n(326)].justifyContent=n(275),t[n(276)]=n(343);break;case"minimal":t[n(326)][n(235)]="rgba(248, 249, 250, 0.5)",t[n(326)][n(330)]="1px solid rgba(0, 0, 0, 0.08)",t[n(326)][n(329)]=n(282),t[n(326)].display=n(239),t[n(326)][n(309)]=n(275),t[n(326)][n(253)]=n(275),t[n(276)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(294):t[n(326)][n(330)]=n(265),t.style[n(233)]="flex",t.style.alignItems=n(275),t.style.justifyContent=n(275),t.style[n(235)]=n(271),t[n(326)][n(277)]=n(266),t[n(326)][n(286)]=n(314),t[n(326)][n(320)]=n(250),t.innerHTML=n(298)+this[n(306)]+n(318);break;default:t[n(326)][n(330)]=n(307),t[n(326)][n(233)]=n(239),t.style[n(309)]="center",t.style[n(253)]="center",t[n(326)].backgroundColor="#f9f9f9",t[n(326)][n(277)]=n(339),t[n(276)]=n(298)+this.adType+" ad...</span>"}}[ct(331)](t,e,n){const r=ct,o=e[r(283)],i=e[r(305)];let s,a;if(s=typeof o===r(255)?o+"px":typeof o===r(340)?o:r(252),typeof i===r(255))a=i+"px";else if("string"==typeof i&&"100%"!==i&&i!==r(333))a=i;else{const e=this[r(230)](t);e>0?(a="100%",(n?.debug||this[r(294)])&&console[r(269)](r(272)+e+r(287))):(a=this.getDefaultHeight(),(n?.[r(294)]||this[r(294)])&&console[r(269)](r(316)+a+r(311)+this.adType))}return{width:s,height:a}}[ct(230)](t){const e=ct,n=window[e(328)](t),r=parseFloat(n[e(305)]);if(!r||0===r){const r=parseFloat(n.minHeight);if(r>0)return r;if(t[e(326)][e(305)]&&t.style[e(305)]!==e(333)){const n=parseFloat(t.style[e(305)]);if(n>0)return n}const o=t[e(344)](e(305));if(o){const t=parseFloat(o);if(t>0)return t}}return r||0}[ct(248)](){return async(t,e,n)=>{const r=dt;if(n===s.VIEWABLE){if(at[r(280)](t,e,this[r(294)]))return void(this[r(294)]&&console[r(269)](r(312)+t+r(296)+e));this.debug&&console[r(269)](r(247)+t+" in slot "+e)}if(this[r(301)])try{this[r(294)]&&console.log(r(244)+n+r(346)+t+" in slot "+e),await this[r(301)][r(332)](t,e,n),this.debug&&console.log(r(258)+n+r(346)+t+r(296)+e)}catch(e){this[r(294)]&&console[r(345)](r(293)+n+r(304)+t+":",e)}else this[r(294)]&&console[r(342)]("⚠️ AdvertisementEventTracker not available for "+n+r(308))}}[ct(290)](t){const e=ct,n=document.getElementById(t.id);if(n){const r=[...[n[e(335)](e(303)),n[e(256)]('[data-adstage-container="true"]'),n].filter(t=>t&&t[e(310)](e(319))),...[n[e(256)](e(236)),n.closest(e(249)+String(this[e(306)])[e(227)]()),n[e(256)](e(267)),n[e(256)](e(300)),n.closest(e(226)),n[e(256)](e(322)),n.closest(e(289)),n[e(279)]][e(260)](Boolean)][0];if(r){let n=e(325);n=r[e(310)](e(319))?e(243):r[e(321)][e(232)]("adstage-slot")?e(228):e(278),r[e(326)][e(234)]+=e(347),r.innerHTML="",r[e(302)](e(327),e(285)),this.debug&&console.warn(e(317)+this.adType+e(268)+n+e(299)+t.id,r)}else this.createEmptyContainer(t)}t[e(238)]=void 0,t[e(297)]=!0}[ct(337)](t){const e=ct,n=document[e(324)](t[e(229)]);if(n){n.innerHTML="";const r=document[e(246)](e(257));r.id=t.id,r[e(251)]=e(262)+String(this[e(306)])[e(227)](),r.setAttribute(e(319),e(285)),r[e(302)]("data-adstage-empty",e(285)),r[e(302)](e(291),t.id),r[e(326)][e(234)]="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n[e(240)](r),this[e(294)]&&console[e(342)]("⚠️ Created empty "+this[e(306)]+e(281)+t.id)}}[ct(269)](t,...e){const n=ct;this[n(294)]&&console.log("["+this[n(306)]+"] "+t,...e)}}const pt=ht;function ht(t,e){const n=ft();return(ht=function(t,e){return n[t-=416]})(t,e)}function ft(){const t=["createSliderContainer","warn","getBoundingClientRect","center","loadImageDimensions","className","onload","map","calculateAdSize","debug","reduce","Banner","toFixed","BANNER","set","#f0f0f0","Failed to calculate optimal banner size, using defaults:","values","round","🎠 Banner carousel created for slot: ","alt","parentElement","from","contain","img","objectPosition","250px","height","log","37146jTVsoa","appendChild",", ratio=","16:9","containerId","value","Image URL is not provided","Banner Ad","Container not found: ","div","style","485310CAwacI","calculateOptimalContainerSize","✅ Optimized banner image rendered for ad: ","common","4:3","8px","548156aRcIDu","get","2529576Kwhiyb",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>'," with ","allSettled","📸 Banner image dimensions: ","title","renderOptimizedBannerImage","config","9oDZIdY","display","cover","status","average","objectFit","createEventTrackingCallback","1:1","🔧 Banner container optimized for ","📊 Using standard ratio: ","slideInterval","158370JsxFqF","innerHTML","100%","filter"," (avg: ","optimizedHeight","length","naturalHeight","getDefaultHeight","❌ Failed to load optimized banner image:","aspectRatio","3:2","ratio","optimizeContainerForBannerAds","</div>","🎨 Banner image style applied: objectFit=","onerror","count","src","dominant","width","applyOptimizedImageStyle","abs","7135248EgAZfq","toString","imageUrl","6444256oMMcmV","block","borderRadius","getElementById"," ads: ","📐 Optimal banner container calculated: ","backgroundColor","forEach","addClickEventForRenderer","renderAdElement","naturalWidth","max","56hDoVtV","selectOptimalSizeStrategy","fulfilled","calculateOptimalHeight"];return(ft=function(){return t})()}!function(){const t=ht,e=ft();for(;;)try{if(969742===parseInt(t(484))/1*(-parseInt(t(451))/2)+-parseInt(t(522))/3+parseInt(t(439))/4+-parseInt(t(495))/5+-parseInt(t(503))/6+parseInt(t(501))/7+-parseInt(t(436))/8*(-parseInt(t(511))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class gt extends ut{constructor(e=!1,n){super(t[ht(468)],e,n)}[pt(421)](){return pt(481)}async[pt(448)](t,e){const n=pt,r=document[n(442)](t[n(488)]);if(!r)return;const o=document.createElement(n(493));o[n(460)]="adstage-ad adstage-banner-ad";const i=t[n(418)],s=r[n(476)]||r;if(i)o[n(494)][n(433)]=n(524),o[n(494)][n(482)]=String(i);else{const e=t.config,r={width:e?.width,height:e?.[n(482)]},{width:i,height:a}=this[n(463)](s,r,{debug:this[n(464)]});o[n(494)][n(433)]=i,o[n(494)][n(482)]=a}e[n(438)]?await this[n(509)](o,e,t):o[n(523)]="<div>"+(e.title||n(491))+n(427),$.addClickEventForRenderer(o,e,t,()=>this[n(517)](),this[n(464)],n(466)),r[n(523)]="",r[n(485)](o)}async renderMultipleAds(t,e){const n=pt,r=document[n(442)](t[n(488)]);if(!r)throw new Error(n(492)+t[n(488)]);await this[n(426)](t,e);const o=this[n(517)](),i={autoSlideInterval:(t[n(510)]?.[n(521)]||5e3)/1e3,...t[n(510)],optimizedHeight:t[n(418)],aspectRatio:t.aspectRatio},s=rt[n(455)](t,e,i,o,this[n(464)]);s&&(r[n(523)]="",r[n(485)](s),this[n(464)]&&console.log(n(474)+t.id+n(505)+e[n(419)]+" ads (optimized: "+(t[n(418)]||"default")+")"))}async[pt(496)](t,e){const n=pt;if(!t[n(419)])return{width:"100%",height:this[n(421)](),aspectRatio:16/9};try{const r=(await Promise[n(506)](t[n(416)](t=>t[n(438)])[n(462)](t=>this[n(459)](t[n(438)]))))[n(416)](t=>t[n(514)]===n(453)).map(t=>t[n(489)]);if(0===r[n(419)])return{width:"100%",height:this[n(421)](),aspectRatio:16/9};const o=this[n(452)](r),i=this[n(454)](r,e,o);return this.debug&&console[n(483)](n(444)+e+"x"+i+" (strategy: "+o+")"),{width:n(524),height:i+"px",aspectRatio:e/i}}catch(t){return console[n(456)](n(471),t),{width:n(524),height:this[n(421)](),aspectRatio:16/9}}}async[pt(426)](t,e){const n=pt;try{const r=document[n(442)](t.containerId),o=document[n(442)](t.id);if(!r||!o)return;const i=r[n(457)]().width||300,s=await this[n(496)](e,i);o.style[n(482)]=s[n(482)],t[n(418)]=s[n(482)],t[n(423)]=s[n(423)],this[n(464)]&&console[n(483)](n(519)+e[n(419)]+n(443)+s[n(482)])}catch(t){console[n(456)]("Banner container optimization failed, using default size:",t)}}[pt(452)](t){const e=pt,n=t[e(462)](t=>t[e(433)]/t[e(482)]),r=new Map;n.forEach(t=>{const n=e,o=(Math[n(473)](10*t)/10)[n(437)]();r.set(o,(r.get(o)||0)+1)});const o=Math[e(450)](...r[e(472)]()),i=t[e(419)];if(o/i>=.7)return e(432);const s=[16/9,4/3,1,1.5],a=n.filter(t=>s.some(n=>Math[e(435)](t-n)<.1))[e(419)];return e(a/i>=.5?498:515)}[pt(454)](t,e,n){const r=pt,o=t[r(462)](t=>t[r(433)]/t[r(482)]);switch(n){case r(432):{const t=new Map;o[r(446)](e=>{const n=r,o=Math[n(473)](10*e)/10,i=o[n(437)](),s=t[n(502)](i);s?s[n(430)]++:t[n(469)](i,{ratio:o,count:1})});const n=Array[r(477)](t[r(472)]())[r(465)]((t,e)=>e.count>t[r(430)]?e:t);return Math[r(473)](e/n[r(425)])}case"common":{const t=[{ratio:16/9,name:r(487)},{ratio:4/3,name:r(499)},{ratio:1,name:r(518)},{ratio:1.5,name:r(424)}],n=o[r(465)]((t,e)=>t+e,0)/o[r(419)],i=t.reduce((t,e)=>Math.abs(e[r(425)]-n)<Math[r(435)](t[r(425)]-n)?e:t);return this[r(464)]&&console[r(483)](r(520)+i.name+r(417)+n[r(467)](2)+")"),Math[r(473)](e/i[r(425)])}case r(515):default:{const t=o[r(465)]((t,e)=>t+e,0)/o[r(419)];return Math.round(e/t)}}}loadImageDimensions(t){return new Promise((e,n)=>{const r=ht,o=new Image;o[r(461)]=()=>{const t=r;e({width:o[t(449)],height:o[t(420)]})},o[r(429)]=()=>{n(new Error("Failed to load image: "+t))},o.src=t})}applyOptimizedImageStyle(t,e,n){const r=pt,o=e/n;Math.abs(o-1)<.1?(t[r(494)][r(516)]=r(513),t.style[r(480)]=r(458)):o>1.3?(t[r(494)][r(516)]=r(478),t[r(494)][r(480)]="center",t.style[r(445)]=r(470)):o<.7?(t[r(494)][r(516)]="cover",t[r(494)][r(480)]=r(458)):(t[r(494)][r(516)]=r(513),t.style[r(480)]=r(458)),this[r(464)]&&console.log(r(428)+t[r(494)].objectFit+r(486)+o[r(467)](2))}async renderOptimizedBannerImage(t,e,n){const r=pt,o=document.createElement(r(479));o[r(494)].width=r(524),o[r(494)][r(482)]=r(524),o.style[r(512)]=r(440),o[r(494)][r(441)]=r(500),o[r(475)]=e[r(508)]||"Banner Advertisement",t[r(523)]=r(504);try{if(!e[r(438)])throw new Error(r(490));const i=await this.loadImageDimensions(e[r(438)]),s=t[r(457)](),a=s[r(433)],c=s[r(482)];this[r(464)]&&(console[r(483)](r(507)+i[r(433)]+"x"+i[r(482)]),console[r(483)]("📦 Banner container dimensions: "+a+"x"+c));const l=i[r(433)]/i.height,d=a/c;return this[r(434)](o,l,d),o[r(431)]=e[r(438)],t[r(523)]="",t[r(485)](o),$[r(447)](o,e,n,()=>this[r(517)](),this[r(464)],r(466)),this[r(464)]&&console.log(r(497)+e._id),o}catch(i){return console.error(r(422),i),e.imageUrl&&(o[r(431)]=e.imageUrl,o[r(494)][r(516)]=r(513),o[r(494)][r(480)]="center",t[r(523)]="",t[r(485)](o),$[r(447)](o,e,n,()=>this.createEventTrackingCallback(),this.debug,r(466))),o}}}const mt=yt;function yt(t,e){const n=It();return(yt=function(t,e){return n[t-=234]})(t,e)}!function(){const t=yt,e=It();for(;;)try{if(708137===-parseInt(t(239))/1*(-parseInt(t(242))/2)+parseInt(t(234))/3+parseInt(t(240))/4*(parseInt(t(237))/5)+-parseInt(t(236))/6+parseInt(t(245))/7+-parseInt(t(243))/8+parseInt(t(235))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class vt{static createTextAdStyles(t=!1){return"\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n "}static[mt(244)](t,e){const n=mt,r=e.textContent||e[n(238)]||"";t[n(241)]=r}}function It(){const t=["setTextAdContent","445529zoXLBM","1799616EeqqJU","1172826sdjgje","7970406oeLPuo","6859835RvoLLV","title","3931JAIVkf","4iaehUD","textContent","106ywKqeq","2700840NivhGl"];return(It=function(){return t})()}const bt=kt;function wt(){const t=["height: auto; min-height: fit-content;","style","fit-content","adstage-fade-slide-container","clientX","className","mouseenter","changedTouches","createTextAdStyles","adstage-fade-slide","height",";\n width: 100%;\n ","length","push","\n ","20px","211839udiJcF","528ZwBOrU","11JaOrUI","opacity","touches","addEventListener","width",";\n ","createSimpleAdElement","forEach","45918156liWfOD","21zJMGor","string","body","preventDefault","touchmove","includes","relative","appendChild","setAttribute","_id","autoSlideInterval","6461092OqRwEw","5318AARfwB","block","div","abs","\n position: relative;\n width: 100%;\n ","position","zIndex","toLowerCase","createElement","trackSlideViewable","top","normal","54LDWCja","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","cssText","height: 100%;","touchend","minHeight","\n position: ","clientY","setTextAdContent",";\n top: ","translateY(-20px)","left","2624390UFHHjP","3542772wlxBZY","transform","height: auto;","data-adstage-ad-id","adstage-fade-slider-wrapper","5MwzWEe","9037504qPjdwJ","addClickEventForSlider","auto","absolute","removeChild","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "];return(wt=function(){return t})()}function kt(t,e){const n=wt();return(kt=function(t,e){return n[t-=234]})(t,e)}!function(){const t=kt,e=wt();for(;;)try{if(931129===-parseInt(t(248))/1*(parseInt(t(302))/2)+parseInt(t(301))/3+parseInt(t(247))/4*(parseInt(t(278))/5)+parseInt(t(273))/6*(parseInt(t(236))/7)+parseInt(t(279))/8+parseInt(t(260))/9*(parseInt(t(272))/10)+-parseInt(t(303))/11*(parseInt(t(235))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Et{static[bt(309)](t,e){const n=bt,r=document[n(256)](n(250));return r[n(290)]="adstage-ad adstage-"+String(t.adType)[n(255)](),r[n(244)](n(276),e[n(245)]),r[n(244)]("data-adstage-slot-id",t.id),r[n(286)][n(262)]=vt[n(293)](!0),vt[n(268)](r,e),r}static createTextTransitionContainer(t,e,n,r,o=!1){const i=bt,s=t.height&&0!==t.height&&t.height!==i(281),a=document.createElement("div");a[i(290)]=i(277);const c={position:i(242),overflow:"hidden",display:i(249)};if(!s&&(c[i(295)]=i(281),c[i(265)]=i(287)),t[i(307)]&&0!==t[i(307)]){let e;e=typeof t[i(307)]===i(237)&&(t[i(307)][i(241)]("px")||t[i(307)].includes("%"))?t[i(307)]:t[i(307)]+"px",c.width=e}if(t[i(295)]&&0!==t[i(295)]&&t[i(295)]!==i(281)&&s){let e;e="string"==typeof t[i(295)]?t[i(295)][i(241)]("px")||t.height[i(241)]("%")?t[i(295)]:t[i(295)]+"px":t.height+"px",c[i(295)]=e}Object.entries(c)[i(234)](([t,e])=>{a[i(286)].setProperty(t,e)});const l=document.createElement(i(250));l.className=i(288),l[i(286)].cssText=i(252)+i(s?263:285)+i(299);let d=null;const u=!t[i(307)]||0===t[i(307)],p=!t[i(295)]||0===t[i(295)]||void 0===t[i(295)]||"auto"===t[i(295)];if(u||p&&s){if(d=document[i(256)](i(250)),d[i(286)][i(262)]=i(261),!u&&t[i(307)]){let e;e=typeof t[i(307)]===i(237)&&(t[i(307)][i(241)]("px")||t[i(307)][i(241)]("%"))?t[i(307)]:t.width+"px",d.style[i(307)]=e,d.style.whiteSpace=i(259)}document.body[i(243)](d);let n=0,r=0;e.forEach(e=>{const o=i,s=this[o(309)](t,e);d.appendChild(s);const a=s.getBoundingClientRect();a[o(307)]>n&&(n=a.width),a[o(295)]>r&&(r=a[o(295)]),d[o(283)](s)}),u&&n>0&&(a[i(286)][i(307)]=n+"px"),p&&r>0&&s&&(a[i(286)][i(295)]=r+"px"),document[i(238)][i(283)](d)}const h=[];e[i(234)]((e,n)=>{const a=i,c=document[a(256)](a(250));c[a(290)]=a(294);const d=a(s?282:0===n?242:282);c[a(286)][a(262)]=a(266)+d+a(269)+(d===a(282)?"0":a(281))+";\n left: "+(d===a(282)?"0":a(281))+a(296)+a(s?263:275)+a(284)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(300))+");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: "+(0===n?"2":"1")+a(308);const u=this[a(309)](t,e);$[a(280)](u,e,t,r,o,"Text"),c[a(243)](u),l[a(243)](c),h[a(298)](c)});let f=0;const g=e[i(297)],m=1e3*(n?.[i(246)]||4),y=n=>{const a=i;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!s&&("relative"===c[a(286)][a(253)]&&(c[a(286)][a(253)]=a(282),c.style[a(258)]="0",c[a(286)][a(271)]="0"),l[a(286)][a(253)]=a(242),l[a(286)][a(258)]=a(281),l[a(286)].left="auto"),c[a(286)][a(304)]="0",c[a(286)][a(274)]=a(270),c.style[a(254)]="1",l[a(286)][a(304)]="1",l[a(286)][a(274)]="translateY(0)",l[a(286)][a(254)]="2",h[a(234)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(286)][r(304)]="0",t[r(286)][r(274)]="translateY(20px)",t.style.zIndex="1",!s&&"relative"===t.style[r(253)]&&(t[r(286)][r(253)]=r(282),t[r(286)][r(258)]="0",t.style[r(271)]="0"))}),f=n,X[a(257)](e[f],t,f,r,o)};let v=setInterval(()=>{y(f+1)},m);return a[i(306)](i(291),()=>{clearInterval(v)}),a[i(306)]("mouseleave",()=>{v=setInterval(()=>{y(f+1)},m)}),Et.addTouchSupport(a,y,()=>f,g),a.appendChild(l),a}static addTouchSupport(t,e,n,r){const o=bt;let i=0,s=0,a=!1;t[o(306)]("touchstart",t=>{const e=o;i=t[e(305)][0][e(289)],s=t[e(305)][0][e(267)],a=!0}),t[o(306)](o(240),t=>{a&&t[o(239)]()}),t.addEventListener(o(264),t=>{const r=o;if(!a)return;a=!1;const c=t[r(292)][0][r(289)],l=t[r(292)][0].clientY,d=i-c,u=s-l;if(Math[r(251)](d)>Math[r(251)](u)&&Math[r(251)](d)>50){const t=n();e(d>0?t+1:t-1)}})}}const xt=St;function St(t,e){const n=Ct();return(St=function(t,e){return n[t-=134]})(t,e)}!function(){const t=St,e=Ct();for(;;)try{if(924810===parseInt(t(165))/1+-parseInt(t(181))/2*(parseInt(t(143))/3)+parseInt(t(153))/4*(-parseInt(t(183))/5)+parseInt(t(137))/6*(parseInt(t(161))/7)+-parseInt(t(141))/8*(parseInt(t(167))/9)+-parseInt(t(151))/10*(-parseInt(t(150))/11)+parseInt(t(136))/12*(parseInt(t(175))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class At extends ut{constructor(e=!1,n){super(t[St(142)],e,n)}[xt(170)](){return xt(152)}async renderAdElement(t,e){const n=xt,r=document[n(182)](t[n(155)]);if(!r)return;const o=document[n(166)](n(154));o[n(145)]=n(156);const i=t[n(174)],s=r[n(172)]||r;if(i)o[n(146)][n(135)]=n(180),o.style[n(176)]=String(i);else{const e=t[n(148)],r={width:e?.width,height:e?.[n(176)]},{width:i,height:a}=this[n(164)](s,r,{debug:this[n(171)]});o.style[n(135)]=i,o[n(146)].height=a}const a=document[n(166)](n(154));a[n(145)]=n(163),a.style.cssText=vt.createTextAdStyles(!1),vt[n(159)](a,e);const c=t[n(148)]?.[n(139)];c&&typeof c===n(177)&&(a[n(146)][n(158)]="-webkit-box",a[n(146)][n(169)]=String(c),a[n(146)][n(147)]=n(134),a[n(146)][n(160)]=n(173)),o[n(149)](a),$[n(184)](o,e,t,()=>this.createEventTrackingCallback(),this[n(171)],n(168)),r[n(185)]="",r[n(149)](o),this[n(171)]&&console.log(n(179)+e[n(140)])}async renderMultipleAds(t,e){const n=xt,r=document[n(182)](t.containerId);if(!r)throw new Error(n(138)+t.containerId);const o=this[n(144)](),i={autoSlideInterval:(t[n(148)]?.slideInterval||5e3)/1e3,...t.config,optimizedHeight:t.optimizedHeight,aspectRatio:t.aspectRatio},s=Et[n(162)](t,e,i,o,this[n(171)]);s&&(r[n(185)]="",r[n(149)](s),this[n(171)]&&console.log("✨ Text transition created for slot: "+t.id+n(157)+e.length+n(178)))}}function Ct(){const t=["✨ Single text ad rendered: ","100%","277604UyTnGJ","getElementById","35pfAoLR","addClickEventForRenderer","innerHTML","vertical","width","8592IBFBPs","6PFyxev","Container not found: ","maxLines","_id","3058568ruRvKa","TEXT","39xtptYP","createEventTrackingCallback","className","style","webkitBoxOrient","config","appendChild","869ydrcxL","21500bcCKiO","60px","590056WVEKCX","div","containerId","adstage-ad adstage-text-ad"," with ","display","setTextAdContent","overflow","11260319mFJemq","createTextTransitionContainer","adstage-text-content","calculateAdSize","721036SILLqb","createElement","9MvFzho","Text","webkitLineClamp","getDefaultHeight","debug","parentElement","hidden","optimizedHeight","29861qwiZth","height","number"," ads"];return(Ct=function(){return t})()}const Tt=_t;function _t(t,e){const n=Rt();return(_t=function(t,e){return n[t-=362]})(t,e)}function Rt(){const t=["display","🎬 Video element created for ad: ","360px","263827zbgUkW","\n video::-webkit-media-controls-play-button {\n display: ","adstage-video-mute-button","style","debug","renderVideoElementDirect","createElement","100%","head","1088dQBPMT","4578363aZdtzV","🎬 Trying muted autoplay fallback...","addEventListener","containerId","play","customControls","muted","rgba(0, 0, 0, 0.9)","hideCurrentTime","2570132AUOlUe","cssText","⚠️ No video advertisements available for slot: ","VIEWABLE","🎬 Initial autoplay attempt after timeout..."," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","adstage-video-default-controls","click","unmuted","🎬 Video config received:","Video","_id","🎬 Video controls setting:"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","getDefaultHeight","transform","none","mouseleave","7rnqjqz","height","763978WasCtY","28206gpvQGD",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ',"renderMultipleAds","hideControls","catch","🎬 Video metadata loaded, attempting autoplay...","block","title","createEventTrackingCallback","src","Click to mute","autoplay","🎬 Autoplay completely failed:","innerHTML","disabled (default)","videoUrl","hideFullscreenButton","width","background","adstage-video-container"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","button","log","mouseenter","playsinline","appendChild","error","5phyduX","relative","className","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","hidePlayButton","8678742PudRUX","img","loop","Video load failed:"," (autoplay: ","video"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","Container not found: ","div","\n pointer-events: none;\n ","stopPropagation","scale(1)","Video fallback","controls","Video thumbnail","warn",", loop: ","addClickEventForRenderer","hideProgressBar","imageUrl","config","hideVolumeSlider",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',"objectFit","getElementById",", muted: ","848160yMpjiF","loadeddata","contain","hideMuteButton"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","VIDEO","loadedmetadata","textContent","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n "];return(Rt=function(){return t})()}!function(){const t=_t,e=Rt();for(;;)try{if(786115===parseInt(t(470))/1+-parseInt(t(399))/2+-parseInt(t(370))/3+-parseInt(t(379))/4*(-parseInt(t(427))/5)+-parseInt(t(432))/6*(-parseInt(t(397))/7)+-parseInt(t(369))/8*(-parseInt(t(400))/9)+-parseInt(t(458))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Dt extends ut{constructor(e=!1,n){super(t[_t(463)],e,n)}[Tt(393)](){return Tt(469)}async renderAdElement(t,e){const n=Tt,r=document[n(456)](t[n(373)]);if(!r)return;const o=document[n(366)](n(440));o.className="adstage-video-container",o[n(363)][n(380)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this[n(365)](o,e,t),r[n(413)]="",r[n(425)](o),this.debug&&console[n(422)]("🎬 Single video ad rendered: "+e[n(390)])}async[Tt(402)](t,e){const n=Tt,r=document.getElementById(t[n(373)]);if(!r)throw new Error(n(439)+t.containerId);if(e.length>0){const o=e[0],i=document[n(366)]("div");i[n(429)]=n(419),i[n(363)][n(380)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this[n(365)](i,o,t),r.innerHTML="",r[n(425)](i);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(o._id,t.id,s[e(382)])},100),this[n(364)]&&console[n(422)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+o._id+")")}else this.debug&&console[n(447)](n(381)+t.id)}[Tt(365)](t,e,n){const r=Tt;t[r(363)].position=r(428);const o=document.createElement(r(437));o[r(363)].width=r(367),o[r(363)][r(398)]=r(367),o.style[r(455)]=r(460),o.preload="metadata";const i=n[r(452)];if(this[r(364)]&&console[r(422)](r(388),i),o[r(445)]=!1,o.autoplay=!1!==i?.[r(411)],o[r(376)]=!0,o[r(434)]=!1!==i?.[r(434)],this[r(364)]&&console[r(422)]("🎬 Final video settings:",{autoplay:o[r(411)],muted:o[r(376)],loop:o[r(434)],controls:o[r(445)]}),!1!==i?.playsinline&&o.setAttribute(r(424),""),!0===i?.[r(445)]&&(o[r(445)]=!0,this[r(364)]&&console[r(422)]("🎬 User explicitly enabled controls, overriding default")),i?.[r(403)])o.controls=!1,o[r(363)][r(380)]+=r(441);else if(i?.customControls){if(o[r(445)]){const t=document[r(366)](r(363));t[r(465)]=r(471)+(i.customControls[r(431)]?r(395):r(406))+r(438)+(i[r(375)][r(450)]?"none":r(406))+r(384)+(i.customControls[r(378)]?r(395):r(406))+r(462)+(i[r(375)].hideRemainingTime?"none":r(406))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(i[r(375)][r(453)]?"none":"block")+r(420)+(i[r(375)][r(461)]?r(395):"block")+r(392)+(i[r(375)][r(416)]?r(395):r(406))+" !important;\n }\n ",document.head[r(425)](t)}}else if(o[r(445)]){const t=document[r(366)](r(363));t.id="adstage-video-default-controls",t[r(465)]=r(466),!document[r(456)](r(385))&&document[r(368)][r(425)](t)}this[r(364)]&&console[r(422)](r(391),o[r(445)]?"enabled":r(414));const s=document.createElement(r(421));s[r(429)]=r(362),s[r(363)][r(380)]=r(430),i?.[r(403)]&&(s.style[r(467)]=r(395));const a=()=>{const t=r,e=t(401),n=t(454);s[t(413)]=o[t(376)]?e:n,s[t(407)]=o[t(376)]?"Click to unmute":t(410)};if(a(),s[r(372)](r(386),t=>{const e=r;t[e(442)](),o[e(376)]=!o.muted,a(),this[e(364)]&&console[e(422)]("🔊 Video mute toggled: "+(o[e(376)]?"muted":e(387)))}),s.addEventListener(r(423),()=>{const t=r;s[t(363)][t(418)]=t(377),s[t(363)][t(394)]="scale(1.1)"}),s[r(372)](r(396),()=>{const t=r;s[t(363)].background="rgba(0, 0, 0, 0.7)",s[t(363)][t(394)]=t(443)}),e[r(415)]){o.src=e[r(415)];const t=()=>{const t=r;o[t(411)]&&o.muted&&o.paused&&o.play()[t(404)](e=>{const n=t;this[n(364)]&&(console[n(447)]("🎬 Auto-play was prevented:",e),console[n(447)](n(371))),o.muted=!0,o[n(374)]()[n(404)](t=>{const e=n;this[e(364)]&&console.error(e(412),t)})})};o.addEventListener(r(464),()=>{const e=r;this[e(364)]&&console.log(e(405)),t()}),o[r(372)]("canplay",()=>{const e=r;this[e(364)]&&console[e(422)]("🎬 Video can play, attempting autoplay..."),t()}),o[r(372)](r(459),()=>{const e=r;this[e(364)]&&console[e(422)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=r;this[e(364)]&&console.log(e(383)),t()},100)}else if(e[r(451)]){const n=document[r(366)](r(433));return n[r(409)]=e.imageUrl,n[r(363)][r(417)]="100%",n[r(363)][r(398)]=r(367),n.style[r(455)]=r(460),n.alt=e[r(407)]||"Video thumbnail",void t[r(425)](n)}$[r(449)](o,e,n,()=>this[r(408)](),this[r(364)],r(389)),o[r(372)](r(426),o=>{const i=r;if(console[i(426)](i(435),o),e[i(451)]){const r=document[i(366)]("img");r[i(409)]=e[i(451)],r[i(363)][i(417)]=i(367),r.style[i(398)]="100%",r.style.objectFit=i(460),r.alt=e[i(407)]||i(446),$[i(449)](r,e,n,()=>this[i(408)](),this[i(364)],i(444)),t[i(413)]="",t[i(425)](r)}}),t[r(425)](o),t.appendChild(s),this[r(364)]&&console[r(422)](r(468)+e._id+r(436)+o.autoplay+r(457)+o[r(376)]+r(448)+o[r(434)]+")")}}const Lt=Ot;function Ot(t,e){const n=Pt();return(Ot=function(t,e){return n[t-=290]})(t,e)}function Pt(){const t=["5855796uMHviY","cssText","renderAdElement","5563747eKQobP","23499696UFRpdg","containerId","Learn More","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","open","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","200px","renderMultipleAds","#3b82f6","linkUrl","advertisementEventTracker","NATIVE","innerHTML","addEventListener","1vQeKfE","warn","style","className","): ","createElement","mouseenter","23721PlicxI","8fowxRR","_id","mouseleave","log","button","#2563eb","getElementById","debug","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","10aaVZWx","length","1056730AFDEhT","🏠 Native ad rendered (first of ","568554HBpEyN","div","title","1250400hZbYdZ","adstage-ad adstage-native-ad","backgroundColor","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","imageUrl","272bRjjti","Native click tracked for ad: ","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","appendChild","Native Advertisement","alt","🏠 Single native ad rendered: ","src","img","textContent"];return(Pt=function(){return t})()}!function(){const t=Ot,e=Pt();for(;;)try{if(421797===-parseInt(t(294))/1*(parseInt(t(315))/2)+parseInt(t(301))/3*(parseInt(t(323))/4)+parseInt(t(311))/5*(-parseInt(t(318))/6)+-parseInt(t(337))/7+parseInt(t(302))/8*(-parseInt(t(334))/9)+-parseInt(t(313))/10+parseInt(t(338))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ut extends ut{constructor(e=!1,n){super(t[Ot(291)],e,n)}getDefaultHeight(){return Ot(344)}async[Lt(336)](t,e){const n=Lt,r=document[n(308)](t[n(339)]);if(!r)return;const o=document[n(299)]("div");if(o[n(297)]=n(319),o[n(296)][n(335)]=n(325),e[n(317)]){const t=document[n(299)]("h3");t[n(333)]=e[n(317)],t[n(296)].cssText=n(310),o[n(327)](t)}if(e.textContent){const t=document[n(299)]("p");t.textContent=e[n(333)],t[n(296)][n(335)]=n(343),o.appendChild(t)}if(e[n(322)]){const t=document[n(299)](n(316));t[n(296)][n(335)]=n(341);const r=document[n(299)](n(332));r[n(331)]=e[n(322)],r[n(329)]=e.title||n(328),r[n(296)].cssText=n(321),t.appendChild(r),o.appendChild(t)}if(e.linkUrl){const t=document[n(299)](n(306));t[n(333)]=n(340),t[n(296)][n(335)]=n(326),t[n(293)]("click",()=>{const t=n;this[t(290)]&&console[t(305)](t(324)+e[t(303)]),window[t(342)](e[t(347)],"_blank")}),t[n(293)](n(300),()=>{const e=n;t.style[e(320)]=e(307)}),t[n(293)](n(304),()=>{const e=n;t[e(296)][e(320)]=e(346)}),o[n(327)](t)}r[n(292)]="",r.appendChild(o),this[n(309)]&&console[n(305)](n(330)+e[n(303)])}async[Lt(345)](t,e){const n=Lt;e[n(312)]>0?(await this.renderAdElement(t,e[0]),this[n(309)]&&console[n(305)](n(314)+e[n(312)]+n(298)+t.id)):this.debug&&console[n(295)]("⚠️ No native advertisements available for slot: "+t.id)}}const zt=Mt;!function(){const t=Mt,e=Nt();for(;;)try{if(890915===-parseInt(t(423))/1+parseInt(t(424))/2+-parseInt(t(442))/3+-parseInt(t(417))/4+parseInt(t(452))/5+parseInt(t(436))/6*(-parseInt(t(396))/7)+parseInt(t(435))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends ut{constructor(e=!1,n){super(t[Mt(408)],e,n)}[zt(390)](){return"400px"}async[zt(411)](t,e){const n=zt;if(!document[n(447)](t[n(440)]))return;const r=document.createElement(n(428));r.className="adstage-interstitial-overlay",r[n(413)][n(443)]="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const o=document[n(420)](n(428));o[n(418)]=n(406),o[n(413)].cssText="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const i=document[n(420)](n(449));if(i[n(398)]="×",i[n(413)][n(443)]="\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ",i[n(437)](n(439),()=>{this.closeInterstitial(r)}),i.addEventListener(n(393),()=>{const t=n;i[t(413)].backgroundColor="#e5e7eb",i[t(413)][t(451)]=t(403)}),i[n(437)](n(438),()=>{const t=n;i[t(413)][t(441)]=t(388),i[t(413)].color="#6b7280"}),e[n(448)]){const t=document.createElement(n(407));t[n(433)]=e[n(448)],t[n(389)]=e[n(399)]||"Interstitial Advertisement",t[n(413)][n(443)]=n(395),o[n(400)](t)}if(e[n(399)]){const t=document[n(420)]("h2");t[n(391)]=e[n(399)],t[n(413)].cssText=n(431),o[n(400)](t)}if(e[n(391)]){const t=document[n(420)]("p");t[n(391)]=e[n(391)],t[n(413)][n(443)]="\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ",o[n(400)](t)}if(e[n(446)]){const t=document[n(420)]("button");t[n(391)]=n(450),t.style[n(443)]=n(430),t.addEventListener("click",()=>{const t=n;this[t(401)]&&console[t(445)]("Interstitial click tracked for ad: "+e[t(414)]),window[t(404)](e.linkUrl,t(409)),this[t(405)](r)}),t[n(437)]("mouseenter",()=>{const e=n;t[e(413)][e(441)]=e(410)}),t[n(437)](n(438),()=>{const e=n;t[e(413)].backgroundColor=e(422)}),o[n(400)](t)}const s=t=>{const e=n;"Escape"===t[e(402)]&&(this[e(405)](r),document[e(421)](e(426),s))};if(document[n(437)](n(426),s),r.addEventListener(n(439),t=>{const e=n;t.target===r&&this[e(405)](r)}),!document[n(447)]("adstage-interstitial-styles")){const t=document[n(420)](n(413));t.id=n(425),t[n(391)]=n(444),document[n(412)].appendChild(t)}o.appendChild(i),r[n(400)](o),document[n(427)].appendChild(r),this.debug&&console.log(n(434)+e[n(414)])}async renderMultipleAds(t,e){const n=zt;e[n(419)]>0?(await this[n(411)](t,e[0]),this[n(397)]&&console.log("🖼️ Interstitial ad rendered (first of "+e[n(419)]+n(415)+t.id)):this.debug&&console[n(432)](n(429)+t.id)}closeInterstitial(t){const e=zt;t.style.animation="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const e=Mt;t[e(416)]&&t.parentNode[e(394)](t)},300),this[e(397)]&&console[e(445)](e(392))}}function Mt(t,e){const n=Nt();return(Mt=function(t,e){return n[t-=388]})(t,e)}function Nt(){const t=["title","appendChild","advertisementEventTracker","key","#374151","open","closeInterstitial","adstage-interstitial-content","img","INTERSTITIAL","_blank","#2563eb","renderAdElement","head","style","_id","): ","parentNode","2293396TaBoJa","className","length","createElement","removeEventListener","#3b82f6","833395SExwGF","1716944AKPaha","adstage-interstitial-styles","keydown","body","div","⚠️ No interstitial advertisements available for slot: ","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","warn","src","🖼️ Interstitial ad rendered: ","34642920kvfgjZ","9491628QkntMo","addEventListener","mouseleave","click","containerId","backgroundColor","4672380FahLQK","cssText","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","log","linkUrl","getElementById","imageUrl","button","Get Started","color","1241100yKqabD","#f3f4f6","alt","getDefaultHeight","textContent","🖼️ Interstitial ad closed","mouseenter","removeChild","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","7JfEwCA","debug","innerHTML"];return(Nt=function(){return t})()}const Vt=jt;function Ft(){const t=["getDefaultHeightForAdType","debug","getRenderer","display","adstage-ad adstage-","textContent","objectFit","renderOptimizedBannerImage"," renderers","renderFallback","cover","block","data-adstage-ad-id","createPlaceholder","style","video","#f9f9f9","439425toDWil","renderers","set","advertisementEventTracker","TEXT","renderAd","warn","BANNER","adType","860315CLibht","loadImageDimensions","100%","get","[AdRenderer] ","renderMultipleAds","renderAdElement","No advertisement to render","⚠️ Container optimization is only supported for BANNER ads, got: ","onload"," Ad","4AGOkrw","1px dashed #ccc","div","className","1106uuxnCW","NATIVE","calculateAdSize","src","width","INTERSTITIAL","initializeRenderers","naturalHeight","getDefaultHeight","231397ZyKtsC","setAttribute","VIDEO","data-adstage-slot-id","2666312XGsmWr","height","3vQKABy","appendChild","advertisement","Failed to load image: ","onerror","3029090nJlNdq","renderAdSlider","imageUrl","log","calculateOptimalContainerSize","padding","createElement","videoUrl","createAdElement","config","11elIhlc","toLowerCase","777848OYqlXh","img","8px","🏭 AdRenderer factory initialized with ","isLoaded","optimizeContainerForBannerAds","naturalWidth","17538yjIFLq"];return(Ft=function(){return t})()}function jt(t,e){const n=Ft();return(jt=function(t,e){return n[t-=465]})(t,e)}!function(){const t=jt,e=Ft();for(;;)try{if(312105===parseInt(t(498))/1+-parseInt(t(521))/2*(-parseInt(t(504))/3)+-parseInt(t(485))/4*(-parseInt(t(474))/5)+parseInt(t(528))/6*(-parseInt(t(489))/7)+parseInt(t(502))/8+-parseInt(t(465))/9+-parseInt(t(509))/10*(parseInt(t(519))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Kt{constructor(t=!1,e){const n=jt;this[n(466)]=new Map,this[n(530)]=t,this[n(468)]=e||null,this[n(495)]()}initializeRenderers(){const e=jt;this[e(466)][e(467)](t[e(472)],new gt(this.debug,this[e(468)])),this.renderers[e(467)](t[e(469)],new At(this[e(530)],this.advertisementEventTracker)),this[e(466)][e(467)](t[e(500)],new Dt(this[e(530)],this[e(468)])),this[e(466)].set(t[e(490)],new Ut(this[e(530)],this.advertisementEventTracker)),this[e(466)][e(467)](t[e(494)],new Bt(this[e(530)],this[e(468)])),this.debug&&console[e(512)](e(524)+this[e(466)].size+e(537))}[Vt(517)](e,n){const r=Vt,o=this[r(531)](e[r(473)]),i=document.createElement("div");i[r(488)]=r(533)+String(e[r(473)])[r(520)](),i[r(499)](r(541),n._id),i[r(499)](r(501),e.id);const{width:s,height:a}=o.calculateAdSize(i,e[r(518)]||{},n);switch(i[r(543)][r(493)]=s,i[r(543)][r(503)]=a,i[r(543)][r(532)]=r(540),e.adType){case t[r(472)]:if(n[r(511)]){const t=document[r(515)](r(522));t[r(492)]=n[r(511)],t[r(543)][r(493)]=r(476),t[r(543)].height=r(476),t[r(543)][r(535)]=r(539),i[r(505)](t)}break;case t.VIDEO:if(n[r(516)]){const t=document[r(515)](r(544));t[r(492)]=n.videoUrl,t[r(543)].width="100%",t.style[r(503)]="100%",i[r(505)](t)}break;case t[r(469)]:if(n.textContent){const t=document[r(515)](r(487));t.textContent=n[r(534)]||"",t[r(543)][r(514)]=r(523),i[r(505)](t)}break;default:i[r(543)].border=r(486),i[r(543)].backgroundColor=r(545),i[r(534)]=e[r(473)]+r(484)}return i}[Vt(531)](t){const e=Vt,n=this[e(466)][e(477)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}[Vt(542)](t,e,n,r,o){const i=Vt;this[i(531)](n)[i(542)](t,e,r,o)}async[Vt(526)](e,n){const r=Vt;if(e[r(473)]!==t[r(472)])return void(this.debug&&console[r(471)](r(482)+e[r(473)]));const o=this.getRenderer(t.BANNER);await o[r(526)](e,n)}async[Vt(510)](t,e){const n=Vt,r=this[n(531)](t[n(473)]);await r[n(479)](t,e)}async[Vt(470)](t){const e=Vt;if(!t[e(506)])throw new Error(e(481));const n=this[e(531)](t.adType);await n[e(480)](t,t[e(506)]),t[e(525)]=!0}async[Vt(480)](t,e){const n=this[Vt(531)](t.adType);await n.renderAdElement(t,e)}renderFallback(t){const e=Vt;this[e(531)](t[e(473)])[e(538)](t)}[Vt(529)](t){const e=Vt;return this[e(531)](t)[e(497)]()}[Vt(491)](t,e,n,r){const o=Vt;return this[o(531)](e)[o(491)](t,n,r)}[Vt(475)](t){return new Promise((e,n)=>{const r=jt,o=new Image;o[r(483)]=()=>{const t=r;e({width:o[t(527)],height:o[t(496)]})},o[r(508)]=()=>{n(new Error(r(507)+t))},o.src=t})}async[Vt(536)](e,n,r){const o=Vt;if(r[o(473)]!==t.BANNER)throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const i=this[o(531)](t[o(472)]);return await i[o(536)](e,n,r)}async[Vt(513)](e,n,r){const o=Vt;if(r!==t.BANNER){const t=this[o(531)](r);return{width:o(476),height:t.getDefaultHeight(),aspectRatio:16/9}}const i=this.getRenderer(t[o(472)]);return await i.calculateOptimalContainerSize(e,n)}[Vt(512)](t,...e){const n=Vt;this[n(530)]&&console[n(512)](n(478)+t,...e)}}const Ht=Wt;function Wt(t,e){const n=qt();return(Wt=function(t,e){return n[t-=284]})(t,e)}function qt(){const t=["NATIVE","then","❌ Failed to load ad for slot: ","data-adstage-slot-id","🎯 Simple viewability tracking started for slot: ","[data-adstage-slot-id]","refreshAdSlot","createAdInternal","init","getConfig","Container not found after ","🎠 Slider will handle VIEWABLE events for ","광고 생성 중 오류 발생:","text","New advertisement viewable tracked for slot:","_config","handleViewableEvent","✅ Ad loaded for slot: ","get","🗑️ Ad slot destroyed: "," ads for type: ","getSlotById","createAdWithRetry","fetchAdData","autoplay","413102epuPYY","muted","VIDEO","substr","apiKey"," ads)","debug","56DOOXRj","Ad slot not found: ","forEach","set","🎯 Ads module initialized (sync mode) with auto-cleanup","undefined","destroy","refresh","auto-","🔍 Auto-cleanup MutationObserver enabled","innerHTML","json",". Retrying in ","default","🚫 Advertisement not found with ID: ","Auto-cleanup failed for slot ","style","🔍 Ad slot already cleaned up: ","advertisement","getAllSlots","548250ZNJBAS","nodeType","getBaseUrl","renderFallback","deviceType","now","Failed to refresh ad slot: ","9924SxhgKj","customControls","querySelectorAll","_isReady","setupAutoCleanup","adId","random","interstitial","adRenderer","error","warn","❌ Failed to track viewable impression:","BANNER","isReady","create","country","adType","playsinline","Failed to fetch ad data: ","renderAd","2KFYyZC","loop","height","delete"," (element found)","hideControls","startSimpleViewabilityTracking","Ads module not initialized. Call AdStage.init() first.","controls","length","9483386kHDrUq","advertisements","onClick","native","observe","from","append","video","slideInterval","308tNmrAz","autoSlide","autoDestroy","getElementById","_id","detail","createAd","status","optimizeContainerForBannerAds","renderAdElement","API key not configured","advertisementEventTracker","auto","language",", filters:","renderAdSlider","GET","config","handleRemovedElement","getAttribute","banner","containerId","INTERSTITIAL","width","slots","Container not found: ","viewabilityTracker","1314856SPHUZX","✅ Simple viewable impression tracked for ad ","📊 Advertisement event tracking enabled for slot: ","54XPMCAX","❌ Failed to find element for viewability tracking: ","disconnect","string","trackAdvertisementEvent","100%","values","isLoaded"," removed","VIEWABLE","list","18399PKjghN","adstage-","loadAdContentInBackground","mutationObserver","1395315GJraEU","log","TEXT","createPlaceholder","ensureReady","toString"];return(qt=function(){return t})()}!function(){const t=Wt,e=qt();for(;;)try{if(526410===parseInt(t(344))/1*(parseInt(t(290))/2)+-parseInt(t(404))/3*(-parseInt(t(297))/4)+parseInt(t(408))/5+parseInt(t(324))/6*(-parseInt(t(363))/7)+-parseInt(t(390))/8*(parseInt(t(393))/9)+-parseInt(t(317))/10+parseInt(t(354))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=Wt;this[t(327)]=!1,this[t(429)]=null,this[t(387)]=new Map,this[t(374)]=null,this[t(332)]=null,this.mutationObserver=null}[Ht(422)](t){const e=Ht;this[e(429)]=t,this[e(374)]=new P(W[e(319)](),t[e(294)],t[e(296)]||!1,this.slots),this[e(332)]=new Kt(t[e(296)]||!1,this[e(374)]),this[e(328)](),this[e(327)]=!0,t[e(296)]&&console[e(409)](e(301))}[Ht(337)](){return this[Ht(327)]}[Ht(423)](){return this[Ht(429)]}[Ht(383)](e,n){const r=Ht;this[r(412)]();const o={width:n?.[r(386)]||r(398),height:n?.[r(346)]||r(375),autoSlide:n?.[r(364)]||!1,slideInterval:n?.[r(362)]||5e3,onClick:n?.[r(356)],adId:n?.adId,language:n?.[r(376)],deviceType:n?.[r(321)],country:n?.country};return this[r(369)](e,t[r(336)],o)}[Ht(427)](e,n){const r=Ht;this[r(412)]();const o={maxLines:n?.maxLines||3,style:n?.[r(313)]||r(310),onClick:n?.[r(356)],adId:n?.[r(329)],language:n?.[r(376)],deviceType:n?.[r(321)],country:n?.country};return this[r(369)](e,t[r(410)],o)}[Ht(361)](e,n){const r=Ht;this[r(412)]();const o={width:n?.[r(386)]||640,height:n?.[r(346)]||360,autoplay:void 0===n?.[r(289)]||n.autoplay,muted:void 0===n?.[r(291)]||n.muted,loop:void 0===n?.loop||n[r(345)],playsinline:!1!==n?.[r(341)],controls:void 0!==n?.[r(352)]&&n[r(352)],hideControls:n?.[r(349)]||!1,customControls:n?.[r(325)],autoSlide:!1,maxAds:1,onClick:n?.[r(356)],...n?.adId&&{adId:n.adId}};return this[r(369)](e,t[r(292)],o)}[Ht(357)](e,n){const r=Ht;return this[r(412)](),this[r(369)](e,t[r(414)],n||{})}[Ht(331)](e,n){const r=Ht;return this.ensureReady(),this[r(369)](e,t[r(385)],n||{})}[Ht(304)](t){const e=Ht;this.ensureReady();const n=this[e(387)][e(432)](t);if(!n)throw new Error(e(298)+t);this[e(420)](n),this[e(429)]?.[e(296)]&&console[e(409)]("🔄 Ad slot refreshed: "+t)}[Ht(303)](t){const e=Ht;this.ensureReady();const n=this.slots[e(432)](t);if(!n)return void(this[e(429)]?.[e(296)]&&console.log(e(314)+t));n[e(389)]&&n[e(389)][e(303)]();const r=document[e(366)](n[e(384)]);r&&(r[e(307)]=""),this[e(387)][e(347)](t),this[e(429)]?.[e(296)]&&console[e(409)](e(284)+t)}[Ht(316)](){const t=Ht;return this.ensureReady(),Array[t(359)](this[t(387)][t(399)]())}[Ht(286)](t){const e=Ht;return this[e(412)](),this.slots[e(432)](t)||null}[Ht(369)](t,e,n){const r=Ht;if(!this[r(429)]?.apiKey)throw new Error(r(373));const o=r(405)+e+"-"+Date[r(322)]()+"-"+Math[r(330)]()[r(413)](36)[r(293)](2,9);return this[r(287)](t,e,n,o,0),o}async[Ht(287)](t,e,n,r,o){const i=Ht,s=[0,50,100,200,500];let a,c=null;if(typeof t===i(396)){if(a=t,c=document[i(366)](t),!c)return o<4?(this._config?.[i(296)]&&console[i(334)](i(388)+t+i(309)+s[o+1]+"ms... (attempt "+(o+1)+"/5)"),void setTimeout(()=>{this[i(287)](t,e,n,r,o+1)},s[o+1])):void console.error(i(424)+5+" attempts: "+t)}else c=t,a=c.id||i(305)+r,!c.id&&(c.id=a);try{this[i(421)](a,e,n,r,c)}catch(t){console.error(i(426),t)}}[Ht(421)](e,n,r,o,i){const s=Ht;i.setAttribute(s(417),o),this.adRenderer?.[s(411)](i,o,n,r,this[s(429)]);const a={id:o,containerId:e,adType:n,width:r[s(386)]||s(398),height:r[s(346)]||(n===t[s(410)]?s(375):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[s(288)](n,r)[s(415)](t=>t[0]||null),render:t=>this[s(332)]?.[s(372)](a,t),refresh:async()=>this[s(420)](a),destroy:()=>this[s(303)](o)};this[s(387)][s(300)](o,a),this.loadAdContentInBackground(a),this[s(374)]&&this[s(429)]?.[s(296)]&&console.log(s(392)+o)}async[Ht(406)](e){const n=Ht;try{const r=await this[n(288)](e[n(340)],e[n(380)]);if(!r||0===r[n(353)])return void this.adRenderer?.[n(320)](e);e[n(340)]===t[n(336)]&&r[n(353)]>0&&await(this[n(332)]?.[n(371)](e,r)),r.length>1||e[n(380)]?.[n(364)]?(await(this.adRenderer?.[n(378)](e,r)),this[n(429)]?.[n(296)]&&console[n(409)](n(425)+r.length+" ads automatically")):(e[n(315)]=r[0],await(this[n(332)]?.renderAdElement(e,r[0])),this[n(350)](e,r[0])),e[n(400)]=!0,this[n(429)]?.[n(296)]&&console[n(409)](n(431)+e.id+" ("+r.length+n(295))}catch(t){console[n(333)](n(416)+e.id,t),this[n(332)]?.renderFallback(e)}}[Ht(350)](t,e){const n=(r=0)=>{const o=Wt,i=document[o(366)](t.id);if(!i)return void(r<5?(setTimeout(()=>n(r+1),300),this._config?.[o(296)]&&console.log("🔄 Retrying viewability tracking for slot: "+t.id+" (attempt "+(r+1)+")")):console[o(334)](o(394)+t.id));const s=new M(i,async()=>{await this.handleViewableEvent(e,t)});t.viewabilityTracker=s,this._config?.[o(296)]&&console.log(o(418)+t.id+o(348))};n()}async[Ht(430)](t,e){const n=Ht;try{this[n(374)]&&(await this[n(374)][n(397)](t[n(367)],e.id,s[n(402)]),this[n(429)]?.debug&&console[n(409)](n(391)+t[n(367)]))}catch(t){console.error(n(335),t)}}async fetchAdData(t,e){const n=Ht;if(!this[n(429)]?.[n(294)])throw new Error(n(373));if(e[n(329)]){const t=""+W[n(355)][n(368)](e.adId),r=await fetch(t,{method:n(379),headers:R[n(338)](this[n(429)][n(294)])});if(!r.ok){if(404===r[n(370)])return console[n(334)](n(311)+e.adId),[];throw new Error(n(342)+r[n(370)])}const o=await r[n(308)]();return this[n(429)]?.debug&&console[n(409)]("📊 Fetched specific ad with ID: "+e.adId,o),[o]}const r=new URLSearchParams;r[n(360)]("adType",t),e[n(376)]&&r.append(n(376),e.language),e[n(321)]&&r[n(360)](n(321),e[n(321)]),e[n(339)]&&r[n(360)](n(339),e.country);const o=W[n(355)][n(403)]()+"?"+r[n(413)](),i=await fetch(o,{method:n(379),headers:R[n(338)](this._config[n(294)])});if(!i.ok)throw new Error("Failed to fetch ad data: "+i[n(370)]);const s=(await i[n(308)]())[n(355)]||[];return this._config?.[n(296)]&&console[n(409)]("📊 Fetched "+s.length+n(285)+t+n(377),{language:e.language,deviceType:e[n(321)],country:e.country}),s}async refreshAdSlot(t){const e=Ht;try{const n=await this[e(288)](t[e(340)],t[e(380)]||{});n&&n[e(353)]>0&&(t[e(315)]=n[0],await(this.adRenderer?.[e(343)](t)),this[e(374)]&&console[e(409)](e(428),t.id))}catch(n){console[e(333)](e(323)+t.id,n)}}[Ht(412)](){const t=Ht;if(!this[t(327)])throw new Error(t(351))}[Ht(328)](){const t=Ht;typeof window!==t(302)&&typeof document!==t(302)&&(this.mutationObserver&&this.mutationObserver.disconnect(),this[t(407)]=new MutationObserver(e=>{const n=t;e[n(299)](t=>{const e=n;t.removedNodes[e(299)](t=>{t[e(318)]===Node.ELEMENT_NODE&&this.handleRemovedElement(t)})})}),this[t(407)][t(358)](document.body,{childList:!0,subtree:!0}),this._config?.[t(296)]&&console[t(409)](t(306)))}[Ht(381)](t){const e=Ht,n=t.getAttribute("data-adstage-slot-id");if(n)return void this[e(365)](n);t[e(326)](e(419))[e(299)](t=>{const n=e,r=t[n(382)](n(417));r&&this.autoDestroy(r)})}[Ht(365)](t){const e=Ht,n=this.slots[e(432)](t);if(n)try{n[e(389)]&&n[e(389)][e(303)](),this[e(387)][e(347)](t),this._config?.[e(296)]&&console.log("🧹 Auto-cleanup: slot "+t+e(401))}catch(n){this[e(429)]?.[e(296)]&&console.warn(e(312)+t+":",n)}}destroyModule(){const t=Ht,e=this._config?.[t(296)];this[t(407)]&&(this[t(407)][t(395)](),this.mutationObserver=null),this[t(387)].clear(),this.advertisementEventTracker=null,this[t(332)]=null,this[t(327)]=!1,this[t(429)]=null,e&&console.log("🗑️ Ads module destroyed")}}var Jt=Xt;function Xt(t,e){var n=Gt();return(Xt=function(t,e){return n[t-=303]})(t,e)}function Gt(){var t=["1cXwZMT","976213zVWMht","getApiEndpoint","log","modules","init","1109946USjYgw","268965bDcKZs","debug","741444knEBZV","_isReady","getBaseUrl","isDebugMode","getApiHeaders","includes","✅ Config module initialized (sync mode)","151024humOQI","baseUrl","_organizationInfo","config","apiKey","449835TtGelQ","updateConfig","🔄 Config updated","254148ODEmSO","getConfig","_config","Config module not initialized","development","getOrganizationInfo","create","isModuleEnabled","events","isReady","API key not available"];return(Gt=function(){return t})()}!function(){for(var t=Xt,e=Gt();;)try{if(102275===parseInt(t(327))/1*(parseInt(t(316))/2)+parseInt(t(313))/3+-parseInt(t(336))/4+-parseInt(t(334))/5+parseInt(t(333))/6+-parseInt(t(328))/7+parseInt(t(308))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){var t=Xt;this[t(337)]=!1,this[t(318)]=null,this._organizationInfo=null}[Jt(332)](t){var e=Jt;this[e(318)]={timeout:3e4,debug:!1,modules:["ads",e(324),e(311)],...t},t[e(309)]&&W.setBaseUrl(t.baseUrl),this._isReady=!0,t.debug&&console[e(330)](e(307),{modules:this[e(318)][e(331)],endpoint:W[e(303)](),mode:e(320)})}[Jt(325)](){return this[Jt(337)]}[Jt(317)](){return this[Jt(318)]}[Jt(321)](){return this[Jt(310)]}[Jt(329)](){return W[Jt(303)]()}[Jt(304)](){var t=Jt;return this[t(318)]?.[t(335)]||!1}getEnabledModules(){var t=Jt;return this[t(318)]?.[t(331)]||[]}[Jt(323)](t){var e=Jt;return this.getEnabledModules()[e(306)](t)}[Jt(314)](t){var e=Jt;if(!this[e(318)])throw new Error(e(319));this._config={...this[e(318)],...t},this.isDebugMode()&&console[e(330)](e(315),t)}[Jt(305)](){var t=Jt;if(!this[t(318)]?.[t(312)])throw new Error(t(326));return R[t(322)](this._config[t(312)])}}const Qt=te;!function(){const t=te,e=ee();for(;;)try{if(446626===parseInt(t(534))/1+-parseInt(t(532))/2+parseInt(t(528))/3+parseInt(t(537))/4*(parseInt(t(521))/5)+parseInt(t(506))/6+-parseInt(t(529))/7*(parseInt(t(500))/8)+parseInt(t(524))/9*(-parseInt(t(520))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{static[Qt(507)](){return{...$t.getAutoDetectedDeviceInfo(),...$t._userProvidedDeviceInfo}}static[Qt(517)](){const t=Qt;if(!y[t(509)]())return{category:t(519),platform:t(504),model:t(504),osVersion:"SSR"};const e=navigator[t(511)][t(525)]();let n=t(526);/tablet|ipad/.test(e)?n="tablet":A[t(502)]()&&(n=t(538));const r=A[t(513)]();return{category:n,platform:$t[t(536)](r),model:navigator[t(514)],osVersion:navigator[t(514)],deviceId:A[t(531)]()}}static[Qt(516)](t){const e=Qt;$t[e(515)]={...$t[e(515)],...t}}static[Qt(505)](t,e){$t[Qt(515)][t]=e}static[Qt(499)](){$t._userProvidedDeviceInfo={}}static getUserDeviceInfo(){return{...$t[Qt(515)]}}static mapPlatformForEvents(t){const e=Qt;switch(t){case e(501):return e(539);case e(523):return"Android";case"web":return e(527);case e(526):return e(508);default:return e(510)}}static getDetailedInfo(){const t=Qt;if(!y[t(509)]())return{userAgent:t(504),language:t(522),platform:t(504),cookieEnabled:!1,onLine:!0,screenResolution:t(533),viewportSize:t(533)};const e=y.getViewportInfo();return{userAgent:navigator[t(511)],language:navigator[t(530)]||t(522),platform:navigator[t(514)],cookieEnabled:navigator[t(512)],onLine:navigator[t(535)],screenResolution:screen[t(518)]+"x"+screen[t(503)],viewportSize:e[t(518)]+"x"+e[t(503)]}}}function te(t,e){const n=ee();return(te=function(t,e){return n[t-=499]})(t,e)}function ee(){const t=["other","10oBwqYI","250385Xtgnsc","ko-KR","android","3816693VwSsmT","toLowerCase","desktop","Mobile Web","1778424bjXcWI","89467EEfkTe","language","generateDeviceId","1294562fiXpNh","0x0","667566AOLmXN","onLine","mapPlatformForEvents","44VihAtb","mobile","iOS","clearDeviceInfo","376IfcdSC","ios","isMobile","height","SSR","setDeviceProperty","1844820qZwHXw","getDeviceInfo","Desktop Web","isBrowser","Unknown","userAgent","cookieEnabled","getPlatform","platform","_userProvidedDeviceInfo","setDeviceInfo","getAutoDetectedDeviceInfo","width"];return(ee=function(){return t})()}function ne(t,e){const n=ie();return(ne=function(t,e){return n[t-=298]})(t,e)}$t[Qt(515)]={};const re=ne;!function(){const t=ne,e=ie();for(;;)try{if(992829===-parseInt(t(304))/1+-parseInt(t(313))/2*(parseInt(t(300))/3)+parseInt(t(306))/4+parseInt(t(316))/5*(parseInt(t(312))/6)+-parseInt(t(311))/7*(-parseInt(t(315))/8)+-parseInt(t(320))/9+parseInt(t(305))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static getUserInfo(){const t=ne;return{...oe[t(310)](),...oe[t(309)]}}static[re(310)](){const t=re;if(!y.isBrowser())return{language:t(303),country:"KR"};const e=navigator[t(307)]||"ko-KR";return{language:e,country:oe[t(302)](e)}}static extractCountryFromLanguage(t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t.split("-")[0]]||"KR"}static setUserProperties(t){const e=re;oe._userProperties={...oe[e(309)],...t}}static[re(299)](t,e){oe._userProperties[t]=e}static[re(319)](){oe._userProperties={}}static[re(317)](){return{...oe[re(309)]}}static[re(318)](){const t=re;if(!y[t(314)]())return{timezone:t(321),estimatedCountry:"KR"};const e=Intl[t(308)]()[t(301)]()[t(298)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function ie(){const t=["setUserProperty","2328YqjvFC","resolvedOptions","extractCountryFromLanguage","ko-KR","1387376AXnSsO","8477520dmFJvE","4007216VKYeUs","language","DateTimeFormat","_userProperties","getBaseUserInfo","151711wejyjI","37998QqdUWA","592wVpCkC","isBrowser","464cknsms","1005pIalqx","getCurrentUserProperties","estimateLocation","clearUserProperties","15926598JzEvoc","UTC","timeZone"];return(ie=function(){return t})()}function se(t,e){const n=ae();return(se=function(t,e){return n[t-=277]})(t,e)}function ae(){const t=["search","41153520sFkQZl","stringify","15234spTJBK","utm_term","naver.searchad","UTM_KEYS","msclkid","adGroupId","creative_id","get","nclid","fbclid","isClickEventSent","ad_creative","term","612534GttrHP","183332QtZiGV","CAMPAIGN_KEYS","hasParams","ttclid","campaign_id","CLICK_ID_KEYS","9189104cCGOAv","getItem","15689511rDNtRh","shouldSendClickEvent","ad_group","ad_group_id","campaignId","removeItem","14lqlVBr","meta.ads","adstage_referrer","68329lDBEaT","gclid","adstage_click_event_sent","some","Failed to store tracking params:","markClickEventSent","microsoft.ads","location","utm_content","adGroup","warn","store","170PpIity","linkedin.ads","utm_medium","channel","length","utm_campaign","undefined","campaign","setItem","adstage_last_click_id","381dCysBp","twitter.ads","toAttributionObject","captureFromUrl","STORAGE_KEY","utm_source","ALL_KEYS","twclid","adstage","true","liclid"];return(ae=function(){return t})()}oe[re(309)]={};const ce=se;!function(){const t=se,e=ae();for(;;)try{if(904979===parseInt(t(311))/1+parseInt(t(280))/2*(parseInt(t(333))/3)+-parseInt(t(294))/4*(parseInt(t(323))/5)+-parseInt(t(293))/6*(-parseInt(t(308))/7)+-parseInt(t(300))/8+-parseInt(t(302))/9+parseInt(t(278))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{static[ce(336)](){const t=ce;if(typeof window===t(329))return null;const e=new URLSearchParams(window[t(318)][t(277)]),n={};let r=!1;const o=e[t(287)](t(310));if(o)try{const e=decodeURIComponent(o),i=new URLSearchParams(e);for(const e of le[t(339)]){const t=i.get(e);t&&(n[e]=t,r=!0)}i[t(287)](t(341))===t(342)&&(r=!0)}catch(e){console[t(321)]("Failed to parse adstage_referrer:",e)}for(const o of le[t(339)]){if(n[o])continue;const i=e[t(287)](o);i&&(n[o]=i,r=!0)}return r?(n[t(326)]||(n[t(312)]?n[t(326)]="google.ads":n[t(289)]?n[t(326)]=t(309):n.ttclid?n.channel="tiktok.ads":n[t(288)]?n[t(326)]=t(282):n[t(343)]?n[t(326)]=t(324):n[t(284)]?n[t(326)]=t(317):n[t(340)]&&(n.channel=t(334))),le[t(322)](n),n):null}static[ce(322)](t){const e=ce;if(typeof window!==e(329))try{const n={...le.get(),...t},r=JSON[e(279)](n);try{sessionStorage[e(331)](le[e(337)],r)}catch(t){}try{localStorage[e(331)](le[e(337)],r)}catch(t){}}catch(t){console[e(321)](e(315),t)}}static[ce(287)](){const t=ce;if(typeof window===t(329))return null;try{const e=sessionStorage?.[t(301)](le.STORAGE_KEY);if(e)return JSON.parse(e)}catch(t){}try{const e=localStorage?.[t(301)](le[t(337)]);if(e)return JSON.parse(e)}catch(t){}return null}static clear(){const t=ce;if(typeof window!==t(329)){try{sessionStorage?.[t(307)](le[t(337)])}catch(t){}try{localStorage?.removeItem(le.STORAGE_KEY)}catch(t){}}}static[ce(296)](){const t=ce,e=le.get();return null!==e&&Object.keys(e)[t(327)]>0}static hasClickId(){const t=ce,e=le[t(287)]();return!!e&&le[t(299)][t(314)](t=>e[t])}static[ce(303)](){const t=ce;if("undefined"==typeof window)return!1;const e=le[t(287)]();if(!e)return!1;const n=le.hasClickId(),r=!!e[t(326)];if(!n&&!r)return!1;const o=n?e[t(312)]||e.fbclid||e[t(297)]||e[t(288)]||e[t(343)]||e[t(284)]||e[t(340)]:(e.channel||"")+":"+(e[t(292)]||"");if(!o)return!1;return o!==sessionStorage[t(301)](t(332))&&(sessionStorage.setItem(t(332),o),!0)}static[ce(316)](){const t=ce;"undefined"!=typeof window&&sessionStorage[t(331)](t(313),"true")}static[ce(290)](){const t=ce;return typeof window!==t(329)&&sessionStorage[t(301)]("adstage_click_event_sent")===t(342)}static[ce(335)](){const t=ce,e=le.get();if(!e)return null;const n={};return e[t(312)]&&(n[t(312)]=e[t(312)]),e[t(289)]&&(n[t(289)]=e[t(289)]),e[t(297)]&&(n[t(297)]=e.ttclid),e[t(288)]&&(n[t(288)]=e[t(288)]),e.channel&&(n.channel=e[t(326)]),e[t(330)]&&(n[t(330)]=e[t(330)]),e[t(298)]&&(n[t(306)]=e[t(298)]),e[t(304)]&&(n[t(320)]=e[t(304)]),e[t(305)]&&(n[t(285)]=e[t(305)]),e[t(291)]&&(n.adCreative=e.ad_creative),e[t(286)]&&(n.creativeId=e[t(286)]),e[t(292)]&&(n[t(292)]=e[t(292)]),e[t(338)]&&(n[t(338)]=e[t(338)]),e[t(325)]&&(n[t(325)]=e[t(325)]),e[t(328)]&&(n[t(328)]=e[t(328)]),e[t(319)]&&(n[t(319)]=e[t(319)]),e[t(281)]&&(n[t(281)]=e[t(281)]),Object.keys(n)[t(327)]>0?n:null}}le[ce(337)]="adstage_tracking_params",le[ce(299)]=["gclid",ce(289),"ttclid",ce(288),"liclid","msclkid",ce(340)],le[ce(295)]=[ce(326),ce(330),ce(298),"ad_group",ce(305),ce(291),ce(286),ce(292)],le[ce(283)]=["utm_source",ce(325),ce(328),"utm_content",ce(281)],le[ce(339)]=[...le[ce(299)],...le[ce(295)],...le[ce(283)]];const de=ue;function ue(t,e){const n=pe();return(ue=function(t,e){return n[t-=276]})(t,e)}function pe(){const t=["getAttributionId","getConfig","setUserProperties","✅ Attribution registered:","❌ Failed to register attribution:","undefined","setDeviceProperty","1539658bGYuik","length","log","getUserDeviceInfo","getCurrentUserProperties","Attribution registration failed: ","statusText","❌ API Error Response:","🔑 Attribution request headers:","88823OgOTgl","get","_isReady","create","track","3967452XwIdMe","📦 Request body:","warn","33938154JAaLDl","adstage_attribution_id","registerAttribution","📊 Events module initialized","📱 User provided device info cleared","POST","sendEventToServer","8460vOXQMb","json","stringify","init","attributionId","API key not configured for event tracking.","❌ Failed to track event:","3355224WAHEAP","sendAttributionToServer","setItem","events","📡 Attribution request URL:","debug","_config","808NYHgma","🔑 Request headers:","error","getDeviceInfo","keys","setDeviceInfo","📱 Device info set:","Event tracking failed: ","getUserInfo","Event data:","📡 Request URL:","2645sVZRxe","API key not configured for attribution registration.","application/json","591735BWFIAR","text","getItem","clearDeviceInfo","trackWithAttributionId","📱 Device property set:","📊 Attribution included:","⏭️ No tracking parameters found, skipping attribution registration","Events module not initialized. Call AdStage.init() first.","getUserProperties","✅ Event tracked with attribution ID:","status","apiKey"];return(pe=function(){return t})()}!function(){const t=ue,e=pe();for(;;)try{if(754362===parseInt(t(294))/1+parseInt(t(314))/2+parseInt(t(328))/3+-parseInt(t(338))/4*(-parseInt(t(291))/5)+-parseInt(t(345))/6+-parseInt(t(323))/7*(-parseInt(t(280))/8)+-parseInt(t(331))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class he{constructor(){const t=ue;this[t(325)]=!1,this[t(279)]=null}[de(341)](t){const e=de;this._config=t,this[e(325)]=!0,t[e(278)]&&console[e(316)](e(334))}isReady(){return this[de(325)]}[de(308)](){return this[de(279)]}[de(309)](t){const e=de;oe[e(309)](t),this[e(279)]?.[e(278)]&&console[e(316)]("👤 User properties set:",t)}[de(303)](){return oe[de(318)]()}[de(285)](t){const e=de;$t.setDeviceInfo(t),this[e(279)]?.[e(278)]&&console[e(316)](e(286),t)}setDeviceProperty(t,e){const n=de;$t[n(313)](t,e),this._config?.[n(278)]&&console[n(316)](n(299),t,e)}[de(297)](){const t=de;$t[t(297)](),this._config?.[t(278)]&&console[t(316)](t(335))}getUserDeviceInfo(){return $t[de(317)]()}[de(283)](){return $t[de(283)]()}[de(288)](){return oe[de(288)]()}[de(318)](){return oe.getCurrentUserProperties()}async[de(327)](t,e){const n=de;if(this[n(325)])if(this[n(279)]?.[n(306)])try{const r=this[n(307)]();if(r){const o={eventName:t,sdkVersion:k(),device:$t[n(283)](),user:oe[n(288)](),attributionId:r,params:e||{}};return await this[n(337)](o),void(this[n(279)][n(278)]&&console[n(316)](n(304),t,r))}const o=le.toAttributionObject(),i={eventName:t,sdkVersion:k(),device:$t[n(283)](),user:oe[n(288)](),...o&&{attribution:o},params:e||{}};await this.sendEventToServer(i),this[n(279)][n(278)]&&(console[n(316)]("✅ Event tracked:",t,e),o&&console.log(n(300),o))}catch(r){console[n(282)](n(344),r),this[n(279)][n(278)]&&console[n(282)](n(289),{eventName:t,properties:e})}else console[n(330)](n(343));else console[n(330)](n(302))}async registerAttribution(t){const e=de;if(!this._isReady)return console[e(330)]("Events module not initialized. Call AdStage.init() first."),null;if(!this[e(279)]?.apiKey)return console[e(330)](e(292)),null;try{const n=le[e(324)]();if(!n||0===Object[e(284)](n)[e(315)])return this[e(279)][e(278)]&&console[e(316)](e(301)),null;const r=await this[e(346)]({deviceId:t,referrerParams:n});if(this[e(279)][e(278)]&&console.log(e(310),r),r[e(342)]){try{localStorage.setItem(e(332),r[e(342)])}catch(t){}try{sessionStorage[e(347)]("adstage_attribution_id",r[e(342)])}catch(t){}}return r}catch(t){return console[e(282)](e(311),t),null}}[de(307)](){const t=de;if(typeof window===t(312))return null;try{const e=sessionStorage[t(296)](t(332));if(e)return e}catch(t){}try{return localStorage.getItem(t(332))}catch(t){}return null}async[de(298)](t,e){return this[de(327)](t,e)}async[de(337)](t){const e=de,n={...R[e(326)](this[e(279)][e(306)]),"Content-Type":"application/json"};this[e(279)]?.debug&&(console[e(316)](e(281),n),console[e(316)](e(290),W.events[e(327)]()),console[e(316)](e(329),t));const r=await fetch(W[e(276)].track(),{method:"POST",headers:n,body:JSON[e(340)](t)});if(!r.ok){const t=await r[e(295)]();throw console.error(e(321),t),new Error(e(287)+r[e(305)]+" "+r[e(320)])}}async[de(346)](t){const e=de,n={...R[e(326)](this[e(279)].apiKey),"Content-Type":e(293)};this[e(279)]?.[e(278)]&&(console[e(316)](e(322),n),console[e(316)](e(277),W[e(276)][e(333)]()),console.log("📦 Attribution request body:",t));const r=await fetch(W[e(276)][e(333)](),{method:e(336),headers:n,body:JSON.stringify(t)});if(!r.ok){const t=await r[e(295)]();throw console.error("❌ API Error Response:",t),new Error(e(319)+r[e(305)]+" "+r.statusText)}return r[e(339)]()}}const fe=me;function ge(){const t=["❌ Error in click event auto-tracking:","debug","from","adstage_device_id","channel","init","❌ Failed to auto-track click event:","now","✅ Auto-tracked click event with tracking params:","7881KOpIUV","track","height","clear","5013160cgfMkH","reset","302fQifwV","3JXUowE","attributionId","expiresAt","hardwareConcurrency","getTimezoneOffset","warn","AdStage not initialized. Call AdStage.init() first.","undefined","toISOString","🔍 Should send click event:","viewableTracker","get","_config","8AcqUwI","2.0.0","9295092KCotIh","🌐 API endpoint configured:","toString","baseUrl","toAttributionObject","isReady","getInstance","tracking_params","server-","userAgent","ads","instance","AdStage.events accessed before initialization","location","13112759WFYCDB","campaign","setBaseUrl","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","generateDeviceId","18512ADnMUk","📊 AdStage Debug: 현재 viewable 추적 상태","charCodeAt","757955dbQvSK","random","clearAdViewable","modules","attribution_id","AdStage.config accessed before initialization","🔗 Using attributionId from URL (attribution_id):","6KDQsaa","✅ Attribution registered:","error","registerAttribution","357273cNXoBG","events","function","substring","📊 Tracking parameters captured:","🚀 AdStage SDK initialized (sync mode)","...","click","then","getConfig","getItem","_isInitialized","setItem","🎯 Sending click event after attribution registration","AdStage.ads accessed before initialization","catch","apiKey","web-","shouldSendClickEvent",")의 viewable 추적 초기화됨","log","config"];return(ge=function(){return t})()}function me(t,e){const n=ge();return(me=function(t,e){return n[t-=299]})(t,e)}!function(){const t=me,e=ge();for(;;)try{if(625358===parseInt(t(326))/1*(parseInt(t(332))/2)+-parseInt(t(333))/3*(parseInt(t(367))/4)+parseInt(t(370))/5*(parseInt(t(377))/6)+-parseInt(t(381))/7+parseInt(t(346))/8*(parseInt(t(348))/9)+-parseInt(t(330))/10+-parseInt(t(362))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ye{constructor(){const t=me;this[t(306)]=!1,this[t(345)]=null,this[t(316)]=new Zt,this[t(358)]=new Yt,this.events=new he}static[fe(322)](t){const e=fe;!ye[e(359)]&&(ye[e(359)]=new ye);const n=ye[e(359)];if(!t[e(311)])throw new Error("API key is required for AdStage initialization");n[e(345)]={timeout:3e4,debug:!1,modules:["ads",e(382),e(316)],...t},n._config[e(351)]&&(W[e(364)](n[e(345)][e(351)]),t[e(318)]&&console[e(315)](e(349),n[e(345)].baseUrl));const r=n[e(345)][e(373)]||[e(358),e(382),e(316)];for(const t of r){const r=n[t];r&&typeof r.init===e(383)&&r[e(322)](n[e(345)])}if(n[e(306)]=!0,typeof window!==e(340)){const r=le.captureFromUrl();r&&t[e(318)]&&console[e(315)](e(299),r);const o=(()=>{const t=e;try{const e=new URLSearchParams(window[t(361)].search),n=new URLSearchParams((window.location.hash||"").replace(/^#/,""));return e[t(344)]("attribution_id")||n[t(344)](t(374))}catch{return null}})();if(o)try{localStorage[e(307)]("adstage_attribution_id",o),t[e(318)]&&console.log(e(376),o)}catch(t){}const i=le[e(313)]();t[e(318)]&&(console[e(315)](e(342),i),!i&&console[e(315)]("⏭️ Skipping click event (duplicate or no click ID)"));const s=le.hasClickId(),a=!(!r||!r[e(321)]);if(!o&&r&&(s||a)){const r=(async()=>{const r=e;try{const e=n[r(366)](),o=await n[r(382)][r(380)](e);return o&&t[r(318)]&&console[r(315)](r(378),{attributionId:o.attributionId,channel:o[r(321)],campaign:o[r(363)],expiresAt:o[r(335)]}),o}catch(t){return console[r(379)]("❌ Failed to register attribution:",t),null}})();i&&r[e(303)](r=>{const o=e;try{const e=le[o(344)](),i=le.toAttributionObject();t.debug&&console[o(315)](o(308),{attributionId:r?.[o(334)],hasAttribution:!!r}),n[o(382)][o(327)](o(302),{_autoGenerated:!0,_source:o(355),_timestamp:(new Date)[o(341)](),_platform:"web"})[o(303)](()=>{const n=o;le.markClickEventSent(),t[n(318)]&&console[n(315)]("✅ Auto-tracked click event with tracking params:",{attribution:i,trackingParams:e})}).catch(t=>{const e=o;console[e(379)](e(323),t)})}catch(t){console[o(379)](o(317),t)}})}else i&&setTimeout(()=>{const r=e;try{const e=le[r(344)](),o=le[r(352)]();n[r(382)][r(327)](r(302),{_autoGenerated:!0,_source:r(355),_timestamp:(new Date).toISOString(),_platform:"web"})[r(303)](()=>{const n=r;le.markClickEventSent(),t[n(318)]&&console[n(315)](n(325),{attribution:o,trackingParams:e})})[r(310)](t=>{console[r(379)]("❌ Failed to auto-track click event:",t)})}catch(t){console[r(379)](r(317),t)}},100)}t.debug&&console[e(315)](e(300),{version:e(347),modules:r,apiKey:t[e(311)][e(384)](0,8)+e(301),mode:"development"})}static[fe(353)](){const t=fe;return ye[t(359)]?.[t(306)]||!1}static[fe(304)](){return ye.instance?._config||null}static[fe(354)](){const t=fe;if(!ye[t(359)])throw new Error(t(339));return ye[t(359)]}static get[fe(358)](){const t=fe;try{return ye[t(354)]().ads}catch(e){throw console.warn(t(309)),e}}static get[fe(382)](){const t=fe;try{return ye.getInstance()[t(382)]}catch(e){throw console[t(338)](t(360)),e}}static get[fe(316)](){const t=fe;try{return ye[t(354)]()[t(316)]}catch(e){throw console[t(338)](t(375)),e}}static[fe(331)](){const t=fe;ye[t(359)]&&(ye[t(359)][t(306)]=!1,ye[t(359)]._config=null)}generateDeviceId(){const t=fe;if(typeof window===t(340))return t(356)+Math[t(371)]()[t(350)](36)[t(384)](2,15);const e=localStorage[t(305)](t(320));if(e)return e;const n=[navigator[t(357)],navigator.language,screen.width+"x"+screen[t(328)],(new Date)[t(337)](),navigator[t(336)]||0].join("|");let r=0;for(let e=0;e<n.length;e++){r=(r<<5)-r+n[t(369)](e),r&=r}const o=t(312)+Math.abs(r)[t(350)](36)+"-"+Date[t(324)]()[t(350)](36);return localStorage[t(307)](t(320),o),o}}function ve(t,e){var n=Ie();return(ve=function(t,e){return n[t-=103]})(t,e)}function Ie(){var t=["4062IowQji","isReady","272NaWXVJ","AdStage not initialized. Call AdStage.init() first.","11134508tBVmJL","setUserProperties","299238aYBOJc","853286yzpICs","142737TvHdzc","6062922whJVxX","2YkgfIs","resolve","warn","events","2348iQlzzN","2140030lGNLhh","track","85PPhcCz"];return(Ie=function(){return t})()}function be(t,e){var n=ve;return ye.isReady()?ye[n(108)][n(111)](t,e):(console.warn("AdStage not initialized. Call AdStage.init() first."),Promise[n(106)]())}function we(t){var e=ve;ye[e(114)]()?ye[e(108)][e(118)](t):console.warn("AdStage not initialized. Call AdStage.init() first.")}function ke(){var t=ve;if(ye[t(114)]())return ye.events.getUserProperties();console[t(107)](t(116))}ye[fe(318)]={clearAllViewable:()=>{const t=fe;at[t(329)](),console.log(t(365))},clearAdViewable:(t,e)=>{const n=fe;at[n(372)](t,e),console.log("✅ AdStage Debug: 광고 "+t+"("+e+n(314))},getViewableStatus:()=>{const t=fe;console.log(t(368),{trackedCount:at[t(343)].size,trackedItems:Array[t(319)](at[t(343)])})}},function(){for(var t=ve,e=Ie();;)try{if(456514===-parseInt(t(120))/1*(-parseInt(t(105))/2)+-parseInt(t(113))/3*(parseInt(t(109))/4)+parseInt(t(112))/5*(-parseInt(t(119))/6)+-parseInt(t(103))/7*(-parseInt(t(115))/8)+-parseInt(t(104))/9+parseInt(t(110))/10+parseInt(t(117))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Ee,xe={exports:{}},Se={},Ae={exports:{}},Ce={};Ae.exports=function(){if(Ee)return Ce;Ee=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var v=y.prototype=new m;v.constructor=y,h(v,g.prototype),v.isPureReactComponent=!0;var I=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var o,i={},s=null,a=null;if(null!=n)for(o in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(s=""+n.key),n)b.call(n,o)&&!k.hasOwnProperty(o)&&(i[o]=n[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:t,type:e,key:s,ref:a,props:i,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,o,i,s){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return s=s(c=n),n=""===i?"."+A(c,0):i,I(s)?(o="",null!=n&&(o=n.replace(S,"$&/")+"/"),C(s,r,o,"",function(t){return t})):null!=s&&(x(s)&&(s=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(s,o+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(S,"$&/")+"/")+n)),r.push(s)),1;if(c=0,i=""===i?".":i+":",I(n))for(var l=0;l<n.length;l++){var d=i+A(a=n[l],l);c+=C(a,r,o,d,s)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=C(a=a.value,r,o,d=i+A(a,l++),s);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],o=0;return C(t,r,"","",function(t){return e.call(n,t,o++)}),r}function _(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},D={transition:null},L={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function O(){throw Error("act(...) is not supported in production builds of React.")}return Ce.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Ce.Component=g,Ce.Fragment=n,Ce.Profiler=o,Ce.PureComponent=y,Ce.StrictMode=r,Ce.Suspense=c,Ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,Ce.act=O,Ce.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=h({},e.props),i=e.key,s=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(s=n.ref,a=w.current),void 0!==n.key&&(i=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)b.call(n,l)&&!k.hasOwnProperty(l)&&(o[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:t,type:e.type,key:i,ref:s,props:o,_owner:a}},Ce.createContext=function(t){return(t={$$typeof:s,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:t},t.Consumer=t},Ce.createElement=E,Ce.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(t){return{$$typeof:a,render:t}},Ce.isValidElement=x,Ce.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:_}},Ce.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},Ce.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},Ce.unstable_act=O,Ce.useCallback=function(t,e){return R.current.useCallback(t,e)},Ce.useContext=function(t){return R.current.useContext(t)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(t){return R.current.useDeferredValue(t)},Ce.useEffect=function(t,e){return R.current.useEffect(t,e)},Ce.useId=function(){return R.current.useId()},Ce.useImperativeHandle=function(t,e,n){return R.current.useImperativeHandle(t,e,n)},Ce.useInsertionEffect=function(t,e){return R.current.useInsertionEffect(t,e)},Ce.useLayoutEffect=function(t,e){return R.current.useLayoutEffect(t,e)},Ce.useMemo=function(t,e){return R.current.useMemo(t,e)},Ce.useReducer=function(t,e,n){return R.current.useReducer(t,e,n)},Ce.useRef=function(t){return R.current.useRef(t)},Ce.useState=function(t){return R.current.useState(t)},Ce.useSyncExternalStore=function(t,e,n){return R.current.useSyncExternalStore(t,e,n)},Ce.useTransition=function(){return R.current.useTransition()},Ce.version="18.3.1",Ce}();var Te,_e=Ae.exports;
1
+ var e,t,n,r,o,i,a,s,c,l,u,d;function f(){var e=["POPUP","26428UPoUEi","16qEeBuB","NATIVE","BANNER","99GlNxPa","TEXT","2736216nweOjZ","WEB","DESKTOP","617570qqYrVS","MOBILE","CLICK","1113945DYWBKF","3077289qzqlGf","1540964mGtBWY","23aBuycA","117010mZhXwR","6eaAbcT","VIEWABLE","TABLET","VIDEO","INTERSTITIAL"];return(f=function(){return e})()}function p(e,t){var n=f();return(p=function(e,t){return n[e-=473]})(e,t)}function h(e,t){const n=g();return(h=function(e,t){return n[e-=453]})(e,t)}function g(){const e=["120FHvWPd","4VKmQiD","getScrollInfo","safeRemoveChild","querySelectorAll","isDOMReady","174349POSIAC","번 시도)","safeSetTextContent","safeApplyStyles",'❌ 컨테이너를 찾을 수 없습니다: "',"waitForDOM","title","ms)",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"error","77841cOJEAc","removeEventListener","classList","✅ 컨테이너 즉시 발견: ",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"✅ 컨테이너 발견: ","ms 경과)","DOMContentLoaded","safeQuerySelector","2993628hLkAJr","canUseDOM","ceil","647076XUYmaY","pageXOffset","isBrowser","번째 시도, ","3OcZAWy","addEventListener","630IaHaUM","innerHTML","undefined","appendChild","log","⏳ 컨테이너 대기 시작: ","forEach","waitForElement","getWindowProperty","entries","innerHeight","safeSetInnerHTML","style","safeRemoveEventListener","from","ms (","pow","149486yHeVrj","href","readyState"," (최대 ","safeCreateElement","pageYOffset","safeGetComputedStyle","location","1726638HxrCMj","removeChild","getComputedStyle","open","DOM을 사용할 수 없는 환경입니다.","documentElement","safeQuerySelectorAll","devicePixelRatio","isSSR","safeAddEventListener","⏳ 컨테이너 대기 중: ","remove","getPageInfo","loading","textContent","getElementById","2550810uZunYo","getDocumentProperty"];return(g=function(){return e})()}!function(){for(var e=p,t=f();;)try{if(538701===-parseInt(e(485))/1*(-parseInt(e(493))/2)+parseInt(e(482))/3+parseInt(e(484))/4+-parseInt(e(479))/5*(parseInt(e(487))/6)+parseInt(e(476))/7+-parseInt(e(494))/8*(parseInt(e(483))/9)+-parseInt(e(486))/10*(parseInt(e(474))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),t=e||(e={}),n=p,t.BANNER=n(473),t[n(492)]=n(492),t[n(491)]=n(491),t[n(495)]=n(495),t.VIDEO=n(490),t[n(475)]=n(475),(o=r||(r={}))[(i=p)(477)]=i(477),o[i(480)]="MOBILE",(s=a||(a={}))[(c=p)(488)]="VIEWABLE",s[c(481)]=c(481),(u=l||(l={}))[(d=p)(478)]=d(478),u[d(480)]=d(480),u[d(489)]=d(489);const m=h;!function(){const e=h,t=g();for(;;)try{if(329114===parseInt(e(499))/1+-parseInt(e(522))/2*(-parseInt(e(503))/3)+parseInt(e(472))/4*(parseInt(e(469))/5)+parseInt(e(453))/6+parseInt(e(477))/7*(-parseInt(e(471))/8)+parseInt(e(487))/9*(-parseInt(e(505))/10)+-parseInt(e(496))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class y{static[m(501)](){return"undefined"!=typeof window&&typeof document!==m(507)}static[m(461)](){return!this[m(501)]()}static[m(497)](){return this[m(501)]()&&void 0!==document.readyState}static safeGetElementById(e){return this[m(497)]()?document.getElementById(e):null}static[m(495)](e){return this[m(497)]()?document.querySelector(e):null}static[m(459)](e){const t=m;return this[t(497)]()?Array[t(519)](document[t(475)](e)):[]}static[m(526)](e){return this.canUseDOM()?document.createElement(e):null}static[m(462)](e,t,n,r){const o=m;this[o(497)]()&&e&&e[o(504)](t,n,r)}static[m(518)](e,t,n,r){const o=m;this.canUseDOM()&&e&&e[o(488)](t,n,r)}static[m(513)](e,t){return this[m(501)]()?window[e]??t:t}static getDocumentProperty(e,t){return this[m(497)]()?document[e]??t:t}static safeWindowOpen(e,t,n){const r=m;return this.isBrowser()?window[r(456)](e,t,n):null}static[m(528)](e){const t=m;return this.isBrowser()&&e?window[t(455)](e):null}static[m(476)](){const e=m;return!!this[e(497)]()&&document[e(524)]!==e(466)}static[m(482)](){return new Promise(e=>{const t=h;this[t(497)]()?this.isDOMReady()?e():this.safeAddEventListener(document,t(494),()=>e()):e()})}static[m(480)](e,t){const n=m;this[n(497)]()&&e&&Object[n(514)](t)[n(511)](([t,r])=>{e[n(517)].setProperty(t,r)})}static safeAddClass(e,t){this[m(497)]()&&e&&e.classList.add(t)}static safeRemoveClass(e,t){const n=m;this.canUseDOM()&&e&&e[n(489)][n(464)](t)}static[m(479)](e,t){const n=m;this.canUseDOM()&&e&&(e[n(467)]=t)}static[m(516)](e,t){const n=m;this.canUseDOM()&&e&&(e[n(506)]=t)}static safeAppendChild(e,t){const n=m;this[n(497)]()&&e&&t&&e[n(508)](t)}static[m(474)](e,t){const n=m;this.canUseDOM()&&e&&t&&e[n(454)](t)}static[m(465)](){const e=m;return{url:this[e(513)](e(529),{href:""})[e(523)],title:this[e(470)](e(483),""),referrer:this.getDocumentProperty("referrer","")}}static getViewportInfo(){const e=m;return{width:this.getWindowProperty("innerWidth",0),height:this[e(513)](e(515),0),pixelRatio:this.getWindowProperty(e(460),1)}}static[m(473)](){const e=m;return{scrollTop:this.canUseDOM()?window[e(527)]||document[e(458)].scrollTop:0,scrollLeft:this.getWindowProperty(e(500),0)}}static async waitForElement(e,t={}){const n=m,{timeout:r=3e3,retryInterval:o=100,debug:i=!1}=t;if(!this[n(497)]())throw new Error(n(457));const a=document[n(468)](e);return a?(i&&console.log(n(490)+e),a):(i&&console.log(n(510)+e+n(525)+r+n(484)),new Promise((t,a)=>{const s=n;let c=0;const l=Math[s(498)](r/o),u=()=>{const n=s;c++;const d=document[n(468)](e);if(d)return i&&console[n(509)](n(492)+e+" ("+c+n(502)+c*o+n(493)),void t(d);if(c>=l){const t=n(481)+e+n(491)+e+n(485)+r+n(520)+c+n(478);return i&&console[n(486)](t),void a(new Error(t))}i&&c%10==0&&console[n(509)](n(463)+e+" ("+c+"/"+l+")");const f=Math.min(o*Math[n(521)](1.2,c),500);setTimeout(u,f)};setTimeout(u,o)}))}static async waitForElements(e,t={}){const n=m,r=e.map(e=>this[n(512)](e,t));return Promise.all(r)}}function v(e,t){const n=w();return(v=function(e,t){return n[e-=318]})(e,t)}const b=v;!function(){const e=v,t=w();for(;;)try{if(619187===parseInt(e(331))/1+parseInt(e(330))/2+parseInt(e(323))/3+parseInt(e(325))/4*(parseInt(e(326))/5)+parseInt(e(318))/6+-parseInt(e(319))/7*(parseInt(e(329))/8)+-parseInt(e(328))/9*(parseInt(e(332))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const I=b(327);function w(){const e=["1759338DmYyyv"," AdStageSDK/","12316YlFEFU","565fTeHOm","3.0.16","27cDdqbU","17192oaInML","2048706CUcOzl","796916nVYFkb","6429310hyBSUM","1062054OEBVrk","1253afSBFA","undefined","userAgent","AdStageSDK/"];return(w=function(){return e})()}function k(){return I}const S=E;function E(e,t){const n=_();return(E=function(e,t){return n[e-=425]})(e,t)}function _(){const e=["9PpmbTN","78tzEriX","adstage_session_id","15qGcqfA","test","colorDepth","874040pxBTUi","generateSessionId","getPlatform","adstage_device_id","session_","userAgent","left","connection","getViewportInfo","substr","309946XwONTR"," .adstage-slider-wrapper","safeGetElementById","ssr_device_","scrollTop",'[data-adstage-slot-id="',"height","desktop","ssr_session_","getItem","SSR","getBoundingClientRect","generateDeviceId","16235sglnUy","DateTimeFormat","width","isMobile","resolvedOptions","language","205263QAnqoX","now","effectiveType","getScrollInfo","safeQuerySelector","toString","platform","round","3446590MknsPP","ios","UTC","top","isBrowser","3358012kuujyz","unknown","4130648jRSBWk","1.0.0","random","setItem"];return(_=function(){return e})()}!function(){const e=E,t=_();for(;;)try{if(422555===parseInt(e(427))/1+-parseInt(e(462))/2*(-parseInt(e(449))/3)+-parseInt(e(452))/4+parseInt(e(475))/5*(parseInt(e(447))/6)+parseInt(e(440))/7+-parseInt(e(442))/8+parseInt(e(446))/9*(-parseInt(e(435))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class x{static[S(474)](){const e=S;if(!y.isBrowser())return e(465)+Date.now();const t=localStorage[e(471)]("adstage_device_id");if(t)return t;const n="device_"+Math[e(444)]()[e(432)](36)[e(461)](2,9)+"_"+Date[e(428)]();return localStorage.setItem(e(455),n),n}static generateSessionId(){const e=S;if(!y.isBrowser())return e(470)+Date[e(428)]();const t=sessionStorage.getItem("adstage_session_id");if(t)return t;const n=e(456)+Math[e(444)]()[e(432)](36).substr(2,9)+"_"+Date[e(428)]();return sessionStorage[e(445)](e(448),n),n}static[S(478)](){const e=S;return!!y.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[e(450)](navigator[e(457)])}static[S(454)](){const e=S;if(!y[e(439)]())return"web";const t=navigator[e(457)].toLowerCase();return/iphone|ipad|ipod/[e(450)](t)?e(436):/android/.test(t)?"android":x[e(478)]()?"web":e(469)}static collectDeviceInfo(){const e=S,t=y[e(460)]();return{deviceId:x[e(474)](),sessionId:x[e(453)](),osVersion:y[e(439)]()?navigator[e(433)]:e(472),deviceModel:y[e(439)]()?navigator[e(433)]:e(472),appVersion:e(443),sdkVersion:k(),language:y.isBrowser()&&navigator[e(426)]||"ko",country:"KR",ipAddress:"",userAgent:y.isBrowser()?navigator[e(457)]:"SSR",timezone:y[e(439)]()?Intl[e(476)]()[e(425)]().timeZone:e(437),viewportWidth:t[e(477)],viewportHeight:t[e(468)],screenWidth:y[e(439)]()?screen[e(477)]:0,screenHeight:y[e(439)]()?screen[e(468)]:0,colorDepth:y[e(439)]()?screen[e(451)]:24,pixelRatio:t.pixelRatio,connectionType:y[e(439)]()?navigator[e(459)]?.[e(429)]||"unknown":e(441),platform:x.getPlatform()}}static getSlotPosition(e){const t=S;let n=y[t(464)](e);if(!n){const r=y[t(431)]("#"+e+t(463));r&&(n=r)}if(!n&&(n=y[t(431)](t(467)+e+'"]')),!n)return t(441);const r=n[t(473)](),o=y[t(430)]();return"x:"+Math[t(434)](r[t(458)])+",y:"+Math[t(434)](r[t(438)]+o[t(466)])}}function C(e,t){const n=T();return(C=function(e,t){return n[e-=203]})(e,t)}const A=C;!function(){const e=C,t=T();for(;;)try{if(993793===parseInt(e(216))/1*(-parseInt(e(218))/2)+parseInt(e(205))/3+-parseInt(e(206))/4*(parseInt(e(211))/5)+-parseInt(e(213))/6+-parseInt(e(214))/7+parseInt(e(209))/8*(parseInt(e(210))/9)+parseInt(e(215))/10*(parseInt(e(217))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class R{static[A(204)](e,t){const n=A;if(!e)throw new Error(n(208));return{"x-api-key":e,"Content-Type":t?.[n(207)]||n(203)}}static[A(212)](e,t){return R[A(204)](e)}}function T(){const e=["10580682SYSVAV","8058860QwrbSt","1UEpYaQ","66tAqiGg","3216974SUuSdr","application/json","create","1681131PfeWmq","772xxzOoh","contentType","API key is required","108464vnaHDG","333NuduFa","45215mNFwDQ","createForEvents","229404lStCnd"];return(T=function(){return e})()}const O=D;function P(){const e=["⚠️ Slot not found for slotId: ","replace","error","80FUrskN","trackAdvertisementEvent","POST","url","apiKey","warn","3304305PnYgTt","debug","VIEWABLE","/advertisements/events/","adType","deviceId",'[data-adstage-slot-id="',"📡 API Response Status: ","log","40IQoLuf","13810jmGNZE","⚠️ DOM element not found for slotId: ","text","114setaaN","status",". Skipping event tracking to prevent incorrect adType.","1590TwQZdW","number","147007KdqWxU","...","baseUrl","sessionId","collectDeviceInfo","querySelector","API request failed: "," (containerId: ","53085SEUfsT","getPageInfo","now","879351ELZbds","containerId","✅ Successfully tracked advertisement event: "," for ad ","createForEvents","slots","stringify","395244aIjweN","🚀 Sending advertisement event: "," - ","height","89419AHhqqc","🚀 AdvertisementEventTracker: Processing ","platform","statusText"];return(P=function(){return e})()}function D(e,t){const n=P();return(D=function(e,t){return n[e-=344]})(e,t)}!function(){const e=D,t=P();for(;;)try{if(265525===parseInt(e(385))/1*(-parseInt(e(384))/2)+-parseInt(e(351))/3+-parseInt(e(358))/4+-parseInt(e(348))/5*(parseInt(e(388))/6)+-parseInt(e(393))/7*(-parseInt(e(369))/8)+-parseInt(e(375))/9+parseInt(e(391))/10*(parseInt(e(362))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class L{constructor(e,t,n,r){const o=D;this.baseUrl=e,this[o(373)]=t,this.debug=n,this[o(356)]=r}async[O(370)](e,t,n){const r=O;try{this[r(376)]&&console[r(383)](r(363)+n+" event for ad "+e+" in slot "+t);const o=this[r(356)].get(t);if(!o)return void(this.debug&&console.warn(r(366)+t+r(390)));if(!(document.getElementById(o[r(352)])||document[r(345)](r(381)+t+'"]')))return void(this[r(376)]&&console[r(374)](r(386)+t+r(347)+o[r(352)]+"). Skipping event tracking."));const i=x[r(344)](),s={adType:o[r(379)],platform:i[r(364)],deviceId:i[r(380)],deviceInfo:i,pageUrl:y[r(349)]()[r(372)],pageTitle:y[r(349)]().title,referrer:y[r(349)]().referrer,slotId:t,slotPosition:x.getSlotPosition(o.containerId),slotWidth:L.parseNumericValue(o.width),slotHeight:L.parseNumericValue(o[r(361)]),sessionId:i[r(396)],pageLoadTime:performance[r(350)](),metadata:{eventType:n,sdkVersion:k(),timestamp:Date[r(350)]()},...n===a[r(377)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(395)]+r(378)+e+"/"+n,l=R[r(355)](this[r(373)],s);this.debug&&(console[r(383)](r(359)+n+r(354)+e,{url:c,headers:l,eventData:s}),console[r(383)]("🌐 Full API call details:",{method:r(371),url:c,hasApiKey:!!this.apiKey,bodySize:JSON[r(357)](s).length}));const u=await fetch(c,{method:r(371),headers:l,body:JSON[r(357)](s)});if(this[r(376)]&&console[r(383)](r(382)+u[r(389)]+" "+u.statusText,{url:c,ok:u.ok}),!u.ok){const e=await u[r(387)]();throw new Error(r(346)+u[r(389)]+" "+u[r(365)]+r(360)+e)}this.debug&&console.log(r(353)+n+r(354)+e)}catch(o){console[r(368)]("❌ Failed to track advertisement event:",o),console[r(368)]("🔍 Debug info:",{baseUrl:this.baseUrl,apiKey:this[r(373)]?this[r(373)].substring(0,8)+r(394):"NOT_SET",url:this.baseUrl+"/advertisements/events/"+e+"/"+n,eventType:n,adId:e,slotId:t})}}static parseNumericValue(e){const t=O;if(typeof e===t(392))return e;if("string"==typeof e){const n=parseFloat(e[t(367)](/px$/,""));return isNaN(n)?0:n}return 0}}function j(e,t){var n=M();return(j=function(e,t){return n[e-=334]})(e,t)}var U=j;function M(){var e=["4895bAgeHU","visibilityState","initIntersectionObserver","observe","27399qLniKA","6066512vmkoRq","6sPYLRW","observer","disconnect","destroy","handleIntersection","65190ksUxRI","7421540wOCZFx","0px","isViewableTriggered","intersectionRatio","9MvsRUn","7972iiseNH","IntersectionObserver not supported, viewability tracking disabled","IntersectionObserver","257913dWzrKu","10244016OWcUsq","onViewableCallback","3925hBKxZR","hidden","isDocumentVisible","visible"];return(M=function(){return e})()}!function(){for(var e=j,t=M();;)try{if(903306===parseInt(e(348))/1+parseInt(e(334))/2*(-parseInt(e(359))/3)+-parseInt(e(345))/4*(-parseInt(e(351))/5)+parseInt(e(349))/6+parseInt(e(340))/7+parseInt(e(360))/8*(-parseInt(e(344))/9)+-parseInt(e(339))/10*(parseInt(e(355))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class N{constructor(e,t){var n=j;this[n(335)]=null,this[n(342)]=!1,this.element=e,this[n(350)]=t,this[n(357)]()}[U(357)](){var e=U;e(347)in window?(this[e(335)]=new IntersectionObserver(t=>this[e(338)](t),{threshold:.5,rootMargin:e(341)}),this[e(335)][e(358)](this.element)):console.warn(e(346))}[U(338)](e){e.forEach(e=>{var t=j;e[t(343)]>=.5&&this[t(353)]()&&!this[t(342)]&&(this[t(342)]=!0,this.onViewableCallback&&this.onViewableCallback())})}[U(353)](){var e=U;return!document[e(352)]&&document[e(356)]===e(354)}[U(337)](){var e=U;this[e(335)]&&(this[e(335)][e(336)](),this[e(335)]=null)}}const F=B;function B(e,t){const n=V();return(B=function(e,t){return n[e-=115]})(e,t)}!function(){const e=B,t=V();for(;;)try{if(436290===parseInt(e(129))/1+-parseInt(e(124))/2*(parseInt(e(119))/3)+parseInt(e(132))/4*(-parseInt(e(136))/5)+parseInt(e(126))/6*(parseInt(e(137))/7)+-parseInt(e(118))/8*(-parseInt(e(122))/9)+-parseInt(e(117))/10+-parseInt(e(128))/11*(parseInt(e(135))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const z={production:F(121),beta:"https://beta-api.adstage.app"};function V(){const e=["35CGvsLi","743582eQWBzB","/advertisements/events","list","startsWith","advertisements","738040uVMQSq","4077608EhPFWP","78irpRBp","production","https://api.adstage.app","9UqMcOb","custom","43370smZkff","/advertisements","30IgCvsX","registerAttribution","11JrmWIz","788822MMGfdY","track","events","51776SGRvhN","/events/register/attribution","baseUrl","7981692yQqoNG"];return(V=function(){return e})()}F(120);const K={advertisements:{list:"/advertisements/list",detail:F(125),events:F(138)},events:{track:"/events/track",registerAttribution:F(133)}};class W{constructor(e){const t=F;this[t(116)]={list:()=>""+this.baseUrl+K.advertisements[t(139)],detail:e=>""+this[t(134)]+K[t(116)].detail+"/"+e,events:(e,n)=>""+this[t(134)]+K[t(116)][t(131)]+"/"+e+"/"+n},this.events={track:()=>""+this[t(134)]+K[t(131)][t(130)],registerAttribution:()=>""+this[t(134)]+K[t(131)][t(127)]},this[t(134)]=e||z[t(120)]}setBaseUrl(e){this.baseUrl=e}getBaseUrl(){return this[F(134)]}[F(123)](e){const t=F;return""+this[t(134)]+(e[t(115)]("/")?e:"/"+e)}}const H=new W;var q=G;function Y(){var e=["37241nkAxxC","2075432pvkkJy",") in slot: ","trackSlideViewable","12JkJQzi","14uhzOuy","8RYIlfH","1661979USlJib","1346925DMSGCC","1718712LDOyrk","4786308KEBFRr","VIEWABLE","8948400egzxPI","228QQSvpt"," (index: 0) in slot: ","trackInitialSlideViewable"," (index: ","5YNBikv","_id"];return(Y=function(){return e})()}function G(e,t){var n=Y();return(G=function(e,t){return n[e-=483]})(e,t)}!function(){for(var e=G,t=Y();;)try{if(831519===parseInt(e(492))/1*(parseInt(e(496))/2)+parseInt(e(500))/3*(-parseInt(e(498))/4)+-parseInt(e(490))/5*(parseInt(e(483))/6)+-parseInt(e(497))/7*(-parseInt(e(493))/8)+-parseInt(e(501))/9+-parseInt(e(485))/10+-parseInt(e(499))/11*(-parseInt(e(486))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ${static[q(495)](e,t,n,r,o=!1){var i=q;o&&console.log("🎯 Triggering VIEWABLE event for slide change: ad "+e[i(491)]+i(489)+n+i(494)+t.id),r(e._id,t.id,a[i(484)])}static[q(488)](e,t,n,r=!1){var o=q;r&&console.log("🎯 Triggering initial VIEWABLE event: ad "+e[o(491)]+o(487)+t.id),n(e[o(491)],t.id,a.VIEWABLE)}}const J=X;function Q(){const e=["stopPropagation","addClickEventsBatch","addEventListener","linkUrl","_id","16010feFYsN","207oUmYqh","log","1342104yTTnPK","addClickEvent","adType","style","5CxUBPM"," ad clicked: ","171948VNRuZi","_blank","781CMSsvW","601529QeOoGJ","🔗 "," -> ","addClickEventForRenderer","2474532GrYNKr","7oAQHwB","CLICK","toLowerCase","cursor","2IgZgtZ","914356bGoRpA","isClickable","forEach","372984QEnOux","click","pointer"];return(Q=function(){return e})()}function X(e,t){const n=Q();return(X=function(e,t){return n[e-=375]})(e,t)}!function(){const e=X,t=Q();for(;;)try{if(344395===-parseInt(e(393))/1+parseInt(e(402))/2*(-parseInt(e(406))/3)+-parseInt(e(403))/4+parseInt(e(388))/5*(parseInt(e(397))/6)+parseInt(e(398))/7*(-parseInt(e(384))/8)+parseInt(e(382))/9*(parseInt(e(381))/10)+parseInt(e(392))/11*(parseInt(e(390))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Z{static[J(385)](e,t,n,r,o=!1,i){const s=J;t.linkUrl&&(e[s(387)].cursor="pointer",e[s(378)](s(407),e=>{const c=s;if(e.preventDefault(),e[c(376)](),r&&r(t[c(380)],n.id,a[c(399)]),window.open(t[c(379)],c(391)),o){const e=i||String(n[c(386)])[c(400)]();console[c(383)](c(394)+e+c(389)+t._id+c(395)+t.linkUrl)}}))}static[J(396)](e,t,n,r,o=!1,i){const s=J;t[s(379)]&&(e[s(387)][s(401)]=s(375),e[s(378)]("click",e=>{const c=s;e.preventDefault(),e[c(376)]();if(r()(t[c(380)],n.id,a[c(399)]),window.open(t.linkUrl,"_blank"),o){const e=i||String(n[c(386)]).toLowerCase();console.log("🔗 "+e+c(389)+t[c(380)]+c(395)+t[c(379)])}}))}static addClickEventForSlider(e,t,n,r,o=!1,i){this[J(385)](e,t,n,r,o,i)}static[J(404)](e){return Boolean(e[J(379)])}static[J(377)](e,t,n,r,o=!1,i){const a=J;e[a(405)]((e,s)=>{const c=a,l=t[s];l&&this[c(385)](e,l,n,r,o,i)})}}function ee(){const e=["flex","createSimpleAdElement","BANNER","data-adstage-slot-id","backgroundColor","1px solid #666","#f9f9f9","querySelectorAll","includes","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","active","none","setProperty","129157PCvPUd","borderColor","6668INaSya","center","overflow","1px dashed #ccc","entries","style","every","relative","100%","adstage-slide-container","opacity","string","whiteSpace","1306073Eaidbw","22zLetmE"," Ad","14px","imageUrl","textContent","addEventListener","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","remove","adstage-slider-wrapper","_id","setAttribute","hidden","Text Ad","mouseleave","padding","classList","inline-block","border","length","changedTouches","videoUrl","adstage-dot","touchmove","0.9","adstage-ad adstage-","touchstart","50px","color","contains","27663sFpOAe","adstage-dots","forEach","body","cssText","translateX(-","className","div","transform 0.4s ease-out","createMinimalDotIndicator","normal","8px","block","Banner Ad","clientX","appendChild","white","#999999","preventDefault","transition","0.7",".adstage-dot","height","removeChild","createElement","TEXT","video","addTouchSupport","80kRBEzr","display","17282470OfIevB","3831924cJOuib","#cccccc","src","2215XReELo","addClickEventForSlider","adstage-slide","autoSlideInterval","background","#666666","#000","getBoundingClientRect","createSliderContainer","abs","transparent","Video Ad","100px","width","8815113kAMaRL","adType"];return(ee=function(){return e})()}function te(e,t){const n=ee();return(te=function(e,t){return n[e-=142]})(e,t)}const ne=te;!function(){const e=te,t=ee();for(;;)try{if(736773===-parseInt(e(233))/1+parseInt(e(234))/2*(parseInt(e(155))/3)+parseInt(e(220))/4*(parseInt(e(189))/5)+parseInt(e(186))/6+-parseInt(e(218))/7*(parseInt(e(183))/8)+-parseInt(e(203))/9+parseInt(e(185))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class re{static[ne(206)](t,n){const r=ne,o=document[r(179)]("div");switch(o[r(161)]=r(150)+String(t[r(204)]).toLowerCase(),o[r(244)]("data-adstage-ad-id",n[r(243)]),o[r(244)](r(208),t.id),o[r(225)].display=r(167),o[r(225)][r(202)]=r(228),o[r(225)][r(177)]="auto",t[r(204)]){case e[r(207)]:if(n[r(237)]){const e=document[r(179)]("img");e[r(188)]=n[r(237)],e.style[r(202)]=r(228),e[r(225)][r(177)]="auto",e[r(225)].objectFit="cover",o[r(170)](e)}else o[r(225)].height="100px",o[r(225)].backgroundColor="#f0f0f0",o[r(225)][r(143)]=r(223),o.textContent=r(168);break;case e.VIDEO:if(n[r(146)]){const e=document.createElement(r(181));e.src=n[r(146)],e[r(225)][r(202)]=r(228),e[r(225)][r(177)]="auto",o[r(170)](e)}else o[r(225)][r(177)]="200px",o.style[r(209)]=r(195),o[r(225)][r(143)]=r(210),o[r(238)]=r(200),o[r(225)][r(153)]=r(171);break;case e[r(180)]:if(n[r(238)]){const e=document[r(179)]("div");e[r(238)]=n[r(238)]||"",e[r(225)][r(248)]=r(166),e[r(225)].fontSize=r(236),o[r(170)](e)}else o[r(225)][r(177)]=r(152),o.style[r(248)]=r(166),o[r(238)]=r(246);break;default:o.style.height=r(201),o[r(225)][r(143)]="1px dashed #ccc",o.style[r(209)]=r(211),o[r(238)]=t[r(204)]+r(235)}return o}static[ne(197)](t,n,r,o,i=!1){const a=ne,s=document[a(179)](a(162));s[a(161)]=a(242);const c={position:a(227),overflow:a(245)};if(t[a(202)]&&0!==t[a(202)]){let e;e=typeof t.width===a(231)?t[a(202)].includes("px")||t[a(202)][a(213)]("%")?t[a(202)]:t[a(202)]+"px":t.width+"px",c[a(202)]=e,c[a(184)]=a(142)}else c[a(184)]=a(142);if(t[a(177)]&&0!==t[a(177)]){const e=typeof t.height===a(231)?t.height:t[a(177)]+"px";c[a(177)]=e}Object[a(224)](c).forEach(([e,t])=>{s[a(225)].setProperty(e,t)});const l=!t[a(202)]||0===t[a(202)],u=!t.height||0===t[a(177)];if(l||u){const e=document.createElement(a(162));if(e[a(225)][a(159)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!l&&t[a(202)]){let n;n="string"==typeof t[a(202)]?t[a(202)][a(213)]("px")||t[a(202)][a(213)]("%")?t[a(202)]:t[a(202)]+"px":t.width+"px",e.style[a(202)]=n,e[a(225)][a(232)]=a(165)}document[a(158)][a(170)](e);let r=0,o=0;n.forEach(n=>{const i=a,s=this[i(206)](t,n);e.appendChild(s);const c=s[i(196)]();c[i(202)]>r&&(r=c[i(202)]),c.height>o&&(o=c.height),e[i(178)](s)}),l&&r>0&&(s[a(225)].width=r+"px",c[a(202)]=r+"px"),u&&o>0&&(s.style[a(177)]=o+"px",c[a(177)]=o+"px"),document[a(158)][a(178)](e)}const d=[...n,n[0]],f=document.createElement(a(162));f[a(161)]=a(229);const p={display:"flex",transition:"transform 0.4s ease-out",width:100*d[a(144)]+"%"};t[a(177)]&&0!==t[a(177)]&&(p[a(177)]=a(228)),Object[a(224)](p)[a(157)](([e,t])=>{const n=a;f.style[n(217)](e,t)}),d.forEach((e,n)=>{const r=a,s=document[r(179)](r(162));s[r(161)]=r(191);const c={width:100/d.length+"%","flex-shrink":"0",display:r(205),"align-items":"center","justify-content":r(221)};t.height&&0!==t[r(177)]&&(c[r(177)]="100%"),Object.entries(c)[r(157)](([e,t])=>{s[r(225)].setProperty(e,t)});const l=this[r(206)](t,e);Z[r(190)](l,e,t,o,i,String(t.adType).toLowerCase()),s[r(170)](l),f[r(170)](s)});const h=n[a(226)](t=>t[a(204)]===e.TEXT)?null:this[a(164)](n[a(144)]);let g=0;const m=n[a(144)],y=1e3*(r?.[a(192)]||3),v=(e,r=!1)=>{const s=a;g=e,f[s(225)][s(174)]=s(r?216:163),f[s(225)].transform=s(160)+100/d.length*g+"%)";const c=g===m?0:g;if(h){h[s(212)](s(176))[s(157)]((e,t)=>{const n=s,r=e;t===c?(r[n(249)].add(n(215)),r[n(225)][n(193)]=n(194),r.style.borderColor=n(194),r[n(225)][n(230)]="1"):(r[n(249)][n(241)](n(215)),r[n(225)][n(193)]=n(199),r.style[n(219)]=n(187),r[n(225)][n(230)]=n(175))})}$.trackSlideViewable(n[c],t,c,o,i)},b=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(h){h[a(212)](a(176)).forEach((e,t)=>{e[a(239)]("click",()=>v(t))})}let I=setInterval(()=>{v(g+1),b()},y);return s[a(239)]("mouseenter",()=>{clearInterval(I)}),s[a(239)](a(247),()=>{I=setInterval(()=>{v(g+1),b()},y)}),this[a(182)](f,v,()=>g,m,b),s.appendChild(f),h&&s.appendChild(h),v(0),(!t[a(202)]||0===t.width)&&setTimeout(()=>{const e=a,n=f.children[0];if(n){const r=n.children[0];if(r){const n=r[e(196)]();s[e(225)][e(202)]=n[e(202)]+"px",(!t.height||0===t[e(177)])&&(s[e(225)][e(177)]=n[e(177)]+"px"),s[e(225)][e(222)]=e(245)}}},10),s}static[ne(164)](e){const t=ne,n=document[t(179)](t(162));n.className=t(156),n[t(225)][t(159)]=t(214);for(let r=0;r<e;r++){const e=document.createElement("button");e[t(161)]=t(147),e[t(225)][t(159)]=t(240),e[t(239)]("mouseenter",()=>{const n=t;!e[n(249)][n(154)]("active")&&(e[n(225)].borderColor=n(172),e[n(225)].opacity=n(149))}),e[t(239)](t(247),()=>{const n=t;!e[n(249)].contains(n(215))&&(e[n(225)][n(219)]=n(187),e[n(225)][n(230)]=n(175))}),n.appendChild(e)}return n}static[ne(182)](e,t,n,r,o){const i=ne;let a=0,s=!1;e[i(239)](i(151),e=>{const t=i;a=e.touches[0][t(169)],s=!0}),e[i(239)](i(148),e=>{s&&e[i(173)]()}),e[i(239)]("touchend",e=>{const c=i;if(!s)return;s=!1;const l=e[c(145)][0][c(169)],u=a-l;if(Math[c(198)](u)>50){const e=n();if(u>0){t(e+1),o&&o()}else{t(e>0?e-1:r-1)}}})}}function oe(e,t){const n=ie();return(oe=function(e,t){return n[e-=379]})(e,t)}function ie(){const e=["clearAdViewable","14872510FavnEl","33187hTOFDt","9XGziJZ","viewableTracker","2055sVpNun","isDuplicateViewable","✅ New viewable recorded for ad ","919308LbfTjx","2135516WQGMcF"," in slot ","236068NCfvQW","Duplicate viewable blocked for ad ","delete","log","2563045wLpbCg","clear","has","1624ficdKp","5444vMwRte","add"];return(ie=function(){return e})()}const ae=oe;!function(){const e=oe,t=ie();for(;;)try{if(572954===-parseInt(e(381))/1+-parseInt(e(379))/2+parseInt(e(396))/3*(-parseInt(e(389))/4)+parseInt(e(385))/5+-parseInt(e(399))/6+-parseInt(e(393))/7*(-parseInt(e(388))/8)+-parseInt(e(394))/9*(-parseInt(e(392))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class se{static[ae(397)](e,t,n=!1){const r=ae,o=e+"_"+t;return se[r(395)][r(387)](o)?(n&&console[r(384)](r(382)+e+r(380)+t),!0):(se[r(395)][r(390)](o),n&&console.log(r(398)+e+r(380)+t),!1)}static clear(){const e=ae;se[e(395)][e(386)]()}static[ae(391)](e,t){const n=ae,r=e+"_"+t;se.viewableTracker[n(383)](r)}}se[ae(395)]=new Set;const ce=ue;function le(){const e=["575367legRKj","fontSize","px)","style","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","placeholderMode","applyPlaceholderStyle","calculateAdSize"," in slot ","setAttribute","1px dashed #ccc","appendChild","data-adstage-container",") - Mode: ","center","div","justifyContent"," container: ","data-adstage-empty","createEmptyContainer","number","color","#666","46870JunSZw","data-adstage-type"," container collapsed (","flex",'div[style*="min-height"]',"createEventTrackingCallback","monospace"," event","24zoLaVY","log","📦 Placeholder created for "," ad...</span>","isDuplicateViewable","subtle","getAttribute"," slot: ",".adstage-","generic","#f9f9f9","error","4px","6px","rgba(231, 76, 60, 0.1)","104751XJIoeC"," for ","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","createElement","❌ Failed to track ","cssText","trackAdvertisementEvent","display","advertisementEventTracker","rgba(0, 0, 0, 0.02)","getComputedStyle","100%",'[class*="ad"]',"debug","VIEWABLE","🔄 Starting advertisement event tracking: ",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"advertisement","filter","hasAttribute","853368sjdilR","4onamXn","isEmpty","minimal","adstage-slot adstage-empty adstage-",'[class*="banner"]',"979002pggPgH","none","querySelector","📏 Using default height ","innerHTML","height",'[data-adstage-container="true"]',"unknown","alignItems","getElementById","11px","adstage-slot adstage-","adstage-slot","opacity","auto","1143505wSaVYv","string","adType","490168RhJxaW","backgroundColor","⚠️ Created empty ","fontFamily","closest","renderFallback","transparent","warn",'div[style*="height"]',"minHeight","getContainerHeight","width","adstage-official","contains","⚠️ ","invisible","block","data-adstage-slot","getDefaultHeight","className",".adstage-slot","#e74c3c","border","true","🚫 Duplicate viewable blocked for ad ","✅ New viewable recorded for ad "," for ad "];return(le=function(){return e})()}function ue(e,t){const n=le();return(ue=function(e,t){return n[e-=205]})(e,t)}!function(){const e=ue,t=le();for(;;)try{if(199412===parseInt(e(223))/1+-parseInt(e(317))/2+-parseInt(e(294))/3*(parseInt(e(244))/4)+-parseInt(e(264))/5+parseInt(e(243))/6+parseInt(e(267))/7+-parseInt(e(208))/8*(-parseInt(e(249))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class de{constructor(e,t=!1,n){this.adType=e,this.debug=t,this.advertisementEventTracker=n||null}createPlaceholder(e,t,n,r){const o=ue,i=document[o(226)]("div");i.id=t,i[o(286)]=o(260)+String(this.adType).toLowerCase(),i[o(303)](o(306),o(290)),i[o(303)](o(318),String(this[o(266)])),i[o(303)](o(284),t);const{width:a,height:s}=this[o(301)](e,n,r)||{width:"100%",height:this[o(285)]()};i[o(297)][o(278)]=a,i[o(297)][o(254)]=s;const c=r?.[o(299)]||n[o(299)]||o(282);this.applyPlaceholderStyle(i,c),e[o(305)](i),this[o(236)]&&console.log(o(210)+this[o(266)]+o(215)+t+" ("+a+" x "+s+o(307)+c)}[ce(300)](e,t){const n=ce;switch(t){case n(282):e.style[n(268)]=n(273),e[n(297)][n(289)]="none",e[n(297)][n(262)]="0",e[n(253)]="";break;case n(273):e[n(297)][n(268)]=n(273),e.style[n(289)]=n(250),e.style.display=n(283),e[n(253)]="";break;case n(213):e.style[n(268)]=n(232),e[n(297)][n(289)]="none",e.style.borderRadius=n(220),e[n(297)][n(230)]="flex",e[n(297)][n(257)]="center",e[n(297)][n(310)]=n(308),e[n(253)]='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case n(246):e[n(297)][n(268)]="rgba(248, 249, 250, 0.5)",e.style[n(289)]="1px solid rgba(0, 0, 0, 0.08)",e[n(297)].borderRadius=n(221),e[n(297)][n(230)]=n(320),e.style[n(257)]=n(308),e[n(297)].justifyContent=n(308),e.innerHTML=n(239);break;case n(236):e[n(297)][n(289)]="2px dashed #e74c3c",e[n(297)][n(230)]=n(320),e[n(297)][n(257)]="center",e[n(297)][n(310)]=n(308),e[n(297)][n(268)]=n(222),e[n(297)][n(315)]=n(288),e[n(297)][n(270)]=n(206),e[n(297)][n(295)]=n(259),e[n(253)]="<span>Loading "+this[n(266)]+n(211);break;default:e[n(297)][n(289)]=n(304),e[n(297)][n(230)]=n(320),e[n(297)].alignItems=n(308),e[n(297)][n(310)]=n(308),e[n(297)][n(268)]=n(218),e[n(297)][n(315)]=n(316),e[n(253)]="<span>Loading "+this[n(266)]+n(211)}}[ce(301)](e,t,n){const r=ce,o=t[r(278)],i=t.height;let a,s;if(a=typeof o===r(314)?o+"px":typeof o===r(265)?o:r(234),typeof i===r(314))s=i+"px";else if("string"==typeof i&&"100%"!==i&&i!==r(263))s=i;else{const t=this[r(277)](e);t>0?(s=r(234),(n?.[r(236)]||this[r(236)])&&console[r(209)]("📏 Using 100% height (container: "+t+r(296))):(s=this.getDefaultHeight(),(n?.[r(236)]||this[r(236)])&&console[r(209)](r(252)+s+r(224)+this[r(266)]))}return{width:a,height:s}}[ce(277)](e){const t=ce,n=window[t(233)](e),r=parseFloat(n.height);if(!r||0===r){const r=parseFloat(n[t(276)]);if(r>0)return r;if(e[t(297)][t(254)]&&e[t(297)][t(254)]!==t(263)){const n=parseFloat(e[t(297)][t(254)]);if(n>0)return n}const o=e[t(214)](t(254));if(o){const e=parseFloat(o);if(e>0)return e}}return r||0}[ce(205)](){return async(e,t,n)=>{const r=ue;if(n===a[r(237)]){if(se[r(212)](e,t,this[r(236)]))return void(this[r(236)]&&console[r(209)](r(291)+e+r(302)+t));this[r(236)]&&console.log(r(292)+e+r(302)+t)}if(this.advertisementEventTracker)try{this[r(236)]&&console[r(209)](r(238)+n+r(293)+e+r(302)+t),await this[r(231)][r(229)](e,t,n),this[r(236)]&&console[r(209)]("📊 Advertisement event tracked: "+n+" for ad "+e+r(302)+t)}catch(t){this.debug&&console[r(219)](r(227)+n+" event for ad "+e+":",t)}else this.debug&&console.warn("⚠️ AdvertisementEventTracker not available for "+n+r(207))}}[ce(272)](e){const t=ce,n=document.getElementById(e.id);if(n){const r=[...[n[t(251)](t(255)),n[t(271)](t(255)),n][t(241)](e=>e&&e[t(242)]("data-adstage-container")),...[n[t(271)](t(287)),n[t(271)](t(216)+String(this[t(266)]).toLowerCase()),n[t(271)](t(235)),n[t(271)](t(248)),n[t(271)]('[class*="container"]'),n[t(271)](t(275)),n[t(271)](t(321)),n.parentElement][t(241)](Boolean)][0];if(r){let n=t(256);n=r[t(242)]("data-adstage-container")?t(279):r.classList[t(280)](t(261))?"adstage-class":t(217),r[t(297)].cssText+=t(225),r[t(253)]="",r.setAttribute(t(312),t(290)),this[t(236)]&&console.warn(t(281)+this[t(266)]+t(319)+n+"): "+e.id,r)}else this[t(313)](e)}e[t(240)]=void 0,e[t(245)]=!0}createEmptyContainer(e){const t=ce,n=document[t(258)](e.containerId);if(n){n[t(253)]="";const r=document[t(226)](t(309));r.id=e.id,r[t(286)]=t(247)+String(this[t(266)]).toLowerCase(),r[t(303)]("data-adstage-container",t(290)),r.setAttribute("data-adstage-empty",t(290)),r.setAttribute(t(284),e.id),r[t(297)][t(228)]=t(298),n[t(305)](r),this[t(236)]&&console[t(274)](t(269)+this[t(266)]+t(311)+e.id)}}[ce(209)](e,...t){const n=ce;this[n(236)]&&console[n(209)]("["+this.adType+"] "+e,...t)}}const fe=pe;function pe(e,t){const n=he();return(pe=function(e,t){return n[e-=115]})(e,t)}function he(){const e=["getElementById","abs","Banner Ad","borderRadius","calculateOptimalHeight","block","slideInterval","forEach","✅ Optimized banner image rendered for ad: ","📦 Banner container dimensions: ","default","allSettled","BANNER","onload"," with ","imageUrl","addClickEventForRenderer","width","value"," ads: ","from","map","2dLSYUa","16:9","250px","set","contain","Failed to calculate optimal banner size, using defaults:","9otJVyu","fulfilled","2109170yoZoHX","Banner Advertisement","innerHTML","#f0f0f0","center","common","filter","log","values","getBoundingClientRect","📸 Banner image dimensions: ","Failed to load image: ","100%","ratio","warn","calculateAdSize","objectPosition","_id","2532264APpRKE","backgroundColor","name","height","📐 Optimal banner container calculated: ","Banner container optimization failed, using default size:","average","src","naturalWidth","271868vUzxal","objectFit","❌ Failed to load optimized banner image:","📊 Using standard ratio: ","6legOhr","optimizedHeight","Banner","aspectRatio","408twifVE","3:2","reduce","4:3","865980efxnJo","Container not found: ","loadImageDimensions","renderOptimizedBannerImage","appendChild","2148650kaALMK","optimizeContainerForBannerAds","applyOptimizedImageStyle","parentElement","className"," (avg: ","error","title","max","style","onerror","9tlCKuW",", ratio=","8px","createEventTrackingCallback","containerId","count","calculateOptimalContainerSize","getDefaultHeight","toFixed","round","adstage-ad adstage-banner-ad","<div>","selectOptimalSizeStrategy","🎨 Banner image style applied: objectFit=","config","dominant","🎠 Banner carousel created for slot: ","createElement","img","get","display","length","333751lWWGcv","toString","80138xvvRLb","debug","some"];return(he=function(){return e})()}!function(){const e=pe,t=he();for(;;)try{if(224084===-parseInt(e(190))/1*(parseInt(e(215))/2)+-parseInt(e(166))/3*(-parseInt(e(138))/4)+-parseInt(e(223))/5*(-parseInt(e(142))/6)+parseInt(e(155))/7+-parseInt(e(129))/8*(-parseInt(e(221))/9)+parseInt(e(150))/10+parseInt(e(188))/11*(-parseInt(e(146))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ge extends de{constructor(t=!1,n){super(e[pe(205)],t,n)}[fe(173)](){return fe(217)}async renderAdElement(e,t){const n=fe,r=document.getElementById(e[n(170)]);if(!r)return;const o=document[n(183)]("div");o[n(159)]=n(176);const i=e[n(143)],a=r[n(158)]||r;if(i)o.style[n(210)]=n(123),o[n(164)].height=String(i);else{const t=e.config,r={width:t?.[n(210)],height:t?.[n(132)]},{width:i,height:s}=this[n(126)](a,r,{debug:this[n(191)]});o[n(164)][n(210)]=i,o[n(164)][n(132)]=s}t[n(208)]?await this[n(153)](o,t,e):o[n(225)]=n(177)+(t[n(162)]||n(195))+"</div>",Z[n(209)](o,t,e,()=>this[n(169)](),this[n(191)],"Banner"),r[n(225)]="",r[n(154)](o)}async renderMultipleAds(e,t){const n=fe,r=document[n(193)](e[n(170)]);if(!r)throw new Error(n(151)+e[n(170)]);await this.optimizeContainerForBannerAds(e,t);const o=this[n(169)](),i={autoSlideInterval:(e[n(180)]?.[n(199)]||5e3)/1e3,...e[n(180)],optimizedHeight:e[n(143)],aspectRatio:e[n(145)]},a=re.createSliderContainer(e,t,i,o,this[n(191)]);a&&(r[n(225)]="",r[n(154)](a),this[n(191)]&&console[n(118)](n(182)+e.id+n(207)+t[n(187)]+" ads (optimized: "+(e[n(143)]||n(203))+")"))}async[fe(172)](e,t){const n=fe;if(!e[n(187)])return{width:n(123),height:this[n(173)](),aspectRatio:16/9};try{const r=(await Promise[n(204)](e[n(117)](e=>e.imageUrl)[n(214)](e=>this[n(152)](e[n(208)])))).filter(e=>e.status===n(222))[n(214)](e=>e[n(211)]);if(0===r[n(187)])return{width:"100%",height:this[n(173)](),aspectRatio:16/9};const o=this.selectOptimalSizeStrategy(r),i=this[n(197)](r,t,o);return this[n(191)]&&console[n(118)](n(133)+t+"x"+i+" (strategy: "+o+")"),{width:n(123),height:i+"px",aspectRatio:t/i}}catch(e){return console[n(125)](n(220),e),{width:n(123),height:this[n(173)](),aspectRatio:16/9}}}async[fe(156)](e,t){const n=fe;try{const r=document[n(193)](e[n(170)]),o=document.getElementById(e.id);if(!r||!o)return;const i=r[n(120)]()[n(210)]||300,a=await this[n(172)](t,i);o[n(164)][n(132)]=a.height,e.optimizedHeight=a[n(132)],e[n(145)]=a[n(145)],this[n(191)]&&console[n(118)]("🔧 Banner container optimized for "+t[n(187)]+n(212)+a[n(132)])}catch(e){console[n(125)](n(134),e)}}[fe(178)](e){const t=fe,n=e[t(214)](e=>e[t(210)]/e.height),r=new Map;n[t(200)](e=>{const n=t,o=(Math[n(175)](10*e)/10)[n(189)]();r.set(o,(r[n(185)](o)||0)+1)});const o=Math[t(163)](...r.values()),i=e.length;if(o/i>=.7)return t(181);const a=[16/9,4/3,1,1.5],s=n[t(117)](e=>a[t(192)](t=>Math.abs(e-t)<.1))[t(187)];return t(s/i>=.5?116:135)}[fe(197)](e,t,n){const r=fe,o=e[r(214)](e=>e[r(210)]/e[r(132)]);switch(n){case r(181):{const e=new Map;o.forEach(t=>{const n=r,o=Math[n(175)](10*t)/10,i=o[n(189)](),a=e[n(185)](i);a?a.count++:e[n(218)](i,{ratio:o,count:1})});const n=Array[r(213)](e[r(119)]())[r(148)]((e,t)=>t[r(171)]>e.count?t:e);return Math.round(t/n[r(124)])}case r(116):{const e=[{ratio:16/9,name:r(216)},{ratio:4/3,name:r(149)},{ratio:1,name:"1:1"},{ratio:1.5,name:r(147)}],n=o[r(148)]((e,t)=>e+t,0)/o[r(187)],i=e[r(148)]((e,t)=>Math[r(194)](t[r(124)]-n)<Math[r(194)](e[r(124)]-n)?t:e);return this[r(191)]&&console[r(118)](r(141)+i[r(131)]+r(160)+n[r(174)](2)+")"),Math[r(175)](t/i.ratio)}case r(135):default:{const e=o[r(148)]((e,t)=>e+t,0)/o[r(187)];return Math.round(t/e)}}}[fe(152)](e){return new Promise((t,n)=>{const r=pe,o=new Image;o[r(206)]=()=>{t({width:o[r(137)],height:o.naturalHeight})},o[r(165)]=()=>{n(new Error(r(122)+e))},o[r(136)]=e})}applyOptimizedImageStyle(e,t,n){const r=fe,o=t/n;Math[r(194)](o-1)<.1?(e[r(164)][r(139)]="cover",e[r(164)][r(127)]=r(115)):o>1.3?(e[r(164)][r(139)]=r(219),e[r(164)].objectPosition=r(115),e[r(164)][r(130)]=r(226)):o<.7?(e.style.objectFit="cover",e.style[r(127)]=r(115)):(e[r(164)][r(139)]="cover",e.style[r(127)]=r(115)),this.debug&&console[r(118)](r(179)+e[r(164)][r(139)]+r(167)+o[r(174)](2))}async[fe(153)](e,t,n){const r=fe,o=document[r(183)](r(184));o[r(164)].width=r(123),o[r(164)].height="100%",o.style[r(186)]=r(198),o.style[r(196)]=r(168),o.alt=t.title||r(224),e[r(225)]='<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>';try{if(!t[r(208)])throw new Error("Image URL is not provided");const i=await this[r(152)](t[r(208)]),a=e[r(120)](),s=a[r(210)],c=a[r(132)];this[r(191)]&&(console[r(118)](r(121)+i[r(210)]+"x"+i[r(132)]),console[r(118)](r(202)+s+"x"+c));const l=i[r(210)]/i[r(132)],u=s/c;return this[r(157)](o,l,u),o[r(136)]=t[r(208)],e[r(225)]="",e[r(154)](o),Z[r(209)](o,t,n,()=>this[r(169)](),this[r(191)],r(144)),this[r(191)]&&console[r(118)](r(201)+t[r(128)]),o}catch(i){return console[r(161)](r(140),i),t.imageUrl&&(o.src=t.imageUrl,o[r(164)].objectFit="cover",o[r(164)].objectPosition="center",e.innerHTML="",e[r(154)](o),Z.addClickEventForRenderer(o,t,n,()=>this[r(169)](),this[r(191)],r(144))),o}}}function me(){const e=["createTextAdStyles","\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n ","16pVAtkG","1994192KwzdTU","6713056kQgiTa","431016ApRFMy","4367364SzoiMb","115aTmCvF","84534waOJpA","title","304619ipOAKs","textContent","410360ZoZxiv","9nBrgRq"];return(me=function(){return e})()}function ye(e,t){const n=me();return(ye=function(e,t){return n[e-=212]})(e,t)}const ve=ye;!function(){const e=ye,t=me();for(;;)try{if(596115===-parseInt(e(221))/1+-parseInt(e(213))/2*(-parseInt(e(216))/3)+-parseInt(e(217))/4+-parseInt(e(218))/5*(parseInt(e(219))/6)+parseInt(e(215))/7+parseInt(e(214))/8+-parseInt(e(224))/9*(parseInt(e(223))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class be{static[ve(225)](e=!1){return ve(212)}static setTextAdContent(e,t){const n=ve,r=t[n(222)]||t[n(220)]||"";e.textContent=r}}const Ie=we;function we(e,t){const n=ke();return(we=function(e,t){return n[e-=366]})(e,t)}function ke(){const e=[";\n width: 100%;\n ","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","15002664NdCJXU","addEventListener","createTextTransitionContainer","22732FWsvek","opacity","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","cssText","minHeight","adstage-fade-slide-container","div","height: auto; min-height: fit-content;","height","2493JEZChi","left","length","toLowerCase",";\n transform: translateY(","relative","abs","setAttribute","changedTouches","className","whiteSpace",";\n left: ","mouseleave","push","adstage-fade-slide","normal","translateY(20px)","clientY","position","hidden","createElement","mouseenter","290lCHhzV","addClickEventForSlider","translateY(0)","createTextAdStyles","string","translateY(-20px)","319653LeqMMH","height: 100%;","includes","block","width","createSimpleAdElement","\n position: relative;\n width: 100%;\n ","13tqTMGi","touchstart","getBoundingClientRect",";\n top: ","adstage-fade-slider-wrapper","touchmove","appendChild","forEach","touches","transform","819162UiiBWq","adType","top","touchend","20px","8YglqAu","autoSlideInterval","4699706MYwemx","30skiXRR","addTouchSupport","auto","setProperty","setTextAdContent","Text","body","186501QKSKdg","30bBFfgI","28328kHoObH","zIndex","clientX","\n position: ","style","absolute","data-adstage-slot-id"];return(ke=function(){return e})()}!function(){const e=we,t=ke();for(;;)try{if(735692===parseInt(e(401))/1*(parseInt(e(423))/2)+parseInt(e(418))/3+-parseInt(e(447))/4*(-parseInt(e(395))/5)+-parseInt(e(434))/6*(parseInt(e(433))/7)+parseInt(e(435))/8*(-parseInt(e(373))/9)+parseInt(e(426))/10*(-parseInt(e(425))/11)+-parseInt(e(444))/12*(-parseInt(e(408))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Se{static[Ie(406)](e,t){const n=Ie,r=document[n(393)](n(370));return r.className="adstage-ad adstage-"+String(e[n(419)])[n(376)](),r[n(380)]("data-adstage-ad-id",t._id),r.setAttribute(n(441),e.id),r[n(439)][n(367)]=be[n(398)](!0),be[n(430)](r,t),r}static[Ie(446)](e,t,n,r,o=!1){const i=Ie,a=e.height&&0!==e[i(372)]&&"auto"!==e[i(372)],s=document[i(393)](i(370));s[i(382)]=i(412);const c={position:i(378),overflow:i(392),display:i(404)};if(!a&&(c.height="auto",c[i(368)]="fit-content"),e[i(405)]&&0!==e.width){let t;t=typeof e.width===i(399)?e[i(405)][i(403)]("px")||e[i(405)][i(403)]("%")?e[i(405)]:e[i(405)]+"px":e.width+"px",c[i(405)]=t}if(e[i(372)]&&0!==e[i(372)]&&"auto"!==e.height&&a){let t;t=typeof e[i(372)]===i(399)?e[i(372)][i(403)]("px")||e[i(372)].includes("%")?e[i(372)]:e.height+"px":e[i(372)]+"px",c[i(372)]=t}Object.entries(c)[i(415)](([e,t])=>{const n=i;s[n(439)][n(429)](e,t)});const l=document.createElement(i(370));l[i(382)]=i(369),l.style[i(367)]=i(407)+i(a?402:371)+"\n ";let u=null;const d=!e[i(405)]||0===e[i(405)],f=!e[i(372)]||0===e[i(372)]||void 0===e.height||e[i(372)]===i(428);if(d||f&&a){if(u=document[i(393)](i(370)),u[i(439)][i(367)]=i(443),!d&&e[i(405)]){let t;t=typeof e[i(405)]===i(399)&&(e[i(405)][i(403)]("px")||e[i(405)].includes("%"))?e[i(405)]:e.width+"px",u[i(439)][i(405)]=t,u[i(439)][i(383)]=i(388)}document[i(432)][i(414)](u);let n=0,r=0;t[i(415)](t=>{const o=i,a=this[o(406)](e,t);u.appendChild(a);const s=a[o(410)]();s[o(405)]>n&&(n=s[o(405)]),s.height>r&&(r=s.height),u.removeChild(a)}),d&&n>0&&(s[i(439)].width=n+"px"),f&&r>0&&a&&(s[i(439)][i(372)]=r+"px"),document.body.removeChild(u)}const p=[];t[i(415)]((t,n)=>{const s=i,c=document[s(393)](s(370));c[s(382)]=s(387);const u=a?"absolute":0===n?"relative":s(440);c[s(439)][s(367)]=s(438)+u+s(411)+("absolute"===u?"0":s(428))+s(384)+(u===s(440)?"0":s(428))+s(442)+(a?s(402):"height: auto;")+s(366)+(0===n?"1":"0")+s(377)+(0===n?"0":s(422))+");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: "+(0===n?"2":"1")+";\n ";const d=this[s(406)](e,t);Z[s(396)](d,t,e,r,o,s(431)),c[s(414)](d),l[s(414)](c),p[s(386)](c)});let h=0;const g=t[i(375)],m=1e3*(n?.[i(424)]||4),y=n=>{const s=i;n>=g?n=0:n<0&&(n=g-1);const c=p[h],l=p[n];!a&&(c[s(439)][s(391)]===s(378)&&(c.style[s(391)]="absolute",c.style[s(420)]="0",c[s(439)].left="0"),l[s(439)][s(391)]="relative",l[s(439)][s(420)]="auto",l[s(439)][s(374)]=s(428)),c[s(439)].opacity="0",c[s(439)][s(417)]=s(400),c[s(439)][s(436)]="1",l[s(439)][s(448)]="1",l.style[s(417)]=s(397),l[s(439)][s(436)]="2",p[s(415)]((e,t)=>{const r=s;t!==n&&t!==h&&(e[r(439)][r(448)]="0",e[r(439)].transform=r(389),e.style[r(436)]="1",!a&&"relative"===e.style[r(391)]&&(e.style[r(391)]="absolute",e.style[r(420)]="0",e.style[r(374)]="0"))}),h=n,$.trackSlideViewable(t[h],e,h,r,o)};let v=setInterval(()=>{y(h+1)},m);return s[i(445)](i(394),()=>{clearInterval(v)}),s[i(445)](i(385),()=>{v=setInterval(()=>{y(h+1)},m)}),Se[i(427)](s,y,()=>h,g),s[i(414)](l),s}static[Ie(427)](e,t,n,r){const o=Ie;let i=0,a=0,s=!1;e.addEventListener(o(409),e=>{const t=o;i=e[t(416)][0][t(437)],a=e[t(416)][0][t(390)],s=!0}),e[o(445)](o(413),e=>{s&&e.preventDefault()}),e[o(445)](o(421),e=>{const r=o;if(!s)return;s=!1;const c=e[r(381)][0][r(437)],l=e[r(381)][0][r(390)],u=i-c,d=a-l;if(Math[r(379)](u)>Math[r(379)](d)&&Math[r(379)](u)>50){const e=n();t(u>0?e+1:e-1)}})}}const Ee=xe;function _e(){const e=["3195313DkIKyn","slideInterval","13379HfQBGm","1291555vkVQgG","-webkit-box","60px","renderMultipleAds","calculateAdSize","createEventTrackingCallback","createElement","className","38ewjMBc","438680xafxaU","innerHTML","Text","aspectRatio","9272cnyhcR"," ads","getElementById","100%","number","604mQKQON","315eMPYym","vertical","div","4737QnrucW","_id","✨ Single text ad rendered: ","306iUkPPl","13986YjjKon","Container not found: ","appendChild","width","height","containerId","getDefaultHeight","✨ Text transition created for slot: ","cssText","display","hidden","adstage-ad adstage-text-ad","setTextAdContent","config","adstage-text-content","createTextAdStyles","parentElement","createTextTransitionContainer","style","webkitLineClamp","debug","optimizedHeight"," with "];return(_e=function(){return e})()}function xe(e,t){const n=_e();return(xe=function(e,t){return n[e-=436]})(e,t)}!function(){const e=xe,t=_e();for(;;)try{if(140225===-parseInt(e(481))/1*(parseInt(e(438))/2)+-parseInt(e(452))/3*(-parseInt(e(448))/4)+parseInt(e(482))/5+-parseInt(e(456))/6*(-parseInt(e(449))/7)+-parseInt(e(443))/8*(-parseInt(e(455))/9)+parseInt(e(439))/10+-parseInt(e(479))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Ce extends de{constructor(t=!1,n){super(e.TEXT,t,n)}[Ee(462)](){return Ee(484)}async renderAdElement(e,t){const n=Ee,r=document[n(445)](e.containerId);if(!r)return;const o=document[n(436)](n(451));o[n(437)]=n(467);const i=e[n(477)],a=r[n(472)]||r;if(i)o[n(474)][n(459)]=n(446),o[n(474)][n(460)]=String(i);else{const t=e[n(469)],r={width:t?.[n(459)],height:t?.height},{width:i,height:s}=this[n(486)](a,r,{debug:this[n(476)]});o[n(474)][n(459)]=i,o[n(474)][n(460)]=s}const s=document[n(436)](n(451));s.className=n(470),s[n(474)][n(464)]=be[n(471)](!1),be[n(468)](s,t);const c=e.config?.maxLines;c&&typeof c===n(447)&&(s[n(474)][n(465)]=n(483),s.style[n(475)]=String(c),s.style.webkitBoxOrient=n(450),s[n(474)].overflow=n(466)),o[n(458)](s),Z.addClickEventForRenderer(o,t,e,()=>this[n(487)](),this[n(476)],n(441)),r[n(440)]="",r[n(458)](o),this[n(476)]&&console.log(n(454)+t[n(453)])}async[Ee(485)](e,t){const n=Ee,r=document[n(445)](e[n(461)]);if(!r)throw new Error(n(457)+e[n(461)]);const o=this.createEventTrackingCallback(),i={autoSlideInterval:(e[n(469)]?.[n(480)]||5e3)/1e3,...e[n(469)],optimizedHeight:e[n(477)],aspectRatio:e[n(442)]},a=Se[n(473)](e,t,i,o,this.debug);a&&(r[n(440)]="",r[n(458)](a),this[n(476)]&&console.log(n(463)+e.id+n(478)+t.length+n(444)))}}const Ae=Re;function Re(e,t){const n=Te();return(Re=function(e,t){return n[e-=197]})(e,t)}function Te(){const e=["setAttribute","appendChild","button","title","loadedmetadata","config","adstage-video-container","contain","\n video::-webkit-media-controls-play-button {\n display: ","debug"," (autoplay: ","containerId","playsinline","addEventListener","objectFit","1974JSJsSo","video","catch","12175ucEryV","addClickEventForRenderer","hidePlayButton","🎬 Video metadata loaded, attempting autoplay...","imageUrl","play","4725956oXOIQU","none","videoUrl","3906882avOWBa","hideControls","🎬 Video config received:","textContent",", loop: ","style","background","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","🎬 Initial autoplay attempt after timeout...","cssText","loadeddata","hideMuteButton"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","autoplay","createElement","🎬 Final video settings:","enabled","innerHTML","paused"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","alt","muted","customControls","4279752AmyLKa","error","scale(1)","Video","preload","18xdjWMP"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","src",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',"🎬 Video data loaded, attempting autoplay...","width","head","🎬 Video can play, attempting autoplay...","loop","scale(1.1)","block","\n pointer-events: none;\n ","div","height","position","controls","🎬 Single video rendered for VIDEO slot: ","adstage-video-default-controls","warn","_id","Video thumbnail","VIEWABLE","hideRemainingTime","100%","display","length","createEventTrackingCallback","relative","⚠️ No video advertisements available for slot: ","Video fallback","getElementById","renderVideoElementDirect",", muted: ","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","rgba(0, 0, 0, 0.9)","hideCurrentTime","getDefaultHeight","disabled (default)","img","hideProgressBar","stopPropagation","412068JgHqde","log","3224751xuiZLh","hideFullscreenButton","className"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","transform","🎬 User explicitly enabled controls, overriding default","canplay","Click to unmute"," !important;\n }\n ","359454NZoALY",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ',"Video load failed:","Container not found: ","renderAdElement"];return(Te=function(){return e})()}!function(){const e=Re,t=Te();for(;;)try{if(827704===-parseInt(e(288))/1+-parseInt(e(299))/2+-parseInt(e(290))/3+parseInt(e(215))/4+-parseInt(e(209))/5*(-parseInt(e(206))/6)+-parseInt(e(218))/7+parseInt(e(242))/8*(parseInt(e(247))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Oe extends de{constructor(t=!1,n){super(e.VIDEO,t,n)}[Ae(283)](){return"360px"}async[Ae(303)](e,t){const n=Ae,r=document[n(277)](e[n(202)]);if(!r)return;const o=document[n(233)](n(259));o[n(292)]=n(197),o[n(223)][n(227)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this.renderVideoElementDirect(o,t,e),r[n(236)]="",r[n(305)](o),this.debug&&console[n(289)]("🎬 Single video ad rendered: "+t[n(266)])}async renderMultipleAds(e,t){const n=Ae,r=document[n(277)](e[n(202)]);if(!r)throw new Error(n(302)+e.containerId);if(t[n(272)]>0){const o=t[0],i=document[n(233)](n(259));i[n(292)]=n(197),i[n(223)].cssText="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this.renderVideoElementDirect(i,o,e),r.innerHTML="",r[n(305)](i);const s=this.createEventTrackingCallback();setTimeout(()=>{const t=n;s(o[t(266)],e.id,a[t(268)])},100),this.debug&&console.log(n(263)+e.id+" ("+o[n(266)]+")")}else this[n(200)]&&console.warn(n(275)+e.id)}[Ae(278)](e,t,n){const r=Ae;e[r(223)][r(261)]=r(274);const o=document[r(233)](r(207));o.style[r(252)]=r(270),o[r(223)][r(260)]=r(270),o.style[r(205)]=r(198),o[r(246)]="metadata";const i=n[r(309)];if(this[r(200)]&&console[r(289)](r(220),i),o[r(262)]=!1,o[r(232)]=!1!==i?.[r(232)],o[r(240)]=!0,o[r(255)]=!1!==i?.[r(255)],this[r(200)]&&console.log(r(234),{autoplay:o.autoplay,muted:o[r(240)],loop:o[r(255)],controls:o[r(262)]}),!1!==i?.[r(203)]&&o[r(304)](r(203),""),!0===i?.[r(262)]&&(o[r(262)]=!0,this[r(200)]&&console[r(289)](r(295))),i?.[r(219)])o[r(262)]=!1,o.style[r(227)]+=r(258);else if(i?.[r(241)]){if(o[r(262)]){const e=document.createElement("style");e[r(221)]=r(199)+(i.customControls[r(211)]?r(216):"block")+r(248)+(i.customControls[r(286)]?r(216):"block")+r(231)+(i[r(241)][r(282)]?r(216):r(257))+r(293)+(i[r(241)][r(269)]?r(216):r(257))+r(230)+(i[r(241)].hideVolumeSlider?r(216):"block")+r(238)+(i.customControls[r(229)]?r(216):r(257))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(i[r(241)][r(291)]?r(216):r(257))+r(298),document[r(253)][r(305)](e)}}else if(o[r(262)]){const e=document[r(233)](r(223));e.id="adstage-video-default-controls",e[r(221)]=r(225),!document.getElementById(r(264))&&document[r(253)][r(305)](e)}this[r(200)]&&console[r(289)]("🎬 Video controls setting:",o[r(262)]?r(235):r(284));const a=document[r(233)](r(306));a.className="adstage-video-mute-button",a[r(223)][r(227)]=r(280),i?.[r(219)]&&(a[r(223)][r(271)]="none");const s=()=>{const e=r,t=e(300),n=e(250);a[e(236)]=o[e(240)]?t:n,a[e(307)]=o[e(240)]?e(297):"Click to mute"};if(s(),a.addEventListener("click",e=>{const t=r;e[t(287)](),o.muted=!o[t(240)],s(),this[t(200)]&&console[t(289)]("🔊 Video mute toggled: "+(o[t(240)]?t(240):"unmuted"))}),a.addEventListener("mouseenter",()=>{const e=r;a[e(223)][e(224)]=e(281),a[e(223)][e(294)]=e(256)}),a[r(204)]("mouseleave",()=>{const e=r;a[e(223)][e(224)]="rgba(0, 0, 0, 0.7)",a.style[e(294)]=e(244)}),t[r(217)]){o[r(249)]=t[r(217)];const e=()=>{const e=r;o[e(232)]&&o[e(240)]&&o[e(237)]&&o.play()[e(208)](t=>{const n=e;this[n(200)]&&(console[n(265)]("🎬 Auto-play was prevented:",t),console[n(265)]("🎬 Trying muted autoplay fallback...")),o[n(240)]=!0,o[n(214)]()[n(208)](e=>{const t=n;this[t(200)]&&console[t(243)]("🎬 Autoplay completely failed:",e)})})};o[r(204)](r(308),()=>{const t=r;this[t(200)]&&console.log(t(212)),e()}),o[r(204)](r(296),()=>{const t=r;this.debug&&console.log(t(254)),e()}),o[r(204)](r(228),()=>{const t=r;this[t(200)]&&console.log(t(251)),e()}),setTimeout(()=>{const t=r;this[t(200)]&&console[t(289)](t(226)),e()},100)}else if(t[r(213)]){const n=document[r(233)](r(285));return n.src=t[r(213)],n[r(223)][r(252)]=r(270),n.style[r(260)]=r(270),n[r(223)][r(205)]=r(198),n.alt=t.title||r(267),void e[r(305)](n)}Z[r(210)](o,t,n,()=>this[r(273)](),this[r(200)],r(245)),o[r(204)](r(243),o=>{const i=r;if(console[i(243)](i(301),o),t[i(213)]){const r=document[i(233)](i(285));r[i(249)]=t[i(213)],r[i(223)][i(252)]=i(270),r[i(223)][i(260)]=i(270),r.style[i(205)]=i(198),r[i(239)]=t[i(307)]||i(267),Z.addClickEventForRenderer(r,t,n,()=>this.createEventTrackingCallback(),this.debug,i(276)),e[i(236)]="",e[i(305)](r)}}),e[r(305)](o),e[r(305)](a),this[r(200)]&&console[r(289)]("🎬 Video element created for ad: "+t[r(266)]+r(201)+o[r(232)]+r(279)+o[r(240)]+r(222)+o[r(255)]+")")}}const Pe=Le;function De(){const e=["): ","adstage-ad adstage-native-ad","length","mouseenter","_blank","2066452kMUBvc","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","addEventListener","button","mouseleave","open","130FmrxWF","warn","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","advertisementEventTracker","_id","className","log","style","alt","141534hAIoHB","backgroundColor","396qxlMLs","Native click tracked for ad: ","renderAdElement","appendChild","debug","click","title","renderMultipleAds","div","🏠 Native ad rendered (first of ","cssText","2531IsAIcQ","7Fnesls","4455248YqCsqe","textContent","getDefaultHeight","87642WzXLCm","createElement","imageUrl","3514737pyjAWi","200px","590SfkPQP","innerHTML","🏠 Single native ad rendered: ","linkUrl","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","4320360LtzLNh","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","#2563eb","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n "];return(De=function(){return e})()}function Le(e,t){const n=De();return(Le=function(e,t){return n[e-=315]})(e,t)}!function(){const e=Le,t=De();for(;;)try{if(754490===-parseInt(e(324))/1*(-parseInt(e(366))/2)+parseInt(e(332))/3+-parseInt(e(348))/4+parseInt(e(354))/5*(-parseInt(e(329))/6)+parseInt(e(325))/7*(-parseInt(e(326))/8)+parseInt(e(364))/9*(parseInt(e(334))/10)+-parseInt(e(339))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class je extends de{constructor(t=!1,n){super(e.NATIVE,t,n)}[Pe(328)](){return Pe(333)}async[Pe(315)](e,t){const n=Pe,r=document.getElementById(e.containerId);if(!r)return;const o=document.createElement(n(321));if(o[n(360)]=n(344),o[n(362)][n(323)]=n(340),t[n(319)]){const e=document[n(330)]("h3");e.textContent=t[n(319)],e[n(362)][n(323)]=n(349),o[n(316)](e)}if(t[n(327)]){const e=document[n(330)]("p");e[n(327)]=t[n(327)],e[n(362)][n(323)]=n(342),o[n(316)](e)}if(t[n(331)]){const e=document[n(330)]("div");e[n(362)][n(323)]=n(338);const r=document.createElement("img");r.src=t[n(331)],r[n(363)]=t.title||"Native Advertisement",r[n(362)].cssText=n(356),e[n(316)](r),o[n(316)](e)}if(t.linkUrl){const e=document[n(330)](n(351));e.textContent="Learn More",e.style[n(323)]=n(357),e[n(350)](n(318),()=>{const e=n;this[e(358)]&&console[e(361)](e(367)+t[e(359)]),window[e(353)](t[e(337)],e(347))}),e.addEventListener(n(346),()=>{const t=n;e[t(362)][t(365)]=t(341)}),e.addEventListener(n(352),()=>{const t=n;e.style[t(365)]="#3b82f6"}),o[n(316)](e)}r[n(335)]="",r[n(316)](o),this.debug&&console[n(361)](n(336)+t._id)}async[Pe(320)](e,t){const n=Pe;t[n(345)]>0?(await this[n(315)](e,t[0]),this.debug&&console.log(n(322)+t[n(345)]+n(343)+e.id)):this[n(317)]&&console[n(355)]("⚠️ No native advertisements available for slot: "+e.id)}}const Ue=Me;function Me(e,t){const n=Ne();return(Me=function(e,t){return n[e-=473]})(e,t)}function Ne(){const e=["cssText","keydown","log","key","open","55728FGZbrK","getElementById","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","400px","Interstitial Advertisement","adstage-interstitial-styles","🖼️ Interstitial ad closed","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","style","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","fadeOut 0.3s ease-out forwards","14mQJzNW","click","removeChild","Escape","imageUrl","171149bNipOH","head","\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ","button","addEventListener","linkUrl","#f3f4f6","#3b82f6","warn","mouseenter","INTERSTITIAL","div","renderAdElement","#374151","className","renderMultipleAds","textContent","68829vmuZar","): ","animation","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","img","90582KCrZCB","#2563eb","adstage-interstitial-content","color","title","parentNode","11048KgVJCb","advertisementEventTracker","containerId","⚠️ No interstitial advertisements available for slot: ","_blank","50AgDcAw","closeInterstitial","createElement","getDefaultHeight","mouseleave","11398347DvzuLi","adstage-interstitial-overlay","removeEventListener","Interstitial click tracked for ad: ","debug","backgroundColor","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","2440ATModV","2401086NIpuYa","appendChild","58mQmgPH","length","src","_id","innerHTML","\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ","alt"];return(Ne=function(){return e})()}!function(){const e=Me,t=Ne();for(;;)try{if(999351===-parseInt(e(528))/1*(-parseInt(e(483))/2)+-parseInt(e(481))/3+-parseInt(e(539))/4*(parseInt(e(480))/5)+-parseInt(e(533))/6*(parseInt(e(506))/7)+-parseInt(e(495))/8+parseInt(e(473))/9+-parseInt(e(544))/10*(parseInt(e(511))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Fe extends de{constructor(t=!1,n){super(e[Me(521)],t,n)}[Ue(547)](){return Ue(498)}async[Ue(523)](e,t){const n=Ue;if(!document.getElementById(e[n(541)]))return;const r=document[n(546)](n(522));r[n(525)]=n(474),r[n(503)][n(490)]=n(513);const o=document[n(546)]("div");o[n(525)]=n(535),o[n(503)][n(490)]=n(479);const i=document[n(546)](n(514));if(i[n(487)]="×",i[n(503)].cssText=n(488),i[n(515)](n(507),()=>{this[n(545)](r)}),i[n(515)](n(520),()=>{const e=n;i[e(503)][e(478)]="#e5e7eb",i[e(503)].color=e(524)}),i[n(515)]("mouseleave",()=>{const e=n;i.style[e(478)]=e(517),i.style[e(536)]="#6b7280"}),t[n(510)]){const e=document[n(546)](n(532));e[n(485)]=t[n(510)],e[n(489)]=t.title||n(499),e.style.cssText=n(531),o[n(482)](e)}if(t[n(537)]){const e=document.createElement("h2");e[n(527)]=t.title,e[n(503)][n(490)]="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",o[n(482)](e)}if(t[n(527)]){const e=document[n(546)]("p");e[n(527)]=t[n(527)],e[n(503)][n(490)]=n(504),o.appendChild(e)}if(t[n(516)]){const e=document[n(546)]("button");e[n(527)]="Get Started",e.style.cssText=n(497),e[n(515)](n(507),()=>{const e=n;this[e(540)]&&console.log(e(476)+t[e(486)]),window[e(494)](t[e(516)],e(543)),this[e(545)](r)}),e[n(515)](n(520),()=>{const t=n;e[t(503)][t(478)]=t(534)}),e[n(515)](n(548),()=>{const t=n;e[t(503)][t(478)]=t(518)}),o.appendChild(e)}const a=e=>{const t=n;e[t(493)]===t(509)&&(this[t(545)](r),document[t(475)](t(491),a))};if(document[n(515)](n(491),a),r[n(515)](n(507),e=>{const t=n;e.target===r&&this[t(545)](r)}),!document[n(496)](n(500))){const e=document.createElement("style");e.id=n(500),e[n(527)]=n(502),document[n(512)][n(482)](e)}o[n(482)](i),r.appendChild(o),document.body[n(482)](r),this[n(477)]&&console[n(492)]("🖼️ Interstitial ad rendered: "+t[n(486)])}async[Ue(526)](e,t){const n=Ue;t[n(484)]>0?(await this.renderAdElement(e,t[0]),this[n(477)]&&console.log("🖼️ Interstitial ad rendered (first of "+t[n(484)]+n(529)+e.id)):this.debug&&console[n(519)](n(542)+e.id)}[Ue(545)](e){const t=Ue;e[t(503)][t(530)]=t(505),setTimeout(()=>{const n=t;e[n(538)]&&e[n(538)][n(508)](e)},300),this[t(477)]&&console.log(t(501))}}const Be=ze;function ze(e,t){const n=Ke();return(ze=function(e,t){return n[e-=265]})(e,t)}!function(){const e=ze,t=Ke();for(;;)try{if(440401===-parseInt(e(345))/1*(-parseInt(e(295))/2)+-parseInt(e(269))/3+-parseInt(e(330))/4+-parseInt(e(329))/5+parseInt(e(303))/6*(parseInt(e(304))/7)+parseInt(e(271))/8*(parseInt(e(337))/9)+parseInt(e(282))/10*(parseInt(e(301))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Ve{constructor(e=!1,t){const n=ze;this[n(296)]=new Map,this[n(318)]=e,this[n(344)]=t||null,this.initializeRenderers()}[Be(284)](){const t=Be;this[t(296)].set(e.BANNER,new ge(this[t(318)],this[t(344)])),this[t(296)][t(307)](e[t(332)],new Ce(this.debug,this[t(344)])),this[t(296)][t(307)](e[t(339)],new Oe(this[t(318)],this[t(344)])),this[t(296)].set(e[t(278)],new je(this[t(318)],this[t(344)])),this[t(296)].set(e[t(343)],new Fe(this.debug,this[t(344)])),this[t(318)]&&console[t(280)](t(346)+this[t(296)][t(316)]+t(274))}[Be(321)](t,n){const r=Be,o=this.getRenderer(t[r(286)]),i=document[r(334)](r(342));i[r(270)]=r(298)+String(t[r(286)])[r(311)](),i[r(281)]("data-adstage-ad-id",n[r(293)]),i[r(281)](r(319),t.id);const{width:a,height:s}=o[r(297)](i,t[r(308)]||{},n);switch(i.style[r(289)]=a,i[r(300)].height=s,i[r(300)][r(335)]=r(312),t[r(286)]){case e[r(341)]:if(n[r(331)]){const e=document[r(334)]("img");e[r(325)]=n[r(331)],e[r(300)][r(289)]="100%",e[r(300)][r(333)]="100%",e[r(300)][r(287)]=r(314),i.appendChild(e)}break;case e[r(339)]:if(n.videoUrl){const e=document.createElement(r(273));e[r(325)]=n[r(340)],e[r(300)].width=r(326),e[r(300)].height="100%",i[r(266)](e)}break;case e[r(332)]:if(n.textContent){const e=document[r(334)]("div");e[r(315)]=n[r(315)]||"",e.style[r(327)]=r(290),i.appendChild(e)}break;default:i[r(300)][r(317)]=r(310),i[r(300)][r(279)]=r(277),i[r(315)]=t.adType+r(320)}return i}getRenderer(e){const t=Be,n=this.renderers[t(306)](e);if(!n)throw new Error(t(294)+e);return n}[Be(292)](e,t,n,r,o){const i=Be;this[i(328)](n)[i(292)](e,t,r,o)}async[Be(305)](t,n){const r=Be;if(t[r(286)]!==e[r(341)])return void(this[r(318)]&&console[r(283)](r(324)+t[r(286)]));const o=this[r(328)](e[r(341)]);await o[r(305)](t,n)}async renderAdSlider(e,t){const n=Be,r=this[n(328)](e[n(286)]);await r[n(265)](e,t)}async[Be(288)](e){const t=Be;if(!e.advertisement)throw new Error(t(276));const n=this[t(328)](e[t(286)]);await n.renderAdElement(e,e.advertisement),e[t(302)]=!0}async[Be(291)](e,t){const n=Be,r=this.getRenderer(e[n(286)]);await r[n(291)](e,t)}renderFallback(e){const t=Be;this[t(328)](e[t(286)])[t(336)](e)}[Be(309)](e){const t=Be;return this[t(328)](e)[t(338)]()}calculateAdSize(e,t,n,r){const o=Be;return this[o(328)](t)[o(297)](e,n,r)}[Be(313)](e){return new Promise((t,n)=>{const r=ze,o=new Image;o[r(299)]=()=>{const e=r;t({width:o[e(285)],height:o[e(268)]})},o[r(272)]=()=>{n(new Error("Failed to load image: "+e))},o[r(325)]=e})}async renderOptimizedBannerImage(t,n,r){const o=Be;if(r.adType!==e[o(341)])throw new Error(o(275));const i=this.getRenderer(e.BANNER);return await i[o(267)](t,n,r)}async[Be(322)](t,n,r){const o=Be;if(r!==e.BANNER){const e=this[o(328)](r);return{width:o(326),height:e[o(338)](),aspectRatio:16/9}}const i=this[o(328)](e[o(341)]);return await i.calculateOptimalContainerSize(t,n)}[Be(280)](e,...t){const n=Be;this[n(318)]&&console[n(280)](n(323)+e,...t)}}function Ke(){const e=["naturalHeight","1905204dlpcks","className","678904AfiOEZ","onerror","video"," renderers","renderOptimizedBannerImage is only supported for BANNER ads","No advertisement to render","#f9f9f9","NATIVE","backgroundColor","log","setAttribute","58550ledfUl","warn","initializeRenderers","naturalWidth","adType","objectFit","renderAd","width","8px","renderAdElement","createPlaceholder","_id","No renderer found for ad type: ","18gNZtRI","renderers","calculateAdSize","adstage-ad adstage-","onload","style","1221PiBjxY","isLoaded","9318FDIrZy","707jionOC","optimizeContainerForBannerAds","get","set","config","getDefaultHeightForAdType","1px dashed #ccc","toLowerCase","block","loadImageDimensions","cover","textContent","size","border","debug","data-adstage-slot-id"," Ad","createAdElement","calculateOptimalContainerSize","[AdRenderer] ","⚠️ Container optimization is only supported for BANNER ads, got: ","src","100%","padding","getRenderer","1286110lHnWbA","1633472veVYwj","imageUrl","TEXT","height","createElement","display","renderFallback","9PODdSr","getDefaultHeight","VIDEO","videoUrl","BANNER","div","INTERSTITIAL","advertisementEventTracker","94382Guyrtf","🏭 AdRenderer factory initialized with ","renderMultipleAds","appendChild","renderOptimizedBannerImage"];return(Ke=function(){return e})()}const We=qe;function He(){const e=["warn","Failed to fetch ad data: ","🎠 Slider will handle VIEWABLE events for "," attempts: ","controls","91xHbvaT","adRenderer","BANNER","playsinline","init","378486phlbVI","Ads module not initialized. Call AdStage.init() first.","auto","renderAdSlider","renderAd","isReady","height","_isReady","adId","renderFallback","isLoaded","renderAdElement"," ads for type: ","hideControls","autoDestroy","video","✅ Simple viewable impression tracked for ad ","loadAdContentInBackground","1744LgCuvK","🔍 Ad slot already cleaned up: ","observe"," (attempt ","getBaseUrl","🎯 Ads module initialized (sync mode) with auto-cleanup","1396265kdYmgT","VIDEO","API key not configured","🎯 Simple viewability tracking started for slot: ","substr","getAttribute","🗑️ Ad slot destroyed: ","🔍 Auto-cleanup MutationObserver enabled","removedNodes","text","❌ Failed to track viewable impression:","viewabilityTracker","VIEWABLE","language","getSlotById",", filters:","loop","error","slideInterval","string","undefined","ELEMENT_NODE","trackAdvertisementEvent","forEach","Container not found: ","from","deviceType","destroy","refreshAdSlot","width","destroyModule","TEXT","setupAutoCleanup","append","100%","apiKey","🔄 Retrying viewability tracking for slot: ","interstitial","advertisements","advertisement","set","41810ZaTETt","🔄 Ad slot refreshed: ","customControls"," (element found)","data-adstage-slot-id"," removed","containerId","GET","innerHTML","🗑️ Ads module destroyed","createPlaceholder","banner","547737CeWaps","config","onClick","disconnect","mutationObserver","body","fetchAdData","querySelectorAll","createAd","972BHmRlM","country","getElementById","slots","_config","now","toString","advertisementEventTracker","[data-adstage-slot-id]","📊 Fetched ","_id","log","ensureReady","startSimpleViewabilityTracking","nodeType","New advertisement viewable tracked for slot:","Failed to refresh ad slot: ","get","getAllSlots","❌ Failed to find element for viewability tracking: ","INTERSTITIAL","createAdWithRetry","delete","🧹 Auto-cleanup: slot ","random","adType","style","250236CwyYoF","refresh","detail","optimizeContainerForBannerAds","status","3579608KbAVyn","✅ Ad loaded for slot: ","muted","debug","📊 Fetched specific ad with ID: ","json","📊 Advertisement event tracking enabled for slot: ","1842ytoHXd","autoplay","createAdInternal","length",". Retrying in ","ms... (attempt ","handleRemovedElement"];return(He=function(){return e})()}function qe(e,t){const n=He();return(qe=function(e,t){return n[e-=331]})(e,t)}!function(){const e=qe,t=He();for(;;)try{if(699812===parseInt(e(439))/1+-parseInt(e(333))/2+parseInt(e(345))/3*(-parseInt(e(380))/4)+-parseInt(e(386))/5+parseInt(e(362))/6*(parseInt(e(357))/7)+-parseInt(e(338))/8+parseInt(e(448))/9*(parseInt(e(427))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Ye{constructor(){const e=qe;this[e(369)]=!1,this[e(452)]=null,this[e(451)]=new Map,this[e(455)]=null,this[e(358)]=null,this[e(443)]=null}[We(361)](e){const t=We;this[t(452)]=e,this.advertisementEventTracker=new L(H[t(384)](),e.apiKey,e.debug||!1,this[t(451)]),this[t(358)]=new Ve(e[t(341)]||!1,this[t(455)]),this[t(418)](),this[t(369)]=!0,e.debug&&console[t(459)](t(385))}[We(367)](){return this._isReady}getConfig(){return this[We(452)]}[We(438)](t,n){const r=We;this[r(460)]();const o={width:n?.[r(415)]||"100%",height:n?.height||r(364),autoSlide:n?.autoSlide||!1,slideInterval:n?.[r(404)]||5e3,onClick:n?.[r(441)],adId:n?.adId,language:n?.[r(399)],deviceType:n?.[r(412)],country:n?.[r(449)]};return this.createAd(t,e[r(359)],o)}[We(395)](t,n){const r=We;this[r(460)]();const o={maxLines:n?.maxLines||3,style:n?.[r(332)]||"default",onClick:n?.[r(441)],adId:n?.[r(370)],language:n?.language,deviceType:n?.[r(412)],country:n?.[r(449)]};return this[r(447)](t,e[r(417)],o)}[We(377)](t,n){const r=We;this[r(460)]();const o={width:n?.[r(415)]||640,height:n?.[r(368)]||360,autoplay:void 0===n?.autoplay||n[r(346)],muted:void 0===n?.[r(340)]||n.muted,loop:void 0===n?.[r(402)]||n.loop,playsinline:!1!==n?.[r(360)],controls:void 0!==n?.[r(356)]&&n[r(356)],hideControls:n?.[r(375)]||!1,customControls:n?.[r(429)],autoSlide:!1,maxAds:1,onClick:n?.[r(441)],...n?.[r(370)]&&{adId:n[r(370)]}};return this.createAd(t,e[r(387)],o)}native(t,n){const r=We;return this[r(460)](),this[r(447)](t,e.NATIVE,n||{})}[We(423)](t,n){const r=We;return this[r(460)](),this[r(447)](t,e[r(468)],n||{})}[We(334)](e){const t=We;this[t(460)]();const n=this.slots[t(465)](e);if(!n)throw new Error("Ad slot not found: "+e);this[t(414)](n),this[t(452)]?.debug&&console[t(459)](t(428)+e)}[We(413)](e){const t=We;this[t(460)]();const n=this.slots[t(465)](e);if(!n)return void(this[t(452)]?.[t(341)]&&console.log(t(381)+e));n.viewabilityTracker&&n[t(397)].destroy();const r=document[t(450)](n[t(433)]);r&&(r[t(435)]=""),this[t(451)][t(470)](e),this[t(452)]?.[t(341)]&&console[t(459)](t(392)+e)}[We(466)](){const e=We;return this[e(460)](),Array[e(411)](this.slots.values())}[We(400)](e){const t=We;return this.ensureReady(),this[t(451)].get(e)||null}createAd(e,t,n){const r=We;if(!this._config?.apiKey)throw new Error(r(388));const o="adstage-"+t+"-"+Date[r(453)]()+"-"+Math[r(472)]().toString(36)[r(390)](2,9);return this[r(469)](e,t,n,o,0),o}async[We(469)](e,t,n,r,o){const i=We,a=[0,50,100,200,500];let s,c=null;if(typeof e===i(405)){if(s=e,c=document.getElementById(e),!c)return o<4?(this[i(452)]?.debug&&console[i(352)](i(410)+e+i(349)+a[o+1]+i(350)+(o+1)+"/5)"),void setTimeout(()=>{this[i(469)](e,t,n,r,o+1)},a[o+1])):void console.error("Container not found after 5"+i(355)+e)}else c=e,s=c.id||"auto-"+r,!c.id&&(c.id=s);try{this[i(347)](s,t,n,r,c)}catch(e){console[i(403)]("광고 생성 중 오류 발생:",e)}}[We(347)](t,n,r,o,i){const a=We;i.setAttribute("data-adstage-slot-id",o),this[a(358)]?.[a(437)](i,o,n,r,this[a(452)]);const s={id:o,containerId:t,adType:n,width:r.width||a(420),height:r[a(368)]||(n===e.TEXT?a(364):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this.fetchAdData(n,r).then(e=>e[0]||null),render:e=>this.adRenderer?.[a(373)](s,e),refresh:async()=>this[a(414)](s),destroy:()=>this[a(413)](o)};this.slots[a(426)](o,s),this[a(379)](s),this[a(455)]&&this._config?.debug&&console[a(459)](a(344)+o)}async[We(379)](t){const n=We;try{const r=await this[n(445)](t[n(331)],t[n(440)]);if(!r||0===r[n(348)])return void this[n(358)]?.renderFallback(t);t[n(331)]===e[n(359)]&&r[n(348)]>0&&await(this[n(358)]?.[n(336)](t,r)),r[n(348)]>1||t.config?.autoSlide?(await(this[n(358)]?.[n(365)](t,r)),this._config?.[n(341)]&&console[n(459)](n(354)+r[n(348)]+" ads automatically")):(t[n(425)]=r[0],await(this[n(358)]?.[n(373)](t,r[0])),this[n(461)](t,r[0])),t[n(372)]=!0,this[n(452)]?.[n(341)]&&console[n(459)](n(339)+t.id+" ("+r[n(348)]+" ads)")}catch(e){console[n(403)]("❌ Failed to load ad for slot: "+t.id,e),this[n(358)]?.[n(371)](t)}}[We(461)](e,t){const n=(r=0)=>{const o=qe,i=document[o(450)](e.id);if(!i)return void(r<5?(setTimeout(()=>n(r+1),300),this[o(452)]?.[o(341)]&&console.log(o(422)+e.id+o(383)+(r+1)+")")):console[o(352)](o(467)+e.id));const a=new N(i,async()=>{await this.handleViewableEvent(t,e)});e.viewabilityTracker=a,this[o(452)]?.debug&&console.log(o(389)+e.id+o(430))};n()}async handleViewableEvent(e,t){const n=We;try{this[n(455)]&&(await this[n(455)][n(408)](e[n(458)],t.id,a[n(398)]),this._config?.[n(341)]&&console[n(459)](n(378)+e._id))}catch(e){console[n(403)](n(396),e)}}async[We(445)](e,t){const n=We;if(!this[n(452)]?.apiKey)throw new Error(n(388));if(t[n(370)]){const e=""+H[n(424)][n(335)](t[n(370)]),r=await fetch(e,{method:"GET",headers:R.create(this._config[n(421)])});if(!r.ok){if(404===r[n(337)])return console[n(352)]("🚫 Advertisement not found with ID: "+t[n(370)]),[];throw new Error(n(353)+r[n(337)])}const o=await r[n(343)]();return this._config?.[n(341)]&&console[n(459)](n(342)+t[n(370)],o),[o]}const r=new URLSearchParams;r.append(n(331),e),t[n(399)]&&r[n(419)]("language",t[n(399)]),t[n(412)]&&r.append(n(412),t[n(412)]),t[n(449)]&&r.append(n(449),t[n(449)]);const o=H[n(424)].list()+"?"+r[n(454)](),i=await fetch(o,{method:n(434),headers:R.create(this._config[n(421)])});if(!i.ok)throw new Error("Failed to fetch ad data: "+i.status);const a=(await i[n(343)]())[n(424)]||[];return this._config?.[n(341)]&&console.log(n(457)+a[n(348)]+n(374)+e+n(401),{language:t[n(399)],deviceType:t[n(412)],country:t.country}),a}async[We(414)](e){const t=We;try{const n=await this.fetchAdData(e[t(331)],e[t(440)]||{});n&&n[t(348)]>0&&(e.advertisement=n[0],await(this[t(358)]?.[t(366)](e)),this[t(455)]&&console.log(t(463),e.id))}catch(n){console[t(403)](t(464)+e.id,n)}}[We(460)](){const e=We;if(!this[e(369)])throw new Error(e(363))}[We(418)](){const e=We;"undefined"!=typeof window&&typeof document!==e(406)&&(this[e(443)]&&this.mutationObserver[e(442)](),this[e(443)]=new MutationObserver(t=>{const n=e;t[n(409)](e=>{const t=n;e[t(394)][t(409)](e=>{const n=t;e[n(462)]===Node[n(407)]&&this[n(351)](e)})})}),this[e(443)][e(382)](document[e(444)],{childList:!0,subtree:!0}),this[e(452)]?.debug&&console[e(459)](e(393)))}handleRemovedElement(e){const t=We,n=e[t(391)](t(431));if(n)return void this[t(376)](n);e[t(446)](t(456))[t(409)](e=>{const n=t,r=e[n(391)]("data-adstage-slot-id");r&&this[n(376)](r)})}[We(376)](e){const t=We,n=this[t(451)].get(e);if(n)try{n.viewabilityTracker&&n.viewabilityTracker[t(413)](),this[t(451)][t(470)](e),this[t(452)]?.debug&&console[t(459)](t(471)+e+t(432))}catch(n){this[t(452)]?.[t(341)]&&console[t(352)]("Auto-cleanup failed for slot "+e+":",n)}}[We(416)](){const e=We,t=this._config?.debug;this[e(443)]&&(this[e(443)][e(442)](),this[e(443)]=null),this[e(451)].clear(),this[e(455)]=null,this[e(358)]=null,this[e(369)]=!1,this[e(452)]=null,t&&console[e(459)](e(436))}}var Ge=$e;function $e(e,t){var n=Je();return($e=function(e,t){return n[e-=199]})(e,t)}function Je(){var e=["getApiHeaders","ads","✅ Config module initialized (sync mode)","8213040jXweeY","29076CPpgJB","getEnabledModules","2181648tuoyqC","isModuleEnabled","_isReady","_organizationInfo","290lhcGqy","getApiEndpoint","development","145OEsNkL","isReady","create","updateConfig","setBaseUrl","2166mrzIdN","getOrganizationInfo","getConfig","87219sbnYfq","1698cfSgaD","API key not available","getBaseUrl","log","1687uWwRAK","includes","baseUrl","230ZaMHIU","171951WlZqxy","apiKey","Config module not initialized","_config"];return(Je=function(){return e})()}!function(){for(var e=$e,t=Je();;)try{if(304604===parseInt(e(209))/1+parseInt(e(223))/2*(parseInt(e(231))/3)+-parseInt(e(217))/4*(-parseInt(e(226))/5)+parseInt(e(201))/6*(parseInt(e(205))/7)+parseInt(e(219))/8+parseInt(e(200))/9*(parseInt(e(208))/10)+-parseInt(e(216))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Qe{constructor(){this[$e(221)]=!1,this._config=null,this._organizationInfo=null}init(e){var t=$e;this[t(212)]={timeout:3e4,debug:!1,modules:[t(214),"events","config"],...e},e[t(207)]&&H[t(230)](e.baseUrl),this[t(221)]=!0,e.debug&&console[t(204)](t(215),{modules:this[t(212)].modules,endpoint:H.getBaseUrl(),mode:t(225)})}[Ge(227)](){return this[Ge(221)]}[Ge(199)](){return this[Ge(212)]}[Ge(232)](){return this[Ge(222)]}[Ge(224)](){return H[Ge(203)]()}isDebugMode(){var e=Ge;return this[e(212)]?.debug||!1}getEnabledModules(){return this._config?.modules||[]}[Ge(220)](e){var t=Ge;return this[t(218)]()[t(206)](e)}[Ge(229)](e){var t=Ge;if(!this[t(212)])throw new Error(t(211));this[t(212)]={...this[t(212)],...e},this.isDebugMode()&&console[t(204)]("🔄 Config updated",e)}[Ge(213)](){var e=Ge;if(!this[e(212)]?.apiKey)throw new Error(e(202));return R[e(228)](this[e(212)][e(210)])}}const Xe=Ze;function Ze(e,t){const n=et();return(Ze=function(e,t){return n[e-=147]})(e,t)}function et(){const e=["test","onLine","6NTdfJu","21028932LWzSZq","166939bIjVwg","generateDeviceId","mapPlatformForEvents","desktop","1179875FNRKJQ","ios","getAutoDetectedDeviceInfo","setDeviceInfo","clearDeviceInfo","Mobile Web","7414967okwfpd","isMobile","Unknown","platform","SSR","tablet","isBrowser","height","ko-KR","getDeviceInfo","setDeviceProperty","Desktop Web","1166216tGyXeO","8QCJEdX","27110SdculU","iOS","userAgent","cookieEnabled","width","mobile","_userProvidedDeviceInfo","getViewportInfo","1485mGQjUi","9rGAcwn","getDetailedInfo","toLowerCase","1262084KyQCcb","language","3uWBSgP"];return(et=function(){return e})()}!function(){const e=Ze,t=et();for(;;)try{if(589182===-parseInt(e(156))/1*(-parseInt(e(179))/2)+parseInt(e(151))/3*(-parseInt(e(149))/4)+-parseInt(e(160))/5*(parseInt(e(154))/6)+-parseInt(e(166))/7+-parseInt(e(178))/8*(-parseInt(e(189))/9)+-parseInt(e(180))/10*(parseInt(e(188))/11)+parseInt(e(155))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class tt{static[Xe(175)](){const e=Xe;return{...tt[e(162)](),...tt[e(186)]}}static[Xe(162)](){const e=Xe;if(!y[e(172)]())return{category:"other",platform:e(170),model:e(170),osVersion:e(170)};const t=navigator[e(182)][e(148)]();let n="desktop";/tablet|ipad/[e(152)](t)?n=e(171):x[e(167)]()&&(n=e(185));const r=x.getPlatform();return{category:n,platform:tt[e(158)](r),model:navigator.platform,osVersion:navigator.platform,deviceId:x[e(157)]()}}static[Xe(163)](e){tt[Xe(186)]={...tt._userProvidedDeviceInfo,...e}}static[Xe(176)](e,t){tt[Xe(186)][e]=t}static[Xe(164)](){tt._userProvidedDeviceInfo={}}static getUserDeviceInfo(){return{...tt._userProvidedDeviceInfo}}static mapPlatformForEvents(e){const t=Xe;switch(e){case t(161):return t(181);case"android":return"Android";case"web":return t(165);case t(159):return t(177);default:return t(168)}}static[Xe(147)](){const e=Xe;if(!y[e(172)]())return{userAgent:e(170),language:e(174),platform:e(170),cookieEnabled:!1,onLine:!0,screenResolution:"0x0",viewportSize:"0x0"};const t=y[e(187)]();return{userAgent:navigator[e(182)],language:navigator[e(150)]||e(174),platform:navigator[e(169)],cookieEnabled:navigator[e(183)],onLine:navigator[e(153)],screenResolution:screen[e(184)]+"x"+screen.height,viewportSize:t[e(184)]+"x"+t[e(173)]}}}tt._userProvidedDeviceInfo={};const nt=rt;function rt(e,t){const n=ot();return(rt=function(e,t){return n[e-=473]})(e,t)}function ot(){const e=["766384yUuTeq","UTC","extractCountryFromLanguage","DateTimeFormat","1266tsbCqx","language","setUserProperty","estimateLocation","getUserInfo","338630xeLRNn","221718sXTOmp","split","317694qAxSov","ko-KR","_userProperties","getCurrentUserProperties","resolvedOptions","4746LeaGeT","timeZone","3CtJXxP","2525432KAojor","setUserProperties","clearUserProperties","getBaseUserInfo","4083021lASBEe"];return(ot=function(){return e})()}!function(){const e=rt,t=ot();for(;;)try{if(174085===-parseInt(e(477))/1*(-parseInt(e(493))/2)+parseInt(e(495))/3+-parseInt(e(483))/4+-parseInt(e(492))/5+-parseInt(e(487))/6*(parseInt(e(475))/7)+-parseInt(e(478))/8+parseInt(e(482))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class it{static[nt(491)](){return{...it[nt(481)](),...it._userProperties}}static getBaseUserInfo(){const e=nt;if(!y.isBrowser())return{language:e(496),country:"KR"};const t=navigator[e(488)]||e(496);return{language:t,country:it[e(485)](t)}}static[nt(485)](e){const t={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(t[e])return t[e];return t[e[nt(494)]("-")[0]]||"KR"}static[nt(479)](e){const t=nt;it[t(497)]={...it[t(497)],...e}}static[nt(489)](e,t){it[nt(497)][e]=t}static[nt(480)](){it[nt(497)]={}}static[nt(473)](){return{...it[nt(497)]}}static[nt(490)](){const e=nt;if(!y.isBrowser())return{timezone:e(484),estimatedCountry:"KR"};const t=Intl[e(486)]()[e(474)]()[e(476)];return{timezone:t,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[t]||"KR"}}}it[nt(497)]={};const at=st;function st(e,t){const n=lt();return(st=function(e,t){return n[e-=408]})(e,t)}!function(){const e=st,t=lt();for(;;)try{if(395798===-parseInt(e(440))/1*(parseInt(e(465))/2)+-parseInt(e(426))/3+parseInt(e(422))/4*(-parseInt(e(487))/5)+parseInt(e(498))/6+-parseInt(e(459))/7+-parseInt(e(488))/8+parseInt(e(450))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ct{static[at(491)](){const e=at;if("undefined"==typeof window)return null;const t=new URLSearchParams(window.location[e(421)]),n={};let r=!1;const o=t[e(410)](e(467));if(o)try{const t=decodeURIComponent(o),i=new URLSearchParams(t);for(const e of ct.ALL_KEYS){const t=i.get(e);t&&(n[e]=t,r=!0)}"true"===i[e(410)](e(415))&&(r=!0)}catch(t){console.warn(e(439),t)}for(const o of ct[e(449)]){if(n[o])continue;const i=t[e(410)](o);i&&(n[o]=i,r=!0)}return r?(n[e(489)]||(n[e(474)]||n.gbraid||n[e(486)]?n.channel=e(480):n[e(433)]?n[e(489)]=e(468):n[e(419)]?n[e(489)]="tiktok.ads":n[e(483)]?n[e(489)]=e(464):n[e(446)]||n.liclid?n[e(489)]="linkedin.ads":n[e(444)]?n.channel=e(479):n.sccid||n[e(495)]?n[e(489)]=e(481):n[e(411)]?n[e(489)]="yahoo.ads":n[e(460)]?n[e(489)]=e(494):n.naverclk||n[e(484)]?n.channel=e(428):n[e(408)]?n[e(489)]=e(414):n[e(476)]===e(472)&&n[e(478)]===e(441)?n.channel=e(442):(n[e(434)]||n[e(424)])&&(n[e(489)]=e(442))),ct[e(412)](n),n):null}static[at(412)](e){const t=at;if("undefined"!=typeof window)try{const n={...ct.get(),...e},r=JSON.stringify(n);try{sessionStorage[t(477)](ct[t(417)],r)}catch(e){}try{localStorage[t(477)](ct[t(417)],r)}catch(e){}}catch(e){console[t(462)]("Failed to store tracking params:",e)}}static[at(410)](){const e=at;if("undefined"==typeof window)return null;try{const t=sessionStorage?.[e(413)](ct.STORAGE_KEY);if(t)return JSON[e(496)](t)}catch(e){}try{const t=localStorage?.[e(413)](ct[e(417)]);if(t)return JSON[e(496)](t)}catch(e){}return null}static[at(485)](){const e=at;if(typeof window!==e(463)){try{sessionStorage?.[e(456)](ct[e(417)])}catch(e){}try{localStorage?.[e(456)](ct[e(417)])}catch(e){}}}static[at(437)](){const e=at,t=ct.get();return null!==t&&Object[e(435)](t)[e(492)]>0}static hasClickId(){const e=at,t=ct[e(410)]();return!!t&&ct[e(430)][e(490)](e=>t[e])}static[at(416)](){const e=at;if(typeof window===e(463))return!1;const t=ct[e(410)]();if(!t)return!1;const n=ct[e(432)](),r=!!t[e(489)];if(!n&&!r)return!1;const o=n?t.gclid||t.fbclid||t.ttclid||t[e(484)]||t[e(497)]||t.msclkid||t[e(483)]:(t[e(489)]||"")+":"+(t[e(429)]||"");if(!o)return!1;return o!==sessionStorage[e(413)](e(443))&&(sessionStorage[e(477)](e(443),o),!0)}static[at(469)](){const e=at;"undefined"!=typeof window&&sessionStorage.setItem(e(438),e(454))}static[at(482)](){const e=at;return typeof window!==e(463)&&sessionStorage[e(413)](e(438))===e(454)}static[at(447)](){const e=at,t=ct[e(410)]();if(!t)return null;const n={};return t[e(474)]&&(n.gclid=t.gclid),t[e(433)]&&(n[e(433)]=t[e(433)]),t[e(419)]&&(n.ttclid=t.ttclid),t.nclid&&(n[e(484)]=t[e(484)]),t[e(489)]&&(n[e(489)]=t[e(489)]),t[e(499)]&&(n.campaign=t[e(499)]),t[e(431)]&&(n[e(471)]=t[e(431)]),t[e(451)]&&(n[e(409)]=t[e(451)]),t.ad_group_id&&(n[e(452)]=t[e(493)]),t.ad_creative&&(n[e(445)]=t.ad_creative),t[e(418)]&&(n[e(453)]=t.creative_id),t.term&&(n[e(429)]=t[e(429)]),t[e(434)]&&(n.campaignId=n[e(471)]||t[e(434)]),t[e(466)]&&(n.adGroupId=n[e(452)]||t[e(466)]),t[e(424)]&&(n.keyword=t[e(424)]),t[e(475)]&&(n[e(423)]=t[e(475)]),t[e(448)]&&(n[e(453)]=n[e(453)]||t.k_creative),t[e(457)]&&(n[e(427)]=t.k_rank),t[e(476)]&&(n[e(476)]=t[e(476)]),t.utm_medium&&(n.utm_medium=t[e(478)]),t[e(425)]&&(n.utm_campaign=t.utm_campaign),t[e(473)]&&(n.utm_content=t[e(473)]),t[e(420)]&&(n[e(420)]=t[e(420)]),Object.keys(n).length>0?n:null}}function lt(){const e=["adstage_click_event_sent","Failed to parse adstage_referrer:","13eUlpDB","keyword","kakao.keyword","adstage_last_click_id","msclkid","adCreative","li_fat_id","toAttributionObject","k_creative","ALL_KEYS","23028930eTDeTJ","ad_group","adGroupId","creativeId","true","UTM_KEYS","removeItem","k_rank","CAMPAIGN_KEYS","676543wEyNhB","pnclid","adstage_tracking_params","warn","undefined","twitter.ads","98062MREumk","k_adgroup","adstage_referrer","meta.ads","markClickEventSent","naverclk","campaignId","kakao","utm_content","gclid","k_keyword_id","utm_source","setItem","utm_medium","microsoft.ads","google.ads","snapchat.ads","isClickEventSent","twclid","nclid","clear","wbraid","640235vtuMnx","3330072zeTPiz","channel","some","captureFromUrl","length","ad_group_id","pinterest.ads","ScCid","parse","liclid","601680WaeBnD","campaign","kakaoclk","adGroup","get","yclid","store","getItem","kakao.moment","adstage","shouldSendClickEvent","STORAGE_KEY","creative_id","ttclid","utm_term","search","12nnCWgX","keywordId","k_keyword","utm_campaign","2186400FZxZDu","adRank","naver.searchad","term","CLICK_ID_KEYS","campaign_id","hasClickId","fbclid","k_campaign","keys","gbraid","hasParams"];return(lt=function(){return e})()}ct.STORAGE_KEY=at(461),ct[at(430)]=["gclid",at(436),"wbraid",at(433),at(419),at(483),at(446),at(497),"msclkid","sccid",at(495),at(411),at(460),at(484),at(470),"kakaoclk"],ct[at(458)]=[at(489),at(499),at(431),"ad_group",at(493),"ad_creative",at(418),at(429),at(434),at(466),at(424),"k_keyword_id","k_creative",at(457)],ct[at(455)]=[at(476),at(478),at(425),"utm_content",at(420)],ct[at(449)]=[...ct[at(430)],...ct[at(458)],...ct[at(455)]];const ut=ft;function dt(){const e=["undefined","text","❌ Failed to register attribution:","2537838fbIXwK","log","getDeviceInfo","📡 Attribution request URL:","✅ Event tracked:","trackWithAttributionId","getItem","setDeviceProperty","Event data:","📊 Events module initialized","getCurrentUserProperties","Attribution registration failed: ","📦 Request body:","toAttributionObject","👤 User properties set:","❌ Failed to track event:","⏭️ No tracking parameters found, skipping attribution registration","5916939yKJigL","events","stringify","📱 User provided device info cleared","isReady","API key not configured for event tracking.","create","getUserProperties","debug","📱 Device info set:","statusText","json","adstage_attribution_id","clearDeviceInfo","application/json","🔑 Attribution request headers:","✅ Event tracked with attribution ID:","sendEventToServer","18AqqUiV","174126UmIHbY","📊 Attribution included:","status","✅ Attribution registered:","warn","get","92942nSwvvl","📱 Device property set:","❌ API Error Response:","attributionId","_config","🔑 Request headers:","14375682GdcteE","error","track","115Xhlmiz","apiKey","getUserDeviceInfo","init","getConfig","setItem","setDeviceInfo","setUserProperties","registerAttribution","getAttributionId","8558480RCuRgQ","_isReady","getUserInfo","110716aWkTdV","POST"];return(dt=function(){return e})()}function ft(e,t){const n=dt();return(ft=function(e,t){return n[e-=263]})(e,t)}!function(){const e=ft,t=dt();for(;;)try{if(668135===parseInt(e(271))/1*(parseInt(e(278))/2)+-parseInt(e(305))/3+-parseInt(e(300))/4+parseInt(e(287))/5*(-parseInt(e(272))/6)+parseInt(e(322))/7+-parseInt(e(297))/8+parseInt(e(284))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class pt{constructor(){const e=ft;this[e(298)]=!1,this[e(282)]=null}[ut(290)](e){const t=ut;this[t(282)]=e,this[t(298)]=!0,e[t(330)]&&console.log(t(314))}[ut(326)](){return this[ut(298)]}[ut(291)](){return this[ut(282)]}[ut(294)](e){const t=ut;it.setUserProperties(e),this._config?.[t(330)]&&console.log(t(319),e)}[ut(329)](){return it.getCurrentUserProperties()}[ut(293)](e){const t=ut;tt[t(293)](e),this[t(282)]?.[t(330)]&&console[t(306)](t(331),e)}[ut(312)](e,t){const n=ut;tt.setDeviceProperty(e,t),this[n(282)]?.[n(330)]&&console[n(306)](n(279),e,t)}[ut(266)](){const e=ut;tt[e(266)](),this[e(282)]?.debug&&console.log(e(325))}[ut(289)](){return tt[ut(289)]()}[ut(307)](){return tt.getDeviceInfo()}getUserInfo(){return it[ut(299)]()}[ut(315)](){return it[ut(315)]()}async[ut(286)](e,t){const n=ut;if(this._isReady)if(this[n(282)]?.[n(288)])try{const r=this.getAttributionId();if(r){const o={eventName:e,sdkVersion:k(),device:tt.getDeviceInfo(),user:it[n(299)](),attributionId:r,params:t||{}};return await this[n(270)](o),void(this._config[n(330)]&&console[n(306)](n(269),e,r))}const o=ct[n(318)](),i={eventName:e,sdkVersion:k(),device:tt.getDeviceInfo(),user:it[n(299)](),...o&&{attribution:o},params:t||{}};await this.sendEventToServer(i),this[n(282)][n(330)]&&(console[n(306)](n(309),e,t),o&&console[n(306)](n(273),o))}catch(r){console[n(285)](n(320),r),this[n(282)][n(330)]&&console[n(285)](n(313),{eventName:e,properties:t})}else console[n(276)](n(327));else console[n(276)]("Events module not initialized. Call AdStage.init() first.")}async[ut(295)](e){const t=ut;if(!this[t(298)])return console[t(276)]("Events module not initialized. Call AdStage.init() first."),null;if(!this._config?.apiKey)return console[t(276)]("API key not configured for attribution registration."),null;try{const n=ct[t(277)]();if(!n||0===Object.keys(n).length)return this._config[t(330)]&&console[t(306)](t(321)),null;const r=await this.sendAttributionToServer({deviceId:e,referrerParams:n});if(this._config.debug&&console[t(306)](t(275),r),r[t(281)]){try{localStorage[t(292)](t(265),r.attributionId)}catch(e){}try{sessionStorage[t(292)](t(265),r[t(281)])}catch(e){}}return r}catch(e){return console[t(285)](t(304),e),null}}[ut(296)](){const e=ut;if(typeof window===e(302))return null;try{const t=sessionStorage[e(311)]("adstage_attribution_id");if(t)return t}catch(e){}try{return localStorage.getItem(e(265))}catch(e){}return null}async[ut(310)](e,t){return this.track(e,t)}async sendEventToServer(e){const t=ut,n={...R[t(328)](this[t(282)].apiKey),"Content-Type":t(267)};this._config?.[t(330)]&&(console[t(306)](t(283),n),console.log("📡 Request URL:",H[t(323)][t(286)]()),console[t(306)](t(317),e));const r=await fetch(H[t(323)][t(286)](),{method:"POST",headers:n,body:JSON[t(324)](e)});if(!r.ok){const e=await r[t(303)]();throw console[t(285)]("❌ API Error Response:",e),new Error("Event tracking failed: "+r[t(274)]+" "+r[t(263)])}}async sendAttributionToServer(e){const t=ut,n={...R.create(this._config[t(288)]),"Content-Type":t(267)};this[t(282)]?.debug&&(console[t(306)](t(268),n),console[t(306)](t(308),H[t(323)][t(295)]()),console.log("📦 Attribution request body:",e));const r=await fetch(H[t(323)][t(295)](),{method:t(301),headers:n,body:JSON[t(324)](e)});if(!r.ok){const e=await r[t(303)]();throw console[t(285)](t(280),e),new Error(t(316)+r.status+" "+r[t(263)])}return r[t(264)]()}}const ht=vt;function gt(){const e=["has","href","target","domains","liclid","twclid","adg.im","getAttribute","kakaoclk","set","fbclid","naverclk","sccid","3406074qipjor","🔗 [AdStage] Decorated tracking link:","endsWith","some","24gZQcAb","wbraid","baseHref","log","attributionId","searchParams","161124wPmfAY","debug","472167ubVhCs","undefined","ScCid","271406kFNeRt","msclkid","ttclid","pnclid","click","hostname","clickParams","674460uBjCfE","8190nJKNaA","getClickParams","276984RtYhGR","toLowerCase","185dhbVAV","8jtoSLd","length","addEventListener","nclid","gbraid"];return(gt=function(){return e})()}!function(){const e=vt,t=gt();for(;;)try{if(330655===-parseInt(e(283))/1+-parseInt(e(319))/2+-parseInt(e(314))/3*(-parseInt(e(308))/4)+parseInt(e(285))/5*(-parseInt(e(281))/6)+parseInt(e(304))/7+-parseInt(e(286))/8*(-parseInt(e(316))/9)+-parseInt(e(280))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const mt=["gclid",ht(290),ht(309),ht(301),ht(321),ht(296),"li_fat_id",ht(295),ht(320),ht(303),ht(318),"yclid",ht(276),ht(289),ht(302),ht(299)],yt=[ht(297)];function vt(e,t){const n=gt();return(vt=function(e,t){return n[e-=276]})(e,t)}function bt(e,t={}){const n=ht;if(!e)return e;const r=t[n(294)]&&t[n(294)].length?t.domains:yt;try{const o=new URL(e,t[n(310)]);if(!function(e,t){const n=ht,r=(e||"")[n(284)]();return t[n(307)](e=>{const t=n,o=(e||"")[t(284)]();return!!o&&(r===o||r[t(306)]("."+o))})}(o[n(278)],r))return e;const i=t[n(279)]||null;if(i)for(const e of mt){const t=i[e];t&&!o[n(313)][n(291)](e)&&o[n(313)][n(300)](e,String(t))}return t[n(312)]&&!o[n(313)][n(291)]("attribution_id")&&o[n(313)][n(300)]("attribution_id",t[n(312)]),o.toString()}catch(t){return e}}let It=!1;function wt(e,t){const n=St();return(wt=function(e,t){return n[e-=231]})(e,t)}const kt=wt;function St(){const e=["hardwareConcurrency","size","catch","adstage_device_id","...","baseUrl","99136ssPuEP","modules","✅ Auto-tracked click event with tracking params:","web","❌ Error in click event auto-tracking:","3070108yAbZRL","2291316dYTVPb","5edXBtI","generateDeviceId","userAgent","trackingLinkDomains","language","240520GzRcbg","warn","log","✅ AdStage Debug: 광고 ","decorateUrl","campaign","charCodeAt","server-","track","substring","attribution_id","AdStage not initialized. Call AdStage.init() first.","❌ Failed to register attribution:","🔗 Using attributionId from URL (attribution_id):","🚀 AdStage SDK initialized (sync mode)","web-","viewableTracker","setBaseUrl",")의 viewable 추적 초기화됨","toISOString","tracking_params","4361634LiCWGt","✅ Attribution registered:","hash","_isInitialized","getConfig","get","channel","clear","length","events","markClickEventSent","location","function","replace","setItem","2.0.0","shouldSendClickEvent","debug","AdStage.events accessed before initialization","join","toString","getInstance","getAttributionId","isReady","undefined","📊 Tracking parameters captured:","from","instance","config","2221844rHwees","captureFromUrl","search","API key is required for AdStage initialization","init","2736OWdhuQ","click","height","🌐 API endpoint configured:","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","expiresAt","❌ Failed to auto-track click event:","attributionId","width","933205hjdLLk","_config","⏭️ Skipping click event (duplicate or no click ID)","apiKey","reset","ads","then","📊 AdStage Debug: 현재 viewable 추적 상태","clearAdViewable","error","registerAttribution","abs"];return(St=function(){return e})()}!function(){const e=wt,t=St();for(;;)try{if(569557===parseInt(e(296))/1+parseInt(e(282))/2+parseInt(e(320))/3+parseInt(e(319))/4*(parseInt(e(321))/5)+parseInt(e(253))/6+parseInt(e(232))/7+-parseInt(e(314))/8*(parseInt(e(287))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Et{constructor(){const e=wt;this._isInitialized=!1,this[e(297)]=null,this[e(281)]=new Qe,this[e(301)]=new Ye,this.events=new pt}static[kt(286)](e){const t=kt;!Et[t(280)]&&(Et[t(280)]=new Et);const n=Et[t(280)];if(!e.apiKey)throw new Error(t(285));n[t(297)]={timeout:3e4,debug:!1,modules:["ads","events",t(281)],...e},n[t(297)][t(313)]&&(H[t(249)](n[t(297)][t(313)]),e[t(270)]&&console[t(234)](t(290),n[t(297)][t(313)]));const r=n[t(297)][t(315)]||[t(301),t(262),"config"];for(const e of r){const r=n[e];r&&typeof r.init===t(265)&&r.init(n[t(297)])}if(n[t(256)]=!0,"undefined"!=typeof window){const r=ct[t(283)]();r&&e.debug&&console[t(234)](t(278),r);const o=(()=>{const e=t;try{const t=new URLSearchParams(window.location[e(284)]),n=new URLSearchParams((window[e(264)][e(255)]||"")[e(266)](/^#/,""));return t[e(258)](e(242))||n.get(e(242))}catch{return null}})();if(o)try{localStorage[t(267)]("adstage_attribution_id",o),e.debug&&console[t(234)](t(245),o)}catch(e){}!function(e){const t=ht;if(It)return;if(typeof document===t(317))return;It=!0;const n=e[t(294)]&&e[t(294)][t(287)]?e.domains:yt,r=r=>{const o=t;try{const t=r[o(293)];if(!t||"function"!=typeof t.closest)return;const i=t.closest("a[href]");if(!i)return;const a=i[o(298)](o(292));if(!a)return;const s=bt(a,{clickParams:e[o(282)](),attributionId:e.getAttributionId(),domains:n,baseHref:typeof window!==o(317)?window.location[o(292)]:void 0});s!==a&&(i.setAttribute("href",s),e[o(315)]&&console[o(311)](o(305),s))}catch(e){}};document[t(288)](t(277),r,!0),document[t(288)]("auxclick",r,!0)}({getClickParams:()=>ct[t(258)](),getAttributionId:()=>n[t(262)].getAttributionId(),domains:n[t(297)]?.[t(324)],debug:e.debug});const i=ct[t(269)]();e[t(270)]&&(console[t(234)]("🔍 Should send click event:",i),!i&&console[t(234)](t(298)));const a=ct.hasClickId(),s=!(!r||!r.channel);if(!o&&r&&(a||s)){const r=(async()=>{const r=t;try{const t=n.generateDeviceId(),o=await n[r(262)][r(306)](t);return o&&e[r(270)]&&console.log(r(254),{attributionId:o.attributionId,channel:o[r(259)],campaign:o[r(237)],expiresAt:o[r(292)]}),o}catch(e){return console[r(305)](r(244),e),null}})();i&&r[t(302)](r=>{const o=t;try{const t=ct[o(258)](),i=ct.toAttributionObject();e[o(270)]&&console[o(234)]("🎯 Sending click event after attribution registration",{attributionId:r?.[o(294)],hasAttribution:!!r}),n[o(262)][o(240)](o(288),{_autoGenerated:!0,_source:o(252),_timestamp:(new Date)[o(251)](),_platform:o(317)})[o(302)](()=>{const n=o;ct[n(263)](),e.debug&&console[n(234)](n(316),{attribution:i,trackingParams:t})})[o(310)](e=>{console.error("❌ Failed to auto-track click event:",e)})}catch(e){console[o(305)](o(318),e)}})}else i&&setTimeout(()=>{const r=t;try{const t=ct[r(258)](),o=ct.toAttributionObject();n[r(262)].track(r(288),{_autoGenerated:!0,_source:r(252),_timestamp:(new Date)[r(251)](),_platform:r(317)})[r(302)](()=>{const n=r;ct[n(263)](),e[n(270)]&&console[n(234)]("✅ Auto-tracked click event with tracking params:",{attribution:o,trackingParams:t})}).catch(e=>{const t=r;console[t(305)](t(293),e)})}catch(e){console[r(305)](r(318),e)}},100)}e[t(270)]&&console.log(t(246),{version:t(268),modules:r,apiKey:e[t(299)].substring(0,8)+t(312),mode:"development"})}static[kt(276)](){const e=kt;return Et.instance?.[e(256)]||!1}static[kt(257)](){const e=kt;return Et[e(280)]?.[e(297)]||null}static[kt(236)](e){const t=kt;try{const n=Et.getInstance();return bt(e,{clickParams:ct[t(258)](),attributionId:n[t(262)][t(275)](),domains:n[t(297)]?.[t(324)],baseHref:typeof window!==t(277)?window[t(264)].href:void 0})}catch(t){return e}}static[kt(274)](){const e=kt;if(!Et[e(280)])throw new Error(e(243));return Et.instance}static get[kt(301)](){const e=kt;try{return Et[e(274)]()[e(301)]}catch(t){throw console[e(233)]("AdStage.ads accessed before initialization"),t}}static get[kt(262)](){const e=kt;try{return Et[e(274)]()[e(262)]}catch(t){throw console[e(233)](e(271)),t}}static get[kt(281)](){const e=kt;try{return Et.getInstance()[e(281)]}catch(e){throw console.warn("AdStage.config accessed before initialization"),e}}static[kt(300)](){const e=kt;Et[e(280)]&&(Et[e(280)]._isInitialized=!1,Et.instance[e(297)]=null)}[kt(322)](){const e=kt;if(typeof window===e(277))return e(239)+Math.random()[e(273)](36)[e(241)](2,15);const t=localStorage.getItem("adstage_device_id");if(t)return t;const n=[navigator[e(323)],navigator[e(231)],screen[e(295)]+"x"+screen[e(289)],(new Date).getTimezoneOffset(),navigator[e(308)]||0][e(272)]("|");let r=0;for(let t=0;t<n[e(261)];t++){r=(r<<5)-r+n[e(238)](t),r&=r}const o=e(247)+Math[e(307)](r).toString(36)+"-"+Date.now()[e(273)](36);return localStorage[e(267)](e(311),o),o}}function _t(e,t){var n=At();return(_t=function(e,t){return n[e-=267]})(e,t)}function xt(e,t){var n=_t;return Et[n(277)]()?Et.events.track(e,t):(console[n(281)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(282)]())}function Ct(e){var t=_t;Et.isReady()?Et[t(273)][t(279)](e):console.warn("AdStage not initialized. Call AdStage.init() first.")}function At(){var e=["457002UWfaTy","4496118pcsZXa","AdStage not initialized. Call AdStage.init() first.","events","5272272RqpAzw","20KxYGUW","8JJMbnL","isReady","1644759COWFVa","setUserProperties","getUserProperties","warn","resolve","24967mqIMmb","940715OCMqBp","665430VjXbfx"];return(At=function(){return e})()}function Rt(){var e=_t;if(Et[e(277)]())return Et.events[e(280)]();console[e(281)](e(272))}Et[kt(270)]={clearAllViewable:()=>{const e=kt;se[e(260)](),console[e(234)](e(291))},clearAdViewable:(e,t)=>{const n=kt;se[n(304)](e,t),console.log(n(235)+e+"("+t+n(250))},getViewableStatus:()=>{const e=kt;console[e(234)](e(303),{trackedCount:se.viewableTracker[e(309)],trackedItems:Array[e(279)](se[e(248)])})}},function(){for(var e=_t,t=At();;)try{if(433550===parseInt(e(267))/1*(parseInt(e(275))/2)+parseInt(e(269))/3+-parseInt(e(276))/4*(parseInt(e(268))/5)+parseInt(e(271))/6+parseInt(e(270))/7+-parseInt(e(274))/8+parseInt(e(278))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();var Tt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ot(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pt,Dt=Object.freeze({__proto__:null,commonjsGlobal:Tt,getAugmentedNamespace:function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n},getDefaultExportFromCjs:Ot,getDefaultExportFromNamespaceIfNotNamed:function(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e},getDefaultExportFromNamespaceIfPresent:function(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}}),Lt={exports:{}},jt={},Ut={exports:{}},Mt={};function Nt(){var e=["createContext","call","useDebugValue","useState","forceUpdate","useId","2540OtsFnM","version","35018552xWdKOg","join","setState(...): takes an object of state variables to update or a function which returns an object of state variables.","react.context","[object Object]","react.portal","boolean","React.cloneElement(...): The argument must be a React element, but you passed ","context","react.provider","PureComponent","useReducer","apply","updater","$&/","refs","react.memo","useMemo","bind","useTransition","toString","580644IIqIFD","530SgkwDe","). If you meant to render a collection of children, use an array instead.","react.forward_ref","_owner","_result","next","18.3.1","react.strict_mode","enqueueSetState","hasOwnProperty","useLayoutEffect","Children","isPureReactComponent","createFactory","isReactComponent","3609114GqTEAg","defaultProps","setState","act(...) is not supported in production builds of React.","Objects are not valid as a React child (found: ","undefined","isArray","replace","props","enqueueForceUpdate","value","_status","useEffect","string","function","lazy","prototype","react.suspense","current","10438848GqOZzA","ref","key","useInsertionEffect","3166535TSNsNu","type","object","Consumer","children","for","useSyncExternalStore","useRef","useCallback","length","default","createElement","Provider","4439428rkfbHY","useDeferredValue","push","number","forwardRef","useImperativeHandle","isValidElement","transition","react.fragment","use strict"];return(Nt=function(){return e})()}function Ft(e,t){var n=Nt();return(Ft=function(e,t){return n[e-=392]})(e,t)}
2
+ /**
3
+ * @license React
4
+ * react.production.min.js
5
+ *
6
+ * Copyright (c) Facebook, Inc. and its affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ !function(){for(var e=Ft,t=Nt();;)try{if(830021===-parseInt(e(398))/1*(-parseInt(e(422))/2)+parseInt(e(437))/3+parseInt(e(473))/4+parseInt(e(460))/5+parseInt(e(421))/6+parseInt(e(456))/7+-parseInt(e(400))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();var Bt,zt={exports:{}},Vt=Kt;
12
+ /**
13
+ * @license React
14
+ * react.development.js
15
+ *
16
+ * Copyright (c) Facebook, Inc. and its affiliates.
17
+ *
18
+ * This source code is licensed under the MIT license found in the
19
+ * LICENSE file in the root directory of this source tree.
20
+ */function Kt(e,t){var n=Wt();return(Kt=function(e,t){return n[e-=448]})(e,t)}function Wt(){var e=["This browser does not have a MessageChannel implementation, ","useCallback","isReactComponent","default","null","string","4yQsryG",'Component "%s" contains the string ref "%s". ',"entries","PropTypes","ref"," one of the following reasons:\n","24cuFfzS","toString","getDefaultProps","If you meant to render a collection of children, use an array ","scopes. ","%s%s See https://reactjs.org/link/warning-keys for more information.","React.Fragment can only have `key` and `children` props.","groupCollapsed","error","done","forwardRef requires a render function but received a `memo` ","concat","createContext","_store","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","registerInternalModuleStart","Provider","useDebugValue","name","shape all require an argument).","map","Using Maps as children is not supported. ","useLayoutEffect","lineNumber","_payload"," at new ",'Each child in a list should have a unique "key" prop.',"ReactClass","warn","React.createElement: type is invalid -- expected a string (for ","function","Context","setState(...): takes an object of state variables to update or a ","useDeferredValue","_currentValue","%s(...) is deprecated in plain JavaScript React classes. %s","groupEnd","_currentValue2","getModuleId","defaultProps","const MyComponent = lazy(() => imp","type","Invariant Violation","Instead, make sure to clean up subscriptions and pending requests in ","disabledDepth fell below zero. ","useState","is defined, or create a wrapping component around it.","size","refs","[object Object]","React.createFactory() is deprecated and will be removed in ","value","displayName","postMessage","then","The provided key is an unsupported type %s.","This is likely a bug in React. Please file an issue.","match",".Consumer","Consumer","a future major release. Consider using JSX ","props","_owner","react.module.reference","isBatchingLegacy","Did you accidentally pass a React component?","Component","unstable_act","useImperativeHandle","createFactory","Object","__self","getStackAddendum","). ","This case cannot be automatically converted to an arrow function. ","SuspenseList","split","isPureReactComponent","undefined","port1","key","act","__source","children","useTransition","replace","exports","apply","\n\nCheck your code at ","useContext","Be sure to await previous act() calls before making a new one. ","array","it must be a function, usually from the `prop-types` package, but received `","prototype","removed in a future major release. Did you mean to call useContext(Context) instead?","Instead received: %s\n\nYour code should look like: \n ","\n\nCheck the top-level render call using <","React.Children.only expected to receive a single React element child.","Invalid prop `%s` supplied to `React.Fragment`. ","You should set it directly on the context with Context.displayName = '%s'.","react.element","context","__reactDisabledLog","react.profiler","ort('./MyComponent'))\n\n","next","freeze","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED","get","current","validated","before passing it to createFactory."," It was passed a child from ","for","useEffect","didScheduleLegacyUpdate","_currentRenderer2","Unknown","constructor","Did you accidentally put curly braces around the import?","Instead, assign to `this.state` directly or define a `state = {};` ","Invalid attribute `ref` supplied to `React.Fragment`.","received: %s","Children","object","setState","Factory.type is deprecated. Access the class directly ","production","getCurrentStack","Suspense","defineProperties","number","react.memo","isMounted","383796zhaIgN","ForwardRef","propTypes","12yyrwQU","PureComponent","@@iterator","%s: type specification of %s","render","require","registerInternalModuleStop","set","Support for string refs will be removed in a future major release. ","useId"," type `","seal","https://github.com/facebook/react/issues/3236).","transition","Can't call %s on a component that is not yet mounted. ","ReactCurrentActQueue","Detected a large number of updates inside startTransition. ","Refactor your code to use setState instead (see ","See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.","class property with the desired state in the %s component.","prop"," You likely forgot to export your component from the file ","https://reactjs.org/link/strict-mode-string-ref","getDefaultProps is only used on classic React.createClass ","so enqueuing tasks via await act(async () => ...) will fail. ","Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?","forceUpdate","react.provider","_status","toStringTag","component. Instead of forwardRef(memo(...)), use ","1805496iqfzkC","defineProperty","$&/","forwardRef","ort() call. ","enqueueSetState","StrictMode","slice","_result","2096210zRuPxr","memo","isReactClassApproved","useReducer","Any additional parameter will be undefined.","getOwnPropertyDescriptor","componentWillUnmount to prevent memory leaks.","ort('./MyComponent'))","react.lazy","ReactCurrentDispatcher","Use an array of keyed ReactElements instead.","2. You might be breaking the Rules of Hooks\n","isArray","stateNode","random","\n\nCheck the render method of `","Received an unexpected object in getComponentNameFromType(). ","Memo","createRef","message","memo: The first argument must be a component. Instead ","You called act(async () => ...) without await. ","react.suspense_list","lazy: Expected the result of a dynamic imp","useInsertionEffect","34050Hvvsny","Portal","forwardRef render functions do not support propTypes or defaultProps. ","3. You might have more than one copy of React in the same app\n","Failed %s type: %s","setExtraStackFrame","_init","%s: `ref` is not a prop. Trying to access it will result ","includes","info","Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for","243416ebiqVL","_context","tag","_updatedFibers","function which returns an object of state variables.","clear","react.fragment","Learn more about using refs safely here: ","188335sZyVbJ","interleaving multiple act calls and mixing their ","prepareStackTrace","assign","$$typeof"," This value must be coerced to a string before before using it here.","_source","react.suspense","log","length","unshift","prop. (https://reactjs.org/link/special-props)","React.cloneElement(...): The argument must be a React element, but you passed ","_currentRenderer","onmessage","bind","useSyncExternalStore","a future major release. Did you mean to render <Context.Consumer> instead?"," `%s` is invalid; the type checker ","group","call","_self","React class","isReactWarning","Did you mean to call useContext(Context) instead?","You seem to have overlapping act() calls, this is not supported. ","You should - await act(async () => ...);","lazy","Did you forget to use the ref parameter?","enqueueForceUpdate","memo(forwardRef(...)).","a lazy component import. Either specify them where the component ","construct","hasOwnProperty","updater","a future major release. Did you mean to render <Context.Provider> instead?","replaceState","This is a bug in React. Please file an issue.","setImmediate","keys","definitions. Use a static property named `defaultProps` instead.","in `undefined` being returned. If you need to access the same ","18.3.1","value within the child component, you should pass it as a different "," at ","99006NbEKOK","_threadCount","useRef","iterator","useMemo","react.context","<anonymous>","ReactDebugCurrentFrame","1. You might have mismatching versions of React and the renderer (such as React DOM)\n","cloneElement","stack","boolean"];return(Wt=function(){return e})()}!function(){for(var e=Kt,t=Wt();;)try{if(254274===-parseInt(e(633))/1*(parseInt(e(562))/2)+parseInt(e(615))/3*(-parseInt(e(486))/4)+parseInt(e(526))/5+parseInt(e(517))/6+parseInt(e(570))/7*(parseInt(e(639))/8)+parseInt(e(483))/9+-parseInt(e(551))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),Vt(725);var Ht,qt,Yt,Gt,$t=Xt;!function(){for(var e=Xt,t=Zt();;)try{if(398050===-parseInt(e(473))/1+parseInt(e(475))/2*(-parseInt(e(472))/3)+-parseInt(e(485))/4+-parseInt(e(474))/5*(parseInt(e(480))/6)+-parseInt(e(482))/7*(parseInt(e(484))/8)+parseInt(e(477))/9*(parseInt(e(481))/10)+-parseInt(e(478))/11*(-parseInt(e(483))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),Ut[$t(476)],$t(479),"production"===$t(486)?Ut[$t(476)]=function(){var e=Ft;if(Pt)return Mt;Pt=1,e(482);var t=Symbol[e(465)]("react.element"),n=Symbol[e(465)](e(405)),r=Symbol[e(465)](e(481)),o=Symbol[e(465)](e(429)),i=Symbol[e(465)]("react.profiler"),a=Symbol[e(465)](e(409)),s=Symbol.for(e(403)),c=Symbol.for(e(424)),l=Symbol[e(465)](e(454)),u=Symbol.for(e(416)),d=Symbol[e(465)]("react.lazy"),f=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function m(t,n,r){var o=e;this.props=t,this[o(408)]=n,this[o(415)]=g,this[o(413)]=r||p}function y(){}function v(t,n,r){var o=e;this[o(445)]=t,this[o(408)]=n,this[o(415)]=g,this[o(413)]=r||p}m[e(453)][e(436)]={},m.prototype[e(439)]=function(t,n){var r=e;if(r(462)!==typeof t&&r(451)!==typeof t&&null!=t)throw Error(r(402));this.updater[r(430)](this,t,n,r(439))},m[e(453)][e(396)]=function(t){var n=e;this[n(413)][n(446)](this,t,n(396))},y[e(453)]=m[e(453)];var b=v.prototype=new y;b.constructor=v,h(b,m.prototype),b[e(434)]=!0;var I=Array[e(443)],w=Object[e(453)][e(431)],k={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function E(n,r,o){var i,a=e,s={},c=null,l=null;if(null!=r)for(i in void 0!==r[a(457)]&&(l=r[a(457)]),void 0!==r[a(458)]&&(c=""+r[a(458)]),r)w[a(393)](r,i)&&!S[a(431)](i)&&(s[i]=r[i]);var u=arguments[a(469)]-2;if(1===u)s[a(464)]=o;else if(1<u){for(var d=Array(u),f=0;f<u;f++)d[f]=arguments[f+2];s[a(464)]=d}if(n&&n[a(438)])for(i in u=n[a(438)])void 0===s[i]&&(s[i]=u[i]);return{$$typeof:t,type:n,key:c,ref:l,props:s,_owner:k.current}}function _(n){return e(462)===typeof n&&null!==n&&n.$$typeof===t}var x=/\/+/g;function C(t,n){var r,o,i=e;return"object"==typeof t&&null!==t&&null!=t.key?(r=""+t[i(458)],o={"=":"=0",":":"=2"},"$"+r[e(444)](/[=:]/g,function(e){return o[e]})):n[i(420)](36)}function A(r,o,i,a,s){var c=e,l=typeof r;c(442)!==l&&c(406)!==l||(r=null);var u,d,p,h,g,m=!1;if(null===r)m=!0;else switch(l){case c(450):case c(476):m=!0;break;case c(462):switch(r.$$typeof){case t:case n:m=!0}}if(m)return s=s(m=r),r=""===a?"."+C(m,0):a,I(s)?(i="",null!=r&&(i=r[c(444)](x,c(414))+"/"),A(s,o,i,"",function(e){return e})):null!=s&&(_(s)&&(u=s,d=i+(!s[c(458)]||m&&m.key===s.key?"":(""+s[c(458)]).replace(x,c(414))+"/")+r,s={$$typeof:t,type:u[(p=e)(461)],key:d,ref:u[p(457)],props:u[p(445)],_owner:u._owner}),o[c(475)](s)),1;if(m=0,a=""===a?".":a+":",I(r))for(var y=0;y<r.length;y++){var v=a+C(l=r[y],y);m+=A(l,o,i,v,s)}else if(g=e,v=null===(h=r)||g(462)!==typeof h?null:(h=f&&h[f]||h["@@iterator"],g(451)===typeof h?h:null),c(451)===typeof v)for(r=v[c(393)](r),y=0;!(l=r[c(427)]()).done;)m+=A(l=l[c(447)],o,i,v=a+C(l,y++),s);else if("object"===l)throw o=String(r),Error(c(441)+(c(404)===o?"object with keys {"+Object.keys(r)[c(401)](", ")+"}":o)+c(423));return m}function R(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",function(e){return t[Ft(393)](n,e,o++)}),r}function T(t){var n=e;if(-1===t[n(448)]){var r=t[n(426)];(r=r()).then(function(e){var r=n;0!==t[r(448)]&&-1!==t[r(448)]||(t[r(448)]=1,t[r(426)]=e)},function(e){var r=n;0!==t[r(448)]&&-1!==t[r(448)]||(t[r(448)]=2,t._result=e)}),-1===t[n(448)]&&(t[n(448)]=0,t[n(426)]=r)}if(1===t[n(448)])return t._result[n(470)];throw t[n(426)]}var O={current:null},P={transition:null},D={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:P,ReactCurrentOwner:k};function L(){throw Error(e(440))}return Mt[e(433)]={map:R,forEach:function(e,t,n){R(e,function(){t[Ft(412)](this,arguments)},n)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Mt.Component=m,Mt.Fragment=r,Mt.Profiler=i,Mt[e(410)]=v,Mt.StrictMode=o,Mt.Suspense=l,Mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,Mt.act=L,Mt.cloneElement=function(n,r,o){var i=e;if(null==n)throw Error(i(407)+n+".");var a=h({},n.props),s=n[i(458)],c=n[i(457)],l=n[i(425)];if(null!=r){if(void 0!==r[i(457)]&&(c=r.ref,l=k[i(455)]),void 0!==r[i(458)]&&(s=""+r[i(458)]),n[i(461)]&&n[i(461)].defaultProps)var u=n[i(461)][i(438)];for(d in r)w[i(393)](r,d)&&!S[i(431)](d)&&(a[d]=void 0===r[d]&&void 0!==u?u[d]:r[d])}var d=arguments[i(469)]-2;if(1===d)a.children=o;else if(1<d){u=Array(d);for(var f=0;f<d;f++)u[f]=arguments[f+2];a[i(464)]=u}return{$$typeof:t,type:n[i(461)],key:s,ref:c,props:a,_owner:l}},Mt[e(392)]=function(t){var n=e;return(t={$$typeof:s,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null})[n(472)]={$$typeof:a,_context:t},t[n(463)]=t},Mt[e(471)]=E,Mt[e(435)]=function(t){var n=e,r=E[n(418)](null,t);return r[n(461)]=t,r},Mt.createRef=function(){return{current:null}},Mt[e(477)]=function(e){return{$$typeof:c,render:e}},Mt[e(479)]=_,Mt[e(452)]=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:T}},Mt.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},Mt.startTransition=function(t){var n=e,r=P[n(480)];P[n(480)]={};try{t()}finally{P[n(480)]=r}},Mt.unstable_act=L,Mt.useCallback=function(t,n){var r=e;return O[r(455)][r(468)](t,n)},Mt.useContext=function(t){return O[e(455)].useContext(t)},Mt[e(394)]=function(){},Mt[e(474)]=function(e){return O.current.useDeferredValue(e)},Mt[e(449)]=function(t,n){var r=e;return O.current[r(449)](t,n)},Mt[e(397)]=function(){var t=e;return O.current[t(397)]()},Mt[e(478)]=function(t,n,r){return O[e(455)].useImperativeHandle(t,n,r)},Mt[e(459)]=function(t,n){var r=e;return O[r(455)][r(459)](t,n)},Mt[e(432)]=function(t,n){var r=e;return O[r(455)][r(432)](t,n)},Mt[e(417)]=function(t,n){var r=e;return O[r(455)][r(417)](t,n)},Mt[e(411)]=function(t,n,r){return O[e(455)].useReducer(t,n,r)},Mt[e(467)]=function(t){var n=e;return O[n(455)][n(467)](t)},Mt[e(395)]=function(t){var n=e;return O[n(455)][n(395)](t)},Mt[e(466)]=function(t,n,r){var o=e;return O[o(455)][o(466)](t,n,r)},Mt[e(419)]=function(){var t=e;return O[t(455)][t(419)]()},Mt[e(399)]=e(428),Mt}():Ut[$t(476)]=(Gt=Vt,Bt||(Bt=1,Ht=zt,qt=zt[Gt(725)],"production"!==(Yt=Gt)(476)&&function(){var e=Yt;"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(654)]===e(669)&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(654)](new Error);var t=e(612),n=Symbol[e(462)](e(449)),r=Symbol[e(462)]("react.portal"),o=Symbol[e(462)](e(568)),i=Symbol[e(462)]("react.strict_mode"),a=Symbol[e(462)](e(452)),s=Symbol[e(462)](e(513)),c=Symbol[e(462)](e(620)),l=Symbol[e(462)]("react.forward_ref"),u=Symbol.for(e(577)),d=Symbol.for(e(548)),f=Symbol[e(462)](e(481)),p=Symbol[e(462)](e(534)),h=Symbol[e(462)]("react.offscreen"),g=Symbol[e(618)],m=e(488);function y(t){var n=e;if(null===t||typeof t!==n(473))return null;var r=g&&t[g]||t[m];return typeof r===n(669)?r:null}var v={current:null},b={transition:null},I={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},k={},S=null;function E(e){S=e}k[e(556)]=function(e){S=e},k[e(477)]=null,k[e(711)]=function(){var t="";S&&(t+=S);var n=k[e(477)];return n&&(t+=n()||""),t};var _={ReactCurrentDispatcher:v,ReactCurrentBatchConfig:b,ReactCurrentOwner:w};function x(t){for(var n=e,r=arguments[n(579)],o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];A(n(667),t,o)}function C(t){for(var n=arguments[e(579)],r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];A("error",t,r)}function A(t,n,r){var o=e,i=_[o(622)][o(711)]();""!==i&&(n+="%s",r=r[o(650)]([i]));var a=r[o(659)](function(e){return String(e)});a[o(580)]("Warning: "+n),Function[o(732)][o(726)][o(590)](console[t],console,a)}_[e(622)]=k,_[e(501)]=I;var R={};function T(t,n){var r=e,o=t.constructor,i=o&&(o[r(691)]||o.name)||r(666),a=i+"."+n;R[a]||(C(r(500)+"This is a no-op, but it might indicate a bug in your application. "+r(469)+r(505),n,i),R[a]=!0)}var O={isMounted:function(e){return!1},enqueueForceUpdate:function(t,n,r){T(t,e(512))},enqueueReplaceState:function(t,n,r,o){T(t,e(606))},enqueueSetState:function(e,t,n,r){T(e,"setState")}},P=Object[e(573)],D={};function L(t,n,r){var o=e;this[o(700)]=t,this[o(450)]=n,this[o(687)]=D,this[o(604)]=r||O}Object[e(455)](D),L.prototype[e(629)]={},L[e(732)][e(474)]=function(t,n){var r=e;if(typeof t!==r(473)&&typeof t!==r(669)&&null!=t)throw new Error(r(671)+r(566));this[r(604)][r(522)](this,t,n,"setState")},L[e(732)][e(512)]=function(t){var n=e;this[n(604)][n(599)](this,t,n(512))};var j={isMounted:[e(482),e(682)+e(532)],replaceState:[e(606),e(503)+e(498)]},U=function(t,n){var r=e;Object.defineProperty(L[r(732)],t,{get:function(){x(r(674),n[0],n[1])}})};for(var M in j)j[e(603)](M)&&U(M,j[M]);function N(){}function F(t,n,r){var o=e;this[o(700)]=t,this.context=n,this[o(687)]=D,this[o(604)]=r||O}N[e(732)]=L[e(732)];var B=F[e(732)]=new N;B[e(467)]=F,P(B,L.prototype),B[e(716)]=!0;var z=Array[e(538)];function V(e){return z(e)}function K(e){return""+e}function W(t){var n,r,o=e;if(function(e){try{return K(e),!1}catch(e){return!0}}(t))return C(o(694)+o(575),(n=t,r=e,typeof Symbol===r(669)&&Symbol[r(515)]&&n[Symbol[r(515)]]||n[r(467)][r(657)]||r(709))),K(t)}function H(t){var n=e;return t.displayName||n(670)}function q(t){var n=e;if(null==t)return null;if(typeof t[n(564)]===n(480)&&C(n(542)+n(695)),typeof t===n(669))return t[n(691)]||t[n(657)]||null;if("string"==typeof t)return t;switch(t){case o:return"Fragment";case r:return n(552);case a:return"Profiler";case i:return n(523);case u:return n(478);case d:return n(714)}if(typeof t===n(473))switch(t[n(574)]){case c:return H(t)+n(697);case s:return H(t[n(563)])+".Provider";case l:return function(t,n,r){var o=e,i=t[o(691)];if(i)return i;var a=n[o(691)]||n[o(657)]||"";return""!==a?r+"("+a+")":r}(t,t[n(490)],n(484));case f:var h=t[n(691)]||null;return null!==h?h:q(t[n(680)])||n(543);case p:var g=t,m=g[n(663)],y=g[n(557)];try{return q(y(m))}catch(e){return null}}return null}var Y,G,$,J=Object[e(732)].hasOwnProperty,Q={key:!0,ref:!0,__self:!0,__source:!0};function X(t){var n=e;if(J[n(590)](t,n(637))){var r=Object.getOwnPropertyDescriptor(t,n(637))[n(457)];if(r&&r[n(593)])return!1}return void 0!==t.ref}function Z(t){var n=e;if(J[n(590)](t,n(719))){var r=Object[n(531)](t,"key")[n(457)];if(r&&r[n(593)])return!1}return void 0!==t[n(719)]}$={};var ee=function(t,r,o,i,a,s,c){var l=e,u={$$typeof:n,type:t,key:r,ref:o,props:c,_owner:s,_store:{}};return Object[l(518)](u[l(652)],"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(u,l(576),{configurable:!1,enumerable:!1,writable:!1,value:a}),Object[l(455)]&&(Object[l(455)](u[l(700)]),Object.freeze(u)),u};function te(t,n,r){var o,i=e,a={},s=null,c=null,l=null,u=null;if(null!=n)for(o in X(n)&&(c=n[i(637)],function(t){var n=e;if(typeof t[n(637)]===n(632)&&w[n(458)]&&t[n(710)]&&w[n(458)][n(539)]!==t[n(710)]){var r=q(w[n(458)][n(680)]);!$[r]&&(C(n(634)+n(494)+n(713)+"We ask you to manually fix this case by using useRef() or createRef() instead. "+n(569)+n(508),r,t[n(637)]),$[r]=!0)}}(n)),Z(n)&&(W(n[i(719)]),s=""+n.key),l=void 0===n[i(710)]?null:n[i(710)],u=void 0===n[i(721)]?null:n[i(721)],n)J[i(590)](n,o)&&!Q[i(603)](o)&&(a[o]=n[o]);var d,f,p,h,g,m,y,v=arguments[i(579)]-2;if(1===v)a[i(722)]=r;else if(v>1){for(var b=Array(v),I=0;I<v;I++)b[I]=arguments[I+2];Object[i(455)]&&Object[i(455)](b),a[i(722)]=b}if(t&&t[i(678)]){var k=t[i(678)];for(o in k)void 0===a[o]&&(a[o]=k[o])}if(s||c){var S=typeof t===i(669)?t[i(691)]||t[i(657)]||i(466):t;s&&(h=a,g=S,(y=function(){!Y&&(Y=!0,C("%s: `key` is not a prop. Trying to access it will result "+Kt(611)+"value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",g))})[(m=e)(593)]=!0,Object[m(518)](h,m(719),{get:y,configurable:!0})),c&&(d=a,f=S,(p=function(){var e=Kt;!G&&(G=!0,C(e(558)+"in `undefined` being returned. If you need to access the same "+e(613)+e(581),f))})[e(593)]=!0,Object.defineProperty(d,"ref",{get:p,configurable:!0}))}return ee(t,s,c,l,u,w[i(458)],a)}function ne(t,n,r){var o=e;if(null==t)throw new Error(o(582)+t+".");var i,a,s=P({},t.props),c=t.key,l=t.ref,u=t[o(591)],d=t._source,f=t._owner;if(null!=n)for(i in X(n)&&(l=n.ref,f=w[o(458)]),Z(n)&&(W(n[o(719)]),c=""+n[o(719)]),t[o(680)]&&t[o(680)].defaultProps&&(a=t[o(680)][o(678)]),n)J[o(590)](n,i)&&!Q[o(603)](i)&&(void 0===n[i]&&void 0!==a?s[i]=a[i]:s[i]=n[i]);var p=arguments[o(579)]-2;if(1===p)s.children=r;else if(p>1){for(var h=Array(p),g=0;g<p;g++)h[g]=arguments[g+2];s[o(722)]=h}return ee(t[o(680)],c,l,u,d,f,s)}function re(t){var r=e;return typeof t===r(473)&&null!==t&&t[r(574)]===n}var oe,ie=!1,ae=/\/+/g;function se(t){var n=e;return t[n(724)](ae,n(519))}function ce(t,n){var r,o,i=e;return typeof t===i(473)&&null!==t&&null!=t.key?(W(t[i(719)]),r=""+t[i(719)],o={"=":"=0",":":"=2"},"$"+r[e(724)](/[=:]/g,function(e){return o[e]})):n[i(640)](36)}function le(t,o,i,a,s){var c=e,l=typeof t;("undefined"===l||l===c(626))&&(t=null);var u,d,f,p=!1;if(null===t)p=!0;else switch(l){case c(632):case c(480):p=!0;break;case c(473):switch(t[c(574)]){case n:case r:p=!0}}if(p){var h=t,g=s(h),m=""===a?"."+ce(h,0):a;if(V(g)){var v="";null!=m&&(v=se(m)+"/"),le(g,o,v,"",function(e){return e})}else null!=g&&(re(g)&&(g[c(719)]&&(!h||h.key!==g[c(719)])&&W(g[c(719)]),u=g,d=i+(!g.key||h&&h[c(719)]===g.key?"":se(""+g.key)+"/")+m,f=e,g=ee(u.type,d,u[f(637)],u[f(591)],u[f(576)],u._owner,u[f(700)])),o.push(g));return 1}var b,I=0,w=""===a?".":a+":";if(V(t))for(var k=0;k<t[c(579)];k++)I+=le(b=t[k],o,i,w+ce(b,k),s);else{var S=y(t);if(typeof S===c(669)){var E=t;S===E[c(635)]&&(!ie&&x(c(660)+c(536)),ie=!0);for(var _,C=S[c(590)](E),A=0;!(_=C[c(454)]()).done;)I+=le(b=_[c(690)],o,i,w+ce(b,A++),s)}else if(l===c(473)){var R=String(t);throw new Error("Objects are not valid as a React child (found: "+(R===c(688)?"object with keys {"+Object[c(609)](t).join(", ")+"}":R)+c(712)+c(642)+"instead.")}}return I}function ue(e,t,n){if(null==e)return e;var r=[],o=0;return le(e,r,"","",function(e){return t[Kt(590)](n,e,o++)}),r}function de(t){var n=e;if(-1===t._status){var r=(0,t[n(525)])();if(r[n(693)](function(e){var r=n;if(0===t[r(514)]||-1===t._status){var o=t;o[r(514)]=1,o._result=e}},function(e){var r=n;if(0===t[r(514)]||-1===t[r(514)]){var o=t;o[r(514)]=2,o[r(525)]=e}}),-1===t[n(514)]){var o=t;o._status=0,o._result=r}}if(1===t[n(514)]){var i=t[n(525)];return void 0===i&&C(n(549)+"ort() call. "+n(734)+n(679)+n(453)+n(468),i),!(n(630)in i)&&C("lazy: Expected the result of a dynamic imp"+n(521)+n(734)+n(679)+n(533),i),i[n(630)]}throw t[n(525)]}function fe(t){var n=e;return typeof t===n(632)||"function"==typeof t||t===o||t===a||t===i||t===u||t===d||t===h||typeof t===n(473)&&null!==t&&(t.$$typeof===p||t.$$typeof===f||t[n(574)]===s||t[n(574)]===c||t.$$typeof===l||t[n(574)]===oe||void 0!==t[n(677)])}function pe(){var t=e,n=v.current;return null===n&&C(t(561)+t(638)+t(623)+t(537)+t(554)+t(504)),n}oe=Symbol.for(e(702));var he,ge,me,ye,ve,be,Ie,we=0;function ke(){}ke[e(451)]=!0;var Se,Ee=_[e(535)];function _e(t,n,r){var o=e;if(void 0===Se)try{throw Error()}catch(e){var i=e[o(625)].trim()[o(696)](/\n( *(at )?)/);Se=i&&i[1]||""}return"\n"+Se+t}var xe,Ce=!1,Ae=typeof WeakMap===e(669)?WeakMap:Map;function Re(t,n){var r=e;if(!t||Ce)return"";var o,i=xe.get(t);if(void 0!==i)return i;Ce=!0;var a,s=Error[r(572)];Error[r(572)]=void 0,a=Ee[r(458)],Ee.current=null,function(){var t=e;if(0===we){he=console[t(578)],ge=console[t(560)],me=console[t(667)],ye=console[t(647)],ve=console[t(589)],be=console[t(646)],Ie=console[t(675)];var n={configurable:!0,enumerable:!0,value:ke,writable:!0};Object[t(479)](console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}we++}();try{if(n){var c=function(){throw Error()};if(Object[r(518)](c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect===r(473)&&Reflect[r(602)]){try{Reflect[r(602)](c,[])}catch(e){o=e}Reflect.construct(t,[],c)}else{try{c[r(590)]()}catch(e){o=e}t[r(590)](c[r(732)])}}else{try{throw Error()}catch(e){o=e}t()}}catch(e){if(e&&o&&typeof e[r(625)]===r(632)){for(var l=e[r(625)][r(715)]("\n"),u=o[r(625)].split("\n"),d=l.length-1,f=u[r(579)]-1;d>=1&&f>=0&&l[d]!==u[f];)f--;for(;d>=1&&f>=0;d--,f--)if(l[d]!==u[f]){if(1!==d||1!==f)do{if(d--,--f<0||l[d]!==u[f]){var p="\n"+l[d][r(724)](r(664),r(614));return t[r(691)]&&p[r(559)](r(621))&&(p=p[r(724)]("<anonymous>",t.displayName)),"function"==typeof t&&xe[r(493)](t,p),p}}while(d>=1&&f>=0);break}}}finally{Ce=!1,Ee[r(458)]=a,function(){var t=e;if(0===--we){var n={configurable:!0,enumerable:!0,writable:!0};Object[t(479)](console,{log:P({},n,{value:he}),info:P({},n,{value:ge}),warn:P({},n,{value:me}),error:P({},n,{value:ye}),group:P({},n,{value:ve}),groupCollapsed:P({},n,{value:be}),groupEnd:P({},n,{value:Ie})})}we<0&&C(t(683)+t(607))}(),Error[r(572)]=s}var h=t?t.displayName||t[r(657)]:"",g=h?_e(h):"";return typeof t===r(669)&&xe[r(493)](t,g),g}function Te(t,n,r){var o,i=e;if(null==t)return"";if(typeof t===i(669))return Re(t,!(!(o=t[e(732)])||!o.isReactComponent));if(typeof t===i(632))return _e(t);switch(t){case u:return _e("Suspense");case d:return _e("SuspenseList")}if(typeof t===i(473))switch(t[i(574)]){case l:return Re(t[i(490)],!1);case f:return Te(t[i(680)],n,r);case p:var a=t,s=a._payload,c=a._init;try{return Te(c(s),n,r)}catch(e){}}return""}xe=new Ae;var Oe,Pe={},De=_[e(622)];function Le(t){var n=e;if(t){var r=t[n(701)],o=Te(t[n(680)],t[n(576)],r?r[n(680)]:null);De.setExtraStackFrame(o)}else De[n(556)](null)}function je(t){var n=e;if(t){var r=t._owner;E(Te(t[n(680)],t[n(576)],r?r[n(680)]:null))}else E(null)}function Ue(){var t=e;if(w[t(458)]){var n=q(w[t(458)][t(680)]);if(n)return t(541)+n+"`."}return""}function Me(t){return null!=t?function(t){var n=e;if(void 0!==t){var r=t.fileName[n(724)](/^.*[\\\/]/,""),o=t[n(662)];return n(727)+r+":"+o+"."}return""}(t[e(721)]):""}Oe=!1;var Ne={};function Fe(t,n){var r=e;if(t[r(652)]&&!t[r(652)][r(459)]&&null==t[r(719)]){t[r(652)].validated=!0;var o=function(t){var n=e,r=Ue();if(!r){var o="string"==typeof t?t:t[n(691)]||t.name;o&&(r=n(735)+o+">.")}return r}(n);if(!Ne[o]){Ne[o]=!0;var i="";t&&t[r(701)]&&t[r(701)]!==w.current&&(i=r(461)+q(t[r(701)][r(680)])+"."),je(t),C(r(665)+r(644),o,i),je(null)}}}function Be(t,n){var r=e;if(typeof t===r(473))if(V(t))for(var o=0;o<t[r(579)];o++){var i=t[o];re(i)&&Fe(i,n)}else if(re(t))t._store&&(t._store[r(459)]=!0);else if(t){var a=y(t);if(typeof a===r(669)&&a!==t[r(635)])for(var s,c=a[r(590)](t);!(s=c[r(454)]())[r(648)];)re(s[r(690)])&&Fe(s[r(690)],n)}}function ze(t){var n,r=e,o=t.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)n=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==l&&o[r(574)]!==f)return;n=o[r(485)]}if(n){var i=q(o);!function(t,n,r,o,i){var a=e,s=Function[a(590)][a(585)](J);for(var c in t)if(s(t,c)){var l=void 0;try{if(typeof t[c]!==a(669)){var u=Error((o||a(592))+": "+r+a(496)+c+"` is invalid; "+a(731)+typeof t[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u[a(657)]=a(681),u}l=t[c](n,c,o,r,null,a(456))}catch(e){l=e}l&&!(l instanceof Error)&&(Le(i),C(a(489)+a(588)+"function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and "+a(658),o||a(592),r,c,typeof l),Le(null)),l instanceof Error&&!(l[a(545)]in Pe)&&(Pe[l[a(545)]]=!0,Le(i),C(a(555),r,l[a(545)]),Le(null))}}(n,t.props,r(506),i,t)}else if(void 0!==o[r(636)]&&!Oe){Oe=!0;var a=q(o);C(r(511),a||r(466))}typeof o[r(641)]===r(669)&&!o[r(641)][r(528)]&&C(r(509)+r(610))}}function Ve(t,r,i){var a=e,s=fe(t);if(!s){var c="";(void 0===t||typeof t===a(473)&&null!==t&&0===Object.keys(t).length)&&(c+=a(507)+"it's defined in, or you might have mixed up default and named imports.");var l,u=Me(r);c+=u||Ue(),null===t?l="null":V(t)?l=a(730):void 0!==t&&t[a(574)]===n?(l="<"+(q(t[a(680)])||a(466))+" />",c=" Did you accidentally export a JSX literal instead of a component?"):l=typeof t,C(a(668)+"built-in components) or a class/function (for composite components) but got: %s.%s",l,c)}var d=te[a(726)](this,arguments);if(null==d)return d;if(s)for(var f=2;f<arguments[a(579)];f++)Be(arguments[f],t);return t===o?function(t){for(var n=e,r=Object[n(609)](t[n(700)]),o=0;o<r.length;o++){var i=r[o];if(i!==n(722)&&"key"!==i){je(t),C(n(737)+n(645),i),je(null);break}}null!==t[n(637)]&&(je(t),C(n(470)),je(null))}(d):ze(d),d}var Ke=!1,We=!1,He=null,qe=0,Ye=!1;function Ge(t){var n=e,r=qe;qe++,null===I[n(458)]&&(I[n(458)]=[]);var o,i=I.isBatchingLegacy;try{if(I[n(703)]=!0,o=t(),!i&&I[n(464)]){var a=I[n(458)];null!==a&&(I[n(464)]=!1,Xe(a))}}catch(e){throw $e(r),e}finally{I[n(703)]=i}if(null!==o&&"object"==typeof o&&typeof o[n(693)]===n(669)){var s=o,c=!1,l={then:function(e,t){c=!0,s[n(693)](function(n){$e(r),0===qe?Je(n,e,t):e(n)},function(e){$e(r),t(e)})}};return!Ye&&typeof Promise!==n(717)&&Promise.resolve().then(function(){}).then(function(){var e=n;!c&&(Ye=!0,C(e(547)+"This could lead to unexpected testing behaviour, "+e(571)+e(643)+e(596)))}),l}var u=o;if($e(r),0===qe){var d=I[n(458)];return null!==d&&(Xe(d),I.current=null),{then:function(e,t){null===I[n(458)]?(I.current=[],Je(u,e,t)):e(u)}}}return{then:function(e,t){e(u)}}}function $e(t){var n=e;t!==qe-1&&C(n(595)+n(729)),qe=t}function Je(t,n,r){var o=e,i=I[o(458)];if(null!==i)try{Xe(i),function(t){var n=e;if(null===He)try{var r=(n(491)+Math[n(540)]())[n(524)](0,7);He=(Ht&&Ht[r]).call(Ht,"timers")[n(608)]}catch(e){He=function(e){var t=n;!1===We&&(We=!0,"undefined"==typeof MessageChannel&&C(t(627)+t(510)+"Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var r=new MessageChannel;r[t(718)][t(584)]=e,r.port2[t(692)](void 0)}}He(t)}(function(){0===i[o(579)]?(I.current=null,n(t)):Je(t,n,r)})}catch(e){r(e)}else n(t)}var Qe=!1;function Xe(t){var n=e;if(!Qe){Qe=!0;var r=0;try{for(;r<t[n(579)];r++){var o=t[r];do{o=o(!0)}while(null!==o)}t[n(579)]=0}catch(e){throw t=t[n(524)](r+1),e}finally{Qe=!1}}}var Ze=Ve,et=function(t,n,r){for(var o=e,i=ne[o(726)](this,arguments),a=2;a<arguments[o(579)];a++)Be(arguments[a],i[o(680)]);return ze(i),i},tt=function(t){var n=e,r=Ve[n(585)](null,t);return r[n(680)]=t,!Ke&&(Ke=!0,x(n(689)+n(699)+"or use React.createElement() directly instead.")),Object[n(518)](r,"type",{enumerable:!1,get:function(){var e=n;return x(e(475)+e(460)),Object[e(518)](this,"type",{value:t}),t}}),r},nt={map:ue,forEach:function(e,t,n){ue(e,function(){t[Kt(726)](this,arguments)},n)},count:function(e){var t=0;return ue(e,function(){t++}),t},toArray:function(e){return ue(e,function(e){return e})||[]},only:function(t){var n=e;if(!re(t))throw new Error(n(736));return t}};qt[e(472)]=nt,qt[e(705)]=L,qt.Fragment=o,qt.Profiler=a,qt[e(487)]=F,qt.StrictMode=i,qt[e(478)]=u,qt[e(653)]=_,qt[e(720)]=Ge,qt[e(624)]=et,qt[e(651)]=function(t){var n=e,r={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};r.Provider={$$typeof:s,_context:r};var o=!1,i=!1,a=!1,l={$$typeof:c,_context:r};return Object.defineProperties(l,{Provider:{get:function(){return!i&&(i=!0,C("Rendering <Context.Consumer.Provider> is not supported and will be removed in "+Kt(605))),r.Provider},set:function(e){r[Kt(655)]=e}},_currentValue:{get:function(){return r[Kt(673)]},set:function(e){r[Kt(673)]=e}},_currentValue2:{get:function(){return r[Kt(676)]},set:function(e){r._currentValue2=e}},_threadCount:{get:function(){return r[Kt(616)]},set:function(e){r[Kt(616)]=e}},Consumer:{get:function(){var e=Kt;return!o&&(o=!0,C("Rendering <Context.Consumer.Consumer> is not supported and will be removed in "+e(587))),r[e(698)]}},displayName:{get:function(){return r[Kt(691)]},set:function(e){!a&&(x("Setting `displayName` on Context.Consumer has no effect. "+Kt(448),e),a=!0)}}}),r.Consumer=l,r[n(583)]=null,r[n(465)]=null,r},qt.createElement=Ze,qt[e(708)]=tt,qt[e(544)]=function(){var t={current:null};return Object[e(497)](t),t},qt[e(520)]=function(t){var n=e;null!=t&&t[n(574)]===f?C(n(649)+n(516)+n(600)):"function"!=typeof t?C("forwardRef requires a render function but was given %s.",null===t?n(631):typeof t):0!==t[n(579)]&&2!==t.length&&C("forwardRef render functions accept exactly two parameters: props and ref. %s",1===t[n(579)]?n(598):n(530)),null!=t&&(null!=t.defaultProps||null!=t[n(485)])&&C(n(553)+n(704));var r,o={$$typeof:l,render:t};return Object.defineProperty(o,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(e){var o=n;r=e,!t.name&&!t[o(691)]&&(t.displayName=e)}}),o},qt.isValidElement=re,qt[e(597)]=function(e){var t,n,r={$$typeof:p,_payload:{_status:-1,_result:e},_init:de};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){var n=Kt;C("React.lazy(...): It is not supported to assign `defaultProps` to "+n(601)+n(685)),t=e,Object[n(518)](r,n(678),{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){var t=Kt;C("React.lazy(...): It is not supported to assign `propTypes` to "+t(601)+t(685)),n=e,Object[t(518)](r,t(485),{enumerable:!0})}}}),r},qt[e(527)]=function(t,n){var r=e;!fe(t)&&C(r(546)+r(471),null===t?r(631):typeof t);var o,i={$$typeof:f,type:t,compare:void 0===n?null:n};return Object[r(518)](i,r(691),{enumerable:!1,configurable:!0,get:function(){return o},set:function(e){var n=r;o=e,!t.name&&!t[n(691)]&&(t[n(691)]=e)}}),i},qt.startTransition=function(t,n){var r=e,o=b.transition;b[r(499)]={};var i=b[r(499)];b[r(499)][r(565)]=new Set;try{t()}finally{b[r(499)]=o,null===o&&i[r(565)]&&(i[r(565)][r(686)]>10&&x(r(502)+"If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),i[r(565)][r(567)]())}},qt[e(706)]=Ge,qt[e(628)]=function(e,t){return pe().useCallback(e,t)},qt[e(728)]=function(t){var n=e,r=pe();if(void 0!==t[n(563)]){var o=t._context;o[n(698)]===t?C("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be "+n(733)):o.Provider===t&&C("Calling useContext(Context.Provider) is not supported. "+n(594))}return r[n(728)](t)},qt[e(656)]=function(t,n){var r=e;return pe()[r(656)](t,n)},qt.useDeferredValue=function(t){var n=e;return pe()[n(672)](t)},qt[e(463)]=function(t,n){var r=e;return pe()[r(463)](t,n)},qt[e(495)]=function(){var t=e;return pe()[t(495)]()},qt.useImperativeHandle=function(t,n,r){var o=e;return pe()[o(707)](t,n,r)},qt[e(550)]=function(t,n){var r=e;return pe()[r(550)](t,n)},qt[e(661)]=function(t,n){var r=e;return pe()[r(661)](t,n)},qt[e(619)]=function(e,t){return pe().useMemo(e,t)},qt.useReducer=function(t,n,r){var o=e;return pe()[o(529)](t,n,r)},qt[e(617)]=function(e){return pe().useRef(e)},qt[e(684)]=function(t){var n=e;return pe()[n(684)](t)},qt[e(586)]=function(t,n,r){var o=e;return pe()[o(586)](t,n,r)},qt[e(723)]=function(){var t=e;return pe()[t(723)]()},qt.version=t,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop===e(669)&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(492)](new Error)}()),zt[Gt(725)]);var Jt,Qt=Ut.exports;function Xt(e,t){var n=Zt();return(Xt=function(e,t){return n[e-=472]})(e,t)}function Zt(){var e=["7yKCEQm","6154776ukGSqS","2623184KiUYmP","1544376CuFJpv","production","79263gCsUJV","781058HiKGWn","3635MksXbg","26CyUcEM","exports","9zoGXfA","44DiSlxu","use strict","4998GIrqSI","7905720EQTYqm"];return(Zt=function(){return e})()}function en(){var e=["162688nZYMEi","defaultProps","499205IIFoQF","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","10hUwHiq","jsxs","Fragment","key","3bWtouI","hasOwnProperty","235260GcMQKG","react.element","current","8WRPrNX","use strict","1001166xRNUJy","ref","for","894042HVAOGg","react.fragment","jsx","ReactCurrentOwner","2577586hlGgZU","217717QJRqFH","5tzhyQc"];return(en=function(){return e})()}function tn(e,t){var n=en();return(tn=function(e,t){return n[e-=351]})(e,t)}Ot(Qt),
2
21
  /**
3
22
  * @license React
4
23
  * react-jsx-runtime.production.min.js
@@ -7,4 +26,14 @@ var t,e,n,r,o,i,s,a,c,l,d,u;function p(t,e){var n=h();return(p=function(t,e){ret
7
26
  *
8
27
  * This source code is licensed under the MIT license found in the
9
28
  * LICENSE file in the root directory of this source tree.
10
- */xe.exports=function(){if(Te)return Se;Te=1;var t=_e,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(t,n,s){var a,c={},l=null,d=null;for(a in void 0!==s&&(l=""+s),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,a)&&!i.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:o.current}}return Se.Fragment=n,Se.jsx=s,Se.jsxs=s,Se}();var Re=xe.exports;const De=_e.createContext(null);function Le({children:t,config:e}){const[n,r]=_e.useState(!1),[o,i]=_e.useState(null),[s,a]=_e.useState(null),c=t=>{try{a(null),n&&ye.reset(),ye.init(t),i(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),i(null)}};_e.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:o,initialize:c,reset:()=>{try{ye.reset(),r(!1),i(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:s};return Re.jsx(De.Provider,{value:l,children:t})}function Oe(){const t=_e.useContext(De);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Pe(){const{isInitialized:t}=Oe();return t?ye:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Ue(t,e){var n=ze();return(Ue=function(t,e){return n[t-=396]})(t,e)}function ze(){var t=["33842943jOxOio","1592103xgWtyw","6351821NxSJYM","4ycCfgS","8MxWGxI","882935xlVdkO","2044214wBvGNL","6795204rdHaHC","1225845WZDSxP"];return(ze=function(){return t})()}!function(){for(var t=Ue,e=ze();;)try{if(591218===-parseInt(t(403))/1+-parseInt(t(404))/2+parseInt(t(399))/3+parseInt(t(401))/4*(parseInt(t(397))/5)+-parseInt(t(396))/6+-parseInt(t(400))/7+-parseInt(t(402))/8*(-parseInt(t(398))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Be=Me;function Me(t,e){const n=Ve();return(Me=function(t,e){return n[t-=380]})(t,e)}!function(){const t=Me,e=Ve();for(;;)try{if(402231===-parseInt(t(380))/1+-parseInt(t(387))/2+-parseInt(t(389))/3+-parseInt(t(390))/4*(-parseInt(t(391))/5)+-parseInt(t(386))/6*(parseInt(t(381))/7)+parseInt(t(385))/8+parseInt(t(388))/9*(parseInt(t(392))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ne=Be(383);function Ve(){const t=["80888WefEBw","145UFIgAH","6820JNdHAJ","689816aICLZU","10423xqqwgD","events","2.0.0","config","4583744zASNft","84RUXpae","112842OEoVUw","2412qEvcrN","518604mIdUtF"];return(Ve=function(){return t})()}const Fe=["ads",Be(382),Be(384)];"undefined"!=typeof window&&(window.AdStage=ye);export{ye as AdStage,Le as AdStageProvider,Ne as SDK_VERSION,Fe as SUPPORTED_MODULES,le as TrackingParamsModule,ke as getUserProperties,we as setUserProperties,be as track,Oe as useAdStageContext,Pe as useAdStageInstance};
29
+ */
30
+ function(){for(var e=tn,t=en();;)try{if(117e3===parseInt(e(375))/1+-parseInt(e(352))/2+-parseInt(e(360))/3*(parseInt(e(362))/4)+parseInt(e(351))/5*(-parseInt(e(367))/6)+parseInt(e(354))/7*(parseInt(e(365))/8)+-parseInt(e(370))/9+-parseInt(e(356))/10*(-parseInt(e(374))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();var nn,rn={};
31
+ /**
32
+ * @license React
33
+ * react-jsx-runtime.development.js
34
+ *
35
+ * Copyright (c) Facebook, Inc. and its affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */function on(){var e=["groupEnd"," <%s {...props} />\n","Profiler",'Each child in a list should have a unique "key" prop.',"$$typeof","apply","in `undefined` being returned. If you need to access the same ","it's defined in, or you might have mixed up default and named imports.","The provided key is an unsupported type %s.","312vkWWZc","_context","2603403KPnafD","groupCollapsed","React.jsx: Static children should always be an array. ","https://reactjs.org/link/strict-mode-string-ref","react.portal","Invariant Violation",".Consumer","1245905GQeQod","stack","React.Fragment can only have `key` and `children` props.","value"," `%s` is invalid; the type checker ","StrictMode","react.forward_ref","function","assign","done","construct","number","isReactWarning","propTypes","tag","react.provider","toStringTag","You may have forgotten to pass an argument to the type checker ",": ..., ","Invalid prop `%s` supplied to `React.Fragment`. "," You likely forgot to export your component from the file ","current","bind","_init","keys","__reactDisabledLog","getDefaultProps is only used on classic React.createClass ","isArray","Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?","getOwnPropertyDescriptor","_payload","null","Warning: ","You are likely explicitly calling React.jsxs or React.jsxDEV. ","definitions. Use a static property named `defaultProps` instead.","prepareStackTrace","creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ","react.memo","type","object","replace","Unknown","374910WNaQzp","ReactDebugCurrentFrame","9DyvFli","prop","PropTypes"," at ","` is invalid; ","React.jsx: type is invalid -- expected a string (for ",".Provider","value within the child component, you should pass it as a different ","react.suspense","function must return `null` or an `Error` but returned a %s. ","{key: someKey}","shape all require an argument).",'Component "%s" contains the string ref "%s". ',"log","length","Suspense","hasOwnProperty","getModuleId","8LHHayX"," <%s key={someKey} {...props} />","This is a bug in React. Please file an issue.","1191luWgqe","defaultProps","stateNode","Received an unexpected object in getComponentNameFromType(). ","Learn more about using refs safely here: ","message","_source","getDefaultProps","isReactClassApproved","key","trim","displayName","props"," type `","\n\nCheck the top-level render call using <","render","children","We ask you to manually fix this case by using useRef() or createRef() instead. "," let props = %s;\n","call","%s: `key` is not a prop. Trying to access it will result ","_owner","react.lazy","error","validated","defineProperty","join"," />","154434tjPLPj","getStackAddendum","Use the Babel transform instead.","_self","react.context","freeze","ReactCurrentOwner","warn","react.strict_mode","prop. (https://reactjs.org/link/special-props)","for","lineNumber","concat","@@iterator","built-in components) or a class/function (for composite ","jsxs","Memo","SuspenseList","next","includes","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED","unshift"," This value must be coerced to a string before before using it here.","ref","React keys must be passed directly to JSX without using spread:\n"," It was passed a child from ","react.offscreen","name","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"," at new ","{key: someKey, ","info","react.fragment","prototype","react.suspense_list","set","ReactCurrentDispatcher","defineProperties","setExtraStackFrame","852780SBHGKK","<anonymous>","Object","\n\nCheck the render method of `","2224thkKqZ","3061644ZQfFfB","match","production","components) but got: %s.%s","get","Support for string refs will be removed in a future major release. ","disabledDepth fell below zero. ","Fragment","%s: type specification of %s","split","isReactComponent","string","_store"];return(on=function(){return e})()}function an(e,t){var n=on();return(an=function(e,t){return n[e-=327]})(e,t)}!function(){for(var e=an,t=on();;)try{if(483825===parseInt(e(462))/1+parseInt(e(388))/2*(-parseInt(e(485))/3)+parseInt(e(482))/4*(-parseInt(e(420))/5)+parseInt(e(389))/6+-parseInt(e(345))/7*(-parseInt(e(411))/8)+-parseInt(e(464))/9*(parseInt(e(384))/10)+-parseInt(e(413))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();var sn,cn=ln;function ln(e,t){var n=dn();return(ln=function(e,t){return n[e-=330]})(e,t)}!function(){for(var e=ln,t=dn();;)try{if(723917===-parseInt(e(341))/1+-parseInt(e(337))/2*(-parseInt(e(334))/3)+parseInt(e(332))/4+-parseInt(e(333))/5+-parseInt(e(335))/6+-parseInt(e(338))/7+parseInt(e(336))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),Lt.exports,cn(340),cn(339)==cn(339)?Lt[cn(330)]=function(){var e=tn;if(Jt)return jt;Jt=1,e(366);var t=Qt,n=Symbol.for(e(363)),r=Symbol[e(369)](e(371)),o=Object.prototype[e(361)],i=t[e(355)][e(373)],a={key:!0,ref:!0,__self:!0,__source:!0};function s(t,r,s){var c,l=e,u={},d=null,f=null;for(c in void 0!==s&&(d=""+s),void 0!==r[l(359)]&&(d=""+r[l(359)]),void 0!==r[l(368)]&&(f=r[l(368)]),r)o.call(r,c)&&!a[l(361)](c)&&(u[c]=r[c]);if(t&&t.defaultProps)for(c in r=t[l(353)])void 0===u[c]&&(u[c]=r[c]);return{$$typeof:n,type:t,key:d,ref:f,props:u,_owner:i[l(364)]}}return jt[e(358)]=r,jt[e(372)]=s,jt[e(357)]=s,jt}():Lt[cn(330)]=(sn=an,nn||(nn=1,sn(391)!=sn(391)&&function(){var e,t=sn,n=Qt,r=Symbol[t(355)]("react.element"),o=Symbol.for(t(417)),i=Symbol[t(355)](t(377)),a=Symbol[t(355)](t(353)),s=Symbol[t(355)]("react.profiler"),c=Symbol[t(355)](t(435)),l=Symbol[t(355)](t(349)),u=Symbol[t(355)](t(426)),d=Symbol[t(355)](t(472)),f=Symbol.for(t(379)),p=Symbol[t(355)](t(457)),h=Symbol[t(355)](t(339)),g=Symbol[t(355)](t(371)),m=Symbol.iterator,y=t(358),v=n[t(373)];function b(e){for(var n=t,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];!function(e,n,r){var o=t,i=v[o(463)][o(346)]();""!==i&&(n+="%s",r=r[o(357)]([i]));var a=r.map(function(e){return String(e)});a[o(366)](o(452)+n),Function[o(378)][o(407)][o(336)](console[e],console,a)}(n(340),e,o)}function I(e){return e[t(328)]||"Context"}function w(e){var n=t;if(null==e)return null;if(typeof e[n(434)]===n(431)&&b(n(488)+"This is likely a bug in React. Please file an issue."),typeof e===n(427))return e[n(328)]||e[n(372)]||null;if(typeof e===n(400))return e;switch(e){case i:return"Fragment";case o:return"Portal";case s:return n(404);case a:return n(425);case d:return n(479);case f:return"SuspenseList"}if(typeof e===n(459))switch(e[n(406)]){case l:return I(e)+n(419);case c:return I(e[n(412)])+n(470);case u:return function(e,n,r){var o=t,i=e[o(328)];if(i)return i;var a=n.displayName||n[o(372)]||"";return""!==a?r+"("+a+")":r}(e,e[n(332)],"ForwardRef");case p:var r=e.displayName||null;return null!==r?r:w(e[n(458)])||n(361);case h:var g=e,m=g._payload,y=g[n(443)];try{return w(y(m))}catch(e){return null}}return null}e=Symbol[t(355)]("react.module.reference");var k,S,E,_,x,C,A,R=Object[t(428)],T=0;function O(){}O[t(445)]=!0;var P,D=v[t(381)];function L(e,n,r){var o=t;if(void 0===P)try{throw Error()}catch(e){var i=e[o(421)][o(327)]()[o(390)](/\n( *(at )?)/);P=i&&i[1]||""}return"\n"+P+e}var j,U=!1,M=typeof WeakMap===t(427)?WeakMap:Map;function N(e,n){var r=t;if(!e||U)return"";var o,i=j[r(393)](e);if(void 0!==i)return i;U=!0;var a,s=Error[r(455)];Error[r(455)]=void 0,a=D[r(441)],D.current=null,function(){var e=t;if(0===T){k=console[e(477)],S=console[e(376)],E=console[e(352)],_=console[e(340)],x=console.group,C=console[e(414)],A=console[e(402)];var n={configurable:!0,enumerable:!0,value:O,writable:!0};Object[e(382)](console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}T++}();try{if(n){var c=function(){throw Error()};if(Object[r(342)](c[r(378)],r(329),{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect[r(430)]){try{Reflect[r(430)](c,[])}catch(e){o=e}Reflect[r(430)](e,[],c)}else{try{c[r(336)]()}catch(e){o=e}e[r(336)](c[r(378)])}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&typeof t[r(421)]===r(400)){for(var l=t.stack[r(398)]("\n"),u=o[r(421)][r(398)]("\n"),d=l[r(478)]-1,f=u[r(478)]-1;d>=1&&f>=0&&l[d]!==u[f];)f--;for(;d>=1&&f>=0;d--,f--)if(l[d]!==u[f]){if(1!==d||1!==f)do{if(d--,--f<0||l[d]!==u[f]){var p="\n"+l[d][r(460)](r(374),r(467));return e[r(328)]&&p[r(364)](r(385))&&(p=p[r(460)]("<anonymous>",e[r(328)])),typeof e===r(427)&&j[r(380)](e,p),p}}while(d>=1&&f>=0);break}}}finally{U=!1,D[r(441)]=a,function(){var e=t;if(0===--T){var n={configurable:!0,enumerable:!0,writable:!0};Object[e(382)](console,{log:R({},n,{value:k}),info:R({},n,{value:S}),warn:R({},n,{value:E}),error:R({},n,{value:_}),group:R({},n,{value:x}),groupCollapsed:R({},n,{value:C}),groupEnd:R({},n,{value:A})})}T<0&&b(e(395)+e(484))}(),Error[r(455)]=s}var h=e?e[r(328)]||e[r(372)]:"",g=h?L(h):"";return typeof e===r(427)&&j[r(380)](e,g),g}function F(e,n,r){var o,i,a=t;if(null==e)return"";if(typeof e===a(427))return N(e,!(!(i=e[(o=t)(378)])||!i[o(399)]));if(typeof e===a(400))return L(e);switch(e){case d:return L(a(479));case f:return L(a(362))}if(typeof e===a(459))switch(e[a(406)]){case u:return N(e[a(332)],!1);case p:return F(e.type,n,r);case h:var s=e,c=s[a(450)],l=s._init;try{return F(l(c),n,r)}catch(e){}}return""}j=new M;var B=Object.prototype[t(480)],z={},V=v[t(463)];function K(e){var n=t;if(e){var r=e[n(338)],o=F(e[n(458)],e[n(491)],r?r[n(458)]:null);V.setExtraStackFrame(o)}else V.setExtraStackFrame(null)}var W=Array[t(447)];function H(e){return W(e)}function q(e){return""+e}function Y(e){var n,r,o=t;if(function(e){try{return q(e),!1}catch(e){return!0}}(e))return b(o(410)+o(367),(n=e,r=t,typeof Symbol===r(427)&&Symbol[r(436)]&&n[Symbol[r(436)]]||n.constructor[r(372)]||r(386))),q(e)}var G,$,J,Q=v.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function Z(e,n,o,i,a){var s,c,l,u,d,f,p,h,g,m,y,v,I,k,S,E,_,x=t,C={},A=null,R=null;for(s in void 0!==o&&(Y(o),A=""+o),function(e){var n=t;if(B[n(336)](e,n(494))){var r=Object[n(449)](e,n(494))[n(393)];if(r&&r[n(432)])return!1}return void 0!==e[n(494)]}(n)&&(Y(n[x(494)]),A=""+n.key),function(e){var n=t;if(B[n(336)](e,n(368))){var r=Object[n(449)](e,n(368))[n(393)];if(r&&r[n(432)])return!1}return void 0!==e[n(368)]}(n)&&(R=n[x(368)],function(e,n){var r=t;if(typeof e.ref===r(400)&&Q[r(441)]&&n&&Q[r(441)][r(487)]!==n){var o=w(Q[r(441)][r(458)]);!J[o]&&(b(r(476)+r(394)+"This case cannot be automatically converted to an arrow function. "+r(334)+r(489)+r(416),w(Q[r(441)].type),e[r(368)]),J[o]=!0)}}(n,a)),n)B[x(336)](n,s)&&!X[x(480)](s)&&(C[s]=n[s]);if(e&&e[x(486)]){var T=e[x(486)];for(s in T)void 0===C[s]&&(C[s]=T[s])}if(A||R){var O="function"==typeof e?e.displayName||e[x(372)]||"Unknown":e;A&&(k=C,S=O,(_=function(){var e=an;!G&&(G=!0,b(e(337)+e(408)+e(471)+"prop. (https://reactjs.org/link/special-props)",S))})[(E=t)(432)]=!0,Object[E(342)](k,E(494),{get:_,configurable:!0})),R&&(m=C,y=O,(I=function(){var e=an;!$&&($=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same "+e(471)+e(354),y))})[(v=t)(432)]=!0,Object[v(342)](m,"ref",{get:I,configurable:!0}))}return c=e,l=A,u=R,d=a,f=i,p=Q[x(441)],(g={$$typeof:r,type:c,key:l,ref:u,props:C,_owner:p})[(h=t)(401)]={},Object.defineProperty(g._store,h(341),{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(g,h(348),{configurable:!1,enumerable:!1,writable:!1,value:d}),Object[h(342)](g,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object[h(350)]&&(Object[h(350)](g[h(329)]),Object[h(350)](g)),g}J={};var ee,te=v[t(351)],ne=v.ReactDebugCurrentFrame;function re(e){var n=t;if(e){var r=e[n(338)],o=F(e[n(458)],e[n(491)],r?r[n(458)]:null);ne[n(383)](o)}else ne[n(383)](null)}function oe(e){return"object"==typeof e&&null!==e&&e[t(406)]===r}function ie(){var e=t;if(te[e(441)]){var n=w(te[e(441)][e(458)]);if(n)return e(387)+n+"`."}return""}ee=!1;var ae={};function se(e,n){var r=t;if(e[r(401)]&&!e[r(401)][r(341)]&&null==e[r(494)]){e._store[r(341)]=!0;var o=function(e){var n=t,r=ie();if(!r){var o=typeof e===n(400)?e:e[n(328)]||e.name;o&&(r=n(331)+o+">.")}return r}(n);if(!ae[o]){ae[o]=!0;var i="";e&&e[r(338)]&&e[r(338)]!==te.current&&(i=r(370)+w(e._owner[r(458)])+"."),re(e),b(r(405)+"%s%s See https://reactjs.org/link/warning-keys for more information.",o,i),re(null)}}}function ce(e,n){var r=t;if(typeof e===r(459))if(H(e))for(var o=0;o<e[r(478)];o++){var i=e[o];oe(i)&&se(i,n)}else if(oe(e))e[r(401)]&&(e._store[r(341)]=!0);else if(e){var a=function(e){var n=t;if(null===e||typeof e!==n(459))return null;var r=m&&e[m]||e[y];return typeof r===n(427)?r:null}(e);if(typeof a===r(427)&&a!==e.entries)for(var s,c=a[r(336)](e);!(s=c[r(363)]())[r(429)];)oe(s[r(423)])&&se(s[r(423)],n)}}function le(e){var n,r=t,o=e[r(458)];if(null!=o&&"string"!=typeof o){if(typeof o===r(427))n=o.propTypes;else{if(typeof o!==r(459)||o[r(406)]!==u&&o.$$typeof!==p)return;n=o[r(433)]}if(n){var i=w(o);!function(e,n,r,o,i){var a=t,s=Function[a(336)][a(442)](B);for(var c in e)if(s(e,c)){var l=void 0;try{if(typeof e[c]!==a(427)){var u=Error((o||"React class")+": "+r+a(330)+c+a(468)+"it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u[a(372)]=a(418),u}l=e[c](n,c,o,r,null,a(365))}catch(e){l=e}l&&!(l instanceof Error)&&(K(i),b(a(397)+a(424)+a(473)+a(437)+a(456)+a(475),o||"React class",r,c,typeof l),K(null)),l instanceof Error&&!(l[a(490)]in z)&&(z[l.message]=!0,K(i),b("Failed %s type: %s",r,l[a(490)]),K(null))}}(n,e[r(329)],r(465),i,e)}else if(void 0!==o[r(466)]&&!ee){ee=!0;var a=w(o);b(r(448),a||"Unknown")}typeof o[r(492)]===r(427)&&!o[r(492)][r(493)]&&b(r(446)+r(454))}}var ue={};function de(n,o,m,y,v,I){var k=t,S=typeof(R=n)===(T=t)(400)||typeof R===T(427)||R===i||R===s||R===a||R===d||R===f||R===g||"object"==typeof R&&null!==R&&(R.$$typeof===h||R[T(406)]===p||R.$$typeof===c||R[T(406)]===l||R[T(406)]===u||R[T(406)]===e||void 0!==R[T(481)]);if(!S){var E="";(void 0===n||typeof n===k(459)&&null!==n&&0===Object[k(444)](n).length)&&(E+=k(440)+k(409));var _,x=(A=t,void 0!==(C=v)?"\n\nCheck your code at "+C.fileName.replace(/^.*[\\\/]/,"")+":"+C[A(356)]+".":"");E+=x||ie(),null===n?_=k(451):H(n)?_="array":void 0!==n&&n[k(406)]===r?(_="<"+(w(n[k(458)])||k(461))+k(344),E=" Did you accidentally export a JSX literal instead of a component?"):_=typeof n,b(k(469)+k(359)+k(392),_,E)}var C,A,R,T,O=Z(n,o,m,v,I);if(null==O)return O;if(S){var P=o[k(333)];if(void 0!==P)if(y)if(H(P)){for(var D=0;D<P[k(478)];D++)ce(P[D],n);Object[k(350)]&&Object[k(350)](P)}else b(k(415)+k(453)+k(347));else ce(P,n)}if(B[k(336)](o,"key")){var L=w(n),j=Object[k(444)](o).filter(function(e){return e!==k(494)}),U=j[k(478)]>0?k(375)+j[k(343)](k(438))+": ...}":k(474);if(!ue[L+U]){var M=j[k(478)]>0?"{"+j[k(343)](k(438))+": ...}":"{}";b('A props object containing a "key" prop is being spread into JSX:\n'+k(335)+k(403)+k(369)+k(335)+k(483),U,L,M,L),ue[L+U]=!0}}return n===i?function(e){for(var n=t,r=Object[n(444)](e.props),o=0;o<r[n(478)];o++){var i=r[o];if(i!==n(333)&&i!==n(494)){re(e),b(n(439)+n(422),i),re(null);break}}null!==e.ref&&(re(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}(O):le(O),O}var fe=function(e,t,n){return de(e,t,n,!1)},pe=function(e,t,n){return de(e,t,n,!0)};rn[t(396)]=i,rn.jsx=fe,rn[t(360)]=pe}()),rn);var un=Lt[cn(330)];function dn(){var e=["getDefaultExportFromCjs","5732432SsXYmN","2564185aogyTF","1479UfuTNX","3586128gpgBjQ","7525432FzcmPK","638sJIGoa","443002aGBWRL","production","use strict","633326XXyOnt","exports"];return(dn=function(){return e})()}Dt[cn(331)](un);const fn=Qt.createContext(null);function pn({children:e,config:t}){const[n,r]=Qt.useState(!1),[o,i]=Qt.useState(null),[a,s]=Qt.useState(null),c=e=>{try{s(null),n&&Et.reset(),Et.init(e),i(e),r(!0),e.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(e){const t=e instanceof Error?e.message:"Unknown error";s(t),console.error("❌ AdStage SDK initialization failed:",e),r(!1),i(null)}};Qt.useEffect(()=>{t&&!n&&c(t)},[t,n]);const l={isInitialized:n,config:o,initialize:c,reset:()=>{try{Et.reset(),r(!1),i(null),s(null)}catch(e){console.error("❌ AdStage SDK reset failed:",e)}},error:a};return un.jsx(fn.Provider,{value:l,children:e})}function hn(){const e=Qt.useContext(fn);if(!e)throw new Error("useAdStageContext must be used within an AdStageProvider");return e}function gn(){const{isInitialized:e}=hn();return e?Et:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function mn(e,t){var n=yn();return(mn=function(e,t){return n[e-=463]})(e,t)}function yn(){var e=["1359048QKxaDm","16809984rNzxDJ","5719050tZLoww","5068693Kotupo","1rOSEom","336098UyiUeF","738114sCOyOk","1354615oMEhQq"];return(yn=function(){return e})()}!function(){for(var e=mn,t=yn();;)try{if(620572===parseInt(e(463))/1*(-parseInt(e(464))/2)+-parseInt(e(465))/3+parseInt(e(467))/4+parseInt(e(466))/5+-parseInt(e(469))/6+-parseInt(e(470))/7+parseInt(e(468))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const vn=wn;!function(){const e=wn,t=kn();for(;;)try{if(480641===-parseInt(e(466))/1*(-parseInt(e(472))/2)+-parseInt(e(467))/3+-parseInt(e(469))/4*(parseInt(e(473))/5)+-parseInt(e(468))/6*(parseInt(e(471))/7)+parseInt(e(465))/8+parseInt(e(477))/9+parseInt(e(470))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const bn="2.0.0",In=[vn(474),vn(464),vn(476)];function wn(e,t){const n=kn();return(wn=function(e,t){return n[e-=464]})(e,t)}function kn(){const e=["9858ddEGct","4AlDYrC","12459920jCzMNM","2562RPNgSK","960mtYQkF","2854745IvyNof","ads","AdStage","config","4071078CJsjFJ","events","3046392XwfCFE","4kZCOVu","1284375GzLMuj"];return(kn=function(){return e})()}"undefined"!=typeof window&&(window[vn(475)]=Et);export{Et as AdStage,pn as AdStageProvider,bn as SDK_VERSION,In as SUPPORTED_MODULES,ct as TrackingParamsModule,Rt as getUserProperties,Ct as setUserProperties,xt as track,hn as useAdStageContext,gn as useAdStageInstance};