@adstage/web-sdk 3.0.3 → 3.0.4

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,4 @@
1
- var t,e,n,r,s,o,i,a,c,d,l,u;function p(t,e){var n=h();return(p=function(t,e){return n[t-=108]})(t,e)}function h(){var t=["INTERSTITIAL","DESKTOP","NATIVE","18paCBWc","TABLET","1ebPeBx","POPUP","3776ZhRrDg","BANNER","TEXT","VIDEO","4613310QpouAZ","CLICK","2387915IMumzp","240SwgANZ","MOBILE","VIEWABLE","978RcdPFB","1351063EQwPqV","2635894smkjyb","168wLEGYM","346644KTmtLr","WEB","62799nQozJB","1870xEMWVs"];return(h=function(){return t})()}function f(t,e){const n=m();return(f=function(t,e){return n[t-=155]})(t,e)}!function(){for(var t=p,e=h();;)try{if(678304===parseInt(t(122))/1*(-parseInt(t(111))/2)+-parseInt(t(109))/3*(-parseInt(t(124))/4)+-parseInt(t(130))/5+parseInt(t(120))/6*(-parseInt(t(110))/7)+parseInt(t(131))/8*(-parseInt(t(113))/9)+-parseInt(t(116))/10*(parseInt(t(115))/11)+parseInt(t(112))/12*(parseInt(t(128))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=p)(125)]="BANNER",e[n(123)]=n(123),e.INTERSTITIAL=n(117),e[n(119)]="NATIVE",e[n(127)]="VIDEO",e.TEXT=n(126),(s=r||(r={}))[(o=p)(114)]=o(114),s[o(132)]="MOBILE",a=i||(i={}),c=p,a.VIEWABLE=c(108),a[c(129)]="CLICK",(l=d||(d={}))[(u=p)(118)]=u(118),l[u(132)]="MOBILE",l[u(121)]=u(121);const g=f;function m(){const t=["1304452dgwoPG","scrollTop","removeChild","275317ZyJxBo","log","⏳ 컨테이너 대기 시작: ","ms)","safeWindowOpen","safeGetElementById","readyState","querySelector","safeAddEventListener","appendChild","ms (","safeApplyStyles","56615mddLdz","waitForElement","location","ms 경과)","safeQuerySelector","safeSetInnerHTML","canUseDOM","entries","addEventListener","ceil","createElement","querySelectorAll","✅ 컨테이너 즉시 발견: ","getComputedStyle","5198679FzZHVE","innerHTML","getElementById","classList","style",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"78eHuPxD","isDOMReady","removeEventListener","getDocumentProperty","open","getPageInfo",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"safeQuerySelectorAll","✅ 컨테이너 발견: ","safeCreateElement","152tMrzCq","pow","safeAddClass","353350raddWA","safeGetComputedStyle","pageYOffset","9026826MWmZJc","safeAppendChild","innerWidth","waitForDOM","204448KlLSeF","add","setProperty","getWindowProperty","getViewportInfo","isBrowser","safeRemoveClass","all","from","documentElement",'❌ 컨테이너를 찾을 수 없습니다: "',"getScrollInfo","pageXOffset","isSSR","DOM을 사용할 수 없는 환경입니다.","innerHeight","min"];return(m=function(){return t})()}!function(){const t=f,e=m();for(;;)try{if(793883===parseInt(t(163))/1+-parseInt(t(211))/2+-parseInt(t(198))/3*(-parseInt(t(218))/4)+parseInt(t(178))/5+-parseInt(t(214))/6+parseInt(t(166))/7*(-parseInt(t(208))/8)+parseInt(t(192))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class I{static[g(223)](){return"undefined"!=typeof window&&"undefined"!=typeof document}static[g(159)](){return!this[g(223)]()}static canUseDOM(){const t=g;return this.isBrowser()&&void 0!==document[t(172)]}static[g(171)](t){return this[g(184)]()?document.getElementById(t):null}static[g(182)](t){const e=g;return this[e(184)]()?document[e(173)](t):null}static[g(205)](t){const e=g;return this[e(184)]()?Array[e(226)](document[e(189)](t)):[]}static[g(207)](t){const e=g;return this.canUseDOM()?document[e(188)](t):null}static safeAddEventListener(t,e,n,r){const s=g;this.canUseDOM()&&t&&t[s(186)](e,n,r)}static safeRemoveEventListener(t,e,n,r){const s=g;this[s(184)]()&&t&&t[s(200)](e,n,r)}static getWindowProperty(t,e){return this[g(223)]()?window[t]??e:e}static[g(201)](t,e){return this[g(184)]()?document[t]??e:e}static[g(170)](t,e,n){const r=g;return this.isBrowser()?window[r(202)](t,e,n):null}static[g(212)](t){const e=g;return this[e(223)]()&&t?window[e(191)](t):null}static[g(199)](){const t=g;return!!this[t(184)]()&&"loading"!==document[t(172)]}static[g(217)](){return new Promise(t=>{const e=f;this.canUseDOM()?this[e(199)]()?t():this[e(174)](document,"DOMContentLoaded",()=>t()):t()})}static[g(177)](t,e){const n=g;this[n(184)]()&&t&&Object[n(185)](e).forEach(([e,r])=>{const s=n;t[s(196)][s(220)](e,r)})}static[g(210)](t,e){const n=g;this[n(184)]()&&t&&t[n(195)][n(219)](e)}static[g(224)](t,e){const n=g;this[n(184)]()&&t&&t[n(195)].remove(e)}static safeSetTextContent(t,e){this.canUseDOM()&&t&&(t.textContent=e)}static[g(183)](t,e){const n=g;this.canUseDOM()&&t&&(t[n(193)]=e)}static[g(215)](t,e){const n=g;this[n(184)]()&&t&&e&&t[n(175)](e)}static safeRemoveChild(t,e){const n=g;this[n(184)]()&&t&&e&&t[n(165)](e)}static[g(203)](){const t=g;return{url:this[t(221)](t(180),{href:""}).href,title:this.getDocumentProperty("title",""),referrer:this[t(201)]("referrer","")}}static[g(222)](){const t=g;return{width:this.getWindowProperty(t(216),0),height:this[t(221)](t(161),0),pixelRatio:this.getWindowProperty("devicePixelRatio",1)}}static[g(157)](){const t=g;return{scrollTop:this.canUseDOM()?window[t(213)]||document[t(155)][t(164)]:0,scrollLeft:this[t(221)](t(158),0)}}static async[g(179)](t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(184)]())throw new Error(n(160));const i=document[n(194)](t);return i?(o&&console[n(167)](n(190)+t),i):(o&&console[n(167)](n(168)+t+" (최대 "+r+n(169)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(187)](r/s),l=()=>{const n=a;c++;const u=document[n(194)](t);if(u)return o&&console[n(167)](n(206)+t+" ("+c+"번째 시도, "+c*s+n(181)),void e(u);if(c>=d){const e=n(156)+t+n(204)+t+n(197)+r+n(176)+c+"번 시도)";return o&&console.error(e),void i(new Error(e))}o&&c%10==0&&console.log("⏳ 컨테이너 대기 중: "+t+" ("+c+"/"+d+")");const p=Math[n(162)](s*Math[n(209)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async waitForElements(t,e={}){const n=g,r=t.map(t=>this[n(179)](t,e));return Promise[n(225)](r)}}function y(){const t=["3025320tQltLZ","277294WRUkwh","604930LtKeiG","14562WusYvC","136023yPUrjD","1980AkwApd",'"3.0.3"',"20GmoNuW"," AdStageSDK/","3lMemce","userAgent","AdStageSDK/","2308104LroXzC","414702bqvcFD","7hPbfBs","11kIpBgo"];return(y=function(){return t})()}const v=w;!function(){const t=w,e=y();for(;;)try{if(234010===parseInt(t(359))/1*(parseInt(t(367))/2)+-parseInt(t(370))/3*(-parseInt(t(373))/4)+-parseInt(t(368))/5+parseInt(t(363))/6*(parseInt(t(364))/7)+-parseInt(t(362))/8+-parseInt(t(369))/9*(parseInt(t(371))/10)+-parseInt(t(365))/11*(-parseInt(t(366))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const b=v(372);function w(t,e){const n=y();return(w=function(t,e){return n[t-=359]})(t,e)}function E(){return b}function k(t,e){const n=x();return(k=function(t,e){return n[t-=161]})(t,e)}function x(){const t=["18392OSZjef","getTimeout","2623626IeFKcw","45303QFjmAx","appVersion","8Tuvygr","getPlaceholderMode","1578660DqFowP","getConfig","26alutgy","1497167znOsmI","getApiKey","28pUefTr","config","getEnabledModules","1549164FntgSN","ads","timeout","8648uYfoeK","60lIKOeS","isDebugMode","440ecDwtF","modules","getAppVersion","5cMrgQK","debug","1.0.0","subtle","../core/adstage"];return(x=function(){return t})()}const S=k;!function(){const t=k,e=x();for(;;)try{if(169652===parseInt(t(181))/1*(-parseInt(t(175))/2)+-parseInt(t(166))/3*(parseInt(t(182))/4)+-parseInt(t(187))/5*(-parseInt(t(170))/6)+-parseInt(t(173))/7*(-parseInt(t(168))/8)+-parseInt(t(165))/9+-parseInt(t(184))/10*(-parseInt(t(163))/11)+parseInt(t(178))/12*(parseInt(t(172))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static getConfig(){const t=k;try{const{AdStage:e}=require(t(162));return e[t(171)]()}catch{return null}}static[S(186)](){const t=S,e=A[t(171)]();return e?.[t(167)]||t(189)}static[S(183)](){const t=S,e=A[t(171)]();return e?.[t(188)]||!1}static[S(174)](){const t=A[S(171)]();return t?.apiKey}static[S(164)](){const t=S,e=A.getConfig();return e?.[t(180)]||3e4}static[S(169)](){const t=S,e=A[t(171)]();return e?.placeholderMode||t(161)}static[S(177)](){const t=S,e=A[t(171)]();return e?.[t(185)]||[t(179),"events",t(176)]}}const C=R;function T(){const t=["4tPJSir","now","web","round","random","5097032DDeXdP","isMobile","effectiveType","setItem","connection","resolvedOptions","platform","7fUeKCC","substr","width","getAppVersion","4294269dotWRh","adstage_session_id","135445sVZcLB","generateSessionId","adstage_device_id","safeGetElementById","5727534FutfYw","unknown","getViewportInfo","toLowerCase","getBoundingClientRect","ssr_device_","device_","191867LNkSOE","getItem","scrollTop","getSlotPosition","getScrollInfo","colorDepth","SSR","timeZone","isBrowser","pixelRatio","toString","test","session_","15623496qEYGeG","getPlatform","android","userAgent","language","UTC","6233396xYQqyn","collectDeviceInfo","height"];return(T=function(){return t})()}function R(t,e){const n=T();return(R=function(t,e){return n[t-=202]})(t,e)}!function(){const t=R,e=T();for(;;)try{if(880735===-parseInt(t(202))/1*(parseInt(t(224))/2)+parseInt(t(240))/3+-parseInt(t(221))/4+-parseInt(t(242))/5+-parseInt(t(246))/6*(parseInt(t(236))/7)+parseInt(t(229))/8+parseInt(t(215))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class D{static generateDeviceId(){const t=R;if(!I.isBrowser())return t(251)+Date[t(225)]();const e=localStorage[t(203)](t(244));if(e)return e;const n=t(252)+Math[t(228)]()[t(212)](36).substr(2,9)+"_"+Date[t(225)]();return localStorage[t(232)](t(244),n),n}static[C(243)](){const t=C;if(!I[t(210)]())return"ssr_session_"+Date[t(225)]();const e=sessionStorage[t(203)](t(241));if(e)return e;const n=t(214)+Math[t(228)]()[t(212)](36)[t(237)](2,9)+"_"+Date[t(225)]();return sessionStorage[t(232)](t(241),n),n}static[C(230)](){const t=C;return!!I.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(213)](navigator[t(218)])}static getPlatform(){const t=C;if(!I[t(210)]())return t(226);const e=navigator[t(218)][t(249)]();return/iphone|ipad|ipod/[t(213)](e)?"ios":/android/[t(213)](e)?t(217):D[t(230)]()?t(226):"desktop"}static[C(222)](){const t=C,e=I[t(248)]();return{deviceId:D.generateDeviceId(),sessionId:D.generateSessionId(),osVersion:I.isBrowser()?navigator.platform:"SSR",deviceModel:I[t(210)]()?navigator[t(235)]:t(208),appVersion:A[t(239)](),sdkVersion:E(),language:I[t(210)]()&&navigator[t(219)]||"ko",country:"KR",ipAddress:"",userAgent:I.isBrowser()?navigator[t(218)]:t(208),timezone:I[t(210)]()?Intl.DateTimeFormat()[t(234)]()[t(209)]:t(220),viewportWidth:e[t(238)],viewportHeight:e[t(223)],screenWidth:I.isBrowser()?screen.width:0,screenHeight:I.isBrowser()?screen[t(223)]:0,colorDepth:I[t(210)]()?screen[t(207)]:24,pixelRatio:e[t(211)],connectionType:I[t(210)]()&&navigator[t(233)]?.[t(231)]||t(247),platform:D[t(216)]()}}static[C(205)](t){const e=C,n=I[e(245)](t);if(!n)return e(247);const r=n[e(250)](),s=I[e(206)]();return"x:"+Math[e(227)](r.left)+",y:"+Math[e(227)](r.top+s[e(204)])}}const L=P;function P(t,e){const n=_();return(P=function(t,e){return n[t-=212]})(t,e)}function _(){const t=["14184XRIDCU","3235EmEUdA","application/json","456312CrPyOn","2061vWxOjd","createForEvents","User-Agent","undefined","20WlaFfz","10490986cSGZDC","API key is required","9ikkExo","userAgent","1494705iaoTss","4861514CkTVYi","211100TIFRtF","create","144tfPzhw"];return(_=function(){return t})()}!function(){const t=P,e=_();for(;;)try{if(853371===parseInt(t(219))/1*(parseInt(t(214))/2)+parseInt(t(228))/3+-parseInt(t(212))/4+-parseInt(t(216))/5*(-parseInt(t(215))/6)+parseInt(t(229))/7+-parseInt(t(218))/8*(parseInt(t(226))/9)+parseInt(t(223))/10*(-parseInt(t(224))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class B{static[L(213)](t,e){const n=L;if(!t)throw new Error(n(225));const r={"x-api-key":t,"Content-Type":e?.contentType||n(217)};return typeof navigator!==n(222)&&(r[n(221)]=e?.userAgent||navigator[n(227)]),r}static[L(220)](t,e){const n=L,r=B[n(213)](t);return e?.[n(227)]&&(r["User-Agent"]=e[n(227)]),r}}const z=V;function V(t,e){const n=U();return(V=function(t,e){return n[t-=409]})(t,e)}!function(){const t=V,e=U();for(;;)try{if(225691===-parseInt(t(444))/1*(-parseInt(t(437))/2)+-parseInt(t(427))/3+parseInt(t(436))/4*(parseInt(t(417))/5)+parseInt(t(434))/6+-parseInt(t(423))/7+-parseInt(t(426))/8*(-parseInt(t(429))/9)+-parseInt(t(450))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{constructor(t,e,n,r){const s=V;this[s(453)]=t,this[s(416)]=e,this[s(443)]=n,this[s(447)]=r}async trackAdvertisementEvent(t,e,n){const r=V;try{this.debug&&console[r(451)](r(428)+n+r(418)+t+r(441)+e);const s=this[r(447)].get(e),o=D[r(438)](),a={adType:s?.adType||r(432),platform:o.platform,deviceId:o[r(420)],deviceInfo:o,pageUrl:I.getPageInfo()[r(440)],pageTitle:I.getPageInfo()[r(421)],referrer:I[r(439)]()[r(445)],slotId:e,slotPosition:D.getSlotPosition(s?.[r(413)]||""),slotWidth:M[r(409)](s?.[r(435)]),slotHeight:M[r(409)](s?.[r(456)]),sessionId:o[r(412)],pageLoadTime:performance[r(414)](),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[r(414)]()},...n===i[r(415)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(453)]+"/advertisements/events/"+t+"/"+n,d=B[r(433)](this[r(416)],a);this[r(443)]&&(console.log(r(410)+n+" for ad "+t,{url:c,headers:d,eventData:a}),console[r(451)]("🌐 Full API call details:",{method:r(446),url:c,hasApiKey:!!this[r(416)],bodySize:JSON[r(424)](a)[r(449)]}));const l=await fetch(c,{method:"POST",headers:d,body:JSON[r(424)](a)});if(this[r(443)]&&console[r(451)](r(455)+l[r(430)]+" "+l[r(419)],{url:c,ok:l.ok}),!l.ok){const t=await l[r(448)]();throw new Error(r(422)+l[r(430)]+" "+l[r(419)]+" - "+t)}this[r(443)]&&console[r(451)]("✅ Successfully tracked advertisement event: "+n+r(425)+t)}catch(s){console[r(452)]("❌ Failed to track advertisement event:",s),console[r(452)](r(457),{baseUrl:this[r(453)],apiKey:this[r(416)]?this.apiKey.substring(0,8)+r(442):"NOT_SET",url:this.baseUrl+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[z(409)](t){const e=z;if(typeof t===e(411))return t;if(typeof t===e(454)){const n=parseFloat(t[e(431)](/px$/,""));return isNaN(n)?0:n}return 0}}function U(){const t=["containerId","now","VIEWABLE","apiKey","5zTEVQv"," event for ad ","statusText","deviceId","title","API request failed: ","1111712sKxfVM","stringify"," for ad ","360nxEDWo","643566LDMpnI","🚀 AdvertisementEventTracker: Processing ","90126nzASjF","status","replace","BANNER","createForEvents","1578078XEurGO","width","1804812dhCZJM","159740bRfwiL","collectDeviceInfo","getPageInfo","url"," in slot ","...","debug","1XbZOYn","referrer","POST","slots","text","length","6456870HDmSpp","log","error","baseUrl","string","📡 API Response Status: ","height","🔍 Debug info:","parseNumericValue","🚀 Sending advertisement event: ","number","sessionId"];return(U=function(){return t})()}var N=O;function F(){var t=["isViewableTriggered","visibilityState","intersectionRatio","onViewableCallback","element","forEach","4422900UDwPms","IntersectionObserver","warn","visible","IntersectionObserver not supported, viewability tracking disabled","1342170LQUhJt","456076ETNRpw","observer","7504833VSsWZk","486886QXEkCa","380370fUsNnu","isDocumentVisible","12qZsjnG","destroy","initIntersectionObserver","handleIntersection","18103152XeRany"];return(F=function(){return t})()}function O(t,e){var n=F();return(O=function(t,e){return n[t-=295]})(t,e)}!function(){for(var t=O,e=F();;)try{if(565404===parseInt(t(312))/1+parseInt(t(309))/2+parseInt(t(313))/3*(parseInt(t(315))/4)+parseInt(t(303))/5+-parseInt(t(308))/6+parseInt(t(311))/7+-parseInt(t(296))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class j{constructor(t,e){var n=O;this[n(310)]=null,this[n(297)]=!1,this[n(301)]=t,this.onViewableCallback=e,this.initIntersectionObserver()}[N(317)](){var t=N;t(304)in window?(this.observer=new IntersectionObserver(e=>this[t(295)](e),{threshold:.5,rootMargin:"0px"}),this.observer.observe(this[t(301)])):console[t(305)](t(307))}[N(295)](t){var e=N;t[e(302)](t=>{var n=e;t[n(299)]>=.5&&this[n(314)]()&&!this[n(297)]&&(this[n(297)]=!0,this[n(300)]&&this[n(300)]())})}[N(314)](){var t=N;return!document.hidden&&document[t(298)]===t(306)}[N(316)](){var t=N;this[t(310)]&&(this[t(310)].disconnect(),this.observer=null)}}const H=Y;function K(){const t=["list","410SZzwVD","755wRJIVq","56061QKYMFY","getBaseUrl","https://api.adstage.io","/advertisements","https://beta-api.adstage.app","10673Hrwdkb","setBaseUrl","advertisements","2442213mdSLNs","98838ZxEJuQ","2200MHVzpr","/advertisements/list","events","custom","412423OZLTDN","23676RKPZda","track","4gjXpiB","detail","6971223EcEmFJ","/events/track","baseUrl","6YPuNId","production","27708JhHfmj"];return(K=function(){return t})()}!function(){const t=Y,e=K();for(;;)try{if(979467===parseInt(t(452))/1*(parseInt(t(465))/2)+parseInt(t(451))/3*(-parseInt(t(460))/4)+-parseInt(t(470))/5*(-parseInt(t(467))/6)+-parseInt(t(462))/7+parseInt(t(453))/8*(parseInt(t(471))/9)+-parseInt(t(469))/10*(parseInt(t(457))/11)+-parseInt(t(458))/12*(-parseInt(t(476))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const W={production:H(473),beta:H(475)};function Y(t,e){const n=K();return(Y=function(t,e){return n[t-=449]})(t,e)}const X={advertisements:{list:H(454),detail:H(474),events:"/advertisements/events"},events:{track:H(463)}};class q{constructor(t){const e=H;this[e(450)]={list:()=>""+this[e(464)]+X[e(450)][e(468)],detail:t=>""+this[e(464)]+X[e(450)][e(461)]+"/"+t,events:(t,n)=>""+this[e(464)]+X[e(450)][e(455)]+"/"+t+"/"+n},this.events={track:()=>""+this.baseUrl+X[e(455)][e(459)]},this[e(464)]=t||W[e(466)]}[H(449)](t){this.baseUrl=t}[H(472)](){return this[H(464)]}[H(456)](t){return""+this[H(464)]+(t.startsWith("/")?t:"/"+t)}}const J=new q;var Z=G;function Q(){var t=["log","296890onLpIv","1EuhSWS","VIEWABLE","36RYITSX","2474938EUDuDa","752780zKcebC",") in slot: ","8188477WYVwRt","trackSlideViewable","229525vRwCaj","_id"," (index: ","1506716tlPhlJ","6vLBSCo","148744cIwLgF","306WigLkO","🎯 Triggering initial VIEWABLE event: ad "];return(Q=function(){return t})()}function G(t,e){var n=Q();return(G=function(t,e){return n[t-=284]})(t,e)}!function(){for(var t=G,e=Q();;)try{if(811837===-parseInt(t(291))/1*(-parseInt(t(294))/2)+-parseInt(t(285))/3*(-parseInt(t(284))/4)+parseInt(t(299))/5*(parseInt(t(293))/6)+-parseInt(t(295))/7+-parseInt(t(286))/8*(parseInt(t(287))/9)+parseInt(t(290))/10+-parseInt(t(297))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ${static[Z(298)](t,e,n,r,s=!1){var o=Z;s&&console[o(289)]("🎯 Triggering VIEWABLE event for slide change: ad "+t._id+o(301)+n+o(296)+e.id),r(t[o(300)],e.id,i[o(292)])}static trackInitialSlideViewable(t,e,n,r=!1){var s=Z;r&&console[s(289)](s(288)+t[s(300)]+" (index: 0) in slot: "+e.id),n(t._id,e.id,i.VIEWABLE)}}function tt(){const t=[" ad clicked: ","400FsphTs","isClickable","8152060BbFAWU","2166QtdPnL","toLowerCase","8302zgGKEW","click","addClickEvent","3191850iAMMtN","CLICK"," -> ","preventDefault","style","adType","addEventListener","cursor","forEach","8248CrmTkl","log","16xuPzut","2434254SHoVwt","addClickEventsBatch","13121xnuBZM","open","linkUrl","stopPropagation","22738344FtDdpn","🔗 ","44fHgkwN","addClickEventForRenderer","11huCLOV","pointer","_id","_blank"];return(tt=function(){return t})()}const et=nt;function nt(t,e){const n=tt();return(nt=function(t,e){return n[t-=301]})(t,e)}!function(){const t=nt,e=tt();for(;;)try{if(415586===parseInt(t(310))/1*(-parseInt(t(316))/2)+parseInt(t(308))/3+parseInt(t(305))/4*(-parseInt(t(323))/5)+parseInt(t(326))/6*(parseInt(t(328))/7)+parseInt(t(307))/8*(parseInt(t(331))/9)+-parseInt(t(325))/10*(-parseInt(t(318))/11)+-parseInt(t(314))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[et(330)](t,e,n,r,s=!1,o){const a=et;e[a(312)]&&(t[a(335)][a(303)]=a(319),t[a(302)](a(329),t=>{const c=a;if(t[c(334)](),t[c(313)](),r&&r(e._id,n.id,i[c(332)]),window[c(311)](e[c(312)],"_blank"),s){const t=o||String(n.adType)[c(327)]();console[c(306)](c(315)+t+" ad clicked: "+e._id+c(333)+e[c(312)])}}))}static[et(317)](t,e,n,r,s=!1,o){const a=et;e[a(312)]&&(t[a(335)][a(303)]=a(319),t.addEventListener("click",t=>{const c=a;t[c(334)](),t[c(313)]();if(r()(e[c(320)],n.id,i[c(332)]),window.open(e[c(312)],c(321)),s){const t=o||String(n[c(301)]).toLowerCase();console[c(306)]("🔗 "+t+c(322)+e[c(320)]+" -> "+e[c(312)])}}))}static addClickEventForSlider(t,e,n,r,s=!1,o){this.addClickEvent(t,e,n,r,s,o)}static[et(324)](t){return Boolean(t.linkUrl)}static[et(309)](t,e,n,r,s=!1,o){const i=et;t[i(304)]((t,a)=>{const c=i,d=e[a];d&&this[c(330)](t,d,n,r,s,o)})}}function st(t,e){const n=ot();return(st=function(t,e){return n[t-=163]})(t,e)}function ot(){const t=["videoUrl","cover","\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 ","3927528qWFkAW","height","cssText","150LwIius","click","0.9","createSliderContainer","addEventListener","contains","createSimpleAdElement","adstage-dots","adstage-slide-container","transform 0.4s ease-out","forEach","string","objectFit","normal","div","style","1px dashed #ccc","touchstart","26LoNnbt","\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 ","touches","background","#000","toLowerCase","fontSize","children","TEXT","6992612FTsFdX","button","Banner Ad","adstage-slider-wrapper","addTouchSupport","createMinimalDotIndicator","active","mouseenter","_id","auto","center","img","touchend","classList","setAttribute","transform","display","flex","className","createElement","preventDefault","14px","add","#f9f9f9","opacity","8px","backgroundColor","getBoundingClientRect","#999999","adstage-slide","length","transparent","hidden","src","textContent","#666666","6255IcTmRf","adType","width","appendChild","VIDEO","1776600DeRIhD","body","video","data-adstage-ad-id","padding","12CWzvHV","querySelectorAll","adstage-dot","Text Ad","none","includes","overflow","#cccccc","transition","color","borderColor","entries","white","clientX","changedTouches","removeChild","BANNER","abs","50px","border","24CirqGX","3tofyha","mouseleave","100px",".adstage-dot","relative","Video Ad","1px solid #666","whiteSpace","block","20663cPnnHo","inline-block","3161916afUVlJ","1202236DATwoa","100%","autoSlideInterval"];return(ot=function(){return t})()}const it=st;!function(){const t=st,e=ot();for(;;)try{if(401531===parseInt(t(255))/1*(-parseInt(t(170))/2)+parseInt(t(246))/3*(-parseInt(t(257))/4)+-parseInt(t(220))/5+parseInt(t(264))/6+parseInt(t(258))/7*(parseInt(t(245))/8)+-parseInt(t(215))/9*(-parseInt(t(267))/10)+-parseInt(t(179))/11*(-parseInt(t(225))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static[it(273)](e,n){const r=it,s=document[r(198)](r(166));switch(s.className="adstage-ad adstage-"+String(e[r(216)])[r(175)](),s[r(193)](r(223),n[r(187)]),s[r(193)]("data-adstage-slot-id",e.id),s[r(167)][r(195)]=r(254),s[r(167)][r(217)]="100%",s[r(167)][r(265)]=r(188),e[r(216)]){case t[r(241)]:if(n.imageUrl){const t=document.createElement(r(190));t[r(212)]=n.imageUrl,t.style.width=r(259),t.style[r(265)]=r(188),t[r(167)][r(164)]=r(262),s[r(218)](t)}else s[r(167)][r(265)]=r(248),s[r(167)][r(205)]="#f0f0f0",s[r(167)][r(244)]=r(168),s[r(213)]=r(181);break;case t[r(219)]:if(n[r(261)]){const t=document[r(198)](r(222));t.src=n[r(261)],t.style.width=r(259),t[r(167)][r(265)]=r(188),s[r(218)](t)}else s[r(167)][r(265)]="200px",s[r(167)][r(205)]=r(174),s[r(167)][r(244)]=r(252),s.textContent=r(251),s[r(167)][r(234)]=r(237);break;case t[r(178)]:if(n[r(213)]){const t=document[r(198)](r(166));t[r(213)]=n[r(213)]||"",t[r(167)][r(224)]="8px",t.style[r(176)]=r(200),s[r(218)](t)}else s[r(167)][r(265)]=r(243),s[r(167)][r(224)]=r(204),s[r(213)]=r(228);break;default:s[r(167)][r(265)]=r(248),s[r(167)][r(244)]="1px dashed #ccc",s[r(167)][r(205)]=r(202),s[r(213)]=e[r(216)]+" Ad"}return s}static[it(270)](e,n,r,s,o=!1){const i=it,a=document.createElement(i(166));a[i(197)]=i(182);const c={position:i(250),overflow:i(211)};if(e[i(217)]&&0!==e.width){let t;t=typeof e.width===i(163)?e[i(217)][i(230)]("px")||e[i(217)][i(230)]("%")?e[i(217)]:e.width+"px":e[i(217)]+"px",c[i(217)]=t,c.display=i(256)}else c[i(195)]="inline-block";if(e[i(265)]&&0!==e[i(265)]){const t=typeof e[i(265)]===i(163)?e[i(265)]:e.height+"px";c[i(265)]=t}Object.entries(c).forEach(([t,e])=>{a[i(167)].setProperty(t,e)});const d=!e[i(217)]||0===e[i(217)],l=!e[i(265)]||0===e.height;if(d||l){const t=document[i(198)](i(166));if(t[i(167)][i(266)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&e[i(217)]){let n;n="string"==typeof e[i(217)]&&(e[i(217)][i(230)]("px")||e[i(217)][i(230)]("%"))?e[i(217)]:e.width+"px",t[i(167)][i(217)]=n,t[i(167)][i(253)]=i(165)}document.body[i(218)](t);let r=0,s=0;n[i(277)](n=>{const o=i,a=this[o(273)](e,n);t[o(218)](a);const c=a[o(206)]();c[o(217)]>r&&(r=c[o(217)]),c.height>s&&(s=c[o(265)]),t[o(240)](a)}),d&&r>0&&(a[i(167)][i(217)]=r+"px",c[i(217)]=r+"px"),l&&s>0&&(a[i(167)][i(265)]=s+"px",c[i(265)]=s+"px"),document[i(221)][i(240)](t)}const u=[...n,n[0]],p=document[i(198)](i(166));p[i(197)]=i(275);const h={display:i(196),transition:i(276),width:100*u[i(209)]+"%"};e[i(265)]&&0!==e.height&&(h[i(265)]=i(259)),Object.entries(h)[i(277)](([t,e])=>{p[i(167)].setProperty(t,e)}),u[i(277)]((t,n)=>{const r=i,a=document[r(198)](r(166));a[r(197)]=r(208);const c={width:100/u[r(209)]+"%","flex-shrink":"0",display:r(196),"align-items":r(189),"justify-content":r(189)};e.height&&0!==e[r(265)]&&(c[r(265)]=r(259)),Object[r(236)](c).forEach(([t,e])=>{a[r(167)].setProperty(t,e)});const d=this[r(273)](e,t);rt.addClickEventForSlider(d,t,e,s,o,String(e[r(216)])[r(175)]()),a[r(218)](d),p[r(218)](a)});const f=n.every(e=>e.adType===t.TEXT)?null:this[i(184)](n.length);let g=0;const m=n.length,I=1e3*(r?.[i(260)]||3),y=(t,r=!1)=>{const a=i;g=t,p[a(167)][a(233)]=a(r?229:276),p[a(167)][a(194)]="translateX(-"+100/u[a(209)]*g+"%)";const c=g===m?0:g;if(f){f[a(226)](a(249))[a(277)]((t,e)=>{const n=a,r=t;e===c?(r[n(192)][n(201)]("active"),r.style[n(173)]=n(214),r[n(167)][n(235)]=n(214),r[n(167)].opacity="1"):(r.classList.remove(n(185)),r[n(167)][n(173)]=n(210),r.style[n(235)]=n(232),r[n(167)][n(203)]="0.7")})}$.trackSlideViewable(n[c],e,c,s,o)},v=()=>{g===m&&setTimeout(()=>{y(0,!0)},400)};if(f){f[i(226)](i(249))[i(277)]((t,e)=>{const n=i;t[n(271)](n(268),()=>y(e))})}let b=setInterval(()=>{y(g+1),v()},I);return a[i(271)](i(186),()=>{clearInterval(b)}),a[i(271)](i(247),()=>{b=setInterval(()=>{y(g+1),v()},I)}),this[i(183)](p,y,()=>g,m,v),a[i(218)](p),f&&a.appendChild(f),y(0),(!e[i(217)]||0===e[i(217)])&&setTimeout(()=>{const t=i,n=p.children[0];if(n){const r=n[t(177)][0];if(r){const n=r[t(206)]();a[t(167)][t(217)]=n[t(217)]+"px",(!e[t(265)]||0===e[t(265)])&&(a[t(167)][t(265)]=n.height+"px"),a.style[t(231)]=t(211)}}},10),a}static[it(184)](t){const e=it,n=document[e(198)](e(166));n[e(197)]=e(274),n.style[e(266)]=e(263);for(let r=0;r<t;r++){const t=document[e(198)](e(180));t.className=e(227),t[e(167)][e(266)]=e(171),t[e(271)]("mouseenter",()=>{const n=e;!t[n(192)].contains(n(185))&&(t[n(167)][n(235)]=n(207),t[n(167)][n(203)]=n(269))}),t[e(271)](e(247),()=>{const n=e;!t[n(192)][n(272)](n(185))&&(t[n(167)][n(235)]="#cccccc",t[n(167)][n(203)]="0.7")}),n[e(218)](t)}return n}static[it(183)](t,e,n,r,s){const o=it;let i=0,a=!1;t[o(271)](o(169),t=>{const e=o;i=t[e(172)][0][e(238)],a=!0}),t[o(271)]("touchmove",t=>{a&&t[o(199)]()}),t[o(271)](o(191),t=>{const c=o;if(!a)return;a=!1;const d=t[c(239)][0][c(238)],l=i-d;if(Math[c(242)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function ct(){const t=["clear","log","delete","2391914nIoKDP","✅ New viewable recorded for ad ","5873520NErtsG","9YdDOAs","clearAdViewable","3279NVYqoQ","add","13941IMExXm","viewableTracker","1544EQIZwU","has"," in slot ","6504336BstIul","Duplicate viewable blocked for ad ","3336EaNtsr","12917430OnuYrT","227148njdzPj"];return(ct=function(){return t})()}const dt=ut;!function(){const t=ut,e=ct();for(;;)try{if(899158===parseInt(t(452))/1*(-parseInt(t(445))/2)+parseInt(t(434))/3*(parseInt(t(443))/4)+parseInt(t(451))/5+parseInt(t(441))/6+parseInt(t(449))/7+parseInt(t(438))/8*(-parseInt(t(436))/9)+-parseInt(t(444))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class lt{static isDuplicateViewable(t,e,n=!1){const r=ut,s=t+"_"+e;return lt[r(437)][r(439)](s)?(n&&console.log(r(442)+t+" in slot "+e),!0):(lt[r(437)][r(435)](s),n&&console[r(447)](r(450)+t+r(440)+e),!1)}static[dt(446)](){const t=dt;lt[t(437)][t(446)]()}static[dt(453)](t,e){const n=dt,r=t+"_"+e;lt.viewableTracker[n(448)](r)}}function ut(t,e){const n=ct();return(ut=function(t,e){return n[t-=434]})(t,e)}lt[dt(437)]=new Set;const pt=ht;function ht(t,e){const n=ft();return(ht=function(t,e){return n[t-=122]})(t,e)}function ft(){const t=["data-adstage-type","4px","justifyContent","style","rgba(0, 0, 0, 0.02)","auto","renderFallback","closest","1580018RKsLjF","data-adstage-slot",'[class*="banner"]',"calculateAdSize","createEmptyContainer","transparent","1257028FGJhIM","7BywaPf"," container collapsed (","setAttribute","adstage-slot adstage-","className"," for ","border"," event for ad ","#666","invisible","advertisementEventTracker","flex",'[class*="container"]',"⚠️ Created empty ","getAttribute","\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 ","borderRadius","1993696lcXCqe","6px"," in slot ","block","2px dashed #e74c3c","height","true","minimal","⚠️ AdvertisementEventTracker not available for ","287194bomBLf","px)","hasAttribute","monospace",'div[style*="height"]',"674540UsPgju","string","5NjDKth","unknown","div","78pnHxCa","#e74c3c","📊 Advertisement event tracked: ","🔄 Starting advertisement event tracking: ","applyPlaceholderStyle","data-adstage-container","❌ Failed to track ","toLowerCase"," ad...</span>","fontSize","rgba(248, 249, 250, 0.5)","VIEWABLE","fontFamily","\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 ","adstage-slot","display","100%","getDefaultHeight","9PwTUwi","adstage-class","createPlaceholder","alignItems","📏 Using default height ","isEmpty","width","getComputedStyle","classList","getContainerHeight","getElementById","): ","filter","warn","✅ New viewable recorded for ad ","opacity","error","placeholderMode","rgba(231, 76, 60, 0.1)","color","querySelector","containerId","innerHTML","#f9f9f9","adstage-official","subtle","debug",".adstage-","<span>Loading ","11px",'div[style*="min-height"]',"📏 Using 100% height (container: ","1px dashed #ccc","1924578uOvIpg","none","number",'[class*="ad"]',"center","backgroundColor","9489HlNilt","adType","trackAdvertisementEvent","generic","log","minHeight"," container: ","data-adstage-empty"," for ad ","🚫 Duplicate viewable blocked for ad ",".adstage-slot",'[data-adstage-container="true"]',"appendChild"];return(ft=function(){return t})()}!function(){const t=ht,e=ft();for(;;)try{if(330359===parseInt(t(156))/1+parseInt(t(166))/2*(-parseInt(t(223))/3)+parseInt(t(129))/4*(parseInt(t(163))/5)+-parseInt(t(217))/6*(parseInt(t(130))/7)+-parseInt(t(147))/8*(-parseInt(t(184))/9)+parseInt(t(161))/10+-parseInt(t(123))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class gt{constructor(t,e=!1,n){const r=ht;this[r(224)]=t,this.debug=e,this[r(140)]=n||null}[pt(186)](t,e,n,r){const s=pt,o=document.createElement(s(165));o.id=e,o[s(134)]=s(133)+String(this[s(224)])[s(173)](),o[s(132)]("data-adstage-container",s(153)),o[s(132)](s(236),String(this.adType)),o[s(132)](s(124),e);const{width:i,height:a}=this[s(126)](t,n,r)||{width:s(182),height:this[s(183)]()};o.style[s(190)]=i,o.style[s(152)]=a;const c=r?.[s(201)]||n.placeholderMode||s(139);this[s(170)](o,c),t.appendChild(o),this.debug&&console[s(227)]("📦 Placeholder created for "+this[s(224)]+" slot: "+e+" ("+i+" x "+a+") - Mode: "+c)}[pt(170)](t,e){const n=pt;switch(e){case"invisible":t[n(239)][n(222)]=n(128),t[n(239)][n(136)]=n(218),t[n(239)][n(199)]="0",t.innerHTML="";break;case n(128):t[n(239)].backgroundColor=n(128),t[n(239)][n(136)]=n(218),t[n(239)][n(181)]=n(150),t.innerHTML="";break;case n(209):t[n(239)][n(222)]=n(240),t.style[n(136)]=n(218),t[n(239)][n(146)]=n(237),t[n(239)].display=n(141),t.style.alignItems=n(221),t[n(239)][n(238)]=n(221),t.innerHTML='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case n(154):t[n(239)].backgroundColor=n(176),t[n(239)][n(136)]="1px solid rgba(0, 0, 0, 0.08)",t[n(239)][n(146)]=n(148),t[n(239)][n(181)]=n(141),t.style.alignItems="center",t.style[n(238)]="center",t[n(206)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(210):t[n(239)].border=n(151),t[n(239)].display=n(141),t[n(239)][n(187)]="center",t[n(239)].justifyContent="center",t[n(239)].backgroundColor=n(202),t[n(239)][n(203)]=n(167),t.style[n(178)]=n(159),t[n(239)][n(175)]=n(213),t[n(206)]=n(212)+this.adType+n(174);break;default:t[n(239)][n(136)]=n(216),t[n(239)][n(181)]=n(141),t[n(239)][n(187)]="center",t[n(239)][n(238)]=n(221),t[n(239)][n(222)]=n(207),t[n(239)].color=n(138),t.innerHTML=n(212)+this[n(224)]+n(174)}}[pt(126)](t,e,n){const r=pt,s=e[r(190)],o=e[r(152)];let i,a;if(i=typeof s===r(219)?s+"px":typeof s===r(162)?s:"100%","number"==typeof o)a=o+"px";else if(typeof o===r(162)&&"100%"!==o&&o!==r(241))a=o;else{const e=this[r(193)](t);e>0?(a=r(182),(n?.[r(210)]||this[r(210)])&&console[r(227)](r(215)+e+r(157))):(a=this[r(183)](),(n?.[r(210)]||this[r(210)])&&console[r(227)](r(188)+a+r(135)+this.adType))}return{width:i,height:a}}[pt(193)](t){const e=pt,n=window[e(191)](t),r=parseFloat(n[e(152)]);if(!r||0===r){const r=parseFloat(n[e(228)]);if(r>0)return r;if(t[e(239)].height&&t[e(239)][e(152)]!==e(241)){const n=parseFloat(t[e(239)].height);if(n>0)return n}const s=t[e(144)](e(152));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=ht;if(n===i[r(177)]){if(lt.isDuplicateViewable(t,e,this[r(210)]))return void(this[r(210)]&&console[r(227)](r(232)+t+r(149)+e));this[r(210)]&&console[r(227)](r(198)+t+r(149)+e)}if(this.advertisementEventTracker)try{this.debug&&console[r(227)](r(169)+n+r(231)+t+r(149)+e),await this[r(140)][r(225)](t,e,n),this[r(210)]&&console.log(r(168)+n+r(231)+t+r(149)+e)}catch(e){this[r(210)]&&console[r(200)](r(172)+n+r(137)+t+":",e)}else this[r(210)]&&console.warn(r(155)+n+" event")}}[pt(242)](t){const e=pt,n=document.getElementById(t.id);if(n){const r=[...[n[e(204)](e(234)),n[e(122)](e(234)),n][e(196)](t=>t&&t.hasAttribute(e(171))),...[n[e(122)](e(233)),n[e(122)](e(211)+String(this[e(224)])[e(173)]()),n.closest(e(220)),n[e(122)](e(125)),n[e(122)](e(142)),n.closest(e(160)),n.closest(e(214)),n.parentElement].filter(Boolean)][0];if(r){let n=e(164);n=r[e(158)](e(171))?e(208):r[e(192)].contains(e(180))?e(185):e(226),r[e(239)].cssText+=e(179),r[e(206)]="",r.setAttribute(e(230),"true"),this[e(210)]&&console[e(197)]("⚠️ "+this[e(224)]+e(131)+n+e(195)+t.id,r)}else this[e(127)](t)}t.advertisement=void 0,t[e(189)]=!0}[pt(127)](t){const e=pt,n=document[e(194)](t[e(205)]);if(n){n[e(206)]="";const r=document.createElement("div");r.id=t.id,r[e(134)]="adstage-slot adstage-empty adstage-"+String(this[e(224)])[e(173)](),r[e(132)](e(171),e(153)),r.setAttribute(e(230),e(153)),r[e(132)](e(124),t.id),r[e(239)].cssText=e(145),n[e(235)](r),this[e(210)]&&console.warn(e(143)+this.adType+e(229)+t.id)}}[pt(227)](t,...e){this.debug&&console.log("["+this.adType+"] "+t,...e)}}function mt(){const t=["1068507LEPsyc","loadImageDimensions","8ymwMWE","_id","toString","average","naturalHeight","Image URL is not provided","📸 Banner image dimensions: ","dominant","cover","forEach","allSettled","alt","innerHTML","objectPosition","abs","4:3","📦 Banner container dimensions: ","BANNER","count","set","status","2eJQRyF","parentElement","ratio","objectFit","</div>","length","some","Banner container optimization failed, using default size:","filter","2605476oRPPNX","default","imageUrl","1:1","div","reduce","display"," (avg: ","Banner Advertisement","optimizedHeight","✅ Optimized banner image rendered for ad: ","40vziEku","8px","slideInterval","aspectRatio","src","❌ Failed to load optimized banner image:","get","onload","getBoundingClientRect","style","values","renderMultipleAds","Container not found: ","width","100%","config","warn","containerId","1134970dCbIvJ","calculateAdSize","common","height","optimizeContainerForBannerAds","debug","img","Banner Ad","calculateOptimalContainerSize","getDefaultHeight","log","getElementById","Banner","12UgdHSw","<div>","round","title","209403Dvhjrz","250px","renderOptimizedBannerImage","addClickEventForRenderer","center","className","map"," (strategy: ","1269513eGzSFL","🎨 Banner image style applied: objectFit=","applyOptimizedImageStyle","borderRadius","Failed to load image: ","toFixed","📐 Optimal banner container calculated: ",", ratio=","25780FKdPQK","appendChild","selectOptimalSizeStrategy","name","renderAdElement","adstage-ad adstage-banner-ad","createElement","calculateOptimalHeight","#f0f0f0","createEventTrackingCallback","1637274xYpJDj","onerror","backgroundColor"];return(mt=function(){return t})()}const It=yt;function yt(t,e){const n=mt();return(yt=function(t,e){return n[t-=261]})(t,e)}!function(){const t=yt,e=mt();for(;;)try{if(399951===parseInt(t(337))/1+parseInt(t(266))/2*(-parseInt(t(347))/3)+parseInt(t(275))/4+parseInt(t(304))/5*(parseInt(t(317))/6)+parseInt(t(329))/7*(-parseInt(t(352))/8)+-parseInt(t(321))/9*(-parseInt(t(286))/10)+-parseInt(t(350))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class vt extends gt{constructor(e=!1,n){super(t[yt(262)],e,n)}[It(313)](){return It(322)}async[It(341)](t,e){const n=It,r=document[n(315)](t[n(303)]);if(!r)return;const s=document.createElement(n(279));s[n(326)]=n(342);const o=t[n(284)],i=r[n(267)]||r;if(o)s[n(295)][n(299)]="100%",s[n(295)][n(307)]=String(o);else{const e=t[n(301)],r={width:e?.[n(299)],height:e?.[n(307)]},{width:o,height:a}=this[n(305)](i,r,{debug:this[n(309)]});s[n(295)][n(299)]=o,s[n(295)].height=a}e[n(277)]?await this[n(323)](s,e,t):s[n(364)]=n(318)+(e.title||n(311))+n(270),rt.addClickEventForRenderer(s,e,t,()=>this[n(346)](),this[n(309)],n(316)),r[n(364)]="",r[n(338)](s)}async[It(297)](t,e){const n=It,r=document[n(315)](t[n(303)]);if(!r)throw new Error(n(298)+t[n(303)]);await this[n(308)](t,e);const s=this[n(346)](),o={autoSlideInterval:(t.config?.[n(288)]||5e3)/1e3,...t[n(301)],optimizedHeight:t[n(284)],aspectRatio:t[n(289)]},i=at.createSliderContainer(t,e,o,s,this[n(309)]);i&&(r.innerHTML="",r[n(338)](i),this[n(309)]&&console[n(314)]("🎠 Banner carousel created for slot: "+t.id+" with "+e[n(271)]+" ads (optimized: "+(t[n(284)]||n(276))+")"))}async calculateOptimalContainerSize(t,e){const n=It;if(!t.length)return{width:n(300),height:this[n(313)](),aspectRatio:16/9};try{const r=(await Promise[n(362)](t[n(274)](t=>t[n(277)])[n(327)](t=>this.loadImageDimensions(t[n(277)]))))[n(274)](t=>"fulfilled"===t[n(265)]).map(t=>t.value);if(0===r[n(271)])return{width:n(300),height:this.getDefaultHeight(),aspectRatio:16/9};const s=this[n(339)](r),o=this[n(344)](r,e,s);return this[n(309)]&&console[n(314)](n(335)+e+"x"+o+n(328)+s+")"),{width:n(300),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(302)]("Failed to calculate optimal banner size, using defaults:",t),{width:n(300),height:this[n(313)](),aspectRatio:16/9}}}async[It(308)](t,e){const n=It;try{const r=document[n(315)](t[n(303)]),s=document[n(315)](t.id);if(!r||!s)return;const o=r[n(294)]()[n(299)]||300,i=await this[n(312)](e,o);s[n(295)][n(307)]=i[n(307)],t[n(284)]=i[n(307)],t[n(289)]=i.aspectRatio,this[n(309)]&&console[n(314)]("🔧 Banner container optimized for "+e[n(271)]+" ads: "+i[n(307)])}catch(t){console[n(302)](n(273),t)}}[It(339)](t){const e=It,n=t[e(327)](t=>t[e(299)]/t[e(307)]),r=new Map;n[e(361)](t=>{const n=e,s=(Math[n(319)](10*t)/10)[n(354)]();r[n(264)](s,(r[n(292)](s)||0)+1)});const s=Math.max(...r[e(296)]()),o=t[e(271)];if(s/o>=.7)return e(359);const i=[16/9,4/3,1,1.5];return n[e(274)](t=>i[e(272)](e=>Math.abs(t-e)<.1)).length/o>=.5?"common":e(355)}[It(344)](t,e,n){const r=It,s=t[r(327)](t=>t[r(299)]/t.height);switch(n){case r(359):{const t=new Map;s[r(361)](e=>{const n=r,s=Math[n(319)](10*e)/10,o=s[n(354)](),i=t[n(292)](o);i?i.count++:t[n(264)](o,{ratio:s,count:1})});const n=Array.from(t.values())[r(280)]((t,e)=>e[r(263)]>t[r(263)]?e:t);return Math[r(319)](e/n.ratio)}case r(306):{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:r(367)},{ratio:1,name:r(278)},{ratio:1.5,name:"3:2"}],n=s[r(280)]((t,e)=>t+e,0)/s[r(271)],o=t[r(280)]((t,e)=>Math[r(366)](e.ratio-n)<Math[r(366)](t[r(268)]-n)?e:t);return this[r(309)]&&console[r(314)]("📊 Using standard ratio: "+o[r(340)]+r(282)+n[r(334)](2)+")"),Math.round(e/o[r(268)])}case r(355):default:{const t=s[r(280)]((t,e)=>t+e,0)/s.length;return Math[r(319)](e/t)}}}[It(351)](t){return new Promise((e,n)=>{const r=yt,s=new Image;s[r(293)]=()=>{const t=r;e({width:s.naturalWidth,height:s[t(356)]})},s[r(348)]=()=>{n(new Error(r(333)+t))},s.src=t})}[It(331)](t,e,n){const r=It,s=e/n;Math.abs(s-1)<.1?(t.style.objectFit="cover",t[r(295)][r(365)]=r(325)):s>1.3?(t[r(295)][r(269)]="contain",t[r(295)].objectPosition=r(325),t.style[r(349)]=r(345)):s<.7?(t[r(295)][r(269)]=r(360),t[r(295)].objectPosition=r(325)):(t[r(295)][r(269)]=r(360),t[r(295)][r(365)]=r(325)),this[r(309)]&&console[r(314)](r(330)+t[r(295)][r(269)]+r(336)+s[r(334)](2))}async[It(323)](t,e,n){const r=It,s=document[r(343)](r(310));s[r(295)][r(299)]=r(300),s[r(295)][r(307)]="100%",s[r(295)][r(281)]="block",s.style[r(332)]=r(287),s[r(363)]=e[r(320)]||r(283),t[r(364)]='<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>';try{if(!e[r(277)])throw new Error(r(357));const o=await this[r(351)](e[r(277)]),i=t[r(294)](),a=i[r(299)],c=i[r(307)];this[r(309)]&&(console.log(r(358)+o.width+"x"+o[r(307)]),console[r(314)](r(261)+a+"x"+c));const d=o.width/o[r(307)],l=a/c;return this[r(331)](s,d,l),s[r(290)]=e[r(277)],t[r(364)]="",t[r(338)](s),rt.addClickEventForRenderer(s,e,n,()=>this[r(346)](),this[r(309)],"Banner"),this.debug&&console[r(314)](r(285)+e[r(353)]),s}catch(o){return console.error(r(291),o),e.imageUrl&&(s[r(290)]=e[r(277)],s[r(295)][r(269)]=r(360),s[r(295)][r(365)]="center",t.innerHTML="",t[r(338)](s),rt[r(324)](s,e,n,()=>this[r(346)](),this[r(309)],r(316))),s}}}function bt(){const t=["1022pJsbbj","2312730BWJVRG","248997jBstmC","27112yJgyFX","1228132urEuAn","8640530YHjXwR","4462047VmYXQq","19733NcEExn","11hXgtkD","setTextAdContent","10qhsbdq","createTextAdStyles","30YYuVqb","\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 ","title","textContent"];return(bt=function(){return t})()}function wt(t,e){const n=bt();return(wt=function(t,e){return n[t-=160]})(t,e)}const Et=wt;!function(){const t=wt,e=bt();for(;;)try{if(515451===-parseInt(t(164))/1*(-parseInt(t(169))/2)+parseInt(t(175))/3+-parseInt(t(161))/4*(-parseInt(t(167))/5)+parseInt(t(174))/6+parseInt(t(173))/7*(-parseInt(t(160))/8)+parseInt(t(163))/9+parseInt(t(162))/10*(-parseInt(t(165))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class kt{static[Et(168)](t=!1){return Et(170)}static[Et(166)](t,e){const n=Et,r=e[n(172)]||e[n(171)]||"";t.textContent=r}}function xt(){const t=["string","position","zIndex","forEach","translateY(20px)","style","adType","relative","minHeight","Text","push","setAttribute","adstage-fade-slider-wrapper","mouseenter","createTextAdStyles",";\n ","addEventListener","createSimpleAdElement","adstage-ad adstage-","trackSlideViewable","whiteSpace","16kzVfSn","auto","abs","autoSlideInterval","clientX","removeChild","adstage-fade-slide","height","width","className","\n position: ","4088106fPXzfR","touches","height: auto; min-height: fit-content;","2720320WYXbbv","touchend","opacity","changedTouches","\n ",";\n transform: translateY(","setProperty","preventDefault","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","cssText","clientY","createElement","touchstart","addTouchSupport","translateY(0)",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","div","addClickEventForSlider","data-adstage-ad-id","createTextTransitionContainer","2EmwwrM","includes","left","getBoundingClientRect","normal","touchmove","length","3867820WdUiCg","fit-content","hidden","164127DxLPXu",";\n left: ","absolute","transform","15840880rIXxyU","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","_id","appendChild","top","133211zWYtvr","5147513LlAJZZ","6PakjqC"];return(xt=function(){return t})()}const St=At;function At(t,e){const n=xt();return(At=function(t,e){return n[t-=486]})(t,e)}!function(){const t=At,e=xt();for(;;)try{if(517392===-parseInt(t(557))/1*(parseInt(t(538))/2)+parseInt(t(548))/3*(-parseInt(t(504))/4)+-parseInt(t(545))/5+-parseInt(t(559))/6*(parseInt(t(558))/7)+parseInt(t(518))/8+parseInt(t(515))/9+parseInt(t(552))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct{static[St(500)](t,e){const n=St,r=document[n(529)](n(534));return r[n(513)]=n(501)+String(t[n(489)]).toLowerCase(),r[n(494)](n(536),e[n(554)]),r.setAttribute("data-adstage-slot-id",t.id),r[n(488)][n(527)]=kt[n(497)](!0),kt.setTextAdContent(r,e),r}static[St(537)](t,e,n,r,s=!1){const o=St,i=t[o(511)]&&0!==t.height&&t[o(511)]!==o(505),a=document[o(529)]("div");a[o(513)]=o(495);const c={position:"relative",overflow:o(547),display:"block"};if(!i&&(c[o(511)]=o(505),c[o(491)]=o(546)),t[o(512)]&&0!==t[o(512)]){let e;e="string"==typeof t.width?t[o(512)][o(539)]("px")||t[o(512)][o(539)]("%")?t[o(512)]:t.width+"px":t[o(512)]+"px",c[o(512)]=e}if(t.height&&0!==t[o(511)]&&"auto"!==t[o(511)]&&i){let e;e=typeof t[o(511)]===o(560)?t[o(511)][o(539)]("px")||t[o(511)].includes("%")?t.height:t[o(511)]+"px":t.height+"px",c[o(511)]=e}Object.entries(c).forEach(([t,e])=>{const n=o;a[n(488)][n(524)](t,e)});const d=document[o(529)]("div");d[o(513)]="adstage-fade-slide-container",d.style[o(527)]="\n position: relative;\n width: 100%;\n "+(i?"height: 100%;":o(517))+o(522);let l=null;const u=!t[o(512)]||0===t.width,p=!t[o(511)]||0===t[o(511)]||void 0===t[o(511)]||t[o(511)]===o(505);if(u||p&&i){if(l=document[o(529)](o(534)),l[o(488)][o(527)]=o(526),!u&&t.width){let e;e=typeof t.width===o(560)?t[o(512)].includes("px")||t[o(512)].includes("%")?t[o(512)]:t.width+"px":t[o(512)]+"px",l[o(488)][o(512)]=e,l[o(488)][o(503)]=o(542)}document.body[o(555)](l);let n=0,r=0;e[o(486)](e=>{const s=o,i=this[s(500)](t,e);l[s(555)](i);const a=i[s(541)]();a[s(512)]>n&&(n=a[s(512)]),a.height>r&&(r=a[s(511)]),l[s(509)](i)}),u&&n>0&&(a[o(488)].width=n+"px"),p&&r>0&&i&&(a[o(488)][o(511)]=r+"px"),document.body[o(509)](l)}const h=[];e.forEach((e,n)=>{const a=o,c=document.createElement("div");c[a(513)]=a(510);const l=0===n,u=i?a(550):l?a(490):"absolute";c.style[a(527)]=a(514)+u+";\n top: "+(u===a(550)?"0":"auto")+a(549)+(u===a(550)?"0":a(505))+";\n width: 100%;\n "+(i?"height: 100%;":"height: auto;")+a(553)+(0===n?"1":"0")+a(523)+(0===n?"0":"20px")+a(533)+(0===n?"2":"1")+a(498);const p=this[a(500)](t,e);rt[a(535)](p,e,t,r,s,a(492)),c[a(555)](p),d.appendChild(c),h[a(493)](c)});let f=0;const g=e[o(544)],m=1e3*(n?.[o(507)]||4),I=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&("relative"===c[a(488)][a(561)]&&(c.style[a(561)]=a(550),c.style[a(556)]="0",c[a(488)].left="0"),d[a(488)][a(561)]=a(490),d.style.top=a(505),d[a(488)][a(540)]="auto"),c[a(488)][a(520)]="0",c[a(488)].transform="translateY(-20px)",c[a(488)].zIndex="1",d[a(488)].opacity="1",d[a(488)][a(551)]=a(532),d[a(488)][a(562)]="2",h[a(486)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(488)].opacity="0",t.style[r(551)]=r(487),t[r(488)][r(562)]="1",!i&&t[r(488)][r(561)]===r(490)&&(t[r(488)].position=r(550),t[r(488)][r(556)]="0",t[r(488)][r(540)]="0"))}),f=n,$[a(502)](e[f],t,f,r,s)};let y=setInterval(()=>{I(f+1)},m);return a.addEventListener(o(496),()=>{clearInterval(y)}),a[o(499)]("mouseleave",()=>{y=setInterval(()=>{I(f+1)},m)}),Ct[o(531)](a,I,()=>f,g),a[o(555)](d),a}static addTouchSupport(t,e,n,r){const s=St;let o=0,i=0,a=!1;t[s(499)](s(530),t=>{const e=s;o=t[e(516)][0][e(508)],i=t.touches[0][e(528)],a=!0}),t[s(499)](s(543),t=>{a&&t[s(525)]()}),t.addEventListener(s(519),t=>{const r=s;if(!a)return;a=!1;const c=t[r(521)][0][r(508)],d=t[r(521)][0].clientY,l=o-c,u=i-d;if(Math[r(506)](l)>Math[r(506)](u)&&Math[r(506)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const Tt=Rt;function Rt(t,e){const n=Dt();return(Rt=function(t,e){return n[t-=500]})(t,e)}function Dt(){const t=["containerId","100%","1456bYjmVa","display","webkitLineClamp","length","Text","parentElement","div","optimizedHeight","webkitBoxOrient","517930FfmjdG","setTextAdContent","className","overflow"," with ","Container not found: ","log","slideInterval","maxLines","createTextAdStyles","addClickEventForRenderer","height","width","style"," ads","15297843VIwTmh","number","4365536WRmlug","1951465EPNXzu","appendChild","_id","createElement","963vUZhZd","debug","createEventTrackingCallback","getElementById","aspectRatio","TEXT","65176sqcTjN","6513mPlzVZ","vertical","innerHTML","adstage-ad adstage-text-ad","adstage-text-content","60px","150196KHWefA","-webkit-box","✨ Text transition created for slot: ","config","cssText","13KNlvot","hidden","12cHYfPt","getDefaultHeight"];return(Dt=function(){return t})()}!function(){const t=Rt,e=Dt();for(;;)try{if(601069===-parseInt(t(500))/1*(parseInt(t(550))/2)+parseInt(t(544))/3*(-parseInt(t(506))/4)+parseInt(t(533))/5*(parseInt(t(502))/6)+-parseInt(t(532))/7+parseInt(t(543))/8*(parseInt(t(537))/9)+-parseInt(t(515))/10+parseInt(t(530))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Lt extends gt{constructor(e=!1,n){super(t[Rt(542)],e,n)}[Tt(503)](){return Tt(549)}async renderAdElement(t,e){const n=Tt,r=document[n(540)](t.containerId);if(!r)return;const s=document[n(536)](n(512));s.className=n(547);const o=t.optimizedHeight,i=r[n(511)]||r;if(o)s.style[n(527)]=n(505),s[n(528)].height=String(o);else{const e=t[n(553)],r={width:e?.[n(527)],height:e?.[n(526)]},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this[n(538)]});s[n(528)][n(527)]=o,s[n(528)][n(526)]=a}const a=document[n(536)](n(512));a[n(517)]=n(548),a[n(528)][n(554)]=kt[n(524)](!1),kt[n(516)](a,e);const c=t.config?.[n(523)];c&&typeof c===n(531)&&(a[n(528)][n(507)]=n(551),a[n(528)][n(508)]=String(c),a.style[n(514)]=n(545),a[n(528)][n(518)]=n(501)),s.appendChild(a),rt[n(525)](s,e,t,()=>this.createEventTrackingCallback(),this[n(538)],n(510)),r[n(546)]="",r.appendChild(s),this[n(538)]&&console[n(521)]("✨ Single text ad rendered: "+e[n(535)])}async renderMultipleAds(t,e){const n=Tt,r=document.getElementById(t[n(504)]);if(!r)throw new Error(n(520)+t[n(504)]);const s=this[n(539)](),o={autoSlideInterval:(t[n(553)]?.[n(522)]||5e3)/1e3,...t[n(553)],optimizedHeight:t[n(513)],aspectRatio:t[n(541)]},i=Ct.createTextTransitionContainer(t,e,o,s,this.debug);i&&(r[n(546)]="",r[n(534)](i),this[n(538)]&&console[n(521)](n(552)+t.id+n(519)+e[n(509)]+n(529)))}}const Pt=_t;function _t(t,e){const n=zt();return(_t=function(t,e){return n[t-=165]})(t,e)}!function(){const t=_t,e=zt();for(;;)try{if(429530===parseInt(t(202))/1*(parseInt(t(249))/2)+-parseInt(t(252))/3+parseInt(t(269))/4*(-parseInt(t(185))/5)+-parseInt(t(182))/6+parseInt(t(246))/7+-parseInt(t(201))/8+parseInt(t(236))/9*(parseInt(t(278))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends gt{constructor(e=!1,n){super(t[_t(233)],e,n)}getDefaultHeight(){return _t(259)}async[Pt(238)](t,e){const n=Pt,r=document.getElementById(t.containerId);if(!r)return;const s=document.createElement(n(230));s[n(194)]=n(277),s[n(171)][n(267)]=n(243),this[n(225)](s,e,t),r[n(245)]="",r[n(256)](s),this.debug&&console[n(209)](n(275)+e[n(220)])}async renderMultipleAds(t,e){const n=Pt,r=document[n(213)](t[n(205)]);if(!r)throw new Error(n(212)+t[n(205)]);if(e[n(262)]>0){const s=e[0],o=document[n(261)]("div");o[n(194)]=n(277),o[n(171)][n(267)]=n(166),this[n(225)](o,s,t),r[n(245)]="",r.appendChild(o);const a=this[n(272)]();setTimeout(()=>{const e=n;a(s[e(220)],t.id,i[e(234)])},100),this[n(215)]&&console[n(209)](n(271)+t.id+" ("+s._id+")")}else this.debug&&console[n(229)](n(279)+t.id)}[Pt(225)](t,e,n){const r=Pt;t[r(171)][r(181)]=r(226);const s=document[r(261)](r(211));s[r(171)][r(204)]=r(254),s.style[r(192)]="100%",s.style.objectFit="contain",s.preload=r(169);const o=n[r(217)];if(this.debug&&console.log(r(183),o),s[r(264)]=!1,s.autoplay=!1!==o?.[r(203)],s[r(282)]=!0,s.loop=!1!==o?.[r(270)],this.debug&&console[r(209)](r(208),{autoplay:s.autoplay,muted:s[r(282)],loop:s[r(270)],controls:s[r(264)]}),!1!==o?.[r(168)]&&s[r(207)](r(168),""),!0===o?.[r(264)]&&(s[r(264)]=!0,this[r(215)]&&console.log("🎬 User explicitly enabled controls, overriding default")),o?.[r(196)])s[r(264)]=!1,s[r(171)][r(267)]+=r(170);else if(o?.[r(210)]){if(s[r(264)]){const t=document[r(261)](r(171));t[r(255)]=r(231)+(o[r(210)][r(250)]?r(251):r(175))+r(227)+(o[r(210)][r(216)]?r(251):r(175))+r(222)+(o[r(210)][r(244)]?r(251):r(175))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o.customControls[r(280)]?r(251):"block")+r(253)+(o[r(210)][r(266)]?r(251):r(175))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(o[r(210)][r(218)]?r(251):r(175))+r(242)+(o[r(210)][r(179)]?r(251):r(175))+r(237),document[r(235)].appendChild(t)}}else if(s[r(264)]){const t=document[r(261)](r(171));t.id=r(177),t[r(255)]=r(258),!document[r(213)](r(177))&&document[r(235)][r(256)](t)}this[r(215)]&&console[r(209)](r(273),s.controls?r(281):"disabled (default)");const i=document[r(261)](r(198));i[r(194)]="adstage-video-mute-button",i[r(171)].cssText=r(199),o?.hideControls&&(i.style.display=r(251));const a=()=>{const t=r,e=t(172),n=t(240);i.innerHTML=s[t(282)]?e:n,i[t(239)]=s[t(282)]?"Click to unmute":t(283)};if(a(),i[r(274)](r(180),t=>{const e=r;t.stopPropagation(),s[e(282)]=!s.muted,a(),this[e(215)]&&console[e(209)](e(263)+(s[e(282)]?e(282):e(265)))}),i.addEventListener(r(190),()=>{const t=r;i.style[t(276)]=t(193),i[t(171)][t(189)]=t(176)}),i[r(274)](r(221),()=>{const t=r;i[t(171)][t(276)]=t(167),i[t(171)].transform=t(232)}),e[r(165)]){s[r(184)]=e[r(165)];const t=()=>{const t=r;s[t(203)]&&s[t(282)]&&s[t(247)]&&s[t(178)]()[t(224)](e=>{const n=t;this[n(215)]&&(console[n(229)](n(195),e),console[n(229)](n(248))),s.muted=!0,s[n(178)]()[n(224)](t=>{const e=n;this[e(215)]&&console[e(260)](e(214),t)})})};s[r(274)](r(219),()=>{this[r(215)]&&console.log("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(274)](r(173),()=>{const e=r;this[e(215)]&&console[e(209)](e(187)),t()}),s[r(274)]("loadeddata",()=>{const e=r;this[e(215)]&&console.log(e(241)),t()}),setTimeout(()=>{const e=r;this[e(215)]&&console[e(209)](e(188)),t()},100)}else if(e[r(223)]){const n=document[r(261)](r(197));return n[r(184)]=e[r(223)],n.style.width=r(254),n[r(171)][r(192)]="100%",n[r(171)][r(206)]=r(200),n[r(191)]=e[r(239)]||"Video thumbnail",void t[r(256)](n)}rt[r(228)](s,e,n,()=>this[r(272)](),this[r(215)],r(186)),s[r(274)](r(260),s=>{const o=r;if(console.error("Video load failed:",s),e.imageUrl){const r=document[o(261)](o(197));r.src=e.imageUrl,r[o(171)][o(204)]=o(254),r.style.height=o(254),r.style[o(206)]="contain",r[o(191)]=e[o(239)]||o(174),rt[o(228)](r,e,n,()=>this[o(272)](),this[o(215)],"Video fallback"),t.innerHTML="",t[o(256)](r)}}),t[r(256)](s),t.appendChild(i),this[r(215)]&&console[r(209)]("🎬 Video element created for ad: "+e[r(220)]+" (autoplay: "+s.autoplay+r(257)+s[r(282)]+r(268)+s[r(270)]+")")}}function zt(){const t=["873318JZKOqA","🎬 Video config received:","src","20JFcguZ","Video","🎬 Video can play, attempting autoplay...","🎬 Initial autoplay attempt after timeout...","transform","mouseenter","alt","height","rgba(0, 0, 0, 0.9)","className","🎬 Auto-play was prevented:","hideControls","img","button","\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 ","contain","1369584IaXYpG","158OXtSBh","autoplay","width","containerId","objectFit","setAttribute","🎬 Final video settings:","log","customControls","video","Container not found: ","getElementById","🎬 Autoplay completely failed:","debug","hideProgressBar","config","hideMuteButton","loadedmetadata","_id","mouseleave"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","imageUrl","catch","renderVideoElementDirect","relative"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","addClickEventForRenderer","warn","div","\n video::-webkit-media-controls-play-button {\n display: ","scale(1)","VIDEO","VIEWABLE","head","333vlJIxF"," !important;\n }\n ","renderAdElement","title",'\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..."," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","\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 ","hideCurrentTime","innerHTML","1321313JHiZrF","paused","🎬 Trying muted autoplay fallback...","1634RFboTi","hidePlayButton","none","240159qrgYEM"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","100%","textContent","appendChild",", muted: ","\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 ","360px","error","createElement","length","🔊 Video mute toggled: ","controls","unmuted","hideVolumeSlider","cssText",", loop: ","426168PgxBis","loop","🎬 Single video rendered for VIDEO slot: ","createEventTrackingCallback","🎬 Video controls setting:","addEventListener","🎬 Single video ad rendered: ","background","adstage-video-container","252610gTrVKh","⚠️ No video advertisements available for slot: ","hideRemainingTime","enabled","muted","Click to mute","videoUrl","\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 ","rgba(0, 0, 0, 0.7)","playsinline","metadata","\n pointer-events: none;\n ","style",'\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 ',"canplay","Video thumbnail","block","scale(1.1)","adstage-video-default-controls","play","hideFullscreenButton","click","position"];return(zt=function(){return t})()}const Vt=Mt;function Mt(t,e){const n=Nt();return(Mt=function(t,e){return n[t-=197]})(t,e)}!function(){const t=Mt,e=Nt();for(;;)try{if(178894===-parseInt(t(223))/1+parseInt(t(215))/2*(-parseInt(t(198))/3)+parseInt(t(211))/4*(-parseInt(t(238))/5)+-parseInt(t(225))/6+-parseInt(t(200))/7*(-parseInt(t(197))/8)+parseInt(t(239))/9*(parseInt(t(206))/10)+parseInt(t(226))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ut extends gt{constructor(e=!1,n){super(t[Mt(214)],e,n)}[Vt(243)](){return Vt(218)}async[Vt(244)](t,e){const n=Vt,r=document[n(241)](t.containerId);if(!r)return;const s=document.createElement("div");if(s[n(208)]=n(210),s[n(228)].cssText="\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 ",e[n(230)]){const t=document[n(235)]("h3");t[n(205)]=e[n(230)],t.style[n(232)]=n(209),s[n(236)](t)}if(e.textContent){const t=document[n(235)]("p");t[n(205)]=e[n(205)],t[n(228)][n(232)]=n(202),s[n(236)](t)}if(e[n(219)]){const t=document[n(235)]("div");t[n(228)][n(232)]="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const r=document[n(235)](n(242));r[n(201)]=e.imageUrl,r.alt=e[n(230)]||"Native Advertisement",r.style.cssText=n(217),t[n(236)](r),s.appendChild(t)}if(e.linkUrl){const t=document.createElement(n(227));t.textContent="Learn More",t[n(228)][n(232)]=n(229),t[n(207)](n(216),()=>{const t=n;this.advertisementEventTracker&&console[t(224)](t(231)+e._id),window.open(e.linkUrl,t(213))}),t[n(207)](n(245),()=>{const e=n;t.style[e(222)]=e(220)}),t.addEventListener(n(204),()=>{const e=n;t[e(228)][e(222)]="#3b82f6"}),s[n(236)](t)}r[n(233)]="",r[n(236)](s),this[n(240)]&&console[n(224)]("🏠 Single native ad rendered: "+e[n(237)])}async[Vt(234)](t,e){const n=Vt;e[n(199)]>0?(await this.renderAdElement(t,e[0]),this[n(240)]&&console[n(224)](n(203)+e.length+n(221)+t.id)):this[n(240)]&&console[n(212)]("⚠️ No native advertisements available for slot: "+t.id)}}function Nt(){const t=["796434LUCmID","6252103hdYtOf","button","style","\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 ","title","Native click tracked for ad: ","cssText","innerHTML","renderMultipleAds","createElement","appendChild","_id","160CsOQWF","35685vhVTcp","debug","getElementById","img","getDefaultHeight","renderAdElement","mouseenter","9624MThgaA","710013cIOVZy","length","2051VIZBBC","src","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","🏠 Native ad rendered (first of ","mouseleave","textContent","430aqcPgL","addEventListener","className","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","adstage-ad adstage-native-ad","28624EfUXxV","warn","_blank","NATIVE","2zKIgAa","click","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","200px","imageUrl","#2563eb","): ","backgroundColor","314051jTHUsl","log"];return(Nt=function(){return t})()}function Ft(){const t=["43exPayw","div","target","getElementById","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","#6b7280","#3b82f6","head","backgroundColor","221379GdtQVl","appendChild","adstage-interstitial-overlay","img","keydown","\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 ","14945axYfiU","\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 ","Interstitial click tracked for ad: ","fadeOut 0.3s ease-out forwards","innerHTML","textContent","renderMultipleAds","style","open","containerId","69370eyPmEL","removeChild","1116HqqLrD","#e5e7eb","cssText","400px","mouseleave","958452rheVNI","getDefaultHeight","66gOyCDV","color","renderAdElement","🖼️ Interstitial ad rendered (first of ","imageUrl","162ZDCThY","Escape","body","linkUrl","debug","adstage-interstitial-content","parentNode","title","addEventListener","className","createElement","log","button","Interstitial Advertisement","419048yzcIIH","animation","29396EStCDa","alt","adstage-interstitial-styles","removeEventListener","🖼️ Interstitial ad closed","): ","_id","\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 ","advertisementEventTracker","🖼️ Interstitial ad rendered: ","warn","4TQrCzg","closeInterstitial","click","643965cSyFij"];return(Ft=function(){return t})()}const Ot=jt;function jt(t,e){const n=Ft();return(jt=function(t,e){return n[t-=189]})(t,e)}!function(){const t=jt,e=Ft();for(;;)try{if(359837===-parseInt(t(231))/1*(-parseInt(t(216))/2)+-parseInt(t(240))/3*(-parseInt(t(227))/4)+parseInt(t(246))/5*(-parseInt(t(258))/6)+-parseInt(t(230))/7+-parseInt(t(214))/8+-parseInt(t(200))/9*(parseInt(t(256))/10)+parseInt(t(195))/11*(parseInt(t(193))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ht extends gt{constructor(e=!1,n){super(t.INTERSTITIAL,e,n)}[Ot(194)](){return Ot(191)}async[Ot(197)](t,e){const n=Ot;if(!document.getElementById(t[n(255)]))return;const r=document[n(210)]("div");r[n(209)]=n(242),r[n(253)].cssText="\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 s=document[n(210)](n(232));s.className=n(205),s[n(253)][n(190)]=n(223);const o=document[n(210)](n(212));if(o[n(250)]="×",o[n(253)][n(190)]=n(245),o[n(208)](n(229),()=>{this.closeInterstitial(r)}),o[n(208)]("mouseenter",()=>{const t=n;o[t(253)][t(239)]=t(189),o.style[t(196)]="#374151"}),o[n(208)](n(192),()=>{const t=n;o.style[t(239)]="#f3f4f6",o.style[t(196)]=t(236)}),e[n(199)]){const t=document.createElement(n(243));t.src=e[n(199)],t[n(217)]=e[n(207)]||n(213),t[n(253)].cssText="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(241)](t)}if(e[n(207)]){const t=document[n(210)]("h2");t[n(251)]=e.title,t[n(253)].cssText=n(235),s.appendChild(t)}if(e[n(251)]){const t=document[n(210)]("p");t.textContent=e.textContent,t[n(253)].cssText="\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ",s.appendChild(t)}if(e[n(203)]){const t=document[n(210)](n(212));t[n(251)]="Get Started",t[n(253)][n(190)]="\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 ",t.addEventListener("click",()=>{const t=n;this[t(224)]&&console[t(211)](t(248)+e[t(222)]),window[t(254)](e.linkUrl,"_blank"),this.closeInterstitial(r)}),t[n(208)]("mouseenter",()=>{const e=n;t.style[e(239)]="#2563eb"}),t[n(208)](n(192),()=>{const e=n;t.style[e(239)]=e(237)}),s[n(241)](t)}const i=t=>{const e=n;t.key===e(201)&&(this[e(228)](r),document[e(219)](e(244),i))};if(document[n(208)](n(244),i),r[n(208)](n(229),t=>{const e=n;t[e(233)]===r&&this[e(228)](r)}),!document[n(234)](n(218))){const t=document[n(210)]("style");t.id=n(218),t.textContent=n(247),document[n(238)].appendChild(t)}s[n(241)](o),r[n(241)](s),document[n(202)].appendChild(r),this[n(204)]&&console.log(n(225)+e[n(222)])}async[Ot(252)](t,e){const n=Ot;e.length>0?(await this.renderAdElement(t,e[0]),this[n(204)]&&console[n(211)](n(198)+e.length+n(221)+t.id)):this.debug&&console[n(226)]("⚠️ No interstitial advertisements available for slot: "+t.id)}closeInterstitial(t){const e=Ot;t[e(253)][e(215)]=e(249),setTimeout(()=>{const n=e;t[n(206)]&&t[n(206)][n(257)](t)},300),this[e(204)]&&console[e(211)](e(220))}}const Kt=Wt;function Wt(t,e){const n=Yt();return(Wt=function(t,e){return n[t-=498]})(t,e)}function Yt(){const t=["appendChild","calculateOptimalContainerSize","getRenderer","1px dashed #ccc","config","loadImageDimensions","8px","1AfdfgS","initializeRenderers","naturalWidth","renderers","470940slmjst","block","138122QoDDnx","#f9f9f9","debug","2808gSlyZP","2687316PdOViH","INTERSTITIAL","data-adstage-ad-id","height","className","renderAdElement","div","_id","setAttribute","BANNER","advertisementEventTracker","log","24jfaQkA","naturalHeight","NATIVE","onerror","optimizeContainerForBannerAds","createPlaceholder","display","adType","videoUrl","set","193680SJJEHK","getDefaultHeight","🏭 AdRenderer factory initialized with ","createElement"," renderers","renderOptimizedBannerImage","onload","renderFallback","border","renderMultipleAds","warn","adstage-ad adstage-","2131339voYoMz","createAdElement","backgroundColor","objectFit","TEXT","width","imageUrl"," Ad","video","isLoaded","158872uDenuw","100%","2349ybRoOZ","data-adstage-slot-id","advertisement","src","⚠️ Container optimization is only supported for BANNER ads, got: ","renderAd","calculateAdSize","style","padding","textContent"];return(Yt=function(){return t})()}!function(){const t=Wt,e=Yt();for(;;)try{if(271705===-parseInt(t(514))/1*(parseInt(t(520))/2)+parseInt(t(536))/3*(parseInt(t(568))/4)+parseInt(t(518))/5+-parseInt(t(524))/6+parseInt(t(558))/7+parseInt(t(523))/8*(parseInt(t(570))/9)+-parseInt(t(546))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt{constructor(t=!1,e){const n=Wt;this[n(517)]=new Map,this.debug=t,this.advertisementEventTracker=e||null,this[n(515)]()}[Kt(515)](){const e=Kt;this[e(517)][e(545)](t[e(533)],new vt(this[e(522)],this[e(534)])),this.renderers[e(545)](t.TEXT,new Lt(this[e(522)],this.advertisementEventTracker)),this[e(517)][e(545)](t.VIDEO,new Bt(this[e(522)],this[e(534)])),this.renderers[e(545)](t[e(538)],new Ut(this.debug,this.advertisementEventTracker)),this[e(517)][e(545)](t[e(525)],new Ht(this[e(522)],this[e(534)])),this[e(522)]&&console.log(e(548)+this[e(517)].size+e(550))}[Kt(559)](e,n){const r=Kt,s=this[r(509)](e.adType),o=document[r(549)](r(530));o[r(528)]=r(557)+String(e[r(543)]).toLowerCase(),o[r(532)](r(526),n[r(531)]),o[r(532)](r(498),e.id);const{width:i,height:a}=s[r(503)](o,e[r(511)]||{},n);switch(o[r(504)].width=i,o[r(504)][r(527)]=a,o[r(504)][r(542)]=r(519),e[r(543)]){case t[r(533)]:if(n[r(564)]){const t=document[r(549)]("img");t[r(500)]=n.imageUrl,t[r(504)][r(563)]=r(569),t[r(504)][r(527)]="100%",t[r(504)][r(561)]="cover",o[r(507)](t)}break;case t.VIDEO:if(n[r(544)]){const t=document[r(549)](r(566));t[r(500)]=n[r(544)],t[r(504)][r(563)]=r(569),t[r(504)][r(527)]=r(569),o[r(507)](t)}break;case t[r(562)]:if(n[r(506)]){const t=document.createElement(r(530));t.textContent=n[r(506)]||"",t[r(504)][r(505)]=r(513),o[r(507)](t)}break;default:o[r(504)][r(554)]=r(510),o[r(504)][r(560)]=r(521),o[r(506)]=e[r(543)]+r(565)}return o}[Kt(509)](t){const e=this.renderers.get(t);if(!e)throw new Error("No renderer found for ad type: "+t);return e}[Kt(541)](t,e,n,r,s){const o=Kt;this[o(509)](n)[o(541)](t,e,r,s)}async[Kt(540)](e,n){const r=Kt;if(e[r(543)]!==t.BANNER)return void(this[r(522)]&&console[r(556)](r(501)+e[r(543)]));const s=this[r(509)](t.BANNER);await s.optimizeContainerForBannerAds(e,n)}async renderAdSlider(t,e){const n=Kt,r=this[n(509)](t[n(543)]);await r[n(555)](t,e)}async[Kt(502)](t){const e=Kt;if(!t.advertisement)throw new Error("No advertisement to render");const n=this[e(509)](t[e(543)]);await n[e(529)](t,t[e(499)]),t[e(567)]=!0}async[Kt(529)](t,e){const n=Kt,r=this[n(509)](t[n(543)]);await r[n(529)](t,e)}[Kt(553)](t){const e=Kt;this[e(509)](t[e(543)])[e(553)](t)}getDefaultHeightForAdType(t){const e=Kt;return this[e(509)](t)[e(547)]()}[Kt(503)](t,e,n,r){const s=Kt;return this[s(509)](e)[s(503)](t,n,r)}[Kt(512)](t){return new Promise((e,n)=>{const r=Wt,s=new Image;s[r(552)]=()=>{const t=r;e({width:s[t(516)],height:s[t(537)]})},s[r(539)]=()=>{n(new Error("Failed to load image: "+t))},s[r(500)]=t})}async[Kt(551)](e,n,r){const s=Kt;if(r[s(543)]!==t.BANNER)throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const o=this[s(509)](t[s(533)]);return await o.renderOptimizedBannerImage(e,n,r)}async calculateOptimalContainerSize(e,n,r){const s=Kt;if(r!==t[s(533)]){const t=this[s(509)](r);return{width:s(569),height:t[s(547)](),aspectRatio:16/9}}const o=this.getRenderer(t[s(533)]);return await o[s(508)](e,n)}log(t,...e){const n=Kt;this[n(522)]&&console[n(535)]("[AdRenderer] "+t,...e)}}const qt=Jt;function Jt(t,e){const n=Zt();return(Jt=function(t,e){return n[t-=205]})(t,e)}function Zt(){const t=["handleRemovedElement","📊 Fetched specific ad with ID: ","list","width","renderAdSlider","28bRXbFf"," removed","NATIVE","auto","824312cLjNuR","autoDestroy","✅ Ad loaded for slot: ","now",", filters:","🎯 Ads module initialized (sync mode) with auto-cleanup","deviceType","ms... (attempt ","createAd","24186168csgByN","config","🔄 Ad slot refreshed: ","API key not configured","❌ Failed to find element for viewability tracking: ","log","language","Ad slot not found: ","data-adstage-slot-id","3557775kSViLm","status","2955966ENpdYP","GET","native","maxLines","init",". Retrying in ","advertisements","3778452Ilkyrr","video","loadAdContentInBackground","json","then","❌ Failed to track viewable impression:","_id","📊 Advertisement event tracking enabled for slot: ","🗑️ Ad slot destroyed: ","isLoaded","auto-","✅ Simple viewable impression tracked for ad ","removedNodes","toString"," (element found)","destroy","country","renderAd","Failed to fetch ad data: "," ads automatically","autoSlide","slots","advertisementEventTracker","createAdWithRetry","100%","handleViewableEvent","광고 생성 중 오류 발생:"," ads)","values","📊 Fetched ","ensureReady","[data-adstage-slot-id]"," ads for type: ","substr","clear","TEXT","playsinline","slideInterval","length","error","249873lGWkqv","adId","getSlotById","_config","Container not found: ","advertisement","VIEWABLE","forEach","getConfig","from","text","append","Failed to refresh ad slot: ","🔍 Auto-cleanup MutationObserver enabled","disconnect","New advertisement viewable tracked for slot:","delete","_isReady","debug","createAdInternal","getAttribute","interstitial","onClick"," attempts: ","Auto-cleanup failed for slot ","apiKey","🗑️ Ads module destroyed","create","adType","🧹 Auto-cleanup: slot ","destroyModule","startSimpleViewabilityTracking","nodeType","createPlaceholder","Container not found after ","undefined","controls","banner","height","trackAdvertisementEvent","adRenderer","mutationObserver","get","querySelectorAll","refreshAdSlot","BANNER","string","isReady","observe","fetchAdData","default","warn","INTERSTITIAL","adstage-","setupAutoCleanup","getElementById","getBaseUrl","muted","137238uEFScF","viewabilityTracker","7ZUAlKX","loop","autoplay","hideControls","random"];return(Zt=function(){return t})()}!function(){const t=Jt,e=Zt();for(;;)try{if(530489===-parseInt(t(220))/1+parseInt(t(290))/2*(-parseInt(t(278))/3)+-parseInt(t(321))/4+-parseInt(t(312))/5+parseInt(t(314))/6+-parseInt(t(280))/7*(parseInt(t(294))/8)+parseInt(t(303))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Qt{constructor(){const t=Jt;this[t(237)]=!1,this[t(223)]=null,this[t(342)]=new Map,this.advertisementEventTracker=null,this[t(260)]=null,this[t(261)]=null}[qt(318)](t){const e=qt;this[e(223)]=t,this[e(343)]=new M(J[e(276)](),t[e(245)],t[e(238)]||!1,this[e(342)]),this.adRenderer=new Xt(t[e(238)]||!1,this[e(343)]),this[e(274)](),this[e(237)]=!0,t[e(238)]&&console[e(308)](e(299))}[qt(267)](){return this[qt(237)]}[qt(228)](){return this[qt(223)]}[qt(257)](e,n){const r=qt;this[r(210)]();const s={width:n?.width||"100%",height:n?.[r(258)]||r(293),autoSlide:n?.[r(341)]||!1,slideInterval:n?.[r(217)]||5e3,onClick:n?.[r(242)],adId:n?.adId,language:n?.[r(309)],deviceType:n?.deviceType,country:n?.[r(337)]};return this[r(302)](e,t[r(265)],s)}[qt(230)](e,n){const r=qt;this.ensureReady();const s={maxLines:n?.[r(317)]||3,style:n?.style||r(270),onClick:n?.onClick,adId:n?.[r(221)],language:n?.language,deviceType:n?.[r(300)],country:n?.[r(337)]};return this[r(302)](e,t[r(215)],s)}[qt(322)](e,n){const r=qt;this[r(210)]();const s={width:n?.[r(288)]||640,height:n?.[r(258)]||360,autoplay:void 0===n?.[r(282)]||n[r(282)],muted:void 0===n?.[r(277)]||n.muted,loop:void 0===n?.[r(281)]||n.loop,playsinline:!1!==n?.[r(216)],controls:void 0!==n?.controls&&n[r(256)],hideControls:n?.[r(283)]||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[r(242)],...n?.[r(221)]&&{adId:n.adId}};return this[r(302)](e,t.VIDEO,s)}[qt(316)](e,n){const r=qt;return this.ensureReady(),this[r(302)](e,t[r(292)],n||{})}[qt(241)](e,n){const r=qt;return this[r(210)](),this[r(302)](e,t[r(272)],n||{})}refresh(t){const e=qt;this[e(210)]();const n=this[e(342)][e(262)](t);if(!n)throw new Error("Ad slot not found: "+t);this[e(264)](n),this[e(223)]?.debug&&console[e(308)](e(305)+t)}[qt(336)](t){const e=qt;this[e(210)]();const n=this[e(342)][e(262)](t);if(!n)throw new Error(e(310)+t);n.viewabilityTracker&&n[e(279)][e(336)]();const r=document[e(275)](n.containerId);r&&(r.innerHTML=""),this.slots[e(236)](t),this[e(223)]?.[e(238)]&&console[e(308)](e(329)+t)}getAllSlots(){const t=qt;return this.ensureReady(),Array[t(229)](this.slots[t(208)]())}[qt(222)](t){const e=qt;return this[e(210)](),this[e(342)].get(t)||null}[qt(302)](t,e,n){const r=qt;if(!this._config?.apiKey)throw new Error("API key not configured");const s=r(273)+e+"-"+Date[r(297)]()+"-"+Math[r(284)]().toString(36)[r(213)](2,9);return this.createAdWithRetry(t,e,n,s,0),s}async[qt(344)](t,e,n,r,s){const o=qt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(266)){if(a=t,c=document[o(275)](t),!c)return s<4?(this._config?.[o(238)]&&console[o(271)](o(224)+t+o(319)+i[s+1]+o(301)+(s+1)+"/5)"),void setTimeout(()=>{this[o(344)](t,e,n,r,s+1)},i[s+1])):void console[o(219)](o(254)+5+o(243)+t)}else c=t,a=c.id||o(331)+r,!c.id&&(c.id=a);try{this[o(239)](a,e,n,r,c)}catch(t){console.error(o(206),t)}}[qt(239)](e,n,r,s,o){const i=qt;o.setAttribute(i(311),s),this.adRenderer?.[i(253)](o,s,n,r,this[i(223)]);const a={id:s,containerId:e,adType:n,width:r[i(288)]||i(345),height:r.height||(n===t[i(215)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(269)](n,r)[i(325)](t=>t[0]||null),render:t=>this[i(260)]?.renderAdElement(a,t),refresh:async()=>this[i(264)](a),destroy:()=>this[i(336)](s)};this[i(342)].set(s,a),this[i(323)](a),this[i(343)]&&this[i(223)]?.[i(238)]&&console[i(308)](i(328)+s)}async[qt(323)](e){const n=qt;try{const r=await this[n(269)](e[n(248)],e[n(304)]);if(!r||0===r.length)return void this[n(260)]?.renderFallback(e);e[n(248)]===t[n(265)]&&r[n(218)]>0&&await(this[n(260)]?.optimizeContainerForBannerAds(e,r)),r.length>1||e[n(304)]?.[n(341)]?(await(this[n(260)]?.[n(289)](e,r)),this._config?.[n(238)]&&console[n(308)]("🎠 Slider will handle VIEWABLE events for "+r[n(218)]+n(340))):(e.advertisement=r[0],await(this.adRenderer?.renderAdElement(e,r[0])),this[n(251)](e,r[0])),e[n(330)]=!0,this[n(223)]?.[n(238)]&&console[n(308)](n(296)+e.id+" ("+r[n(218)]+n(207))}catch(t){console[n(219)]("❌ Failed to load ad for slot: "+e.id,t),this[n(260)]?.renderFallback(e)}}startSimpleViewabilityTracking(t,e){const n=(r=0)=>{const s=Jt,o=document.getElementById(t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(223)]?.[s(238)]&&console[s(308)]("🔄 Retrying viewability tracking for slot: "+t.id+" (attempt "+(r+1)+")")):console[s(271)](s(307)+t.id));const i=new j(o,async()=>{const n=s;await this[n(205)](e,t)});t[s(279)]=i,this[s(223)]?.[s(238)]&&console[s(308)]("🎯 Simple viewability tracking started for slot: "+t.id+s(335))};n()}async handleViewableEvent(t,e){const n=qt;try{this.advertisementEventTracker&&(await this.advertisementEventTracker[n(259)](t[n(327)],e.id,i[n(226)]),this[n(223)]?.[n(238)]&&console[n(308)](n(332)+t[n(327)]))}catch(t){console[n(219)](n(326),t)}}async[qt(269)](t,e){const n=qt;if(!this[n(223)]?.[n(245)])throw new Error(n(306));if(e[n(221)]){const t=""+J[n(320)].detail(e[n(221)]),r=await fetch(t,{method:n(315),headers:B[n(247)](this[n(223)].apiKey)});if(!r.ok){if(404===r.status)return console[n(271)]("🚫 Advertisement not found with ID: "+e[n(221)]),[];throw new Error(n(339)+r[n(313)])}const s=await r.json();return this[n(223)]?.[n(238)]&&console[n(308)](n(286)+e.adId,s),[s]}const r=new URLSearchParams;r[n(231)](n(248),t),e[n(309)]&&r.append(n(309),e[n(309)]),e[n(300)]&&r[n(231)](n(300),e.deviceType),e[n(337)]&&r[n(231)](n(337),e[n(337)]);const s=J[n(320)][n(287)]()+"?"+r[n(334)](),o=await fetch(s,{method:n(315),headers:B[n(247)](this[n(223)][n(245)])});if(!o.ok)throw new Error(n(339)+o[n(313)]);const i=(await o[n(324)]())[n(320)]||[];return this[n(223)]?.debug&&console[n(308)](n(209)+i[n(218)]+n(212)+t+n(298),{language:e[n(309)],deviceType:e[n(300)],country:e.country}),i}async[qt(264)](t){const e=qt;try{const n=await this[e(269)](t[e(248)],t[e(304)]||{});n&&n[e(218)]>0&&(t[e(225)]=n[0],await(this[e(260)]?.[e(338)](t)),this[e(343)]&&console[e(308)](e(235),t.id))}catch(n){console[e(219)](e(232)+t.id,n)}}ensureReady(){if(!this[qt(237)])throw new Error("Ads module not initialized. Call AdStage.init() first.")}[qt(274)](){const t=qt;"undefined"!=typeof window&&typeof document!==t(255)&&(this[t(261)]&&this[t(261)][t(234)](),this[t(261)]=new MutationObserver(e=>{const n=t;e[n(227)](t=>{const e=n;t[e(333)].forEach(t=>{const n=e;t[n(252)]===Node.ELEMENT_NODE&&this[n(285)](t)})})}),this[t(261)][t(268)](document.body,{childList:!0,subtree:!0}),this._config?.[t(238)]&&console[t(308)](t(233)))}handleRemovedElement(t){const e=qt,n=t[e(240)](e(311));if(n)return void this[e(295)](n);t[e(263)](e(211)).forEach(t=>{const n=e,r=t[n(240)](n(311));r&&this[n(295)](r)})}autoDestroy(t){const e=qt;if(this[e(342)].get(t))try{this[e(342)][e(236)](t),this[e(223)]?.debug&&console[e(308)](e(249)+t+e(291))}catch(n){this._config?.[e(238)]&&console[e(271)](e(244)+t+":",n)}}[qt(250)](){const t=qt,e=this[t(223)]?.[t(238)];this[t(261)]&&(this[t(261)][t(234)](),this[t(261)]=null),this[t(342)][t(214)](),this[t(343)]=null,this.adRenderer=null,this._isReady=!1,this[t(223)]=null,e&&console[t(308)](t(246))}}var Gt=$t;function $t(t,e){var n=ee();return($t=function(t,e){return n[t-=191]})(t,e)}!function(){for(var t=$t,e=ee();;)try{if(209976===parseInt(t(192))/1*(-parseInt(t(194))/2)+parseInt(t(213))/3+-parseInt(t(208))/4*(-parseInt(t(221))/5)+-parseInt(t(193))/6*(parseInt(t(222))/7)+parseInt(t(223))/8*(parseInt(t(195))/9)+parseInt(t(206))/10+-parseInt(t(202))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class te{constructor(){var t=$t;this[t(196)]=!1,this[t(201)]=null,this[t(210)]=null}init(t){var e=$t;this[e(201)]={timeout:3e4,debug:!1,modules:[e(215),e(191),e(220)],...t},t[e(197)]&&J[e(204)](t[e(197)]),this[e(196)]=!0,t.debug&&console.log(e(212),{modules:this[e(201)][e(205)],endpoint:J[e(219)](),mode:e(203)})}[Gt(199)](){return this._isReady}getConfig(){return this._config}[Gt(224)](){return this._organizationInfo}getApiEndpoint(){return J[Gt(219)]()}[Gt(200)](){var t=Gt;return this[t(201)]?.[t(225)]||!1}[Gt(217)](){var t=Gt;return this[t(201)]?.[t(205)]||[]}[Gt(207)](t){var e=Gt;return this[e(217)]()[e(211)](t)}[Gt(209)](t){var e=Gt;if(!this[e(201)])throw new Error(e(218));this._config={...this[e(201)],...t},this[e(200)]()&&console.log("🔄 Config updated",t)}[Gt(216)](){var t=Gt;if(!this._config?.[t(214)])throw new Error("API key not available");return B[t(198)](this[t(201)].apiKey)}}function ee(){var t=["apiKey","ads","getApiHeaders","getEnabledModules","Config module not initialized","getBaseUrl","config","5kDvAxF","1561CgrVXh","8vnaWBE","getOrganizationInfo","debug","events","94448hsHtSa","2196yaKyEK","2rATIDo","792747RnFsVA","_isReady","baseUrl","create","isReady","isDebugMode","_config","4129488eazGWJ","development","setBaseUrl","modules","2044760QKHwhV","isModuleEnabled","914084sUtVie","updateConfig","_organizationInfo","includes","✅ Config module initialized (sync mode)","721110voEmrX"];return(ee=function(){return t})()}const ne=se;function re(){const t=["Unknown","2281330xhbTAQ","4VcsjCo","getViewportInfo","onLine","4TRCJNK","850032LqRgJD","368578WQECpy","mobile","clearUserProvidedDeviceInfo","0x0","13604ahqtHB","35222THNFhn","isBrowser","_userProvidedDeviceInfo","android","56qyQIlC","348zOkZrQ","39hJSWLr","other","cookieEnabled","ios","test","tablet","Mobile Web","getAutoDetectedDeviceInfo","language","2857131whXBiQ","platform","Android","216474iBgRzF","setDeviceProperty","userAgent","ko-KR","getPlatform","setDeviceInfo","width","getAppVersion","web","145UMNUzo","getDeviceInfo","9cSIVwf","iOS","SSR"];return(re=function(){return t})()}function se(t,e){const n=re();return(se=function(t,e){return n[t-=398]})(t,e)}!function(){const t=se,e=re();for(;;)try{if(571182===parseInt(t(425))/1*(parseInt(t(434))/2)+-parseInt(t(406))/3*(parseInt(t(428))/4)+-parseInt(t(418))/5*(-parseInt(t(409))/6)+parseInt(t(439))/7*(parseInt(t(429))/8)+parseInt(t(420))/9*(-parseInt(t(424))/10)+parseInt(t(435))/11*(-parseInt(t(440))/12)+parseInt(t(441))/13*(-parseInt(t(430))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[ne(419)](){const t=ne;return{...oe[t(404)](),...oe[t(437)]}}static[ne(404)](){const t=ne;if(!I.isBrowser())return{category:t(398),platform:t(422),model:t(422),appVersion:A[t(416)](),osVersion:t(422)};const e=navigator[t(411)].toLowerCase();let n="desktop";/tablet|ipad/[t(401)](e)?n=t(402):D.isMobile()&&(n=t(431));const r=D[t(413)]();return{category:n,platform:oe.mapPlatformForEvents(r),model:navigator[t(407)],appVersion:A[t(416)](),osVersion:navigator[t(407)]}}static[ne(414)](t){oe[ne(437)]={...oe._userProvidedDeviceInfo,...t}}static[ne(410)](t,e){oe[ne(437)][t]=e}static[ne(432)](){oe[ne(437)]={}}static getUserProvidedDeviceInfo(){return{...oe[ne(437)]}}static mapPlatformForEvents(t){const e=ne;switch(t){case e(400):return e(421);case e(438):return e(408);case e(417):return e(403);case"desktop":return"Desktop Web";default:return e(423)}}static getDetailedInfo(){const t=ne;if(!I[t(436)]())return{userAgent:t(422),language:t(412),platform:t(422),cookieEnabled:!1,onLine:!0,screenResolution:t(433),viewportSize:t(433)};const e=I[t(426)]();return{userAgent:navigator[t(411)],language:navigator[t(405)]||t(412),platform:navigator[t(407)],cookieEnabled:navigator[t(399)],onLine:navigator[t(427)],screenResolution:screen[t(415)]+"x"+screen.height,viewportSize:e[t(415)]+"x"+e.height}}}oe[ne(437)]={};const ie=ce;function ae(){const t=["342QDAOhq","getCurrentUserProperties","18644DLsMjy","8590pRgjQX","ko-KR","32rLkyem","12967487KJwpaU","estimateLocation","resolvedOptions","split","3478300glTBYb","885FxDxRq","isBrowser","language","_userProperties","setUserProperty","9053IQrmQe","clearUserProperties","9JJyhdT","DateTimeFormat","2027UQyPiu","35520auweNA","12kPiXMo","timeZone","2445488rHhybA","UTC","getBaseUserInfo"];return(ae=function(){return t})()}function ce(t,e){const n=ae();return(ce=function(t,e){return n[t-=436]})(t,e)}!function(){const t=ce,e=ae();for(;;)try{if(996098===parseInt(t(439))/1*(-parseInt(t(451))/2)+-parseInt(t(446))/3*(parseInt(t(448))/4)+parseInt(t(457))/5*(parseInt(t(440))/6)+parseInt(t(456))/7+-parseInt(t(443))/8*(-parseInt(t(437))/9)+parseInt(t(449))/10*(parseInt(t(462))/11)+-parseInt(t(441))/12*(parseInt(t(452))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class de{static getUserInfo(){const t=ce;return{...de[t(445)](),...de[t(460)]}}static[ie(445)](){const t=ie;if(!I[t(458)]())return{language:t(450),country:"KR"};const e=navigator[t(459)]||t(450);return{language:e,country:de.extractCountryFromLanguage(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[ie(455)]("-")[0]]||"KR"}static setUserProperties(t){const e=ie;de._userProperties={...de[e(460)],...t}}static[ie(461)](t,e){de[ie(460)][t]=e}static[ie(436)](){de[ie(460)]={}}static[ie(447)](){return{...de[ie(460)]}}static[ie(453)](){const t=ie;if(!I[t(458)]())return{timezone:t(444),estimatedCountry:"KR"};const e=Intl[t(438)]()[t(454)]()[t(442)];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"}}}de[ie(460)]={};const le=ue;function ue(t,e){const n=he();return(ue=function(t,e){return n[t-=440]})(t,e)}!function(){const t=ue,e=he();for(;;)try{if(127804===-parseInt(t(464))/1+-parseInt(t(453))/2*(parseInt(t(447))/3)+-parseInt(t(445))/4*(-parseInt(t(460))/5)+parseInt(t(456))/6*(parseInt(t(469))/7)+parseInt(t(468))/8*(-parseInt(t(446))/9)+-parseInt(t(466))/10*(parseInt(t(467))/11)+parseInt(t(470))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pe{static[le(457)](){const t=le;if(!I[t(461)]())return t(442)+Date[t(440)]();const e=sessionStorage[t(448)](t(455));if(e)return e;const n=t(449)+Math[t(473)]().toString(36).substr(2,9)+"_"+Date.now();return sessionStorage.setItem("adstage_session_id",n),!pe[t(443)]&&(pe._sessionStartTime=Date[t(440)](),I[t(461)]()&&sessionStorage[t(452)]("adstage_session_start",String(pe[t(443)]))),n}static[le(454)](t){const e=le;pe[e(465)]=t,I[e(461)]()&&localStorage.setItem("adstage_user_id",t)}static[le(471)](){const t=le;if(pe[t(465)])return pe[t(465)];if(I.isBrowser()){const e=localStorage[t(448)](t(451));if(e)return pe._userId=e,e}}static clearUserId(){const t=le;pe[t(465)]=void 0,I[t(461)]()&&localStorage[t(441)](t(451))}static[le(463)](){const t=le,e=pe[t(457)](),n=pe.getUserId(),r=pe[t(458)]();return{sessionId:e,userId:n,sessionDuration:pe[t(459)](),isNewSession:r}}static isNewSession(){const t=le;if(!I[t(461)]())return!0;const e=sessionStorage.getItem(t(455)),n=sessionStorage[t(448)](t(472));return!e||!n}static getSessionDuration(){const t=le;if(!I[t(461)]())return 0;const e=sessionStorage[t(448)](t(472));return e?Date[t(440)]()-parseInt(e,10):0}static[le(450)](){const t=le;return I.isBrowser()&&(sessionStorage[t(441)](t(455)),sessionStorage.removeItem(t(472))),pe[t(443)]=void 0,pe.getSessionId()}static[le(444)](t=24){return pe.getSessionDuration()>60*t*60*1e3}static[le(462)](){const t=le,e=pe[t(457)](),n=pe.getUserId(),r=pe[t(459)](),s=pe[t(444)](),o=pe.isNewSession();let i;if(I[t(461)]()){const e=sessionStorage[t(448)](t(472));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}function he(){const t=["removeItem","ssr_session_","_sessionStartTime","isSessionExpired","526332YdgQAJ","115722OXcypa","447TCXwrc","getItem","session_","refreshSession","adstage_user_id","setItem","1130gLzDVH","setUserId","adstage_session_id","804Liooii","getSessionId","isNewSession","getSessionDuration","5TGtZEo","isBrowser","getSessionStats","getSessionInfo","120819DRzrDR","_userId","20YLlNkV","995071TWKgcH","32eDjeZp","3752WnjMWj","4341060tGvDci","getUserId","adstage_session_start","random","now"];return(he=function(){return t})()}const fe=me;function ge(){const t=["getUserId","statusText","6paCHCm","setUserId","❌ Failed to track event:","stringify","1430290hBGKZG","10300hYstlG","8PwLAou","create","_isReady","999173QxABBG","application/json","getUserProperties","status","init","POST","22vSpNze","track","error","events","630664xplqFA","Event tracking failed: ","📊 Events module initialized","getCurrentUserProperties","getDeviceInfo","_config","getSessionId","276126nMwxdz","apiKey","Event data:","debug","702220XnpByS","✅ Event tracked:","API key not configured for event tracking.","warn","getConfig","16dVBGGT","👤 User properties set:","setUserProperties","sendEventToServer","log","1077327ibUIgd"];return(ge=function(){return t})()}function me(t,e){const n=ge();return(me=function(t,e){return n[t-=456]})(t,e)}!function(){const t=me,e=ge();for(;;)try{if(104221===parseInt(t(498))/1*(-parseInt(t(485))/2)+parseInt(t(476))/3*(-parseInt(t(456))/4)+-parseInt(t(480))/5*(-parseInt(t(493))/6)+parseInt(t(459))/7+-parseInt(t(469))/8+-parseInt(t(490))/9+parseInt(t(497))/10*(parseInt(t(465))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ie{constructor(){const t=me;this[t(458)]=!1,this[t(474)]=null}[fe(463)](t){const e=fe;this[e(474)]=t,this[e(458)]=!0,t.debug&&console[e(489)](e(471))}isReady(){return this._isReady}[fe(484)](){return this[fe(474)]}[fe(494)](t){const e=fe;pe[e(494)](t),this[e(474)]?.debug&&console[e(489)]("👤 User ID set:",t)}[fe(491)](){return pe[fe(491)]()}[fe(487)](t){const e=fe;de[e(487)](t),this[e(474)]?.[e(479)]&&console[e(489)](e(486),t)}[fe(461)](){return de[fe(472)]()}async[fe(466)](t,e){const n=fe;if(this[n(458)])if(this._config?.apiKey)try{const r={eventName:t,userId:pe[n(491)](),sessionId:pe[n(475)](),sdkVersion:E(),device:oe[n(473)](),user:de.getUserInfo(),params:e||{}};await this.sendEventToServer(r),this._config[n(479)]&&console.log(n(481),t,e)}catch(r){console[n(467)](n(495),r),this[n(474)].debug&&console.error(n(478),{eventName:t,properties:e})}else console[n(483)](n(482));else console[n(483)]("Events module not initialized. Call AdStage.init() first.")}async[fe(488)](t){const e=fe,n=await fetch(J[e(468)][e(466)](),{method:e(464),headers:{...B[e(457)](this[e(474)][e(477)]),"Content-Type":e(460)},body:JSON[e(496)](t)});if(!n.ok)throw new Error(e(470)+n[e(462)]+" "+n[e(492)])}}const ye=ve;function ve(t,e){const n=we();return(ve=function(t,e){return n[t-=173]})(t,e)}!function(){const t=ve,e=we();for(;;)try{if(376565===-parseInt(t(191))/1*(-parseInt(t(173))/2)+-parseInt(t(200))/3*(-parseInt(t(205))/4)+parseInt(t(214))/5*(parseInt(t(195))/6)+-parseInt(t(202))/7*(-parseInt(t(190))/8)+-parseInt(t(198))/9+parseInt(t(204))/10+-parseInt(t(178))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class be{constructor(){const t=ve;this._isInitialized=!1,this[t(208)]=null,this[t(189)]=new te,this.ads=new Qt,this[t(180)]=new Ie}static init(t){const e=ve;!be[e(188)]&&(be[e(188)]=new be);const n=be[e(188)];if(!t[e(203)])throw new Error(e(182));n[e(208)]={timeout:3e4,debug:!1,modules:[e(193),e(180),"config"],...t},n[e(208)].baseUrl&&(J[e(177)](n[e(208)][e(186)]),t[e(175)]&&console[e(183)](e(210),n[e(208)][e(186)]));const r=n[e(208)][e(192)]||[e(193),e(180),e(189)];for(const t of r){const r=n[t];r&&typeof r.init===e(197)&&r[e(212)](n[e(208)])}n[e(174)]=!0,t[e(175)]&&console[e(183)](e(181),{version:e(185),modules:r,apiKey:t.apiKey[e(207)](0,8)+"...",mode:e(196)})}static[ye(187)](){const t=ye;return be[t(188)]?._isInitialized||!1}static[ye(176)](){const t=ye;return be[t(188)]?.[t(208)]||null}static[ye(213)](){const t=ye;if(!be[t(188)])throw new Error(t(206));return be.instance}static get[ye(193)](){const t=ye;return be[t(213)]()[t(193)]}static get[ye(180)](){const t=ye;return be.getInstance()[t(180)]}static get[ye(189)](){return be[ye(213)]().config}static[ye(184)](){const t=ye;be[t(188)]&&(be[t(188)][t(174)]=!1,be[t(188)]._config=null)}}function we(){const t=["setBaseUrl","9236040KnTyLY","viewableTracker","events","🚀 AdStage SDK initialized (sync mode)","API key is required for AdStage initialization","log","reset","2.0.0","baseUrl","isReady","instance","config","32368dzbjyj","11EpDLSz","modules","ads","from","2220xyHvQD","development","function","4022739mzAKrx","✅ AdStage Debug: 광고 ","3uUnFHR","📊 AdStage Debug: 현재 viewable 추적 상태","399ivGocf","apiKey","457670wqfbyX","2877392XaYaei","AdStage not initialized. Call AdStage.init() first.","substring","_config","clear","🌐 API endpoint configured:","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","init","getInstance","285akApcI","117518qjSLML","_isInitialized","debug","getConfig"];return(we=function(){return t})()}function Ee(t,e){var n=Ce;return be[n(315)]()?be[n(326)][n(320)](t,e):(console[n(323)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(321)]())}function ke(){var t=["21124754RbzZfQ","isReady","834196NHEydZ","getUserProperties","1726110rEjuKc","setUserId","track","resolve","1078775ydnfjW","warn","2098281llyXbR","AdStage not initialized. Call AdStage.init() first.","events","setUserProperties","1892676tgHMtJ","4550532reNPHb"];return(ke=function(){return t})()}function xe(t){var e=Ce;be[e(315)]()?be[e(326)][e(319)](t):console[e(323)](e(325))}function Se(){var t=Ce;if(be[t(315)]())return be[t(326)].getUserId();console.warn(t(325))}function Ae(t){var e=Ce;be[e(315)]()?be[e(326)][e(327)](t):console.warn(e(325))}function Ce(t,e){var n=ke();return(Ce=function(t,e){return n[t-=313]})(t,e)}function Te(){var t=Ce;if(be[t(315)]())return be[t(326)][t(317)]();console[t(323)](t(325))}be[ye(175)]={clearAllViewable:()=>{const t=ye;lt[t(209)](),console[t(183)](t(211))},clearAdViewable:(t,e)=>{const n=ye;lt.clearAdViewable(t,e),console[n(183)](n(199)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=ye;console[t(183)](t(201),{trackedCount:lt[t(179)].size,trackedItems:Array[t(194)](lt[t(179)])})}},function(){for(var t=Ce,e=ke();;)try{if(616180===parseInt(t(316))/1+parseInt(t(318))/2+parseInt(t(324))/3+parseInt(t(313))/4+-parseInt(t(322))/5+parseInt(t(328))/6+-parseInt(t(314))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Re,De={exports:{}},Le={},Pe={exports:{}},_e={};Pe.exports=function(){if(Re)return _e;Re=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=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 I(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 y=I.prototype=new m;y.constructor=I,h(y,g.prototype),y.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!E.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_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,s,o,i){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 i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);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=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(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 D={current:null},L={transition:null},P={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:L,ReactCurrentOwner:w};function _(){throw Error("act(...) is not supported in production builds of React.")}return _e.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}},_e.Component=g,_e.Fragment=n,_e.Profiler=s,_e.PureComponent=I,_e.StrictMode=r,_e.Suspense=c,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,_e.act=_,_e.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!E.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},_e.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},_e.createElement=k,_e.createFactory=function(t){var e=k.bind(null,t);return e.type=t,e},_e.createRef=function(){return{current:null}},_e.forwardRef=function(t){return{$$typeof:a,render:t}},_e.isValidElement=x,_e.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},_e.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},_e.startTransition=function(t){var e=L.transition;L.transition={};try{t()}finally{L.transition=e}},_e.unstable_act=_,_e.useCallback=function(t,e){return D.current.useCallback(t,e)},_e.useContext=function(t){return D.current.useContext(t)},_e.useDebugValue=function(){},_e.useDeferredValue=function(t){return D.current.useDeferredValue(t)},_e.useEffect=function(t,e){return D.current.useEffect(t,e)},_e.useId=function(){return D.current.useId()},_e.useImperativeHandle=function(t,e,n){return D.current.useImperativeHandle(t,e,n)},_e.useInsertionEffect=function(t,e){return D.current.useInsertionEffect(t,e)},_e.useLayoutEffect=function(t,e){return D.current.useLayoutEffect(t,e)},_e.useMemo=function(t,e){return D.current.useMemo(t,e)},_e.useReducer=function(t,e,n){return D.current.useReducer(t,e,n)},_e.useRef=function(t){return D.current.useRef(t)},_e.useState=function(t){return D.current.useState(t)},_e.useSyncExternalStore=function(t,e,n){return D.current.useSyncExternalStore(t,e,n)},_e.useTransition=function(){return D.current.useTransition()},_e.version="18.3.1",_e}();var Be,ze=Pe.exports;
1
+ var t,e,n,r,s,o,i,a,c,d,l,u;function p(t,e){var n=h();return(p=function(t,e){return n[t-=443]})(t,e)}function h(){var t=["POPUP","VIEWABLE","MOBILE","16857pttpGt","1670FdWyiC","TABLET","NATIVE","1696580PbMBtI","CLICK","VIDEO","6978517eWzuHo","BANNER","459110ngaLBS","515BusiQO","2860341rsRhiW","WEB","DESKTOP","2rQgmIb","10567600BXVvGE","68496zHusOq","INTERSTITIAL","TEXT"];return(h=function(){return t})()}!function(){for(var t=p,e=h();;)try{if(759050===parseInt(t(450))/1+-parseInt(t(455))/2*(parseInt(t(452))/3)+parseInt(t(445))/4+-parseInt(t(451))/5*(parseInt(t(457))/6)+parseInt(t(448))/7+parseInt(t(456))/8+-parseInt(t(463))/9*(parseInt(t(464))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=p)(449)]=n(449),e[n(460)]=n(460),e[n(458)]=n(458),e.NATIVE=n(444),e[n(447)]="VIDEO",e[n(459)]=n(459),(s=r||(r={}))[(o=p)(453)]=o(453),s.MOBILE=o(462),(a=i||(i={}))[(c=p)(461)]=c(461),a[c(446)]="CLICK",l=d||(d={}),u=p,l.DESKTOP=u(454),l[u(462)]="MOBILE",l.TABLET=u(443);const f=m;function g(){const t=["getElementById","safeAppendChild","min",'❌ 컨테이너를 찾을 수 없습니다: "',"⏳ 컨테이너 대기 중: ","referrer","scrollTop",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"pageXOffset","removeChild","readyState","style","waitForElement","ms 경과)","getDocumentProperty","appendChild","9686826kroEjy","3394461OwCJsj","ms)","href","safeQuerySelector","add","8bPJIOh","error","isBrowser","innerHTML","9267360QMAKsG","3040480BcZPoz","getWindowProperty","entries","undefined","safeAddClass","safeAddEventListener","safeQuerySelectorAll","getComputedStyle","safeGetElementById","querySelector","396ZazdaL","safeSetTextContent","ceil","map","title","getPageInfo","pow","safeApplyStyles","번 시도)","addEventListener","textContent","ms (","remove","5tMcASd","2353diMSic","log","2438391MqSPDo","createElement","innerHeight","querySelectorAll","innerWidth","getScrollInfo","loading","isDOMReady","getViewportInfo","setProperty","all","waitForElements","번째 시도, ","safeSetInnerHTML","isSSR","removeEventListener","8219214jcSGZE","canUseDOM","safeCreateElement"];return(g=function(){return t})()}function m(t,e){const n=g();return(m=function(t,e){return n[t-=420]})(t,e)}!function(){const t=m,e=g();for(;;)try{if(958765===parseInt(t(458))/1*(-parseInt(t(444))/2)+parseInt(t(460))/3+parseInt(t(434))/4+parseInt(t(457))/5*(parseInt(t(476))/6)+-parseInt(t(424))/7*(-parseInt(t(429))/8)+-parseInt(t(423))/9+-parseInt(t(433))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class I{static[f(431)](){const t=f;return typeof window!==t(437)&&typeof document!==t(437)}static[f(474)](){return!this[f(431)]()}static[f(477)](){const t=f;return this[t(431)]()&&void 0!==document[t(489)]}static[f(442)](t){const e=f;return this[e(477)]()?document[e(479)](t):null}static[f(427)](t){const e=f;return this[e(477)]()?document[e(443)](t):null}static[f(440)](t){const e=f;return this.canUseDOM()?Array.from(document[e(463)](t)):[]}static[f(478)](t){const e=f;return this[e(477)]()?document[e(461)](t):null}static[f(439)](t,e,n,r){const s=f;this.canUseDOM()&&t&&t[s(453)](e,n,r)}static safeRemoveEventListener(t,e,n,r){const s=f;this.canUseDOM()&&t&&t[s(475)](e,n,r)}static getWindowProperty(t,e){return this[f(431)]()?window[t]??e:e}static[f(421)](t,e){return this[f(477)]()?document[t]??e:e}static safeWindowOpen(t,e,n){return this[f(431)]()?window.open(t,e,n):null}static safeGetComputedStyle(t){const e=f;return this[e(431)]()&&t?window[e(441)](t):null}static[f(467)](){const t=f;return!!this[t(477)]()&&document[t(489)]!==t(466)}static waitForDOM(){return new Promise(t=>{const e=m;this[e(477)]()?this.isDOMReady()?t():this[e(439)](document,"DOMContentLoaded",()=>t()):t()})}static[f(451)](t,e){const n=f;this[n(477)]()&&t&&Object[n(436)](e).forEach(([e,r])=>{const s=n;t[s(490)][s(469)](e,r)})}static[f(438)](t,e){const n=f;this[n(477)]()&&t&&t.classList[n(428)](e)}static safeRemoveClass(t,e){const n=f;this.canUseDOM()&&t&&t.classList[n(456)](e)}static[f(445)](t,e){const n=f;this[n(477)]()&&t&&(t[n(454)]=e)}static[f(473)](t,e){const n=f;this[n(477)]()&&t&&(t[n(432)]=e)}static[f(480)](t,e){const n=f;this.canUseDOM()&&t&&e&&t[n(422)](e)}static safeRemoveChild(t,e){const n=f;this[n(477)]()&&t&&e&&t[n(488)](e)}static[f(449)](){const t=f;return{url:this[t(435)]("location",{href:""})[t(426)],title:this[t(421)](t(448),""),referrer:this[t(421)](t(484),"")}}static[f(468)](){const t=f;return{width:this.getWindowProperty(t(464),0),height:this.getWindowProperty(t(462),0),pixelRatio:this[t(435)]("devicePixelRatio",1)}}static[f(465)](){const t=f;return{scrollTop:this[t(477)]()?window.pageYOffset||document.documentElement[t(485)]:0,scrollLeft:this[t(435)](t(487),0)}}static async[f(491)](t,e={}){const n=f,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(477)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document.getElementById(t);return i?(o&&console[n(459)]("✅ 컨테이너 즉시 발견: "+t),i):(o&&console[n(459)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+r+n(425)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(446)](r/s),l=()=>{const n=a;c++;const u=document.getElementById(t);if(u)return o&&console[n(459)]("✅ 컨테이너 발견: "+t+" ("+c+n(472)+c*s+n(420)),void e(u);if(c>=d){const e=n(482)+t+n(486)+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+r+n(455)+c+n(452);return o&&console[n(430)](e),void i(new Error(e))}o&&c%10==0&&console[n(459)](n(483)+t+" ("+c+"/"+d+")");const p=Math[n(481)](s*Math[n(450)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[f(471)](t,e={}){const n=f,r=t[n(447)](t=>this[n(491)](t,e));return Promise[n(470)](r)}}function y(){const t=["3801474PYnGKI","34007517CvXbVp","499360ZiKICU","AdStageSDK/","userAgent","7092386AmiHXk","5011115yDiCvw","132747fUAuRc","10XASANA","43MFNHAH","112NSpdsz","43234GkafcL"];return(y=function(){return t})()}function v(t,e){const n=y();return(v=function(t,e){return n[t-=433]})(t,e)}!function(){const t=v,e=y();for(;;)try{if(925086===-parseInt(t(438))/1*(parseInt(t(440))/2)+-parseInt(t(436))/3*(parseInt(t(439))/4)+-parseInt(t(435))/5+-parseInt(t(441))/6+parseInt(t(434))/7+-parseInt(t(443))/8+parseInt(t(442))/9*(parseInt(t(437))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const b=k;function w(){const t=["../core/adstage","16624mKfPcX","modules","16LXRciA","getEnabledModules","getPlaceholderMode","2979AEwOXD","debug","getApiKey","15882gSDCmx","114554spPSam","isDebugMode","3350MlZNjT","ads","688737UTBzIx","5165835VcnyIh","getConfig","1645znPwRw","config","subtle","getTimeout","833214tyaqWH","54968dWiIHv","events"];return(w=function(){return t})()}function k(t,e){const n=w();return(k=function(t,e){return n[t-=121]})(t,e)}!function(){const t=k,e=w();for(;;)try{if(578386===parseInt(t(123))/1+-parseInt(t(124))/2+parseInt(t(140))/3*(parseInt(t(129))/4)+parseInt(t(141))/5+parseInt(t(135))/6*(parseInt(t(143))/7)+parseInt(t(127))/8*(parseInt(t(132))/9)+-parseInt(t(138))/10*(parseInt(t(136))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class E{static[b(142)](){const t=b;try{const{AdStage:e}=require(t(126));return e.getConfig()}catch{return null}}static getAppVersion(){const t=E[b(142)]();return t?.appVersion||"1.0.0"}static[b(137)](){const t=b,e=E[t(142)]();return e?.[t(133)]||!1}static[b(134)](){const t=E[b(142)]();return t?.apiKey}static[b(122)](){const t=E[b(142)]();return t?.timeout||3e4}static[b(131)](){const t=b,e=E.getConfig();return e?.placeholderMode||t(121)}static[b(130)](){const t=b,e=E[t(142)]();return e?.[t(128)]||[t(139),t(125),t(144)]}}const S=x;function x(t,e){const n=C();return(x=function(t,e){return n[t-=349]})(t,e)}!function(){const t=x,e=C();for(;;)try{if(370873===parseInt(t(382))/1*(parseInt(t(401))/2)+-parseInt(t(381))/3*(-parseInt(t(353))/4)+parseInt(t(355))/5+parseInt(t(368))/6*(parseInt(t(380))/7)+-parseInt(t(396))/8*(parseInt(t(398))/9)+-parseInt(t(357))/10*(-parseInt(t(386))/11)+-parseInt(t(371))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static generateDeviceId(){const t=x;if(!I[t(372)]())return"ssr_device_"+Date[t(394)]();const e=localStorage[t(369)]("adstage_device_id");if(e)return e;const n=t(390)+Math[t(389)]()[t(362)](36)[t(387)](2,9)+"_"+Date[t(394)]();return localStorage[t(363)]("adstage_device_id",n),n}static[S(402)](){const t=S;if(!I[t(372)]())return t(356)+Date[t(394)]();const e=sessionStorage.getItem(t(361));if(e)return e;const n=t(391)+Math.random()[t(362)](36)[t(387)](2,9)+"_"+Date[t(394)]();return sessionStorage.setItem(t(361),n),n}static[S(397)](){const t=S;return!!I[t(372)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(354)])}static getPlatform(){const t=S;if(!I.isBrowser())return t(364);const e=navigator[t(354)][t(383)]();return/iphone|ipad|ipod/[t(359)](e)?t(350):/android/[t(359)](e)?t(385):A[t(397)]()?t(364):t(375)}static[S(366)](){const t=S,e=I[t(395)]();return{deviceId:A[t(377)](),sessionId:A[t(402)](),osVersion:I[t(372)]()?navigator[t(376)]:t(349),deviceModel:I[t(372)]()?navigator[t(376)]:t(349),appVersion:E.getAppVersion(),sdkVersion:'"3.0.4"',language:I[t(372)]()&&navigator[t(403)]||"ko",country:"KR",ipAddress:"",userAgent:I[t(372)]()?navigator[t(354)]:t(349),timezone:I.isBrowser()?Intl[t(373)]()[t(379)]()[t(358)]:t(370),viewportWidth:e[t(399)],viewportHeight:e.height,screenWidth:I[t(372)]()?screen[t(399)]:0,screenHeight:I[t(372)]()?screen[t(393)]:0,colorDepth:I[t(372)]()?screen.colorDepth:24,pixelRatio:e[t(365)],connectionType:I[t(372)]()&&navigator[t(378)]?.[t(367)]||t(360),platform:A[t(392)]()}}static[S(388)](t){const e=S,n=I.safeGetElementById(t);if(!n)return e(360);const r=n[e(400)](),s=I[e(351)]();return"x:"+Math[e(352)](r.left)+",y:"+Math.round(r[e(374)]+s[e(384)])}}function C(){const t=["substr","getSlotPosition","random","device_","session_","getPlatform","height","now","getViewportInfo","8JZalyk","isMobile","3582315cCuWML","width","getBoundingClientRect","2VksaZt","generateSessionId","language","SSR","ios","getScrollInfo","round","16zVjHGD","userAgent","64880wWSRJm","ssr_session_","5331990wkPuEq","timeZone","test","unknown","adstage_session_id","toString","setItem","web","pixelRatio","collectDeviceInfo","effectiveType","279258ZLCcfr","getItem","UTC","9403692VYKfzp","isBrowser","DateTimeFormat","top","desktop","platform","generateDeviceId","connection","resolvedOptions","35cQFVbg","426249wwqJjf","205327iswkoH","toLowerCase","scrollTop","android","11fSbjfi"];return(C=function(){return t})()}const T=D;function R(){const t=["212600bbQdsl","1094795qSmSrC","715CPPKfk","4ImjRKF","User-Agent","contentType","create","createForEvents","606521RpyGBg","userAgent","undefined","4alLtqU","212526WyqFcn","application/json","248lBKCAz","33512076UZEHNu","4259619qkHlBQ","896gPSZMG","18384vQvbPH","API key is required"];return(R=function(){return t})()}function D(t,e){const n=R();return(D=function(t,e){return n[t-=269]})(t,e)}!function(){const t=D,e=R();for(;;)try{if(712337===parseInt(t(275))/1*(-parseInt(t(270))/2)+parseInt(t(283))/3+-parseInt(t(278))/4*(-parseInt(t(288))/5)+parseInt(t(285))/6*(-parseInt(t(284))/7)+-parseInt(t(281))/8*(parseInt(t(279))/9)+-parseInt(t(287))/10*(parseInt(t(269))/11)+parseInt(t(282))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{static create(t,e){const n=D;if(!t)throw new Error(n(286));const r={"x-api-key":t,"Content-Type":e?.[n(272)]||n(280)};return typeof navigator!==n(277)&&(r[n(271)]=e?.userAgent||navigator[n(276)]),r}static[T(274)](t,e){const n=T,r=P[n(273)](t);return e?.[n(276)]&&(r[n(271)]=e[n(276)]),r}}const _=B;function L(){const t=["baseUrl","width","VIEWABLE"," - ","/advertisements/events/","getSlotPosition","collectDeviceInfo"," for ad ","log","10BMaGUY","POST","🔍 Debug info:","getPageInfo","apiKey","1106fMgrpd","string","text","number","now","2778MjMulR","title","url","slots","status","parseNumericValue","4481379NsbVHS","...","containerId","8dMuWbF","replace","createForEvents","4111986jHRrAf","deviceId","2143920ShFjFL","adType","✅ Successfully tracked advertisement event: ","error","stringify"," in slot ","❌ Failed to track advertisement event:","trackAdvertisementEvent","API request failed: ","BANNER","sessionId","338948AKOFwl","substring","statusText","12100761cXghIA","debug","1732485ayLieB"];return(L=function(){return t})()}function B(t,e){const n=L();return(B=function(t,e){return n[t-=194]})(t,e)}!function(){const t=B,e=L();for(;;)try{if(617135===-parseInt(t(219))/1+-parseInt(t(239))/2*(-parseInt(t(194))/3)+parseInt(t(203))/4*(parseInt(t(224))/5)+-parseInt(t(206))/6+-parseInt(t(200))/7+-parseInt(t(208))/8+-parseInt(t(222))/9*(-parseInt(t(234))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{constructor(t,e,n,r){const s=B;this[s(225)]=t,this.apiKey=e,this[s(223)]=n,this[s(197)]=r}async[_(215)](t,e,n){const r=_;try{this.debug&&console[r(233)]("🚀 AdvertisementEventTracker: Processing "+n+" event for ad "+t+r(213)+e);const s=this.slots.get(e),o=A[r(231)](),a={adType:s?.[r(209)]||r(217),platform:o.platform,deviceId:o[r(207)],deviceInfo:o,pageUrl:I.getPageInfo()[r(196)],pageTitle:I[r(237)]()[r(195)],referrer:I.getPageInfo().referrer,slotId:e,slotPosition:A[r(230)](s?.[r(202)]||""),slotWidth:M[r(199)](s?.[r(226)]),slotHeight:M[r(199)](s?.height),sessionId:o[r(218)],pageLoadTime:performance[r(243)](),metadata:{eventType:n,sdkVersion:'"3.0.4"',timestamp:Date[r(243)]()},...n===i[r(227)]&&{isViewable:!0,iabCompliant:!0}},c=this.baseUrl+r(229)+t+"/"+n,d=P[r(205)](this.apiKey,a);this.debug&&(console[r(233)]("🚀 Sending advertisement event: "+n+r(232)+t,{url:c,headers:d,eventData:a}),console[r(233)]("🌐 Full API call details:",{method:r(235),url:c,hasApiKey:!!this[r(238)],bodySize:JSON[r(212)](a).length}));const l=await fetch(c,{method:r(235),headers:d,body:JSON.stringify(a)});if(this[r(223)]&&console[r(233)]("📡 API Response Status: "+l[r(198)]+" "+l[r(221)],{url:c,ok:l.ok}),!l.ok){const t=await l[r(241)]();throw new Error(r(216)+l[r(198)]+" "+l[r(221)]+r(228)+t)}this[r(223)]&&console[r(233)](r(210)+n+" for ad "+t)}catch(s){console[r(211)](r(214),s),console.error(r(236),{baseUrl:this[r(225)],apiKey:this.apiKey?this[r(238)][r(220)](0,8)+r(201):"NOT_SET",url:this.baseUrl+r(229)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[_(199)](t){const e=_;if(typeof t===e(242))return t;if(typeof t===e(240)){const n=parseFloat(t[e(204)](/px$/,""));return isNaN(n)?0:n}return 0}}var z=U;function U(t,e){var n=O();return(U=function(t,e){return n[t-=331]})(t,e)}function O(){var t=["isDocumentVisible","10333603NoPuJz","initIntersectionObserver","intersectionRatio","hidden","destroy","isViewableTriggered","onViewableCallback","725786sQTpkC","IntersectionObserver not supported, viewability tracking disabled","element","disconnect","forEach","5ynTKoh","handleIntersection","597aWxDos","observer","100Qjdhpz","8crrTeu","visible","6923844Jwdada","0px","872qdonnk","112299MFaLAd","1904324jZjfmx","5071365EYpTfT","observe","warn"];return(O=function(){return t})()}!function(){for(var t=U,e=O();;)try{if(937680===parseInt(t(334))/1+parseInt(t(350))/2+-parseInt(t(341))/3*(-parseInt(t(348))/4)+parseInt(t(339))/5*(parseInt(t(346))/6)+-parseInt(t(355))/7*(parseInt(t(344))/8)+-parseInt(t(351))/9+-parseInt(t(343))/10*(-parseInt(t(349))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class N{constructor(t,e){var n=U;this[n(342)]=null,this[n(332)]=!1,this[n(336)]=t,this[n(333)]=e,this.initIntersectionObserver()}[z(356)](){var t=z;"IntersectionObserver"in window?(this[t(342)]=new IntersectionObserver(e=>this[t(340)](e),{threshold:.5,rootMargin:t(347)}),this[t(342)][t(352)](this[t(336)])):console[t(353)](t(335))}[z(340)](t){var e=z;t[e(338)](t=>{var n=e;t[n(357)]>=.5&&this[n(354)]()&&!this[n(332)]&&(this[n(332)]=!0,this.onViewableCallback&&this[n(333)]())})}isDocumentVisible(){var t=z;return!document[t(358)]&&document.visibilityState===t(345)}[z(331)](){var t=z;this[t(342)]&&(this[t(342)][t(337)](),this.observer=null)}}const V=F;function F(t,e){const n=H();return(F=function(t,e){return n[t-=180]})(t,e)}!function(){const t=F,e=H();for(;;)try{if(153811===-parseInt(t(206))/1*(-parseInt(t(187))/2)+parseInt(t(180))/3+-parseInt(t(196))/4*(parseInt(t(181))/5)+-parseInt(t(189))/6+parseInt(t(191))/7+parseInt(t(202))/8*(parseInt(t(182))/9)+parseInt(t(184))/10*(parseInt(t(197))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const j={production:V(205),beta:V(204)};function H(){const t=["events","274TuQxjx","advertisements","1224222qKuVjT","list","640164swdisv","startsWith","/advertisements/list","/advertisements/events","detail","605764BcxNlK","11VneFeW","/events/track","/advertisements","setBaseUrl","custom","488GrZKBt","production","https://beta-api.adstage.app","https://api.adstage.io","128zCdmxH","305016JaMMpZ","5IbePuz","14319RnaCVx","getBaseUrl","2015780OkMrPa","baseUrl"];return(H=function(){return t})()}V(203);const K={advertisements:{list:V(193),detail:V(199),events:V(194)},events:{track:V(198)}};class W{constructor(t){const e=V;this.advertisements={list:()=>""+this.baseUrl+K[e(188)][e(190)],detail:t=>""+this[e(185)]+K.advertisements[e(195)]+"/"+t,events:(t,n)=>""+this[e(185)]+K.advertisements[e(186)]+"/"+t+"/"+n},this[e(186)]={track:()=>""+this.baseUrl+K[e(186)].track},this[e(185)]=t||j[e(203)]}[V(200)](t){this[V(185)]=t}[V(183)](){return this.baseUrl}[V(201)](t){const e=V;return""+this[e(185)]+(t[e(192)]("/")?t:"/"+t)}}const J=new W;var q=G;!function(){for(var t=G,e=Q();;)try{if(348096===parseInt(t(130))/1*(parseInt(t(137))/2)+parseInt(t(131))/3*(-parseInt(t(136))/4)+parseInt(t(133))/5*(-parseInt(t(129))/6)+-parseInt(t(127))/7+parseInt(t(135))/8+-parseInt(t(139))/9+parseInt(t(134))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class X{static[q(140)](t,e,n,r,s=!1){var o=q;s&&console[o(143)](o(141)+t[o(138)]+" (index: "+n+o(132)+e.id),r(t[o(138)],e.id,i[o(144)])}static[q(128)](t,e,n,r=!1){var s=q;r&&console[s(143)]("🎯 Triggering initial VIEWABLE event: ad "+t[s(138)]+s(142)+e.id),n(t[s(138)],e.id,i[s(144)])}}function G(t,e){var n=Q();return(G=function(t,e){return n[t-=127]})(t,e)}function Q(){var t=["5101542GAtUKH","trackSlideViewable","🎯 Triggering VIEWABLE event for slide change: ad "," (index: 0) in slot: ","log","VIEWABLE","1475453yuqNmZ","trackInitialSlideViewable","9228ySrxAr","229955VWicFW","2946aQwNJW",") in slot: ","395BaflDF","8282620EsTaDO","2469080DoMklw","1424qumQln","4AXCZCk","_id"];return(Q=function(){return t})()}function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=378]})(t,e)}const Y=Z;function $(){const t=["addClickEventForSlider","114JcvKer","adType","addClickEventForRenderer"," -> ","style","addClickEvent","log","addClickEventsBatch","stopPropagation","80McHBeN","1444rkLTpV","preventDefault","forEach","605430zjWYJK"," ad clicked: ","420030QGWiSR","cursor","183603ILNkPR","_blank","🔗 ","linkUrl","isClickable","28144hxKIZS","10GPTDAV","5702917QXUMTv","CLICK","455EuGGEZ","click","11094nqaxri","_id","addEventListener","toLowerCase","pointer","open"];return($=function(){return t})()}!function(){const t=Z,e=$();for(;;)try{if(142514===parseInt(t(386))/1*(parseInt(t(411))/2)+parseInt(t(389))/3+-parseInt(t(398))/4+parseInt(t(402))/5*(parseInt(t(404))/6)+-parseInt(t(393))/7*(-parseInt(t(385))/8)+-parseInt(t(391))/9+-parseInt(t(399))/10*(parseInt(t(400))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static[Y(381)](t,e,n,r,s=!1,o){const a=Y;e[a(396)]&&(t[a(380)].cursor=a(408),t.addEventListener("click",t=>{const c=a;if(t[c(387)](),t[c(384)](),r&&r(e[c(405)],n.id,i[c(401)]),window.open(e[c(396)],c(394)),s){const t=o||String(n[c(412)])[c(407)]();console.log(c(395)+t+c(390)+e[c(405)]+c(379)+e[c(396)])}}))}static[Y(378)](t,e,n,r,s=!1,o){const a=Y;e.linkUrl&&(t[a(380)][a(392)]=a(408),t[a(406)](a(403),t=>{const c=a;t[c(387)](),t[c(384)]();if(r()(e[c(405)],n.id,i[c(401)]),window[c(409)](e[c(396)],c(394)),s){const t=o||String(n[c(412)])[c(407)]();console[c(382)]("🔗 "+t+" ad clicked: "+e[c(405)]+c(379)+e[c(396)])}}))}static[Y(410)](t,e,n,r,s=!1,o){this[Y(381)](t,e,n,r,s,o)}static[Y(397)](t){return Boolean(t[Y(396)])}static[Y(383)](t,e,n,r,s=!1,o){const i=Y;t[i(388)]((t,a)=>{const c=i,d=e[a];d&&this[c(381)](t,d,n,r,s,o)})}}const et=nt;function nt(t,e){const n=rt();return(nt=function(t,e){return n[t-=116]})(t,e)}function rt(){const t=["add","border","createSimpleAdElement","\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 ","backgroundColor","8px","includes","abs","inline-block","center","display","auto","className","cover","71Pvfaet","#999999","entries","setAttribute","adstage-slide-container","886904JISyOD","width","adstage-slider-wrapper","1px dashed #ccc","active","100%","0.7","29609514LAJRCX","remove","createElement","\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 ","children","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","VIDEO","#000","length","style","#666666","adstage-dots","height","normal","changedTouches","adstage-slide","touchmove","adstage-dot","createMinimalDotIndicator","whiteSpace","adType","200px","1px solid #666","string","data-adstage-ad-id","7368654mIsjhM","675639gJjDvn","transparent","transform 0.4s ease-out","transform","addTouchSupport","removeChild","imageUrl","opacity","clientX","getBoundingClientRect","objectFit","mouseleave","block","img","1584QodpBi","videoUrl","100px","#f9f9f9","trackSlideViewable","autoSlideInterval","contains","50px","div","white","addEventListener","appendChild","fontSize",".adstage-dot","every","Banner Ad","toLowerCase","cssText","49JHlash","classList","translateX(-","overflow","flex","padding","mouseenter","color","43474sUOCnE","body","data-adstage-slot-id","#cccccc","querySelectorAll","21610pLoUbO","14px","forEach","100428ZkwtQN","0.9","src","TEXT","Text Ad","hidden","transition","createSliderContainer","setProperty","video","click","borderColor","touches","textContent","background","preventDefault","5wChPNh"];return(rt=function(){return t})()}!function(){const t=nt,e=rt();for(;;)try{if(985719===parseInt(t(225))/1*(parseInt(t(186))/2)+-parseInt(t(146))/3+-parseInt(t(194))/4*(parseInt(t(210))/5)+parseInt(t(145))/6+-parseInt(t(178))/7*(-parseInt(t(230))/8)+parseInt(t(160))/9*(parseInt(t(191))/10)+-parseInt(t(120))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class st{static[et(213)](e,n){const r=et,s=document[r(122)](r(168));switch(s.className="adstage-ad adstage-"+String(e[r(140)])[r(176)](),s[r(228)](r(144),n._id),s[r(228)](r(188),e.id),s[r(129)][r(221)]=r(158),s[r(129)].width=r(118),s[r(129)][r(132)]=r(222),e[r(140)]){case t.BANNER:if(n[r(152)]){const t=document[r(122)](r(159));t[r(196)]=n.imageUrl,t[r(129)][r(231)]=r(118),t[r(129)].height="auto",t[r(129)][r(156)]=r(224),s.appendChild(t)}else s.style.height=r(162),s[r(129)][r(215)]="#f0f0f0",s[r(129)][r(212)]=r(116),s.textContent=r(175);break;case t[r(126)]:if(n[r(161)]){const t=document.createElement(r(203));t.src=n[r(161)],t[r(129)][r(231)]=r(118),t[r(129)][r(132)]="auto",s.appendChild(t)}else s[r(129)].height=r(141),s[r(129)].backgroundColor=r(127),s[r(129)][r(212)]=r(142),s[r(207)]="Video Ad",s[r(129)][r(185)]=r(169);break;case t[r(197)]:if(n[r(207)]){const t=document[r(122)]("div");t.textContent=n[r(207)]||"",t[r(129)][r(183)]="8px",t.style[r(172)]=r(192),s.appendChild(t)}else s[r(129)][r(132)]=r(167),s.style[r(183)]=r(216),s[r(207)]=r(198);break;default:s[r(129)][r(132)]=r(162),s.style.border=r(116),s.style[r(215)]=r(163),s.textContent=e[r(140)]+" Ad"}return s}static[et(201)](e,n,r,s,o=!1){const i=et,a=document[i(122)](i(168));a.className=i(232);const c={position:"relative",overflow:i(199)};if(e[i(231)]&&0!==e[i(231)]){let t;t=typeof e[i(231)]===i(143)?e[i(231)].includes("px")||e.width[i(217)]("%")?e.width:e.width+"px":e[i(231)]+"px",c[i(231)]=t,c[i(221)]="inline-block"}else c.display=i(219);if(e[i(132)]&&0!==e.height){const t="string"==typeof e.height?e[i(132)]:e[i(132)]+"px";c.height=t}Object[i(227)](c)[i(193)](([t,e])=>{const n=i;a[n(129)][n(202)](t,e)});const d=!e[i(231)]||0===e[i(231)],l=!e[i(132)]||0===e[i(132)];if(d||l){const t=document[i(122)](i(168));if(t[i(129)][i(177)]=i(125),!d&&e[i(231)]){let n;n=typeof e[i(231)]===i(143)&&(e[i(231)][i(217)]("px")||e[i(231)][i(217)]("%"))?e[i(231)]:e[i(231)]+"px",t.style[i(231)]=n,t[i(129)][i(139)]=i(133)}document[i(187)][i(171)](t);let r=0,s=0;n.forEach(n=>{const o=i,a=this[o(213)](e,n);t[o(171)](a);const c=a[o(155)]();c[o(231)]>r&&(r=c[o(231)]),c[o(132)]>s&&(s=c.height),t[o(151)](a)}),d&&r>0&&(a[i(129)][i(231)]=r+"px",c[i(231)]=r+"px"),l&&s>0&&(a[i(129)][i(132)]=s+"px",c[i(132)]=s+"px"),document[i(187)][i(151)](t)}const u=[...n,n[0]],p=document[i(122)](i(168));p.className=i(229);const h={display:i(182),transition:i(148),width:100*u[i(128)]+"%"};e[i(132)]&&0!==e.height&&(h[i(132)]="100%"),Object[i(227)](h)[i(193)](([t,e])=>{const n=i;p[n(129)][n(202)](t,e)}),u.forEach((t,n)=>{const r=i,a=document[r(122)]("div");a.className=r(135);const c={width:100/u[r(128)]+"%","flex-shrink":"0",display:r(182),"align-items":r(220),"justify-content":"center"};e.height&&0!==e.height&&(c[r(132)]="100%"),Object[r(227)](c).forEach(([t,e])=>{const n=r;a.style[n(202)](t,e)});const d=this[r(213)](e,t);tt.addClickEventForSlider(d,t,e,s,o,String(e[r(140)])[r(176)]()),a.appendChild(d),p[r(171)](a)});const f=n[i(174)](e=>e[i(140)]===t.TEXT)?null:this.createMinimalDotIndicator(n[i(128)]);let g=0;const m=n[i(128)],I=1e3*(r?.[i(165)]||3),y=(t,r=!1)=>{const a=i;g=t,r?p[a(129)].transition="none":p[a(129)][a(200)]=a(148),p[a(129)][a(149)]=a(180)+100/u[a(128)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(173))[a(193)]((t,e)=>{const n=a,r=t;e===c?(r[n(179)][n(211)](n(117)),r[n(129)].background=n(130),r[n(129)].borderColor="#666666",r[n(129)][n(153)]="1"):(r[n(179)][n(121)](n(117)),r.style[n(208)]=n(147),r.style.borderColor=n(189),r[n(129)][n(153)]=n(119))})}X[a(164)](n[c],e,c,s,o)},v=()=>{g===m&&setTimeout(()=>{y(0,!0)},400)};if(f){f[i(190)](i(173)).forEach((t,e)=>{const n=i;t[n(170)](n(204),()=>y(e))})}let b=setInterval(()=>{y(g+1),v()},I);return a[i(170)](i(184),()=>{clearInterval(b)}),a.addEventListener("mouseleave",()=>{b=setInterval(()=>{y(g+1),v()},I)}),this.addTouchSupport(p,y,()=>g,m,v),a.appendChild(p),f&&a[i(171)](f),y(0),(!e[i(231)]||0===e[i(231)])&&setTimeout(()=>{const t=i,n=p[t(124)][0];if(n){const r=n[t(124)][0];if(r){const n=r[t(155)]();a[t(129)][t(231)]=n.width+"px",(!e[t(132)]||0===e[t(132)])&&(a[t(129)][t(132)]=n.height+"px"),a[t(129)][t(181)]=t(199)}}},10),a}static[et(138)](t){const e=et,n=document[e(122)](e(168));n.className=e(131),n[e(129)][e(177)]=e(123);for(let r=0;r<t;r++){const t=document[e(122)]("button");t[e(223)]=e(137),t.style.cssText=e(214),t.addEventListener(e(184),()=>{const n=e;!t[n(179)][n(166)](n(117))&&(t[n(129)][n(205)]=n(226),t[n(129)][n(153)]=n(195))}),t[e(170)](e(157),()=>{const n=e;!t.classList[n(166)]("active")&&(t.style[n(205)]="#cccccc",t[n(129)][n(153)]=n(119))}),n[e(171)](t)}return n}static[et(150)](t,e,n,r,s){const o=et;let i=0,a=!1;t[o(170)]("touchstart",t=>{const e=o;i=t[e(206)][0][e(154)],a=!0}),t[o(170)](o(136),t=>{a&&t[o(209)]()}),t[o(170)]("touchend",t=>{const c=o;if(!a)return;a=!1;const d=t[c(134)][0][c(154)],l=i-d;if(Math[c(218)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const ot=at;!function(){const t=at,e=ct();for(;;)try{if(513778===parseInt(t(318))/1*(parseInt(t(305))/2)+-parseInt(t(303))/3*(-parseInt(t(307))/4)+-parseInt(t(304))/5*(parseInt(t(317))/6)+-parseInt(t(316))/7+-parseInt(t(314))/8+-parseInt(t(306))/9+-parseInt(t(310))/10*(-parseInt(t(315))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class it{static[ot(308)](t,e,n=!1){const r=ot,s=t+"_"+e;return it.viewableTracker[r(312)](s)?(n&&console.log("Duplicate viewable blocked for ad "+t+r(302)+e),!0):(it[r(309)].add(s),n&&console.log("✅ New viewable recorded for ad "+t+r(302)+e),!1)}static[ot(313)](){const t=ot;it.viewableTracker[t(313)]()}static clearAdViewable(t,e){const n=ot,r=t+"_"+e;it[n(309)][n(311)](r)}}function at(t,e){const n=ct();return(at=function(t,e){return n[t-=302]})(t,e)}function ct(){const t=["viewableTracker","180jFaQnw","delete","has","clear","373048qAonRW","452551ZCITUb","2953657wgFBnn","6mxFOBd","757961yMnHAe"," in slot ","8271gEzkTm","2278910XTfwIN","2gbkwAh","4860675sFaUDV","696xKPSOV","isDuplicateViewable"];return(ct=function(){return t})()}it[ot(309)]=new Set;const dt=lt;function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=423]})(t,e)}function ut(){const t=["trackAdvertisementEvent","color","getContainerHeight","warn","hasAttribute","minimal","querySelector","cssText","8214eFvoUd","div","fontSize","11px","toLowerCase","calculateAdSize","\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 ",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"756007IoELah","isEmpty","getDefaultHeight","filter"," event for ad ","❌ Failed to track ","rgba(0, 0, 0, 0.02)",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"createEmptyContainer","createElement","contains","🔄 Starting advertisement event tracking: ","rgba(231, 76, 60, 0.1)",'[class*="container"]',"1636wmAYqT","backgroundColor","appendChild"," for ad ","placeholderMode","innerHTML","#e74c3c","debug","flex"," ad...</span>","474992DSBHjS","adstage-official","📊 Advertisement event tracked: ","borderRadius","adType"," in slot ",'[class*="ad"]',"style","closest","data-adstage-container","containerId","createPlaceholder","height","2358118HJAErW","data-adstage-type","⚠️ ","🚫 Duplicate viewable blocked for ad "," container collapsed (","2832914SIZggM","string",".adstage-","auto","center","6px","error","#666","data-adstage-empty","2px dashed #e74c3c","subtle","⚠️ AdvertisementEventTracker not available for ","): ",'[data-adstage-container="true"]',"getComputedStyle","data-adstage-slot","applyPlaceholderStyle","3350jXJtAf","adstage-slot","advertisementEventTracker","9237drPoHt",'div[style*="min-height"]',"100%","minHeight"," event","renderFallback","parentElement","none","justifyContent","getElementById","generic",'[class*="banner"]',"border","classList","transparent","✅ New viewable recorded for ad ","className","35176878yOSKcH",".adstage-slot","log","number","adstage-slot adstage-empty adstage-","setAttribute","invisible","\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 ","px)","isDuplicateViewable","getAttribute","adstage-class","true","alignItems","display","adstage-slot adstage-","width","rgba(248, 249, 250, 0.5)","block"];return(ut=function(){return t})()}!function(){const t=lt,e=ut();for(;;)try{if(667141===parseInt(t(515))/1+parseInt(t(438))/2+-parseInt(t(463))/3*(-parseInt(t(529))/4)+-parseInt(t(460))/5*(-parseInt(t(507))/6)+parseInt(t(443))/7+parseInt(t(425))/8+-parseInt(t(480))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pt{constructor(t,e=!1,n){const r=lt;this.adType=t,this[r(536)]=e,this[r(462)]=n||null}[dt(436)](t,e,n,r){const s=dt,o=document[s(524)]("div");o.id=e,o[s(479)]=s(495)+String(this[s(429)])[s(511)](),o[s(485)](s(434),"true"),o[s(485)](s(439),String(this[s(429)])),o[s(485)](s(458),e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:"100%",height:this[s(517)]()};o[s(432)].width=i,o[s(432)][s(437)]=a;const c=r?.[s(533)]||n[s(533)]||s(486);this[s(459)](o,c),t.appendChild(o),this.debug&&console[s(482)]("📦 Placeholder created for "+this[s(429)]+" slot: "+e+" ("+i+" x "+a+") - Mode: "+c)}[dt(459)](t,e){const n=dt;switch(e){case n(486):t.style[n(530)]=n(477),t[n(432)][n(475)]=n(470),t.style.opacity="0",t.innerHTML="";break;case n(477):t[n(432)][n(530)]=n(477),t[n(432)][n(475)]=n(470),t[n(432)].display=n(498),t[n(534)]="";break;case n(453):t[n(432)][n(530)]=n(521),t[n(432)][n(475)]="none",t[n(432)][n(428)]="4px",t.style.display=n(423),t[n(432)][n(493)]=n(447),t[n(432)][n(471)]="center",t.innerHTML=n(522);break;case n(504):t[n(432)][n(530)]=n(497),t[n(432)][n(475)]="1px solid rgba(0, 0, 0, 0.08)",t[n(432)][n(428)]=n(448),t[n(432)][n(494)]=n(423),t.style[n(493)]=n(447),t[n(432)][n(471)]=n(447),t[n(534)]=n(514);break;case n(536):t[n(432)][n(475)]=n(452),t[n(432)][n(494)]=n(423),t[n(432)][n(493)]=n(447),t[n(432)].justifyContent=n(447),t[n(432)].backgroundColor=n(527),t[n(432)][n(500)]=n(535),t.style.fontFamily="monospace",t[n(432)][n(509)]=n(510),t[n(534)]="<span>Loading "+this[n(429)]+" ad...</span>";break;default:t.style[n(475)]="1px dashed #ccc",t[n(432)][n(494)]=n(423),t[n(432)][n(493)]=n(447),t.style.justifyContent="center",t[n(432)][n(530)]="#f9f9f9",t[n(432)].color=n(450),t[n(534)]="<span>Loading "+this.adType+n(424)}}[dt(512)](t,e,n){const r=dt,s=e[r(496)],o=e.height;let i,a;if(i=typeof s===r(483)?s+"px":typeof s===r(444)?s:r(465),"number"==typeof o)a=o+"px";else if(typeof o===r(444)&&o!==r(465)&&o!==r(446))a=o;else{const e=this[r(501)](t);e>0?(a="100%",(n?.[r(536)]||this[r(536)])&&console[r(482)]("📏 Using 100% height (container: "+e+r(488))):(a=this.getDefaultHeight(),(n?.[r(536)]||this[r(536)])&&console[r(482)]("📏 Using default height "+a+" for "+this.adType))}return{width:i,height:a}}[dt(501)](t){const e=dt,n=window[e(457)](t),r=parseFloat(n.height);if(!r||0===r){const r=parseFloat(n[e(466)]);if(r>0)return r;if(t[e(432)][e(437)]&&"auto"!==t.style.height){const n=parseFloat(t.style[e(437)]);if(n>0)return n}const s=t[e(490)](e(437));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=lt;if(n===i.VIEWABLE){if(it[r(489)](t,e,this[r(536)]))return void(this[r(536)]&&console[r(482)](r(441)+t+r(430)+e));this[r(536)]&&console[r(482)](r(478)+t+r(430)+e)}if(this[r(462)])try{this.debug&&console[r(482)](r(526)+n+r(532)+t+r(430)+e),await this[r(462)][r(499)](t,e,n),this.debug&&console[r(482)](r(427)+n+" for ad "+t+" in slot "+e)}catch(e){this[r(536)]&&console[r(449)](r(520)+n+r(519)+t+":",e)}else this[r(536)]&&console[r(502)](r(454)+n+r(467))}}[dt(468)](t){const e=dt,n=document[e(472)](t.id);if(n){const r=[...[n[e(505)](e(456)),n[e(433)](e(456)),n].filter(t=>t&&t[e(503)]("data-adstage-container")),...[n[e(433)](e(481)),n[e(433)](e(445)+String(this[e(429)]).toLowerCase()),n[e(433)](e(431)),n.closest(e(474)),n.closest(e(528)),n.closest('div[style*="height"]'),n.closest(e(464)),n[e(469)]][e(518)](Boolean)][0];if(r){let n="unknown";n=r[e(503)]("data-adstage-container")?e(426):r[e(476)][e(525)](e(461))?e(491):e(473),r[e(432)][e(506)]+=e(487),r[e(534)]="",r[e(485)](e(451),e(492)),this[e(536)]&&console.warn(e(440)+this[e(429)]+e(442)+n+e(455)+t.id,r)}else this.createEmptyContainer(t)}t.advertisement=void 0,t[e(516)]=!0}[dt(523)](t){const e=dt,n=document.getElementById(t[e(435)]);if(n){n[e(534)]="";const r=document[e(524)](e(508));r.id=t.id,r[e(479)]=e(484)+String(this[e(429)])[e(511)](),r[e(485)](e(434),"true"),r.setAttribute(e(451),e(492)),r[e(485)](e(458),t.id),r[e(432)][e(506)]=e(513),n[e(531)](r),this.debug&&console.warn("⚠️ Created empty "+this[e(429)]+" container: "+t.id)}}log(t,...e){const n=dt;this[n(536)]&&console[n(482)]("["+this.adType+"] "+t,...e)}}const ht=gt;function ft(){const t=["3:2","warn","8lHheLL",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"✅ Optimized banner image rendered for ad: ","name","adstage-ad adstage-banner-ad","imageUrl","📸 Banner image dimensions: ","1922913ACVrBZ","Banner Ad","naturalWidth","log","#f0f0f0","max","div","onerror","8px"," (avg: ","renderOptimizedBannerImage","count","cover"," ads: ","values","map","getBoundingClientRect","average","Container not found: ","optimizeContainerForBannerAds","_id","4154647xCaVIz","objectFit","alt","16:9","Image URL is not provided","1748896xGSbpB","optimizedHeight","width","className","BANNER","appendChild","1:1","config","naturalHeight","toFixed","error","renderAdElement","581727AljXeo","contain","1910hLohYD","createElement","title","length","style","toString","status","objectPosition","🔧 Banner container optimized for ","renderMultipleAds","getElementById","default","❌ Failed to load optimized banner image:"," with ","createEventTrackingCallback","Banner container optimization failed, using default size:","185108dCllMg","Failed to calculate optimal banner size, using defaults:","applyOptimizedImageStyle","onload","18allYFY","📦 Banner container dimensions: ","ratio","containerId","backgroundColor","getDefaultHeight","parentElement","reduce","📊 Using standard ratio: ","height","<div>","8578810VJjllK","set","common","fulfilled","src","36mGEnZr","100%","🎨 Banner image style applied: objectFit=","get","createSliderContainer","calculateOptimalContainerSize","18264FOmjrM","dominant","selectOptimalSizeStrategy","calculateOptimalHeight","abs","🎠 Banner carousel created for slot: ","Banner","slideInterval","debug","loadImageDimensions","📐 Optimal banner container calculated: ","forEach","round","innerHTML","addClickEventForRenderer","filter","aspectRatio","4:3","center","some"];return(ft=function(){return t})()}function gt(t,e){const n=ft();return(gt=function(t,e){return n[t-=478]})(t,e)}!function(){const t=gt,e=ft();for(;;)try{if(957517===parseInt(t(487))/1+-parseInt(t(542))/2+parseInt(t(554))/3*(parseInt(t(481))/4)+parseInt(t(587))/5+parseInt(t(576))/6*(parseInt(t(537))/7)+parseInt(t(509))/8*(-parseInt(t(516))/9)+parseInt(t(556))/10*(-parseInt(t(572))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class mt extends pt{constructor(e=!1,n){super(t[gt(546)],e,n)}[ht(581)](){return"250px"}async[ht(553)](t,e){const n=ht,r=document[n(566)](t[n(579)]);if(!r)return;const s=document[n(557)](n(522));s[n(545)]=n(513);const o=t[n(543)],i=r[n(582)]||r;if(o)s[n(560)][n(544)]=n(482),s.style[n(585)]=String(o);else{const e=t[n(549)],r={width:e?.[n(544)],height:e?.[n(585)]},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this[n(495)]});s[n(560)][n(544)]=o,s.style[n(585)]=a}e.imageUrl?await this.renderOptimizedBannerImage(s,e,t):s[n(500)]=n(586)+(e[n(558)]||n(517))+"</div>",tt.addClickEventForRenderer(s,e,t,()=>this[n(570)](),this.debug,"Banner"),r[n(500)]="",r.appendChild(s)}async[ht(565)](t,e){const n=ht,r=document.getElementById(t[n(579)]);if(!r)throw new Error(n(534)+t[n(579)]);await this[n(535)](t,e);const s=this[n(570)](),o={autoSlideInterval:(t.config?.[n(494)]||5e3)/1e3,...t[n(549)],optimizedHeight:t[n(543)],aspectRatio:t[n(503)]},i=st[n(485)](t,e,o,s,this[n(495)]);i&&(r[n(500)]="",r[n(547)](i),this[n(495)]&&console[n(519)](n(492)+t.id+n(569)+e[n(559)]+" ads (optimized: "+(t[n(543)]||n(567))+")"))}async[ht(486)](t,e){const n=ht;if(!t[n(559)])return{width:n(482),height:this[n(581)](),aspectRatio:16/9};try{const r=(await Promise.allSettled(t[n(502)](t=>t[n(514)]).map(t=>this[n(496)](t[n(514)]))))[n(502)](t=>t[n(562)]===n(479)).map(t=>t.value);if(0===r.length)return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};const s=this.selectOptimalSizeStrategy(r),o=this[n(490)](r,e,s);return this[n(495)]&&console[n(519)](n(497)+e+"x"+o+" (strategy: "+s+")"),{width:n(482),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(508)](n(573),t),{width:"100%",height:this[n(581)](),aspectRatio:16/9}}}async[ht(535)](t,e){const n=ht;try{const r=document[n(566)](t[n(579)]),s=document[n(566)](t.id);if(!r||!s)return;const o=r[n(532)]()[n(544)]||300,i=await this.calculateOptimalContainerSize(e,o);s[n(560)][n(585)]=i[n(585)],t[n(543)]=i[n(585)],t[n(503)]=i[n(503)],this[n(495)]&&console.log(n(564)+e[n(559)]+n(529)+i[n(585)])}catch(t){console[n(508)](n(571),t)}}[ht(489)](t){const e=ht,n=t[e(531)](t=>t[e(544)]/t[e(585)]),r=new Map;n[e(498)](t=>{const n=e,s=(Math[n(499)](10*t)/10)[n(561)]();r[n(588)](s,(r[n(484)](s)||0)+1)});const s=Math[e(521)](...r[e(530)]()),o=t.length;if(s/o>=.7)return e(488);const i=[16/9,4/3,1,1.5],a=n[e(502)](t=>i[e(506)](n=>Math[e(491)](t-n)<.1))[e(559)];return e(a/o>=.5?478:533)}[ht(490)](t,e,n){const r=ht,s=t.map(t=>t[r(544)]/t[r(585)]);switch(n){case r(488):{const t=new Map;s[r(498)](e=>{const n=r,s=Math[n(499)](10*e)/10,o=s[n(561)](),i=t[n(484)](o);i?i[n(527)]++:t[n(588)](o,{ratio:s,count:1})});const n=Array.from(t[r(530)]())[r(583)]((t,e)=>e[r(527)]>t[r(527)]?e:t);return Math[r(499)](e/n.ratio)}case r(478):{const t=[{ratio:16/9,name:r(540)},{ratio:4/3,name:r(504)},{ratio:1,name:r(548)},{ratio:1.5,name:r(507)}],n=s.reduce((t,e)=>t+e,0)/s[r(559)],o=t[r(583)]((t,e)=>Math[r(491)](e[r(578)]-n)<Math.abs(t[r(578)]-n)?e:t);return this[r(495)]&&console.log(r(584)+o[r(512)]+r(525)+n[r(551)](2)+")"),Math[r(499)](e/o[r(578)])}case r(533):default:{const t=s[r(583)]((t,e)=>t+e,0)/s[r(559)];return Math[r(499)](e/t)}}}[ht(496)](t){return new Promise((e,n)=>{const r=gt,s=new Image;s[r(575)]=()=>{const t=r;e({width:s[t(518)],height:s[t(550)]})},s[r(523)]=()=>{n(new Error("Failed to load image: "+t))},s[r(480)]=t})}applyOptimizedImageStyle(t,e,n){const r=ht,s=e/n;Math[r(491)](s-1)<.1?(t[r(560)].objectFit=r(528),t[r(560)].objectPosition=r(505)):s>1.3?(t.style[r(538)]=r(555),t[r(560)][r(563)]=r(505),t[r(560)][r(580)]=r(520)):(t[r(560)][r(538)]=r(528),t[r(560)][r(563)]=r(505)),this.debug&&console[r(519)](r(483)+t[r(560)][r(538)]+", ratio="+s[r(551)](2))}async[ht(526)](t,e,n){const r=ht,s=document[r(557)]("img");s.style[r(544)]=r(482),s.style.height=r(482),s[r(560)].display="block",s.style.borderRadius=r(524),s[r(539)]=e[r(558)]||"Banner Advertisement",t[r(500)]=r(510);try{if(!e.imageUrl)throw new Error(r(541));const o=await this[r(496)](e[r(514)]),i=t[r(532)](),a=i[r(544)],c=i.height;this[r(495)]&&(console[r(519)](r(515)+o[r(544)]+"x"+o[r(585)]),console.log(r(577)+a+"x"+c));const d=o[r(544)]/o.height,l=a/c;return this[r(574)](s,d,l),s.src=e[r(514)],t[r(500)]="",t[r(547)](s),tt[r(501)](s,e,n,()=>this[r(570)](),this[r(495)],r(493)),this[r(495)]&&console[r(519)](r(511)+e[r(536)]),s}catch(o){return console[r(552)](r(568),o),e[r(514)]&&(s[r(480)]=e[r(514)],s.style[r(538)]=r(528),s[r(560)][r(563)]=r(505),t[r(500)]="",t[r(547)](s),tt.addClickEventForRenderer(s,e,n,()=>this.createEventTrackingCallback(),this[r(495)],r(493))),s}}}function It(t,e){const n=vt();return(It=function(t,e){return n[t-=251]})(t,e)}const yt=It;function vt(){const t=["877860VQawqG","1192014hCHFSD","textContent","4453827aSkRfG","\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 ","11KVhymj","2JyLZfO","128WnCewQ","13903390syAcPJ","4pRmbRk","setTextAdContent","9854700XvKLzv","525721KMTuFI","createTextAdStyles","1067291srhSyQ","20WDCOKe"];return(vt=function(){return t})()}!function(){const t=It,e=vt();for(;;)try{if(842657===-parseInt(t(256))/1*(-parseInt(t(264))/2)+-parseInt(t(261))/3*(parseInt(t(251))/4)+parseInt(t(257))/5*(-parseInt(t(259))/6)+-parseInt(t(254))/7+parseInt(t(265))/8*(parseInt(t(258))/9)+-parseInt(t(266))/10*(-parseInt(t(263))/11)+-parseInt(t(253))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class bt{static[yt(255)](t=!1){return yt(262)}static[yt(252)](t,e){const n=yt,r=e[n(260)]||e.title||"";t[n(260)]=r}}const wt=kt;function kt(t,e){const n=Et();return(kt=function(t,e){return n[t-=118]})(t,e)}function Et(){const t=["string","normal","body","position","mouseenter","136197yFzthO","addEventListener","appendChild","648114inqNpC","\n position: ","preventDefault","opacity","height: 100%;","createElement","2570THpoJv","className","translateY(20px)","translateY(-20px)","adstage-fade-slide-container","forEach","minHeight","zIndex","33474170BCKhlC","entries","touches","2KmepjS","createSimpleAdElement","312151mFltHw",";\n ","clientX","changedTouches","setTextAdContent","\n position: relative;\n width: 100%;\n ","absolute","fit-content","20px","touchend","includes","transform",";\n transform: translateY(","addClickEventForSlider",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","height: auto;","abs","relative","cssText","72urNpZn","top","removeChild","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","height","11JThoBC","clientY","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","width","style","toLowerCase","auto","block","getBoundingClientRect","touchmove",";\n left: ","push","addTouchSupport","9668aVfwIP","div","setAttribute","trackSlideViewable","7398972msOGcz","translateY(0)","left","setProperty","630441vJnWtO"];return(Et=function(){return t})()}!function(){const t=kt,e=Et();for(;;)try{if(873984===-parseInt(t(146))/1+-parseInt(t(172))/2*(-parseInt(t(155))/3)+parseInt(t(138))/4*(-parseInt(t(161))/5)+-parseInt(t(142))/6+parseInt(t(174))/7*(parseInt(t(120))/8)+parseInt(t(152))/9+parseInt(t(169))/10*(parseInt(t(125))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St{static[wt(173)](t,e){const n=wt,r=document[n(160)](n(139));return r[n(162)]="adstage-ad adstage-"+String(t.adType)[n(130)](),r.setAttribute("data-adstage-ad-id",e._id),r[n(140)]("data-adstage-slot-id",t.id),r[n(129)][n(119)]=bt.createTextAdStyles(!0),bt[n(178)](r,e),r}static createTextTransitionContainer(t,e,n,r,s=!1){const o=wt,i=t[o(124)]&&0!==t[o(124)]&&"auto"!==t[o(124)],a=document.createElement(o(139));a[o(162)]="adstage-fade-slider-wrapper";const c={position:o(118),overflow:"hidden",display:o(132)};if(!i&&(c[o(124)]=o(131),c[o(167)]=o(181)),t[o(128)]&&0!==t[o(128)]){let e;e="string"==typeof t.width?t[o(128)][o(184)]("px")||t.width.includes("%")?t[o(128)]:t.width+"px":t[o(128)]+"px",c[o(128)]=e}if(t.height&&0!==t[o(124)]&&t.height!==o(131)&&i){let e;e=typeof t[o(124)]===o(147)?t[o(124)].includes("px")||t[o(124)][o(184)]("%")?t[o(124)]:t.height+"px":t[o(124)]+"px",c[o(124)]=e}Object[o(170)](c)[o(166)](([t,e])=>{const n=o;a[n(129)][n(145)](t,e)});const d=document[o(160)](o(139));d[o(162)]=o(165),d.style[o(119)]=o(179)+(i?"height: 100%;":"height: auto; min-height: fit-content;")+"\n ";let l=null;const u=!t[o(128)]||0===t[o(128)],p=!t[o(124)]||0===t[o(124)]||void 0===t.height||"auto"===t.height;if(u||p&&i){if(l=document.createElement(o(139)),l[o(129)].cssText=o(123),!u&&t[o(128)]){let e;e=typeof t[o(128)]===o(147)&&(t[o(128)][o(184)]("px")||t[o(128)].includes("%"))?t.width:t[o(128)]+"px",l[o(129)][o(128)]=e,l[o(129)].whiteSpace=o(148)}document[o(149)][o(154)](l);let n=0,r=0;e.forEach(e=>{const s=o,i=this[s(173)](t,e);l[s(154)](i);const a=i[s(133)]();a.width>n&&(n=a[s(128)]),a.height>r&&(r=a[s(124)]),l[s(122)](i)}),u&&n>0&&(a[o(129)].width=n+"px"),p&&r>0&&i&&(a.style[o(124)]=r+"px"),document[o(149)][o(122)](l)}const h=[];e.forEach((e,n)=>{const a=o,c=document[a(160)](a(139));c[a(162)]="adstage-fade-slide";const l=a(i?180:0===n?118:180);c.style[a(119)]=a(156)+l+";\n top: "+(l===a(180)?"0":a(131))+a(135)+(l===a(180)?"0":a(131))+";\n width: 100%;\n "+a(i?159:189)+a(127)+(0===n?"1":"0")+a(186)+(0===n?"0":a(182))+a(188)+(0===n?"2":"1")+a(175);const u=this.createSimpleAdElement(t,e);tt[a(187)](u,e,t,r,s,"Text"),c.appendChild(u),d.appendChild(c),h[a(136)](c)});let f=0;const g=e.length,m=1e3*(n?.autoSlideInterval||4),I=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c[a(129)][a(150)]===a(118)&&(c[a(129)][a(150)]=a(180),c.style.top="0",c[a(129)][a(144)]="0"),d[a(129)][a(150)]=a(118),d[a(129)].top=a(131),d.style.left=a(131)),c[a(129)][a(158)]="0",c[a(129)][a(185)]=a(164),c[a(129)].zIndex="1",d[a(129)][a(158)]="1",d.style.transform=a(143),d[a(129)].zIndex="2",h[a(166)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(129)].opacity="0",t[r(129)][r(185)]=r(163),t[r(129)][r(168)]="1",!i&&t.style[r(150)]===r(118)&&(t[r(129)][r(150)]=r(180),t[r(129)][r(121)]="0",t[r(129)][r(144)]="0"))}),f=n,X[a(141)](e[f],t,f,r,s)};let y=setInterval(()=>{I(f+1)},m);return a[o(153)](o(151),()=>{clearInterval(y)}),a[o(153)]("mouseleave",()=>{y=setInterval(()=>{I(f+1)},m)}),St[o(137)](a,I,()=>f,g),a[o(154)](d),a}static[wt(137)](t,e,n,r){const s=wt;let o=0,i=0,a=!1;t.addEventListener("touchstart",t=>{const e=kt;o=t[e(171)][0].clientX,i=t[e(171)][0][e(126)],a=!0}),t.addEventListener(s(134),t=>{a&&t[s(157)]()}),t.addEventListener(s(183),t=>{const r=s;if(!a)return;a=!1;const c=t[r(177)][0][r(176)],d=t[r(177)][0][r(126)],l=o-c,u=i-d;if(Math[r(190)](l)>Math.abs(u)&&Math[r(190)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function xt(){const t=["slideInterval","3288QxvZNY","hidden","appendChild","2044lTHdoq","574670VAeCeu","252mWrqxV","div","Container not found: ","display","addClickEventForRenderer","webkitBoxOrient","_id","2715mFCxHl","adstage-text-content","✨ Text transition created for slot: "," with ","maxLines","-webkit-box","webkitLineClamp","width","19483BDnfgv","debug","calculateAdSize","overflow","innerHTML","getElementById","parentElement","14352QKkKnP","createElement","className","3140724mUYIIA","TEXT","100%","createTextTransitionContainer","60px"," ads","renderMultipleAds","828KComww","4rkhdff","vertical","aspectRatio","height","createEventTrackingCallback","containerId","log","config","style","optimizedHeight","44RSVdcu","407961UJuYed"];return(xt=function(){return t})()}const At=Ct;function Ct(t,e){const n=xt();return(Ct=function(t,e){return n[t-=163]})(t,e)}!function(){const t=Ct,e=xt();for(;;)try{if(163009===parseInt(t(202))/1*(-parseInt(t(169))/2)+parseInt(t(180))/3+parseInt(t(168))/4*(-parseInt(t(194))/5)+-parseInt(t(182))/6*(-parseInt(t(185))/7)+-parseInt(t(209))/8*(-parseInt(t(187))/9)+parseInt(t(186))/10*(parseInt(t(179))/11)+-parseInt(t(212))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Tt extends pt{constructor(e=!1,n){super(t[Ct(213)],e,n)}getDefaultHeight(){return Ct(165)}async renderAdElement(t,e){const n=Ct,r=document[n(207)](t.containerId);if(!r)return;const s=document[n(210)](n(188));s[n(211)]="adstage-ad adstage-text-ad";const o=t.optimizedHeight,i=r[n(208)]||r;if(o)s[n(177)].width=n(163),s[n(177)].height=String(o);else{const e=t[n(176)],r={width:e?.[n(201)],height:e?.[n(172)]},{width:o,height:a}=this[n(204)](i,r,{debug:this[n(203)]});s.style[n(201)]=o,s[n(177)][n(172)]=a}const a=document.createElement("div");a[n(211)]=n(195),a[n(177)].cssText=bt.createTextAdStyles(!1),bt.setTextAdContent(a,e);const c=t[n(176)]?.[n(198)];c&&"number"==typeof c&&(a.style[n(190)]=n(199),a.style[n(200)]=String(c),a[n(177)][n(192)]=n(170),a.style[n(205)]=n(183)),s[n(184)](a),tt[n(191)](s,e,t,()=>this[n(173)](),this[n(203)],"Text"),r[n(206)]="",r[n(184)](s),this.debug&&console[n(175)]("✨ Single text ad rendered: "+e[n(193)])}async[At(167)](t,e){const n=At,r=document[n(207)](t.containerId);if(!r)throw new Error(n(189)+t[n(174)]);const s=this[n(173)](),o={autoSlideInterval:(t.config?.[n(181)]||5e3)/1e3,...t.config,optimizedHeight:t[n(178)],aspectRatio:t[n(171)]},i=St[n(164)](t,e,o,s,this[n(203)]);i&&(r[n(206)]="",r.appendChild(i),this[n(203)]&&console.log(n(196)+t.id+n(197)+e.length+n(166)))}}const Rt=Dt;function Dt(t,e){const n=Pt();return(Dt=function(t,e){return n[t-=211]})(t,e)}function Pt(){const t=["loadeddata","img"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","1208958bIjxdL","play","style","hideFullscreenButton","playsinline","height","1939442fuPizo","textContent","unmuted","createElement","div","🎬 Video element created for ad: ","createEventTrackingCallback","innerHTML","none","Click to unmute","controls","loop","⚠️ No video advertisements available for slot: ","warn","autoplay"," (autoplay: ","hideProgressBar","🎬 Trying muted autoplay fallback...","Container not found: ","rgba(0, 0, 0, 0.7)",", muted: "," !important;\n }\n ","🎬 Video metadata loaded, attempting autoplay...","catch","mouseenter","loadedmetadata","rgba(0, 0, 0, 0.9)","width","scale(1.1)","getDefaultHeight","config","customControls","_id","4512105VeMtux","title","Click to mute","background","10iNKFQl","muted","VIEWABLE","alt",'\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 controls setting:","disabled (default)","adstage-video-container","hidePlayButton","relative","display","setAttribute","appendChild","renderMultipleAds","35vhBVox","containerId","Video fallback","100%","preload","🎬 Autoplay completely failed:","2217904PucDEo","src"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","log","cssText","🎬 Video config received:","7mzJbwi","VIDEO","renderVideoElementDirect","error","block","39742290KoFgPo"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","getElementById","click","videoUrl","transform","🎬 Single video rendered for VIDEO slot: ","contain","stopPropagation","\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 ","hideControls","addClickEventForRenderer","🎬 Initial autoplay attempt after timeout...","🎬 Final video settings:","\n pointer-events: none;\n ","imageUrl","360px","adstage-video-default-controls","hideVolumeSlider","761589ehvvHj","9349752fizjdt","enabled","className","head","🎬 Video data loaded, attempting autoplay...","Video thumbnail","canplay","objectFit","addEventListener","button","🔊 Video mute toggled: ","Video","position","\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 ","mouseleave","debug","video","metadata"];return(Pt=function(){return t})()}!function(){const t=Dt,e=Pt();for(;;)try{if(844229===parseInt(t(254))/1+parseInt(t(282))/2+parseInt(t(315))/3+-parseInt(t(224))/4+-parseInt(t(218))/5*(-parseInt(t(276))/6)+parseInt(t(230))/7*(parseInt(t(255))/8)+parseInt(t(235))/9*(-parseInt(t(319))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _t extends pt{constructor(e=!1,n){super(t[Dt(231)],e,n)}[Rt(311)](){return Rt(251)}async renderAdElement(t,e){const n=Rt,r=document[n(237)](t[n(219)]);if(!r)return;const s=document[n(285)](n(286));s[n(257)]=n(211),s[n(278)].cssText=n(268),this[n(232)](s,e,t),r[n(289)]="",r[n(216)](s),this[n(270)]&&console[n(227)]("🎬 Single video ad rendered: "+e[n(314)])}async[Rt(217)](t,e){const n=Rt,r=document.getElementById(t[n(219)]);if(!r)throw new Error(n(300)+t.containerId);if(e.length>0){const s=e[0],o=document.createElement(n(286));o[n(257)]=n(211),o[n(278)][n(228)]="\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(232)](o,s,t),r[n(289)]="",r[n(216)](o);const a=this[n(288)]();setTimeout(()=>{const e=n;a(s[e(314)],t.id,i[e(321)])},100),this[n(270)]&&console[n(227)](n(241)+t.id+" ("+s[n(314)]+")")}else this[n(270)]&&console[n(295)](n(294)+t.id)}[Rt(232)](t,e,n){const r=Rt;t[r(278)][r(267)]=r(213);const s=document[r(285)](r(271));s[r(278)][r(309)]=r(221),s[r(278)][r(281)]=r(221),s[r(278)][r(262)]=r(242),s[r(222)]=r(272);const o=n[r(312)];if(this[r(270)]&&console[r(227)](r(229),o),s[r(292)]=!1,s[r(296)]=!1!==o?.[r(296)],s[r(320)]=!0,s[r(293)]=!1!==o?.[r(293)],this[r(270)]&&console.log(r(248),{autoplay:s[r(296)],muted:s[r(320)],loop:s.loop,controls:s.controls}),!1!==o?.[r(280)]&&s[r(215)]("playsinline",""),!0===o?.controls&&(s[r(292)]=!0,this[r(270)]&&console[r(227)]("🎬 User explicitly enabled controls, overriding default")),o?.[r(245)])s[r(292)]=!1,s[r(278)][r(228)]+=r(249);else if(o?.[r(313)]){if(s.controls){const t=document[r(285)](r(278));t[r(283)]="\n video::-webkit-media-controls-play-button {\n display: "+(o[r(313)][r(212)]?r(290):r(234))+r(236)+(o[r(313)][r(298)]?"none":"block")+r(226)+(o.customControls.hideCurrentTime?"none":"block")+r(275)+(o[r(313)].hideRemainingTime?"none":r(234))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(o[r(313)][r(253)]?r(290):"block")+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(o[r(313)].hideMuteButton?"none":r(234))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(o.customControls[r(279)]?r(290):r(234))+r(303),document[r(258)][r(216)](t)}}else if(s.controls){const t=document[r(285)]("style");t.id="adstage-video-default-controls",t[r(283)]=r(244),!document[r(237)](r(252))&&document.head[r(216)](t)}this[r(270)]&&console[r(227)](r(324),s[r(292)]?r(256):r(325));const i=document[r(285)](r(264));i[r(257)]="adstage-video-mute-button",i.style[r(228)]="\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 ",o?.[r(245)]&&(i[r(278)][r(214)]=r(290));const a=()=>{const t=r,e=t(323);i.innerHTML=s[t(320)]?'\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 ':e,i[t(316)]=s.muted?t(291):t(317)};if(a(),i[r(263)](r(238),t=>{const e=r;t[e(243)](),s.muted=!s[e(320)],a(),this[e(270)]&&console[e(227)](e(265)+(s.muted?e(320):e(284)))}),i[r(263)](r(306),()=>{const t=r;i[t(278)][t(318)]=t(308),i[t(278)][t(240)]=t(310)}),i[r(263)](r(269),()=>{const t=r;i[t(278)].background=t(301),i[t(278)][t(240)]="scale(1)"}),e[r(239)]){s[r(225)]=e[r(239)];const t=()=>{const t=r;s[t(296)]&&s[t(320)]&&s.paused&&s[t(277)]()[t(305)](e=>{const n=t;this[n(270)]&&(console[n(295)]("🎬 Auto-play was prevented:",e),console[n(295)](n(299))),s[n(320)]=!0,s[n(277)]()[n(305)](t=>{const e=n;this.debug&&console[e(233)](e(223),t)})})};s.addEventListener(r(307),()=>{const e=r;this[e(270)]&&console[e(227)](e(304)),t()}),s[r(263)](r(261),()=>{const e=r;this[e(270)]&&console[e(227)]("🎬 Video can play, attempting autoplay..."),t()}),s.addEventListener(r(273),()=>{const e=r;this[e(270)]&&console[e(227)](e(259)),t()}),setTimeout(()=>{const e=r;this[e(270)]&&console[e(227)](e(247)),t()},100)}else if(e[r(250)]){const n=document[r(285)](r(274));return n[r(225)]=e[r(250)],n[r(278)][r(309)]=r(221),n[r(278)][r(281)]=r(221),n[r(278)][r(262)]=r(242),n[r(322)]=e[r(316)]||r(260),void t[r(216)](n)}tt.addClickEventForRenderer(s,e,n,()=>this[r(288)](),this[r(270)],r(266)),s[r(263)](r(233),s=>{const o=r;if(console[o(233)]("Video load failed:",s),e.imageUrl){const r=document[o(285)](o(274));r[o(225)]=e[o(250)],r[o(278)].width=o(221),r[o(278)][o(281)]=o(221),r[o(278)][o(262)]="contain",r[o(322)]=e.title||o(260),tt[o(246)](r,e,n,()=>this.createEventTrackingCallback(),this[o(270)],o(220)),t[o(289)]="",t[o(216)](r)}}),t[r(216)](s),t[r(216)](i),this[r(270)]&&console[r(227)](r(287)+e[r(314)]+r(297)+s[r(296)]+r(302)+s.muted+", loop: "+s.loop+")")}}function Lt(){const t=["div","textContent","64229FVxmaP","linkUrl","log","🏠 Native ad rendered (first of ","2189117IIwbWD","41526sGWjVe","advertisementEventTracker","_id","Native click tracked for ad: ","352323qhwlWG","alt","mouseleave","warn","backgroundColor","createElement","18LNfTJK","adstage-ad adstage-native-ad","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","debug","click","): ","200px","_blank","title","length","Learn More","201100VCUgTi","⚠️ No native advertisements available for slot: ","src","className","appendChild","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","440whXtlb","#3b82f6","🏠 Single native ad rendered: ","renderAdElement","style","Native Advertisement","NATIVE","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","getElementById","open","mouseenter","getDefaultHeight","addEventListener","3263370ggbJfX","1375434MJULPW","renderMultipleAds","cssText"];return(Lt=function(){return t})()}const Bt=Mt;function Mt(t,e){const n=Lt();return(Mt=function(t,e){return n[t-=148]})(t,e)}!function(){const t=Mt,e=Lt();for(;;)try{if(367829===-parseInt(t(149))/1*(-parseInt(t(164))/2)+-parseInt(t(158))/3+parseInt(t(175))/4+parseInt(t(194))/5+-parseInt(t(195))/6+-parseInt(t(153))/7+-parseInt(t(181))/8*(parseInt(t(154))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class zt extends pt{constructor(e=!1,n){super(t[Mt(187)],e,n)}[Bt(192)](){return Bt(170)}async[Bt(184)](t,e){const n=Bt,r=document[n(189)](t.containerId);if(!r)return;const s=document.createElement("div");if(s[n(178)]=n(165),s[n(185)][n(197)]="\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 ",e[n(172)]){const t=document[n(163)]("h3");t[n(148)]=e[n(172)],t.style[n(197)]=n(180),s[n(179)](t)}if(e[n(148)]){const t=document.createElement("p");t[n(148)]=e[n(148)],t[n(185)].cssText="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",s[n(179)](t)}if(e.imageUrl){const t=document.createElement(n(198));t[n(185)][n(197)]=n(166);const r=document[n(163)]("img");r[n(177)]=e.imageUrl,r[n(159)]=e.title||n(186),r[n(185)].cssText=n(188),t.appendChild(r),s[n(179)](t)}if(e[n(150)]){const t=document.createElement("button");t.textContent=n(174),t[n(185)].cssText="\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 ",t.addEventListener(n(168),()=>{const t=n;this[t(155)]&&console[t(151)](t(157)+e[t(156)]),window[t(190)](e[t(150)],t(171))}),t[n(193)](n(191),()=>{const e=n;t[e(185)][e(162)]="#2563eb"}),t[n(193)](n(160),()=>{const e=n;t[e(185)].backgroundColor=e(182)}),s[n(179)](t)}r.innerHTML="",r[n(179)](s),this[n(167)]&&console[n(151)](n(183)+e._id)}async[Bt(196)](t,e){const n=Bt;e[n(173)]>0?(await this[n(184)](t,e[0]),this[n(167)]&&console[n(151)](n(152)+e[n(173)]+n(169)+t.id)):this[n(167)]&&console[n(161)](n(176)+t.id)}}const Ut=Ot;function Ot(t,e){const n=Vt();return(Ot=function(t,e){return n[t-=185]})(t,e)}!function(){const t=Ot,e=Vt();for(;;)try{if(657861===-parseInt(t(228))/1*(-parseInt(t(203))/2)+parseInt(t(242))/3+parseInt(t(200))/4*(parseInt(t(248))/5)+parseInt(t(240))/6+parseInt(t(239))/7+parseInt(t(189))/8*(parseInt(t(202))/9)+-parseInt(t(220))/10*(parseInt(t(185))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends pt{constructor(e=!1,n){super(t.INTERSTITIAL,e,n)}getDefaultHeight(){return"400px"}async[Ut(197)](t,e){const n=Ut;if(!document.getElementById(t[n(247)]))return;const r=document[n(232)](n(218));r[n(234)]=n(244),r[n(188)][n(193)]=n(222);const s=document[n(232)](n(218));s[n(234)]="adstage-interstitial-content",s[n(188)][n(193)]="\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 o=document[n(232)]("button");if(o[n(216)]="×",o.style[n(193)]=n(186),o[n(201)](n(226),()=>{this[n(196)](r)}),o[n(201)](n(224),()=>{const t=n;o[t(188)].backgroundColor=t(235),o[t(188)].color=t(246)}),o[n(201)](n(195),()=>{const t=n;o[t(188)][t(214)]=t(236),o.style.color=t(187)}),e[n(230)]){const t=document[n(232)](n(210));t.src=e[n(230)],t[n(212)]=e[n(233)]||n(198),t[n(188)][n(193)]="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(215)](t)}if(e.title){const t=document.createElement("h2");t[n(219)]=e[n(233)],t[n(188)][n(193)]=n(199),s[n(215)](t)}if(e[n(219)]){const t=document.createElement("p");t[n(219)]=e[n(219)],t[n(188)][n(193)]=n(221),s[n(215)](t)}if(e[n(231)]){const t=document[n(232)](n(243));t[n(219)]=n(213),t[n(188)][n(193)]="\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 ",t[n(201)]("click",()=>{const t=n;this[t(209)]&&console[t(237)]("Interstitial click tracked for ad: "+e[t(191)]),window[t(245)](e[t(231)],t(204)),this.closeInterstitial(r)}),t[n(201)]("mouseenter",()=>{t[n(188)].backgroundColor="#2563eb"}),t[n(201)](n(195),()=>{const e=n;t[e(188)].backgroundColor=e(223)}),s[n(215)](t)}const i=t=>{const e=n;t[e(229)]===e(217)&&(this[e(196)](r),document.removeEventListener(e(206),i))};if(document[n(201)]("keydown",i),r.addEventListener(n(226),t=>{const e=n;t[e(205)]===r&&this[e(196)](r)}),!document[n(208)](n(194))){const t=document[n(232)](n(188));t.id=n(194),t[n(219)]=n(207),document[n(238)][n(215)](t)}s[n(215)](o),r[n(215)](s),document[n(241)].appendChild(r),this[n(192)]&&console.log("🖼️ Interstitial ad rendered: "+e._id)}async[Ut(211)](t,e){const n=Ut;e[n(249)]>0?(await this[n(197)](t,e[0]),this[n(192)]&&console[n(237)]("🖼️ Interstitial ad rendered (first of "+e.length+"): "+t.id)):this[n(192)]&&console.warn(n(227)+t.id)}[Ut(196)](t){const e=Ut;t.style.animation=e(225),setTimeout(()=>{const n=e;t.parentNode&&t[n(190)].removeChild(t)},300),this.debug&&console.log("🖼️ Interstitial ad closed")}}function Vt(){const t=["100jXAvsX","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","\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 ","#3b82f6","mouseenter","fadeOut 0.3s ease-out forwards","click","⚠️ No interstitial advertisements available for slot: ","1WHcHBg","key","imageUrl","linkUrl","createElement","title","className","#e5e7eb","#f3f4f6","log","head","884933XyeCjU","4995264JYFYpy","body","818598zekXLp","button","adstage-interstitial-overlay","open","#374151","containerId","78345iNvCnm","length","3303289FlAsXp","\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 ","#6b7280","style","8mCRekP","parentNode","_id","debug","cssText","adstage-interstitial-styles","mouseleave","closeInterstitial","renderAdElement","Interstitial Advertisement","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","244uObRtF","addEventListener","9988506ziZKRE","726758yuQwGM","_blank","target","keydown","\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 ","getElementById","advertisementEventTracker","img","renderMultipleAds","alt","Get Started","backgroundColor","appendChild","innerHTML","Escape","div","textContent"];return(Vt=function(){return t})()}const Ft=Ht;function jt(){const t=["get","style","isLoaded","objectFit","100%","10sDlbli","loadImageDimensions","calculateAdSize","1px dashed #ccc","initializeRenderers","adstage-ad adstage-"," renderers","2295972XZrPYJ","renderOptimizedBannerImage is only supported for BANNER ads","calculateOptimalContainerSize","optimizeContainerForBannerAds","147112bQIItj","imageUrl","176kqWPia","img","naturalHeight","renderMultipleAds","renderers","advertisement","getDefaultHeight","createPlaceholder","827842xTybhU","warn","renderFallback","backgroundColor","NATIVE","337055gEjbpG","getDefaultHeightForAdType","advertisementEventTracker","log","size","2975346cXQApG","1CiGrtY","renderAd","width","videoUrl","INTERSTITIAL","appendChild","VIDEO","height","cover","padding","8px","adType","naturalWidth","toLowerCase","30ZiueTI","getRenderer","data-adstage-ad-id","set","renderAdElement","onerror","No renderer found for ad type: ","src","createElement","video","16625448DSDDNH","renderOptimizedBannerImage","div","Failed to load image: ","block","48BOeucd","onload","debug","border","#f9f9f9","textContent","⚠️ Container optimization is only supported for BANNER ads, got: ","18069AEHWbO","BANNER"];return(jt=function(){return t})()}function Ht(t,e){const n=jt();return(Ht=function(t,e){return n[t-=153]})(t,e)}!function(){const t=Ht,e=jt();for(;;)try{if(227992===-parseInt(t(154))/1*(parseInt(t(218))/2)+-parseInt(t(190))/3*(parseInt(t(210))/4)+parseInt(t(223))/5*(-parseInt(t(168))/6)+-parseInt(t(208))/7*(parseInt(t(183))/8)+-parseInt(t(204))/9*(-parseInt(t(197))/10)+-parseInt(t(153))/11+parseInt(t(178))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Kt{constructor(t=!1,e){const n=Ht;this.renderers=new Map,this[n(185)]=t,this.advertisementEventTracker=e||null,this[n(201)]()}[Ft(201)](){const e=Ft;this[e(214)][e(171)](t[e(191)],new mt(this[e(185)],this[e(225)])),this.renderers.set(t.TEXT,new Tt(this[e(185)],this[e(225)])),this[e(214)][e(171)](t[e(160)],new _t(this[e(185)],this[e(225)])),this[e(214)].set(t[e(222)],new zt(this[e(185)],this[e(225)])),this[e(214)][e(171)](t[e(158)],new Nt(this.debug,this[e(225)])),this[e(185)]&&console[e(226)]("🏭 AdRenderer factory initialized with "+this.renderers[e(227)]+e(203))}createAdElement(e,n){const r=Ft,s=this[r(169)](e.adType),o=document[r(176)](r(180));o.className=r(202)+String(e[r(165)])[r(167)](),o.setAttribute(r(170),n._id),o.setAttribute("data-adstage-slot-id",e.id);const{width:i,height:a}=s[r(199)](o,e.config||{},n);switch(o[r(193)][r(156)]=i,o[r(193)][r(161)]=a,o[r(193)].display=r(182),e[r(165)]){case t[r(191)]:if(n[r(209)]){const t=document[r(176)](r(211));t.src=n.imageUrl,t.style.width=r(196),t[r(193)][r(161)]=r(196),t.style[r(195)]=r(162),o[r(159)](t)}break;case t[r(160)]:if(n[r(157)]){const t=document.createElement(r(177));t[r(175)]=n[r(157)],t[r(193)][r(156)]=r(196),t[r(193)].height=r(196),o.appendChild(t)}break;case t.TEXT:if(n.textContent){const t=document[r(176)](r(180));t[r(188)]=n[r(188)]||"",t[r(193)][r(163)]=r(164),o[r(159)](t)}break;default:o[r(193)][r(186)]=r(200),o.style[r(221)]=r(187),o[r(188)]=e[r(165)]+" Ad"}return o}[Ft(169)](t){const e=Ft,n=this[e(214)][e(192)](t);if(!n)throw new Error(e(174)+t);return n}[Ft(217)](t,e,n,r,s){const o=Ft;this.getRenderer(n)[o(217)](t,e,r,s)}async optimizeContainerForBannerAds(e,n){const r=Ft;if(e.adType!==t[r(191)])return void(this.debug&&console[r(219)](r(189)+e[r(165)]));const s=this[r(169)](t[r(191)]);await s[r(207)](e,n)}async renderAdSlider(t,e){const n=Ft,r=this[n(169)](t[n(165)]);await r[n(213)](t,e)}async[Ft(155)](t){const e=Ft;if(!t[e(215)])throw new Error("No advertisement to render");const n=this[e(169)](t[e(165)]);await n[e(172)](t,t[e(215)]),t[e(194)]=!0}async[Ft(172)](t,e){const n=Ft,r=this.getRenderer(t[n(165)]);await r[n(172)](t,e)}[Ft(220)](t){const e=Ft;this.getRenderer(t[e(165)])[e(220)](t)}[Ft(224)](t){const e=Ft;return this[e(169)](t)[e(216)]()}[Ft(199)](t,e,n,r){const s=Ft;return this.getRenderer(e)[s(199)](t,n,r)}[Ft(198)](t){return new Promise((e,n)=>{const r=Ht,s=new Image;s[r(184)]=()=>{const t=r;e({width:s[t(166)],height:s[t(212)]})},s[r(173)]=()=>{n(new Error(r(181)+t))},s[r(175)]=t})}async[Ft(179)](e,n,r){const s=Ft;if(r[s(165)]!==t[s(191)])throw new Error(s(205));const o=this[s(169)](t[s(191)]);return await o[s(179)](e,n,r)}async[Ft(206)](e,n,r){const s=Ft;if(r!==t.BANNER){return{width:"100%",height:this[s(169)](r).getDefaultHeight(),aspectRatio:16/9}}const o=this[s(169)](t.BANNER);return await o[s(206)](e,n)}[Ft(226)](t,...e){const n=Ft;this[n(185)]&&console[n(226)]("[AdRenderer] "+t,...e)}}const Wt=Jt;function Jt(t,e){const n=qt();return(Jt=function(t,e){return n[t-=405]})(t,e)}function qt(){const t=["status","disconnect","createAd","length","Failed to fetch ad data: ","📊 Fetched specific ad with ID: ","config","style",", filters:","log","BANNER","190752SrLkKl","Container not found after ","forEach","Auto-cleanup failed for slot ","string","🗑️ Ads module destroyed","GET","json","banner","slots","native","📊 Advertisement event tracking enabled for slot: ","nodeType","onClick","values","createAdWithRetry","country","optimizeContainerForBannerAds","destroy","append","createPlaceholder","maxLines","isLoaded","🧹 Auto-cleanup: slot ","hideControls","width","getElementById","adRenderer","startSimpleViewabilityTracking","warn","_id","ensureReady","[data-adstage-slot-id]","Ad slot not found: ","267717ZSwqXk","now","clear","100%","refresh","_isReady","🔍 Auto-cleanup MutationObserver enabled","get","toString","data-adstage-slot-id"," removed","INTERSTITIAL","autoDestroy","create","querySelectorAll","muted","ELEMENT_NODE","error","광고 생성 중 오류 발생:","1415310yFHACI","handleRemovedElement","init","renderAdElement","apiKey","list","getBaseUrl","deviceType","setupAutoCleanup","advertisements","adstage-","height","interstitial"," attempts: ","1793132TiIXNd","✅ Simple viewable impression tracked for ad ","auto-","🚫 Advertisement not found with ID: "," ads automatically","undefined","autoplay","innerHTML","ms... (attempt ","965751JuCssC","1128616UoJxNJ","substr","getSlotById","fetchAdData","adId","auto","renderFallback"," (attempt ","debug","loop","renderAdSlider","renderAd","advertisementEventTracker","Container not found: ","mutationObserver","❌ Failed to find element for viewability tracking: ","_config","🎠 Slider will handle VIEWABLE events for ","289982XIoVlS","delete","🔄 Ad slot refreshed: ","NATIVE","❌ Failed to track viewable impression:","detail","getConfig","createAdInternal","observe","New advertisement viewable tracked for slot:","🎯 Simple viewability tracking started for slot: ","handleViewableEvent","trackAdvertisementEvent","removedNodes","controls","refreshAdSlot","loadAdContentInBackground","advertisement","autoSlide","playsinline"," ads)","language","API key not configured","VIEWABLE","✅ Ad loaded for slot: ","getAttribute","set","Failed to refresh ad slot: ","then","TEXT","42KyRaco","adType"];return(qt=function(){return t})()}!function(){const t=Jt,e=qt();for(;;)try{if(426663===parseInt(t(460))/1+-parseInt(t(503))/2+-parseInt(t(502))/3+parseInt(t(493))/4+parseInt(t(479))/5+parseInt(t(413))/6*(parseInt(t(521))/7)+parseInt(t(426))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt{constructor(){const t=Jt;this[t(465)]=!1,this[t(519)]=null,this.slots=new Map,this[t(515)]=null,this[t(453)]=null,this[t(517)]=null}[Wt(481)](t){const e=Wt;this._config=t,this[e(515)]=new M(J[e(485)](),t[e(483)],t[e(511)]||!1,this[e(435)]),this.adRenderer=new Kt(t.debug||!1,this.advertisementEventTracker),this[e(487)](),this[e(465)]=!0,t.debug&&console.log("🎯 Ads module initialized (sync mode) with auto-cleanup")}isReady(){return this[Wt(465)]}[Wt(527)](){return this[Wt(519)]}[Wt(434)](e,n){const r=Wt;this.ensureReady();const s={width:n?.[r(451)]||r(463),height:n?.height||"auto",autoSlide:n?.[r(539)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.onClick,adId:n?.[r(507)],language:n?.[r(542)],deviceType:n?.[r(486)],country:n?.[r(442)]};return this.createAd(e,t.BANNER,s)}text(e,n){const r=Wt;this.ensureReady();const s={maxLines:n?.[r(447)]||3,style:n?.[r(422)]||"default",onClick:n?.[r(439)],adId:n?.[r(507)],language:n?.[r(542)],deviceType:n?.[r(486)],country:n?.[r(442)]};return this[r(417)](e,t[r(412)],s)}video(e,n){const r=Wt;this[r(457)]();const s={width:n?.[r(451)]||640,height:n?.[r(490)]||360,autoplay:void 0===n?.[r(499)]||n.autoplay,muted:void 0===n?.[r(475)]||n[r(475)],loop:void 0===n?.loop||n[r(512)],playsinline:!1!==n?.[r(540)],controls:void 0!==n?.[r(535)]&&n[r(535)],hideControls:n?.[r(450)]||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[r(439)],...n?.[r(507)]&&{adId:n[r(507)]}};return this[r(417)](e,t.VIDEO,s)}[Wt(436)](e,n){const r=Wt;return this[r(457)](),this[r(417)](e,t[r(524)],n||{})}[Wt(491)](e,n){const r=Wt;return this[r(457)](),this.createAd(e,t[r(471)],n||{})}[Wt(464)](t){const e=Wt;this[e(457)]();const n=this[e(435)][e(467)](t);if(!n)throw new Error(e(459)+t);this.refreshAdSlot(n),this[e(519)]?.[e(511)]&&console[e(424)](e(523)+t)}[Wt(444)](t){const e=Wt;this[e(457)]();const n=this[e(435)].get(t);if(!n)throw new Error("Ad slot not found: "+t);n.viewabilityTracker&&n.viewabilityTracker[e(444)]();const r=document[e(452)](n.containerId);r&&(r[e(500)]=""),this[e(435)][e(522)](t),this[e(519)]?.debug&&console[e(424)]("🗑️ Ad slot destroyed: "+t)}getAllSlots(){const t=Wt;return this[t(457)](),Array.from(this[t(435)][t(440)]())}[Wt(505)](t){const e=Wt;return this.ensureReady(),this.slots[e(467)](t)||null}[Wt(417)](t,e,n){const r=Wt;if(!this[r(519)]?.[r(483)])throw new Error("API key not configured");const s=r(489)+e+"-"+Date[r(461)]()+"-"+Math.random()[r(468)](36)[r(504)](2,9);return this[r(441)](t,e,n,s,0),s}async[Wt(441)](t,e,n,r,s){const o=Wt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(430)){if(a=t,c=document[o(452)](t),!c)return s<4?(this[o(519)]?.[o(511)]&&console[o(455)](o(516)+t+". Retrying in "+i[s+1]+o(501)+(s+1)+"/5)"),void setTimeout(()=>{this.createAdWithRetry(t,e,n,r,s+1)},i[s+1])):void console[o(477)](o(427)+5+o(492)+t)}else c=t,a=c.id||o(495)+r,!c.id&&(c.id=a);try{this[o(528)](a,e,n,r,c)}catch(t){console[o(477)](o(478),t)}}[Wt(528)](e,n,r,s,o){const i=Wt;o.setAttribute("data-adstage-slot-id",s),this[i(453)]?.[i(446)](o,s,n,r,this._config);const a={id:s,containerId:e,adType:n,width:r[i(451)]||i(463),height:r[i(490)]||(n===t[i(412)]?i(508):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(506)](n,r)[i(411)](t=>t[0]||null),render:t=>this[i(453)]?.renderAdElement(a,t),refresh:async()=>this[i(536)](a),destroy:()=>this[i(444)](s)};this[i(435)][i(409)](s,a),this[i(537)](a),this[i(515)]&&this[i(519)]?.[i(511)]&&console.log(i(437)+s)}async[Wt(537)](e){const n=Wt;try{const r=await this[n(506)](e[n(414)],e.config);if(!r||0===r[n(418)])return void this[n(453)]?.[n(509)](e);e[n(414)]===t[n(425)]&&r[n(418)]>0&&await(this[n(453)]?.[n(443)](e,r)),r.length>1||e[n(421)]?.[n(539)]?(await(this[n(453)]?.[n(513)](e,r)),this[n(519)]?.[n(511)]&&console[n(424)](n(520)+r[n(418)]+n(497))):(e[n(538)]=r[0],await(this[n(453)]?.[n(482)](e,r[0])),this.startSimpleViewabilityTracking(e,r[0])),e[n(448)]=!0,this[n(519)]?.[n(511)]&&console[n(424)](n(407)+e.id+" ("+r.length+n(541))}catch(t){console[n(477)]("❌ Failed to load ad for slot: "+e.id,t),this.adRenderer?.[n(509)](e)}}[Wt(454)](t,e){const n=(r=0)=>{const s=Jt,o=document[s(452)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this._config?.[s(511)]&&console.log("🔄 Retrying viewability tracking for slot: "+t.id+s(510)+(r+1)+")")):console[s(455)](s(518)+t.id));const i=new N(o,async()=>{await this.handleViewableEvent(e,t)});t.viewabilityTracker=i,this[s(519)]?.[s(511)]&&console[s(424)](s(531)+t.id+" (element found)")};n()}async[Wt(532)](t,e){const n=Wt;try{this[n(515)]&&(await this[n(515)][n(533)](t[n(456)],e.id,i[n(406)]),this[n(519)]?.debug&&console[n(424)](n(494)+t[n(456)]))}catch(t){console.error(n(525),t)}}async fetchAdData(t,e){const n=Wt;if(!this[n(519)]?.[n(483)])throw new Error(n(405));if(e[n(507)]){const t=""+J[n(488)][n(526)](e[n(507)]),r=await fetch(t,{method:"GET",headers:P.create(this[n(519)][n(483)])});if(!r.ok){if(404===r[n(415)])return console[n(455)](n(496)+e.adId),[];throw new Error(n(419)+r[n(415)])}const s=await r[n(433)]();return this[n(519)]?.debug&&console[n(424)](n(420)+e.adId,s),[s]}const r=new URLSearchParams;r[n(445)](n(414),t),e.language&&r[n(445)]("language",e.language),e.deviceType&&r[n(445)]("deviceType",e[n(486)]),e[n(442)]&&r[n(445)](n(442),e[n(442)]);const s=J[n(488)][n(484)]()+"?"+r.toString(),o=await fetch(s,{method:n(432),headers:P[n(473)](this._config.apiKey)});if(!o.ok)throw new Error(n(419)+o[n(415)]);const i=(await o[n(433)]())[n(488)]||[];return this[n(519)]?.[n(511)]&&console[n(424)]("📊 Fetched "+i[n(418)]+" ads for type: "+t+n(423),{language:e[n(542)],deviceType:e[n(486)],country:e[n(442)]}),i}async[Wt(536)](t){const e=Wt;try{const n=await this[e(506)](t[e(414)],t.config||{});n&&n.length>0&&(t[e(538)]=n[0],await(this[e(453)]?.[e(514)](t)),this.advertisementEventTracker&&console[e(424)](e(530),t.id))}catch(n){console[e(477)](e(410)+t.id,n)}}[Wt(457)](){if(!this._isReady)throw new Error("Ads module not initialized. Call AdStage.init() first.")}setupAutoCleanup(){const t=Wt;typeof window!==t(498)&&typeof document!==t(498)&&(this[t(517)]&&this[t(517)].disconnect(),this[t(517)]=new MutationObserver(t=>{t.forEach(t=>{const e=Jt;t[e(534)][e(428)](t=>{const n=e;t[n(438)]===Node[n(476)]&&this.handleRemovedElement(t)})})}),this[t(517)][t(529)](document.body,{childList:!0,subtree:!0}),this._config?.[t(511)]&&console[t(424)](t(466)))}[Wt(480)](t){const e=Wt,n=t[e(408)](e(469));if(n)return void this[e(472)](n);t[e(474)](e(458))[e(428)](t=>{const n=e,r=t[n(408)](n(469));r&&this[n(472)](r)})}autoDestroy(t){const e=Wt;if(this.slots[e(467)](t))try{this[e(435)][e(522)](t),this._config?.[e(511)]&&console[e(424)](e(449)+t+e(470))}catch(n){this[e(519)]?.[e(511)]&&console[e(455)](e(429)+t+":",n)}}destroyModule(){const t=Wt,e=this[t(519)]?.[t(511)];this[t(517)]&&(this.mutationObserver[t(416)](),this.mutationObserver=null),this[t(435)][t(462)](),this[t(515)]=null,this[t(453)]=null,this[t(465)]=!1,this._config=null,e&&console[t(424)](t(431))}}function Gt(){var t=["_isReady","16JaTcCa","getApiEndpoint","103434NQiBAt","2123070LysSZW","getOrganizationInfo","isReady","_config","isDebugMode","setBaseUrl","debug","log","apiKey","baseUrl","development","getConfig","getEnabledModules","1211987taQgPv","1000240VTGJIJ","_organizationInfo","isModuleEnabled","modules","🔄 Config updated","init","API key not available","✅ Config module initialized (sync mode)","974955npmuCb","122072oGGWrf","getApiHeaders","616110yPJXZL","events","Config module not initialized","config","getBaseUrl"];return(Gt=function(){return t})()}function Qt(t,e){var n=Gt();return(Qt=function(t,e){return n[t-=339]})(t,e)}var Zt=Qt;!function(){for(var t=Qt,e=Gt();;)try{if(199011===-parseInt(t(347))/1+parseInt(t(349))/2+-parseInt(t(357))/3+parseInt(t(372))/4+-parseInt(t(346))/5+-parseInt(t(358))/6+parseInt(t(371))/7*(parseInt(t(355))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){var t=Qt;this[t(354)]=!1,this[t(361)]=null,this[t(339)]=null}[Zt(343)](t){var e=Zt;this[e(361)]={timeout:3e4,debug:!1,modules:["ads",e(350),e(352)],...t},t.baseUrl&&J[e(363)](t[e(367)]),this[e(354)]=!0,t.debug&&console[e(365)](e(345),{modules:this[e(361)].modules,endpoint:J[e(353)](),mode:e(368)})}[Zt(360)](){return this[Zt(354)]}[Zt(369)](){return this._config}[Zt(359)](){return this[Zt(339)]}[Zt(356)](){return J[Zt(353)]()}[Zt(362)](){var t=Zt;return this[t(361)]?.[t(364)]||!1}getEnabledModules(){var t=Zt;return this._config?.[t(341)]||[]}[Zt(340)](t){return this[Zt(370)]().includes(t)}updateConfig(t){var e=Zt;if(!this[e(361)])throw new Error(e(351));this._config={...this._config,...t},this[e(362)]()&&console[e(365)](e(342),t)}[Zt(348)](){var t=Zt;if(!this[t(361)]?.[t(366)])throw new Error(t(344));return P.create(this[t(361)][t(366)])}}const $t=te;function te(t,e){const n=ee();return(te=function(t,e){return n[t-=277]})(t,e)}function ee(){const t=["762AsLtyu","50930ZIScRq","Mobile Web","getPlatform","mobile","getUserDeviceInfo","Desktop Web","SSR","width","language","0x0","tablet","test","clearDeviceInfo","mapPlatformForEvents","height","android","getAutoDetectedDeviceInfo","getDetailedInfo","getViewportInfo","1825329YgRqpg","desktop","213505SXzALr","isBrowser","2601LrjILi","ko-KR","140yuWPbn","web","3476397RILNMM","platform","getDeviceInfo","ios","Android","userAgent","4pCjrVO","iOS","1142kDSvXZ","cookieEnabled","toLowerCase","12788269PnAofj","_userProvidedDeviceInfo","isMobile","60dafQnU","303624gwrEck","114CtbqGx"];return(ee=function(){return t})()}!function(){const t=te,e=ee();for(;;)try{if(849939===-parseInt(t(297))/1*(-parseInt(t(288))/2)+-parseInt(t(280))/3*(parseInt(t(286))/4)+parseInt(t(319))/5*(-parseInt(t(296))/6)+parseInt(t(278))/7*(parseInt(t(295))/8)+-parseInt(t(321))/9*(-parseInt(t(298))/10)+-parseInt(t(317))/11*(parseInt(t(294))/12)+parseInt(t(291))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static[$t(282)](){const t=$t;return{...ne[t(314)](),...ne[t(292)]}}static[$t(314)](){const t=$t;if(!I.isBrowser())return{category:"other",platform:t(304),model:"SSR",osVersion:t(304)};const e=navigator[t(285)][t(290)]();let n=t(318);/tablet|ipad/[t(309)](e)?n=t(308):A[t(293)]()&&(n=t(301));const r=A[t(300)]();return{category:n,platform:ne.mapPlatformForEvents(r),model:navigator[t(281)],osVersion:navigator[t(281)]}}static setDeviceInfo(t){const e=$t;ne[e(292)]={...ne[e(292)],...t}}static setDeviceProperty(t,e){ne[$t(292)][t]=e}static[$t(310)](){ne._userProvidedDeviceInfo={}}static[$t(302)](){return{...ne._userProvidedDeviceInfo}}static[$t(311)](t){const e=$t;switch(t){case e(283):return e(287);case e(313):return e(284);case e(279):return e(299);case e(318):return e(303);default:return"Unknown"}}static[$t(315)](){const t=$t;if(!I[t(320)]())return{userAgent:t(304),language:t(277),platform:t(304),cookieEnabled:!1,onLine:!0,screenResolution:t(307),viewportSize:t(307)};const e=I[t(316)]();return{userAgent:navigator[t(285)],language:navigator[t(306)]||t(277),platform:navigator[t(281)],cookieEnabled:navigator[t(289)],onLine:navigator.onLine,screenResolution:screen[t(305)]+"x"+screen[t(312)],viewportSize:e.width+"x"+e[t(312)]}}}function re(t,e){const n=oe();return(re=function(t,e){return n[t-=462]})(t,e)}ne[$t(292)]={};const se=re;function oe(){const t=["2764vDtcAw","7ljpSdP","resolvedOptions","_userProperties","extractCountryFromLanguage","UTC","22970MrjzZV","138mmtjOz","438XqaHiz","estimateLocation","ko-KR","setUserProperty","990936PXUlcs","getBaseUserInfo","timeZone","2525464WYsyog","1041592wMTDEj","isBrowser","getUserInfo","getCurrentUserProperties","clearUserProperties","644364TjPNuu","language","7262651lgsATs","setUserProperties","10UOUZhw"];return(oe=function(){return t})()}!function(){const t=re,e=oe();for(;;)try{if(378130===-parseInt(t(464))/1+parseInt(t(469))/2*(parseInt(t(477))/3)+parseInt(t(485))/4+-parseInt(t(475))/5*(-parseInt(t(476))/6)+-parseInt(t(470))/7*(parseInt(t(484))/8)+-parseInt(t(481))/9*(-parseInt(t(468))/10)+parseInt(t(466))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ie{static[se(487)](){const t=se;return{...ie[t(482)](),...ie[t(472)]}}static getBaseUserInfo(){const t=se;if(!I.isBrowser())return{language:t(479),country:"KR"};const e=navigator[t(465)]||"ko-KR";return{language:e,country:ie[t(473)](e)}}static[se(473)](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[se(467)](t){const e=se;ie._userProperties={...ie[e(472)],...t}}static[se(480)](t,e){ie[se(472)][t]=e}static[se(463)](){ie._userProperties={}}static[se(462)](){return{...ie[se(472)]}}static[se(478)](){const t=se;if(!I[t(486)]())return{timezone:t(474),estimatedCountry:"KR"};const e=Intl.DateTimeFormat()[t(471)]()[t(483)];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 ae(t,e){const n=ce();return(ae=function(t,e){return n[t-=118]})(t,e)}function ce(){const t=["getUserId","_sessionStartTime","adstage_session_id","5052qQbcib","setItem","196XDydjY","adstage_user_id","now","getItem","refreshSession","3164310NfBYpW","5702RuqJIG","getSessionDuration","isBrowser","1562979IDytNm","setUserId","adstage_session_start","12OfIGTp","2675WQPqKp","clearUserId","getSessionId","60vJpWky","getSessionStats","41265PvwCyE","removeItem","_userId","random","9RPijkf","1283192WZMARi","isNewSession","isSessionExpired","3675322zKjbtR","toString","getSessionInfo"];return(ce=function(){return t})()}ie[se(472)]={};const de=ae;!function(){const t=ae,e=ce();for(;;)try{if(729290===-parseInt(t(139))/1*(-parseInt(t(145))/2)+-parseInt(t(123))/3*(parseInt(t(151))/4)+-parseInt(t(118))/5*(parseInt(t(137))/6)+-parseInt(t(131))/7+parseInt(t(128))/8+-parseInt(t(127))/9*(-parseInt(t(144))/10)+-parseInt(t(148))/11*(-parseInt(t(121))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{static[de(120)](){const t=de;if(!I[t(147)]())return"ssr_session_"+Date[t(141)]();const e=sessionStorage[t(142)](t(136));if(e)return e;const n="session_"+Math[t(126)]()[t(132)](36).substr(2,9)+"_"+Date.now();return sessionStorage.setItem("adstage_session_id",n),!le[t(135)]&&(le[t(135)]=Date.now(),I.isBrowser()&&sessionStorage[t(138)](t(150),String(le[t(135)]))),n}static[de(149)](t){const e=de;le[e(125)]=t,I[e(147)]()&&localStorage[e(138)](e(140),t)}static[de(134)](){const t=de;if(le[t(125)])return le[t(125)];if(I[t(147)]()){const e=localStorage[t(142)]("adstage_user_id");if(e)return le[t(125)]=e,e}}static[de(119)](){const t=de;le[t(125)]=void 0,I[t(147)]()&&localStorage.removeItem(t(140))}static[de(133)](){const t=de,e=le.getSessionId(),n=le[t(134)](),r=le[t(129)]();return{sessionId:e,userId:n,sessionDuration:le[t(146)](),isNewSession:r}}static[de(129)](){const t=de;if(!I[t(147)]())return!0;const e=sessionStorage[t(142)](t(136)),n=sessionStorage.getItem(t(150));return!e||!n}static[de(146)](){const t=de;if(!I.isBrowser())return 0;const e=sessionStorage[t(142)](t(150));return e?Date[t(141)]()-parseInt(e,10):0}static[de(143)](){const t=de;return I[t(147)]()&&(sessionStorage.removeItem(t(136)),sessionStorage[t(124)](t(150))),le[t(135)]=void 0,le[t(120)]()}static[de(130)](t=24){return le[de(146)]()>60*t*60*1e3}static[de(122)](){const t=de,e=le[t(120)](),n=le[t(134)](),r=le[t(146)](),s=le.isSessionExpired(),o=le[t(129)]();let i;if(I.isBrowser()){const e=sessionStorage.getItem(t(150));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}function ue(){const t=["218tuNjqM","isReady","getDeviceInfo","init","create","debug","apiKey","142FSpEYl","getUserDeviceInfo","application/json","5172sEXXRk","events","6259WHJaAN","📊 Events module initialized","📱 Device property set:","setUserId","POST","📱 Device info set:","sendEventToServer","setDeviceProperty","setUserProperties","track","getUserProperties","139233gCXrvN","Event data:","warn","✅ Event tracked:","error","❌ Failed to track event:","statusText","20VhAFOc","1073439KtEmcS","Events module not initialized. Call AdStage.init() first.","getCurrentUserProperties","clearDeviceInfo","log","👤 User properties set:","setDeviceInfo","getUserId","_config","👤 User ID set:","getConfig","API key not configured for event tracking.","192222rRJeBT","65IDeFzH","1726944sTyzzY","20kywzMD","stringify","status","Event tracking failed: ","1045296AaAMjc","getUserInfo","_isReady"];return(ue=function(){return t})()}const pe=he;function he(t,e){const n=ue();return(he=function(t,e){return n[t-=488]})(t,e)}!function(){const t=he,e=ue();for(;;)try{if(215817===-parseInt(t(506))/1*(parseInt(t(513))/2)+parseInt(t(529))/3*(parseInt(t(499))/4)+-parseInt(t(497))/5*(-parseInt(t(496))/6)+-parseInt(t(503))/7+parseInt(t(498))/8+-parseInt(t(537))/9*(parseInt(t(536))/10)+-parseInt(t(518))/11*(parseInt(t(516))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class fe{constructor(){const t=he;this[t(505)]=!1,this[t(492)]=null}[pe(509)](t){const e=pe;this._config=t,this[e(505)]=!0,t[e(511)]&&console[e(488)](e(519))}[pe(507)](){return this[pe(505)]}[pe(494)](){return this._config}[pe(521)](t){const e=pe;le[e(521)](t),this[e(492)]?.debug&&console.log(e(493),t)}[pe(491)](){return le[pe(491)]()}setUserProperties(t){const e=pe;ie[e(526)](t),this[e(492)]?.debug&&console[e(488)](e(489),t)}[pe(528)](){return ie[pe(539)]()}[pe(490)](t){const e=pe;ne[e(490)](t),this[e(492)]?.[e(511)]&&console[e(488)](e(523),t)}[pe(525)](t,e){const n=pe;ne[n(525)](t,e),this[n(492)]?.[n(511)]&&console.log(n(520),t,e)}clearDeviceInfo(){const t=pe;ne[t(540)](),this._config?.[t(511)]&&console[t(488)]("📱 User provided device info cleared")}getUserDeviceInfo(){return ne[pe(514)]()}[pe(508)](){return ne[pe(508)]()}getUserInfo(){return ie[pe(504)]()}[pe(539)](){return ie[pe(539)]()}async track(t,e){const n=pe;if(this._isReady)if(this._config?.[n(512)])try{const r={eventName:t,userId:le[n(491)](),sessionId:le.getSessionId(),sdkVersion:'"3.0.4"',device:ne[n(508)](),user:ie.getUserInfo(),params:e||{}};await this[n(524)](r),this[n(492)].debug&&console[n(488)](n(532),t,e)}catch(r){console[n(533)](n(534),r),this._config.debug&&console.error(n(530),{eventName:t,properties:e})}else console.warn(n(495));else console[n(531)](n(538))}async[pe(524)](t){const e=pe,n=await fetch(J[e(517)][e(527)](),{method:e(522),headers:{...P[e(510)](this[e(492)][e(512)]),"Content-Type":e(515)},body:JSON[e(500)](t)});if(!n.ok)throw new Error(e(502)+n[e(501)]+" "+n[e(535)])}}function ge(t,e){const n=Ie();return(ge=function(t,e){return n[t-=120]})(t,e)}const me=ge;function Ie(){const t=["modules","9NSLAxM","82753RylqnO","90199dMbQIn","ads","346620DqMiNN","getInstance","instance","reset","576FbmVdg","736860SsyDPc","2691nNxhMJ","169HsDafe","🌐 API endpoint configured:","AdStage not initialized. Call AdStage.init() first.","baseUrl","_isInitialized","viewableTracker","size","config","4gIMpnI","setBaseUrl","API key is required for AdStage initialization","debug","clear","📊 AdStage Debug: 현재 viewable 추적 상태","18FWcGPw","apiKey","110tGIuAG","124194rRiTrO","✅ AdStage Debug: 광고 ","init","🚀 AdStage SDK initialized (sync mode)","isReady","log","development","events","334928xkMdnd","_config","function"];return(Ie=function(){return t})()}!function(){const t=ge,e=Ie();for(;;)try{if(101518===-parseInt(t(136))/1*(-parseInt(t(153))/2)+-parseInt(t(144))/3*(parseInt(t(142))/4)+-parseInt(t(143))/5+parseInt(t(159))/6*(-parseInt(t(122))/7)+-parseInt(t(130))/8*(parseInt(t(134))/9)+parseInt(t(121))/10*(-parseInt(t(135))/11)+-parseInt(t(138))/12*(-parseInt(t(145))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ye{constructor(){const t=ge;this[t(149)]=!1,this[t(131)]=null,this[t(152)]=new Yt,this[t(137)]=new Xt,this[t(129)]=new fe}static[me(124)](t){const e=me;!ye.instance&&(ye[e(140)]=new ye);const n=ye[e(140)];if(!t.apiKey)throw new Error(e(155));n[e(131)]={timeout:3e4,debug:!1,modules:[e(137),e(129),e(152)],...t},n[e(131)][e(148)]&&(J[e(154)](n[e(131)][e(148)]),t[e(156)]&&console[e(127)](e(146),n[e(131)][e(148)]));const r=n[e(131)][e(133)]||[e(137),"events",e(152)];for(const t of r){const r=n[t];r&&typeof r[e(124)]===e(132)&&r[e(124)](n[e(131)])}n[e(149)]=!0,t[e(156)]&&console[e(127)](e(125),{version:"2.0.0",modules:r,apiKey:t[e(120)].substring(0,8)+"...",mode:e(128)})}static[me(126)](){const t=me;return ye[t(140)]?.[t(149)]||!1}static getConfig(){const t=me;return ye[t(140)]?.[t(131)]||null}static getInstance(){const t=me;if(!ye.instance)throw new Error(t(147));return ye[t(140)]}static get[me(137)](){const t=me;return ye[t(139)]()[t(137)]}static get events(){return ye[me(139)]().events}static get config(){return ye[me(139)]().config}static[me(141)](){const t=me;ye.instance&&(ye.instance[t(149)]=!1,ye[t(140)][t(131)]=null)}}function ve(t,e){var n=Se;return ye.isReady()?ye.events.track(t,e):(console[n(354)](n(361)),Promise[n(365)]())}function be(t){var e=Se;ye[e(364)]()?ye[e(372)].setUserId(t):console.warn(e(361))}function we(){var t=["getUserProperties","403994KCESph","getUserId","1enKysb","events","warn","766344eBfQdq","178915UazPQn","99yKcSJv","99MWWaaj","320344XOSdyF","322161SqQZHp","AdStage not initialized. Call AdStage.init() first.","868hruVBG","4596ofEyyL","isReady","resolve","4830JKVlFX","setUserProperties"];return(we=function(){return t})()}function ke(){var t=Se;if(ye.isReady())return ye[t(372)][t(370)]();console[t(354)](t(361))}function Ee(t){var e=Se;ye[e(364)]()?ye[e(372)][e(367)](t):console[e(354)](e(361))}function Se(t,e){var n=we();return(Se=function(t,e){return n[t-=354]})(t,e)}function xe(){var t=Se;if(ye[t(364)]())return ye[t(372)][t(368)]();console[t(354)](t(361))}ye[me(156)]={clearAllViewable:()=>{const t=me;it[t(157)](),console[t(127)]("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=me;it.clearAdViewable(t,e),console[n(127)](n(123)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=me;console[t(127)](t(158),{trackedCount:it[t(150)][t(151)],trackedItems:Array.from(it[t(150)])})}},function(){for(var t=Se,e=we();;)try{if(288643===parseInt(t(371))/1*(parseInt(t(369))/2)+-parseInt(t(360))/3+-parseInt(t(355))/4+parseInt(t(356))/5+parseInt(t(363))/6*(-parseInt(t(362))/7)+parseInt(t(359))/8*(parseInt(t(358))/9)+parseInt(t(366))/10*(parseInt(t(357))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Ae,Ce={exports:{}},Te={},Re={exports:{}},De={};Re.exports=function(){if(Ae)return De;Ae=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=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 I(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 y=I.prototype=new m;y.constructor=I,h(y,g.prototype),y.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var x=/\/+/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,s,o,i){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 i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(x,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(S(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(x,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);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=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(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 D={current:null},P={transition:null},_={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:P,ReactCurrentOwner:w};function L(){throw Error("act(...) is not supported in production builds of React.")}return De.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(!S(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},De.Component=g,De.Fragment=n,De.Profiler=s,De.PureComponent=I,De.StrictMode=r,De.Suspense=c,De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_,De.act=L,De.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},De.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},De.createElement=E,De.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},De.createRef=function(){return{current:null}},De.forwardRef=function(t){return{$$typeof:a,render:t}},De.isValidElement=S,De.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},De.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},De.startTransition=function(t){var e=P.transition;P.transition={};try{t()}finally{P.transition=e}},De.unstable_act=L,De.useCallback=function(t,e){return D.current.useCallback(t,e)},De.useContext=function(t){return D.current.useContext(t)},De.useDebugValue=function(){},De.useDeferredValue=function(t){return D.current.useDeferredValue(t)},De.useEffect=function(t,e){return D.current.useEffect(t,e)},De.useId=function(){return D.current.useId()},De.useImperativeHandle=function(t,e,n){return D.current.useImperativeHandle(t,e,n)},De.useInsertionEffect=function(t,e){return D.current.useInsertionEffect(t,e)},De.useLayoutEffect=function(t,e){return D.current.useLayoutEffect(t,e)},De.useMemo=function(t,e){return D.current.useMemo(t,e)},De.useReducer=function(t,e,n){return D.current.useReducer(t,e,n)},De.useRef=function(t){return D.current.useRef(t)},De.useState=function(t){return D.current.useState(t)},De.useSyncExternalStore=function(t,e,n){return D.current.useSyncExternalStore(t,e,n)},De.useTransition=function(){return D.current.useTransition()},De.version="18.3.1",De}();var Pe,_e=Re.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@ var t,e,n,r,s,o,i,a,c,d,l,u;function p(t,e){var n=h();return(p=function(t,e){ret
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */De.exports=function(){if(Be)return Le;Be=1;var t=ze,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.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:d,ref:l,props:c,_owner:s.current}}return Le.Fragment=n,Le.jsx=i,Le.jsxs=i,Le}();var Ve=De.exports;const Me=ze.createContext(null);function Ue({children:t,config:e}){const[n,r]=ze.useState(!1),[s,o]=ze.useState(null),[i,a]=ze.useState(null),c=t=>{try{a(null),n&&be.reset(),be.init(t),o(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),o(null)}};ze.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{be.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Ve.jsx(Me.Provider,{value:d,children:t})}function Ne(){const t=ze.useContext(Me);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Fe(){const{isInitialized:t}=Ne();return t?be:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Oe(){var t=["11018bOraoq","7292411xrNJEV","142LSCLVo","27emopJh","364Jyfdog","33861RtQoYL","500984IVTjPi","4273055HRDgpJ","6250782JJLWtd","10rwnLYm","21778977sEkSpf"];return(Oe=function(){return t})()}function je(t,e){var n=Oe();return(je=function(t,e){return n[t-=265]})(t,e)}function He(){const t=["807210IMPZfp","3oDFqFa","undefined","1010588vQuWNA","1798536IWQZlL","7434pMAEtj","484204YvlVQM","2.0.0","510167wurlEB","2620sUgzdw","1602550xIYqeZ","AdStage","config","ads","events","24Nubjgn"];return(He=function(){return t})()}!function(){for(var t=je,e=Oe();;)try{if(525566===parseInt(t(270))/1*(parseInt(t(272))/2)+parseInt(t(275))/3*(-parseInt(t(274))/4)+parseInt(t(266))/5+parseInt(t(267))/6+parseInt(t(271))/7+parseInt(t(265))/8*(-parseInt(t(273))/9)+-parseInt(t(268))/10*(parseInt(t(269))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ke=We;function We(t,e){const n=He();return(We=function(t,e){return n[t-=434]})(t,e)}!function(){const t=We,e=He();for(;;)try{if(263718===parseInt(t(449))/1+parseInt(t(441))/2+-parseInt(t(442))/3*(parseInt(t(444))/4)+parseInt(t(435))/5+parseInt(t(440))/6*(-parseInt(t(447))/7)+-parseInt(t(445))/8+parseInt(t(446))/9*(-parseInt(t(434))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ye=Ke(448),Xe=[Ke(438),Ke(439),Ke(437)];typeof window!==Ke(443)&&(window[Ke(436)]=be);export{be as AdStage,Ue as AdStageProvider,Ye as SDK_VERSION,Xe as SUPPORTED_MODULES,Se as getUserId,Te as getUserProperties,xe as setUserId,Ae as setUserProperties,Ee as track,Ne as useAdStageContext,Fe as useAdStageInstance};
10
+ */Ce.exports=function(){if(Pe)return Te;Pe=1;var t=_e,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.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:d,ref:l,props:c,_owner:s.current}}return Te.Fragment=n,Te.jsx=i,Te.jsxs=i,Te}();var Le=Ce.exports;const Be=_e.createContext(null);function Me({children:t,config:e}){const[n,r]=_e.useState(!1),[s,o]=_e.useState(null),[i,a]=_e.useState(null),c=t=>{try{a(null),n&&ye.reset(),ye.init(t),o(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),o(null)}};_e.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{ye.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Le.jsx(Be.Provider,{value:d,children:t})}function ze(){const t=_e.useContext(Be);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Ue(){const{isInitialized:t}=ze();return t?ye:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Oe(t,e){var n=Ne();return(Oe=function(t,e){return n[t-=247]})(t,e)}function Ne(){var t=["12dYpUmT","11jlmqeu","6ehVVgH","144526KBFwpa","2838170QtjKab","1788102SlPfZd","328465OFTQyK","1699158bCepwA","272rFkOVy","182552tbTJIe","90881JmxdxI"];return(Ne=function(){return t})()}!function(){for(var t=Oe,e=Ne();;)try{if(296379===parseInt(t(251))/1*(parseInt(t(250))/2)+parseInt(t(255))/3+-parseInt(t(257))/4+parseInt(t(254))/5*(-parseInt(t(248))/6)+parseInt(t(247))/7*(-parseInt(t(256))/8)+parseInt(t(253))/9+parseInt(t(252))/10*(-parseInt(t(249))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ve=Fe;function Fe(t,e){const n=je();return(Fe=function(t,e){return n[t-=352]})(t,e)}function je(){const t=["1506090rhWtcB","1559619FgSkwg","11SGHJhQ","4793090YHiwUh","undefined","18948IPwJIF","7UEQest","3852280KEWESd","340fgIETS","events","ads","14GZacDC","1371666wASvjM","2.0.0","AdStage","52292tWwGcR"];return(je=function(){return t})()}!function(){const t=Fe,e=je();for(;;)try{if(262262===parseInt(t(357))/1*(parseInt(t(353))/2)+parseInt(t(354))/3+parseInt(t(363))/4*(parseInt(t(366))/5)+-parseInt(t(358))/6*(-parseInt(t(364))/7)+-parseInt(t(365))/8+-parseInt(t(359))/9+parseInt(t(361))/10*(-parseInt(t(360))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const He=Ve(355),Ke=[Ve(352),Ve(367),"config"];typeof window!==Ve(362)&&(window[Ve(356)]=ye);export{ye as AdStage,Me as AdStageProvider,He as SDK_VERSION,Ke as SUPPORTED_MODULES,ke as getUserId,xe as getUserProperties,be as setUserId,Ee as setUserProperties,ve as track,ze as useAdStageContext,Ue as useAdStageInstance};