@adstage/web-sdk 3.0.7 → 3.0.9

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.
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";var t,e,n,s,r,i,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(){var t=["4bhitYX","12116224jwDWBP","513062njXWUZ","POPUP","NATIVE","TEXT","4061001mPdqSx","VIEWABLE","INTERSTITIAL","37185iOPhcJ","37937GANIBb","42840RwhqbK","VIDEO","2435265oHiBOa","MOBILE","CLICK","DESKTOP","BANNER","WEB"];return(f=function(){return t})()}function g(t,e){var n=f();return(g=function(t,e){return n[t-=440]})(t,e)}function m(){const t=["pageXOffset","remove","removeChild","262801WKCWSz","3sLgfil","1017824cMmdEk","title","createElement","open","getViewportInfo","7854tosWib","isBrowser","querySelector",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"111617DBdYGU","safeWindowOpen","safeRemoveClass","style","safeAddEventListener","3485500SSNyJp",'❌ 컨테이너를 찾을 수 없습니다: "',"innerHTML","ceil","9EcfOdC","isDOMReady","href","waitForElement","all","from","390885rfyHzY","safeSetTextContent","waitForElements","isSSR","classList","readyState","safeSetInnerHTML","setProperty","ms 경과)","DOM을 사용할 수 없는 환경입니다.","getElementById","scrollTop","36JHDaWh","getScrollInfo","✅ 컨테이너 발견: ","addEventListener","removeEventListener","safeAddClass","safeQuerySelectorAll","documentElement","canUseDOM","safeRemoveEventListener","innerHeight","getPageInfo","forEach","add","error","safeRemoveChild","ms)","referrer","log","getComputedStyle","safeAppendChild","waitForDOM","textContent","pageYOffset","getDocumentProperty","appendChild","✅ 컨테이너 즉시 발견: ","loading","⏳ 컨테이너 대기 중: ","getWindowProperty","querySelectorAll","entries","safeApplyStyles","devicePixelRatio",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"1531736EUMVRg","safeCreateElement","safeGetElementById","undefined"];return(m=function(){return t})()}!function(){for(var t=g,e=f();;)try{if(416801===parseInt(t(444))/1+parseInt(t(455))/2+-parseInt(t(447))/3+parseInt(t(453))/4*(-parseInt(t(443))/5)+parseInt(t(445))/6+-parseInt(t(440))/7+parseInt(t(454))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),e=t||(t={}),n=g,e.BANNER=n(451),e[n(456)]=n(456),e[n(442)]="INTERSTITIAL",e[n(457)]=n(457),e[n(446)]=n(446),e[n(458)]=n(458),(r=s||(s={}))[(i=g)(452)]=i(452),r.MOBILE=i(448),(a=o||(o={}))[(c=g)(441)]=c(441),a[c(449)]=c(449),(l=d||(d={}))[(u=g)(450)]=u(450),l.MOBILE=u(448),l.TABLET="TABLET";const I=v;function v(t,e){const n=m();return(v=function(t,e){return n[t-=318]})(t,e)}!function(){const t=v,e=m();for(;;)try{if(133418===parseInt(t(324))/1+parseInt(t(320))/2+-parseInt(t(394))/3*(-parseInt(t(395))/4)+parseInt(t(339))/5+parseInt(t(351))/6*(parseInt(t(393))/7)+parseInt(t(386))/8*(-parseInt(t(333))/9)+-parseInt(t(329))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static[I(321)](){return typeof window!==I(389)&&"undefined"!=typeof document}static[I(342)](){return!this[I(321)]()}static canUseDOM(){return this[I(321)]()&&void 0!==document.readyState}static[I(388)](t){return this[I(359)]()?document.getElementById(t):null}static safeQuerySelector(t){const e=I;return this[e(359)]()?document[e(322)](t):null}static[I(357)](t){const e=I;return this.canUseDOM()?Array[e(338)](document[e(381)](t)):[]}static[I(387)](t){const e=I;return this[e(359)]()?document[e(397)](t):null}static safeAddEventListener(t,e,n,s){const r=I;this[r(359)]()&&t&&t[r(354)](e,n,s)}static[I(360)](t,e,n,s){const r=I;this.canUseDOM()&&t&&t[r(355)](e,n,s)}static[I(380)](t,e){return this[I(321)]()?window[t]??e:e}static[I(375)](t,e){return this[I(359)]()?document[t]??e:e}static[I(325)](t,e,n){const s=I;return this[s(321)]()?window[s(318)](t,e,n):null}static safeGetComputedStyle(t){const e=I;return this[e(321)]()&&t?window[e(370)](t):null}static[I(334)](){const t=I;return!!this[t(359)]()&&document[t(344)]!==t(378)}static[I(372)](){return new Promise(t=>{const e=v;this.canUseDOM()?this[e(334)]()?t():this[e(328)](document,"DOMContentLoaded",()=>t()):t()})}static[I(383)](t,e){const n=I;this.canUseDOM()&&t&&Object[n(382)](e)[n(363)](([e,s])=>{const r=n;t[r(327)][r(346)](e,s)})}static[I(356)](t,e){const n=I;this[n(359)]()&&t&&t[n(343)][n(364)](e)}static[I(326)](t,e){const n=I;this[n(359)]()&&t&&t[n(343)][n(391)](e)}static[I(340)](t,e){const n=I;this[n(359)]()&&t&&(t[n(373)]=e)}static[I(345)](t,e){const n=I;this[n(359)]()&&t&&(t[n(331)]=e)}static[I(371)](t,e){const n=I;this[n(359)]()&&t&&e&&t[n(376)](e)}static[I(366)](t,e){const n=I;this[n(359)]()&&t&&e&&t[n(392)](e)}static[I(362)](){const t=I;return{url:this[t(380)]("location",{href:""})[t(335)],title:this[t(375)](t(396),""),referrer:this[t(375)](t(368),"")}}static[I(319)](){const t=I;return{width:this[t(380)]("innerWidth",0),height:this[t(380)](t(361),0),pixelRatio:this[t(380)](t(384),1)}}static[I(352)](){const t=I;return{scrollTop:this[t(359)]()?window[t(374)]||document[t(358)][t(350)]:0,scrollLeft:this.getWindowProperty(t(390),0)}}static async[I(336)](t,e={}){const n=I,{timeout:s=3e3,retryInterval:r=100,debug:i=!1}=e;if(!this[n(359)]())throw new Error(n(348));const o=document[n(349)](t);return o?(i&&console[n(369)](n(377)+t),o):(i&&console[n(369)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+s+n(367)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(332)](s/r),l=()=>{const n=a;c++;const u=document[n(349)](t);if(u)return i&&console.log(n(353)+t+" ("+c+"번째 시도, "+c*r+n(347)),void e(u);if(c>=d){const e=n(330)+t+n(385)+t+n(323)+s+"ms ("+c+"번 시도)";return i&&console[n(365)](e),void o(new Error(e))}i&&c%10==0&&console[n(369)](n(379)+t+" ("+c+"/"+d+")");const p=Math.min(r*Math.pow(1.2,c),500);setTimeout(l,p)};setTimeout(l,r)}))}static async[I(341)](t,e={}){const n=I,s=t.map(t=>this[n(336)](t,e));return Promise[n(337)](s)}}function b(){const t=["3mckIpF","15EBXQMP","110EaUaiB","3099484qJUYdi","153606PCZwkS","8159416ZYgQEE"," AdStageSDK/","2692072XSOCTw","9rXThAT","AdStageSDK/","245320DFKPMy","8743896kSvMBC","456672wGMlos"];return(b=function(){return t})()}!function(){const t=w,e=b();for(;;)try{if(773337===parseInt(t(238))/1+-parseInt(t(233))/2*(parseInt(t(239))/3)+-parseInt(t(242))/4+parseInt(t(240))/5*(-parseInt(t(230))/6)+parseInt(t(237))/7+-parseInt(t(231))/8*(-parseInt(t(234))/9)+parseInt(t(236))/10*(parseInt(t(241))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();function w(t,e){const n=b();return(w=function(t,e){return n[t-=230]})(t,e)}function k(t,e){const n=x();return(k=function(t,e){return n[t-=163]})(t,e)}const E=k;function x(){const t=["108084rKjoOf","connection","platform","1750355oVjkew","substr","language","round","168JyJLxr","9GiROkd","timeZone","getViewportInfo","resolvedOptions","2486539qowQNV","toLowerCase","getScrollInfo","effectiveType","width","unknown","now","left","session_","getSlotPosition","desktop","top","adstage_device_id","ssr_device_","test","userAgent","safeGetElementById","isBrowser","adstage_session_id","generateSessionId","1kaaGPG","scrollTop","getItem","7064FpCMit","toString","colorDepth","2365030qgxNrA","7HAowBm","height","DateTimeFormat","ssr_session_",",y:","ios","setItem","random","1102020yyDNKM","2089736uBWehW","web","pixelRatio"];return(x=function(){return t})()}!function(){const t=k,e=x();for(;;)try{if(187872===parseInt(t(187))/1*(parseInt(t(206))/2)+-parseInt(t(213))/3*(-parseInt(t(190))/4)+-parseInt(t(209))/5+parseInt(t(202))/6*(parseInt(t(194))/7)+-parseInt(t(203))/8+-parseInt(t(163))/9*(-parseInt(t(193))/10)+parseInt(t(167))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class S{static generateDeviceId(){const t=k;if(!y[t(184)]())return t(180)+Date[t(173)]();const e=localStorage[t(189)](t(179));if(e)return e;const n="device_"+Math[t(201)]()[t(191)](36)[t(210)](2,9)+"_"+Date[t(173)]();return localStorage[t(200)]("adstage_device_id",n),n}static[E(186)](){const t=E;if(!y[t(184)]())return t(197)+Date[t(173)]();const e=sessionStorage[t(189)](t(185));if(e)return e;const n=t(175)+Math[t(201)]()[t(191)](36)[t(210)](2,9)+"_"+Date[t(173)]();return sessionStorage[t(200)](t(185),n),n}static isMobile(){const t=E;return!!y[t(184)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(181)](navigator.userAgent)}static getPlatform(){const t=E;if(!y[t(184)]())return"web";const e=navigator.userAgent[t(168)]();return/iphone|ipad|ipod/[t(181)](e)?t(199):/android/[t(181)](e)?"android":S.isMobile()?t(204):t(177)}static collectDeviceInfo(){const t=E,e=y[t(165)]();return{deviceId:S.generateDeviceId(),sessionId:S[t(186)](),osVersion:y[t(184)]()?navigator[t(208)]:"SSR",deviceModel:y[t(184)]()?navigator[t(208)]:"SSR",appVersion:"1.0.0",sdkVersion:'"3.0.7"',language:y[t(184)]()&&navigator[t(211)]||"ko",country:"KR",ipAddress:"",userAgent:y[t(184)]()?navigator[t(182)]:"SSR",timezone:y[t(184)]()?Intl[t(196)]()[t(166)]()[t(164)]:"UTC",viewportWidth:e.width,viewportHeight:e[t(195)],screenWidth:y.isBrowser()?screen[t(171)]:0,screenHeight:y[t(184)]()?screen.height:0,colorDepth:y.isBrowser()?screen[t(192)]:24,pixelRatio:e[t(205)],connectionType:y[t(184)]()?navigator[t(207)]?.[t(170)]||"unknown":t(172),platform:S.getPlatform()}}static[E(176)](t){const e=E,n=y[e(183)](t);if(!n)return"unknown";const s=n.getBoundingClientRect(),r=y[e(169)]();return"x:"+Math[e(212)](s[e(174)])+e(198)+Math[e(212)](s[e(178)]+r[e(188)])}}function A(t,e){const n=C();return(A=function(t,e){return n[t-=259]})(t,e)}!function(){const t=A,e=C();for(;;)try{if(948680===parseInt(t(261))/1+parseInt(t(265))/2+-parseInt(t(271))/3*(parseInt(t(268))/4)+parseInt(t(262))/5*(-parseInt(t(270))/6)+parseInt(t(272))/7*(parseInt(t(264))/8)+parseInt(t(269))/9*(-parseInt(t(276))/10)+-parseInt(t(260))/11*(-parseInt(t(274))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class T{static create(t,e){const n=A;if(!t)throw new Error(n(259));const s={"x-api-key":t,"Content-Type":e?.[n(273)]||n(267)};return typeof navigator!==n(275)&&(s[n(263)]=e?.[n(266)]||navigator[n(266)]),s}static createForEvents(t,e){const n=A,s=T.create(t);return e?.userAgent&&(s[n(263)]=e[n(266)]),s}}function C(){const t=["API key is required","77jaKAsw","1115983UxPTlC","25MAAqlH","User-Agent","3096296itYZDv","1603882kYSyes","userAgent","application/json","16HMiRqd","114237wFAlCe","1520406cZUgrD","868191DSjRsf","21nfPmck","contentType","656724BJDRuW","undefined","70FrIHwd"];return(C=function(){return t})()}const D=R;function R(t,e){const n=B();return(R=function(t,e){return n[t-=127]})(t,e)}function B(){const t=["🌐 Full API call details:","8695dRbkrB",". Skipping event tracking to prevent incorrect adType.","4BmaMUT","string","now","889ffgTas","debug","VIEWABLE","2025732vswePL","warn","296678TbDduv","url","collectDeviceInfo","getPageInfo","..."," in slot ","replace","statusText","trackAdvertisementEvent","error","❌ Failed to track advertisement event:","📡 API Response Status: "," for ad ","✅ Successfully tracked advertisement event: ","containerId","parseNumericValue","🚀 AdvertisementEventTracker: Processing ","/advertisements/events/","height","⚠️ Slot not found for slotId: ","number","🔍 Debug info:","3018pnYIGP","POST","stringify","substring","length","deviceId","text","referrer","7332028JThlip","width","apiKey","🚀 Sending advertisement event: ","1046384mrVCEc","title","status"," event for ad ","1062sznsqu","log","67660pLhgzh","3736VKSrGZ","baseUrl","API request failed: ","getSlotPosition","slots"];return(B=function(){return t})()}!function(){const t=R,e=B();for(;;)try{if(476094===-parseInt(t(148))/1*(-parseInt(t(140))/2)+parseInt(t(146))/3+-parseInt(t(182))/4+-parseInt(t(138))/5*(-parseInt(t(170))/6)+-parseInt(t(143))/7*(-parseInt(t(132))/8)+parseInt(t(129))/9*(-parseInt(t(131))/10)+-parseInt(t(178))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class U{constructor(t,e,n,s){const r=R;this.baseUrl=t,this[r(180)]=e,this[r(144)]=n,this[r(136)]=s}async[D(156)](t,e,n){const s=D;try{this[s(144)]&&console[s(130)](s(164)+n+s(128)+t+s(153)+e);const r=this[s(136)].get(e);if(!r)return void(this[s(144)]&&console[s(147)](s(167)+e+s(139)));const i=S[s(150)](),a={adType:r.adType,platform:i.platform,deviceId:i[s(175)],deviceInfo:i,pageUrl:y[s(151)]()[s(149)],pageTitle:y[s(151)]()[s(183)],referrer:y.getPageInfo()[s(177)],slotId:e,slotPosition:S[s(135)](r[s(162)]),slotWidth:U[s(163)](r[s(179)]),slotHeight:U[s(163)](r[s(166)]),sessionId:i.sessionId,pageLoadTime:performance[s(142)](),metadata:{eventType:n,sdkVersion:'"3.0.7"',timestamp:Date[s(142)]()},...n===o[s(145)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(133)]+s(165)+t+"/"+n,d=T.createForEvents(this[s(180)],a);this[s(144)]&&(console.log(s(181)+n+" for ad "+t,{url:c,headers:d,eventData:a}),console[s(130)](s(137),{method:"POST",url:c,hasApiKey:!!this.apiKey,bodySize:JSON.stringify(a)[s(174)]}));const l=await fetch(c,{method:s(171),headers:d,body:JSON[s(172)](a)});if(this.debug&&console[s(130)](s(159)+l[s(127)]+" "+l[s(155)],{url:c,ok:l.ok}),!l.ok){const t=await l[s(176)]();throw new Error(s(134)+l[s(127)]+" "+l[s(155)]+" - "+t)}this[s(144)]&&console.log(s(161)+n+s(160)+t)}catch(r){console[s(157)](s(158),r),console[s(157)](s(169),{baseUrl:this[s(133)],apiKey:this[s(180)]?this[s(180)][s(173)](0,8)+s(152):"NOT_SET",url:this[s(133)]+s(165)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static parseNumericValue(t){const e=D;if(typeof t===e(168))return t;if(typeof t===e(141)){const n=parseFloat(t[e(154)](/px$/,""));return isNaN(n)?0:n}return 0}}var L=N;function M(){var t=["3527082tPmlue","1838055gNpjxL","disconnect","handleIntersection","destroy","observe","forEach","121QczyZV","intersectionRatio","visible","observer","1332wqZFHH","6005dNUKuq","onViewableCallback","2187962UmRFeg","isDocumentVisible","2432170afqbfc","6CHQNhq","5098JhbIiq","114zjwPak","isViewableTriggered","hidden","IntersectionObserver not supported, viewability tracking disabled","5516536lHEPsY","initIntersectionObserver","visibilityState","element"];return(M=function(){return t})()}function N(t,e){var n=M();return(N=function(t,e){return n[t-=482]})(t,e)}!function(){for(var t=N,e=M();;)try{if(603284===-parseInt(t(493))/1*(parseInt(t(494))/2)+-parseInt(t(503))/3+-parseInt(t(486))/4*(parseInt(t(487))/5)+parseInt(t(492))/6*(parseInt(t(489))/7)+-parseInt(t(498))/8+-parseInt(t(502))/9+parseInt(t(491))/10*(parseInt(t(482))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{constructor(t,e){var n=N;this[n(485)]=null,this.isViewableTriggered=!1,this[n(501)]=t,this[n(488)]=e,this[n(499)]()}[L(499)](){var t=L;"IntersectionObserver"in window?(this.observer=new IntersectionObserver(e=>this[t(505)](e),{threshold:.5,rootMargin:"0px"}),this[t(485)][t(507)](this.element)):console.warn(t(497))}[L(505)](t){var e=L;t[e(508)](t=>{var n=e;t[n(483)]>=.5&&this[n(490)]()&&!this[n(495)]&&(this[n(495)]=!0,this.onViewableCallback&&this.onViewableCallback())})}[L(490)](){var t=L;return!document[t(496)]&&document[t(500)]===t(484)}[L(506)](){var t=L;this[t(485)]&&(this[t(485)][t(504)](),this[t(485)]=null)}}const z=_;!function(){const t=_,e=V();for(;;)try{if(945814===parseInt(t(109))/1+-parseInt(t(104))/2+-parseInt(t(100))/3+-parseInt(t(112))/4+parseInt(t(103))/5*(parseInt(t(119))/6)+parseInt(t(113))/7*(parseInt(t(121))/8)+-parseInt(t(120))/9*(-parseInt(t(118))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const O={production:z(116),beta:z(110)};function V(){const t=["track","startsWith","978870bWtBca","https://beta-api.adstage.app","events","3679416BtuXvN","7kSkJHN","custom","list","https://api.adstage.app","detail","10MJrXBs","722406ZKSIZk","16529895zaFQGu","11487472WRBoqh","/advertisements","setBaseUrl","/events/track","3842280rwbOGp","getBaseUrl","advertisements","10rLwmWX","2691666fOHrii","production","baseUrl"];return(V=function(){return t})()}z(105);const F={advertisements:{list:"/advertisements/list",detail:z(122),events:"/advertisements/events"},events:{track:z(124)}};function _(t,e){const n=V();return(_=function(t,e){return n[t-=100]})(t,e)}class K{constructor(t){const e=z;this[e(102)]={list:()=>""+this[e(106)]+F[e(102)][e(115)],detail:t=>""+this.baseUrl+F[e(102)][e(117)]+"/"+t,events:(t,n)=>""+this[e(106)]+F[e(102)][e(111)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(106)]+F[e(111)][e(107)]},this.baseUrl=t||O.production}[z(123)](t){this.baseUrl=t}[z(101)](){return this[z(106)]}[z(114)](t){const e=z;return""+this[e(106)]+(t[e(108)]("/")?t:"/"+t)}}const j=new K;function H(t,e){var n=q();return(H=function(t,e){return n[t-=484]})(t,e)}var W=H;function q(){var t=["🎯 Triggering initial VIEWABLE event: ad ","45DAuUuD","trackSlideViewable"," (index: 0) in slot: ","3XnHQSg","24464652SpEIDx","4UrQDDE","log","3039771BbkgBN","329736gNrnht","1535088QummFJ","3905695GfLREk","10TJJjNE","VIEWABLE"," (index: ","_id","77oZSmqf","1006338FieZiU","🎯 Triggering VIEWABLE event for slide change: ad ","26PqbSOx","trackInitialSlideViewable","4952541QpXzaB"];return(q=function(){return t})()}!function(){for(var t=H,e=q();;)try{if(785876===-parseInt(t(493))/1*(parseInt(t(484))/2)+parseInt(t(497))/3+parseInt(t(495))/4*(-parseInt(t(500))/5)+-parseInt(t(498))/6*(parseInt(t(505))/7)+parseInt(t(499))/8*(-parseInt(t(490))/9)+-parseInt(t(501))/10*(parseInt(t(488))/11)+parseInt(t(494))/12*(parseInt(t(486))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class J{static[W(491)](t,e,n,s,r=!1){var i=W;r&&console[i(496)](i(485)+t[i(504)]+i(503)+n+") in slot: "+e.id),s(t[i(504)],e.id,o[i(502)])}static[W(487)](t,e,n,s=!1){var r=W;s&&console[r(496)](r(489)+t[r(504)]+r(492)+e.id),n(t[r(504)],e.id,o[r(502)])}}const X=G;function G(t,e){const n=Y();return(G=function(t,e){return n[t-=301]})(t,e)}function Y(){const t=["addClickEventsBatch","308686LCJLCO","addClickEventForSlider","addClickEvent","400700uSgxBL"," ad clicked: ","pointer","_id"," -> ","stopPropagation","toLowerCase","adType","🔗 ","isClickable","1010sufECP","1457323SmFjxF","16EyerSC","forEach","cursor","_blank","CLICK","9644814WYoYhF","794664vzRmQK","open","click","log","preventDefault","2698004oKzwqM","addEventListener","9096lbArLe","linkUrl","addClickEventForRenderer"];return(Y=function(){return t})()}!function(){const t=G,e=Y();for(;;)try{if(345831===-parseInt(t(301))/1+-parseInt(t(304))/2+-parseInt(t(322))/3+-parseInt(t(327))/4+-parseInt(t(314))/5*(-parseInt(t(329))/6)+parseInt(t(315))/7*(parseInt(t(316))/8)+parseInt(t(321))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Q{static[X(303)](t,e,n,s,r=!1,i){const a=X;e[a(330)]&&(t.style.cursor="pointer",t[a(328)](a(324),t=>{const c=a;if(t[c(326)](),t[c(309)](),s&&s(e[c(307)],n.id,o.CLICK),window.open(e.linkUrl,"_blank"),r){const t=i||String(n[c(311)])[c(310)]();console[c(325)](c(312)+t+c(305)+e._id+c(308)+e.linkUrl)}}))}static[X(331)](t,e,n,s,r=!1,i){const a=X;e[a(330)]&&(t.style[a(318)]=a(306),t[a(328)](a(324),t=>{const c=a;t.preventDefault(),t[c(309)]();if(s()(e[c(307)],n.id,o[c(320)]),window[c(323)](e[c(330)],c(319)),r){const t=i||String(n.adType)[c(310)]();console[c(325)](c(312)+t+c(305)+e[c(307)]+c(308)+e[c(330)])}}))}static[X(302)](t,e,n,s,r=!1,i){this.addClickEvent(t,e,n,s,r,i)}static[X(313)](t){return Boolean(t[X(330)])}static[X(332)](t,e,n,s,r=!1,i){t[X(317)]((t,o)=>{const a=e[o];a&&this.addClickEvent(t,a,n,s,r,i)})}}const Z=tt;function $(){const t=["whiteSpace","touchend","active","#cccccc","hidden","img","#f9f9f9","transition","button","\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 ","contains","VIDEO","videoUrl","adstage-slide","172585tlLuyN","153629QNJHqL","mouseenter","abs","24ivwGyr","adType","18LEqRrc","color","cssText","src","body","string","flex","adstage-dots","opacity","14px","createElement","toLowerCase","touchmove","addEventListener","200px","0.9","height","white","center","transform","style","2683652mMSXYQ","children","Video Ad","2390019bJnLmL","TEXT","borderColor","50px","setProperty","objectFit","display","transform 0.4s ease-out","287753QMXmqz","13902273hLfEdF","clientX","0.7","removeChild","\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 ","imageUrl","1px dashed #ccc","getBoundingClientRect","adstage-slide-container","click","12eNNrEc","block","createSliderContainer","includes","createSimpleAdElement","trackSlideViewable","data-adstage-slot-id","100%","BANNER","43326290cbYbHE","className","createMinimalDotIndicator","padding","cover","#000","div","adstage-dot","background",".adstage-dot","Text Ad","entries","addTouchSupport","setAttribute","#f0f0f0","remove","autoSlideInterval","appendChild","textContent","relative","none","100px","overflow","#666666","every","data-adstage-ad-id","length","width","border","backgroundColor","querySelectorAll","preventDefault","inline-block","classList","8px","auto","mouseleave","changedTouches","forEach"];return($=function(){return t})()}function tt(t,e){const n=$();return(tt=function(t,e){return n[t-=482]})(t,e)}!function(){const t=tt,e=$();for(;;)try{if(897944===parseInt(t(497))/1*(-parseInt(t(508))/2)+-parseInt(t(489))/3+parseInt(t(486))/4+parseInt(t(570))/5*(-parseInt(t(576))/6)+parseInt(t(571))/7*(parseInt(t(574))/8)+-parseInt(t(498))/9+parseInt(t(517))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class et{static createSimpleAdElement(e,n){const s=tt,r=document[s(586)](s(523));switch(r.className="adstage-ad adstage-"+String(e[s(575)])[s(587)](),r[s(530)](s(542),n._id),r.setAttribute(s(514),e.id),r[s(485)][s(495)]=s(509),r[s(485)][s(544)]=s(515),r[s(485)][s(592)]=s(552),e.adType){case t[s(516)]:if(n.imageUrl){const t=document[s(586)](s(561));t[s(579)]=n[s(503)],t[s(485)][s(544)]=s(515),t[s(485)][s(592)]="auto",t[s(485)][s(494)]=s(521),r[s(534)](t)}else r[s(485)][s(592)]="100px",r[s(485)][s(546)]=s(531),r[s(485)][s(545)]=s(504),r[s(535)]="Banner Ad";break;case t[s(567)]:if(n[s(568)]){const t=document[s(586)]("video");t[s(579)]=n[s(568)],t[s(485)][s(544)]=s(515),t.style[s(592)]="auto",r[s(534)](t)}else r[s(485)][s(592)]=s(590),r[s(485)][s(546)]=s(522),r.style.border="1px solid #666",r[s(535)]=s(488),r.style[s(577)]=s(482);break;case t[s(490)]:if(n[s(535)]){const t=document.createElement("div");t.textContent=n.textContent||"",t[s(485)][s(520)]=s(551),t[s(485)].fontSize=s(585),r[s(534)](t)}else r[s(485)].height=s(492),r[s(485)][s(520)]=s(551),r[s(535)]=s(527);break;default:r[s(485)][s(592)]=s(538),r.style[s(545)]=s(504),r[s(485)][s(546)]=s(562),r[s(535)]=e[s(575)]+" Ad"}return r}static[Z(510)](e,n,s,r,i=!1){const o=Z,a=document[o(586)](o(523));a[o(518)]="adstage-slider-wrapper";const c={position:o(536),overflow:o(560)};if(e[o(544)]&&0!==e[o(544)]){let t;t=typeof e[o(544)]===o(581)&&(e[o(544)][o(511)]("px")||e[o(544)][o(511)]("%"))?e[o(544)]:e[o(544)]+"px",c[o(544)]=t,c[o(495)]="inline-block"}else c[o(495)]=o(549);if(e.height&&0!==e[o(592)]){const t=typeof e[o(592)]===o(581)?e[o(592)]:e[o(592)]+"px";c[o(592)]=t}Object[o(528)](c)[o(555)](([t,e])=>{const n=o;a[n(485)][n(493)](t,e)});const d=!e[o(544)]||0===e.width,l=!e[o(592)]||0===e[o(592)];if(d||l){const t=document[o(586)](o(523));if(t[o(485)][o(578)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&e[o(544)]){let n;n="string"==typeof e[o(544)]&&(e.width[o(511)]("px")||e[o(544)][o(511)]("%"))?e[o(544)]:e[o(544)]+"px",t[o(485)][o(544)]=n,t.style[o(556)]="normal"}document[o(580)][o(534)](t);let s=0,r=0;n[o(555)](n=>{const i=o,a=this[i(512)](e,n);t[i(534)](a);const c=a[i(505)]();c[i(544)]>s&&(s=c.width),c[i(592)]>r&&(r=c[i(592)]),t[i(501)](a)}),d&&s>0&&(a[o(485)][o(544)]=s+"px",c[o(544)]=s+"px"),l&&r>0&&(a.style[o(592)]=r+"px",c.height=r+"px"),document[o(580)][o(501)](t)}const u=[...n,n[0]],p=document.createElement(o(523));p[o(518)]=o(506);const h={display:o(582),transition:o(496),width:100*u[o(543)]+"%"};e[o(592)]&&0!==e[o(592)]&&(h[o(592)]=o(515)),Object[o(528)](h).forEach(([t,e])=>{const n=o;p[n(485)][n(493)](t,e)}),u[o(555)]((t,n)=>{const s=o,a=document[s(586)](s(523));a[s(518)]=s(569);const c={width:100/u.length+"%","flex-shrink":"0",display:s(582),"align-items":s(483),"justify-content":s(483)};e.height&&0!==e.height&&(c.height=s(515)),Object.entries(c).forEach(([t,e])=>{const n=s;a[n(485)][n(493)](t,e)});const d=this[s(512)](e,t);Q.addClickEventForSlider(d,t,e,r,i,String(e[s(575)])[s(587)]()),a[s(534)](d),p[s(534)](a)});const f=n[o(541)](e=>e[o(575)]===t.TEXT)?null:this.createMinimalDotIndicator(n[o(543)]);let g=0;const m=n.length,I=1e3*(s?.[o(533)]||3),v=(t,s=!1)=>{const a=o;g=t,s?p[a(485)].transition=a(537):p.style[a(563)]=a(496),p[a(485)][a(484)]="translateX(-"+100/u[a(543)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(526))[a(555)]((t,e)=>{const n=a,s=t;e===c?(s[n(550)].add(n(558)),s[n(485)].background=n(540),s[n(485)][n(491)]=n(540),s[n(485)][n(584)]="1"):(s[n(550)][n(532)](n(558)),s[n(485)][n(525)]="transparent",s[n(485)][n(491)]=n(559),s[n(485)][n(584)]=n(500))})}J[a(513)](n[c],e,c,r,i)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(547)](".adstage-dot").forEach((t,e)=>{const n=o;t[n(589)](n(507),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[o(589)]("mouseenter",()=>{clearInterval(b)}),a.addEventListener("mouseleave",()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(529)](p,v,()=>g,m,y),a[o(534)](p),f&&a.appendChild(f),v(0),(!e.width||0===e[o(544)])&&setTimeout(()=>{const t=o,n=p[t(487)][0];if(n){const s=n[t(487)][0];if(s){const n=s[t(505)]();a[t(485)][t(544)]=n[t(544)]+"px",(!e[t(592)]||0===e.height)&&(a.style[t(592)]=n[t(592)]+"px"),a.style[t(539)]="hidden"}}},10),a}static[Z(519)](t){const e=Z,n=document[e(586)](e(523));n.className=e(583),n[e(485)][e(578)]=e(565);for(let s=0;s<t;s++){const t=document[e(586)](e(564));t[e(518)]=e(524),t.style[e(578)]=e(502),t[e(589)](e(572),()=>{const n=e;!t[n(550)][n(566)]("active")&&(t[n(485)][n(491)]="#999999",t[n(485)][n(584)]=n(591))}),t[e(589)](e(553),()=>{const n=e;!t[n(550)][n(566)](n(558))&&(t[n(485)][n(491)]=n(559),t[n(485)][n(584)]=n(500))}),n[e(534)](t)}return n}static[Z(529)](t,e,n,s,r){const i=Z;let o=0,a=!1;t[i(589)]("touchstart",t=>{const e=i;o=t.touches[0][e(499)],a=!0}),t.addEventListener(i(588),t=>{a&&t[i(548)]()}),t[i(589)](i(557),t=>{const c=i;if(!a)return;a=!1;const d=t[c(554)][0][c(499)],l=o-d;if(Math[c(573)](l)>50){const t=n();if(l>0){e(t+1),r&&r()}else{e(t>0?t-1:s-1)}}})}}const nt=rt;!function(){const t=rt,e=it();for(;;)try{if(646928===-parseInt(t(296))/1*(parseInt(t(304))/2)+parseInt(t(308))/3+parseInt(t(309))/4+parseInt(t(300))/5+parseInt(t(307))/6*(parseInt(t(298))/7)+parseInt(t(301))/8+-parseInt(t(299))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class st{static isDuplicateViewable(t,e,n=!1){const s=rt,r=t+"_"+e;return st.viewableTracker.has(r)?(n&&console[s(302)]("Duplicate viewable blocked for ad "+t+s(303)+e),!0):(st[s(310)][s(306)](r),n&&console[s(302)](s(297)+t+s(303)+e),!1)}static clear(){const t=rt;st[t(310)][t(305)]()}static clearAdViewable(t,e){const n=t+"_"+e;st.viewableTracker.delete(n)}}function rt(t,e){const n=it();return(rt=function(t,e){return n[t-=296]})(t,e)}function it(){const t=["42vdgozf","3455739PqMmKn","706784iRNdYh","viewableTracker","3SDCOny","✅ New viewable recorded for ad ","838187mihhrs","20232405CjKsSr","1917925trsFAp","7359768MSjyyz","log"," in slot ","383586AKmJbr","clear","add"];return(it=function(){return t})()}st[nt(310)]=new Set;const ot=ct;function at(){const t=["renderFallback","28pjttxM"," for ad ","4px","alignItems"," in slot ","subtle","rgba(0, 0, 0, 0.02)","rgba(231, 76, 60, 0.1)","8691634MphOWb","true","VIEWABLE",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"monospace","rgba(248, 249, 250, 0.5)","auto","cssText","display","transparent","📦 Placeholder created for "," for ","calculateAdSize","style"," slot: ","🚫 Duplicate viewable blocked for ad ","minHeight","createElement","placeholderMode","debug","#e74c3c","adstage-class","data-adstage-container",'div[style*="height"]',"filter",") - Mode: ","getComputedStyle","isDuplicateViewable","advertisement","1080346lIonrO","⚠️ ","generic","getDefaultHeight","toLowerCase","createEmptyContainer","trackAdvertisementEvent","containerId","data-adstage-slot","\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 ","border","4821678ZpoJri","636715EZJKJQ","setAttribute","adstage-slot adstage-","1px solid rgba(0, 0, 0, 0.08)","adstage-slot adstage-empty adstage-","adType",'[class*="container"]',"createPlaceholder","): ","getContainerHeight","1px dashed #ccc","div","height","borderRadius","adstage-slot","2799QFYJVj",".adstage-slot",'div[style*="min-height"]'," ad...</span>","createEventTrackingCallback","width","6px","log","<span>Loading ","className"," container collapsed (",'[data-adstage-container="true"]',"block","warn","innerHTML","closest","⚠️ Created empty ","#f9f9f9","⚠️ AdvertisementEventTracker not available for ","none","justifyContent","querySelector","adstage-official","opacity","minimal"," container: "," event","number","invisible","appendChild","100%","color","📏 Using default height ","center","advertisementEventTracker","172456mHXlFP"," x ","flex","backgroundColor","px)","3019778lsjbLh","applyPlaceholderStyle","parentElement",'[class*="banner"]',"contains","✅ New viewable recorded for ad ","3585264VcVcmo",".adstage-","getElementById","error","hasAttribute","getAttribute"];return(at=function(){return t})()}function ct(t,e){const n=at();return(ct=function(t,e){return n[t-=490]})(t,e)}!function(){const t=ct,e=at();for(;;)try{if(971247===-parseInt(t(530))/1+-parseInt(t(597))/2+-parseInt(t(541))/3+parseInt(t(493))/4*(-parseInt(t(542))/5)+parseInt(t(603))/6+-parseInt(t(501))/7+-parseInt(t(592))/8*(-parseInt(t(557))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{constructor(t,e=!1,n){this[ct(547)]=t,this.debug=e,this.advertisementEventTracker=n||null}[ot(549)](t,e,n,s){const r=ot,i=document[r(518)](r(553));i.id=e,i[r(566)]=r(544)+String(this.adType)[r(534)](),i[r(543)]("data-adstage-container",r(502)),i[r(543)]("data-adstage-type",String(this.adType)),i.setAttribute(r(538),e);const{width:o,height:a}=this[r(513)](t,n,s)||{width:r(587),height:this[r(533)]()};i[r(514)][r(562)]=o,i[r(514)][r(554)]=a;const c=s?.[r(519)]||n[r(519)]||r(585);this[r(598)](i,c),t[r(586)](i),this[r(520)]&&console.log(r(511)+this[r(547)]+r(515)+e+" ("+o+r(593)+a+r(526)+c)}[ot(598)](t,e){const n=ot;switch(e){case"invisible":t[n(514)][n(595)]="transparent",t[n(514)].border="none",t[n(514)][n(580)]="0",t[n(571)]="";break;case n(510):t.style[n(595)]=n(510),t[n(514)][n(540)]=n(576),t[n(514)].display=n(569),t.innerHTML="";break;case n(498):t[n(514)].backgroundColor=n(499),t[n(514)][n(540)]=n(576),t[n(514)][n(555)]=n(495),t[n(514)][n(509)]=n(594),t.style[n(496)]="center",t[n(514)].justifyContent=n(590),t.innerHTML=n(504);break;case n(581):t.style.backgroundColor=n(506),t[n(514)][n(540)]=n(545),t[n(514)][n(555)]=n(563),t[n(514)].display=n(594),t[n(514)][n(496)]=n(590),t[n(514)].justifyContent=n(590),t[n(571)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(520):t[n(514)][n(540)]="2px dashed #e74c3c",t[n(514)][n(509)]="flex",t[n(514)][n(496)]="center",t[n(514)][n(577)]="center",t[n(514)].backgroundColor=n(500),t[n(514)][n(588)]=n(521),t[n(514)].fontFamily=n(505),t[n(514)].fontSize="11px",t[n(571)]=n(565)+this[n(547)]+n(560);break;default:t[n(514)][n(540)]=n(552),t[n(514)][n(509)]=n(594),t[n(514)].alignItems=n(590),t[n(514)].justifyContent=n(590),t[n(514)].backgroundColor=n(574),t[n(514)].color="#666",t[n(571)]=n(565)+this[n(547)]+n(560)}}calculateAdSize(t,e,n){const s=ot,r=e.width,i=e[s(554)];let o,a;if(o="number"==typeof r?r+"px":"string"==typeof r?r:"100%",typeof i===s(584))a=i+"px";else if("string"==typeof i&&"100%"!==i&&i!==s(507))a=i;else{const e=this[s(551)](t);e>0?(a=s(587),(n?.[s(520)]||this.debug)&&console.log("📏 Using 100% height (container: "+e+s(596))):(a=this.getDefaultHeight(),(n?.[s(520)]||this[s(520)])&&console[s(564)](s(589)+a+s(512)+this.adType))}return{width:o,height:a}}[ot(551)](t){const e=ot,n=window[e(527)](t),s=parseFloat(n.height);if(!s||0===s){const s=parseFloat(n[e(517)]);if(s>0)return s;if(t.style[e(554)]&&t[e(514)][e(554)]!==e(507)){const n=parseFloat(t[e(514)][e(554)]);if(n>0)return n}const r=t[e(491)](e(554));if(r){const t=parseFloat(r);if(t>0)return t}}return s||0}[ot(561)](){return async(t,e,n)=>{const s=ct;if(n===o[s(503)]){if(st[s(528)](t,e,this[s(520)]))return void(this.debug&&console[s(564)](s(516)+t+s(497)+e));this.debug&&console[s(564)](s(602)+t+" in slot "+e)}if(this[s(591)])try{this[s(520)]&&console.log("🔄 Starting advertisement event tracking: "+n+s(494)+t+s(497)+e),await this[s(591)][s(536)](t,e,n),this[s(520)]&&console[s(564)]("📊 Advertisement event tracked: "+n+s(494)+t+s(497)+e)}catch(e){this[s(520)]&&console[s(606)]("❌ Failed to track "+n+" event for ad "+t+":",e)}else this[s(520)]&&console.warn(s(575)+n+s(583))}}[ot(492)](t){const e=ot,n=document[e(605)](t.id);if(n){const s=[...[n[e(578)](e(568)),n[e(572)](e(568)),n][e(525)](t=>t&&t[e(490)](e(523))),...[n.closest(e(558)),n[e(572)](e(604)+String(this[e(547)])[e(534)]()),n[e(572)]('[class*="ad"]'),n[e(572)](e(600)),n[e(572)](e(548)),n[e(572)](e(524)),n[e(572)](e(559)),n[e(599)]][e(525)](Boolean)][0];if(s){let n="unknown";n=s.hasAttribute(e(523))?e(579):s.classList[e(601)](e(556))?e(522):e(532),s.style.cssText+=e(539),s[e(571)]="",s[e(543)]("data-adstage-empty",e(502)),this.debug&&console[e(570)](e(531)+this[e(547)]+e(567)+n+e(550)+t.id,s)}else this.createEmptyContainer(t)}t[e(529)]=void 0,t.isEmpty=!0}[ot(535)](t){const e=ot,n=document.getElementById(t[e(537)]);if(n){n[e(571)]="";const s=document[e(518)]("div");s.id=t.id,s[e(566)]=e(546)+String(this.adType)[e(534)](),s[e(543)](e(523),e(502)),s.setAttribute("data-adstage-empty","true"),s[e(543)](e(538),t.id),s.style[e(508)]="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n[e(586)](s),this.debug&&console[e(570)](e(573)+this[e(547)]+e(582)+t.id)}}[ot(564)](t,...e){const n=ot;this[n(520)]&&console[n(564)]("["+this.adType+"] "+t,...e)}}const lt=ut;function ut(t,e){const n=pt();return(ut=function(t,e){return n[t-=427]})(t,e)}function pt(){const t=["getDefaultHeight","some","warn",", ratio=","average","BANNER","alt","addClickEventForRenderer","adstage-ad adstage-banner-ad","status","🔧 Banner container optimized for ","createElement"," (strategy: ","Banner Ad","height","max","cover","Banner","1:1","value","optimizedHeight","dominant","length","4338285JEdVlt","100%","config","Failed to load image: ","contain","round","❌ Failed to load optimized banner image:","applyOptimizedImageStyle","createSliderContainer","src","_id","1397030WCsden","749764EBmYaN","getElementById","loadImageDimensions","appendChild","className","</div>","9mHEuCt","onload","ratio","title","250px","innerHTML","log"," with ","borderRadius","imageUrl",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"backgroundColor","slideInterval","objectPosition","5305480EeuFBs","calculateAdSize","📸 Banner image dimensions: ","4:3","30AjzdcA","map","calculateOptimalContainerSize","reduce"," (avg: ","style","<div>","values","containerId","default","get","🎠 Banner carousel created for slot: ","26874265KudGiE","aspectRatio","abs","toFixed","3933210JjcQeq","📦 Banner container dimensions: ","Image URL is not provided","common","toString","width","Banner container optimization failed, using default size:","optimizeContainerForBannerAds","12McAJRJ","debug","getBoundingClientRect","img","Failed to calculate optimal banner size, using defaults:","filter","renderOptimizedBannerImage","🎨 Banner image style applied: objectFit=","createEventTrackingCallback","onerror","selectOptimalSizeStrategy"," ads (optimized: ","6DCUjtK","#f0f0f0","📊 Using standard ratio: ","allSettled","center","objectFit","189543fQWlsV","📐 Optimal banner container calculated: ","calculateOptimalHeight","Banner Advertisement","set","naturalWidth","fulfilled"];return(pt=function(){return t})()}!function(){const t=ut,e=pt();for(;;)try{if(858664===-parseInt(t(498))/1+-parseInt(t(431))/2*(-parseInt(t(492))/3)+parseInt(t(432))/4*(parseInt(t(456))/5)+parseInt(t(480))/6*(parseInt(t(528))/7)+-parseInt(t(452))/8+parseInt(t(438))/9*(parseInt(t(472))/10)+-parseInt(t(468))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht extends dt{constructor(e=!1,n){super(t[ut(510)],e,n)}[lt(505)](){return lt(442)}async renderAdElement(t,e){const n=lt,s=document.getElementById(t[n(464)]);if(!s)return;const r=document[n(516)]("div");r[n(436)]=n(513);const i=t[n(525)],o=s.parentElement||s;if(i)r[n(461)].width=n(529),r[n(461)][n(519)]=String(i);else{const e=t[n(530)],s={width:e?.[n(477)],height:e?.[n(519)]},{width:i,height:a}=this[n(453)](o,s,{debug:this[n(481)]});r[n(461)][n(477)]=i,r.style[n(519)]=a}e[n(447)]?await this[n(486)](r,e,t):r[n(443)]=n(462)+(e[n(441)]||n(518))+n(437),Q[n(512)](r,e,t,()=>this[n(488)](),this.debug,n(522)),s[n(443)]="",s[n(435)](r)}async renderMultipleAds(t,e){const n=lt,s=document[n(433)](t[n(464)]);if(!s)throw new Error("Container not found: "+t[n(464)]);await this[n(479)](t,e);const r=this[n(488)](),i={autoSlideInterval:(t[n(530)]?.[n(450)]||5e3)/1e3,...t.config,optimizedHeight:t[n(525)],aspectRatio:t[n(469)]},o=et[n(428)](t,e,i,r,this[n(481)]);o&&(s[n(443)]="",s[n(435)](o),this.debug&&console[n(444)](n(467)+t.id+n(445)+e[n(527)]+n(491)+(t[n(525)]||n(465))+")"))}async[lt(458)](t,e){const n=lt;if(!t.length)return{width:"100%",height:this[n(505)](),aspectRatio:16/9};try{const s=(await Promise[n(495)](t[n(485)](t=>t[n(447)]).map(t=>this[n(434)](t[n(447)]))))[n(485)](t=>t[n(514)]===n(504)).map(t=>t[n(524)]);if(0===s[n(527)])return{width:n(529),height:this.getDefaultHeight(),aspectRatio:16/9};const r=this[n(490)](s),i=this[n(500)](s,e,r);return this[n(481)]&&console[n(444)](n(499)+e+"x"+i+n(517)+r+")"),{width:n(529),height:i+"px",aspectRatio:e/i}}catch(t){return console.warn(n(484),t),{width:"100%",height:this[n(505)](),aspectRatio:16/9}}}async[lt(479)](t,e){const n=lt;try{const s=document[n(433)](t[n(464)]),r=document[n(433)](t.id);if(!s||!r)return;const i=s[n(482)]()[n(477)]||300,o=await this[n(458)](e,i);r[n(461)][n(519)]=o[n(519)],t[n(525)]=o[n(519)],t.aspectRatio=o.aspectRatio,this[n(481)]&&console[n(444)](n(515)+e[n(527)]+" ads: "+o[n(519)])}catch(t){console[n(507)](n(478),t)}}[lt(490)](t){const e=lt,n=t[e(457)](t=>t[e(477)]/t[e(519)]),s=new Map;n.forEach(t=>{const n=e,r=(Math.round(10*t)/10)[n(476)]();s[n(502)](r,(s[n(466)](r)||0)+1)});const r=Math[e(520)](...s[e(463)]()),i=t[e(527)];if(r/i>=.7)return e(526);const o=[16/9,4/3,1,1.5];return n[e(485)](t=>o[e(506)](n=>Math[e(470)](t-n)<.1)).length/i>=.5?"common":e(509)}[lt(500)](t,e,n){const s=lt,r=t.map(t=>t[s(477)]/t[s(519)]);switch(n){case s(526):{const t=new Map;r.forEach(e=>{const n=s,r=Math[n(533)](10*e)/10,i=r[n(476)](),o=t[n(466)](i);o?o.count++:t.set(i,{ratio:r,count:1})});const n=Array.from(t[s(463)]())[s(459)]((t,e)=>e.count>t.count?e:t);return Math[s(533)](e/n[s(440)])}case s(475):{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:s(455)},{ratio:1,name:s(523)},{ratio:1.5,name:"3:2"}],n=r[s(459)]((t,e)=>t+e,0)/r[s(527)],i=t[s(459)]((t,e)=>Math.abs(e.ratio-n)<Math[s(470)](t.ratio-n)?e:t);return this.debug&&console.log(s(494)+i.name+s(460)+n.toFixed(2)+")"),Math[s(533)](e/i.ratio)}case s(509):default:{const t=r[s(459)]((t,e)=>t+e,0)/r[s(527)];return Math[s(533)](e/t)}}}[lt(434)](t){return new Promise((e,n)=>{const s=ut,r=new Image;r[s(439)]=()=>{e({width:r[s(503)],height:r.naturalHeight})},r[s(489)]=()=>{n(new Error(s(531)+t))},r[s(429)]=t})}applyOptimizedImageStyle(t,e,n){const s=lt,r=e/n;Math[s(470)](r-1)<.1?(t[s(461)].objectFit=s(521),t[s(461)].objectPosition="center"):r>1.3?(t[s(461)].objectFit=s(532),t.style[s(451)]=s(496),t[s(461)][s(449)]=s(493)):r<.7?(t[s(461)][s(497)]=s(521),t[s(461)][s(451)]=s(496)):(t.style[s(497)]=s(521),t[s(461)].objectPosition=s(496)),this.debug&&console[s(444)](s(487)+t[s(461)][s(497)]+s(508)+r[s(471)](2))}async[lt(486)](t,e,n){const s=lt,r=document[s(516)](s(483));r.style[s(477)]=s(529),r.style[s(519)]="100%",r[s(461)].display="block",r[s(461)][s(446)]="8px",r[s(511)]=e[s(441)]||s(501),t[s(443)]=s(448);try{if(!e[s(447)])throw new Error(s(474));const i=await this[s(434)](e.imageUrl),o=t[s(482)](),a=o[s(477)],c=o.height;this.debug&&(console[s(444)](s(454)+i[s(477)]+"x"+i[s(519)]),console.log(s(473)+a+"x"+c));const d=i[s(477)]/i[s(519)],l=a/c;return this[s(427)](r,d,l),r[s(429)]=e[s(447)],t[s(443)]="",t[s(435)](r),Q[s(512)](r,e,n,()=>this[s(488)](),this.debug,s(522)),this[s(481)]&&console[s(444)]("✅ Optimized banner image rendered for ad: "+e[s(430)]),r}catch(i){return console.error(s(534),i),e.imageUrl&&(r[s(429)]=e[s(447)],r.style[s(497)]="cover",r.style.objectPosition=s(496),t.innerHTML="",t[s(435)](r),Q[s(512)](r,e,n,()=>this[s(488)](),this.debug,s(522))),r}}}function ft(t,e){const n=mt();return(ft=function(t,e){return n[t-=277]})(t,e)}const gt=ft;function mt(){const t=["260OQOned","5473608jLUhxa","textContent","setTextAdContent","1732800LaCrjq","\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 ","155bjMMFQ","createTextAdStyles","671589qWczuF","8ehvdKz","198007LyeNzZ","1394487sGXgcK","109938uOmUdM","207603xCxlHn","12UWGQUT"];return(mt=function(){return t})()}!function(){const t=ft,e=mt();for(;;)try{if(514642===parseInt(t(291))/1+parseInt(t(285))/2+-parseInt(t(289))/3*(parseInt(t(280))/4)+parseInt(t(287))/5*(parseInt(t(278))/6)+-parseInt(t(282))/7+-parseInt(t(290))/8*(parseInt(t(277))/9)+-parseInt(t(281))/10*(-parseInt(t(279))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It{static[gt(288)](t=!1){return gt(286)}static[gt(284)](t,e){const n=gt,s=e[n(283)]||e.title||"";t[n(283)]=s}}function vt(t,e){const n=bt();return(vt=function(t,e){return n[t-=108]})(t,e)}const yt=vt;function bt(){const t=["data-adstage-ad-id","normal","trackSlideViewable","3647223evmbSE","opacity","2102906HJbsNV","div","height","fit-content","appendChild","createTextAdStyles","clientY","mouseenter","adstage-fade-slide","touchmove","\n position: ","touches","data-adstage-slot-id","left","translateY(0)","body","includes",";\n ","removeChild","createSimpleAdElement","700374xziMCU","relative","63NhXLoI","adstage-fade-slider-wrapper",";\n top: ","addTouchSupport","style","createElement","641697jkRART","cssText","setProperty","position","abs","addClickEventForSlider","692Cmlhdo","top","absolute","addEventListener","createTextTransitionContainer","1760760QubneV","zIndex","toLowerCase","adstage-ad adstage-","transform","length","20px","height: 100%;","getBoundingClientRect","Text","16hPghLO","auto",";\n left: ","changedTouches","whiteSpace","className","mouseleave","minHeight","width",";\n width: 100%;\n ","hidden","push","adstage-fade-slide-container","13060IUCBzs","forEach","_id","touchend","3474666ftrBhW","adType","block","clientX","autoSlideInterval",";\n transform: translateY(","setTextAdContent","setAttribute","\n position: relative;\n width: 100%;\n ","preventDefault","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","\n ","height: auto;",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","touchstart","string"];return(bt=function(){return t})()}!function(){const t=vt,e=bt();for(;;)try{if(698175===-parseInt(t(111))/1+-parseInt(t(170))/2+parseInt(t(149))/3+parseInt(t(117))/4*(-parseInt(t(145))/5)+-parseInt(t(190))/6*(-parseInt(t(192))/7)+-parseInt(t(132))/8*(-parseInt(t(168))/9)+-parseInt(t(122))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class wt{static[yt(189)](t,e){const n=yt,s=document[n(110)](n(171));return s[n(137)]=n(125)+String(t[n(150)])[n(124)](),s.setAttribute(n(165),e[n(147)]),s[n(156)](n(182),t.id),s[n(109)].cssText=It[n(175)](!0),It[n(155)](s,e),s}static[yt(121)](t,e,n,s,r=!1){const i=yt,o=t[i(172)]&&0!==t[i(172)]&&t[i(172)]!==i(133),a=document.createElement(i(171));a[i(137)]=i(193);const c={position:i(191),overflow:i(142),display:i(151)};if(!o&&(c[i(172)]="auto",c[i(139)]=i(173)),t[i(140)]&&0!==t[i(140)]){let e;e=typeof t[i(140)]===i(164)&&(t.width[i(186)]("px")||t[i(140)][i(186)]("%"))?t.width:t[i(140)]+"px",c[i(140)]=e}if(t[i(172)]&&0!==t[i(172)]&&"auto"!==t[i(172)]&&o){let e;e="string"==typeof t[i(172)]?t[i(172)][i(186)]("px")||t.height[i(186)]("%")?t[i(172)]:t[i(172)]+"px":t.height+"px",c[i(172)]=e}Object.entries(c).forEach(([t,e])=>{const n=i;a[n(109)][n(113)](t,e)});const d=document[i(110)](i(171));d[i(137)]=i(144),d[i(109)][i(112)]=i(157)+(o?i(129):"height: auto; min-height: fit-content;")+i(160);let l=null;const u=!t.width||0===t.width,p=!t[i(172)]||0===t.height||void 0===t[i(172)]||t.height===i(133);if(u||p&&o){if(l=document[i(110)]("div"),l[i(109)][i(112)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!u&&t[i(140)]){let e;e=typeof t[i(140)]===i(164)&&(t.width.includes("px")||t[i(140)][i(186)]("%"))?t.width:t[i(140)]+"px",l[i(109)][i(140)]=e,l[i(109)][i(136)]=i(166)}document[i(185)].appendChild(l);let n=0,s=0;e[i(146)](e=>{const r=i,o=this[r(189)](t,e);l[r(174)](o);const a=o[r(130)]();a[r(140)]>n&&(n=a.width),a[r(172)]>s&&(s=a[r(172)]),l[r(188)](o)}),u&&n>0&&(a[i(109)][i(140)]=n+"px"),p&&s>0&&o&&(a[i(109)][i(172)]=s+"px"),document[i(185)][i(188)](l)}const h=[];e.forEach((e,n)=>{const a=i,c=document[a(110)](a(171));c[a(137)]=a(178);const l=0===n,u=o?a(119):l?a(191):"absolute";c[a(109)][a(112)]=a(180)+u+a(194)+(u===a(119)?"0":"auto")+a(134)+(u===a(119)?"0":a(133))+a(141)+a(o?129:161)+a(159)+(0===n?"1":"0")+a(154)+(0===n?"0":a(128))+a(162)+(0===n?"2":"1")+a(187);const p=this.createSimpleAdElement(t,e);Q[a(116)](p,e,t,s,r,a(131)),c[a(174)](p),d[a(174)](c),h[a(143)](c)});let f=0;const g=e[i(127)],m=1e3*(n?.[i(153)]||4),I=n=>{const a=i;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c.style[a(114)]===a(191)&&(c[a(109)].position=a(119),c[a(109)][a(118)]="0",c[a(109)][a(183)]="0"),d[a(109)][a(114)]="relative",d[a(109)][a(118)]="auto",d[a(109)].left="auto"),c[a(109)][a(169)]="0",c[a(109)][a(126)]="translateY(-20px)",c.style[a(123)]="1",d[a(109)][a(169)]="1",d.style.transform=a(184),d[a(109)].zIndex="2",h[a(146)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(109)][s(169)]="0",t.style.transform="translateY(20px)",t[s(109)][s(123)]="1",!o&&t[s(109)][s(114)]===s(191)&&(t[s(109)].position=s(119),t.style[s(118)]="0",t[s(109)][s(183)]="0"))}),f=n,J[a(167)](e[f],t,f,s,r)};let v=setInterval(()=>{I(f+1)},m);return a[i(120)](i(177),()=>{clearInterval(v)}),a[i(120)](i(138),()=>{v=setInterval(()=>{I(f+1)},m)}),wt.addTouchSupport(a,I,()=>f,g),a[i(174)](d),a}static[yt(108)](t,e,n,s){const r=yt;let i=0,o=0,a=!1;t[r(120)](r(163),t=>{const e=r;i=t.touches[0][e(152)],o=t[e(181)][0][e(176)],a=!0}),t[r(120)](r(179),t=>{a&&t[r(158)]()}),t[r(120)](r(148),t=>{const s=r;if(!a)return;a=!1;const c=t[s(135)][0][s(152)],d=t[s(135)][0][s(176)],l=i-c,u=o-d;if(Math[s(115)](l)>Math.abs(u)&&Math[s(115)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function kt(){const t=["containerId","width","getElementById","div","parentElement","5853880VIbWMb","webkitLineClamp","webkitBoxOrient","getDefaultHeight","228XAeOty","height","display","aspectRatio","length","Text","log","✨ Single text ad rendered: ","renderMultipleAds","debug"," ads","hidden","appendChild","539248QZyWWB","optimizedHeight","vertical","style","TEXT","2261TaSiwa","createTextTransitionContainer","slideInterval","number","2268607uKSVes","cssText","config","renderAdElement","5lZSkxH","adstage-ad adstage-text-ad","createElement","✨ Text transition created for slot: ","adstage-text-content"," with ","className","346576FXQXBE","calculateAdSize","-webkit-box","_id","54927wNijRR","innerHTML","6709555VdGTYp","addClickEventForRenderer","18ZtbpRy","Container not found: ","100%","708vqLagN","createEventTrackingCallback","144TREuJB","createTextAdStyles"];return(kt=function(){return t})()}const Et=xt;function xt(t,e){const n=kt();return(xt=function(t,e){return n[t-=396]})(t,e)}!function(){const t=xt,e=kt();for(;;)try{if(798256===parseInt(t(416))/1*(-parseInt(t(403))/2)+-parseInt(t(427))/3*(-parseInt(t(436))/4)+-parseInt(t(429))/5+parseInt(t(434))/6*(parseInt(t(408))/7)+parseInt(t(423))/8+-parseInt(t(431))/9*(parseInt(t(443))/10)+-parseInt(t(412))/11*(-parseInt(t(447))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St extends dt{constructor(e=!1,n){super(t[xt(407)],e,n)}[Et(446)](){return"60px"}async[Et(415)](t,e){const n=Et,s=document[n(440)](t.containerId);if(!s)return;const r=document.createElement(n(441));r[n(422)]=n(417);const i=t.optimizedHeight,o=s[n(442)]||s;if(i)r.style[n(439)]=n(433),r[n(406)][n(448)]=String(i);else{const e=t[n(414)],s={width:e?.[n(439)],height:e?.[n(448)]},{width:i,height:a}=this[n(424)](o,s,{debug:this[n(399)]});r[n(406)].width=i,r[n(406)][n(448)]=a}const a=document[n(418)](n(441));a[n(422)]=n(420),a[n(406)][n(413)]=It[n(437)](!1),It.setTextAdContent(a,e);const c=t[n(414)]?.maxLines;c&&typeof c===n(411)&&(a.style[n(449)]=n(425),a.style[n(444)]=String(c),a[n(406)][n(445)]=n(405),a[n(406)].overflow=n(401)),r[n(402)](a),Q[n(430)](r,e,t,()=>this[n(435)](),this[n(399)],n(452)),s[n(428)]="",s[n(402)](r),this[n(399)]&&console[n(396)](n(397)+e[n(426)])}async[Et(398)](t,e){const n=Et,s=document[n(440)](t[n(438)]);if(!s)throw new Error(n(432)+t[n(438)]);const r=this[n(435)](),i={autoSlideInterval:(t.config?.[n(410)]||5e3)/1e3,...t.config,optimizedHeight:t[n(404)],aspectRatio:t[n(450)]},o=wt[n(409)](t,e,i,r,this.debug);o&&(s[n(428)]="",s.appendChild(o),this[n(399)]&&console[n(396)](n(419)+t.id+n(421)+e[n(451)]+n(400)))}}const At=Tt;function Tt(t,e){const n=Dt();return(Tt=function(t,e){return n[t-=397]})(t,e)}!function(){const t=Tt,e=Dt();for(;;)try{if(732866===-parseInt(t(408))/1*(parseInt(t(459))/2)+-parseInt(t(412))/3*(parseInt(t(435))/4)+parseInt(t(466))/5+-parseInt(t(507))/6+-parseInt(t(416))/7*(parseInt(t(477))/8)+-parseInt(t(490))/9*(-parseInt(t(514))/10)+-parseInt(t(437))/11*(-parseInt(t(433))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct extends dt{constructor(e=!1,n){super(t[Tt(493)],e,n)}[At(511)](){return At(409)}async[At(482)](t,e){const n=At,s=document[n(424)](t[n(452)]);if(!s)return;const r=document[n(497)](n(469));r[n(513)]="adstage-video-container",r[n(505)][n(447)]="\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(425)](r,e,t),s.innerHTML="",s.appendChild(r),this[n(484)]&&console[n(438)](n(495)+e[n(499)])}async[At(494)](t,e){const n=At,s=document[n(424)](t.containerId);if(!s)throw new Error(n(445)+t[n(452)]);if(e[n(485)]>0){const r=e[0],i=document[n(497)]("div");i[n(513)]=n(398),i[n(505)][n(447)]="\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(425)](i,r,t),s[n(500)]="",s[n(414)](i);const a=this[n(429)]();setTimeout(()=>{const e=n;a(r[e(499)],t.id,o[e(427)])},100),this[n(484)]&&console.log(n(471)+t.id+" ("+r[n(499)]+")")}else this[n(484)]&&console[n(509)](n(415)+t.id)}[At(425)](t,e,n){const s=At;t[s(505)][s(451)]="relative";const r=document[s(497)](s(462));r.style[s(407)]=s(417),r.style[s(419)]=s(417),r[s(505)][s(470)]=s(441),r[s(475)]="metadata";const i=n[s(413)];if(this[s(484)]&&console[s(438)](s(461),i),r[s(397)]=!1,r[s(411)]=!1!==i?.[s(411)],r[s(431)]=!0,r[s(430)]=!1!==i?.[s(430)],this.debug&&console[s(438)](s(418),{autoplay:r.autoplay,muted:r[s(431)],loop:r[s(430)],controls:r[s(397)]}),!1!==i?.[s(402)]&&r[s(443)](s(402),""),!0===i?.[s(397)]&&(r[s(397)]=!0,this[s(484)]&&console[s(438)](s(481))),i?.hideControls)r.controls=!1,r[s(505)].cssText+=s(491);else if(i?.[s(504)]){if(r.controls){const t=document[s(497)](s(505));t[s(498)]=s(489)+(i[s(504)][s(442)]?s(422):s(465))+s(486)+(i[s(504)].hideProgressBar?"none":s(465))+s(456)+(i[s(504)][s(432)]?"none":s(465))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(i[s(504)][s(480)]?s(422):s(465))+s(405)+(i[s(504)][s(503)]?s(422):"block")+s(440)+(i[s(504)][s(457)]?s(422):s(465))+s(453)+(i[s(504)][s(464)]?s(422):s(465))+s(458),document[s(449)][s(414)](t)}}else if(r.controls){const t=document[s(497)]("style");t.id=s(478),t[s(498)]="\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 ",!document.getElementById("adstage-video-default-controls")&&document.head[s(414)](t)}this[s(484)]&&console[s(438)](s(434),r[s(397)]?s(496):s(423));const o=document.createElement(s(455));o[s(513)]=s(506),o[s(505)][s(447)]=s(488),i?.[s(399)]&&(o.style.display=s(422));const a=()=>{const t=s,e=t(410),n=t(404);o[t(500)]=r[t(431)]?e:n,o[t(439)]=r[t(431)]?"Click to unmute":t(474)};if(a(),o[s(510)](s(473),t=>{const e=s;t.stopPropagation(),r[e(431)]=!r[e(431)],a(),this[e(484)]&&console.log("🔊 Video mute toggled: "+(r[e(431)]?e(431):e(454)))}),o[s(510)](s(515),()=>{const t=s;o[t(505)].background="rgba(0, 0, 0, 0.9)",o[t(505)].transform="scale(1.1)"}),o.addEventListener(s(450),()=>{const t=s;o[t(505)][t(448)]="rgba(0, 0, 0, 0.7)",o[t(505)].transform=t(463)}),e[s(403)]){r.src=e[s(403)];const t=()=>{const t=s;r[t(411)]&&r[t(431)]&&r[t(446)]&&r.play()[t(406)](e=>{const n=t;this[n(484)]&&(console[n(509)](n(508),e),console[n(509)](n(467))),r.muted=!0,r.play()[n(406)](t=>{const e=n;this.debug&&console[e(436)](e(401),t)})})};r[s(510)](s(420),()=>{const e=s;this[e(484)]&&console[e(438)](e(460)),t()}),r.addEventListener(s(426),()=>{const e=s;this[e(484)]&&console.log(e(468)),t()}),r[s(510)]("loadeddata",()=>{const e=s;this[e(484)]&&console[e(438)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=s;this.debug&&console[e(438)](e(512)),t()},100)}else if(e[s(428)]){const n=document[s(497)](s(400));return n[s(487)]=e[s(428)],n[s(505)][s(407)]=s(417),n[s(505)][s(419)]="100%",n[s(505)][s(470)]=s(441),n.alt=e.title||s(421),void t[s(414)](n)}Q.addClickEventForRenderer(r,e,n,()=>this[s(429)](),this[s(484)],s(502)),r[s(510)](s(436),r=>{const i=s;if(console.error("Video load failed:",r),e[i(428)]){const s=document[i(497)](i(400));s[i(487)]=e[i(428)],s.style.width="100%",s[i(505)].height=i(417),s[i(505)][i(470)]=i(441),s[i(472)]=e[i(439)]||i(421),Q[i(444)](s,e,n,()=>this.createEventTrackingCallback(),this[i(484)],i(501)),t[i(500)]="",t.appendChild(s)}}),t[s(414)](r),t.appendChild(o),this[s(484)]&&console[s(438)](s(476)+e[s(499)]+s(492)+r[s(411)]+s(483)+r[s(431)]+s(479)+r[s(430)]+")")}}function Dt(){const t=["warn","addEventListener","getDefaultHeight","🎬 Initial autoplay attempt after timeout...","className","1052810tylUmz","mouseenter","controls","adstage-video-container","hideControls","img","🎬 Autoplay completely failed:","playsinline","videoUrl",'\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 '," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","catch","width","614ffFZWv","360px",'\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 ',"autoplay","4242tzLIbK","config","appendChild","⚠️ No video advertisements available for slot: ","2916613KCthBx","100%","🎬 Final video settings:","height","loadedmetadata","Video thumbnail","none","disabled (default)","getElementById","renderVideoElementDirect","canplay","VIEWABLE","imageUrl","createEventTrackingCallback","loop","muted","hideCurrentTime","24114576NTOGaq","🎬 Video controls setting:","3396OSKtMz","error","11IGiNIE","log","title"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","contain","hidePlayButton","setAttribute","addClickEventForRenderer","Container not found: ","paused","cssText","background","head","mouseleave","position","containerId"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","unmuted","button"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","hideMuteButton"," !important;\n }\n ","346wjfZlJ","🎬 Video metadata loaded, attempting autoplay...","🎬 Video config received:","video","scale(1)","hideFullscreenButton","block","1948025xRHEYW","🎬 Trying muted autoplay fallback...","🎬 Video can play, attempting autoplay...","div","objectFit","🎬 Single video rendered for VIDEO slot: ","alt","click","Click to mute","preload","🎬 Video element created for ad: ","8viSvbZ","adstage-video-default-controls",", loop: ","hideRemainingTime","🎬 User explicitly enabled controls, overriding default","renderAdElement",", muted: ","debug","length"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","src","\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 ","\n video::-webkit-media-controls-play-button {\n display: ","117lkTDdi","\n pointer-events: none;\n "," (autoplay: ","VIDEO","renderMultipleAds","🎬 Single video ad rendered: ","enabled","createElement","textContent","_id","innerHTML","Video fallback","Video","hideVolumeSlider","customControls","style","adstage-video-mute-button","7869438AgDzge","🎬 Auto-play was prevented:"];return(Dt=function(){return t})()}const Rt=Ut;function Bt(){const t=["\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","40748MhitBB","mouseenter","_blank","cssText","Learn More","_id","renderMultipleAds","6hitMvZ","addEventListener","renderAdElement","\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 ","978276FuNcxH","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","className","imageUrl","NATIVE","Native click tracked for ad: ","🏠 Native ad rendered (first of ","containerId","appendChild","button","backgroundColor","916152oDwBYw","div","debug","96IOHWvR","#2563eb","getElementById","Native Advertisement","style","createElement","src","287357dwcDKc","getDefaultHeight","200px","open","click","length","1849080LkZYGj","): ","54931CxUmuF","🏠 Single native ad rendered: ","title","2003949PPimnr","linkUrl","log","mouseleave","textContent"];return(Bt=function(){return t})()}function Ut(t,e){const n=Bt();return(Ut=function(t,e){return n[t-=213]})(t,e)}!function(){const t=Ut,e=Bt();for(;;)try{if(261816===-parseInt(t(251))/1+parseInt(t(222))/2+parseInt(t(218))/3*(parseInt(t(260))/4)+parseInt(t(249))/5+parseInt(t(233))/6+-parseInt(t(243))/7*(parseInt(t(236))/8)+-parseInt(t(254))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Lt extends dt{constructor(e=!1,n){super(t[Ut(226)],e,n)}[Rt(244)](){return Rt(245)}async[Rt(220)](t,e){const n=Rt,s=document[n(238)](t[n(229)]);if(!s)return;const r=document.createElement(n(234));if(r[n(224)]="adstage-ad adstage-native-ad",r.style[n(214)]=n(221),e[n(253)]){const t=document[n(241)]("h3");t[n(258)]=e[n(253)],t.style[n(214)]="\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ",r.appendChild(t)}if(e.textContent){const t=document[n(241)]("p");t[n(258)]=e.textContent,t[n(240)].cssText="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",r[n(230)](t)}if(e[n(225)]){const t=document[n(241)]("div");t[n(240)][n(214)]=n(259);const s=document[n(241)]("img");s[n(242)]=e[n(225)],s.alt=e.title||n(239),s.style.cssText=n(223),t[n(230)](s),r[n(230)](t)}if(e.linkUrl){const t=document[n(241)](n(231));t[n(258)]=n(215),t[n(240)][n(214)]="\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(247),()=>{const t=n;this.advertisementEventTracker&&console[t(256)](t(227)+e[t(216)]),window[t(246)](e[t(255)],t(213))}),t[n(219)](n(261),()=>{const e=n;t[e(240)].backgroundColor=e(237)}),t[n(219)](n(257),()=>{const e=n;t[e(240)][e(232)]="#3b82f6"}),r.appendChild(t)}s.innerHTML="",s[n(230)](r),this.debug&&console[n(256)](n(252)+e[n(216)])}async[Rt(217)](t,e){const n=Rt;e[n(248)]>0?(await this[n(220)](t,e[0]),this[n(235)]&&console.log(n(228)+e[n(248)]+n(250)+t.id)):this[n(235)]&&console.warn("⚠️ No native advertisements available for slot: "+t.id)}}const Mt=Pt;function Nt(){const t=["30rePJDG","fadeOut 0.3s ease-out forwards","#2563eb","#f3f4f6","400px","warn","body","advertisementEventTracker","div","#3b82f6","log","linkUrl","className","INTERSTITIAL","Interstitial click tracked for ad: ","parentNode","545hKxhoc","\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 ","imageUrl","#6b7280","463266LoxvLB","button","mouseleave","🖼️ Interstitial ad closed","Escape","#374151","click","): ","_id","\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 ","adstage-interstitial-overlay","alt","key","containerId","img","adstage-interstitial-styles","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","removeEventListener","108888EZmxsv","554xNSYLg","addEventListener","style","12IdRxRe","⚠️ No interstitial advertisements available for slot: ","appendChild","renderAdElement","1363632OsJPYB","open","backgroundColor","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","_blank","647469PEmKSH","renderMultipleAds","debug","🖼️ Interstitial ad rendered: ","Get Started","11AiknBY","createElement","removeChild","title","closeInterstitial","adstage-interstitial-content","804090lNdgjd","color","getElementById","src","4iqIPMj","getDefaultHeight","animation","textContent","cssText","703157YLPOJf"];return(Nt=function(){return t})()}function Pt(t,e){const n=Nt();return(Pt=function(t,e){return n[t-=349]})(t,e)}!function(){const t=Pt,e=Nt();for(;;)try{if(125203===parseInt(t(371))/1*(parseInt(t(394))/2)+parseInt(t(406))/3*(parseInt(t(349))/4)+-parseInt(t(417))/5+parseInt(t(397))/6*(parseInt(t(354))/7)+-parseInt(t(393))/8+-parseInt(t(375))/9*(parseInt(t(355))/10)+parseInt(t(411))/11*(-parseInt(t(401))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class zt extends dt{constructor(e=!1,n){super(t[Pt(368)],e,n)}[Mt(350)](){return Mt(359)}async[Mt(400)](t,e){const n=Mt;if(!document[n(419)](t[n(388)]))return;const s=document.createElement(n(363));s[n(367)]=n(385),s[n(396)][n(353)]="\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 r=document.createElement("div");r[n(367)]=n(416),r.style[n(353)]="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const i=document[n(412)]("button");if(i.innerHTML="×",i[n(396)][n(353)]=n(384),i[n(395)](n(381),()=>{this[n(415)](s)}),i[n(395)]("mouseenter",()=>{const t=n;i.style[t(403)]="#e5e7eb",i[t(396)][t(418)]=t(380)}),i[n(395)](n(377),()=>{const t=n;i[t(396)][t(403)]=t(358),i[t(396)][t(418)]=t(374)}),e.imageUrl){const t=document[n(412)](n(389));t[n(420)]=e[n(373)],t[n(386)]=e[n(414)]||"Interstitial Advertisement",t[n(396)][n(353)]=n(404),r.appendChild(t)}if(e[n(414)]){const t=document[n(412)]("h2");t[n(352)]=e.title,t.style[n(353)]=n(391),r[n(399)](t)}if(e[n(352)]){const t=document.createElement("p");t[n(352)]=e[n(352)],t[n(396)][n(353)]="\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ",r[n(399)](t)}if(e[n(366)]){const t=document[n(412)](n(376));t[n(352)]=n(410),t[n(396)].cssText=n(372),t[n(395)]("click",()=>{const t=n;this[t(362)]&&console[t(365)](t(369)+e[t(383)]),window[t(402)](e.linkUrl,t(405)),this[t(415)](s)}),t[n(395)]("mouseenter",()=>{const e=n;t[e(396)].backgroundColor=e(357)}),t[n(395)](n(377),()=>{const e=n;t[e(396)][e(403)]=e(364)}),r.appendChild(t)}const o=t=>{const e=n;t[e(387)]===e(379)&&(this[e(415)](s),document[e(392)]("keydown",o))};if(document.addEventListener("keydown",o),s[n(395)](n(381),t=>{const e=n;t.target===s&&this[e(415)](s)}),!document[n(419)](n(390))){const t=document[n(412)]("style");t.id=n(390),t[n(352)]="\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 ",document.head[n(399)](t)}r[n(399)](i),s[n(399)](r),document[n(361)][n(399)](s),this[n(408)]&&console[n(365)](n(409)+e[n(383)])}async[Mt(407)](t,e){const n=Mt;e.length>0?(await this[n(400)](t,e[0]),this[n(408)]&&console[n(365)]("🖼️ Interstitial ad rendered (first of "+e.length+n(382)+t.id)):this[n(408)]&&console[n(360)](n(398)+t.id)}closeInterstitial(t){const e=Mt;t.style[e(351)]=e(356),setTimeout(()=>{const n=e;t.parentNode&&t[n(370)][n(413)](t)},300),this[e(408)]&&console[e(365)](e(378))}}const Ot=Vt;function Vt(t,e){const n=Ft();return(Vt=function(t,e){return n[t-=331]})(t,e)}function Ft(){const t=["renderers","getRenderer","getDefaultHeight","imageUrl","⚠️ Container optimization is only supported for BANNER ads, got: ","adType","size","renderMultipleAds","naturalHeight","renderAdElement","advertisement","renderAdSlider","videoUrl","#f9f9f9","Failed to load image: ","debug","16336uDTbqe","2413491EaoXGN","1lISLvo","BANNER","config","createElement","width","getDefaultHeightForAdType","log","1339118rrRUBA","INTERSTITIAL","190bnmGKk"," Ad","2860ssAWaH","14crDjsA","backgroundColor","border","set","padding","createPlaceholder","appendChild","div","initializeRenderers","2395142WdxULY","VIDEO","block","toLowerCase","onerror","5535016xUvkqq","100%"," renderers","renderOptimizedBannerImage","naturalWidth","8886ouEYDk","calculateOptimalContainerSize","12409281nkmpKa","height","advertisementEventTracker","textContent","style","data-adstage-ad-id","calculateAdSize","TEXT","cover","display","optimizeContainerForBannerAds","setAttribute","warn","renderFallback","isLoaded","renderAd","renderOptimizedBannerImage is only supported for BANNER ads"];return(Ft=function(){return t})()}!function(){const t=Vt,e=Ft();for(;;)try{if(709479===-parseInt(t(355))/1*(-parseInt(t(376))/2)+parseInt(t(354))/3+parseInt(t(353))/4+parseInt(t(366))/5*(-parseInt(t(386))/6)+parseInt(t(367))/7*(-parseInt(t(381))/8)+-parseInt(t(388))/9+parseInt(t(364))/10*(parseInt(t(362))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _t{constructor(t=!1,e){const n=Vt;this[n(337)]=new Map,this[n(352)]=t,this.advertisementEventTracker=e||null,this[n(375)]()}[Ot(375)](){const e=Ot;this.renderers.set(t[e(356)],new ht(this.debug,this[e(390)])),this[e(337)][e(370)](t.TEXT,new St(this.debug,this[e(390)])),this.renderers.set(t[e(377)],new Ct(this.debug,this.advertisementEventTracker)),this[e(337)][e(370)](t.NATIVE,new Lt(this.debug,this[e(390)])),this[e(337)][e(370)](t[e(363)],new zt(this.debug,this[e(390)])),this[e(352)]&&console[e(361)]("🏭 AdRenderer factory initialized with "+this.renderers[e(343)]+e(383))}createAdElement(e,n){const s=Ot,r=this[s(338)](e[s(342)]),i=document.createElement(s(374));i.className="adstage-ad adstage-"+String(e[s(342)])[s(379)](),i[s(331)](s(393),n._id),i[s(331)]("data-adstage-slot-id",e.id);const{width:o,height:a}=r[s(394)](i,e[s(357)]||{},n);switch(i[s(392)][s(359)]=o,i[s(392)][s(389)]=a,i.style[s(397)]=s(378),e.adType){case t.BANNER:if(n[s(340)]){const t=document[s(358)]("img");t.src=n[s(340)],t[s(392)].width="100%",t.style[s(389)]=s(382),t[s(392)].objectFit=s(396),i[s(373)](t)}break;case t[s(377)]:if(n[s(349)]){const t=document[s(358)]("video");t.src=n[s(349)],t[s(392)][s(359)]=s(382),t[s(392)].height=s(382),i[s(373)](t)}break;case t[s(395)]:if(n[s(391)]){const t=document.createElement("div");t[s(391)]=n.textContent||"",t.style[s(371)]="8px",i[s(373)](t)}break;default:i.style[s(369)]="1px dashed #ccc",i[s(392)][s(368)]=s(350),i.textContent=e[s(342)]+s(365)}return i}[Ot(338)](t){const e=this[Ot(337)].get(t);if(!e)throw new Error("No renderer found for ad type: "+t);return e}createPlaceholder(t,e,n,s,r){const i=Ot;this.getRenderer(n)[i(372)](t,e,s,r)}async[Ot(398)](e,n){const s=Ot;if(e[s(342)]!==t.BANNER)return void(this[s(352)]&&console[s(332)](s(341)+e[s(342)]));const r=this[s(338)](t.BANNER);await r.optimizeContainerForBannerAds(e,n)}async[Ot(348)](t,e){const n=Ot,s=this.getRenderer(t[n(342)]);await s[n(344)](t,e)}async[Ot(335)](t){const e=Ot;if(!t[e(347)])throw new Error("No advertisement to render");const n=this.getRenderer(t.adType);await n[e(346)](t,t[e(347)]),t[e(334)]=!0}async renderAdElement(t,e){const n=Ot,s=this[n(338)](t[n(342)]);await s[n(346)](t,e)}[Ot(333)](t){const e=Ot;this[e(338)](t[e(342)])[e(333)](t)}[Ot(360)](t){const e=Ot;return this[e(338)](t)[e(339)]()}[Ot(394)](t,e,n,s){const r=Ot;return this.getRenderer(e)[r(394)](t,n,s)}loadImageDimensions(t){return new Promise((e,n)=>{const s=Vt,r=new Image;r.onload=()=>{const t=Vt;e({width:r[t(385)],height:r[t(345)]})},r[s(380)]=()=>{n(new Error(s(351)+t))},r.src=t})}async[Ot(384)](e,n,s){const r=Ot;if(s[r(342)]!==t[r(356)])throw new Error(r(336));const i=this[r(338)](t[r(356)]);return await i[r(384)](e,n,s)}async[Ot(387)](e,n,s){const r=Ot;if(s!==t[r(356)]){const t=this[r(338)](s);return{width:r(382),height:t[r(339)](),aspectRatio:16/9}}const i=this[r(338)](t[r(356)]);return await i[r(387)](e,n)}log(t,...e){const n=Ot;this[n(352)]&&console[n(361)]("[AdRenderer] "+t,...e)}}const Kt=Ht;function jt(){const t=["removedNodes","config","API key not configured","warn","_isReady","hideControls","get","create","renderAdElement","loop","VIEWABLE"," removed","renderAdSlider","banner","data-adstage-slot-id","✅ Simple viewable impression tracked for ad ","4256185pdNyLo","getConfig","INTERSTITIAL","🎠 Slider will handle VIEWABLE events for ","country","native","Auto-cleanup failed for slot ","🚫 Advertisement not found with ID: ","광고 생성 중 오류 발생:","getBaseUrl","muted","createAd","Failed to fetch ad data: ","fetchAdData","now","destroyModule","destroy","interstitial","auto","maxLines","text","550461eCUXcS","getAttribute","random","❌ Failed to find element for viewability tracking: ","trackAdvertisementEvent","ms... (attempt ","advertisement","🗑️ Ad slot destroyed: ","onClick","autoplay","adType","Container not found: ","detail","undefined","[data-adstage-slot-id]","autoDestroy","customControls","_config","📊 Fetched specific ad with ID: ","100%","Container not found after ","handleRemovedElement","log","status","createPlaceholder","slots","getElementById","createAdInternal","115mBoJsI","✅ Ad loaded for slot: ","GET","autoSlide","set","createAdWithRetry","setupAutoCleanup","New advertisement viewable tracked for slot:","disconnect","substr","adstage-","adRenderer","values","playsinline","adId","startSimpleViewabilityTracking","3130chyVOb","viewabilityTracker","setAttribute","from"," ads automatically","loadAdContentInBackground","❌ Failed to track viewable impression:","refreshAdSlot","then","refresh","advertisements","16bnKRnK","deviceType","append","isLoaded","12VDDIBt","toString","slideInterval","🎯 Ads module initialized (sync mode) with auto-cleanup","getSlotById","📊 Fetched ","renderFallback","default","height","🎯 Simple viewability tracking started for slot: ","Failed to refresh ad slot: ","apiKey","ELEMENT_NODE","language","Ad slot not found: ","body","🔍 Auto-cleanup MutationObserver enabled","delete","14174604sDKgaN","_id","handleViewableEvent","string","VIDEO","controls","36953IToKqd","debug","clear","width","querySelectorAll","🗑️ Ads module destroyed"," (element found)","innerHTML","mutationObserver","12812380MoyWJQ","890494BDhIPo","12xGfdss","❌ Failed to load ad for slot: ","ensureReady","error","advertisementEventTracker","length","forEach","BANNER","🔄 Ad slot refreshed: ","2344HWfFuj"];return(jt=function(){return t})()}function Ht(t,e){const n=jt();return(Ht=function(t,e){return n[t-=183]})(t,e)}!function(){const t=Ht,e=jt();for(;;)try{if(856886===-parseInt(t(228))/1*(-parseInt(t(244))/2)+parseInt(t(200))/3*(parseInt(t(255))/4)+-parseInt(t(320))/5*(-parseInt(t(259))/6)+-parseInt(t(283))/7*(parseInt(t(303))/8)+-parseInt(t(277))/9+parseInt(t(292))/10+-parseInt(t(293))/11*(-parseInt(t(294))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Wt{constructor(){const t=Ht;this[t(308)]=!1,this[t(217)]=null,this.slots=new Map,this.advertisementEventTracker=null,this.adRenderer=null,this[t(291)]=null}init(t){const e=Ht;this[e(217)]=t,this.advertisementEventTracker=new U(j[e(188)](),t.apiKey,t[e(284)]||!1,this.slots),this[e(239)]=new _t(t.debug||!1,this[e(298)]),this[e(234)](),this[e(308)]=!0,t.debug&&console.log(e(262))}isReady(){return this._isReady}[Kt(321)](){return this[Kt(217)]}[Kt(317)](e,n){const s=Kt;this[s(296)]();const r={width:n?.width||s(219),height:n?.height||s(197),autoSlide:n?.[s(231)]||!1,slideInterval:n?.[s(261)]||5e3,onClick:n?.[s(208)],adId:n?.[s(242)],language:n?.[s(272)],deviceType:n?.[s(256)],country:n?.[s(183)]};return this.createAd(e,t[s(301)],r)}[Kt(199)](e,n){const s=Kt;this[s(296)]();const r={maxLines:n?.[s(198)]||3,style:n?.style||s(266),onClick:n?.[s(208)],adId:n?.[s(242)],language:n?.[s(272)],deviceType:n?.[s(256)],country:n?.[s(183)]};return this.createAd(e,t.TEXT,r)}video(e,n){const s=Kt;this.ensureReady();const r={width:n?.[s(286)]||640,height:n?.[s(267)]||360,autoplay:void 0===n?.[s(209)]||n.autoplay,muted:void 0===n?.[s(189)]||n[s(189)],loop:void 0===n?.[s(313)]||n[s(313)],playsinline:!1!==n?.[s(241)],controls:void 0!==n?.[s(282)]&&n.controls,hideControls:n?.[s(309)]||!1,customControls:n?.[s(216)],autoSlide:!1,maxAds:1,onClick:n?.[s(208)],...n?.[s(242)]&&{adId:n.adId}};return this[s(190)](e,t[s(281)],r)}[Kt(184)](e,n){const s=Kt;return this[s(296)](),this[s(190)](e,t.NATIVE,n||{})}[Kt(196)](e,n){const s=Kt;return this[s(296)](),this[s(190)](e,t[s(322)],n||{})}[Kt(253)](t){const e=Kt;this[e(296)]();const n=this.slots.get(t);if(!n)throw new Error(e(273)+t);this[e(251)](n),this[e(217)]?.[e(284)]&&console[e(222)](e(302)+t)}destroy(t){const e=Kt;this[e(296)]();const n=this[e(225)][e(310)](t);if(!n)throw new Error(e(273)+t);n[e(245)]&&n[e(245)][e(195)]();const s=document.getElementById(n.containerId);s&&(s[e(290)]=""),this[e(225)][e(276)](t),this._config?.[e(284)]&&console[e(222)](e(207)+t)}getAllSlots(){const t=Kt;return this[t(296)](),Array[t(247)](this[t(225)][t(240)]())}[Kt(263)](t){const e=Kt;return this[e(296)](),this[e(225)][e(310)](t)||null}[Kt(190)](t,e,n){const s=Kt;if(!this._config?.[s(270)])throw new Error("API key not configured");const r=s(238)+e+"-"+Date[s(193)]()+"-"+Math[s(202)]()[s(260)](36)[s(237)](2,9);return this.createAdWithRetry(t,e,n,r,0),r}async[Kt(233)](t,e,n,s,r){const i=Kt,o=[0,50,100,200,500];let a,c=null;if(typeof t===i(280)){if(a=t,c=document.getElementById(t),!c)return r<4?(this[i(217)]?.[i(284)]&&console.warn(i(211)+t+". Retrying in "+o[r+1]+i(205)+(r+1)+"/5)"),void setTimeout(()=>{this.createAdWithRetry(t,e,n,s,r+1)},o[r+1])):void console[i(297)](i(220)+5+" attempts: "+t)}else c=t,a=c.id||"auto-"+s,!c.id&&(c.id=a);try{this[i(227)](a,e,n,s,c)}catch(t){console[i(297)](i(187),t)}}[Kt(227)](e,n,s,r,i){const o=Kt;i[o(246)]("data-adstage-slot-id",r),this[o(239)]?.[o(224)](i,r,n,s,this[o(217)]);const a={id:r,containerId:e,adType:n,width:s.width||o(219),height:s.height||(n===t.TEXT?o(197):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(192)](n,s)[o(252)](t=>t[0]||null),render:t=>this[o(239)]?.[o(312)](a,t),refresh:async()=>this[o(251)](a),destroy:()=>this[o(195)](r)};this[o(225)][o(232)](r,a),this[o(249)](a),this[o(298)]&&this[o(217)]?.[o(284)]&&console.log("📊 Advertisement event tracking enabled for slot: "+r)}async[Kt(249)](e){const n=Kt;try{const s=await this[n(192)](e[n(210)],e.config);if(!s||0===s[n(299)])return void this[n(239)]?.[n(265)](e);e.adType===t[n(301)]&&s[n(299)]>0&&await(this[n(239)]?.optimizeContainerForBannerAds(e,s)),s[n(299)]>1||e[n(305)]?.[n(231)]?(await(this[n(239)]?.[n(316)](e,s)),this[n(217)]?.debug&&console[n(222)](n(323)+s.length+n(248))):(e[n(206)]=s[0],await(this[n(239)]?.renderAdElement(e,s[0])),this[n(243)](e,s[0])),e[n(258)]=!0,this[n(217)]?.debug&&console[n(222)](n(229)+e.id+" ("+s[n(299)]+" ads)")}catch(t){console.error(n(295)+e.id,t),this.adRenderer?.[n(265)](e)}}startSimpleViewabilityTracking(t,e){const n=(s=0)=>{const r=Ht,i=document[r(226)](t.id);if(!i)return void(s<5?(setTimeout(()=>n(s+1),300),this[r(217)]?.[r(284)]&&console.log("🔄 Retrying viewability tracking for slot: "+t.id+" (attempt "+(s+1)+")")):console[r(307)](r(203)+t.id));const o=new P(i,async()=>{const n=r;await this[n(279)](e,t)});t[r(245)]=o,this[r(217)]?.[r(284)]&&console[r(222)](r(268)+t.id+r(289))};n()}async[Kt(279)](t,e){const n=Kt;try{this[n(298)]&&(await this.advertisementEventTracker[n(204)](t[n(278)],e.id,o[n(314)]),this[n(217)]?.[n(284)]&&console[n(222)](n(319)+t._id))}catch(t){console[n(297)](n(250),t)}}async fetchAdData(t,e){const n=Kt;if(!this[n(217)]?.[n(270)])throw new Error(n(306));if(e.adId){const t=""+j[n(254)][n(212)](e.adId),s=await fetch(t,{method:n(230),headers:T[n(311)](this[n(217)][n(270)])});if(!s.ok){if(404===s[n(223)])return console.warn(n(186)+e[n(242)]),[];throw new Error(n(191)+s[n(223)])}const r=await s.json();return this[n(217)]?.[n(284)]&&console[n(222)](n(218)+e[n(242)],r),[r]}const s=new URLSearchParams;s[n(257)]("adType",t),e[n(272)]&&s[n(257)]("language",e[n(272)]),e[n(256)]&&s.append(n(256),e[n(256)]),e[n(183)]&&s[n(257)](n(183),e.country);const r=j[n(254)].list()+"?"+s[n(260)](),i=await fetch(r,{method:n(230),headers:T[n(311)](this[n(217)][n(270)])});if(!i.ok)throw new Error(n(191)+i[n(223)]);const o=(await i.json())[n(254)]||[];return this._config?.[n(284)]&&console[n(222)](n(264)+o[n(299)]+" ads for type: "+t+", filters:",{language:e[n(272)],deviceType:e.deviceType,country:e[n(183)]}),o}async refreshAdSlot(t){const e=Kt;try{const n=await this[e(192)](t[e(210)],t[e(305)]||{});n&&n[e(299)]>0&&(t[e(206)]=n[0],await(this[e(239)]?.renderAd(t)),this.advertisementEventTracker&&console[e(222)](e(235),t.id))}catch(n){console.error(e(269)+t.id,n)}}[Kt(296)](){if(!this[Kt(308)])throw new Error("Ads module not initialized. Call AdStage.init() first.")}[Kt(234)](){const t=Kt;typeof window!==t(213)&&typeof document!==t(213)&&(this[t(291)]&&this.mutationObserver[t(236)](),this[t(291)]=new MutationObserver(e=>{const n=t;e[n(300)](t=>{const e=n;t[e(304)].forEach(t=>{const n=e;t.nodeType===Node[n(271)]&&this.handleRemovedElement(t)})})}),this.mutationObserver.observe(document[t(274)],{childList:!0,subtree:!0}),this._config?.debug&&console[t(222)](t(275)))}[Kt(221)](t){const e=Kt,n=t[e(201)](e(318));if(n)return void this[e(215)](n);t[e(287)](e(214))[e(300)](t=>{const n=e,s=t[n(201)]("data-adstage-slot-id");s&&this[n(215)](s)})}[Kt(215)](t){const e=Kt;if(this.slots[e(310)](t))try{this[e(225)][e(276)](t),this._config?.[e(284)]&&console[e(222)]("🧹 Auto-cleanup: slot "+t+e(315))}catch(n){this[e(217)]?.debug&&console[e(307)](e(185)+t+":",n)}}[Kt(194)](){const t=Kt,e=this[t(217)]?.[t(284)];this[t(291)]&&(this[t(291)][t(236)](),this.mutationObserver=null),this[t(225)][t(285)](),this.advertisementEventTracker=null,this.adRenderer=null,this[t(308)]=!1,this[t(217)]=null,e&&console[t(222)](t(288))}}function qt(t,e){var n=Gt();return(qt=function(t,e){return n[t-=418]})(t,e)}var Jt=qt;!function(){for(var t=qt,e=Gt();;)try{if(831135===parseInt(t(450))/1+parseInt(t(420))/2+-parseInt(t(434))/3*(-parseInt(t(447))/4)+-parseInt(t(437))/5*(parseInt(t(422))/6)+-parseInt(t(445))/7*(parseInt(t(426))/8)+-parseInt(t(453))/9*(-parseInt(t(438))/10)+parseInt(t(429))/11*(-parseInt(t(435))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt{constructor(){var t=qt;this[t(430)]=!1,this[t(442)]=null,this[t(425)]=null}[Jt(449)](t){var e=Jt;this._config={timeout:3e4,debug:!1,modules:[e(433),e(439),e(454)],...t},t[e(455)]&&j.setBaseUrl(t[e(455)]),this[e(430)]=!0,t[e(441)]&&console[e(421)]("✅ Config module initialized (sync mode)",{modules:this._config.modules,endpoint:j[e(419)](),mode:e(452)})}[Jt(436)](){return this[Jt(430)]}getConfig(){return this[Jt(442)]}[Jt(446)](){return this[Jt(425)]}[Jt(448)](){return j[Jt(419)]()}isDebugMode(){var t=Jt;return this[t(442)]?.[t(441)]||!1}[Jt(423)](){var t=Jt;return this[t(442)]?.[t(427)]||[]}[Jt(418)](t){var e=Jt;return this[e(423)]()[e(444)](t)}updateConfig(t){var e=Jt;if(!this[e(442)])throw new Error(e(432));this._config={...this[e(442)],...t},this[e(428)]()&&console[e(421)](e(424),t)}[Jt(443)](){var t=Jt;if(!this._config?.[t(440)])throw new Error(t(431));return T[t(451)](this[t(442)][t(440)])}}function Gt(){var t=["3ABpDJG","12pGUeaN","isReady","55OoqNBU","60120aEnBkt","events","apiKey","debug","_config","getApiHeaders","includes","11963CaPBfU","getOrganizationInfo","2393448ixlRww","getApiEndpoint","init","700319NmNPiN","create","development","1791ZewuRt","config","baseUrl","isModuleEnabled","getBaseUrl","1731020vIbNfr","log","606618aDxwSf","getEnabledModules","🔄 Config updated","_organizationInfo","5968maZAfn","modules","isDebugMode","1566367MLeMIG","_isReady","API key not available","Config module not initialized","ads"];return(Gt=function(){return t})()}const Yt=Zt;function Qt(){const t=["152746WmAZUt","setDeviceInfo","882085QvANyj","Unknown","getDetailedInfo","Desktop Web","getDeviceInfo","width","2hhkcUC","7195874OftXMm","platform","toLowerCase","test","getViewportInfo","iOS","SSR","9QEMIkr","546942sspeFa","Android","0x0","language","clearDeviceInfo","other","ios","mobile","getPlatform","1617148jWyEGm","_userProvidedDeviceInfo","getUserDeviceInfo","ko-KR","isBrowser","isMobile","cookieEnabled","android","setDeviceProperty","8919080OjNPeS","6jhDFwr","9725216xVwglW","userAgent","Mobile Web","height","mapPlatformForEvents","tablet","desktop"];return(Qt=function(){return t})()}function Zt(t,e){const n=Qt();return(Zt=function(t,e){return n[t-=121]})(t,e)}!function(){const t=Zt,e=Qt();for(;;)try{if(833934===-parseInt(t(159))/1*(-parseInt(t(151))/2)+parseInt(t(124))/3+-parseInt(t(133))/4+parseInt(t(153))/5*(-parseInt(t(143))/6)+-parseInt(t(160))/7+parseInt(t(144))/8*(parseInt(t(123))/9)+parseInt(t(142))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{static[Yt(157)](){const t=Yt;return{...$t.getAutoDetectedDeviceInfo(),...$t[t(134)]}}static getAutoDetectedDeviceInfo(){const t=Yt;if(!y[t(137)]())return{category:t(129),platform:"SSR",model:t(122),osVersion:t(122)};const e=navigator.userAgent[t(162)]();let n=t(150);/tablet|ipad/[t(163)](e)?n=t(149):S[t(138)]()&&(n=t(131));const s=S[t(132)]();return{category:n,platform:$t[t(148)](s),model:navigator[t(161)],osVersion:navigator.platform}}static[Yt(152)](t){$t._userProvidedDeviceInfo={...$t._userProvidedDeviceInfo,...t}}static[Yt(141)](t,e){$t._userProvidedDeviceInfo[t]=e}static[Yt(128)](){$t._userProvidedDeviceInfo={}}static[Yt(135)](){return{...$t[Yt(134)]}}static[Yt(148)](t){const e=Yt;switch(t){case e(130):return e(121);case e(140):return e(125);case"web":return e(146);case e(150):return e(156);default:return e(154)}}static[Yt(155)](){const t=Yt;if(!y[t(137)]())return{userAgent:t(122),language:t(136),platform:t(122),cookieEnabled:!1,onLine:!0,screenResolution:"0x0",viewportSize:t(126)};const e=y[t(164)]();return{userAgent:navigator[t(145)],language:navigator[t(127)]||t(136),platform:navigator[t(161)],cookieEnabled:navigator[t(139)],onLine:navigator.onLine,screenResolution:screen[t(158)]+"x"+screen[t(147)],viewportSize:e[t(158)]+"x"+e.height}}}$t._userProvidedDeviceInfo={};const te=ne;function ee(){const t=["77WycjLr","1734CMuvyx","setUserProperty","setUserProperties","estimateLocation","UTC","6472147WAVtCA","3602JBCbzM","split","isBrowser","clearUserProperties","4697540LRzREk","_userProperties","1102575EbhGPE","2049592kxJWep","extractCountryFromLanguage","DateTimeFormat","442506esGOse","ko-KR","8ydnUOo","12kcFXdt","getCurrentUserProperties","3349835zgOzAB","9ccWRDq","resolvedOptions"];return(ee=function(){return t})()}function ne(t,e){const n=ee();return(ne=function(t,e){return n[t-=190]})(t,e)}!function(){const t=ne,e=ee();for(;;)try{if(809574===-parseInt(t(198))/1+-parseInt(t(192))/2*(parseInt(t(211))/3)+parseInt(t(204))/4*(parseInt(t(207))/5)+parseInt(t(202))/6*(parseInt(t(210))/7)+-parseInt(t(199))/8*(parseInt(t(208))/9)+parseInt(t(196))/10+parseInt(t(191))/11*(parseInt(t(205))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{static getUserInfo(){const t=ne;return{...se.getBaseUserInfo(),...se[t(197)]}}static getBaseUserInfo(){const t=ne;if(!y[t(194)]())return{language:t(203),country:"KR"};const e=navigator.language||t(203);return{language:e,country:se[t(200)](e)}}static[te(200)](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[te(193)]("-")[0]]||"KR"}static[te(213)](t){const e=te;se[e(197)]={...se[e(197)],...t}}static[te(212)](t,e){se._userProperties[t]=e}static[te(195)](){se[te(197)]={}}static[te(206)](){return{...se[te(197)]}}static[te(214)](){const t=te;if(!y[t(194)]())return{timezone:t(190),estimatedCountry:"KR"};const e=Intl[t(201)]()[t(209)]().timeZone;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 re(t,e){const n=oe();return(re=function(t,e){return n[t-=265]})(t,e)}se[te(197)]={};const ie=re;function oe(){const t=["setItem","clearUserId","7242296gjTUIH","1450mFqKaG","834974xnbOkN","adstage_user_id","removeItem","session_","getSessionId","adstage_session_id","getItem","64941yTNKrq","6973551Xdjonc","70lsPSWP","now","974207PWqMAl","isNewSession","isBrowser","getUserId","random","adstage_session_start","refreshSession","3791652ffzqYe","_sessionStartTime","getSessionInfo","isSessionExpired","3306tUpDuK","_userId","getSessionDuration","substr"];return(oe=function(){return t})()}!function(){const t=re,e=oe();for(;;)try{if(556159===-parseInt(t(266))/1+parseInt(t(294))/2*(parseInt(t(292))/3)+-parseInt(t(273))/4+parseInt(t(284))/5*(parseInt(t(277))/6)+-parseInt(t(285))/7+parseInt(t(283))/8+parseInt(t(293))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ae{static[ie(289)](){const t=ie;if(!y[t(268)]())return"ssr_session_"+Date[t(265)]();const e=sessionStorage[t(291)](t(290));if(e)return e;const n=t(288)+Math[t(270)]().toString(36)[t(280)](2,9)+"_"+Date.now();return sessionStorage.setItem(t(290),n),!ae[t(274)]&&(ae[t(274)]=Date[t(265)](),y[t(268)]()&&sessionStorage[t(281)]("adstage_session_start",String(ae[t(274)]))),n}static setUserId(t){const e=ie;ae._userId=t,y[e(268)]()&&localStorage[e(281)](e(286),t)}static getUserId(){const t=ie;if(ae[t(278)])return ae._userId;if(y[t(268)]()){const e=localStorage.getItem(t(286));if(e)return ae[t(278)]=e,e}}static[ie(282)](){const t=ie;ae._userId=void 0,y[t(268)]()&&localStorage.removeItem(t(286))}static[ie(275)](){const t=ie,e=ae[t(289)](),n=ae[t(269)](),s=ae.isNewSession();return{sessionId:e,userId:n,sessionDuration:ae[t(279)](),isNewSession:s}}static[ie(267)](){const t=ie;if(!y.isBrowser())return!0;const e=sessionStorage[t(291)]("adstage_session_id"),n=sessionStorage.getItem(t(271));return!e||!n}static getSessionDuration(){const t=ie;if(!y[t(268)]())return 0;const e=sessionStorage[t(291)](t(271));return e?Date[t(265)]()-parseInt(e,10):0}static[ie(272)](){const t=ie;return y[t(268)]()&&(sessionStorage[t(287)](t(290)),sessionStorage.removeItem(t(271))),ae[t(274)]=void 0,ae[t(289)]()}static[ie(276)](t=24){return ae[ie(279)]()>60*t*60*1e3}static getSessionStats(){const t=ie,e=ae[t(289)](),n=ae[t(269)](),s=ae[t(279)](),r=ae[t(276)](),i=ae[t(267)]();let o;if(y[t(268)]()){const e=sessionStorage[t(291)](t(271));o=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:o,duration:s,isExpired:r,isNewSession:i}}}const ce=le;function de(){const t=["✅ Event tracked:","events","👤 User ID set:","241680BVXKXc","isReady","16297616KWtEeH","1299420oYJqgo","📱 Device info set:","getUserId","_isReady","32ftaKCw","debug","📱 Device property set:","setUserId","284433OxQEOf","1859109LIVgPl","📱 User provided device info cleared","getUserInfo","484014PMhQiR","👤 User properties set:","apiKey","error","getUserDeviceInfo","getSessionId","clearDeviceInfo","Event data:","getDeviceInfo","setDeviceProperty","2283305IJlKiC","API key not configured for event tracking.","setDeviceInfo","log","❌ Failed to track event:","getCurrentUserProperties","Events module not initialized. Call AdStage.init() first.","setUserProperties","sendEventToServer","getConfig","_config","Event tracking failed: ","track","warn"];return(de=function(){return t})()}function le(t,e){const n=de();return(le=function(t,e){return n[t-=467]})(t,e)}!function(){const t=le,e=de();for(;;)try{if(387383===-parseInt(t(501))/1+-parseInt(t(474))/2+-parseInt(t(470))/3*(parseInt(t(508))/4)+-parseInt(t(484))/5+-parseInt(t(504))/6+parseInt(t(471))/7+parseInt(t(503))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ue{constructor(){const t=le;this._isReady=!1,this[t(494)]=null}init(t){const e=le;this._config=t,this[e(507)]=!0,t.debug&&console[e(487)]("📊 Events module initialized")}[ce(502)](){return this[ce(507)]}[ce(493)](){return this[ce(494)]}[ce(469)](t){const e=ce;ae[e(469)](t),this[e(494)]?.debug&&console[e(487)](e(500),t)}[ce(506)](){return ae[ce(506)]()}[ce(491)](t){const e=ce;se[e(491)](t),this[e(494)]?.debug&&console[e(487)](e(475),t)}getUserProperties(){return se[ce(489)]()}[ce(486)](t){const e=ce;$t[e(486)](t),this[e(494)]?.[e(467)]&&console[e(487)](e(505),t)}[ce(483)](t,e){const n=ce;$t[n(483)](t,e),this[n(494)]?.[n(467)]&&console.log(n(468),t,e)}[ce(480)](){const t=ce;$t[t(480)](),this[t(494)]?.[t(467)]&&console[t(487)](t(472))}getUserDeviceInfo(){return $t[ce(478)]()}[ce(482)](){return $t[ce(482)]()}[ce(473)](){return se.getUserInfo()}[ce(489)](){return se[ce(489)]()}async[ce(496)](t,e){const n=ce;if(this._isReady)if(this._config?.[n(476)])try{const s={eventName:t,userId:ae[n(506)](),sessionId:ae[n(479)](),sdkVersion:'"3.0.7"',device:$t[n(482)](),user:se.getUserInfo(),params:e||{}};await this[n(492)](s),this[n(494)][n(467)]&&console[n(487)](n(498),t,e)}catch(s){console[n(477)](n(488),s),this[n(494)][n(467)]&&console[n(477)](n(481),{eventName:t,properties:e})}else console[n(497)](n(485));else console[n(497)](n(490))}async sendEventToServer(t){const e=ce,n=await fetch(j[e(499)][e(496)](),{method:"POST",headers:{...T.create(this[e(494)][e(476)]),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(495)+n.status+" "+n.statusText)}}const pe=he;function he(t,e){const n=fe();return(he=function(t,e){return n[t-=273]})(t,e)}function fe(){const t=["events","224653NlVOgR","...","_isInitialized","1111818XbGnUU","viewableTracker","120950eqRFLW","clear","log","setBaseUrl","_config","substring","API key is required for AdStage initialization","1670910xNixKD",")의 viewable 추적 초기화됨","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","🚀 AdStage SDK initialized (sync mode)","11547LSORnb","clearAdViewable","2296WAtiFO","1584188SINcjV","apiKey","size","ads","reset","config","7UHXYVq","getInstance","development","✅ AdStage Debug: 광고 ","AdStage not initialized. Call AdStage.init() first.","110zAKKlD","🌐 API endpoint configured:","debug","getConfig","📊 AdStage Debug: 현재 viewable 추적 상태","init","baseUrl","from","instance","function","603199riIPiL","2NFkkcj"];return(fe=function(){return t})()}!function(){const t=he,e=fe();for(;;)try{if(317791===-parseInt(t(311))/1*(parseInt(t(312))/2)+-parseInt(t(274))/3+parseInt(t(290))/4+parseInt(t(276))/5+-parseInt(t(283))/6*(-parseInt(t(296))/7)+parseInt(t(289))/8*(parseInt(t(287))/9)+-parseInt(t(301))/10*(-parseInt(t(314))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=he;this[t(273)]=!1,this[t(280)]=null,this[t(295)]=new Xt,this[t(293)]=new Wt,this[t(313)]=new ue}static[pe(306)](t){const e=pe;!ge[e(309)]&&(ge[e(309)]=new ge);const n=ge[e(309)];if(!t[e(291)])throw new Error(e(282));n[e(280)]={timeout:3e4,debug:!1,modules:[e(293),e(313),"config"],...t},n[e(280)].baseUrl&&(j[e(279)](n[e(280)][e(307)]),t[e(303)]&&console[e(278)](e(302),n._config.baseUrl));const s=n[e(280)].modules||["ads",e(313),e(295)];for(const t of s){const s=n[t];s&&typeof s.init===e(310)&&s[e(306)](n._config)}n[e(273)]=!0,t.debug&&console.log(e(286),{version:"2.0.0",modules:s,apiKey:t.apiKey[e(281)](0,8)+e(315),mode:e(298)})}static isReady(){const t=pe;return ge[t(309)]?.[t(273)]||!1}static[pe(304)](){const t=pe;return ge[t(309)]?.[t(280)]||null}static[pe(297)](){const t=pe;if(!ge[t(309)])throw new Error(t(300));return ge[t(309)]}static get[pe(293)](){const t=pe;return ge.getInstance()[t(293)]}static get[pe(313)](){const t=pe;return ge[t(297)]()[t(313)]}static get[pe(295)](){const t=pe;return ge.getInstance()[t(295)]}static[pe(294)](){const t=pe;ge[t(309)]&&(ge[t(309)][t(273)]=!1,ge.instance._config=null)}}function me(){var t=["3110724CuGKiJ","setUserId","3VnsmkD","881786QuBteh","7UOrgpK","track","1613860UrOecR","resolve","warn","598958TYXoqh","5539473iXiMco","setUserProperties","23500NhpjMa","AdStage not initialized. Call AdStage.init() first.","2437288enkZvx","getUserId","isReady","events"];return(me=function(){return t})()}function Ie(t,e){var n=me();return(Ie=function(t,e){return n[t-=162]})(t,e)}ge[pe(303)]={clearAllViewable:()=>{const t=pe;st[t(277)](),console[t(278)](t(285))},clearAdViewable:(t,e)=>{const n=pe;st[n(288)](t,e),console[n(278)](n(299)+t+"("+e+n(284))},getViewableStatus:()=>{const t=pe;console[t(278)](t(305),{trackedCount:st[t(275)][t(292)],trackedItems:Array[t(308)](st.viewableTracker)})}},function(){for(var t=Ie,e=me();;)try{if(539208===parseInt(t(165))/1+-parseInt(t(177))/2*(-parseInt(t(176))/3)+parseInt(t(168))/4+parseInt(t(162))/5+-parseInt(t(174))/6+parseInt(t(178))/7*(parseInt(t(170))/8)+-parseInt(t(166))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ve=h.createContext(null);function ye(){const t=h.useContext(ve);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function be(){var t=["420806sfjAWG","5KYKZBB","1390918kUbqzQ","4955946hlTNMf","7ihDJdb","4142888HxWBbl","789165OIHJvS","550080pypqvY","3028590tqCrDW"];return(be=function(){return t})()}function we(t,e){var n=be();return(we=function(t,e){return n[t-=456]})(t,e)}!function(){for(var t=we,e=be();;)try{if(438562===-parseInt(t(464))/1+-parseInt(t(457))/2+-parseInt(t(461))/3+parseInt(t(462))/4+-parseInt(t(456))/5*(-parseInt(t(458))/6)+-parseInt(t(459))/7*(-parseInt(t(460))/8)+parseInt(t(463))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ke=Ee;function Ee(t,e){const n=Se();return(Ee=function(t,e){return n[t-=285]})(t,e)}!function(){const t=Ee,e=Se();for(;;)try{if(699901===parseInt(t(286))/1*(parseInt(t(300))/2)+-parseInt(t(290))/3*(parseInt(t(298))/4)+parseInt(t(297))/5*(parseInt(t(294))/6)+-parseInt(t(295))/7*(-parseInt(t(296))/8)+-parseInt(t(287))/9+parseInt(t(299))/10*(-parseInt(t(291))/11)+-parseInt(t(292))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const xe=[ke(293),"events",ke(288)];function Se(){const t=["4356ALLboM","1490CHAapU","1497278MMbjRN","AdStage","1veLmJF","1281366eaThQy","config","undefined","324vZxxnz","18458WrHyJO","2912148zrXyRN","ads","402ANacoO","1002183UhLCGm","16wsvvrm","31165EifyNB"];return(Se=function(){return t})()}typeof window!==ke(289)&&(window[ke(285)]=ge),exports.AdStage=ge,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[r,i]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&ge.reset(),ge.init(t),i(t),s(!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),s(!1),i(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:r,initialize:c,reset:()=>{try{ge.reset(),s(!1),i(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(ve.Provider,{value:d,children:t})},exports.SDK_VERSION="2.0.0",exports.SUPPORTED_MODULES=xe,exports.getUserId=function(){var t=Ie;if(ge[t(172)]())return ge[t(173)][t(171)]();console[t(164)](t(169))},exports.getUserProperties=function(){var t=Ie;if(ge[t(172)]())return ge[t(173)].getUserProperties();console[t(164)]("AdStage not initialized. Call AdStage.init() first.")},exports.setUserId=function(t){var e=Ie;ge[e(172)]()?ge.events[e(175)](t):console[e(164)](e(169))},exports.setUserProperties=function(t){var e=Ie;ge[e(172)]()?ge[e(173)][e(167)](t):console.warn(e(169))},exports.track=function(t,e){var n=Ie;return ge.isReady()?ge[n(173)][n(179)](t,e):(console[n(164)](n(169)),Promise[n(163)]())},exports.useAdStageContext=ye,exports.useAdStageInstance=function(){const{isInitialized:t}=ye();return t?ge:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
1
+ "use strict";var t,e,n,s,i,r,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(){var t=["TABLET","VIEWABLE","NATIVE","POPUP","VIDEO","1664tcqjrc","1345553GdwLbB","10TlAMpa","DESKTOP","935163nGSucR","165856ywXcyD","INTERSTITIAL","9956892TMhVDI","127099svMMXC","MOBILE","TEXT","44550qKGCEv","WEB","CLICK","BANNER","222IMcnZl","16SaPwNw","45WXcCpU","314hgFTmN"];return(f=function(){return t})()}function g(t,e){var n=f();return(g=function(t,e){return n[t-=478]})(t,e)}function m(){const t=["getElementById",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"2631219PtwdPZ","title","ms 경과)","110EzlngQ","loading","innerHeight","querySelector","scrollTop","번 시도)","undefined","pageXOffset","from","appendChild","getWindowProperty","✅ 컨테이너 발견: ","waitForElements","devicePixelRatio","min","getComputedStyle","safeRemoveClass","safeCreateElement","waitForElement","safeQuerySelector","DOMContentLoaded","forEach","log","isBrowser","safeRemoveEventListener","2408329qhKere"," (최대 ","78JsEJyq","64948VAwmYN","innerWidth","canUseDOM","86178YHZetI","isSSR","removeEventListener","safeGetElementById","ceil","href","safeSetInnerHTML","waitForDOM","11115024CLaPaJ","getDocumentProperty","9140346sgNyNX","documentElement","readyState","all","safeAddClass","classList","safeAppendChild","setProperty","7tlPXcr","8GQvIFT","location","getViewportInfo","pageYOffset","entries","✅ 컨테이너 즉시 발견: ","safeQuerySelectorAll","isDOMReady","⏳ 컨테이너 대기 중: ","innerHTML","textContent","⏳ 컨테이너 대기 시작: ","safeGetComputedStyle","addEventListener",'❌ 컨테이너를 찾을 수 없습니다: "',"50FEyPjE","safeAddEventListener",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"referrer","6690rCyuUK"];return(m=function(){return t})()}!function(){for(var t=g,e=f();;)try{if(369082===-parseInt(t(480))/1*(-parseInt(t(486))/2)+-parseInt(t(490))/3+parseInt(t(478))/4*(parseInt(t(497))/5)+-parseInt(t(501))/6*(parseInt(t(494))/7)+parseInt(t(491))/8*(parseInt(t(479))/9)+parseInt(t(488))/10*(parseInt(t(487))/11)+parseInt(t(493))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=g)(500)]=n(500),e[n(484)]="POPUP",e[n(492)]=n(492),e[n(483)]=n(483),e.VIDEO=n(485),e.TEXT=n(496),(i=s||(s={}))[(r=g)(498)]=r(498),i[r(495)]=r(495),(a=o||(o={}))[(c=g)(482)]=c(482),a[c(499)]=c(499),(l=d||(d={}))[(u=g)(489)]=u(489),l[u(495)]=u(495),l[u(481)]=u(481);const I=v;function v(t,e){const n=m();return(v=function(t,e){return n[t-=390]})(t,e)}!function(){const t=v,e=m();for(;;)try{if(602565===parseInt(t(417))/1*(parseInt(t(450))/2)+-parseInt(t(420))/3+parseInt(t(451))/4*(parseInt(t(423))/5)+parseInt(t(454))/6*(parseInt(t(397))/7)+parseInt(t(398))/8*(parseInt(t(464))/9)+parseInt(t(413))/10*(-parseInt(t(448))/11)+parseInt(t(462))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static isBrowser(){const t=v;return typeof window!==t(429)&&typeof document!==t(429)}static[I(455)](){return!this[I(446)]()}static canUseDOM(){const t=I;return this[t(446)]()&&void 0!==document[t(391)]}static[I(457)](t){const e=I;return this[e(453)]()?document[e(418)](t):null}static[I(442)](t){const e=I;return this[e(453)]()?document[e(426)](t):null}static[I(404)](t){const e=I;return this.canUseDOM()?Array[e(431)](document.querySelectorAll(t)):[]}static[I(440)](t){return this[I(453)]()?document.createElement(t):null}static[I(414)](t,e,n,s){const i=I;this[i(453)]()&&t&&t[i(411)](e,n,s)}static[I(447)](t,e,n,s){const i=I;this.canUseDOM()&&t&&t[i(456)](e,n,s)}static[I(433)](t,e){return this[I(446)]()?window[t]??e:e}static[I(463)](t,e){return this[I(453)]()?document[t]??e:e}static safeWindowOpen(t,e,n){return this.isBrowser()?window.open(t,e,n):null}static[I(410)](t){const e=I;return this[e(446)]()&&t?window[e(438)](t):null}static[I(405)](){const t=I;return!!this[t(453)]()&&document[t(391)]!==t(424)}static[I(461)](){return new Promise(t=>{const e=v;this.canUseDOM()?this[e(405)]()?t():this.safeAddEventListener(document,e(443),()=>t()):t()})}static safeApplyStyles(t,e){const n=I;this.canUseDOM()&&t&&Object[n(402)](e)[n(444)](([e,s])=>{const i=n;t.style[i(396)](e,s)})}static[I(393)](t,e){const n=I;this[n(453)]()&&t&&t[n(394)].add(e)}static[I(439)](t,e){const n=I;this.canUseDOM()&&t&&t[n(394)].remove(e)}static safeSetTextContent(t,e){const n=I;this[n(453)]()&&t&&(t[n(408)]=e)}static[I(460)](t,e){const n=I;this.canUseDOM()&&t&&(t[n(407)]=e)}static[I(395)](t,e){const n=I;this[n(453)]()&&t&&e&&t[n(432)](e)}static safeRemoveChild(t,e){this[I(453)]()&&t&&e&&t.removeChild(e)}static getPageInfo(){const t=I;return{url:this[t(433)](t(399),{href:""})[t(459)],title:this[t(463)](t(421),""),referrer:this[t(463)](t(416),"")}}static[I(400)](){const t=I;return{width:this[t(433)](t(452),0),height:this[t(433)](t(425),0),pixelRatio:this[t(433)](t(436),1)}}static getScrollInfo(){const t=I;return{scrollTop:this.canUseDOM()?window[t(401)]||document[t(390)][t(427)]:0,scrollLeft:this[t(433)](t(430),0)}}static async[I(441)](t,e={}){const n=I,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this[n(453)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const o=document[n(418)](t);return o?(r&&console[n(445)](n(403)+t),o):(r&&console[n(445)](n(409)+t+n(449)+s+"ms)"),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(458)](s/i),l=()=>{const n=a;c++;const u=document[n(418)](t);if(u)return r&&console[n(445)](n(434)+t+" ("+c+"번째 시도, "+c*i+n(422)),void e(u);if(c>=d){const e=n(412)+t+n(415)+t+n(419)+s+"ms ("+c+n(428);return r&&console.error(e),void o(new Error(e))}r&&c%10==0&&console[n(445)](n(406)+t+" ("+c+"/"+d+")");const p=Math[n(437)](i*Math.pow(1.2,c),500);setTimeout(l,p)};setTimeout(l,i)}))}static async[I(435)](t,e={}){const n=I,s=t.map(t=>this[n(441)](t,e));return Promise[n(392)](s)}}const b=w;function w(t,e){const n=E();return(w=function(t,e){return n[t-=404]})(t,e)}!function(){const t=w,e=E();for(;;)try{if(540306===-parseInt(t(411))/1*(-parseInt(t(418))/2)+-parseInt(t(416))/3*(parseInt(t(415))/4)+-parseInt(t(413))/5*(parseInt(t(419))/6)+-parseInt(t(409))/7+parseInt(t(410))/8*(parseInt(t(414))/9)+-parseInt(t(407))/10*(parseInt(t(405))/11)+parseInt(t(412))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const k=b(417);function x(){return k}function E(){const t=["6ZdngOX"," AdStageSDK/","388487OlbxVP","AdStageSDK/","290dcaYSH","userAgent","3686473aMfRsi","2048dbxOrs","828431BGQAxm","9517848hqicwp","337055qjbKdE","23418KieNzo","516592jlCABp","3uMlSNd",'"3.0.9"',"2yDrcPQ"];return(E=function(){return t})()}function S(t,e){const n=T();return(S=function(t,e){return n[t-=257]})(t,e)}const A=S;function T(){const t=["connection","platform","5337608DTPwcJ","278925fEDNKk","SSR","getScrollInfo",",y:","getViewportInfo","test","safeQuerySelector","substr","adstage_session_id","ssr_device_","pixelRatio","110hIvBXh","getItem","web","unknown","userAgent","width","7kzFRwU","toString","desktop","701335ylFtJQ",'[data-adstage-slot-id="',"isMobile","session_","6879690liiPdm","DateTimeFormat","effectiveType","adstage_device_id","generateDeviceId","setItem","isBrowser","163935XKUqeI","top","now","random","safeGetElementById","7959032gPdqST","getBoundingClientRect","device_","android","toLowerCase","getPlatform","colorDepth","round","2oLSTHq","resolvedOptions","language","generateSessionId"," .adstage-slider-wrapper","84327daToaJ"];return(T=function(){return t})()}!function(){const t=S,e=T();for(;;)try{if(755642===-parseInt(t(296))/1+parseInt(t(291))/2*(parseInt(t(300))/3)+-parseInt(t(299))/4+parseInt(t(267))/5+parseInt(t(271))/6+parseInt(t(264))/7*(parseInt(t(283))/8)+-parseInt(t(278))/9*(parseInt(t(258))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class C{static[A(275)](){const t=A;if(!y[t(277)]())return t(309)+Date[t(280)]();const e=localStorage.getItem("adstage_device_id");if(e)return e;const n=t(285)+Math[t(281)]()[t(265)](36).substr(2,9)+"_"+Date[t(280)]();return localStorage[t(276)](t(274),n),n}static[A(294)](){const t=A;if(!y[t(277)]())return"ssr_session_"+Date.now();const e=sessionStorage[t(259)](t(308));if(e)return e;const n=t(270)+Math.random().toString(36)[t(307)](2,9)+"_"+Date[t(280)]();return sessionStorage[t(276)]("adstage_session_id",n),n}static[A(269)](){const t=A;return!!y.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(305)](navigator[t(262)])}static[A(288)](){const t=A;if(!y[t(277)]())return t(260);const e=navigator.userAgent[t(287)]();return/iphone|ipad|ipod/.test(e)?"ios":/android/[t(305)](e)?t(286):C[t(269)]()?"web":t(266)}static collectDeviceInfo(){const t=A,e=y[t(304)]();return{deviceId:C.generateDeviceId(),sessionId:C[t(294)](),osVersion:y.isBrowser()?navigator.platform:t(301),deviceModel:y[t(277)]()?navigator[t(298)]:"SSR",appVersion:"1.0.0",sdkVersion:x(),language:y[t(277)]()&&navigator[t(293)]||"ko",country:"KR",ipAddress:"",userAgent:y.isBrowser()?navigator.userAgent:"SSR",timezone:y[t(277)]()?Intl[t(272)]()[t(292)]().timeZone:"UTC",viewportWidth:e.width,viewportHeight:e.height,screenWidth:y[t(277)]()?screen[t(263)]:0,screenHeight:y.isBrowser()?screen.height:0,colorDepth:y[t(277)]()?screen[t(289)]:24,pixelRatio:e[t(257)],connectionType:y[t(277)]()?navigator[t(297)]?.[t(273)]||"unknown":t(261),platform:C[t(288)]()}}static getSlotPosition(t){const e=A;let n=y[e(282)](t);if(!n){const s=y.safeQuerySelector("#"+t+e(295));s&&(n=s)}if(!n&&(n=y[e(306)](e(268)+t+'"]')),!n)return"unknown";const s=n[e(284)](),i=y[e(302)]();return"x:"+Math.round(s.left)+e(303)+Math[e(290)](s[e(279)]+i.scrollTop)}}const L=z;function B(){const t=["35670740TiEOLq","userAgent","528CCNKSA","2539140fZRZsX","10984ZLsgQJ","226392McHZMO","create","5077270ceWOOb","User-Agent","798716JgjELV","undefined","122334QbqMbh","createForEvents","490arkvIW","API key is required","application/json","243yZoatr","contentType"];return(B=function(){return t})()}function z(t,e){const n=B();return(z=function(t,e){return n[t-=344]})(t,e)}!function(){const t=z,e=B();for(;;)try{if(770206===parseInt(t(358))/1+parseInt(t(353))/2*(parseInt(t(351))/3)+-parseInt(t(352))/4+parseInt(t(356))/5+parseInt(t(360))/6*(parseInt(t(344))/7)+-parseInt(t(354))/8*(-parseInt(t(347))/9)+-parseInt(t(349))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{static[L(355)](t,e){const n=L;if(!t)throw new Error(n(345));const s={"x-api-key":t,"Content-Type":e?.[n(348)]||n(346)};return typeof navigator!==n(359)&&(s[n(357)]=e?.userAgent||navigator[n(350)]),s}static[L(361)](t,e){const n=L,s=P.create(t);return e?.userAgent&&(s[n(357)]=e[n(350)]),s}}const D=R;function U(){const t=["debug","apiKey","248938OBAEQb","⚠️ DOM element not found for slotId: ","log","now"," for ad ","deviceId","status","🚀 AdvertisementEventTracker: Processing ","height","trackAdvertisementEvent","substring","679893sZnxtF","replace","600018Dvclat","url","collectDeviceInfo","title","188IdDHYz","warn","VIEWABLE"," (containerId: ","baseUrl","API request failed: ","getPageInfo","28ZJLDQj"," in slot ",'[data-adstage-slot-id="',"636544gYwqyH","getSlotPosition","error","/advertisements/events/","length","❌ Failed to track advertisement event:","referrer","string","🔍 Debug info:","🌐 Full API call details:","text","✅ Successfully tracked advertisement event: ","querySelector","number","stringify","createForEvents","NOT_SET",". Skipping event tracking to prevent incorrect adType.","slots","width","13814046VczSHN","⚠️ Slot not found for slotId: ","sessionId","get","containerId","📡 API Response Status: ","58045jgcuWP","1096680fCHbHL","🚀 Sending advertisement event: ","statusText"];return(U=function(){return t})()}function R(t,e){const n=U();return(R=function(t,e){return n[t-=407]})(t,e)}!function(){const t=R,e=U();for(;;)try{if(312659===-parseInt(t(426))/1+parseInt(t(439))/2+-parseInt(t(437))/3+parseInt(t(443))/4*(-parseInt(t(420))/5)+-parseInt(t(421))/6+parseInt(t(450))/7*(-parseInt(t(453))/8)+parseInt(t(414))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{constructor(t,e,n,s){const i=R;this[i(447)]=t,this[i(425)]=e,this[i(424)]=n,this[i(412)]=s}async[D(435)](t,e,n){const s=D;try{this[s(424)]&&console[s(428)](s(433)+n+" event for ad "+t+s(451)+e);const i=this.slots[s(417)](e);if(!i)return void(this[s(424)]&&console[s(444)](s(415)+e+s(411)));if(!(document.getElementById(i.containerId)||document[s(465)](s(452)+e+'"]')))return void(this.debug&&console.warn(s(427)+e+s(446)+i[s(418)]+"). Skipping event tracking."));const r=C[s(441)](),a={adType:i.adType,platform:r.platform,deviceId:r[s(431)],deviceInfo:r,pageUrl:y[s(449)]()[s(440)],pageTitle:y[s(449)]()[s(442)],referrer:y[s(449)]()[s(459)],slotId:e,slotPosition:C[s(454)](i[s(418)]),slotWidth:M.parseNumericValue(i[s(413)]),slotHeight:M.parseNumericValue(i[s(434)]),sessionId:r[s(416)],pageLoadTime:performance[s(429)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date.now()},...n===o[s(445)]&&{isViewable:!0,iabCompliant:!0}},c=this.baseUrl+s(456)+t+"/"+n,d=P[s(409)](this.apiKey,a);this[s(424)]&&(console[s(428)](s(422)+n+s(430)+t,{url:c,headers:d,eventData:a}),console[s(428)](s(462),{method:"POST",url:c,hasApiKey:!!this.apiKey,bodySize:JSON.stringify(a)[s(457)]}));const l=await fetch(c,{method:"POST",headers:d,body:JSON[s(408)](a)});if(this[s(424)]&&console.log(s(419)+l.status+" "+l[s(423)],{url:c,ok:l.ok}),!l.ok){const t=await l[s(463)]();throw new Error(s(448)+l[s(432)]+" "+l[s(423)]+" - "+t)}this[s(424)]&&console[s(428)](s(464)+n+s(430)+t)}catch(i){console[s(455)](s(458),i),console[s(455)](s(461),{baseUrl:this[s(447)],apiKey:this.apiKey?this[s(425)][s(436)](0,8)+"...":s(410),url:this[s(447)]+s(456)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static parseNumericValue(t){const e=D;if(typeof t===e(407))return t;if(typeof t===e(460)){const n=parseFloat(t[e(438)](/px$/,""));return isNaN(n)?0:n}return 0}}function V(t,e){var n=O();return(V=function(t,e){return n[t-=429]})(t,e)}var N=V;function O(){var t=["observe","warn","76taErev","6586728BSQMUG","initIntersectionObserver","onViewableCallback","1179345MrnPdB","visibilityState","handleIntersection","2912426mzPwIm","IntersectionObserver not supported, viewability tracking disabled","disconnect","130NodHwR","isDocumentVisible","visible","51868GLSXnB","472HjtBhT","220FGKxOM","48buGlca","805338zdueAx","observer","intersectionRatio","IntersectionObserver","forEach","isViewableTriggered","59487etUtLV","85582OexELV"];return(O=function(){return t})()}!function(){for(var t=V,e=O();;)try{if(593183===parseInt(t(436))/1+-parseInt(t(432))/2*(parseInt(t(455))/3)+-parseInt(t(445))/4*(-parseInt(t(447))/5)+parseInt(t(433))/6+-parseInt(t(429))/7*(-parseInt(t(446))/8)+-parseInt(t(449))/9*(parseInt(t(442))/10)+parseInt(t(439))/11*(-parseInt(t(448))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class H{constructor(t,e){var n=V;this[n(450)]=null,this[n(454)]=!1,this.element=t,this[n(435)]=e,this.initIntersectionObserver()}[N(434)](){var t=N;t(452)in window?(this.observer=new IntersectionObserver(e=>this[t(438)](e),{threshold:.5,rootMargin:"0px"}),this[t(450)][t(430)](this.element)):console[t(431)](t(440))}[N(438)](t){var e=N;t[e(453)](t=>{var n=e;t[n(451)]>=.5&&this[n(443)]()&&!this[n(454)]&&(this.isViewableTriggered=!0,this[n(435)]&&this.onViewableCallback())})}isDocumentVisible(){var t=N;return!document.hidden&&document[t(437)]===t(444)}destroy(){var t=N;this[t(450)]&&(this[t(450)][t(441)](),this[t(450)]=null)}}const F=j;!function(){const t=j,e=X();for(;;)try{if(649618===parseInt(t(203))/1+parseInt(t(204))/2+parseInt(t(216))/3*(-parseInt(t(199))/4)+-parseInt(t(212))/5*(-parseInt(t(210))/6)+parseInt(t(219))/7*(-parseInt(t(206))/8)+-parseInt(t(220))/9+parseInt(t(211))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const _={production:F(205),beta:F(202)};F(214);const K={advertisements:{list:F(218),detail:"/advertisements",events:F(209)},events:{track:F(208)}};function j(t,e){const n=X();return(j=function(t,e){return n[t-=199]})(t,e)}function X(){const t=["15199020mLsMVI","5405MgvoMH","getBaseUrl","production","events","12249FUFiIh","baseUrl","/advertisements/list","7992509eCSJBv","3989943IgImnW","custom","track","1172pzinQP","advertisements","list","https://beta-api.adstage.app","390492WTiYvY","1767896FEQsJp","https://api.adstage.app","8WIfCoP","detail","/events/track","/advertisements/events","3534EtLXFU"];return(X=function(){return t})()}class W{constructor(t){const e=F;this[e(200)]={list:()=>""+this[e(217)]+K[e(200)][e(201)],detail:t=>""+this[e(217)]+K[e(200)][e(207)]+"/"+t,events:(t,n)=>""+this[e(217)]+K[e(200)][e(215)]+"/"+t+"/"+n},this[e(215)]={track:()=>""+this[e(217)]+K.events[e(222)]},this[e(217)]=t||_[e(214)]}setBaseUrl(t){this[F(217)]=t}[F(213)](){return this[F(217)]}[F(221)](t){return""+this.baseUrl+(t.startsWith("/")?t:"/"+t)}}const G=new W;var q=J;function Y(){var t=["36834WUUIVH","_id","🎯 Triggering VIEWABLE event for slide change: ad ","log","3BeFoqZ","1500qDiLBr","3000oYKcaM","7298ZkWPnl","232Asjlfg","20xouyTq","45279DDXjLz","🎯 Triggering initial VIEWABLE event: ad ","657204eCpPmo","trackSlideViewable","trackInitialSlideViewable","146rUVEok","2584148GLTiHY","9778639qHNTkz","VIEWABLE","35167jCvsAz"," (index: ",") in slot: "];return(Y=function(){return t})()}function J(t,e){var n=Y();return(J=function(t,e){return n[t-=343]})(t,e)}!function(){for(var t=J,e=Y();;)try{if(402876===parseInt(t(358))/1*(parseInt(t(344))/2)+parseInt(t(355))/3*(-parseInt(t(345))/4)+-parseInt(t(360))/5*(parseInt(t(363))/6)+parseInt(t(351))/7*(parseInt(t(359))/8)+parseInt(t(361))/9*(parseInt(t(356))/10)+-parseInt(t(348))/11*(-parseInt(t(357))/12)+-parseInt(t(346))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Z{static[q(364)](t,e,n,s,i=!1){var r=q;i&&console[r(354)](r(353)+t[r(352)]+r(349)+n+r(350)+e.id),s(t[r(352)],e.id,o[r(347)])}static[q(343)](t,e,n,s=!1){var i=q;s&&console[i(354)](i(362)+t[i(352)]+" (index: 0) in slot: "+e.id),n(t[i(352)],e.id,o.VIEWABLE)}}function Q(t,e){const n=et();return(Q=function(t,e){return n[t-=345]})(t,e)}const $=Q;!function(){const t=Q,e=et();for(;;)try{if(357207===-parseInt(t(349))/1*(parseInt(t(372))/2)+parseInt(t(350))/3*(-parseInt(t(348))/4)+-parseInt(t(360))/5*(parseInt(t(365))/6)+parseInt(t(367))/7+parseInt(t(354))/8*(-parseInt(t(351))/9)+parseInt(t(366))/10+parseInt(t(363))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static[$(374)](t,e,n,s,i=!1,r){const a=$;e[a(364)]&&(t.style[a(369)]=a(346),t[a(376)](a(353),t=>{const c=a;if(t[c(362)](),t[c(356)](),s&&s(e[c(375)],n.id,o.CLICK),window.open(e[c(364)],"_blank"),i){const t=r||String(n[c(370)]).toLowerCase();console.log(c(368)+t+c(357)+e[c(375)]+" -> "+e[c(364)])}}))}static addClickEventForRenderer(t,e,n,s,i=!1,r){const a=$;e.linkUrl&&(t[a(347)].cursor=a(346),t[a(376)](a(353),t=>{const c=a;t[c(362)](),t[c(356)]();if(s()(e[c(375)],n.id,o[c(359)]),window.open(e.linkUrl,c(373)),i){const t=r||String(n.adType)[c(345)]();console[c(371)]("🔗 "+t+c(357)+e[c(375)]+c(358)+e[c(364)])}}))}static[$(361)](t,e,n,s,i=!1,r){this[$(374)](t,e,n,s,i,r)}static[$(352)](t){return Boolean(t[$(364)])}static addClickEventsBatch(t,e,n,s,i=!1,r){const o=$;t[o(355)]((t,a)=>{const c=o,d=e[a];d&&this[c(374)](t,d,n,s,i,r)})}}function et(){const t=["CLICK","10lDMAiy","addClickEventForSlider","preventDefault","19123434loyYKP","linkUrl","1103358zpxHOP","4252990mRnVEK","3380433PKnYal","🔗 ","cursor","adType","log","6JiwgCZ","_blank","addClickEvent","_id","addEventListener","toLowerCase","pointer","style","112HrJKxT","226653tnTBWS","69873PDeXGr","5306508HjbXSI","isClickable","click","8GaTTcG","forEach","stopPropagation"," ad clicked: "," -> "];return(et=function(){return t})()}const nt=st;function st(t,e){const n=it();return(st=function(t,e){return n[t-=125]})(t,e)}function it(){const t=["Text Ad","videoUrl","toLowerCase","backgroundColor","cssText","transition","background","objectFit","#f9f9f9","includes","addTouchSupport","100%","div","mouseleave","setProperty","fontSize","padding","0.7","adstage-slide-container","cover","textContent",".adstage-dot","createSimpleAdElement","active","entries","borderColor","src","adstage-dot","2609890QLHGTY","forEach","imageUrl","inline-block","1px solid #666","Banner Ad","block","createElement","BANNER","0.9","removeChild","TEXT","\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 ","hidden","#999999","1287282toJgil","#cccccc","7hIseoB","transform 0.4s ease-out","4563940uhUuCF","appendChild","height","_id","setAttribute","mouseenter","1195745uatfTc","auto","click","img","normal","4481860rIzRMZ","touches","display","string","overflow","8px","getBoundingClientRect","744UlZkvX","classList","281763QyvcAz","adType","translateX(-","abs","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","autoSlideInterval","border","Video Ad","touchstart","querySelectorAll","width","100px","1344294xRyCAZ","addClickEventForSlider","preventDefault","remove","className","addEventListener","none","children","style","50px","color","#000","opacity","clientX","video","body","createSliderContainer","1px dashed #ccc","center","trackSlideViewable","length","createMinimalDotIndicator","#666666","flex","contains"];return(it=function(){return t})()}!function(){const t=st,e=it();for(;;)try{if(856327===-parseInt(t(204))/1+-parseInt(t(179))/2+parseInt(t(194))/3+-parseInt(t(209))/4+parseInt(t(198))/5+-parseInt(t(126))/6*(-parseInt(t(196))/7)+parseInt(t(216))/8*(parseInt(t(218))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[nt(173)](e,n){const s=nt,i=document.createElement(s(163));switch(i[s(130)]="adstage-ad adstage-"+String(e[s(219)])[s(153)](),i[s(202)]("data-adstage-ad-id",n[s(201)]),i.setAttribute("data-adstage-slot-id",e.id),i.style.display=s(185),i[s(134)].width=s(162),i[s(134)][s(200)]=s(205),e.adType){case t[s(187)]:if(n[s(181)]){const t=document[s(186)](s(207));t[s(177)]=n[s(181)],t[s(134)][s(228)]=s(162),t[s(134)].height="auto",t[s(134)][s(158)]=s(170),i[s(199)](t)}else i.style[s(200)]=s(125),i.style[s(154)]="#f0f0f0",i.style.border=s(143),i.textContent=s(184);break;case t.VIDEO:if(n.videoUrl){const t=document[s(186)](s(140));t[s(177)]=n[s(152)],t[s(134)].width=s(162),t.style.height=s(205),i[s(199)](t)}else i.style.height="200px",i[s(134)][s(154)]=s(137),i.style[s(224)]=s(183),i.textContent=s(225),i.style[s(136)]="white";break;case t[s(190)]:if(n[s(171)]){const t=document[s(186)]("div");t[s(171)]=n[s(171)]||"",t[s(134)][s(167)]=s(214),t.style[s(166)]="14px",i[s(199)](t)}else i[s(134)][s(200)]=s(135),i[s(134)][s(167)]=s(214),i[s(171)]=s(151);break;default:i[s(134)].height="100px",i[s(134)][s(224)]=s(143),i[s(134)][s(154)]=s(159),i[s(171)]=e[s(219)]+" Ad"}return i}static[nt(142)](e,n,s,i,r=!1){const o=nt,a=document[o(186)](o(163));a[o(130)]="adstage-slider-wrapper";const c={position:"relative",overflow:o(192)};if(e[o(228)]&&0!==e[o(228)]){let t;t=typeof e[o(228)]===o(212)&&(e[o(228)][o(160)]("px")||e[o(228)].includes("%"))?e[o(228)]:e[o(228)]+"px",c[o(228)]=t,c[o(211)]=o(182)}else c[o(211)]=o(182);if(e[o(200)]&&0!==e[o(200)]){const t=typeof e[o(200)]===o(212)?e[o(200)]:e.height+"px";c.height=t}Object[o(175)](c).forEach(([t,e])=>{const n=o;a[n(134)][n(165)](t,e)});const d=!e[o(228)]||0===e[o(228)],l=!e[o(200)]||0===e[o(200)];if(d||l){const t=document[o(186)](o(163));if(t[o(134)].cssText=o(222),!d&&e.width){let n;n=typeof e[o(228)]===o(212)&&(e.width[o(160)]("px")||e.width[o(160)]("%"))?e[o(228)]:e[o(228)]+"px",t[o(134)].width=n,t.style.whiteSpace=o(208)}document.body.appendChild(t);let s=0,i=0;n[o(180)](n=>{const r=o,a=this[r(173)](e,n);t[r(199)](a);const c=a[r(215)]();c.width>s&&(s=c.width),c.height>i&&(i=c[r(200)]),t.removeChild(a)}),d&&s>0&&(a[o(134)][o(228)]=s+"px",c.width=s+"px"),l&&i>0&&(a[o(134)][o(200)]=i+"px",c[o(200)]=i+"px"),document[o(141)][o(189)](t)}const u=[...n,n[0]],p=document.createElement(o(163));p[o(130)]=o(169);const h={display:o(149),transition:o(197),width:100*u.length+"%"};e[o(200)]&&0!==e[o(200)]&&(h.height="100%"),Object[o(175)](h)[o(180)](([t,e])=>{const n=o;p[n(134)][n(165)](t,e)}),u[o(180)]((t,n)=>{const s=o,a=document[s(186)]("div");a[s(130)]="adstage-slide";const c={width:100/u[s(146)]+"%","flex-shrink":"0",display:"flex","align-items":s(144),"justify-content":"center"};e[s(200)]&&0!==e.height&&(c.height=s(162)),Object.entries(c)[s(180)](([t,e])=>{const n=s;a.style[n(165)](t,e)});const d=this[s(173)](e,t);tt[s(127)](d,t,e,i,r,String(e[s(219)])[s(153)]()),a[s(199)](d),p.appendChild(a)});const f=n.every(e=>e[o(219)]===t[o(190)])?null:this[o(147)](n[o(146)]);let g=0;const m=n[o(146)],I=1e3*(s?.[o(223)]||3),v=(t,s=!1)=>{const a=o;g=t,s?p[a(134)][a(156)]=a(132):p.style[a(156)]=a(197),p[a(134)].transform=a(220)+100/u[a(146)]*g+"%)";const c=g===m?0:g;if(f){f[a(227)](a(172)).forEach((t,e)=>{const n=a,s=t;e===c?(s[n(217)].add(n(174)),s[n(134)][n(157)]="#666666",s.style[n(176)]=n(148),s[n(134)].opacity="1"):(s[n(217)][n(129)]("active"),s.style[n(157)]="transparent",s[n(134)][n(176)]=n(195),s[n(134)][n(138)]="0.7")})}Z[a(145)](n[c],e,c,i,r)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f.querySelectorAll(".adstage-dot")[o(180)]((t,e)=>{const n=o;t.addEventListener(n(206),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[o(131)](o(203),()=>{clearInterval(b)}),a[o(131)](o(164),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(161)](p,v,()=>g,m,y),a[o(199)](p),f&&a[o(199)](f),v(0),(!e[o(228)]||0===e.width)&&setTimeout(()=>{const t=o,n=p[t(133)][0];if(n){const s=n[t(133)][0];if(s){const n=s[t(215)]();a[t(134)][t(228)]=n[t(228)]+"px",(!e[t(200)]||0===e[t(200)])&&(a[t(134)].height=n.height+"px"),a.style[t(213)]=t(192)}}},10),a}static[nt(147)](t){const e=nt,n=document[e(186)](e(163));n.className="adstage-dots",n[e(134)][e(155)]="\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ";for(let s=0;s<t;s++){const t=document[e(186)]("button");t[e(130)]=e(178),t.style[e(155)]=e(191),t[e(131)]("mouseenter",()=>{const n=e;!t[n(217)][n(150)](n(174))&&(t[n(134)].borderColor=n(193),t.style.opacity=n(188))}),t[e(131)]("mouseleave",()=>{const n=e;!t[n(217)][n(150)]("active")&&(t[n(134)][n(176)]=n(195),t[n(134)][n(138)]=n(168))}),n[e(199)](t)}return n}static[nt(161)](t,e,n,s,i){const r=nt;let o=0,a=!1;t.addEventListener(r(226),t=>{o=t[r(210)][0].clientX,a=!0}),t[r(131)]("touchmove",t=>{a&&t[r(128)]()}),t.addEventListener("touchend",t=>{const c=r;if(!a)return;a=!1;const d=t.changedTouches[0][c(139)],l=o-d;if(Math[c(221)](l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}function ot(t,e){const n=dt();return(ot=function(t,e){return n[t-=165]})(t,e)}const at=ot;!function(){const t=ot,e=dt();for(;;)try{if(389943===parseInt(t(166))/1*(-parseInt(t(182))/2)+parseInt(t(178))/3+-parseInt(t(176))/4+-parseInt(t(165))/5*(-parseInt(t(168))/6)+parseInt(t(172))/7*(parseInt(t(175))/8)+-parseInt(t(171))/9*(parseInt(t(173))/10)+-parseInt(t(170))/11*(parseInt(t(177))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ct{static isDuplicateViewable(t,e,n=!1){const s=ot,i=t+"_"+e;return ct[s(179)].has(i)?(n&&console[s(167)](s(181)+t+s(174)+e),!0):(ct[s(179)][s(180)](i),n&&console.log(s(169)+t+" in slot "+e),!1)}static clear(){const t=ot;ct.viewableTracker[t(183)]()}static clearAdViewable(t,e){const n=t+"_"+e;ct.viewableTracker.delete(n)}}function dt(){const t=["✅ New viewable recorded for ad ","39413JJLdRY","51174jjAZEU","483VsUnAQ","510sSPsWE"," in slot ","58712ItAIHk","806316VApvSL","456EaUKKd","1921557IQorJg","viewableTracker","add","Duplicate viewable blocked for ad ","2OQUSly","clear","827245QtWbBM","294697JUiUGX","log","6fFCNWd"];return(dt=function(){return t})()}function lt(){const t=["isDuplicateViewable","error","cssText","rgba(231, 76, 60, 0.1)","4px","12qJojKe","string","data-adstage-container","#e74c3c","warn","advertisementEventTracker","🔄 Starting advertisement event tracking: ","rgba(0, 0, 0, 0.02)",".adstage-slot","applyPlaceholderStyle","innerHTML"," for ","7168579lwUBqA","❌ Failed to track ","\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 ","adType","closest","data-adstage-type","display"," event",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"42100mqsmxw","invisible","2px dashed #e74c3c","adstage-slot adstage-empty adstage-","31NsGuXg","minimal","rgba(248, 249, 250, 0.5)","opacity","filter","): ","alignItems","getComputedStyle","flex","advertisement","fontSize","createEmptyContainer","adstage-official","📏 Using default height ","log","1835688GKiVcC","3321pkLcFc","adstage-slot adstage-","border","querySelector",'[class*="ad"]',"className","height"," for ad ","true","style",'div[style*="height"]'," container collapsed (","10aHFsst","📊 Advertisement event tracked: ","transparent","setAttribute","classList","auto",'[class*="banner"]',"1900nSIhrv","containerId","createPlaceholder","none","getContainerHeight","9efoRQa","justifyContent","VIEWABLE","placeholderMode","contains","65106gbtaGv","adstage-class","generic","getElementById","calculateAdSize","adstage-slot","debug","createEventTrackingCallback","data-adstage-slot","number","createElement","1px dashed #ccc","getAttribute",") - Mode: ","⚠️ ","📦 Placeholder created for ","data-adstage-empty"," container: "," in slot ","borderRadius","center","3365975fCwijn","div"," event for ad ","parentElement","monospace","toLowerCase","unknown","<span>Loading ","getDefaultHeight",'[data-adstage-container="true"]',"width","backgroundColor","462XkqcvG","100%","fontFamily","px)","appendChild","renderFallback","isEmpty","13481767RiAJgz","color"];return(lt=function(){return t})()}ct[at(179)]=new Set;const ut=pt;function pt(t,e){const n=lt();return(pt=function(t,e){return n[t-=391]})(t,e)}!function(){const t=pt,e=lt();for(;;)try{if(403845===parseInt(t(405))/1*(parseInt(t(401))/2)+parseInt(t(421))/3*(parseInt(t(440))/4)+-parseInt(t(471))/5+parseInt(t(450))/6*(-parseInt(t(483))/7)+parseInt(t(420))/8*(parseInt(t(445))/9)+parseInt(t(433))/10*(-parseInt(t(392))/11)+-parseInt(t(497))/12*(-parseInt(t(490))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht{constructor(t,e=!1,n){this.adType=t,this.debug=e,this.advertisementEventTracker=n||null}[ut(442)](t,e,n,s){const i=ut,r=document[i(460)](i(472));r.id=e,r.className=i(422)+String(this.adType)[i(476)](),r[i(436)](i(499),i(429)),r[i(436)](i(397),String(this[i(395)])),r[i(436)](i(458),e);const{width:o,height:a}=this.calculateAdSize(t,n,s)||{width:i(484),height:this.getDefaultHeight()};r[i(430)][i(481)]=o,r[i(430)][i(427)]=a;const c=s?.[i(448)]||n[i(448)]||i(402);this.applyPlaceholderStyle(r,c),t[i(487)](r),this[i(456)]&&console[i(419)](i(465)+this[i(395)]+" slot: "+e+" ("+o+" x "+a+i(463)+c)}[ut(506)](t,e){const n=ut;switch(e){case n(402):t.style[n(482)]=n(435),t.style[n(423)]="none",t[n(430)][n(408)]="0",t.innerHTML="";break;case n(435):t[n(430)][n(482)]=n(435),t[n(430)][n(423)]=n(443),t[n(430)][n(398)]="block",t.innerHTML="";break;case"subtle":t.style.backgroundColor=n(504),t[n(430)][n(423)]=n(443),t[n(430)][n(469)]=n(496),t[n(430)][n(398)]=n(413),t[n(430)][n(411)]=n(470),t[n(430)][n(446)]=n(470),t.innerHTML='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case n(406):t[n(430)][n(482)]=n(407),t[n(430)][n(423)]="1px solid rgba(0, 0, 0, 0.08)",t.style.borderRadius="6px",t[n(430)][n(398)]=n(413),t.style[n(411)]="center",t.style[n(446)]=n(470),t.innerHTML=n(400);break;case n(456):t[n(430)].border=n(403),t[n(430)][n(398)]=n(413),t[n(430)][n(411)]="center",t[n(430)].justifyContent=n(470),t[n(430)][n(482)]=n(495),t[n(430)][n(491)]=n(500),t.style[n(485)]=n(475),t.style[n(415)]="11px",t[n(507)]="<span>Loading "+this.adType+" ad...</span>";break;default:t[n(430)].border=n(461),t[n(430)][n(398)]=n(413),t[n(430)][n(411)]=n(470),t[n(430)][n(446)]=n(470),t[n(430)][n(482)]="#f9f9f9",t[n(430)][n(491)]="#666",t.innerHTML=n(478)+this[n(395)]+" ad...</span>"}}[ut(454)](t,e,n){const s=ut,i=e.width,r=e[s(427)];let o,a;if(o=typeof i===s(459)?i+"px":typeof i===s(498)?i:s(484),"number"==typeof r)a=r+"px";else if("string"==typeof r&&"100%"!==r&&r!==s(438))a=r;else{const e=this[s(444)](t);e>0?(a=s(484),(n?.[s(456)]||this.debug)&&console[s(419)]("📏 Using 100% height (container: "+e+s(486))):(a=this[s(479)](),(n?.[s(456)]||this[s(456)])&&console[s(419)](s(418)+a+s(391)+this[s(395)]))}return{width:o,height:a}}[ut(444)](t){const e=ut,n=window[e(412)](t),s=parseFloat(n[e(427)]);if(!s||0===s){const s=parseFloat(n.minHeight);if(s>0)return s;if(t[e(430)].height&&"auto"!==t.style.height){const n=parseFloat(t[e(430)][e(427)]);if(n>0)return n}const i=t[e(462)](e(427));if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}[ut(457)](){return async(t,e,n)=>{const s=pt;if(n===o[s(447)]){if(ct[s(492)](t,e,this[s(456)]))return void(this[s(456)]&&console.log("🚫 Duplicate viewable blocked for ad "+t+" in slot "+e));this[s(456)]&&console[s(419)]("✅ New viewable recorded for ad "+t+s(468)+e)}if(this[s(502)])try{this[s(456)]&&console[s(419)](s(503)+n+s(428)+t+s(468)+e),await this[s(502)].trackAdvertisementEvent(t,e,n),this[s(456)]&&console.log(s(434)+n+" for ad "+t+" in slot "+e)}catch(e){this[s(456)]&&console[s(493)](s(393)+n+s(473)+t+":",e)}else this[s(456)]&&console[s(501)]("⚠️ AdvertisementEventTracker not available for "+n+s(399))}}[ut(488)](t){const e=ut,n=document[e(453)](t.id);if(n){const s=[...[n[e(424)]('[data-adstage-container="true"]'),n[e(396)](e(480)),n][e(409)](t=>t&&t.hasAttribute(e(499))),...[n[e(396)](e(505)),n[e(396)](".adstage-"+String(this[e(395)])[e(476)]()),n[e(396)](e(425)),n[e(396)](e(439)),n[e(396)]('[class*="container"]'),n[e(396)](e(431)),n.closest('div[style*="min-height"]'),n[e(474)]].filter(Boolean)][0];if(s){let n=e(477);n=s.hasAttribute("data-adstage-container")?e(417):s[e(437)][e(449)](e(455))?e(451):e(452),s[e(430)][e(494)]+=e(394),s.innerHTML="",s[e(436)]("data-adstage-empty",e(429)),this.debug&&console[e(501)](e(464)+this[e(395)]+e(432)+n+e(410)+t.id,s)}else this.createEmptyContainer(t)}t[e(414)]=void 0,t[e(489)]=!0}[ut(416)](t){const e=ut,n=document.getElementById(t[e(441)]);if(n){n[e(507)]="";const s=document[e(460)]("div");s.id=t.id,s[e(426)]=e(404)+String(this.adType)[e(476)](),s[e(436)](e(499),e(429)),s[e(436)](e(466),e(429)),s.setAttribute(e(458),t.id),s[e(430)][e(494)]="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n[e(487)](s),this[e(456)]&&console[e(501)]("⚠️ Created empty "+this.adType+e(467)+t.id)}}[ut(419)](t,...e){const n=ut;this[n(456)]&&console[n(419)]("["+this[n(395)]+"] "+t,...e)}}const ft=gt;function gt(t,e){const n=mt();return(gt=function(t,e){return n[t-=248]})(t,e)}function mt(){const t=["8826PnHXMW","status","className","max","21guuFNu","borderRadius","forEach","average","📊 Using standard ratio: ","length","contain","150932kWchvv","_id","Banner Advertisement","</div>","📦 Banner container dimensions: ","values","abs","📐 Optimal banner container calculated: ","aspectRatio","objectFit","name","set","optimizeContainerForBannerAds","reduce","warn","BANNER","get","common","30767473htKILp","debug","2037380xkeKDV","createElement","objectPosition","1361592ZHCcbU","fulfilled","src","toString","count","loadImageDimensions","3:2"," ads (optimized: ","250px","125812OCzsUr","display"," (avg: ","createSliderContainer","Banner container optimization failed, using default size:","addClickEventForRenderer","innerHTML","default","renderOptimizedBannerImage","✅ Optimized banner image rendered for ad: "," with ","backgroundColor","Container not found: ","📸 Banner image dimensions: ","❌ Failed to load optimized banner image:","calculateOptimalContainerSize","3235zuUMIG","center","config","9xoqVar","calculateAdSize","dominant","imageUrl","title","optimizedHeight","renderAdElement","style","map","adstage-ad adstage-banner-ad","containerId","applyOptimizedImageStyle","3CDXHzy","slideInterval","selectOptimalSizeStrategy","img","ratio","toFixed",", ratio=","width","16:9","block","height","1558370xRwofV","error","onload","round","Banner Ad","calculateOptimalHeight","12gKTOnZ","getDefaultHeight","appendChild","🎠 Banner carousel created for slot: ","1:1","getElementById","value",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"filter","createEventTrackingCallback","alt","cover","100%","from","Image URL is not provided","getBoundingClientRect","Failed to calculate optimal banner size, using defaults:","4:3","log"];return(mt=function(){return t})()}!function(){const t=gt,e=mt();for(;;)try{if(559935===parseInt(t(287))/1+-parseInt(t(275))/2+parseInt(t(318))/3*(-parseInt(t(255))/4)+-parseInt(t(303))/5*(parseInt(t(354))/6)+parseInt(t(248))/7*(-parseInt(t(278))/8)+-parseInt(t(306))/9*(-parseInt(t(329))/10)+parseInt(t(273))/11*(parseInt(t(335))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It extends ht{constructor(e=!1,n){super(t[gt(270)],e,n)}[ft(336)](){return ft(286)}async[ft(312)](t,e){const n=ft,s=document[n(340)](t[n(316)]);if(!s)return;const i=document[n(276)]("div");i[n(356)]=n(315);const r=t.optimizedHeight,o=s.parentElement||s;if(r)i[n(313)][n(325)]="100%",i[n(313)][n(328)]=String(r);else{const e=t.config,s={width:e?.width,height:e?.height},{width:r,height:a}=this[n(307)](o,s,{debug:this[n(274)]});i[n(313)][n(325)]=r,i[n(313)].height=a}e[n(309)]?await this[n(295)](i,e,t):i[n(293)]="<div>"+(e[n(310)]||n(333))+n(258),tt[n(292)](i,e,t,()=>this[n(344)](),this[n(274)],"Banner"),s.innerHTML="",s[n(337)](i)}async renderMultipleAds(t,e){const n=ft,s=document.getElementById(t.containerId);if(!s)throw new Error(n(299)+t[n(316)]);await this[n(267)](t,e);const i=this.createEventTrackingCallback(),r={autoSlideInterval:(t[n(305)]?.[n(319)]||5e3)/1e3,...t[n(305)],optimizedHeight:t[n(311)],aspectRatio:t.aspectRatio},o=rt[n(290)](t,e,r,i,this.debug);o&&(s.innerHTML="",s.appendChild(o),this[n(274)]&&console.log(n(338)+t.id+n(297)+e[n(253)]+n(285)+(t[n(311)]||n(294))+")"))}async[ft(302)](t,e){const n=ft;if(!t.length)return{width:n(347),height:this.getDefaultHeight(),aspectRatio:16/9};try{const s=(await Promise.allSettled(t[n(343)](t=>t[n(309)]).map(t=>this[n(283)](t[n(309)]))))[n(343)](t=>t[n(355)]===n(279))[n(314)](t=>t[n(341)]);if(0===s[n(253)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};const i=this[n(320)](s),r=this[n(334)](s,e,i);return this[n(274)]&&console[n(353)](n(262)+e+"x"+r+" (strategy: "+i+")"),{width:"100%",height:r+"px",aspectRatio:e/r}}catch(t){return console[n(269)](n(351),t),{width:n(347),height:this[n(336)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=ft;try{const s=document[n(340)](t.containerId),i=document[n(340)](t.id);if(!s||!i)return;const r=s[n(350)]().width||300,o=await this.calculateOptimalContainerSize(e,r);i[n(313)][n(328)]=o.height,t.optimizedHeight=o[n(328)],t[n(263)]=o[n(263)],this[n(274)]&&console.log("🔧 Banner container optimized for "+e[n(253)]+" ads: "+o[n(328)])}catch(t){console[n(269)](n(291),t)}}[ft(320)](t){const e=ft,n=t[e(314)](t=>t.width/t[e(328)]),s=new Map;n[e(250)](t=>{const n=e,i=(Math[n(332)](10*t)/10)[n(281)]();s.set(i,(s[n(271)](i)||0)+1)});const i=Math[e(357)](...s[e(260)]()),r=t[e(253)];if(i/r>=.7)return"dominant";const o=[16/9,4/3,1,1.5];return n[e(343)](t=>o.some(n=>Math[e(261)](t-n)<.1)).length/r>=.5?e(272):"average"}[ft(334)](t,e,n){const s=ft,i=t[s(314)](t=>t[s(325)]/t[s(328)]);switch(n){case s(308):{const t=new Map;i.forEach(e=>{const n=s,i=Math[n(332)](10*e)/10,r=i[n(281)](),o=t[n(271)](r);o?o[n(282)]++:t[n(266)](r,{ratio:i,count:1})});const n=Array[s(348)](t.values())[s(268)]((t,e)=>e[s(282)]>t[s(282)]?e:t);return Math.round(e/n[s(322)])}case s(272):{const t=[{ratio:16/9,name:s(326)},{ratio:4/3,name:s(352)},{ratio:1,name:s(339)},{ratio:1.5,name:s(284)}],n=i[s(268)]((t,e)=>t+e,0)/i.length,r=t[s(268)]((t,e)=>Math[s(261)](e[s(322)]-n)<Math.abs(t[s(322)]-n)?e:t);return this[s(274)]&&console.log(s(252)+r[s(265)]+s(289)+n.toFixed(2)+")"),Math.round(e/r[s(322)])}case s(251):default:{const t=i.reduce((t,e)=>t+e,0)/i[s(253)];return Math[s(332)](e/t)}}}[ft(283)](t){return new Promise((e,n)=>{const s=gt,i=new Image;i[s(331)]=()=>{e({width:i.naturalWidth,height:i.naturalHeight})},i.onerror=()=>{n(new Error("Failed to load image: "+t))},i.src=t})}applyOptimizedImageStyle(t,e,n){const s=ft,i=e/n;Math[s(261)](i-1)<.1?(t[s(313)][s(264)]="cover",t[s(313)][s(277)]=s(304)):i>1.3?(t[s(313)].objectFit=s(254),t[s(313)].objectPosition=s(304),t[s(313)][s(298)]="#f0f0f0"):i<.7?(t.style.objectFit=s(346),t[s(313)].objectPosition=s(304)):(t[s(313)][s(264)]=s(346),t.style[s(277)]=s(304)),this[s(274)]&&console[s(353)]("🎨 Banner image style applied: objectFit="+t[s(313)][s(264)]+s(324)+i[s(323)](2))}async renderOptimizedBannerImage(t,e,n){const s=ft,i=document.createElement(s(321));i.style.width=s(347),i[s(313)].height="100%",i.style[s(288)]=s(327),i[s(313)][s(249)]="8px",i[s(345)]=e[s(310)]||s(257),t.innerHTML=s(342);try{if(!e[s(309)])throw new Error(s(349));const r=await this[s(283)](e[s(309)]),o=t[s(350)](),a=o[s(325)],c=o[s(328)];this[s(274)]&&(console[s(353)](s(300)+r[s(325)]+"x"+r[s(328)]),console[s(353)](s(259)+a+"x"+c));const d=r.width/r[s(328)],l=a/c;return this[s(317)](i,d,l),i[s(280)]=e[s(309)],t[s(293)]="",t[s(337)](i),tt[s(292)](i,e,n,()=>this[s(344)](),this[s(274)],"Banner"),this[s(274)]&&console[s(353)](s(296)+e[s(256)]),i}catch(r){return console[s(330)](s(301),r),e[s(309)]&&(i.src=e.imageUrl,i[s(313)].objectFit=s(346),i[s(313)][s(277)]=s(304),t.innerHTML="",t[s(337)](i),tt[s(292)](i,e,n,()=>this[s(344)](),this[s(274)],"Banner")),i}}}function vt(t,e){const n=bt();return(vt=function(t,e){return n[t-=370]})(t,e)}!function(){const t=vt,e=bt();for(;;)try{if(785806===-parseInt(t(382))/1*(-parseInt(t(370))/2)+parseInt(t(376))/3*(parseInt(t(372))/4)+-parseInt(t(381))/5+parseInt(t(373))/6+parseInt(t(379))/7+-parseInt(t(375))/8*(-parseInt(t(374))/9)+-parseInt(t(378))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class yt{static createTextAdStyles(t=!1){return vt(377)}static setTextAdContent(t,e){const n=vt,s=e[n(371)]||e[n(380)]||"";t[n(371)]=s}}function bt(){const t=["5317242cINHsO","title","4990845OdIsSg","73007khQTFo","22nrjnyL","textContent","9532Bgjxog","363360UoolXX","9ClsrKH","393176MPoGpA","207ucjoCK","\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 ","528420cdjYHm"];return(bt=function(){return t})()}function wt(){const t=["string","4MNHffa","25157968DrOfyI","entries","addClickEventForSlider","preventDefault",";\n left: ","createElement","\n position: relative;\n width: 100%;\n ","height: auto;","touchend","absolute","createTextTransitionContainer","touchstart","99zVXZUL","className","autoSlideInterval","height","changedTouches","_id","clientX","style","includes","data-adstage-ad-id","42vGOBVW","position","\n ","translateY(0)","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","adstage-ad adstage-","addTouchSupport","abs",";\n ","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ",";\n top: ","zIndex","7804920ePYdil","adstage-fade-slide-container","height: 100%;","263252wbsxdO","addEventListener","minHeight","opacity","data-adstage-slot-id","auto","39056StBwHI","297cscyzn","height: auto; min-height: fit-content;","Text","createSimpleAdElement","appendChild","width","removeChild","transform","fit-content","getBoundingClientRect","3584070wYJIxa","\n position: ","left","1340171frLHrp","hidden","push","adstage-fade-slider-wrapper","cssText","top","trackSlideViewable",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","20px","setAttribute","relative","body","whiteSpace","div","adstage-fade-slide","34388AFsZln","clientY","forEach","createTextAdStyles"];return(wt=function(){return t})()}const kt=xt;function xt(t,e){const n=wt();return(xt=function(t,e){return n[t-=424]})(t,e)}!function(){const t=xt,e=wt();for(;;)try{if(698644===-parseInt(t(427))/1*(parseInt(t(465))/2)+parseInt(t(472))/3*(-parseInt(t(500))/4)+-parseInt(t(482))/5+-parseInt(t(450))/6*(-parseInt(t(485))/7)+parseInt(t(471))/8*(-parseInt(t(440))/9)+-parseInt(t(462))/10+parseInt(t(428))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Et{static[kt(475)](t,e){const n=kt,s=document.createElement(n(498));return s[n(441)]=n(455)+String(t.adType).toLowerCase(),s.setAttribute(n(449),e[n(445)]),s[n(494)](n(469),t.id),s[n(447)][n(489)]=yt[n(425)](!0),yt.setTextAdContent(s,e),s}static[kt(438)](t,e,n,s,i=!1){const r=kt,o=t[r(443)]&&0!==t[r(443)]&&"auto"!==t.height,a=document[r(433)](r(498));a.className=r(488);const c={position:r(495),overflow:r(486),display:"block"};if(!o&&(c.height=r(470),c[r(467)]=r(480)),t[r(477)]&&0!==t.width){let e;e="string"==typeof t[r(477)]?t.width.includes("px")||t.width.includes("%")?t[r(477)]:t[r(477)]+"px":t.width+"px",c[r(477)]=e}if(t.height&&0!==t.height&&t.height!==r(470)&&o){let e;e=typeof t.height===r(426)?t[r(443)][r(448)]("px")||t.height[r(448)]("%")?t[r(443)]:t[r(443)]+"px":t.height+"px",c.height=e}Object[r(429)](c)[r(424)](([t,e])=>{a[r(447)].setProperty(t,e)});const d=document.createElement("div");d[r(441)]=r(463),d.style[r(489)]=r(434)+r(o?464:473)+r(452);let l=null;const u=!t.width||0===t[r(477)],p=!t[r(443)]||0===t.height||void 0===t[r(443)]||t[r(443)]===r(470);if(u||p&&o){if(l=document[r(433)]("div"),l[r(447)][r(489)]=r(454),!u&&t[r(477)]){let e;e=typeof t[r(477)]===r(426)&&(t[r(477)][r(448)]("px")||t.width.includes("%"))?t.width:t[r(477)]+"px",l[r(447)].width=e,l.style[r(497)]="normal"}document.body[r(476)](l);let n=0,s=0;e[r(424)](e=>{const i=r,o=this[i(475)](t,e);l[i(476)](o);const a=o[i(481)]();a.width>n&&(n=a.width),a[i(443)]>s&&(s=a[i(443)]),l.removeChild(o)}),u&&n>0&&(a[r(447)][r(477)]=n+"px"),p&&s>0&&o&&(a[r(447)][r(443)]=s+"px"),document[r(496)][r(478)](l)}const h=[];e[r(424)]((e,n)=>{const a=r,c=document[a(433)](a(498));c[a(441)]=a(499);const l=o?"absolute":a(0===n?495:437);c[a(447)][a(489)]=a(483)+l+a(460)+("absolute"===l?"0":a(470))+a(432)+(l===a(437)?"0":a(470))+";\n width: 100%;\n "+a(o?464:435)+a(459)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(493))+a(492)+(0===n?"2":"1")+a(458);const u=this.createSimpleAdElement(t,e);tt[a(430)](u,e,t,s,i,a(474)),c[a(476)](u),d.appendChild(c),h[a(487)](c)});let f=0;const g=e.length,m=1e3*(n?.[r(442)]||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(447)][a(451)]===a(495)&&(c[a(447)][a(451)]=a(437),c[a(447)][a(490)]="0",c.style[a(484)]="0"),d[a(447)].position="relative",d.style[a(490)]="auto",d[a(447)][a(484)]=a(470)),c[a(447)].opacity="0",c[a(447)].transform="translateY(-20px)",c[a(447)].zIndex="1",d[a(447)][a(468)]="1",d.style[a(479)]=a(453),d.style[a(461)]="2",h[a(424)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(447)][s(468)]="0",t[s(447)][s(479)]="translateY(20px)",t[s(447)].zIndex="1",!o&&"relative"===t[s(447)].position&&(t[s(447)][s(451)]=s(437),t[s(447)][s(490)]="0",t[s(447)][s(484)]="0"))}),f=n,Z[a(491)](e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a[r(466)]("mouseenter",()=>{clearInterval(v)}),a.addEventListener("mouseleave",()=>{v=setInterval(()=>{I(f+1)},m)}),Et[r(456)](a,I,()=>f,g),a[r(476)](d),a}static[kt(456)](t,e,n,s){const i=kt;let r=0,o=0,a=!1;t.addEventListener(i(439),t=>{const e=i;r=t.touches[0][e(446)],o=t.touches[0][e(501)],a=!0}),t[i(466)]("touchmove",t=>{a&&t[i(431)]()}),t[i(466)](i(436),t=>{const s=i;if(!a)return;a=!1;const c=t[s(444)][0][s(446)],d=t[s(444)][0][s(501)],l=r-c,u=o-d;if(Math[s(457)](l)>Math[s(457)](u)&&Math[s(457)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const St=Tt;function At(){const t=["renderAdElement","2Gqchab","12NpmYZB","vertical","optimizedHeight","10guqBva","display","7213475GgyvAQ"," ads","calculateAdSize","height","114569YrNPKL","length","_id","overflow","innerHTML","aspectRatio","parentElement","✨ Single text ad rendered: ","adstage-ad adstage-text-ad","cssText","addClickEventForRenderer","getElementById","257671HEeaLL","webkitLineClamp","debug","createTextAdStyles","config","webkitBoxOrient","createEventTrackingCallback","adstage-text-content","log","appendChild","createTextTransitionContainer","hidden","100%","className","Container not found: ","width","div","1372292fkALTP","2045376VwIVoS","slideInterval","TEXT","style","containerId","getDefaultHeight","3477976xYrtSa","402lLIoaX","createElement","56543465PBkVxN","setTextAdContent","Text"," with "];return(At=function(){return t})()}function Tt(t,e){const n=At();return(Tt=function(t,e){return n[t-=351]})(t,e)}!function(){const t=Tt,e=At();for(;;)try{if(824399===-parseInt(t(401))/1*(-parseInt(t(379))/2)+-parseInt(t(380))/3*(parseInt(t(364))/4)+-parseInt(t(385))/5+parseInt(t(372))/6*(-parseInt(t(389))/7)+-parseInt(t(371))/8+-parseInt(t(365))/9+parseInt(t(383))/10*(parseInt(t(374))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct extends ht{constructor(e=!1,n){super(t[Tt(367)],e,n)}[St(370)](){return"60px"}async[St(378)](t,e){const n=St,s=document.getElementById(t[n(369)]);if(!s)return;const i=document.createElement(n(363));i[n(360)]=n(397);const r=t[n(382)],o=s[n(395)]||s;if(r)i[n(368)][n(362)]=n(359),i[n(368)][n(388)]=String(r);else{const e=t[n(351)],s={width:e?.[n(362)],height:e?.height},{width:r,height:a}=this[n(387)](o,s,{debug:this[n(403)]});i[n(368)][n(362)]=r,i[n(368)][n(388)]=a}const a=document[n(373)](n(363));a[n(360)]=n(354),a[n(368)][n(398)]=yt[n(404)](!1),yt[n(375)](a,e);const c=t[n(351)]?.maxLines;c&&"number"==typeof c&&(a[n(368)][n(384)]="-webkit-box",a[n(368)][n(402)]=String(c),a[n(368)][n(352)]=n(381),a.style[n(392)]=n(358)),i[n(356)](a),tt[n(399)](i,e,t,()=>this[n(353)](),this.debug,n(376)),s[n(393)]="",s.appendChild(i),this.debug&&console[n(355)](n(396)+e[n(391)])}async renderMultipleAds(t,e){const n=St,s=document[n(400)](t[n(369)]);if(!s)throw new Error(n(361)+t[n(369)]);const i=this[n(353)](),r={autoSlideInterval:(t[n(351)]?.[n(366)]||5e3)/1e3,...t[n(351)],optimizedHeight:t.optimizedHeight,aspectRatio:t[n(394)]},o=Et[n(357)](t,e,r,i,this.debug);o&&(s.innerHTML="",s.appendChild(o),this[n(403)]&&console[n(355)]("✨ Text transition created for slot: "+t.id+n(377)+e[n(390)]+n(386)))}}const Lt=Bt;function Bt(t,e){const n=Pt();return(Bt=function(t,e){return n[t-=219]})(t,e)}!function(){const t=Bt,e=Pt();for(;;)try{if(516993===-parseInt(t(287))/1*(-parseInt(t(264))/2)+-parseInt(t(242))/3*(parseInt(t(297))/4)+parseInt(t(250))/5*(-parseInt(t(283))/6)+-parseInt(t(236))/7*(parseInt(t(332))/8)+-parseInt(t(259))/9+parseInt(t(304))/10*(parseInt(t(300))/11)+parseInt(t(299))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class zt extends ht{constructor(e=!1,n){super(t[Bt(225)],e,n)}[Lt(261)](){return"360px"}async[Lt(337)](t,e){const n=Lt,s=document[n(290)](t[n(313)]);if(!s)return;const i=document[n(316)](n(221));i[n(317)]=n(301),i.style[n(231)]=n(315),this[n(276)](i,e,t),s[n(305)]="",s[n(282)](i),this[n(274)]&&console[n(326)](n(292)+e[n(255)])}async[Lt(219)](t,e){const n=Lt,s=document[n(290)](t[n(313)]);if(!s)throw new Error("Container not found: "+t[n(313)]);if(e[n(269)]>0){const i=e[0],r=document[n(316)](n(221));r[n(317)]=n(301),r.style[n(231)]=n(309),this.renderVideoElementDirect(r,i,t),s[n(305)]="",s[n(282)](r);const a=this[n(314)]();setTimeout(()=>{a(i._id,t.id,o.VIEWABLE)},100),this[n(274)]&&console.log("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+i[n(255)]+")")}else this[n(274)]&&console[n(267)]("⚠️ No video advertisements available for slot: "+t.id)}[Lt(276)](t,e,n){const s=Lt;t[s(279)][s(270)]=s(319);const i=document.createElement(s(263));i.style.width="100%",i[s(279)][s(258)]=s(275),i.style[s(307)]=s(252),i[s(249)]=s(298);const r=n[s(226)];if(this.debug&&console[s(326)]("🎬 Video config received:",r),i[s(254)]=!1,i.autoplay=!1!==r?.[s(303)],i.muted=!0,i.loop=!1!==r?.[s(247)],this.debug&&console[s(326)](s(328),{autoplay:i[s(303)],muted:i[s(237)],loop:i[s(247)],controls:i[s(254)]}),!1!==r?.[s(232)]&&i[s(280)](s(232),""),!0===r?.[s(254)]&&(i[s(254)]=!0,this[s(274)]&&console[s(326)]("🎬 User explicitly enabled controls, overriding default")),r?.[s(227)])i[s(254)]=!1,i[s(279)][s(231)]+=s(245);else if(r?.[s(289)]){if(i.controls){const t=document.createElement("style");t[s(339)]=s(271)+(r[s(289)][s(273)]?"none":s(312))+s(333)+(r.customControls[s(239)]?s(246):"block")+s(262)+(r[s(289)][s(293)]?s(246):"block")+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(r[s(289)][s(336)]?s(246):s(312))+s(229)+(r.customControls.hideVolumeSlider?s(246):s(312))+s(238)+(r.customControls[s(318)]?s(246):"block")+s(265)+(r[s(289)][s(240)]?s(246):s(312))+s(220),document[s(266)].appendChild(t)}}else if(i.controls){const t=document.createElement(s(279));t.id=s(234),t[s(339)]=s(340),!document[s(290)](s(234))&&document[s(266)][s(282)](t)}this[s(274)]&&console[s(326)](s(222),i[s(254)]?s(230):s(277));const o=document.createElement(s(243));o.className=s(284),o[s(279)][s(231)]=s(306),r?.[s(227)]&&(o[s(279)][s(253)]=s(246));const a=()=>{const t=s,e=t(329);o[t(305)]=i[t(237)]?'\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,o[t(228)]=i[t(237)]?t(331):t(244)};if(a(),o.addEventListener("click",t=>{const e=s;t[e(334)](),i.muted=!i[e(237)],a(),this[e(274)]&&console[e(326)](e(310)+(i[e(237)]?e(237):e(278)))}),o[s(335)](s(285),()=>{const t=s;o[t(279)][t(295)]=t(330),o.style.transform=t(251)}),o[s(335)](s(291),()=>{const t=s;o.style.background=t(235),o[t(279)][t(296)]=t(322)}),e[s(324)]){i[s(268)]=e.videoUrl;const t=()=>{const t=s;i[t(303)]&&i.muted&&i.paused&&i.play().catch(e=>{const n=t;this.debug&&(console[n(267)](n(233),e),console[n(267)](n(281))),i[n(237)]=!0,i.play()[n(256)](t=>{const e=n;this[e(274)]&&console[e(288)](e(311),t)})})};i[s(335)](s(241),()=>{const e=s;this[e(274)]&&console[e(326)](e(248)),t()}),i[s(335)]("canplay",()=>{const e=s;this.debug&&console[e(326)](e(257)),t()}),i.addEventListener(s(223),()=>{const e=s;this[e(274)]&&console[e(326)](e(302)),t()}),setTimeout(()=>{const e=s;this[e(274)]&&console.log(e(321)),t()},100)}else if(e[s(308)]){const n=document[s(316)](s(338));return n[s(268)]=e[s(308)],n[s(279)][s(320)]=s(275),n.style[s(258)]=s(275),n[s(279)].objectFit=s(252),n[s(286)]=e[s(228)]||s(294),void t[s(282)](n)}tt[s(272)](i,e,n,()=>this[s(314)](),this[s(274)],"Video"),i.addEventListener(s(288),i=>{const r=s;if(console.error(r(327),i),e[r(308)]){const s=document.createElement(r(338));s.src=e[r(308)],s[r(279)][r(320)]=r(275),s.style.height="100%",s[r(279)][r(307)]=r(252),s.alt=e[r(228)]||r(294),tt[r(272)](s,e,n,()=>this[r(314)](),this.debug,r(224)),t[r(305)]="",t[r(282)](s)}}),t.appendChild(i),t.appendChild(o),this[s(274)]&&console.log(s(325)+e[s(255)]+s(260)+i[s(303)]+", muted: "+i[s(237)]+s(323)+i[s(247)]+")")}}function Pt(){const t=["🎬 Video controls setting:","loadeddata","Video fallback","VIDEO","config","hideControls","title"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","enabled","cssText","playsinline","🎬 Auto-play was prevented:","adstage-video-default-controls","rgba(0, 0, 0, 0.7)","14sLvpwY","muted"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","hideProgressBar","hideFullscreenButton","loadedmetadata","31635STGjGq","button","Click to mute","\n pointer-events: none;\n ","none","loop","🎬 Video metadata loaded, attempting autoplay...","preload","1152880yUmoKC","scale(1.1)","contain","display","controls","_id","catch","🎬 Video can play, attempting autoplay...","height","4293108oXSzTV"," (autoplay: ","getDefaultHeight"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","video","87956YnAdnS"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","head","warn","src","length","position","\n video::-webkit-media-controls-play-button {\n display: ","addClickEventForRenderer","hidePlayButton","debug","100%","renderVideoElementDirect","disabled (default)","unmuted","style","setAttribute","🎬 Trying muted autoplay fallback...","appendChild","6uVEOWD","adstage-video-mute-button","mouseenter","alt","16ImmQst","error","customControls","getElementById","mouseleave","🎬 Single video ad rendered: ","hideCurrentTime","Video thumbnail","background","transform","172qPWWkq","metadata","13615356VicZEC","319XKJvEx","adstage-video-container","🎬 Video data loaded, attempting autoplay...","autoplay","54830RFlHGv","innerHTML","\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 ","objectFit","imageUrl","\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 ","🔊 Video mute toggled: ","🎬 Autoplay completely failed:","block","containerId","createEventTrackingCallback","\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 ","createElement","className","hideMuteButton","relative","width","🎬 Initial autoplay attempt after timeout...","scale(1)",", loop: ","videoUrl","🎬 Video element created for ad: ","log","Video load failed:","🎬 Final video settings:",'\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 ',"rgba(0, 0, 0, 0.9)","Click to unmute","1277008GzyEWj"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","stopPropagation","addEventListener","hideRemainingTime","renderAdElement","img","textContent","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","renderMultipleAds"," !important;\n }\n ","div"];return(Pt=function(){return t})()}const Dt=Ut;function Ut(t,e){const n=Rt();return(Ut=function(t,e){return n[t-=195]})(t,e)}function Rt(){const t=["backgroundColor","button","linkUrl","src","22VoLYNp","mouseenter","debug","style","499734GHZwOe","click","div","innerHTML","adstage-ad adstage-native-ad","containerId","🏠 Native ad rendered (first of ","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","renderAdElement","title","length","appendChild","#2563eb","): ","#3b82f6","_id","imageUrl","Native click tracked for ad: ","Learn More","4215168TNrfAg","8XPkLpn","getDefaultHeight","addEventListener","270VSsMrr","🏠 Single native ad rendered: ","200px","textContent","log","2412529aBoCYs","advertisementEventTracker","66mUcZIe","createElement","1214055buRLEN","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","Native Advertisement","7127676aeayRz","13863edaHBO","mouseleave","60852epnufG","img","cssText","50mnIiBZ","alt","\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 ","className"];return(Rt=function(){return t})()}!function(){const t=Ut,e=Rt();for(;;)try{if(630475===-parseInt(t(238))/1+parseInt(t(201))/2*(-parseInt(t(242))/3)+-parseInt(t(225))/4+-parseInt(t(229))/5*(parseInt(t(244))/6)+parseInt(t(234))/7*(-parseInt(t(226))/8)+parseInt(t(205))/9*(parseInt(t(247))/10)+parseInt(t(236))/11*(parseInt(t(241))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Mt extends ht{constructor(e=!1,n){super(t.NATIVE,e,n)}[Dt(227)](){return Dt(231)}async[Dt(214)](t,e){const n=Dt,s=document.getElementById(t[n(210)]);if(!s)return;const i=document[n(237)](n(207));if(i[n(196)]=n(209),i[n(204)][n(246)]=n(195),e[n(215)]){const t=document[n(237)]("h3");t.textContent=e.title,t[n(204)][n(246)]="\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ",i[n(217)](t)}if(e[n(232)]){const t=document[n(237)]("p");t[n(232)]=e[n(232)],t[n(204)][n(246)]=n(239),i[n(217)](t)}if(e[n(222)]){const t=document[n(237)]("div");t.style[n(246)]=n(213);const s=document[n(237)](n(245));s[n(200)]=e[n(222)],s[n(248)]=e[n(215)]||n(240),s[n(204)].cssText=n(212),t.appendChild(s),i[n(217)](t)}if(e[n(199)]){const t=document[n(237)](n(198));t[n(232)]=n(224),t[n(204)][n(246)]="\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[n(228)](n(206),()=>{const t=n;this[t(235)]&&console[t(233)](t(223)+e._id),window.open(e[t(199)],"_blank")}),t[n(228)](n(202),()=>{const e=n;t.style.backgroundColor=e(218)}),t[n(228)](n(243),()=>{const e=n;t[e(204)][e(197)]=e(220)}),i[n(217)](t)}s[n(208)]="",s[n(217)](i),this[n(203)]&&console[n(233)](n(230)+e[n(221)])}async renderMultipleAds(t,e){const n=Dt;e[n(216)]>0?(await this[n(214)](t,e[0]),this[n(203)]&&console.log(n(211)+e[n(216)]+n(219)+t.id)):this[n(203)]&&console.warn("⚠️ No native advertisements available for slot: "+t.id)}}const Vt=Nt;function Nt(t,e){const n=Ot();return(Nt=function(t,e){return n[t-=228]})(t,e)}function Ot(){const t=["INTERSTITIAL","70147kdVdIV","1536885bPNtZH","5dkggLG","\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 ","removeEventListener","click","button","91554VIQfWF","2EScGOt","title","head","20zzFaed","open","#2563eb","Escape","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","appendChild","div","88VQmcYx","#f3f4f6","textContent","key","addEventListener","containerId","⚠️ No interstitial advertisements available for slot: ","adstage-interstitial-content","2605744NVCnan","removeChild","renderAdElement","log","createElement","parentNode","Get Started","renderMultipleAds","backgroundColor","advertisementEventTracker","getElementById","innerHTML","adstage-interstitial-overlay","cssText","_blank","adstage-interstitial-styles","linkUrl","\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 ","\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 ","Interstitial click tracked for ad: ","getDefaultHeight","color","🖼️ Interstitial ad rendered: ","924123WGAWhw","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","style","#374151","className","animation","387516KlixPM","Interstitial Advertisement","debug","#6b7280","keydown","307816vrCBGM","): ","img","closeInterstitial","body","mouseenter","_id","#e5e7eb","🖼️ Interstitial ad closed","length","src","63jqxwoQ","\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 ","mouseleave","imageUrl"];return(Ot=function(){return t})()}!function(){const t=Nt,e=Ot();for(;;)try{if(183569===parseInt(t(287))/1+-parseInt(t(295))/2*(-parseInt(t(260))/3)+parseInt(t(271))/4*(parseInt(t(289))/5)+parseInt(t(294))/6*(parseInt(t(282))/7)+-parseInt(t(237))/8+parseInt(t(288))/9*(-parseInt(t(298))/10)+-parseInt(t(229))/11*(-parseInt(t(266))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ht extends ht{constructor(e=!1,n){super(t[Nt(286)],e,n)}[Vt(257)](){return"400px"}async renderAdElement(t,e){const n=Vt;if(!document[n(247)](t[n(234)]))return;const s=document[n(241)](n(228));s[n(264)]=n(249),s[n(262)].cssText=n(283);const i=document.createElement(n(228));i[n(264)]=n(236),i[n(262)][n(250)]=n(254);const r=document[n(241)](n(293));if(r[n(248)]="×",r.style[n(250)]=n(290),r[n(233)](n(292),()=>{this[n(274)](s)}),r[n(233)](n(276),()=>{const t=n;r[t(262)][t(245)]=t(278),r[t(262)][t(258)]=t(263)}),r[n(233)](n(284),()=>{const t=n;r.style[t(245)]=t(230),r[t(262)].color=t(269)}),e[n(285)]){const t=document.createElement(n(273));t[n(281)]=e[n(285)],t.alt=e[n(296)]||n(267),t[n(262)].cssText=n(302),i[n(303)](t)}if(e[n(296)]){const t=document[n(241)]("h2");t[n(231)]=e[n(296)],t[n(262)][n(250)]="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",i[n(303)](t)}if(e.textContent){const t=document[n(241)]("p");t.textContent=e[n(231)],t[n(262)][n(250)]="\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ",i.appendChild(t)}if(e[n(253)]){const t=document.createElement(n(293));t[n(231)]=n(243),t.style.cssText=n(255),t[n(233)](n(292),()=>{const t=n;this[t(246)]&&console[t(240)](t(256)+e[t(277)]),window[t(299)](e.linkUrl,t(251)),this[t(274)](s)}),t[n(233)]("mouseenter",()=>{const e=n;t[e(262)][e(245)]=e(300)}),t.addEventListener(n(284),()=>{const e=n;t[e(262)][e(245)]="#3b82f6"}),i[n(303)](t)}const o=t=>{const e=n;t[e(232)]===e(301)&&(this.closeInterstitial(s),document[e(291)]("keydown",o))};if(document[n(233)](n(270),o),s.addEventListener(n(292),t=>{const e=n;t.target===s&&this[e(274)](s)}),!document[n(247)](n(252))){const t=document[n(241)](n(262));t.id=n(252),t[n(231)]=n(261),document[n(297)][n(303)](t)}i[n(303)](r),s.appendChild(i),document[n(275)][n(303)](s),this[n(268)]&&console[n(240)](n(259)+e[n(277)])}async[Vt(244)](t,e){const n=Vt;e[n(280)]>0?(await this[n(239)](t,e[0]),this[n(268)]&&console.log("🖼️ Interstitial ad rendered (first of "+e[n(280)]+n(272)+t.id)):this.debug&&console.warn(n(235)+t.id)}[Vt(274)](t){const e=Vt;t[e(262)][e(265)]="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(242)]&&t.parentNode[n(238)](t)},300),this[e(268)]&&console.log(e(279))}}const Ft=Kt;function _t(){const t=["advertisement","renderers","padding","1px dashed #ccc","INTERSTITIAL","objectFit","optimizeContainerForBannerAds","renderAdSlider","set","renderFallback","adType","getDefaultHeightForAdType","get","1103538KMKxIE","loadImageDimensions","Failed to load image: ","textContent","naturalHeight","#f9f9f9","5lMBXnA","data-adstage-ad-id","renderAd","log","style","renderAdElement","adstage-ad adstage-"," renderers","appendChild","1089712fbqPsF","[AdRenderer] ","border","createAdElement","BANNER","calculateAdSize","video","size","536710IEledY","isLoaded","createElement","1240686NDTubk","27PoELJS","861160nhKvKR","210yOEgif","calculateOptimalContainerSize","renderOptimizedBannerImage","_id","width","TEXT","2982WrXzQY","7NCYGdO","8px","🏭 AdRenderer factory initialized with ","initializeRenderers","VIDEO","videoUrl","6469944euXwhX","naturalWidth"," Ad","height","advertisementEventTracker","display","getRenderer","img","div","11UAAJPO","100%","onload","onerror","data-adstage-slot-id","debug","No advertisement to render","getDefaultHeight"];return(_t=function(){return t})()}function Kt(t,e){const n=_t();return(Kt=function(t,e){return n[t-=116]})(t,e)}!function(){const t=Kt,e=_t();for(;;)try{if(192511===-parseInt(t(154))/1*(parseInt(t(148))/2)+-parseInt(t(119))/3+parseInt(t(134))/4+parseInt(t(125))/5*(-parseInt(t(145))/6)+-parseInt(t(155))/7*(-parseInt(t(147))/8)+parseInt(t(146))/9*(parseInt(t(142))/10)+-parseInt(t(170))/11*(-parseInt(t(161))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class jt{constructor(t=!1,e){const n=Kt;this[n(179)]=new Map,this.debug=t,this[n(165)]=e||null,this[n(158)]()}[Ft(158)](){const e=Ft;this[e(179)][e(186)](t.BANNER,new It(this[e(175)],this[e(165)])),this[e(179)][e(186)](t.TEXT,new Ct(this[e(175)],this[e(165)])),this[e(179)][e(186)](t[e(159)],new zt(this.debug,this[e(165)])),this[e(179)][e(186)](t.NATIVE,new Mt(this[e(175)],this[e(165)])),this.renderers[e(186)](t[e(182)],new Ht(this[e(175)],this[e(165)])),this.debug&&console[e(128)](e(157)+this[e(179)][e(141)]+e(132))}[Ft(137)](e,n){const s=Ft,i=this.getRenderer(e[s(116)]),r=document[s(144)](s(169));r.className=s(131)+String(e.adType).toLowerCase(),r.setAttribute(s(126),n[s(151)]),r.setAttribute(s(174),e.id);const{width:o,height:a}=i[s(139)](r,e.config||{},n);switch(r.style[s(152)]=o,r[s(129)][s(164)]=a,r.style[s(166)]="block",e[s(116)]){case t[s(138)]:if(n.imageUrl){const t=document[s(144)](s(168));t.src=n.imageUrl,t[s(129)].width=s(171),t[s(129)].height=s(171),t.style[s(183)]="cover",r.appendChild(t)}break;case t[s(159)]:if(n[s(160)]){const t=document[s(144)](s(140));t.src=n[s(160)],t[s(129)].width=s(171),t.style[s(164)]=s(171),r[s(133)](t)}break;case t[s(153)]:if(n[s(122)]){const t=document[s(144)](s(169));t[s(122)]=n.textContent||"",t[s(129)][s(180)]=s(156),r.appendChild(t)}break;default:r[s(129)][s(136)]=s(181),r[s(129)].backgroundColor=s(124),r[s(122)]=e[s(116)]+s(163)}return r}[Ft(167)](t){const e=Ft,n=this.renderers[e(118)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}createPlaceholder(t,e,n,s,i){this[Ft(167)](n).createPlaceholder(t,e,s,i)}async[Ft(184)](e,n){const s=Ft;if(e[s(116)]!==t[s(138)])return void(this.debug&&console.warn("⚠️ Container optimization is only supported for BANNER ads, got: "+e[s(116)]));const i=this[s(167)](t[s(138)]);await i[s(184)](e,n)}async[Ft(185)](t,e){const n=Ft,s=this.getRenderer(t[n(116)]);await s.renderMultipleAds(t,e)}async[Ft(127)](t){const e=Ft;if(!t[e(178)])throw new Error(e(176));const n=this.getRenderer(t[e(116)]);await n[e(130)](t,t[e(178)]),t[e(143)]=!0}async[Ft(130)](t,e){const n=Ft,s=this[n(167)](t[n(116)]);await s.renderAdElement(t,e)}[Ft(187)](t){const e=Ft;this[e(167)](t.adType)[e(187)](t)}[Ft(117)](t){return this[Ft(167)](t).getDefaultHeight()}[Ft(139)](t,e,n,s){return this[Ft(167)](e).calculateAdSize(t,n,s)}[Ft(120)](t){return new Promise((e,n)=>{const s=Kt,i=new Image;i[s(172)]=()=>{const t=s;e({width:i[t(162)],height:i[t(123)]})},i[s(173)]=()=>{n(new Error(s(121)+t))},i.src=t})}async[Ft(150)](e,n,s){const i=Ft;if(s[i(116)]!==t[i(138)])throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const r=this.getRenderer(t[i(138)]);return await r.renderOptimizedBannerImage(e,n,s)}async[Ft(149)](e,n,s){const i=Ft;if(s!==t[i(138)]){return{width:"100%",height:this[i(167)](s)[i(177)](),aspectRatio:16/9}}const r=this[i(167)](t[i(138)]);return await r[i(149)](e,n)}[Ft(128)](t,...e){const n=Ft;this[n(175)]&&console.log(n(135)+t,...e)}}const Xt=Gt;function Wt(){const t=["status","length","createAd","_isReady","4139632bOBQbD","native","GET","undefined","auto-","Auto-cleanup failed for slot ","onClick","detail","then","delete","advertisement","language","list","🗑️ Ads module destroyed","📊 Fetched ","default","advertisementEventTracker","VIEWABLE","ms... (attempt ","values","BANNER","INTERSTITIAL","muted","hideControls","substr","[data-adstage-slot-id]","430455mwYMDY"," (element found)","Container not found after ","slideInterval","country","config","1747186YjIGBg","getSlotById","set","271821MuPjrQ","_id","querySelectorAll","renderFallback","Failed to fetch ad data: ","fetchAdData","232833PwkoLe","create","getConfig","text","createAdInternal","❌ Failed to track viewable impression:","🔍 Ad slot already cleaned up: ","playsinline",". Retrying in ","refreshAdSlot","6WYQOjo","loadAdContentInBackground","refresh","2074310lPVZTv","❌ Failed to load ad for slot: ","Ad slot not found: ","destroy","renderAdElement"," ads for type: ","startSimpleViewabilityTracking","🔄 Ad slot refreshed: ","body","viewabilityTracker","adType","adRenderer","controls","interstitial","observe","toString","apiKey","deviceType","get","random","createPlaceholder","data-adstage-slot-id","_config","error","advertisements","clear","removedNodes","44TNmUez","getAttribute","ensureReady"," ads)","Ads module not initialized. Call AdStage.init() first.","autoSlide","🧹 Auto-cleanup: slot ","getAllSlots","autoplay","renderAd","100%",", filters:","maxLines","🎠 Slider will handle VIEWABLE events for ","width","getElementById","auto","adId","VIDEO","✅ Simple viewable impression tracked for ad ","slots"," (attempt ","6274260vnLGFB"," attempts: ","warn","TEXT","12AhHfYv","Container not found: ","Failed to refresh ad slot: ","API key not configured"," ads automatically","destroyModule","adstage-","✅ Ad loaded for slot: ","height","🔍 Auto-cleanup MutationObserver enabled","광고 생성 중 오류 발생:","handleViewableEvent","New advertisement viewable tracked for slot:","trackAdvertisementEvent","renderAdSlider","setupAutoCleanup","createAdWithRetry","append","autoDestroy","❌ Failed to find element for viewability tracking: "," removed","from","now","setAttribute","handleRemovedElement","json","disconnect","init","getBaseUrl","mutationObserver","🚫 Advertisement not found with ID: ","debug","log","video","forEach","innerHTML","containerId","NATIVE","isReady"];return(Wt=function(){return t})()}function Gt(t,e){const n=Wt();return(Gt=function(t,e){return n[t-=315]})(t,e)}!function(){const t=Gt,e=Wt();for(;;)try{if(520370===-parseInt(t(447))/1+-parseInt(t(463))/2*(-parseInt(t(453))/3)+parseInt(t(343))/4*(-parseInt(t(438))/5)+-parseInt(t(369))/6*(-parseInt(t(444))/7)+parseInt(t(412))/8+parseInt(t(365))/9+-parseInt(t(316))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class qt{constructor(){const t=Gt;this[t(411)]=!1,this[t(338)]=null,this.slots=new Map,this[t(428)]=null,this[t(327)]=null,this[t(398)]=null}[Xt(396)](t){const e=Xt;this._config=t,this[e(428)]=new M(G[e(397)](),t[e(332)],t[e(400)]||!1,this[e(363)]),this.adRenderer=new jt(t[e(400)]||!1,this[e(428)]),this[e(384)](),this._isReady=!0,t[e(400)]&&console[e(401)]("🎯 Ads module initialized (sync mode) with auto-cleanup")}[Xt(407)](){return this[Xt(411)]}[Xt(455)](){return this[Xt(338)]}banner(e,n){const s=Xt;this.ensureReady();const i={width:n?.width||s(353),height:n?.[s(377)]||s(359),autoSlide:n?.autoSlide||!1,slideInterval:n?.[s(441)]||5e3,onClick:n?.[s(418)],adId:n?.adId,language:n?.language,deviceType:n?.[s(333)],country:n?.[s(442)]};return this.createAd(e,t[s(432)],i)}[Xt(456)](e,n){const s=Xt;this[s(345)]();const i={maxLines:n?.[s(355)]||3,style:n?.style||s(427),onClick:n?.[s(418)],adId:n?.[s(360)],language:n?.[s(423)],deviceType:n?.deviceType,country:n?.country};return this[s(410)](e,t.TEXT,i)}[Xt(402)](e,n){const s=Xt;this.ensureReady();const i={width:n?.[s(357)]||640,height:n?.height||360,autoplay:void 0===n?.[s(351)]||n[s(351)],muted:void 0===n?.muted||n[s(434)],loop:void 0===n?.loop||n.loop,playsinline:!1!==n?.[s(460)],controls:void 0!==n?.[s(328)]&&n[s(328)],hideControls:n?.[s(435)]||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[s(418)],...n?.[s(360)]&&{adId:n[s(360)]}};return this[s(410)](e,t[s(361)],i)}[Xt(413)](e,n){const s=Xt;return this.ensureReady(),this.createAd(e,t[s(406)],n||{})}[Xt(329)](e,n){const s=Xt;return this[s(345)](),this[s(410)](e,t[s(433)],n||{})}[Xt(315)](t){const e=Xt;this.ensureReady();const n=this[e(363)][e(334)](t);if(!n)throw new Error(e(318)+t);this[e(462)](n),this._config?.[e(400)]&&console[e(401)](e(323)+t)}[Xt(319)](t){const e=Xt;this[e(345)]();const n=this.slots.get(t);if(!n)return void(this[e(338)]?.[e(400)]&&console.log(e(459)+t));n[e(325)]&&n.viewabilityTracker[e(319)]();const s=document[e(358)](n[e(405)]);s&&(s[e(404)]=""),this[e(363)][e(421)](t),this[e(338)]?.debug&&console[e(401)]("🗑️ Ad slot destroyed: "+t)}[Xt(350)](){const t=Xt;return this[t(345)](),Array[t(390)](this[t(363)][t(431)]())}[Xt(445)](t){const e=Xt;return this[e(345)](),this[e(363)][e(334)](t)||null}[Xt(410)](t,e,n){const s=Xt;if(!this[s(338)]?.[s(332)])throw new Error(s(372));const i=s(375)+e+"-"+Date[s(391)]()+"-"+Math[s(335)]()[s(331)](36)[s(436)](2,9);return this.createAdWithRetry(t,e,n,i,0),i}async[Xt(385)](t,e,n,s,i){const r=Xt,o=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[r(358)](t),!c)return i<4?(this[r(338)]?.[r(400)]&&console[r(367)](r(370)+t+r(461)+o[i+1]+r(430)+(i+1)+"/5)"),void setTimeout(()=>{this.createAdWithRetry(t,e,n,s,i+1)},o[i+1])):void console[r(339)](r(440)+5+r(366)+t)}else c=t,a=c.id||r(416)+s,!c.id&&(c.id=a);try{this[r(457)](a,e,n,s,c)}catch(t){console[r(339)](r(379),t)}}[Xt(457)](e,n,s,i,r){const o=Xt;r[o(392)](o(337),i),this[o(327)]?.[o(336)](r,i,n,s,this[o(338)]);const a={id:i,containerId:e,adType:n,width:s[o(357)]||o(353),height:s[o(377)]||(n===t[o(368)]?o(359):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(452)](n,s)[o(420)](t=>t[0]||null),render:t=>this[o(327)]?.[o(320)](a,t),refresh:async()=>this.refreshAdSlot(a),destroy:()=>this[o(319)](i)};this.slots[o(446)](i,a),this.loadAdContentInBackground(a),this[o(428)]&&this._config?.debug&&console.log("📊 Advertisement event tracking enabled for slot: "+i)}async[Xt(464)](e){const n=Xt;try{const s=await this[n(452)](e[n(326)],e[n(443)]);if(!s||0===s[n(409)])return void this[n(327)]?.[n(450)](e);e[n(326)]===t[n(432)]&&s[n(409)]>0&&await(this.adRenderer?.optimizeContainerForBannerAds(e,s)),s[n(409)]>1||e[n(443)]?.[n(348)]?(await(this[n(327)]?.[n(383)](e,s)),this[n(338)]?.[n(400)]&&console[n(401)](n(356)+s.length+n(373))):(e[n(422)]=s[0],await(this[n(327)]?.[n(320)](e,s[0])),this.startSimpleViewabilityTracking(e,s[0])),e.isLoaded=!0,this._config?.[n(400)]&&console[n(401)](n(376)+e.id+" ("+s[n(409)]+n(346))}catch(t){console[n(339)](n(317)+e.id,t),this[n(327)]?.[n(450)](e)}}[Xt(322)](t,e){const n=(s=0)=>{const i=Gt,r=document[i(358)](t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this[i(338)]?.[i(400)]&&console[i(401)]("🔄 Retrying viewability tracking for slot: "+t.id+i(364)+(s+1)+")")):console.warn(i(388)+t.id));const o=new H(r,async()=>{const n=i;await this[n(380)](e,t)});t[i(325)]=o,this[i(338)]?.[i(400)]&&console.log("🎯 Simple viewability tracking started for slot: "+t.id+i(439))};n()}async[Xt(380)](t,e){const n=Xt;try{this[n(428)]&&(await this[n(428)][n(382)](t[n(448)],e.id,o[n(429)]),this[n(338)]?.debug&&console[n(401)](n(362)+t._id))}catch(t){console[n(339)](n(458),t)}}async[Xt(452)](t,e){const n=Xt;if(!this[n(338)]?.[n(332)])throw new Error(n(372));if(e.adId){const t=""+G[n(340)][n(419)](e[n(360)]),s=await fetch(t,{method:n(414),headers:P[n(454)](this[n(338)][n(332)])});if(!s.ok){if(404===s[n(408)])return console[n(367)](n(399)+e[n(360)]),[];throw new Error(n(451)+s[n(408)])}const i=await s[n(394)]();return this[n(338)]?.[n(400)]&&console[n(401)]("📊 Fetched specific ad with ID: "+e[n(360)],i),[i]}const s=new URLSearchParams;s[n(386)](n(326),t),e[n(423)]&&s[n(386)](n(423),e[n(423)]),e[n(333)]&&s.append(n(333),e[n(333)]),e[n(442)]&&s.append(n(442),e[n(442)]);const i=G[n(340)][n(424)]()+"?"+s[n(331)](),r=await fetch(i,{method:n(414),headers:P[n(454)](this[n(338)][n(332)])});if(!r.ok)throw new Error("Failed to fetch ad data: "+r.status);const o=(await r[n(394)]())[n(340)]||[];return this[n(338)]?.debug&&console[n(401)](n(426)+o[n(409)]+n(321)+t+n(354),{language:e[n(423)],deviceType:e[n(333)],country:e.country}),o}async refreshAdSlot(t){const e=Xt;try{const n=await this[e(452)](t.adType,t[e(443)]||{});n&&n[e(409)]>0&&(t.advertisement=n[0],await(this[e(327)]?.[e(352)](t)),this[e(428)]&&console[e(401)](e(381),t.id))}catch(n){console[e(339)](e(371)+t.id,n)}}[Xt(345)](){const t=Xt;if(!this._isReady)throw new Error(t(347))}[Xt(384)](){const t=Xt;typeof window!==t(415)&&typeof document!==t(415)&&(this[t(398)]&&this[t(398)][t(395)](),this[t(398)]=new MutationObserver(e=>{const n=t;e[n(403)](t=>{const e=n;t[e(342)][e(403)](t=>{const n=e;t.nodeType===Node.ELEMENT_NODE&&this[n(393)](t)})})}),this[t(398)][t(330)](document[t(324)],{childList:!0,subtree:!0}),this[t(338)]?.[t(400)]&&console[t(401)](t(378)))}[Xt(393)](t){const e=Xt,n=t[e(344)](e(337));if(n)return void this[e(387)](n);t[e(449)](e(437))[e(403)](t=>{const n=e,s=t[n(344)]("data-adstage-slot-id");s&&this[n(387)](s)})}[Xt(387)](t){const e=Xt,n=this.slots.get(t);if(n)try{n.viewabilityTracker&&n[e(325)][e(319)](),this[e(363)].delete(t),this[e(338)]?.debug&&console[e(401)](e(349)+t+e(389))}catch(n){this[e(338)]?.[e(400)]&&console[e(367)](e(417)+t+":",n)}}[Xt(374)](){const t=Xt,e=this[t(338)]?.[t(400)];this[t(398)]&&(this[t(398)][t(395)](),this[t(398)]=null),this.slots[t(341)](),this.advertisementEventTracker=null,this.adRenderer=null,this[t(411)]=!1,this._config=null,e&&console[t(401)](t(425))}}var Yt=Zt;function Jt(){var t=["getApiHeaders","create","apiKey","getApiEndpoint","✅ Config module initialized (sync mode)","getOrganizationInfo","_organizationInfo","_isReady","Config module not initialized","API key not available","21544qoNhNd","development","isModuleEnabled","isReady","setBaseUrl","🔄 Config updated","4435396rthLmr","getEnabledModules","_config","isDebugMode","980978oVZHWu","updateConfig","5072312dPezcr","72145yGpbVJ","ads","getBaseUrl","3aXxMdY","log","events","826303fibczk","init","debug","234IDVpwn","2061lnZSIG","getConfig","25942810zIvUpH","includes","baseUrl"];return(Jt=function(){return t})()}function Zt(t,e){var n=Jt();return(Zt=function(t,e){return n[t-=175]})(t,e)}!function(){for(var t=Zt,e=Jt();;)try{if(898180===parseInt(t(211))/1+parseInt(t(202))/2+-parseInt(t(208))/3*(parseInt(t(198))/4)+parseInt(t(205))/5*(-parseInt(t(176))/6)+-parseInt(t(204))/7+parseInt(t(192))/8*(-parseInt(t(177))/9)+parseInt(t(179))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Qt{constructor(){var t=Zt;this[t(189)]=!1,this._config=null,this[t(188)]=null}[Yt(212)](t){var e=Yt;this[e(200)]={timeout:3e4,debug:!1,modules:[e(206),e(210),"config"],...t},t[e(181)]&&G[e(196)](t[e(181)]),this[e(189)]=!0,t.debug&&console.log(e(186),{modules:this[e(200)].modules,endpoint:G.getBaseUrl(),mode:e(193)})}[Yt(195)](){return this[Yt(189)]}[Yt(178)](){return this[Yt(200)]}[Yt(187)](){return this[Yt(188)]}[Yt(185)](){return G[Yt(207)]()}[Yt(201)](){var t=Yt;return this[t(200)]?.[t(175)]||!1}getEnabledModules(){return this._config?.modules||[]}[Yt(194)](t){var e=Yt;return this[e(199)]()[e(180)](t)}[Yt(203)](t){var e=Yt;if(!this[e(200)])throw new Error(e(190));this[e(200)]={...this[e(200)],...t},this[e(201)]()&&console[e(209)](e(197),t)}[Yt(182)](){var t=Yt;if(!this._config?.apiKey)throw new Error(t(191));return P[t(183)](this._config[t(184)])}}function $t(){const t=["getAutoDetectedDeviceInfo","Desktop Web","setDeviceInfo","test","desktop","onLine","mobile","2270443dRXXNp","Mobile Web","ko-KR","getDetailedInfo","getViewportInfo","18jgmkRn","tablet","mapPlatformForEvents","userAgent","cookieEnabled","ios","getDeviceInfo","Android","getUserDeviceInfo","73378XAQIVs","SSR","1948434vjswQG","width","web","isBrowser","_userProvidedDeviceInfo","toLowerCase","3319382Dppxnz","0x0","5085208iQzwFs","5ifunRY","1292080SCXTtH","getPlatform","isMobile","height","10EaJzux","139370GObSVi","language","9aXhHPk","platform"];return($t=function(){return t})()}const te=ee;function ee(t,e){const n=$t();return(ee=function(t,e){return n[t-=339]})(t,e)}!function(){const t=ee,e=$t();for(;;)try{if(324809===parseInt(t(353))/1+-parseInt(t(378))/2*(-parseInt(t(369))/3)+-parseInt(t(348))/4+-parseInt(t(347))/5*(parseInt(t(380))/6)+-parseInt(t(364))/7+parseInt(t(346))/8*(parseInt(t(355))/9)+parseInt(t(352))/10*(parseInt(t(344))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static[te(375)](){const t=te;return{...ne[t(357)](),...ne[t(342)]}}static[te(357)](){const t=te;if(!y.isBrowser())return{category:"other",platform:t(379),model:t(379),osVersion:t(379)};const e=navigator[t(372)][t(343)]();let n=t(361);/tablet|ipad/[t(360)](e)?n=t(370):C[t(350)]()&&(n=t(363));const s=C[t(349)]();return{category:n,platform:ne[t(371)](s),model:navigator[t(356)],osVersion:navigator[t(356)]}}static[te(359)](t){const e=te;ne[e(342)]={...ne[e(342)],...t}}static setDeviceProperty(t,e){ne._userProvidedDeviceInfo[t]=e}static clearDeviceInfo(){ne[te(342)]={}}static[te(377)](){return{...ne[te(342)]}}static[te(371)](t){const e=te;switch(t){case e(374):return"iOS";case"android":return e(376);case e(340):return e(365);case"desktop":return e(358);default:return"Unknown"}}static[te(367)](){const t=te;if(!y[t(341)]())return{userAgent:t(379),language:t(366),platform:t(379),cookieEnabled:!1,onLine:!0,screenResolution:t(345),viewportSize:t(345)};const e=y[t(368)]();return{userAgent:navigator.userAgent,language:navigator[t(354)]||"ko-KR",platform:navigator[t(356)],cookieEnabled:navigator[t(373)],onLine:navigator[t(362)],screenResolution:screen[t(339)]+"x"+screen[t(351)],viewportSize:e[t(339)]+"x"+e.height}}}function se(){const t=["_userProperties","24Xuplcb","3533523AJCBcB","4623220JBWJkq","getBaseUserInfo","clearUserProperties","ko-KR","73873zvGLmy","4wMZUAm","19017MgkUyn","isBrowser","setUserProperties","resolvedOptions","extractCountryFromLanguage","getUserInfo","980090OUIhJp","language","getCurrentUserProperties","4KmJhxY","split","estimateLocation","timeZone","1118475MEXzOS","236706kwVuXa","UTC"];return(se=function(){return t})()}function ie(t,e){const n=se();return(ie=function(t,e){return n[t-=498]})(t,e)}ne._userProvidedDeviceInfo={};const re=ie;!function(){const t=ie,e=se();for(;;)try{if(333908===parseInt(t(519))/1*(parseInt(t(520))/2)+parseInt(t(509))/3+parseInt(t(505))/4*(-parseInt(t(502))/5)+-parseInt(t(510))/6+parseInt(t(514))/7+-parseInt(t(513))/8*(-parseInt(t(521))/9)+-parseInt(t(515))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[re(501)](){const t=re;return{...oe[t(516)](),...oe[t(512)]}}static[re(516)](){const t=re;if(!y[t(522)]())return{language:t(518),country:"KR"};const e=navigator[t(503)]||t(518);return{language:e,country:oe[t(500)](e)}}static[re(500)](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[re(506)]("-")[0]]||"KR"}static[re(498)](t){const e=re;oe[e(512)]={...oe[e(512)],...t}}static setUserProperty(t,e){oe[re(512)][t]=e}static[re(517)](){oe[re(512)]={}}static[re(504)](){return{...oe[re(512)]}}static[re(507)](){const t=re;if(!y.isBrowser())return{timezone:t(511),estimatedCountry:"KR"};const e=Intl.DateTimeFormat()[t(499)]()[t(508)];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"}}}oe._userProperties={};const ae=de;!function(){const t=de,e=le();for(;;)try{if(297050===parseInt(t(130))/1*(parseInt(t(128))/2)+-parseInt(t(147))/3*(-parseInt(t(133))/4)+parseInt(t(144))/5*(parseInt(t(155))/6)+parseInt(t(148))/7+parseInt(t(131))/8*(-parseInt(t(154))/9)+parseInt(t(152))/10*(-parseInt(t(153))/11)+-parseInt(t(137))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ce{static getSessionId(){const t=de;if(!y[t(135)]())return"ssr_session_"+Date[t(161)]();const e=sessionStorage[t(160)](t(140));if(e)return e;const n=t(156)+Math[t(150)]()[t(134)](36).substr(2,9)+"_"+Date[t(161)]();return sessionStorage.setItem(t(140),n),!ce._sessionStartTime&&(ce[t(138)]=Date.now(),y[t(135)]()&&sessionStorage[t(151)](t(146),String(ce._sessionStartTime))),n}static[ae(159)](t){const e=ae;ce[e(136)]=t,y.isBrowser()&&localStorage[e(151)](e(141),t)}static[ae(139)](){const t=ae;if(ce[t(136)])return ce[t(136)];if(y.isBrowser()){const e=localStorage[t(160)](t(141));if(e)return ce[t(136)]=e,e}}static[ae(145)](){const t=ae;ce._userId=void 0,y[t(135)]()&&localStorage[t(162)](t(141))}static[ae(158)](){const t=ae,e=ce.getSessionId(),n=ce[t(139)](),s=ce.isNewSession();return{sessionId:e,userId:n,sessionDuration:ce[t(129)](),isNewSession:s}}static[ae(149)](){const t=ae;if(!y.isBrowser())return!0;const e=sessionStorage[t(160)](t(140)),n=sessionStorage[t(160)](t(146));return!e||!n}static[ae(129)](){const t=ae;if(!y.isBrowser())return 0;const e=sessionStorage[t(160)](t(146));return e?Date.now()-parseInt(e,10):0}static[ae(132)](){const t=ae;return y[t(135)]()&&(sessionStorage[t(162)](t(140)),sessionStorage[t(162)](t(146))),ce[t(138)]=void 0,ce.getSessionId()}static isSessionExpired(t=24){return ce[ae(129)]()>60*t*60*1e3}static[ae(143)](){const t=ae,e=ce[t(157)](),n=ce[t(139)](),s=ce[t(129)](),i=ce[t(142)](),r=ce.isNewSession();let o;if(y.isBrowser()){const e=sessionStorage[t(160)](t(146));o=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:o,duration:s,isExpired:i,isNewSession:r}}}function de(t,e){const n=le();return(de=function(t,e){return n[t-=128]})(t,e)}function le(){const t=["setUserId","getItem","now","removeItem","1026664LqVSyk","getSessionDuration","1DWVNBf","278384LPrwaI","refreshSession","635772bvCcKd","toString","isBrowser","_userId","616248qwuwYt","_sessionStartTime","getUserId","adstage_session_id","adstage_user_id","isSessionExpired","getSessionStats","635THFPBZ","clearUserId","adstage_session_start","9MXGbpv","332444yVGJoR","isNewSession","random","setItem","79630xugDzT","803fcazkO","45zLsxCR","3120kBVelM","session_","getSessionId","getSessionInfo"];return(le=function(){return t})()}const ue=pe;function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=305]})(t,e)}function he(){const t=["📱 Device info set:","debug","getUserInfo","error","5RaSGNL","clearDeviceInfo","isReady","getDeviceInfo","873bthLPU","setDeviceInfo","3035270ofbkLk","Event tracking failed: ","2388750TUeYUZ","sendEventToServer","getUserDeviceInfo","Event data:","events","setDeviceProperty","_config","👤 User ID set:","623316GmKJpZ","✅ Event tracked:","8EGUPoA","getConfig","apiKey","POST","application/json","API key not configured for event tracking.","📊 Events module initialized","_isReady","1806102vjMZmm","📱 Device property set:","getUserId","❌ Failed to track event:","10rqaCTl","status","setUserId","Events module not initialized. Call AdStage.init() first.","3236oQXZrp","1252kVcoNr","setUserProperties","stringify","log","22zqRGzt","getCurrentUserProperties","track","1009506piWBSm"];return(he=function(){return t})()}!function(){const t=pe,e=he();for(;;)try{if(230619===-parseInt(t(325))/1*(-parseInt(t(330))/2)+-parseInt(t(346))/3*(parseInt(t(329))/4)+-parseInt(t(342))/5*(-parseInt(t(337))/6)+parseInt(t(348))/7+parseInt(t(313))/8*(parseInt(t(321))/9)+-parseInt(t(350))/10+-parseInt(t(334))/11*(parseInt(t(311))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class fe{constructor(){const t=pe;this._isReady=!1,this[t(309)]=null}init(t){const e=pe;this[e(309)]=t,this[e(320)]=!0,t[e(339)]&&console[e(333)](e(319))}[ue(344)](){return this[ue(320)]}[ue(314)](){return this[ue(309)]}[ue(327)](t){const e=ue;ce[e(327)](t),this._config?.[e(339)]&&console[e(333)](e(310),t)}getUserId(){return ce[ue(323)]()}setUserProperties(t){const e=ue;oe[e(331)](t),this[e(309)]?.[e(339)]&&console[e(333)]("👤 User properties set:",t)}getUserProperties(){return oe[ue(335)]()}[ue(347)](t){const e=ue;ne.setDeviceInfo(t),this[e(309)]?.[e(339)]&&console[e(333)](e(338),t)}[ue(308)](t,e){const n=ue;ne[n(308)](t,e),this[n(309)]?.[n(339)]&&console[n(333)](n(322),t,e)}[ue(343)](){const t=ue;ne[t(343)](),this[t(309)]?.[t(339)]&&console.log("📱 User provided device info cleared")}[ue(305)](){return ne[ue(305)]()}[ue(345)](){return ne[ue(345)]()}getUserInfo(){return oe[ue(340)]()}[ue(335)](){return oe[ue(335)]()}async[ue(336)](t,e){const n=ue;if(this[n(320)])if(this[n(309)]?.apiKey)try{const s={eventName:t,userId:ce.getUserId(),sessionId:ce.getSessionId(),sdkVersion:x(),device:ne[n(345)](),user:oe[n(340)](),params:e||{}};await this[n(351)](s),this[n(309)][n(339)]&&console[n(333)](n(312),t,e)}catch(s){console[n(341)](n(324),s),this[n(309)][n(339)]&&console[n(341)](n(306),{eventName:t,properties:e})}else console.warn(n(318));else console.warn(n(328))}async[ue(351)](t){const e=ue,n=await fetch(G[e(307)].track(),{method:e(316),headers:{...P.create(this[e(309)][e(315)]),"Content-Type":e(317)},body:JSON[e(332)](t)});if(!n.ok)throw new Error(e(349)+n[e(326)]+" "+n.statusText)}}const ge=Ie;function me(){const t=["warn","53PUFjwE","log","substring","3030408tVNhQs","debug",")의 viewable 추적 초기화됨","from","config","clearAdViewable","modules","1293828RMoWvI","_config","API key is required for AdStage initialization","20378LdENhA","ads","setBaseUrl","...","size","AdStage.ads accessed before initialization","reset","function","init","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","8749521pToXpZ","baseUrl","2.0.0","AdStage.config accessed before initialization","instance","🚀 AdStage SDK initialized (sync mode)","getConfig","15uKlBhi","apiKey","23040020BlgBuW","9037987oqnRjd","events","isReady","getInstance","viewableTracker","261678LYrcpI","4cqlhTX","_isInitialized"];return(me=function(){return t})()}function Ie(t,e){const n=me();return(Ie=function(t,e){return n[t-=173]})(t,e)}!function(){const t=Ie,e=me();for(;;)try{if(680212===parseInt(t(204))/1*(parseInt(t(175))/2)+-parseInt(t(200))/3*(parseInt(t(201))/4)+-parseInt(t(192))/5*(-parseInt(t(214))/6)+parseInt(t(195))/7+-parseInt(t(207))/8+parseInt(t(185))/9+-parseInt(t(194))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ve{constructor(){const t=Ie;this[t(202)]=!1,this._config=null,this.config=new Qt,this[t(176)]=new qt,this[t(196)]=new fe}static init(t){const e=Ie;!ve[e(189)]&&(ve[e(189)]=new ve);const n=ve[e(189)];if(!t[e(193)])throw new Error(e(174));n[e(173)]={timeout:3e4,debug:!1,modules:["ads",e(196),e(211)],...t},n[e(173)].baseUrl&&(G[e(177)](n[e(173)][e(186)]),t[e(208)]&&console[e(205)]("🌐 API endpoint configured:",n._config.baseUrl));const s=n[e(173)][e(213)]||[e(176),e(196),e(211)];for(const t of s){const s=n[t];s&&typeof s[e(183)]===e(182)&&s.init(n[e(173)])}n._isInitialized=!0,t.debug&&console[e(205)](e(190),{version:e(187),modules:s,apiKey:t[e(193)][e(206)](0,8)+e(178),mode:"development"})}static[ge(197)](){return ve.instance?._isInitialized||!1}static[ge(191)](){const t=ge;return ve[t(189)]?.[t(173)]||null}static[ge(198)](){const t=ge;if(!ve[t(189)])throw new Error("AdStage not initialized. Call AdStage.init() first.");return ve[t(189)]}static get ads(){const t=ge;try{return ve[t(198)]()[t(176)]}catch(e){throw console[t(203)](t(180)),e}}static get[ge(196)](){const t=ge;try{return ve.getInstance()[t(196)]}catch(e){throw console[t(203)]("AdStage.events accessed before initialization"),e}}static get[ge(211)](){const t=ge;try{return ve[t(198)]().config}catch(e){throw console.warn(t(188)),e}}static[ge(181)](){const t=ge;ve[t(189)]&&(ve.instance[t(202)]=!1,ve[t(189)][t(173)]=null)}}function ye(t,e){var n=be();return(ye=function(t,e){return n[t-=191]})(t,e)}function be(){var t=["2816104fGFICr","AdStage not initialized. Call AdStage.init() first.","getUserId","61635vZvtJU","getUserProperties","resolve","507792mUDTwS","events","warn","setUserProperties","2347844bsZisr","534MXIJiw","1132003xXfgNM","setUserId","15510480Zlexcs","track","isReady","4440835WXWmmY"];return(be=function(){return t})()}ve.debug={clearAllViewable:()=>{const t=ge;ct.clear(),console[t(205)](t(184))},clearAdViewable:(t,e)=>{const n=ge;ct[n(212)](t,e),console[n(205)]("✅ AdStage Debug: 광고 "+t+"("+e+n(209))},getViewableStatus:()=>{const t=ge;console[t(205)]("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:ct[t(199)][t(179)],trackedItems:Array[t(210)](ct[t(199)])})}},function(){for(var t=ye,e=be();;)try{if(782366===parseInt(t(191))/1+-parseInt(t(197))/2+parseInt(t(203))/3+-parseInt(t(207))/4+parseInt(t(200))/5*(-parseInt(t(208))/6)+parseInt(t(196))/7+parseInt(t(193))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const we=h.createContext(null);function ke(){const t=h.useContext(we);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function xe(t,e){var n=Ee();return(xe=function(t,e){return n[t-=490]})(t,e)}function Ee(){var t=["7KPKZtF","4554762zUviEP","10bYiqTJ","5611512hRVfRK","4726416LPaCKg","795308hTtRoA","1061454arjQXh","10grdJsB","369716jorlRA","42271839aEotHF"];return(Ee=function(){return t})()}function Se(){const t=["7056410uaXBIC","252597RYallq","1697526HFrifX","2.0.0","AdStage","1229963alNdnP","2527155OigneM","7uIlyjP","4bbAqWj","12PAdhNK","2200558NLnWGl","ads","undefined","1323592xxwfgU"];return(Se=function(){return t})()}!function(){for(var t=xe,e=Ee();;)try{if(973649===-parseInt(t(490))/1+-parseInt(t(498))/2+-parseInt(t(495))/3+parseInt(t(497))/4*(parseInt(t(494))/5)+-parseInt(t(493))/6+-parseInt(t(492))/7*(parseInt(t(496))/8)+-parseInt(t(491))/9*(-parseInt(t(499))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=Te;function Te(t,e){const n=Se();return(Te=function(t,e){return n[t-=197]})(t,e)}!function(){const t=Te,e=Se();for(;;)try{if(721103===parseInt(t(198))/1+parseInt(t(203))/2+-parseInt(t(208))/3*(-parseInt(t(201))/4)+parseInt(t(199))/5*(-parseInt(t(202))/6)+parseInt(t(200))/7*(-parseInt(t(206))/8)+parseInt(t(209))/9+-parseInt(t(207))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ce=Ae(210),Le=[Ae(204),"events","config"];typeof window!==Ae(205)&&(window[Ae(197)]=ve),exports.AdStage=ve,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[i,r]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&ve.reset(),ve.init(t),r(t),s(!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),s(!1),r(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:i,initialize:c,reset:()=>{try{ve.reset(),s(!1),r(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(we.Provider,{value:d,children:t})},exports.SDK_VERSION=Ce,exports.SUPPORTED_MODULES=Le,exports.getUserId=function(){var t=ye;if(ve[t(195)]())return ve.events[t(199)]();console[t(205)](t(198))},exports.getUserProperties=function(){var t=ye;if(ve[t(195)]())return ve.events[t(201)]();console[t(205)](t(198))},exports.setUserId=function(t){var e=ye;ve.isReady()?ve[e(204)][e(192)](t):console[e(205)]("AdStage not initialized. Call AdStage.init() first.")},exports.setUserProperties=function(t){var e=ye;ve[e(195)]()?ve[e(204)][e(206)](t):console[e(205)](e(198))},exports.track=function(t,e){var n=ye;return ve[n(195)]()?ve[n(204)][n(194)](t,e):(console.warn("AdStage not initialized. Call AdStage.init() first."),Promise[n(202)]())},exports.useAdStageContext=ke,exports.useAdStageInstance=function(){const{isInitialized:t}=ke();return t?ve:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
package/dist/index.d.ts CHANGED
@@ -525,7 +525,7 @@ declare class AdStage {
525
525
  */
526
526
  static getInstance(): AdStage;
527
527
  /**
528
- * 편의성을 위한 정적 모듈 접근자들
528
+ * 편의성을 위한 정적 모듈 접근자들 (안전장치 포함)
529
529
  */
530
530
  static get ads(): AdsModule;
531
531
  static get events(): EventsModule;