@adstage/web-sdk 3.0.8 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var t,e,n,r,s,i,o,a,c,l,d,u;function p(){var t=["164171EBjbVt","MOBILE","TABLET","27CxDvBk","DESKTOP","4068694fbkpfG","POPUP","INTERSTITIAL","472155eVEoJc","2077544wlXobn","12FmdNWc","51161FlABjR","155860YaArPM","VIDEO","VIEWABLE","BANNER","6SsYaUy","WEB","NATIVE","TEXT","5RgwiVt","4oToBkT","4984040LYgzsK","CLICK"];return(p=function(){return t})()}function h(t,e){var n=p();return(h=function(t,e){return n[t-=491]})(t,e)}!function(){for(var t=h,e=p();;)try{if(359141===parseInt(t(508))/1+parseInt(t(505))/2*(-parseInt(t(492))/3)+parseInt(t(493))/4*(parseInt(t(504))/5)+parseInt(t(500))/6*(-parseInt(t(513))/7)+parseInt(t(506))/8+parseInt(t(511))/9*(-parseInt(t(496))/10)+parseInt(t(495))/11*(-parseInt(t(494))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=h)(499)]=n(499),e[n(514)]=n(514),e[n(491)]=n(491),e[n(502)]="NATIVE",e.VIDEO=n(497),e[n(503)]="TEXT",(s=r||(r={}))[(i=h)(501)]=i(501),s.MOBILE=i(509),(a=o||(o={}))[(c=h)(498)]=c(498),a[c(507)]=c(507),(d=l||(l={}))[(u=h)(512)]=u(512),d[u(509)]="MOBILE",d[u(510)]=u(510);const f=g;function g(t,e){const n=v();return(g=function(t,e){return n[t-=134]})(t,e)}!function(){const t=g,e=v();for(;;)try{if(766664===-parseInt(t(145))/1+parseInt(t(198))/2+-parseInt(t(177))/3+parseInt(t(202))/4+-parseInt(t(163))/5*(-parseInt(t(187))/6)+-parseInt(t(168))/7*(parseInt(t(148))/8)+-parseInt(t(158))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class m{static[f(195)](){return"undefined"!=typeof window&&typeof document!==f(170)}static[f(184)](){return!this[f(195)]()}static canUseDOM(){const t=f;return this[t(195)]()&&void 0!==document[t(153)]}static[f(154)](t){const e=f;return this.canUseDOM()?document[e(179)](t):null}static[f(200)](t){const e=f;return this[e(182)]()?document[e(159)](t):null}static[f(197)](t){const e=f;return this[e(182)]()?Array[e(142)](document[e(204)](t)):[]}static[f(178)](t){const e=f;return this[e(182)]()?document[e(201)](t):null}static[f(185)](t,e,n,r){const s=f;this[s(182)]()&&t&&t[s(146)](e,n,r)}static safeRemoveEventListener(t,e,n,r){const s=f;this.canUseDOM()&&t&&t[s(136)](e,n,r)}static[f(171)](t,e){return this.isBrowser()?window[t]??e:e}static[f(194)](t,e){return this[f(182)]()?document[t]??e:e}static[f(149)](t,e,n){return this[f(195)]()?window.open(t,e,n):null}static[f(189)](t){const e=f;return this[e(195)]()&&t?window[e(164)](t):null}static[f(190)](){const t=f;return!!this[t(182)]()&&document[t(153)]!==t(207)}static[f(161)](){return new Promise(t=>{const e=g;this[e(182)]()?this[e(190)]()?t():this[e(185)](document,e(155),()=>t()):t()})}static[f(175)](t,e){const n=f;this[n(182)]()&&t&&Object[n(199)](e).forEach(([e,r])=>{const s=n;t[s(141)][s(172)](e,r)})}static[f(160)](t,e){const n=f;this[n(182)]()&&t&&t[n(144)][n(188)](e)}static safeRemoveClass(t,e){const n=f;this[n(182)]()&&t&&t[n(144)][n(150)](e)}static safeSetTextContent(t,e){const n=f;this.canUseDOM()&&t&&(t[n(140)]=e)}static[f(206)](t,e){this[f(182)]()&&t&&(t.innerHTML=e)}static[f(138)](t,e){this[f(182)]()&&t&&e&&t.appendChild(e)}static safeRemoveChild(t,e){const n=f;this[n(182)]()&&t&&e&&t[n(186)](e)}static[f(196)](){const t=f;return{url:this[t(171)](t(151),{href:""})[t(147)],title:this[t(194)]("title",""),referrer:this[t(194)](t(209),"")}}static[f(137)](){const t=f;return{width:this[t(171)]("innerWidth",0),height:this.getWindowProperty(t(169),0),pixelRatio:this[t(171)](t(193),1)}}static[f(183)](){const t=f;return{scrollTop:this.canUseDOM()?window[t(152)]||document[t(180)][t(191)]:0,scrollLeft:this[t(171)]("pageXOffset",0)}}static async[f(156)](t,e={}){const n=f,{timeout:r=3e3,retryInterval:s=100,debug:i=!1}=e;if(!this[n(182)]())throw new Error(n(166));const o=document[n(179)](t);return o?(i&&console[n(192)](n(165)+t),o):(i&&console[n(192)](n(176)+t+n(203)+r+"ms)"),new Promise((e,o)=>{const a=n;let c=0;const l=Math[a(162)](r/s),d=()=>{const n=a;c++;const u=document[n(179)](t);if(u)return i&&console[n(192)](n(205)+t+" ("+c+"번째 시도, "+c*s+n(181)),void e(u);if(c>=l){const e=n(174)+t+'"\n \n다음을 확인해보세요:\n1. HTML에 id="'+t+n(143)+r+n(139)+c+n(135);return i&&console.error(e),void o(new Error(e))}i&&c%10==0&&console.log(n(134)+t+" ("+c+"/"+l+")");const p=Math[n(208)](s*Math.pow(1.2,c),500);setTimeout(d,p)};setTimeout(d,s)}))}static async[f(173)](t,e={}){const n=f,r=t[n(157)](t=>this.waitForElement(t,e));return Promise[n(167)](r)}}function v(){const t=["innerHeight","undefined","getWindowProperty","setProperty","waitForElements",'❌ 컨테이너를 찾을 수 없습니다: "',"safeApplyStyles","⏳ 컨테이너 대기 시작: ","3163401XFRrtt","safeCreateElement","getElementById","documentElement","ms 경과)","canUseDOM","getScrollInfo","isSSR","safeAddEventListener","removeChild","642CyOfBm","add","safeGetComputedStyle","isDOMReady","scrollTop","log","devicePixelRatio","getDocumentProperty","isBrowser","getPageInfo","safeQuerySelectorAll","2684700mqWNRy","entries","safeQuerySelector","createElement","5859196HkfJCA"," (최대 ","querySelectorAll","✅ 컨테이너 발견: ","safeSetInnerHTML","loading","min","referrer","⏳ 컨테이너 대기 중: ","번 시도)","removeEventListener","getViewportInfo","safeAppendChild","ms (","textContent","style","from",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"classList","1026176lTFthw","addEventListener","href","536BxzAQH","safeWindowOpen","remove","location","pageYOffset","readyState","safeGetElementById","DOMContentLoaded","waitForElement","map","754974lmaTUo","querySelector","safeAddClass","waitForDOM","ceil","63645lsEmtg","getComputedStyle","✅ 컨테이너 즉시 발견: ","DOM을 사용할 수 없는 환경입니다.","all","129339eDdedZ"];return(v=function(){return t})()}function I(t,e){const n=y();return(I=function(t,e){return n[t-=313]})(t,e)}function y(){const t=["undefined","2183573HJikBM","426jBtrVF","75994ZOTtpc"," AdStageSDK/","userAgent","45578126PKZnLi","10bEiRox","7574835BrrIdo","6lPDzDn","16nPlwyl","14862bqOgIi","7812873WOTqhA","5977168GhQJIL"];return(y=function(){return t})()}!function(){const t=I,e=y();for(;;)try{if(773428===parseInt(t(316))/1+-parseInt(t(324))/2*(-parseInt(t(315))/3)+-parseInt(t(326))/4+-parseInt(t(321))/5*(parseInt(t(322))/6)+parseInt(t(314))/7*(-parseInt(t(323))/8)+-parseInt(t(325))/9+-parseInt(t(320))/10*(-parseInt(t(319))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const b=w;function w(t,e){const n=k();return(w=function(t,e){return n[t-=233]})(t,e)}function k(){const t=["adstage_device_id","scrollTop","colorDepth","random","userAgent","SSR",",y:","connection","542017CTTasx","isMobile","getSlotPosition","web","18OzOikr","generateSessionId","resolvedOptions","getPlatform","933255VBApnP","safeQuerySelector","6837516nIlvYg","isBrowser","getScrollInfo","toString","width","test","session_","round","setItem","1.0.0",'[data-adstage-slot-id="',"generateDeviceId"," .adstage-slider-wrapper","language","unknown","now","3287488huZeHi","279298cWxKxT","timeZone","getItem","height","279867aBSptm","1824464RKkgjL","substr","adstage_session_id","6iHHSlK","toLowerCase","device_","getViewportInfo","safeGetElementById","getBoundingClientRect","top","ssr_session_","platform","UTC"];return(k=function(){return t})()}!function(){const t=w,e=k();for(;;)try{if(290183===-parseInt(t(271))/1+parseInt(t(245))/2*(-parseInt(t(253))/3)+parseInt(t(250))/4+parseInt(t(279))/5+parseInt(t(275))/6*(parseInt(t(249))/7)+-parseInt(t(244))/8+parseInt(t(281))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class E{static generateDeviceId(){const t=w;if(!m[t(282)]())return"ssr_device_"+Date[t(243)]();const e=localStorage[t(247)](t(263));if(e)return e;const n=t(255)+Math[t(266)]().toString(36)[t(251)](2,9)+"_"+Date[t(243)]();return localStorage.setItem(t(263),n),n}static[b(276)](){const t=b;if(!m[t(282)]())return t(260)+Date[t(243)]();const e=sessionStorage.getItem(t(252));if(e)return e;const n=t(234)+Math[t(266)]()[t(284)](36)[t(251)](2,9)+"_"+Date[t(243)]();return sessionStorage[t(236)]("adstage_session_id",n),n}static[b(272)](){const t=b;return!!m[t(282)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(233)](navigator[t(267)])}static[b(278)](){const t=b;if(!m[t(282)]())return t(274);const e=navigator[t(267)][t(254)]();return/iphone|ipad|ipod/[t(233)](e)?"ios":/android/.test(e)?"android":E.isMobile()?"web":"desktop"}static collectDeviceInfo(){const t=b,e=m[t(256)]();return{deviceId:E[t(239)](),sessionId:E[t(276)](),osVersion:m[t(282)]()?navigator[t(261)]:t(268),deviceModel:m[t(282)]()?navigator[t(261)]:"SSR",appVersion:t(237),sdkVersion:'"3.0.8"',language:m[t(282)]()&&navigator[t(241)]||"ko",country:"KR",ipAddress:"",userAgent:m.isBrowser()?navigator[t(267)]:"SSR",timezone:m[t(282)]()?Intl.DateTimeFormat()[t(277)]()[t(246)]:t(262),viewportWidth:e.width,viewportHeight:e[t(248)],screenWidth:m[t(282)]()?screen[t(285)]:0,screenHeight:m.isBrowser()?screen[t(248)]:0,colorDepth:m.isBrowser()?screen[t(265)]:24,pixelRatio:e.pixelRatio,connectionType:m[t(282)]()&&navigator[t(270)]?.effectiveType||t(242),platform:E[t(278)]()}}static[b(273)](t){const e=b;let n=m[e(257)](t);if(!n){const r=m[e(280)]("#"+t+e(240));r&&(n=r)}if(!n&&(n=m.safeQuerySelector(e(238)+t+'"]')),!n)return e(242);const r=n[e(258)](),s=m[e(283)]();return"x:"+Math[e(235)](r.left)+e(269)+Math[e(235)](r[e(259)]+s[e(264)])}}function x(){const t=["User-Agent","7oCFDjw","contentType","4LRlSmp","2229837HpdYhK","950787SKdscx","56965kGselW","740gOpyyn","65025RqiNHh","186XVudGa","6442136YxRpuZ","20311258ZNFqVK","userAgent","2804298eeNdpH","API key is required","application/json","create"];return(x=function(){return t})()}function S(t,e){const n=x();return(S=function(t,e){return n[t-=131]})(t,e)}!function(){const t=S,e=x();for(;;)try{if(749913===parseInt(t(138))/1+parseInt(t(146))/2+-parseInt(t(137))/3*(parseInt(t(136))/4)+-parseInt(t(139))/5*(parseInt(t(142))/6)+parseInt(t(134))/7*(parseInt(t(143))/8)+parseInt(t(141))/9*(parseInt(t(140))/10)+-parseInt(t(144))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static create(t,e){const n=S;if(!t)throw new Error(n(147));const r={"x-api-key":t,"Content-Type":e?.[n(135)]||n(131)};return"undefined"!=typeof navigator&&(r["User-Agent"]=e?.[n(145)]||navigator.userAgent),r}static createForEvents(t,e){const n=S,r=A[n(132)](t);return e?.[n(145)]&&(r[n(133)]=e[n(145)]),r}}const T=C;function C(t,e){const n=_();return(C=function(t,e){return n[t-=494]})(t,e)}!function(){const t=C,e=_();for(;;)try{if(285930===parseInt(t(528))/1+-parseInt(t(511))/2*(parseInt(t(521))/3)+-parseInt(t(531))/4+-parseInt(t(524))/5*(parseInt(t(545))/6)+-parseInt(t(550))/7*(-parseInt(t(507))/8)+-parseInt(t(549))/9+parseInt(t(518))/10*(parseInt(t(534))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class R{constructor(t,e,n,r){const s=C;this.baseUrl=t,this[s(497)]=e,this.debug=n,this[s(515)]=r}async[T(535)](t,e,n){const r=T;try{this[r(499)]&&console[r(542)]("🚀 AdvertisementEventTracker: Processing "+n+r(500)+t+" in slot "+e);const s=this[r(515)][r(525)](e);if(!s)return void(this[r(499)]&&console[r(495)](r(494)+e+". Skipping event tracking to prevent incorrect adType."));if(!(document[r(513)](s[r(529)])||document.querySelector(r(543)+e+'"]')))return void(this[r(499)]&&console[r(495)](r(519)+e+r(504)+s[r(529)]+"). Skipping event tracking."));const i=E[r(541)](),a={adType:s[r(548)],platform:i.platform,deviceId:i.deviceId,deviceInfo:i,pageUrl:m.getPageInfo()[r(514)],pageTitle:m[r(544)]().title,referrer:m[r(544)]()[r(520)],slotId:e,slotPosition:E[r(508)](s[r(529)]),slotWidth:R[r(523)](s[r(526)]),slotHeight:R[r(523)](s[r(509)]),sessionId:i.sessionId,pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:'"3.0.8"',timestamp:Date.now()},...n===o[r(527)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(496)]+"/advertisements/events/"+t+"/"+n,l=A.createForEvents(this[r(497)],a);this[r(499)]&&(console[r(542)](r(522)+n+r(532)+t,{url:c,headers:l,eventData:a}),console[r(542)](r(533),{method:r(505),url:c,hasApiKey:!!this[r(497)],bodySize:JSON[r(537)](a)[r(530)]}));const d=await fetch(c,{method:"POST",headers:l,body:JSON[r(537)](a)});if(this[r(499)]&&console.log("📡 API Response Status: "+d.status+" "+d[r(536)],{url:c,ok:d.ok}),!d.ok){const t=await d[r(506)]();throw new Error(r(501)+d[r(539)]+" "+d[r(536)]+r(546)+t)}this[r(499)]&&console[r(542)](r(510)+n+r(532)+t)}catch(s){console[r(547)](r(512),s),console.error(r(540),{baseUrl:this[r(496)],apiKey:this[r(497)]?this[r(497)].substring(0,8)+r(498):r(516),url:this.baseUrl+r(517)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[T(523)](t){const e=T;if(typeof t===e(538))return t;if(typeof t===e(503)){const n=parseFloat(t[e(502)](/px$/,""));return isNaN(n)?0:n}return 0}}function _(){const t=["⚠️ Slot not found for slotId: ","warn","baseUrl","apiKey","...","debug"," event for ad ","API request failed: ","replace","string"," (containerId: ","POST","text","24mtwRfF","getSlotPosition","height","✅ Successfully tracked advertisement event: ","2xTnVYD","❌ Failed to track advertisement event:","getElementById","url","slots","NOT_SET","/advertisements/events/","20hMGQAM","⚠️ DOM element not found for slotId: ","referrer","1129269pROOHx","🚀 Sending advertisement event: ","parseNumericValue","390OcbTqo","get","width","VIEWABLE","429355sKacWl","containerId","length","1074700BTGLWk"," for ad ","🌐 Full API call details:","6773371PNHsFK","trackAdvertisementEvent","statusText","stringify","number","status","🔍 Debug info:","collectDeviceInfo","log",'[data-adstage-slot-id="',"getPageInfo","28974DHNWKr"," - ","error","adType","3529440uNZOTV","90937JjhpZa"];return(_=function(){return t})()}function D(t,e){var n=B();return(D=function(t,e){return n[t-=156]})(t,e)}var L=D;!function(){for(var t=D,e=B();;)try{if(284774===-parseInt(t(163))/1*(parseInt(t(166))/2)+parseInt(t(158))/3*(parseInt(t(167))/4)+-parseInt(t(169))/5*(parseInt(t(162))/6)+-parseInt(t(165))/7*(parseInt(t(176))/8)+-parseInt(t(178))/9*(-parseInt(t(172))/10)+parseInt(t(164))/11*(-parseInt(t(174))/12)+-parseInt(t(179))/13*(-parseInt(t(173))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{constructor(t,e){var n=D;this[n(170)]=null,this.isViewableTriggered=!1,this[n(157)]=t,this.onViewableCallback=e,this.initIntersectionObserver()}initIntersectionObserver(){var t=D;t(160)in window?(this.observer=new IntersectionObserver(e=>this[t(177)](e),{threshold:.5,rootMargin:t(181)}),this[t(170)][t(161)](this[t(157)])):console[t(182)]("IntersectionObserver not supported, viewability tracking disabled")}[L(177)](t){var e=L;t[e(180)](t=>{var n=e;t.intersectionRatio>=.5&&this.isDocumentVisible()&&!this.isViewableTriggered&&(this[n(175)]=!0,this.onViewableCallback&&this[n(171)]())})}[L(156)](){return!document[L(159)]&&"visible"===document.visibilityState}[L(168)](){var t=L;this[t(170)]&&(this[t(170)].disconnect(),this[t(170)]=null)}}function B(){var t=["6025596evbjBQ","isViewableTriggered","8Ycivpc","handleIntersection","19269RWZFCY","886925tYltLa","forEach","0px","warn","isDocumentVisible","element","3789guAmgi","hidden","IntersectionObserver","observe","6XkFoAt","27cjsLqV","11cRMNiv","2066141SdgbZe","19234HEMzIu","1564bktSKC","destroy","252975YIHyhX","observer","onViewableCallback","1010dqFEVd","140MViuLG"];return(B=function(){return t})()}const U=z;function z(t,e){const n=P();return(z=function(t,e){return n[t-=179]})(t,e)}!function(){const t=z,e=P();for(;;)try{if(443574===-parseInt(t(182))/1+parseInt(t(192))/2+parseInt(t(198))/3*(parseInt(t(191))/4)+parseInt(t(197))/5*(-parseInt(t(194))/6)+-parseInt(t(184))/7+-parseInt(t(183))/8+parseInt(t(190))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const O={production:U(187),beta:U(179)};function P(){const t=["1244756NHWtwU","startsWith","160872MQDltj","/advertisements/list","track","100fVCrxG","12mxRlvu","/advertisements/events","setBaseUrl","list","https://beta-api.adstage.app","getBaseUrl","baseUrl","666570bwQzXZ","2901792gOpLco","5827360lpsOdG","/events/track","events","https://api.adstage.app","advertisements","production","16362054hOeZQI","401204znFDem"];return(P=function(){return t})()}U(189);const N={advertisements:{list:U(195),detail:"/advertisements",events:U(199)},events:{track:U(185)}};class V{constructor(t){const e=U;this[e(188)]={list:()=>""+this.baseUrl+N[e(188)][e(201)],detail:t=>""+this[e(181)]+N[e(188)].detail+"/"+t,events:(t,n)=>""+this.baseUrl+N[e(188)][e(186)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(181)]+N.events[e(196)]},this[e(181)]=t||O.production}[U(200)](t){this[U(181)]=t}[U(180)](){return this.baseUrl}custom(t){const e=U;return""+this[e(181)]+(t[e(193)]("/")?t:"/"+t)}}const F=new V;function H(){var t=["_id","trackSlideViewable","🎯 Triggering VIEWABLE event for slide change: ad ","13366566GfHMjp","trackInitialSlideViewable","4506516oWUlAe","728DXhiEv",") in slot: ","1511340WrnsZf","6CtSREQ"," (index: 0) in slot: ","101458vyYZhS","🎯 Triggering initial VIEWABLE event: ad ","VIEWABLE"," (index: ","268091MhVoTf","76740vYJHef","log","2587332WBUUXT"];return(H=function(){return t})()}var j=K;function K(t,e){var n=H();return(K=function(t,e){return n[t-=449]})(t,e)}!function(){for(var t=K,e=H();;)try{if(795384===parseInt(t(461))/1*(-parseInt(t(455))/2)+parseInt(t(451))/3+parseInt(t(454))/4+-parseInt(t(462))/5+-parseInt(t(464))/6+parseInt(t(457))/7*(-parseInt(t(452))/8)+parseInt(t(449))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class W{static[j(466)](t,e,n,r,s=!1){var i=j;s&&console[i(463)](i(467)+t[i(465)]+i(460)+n+i(453)+e.id),r(t._id,e.id,o[i(459)])}static[j(450)](t,e,n,r=!1){var s=j;r&&console[s(463)](s(458)+t[s(465)]+s(456)+e.id),n(t._id,e.id,o.VIEWABLE)}}const q=G;function G(t,e){const n=J();return(G=function(t,e){return n[t-=243]})(t,e)}!function(){const t=G,e=J();for(;;)try{if(216354===parseInt(t(254))/1*(-parseInt(t(247))/2)+parseInt(t(257))/3+-parseInt(t(270))/4*(parseInt(t(269))/5)+parseInt(t(267))/6*(parseInt(t(255))/7)+parseInt(t(252))/8+parseInt(t(264))/9*(parseInt(t(265))/10)+-parseInt(t(268))/11*(parseInt(t(258))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class X{static[q(243)](t,e,n,r,s=!1,i){const a=q;e[a(244)]&&(t[a(251)][a(249)]=a(256),t[a(266)]("click",t=>{const c=a;if(t.preventDefault(),t.stopPropagation(),r&&r(e._id,n.id,o[c(262)]),window[c(260)](e.linkUrl,c(246)),s){const t=i||String(n.adType)[c(245)]();console[c(261)]("🔗 "+t+c(250)+e._id+c(248)+e[c(244)])}}))}static[q(272)](t,e,n,r,s=!1,i){const a=q;e[a(244)]&&(t[a(251)][a(249)]="pointer",t[a(266)](a(271),t=>{const c=a;t[c(259)](),t[c(253)]();if(r()(e[c(273)],n.id,o[c(262)]),window[c(260)](e[c(244)],c(246)),s){const t=i||String(n.adType).toLowerCase();console.log("🔗 "+t+c(250)+e[c(273)]+c(248)+e[c(244)])}}))}static addClickEventForSlider(t,e,n,r,s=!1,i){this[q(243)](t,e,n,r,s,i)}static[q(263)](t){return Boolean(t.linkUrl)}static addClickEventsBatch(t,e,n,r,s=!1,i){t.forEach((t,o)=>{const a=e[o];a&&this.addClickEvent(t,a,n,r,s,i)})}}function J(){const t=["stopPropagation","42YlaFoD","7rXFyfb","pointer","433503Lwxyur","108IFtORH","preventDefault","open","log","CLICK","isClickable","99pSaOPw","166350opKnXh","addEventListener","1989870aQiSny","223949WagpCg","373250rWAPEf","4YUkyVN","click","addClickEventForRenderer","_id","addClickEvent","linkUrl","toLowerCase","_blank","15052WTNhMg"," -> ","cursor"," ad clicked: ","style","1049568egopks"];return(J=function(){return t})()}const Y=Z;function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=274]})(t,e)}!function(){const t=Z,e=$();for(;;)try{if(443127===parseInt(t(295))/1*(-parseInt(t(276))/2)+parseInt(t(372))/3+-parseInt(t(355))/4+-parseInt(t(308))/5*(parseInt(t(350))/6)+parseInt(t(322))/7*(parseInt(t(358))/8)+-parseInt(t(342))/9+-parseInt(t(313))/10*(-parseInt(t(335))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Q{static createSimpleAdElement(e,n){const r=Z,s=document[r(286)](r(311));switch(s.className=r(330)+String(e[r(319)])[r(375)](),s[r(357)]("data-adstage-ad-id",n[r(329)]),s[r(357)](r(343),e.id),s.style[r(293)]="block",s[r(369)][r(368)]=r(363),s[r(369)][r(354)]="auto",e[r(319)]){case t.BANNER:if(n.imageUrl){const t=document[r(286)](r(303));t.src=n[r(323)],t.style[r(368)]="100%",t[r(369)][r(354)]=r(324),t[r(369)][r(307)]=r(381),s[r(294)](t)}else s[r(369)].height="100px",s[r(369)].backgroundColor=r(382),s[r(369)][r(377)]=r(336),s[r(383)]=r(297);break;case t.VIDEO:if(n[r(325)]){const t=document[r(286)](r(285));t[r(378)]=n.videoUrl,t[r(369)][r(368)]=r(363),t[r(369)][r(354)]=r(324),s.appendChild(t)}else s[r(369)][r(354)]="200px",s[r(369)].backgroundColor="#000",s[r(369)].border=r(348),s[r(383)]=r(384),s[r(369)][r(305)]=r(320);break;case t.TEXT:if(n.textContent){const t=document[r(286)](r(311));t[r(383)]=n[r(383)]||"",t[r(369)].padding=r(361),t.style[r(284)]=r(345),s.appendChild(t)}else s[r(369)].height=r(332),s.style[r(356)]=r(361),s[r(383)]=r(287);break;default:s[r(369)].height=r(385),s[r(369)][r(377)]=r(336),s[r(369)][r(373)]=r(334),s[r(383)]=e[r(319)]+r(370)}return s}static createSliderContainer(e,n,r,s,i=!1){const o=Z,a=document[o(286)](o(311));a.className=o(274);const c={position:o(362),overflow:o(371)};if(e[o(368)]&&0!==e[o(368)]){let t;t=typeof e[o(368)]===o(327)&&(e[o(368)][o(298)]("px")||e[o(368)].includes("%"))?e[o(368)]:e[o(368)]+"px",c[o(368)]=t,c.display=o(338)}else c[o(293)]="inline-block";if(e[o(354)]&&0!==e[o(354)]){const t="string"==typeof e[o(354)]?e[o(354)]:e[o(354)]+"px";c[o(354)]=t}Object.entries(c)[o(340)](([t,e])=>{const n=o;a[n(369)][n(290)](t,e)});const l=!e[o(368)]||0===e[o(368)],d=!e[o(354)]||0===e.height;if(l||d){const t=document[o(286)](o(311));if(t[o(369)][o(328)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!l&&e[o(368)]){let n;n=typeof e[o(368)]===o(327)&&(e[o(368)][o(298)]("px")||e[o(368)][o(298)]("%"))?e.width:e[o(368)]+"px",t[o(369)][o(368)]=n,t.style[o(379)]="normal"}document[o(333)][o(294)](t);let r=0,s=0;n[o(340)](n=>{const i=o,a=this[i(339)](e,n);t[i(294)](a);const c=a[i(353)]();c[i(368)]>r&&(r=c[i(368)]),c.height>s&&(s=c[i(354)]),t[i(283)](a)}),l&&r>0&&(a[o(369)][o(368)]=r+"px",c[o(368)]=r+"px"),d&&s>0&&(a[o(369)][o(354)]=s+"px",c[o(354)]=s+"px"),document.body[o(283)](t)}const u=[...n,n[0]],p=document.createElement(o(311));p[o(292)]=o(347);const h={display:o(282),transition:o(344),width:100*u[o(359)]+"%"};e[o(354)]&&0!==e[o(354)]&&(h.height=o(363)),Object[o(321)](h)[o(340)](([t,e])=>{const n=o;p.style[n(290)](t,e)}),u[o(340)]((t,n)=>{const r=o,a=document[r(286)]("div");a[r(292)]=r(341);const c={width:100/u[r(359)]+"%","flex-shrink":"0",display:r(282),"align-items":r(278),"justify-content":r(278)};e[r(354)]&&0!==e[r(354)]&&(c.height=r(363)),Object.entries(c).forEach(([t,e])=>{const n=r;a[n(369)][n(290)](t,e)});const l=this.createSimpleAdElement(e,t);X[r(326)](l,t,e,s,i,String(e[r(319)]).toLowerCase()),a.appendChild(l),p.appendChild(a)});const f=n.every(e=>e.adType===t[o(296)])?null:this[o(376)](n[o(359)]);let g=0;const m=n[o(359)],v=1e3*(r?.[o(301)]||3),I=(t,r=!1)=>{const a=o;g=t,p[a(369)].transition=r?"none":a(344),p.style[a(317)]=a(352)+100/u[a(359)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(331))[a(340)]((t,e)=>{const n=a,r=t;e===c?(r[n(364)].add("active"),r[n(369)][n(309)]=n(366),r[n(369)][n(315)]=n(366),r[n(369)].opacity="1"):(r[n(364)][n(316)](n(281)),r[n(369)].background=n(291),r[n(369)][n(315)]="#cccccc",r.style.opacity="0.7")})}W[a(302)](n[c],e,c,s,i)},y=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[o(277)](o(331))[o(340)]((t,e)=>{const n=o;t[n(346)](n(300),()=>I(e))})}let b=setInterval(()=>{I(g+1),y()},v);return a.addEventListener(o(349),()=>{clearInterval(b)}),a[o(346)](o(337),()=>{b=setInterval(()=>{I(g+1),y()},v)}),this[o(288)](p,I,()=>g,m,y),a[o(294)](p),f&&a[o(294)](f),I(0),(!e[o(368)]||0===e[o(368)])&&setTimeout(()=>{const t=o,n=p[t(306)][0];if(n){const r=n[t(306)][0];if(r){const n=r[t(353)]();a[t(369)].width=n[t(368)]+"px",(!e.height||0===e.height)&&(a[t(369)][t(354)]=n.height+"px"),a.style[t(275)]=t(371)}}},10),a}static[Y(376)](t){const e=Y,n=document.createElement(e(311));n[e(292)]="adstage-dots",n.style[e(328)]="\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ";for(let r=0;r<t;r++){const t=document.createElement(e(304));t[e(292)]=e(280),t.style[e(328)]=e(299),t[e(346)](e(349),()=>{const n=e;!t[n(364)][n(374)](n(281))&&(t[n(369)][n(315)]=n(367),t[n(369)][n(318)]=n(365))}),t[e(346)](e(337),()=>{const n=e;!t[n(364)][n(374)](n(281))&&(t[n(369)].borderColor=n(380),t[n(369)][n(318)]=n(279))}),n[e(294)](t)}return n}static[Y(288)](t,e,n,r,s){const i=Y;let o=0,a=!1;t.addEventListener("touchstart",t=>{o=t[Z(310)][0].clientX,a=!0}),t.addEventListener(i(351),t=>{a&&t[i(289)]()}),t.addEventListener(i(312),t=>{const c=i;if(!a)return;a=!1;const l=t.changedTouches[0][c(360)],d=o-l;if(Math[c(314)](d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function $(){const t=["padding","setAttribute","49288atUvGe","length","clientX","8px","relative","100%","classList","0.9","#666666","#999999","width","style"," Ad","hidden","235179gtyglR","backgroundColor","contains","toLowerCase","createMinimalDotIndicator","border","src","whiteSpace","#cccccc","cover","#f0f0f0","textContent","Video Ad","100px","adstage-slider-wrapper","overflow","4164csgsWM","querySelectorAll","center","0.7","adstage-dot","active","flex","removeChild","fontSize","video","createElement","Text Ad","addTouchSupport","preventDefault","setProperty","transparent","className","display","appendChild","179OCIOoC","TEXT","Banner Ad","includes","\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 ","click","autoSlideInterval","trackSlideViewable","img","button","color","children","objectFit","815oVvkZN","background","touches","div","touchend","135880KIJIfR","abs","borderColor","remove","transform","opacity","adType","white","entries","161pCwKMi","imageUrl","auto","videoUrl","addClickEventForSlider","string","cssText","_id","adstage-ad adstage-",".adstage-dot","50px","body","#f9f9f9","1727teCNzo","1px dashed #ccc","mouseleave","inline-block","createSimpleAdElement","forEach","adstage-slide","7304220EMdbQj","data-adstage-slot-id","transform 0.4s ease-out","14px","addEventListener","adstage-slide-container","1px solid #666","mouseenter","8598KTteKj","touchmove","translateX(-","getBoundingClientRect","height","1969792DnMESx"];return($=function(){return t})()}const tt=et;function et(t,e){const n=nt();return(et=function(t,e){return n[t-=433]})(t,e)}function nt(){const t=["95470xeUhhh","viewableTracker","log","isDuplicateViewable","1907328aJYGgt","6643747pGjlPz","clear","has","173942Reuxjs","50766WtrGbq","add","99yhbkNY"," in slot ","2BBZclX","Duplicate viewable blocked for ad ","2516286KHLSjN","3962546ZrMolp","8XJasIj","460vxNMxF"];return(nt=function(){return t})()}!function(){const t=et,e=nt();for(;;)try{if(447508===-parseInt(t(442))/1*(-parseInt(t(447))/2)+-parseInt(t(449))/3+parseInt(t(438))/4+-parseInt(t(433))/5*(-parseInt(t(443))/6)+parseInt(t(450))/7*(parseInt(t(451))/8)+-parseInt(t(445))/9*(parseInt(t(434))/10)+-parseInt(t(439))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[tt(437)](t,e,n=!1){const r=tt,s=t+"_"+e;return rt.viewableTracker[r(441)](s)?(n&&console[r(436)](r(448)+t+r(446)+e),!0):(rt[r(435)][r(444)](s),n&&console[r(436)]("✅ New viewable recorded for ad "+t+r(446)+e),!1)}static clear(){const t=tt;rt[t(435)][t(440)]()}static clearAdViewable(t,e){const n=t+"_"+e;rt[tt(435)].delete(n)}}rt[tt(435)]=new Set;const st=it;function it(t,e){const n=ot();return(it=function(t,e){return n[t-=399]})(t,e)}function ot(){const t=["setAttribute","2165828WhSkeT","placeholderMode","isDuplicateViewable","display","2YuRhhw","fontSize","error","createEmptyContainer","getDefaultHeight","4143020AiPaNl","generic","className","width","rgba(231, 76, 60, 0.1)","1px dashed #ccc","rgba(248, 249, 250, 0.5)","6px","querySelector",") - Mode: ","applyPlaceholderStyle","⚠️ AdvertisementEventTracker not available for ","true","string","rgba(0, 0, 0, 0.02)","innerHTML","📏 Using default height ","#e74c3c","5QybqFj","style","auto","getContainerHeight","adstage-official","96zqARQe"," ad...</span>","trackAdvertisementEvent","isEmpty","🚫 Duplicate viewable blocked for ad ","invisible","#f9f9f9","none","getAttribute","adstage-slot","📏 Using 100% height (container: ","advertisementEventTracker",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"appendChild","closest","div"," for ad ","filter",".adstage-","flex","height","data-adstage-empty","backgroundColor","warn","block","createPlaceholder","data-adstage-type","data-adstage-slot","5809020zCRhUe"," container collapsed ("," x ","log","borderRadius"," for ","justifyContent","hasAttribute"," in slot ",'[class*="ad"]','<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"subtle","createElement","\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 ","transparent","208773hxOAJp","createEventTrackingCallback","362179cAFZFw","border","VIEWABLE","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","adstage-slot adstage-empty adstage-",'div[style*="min-height"]',"1px solid rgba(0, 0, 0, 0.08)","cssText","⚠️ ","2px dashed #e74c3c","32418sINpXX",'[data-adstage-container="true"]',"<span>Loading ","px)","unknown","100%","containerId","calculateAdSize","debug","⚠️ Created empty ","#666","fontFamily"," slot: ","🔄 Starting advertisement event tracking: ","6989353LoXxvm","number","center","getElementById","advertisement","adstage-class"," event","data-adstage-container","11px","classList","adType","renderFallback","✅ New viewable recorded for ad ","alignItems"];return(ot=function(){return t})()}!function(){const t=it,e=ot();for(;;)try{if(532891===parseInt(t(476))/1+-parseInt(t(403))/2*(parseInt(t(486))/3)+-parseInt(t(399))/4*(parseInt(t(426))/5)+-parseInt(t(459))/6+parseInt(t(500))/7+parseInt(t(431))/8*(parseInt(t(474))/9)+parseInt(t(408))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{constructor(t,e=!1,n){const r=it;this[r(510)]=t,this[r(494)]=e,this.advertisementEventTracker=n||null}[st(456)](t,e,n,r){const s=st,i=document[s(471)](s(446));i.id=e,i[s(410)]="adstage-slot adstage-"+String(this[s(510)]).toLowerCase(),i[s(514)]("data-adstage-container",s(420)),i[s(514)](s(457),String(this[s(510)])),i[s(514)](s(458),e);const{width:o,height:a}=this[s(493)](t,n,r)||{width:s(491),height:this[s(407)]()};i[s(427)][s(411)]=o,i[s(427)][s(451)]=a;const c=r?.[s(400)]||n[s(400)]||s(436);this[s(418)](i,c),t.appendChild(i),this.debug&&console[s(462)]("📦 Placeholder created for "+this.adType+s(498)+e+" ("+o+s(461)+a+s(417)+c)}[st(418)](t,e){const n=st;switch(e){case n(436):t.style[n(453)]=n(473),t[n(427)][n(477)]="none",t[n(427)].opacity="0",t.innerHTML="";break;case"transparent":t[n(427)][n(453)]="transparent",t[n(427)][n(477)]=n(438),t.style[n(402)]=n(455),t[n(423)]="";break;case n(470):t[n(427)][n(453)]=n(422),t.style.border="none",t[n(427)][n(463)]="4px",t.style.display="flex",t[n(427)][n(513)]="center",t.style[n(465)]="center",t.innerHTML=n(469);break;case"minimal":t[n(427)][n(453)]=n(414),t[n(427)][n(477)]=n(482),t[n(427)][n(463)]=n(415),t[n(427)].display=n(450),t[n(427)][n(513)]="center",t[n(427)][n(465)]="center",t[n(423)]=n(443);break;case n(494):t.style.border=n(485),t[n(427)].display="flex",t[n(427)][n(513)]=n(502),t.style.justifyContent="center",t[n(427)].backgroundColor=n(412),t[n(427)].color=n(425),t[n(427)][n(497)]="monospace",t[n(427)][n(404)]=n(508),t[n(423)]="<span>Loading "+this.adType+n(432);break;default:t[n(427)][n(477)]=n(413),t[n(427)][n(402)]=n(450),t[n(427)].alignItems="center",t.style[n(465)]=n(502),t[n(427)][n(453)]=n(437),t[n(427)].color=n(496),t.innerHTML=n(488)+this.adType+" ad...</span>"}}[st(493)](t,e,n){const r=st,s=e[r(411)],i=e.height;let o,a;if(o="number"==typeof s?s+"px":typeof s===r(421)?s:r(491),typeof i===r(501))a=i+"px";else if("string"==typeof i&&i!==r(491)&&i!==r(428))a=i;else{const e=this[r(429)](t);e>0?(a=r(491),(n?.debug||this[r(494)])&&console[r(462)](r(441)+e+r(489))):(a=this[r(407)](),(n?.[r(494)]||this.debug)&&console[r(462)](r(424)+a+r(464)+this[r(510)]))}return{width:o,height:a}}[st(429)](t){const e=st,n=window.getComputedStyle(t),r=parseFloat(n[e(451)]);if(!r||0===r){const r=parseFloat(n.minHeight);if(r>0)return r;if(t[e(427)][e(451)]&&t[e(427)][e(451)]!==e(428)){const n=parseFloat(t[e(427)].height);if(n>0)return n}const s=t[e(439)](e(451));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[st(475)](){return async(t,e,n)=>{const r=it;if(n===o[r(478)]){if(rt[r(401)](t,e,this[r(494)]))return void(this[r(494)]&&console[r(462)](r(435)+t+" in slot "+e));this.debug&&console[r(462)](r(512)+t+r(467)+e)}if(this[r(442)])try{this[r(494)]&&console[r(462)](r(499)+n+" for ad "+t+r(467)+e),await this[r(442)][r(433)](t,e,n),this.debug&&console.log("📊 Advertisement event tracked: "+n+r(447)+t+r(467)+e)}catch(e){this[r(494)]&&console[r(405)]("❌ Failed to track "+n+" event for ad "+t+":",e)}else this[r(494)]&&console[r(454)](r(419)+n+r(506))}}[st(511)](t){const e=st,n=document[e(503)](t.id);if(n){const r=[...[n[e(416)]('[data-adstage-container="true"]'),n.closest(e(487)),n][e(448)](t=>t&&t[e(466)](e(507))),...[n[e(445)](".adstage-slot"),n.closest(e(449)+String(this[e(510)]).toLowerCase()),n[e(445)](e(468)),n[e(445)]('[class*="banner"]'),n.closest('[class*="container"]'),n[e(445)]('div[style*="height"]'),n[e(445)](e(481)),n.parentElement][e(448)](Boolean)][0];if(r){let n=e(490);n=r[e(466)]("data-adstage-container")?e(430):r[e(509)].contains(e(440))?e(505):e(409),r[e(427)][e(483)]+=e(472),r[e(423)]="",r.setAttribute("data-adstage-empty",e(420)),this[e(494)]&&console[e(454)](e(484)+this.adType+e(460)+n+"): "+t.id,r)}else this[e(406)](t)}t[e(504)]=void 0,t[e(434)]=!0}[st(406)](t){const e=st,n=document[e(503)](t[e(492)]);if(n){n[e(423)]="";const r=document.createElement("div");r.id=t.id,r.className=e(480)+String(this[e(510)]).toLowerCase(),r[e(514)](e(507),e(420)),r[e(514)](e(452),e(420)),r[e(514)](e(458),t.id),r[e(427)][e(483)]=e(479),n[e(444)](r),this[e(494)]&&console[e(454)](e(495)+this[e(510)]+" container: "+t.id)}}[st(462)](t,...e){const n=st;this[n(494)]&&console[n(462)]("["+this[n(510)]+"] "+t,...e)}}function ct(t,e){const n=ut();return(ct=function(t,e){return n[t-=423]})(t,e)}const lt=ct;!function(){const t=ct,e=ut();for(;;)try{if(786932===parseInt(t(434))/1*(parseInt(t(452))/2)+parseInt(t(518))/3*(-parseInt(t(468))/4)+parseInt(t(486))/5+-parseInt(t(469))/6*(-parseInt(t(485))/7)+-parseInt(t(524))/8+-parseInt(t(491))/9*(parseInt(t(496))/10)+parseInt(t(430))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt extends at{constructor(e=!1,n){super(t[ct(442)],e,n)}[lt(428)](){return lt(471)}async[lt(480)](t,e){const n=lt,r=document[n(463)](t[n(473)]);if(!r)return;const s=document[n(447)](n(465));s[n(492)]=n(527);const i=t[n(525)],o=r[n(476)]||r;if(i)s[n(494)][n(495)]="100%",s.style.height=String(i);else{const e=t[n(474)],r={width:e?.[n(495)],height:e?.[n(437)]},{width:i,height:a}=this[n(459)](o,r,{debug:this.debug});s[n(494)][n(495)]=i,s.style[n(437)]=a}e[n(454)]?await this[n(445)](s,e,t):s[n(513)]=n(503)+(e[n(497)]||"Banner Ad")+"</div>",X[n(450)](s,e,t,()=>this.createEventTrackingCallback(),this[n(500)],n(425)),r[n(513)]="",r.appendChild(s)}async renderMultipleAds(t,e){const n=lt,r=document.getElementById(t[n(473)]);if(!r)throw new Error(n(448)+t.containerId);await this[n(526)](t,e);const s=this[n(479)](),i={autoSlideInterval:(t.config?.[n(460)]||5e3)/1e3,...t[n(474)],optimizedHeight:t.optimizedHeight,aspectRatio:t[n(472)]},o=Q[n(456)](t,e,i,s,this[n(500)]);o&&(r[n(513)]="",r.appendChild(o),this[n(500)]&&console[n(508)](n(451)+t.id+n(528)+e[n(511)]+" ads (optimized: "+(t.optimizedHeight||n(433))+")"))}async calculateOptimalContainerSize(t,e){const n=lt;if(!t[n(511)])return{width:n(488),height:this[n(428)](),aspectRatio:16/9};try{const r=(await Promise.allSettled(t.filter(t=>t.imageUrl)[n(440)](t=>this[n(449)](t[n(454)])))).filter(t=>t.status===n(439))[n(440)](t=>t.value);if(0===r[n(511)])return{width:n(488),height:this[n(428)](),aspectRatio:16/9};const s=this[n(423)](r),i=this[n(444)](r,e,s);return this[n(500)]&&console[n(508)]("📐 Optimal banner container calculated: "+e+"x"+i+n(458)+s+")"),{width:n(488),height:i+"px",aspectRatio:e/i}}catch(t){return console[n(502)](n(523),t),{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=lt;try{const r=document[n(463)](t.containerId),s=document[n(463)](t.id);if(!r||!s)return;const i=r[n(436)]()[n(495)]||300,o=await this[n(432)](e,i);s[n(494)][n(437)]=o[n(437)],t[n(525)]=o[n(437)],t[n(472)]=o[n(472)],this[n(500)]&&console[n(508)]("🔧 Banner container optimized for "+e[n(511)]+n(519)+o[n(437)])}catch(t){console[n(502)]("Banner container optimization failed, using default size:",t)}}[lt(423)](t){const e=lt,n=t.map(t=>t[e(495)]/t[e(437)]),r=new Map;n.forEach(t=>{const n=e,s=(Math[n(498)](10*t)/10)[n(441)]();r.set(s,(r.get(s)||0)+1)});const s=Math[e(446)](...r[e(505)]()),i=t[e(511)];if(s/i>=.7)return"dominant";const o=[16/9,4/3,1,1.5];return n.filter(t=>o.some(n=>Math[e(438)](t-n)<.1))[e(511)]/i>=.5?e(477):"average"}[lt(444)](t,e,n){const r=lt,s=t.map(t=>t[r(495)]/t[r(437)]);switch(n){case"dominant":{const t=new Map;s[r(427)](e=>{const n=r,s=Math[n(498)](10*e)/10,i=s.toString(),o=t[n(487)](i);o?o[n(510)]++:t[n(504)](i,{ratio:s,count:1})});const n=Array[r(481)](t.values())[r(455)]((t,e)=>e.count>t[r(510)]?e:t);return Math[r(498)](e/n.ratio)}case r(477):{const t=[{ratio:16/9,name:r(522)},{ratio:4/3,name:r(464)},{ratio:1,name:r(483)},{ratio:1.5,name:"3:2"}],n=s[r(455)]((t,e)=>t+e,0)/s[r(511)],i=t.reduce((t,e)=>Math[r(438)](e[r(475)]-n)<Math[r(438)](t[r(475)]-n)?e:t);return this.debug&&console[r(508)](r(490)+i.name+r(478)+n[r(431)](2)+")"),Math[r(498)](e/i[r(475)])}case r(512):default:{const t=s[r(455)]((t,e)=>t+e,0)/s[r(511)];return Math.round(e/t)}}}[lt(449)](t){return new Promise((e,n)=>{const r=ct,s=new Image;s[r(515)]=()=>{const t=r;e({width:s[t(429)],height:s[t(424)]})},s[r(501)]=()=>{n(new Error(r(514)+t))},s[r(507)]=t})}[lt(461)](t,e,n){const r=lt,s=e/n;Math[r(438)](s-1)<.1?(t[r(494)][r(520)]=r(470),t.style[r(493)]=r(506)):s>1.3?(t[r(494)][r(520)]=r(516),t[r(494)][r(493)]=r(506),t[r(494)][r(457)]="#f0f0f0"):s<.7?(t[r(494)][r(520)]=r(470),t[r(494)][r(493)]="center"):(t[r(494)][r(520)]=r(470),t[r(494)].objectPosition=r(506)),this[r(500)]&&console[r(508)]("🎨 Banner image style applied: objectFit="+t.style.objectFit+r(426)+s[r(431)](2))}async renderOptimizedBannerImage(t,e,n){const r=lt,s=document[r(447)](r(499));s[r(494)][r(495)]=r(488),s[r(494)][r(437)]="100%",s.style[r(435)]=r(482),s[r(494)][r(517)]=r(462),s.alt=e[r(497)]||r(443),t[r(513)]=r(521);try{if(!e[r(454)])throw new Error(r(467));const i=await this.loadImageDimensions(e[r(454)]),o=t[r(436)](),a=o.width,c=o[r(437)];this.debug&&(console.log(r(453)+i[r(495)]+"x"+i.height),console[r(508)]("📦 Banner container dimensions: "+a+"x"+c));const l=i[r(495)]/i.height,d=a/c;return this[r(461)](s,l,d),s.src=e[r(454)],t[r(513)]="",t[r(489)](s),X[r(450)](s,e,n,()=>this[r(479)](),this.debug,r(425)),this[r(500)]&&console[r(508)](r(484)+e._id),s}catch(i){return console[r(509)](r(466),i),e[r(454)]&&(s.src=e[r(454)],s[r(494)].objectFit="cover",s[r(494)][r(493)]=r(506),t.innerHTML="",t[r(489)](s),X[r(450)](s,e,n,()=>this[r(479)](),this[r(500)],r(425))),s}}}function ut(){const t=["naturalWidth","12972124VRkXNI","toFixed","calculateOptimalContainerSize","default","130498trGlRz","display","getBoundingClientRect","height","abs","fulfilled","map","toString","BANNER","Banner Advertisement","calculateOptimalHeight","renderOptimizedBannerImage","max","createElement","Container not found: ","loadImageDimensions","addClickEventForRenderer","🎠 Banner carousel created for slot: ","2kmnNJH","📸 Banner image dimensions: ","imageUrl","reduce","createSliderContainer","backgroundColor"," (strategy: ","calculateAdSize","slideInterval","applyOptimizedImageStyle","8px","getElementById","4:3","div","❌ Failed to load optimized banner image:","Image URL is not provided","2449912KluHTv","6vcuGeW","cover","250px","aspectRatio","containerId","config","ratio","parentElement","common"," (avg: ","createEventTrackingCallback","renderAdElement","from","block","1:1","✅ Optimized banner image rendered for ad: ","312431VQyxVR","3529105PpoGAx","get","100%","appendChild","📊 Using standard ratio: ","2269224JMznej","className","objectPosition","style","width","10CWyqdf","title","round","img","debug","onerror","warn","<div>","set","values","center","src","log","error","count","length","average","innerHTML","Failed to load image: ","onload","contain","borderRadius","3EduUzG"," ads: ","objectFit",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"16:9","Failed to calculate optimal banner size, using defaults:","3269520EmujGw","optimizedHeight","optimizeContainerForBannerAds","adstage-ad adstage-banner-ad"," with ","selectOptimalSizeStrategy","naturalHeight","Banner",", ratio=","forEach","getDefaultHeight"];return(ut=function(){return t})()}function pt(t,e){const n=ft();return(pt=function(t,e){return n[t-=441]})(t,e)}const ht=pt;function ft(){const t=["147324qtIKOB","15043oWlgHP","207957oGpgSH","5435CidSuI","\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 ","1800ZDlyPg","2KIdrOt","4QtwAlY","786LpWJKE","3386763jignVG","270853JkifBT","createTextAdStyles","textContent","title","10Mcvolc","6799397ySNxDX"];return(ft=function(){return t})()}!function(){const t=pt,e=ft();for(;;)try{if(369137===parseInt(t(453))/1*(-parseInt(t(449))/2)+parseInt(t(445))/3*(parseInt(t(450))/4)+parseInt(t(446))/5*(-parseInt(t(451))/6)+parseInt(t(444))/7*(parseInt(t(448))/8)+-parseInt(t(452))/9*(parseInt(t(441))/10)+parseInt(t(442))/11+-parseInt(t(443))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class gt{static[ht(454)](t=!1){return ht(447)}static setTextAdContent(t,e){const n=ht,r=e.textContent||e[n(456)]||"";t[n(455)]=r}}const mt=vt;function vt(t,e){const n=It();return(vt=function(t,e){return n[t-=401]})(t,e)}function It(){const t=["1814415PJQeat","addTouchSupport","372Wvfdsj","translateY(0)",";\n transform: translateY(","adstage-fade-slider-wrapper","translateY(-20px)","842737joRFso","4tHViAU","div","1221729jMRrAd",";\n ","mouseenter","mouseleave","touchmove","cssText","toLowerCase","preventDefault","fit-content","createSimpleAdElement","translateY(20px)","top","string","trackSlideViewable","addEventListener",";\n width: 100%;\n ","relative",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","absolute","12nAFuSc","height: auto;","11LXJFwc","includes","clientY","transform","position","height","forEach","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","zIndex","height: auto; min-height: fit-content;","_id","setProperty","1705482QPzkri","height: 100%;","abs","4627816CUzEXj","adType","changedTouches","\n position: ","data-adstage-ad-id","opacity","className","appendChild","push","2657EIbmyT","setAttribute","createElement","style","left","createTextTransitionContainer","touches","width","data-adstage-slot-id","\n ","block","auto","11131730Libouz","entries","touchstart",";\n top: ","touchend","removeChild","minHeight","autoSlideInterval"];return(It=function(){return t})()}!function(){const t=vt,e=It();for(;;)try{if(310056===-parseInt(t(474))/1*(-parseInt(t(421))/2)+parseInt(t(429))/3*(-parseInt(t(427))/4)+-parseInt(t(419))/5+parseInt(t(448))/6*(parseInt(t(426))/7)+-parseInt(t(465))/8+-parseInt(t(462))/9+parseInt(t(411))/10*(parseInt(t(450))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class yt{static[mt(438)](t,e){const n=mt,r=document[n(401)](n(428));return r.className="adstage-ad adstage-"+String(t[n(466)])[n(435)](),r[n(475)](n(469),e[n(460)]),r.setAttribute(n(407),t.id),r[n(402)].cssText=gt.createTextAdStyles(!0),gt.setTextAdContent(r,e),r}static[mt(404)](t,e,n,r,s=!1){const i=mt,o=t[i(455)]&&0!==t[i(455)]&&t[i(455)]!==i(410),a=document.createElement(i(428));a.className=i(424);const c={position:i(445),overflow:"hidden",display:i(409)};if(!o&&(c[i(455)]="auto",c[i(417)]=i(437)),t[i(406)]&&0!==t.width){let e;e=typeof t[i(406)]===i(441)&&(t[i(406)].includes("px")||t.width[i(451)]("%"))?t[i(406)]:t[i(406)]+"px",c.width=e}if(t[i(455)]&&0!==t.height&&t[i(455)]!==i(410)&&o){let e;e=typeof t[i(455)]===i(441)?t[i(455)].includes("px")||t[i(455)][i(451)]("%")?t[i(455)]:t[i(455)]+"px":t.height+"px",c[i(455)]=e}Object[i(412)](c).forEach(([t,e])=>{const n=i;a[n(402)][n(461)](t,e)});const l=document.createElement(i(428));l.className="adstage-fade-slide-container",l[i(402)][i(434)]="\n position: relative;\n width: 100%;\n "+(o?"height: 100%;":i(459))+i(408);let d=null;const u=!t[i(406)]||0===t[i(406)],p=!t.height||0===t[i(455)]||void 0===t[i(455)]||"auto"===t[i(455)];if(u||p&&o){if(d=document[i(401)](i(428)),d[i(402)][i(434)]=i(457),!u&&t[i(406)]){let e;e="string"==typeof t[i(406)]&&(t[i(406)][i(451)]("px")||t[i(406)].includes("%"))?t[i(406)]:t[i(406)]+"px",d.style.width=e,d[i(402)].whiteSpace="normal"}document.body[i(472)](d);let n=0,r=0;e.forEach(e=>{const s=i,o=this[s(438)](t,e);d[s(472)](o);const a=o.getBoundingClientRect();a[s(406)]>n&&(n=a[s(406)]),a.height>r&&(r=a[s(455)]),d[s(416)](o)}),u&&n>0&&(a[i(402)][i(406)]=n+"px"),p&&r>0&&o&&(a[i(402)].height=r+"px"),document.body[i(416)](d)}const h=[];e.forEach((e,n)=>{const a=i,c=document[a(401)](a(428));c[a(471)]="adstage-fade-slide";const d=a(o?447:0===n?445:447);c.style.cssText=a(468)+d+a(414)+("absolute"===d?"0":a(410))+";\n left: "+(d===a(447)?"0":"auto")+a(444)+a(o?463:449)+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+a(423)+(0===n?"0":"20px")+a(446)+(0===n?"2":"1")+a(430);const u=this.createSimpleAdElement(t,e);X.addClickEventForSlider(u,e,t,r,s,"Text"),c.appendChild(u),l[a(472)](c),h[a(473)](c)});let f=0;const g=e.length,m=1e3*(n?.[i(418)]||4),v=n=>{const a=i;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!o&&(c.style[a(454)]===a(445)&&(c[a(402)][a(454)]=a(447),c[a(402)][a(440)]="0",c[a(402)].left="0"),l[a(402)][a(454)]=a(445),l.style[a(440)]=a(410),l[a(402)][a(403)]="auto"),c[a(402)][a(470)]="0",c[a(402)].transform=a(425),c[a(402)][a(458)]="1",l[a(402)][a(470)]="1",l[a(402)][a(453)]=a(422),l[a(402)].zIndex="2",h[a(456)]((t,e)=>{const r=a;e!==n&&e!==f&&(t.style[r(470)]="0",t[r(402)][r(453)]=r(439),t[r(402)][r(458)]="1",!o&&"relative"===t[r(402)][r(454)]&&(t[r(402)][r(454)]=r(447),t[r(402)][r(440)]="0",t.style[r(403)]="0"))}),f=n,W[a(442)](e[f],t,f,r,s)};let I=setInterval(()=>{v(f+1)},m);return a[i(443)](i(431),()=>{clearInterval(I)}),a[i(443)](i(432),()=>{I=setInterval(()=>{v(f+1)},m)}),yt[i(420)](a,v,()=>f,g),a[i(472)](l),a}static[mt(420)](t,e,n,r){const s=mt;let i=0,o=0,a=!1;t[s(443)](s(413),t=>{const e=s;i=t.touches[0].clientX,o=t[e(405)][0][e(452)],a=!0}),t[s(443)](s(433),t=>{a&&t[s(436)]()}),t[s(443)](s(415),t=>{const r=s;if(!a)return;a=!1;const c=t[r(467)][0].clientX,l=t[r(467)][0][r(452)],d=i-c,u=o-l;if(Math[r(464)](d)>Math.abs(u)&&Math[r(464)](d)>50){const t=n();e(d>0?t+1:t-1)}})}}const bt=wt;function wt(t,e){const n=kt();return(wt=function(t,e){return n[t-=235]})(t,e)}function kt(){const t=["height","✨ Single text ad rendered: ","565264VKcEGN","-webkit-box","containerId","setTextAdContent","getElementById"," with ","2191HPibiO","className","appendChild","maxLines","2184qUKPAC","style","length","529928POYyew","div","calculateAdSize","2tIMQPg","overflow","adstage-ad adstage-text-ad","createTextAdStyles","100xGBTry","innerHTML","optimizedHeight","addClickEventForRenderer","debug","17208iQDFvZ","webkitBoxOrient","renderAdElement","Container not found: ","slideInterval","173421PkcXYZ","createElement","53007GObGHS","cssText","config","3030GcZzkn","renderMultipleAds","log","width","parentElement","TEXT","_id","hidden","createEventTrackingCallback","2872386QVzWoc"," ads","getDefaultHeight","✨ Text transition created for slot: "];return(kt=function(){return t})()}!function(){const t=wt,e=kt();for(;;)try{if(511832===-parseInt(t(255))/1+parseInt(t(271))/2*(-parseInt(t(237))/3)+parseInt(t(268))/4+parseInt(t(240))/5*(parseInt(t(265))/6)+-parseInt(t(261))/7*(-parseInt(t(280))/8)+-parseInt(t(235))/9*(parseInt(t(275))/10)+parseInt(t(249))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Et extends at{constructor(e=!1,n){super(t[wt(245)],e,n)}[bt(251)](){return"60px"}async[bt(282)](t,e){const n=bt,r=document[n(259)](t[n(257)]);if(!r)return;const s=document[n(236)]("div");s[n(262)]=n(273);const i=t[n(277)],o=r[n(244)]||r;if(i)s[n(266)].width="100%",s[n(266)][n(253)]=String(i);else{const e=t.config,r={width:e?.[n(243)],height:e?.[n(253)]},{width:i,height:a}=this[n(270)](o,r,{debug:this[n(279)]});s[n(266)][n(243)]=i,s[n(266)][n(253)]=a}const a=document.createElement(n(269));a[n(262)]="adstage-text-content",a.style[n(238)]=gt[n(274)](!1),gt[n(258)](a,e);const c=t.config?.[n(264)];c&&"number"==typeof c&&(a[n(266)].display=n(256),a[n(266)].webkitLineClamp=String(c),a[n(266)][n(281)]="vertical",a[n(266)][n(272)]=n(247)),s.appendChild(a),X[n(278)](s,e,t,()=>this[n(248)](),this[n(279)],"Text"),r[n(276)]="",r[n(263)](s),this[n(279)]&&console[n(242)](n(254)+e[n(246)])}async[bt(241)](t,e){const n=bt,r=document[n(259)](t[n(257)]);if(!r)throw new Error(n(283)+t[n(257)]);const s=this[n(248)](),i={autoSlideInterval:(t[n(239)]?.[n(284)]||5e3)/1e3,...t[n(239)],optimizedHeight:t[n(277)],aspectRatio:t.aspectRatio},o=yt.createTextTransitionContainer(t,e,i,s,this[n(279)]);o&&(r[n(276)]="",r[n(263)](o),this[n(279)]&&console[n(242)](n(252)+t.id+n(260)+e[n(267)]+n(250)))}}const xt=St;function St(t,e){const n=At();return(St=function(t,e){return n[t-=343]})(t,e)}function At(){const t=["getElementById","hideControls","innerHTML","170301rtfVnk","100%","textContent","7gdsxZx","🎬 Video metadata loaded, attempting autoplay...","Click to unmute","🎬 Trying muted autoplay fallback...","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","360px","error","preload","Click to mute","getDefaultHeight","block","hidePlayButton","transform","🎬 Video config received:","Container not found: ","width","log","\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 ","renderMultipleAds","canplay","🎬 Final video settings:","scale(1.1)","VIEWABLE","controls","img","loadedmetadata","imageUrl","length","2EfZFdm","videoUrl","🎬 Video data loaded, attempting autoplay...","head","addEventListener","Video load failed:","play","title","rgba(0, 0, 0, 0.9)","renderVideoElementDirect","stopPropagation","8337744LLMNOX","createElement","button"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","910BajfKb","addClickEventForRenderer","🎬 Initial autoplay attempt after timeout...","height","adstage-video-container","none",", loop: ","contain","hideVolumeSlider","\n pointer-events: none;\n ","Video fallback","🎬 Video can play, attempting autoplay..."," (autoplay: ","VIDEO","alt","position","config","src","playsinline",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',"🔊 Video mute toggled: ","muted","29873349jDulHd","div","style","mouseenter","🎬 Single video rendered for VIDEO slot: ","hideFullscreenButton","setAttribute","video","display","769512RTGjYv","2570biqtAA","className","objectFit","🎬 Single video ad rendered: ","metadata","containerId","_id","12148hwZOlI","mouseleave","enabled",", muted: ","createEventTrackingCallback","background","Video thumbnail","loop","🎬 Auto-play was prevented:","cssText","adstage-video-default-controls","debug","warn","customControls","catch"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","72441GSLrWq","click","scale(1)","475474TaotQc","autoplay","\n video::-webkit-media-controls-play-button {\n display: ","paused","Video","🎬 User explicitly enabled controls, overriding default","appendChild"];return(At=function(){return t})()}!function(){const t=St,e=At();for(;;)try{if(910391===parseInt(t(441))/1+-parseInt(t(368))/2*(parseInt(t(451))/3)+-parseInt(t(422))/4*(-parseInt(t(415))/5)+-parseInt(t(414))/6*(parseInt(t(454))/7)+parseInt(t(379))/8+-parseInt(t(438))/9*(-parseInt(t(383))/10)+-parseInt(t(405))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Tt extends at{constructor(e=!1,n){super(t[St(396)],e,n)}[xt(349)](){return xt(345)}async renderAdElement(t,e){const n=xt,r=document.getElementById(t[n(420)]);if(!r)return;const s=document[n(380)](n(406));s[n(416)]=n(387),s[n(407)][n(431)]=n(357),this.renderVideoElementDirect(s,e,t),r.innerHTML="",r[n(447)](s),this.debug&&console.log(n(418)+e._id)}async[xt(358)](t,e){const n=xt,r=document[n(448)](t[n(420)]);if(!r)throw new Error(n(354)+t[n(420)]);if(e[n(367)]>0){const s=e[0],i=document[n(380)](n(406));i[n(416)]=n(387),i.style[n(431)]="\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(377)](i,s,t),r[n(450)]="",r[n(447)](i);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(s._id,t.id,o[e(362)])},100),this[n(433)]&&console[n(356)](n(409)+t.id+" ("+s[n(421)]+")")}else this.debug&&console[n(434)]("⚠️ No video advertisements available for slot: "+t.id)}[xt(377)](t,e,n){const r=xt;t[r(407)][r(398)]="relative";const s=document[r(380)](r(412));s[r(407)][r(355)]=r(452),s[r(407)][r(386)]=r(452),s[r(407)][r(417)]=r(390),s[r(347)]=r(419);const i=n[r(399)];if(this.debug&&console[r(356)](r(353),i),s[r(363)]=!1,s[r(442)]=!1!==i?.[r(442)],s[r(404)]=!0,s[r(429)]=!1!==i?.loop,this[r(433)]&&console[r(356)](r(360),{autoplay:s.autoplay,muted:s.muted,loop:s[r(429)],controls:s[r(363)]}),!1!==i?.[r(401)]&&s[r(411)](r(401),""),!0===i?.controls&&(s[r(363)]=!0,this[r(433)]&&console.log(r(446))),i?.[r(449)])s[r(363)]=!1,s[r(407)][r(431)]+=r(392);else if(i?.[r(435)]){if(s[r(363)]){const t=document[r(380)](r(407));t.textContent=r(443)+(i[r(435)][r(351)]?r(388):r(350))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(i[r(435)].hideProgressBar?r(388):r(350))+r(382)+(i.customControls.hideCurrentTime?r(388):r(350))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(i.customControls.hideRemainingTime?r(388):r(350))+r(437)+(i.customControls[r(391)]?r(388):r(350))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(i[r(435)].hideMuteButton?r(388):r(350))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(i[r(435)][r(410)]?r(388):r(350))+" !important;\n }\n ",document[r(371)].appendChild(t)}}else if(s[r(363)]){const t=document[r(380)](r(407));t.id=r(432),t[r(453)]=r(344),!document[r(448)](r(432))&&document[r(371)][r(447)](t)}this[r(433)]&&console[r(356)]("🎬 Video controls setting:",s[r(363)]?r(424):"disabled (default)");const o=document[r(380)](r(381));o[r(416)]="adstage-video-mute-button",o[r(407)][r(431)]="\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 ",i?.[r(449)]&&(o[r(407)][r(413)]=r(388));const a=()=>{const t=r,e=t(402);o[t(450)]=s.muted?'\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.title=s[t(404)]?t(456):t(348)};if(a(),o[r(372)](r(439),t=>{const e=r;t[e(378)](),s.muted=!s.muted,a(),this[e(433)]&&console[e(356)](e(403)+(s.muted?e(404):"unmuted"))}),o[r(372)](r(408),()=>{const t=r;o[t(407)][t(427)]=t(376),o[t(407)][t(352)]=t(361)}),o[r(372)](r(423),()=>{const t=r;o[t(407)][t(427)]="rgba(0, 0, 0, 0.7)",o[t(407)][t(352)]=t(440)}),e.videoUrl){s[r(400)]=e[r(369)];const t=()=>{const t=r;s.autoplay&&s[t(404)]&&s[t(444)]&&s[t(374)]().catch(e=>{const n=t;this[n(433)]&&(console.warn(n(430),e),console[n(434)](n(343))),s[n(404)]=!0,s[n(374)]()[n(436)](t=>{const e=n;this[e(433)]&&console[e(346)]("🎬 Autoplay completely failed:",t)})})};s[r(372)](r(365),()=>{const e=r;this.debug&&console[e(356)](e(455)),t()}),s[r(372)](r(359),()=>{const e=r;this[e(433)]&&console[e(356)](e(394)),t()}),s[r(372)]("loadeddata",()=>{const e=r;this.debug&&console[e(356)](e(370)),t()}),setTimeout(()=>{const e=r;this[e(433)]&&console[e(356)](e(385)),t()},100)}else if(e[r(366)]){const n=document[r(380)](r(364));return n[r(400)]=e[r(366)],n[r(407)][r(355)]=r(452),n[r(407)][r(386)]=r(452),n[r(407)][r(417)]=r(390),n.alt=e.title||r(428),void t[r(447)](n)}X[r(384)](s,e,n,()=>this[r(426)](),this[r(433)],r(445)),s[r(372)](r(346),s=>{const i=r;if(console[i(346)](i(373),s),e[i(366)]){const r=document.createElement(i(364));r[i(400)]=e[i(366)],r[i(407)][i(355)]=i(452),r[i(407)][i(386)]=i(452),r[i(407)].objectFit="contain",r[i(397)]=e[i(375)]||i(428),X[i(384)](r,e,n,()=>this[i(426)](),this[i(433)],i(393)),t[i(450)]="",t[i(447)](r)}}),t[r(447)](s),t[r(447)](o),this[r(433)]&&console[r(356)]("🎬 Video element created for ad: "+e._id+r(395)+s[r(442)]+r(425)+s.muted+r(389)+s.loop+")")}}function Ct(){const t=["Native click tracked for ad: ","_id","): ","_blank","backgroundColor","8693696EaGgqO","renderMultipleAds","⚠️ No native advertisements available for slot: ","12tkRiRs","createElement","cssText","src","1313577nemNbK","NATIVE","5HEcJhC","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","5859924sdifqJ","mouseenter","warn","div","🏠 Native ad rendered (first of ","Learn More","containerId","getDefaultHeight","1608968MvYtnE","45IGQcTJ","renderAdElement","adstage-ad adstage-native-ad","length","8361830dmnleR","linkUrl","style","button","title","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","log","img","click","\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 ","textContent","className","alt","getElementById","mouseleave","advertisementEventTracker","#2563eb","\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 ","3576916ntFdnn","3125652usRFuX","innerHTML","imageUrl","debug","200px","appendChild","addEventListener"];return(Ct=function(){return t})()}const Rt=_t;function _t(t,e){const n=Ct();return(_t=function(t,e){return n[t-=384]})(t,e)}!function(){const t=_t,e=Ct();for(;;)try{if(910519===parseInt(t(431))/1+parseInt(t(400))/2+parseInt(t(419))/3+-parseInt(t(399))/4*(-parseInt(t(421))/5)+-parseInt(t(415))/6*(-parseInt(t(423))/7)+-parseInt(t(412))/8+-parseInt(t(432))/9*(parseInt(t(436))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Dt extends at{constructor(e=!1,n){super(t[_t(420)],e,n)}[Rt(430)](){return Rt(404)}async[Rt(433)](t,e){const n=Rt,r=document[n(394)](t[n(429)]);if(!r)return;const s=document.createElement(n(426));if(s[n(392)]=n(434),s[n(438)][n(417)]=n(390),e.title){const t=document[n(416)]("h3");t[n(391)]=e[n(385)],t.style.cssText="\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ",s[n(405)](t)}if(e[n(391)]){const t=document.createElement("p");t[n(391)]=e[n(391)],t[n(438)][n(417)]=n(422),s[n(405)](t)}if(e[n(402)]){const t=document[n(416)]("div");t.style[n(417)]=n(386);const r=document[n(416)](n(388));r[n(418)]=e.imageUrl,r[n(393)]=e[n(385)]||"Native Advertisement",r.style.cssText="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t.appendChild(r),s[n(405)](t)}if(e.linkUrl){const t=document.createElement(n(384));t[n(391)]=n(428),t[n(438)].cssText=n(398),t[n(406)](n(389),()=>{const t=n;this[t(396)]&&console[t(387)](t(407)+e[t(408)]),window.open(e[t(437)],t(410))}),t[n(406)](n(424),()=>{const e=n;t[e(438)][e(411)]=e(397)}),t[n(406)](n(395),()=>{const e=n;t[e(438)][e(411)]="#3b82f6"}),s.appendChild(t)}r[n(401)]="",r[n(405)](s),this[n(403)]&&console.log("🏠 Single native ad rendered: "+e._id)}async[Rt(413)](t,e){const n=Rt;e.length>0?(await this[n(433)](t,e[0]),this.debug&&console.log(n(427)+e[n(435)]+n(409)+t.id)):this[n(403)]&&console[n(425)](n(414)+t.id)}}function Lt(t,e){const n=Bt();return(Lt=function(t,e){return n[t-=436]})(t,e)}const Mt=Lt;function Bt(){const t=["1201554htKzcx","adstage-interstitial-content","\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 ","#f3f4f6","360KtAiiq","getDefaultHeight","412tNotPk","cssText","_id","_blank","debug","backgroundColor","adstage-interstitial-styles","3227zfMHJm","Get Started","textContent","createElement","7061362ovscZX","warn","mouseenter","click","open","INTERSTITIAL","length","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","\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 ","\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 ","4059678iaaXRr","renderAdElement","img","containerId","fadeOut 0.3s ease-out forwards","#2563eb","closeInterstitial","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","removeChild","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","advertisementEventTracker","4NlWxki","alt","adstage-interstitial-overlay","13856qrqKcb","button","head","linkUrl","⚠️ No interstitial advertisements available for slot: ","128990OPZwSq","innerHTML","appendChild","getElementById","color","div","title","#e5e7eb","30995OcuHVq","121332iFcsdC","log","addEventListener","keydown","imageUrl","src","key","🖼️ Interstitial ad closed","renderMultipleAds","#3b82f6","#6b7280","style"];return(Bt=function(){return t})()}!function(){const t=Lt,e=Bt();for(;;)try{if(483390===parseInt(t(471))/1*(parseInt(t(488))/2)+-parseInt(t(500))/3+-parseInt(t(438))/4*(parseInt(t(487))/5)+-parseInt(t(459))/6+-parseInt(t(445))/7*(-parseInt(t(474))/8)+-parseInt(t(436))/9*(-parseInt(t(479))/10)+parseInt(t(449))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ut extends at{constructor(e=!1,n){super(t[Lt(454)],e,n)}[Mt(437)](){return"400px"}async[Mt(460)](t,e){const n=Mt;if(!document[n(482)](t[n(462)]))return;const r=document[n(448)](n(484));r.className=n(473),r[n(499)][n(439)]=n(502);const s=document[n(448)](n(484));s.className=n(501),s[n(499)].cssText=n(469);const i=document[n(448)]("button");if(i[n(480)]="×",i[n(499)][n(439)]="\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ",i.addEventListener("click",()=>{this.closeInterstitial(r)}),i[n(490)]("mouseenter",()=>{const t=n;i.style.backgroundColor=t(486),i[t(499)][t(483)]="#374151"}),i[n(490)]("mouseleave",()=>{const t=n;i[t(499)].backgroundColor=t(503),i.style.color=t(498)}),e[n(492)]){const t=document.createElement(n(461));t[n(493)]=e.imageUrl,t[n(472)]=e[n(485)]||"Interstitial Advertisement",t.style[n(439)]=n(467),s[n(481)](t)}if(e.title){const t=document[n(448)]("h2");t[n(447)]=e.title,t[n(499)].cssText=n(456),s[n(481)](t)}if(e.textContent){const t=document[n(448)]("p");t[n(447)]=e[n(447)],t[n(499)][n(439)]=n(466),s[n(481)](t)}if(e[n(477)]){const t=document[n(448)](n(475));t.textContent=n(446),t[n(499)][n(439)]=n(458),t[n(490)](n(452),()=>{const t=n;this[t(470)]&&console[t(489)]("Interstitial click tracked for ad: "+e[t(440)]),window[t(453)](e[t(477)],t(441)),this[t(465)](r)}),t.addEventListener(n(451),()=>{const e=n;t[e(499)][e(443)]=e(464)}),t.addEventListener("mouseleave",()=>{const e=n;t[e(499)][e(443)]=e(497)}),s[n(481)](t)}const o=t=>{const e=n;"Escape"===t[e(494)]&&(this[e(465)](r),document.removeEventListener(e(491),o))};if(document[n(490)]("keydown",o),r[n(490)](n(452),t=>{const e=n;t.target===r&&this[e(465)](r)}),!document[n(482)]("adstage-interstitial-styles")){const t=document[n(448)](n(499));t.id=n(444),t[n(447)]=n(457),document[n(476)].appendChild(t)}s.appendChild(i),r.appendChild(s),document.body[n(481)](r),this[n(442)]&&console[n(489)]("🖼️ Interstitial ad rendered: "+e[n(440)])}async[Mt(496)](t,e){const n=Mt;e.length>0?(await this[n(460)](t,e[0]),this[n(442)]&&console[n(489)]("🖼️ Interstitial ad rendered (first of "+e[n(455)]+"): "+t.id)):this[n(442)]&&console[n(450)](n(478)+t.id)}closeInterstitial(t){const e=Mt;t[e(499)].animation=e(463),setTimeout(()=>{const n=e;t.parentNode&&t.parentNode[n(468)](t)},300),this.debug&&console[e(489)](e(495))}}const zt=Ot;function Ot(t,e){const n=Pt();return(Ot=function(t,e){return n[t-=348]})(t,e)}function Pt(){const t=["renderers","INTERSTITIAL","69830sUpXiB","naturalHeight","width","adstage-ad adstage-","1px dashed #ccc","renderFallback","backgroundColor","appendChild","calculateAdSize","renderMultipleAds","8px","div","VIDEO","video","772333ADscUg","2845808DFOcQR","No renderer found for ad type: ","getDefaultHeightForAdType","renderAd","display","src","advertisementEventTracker","22168mJUCZz","renderOptimizedBannerImage is only supported for BANNER ads","100%","calculateOptimalContainerSize","setAttribute","loadImageDimensions","renderOptimizedBannerImage","[AdRenderer] ","54tOwGcG","className","textContent","data-adstage-slot-id","set","renderAdSlider","get","🏭 AdRenderer factory initialized with ","TEXT","config","style","NATIVE","getDefaultHeight","naturalWidth","createAdElement","260272cNAhwA","#f9f9f9","_id","optimizeContainerForBannerAds","objectFit","log","58761ySQwbl","img","createPlaceholder"," Ad","1368034ZLrOVs","getRenderer","BANNER","padding","block","adType","Failed to load image: ","imageUrl","cover","size","advertisement","renderAdElement","height","createElement","debug","378MFJmek","onerror"];return(Pt=function(){return t})()}!function(){const t=Ot,e=Pt();for(;;)try{if(555073===-parseInt(t(409))/1+parseInt(t(376))/2+-parseInt(t(372))/3+-parseInt(t(417))/4+-parseInt(t(395))/5*(-parseInt(t(391))/6)+-parseInt(t(410))/7+parseInt(t(366))/8*(parseInt(t(351))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt{constructor(t=!1,e){const n=Ot;this[n(393)]=new Map,this[n(390)]=t,this[n(416)]=e||null,this.initializeRenderers()}initializeRenderers(){const e=Ot;this[e(393)][e(355)](t[e(378)],new dt(this[e(390)],this[e(416)])),this.renderers[e(355)](t[e(359)],new Et(this[e(390)],this[e(416)])),this.renderers[e(355)](t.VIDEO,new Tt(this.debug,this.advertisementEventTracker)),this[e(393)][e(355)](t[e(362)],new Dt(this[e(390)],this.advertisementEventTracker)),this[e(393)][e(355)](t[e(394)],new Ut(this[e(390)],this[e(416)])),this[e(390)]&&console[e(371)](e(358)+this[e(393)][e(385)]+" renderers")}[zt(365)](e,n){const r=zt,s=this[r(377)](e.adType),i=document[r(389)](r(406));i[r(352)]=r(398)+String(e.adType).toLowerCase(),i.setAttribute("data-adstage-ad-id",n[r(368)]),i[r(421)](r(354),e.id);const{width:o,height:a}=s[r(403)](i,e[r(360)]||{},n);switch(i[r(361)][r(397)]=o,i[r(361)][r(388)]=a,i.style[r(414)]=r(380),e[r(381)]){case t[r(378)]:if(n[r(383)]){const t=document.createElement(r(373));t[r(415)]=n[r(383)],t.style[r(397)]=r(419),t[r(361)][r(388)]=r(419),t[r(361)][r(370)]=r(384),i.appendChild(t)}break;case t[r(407)]:if(n.videoUrl){const t=document[r(389)](r(408));t[r(415)]=n.videoUrl,t[r(361)][r(397)]=r(419),t[r(361)].height=r(419),i[r(402)](t)}break;case t[r(359)]:if(n[r(353)]){const t=document.createElement("div");t[r(353)]=n[r(353)]||"",t[r(361)][r(379)]=r(405),i[r(402)](t)}break;default:i[r(361)].border=r(399),i[r(361)][r(401)]=r(367),i[r(353)]=e[r(381)]+r(375)}return i}[zt(377)](t){const e=zt,n=this.renderers[e(357)](t);if(!n)throw new Error(e(411)+t);return n}[zt(374)](t,e,n,r,s){const i=zt;this[i(377)](n)[i(374)](t,e,r,s)}async optimizeContainerForBannerAds(e,n){const r=zt;if(e[r(381)]!==t.BANNER)return void(this[r(390)]&&console.warn("⚠️ Container optimization is only supported for BANNER ads, got: "+e.adType));const s=this[r(377)](t[r(378)]);await s[r(369)](e,n)}async[zt(356)](t,e){const n=zt,r=this[n(377)](t.adType);await r[n(404)](t,e)}async[zt(413)](t){const e=zt;if(!t.advertisement)throw new Error("No advertisement to render");const n=this[e(377)](t[e(381)]);await n[e(387)](t,t[e(386)]),t.isLoaded=!0}async[zt(387)](t,e){const n=zt,r=this[n(377)](t[n(381)]);await r[n(387)](t,e)}[zt(400)](t){const e=zt;this[e(377)](t[e(381)])[e(400)](t)}[zt(412)](t){const e=zt;return this.getRenderer(t)[e(363)]()}calculateAdSize(t,e,n,r){const s=zt;return this.getRenderer(e)[s(403)](t,n,r)}[zt(348)](t){return new Promise((e,n)=>{const r=Ot,s=new Image;s.onload=()=>{const t=Ot;e({width:s[t(364)],height:s[t(396)]})},s[r(392)]=()=>{n(new Error(r(382)+t))},s[r(415)]=t})}async[zt(349)](e,n,r){const s=zt;if(r[s(381)]!==t[s(378)])throw new Error(s(418));const i=this[s(377)](t[s(378)]);return await i[s(349)](e,n,r)}async[zt(420)](e,n,r){const s=zt;if(r!==t.BANNER){return{width:"100%",height:this.getRenderer(r)[s(363)](),aspectRatio:16/9}}const i=this[s(377)](t[s(378)]);return await i[s(420)](e,n)}log(t,...e){const n=zt;this.debug&&console.log(n(350)+t,...e)}}const Vt=Ft;function Ft(t,e){const n=Ht();return(Ft=function(t,e){return n[t-=225]})(t,e)}function Ht(){const t=["apiKey","auto","slots","renderAdElement","❌ Failed to find element for viewability tracking: ","get"," removed","config","autoplay"," attempts: ","language","substr","advertisement","banner","GET","refresh","_isReady","autoDestroy","interstitial","fetchAdData","getSlotById","observe","createPlaceholder","now","create","default","renderFallback","json","getAttribute","optimizeContainerForBannerAds","Failed to fetch ad data: ","New advertisement viewable tracked for slot:","debug",". Retrying in ","ensureReady","✅ Simple viewable impression tracked for ad ","clear","🔍 Auto-cleanup MutationObserver enabled","adId","getBaseUrl","Container not found after ","TEXT","data-adstage-slot-id","_id","5743031DcpQlr","destroyModule","slideInterval",", filters:","4401456htvSqi","onClick","🎠 Slider will handle VIEWABLE events for ","📊 Fetched ","autoSlide","style","toString","length","forEach","height","BANNER","customControls","advertisementEventTracker","refreshAdSlot","startSimpleViewabilityTracking","width","containerId","getElementById"," (attempt ","playsinline","❌ Failed to load ad for slot: ","Ad slot not found: "," ads for type: ","createAdWithRetry","3611052DQhkex","detail"," (element found)","📊 Fetched specific ad with ID: ","log","✅ Ad loaded for slot: ","INTERSTITIAL","querySelectorAll","Container not found: ","2562425vJZGBE","🗑️ Ad slot destroyed: ","warn","VIEWABLE","hideControls","❌ Failed to track viewable impression:","VIDEO","loadAdContentInBackground","8XlnMTw","1221711igqJzV","native","API key not configured","createAdInternal","muted","100%","text","mutationObserver","Ads module not initialized. Call AdStage.init() first.","values","append","createAd","error","renderAdSlider","🎯 Ads module initialized (sync mode) with auto-cleanup","🧹 Auto-cleanup: slot ","getConfig"," ads automatically","232250NMwfYL","removedNodes","trackAdvertisementEvent"," ads)","handleViewableEvent","adType","maxLines","isLoaded","init","Auto-cleanup failed for slot ","disconnect","handleRemovedElement","deviceType","country","_config","nodeType","🗑️ Ads module destroyed","then","🎯 Simple viewability tracking started for slot: ","adRenderer","destroy","body","adstage-","set","setupAutoCleanup","18781064whtwJW","undefined","advertisements","status"];return(Ht=function(){return t})()}!function(){const t=Ft,e=Ht();for(;;)try{if(534261===-parseInt(t(314))/1*(parseInt(t(333))/2)+-parseInt(t(315))/3+-parseInt(t(297))/4+parseInt(t(306))/5+parseInt(t(273))/6+-parseInt(t(269))/7+parseInt(t(358))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class jt{constructor(){const t=Ft;this._isReady=!1,this[t(347)]=null,this[t(227)]=new Map,this[t(285)]=null,this[t(352)]=null,this[t(322)]=null}[Vt(341)](t){const e=Vt;this[e(347)]=t,this[e(285)]=new R(F[e(264)](),t[e(225)],t[e(257)]||!1,this[e(227)]),this[e(352)]=new Nt(t[e(257)]||!1,this[e(285)]),this[e(357)](),this[e(241)]=!0,t[e(257)]&&console[e(301)](e(329))}isReady(){return this[Vt(241)]}[Vt(331)](){return this[Vt(347)]}[Vt(238)](e,n){const r=Vt;this.ensureReady();const s={width:n?.[r(288)]||r(320),height:n?.[r(282)]||r(226),autoSlide:n?.[r(277)]||!1,slideInterval:n?.[r(271)]||5e3,onClick:n?.onClick,adId:n?.[r(263)],language:n?.[r(235)],deviceType:n?.deviceType,country:n?.[r(346)]};return this[r(326)](e,t[r(283)],s)}[Vt(321)](e,n){const r=Vt;this[r(259)]();const s={maxLines:n?.[r(339)]||3,style:n?.[r(278)]||r(250),onClick:n?.[r(274)],adId:n?.[r(263)],language:n?.language,deviceType:n?.[r(345)],country:n?.country};return this[r(326)](e,t.TEXT,s)}video(e,n){const r=Vt;this[r(259)]();const s={width:n?.[r(288)]||640,height:n?.[r(282)]||360,autoplay:void 0===n?.[r(233)]||n.autoplay,muted:void 0===n?.muted||n[r(319)],loop:void 0===n?.loop||n.loop,playsinline:!1!==n?.[r(292)],controls:void 0!==n?.controls&&n.controls,hideControls:n?.[r(310)]||!1,customControls:n?.[r(284)],autoSlide:!1,maxAds:1,onClick:n?.onClick,...n?.[r(263)]&&{adId:n[r(263)]}};return this[r(326)](e,t[r(312)],s)}[Vt(316)](e,n){const r=Vt;return this[r(259)](),this[r(326)](e,t.NATIVE,n||{})}[Vt(243)](e,n){const r=Vt;return this[r(259)](),this[r(326)](e,t[r(303)],n||{})}[Vt(240)](t){const e=Vt;this[e(259)]();const n=this.slots.get(t);if(!n)throw new Error(e(294)+t);this[e(286)](n),this[e(347)]?.[e(257)]&&console.log("🔄 Ad slot refreshed: "+t)}[Vt(353)](t){const e=Vt;this[e(259)]();const n=this[e(227)].get(t);if(!n)throw new Error(e(294)+t);n.viewabilityTracker&&n.viewabilityTracker[e(353)]();const r=document.getElementById(n[e(289)]);r&&(r.innerHTML=""),this.slots.delete(t),this[e(347)]?.[e(257)]&&console[e(301)](e(307)+t)}getAllSlots(){const t=Vt;return this[t(259)](),Array.from(this[t(227)][t(324)]())}[Vt(245)](t){const e=Vt;return this[e(259)](),this.slots[e(230)](t)||null}[Vt(326)](t,e,n){const r=Vt;if(!this._config?.apiKey)throw new Error(r(317));const s=r(355)+e+"-"+Date[r(248)]()+"-"+Math.random()[r(279)](36)[r(236)](2,9);return this[r(296)](t,e,n,s,0),s}async createAdWithRetry(t,e,n,r,s){const i=Vt,o=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document.getElementById(t),!c)return s<4?(this._config?.[i(257)]&&console.warn(i(305)+t+i(258)+o[s+1]+"ms... (attempt "+(s+1)+"/5)"),void setTimeout(()=>{this[i(296)](t,e,n,r,s+1)},o[s+1])):void console[i(327)](i(265)+5+i(234)+t)}else c=t,a=c.id||"auto-"+r,!c.id&&(c.id=a);try{this[i(318)](a,e,n,r,c)}catch(t){console[i(327)]("광고 생성 중 오류 발생:",t)}}[Vt(318)](e,n,r,s,i){const o=Vt;i.setAttribute(o(267),s),this[o(352)]?.[o(247)](i,s,n,r,this[o(347)]);const a={id:s,containerId:e,adType:n,width:r[o(288)]||"100%",height:r[o(282)]||(n===t[o(266)]?o(226):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[o(244)](n,r)[o(350)](t=>t[0]||null),render:t=>this[o(352)]?.[o(228)](a,t),refresh:async()=>this[o(286)](a),destroy:()=>this[o(353)](s)};this[o(227)][o(356)](s,a),this[o(313)](a),this[o(285)]&&this[o(347)]?.debug&&console.log("📊 Advertisement event tracking enabled for slot: "+s)}async[Vt(313)](e){const n=Vt;try{const r=await this[n(244)](e.adType,e[n(232)]);if(!r||0===r.length)return void this[n(352)]?.[n(251)](e);e[n(338)]===t[n(283)]&&r[n(280)]>0&&await(this[n(352)]?.[n(254)](e,r)),r[n(280)]>1||e.config?.autoSlide?(await(this.adRenderer?.[n(328)](e,r)),this._config?.debug&&console[n(301)](n(275)+r[n(280)]+n(332))):(e[n(237)]=r[0],await(this[n(352)]?.[n(228)](e,r[0])),this.startSimpleViewabilityTracking(e,r[0])),e[n(340)]=!0,this[n(347)]?.[n(257)]&&console[n(301)](n(302)+e.id+" ("+r[n(280)]+n(336))}catch(t){console[n(327)](n(293)+e.id,t),this[n(352)]?.[n(251)](e)}}[Vt(287)](t,e){const n=(r=0)=>{const s=Ft,i=document[s(290)](t.id);if(!i)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(347)]?.debug&&console[s(301)]("🔄 Retrying viewability tracking for slot: "+t.id+s(291)+(r+1)+")")):console[s(308)](s(229)+t.id));const o=new M(i,async()=>{const n=s;await this[n(337)](e,t)});t.viewabilityTracker=o,this[s(347)]?.[s(257)]&&console[s(301)](s(351)+t.id+s(299))};n()}async[Vt(337)](t,e){const n=Vt;try{this[n(285)]&&(await this.advertisementEventTracker[n(335)](t[n(268)],e.id,o[n(309)]),this._config?.debug&&console[n(301)](n(260)+t[n(268)]))}catch(t){console[n(327)](n(311),t)}}async[Vt(244)](t,e){const n=Vt;if(!this[n(347)]?.apiKey)throw new Error(n(317));if(e[n(263)]){const t=""+F[n(360)][n(298)](e[n(263)]),r=await fetch(t,{method:n(239),headers:A[n(249)](this._config[n(225)])});if(!r.ok){if(404===r[n(361)])return console.warn("🚫 Advertisement not found with ID: "+e.adId),[];throw new Error(n(255)+r[n(361)])}const s=await r[n(252)]();return this[n(347)]?.[n(257)]&&console[n(301)](n(300)+e.adId,s),[s]}const r=new URLSearchParams;r[n(325)](n(338),t),e[n(235)]&&r[n(325)](n(235),e[n(235)]),e[n(345)]&&r[n(325)](n(345),e[n(345)]),e[n(346)]&&r.append(n(346),e[n(346)]);const s=F[n(360)].list()+"?"+r[n(279)](),i=await fetch(s,{method:"GET",headers:A[n(249)](this[n(347)][n(225)])});if(!i.ok)throw new Error("Failed to fetch ad data: "+i.status);const o=(await i[n(252)]()).advertisements||[];return this[n(347)]?.[n(257)]&&console[n(301)](n(276)+o.length+n(295)+t+n(272),{language:e.language,deviceType:e[n(345)],country:e[n(346)]}),o}async[Vt(286)](t){const e=Vt;try{const n=await this[e(244)](t[e(338)],t[e(232)]||{});n&&n.length>0&&(t[e(237)]=n[0],await(this[e(352)]?.renderAd(t)),this[e(285)]&&console[e(301)](e(256),t.id))}catch(n){console[e(327)]("Failed to refresh ad slot: "+t.id,n)}}[Vt(259)](){const t=Vt;if(!this._isReady)throw new Error(t(323))}[Vt(357)](){const t=Vt;typeof window!==t(359)&&"undefined"!=typeof document&&(this.mutationObserver&&this[t(322)][t(343)](),this[t(322)]=new MutationObserver(t=>{t.forEach(t=>{const e=Ft;t[e(334)][e(281)](t=>{const n=e;t[n(348)]===Node.ELEMENT_NODE&&this[n(344)](t)})})}),this[t(322)][t(246)](document[t(354)],{childList:!0,subtree:!0}),this[t(347)]?.debug&&console[t(301)](t(262)))}[Vt(344)](t){const e=Vt,n=t[e(253)](e(267));if(n)return void this[e(242)](n);t[e(304)]("[data-adstage-slot-id]")[e(281)](t=>{const n=e,r=t.getAttribute("data-adstage-slot-id");r&&this[n(242)](r)})}[Vt(242)](t){const e=Vt;if(this[e(227)].get(t))try{this[e(227)].delete(t),this._config?.debug&&console[e(301)](e(330)+t+e(231))}catch(n){this._config?.[e(257)]&&console[e(308)](e(342)+t+":",n)}}[Vt(270)](){const t=Vt,e=this[t(347)]?.[t(257)];this[t(322)]&&(this[t(322)][t(343)](),this.mutationObserver=null),this[t(227)][t(261)](),this.advertisementEventTracker=null,this[t(352)]=null,this[t(241)]=!1,this[t(347)]=null,e&&console[t(301)](t(349))}}function Kt(){var t=["_organizationInfo","isDebugMode","getEnabledModules","getBaseUrl","log","modules","updateConfig","debug","events","development","6061230JHhjrG","2000IKecgd","840898QtqFUy","_isReady","create","baseUrl","ads","40xZHqSv","4893suGgKr","6505939lvJsCU","🔄 Config updated","5HPtJbY","2417076EZKBTp","_config","✅ Config module initialized (sync mode)","32xMiSUm","Config module not initialized","getOrganizationInfo","getApiEndpoint","897798LEGaHi","apiKey","isReady","includes","getApiHeaders","isModuleEnabled","setBaseUrl","config","6448218tmNQVx","API key not available"];return(Kt=function(){return t})()}var Wt=qt;function qt(t,e){var n=Kt();return(qt=function(t,e){return n[t-=209]})(t,e)}!function(){for(var t=qt,e=Kt();;)try{if(605838===parseInt(t(233))/1+parseInt(t(211))/2+-parseInt(t(239))/3*(-parseInt(t(232))/4)+-parseInt(t(242))/5*(-parseInt(t(219))/6)+parseInt(t(231))/7+-parseInt(t(246))/8*(parseInt(t(243))/9)+parseInt(t(238))/10*(-parseInt(t(240))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gt{constructor(){var t=qt;this[t(234)]=!1,this[t(244)]=null,this[t(221)]=null}init(t){var e=qt;this._config={timeout:3e4,debug:!1,modules:[e(237),e(229),e(218)],...t},t.baseUrl&&F[e(217)](t[e(236)]),this[e(234)]=!0,t[e(228)]&&console.log(e(245),{modules:this[e(244)].modules,endpoint:F[e(224)](),mode:e(230)})}[Wt(213)](){return this[Wt(234)]}getConfig(){return this[Wt(244)]}[Wt(209)](){return this._organizationInfo}[Wt(210)](){return F[Wt(224)]()}[Wt(222)](){var t=Wt;return this[t(244)]?.[t(228)]||!1}[Wt(223)](){var t=Wt;return this[t(244)]?.[t(226)]||[]}[Wt(216)](t){var e=Wt;return this[e(223)]()[e(214)](t)}[Wt(227)](t){var e=Wt;if(!this[e(244)])throw new Error(e(247));this[e(244)]={...this[e(244)],...t},this[e(222)]()&&console[e(225)](e(241),t)}[Wt(215)](){var t=Wt;if(!this[t(244)]?.[t(212)])throw new Error(t(220));return A[t(235)](this[t(244)][t(212)])}}const Xt=Yt;function Jt(){const t=["116690tAdDqG","height","getViewportInfo","Desktop Web","5mkQbiL","1460736kyDxrq","userAgent","getAutoDetectedDeviceInfo","ios","ko-KR","24cgeaBM","135nZnQpt","272488pVoRgI","isMobile","Mobile Web","Android","885654dDpVRh","android","96817nQiwal","_userProvidedDeviceInfo","test","Unknown","iOS","width","46156CrtSQS","web","toLowerCase","getUserDeviceInfo","platform","language","0x0","SSR","getDetailedInfo","setDeviceInfo","cookieEnabled","isBrowser","mobile","desktop","278161TsKaeO"];return(Jt=function(){return t})()}function Yt(t,e){const n=Jt();return(Yt=function(t,e){return n[t-=220]})(t,e)}!function(){const t=Yt,e=Jt();for(;;)try{if(385045===parseInt(t(248))/1+parseInt(t(234))/2+parseInt(t(226))/3+-parseInt(t(254))/4*(parseInt(t(253))/5)+-parseInt(t(220))/6*(parseInt(t(228))/7)+parseInt(t(222))/8+parseInt(t(221))/9*(parseInt(t(249))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{static getDeviceInfo(){const t=Yt;return{...Zt[t(256)](),...Zt[t(229)]}}static[Xt(256)](){const t=Xt;if(!m[t(245)]())return{category:"other",platform:t(241),model:t(241),osVersion:t(241)};const e=navigator[t(255)][t(236)]();let n=t(247);/tablet|ipad/[t(230)](e)?n="tablet":E[t(223)]()&&(n=t(246));const r=E.getPlatform();return{category:n,platform:Zt.mapPlatformForEvents(r),model:navigator[t(238)],osVersion:navigator[t(238)]}}static[Xt(243)](t){const e=Xt;Zt[e(229)]={...Zt[e(229)],...t}}static setDeviceProperty(t,e){Zt[Xt(229)][t]=e}static clearDeviceInfo(){Zt[Xt(229)]={}}static[Xt(237)](){return{...Zt[Xt(229)]}}static mapPlatformForEvents(t){const e=Xt;switch(t){case e(257):return e(232);case e(227):return e(225);case e(235):return e(224);case e(247):return e(252);default:return e(231)}}static[Xt(242)](){const t=Xt;if(!m.isBrowser())return{userAgent:t(241),language:"ko-KR",platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(240),viewportSize:t(240)};const e=m[t(251)]();return{userAgent:navigator.userAgent,language:navigator[t(239)]||t(258),platform:navigator.platform,cookieEnabled:navigator[t(244)],onLine:navigator.onLine,screenResolution:screen.width+"x"+screen.height,viewportSize:e[t(233)]+"x"+e[t(250)]}}}Zt[Xt(229)]={};const Qt=$t;function $t(t,e){const n=ee();return($t=function(t,e){return n[t-=500]})(t,e)}!function(){const t=$t,e=ee();for(;;)try{if(903597===-parseInt(t(511))/1+-parseInt(t(520))/2+parseInt(t(515))/3*(-parseInt(t(509))/4)+parseInt(t(507))/5*(-parseInt(t(521))/6)+parseInt(t(517))/7*(parseInt(t(522))/8)+-parseInt(t(523))/9+parseInt(t(512))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class te{static[Qt(513)](){const t=Qt;return{...te[t(500)](),...te[t(508)]}}static[Qt(500)](){const t=Qt;if(!m[t(519)]())return{language:t(510),country:"KR"};const e=navigator[t(501)]||t(510);return{language:e,country:te[t(518)](e)}}static[Qt(518)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t.split("-")[0]]||"KR"}static[Qt(524)](t){const e=Qt;te[e(508)]={...te[e(508)],...t}}static[Qt(514)](t,e){te[Qt(508)][t]=e}static[Qt(506)](){te[Qt(508)]={}}static[Qt(503)](){return{...te[Qt(508)]}}static[Qt(516)](){const t=Qt;if(!m[t(519)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl[t(502)]()[t(504)]()[t(505)];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 ee(){const t=["5027912vpUUsn","ko-KR","258390YEmKJx","27139820ZbSaAu","getUserInfo","setUserProperty","3gbCGuv","estimateLocation","37457jhoYtl","extractCountryFromLanguage","isBrowser","7590HlTvWs","8396910bTSwhf","2584rGDaDu","5580990CqJtVt","setUserProperties","getBaseUserInfo","language","DateTimeFormat","getCurrentUserProperties","resolvedOptions","timeZone","clearUserProperties","5Fzfuww","_userProperties"];return(ee=function(){return t})()}function ne(t,e){const n=ie();return(ne=function(t,e){return n[t-=258]})(t,e)}te[Qt(508)]={};const re=ne;!function(){const t=ne,e=ie();for(;;)try{if(165397===-parseInt(t(258))/1*(-parseInt(t(284))/2)+parseInt(t(277))/3+parseInt(t(260))/4+parseInt(t(259))/5+parseInt(t(276))/6*(parseInt(t(267))/7)+parseInt(t(266))/8+-parseInt(t(281))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{static getSessionId(){const t=ne;if(!m[t(264)]())return t(279)+Date[t(262)]();const e=sessionStorage.getItem(t(274));if(e)return e;const n="session_"+Math[t(269)]()[t(271)](36)[t(263)](2,9)+"_"+Date.now();return sessionStorage[t(285)](t(274),n),!se[t(280)]&&(se[t(280)]=Date[t(262)](),m[t(264)]()&&sessionStorage.setItem(t(286),String(se[t(280)]))),n}static[re(265)](t){const e=re;se._userId=t,m[e(264)]()&&localStorage[e(285)]("adstage_user_id",t)}static[re(272)](){const t=re;if(se._userId)return se[t(289)];if(m.isBrowser()){const e=localStorage[t(283)]("adstage_user_id");if(e)return se[t(289)]=e,e}}static[re(287)](){const t=re;se[t(289)]=void 0,m[t(264)]()&&localStorage[t(288)](t(282))}static[re(268)](){const t=re,e=se.getSessionId(),n=se.getUserId(),r=se.isNewSession();return{sessionId:e,userId:n,sessionDuration:se[t(261)](),isNewSession:r}}static[re(273)](){const t=re;if(!m.isBrowser())return!0;const e=sessionStorage[t(283)](t(274)),n=sessionStorage.getItem(t(286));return!e||!n}static getSessionDuration(){const t=re;if(!m[t(264)]())return 0;const e=sessionStorage[t(283)](t(286));return e?Date[t(262)]()-parseInt(e,10):0}static[re(278)](){const t=re;return m[t(264)]()&&(sessionStorage[t(288)](t(274)),sessionStorage[t(288)](t(286))),se[t(280)]=void 0,se[t(275)]()}static isSessionExpired(t=24){return se.getSessionDuration()>60*t*60*1e3}static getSessionStats(){const t=re,e=se[t(275)](),n=se[t(272)](),r=se.getSessionDuration(),s=se[t(270)](),i=se[t(273)]();let o;if(m[t(264)]()){const e=sessionStorage[t(283)](t(286));o=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:o,duration:r,isExpired:s,isNewSession:i}}}function ie(){const t=["553MfXcPF","getSessionInfo","random","isSessionExpired","toString","getUserId","isNewSession","adstage_session_id","getSessionId","1614fbElhN","774765ymvxMT","refreshSession","ssr_session_","_sessionStartTime","5563080cTWhTE","adstage_user_id","getItem","2082TaAxMZ","setItem","adstage_session_start","clearUserId","removeItem","_userId","133fHhlpy","602320CLRfHs","967892NPWKjy","getSessionDuration","now","substr","isBrowser","setUserId","24968rumYQR"];return(ie=function(){return t})()}function oe(){const t=["_isReady","getUserId","getSessionId","setUserProperties","log","API key not configured for event tracking.","583926cePjVg","debug","_config","getCurrentUserProperties","statusText","759576KhBQMM","getUserInfo","init","setDeviceProperty","events","setUserId","clearDeviceInfo","setDeviceInfo","POST","580445gFkkdD","👤 User ID set:","📱 Device property set:","👤 User properties set:","7MeSToy","getDeviceInfo","application/json","📱 User provided device info cleared","isReady","getConfig","warn","track","❌ Failed to track event:","Events module not initialized. Call AdStage.init() first.","status","getUserDeviceInfo","Event tracking failed: ","584680Qzsxjs","stringify","create","📱 Device info set:","error","16115KgXDEG","320478WHvxNq","✅ Event tracked:","158673WZBkTw"];return(oe=function(){return t})()}const ae=ce;function ce(t,e){const n=oe();return(ce=function(t,e){return n[t-=206]})(t,e)}!function(){const t=ce,e=oe();for(;;)try{if(123688===-parseInt(t(236))/1+parseInt(t(237))/2+-parseInt(t(239))/3+parseInt(t(231))/4+-parseInt(t(214))/5+parseInt(t(246))/6*(parseInt(t(218))/7)+-parseInt(t(251))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{constructor(){const t=ce;this[t(240)]=!1,this[t(248)]=null}[ae(207)](t){const e=ae;this[e(248)]=t,this[e(240)]=!0,t.debug&&console[e(244)]("📊 Events module initialized")}[ae(222)](){return this[ae(240)]}[ae(223)](){return this[ae(248)]}[ae(210)](t){const e=ae;se.setUserId(t),this[e(248)]?.debug&&console[e(244)](e(215),t)}[ae(241)](){return se.getUserId()}[ae(243)](t){const e=ae;te[e(243)](t),this[e(248)]?.debug&&console[e(244)](e(217),t)}getUserProperties(){return te[ae(249)]()}[ae(212)](t){const e=ae;Zt[e(212)](t),this[e(248)]?.debug&&console.log(e(234),t)}[ae(208)](t,e){const n=ae;Zt[n(208)](t,e),this[n(248)]?.[n(247)]&&console.log(n(216),t,e)}clearDeviceInfo(){const t=ae;Zt[t(211)](),this[t(248)]?.[t(247)]&&console[t(244)](t(221))}getUserDeviceInfo(){return Zt[ae(229)]()}getDeviceInfo(){return Zt[ae(219)]()}[ae(206)](){return te[ae(206)]()}[ae(249)](){return te[ae(249)]()}async[ae(225)](t,e){const n=ae;if(this._isReady)if(this[n(248)]?.apiKey)try{const r={eventName:t,userId:se.getUserId(),sessionId:se[n(242)](),sdkVersion:'"3.0.8"',device:Zt.getDeviceInfo(),user:te[n(206)](),params:e||{}};await this.sendEventToServer(r),this[n(248)][n(247)]&&console[n(244)](n(238),t,e)}catch(r){console[n(235)](n(226),r),this._config[n(247)]&&console.error("Event data:",{eventName:t,properties:e})}else console[n(224)](n(245));else console[n(224)](n(227))}async sendEventToServer(t){const e=ae,n=await fetch(F[e(209)].track(),{method:e(213),headers:{...A[e(233)](this[e(248)].apiKey),"Content-Type":e(220)},body:JSON[e(232)](t)});if(!n.ok)throw new Error(e(230)+n[e(228)]+" "+n[e(250)])}}const de=pe;function ue(){const t=["✅ AdStage Debug: 광고 ","📊 AdStage Debug: 현재 viewable 추적 상태","245298LCidUH","ads","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","36lqrNxR",")의 viewable 추적 초기화됨","config","574256pilIZW","log","clearAdViewable","1584714vaGpUV","1716640FktuAw","🌐 API endpoint configured:","1416700fVEJRx","...","isReady","modules","_isInitialized","function","viewableTracker","events","baseUrl","getInstance","2.0.0","195328LOIJHs","from","substring","debug","AdStage not initialized. Call AdStage.init() first.","getConfig","apiKey","5dMxQcU","clear","init","instance","3549podYPz","🚀 AdStage SDK initialized (sync mode)","1880XsFrVT","_config"];return(ue=function(){return t})()}function pe(t,e){const n=ue();return(pe=function(t,e){return n[t-=317]})(t,e)}!function(){const t=pe,e=ue();for(;;)try{if(537338===-parseInt(t(347))/1*(-parseInt(t(317))/2)+parseInt(t(351))/3*(-parseInt(t(353))/4)+parseInt(t(327))/5+-parseInt(t(326))/6+-parseInt(t(340))/7+parseInt(t(323))/8*(parseInt(t(320))/9)+parseInt(t(329))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class he{constructor(){const t=pe;this[t(333)]=!1,this[t(354)]=null,this.config=new Gt,this[t(318)]=new jt,this.events=new le}static[de(349)](t){const e=de;!he.instance&&(he.instance=new he);const n=he[e(350)];if(!t[e(346)])throw new Error("API key is required for AdStage initialization");n[e(354)]={timeout:3e4,debug:!1,modules:[e(318),"events",e(322)],...t},n[e(354)][e(337)]&&(F.setBaseUrl(n._config[e(337)]),t[e(343)]&&console[e(324)](e(328),n[e(354)][e(337)]));const r=n._config[e(332)]||[e(318),e(336),"config"];for(const t of r){const r=n[t];r&&typeof r[e(349)]===e(334)&&r[e(349)](n._config)}n[e(333)]=!0,t[e(343)]&&console[e(324)](e(352),{version:e(339),modules:r,apiKey:t.apiKey[e(342)](0,8)+e(330),mode:"development"})}static[de(331)](){const t=de;return he[t(350)]?._isInitialized||!1}static[de(345)](){const t=de;return he[t(350)]?.[t(354)]||null}static[de(338)](){const t=de;if(!he[t(350)])throw new Error(t(344));return he.instance}static get[de(318)](){const t=de;return he.getInstance()[t(318)]}static get[de(336)](){return he.getInstance().events}static get config(){return he[de(338)]().config}static reset(){const t=de;he[t(350)]&&(he[t(350)]._isInitialized=!1,he[t(350)][t(354)]=null)}}function fe(t,e){var n=ve;return he.isReady()?he.events.track(t,e):(console[n(212)](n(209)),Promise[n(219)]())}function ge(t){var e=ve;he.isReady()?he[e(206)][e(213)](t):console[e(212)]("AdStage not initialized. Call AdStage.init() first.")}function me(){var t=ve;if(he[t(215)]())return he.events.getUserId();console.warn(t(209))}function ve(t,e){var n=be();return(ve=function(t,e){return n[t-=202]})(t,e)}function Ie(t){var e=ve;he[e(215)]()?he.events[e(210)](t):console[e(212)](e(209))}function ye(){var t=ve;if(he[t(215)]())return he[t(206)][t(218)]();console[t(212)](t(209))}function be(){var t=["9Aqwjsn","warn","setUserId","5832850imdbtx","isReady","1706rbaRqe","197292TdCqUF","getUserProperties","resolve","7378100nwnWHh","266YAJStx","1199XdCqNO","635085uVhoGN","events","2648728wIxoRK","1153852FwmJBP","AdStage not initialized. Call AdStage.init() first.","setUserProperties"];return(be=function(){return t})()}he[de(343)]={clearAllViewable:()=>{const t=de;rt[t(348)](),console.log(t(319))},clearAdViewable:(t,e)=>{const n=de;rt[n(325)](t,e),console[n(324)](n(355)+t+"("+e+n(321))},getViewableStatus:()=>{const t=de;console.log(t(356),{trackedCount:rt[t(335)].size,trackedItems:Array[t(341)](rt[t(335)])})}},function(){for(var t=ve,e=be();;)try{if(824596===parseInt(t(204))/1*(-parseInt(t(216))/2)+parseInt(t(205))/3+parseInt(t(208))/4+parseInt(t(214))/5+-parseInt(t(217))/6*(-parseInt(t(203))/7)+parseInt(t(207))/8*(-parseInt(t(211))/9)+-parseInt(t(202))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var we,ke={exports:{}},Ee={},xe={exports:{}},Se={};xe.exports=function(){if(we)return Se;we=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function v(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=v.prototype=new m;I.constructor=v,h(I,g.prototype),I.isPureReactComponent=!0;var y=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,i={},o=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(o=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(i[s]=n[s]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===i[s]&&(i[s]=c[s]);return{$$typeof:t,type:e,key:o,ref:a,props:i,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function T(n,r,s,i,o){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return o=o(c=n),n=""===i?"."+A(c,0):i,y(o)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),T(o,r,s,"",function(t){return t})):null!=o&&(x(o)&&(o=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(o,s+(!o.key||c&&c.key===o.key?"":(""+o.key).replace(S,"$&/")+"/")+n)),r.push(o)),1;if(c=0,i=""===i?".":i+":",y(n))for(var l=0;l<n.length;l++){var d=i+A(a=n[l],l);c+=T(a,r,s,d,o)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=T(a=a.value,r,s,d=i+A(a,l++),o);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function C(t,e,n){if(null==t)return t;var r=[],s=0;return T(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var _={current:null},D={transition:null},L={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function M(){throw Error("act(...) is not supported in production builds of React.")}return Se.Children={map:C,forEach:function(t,e,n){C(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return C(t,function(){e++}),e},toArray:function(t){return C(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Se.Component=g,Se.Fragment=n,Se.Profiler=s,Se.PureComponent=v,Se.StrictMode=r,Se.Suspense=c,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,Se.act=M,Se.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),i=e.key,o=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(o=n.ref,a=w.current),void 0!==n.key&&(i=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)b.call(n,l)&&!k.hasOwnProperty(l)&&(s[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];s.children=c}return{$$typeof:t,type:e.type,key:i,ref:o,props:s,_owner:a}},Se.createContext=function(t){return(t={$$typeof:o,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:t},t.Consumer=t},Se.createElement=E,Se.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Se.createRef=function(){return{current:null}},Se.forwardRef=function(t){return{$$typeof:a,render:t}},Se.isValidElement=x,Se.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:R}},Se.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},Se.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},Se.unstable_act=M,Se.useCallback=function(t,e){return _.current.useCallback(t,e)},Se.useContext=function(t){return _.current.useContext(t)},Se.useDebugValue=function(){},Se.useDeferredValue=function(t){return _.current.useDeferredValue(t)},Se.useEffect=function(t,e){return _.current.useEffect(t,e)},Se.useId=function(){return _.current.useId()},Se.useImperativeHandle=function(t,e,n){return _.current.useImperativeHandle(t,e,n)},Se.useInsertionEffect=function(t,e){return _.current.useInsertionEffect(t,e)},Se.useLayoutEffect=function(t,e){return _.current.useLayoutEffect(t,e)},Se.useMemo=function(t,e){return _.current.useMemo(t,e)},Se.useReducer=function(t,e,n){return _.current.useReducer(t,e,n)},Se.useRef=function(t){return _.current.useRef(t)},Se.useState=function(t){return _.current.useState(t)},Se.useSyncExternalStore=function(t,e,n){return _.current.useSyncExternalStore(t,e,n)},Se.useTransition=function(){return _.current.useTransition()},Se.version="18.3.1",Se}();var Ae,Te=xe.exports;
1
+ var t,e,n,r,s,o,i,a,c,l,d;function u(t,e){var n=p();return(u=function(t,e){return n[t-=471]})(t,e)}function p(){var t=["9470741faiAot","8276292uNavRE","1128344KAPsek","4683393Wpsery","BANNER","80708ZJDAHd","2379042cdpFtG","16ggsTUe","55iYfvge","MOBILE","1imBIGX","VIEWABLE","WEB","VIDEO","TABLET","INTERSTITIAL","TEXT","NATIVE","DESKTOP","11LXFOGu","POPUP","30588260tCwfvH"];return(p=function(){return t})()}!function(){for(var t=u,e=p();;)try{if(955712===parseInt(t(485))/1*(-parseInt(t(477))/2)+parseInt(t(478))/3+parseInt(t(480))/4*(parseInt(t(483))/5)+-parseInt(t(481))/6+parseInt(t(475))/7+-parseInt(t(482))/8*(-parseInt(t(476))/9)+-parseInt(t(474))/10*(parseInt(t(472))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=u)(479)]=n(479),e[n(473)]="POPUP",e[n(490)]=n(490),e[n(492)]=n(492),e.VIDEO=n(488),e[n(491)]=n(491),(s=r||(r={}))[(o=u)(487)]=o(487),s[o(484)]=o(484),(a=i||(i={}))[u(486)]="VIEWABLE",a.CLICK="CLICK",(l=c||(c={}))[(d=u)(471)]="DESKTOP",l[d(484)]=d(484),l[d(489)]="TABLET";const h=f;function f(t,e){const n=m();return(f=function(t,e){return n[t-=262]})(t,e)}!function(){const t=f,e=m();for(;;)try{if(548704===parseInt(t(316))/1*(-parseInt(t(306))/2)+-parseInt(t(311))/3+parseInt(t(281))/4+parseInt(t(269))/5+parseInt(t(301))/6+parseInt(t(302))/7*(-parseInt(t(329))/8)+parseInt(t(280))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class g{static[h(320)](){const t=h;return typeof window!==t(266)&&typeof document!==t(266)}static[h(325)](){return!this[h(320)]()}static[h(296)](){return this[h(320)]()&&void 0!==document.readyState}static[h(299)](t){const e=h;return this[e(296)]()?document[e(324)](t):null}static[h(300)](t){const e=h;return this[e(296)]()?document[e(272)](t):null}static[h(264)](t){const e=h;return this[e(296)]()?Array[e(270)](document.querySelectorAll(t)):[]}static[h(271)](t){const e=h;return this.canUseDOM()?document[e(273)](t):null}static[h(326)](t,e,n,r){const s=h;this.canUseDOM()&&t&&t[s(304)](e,n,r)}static[h(313)](t,e,n,r){const s=h;this[s(296)]()&&t&&t[s(317)](e,n,r)}static[h(292)](t,e){return this[h(320)]()?window[t]??e:e}static[h(319)](t,e){return this[h(296)]()?document[t]??e:e}static[h(305)](t,e,n){return this[h(320)]()?window.open(t,e,n):null}static[h(315)](t){return this[h(320)]()&&t?window.getComputedStyle(t):null}static[h(330)](){const t=h;return!!this[t(296)]()&&document[t(276)]!==t(282)}static[h(303)](){return new Promise(t=>{const e=f;this[e(296)]()?this[e(330)]()?t():this[e(326)](document,"DOMContentLoaded",()=>t()):t()})}static[h(284)](t,e){const n=h;this[n(296)]()&&t&&Object[n(327)](e).forEach(([e,r])=>{const s=n;t.style[s(309)](e,r)})}static[h(289)](t,e){const n=h;this[n(296)]()&&t&&t[n(278)][n(287)](e)}static safeRemoveClass(t,e){const n=h;this.canUseDOM()&&t&&t[n(278)].remove(e)}static[h(262)](t,e){this[h(296)]()&&t&&(t.textContent=e)}static safeSetInnerHTML(t,e){const n=h;this[n(296)]()&&t&&(t[n(277)]=e)}static[h(295)](t,e){const n=h;this.canUseDOM()&&t&&e&&t[n(263)](e)}static[h(307)](t,e){const n=h;this[n(296)]()&&t&&e&&t[n(328)](e)}static[h(290)](){const t=h;return{url:this[t(292)](t(314),{href:""}).href,title:this[t(319)]("title",""),referrer:this.getDocumentProperty(t(279),"")}}static[h(322)](){const t=h;return{width:this[t(292)]("innerWidth",0),height:this[t(292)](t(268),0),pixelRatio:this.getWindowProperty(t(265),1)}}static[h(332)](){const t=h;return{scrollTop:this.canUseDOM()?window[t(333)]||document[t(267)][t(286)]:0,scrollLeft:this[t(292)](t(318),0)}}static async[h(310)](t,e={}){const n=h,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(296)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(324)](t);return i?(o&&console[n(288)](n(297)+t),i):(o&&console[n(288)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+r+n(323)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(331)](r/s),d=()=>{const n=a;c++;const u=document[n(324)](t);if(u)return o&&console[n(288)](n(312)+t+" ("+c+n(283)+c*s+n(294)),void e(u);if(c>=l){const e=n(308)+t+n(291)+t+n(274)+r+n(321)+c+n(298);return o&&console.error(e),void i(new Error(e))}o&&c%10==0&&console[n(288)](n(293)+t+" ("+c+"/"+l+")");const p=Math[n(285)](s*Math[n(275)](1.2,c),500);setTimeout(d,p)};setTimeout(d,s)}))}static async waitForElements(t,e={}){const n=h,r=t.map(t=>this[n(310)](t,e));return Promise.all(r)}}function m(){const t=["ms (","getViewportInfo","ms)","getElementById","isSSR","safeAddEventListener","entries","removeChild","40rvuGkA","isDOMReady","ceil","getScrollInfo","pageYOffset","safeSetTextContent","appendChild","safeQuerySelectorAll","devicePixelRatio","undefined","documentElement","innerHeight","4289740oOVftu","from","safeCreateElement","querySelector","createElement",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"pow","readyState","innerHTML","classList","referrer","8993745RrsNBZ","1675864RWdKrT","loading","번째 시도, ","safeApplyStyles","min","scrollTop","add","log","safeAddClass","getPageInfo",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"getWindowProperty","⏳ 컨테이너 대기 중: ","ms 경과)","safeAppendChild","canUseDOM","✅ 컨테이너 즉시 발견: ","번 시도)","safeGetElementById","safeQuerySelector","91476roFllS","1222319rxWQVT","waitForDOM","addEventListener","safeWindowOpen","2pXEEGf","safeRemoveChild",'❌ 컨테이너를 찾을 수 없습니다: "',"setProperty","waitForElement","1580925ADuvhw","✅ 컨테이너 발견: ","safeRemoveEventListener","location","safeGetComputedStyle","342701NDEZza","removeEventListener","pageXOffset","getDocumentProperty","isBrowser"];return(m=function(){return t})()}const y=b;!function(){const t=b,e=w();for(;;)try{if(366837===-parseInt(t(389))/1+-parseInt(t(401))/2+-parseInt(t(390))/3+-parseInt(t(394))/4+parseInt(t(391))/5+parseInt(t(398))/6*(parseInt(t(396))/7)+parseInt(t(400))/8*(parseInt(t(392))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const v=y(397);function I(){return v}function b(t,e){const n=w();return(b=function(t,e){return n[t-=389]})(t,e)}function w(){const t=["30oYGPNV","undefined","9296uRYwGw","1449494HAoIsm","634196HgwHjR","325827NZeXkM","353045prNiWK","13842HFIGvx","AdStageSDK/","1271684KHyVoj"," AdStageSDK/","412363neUXHf","3.0.10"];return(w=function(){return t})()}const k=S;!function(){const t=S,e=x();for(;;)try{if(418091===parseInt(t(301))/1*(parseInt(t(298))/2)+-parseInt(t(283))/3*(-parseInt(t(310))/4)+parseInt(t(330))/5*(-parseInt(t(319))/6)+-parseInt(t(308))/7*(parseInt(t(309))/8)+-parseInt(t(317))/9+-parseInt(t(314))/10+parseInt(t(299))/11*(parseInt(t(306))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class E{static[k(307)](){const t=k;if(!g[t(304)]())return t(329)+Date[t(323)]();const e=localStorage[t(313)](t(280));if(e)return e;const n=t(324)+Math.random().toString(36)[t(286)](2,9)+"_"+Date[t(323)]();return localStorage.setItem(t(280),n),n}static[k(305)](){const t=k;if(!g.isBrowser())return t(289)+Date.now();const e=sessionStorage.getItem(t(315));if(e)return e;const n=t(302)+Math.random()[t(290)](36)[t(286)](2,9)+"_"+Date[t(323)]();return sessionStorage[t(300)](t(315),n),n}static[k(281)](){const t=k;return!!g[t(304)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(285)])}static getPlatform(){const t=k;if(!g[t(304)]())return"web";const e=navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(e)?t(312):/android/[t(288)](e)?t(293):E[t(281)]()?t(279):t(295)}static collectDeviceInfo(){const t=k,e=g[t(318)]();return{deviceId:E[t(307)](),sessionId:E[t(305)](),osVersion:g[t(304)]()?navigator[t(278)]:t(296),deviceModel:g[t(304)]()?navigator.platform:t(296),appVersion:"1.0.0",sdkVersion:I(),language:g.isBrowser()&&navigator[t(311)]||"ko",country:"KR",ipAddress:"",userAgent:g[t(304)]()?navigator.userAgent:t(296),timezone:g[t(304)]()?Intl.DateTimeFormat()[t(284)]()[t(321)]:"UTC",viewportWidth:e[t(327)],viewportHeight:e[t(325)],screenWidth:g[t(304)]()?screen[t(327)]:0,screenHeight:g.isBrowser()?screen[t(325)]:0,colorDepth:g[t(304)]()?screen[t(292)]:24,pixelRatio:e.pixelRatio,connectionType:g.isBrowser()&&navigator[t(294)]?.effectiveType||"unknown",platform:E[t(331)]()}}static[k(303)](t){const e=k;let n=g[e(322)](t);if(!n){const r=g[e(316)]("#"+t+e(297));r&&(n=r)}if(!n&&(n=g[e(316)](e(332)+t+'"]')),!n)return e(291);const r=n[e(282)](),s=g.getScrollInfo();return"x:"+Math[e(326)](r[e(328)])+",y:"+Math[e(326)](r[e(287)]+s[e(320)])}}function S(t,e){const n=x();return(S=function(t,e){return n[t-=278]})(t,e)}function x(){const t=['[data-adstage-slot-id="',"platform","web","adstage_device_id","isMobile","getBoundingClientRect","138942ojXjpV","resolvedOptions","userAgent","substr","top","test","ssr_session_","toString","unknown","colorDepth","android","connection","desktop","SSR"," .adstage-slider-wrapper","20MbUcTf","50732xDGtlv","setItem","64661hnhTmS","session_","getSlotPosition","isBrowser","generateSessionId","3144ofoHXp","generateDeviceId","168OQsdLW","46656rLwkdC","40FvOXQL","language","ios","getItem","5067540egIfAd","adstage_session_id","safeQuerySelector","5634612uIAXWj","getViewportInfo","3763278jwYJIr","scrollTop","timeZone","safeGetElementById","now","device_","height","round","width","left","ssr_device_","5FURuXM","getPlatform"];return(x=function(){return t})()}function A(){const t=["User-Agent","application/json","4sNKHef","undefined","23537781xvKLUj","3702528cVbKYb","4377947HvWrGc","44EOPlDc","87708qsRchA","3895805OiNCrS","API key is required","481315tXdiHA","create","userAgent","createForEvents","contentType","4695136kQcxRq"];return(A=function(){return t})()}const C=T;function T(t,e){const n=A();return(T=function(t,e){return n[t-=500]})(t,e)}!function(){const t=T,e=A();for(;;)try{if(440562===-parseInt(t(512))/1+parseInt(t(508))/2*(-parseInt(t(509))/3)+-parseInt(t(503))/4*(-parseInt(t(510))/5)+-parseInt(t(506))/6+-parseInt(t(507))/7+-parseInt(t(500))/8+parseInt(t(505))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _{static create(t,e){const n=T;if(!t)throw new Error(n(511));const r={"x-api-key":t,"Content-Type":e?.[n(516)]||n(502)};return typeof navigator!==n(504)&&(r[n(501)]=e?.userAgent||navigator[n(514)]),r}static[C(515)](t,e){const n=C,r=_[n(513)](t);return e?.[n(514)]&&(r[n(501)]=e[n(514)]),r}}function R(t,e){const n=L();return(R=function(t,e){return n[t-=237]})(t,e)}const D=R;function L(){const t=["5175384vGqbxB","1015170EsgaqK","VIEWABLE","querySelector","referrer","apiKey"," (containerId: ","width","5895075WaPBDX","collectDeviceInfo","⚠️ DOM element not found for slotId: ","stringify","POST","createForEvents","status","getPageInfo","🚀 AdvertisementEventTracker: Processing ","10Gsmqnf","trackAdvertisementEvent","NOT_SET","3137464MdfdhN","debug","📡 API Response Status: ","). Skipping event tracking.","title","get","14GRqPVy","containerId","❌ Failed to track advertisement event:","adType"," for ad ","replace","number","sessionId","statusText","/advertisements/events/","6125607fOBQrr","✅ Successfully tracked advertisement event: ","168396wXuNJn","slots","log","API request failed: ","1415740ygpJIE","platform"," in slot ","now","baseUrl","deviceId","getSlotPosition","...","3KSzDMN",". Skipping event tracking to prevent incorrect adType.","error","warn","height","parseNumericValue"];return(L=function(){return t})()}!function(){const t=R,e=L();for(;;)try{if(612117===parseInt(t(244))/1+parseInt(t(285))/2*(-parseInt(t(237))/3)+-parseInt(t(263))/4+parseInt(t(251))/5+parseInt(t(281))/6*(-parseInt(t(269))/7)+parseInt(t(243))/8+parseInt(t(279))/9*(-parseInt(t(260))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{constructor(t,e,n,r){const s=R;this[s(289)]=t,this.apiKey=e,this[s(264)]=n,this[s(282)]=r}async[D(261)](t,e,n){const r=D;try{this[r(264)]&&console[r(283)](r(259)+n+" event for ad "+t+r(287)+e);const s=this.slots[r(268)](e);if(!s)return void(this[r(264)]&&console[r(240)]("⚠️ Slot not found for slotId: "+e+r(238)));if(!(document.getElementById(s[r(270)])||document[r(246)]('[data-adstage-slot-id="'+e+'"]')))return void(this[r(264)]&&console[r(240)](r(253)+e+r(249)+s[r(270)]+r(266)));const o=E[r(252)](),a={adType:s[r(272)],platform:o[r(286)],deviceId:o[r(290)],deviceInfo:o,pageUrl:g[r(258)]().url,pageTitle:g[r(258)]()[r(267)],referrer:g[r(258)]()[r(247)],slotId:e,slotPosition:E[r(291)](s[r(270)]),slotWidth:P[r(242)](s[r(250)]),slotHeight:P[r(242)](s[r(241)]),sessionId:o[r(276)],pageLoadTime:performance[r(288)](),metadata:{eventType:n,sdkVersion:I(),timestamp:Date[r(288)]()},...n===i[r(245)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(289)]+r(278)+t+"/"+n,l=_[r(256)](this[r(248)],a);this.debug&&(console.log("🚀 Sending advertisement event: "+n+r(273)+t,{url:c,headers:l,eventData:a}),console[r(283)]("🌐 Full API call details:",{method:r(255),url:c,hasApiKey:!!this[r(248)],bodySize:JSON.stringify(a).length}));const d=await fetch(c,{method:r(255),headers:l,body:JSON[r(254)](a)});if(this[r(264)]&&console.log(r(265)+d[r(257)]+" "+d[r(277)],{url:c,ok:d.ok}),!d.ok){const t=await d.text();throw new Error(r(284)+d[r(257)]+" "+d[r(277)]+" - "+t)}this.debug&&console[r(283)](r(280)+n+" for ad "+t)}catch(s){console[r(239)](r(271),s),console[r(239)]("🔍 Debug info:",{baseUrl:this[r(289)],apiKey:this.apiKey?this[r(248)].substring(0,8)+r(292):r(262),url:this[r(289)]+r(278)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[D(242)](t){const e=D;if(typeof t===e(275))return t;if("string"==typeof t){const n=parseFloat(t[e(274)](/px$/,""));return isNaN(n)?0:n}return 0}}var B=U;function O(){var t=["3KyKeoB","IntersectionObserver not supported, viewability tracking disabled","4899430NtfXIa","4804236FFBthL","visibilityState","0px","107942KMOVJe","1281372RmArKh","isViewableTriggered","8lVNOPF","observer","1004213bvWDxG","initIntersectionObserver","forEach","handleIntersection","2601850JsNVBg","isDocumentVisible","561244TvoxtT","destroy","onViewableCallback","12afuglk","IntersectionObserver"];return(O=function(){return t})()}function U(t,e){var n=O();return(U=function(t,e){return n[t-=134]})(t,e)}!function(){for(var t=U,e=O();;)try{if(341359===-parseInt(t(134))/1*(parseInt(t(140))/2)+parseInt(t(141))/3+-parseInt(t(151))/4+-parseInt(t(149))/5+-parseInt(t(154))/6*(parseInt(t(145))/7)+-parseInt(t(143))/8*(-parseInt(t(137))/9)+parseInt(t(136))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{constructor(t,e){var n=U;this[n(144)]=null,this[n(142)]=!1,this.element=t,this[n(153)]=e,this[n(146)]()}[B(146)](){var t=B;t(155)in window?(this[t(144)]=new IntersectionObserver(e=>this[t(148)](e),{threshold:.5,rootMargin:t(139)}),this[t(144)].observe(this.element)):console.warn(t(135))}[B(148)](t){var e=B;t[e(147)](t=>{var n=e;t.intersectionRatio>=.5&&this.isDocumentVisible()&&!this.isViewableTriggered&&(this.isViewableTriggered=!0,this[n(153)]&&this[n(153)]())})}[B(150)](){var t=B;return!document.hidden&&"visible"===document[t(138)]}[B(152)](){var t=B;this.observer&&(this[t(144)].disconnect(),this[t(144)]=null)}}const N=M;function M(t,e){const n=F();return(M=function(t,e){return n[t-=380]})(t,e)}!function(){const t=M,e=F();for(;;)try{if(202929===-parseInt(t(382))/1+-parseInt(t(388))/2*(parseInt(t(386))/3)+parseInt(t(392))/4+-parseInt(t(399))/5*(parseInt(t(400))/6)+-parseInt(t(403))/7*(parseInt(t(404))/8)+parseInt(t(380))/9+-parseInt(t(395))/10*(-parseInt(t(394))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const V={production:"https://api.adstage.app",beta:N(391)};function F(){const t=["getBaseUrl","/events/track","https://beta-api.adstage.app","792124yEUBFE","track","1943953GSslrm","60GZmIPd","registerAttribution","events","list","13570VgGoxu","822saZSpl","baseUrl","detail","14yVLgix","1132536MljWYT","startsWith","1614870qoFjsW","production","187437iPgVIS","custom","/events/register/attribution","advertisements","1177443Pvkorx","/advertisements/events","2krBtZM"];return(F=function(){return t})()}N(381);const K={advertisements:{list:"/advertisements/list",detail:"/advertisements",events:N(387)},events:{track:N(390),registerAttribution:N(384)}};class j{constructor(t){const e=N;this[e(385)]={list:()=>""+this[e(401)]+K.advertisements[e(398)],detail:t=>""+this[e(401)]+K[e(385)][e(402)]+"/"+t,events:(t,n)=>""+this.baseUrl+K.advertisements[e(397)]+"/"+t+"/"+n},this[e(397)]={track:()=>""+this[e(401)]+K[e(397)][e(393)],registerAttribution:()=>""+this.baseUrl+K[e(397)][e(396)]},this[e(401)]=t||V.production}setBaseUrl(t){this[N(401)]=t}[N(389)](){return this[N(401)]}[N(383)](t){const e=N;return""+this[e(401)]+(t[e(405)]("/")?t:"/"+t)}}const H=new j;var W=Y;function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=363]})(t,e)}function X(){var t=["🎯 Triggering VIEWABLE event for slide change: ad ","trackSlideViewable","🎯 Triggering initial VIEWABLE event: ad ","log","66TtSrko","4XxHMtO","8026600EeoiiU","VIEWABLE","121ovONew"," (index: 0) in slot: ","652841OBJmyM","332379roBJqp",") in slot: ","1504600AggnUe","2XxTElJ","1062sHPwsZ","508183xfqIVf","78312tkxcmR","_id","4274556xiBbay"];return(X=function(){return t})()}!function(){for(var t=Y,e=X();;)try{if(901464===-parseInt(t(379))/1*(-parseInt(t(377))/2)+parseInt(t(374))/3+-parseInt(t(368))/4*(parseInt(t(369))/5)+parseInt(t(367))/6*(-parseInt(t(373))/7)+-parseInt(t(380))/8*(parseInt(t(378))/9)+parseInt(t(376))/10+-parseInt(t(371))/11*(-parseInt(t(382))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class G{static[W(364)](t,e,n,r,s=!1){var o=W;s&&console[o(366)](o(363)+t[o(381)]+" (index: "+n+o(375)+e.id),r(t[o(381)],e.id,i[o(370)])}static trackInitialSlideViewable(t,e,n,r=!1){var s=W;r&&console[s(366)](s(365)+t[s(381)]+s(372)+e.id),n(t[s(381)],e.id,i[s(370)])}}function q(t,e){const n=Q();return(q=function(t,e){return n[t-=342]})(t,e)}const J=q;!function(){const t=q,e=Q();for(;;)try{if(654111===-parseInt(t(354))/1*(-parseInt(t(347))/2)+parseInt(t(350))/3*(parseInt(t(352))/4)+parseInt(t(369))/5+parseInt(t(365))/6+parseInt(t(358))/7*(parseInt(t(372))/8)+parseInt(t(368))/9+-parseInt(t(356))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Z{static[J(363)](t,e,n,r,s=!1,o){const a=J;e[a(342)]&&(t[a(367)].cursor="pointer",t[a(360)](a(364),t=>{const c=a;if(t.preventDefault(),t[c(362)](),r&&r(e[c(357)],n.id,i[c(353)]),window[c(373)](e.linkUrl,c(370)),s){const t=o||String(n[c(355)])[c(345)]();console.log("🔗 "+t+c(346)+e[c(357)]+c(366)+e[c(342)])}}))}static addClickEventForRenderer(t,e,n,r,s=!1,o){const a=J;e.linkUrl&&(t[a(367)][a(344)]=a(343),t.addEventListener(a(364),t=>{const c=a;t[c(348)](),t[c(362)]();if(r()(e[c(357)],n.id,i[c(353)]),window.open(e.linkUrl,c(370)),s){const t=o||String(n[c(355)])[c(345)]();console[c(371)](c(349)+t+c(346)+e[c(357)]+c(366)+e[c(342)])}}))}static[J(361)](t,e,n,r,s=!1,o){this[J(363)](t,e,n,r,s,o)}static[J(359)](t){return Boolean(t[J(342)])}static addClickEventsBatch(t,e,n,r,s=!1,o){const i=J;t[i(351)]((t,a)=>{const c=i,l=e[a];l&&this[c(363)](t,l,n,r,s,o)})}}function Q(){const t=["248qGHcjG","CLICK","59XdNymY","adType","29400930XLrSHd","_id","212737vPHPTH","isClickable","addEventListener","addClickEventForSlider","stopPropagation","addClickEvent","click","2545296gWHkIB"," -> ","style","10107045VCnRaZ","582575GTWJGd","_blank","log","232SDXMio","open","linkUrl","pointer","cursor","toLowerCase"," ad clicked: ","10894AcWkEI","preventDefault","🔗 ","35214MOgucW","forEach"];return(Q=function(){return t})()}const $=et;function tt(){const t=["0.7","addEventListener","relative","1px dashed #ccc","appendChild","display","body","50px","imageUrl","touchend","auto","color","borderColor","adstage-dot","setProperty","1px solid #666","active","adstage-slide","VIDEO","objectFit","border","style","trackSlideViewable","getBoundingClientRect","mouseleave","className","cssText","data-adstage-ad-id","overflow","add","entries","button","Text Ad","5910utDpAl","hidden","padding","100px","backgroundColor","createElement","center","videoUrl","adstage-slider-wrapper","Banner Ad","abs","addTouchSupport","block","white","cover","5ykYKCR","touches","forEach","createSliderContainer","904DyxmQR","6033618VwcogY","654378HnnygD","adType","BANNER","26761SeILos","width","mouseenter","toLowerCase","every","height","2558016XKNeKQ","clientX","src","inline-block"," Ad",".adstage-dot","#f0f0f0","div","whiteSpace","transform 0.4s ease-out","remove","translateX(-","TEXT","6347XiufII","adstage-slide-container","transform","adstage-dots","transition","includes","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","Video Ad","querySelectorAll","background","setAttribute","none","#999999","\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 ","removeChild","contains","opacity","click","video","children","8px","14px","classList","0.9","100%","flex","string","length","17EKywAL","img","touchmove","#666666","1559823mfQcSH","createSimpleAdElement","createMinimalDotIndicator","touchstart","#f9f9f9","85262hokRWY","fontSize","autoSlideInterval","#cccccc","#000","textContent"];return(tt=function(){return t})()}function et(t,e){const n=tt();return(et=function(t,e){return n[t-=491]})(t,e)}!function(){const t=et,e=tt();for(;;)try{if(393497===parseInt(t(586))/1*(parseInt(t(595))/2)+parseInt(t(590))/3+-parseInt(t(545))/4+-parseInt(t(530))/5*(parseInt(t(536))/6)+parseInt(t(539))/7*(-parseInt(t(534))/8)+parseInt(t(535))/9+-parseInt(t(515))/10*(parseInt(t(558))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class nt{static createSimpleAdElement(e,n){const r=et,s=document[r(520)](r(552));switch(s[r(507)]="adstage-ad adstage-"+String(e[r(537)])[r(542)](),s.setAttribute(r(509),n._id),s[r(568)]("data-adstage-slot-id",e.id),s[r(503)][r(606)]=r(527),s[r(503)][r(540)]=r(582),s[r(503)][r(544)]=r(492),e[r(537)]){case t[r(538)]:if(n.imageUrl){const t=document[r(520)](r(587));t[r(547)]=n[r(609)],t.style[r(540)]="100%",t[r(503)].height=r(492),t[r(503)][r(501)]=r(529),s[r(605)](t)}else s.style[r(544)]=r(518),s[r(503)].backgroundColor=r(551),s[r(503)][r(502)]="1px dashed #ccc",s[r(600)]=r(524);break;case t[r(500)]:if(n.videoUrl){const t=document[r(520)](r(576));t.src=n[r(522)],t[r(503)][r(540)]=r(582),t[r(503)][r(544)]=r(492),s[r(605)](t)}else s[r(503)].height="200px",s[r(503)][r(519)]=r(599),s[r(503)][r(502)]=r(497),s.textContent=r(565),s[r(503)][r(493)]=r(528);break;case t[r(557)]:if(n[r(600)]){const t=document[r(520)](r(552));t[r(600)]=n[r(600)]||"",t.style[r(517)]=r(578),t[r(503)][r(596)]=r(579),s[r(605)](t)}else s[r(503)][r(544)]=r(608),s[r(503)][r(517)]=r(578),s.textContent=r(514);break;default:s.style[r(544)]=r(518),s[r(503)][r(502)]=r(604),s[r(503)].backgroundColor=r(594),s[r(600)]=e[r(537)]+r(549)}return s}static[$(533)](e,n,r,s,o=!1){const i=$,a=document[i(520)](i(552));a[i(507)]=i(523);const c={position:i(603),overflow:i(516)};if(e.width&&0!==e[i(540)]){let t;t=typeof e[i(540)]===i(584)?e[i(540)][i(563)]("px")||e[i(540)].includes("%")?e[i(540)]:e[i(540)]+"px":e.width+"px",c[i(540)]=t,c[i(606)]=i(548)}else c[i(606)]="inline-block";if(e.height&&0!==e[i(544)]){const t=typeof e.height===i(584)?e[i(544)]:e[i(544)]+"px";c[i(544)]=t}Object[i(512)](c)[i(532)](([t,e])=>{const n=i;a.style[n(496)](t,e)});const l=!e[i(540)]||0===e[i(540)],d=!e[i(544)]||0===e[i(544)];if(l||d){const t=document[i(520)](i(552));if(t[i(503)].cssText=i(564),!l&&e[i(540)]){let n;n=typeof e[i(540)]===i(584)&&(e[i(540)][i(563)]("px")||e[i(540)][i(563)]("%"))?e.width:e[i(540)]+"px",t[i(503)].width=n,t[i(503)][i(553)]="normal"}document.body[i(605)](t);let r=0,s=0;n[i(532)](n=>{const o=i,a=this[o(591)](e,n);t[o(605)](a);const c=a[o(505)]();c[o(540)]>r&&(r=c[o(540)]),c[o(544)]>s&&(s=c.height),t[o(572)](a)}),l&&r>0&&(a[i(503)][i(540)]=r+"px",c[i(540)]=r+"px"),d&&s>0&&(a[i(503)][i(544)]=s+"px",c[i(544)]=s+"px"),document[i(607)][i(572)](t)}const u=[...n,n[0]],p=document.createElement("div");p[i(507)]=i(559);const h={display:"flex",transition:i(554),width:100*u[i(585)]+"%"};e[i(544)]&&0!==e[i(544)]&&(h[i(544)]=i(582)),Object[i(512)](h).forEach(([t,e])=>{const n=i;p.style[n(496)](t,e)}),u[i(532)]((t,n)=>{const r=i,a=document[r(520)](r(552));a[r(507)]=r(499);const c={width:100/u[r(585)]+"%","flex-shrink":"0",display:r(583),"align-items":r(521),"justify-content":r(521)};e[r(544)]&&0!==e[r(544)]&&(c[r(544)]=r(582)),Object[r(512)](c)[r(532)](([t,e])=>{const n=r;a.style[n(496)](t,e)});const l=this[r(591)](e,t);Z.addClickEventForSlider(l,t,e,s,o,String(e[r(537)])[r(542)]()),a[r(605)](l),p[r(605)](a)});const f=n[i(543)](e=>e.adType===t[i(557)])?null:this[i(592)](n.length);let g=0;const m=n[i(585)],y=1e3*(r?.[i(597)]||3),v=(t,r=!1)=>{const a=i;g=t,r?p[a(503)].transition=a(569):p[a(503)][a(562)]=a(554),p[a(503)][a(560)]=a(556)+100/u.length*g+"%)";const c=g===m?0:g;if(f){f[a(566)](a(550))[a(532)]((t,e)=>{const n=a,r=t;e===c?(r[n(580)][n(511)](n(498)),r[n(503)][n(567)]="#666666",r[n(503)].borderColor=n(589),r[n(503)].opacity="1"):(r[n(580)][n(555)]("active"),r.style[n(567)]="transparent",r[n(503)][n(494)]=n(598),r.style.opacity=n(601))})}G[a(504)](n[c],e,c,s,o)},I=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[i(566)](i(550))[i(532)]((t,e)=>{const n=i;t[n(602)](n(575),()=>v(e))})}let b=setInterval(()=>{v(g+1),I()},y);return a[i(602)](i(541),()=>{clearInterval(b)}),a[i(602)](i(506),()=>{b=setInterval(()=>{v(g+1),I()},y)}),this[i(526)](p,v,()=>g,m,I),a[i(605)](p),f&&a.appendChild(f),v(0),(!e[i(540)]||0===e[i(540)])&&setTimeout(()=>{const t=i,n=p[t(577)][0];if(n){const r=n[t(577)][0];if(r){const n=r[t(505)]();a[t(503)].width=n[t(540)]+"px",(!e.height||0===e[t(544)])&&(a.style.height=n[t(544)]+"px"),a[t(503)][t(510)]="hidden"}}},10),a}static[$(592)](t){const e=$,n=document.createElement(e(552));n[e(507)]=e(561),n[e(503)][e(508)]=e(571);for(let r=0;r<t;r++){const t=document[e(520)](e(513));t[e(507)]=e(495),t[e(503)][e(508)]="\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 ",t[e(602)](e(541),()=>{const n=e;!t[n(580)].contains(n(498))&&(t.style[n(494)]=n(570),t.style[n(574)]=n(581))}),t[e(602)]("mouseleave",()=>{const n=e;!t.classList[n(573)](n(498))&&(t[n(503)][n(494)]=n(598),t[n(503)].opacity=n(601))}),n[e(605)](t)}return n}static[$(526)](t,e,n,r,s){const o=$;let i=0,a=!1;t.addEventListener(o(593),t=>{i=t[o(531)][0].clientX,a=!0}),t[o(602)](o(588),t=>{a&&t.preventDefault()}),t[o(602)](o(491),t=>{const c=o;if(!a)return;a=!1;const l=t.changedTouches[0][c(546)],d=i-l;if(Math[c(525)](d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const rt=st;function st(t,e){const n=ot();return(st=function(t,e){return n[t-=439]})(t,e)}function ot(){const t=["delete","124113mRjcMu"," in slot ","246886JXdMgs","has","clearAdViewable","54caikpG","8561645yzUIiw","4540cIyolM","isDuplicateViewable","51pvVzvZ","clear","add","✅ New viewable recorded for ad ","132322CUOqmQ","6680772CJcJqL","log","1438192yhzvjq","6iHbXKT","viewableTracker","5208133EQFEZO"];return(ot=function(){return t})()}!function(){const t=st,e=ot();for(;;)try{if(960554===-parseInt(t(452))/1+parseInt(t(442))/2*(parseInt(t(459))/3)+parseInt(t(443))/4+parseInt(t(456))/5*(parseInt(t(446))/6)+parseInt(t(448))/7+parseInt(t(445))/8*(parseInt(t(455))/9)+-parseInt(t(457))/10*(parseInt(t(450))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class it{static[rt(458)](t,e,n=!1){const r=rt,s=t+"_"+e;return it[r(447)][r(453)](s)?(n&&console[r(444)]("Duplicate viewable blocked for ad "+t+" in slot "+e),!0):(it[r(447)][r(440)](s),n&&console.log(r(441)+t+r(451)+e),!1)}static[rt(439)](){const t=rt;it.viewableTracker[t(439)]()}static[rt(454)](t,e){const n=rt,r=t+"_"+e;it.viewableTracker[n(449)](r)}}it[rt(447)]=new Set;const at=ct;function ct(t,e){const n=lt();return(ct=function(t,e){return n[t-=414]})(t,e)}function lt(){const t=["log","560120XnoubM","35RIIQlt","border","querySelector","data-adstage-container","applyPlaceholderStyle","closest"," event for ad ","minHeight","setAttribute","string","4px","⚠️ AdvertisementEventTracker not available for ","containerId","1061360BATLje","unknown","): ","875768zDyxZN","hasAttribute","getContainerHeight","advertisementEventTracker","createElement"," for ad "," x ","2px dashed #e74c3c","data-adstage-slot","#e74c3c",'[class*="banner"]',"auto","color","6px","none","📦 Placeholder created for ","true","\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 ","1px solid rgba(0, 0, 0, 0.08)",'div[style*="height"]'," in slot ",'div[style*="min-height"]','[class*="ad"]',"warn","generic","✅ New viewable recorded for ad ","alignItems"," event","2609370jItXWr","flex","196454ZPXSuS","createEmptyContainer","debug","createPlaceholder","contains","borderRadius","1409067eDFbnb","isDuplicateViewable",'[class*="container"]',"<span>Loading ","🚫 Duplicate viewable blocked for ad ","⚠️ Created empty ",") - Mode: ","style","100%","className","subtle","appendChild","transparent","1px dashed #ccc"," slot: ","width","div","invisible","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","display","calculateAdSize","parentElement","center","getAttribute","#666","toLowerCase","createEventTrackingCallback",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"adType","filter","getDefaultHeight",".adstage-slot","justifyContent"," container: ","adstage-slot","adstage-slot adstage-","📏 Using default height ","VIEWABLE","adstage-official","innerHTML","px)",'[data-adstage-container="true"]',"fontSize","height",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"fontFamily","11px"," ad...</span>","renderFallback","data-adstage-type","getElementById",".adstage-","3088685YOahig","backgroundColor","monospace","placeholderMode","minimal","adstage-slot adstage-empty adstage-","getComputedStyle"];return(lt=function(){return t})()}!function(){const t=ct,e=lt();for(;;)try{if(326596===parseInt(t(446))/1+parseInt(t(526))/2+parseInt(t(452))/3+-parseInt(t(512))/4+-parseInt(t(504))/5+parseInt(t(444))/6+-parseInt(t(513))/7*(parseInt(t(416))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{constructor(t,e=!1,n){const r=ct;this[r(480)]=t,this[r(448)]=e,this[r(419)]=n||null}[at(449)](t,e,n,r){const s=at,o=document[s(420)](s(468));o.id=e,o.className=s(487)+String(this[s(480)]).toLowerCase(),o[s(521)]("data-adstage-container","true"),o[s(521)](s(501),String(this.adType)),o[s(521)](s(424),e);const{width:i,height:a}=this[s(472)](t,n,r)||{width:s(460),height:this[s(482)]()};o[s(459)].width=i,o.style[s(495)]=a;const c=r?.placeholderMode||n[s(507)]||"invisible";this[s(517)](o,c),t[s(463)](o),this[s(448)]&&console[s(511)](s(431)+this[s(480)]+s(466)+e+" ("+i+s(422)+a+s(458)+c)}[at(517)](t,e){const n=at;switch(e){case n(469):t[n(459)][n(505)]=n(464),t[n(459)][n(514)]=n(430),t[n(459)].opacity="0",t[n(491)]="";break;case"transparent":t[n(459)].backgroundColor=n(464),t[n(459)][n(514)]=n(430),t[n(459)][n(471)]="block",t[n(491)]="";break;case n(462):t[n(459)][n(505)]="rgba(0, 0, 0, 0.02)",t.style[n(514)]="none",t[n(459)][n(451)]=n(523),t[n(459)][n(471)]=n(445),t[n(459)][n(442)]=n(474),t[n(459)][n(484)]="center",t[n(491)]=n(479);break;case n(508):t[n(459)].backgroundColor="rgba(248, 249, 250, 0.5)",t.style[n(514)]=n(434),t[n(459)][n(451)]=n(429),t[n(459)][n(471)]="flex",t.style[n(442)]=n(474),t[n(459)].justifyContent=n(474),t[n(491)]=n(496);break;case n(448):t[n(459)][n(514)]=n(423),t.style.display=n(445),t[n(459)][n(442)]=n(474),t[n(459)].justifyContent=n(474),t.style[n(505)]="rgba(231, 76, 60, 0.1)",t[n(459)][n(428)]=n(425),t[n(459)][n(497)]=n(506),t[n(459)][n(494)]=n(498),t[n(491)]=n(455)+this[n(480)]+n(499);break;default:t.style[n(514)]=n(465),t[n(459)].display=n(445),t[n(459)][n(442)]="center",t[n(459)].justifyContent=n(474),t.style[n(505)]="#f9f9f9",t.style[n(428)]=n(476),t.innerHTML=n(455)+this.adType+n(499)}}[at(472)](t,e,n){const r=at,s=e[r(467)],o=e.height;let i,a;if(i="number"==typeof s?s+"px":typeof s===r(522)?s:r(460),"number"==typeof o)a=o+"px";else if(typeof o===r(522)&&o!==r(460)&&o!==r(427))a=o;else{const e=this[r(418)](t);e>0?(a="100%",(n?.debug||this.debug)&&console.log("📏 Using 100% height (container: "+e+r(492))):(a=this[r(482)](),(n?.[r(448)]||this[r(448)])&&console[r(511)](r(488)+a+" for "+this[r(480)]))}return{width:i,height:a}}[at(418)](t){const e=at,n=window[e(510)](t),r=parseFloat(n[e(495)]);if(!r||0===r){const r=parseFloat(n[e(520)]);if(r>0)return r;if(t[e(459)][e(495)]&&t.style[e(495)]!==e(427)){const n=parseFloat(t[e(459)].height);if(n>0)return n}const s=t[e(475)](e(495));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[at(478)](){return async(t,e,n)=>{const r=ct;if(n===i[r(489)]){if(it[r(453)](t,e,this[r(448)]))return void(this[r(448)]&&console[r(511)](r(456)+t+r(436)+e));this[r(448)]&&console.log(r(441)+t+r(436)+e)}if(this.advertisementEventTracker)try{this[r(448)]&&console.log("🔄 Starting advertisement event tracking: "+n+r(421)+t+r(436)+e),await this[r(419)].trackAdvertisementEvent(t,e,n),this.debug&&console[r(511)]("📊 Advertisement event tracked: "+n+r(421)+t+" in slot "+e)}catch(e){this[r(448)]&&console.error("❌ Failed to track "+n+r(519)+t+":",e)}else this[r(448)]&&console[r(439)](r(524)+n+r(443))}}[at(500)](t){const e=at,n=document[e(502)](t.id);if(n){const r=[...[n[e(515)]('[data-adstage-container="true"]'),n.closest(e(493)),n][e(481)](t=>t&&t[e(417)](e(516))),...[n[e(518)](e(483)),n[e(518)](e(503)+String(this[e(480)])[e(477)]()),n[e(518)](e(438)),n[e(518)](e(426)),n[e(518)](e(454)),n.closest(e(435)),n.closest(e(437)),n[e(473)]][e(481)](Boolean)][0];if(r){let n=e(414);n=r[e(417)](e(516))?e(490):r.classList[e(450)](e(486))?"adstage-class":e(440),r[e(459)].cssText+=e(470),r[e(491)]="",r[e(521)]("data-adstage-empty","true"),this[e(448)]&&console[e(439)]("⚠️ "+this[e(480)]+" container collapsed ("+n+e(415)+t.id,r)}else this[e(447)](t)}t.advertisement=void 0,t.isEmpty=!0}[at(447)](t){const e=at,n=document[e(502)](t[e(525)]);if(n){n[e(491)]="";const r=document[e(420)](e(468));r.id=t.id,r[e(461)]=e(509)+String(this[e(480)]).toLowerCase(),r[e(521)](e(516),e(432)),r[e(521)]("data-adstage-empty","true"),r.setAttribute(e(424),t.id),r[e(459)].cssText=e(433),n[e(463)](r),this[e(448)]&&console[e(439)](e(457)+this.adType+e(485)+t.id)}}[at(511)](t,...e){const n=at;this[n(448)]&&console[n(511)]("["+this[n(480)]+"] "+t,...e)}}const ut=pt;function pt(t,e){const n=ft();return(pt=function(t,e){return n[t-=340]})(t,e)}!function(){const t=pt,e=ft();for(;;)try{if(122766===parseInt(t(446))/1*(parseInt(t(372))/2)+parseInt(t(392))/3*(parseInt(t(396))/4)+parseInt(t(391))/5*(parseInt(t(437))/6)+parseInt(t(398))/7+parseInt(t(355))/8*(parseInt(t(413))/9)+parseInt(t(348))/10+-parseInt(t(409))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht extends dt{constructor(e=!1,n){super(t.BANNER,e,n)}[ut(438)](){return ut(385)}async[ut(377)](t,e){const n=ut,r=document[n(375)](t.containerId);if(!r)return;const s=document[n(445)](n(369));s[n(448)]=n(341);const o=t.optimizedHeight,i=r[n(395)]||r;if(o)s[n(452)][n(363)]="100%",s[n(452)][n(401)]=String(o);else{const e=t[n(365)],r={width:e?.[n(363)],height:e?.height},{width:o,height:a}=this[n(379)](i,r,{debug:this[n(393)]});s[n(452)][n(363)]=o,s[n(452)][n(401)]=a}e[n(384)]?await this[n(388)](s,e,t):s[n(430)]=n(374)+(e[n(387)]||n(394))+n(371),Z[n(436)](s,e,t,()=>this[n(403)](),this[n(393)],n(381)),r.innerHTML="",r[n(349)](s)}async[ut(423)](t,e){const n=ut,r=document[n(375)](t.containerId);if(!r)throw new Error(n(342)+t[n(431)]);await this[n(358)](t,e);const s=this[n(403)](),o={autoSlideInterval:(t.config?.[n(429)]||5e3)/1e3,...t.config,optimizedHeight:t[n(373)],aspectRatio:t[n(411)]},i=nt[n(359)](t,e,o,s,this.debug);i&&(r[n(430)]="",r[n(349)](i),this[n(393)]&&console[n(435)]("🎠 Banner carousel created for slot: "+t.id+n(368)+e[n(406)]+n(433)+(t[n(373)]||"default")+")"))}async[ut(345)](t,e){const n=ut;if(!t[n(406)])return{width:n(408),height:this[n(438)](),aspectRatio:16/9};try{const r=(await Promise[n(350)](t.filter(t=>t.imageUrl)[n(362)](t=>this[n(364)](t[n(384)]))))[n(378)](t=>"fulfilled"===t[n(366)])[n(362)](t=>t[n(410)]);if(0===r.length)return{width:n(408),height:this[n(438)](),aspectRatio:16/9};const s=this.selectOptimalSizeStrategy(r),o=this[n(443)](r,e,s);return this.debug&&console.log(n(425)+e+"x"+o+n(346)+s+")"),{width:"100%",height:o+"px",aspectRatio:e/o}}catch(t){return console[n(439)](n(405),t),{width:n(408),height:this[n(438)](),aspectRatio:16/9}}}async[ut(358)](t,e){const n=ut;try{const r=document.getElementById(t.containerId),s=document[n(375)](t.id);if(!r||!s)return;const o=r[n(367)]()[n(363)]||300,i=await this.calculateOptimalContainerSize(e,o);s[n(452)][n(401)]=i[n(401)],t[n(373)]=i[n(401)],t[n(411)]=i[n(411)],this.debug&&console[n(435)](n(356)+e[n(406)]+n(422)+i[n(401)])}catch(t){console[n(439)](n(432),t)}}selectOptimalSizeStrategy(t){const e=ut,n=t[e(362)](t=>t[e(363)]/t[e(401)]),r=new Map;n[e(440)](t=>{const n=e,s=(Math[n(424)](10*t)/10)[n(428)]();r[n(441)](s,(r[n(347)](s)||0)+1)});const s=Math.max(...r[e(449)]()),o=t.length;if(s/o>=.7)return e(390);const i=[16/9,4/3,1,1.5],a=n[e(378)](t=>i[e(402)](n=>Math[e(400)](t-n)<.1))[e(406)];return e(a/o>=.5?417:370)}[ut(443)](t,e,n){const r=ut,s=t.map(t=>t[r(363)]/t.height);switch(n){case"dominant":{const t=new Map;s[r(440)](e=>{const n=r,s=Math[n(424)](10*e)/10,o=s.toString(),i=t[n(347)](o);i?i.count++:t[n(441)](o,{ratio:s,count:1})});const n=Array.from(t[r(449)]())[r(427)]((t,e)=>e.count>t[r(414)]?e:t);return Math[r(424)](e/n[r(418)])}case r(417):{const t=[{ratio:16/9,name:r(353)},{ratio:4/3,name:r(416)},{ratio:1,name:r(434)},{ratio:1.5,name:r(397)}],n=s[r(427)]((t,e)=>t+e,0)/s[r(406)],o=t[r(427)]((t,e)=>Math[r(400)](e[r(418)]-n)<Math[r(400)](t[r(418)]-n)?e:t);return this.debug&&console.log("📊 Using standard ratio: "+o.name+" (avg: "+n[r(352)](2)+")"),Math[r(424)](e/o[r(418)])}case r(370):default:{const t=s[r(427)]((t,e)=>t+e,0)/s.length;return Math.round(e/t)}}}[ut(364)](t){return new Promise((e,n)=>{const r=pt,s=new Image;s[r(421)]=()=>{const t=r;e({width:s[t(351)],height:s[t(399)]})},s[r(376)]=()=>{n(new Error(r(450)+t))},s.src=t})}[ut(419)](t,e,n){const r=ut,s=e/n;Math.abs(s-1)<.1?(t[r(452)].objectFit=r(415),t[r(452)][r(451)]="center"):s>1.3?(t[r(452)][r(407)]=r(412),t[r(452)].objectPosition="center",t[r(452)][r(404)]="#f0f0f0"):s<.7?(t[r(452)].objectFit=r(415),t[r(452)][r(451)]=r(386)):(t[r(452)][r(407)]=r(415),t[r(452)][r(451)]=r(386)),this.debug&&console[r(435)](r(344)+t.style[r(407)]+r(426)+s[r(352)](2))}async renderOptimizedBannerImage(t,e,n){const r=ut,s=document[r(445)](r(382));s[r(452)].width="100%",s[r(452)][r(401)]=r(408),s[r(452)][r(360)]=r(420),s[r(452)][r(354)]=r(442),s.alt=e.title||r(447),t[r(430)]=r(389);try{if(!e[r(384)])throw new Error(r(444));const o=await this[r(364)](e[r(384)]),i=t.getBoundingClientRect(),a=i.width,c=i[r(401)];this[r(393)]&&(console.log(r(380)+o.width+"x"+o[r(401)]),console[r(435)]("📦 Banner container dimensions: "+a+"x"+c));const l=o[r(363)]/o[r(401)],d=a/c;return this[r(419)](s,l,d),s[r(340)]=e[r(384)],t[r(430)]="",t.appendChild(s),Z[r(436)](s,e,n,()=>this[r(403)](),this[r(393)],r(381)),this.debug&&console.log(r(383)+e[r(361)]),s}catch(o){return console[r(343)](r(357),o),e.imageUrl&&(s[r(340)]=e[r(384)],s[r(452)].objectFit=r(415),s[r(452)][r(451)]=r(386),t[r(430)]="",t[r(349)](s),Z[r(436)](s,e,n,()=>this[r(403)](),this.debug,r(381))),s}}}function ft(){const t=["backgroundColor","Failed to calculate optimal banner size, using defaults:","length","objectFit","100%","3653903dEDrOQ","value","aspectRatio","contain","81VxmgvY","count","cover","4:3","common","ratio","applyOptimizedImageStyle","block","onload"," ads: ","renderMultipleAds","round","📐 Optimal banner container calculated: ",", ratio=","reduce","toString","slideInterval","innerHTML","containerId","Banner container optimization failed, using default size:"," ads (optimized: ","1:1","log","addClickEventForRenderer","32952kuhzQR","getDefaultHeight","warn","forEach","set","8px","calculateOptimalHeight","Image URL is not provided","createElement","41pauFqu","Banner Advertisement","className","values","Failed to load image: ","objectPosition","style","src","adstage-ad adstage-banner-ad","Container not found: ","error","🎨 Banner image style applied: objectFit=","calculateOptimalContainerSize"," (strategy: ","get","1067350xQljBB","appendChild","allSettled","naturalWidth","toFixed","16:9","borderRadius","12504ZMwhZd","🔧 Banner container optimized for ","❌ Failed to load optimized banner image:","optimizeContainerForBannerAds","createSliderContainer","display","_id","map","width","loadImageDimensions","config","status","getBoundingClientRect"," with ","div","average","</div>","1756ywKWgP","optimizedHeight","<div>","getElementById","onerror","renderAdElement","filter","calculateAdSize","📸 Banner image dimensions: ","Banner","img","✅ Optimized banner image rendered for ad: ","imageUrl","250px","center","title","renderOptimizedBannerImage",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"dominant","205kekKnL","96999rrGKiY","debug","Banner Ad","parentElement","8ZGFrmk","3:2","58107zoOHec","naturalHeight","abs","height","some","createEventTrackingCallback"];return(ft=function(){return t})()}const gt=yt;function mt(){const t=["10lGbGMI","430902GiMBnL","6ECHsBM","30rjJEEy","4142259HvjHuC","textContent","1409890TvoAEd","2007ArpnGw","title","85626rAakqD","2957486haYrbl","\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 ","15776jqzRDA","createTextAdStyles","5036WbsOCH"];return(mt=function(){return t})()}function yt(t,e){const n=mt();return(yt=function(t,e){return n[t-=444]})(t,e)}!function(){const t=yt,e=mt();for(;;)try{if(229084===-parseInt(t(446))/1+parseInt(t(453))/2+parseInt(t(455))/3*(-parseInt(t(451))/4)+-parseInt(t(458))/5*(parseInt(t(454))/6)+-parseInt(t(447))/7+-parseInt(t(449))/8*(-parseInt(t(444))/9)+parseInt(t(452))/10*(parseInt(t(456))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class vt{static[gt(450)](t=!1){return gt(448)}static setTextAdContent(t,e){const n=gt,r=e[n(457)]||e[n(445)]||"";t[n(457)]=r}}const It=bt;function bt(t,e){const n=wt();return(bt=function(t,e){return n[t-=256]})(t,e)}function wt(){const t=["createSimpleAdElement","height: 100%;","touchend","mouseleave","8pSqsvE","top","clientY","preventDefault","addTouchSupport","touchmove","clientX","touchstart","height: auto;","autoSlideInterval","length","absolute","left","forEach","cssText","createTextTransitionContainer","auto","1365623LPSEGk","block","style","addEventListener","transform","position","width","appendChild","21857180ObSuTX","376pnYIdV","translateY(20px)","235340QrFtkW","_id","getBoundingClientRect","toLowerCase","data-adstage-ad-id","normal","div","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","removeChild","minHeight","22kBBXgR","adstage-fade-slide","createElement","adstage-fade-slide-container","hidden","body","height",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","zIndex",";\n width: 100%;\n ","className","24FdWkiE","push","3357132CZwKYi","whiteSpace","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","\n position: ","setTextAdContent","adType","abs","changedTouches","3880548djGOTB","trackSlideViewable","adstage-fade-slider-wrapper","relative","translateY(0)","opacity","height: auto; min-height: fit-content;","411406ZrVzcl",";\n ","touches","16569VnKLtO","string","Text",";\n left: ","fit-content","includes"];return(wt=function(){return t})()}!function(){const t=bt,e=wt();for(;;)try{if(849741===parseInt(t(260))/1+-parseInt(t(324))/2+-parseInt(t(332))/3+parseInt(t(273))/4*(-parseInt(t(301))/5)+-parseInt(t(322))/6*(parseInt(t(290))/7)+parseInt(t(299))/8*(-parseInt(t(263))/9)+parseInt(t(298))/10*(parseInt(t(311))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class kt{static[It(269)](t,e){const n=It,r=document.createElement(n(307));return r[n(321)]="adstage-ad adstage-"+String(t[n(329)])[n(304)](),r.setAttribute(n(305),e[n(302)]),r.setAttribute("data-adstage-slot-id",t.id),r[n(292)][n(287)]=vt.createTextAdStyles(!0),vt[n(328)](r,e),r}static[It(288)](t,e,n,r,s=!1){const o=It,i=t[o(317)]&&0!==t[o(317)]&&t[o(317)]!==o(289),a=document[o(313)]("div");a[o(321)]=o(334);const c={position:o(256),overflow:o(315),display:o(291)};if(!i&&(c.height=o(289),c[o(310)]=o(267)),t[o(296)]&&0!==t[o(296)]){let e;e=typeof t[o(296)]===o(264)&&(t.width[o(268)]("px")||t[o(296)][o(268)]("%"))?t[o(296)]:t[o(296)]+"px",c.width=e}if(t[o(317)]&&0!==t[o(317)]&&t[o(317)]!==o(289)&&i){let e;e=typeof t.height===o(264)&&(t[o(317)][o(268)]("px")||t[o(317)][o(268)]("%"))?t[o(317)]:t[o(317)]+"px",c.height=e}Object.entries(c).forEach(([t,e])=>{a[o(292)].setProperty(t,e)});const l=document[o(313)](o(307));l[o(321)]=o(314),l[o(292)].cssText="\n position: relative;\n width: 100%;\n "+(i?"height: 100%;":o(259))+"\n ";let d=null;const u=!t[o(296)]||0===t.width,p=!t[o(317)]||0===t[o(317)]||void 0===t.height||"auto"===t[o(317)];if(u||p&&i){if(d=document[o(313)](o(307)),d[o(292)][o(287)]=o(308),!u&&t[o(296)]){let e;e="string"==typeof t.width?t.width[o(268)]("px")||t.width.includes("%")?t[o(296)]:t.width+"px":t[o(296)]+"px",d.style[o(296)]=e,d.style[o(325)]=o(306)}document[o(316)][o(297)](d);let n=0,r=0;e[o(286)](e=>{const s=o,i=this.createSimpleAdElement(t,e);d[s(297)](i);const a=i[s(303)]();a[s(296)]>n&&(n=a.width),a.height>r&&(r=a[s(317)]),d[s(309)](i)}),u&&n>0&&(a[o(292)][o(296)]=n+"px"),p&&r>0&&i&&(a.style[o(317)]=r+"px"),document[o(316)].removeChild(d)}const h=[];e[o(286)]((e,n)=>{const a=o,c=document[a(313)](a(307));c[a(321)]=a(312);const d=i?"absolute":0===n?"relative":a(284);c[a(292)][a(287)]=a(327)+d+";\n top: "+("absolute"===d?"0":a(289))+a(266)+(d===a(284)?"0":a(289))+a(320)+a(i?270:281)+a(326)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":"20px")+a(318)+(0===n?"2":"1")+a(261);const u=this[a(269)](t,e);Z.addClickEventForSlider(u,e,t,r,s,a(265)),c[a(297)](u),l[a(297)](c),h[a(323)](c)});let f=0;const g=e[o(283)],m=1e3*(n?.[o(282)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c.style.position===a(256)&&(c.style.position="absolute",c[a(292)][a(274)]="0",c[a(292)][a(285)]="0"),l[a(292)].position="relative",l[a(292)].top="auto",l[a(292)].left="auto"),c.style.opacity="0",c[a(292)].transform="translateY(-20px)",c.style.zIndex="1",l.style[a(258)]="1",l[a(292)][a(294)]=a(257),l[a(292)][a(319)]="2",h.forEach((t,e)=>{const r=a;e!==n&&e!==f&&(t.style[r(258)]="0",t[r(292)][r(294)]=r(300),t[r(292)].zIndex="1",!i&&t.style[r(295)]===r(256)&&(t[r(292)][r(295)]="absolute",t[r(292)].top="0",t[r(292)][r(285)]="0"))}),f=n,G[a(333)](e[f],t,f,r,s)};let v=setInterval(()=>{y(f+1)},m);return a[o(293)]("mouseenter",()=>{clearInterval(v)}),a[o(293)](o(272),()=>{v=setInterval(()=>{y(f+1)},m)}),kt[o(277)](a,y,()=>f,g),a.appendChild(l),a}static addTouchSupport(t,e,n,r){const s=It;let o=0,i=0,a=!1;t[s(293)](s(280),t=>{const e=s;o=t[e(262)][0][e(279)],i=t[e(262)][0][e(275)],a=!0}),t.addEventListener(s(278),t=>{a&&t[s(276)]()}),t[s(293)](s(271),t=>{const r=s;if(!a)return;a=!1;const c=t.changedTouches[0][r(279)],l=t[r(331)][0][r(275)],d=o-c,u=i-l;if(Math[r(330)](d)>Math[r(330)](u)&&Math[r(330)](d)>50){const t=n();e(d>0?t+1:t-1)}})}}const Et=St;function St(t,e){const n=xt();return(St=function(t,e){return n[t-=297]})(t,e)}function xt(){const t=["length","1124450nEOMzM","cssText"," with ","adstage-ad adstage-text-ad","width","style","100%","className","-webkit-box","innerHTML","vertical","webkitBoxOrient","adstage-text-content","7140133TBZzQA","2748AkcqWa","806aUNETa","createEventTrackingCallback","height","229748zKeoUD","addClickEventForRenderer","number","TEXT","config","log","getElementById","renderAdElement","createTextAdStyles","containerId","✨ Text transition created for slot: ","24QPiNrK","createElement","optimizedHeight","display","div","15OAvhWC","createTextTransitionContainer","debug","setTextAdContent","12188cMEKbu","18JKdxvl","989bjeptl","calculateAdSize","60px","renderMultipleAds","27KPjYDv","getDefaultHeight","maxLines","✨ Single text ad rendered: ","parentElement","31318FFmszI","211098xPceBP","appendChild"];return(xt=function(){return t})()}!function(){const t=St,e=xt();for(;;)try{if(202472===parseInt(t(346))/1*(parseInt(t(321))/2)+parseInt(t(345))/3*(parseInt(t(324))/4)+parseInt(t(340))/5*(parseInt(t(303))/6)+-parseInt(t(302))/7*(parseInt(t(335))/8)+parseInt(t(297))/9*(-parseInt(t(306))/10)+parseInt(t(344))/11*(parseInt(t(320))/12)+-parseInt(t(319))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class At extends dt{constructor(e=!1,n){super(t[St(327)],e,n)}[Et(298)](){return Et(348)}async[Et(331)](t,e){const n=Et,r=document[n(330)](t[n(333)]);if(!r)return;const s=document[n(336)](n(339));s[n(313)]=n(309);const o=t[n(337)],i=r[n(301)]||r;if(o)s[n(311)][n(310)]=n(312),s[n(311)][n(323)]=String(o);else{const e=t[n(328)],r={width:e?.[n(310)],height:e?.height},{width:o,height:a}=this[n(347)](i,r,{debug:this.debug});s[n(311)][n(310)]=o,s[n(311)].height=a}const a=document[n(336)]("div");a.className=n(318),a[n(311)][n(307)]=vt[n(332)](!1),vt[n(343)](a,e);const c=t[n(328)]?.[n(299)];c&&typeof c===n(326)&&(a[n(311)][n(338)]=n(314),a[n(311)].webkitLineClamp=String(c),a[n(311)][n(317)]=n(316),a.style.overflow="hidden"),s[n(304)](a),Z[n(325)](s,e,t,()=>this.createEventTrackingCallback(),this.debug,"Text"),r[n(315)]="",r.appendChild(s),this[n(342)]&&console[n(329)](n(300)+e._id)}async[Et(349)](t,e){const n=Et,r=document[n(330)](t[n(333)]);if(!r)throw new Error("Container not found: "+t[n(333)]);const s=this[n(322)](),o={autoSlideInterval:(t[n(328)]?.slideInterval||5e3)/1e3,...t[n(328)],optimizedHeight:t[n(337)],aspectRatio:t.aspectRatio},i=kt[n(341)](t,e,o,s,this[n(342)]);i&&(r[n(315)]="",r[n(304)](i),this[n(342)]&&console[n(329)](n(334)+t.id+n(308)+e[n(305)]+" ads"))}}function Ct(t,e){const n=_t();return(Ct=function(t,e){return n[t-=236]})(t,e)}const Tt=Ct;function _t(){const t=["393358qRdyot","hideCurrentTime","🎬 Video data loaded, attempting autoplay...","🎬 Final video settings:","img","renderMultipleAds","hideMuteButton","hideVolumeSlider","src","26523WgDtEF","🎬 Trying muted autoplay fallback...","6973132zxwUQf","hidePlayButton","🎬 Video controls setting:","getElementById","🎬 Auto-play was prevented:","textContent","width","renderVideoElementDirect","loadeddata","hideFullscreenButton","Video thumbnail","🎬 Video config received:","setAttribute","10188647JPuJMr","relative","🔊 Video mute toggled: ",'\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 ',"100%","30KemRPH","contain","play","🎬 Single video ad rendered: ","rgba(0, 0, 0, 0.9)","1355560TTMCkP","head","debug","catch","log","cssText","🎬 Video can play, attempting autoplay...","enabled","VIDEO","customControls","height","preload","block","length","background","mouseleave","getDefaultHeight","containerId","metadata","hideProgressBar"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","click","adstage-video-container","1148344OJQxzS","\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 ","5726262XnHFnq","style","🎬 Autoplay completely failed:","disabled (default)"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","playsinline","alt","\n video::-webkit-media-controls-play-button {\n display: ","8584DUdLpK"," (autoplay: ","Video load failed:",'\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 ',"objectFit","error","canplay","Container not found: ","renderAdElement","loop","rgba(0, 0, 0, 0.7)","innerHTML","hideControls","className","unmuted","adstage-video-default-controls"," !important;\n }\n ","title","createEventTrackingCallback","scale(1)","\n pointer-events: none;\n ","adstage-video-mute-button","addClickEventForRenderer","transform","stopPropagation","autoplay","⚠️ No video advertisements available for slot: "," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","muted","Click to unmute","none","imageUrl","🎬 Video element created for ad: ","position","Video fallback","🎬 User explicitly enabled controls, overriding default","videoUrl","div","appendChild","_id","button","paused","addEventListener","controls","warn","createElement",", loop: "," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "];return(_t=function(){return t})()}!function(){const t=Ct,e=_t();for(;;)try{if(984724===-parseInt(t(319))/1+parseInt(t(262))/2*(-parseInt(t(291))/3)+-parseInt(t(273))/4+parseInt(t(296))/5+parseInt(t(321))/6+parseInt(t(286))/7+parseInt(t(329))/8*(parseInt(t(271))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Rt extends dt{constructor(e=!1,n){super(t[Ct(304)],e,n)}[Tt(312)](){return"360px"}async[Tt(337)](t,e){const n=Tt,r=document[n(276)](t[n(313)]);if(!r)return;const s=document.createElement(n(251));s[n(342)]=n(318),s.style[n(301)]=n(320),this.renderVideoElementDirect(s,e,t),r[n(340)]="",r[n(252)](s),this[n(298)]&&console.log(n(294)+e[n(253)])}async[Tt(267)](t,e){const n=Tt,r=document.getElementById(t[n(313)]);if(!r)throw new Error(n(336)+t[n(313)]);if(e[n(309)]>0){const s=e[0],o=document.createElement("div");o[n(342)]=n(318),o[n(322)][n(301)]="\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(280)](o,s,t),r.innerHTML="",r[n(252)](o);const a=this[n(347)]();setTimeout(()=>{a(s[n(253)],t.id,i.VIEWABLE)},100),this[n(298)]&&console[n(300)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+s._id+")")}else this[n(298)]&&console[n(258)](n(240)+t.id)}[Tt(280)](t,e,n){const r=Tt;t[r(322)][r(247)]=r(287);const s=document[r(259)]("video");s[r(322)][r(279)]=r(290),s[r(322)].height=r(290),s[r(322)][r(333)]=r(292),s[r(307)]=r(314);const o=n.config;if(this[r(298)]&&console[r(300)](r(284),o),s[r(257)]=!1,s.autoplay=!1!==o?.autoplay,s[r(242)]=!0,s[r(338)]=!1!==o?.[r(338)],this[r(298)]&&console.log(r(265),{autoplay:s.autoplay,muted:s[r(242)],loop:s[r(338)],controls:s.controls}),!1!==o?.[r(326)]&&s[r(285)](r(326),""),!0===o?.[r(257)]&&(s[r(257)]=!0,this[r(298)]&&console[r(300)](r(249))),o?.[r(341)])s[r(257)]=!1,s[r(322)].cssText+=r(349);else if(o?.[r(305)]){if(s[r(257)]){const t=document.createElement("style");t[r(278)]=r(328)+(o[r(305)][r(274)]?r(244):r(308))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(o[r(305)][r(315)]?r(244):r(308))+r(261)+(o.customControls[r(263)]?r(244):r(308))+r(241)+(o[r(305)].hideRemainingTime?r(244):r(308))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(o[r(305)][r(269)]?r(244):"block")+r(325)+(o[r(305)][r(268)]?r(244):r(308))+r(316)+(o[r(305)][r(282)]?r(244):r(308))+r(345),document[r(297)][r(252)](t)}}else if(s[r(257)]){const t=document.createElement(r(322));t.id="adstage-video-default-controls",t[r(278)]="\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[r(276)](r(344))&&document[r(297)][r(252)](t)}this.debug&&console.log(r(275),s.controls?r(303):r(324));const i=document[r(259)](r(254));i[r(342)]=r(350),i[r(322)][r(301)]="\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ",o?.[r(341)]&&(i[r(322)].display=r(244));const a=()=>{const t=r,e=t(332),n=t(289);i[t(340)]=s[t(242)]?e:n,i[t(346)]=s[t(242)]?t(243):"Click to mute"};if(a(),i.addEventListener(r(317),t=>{const e=r;t[e(238)](),s[e(242)]=!s[e(242)],a(),this.debug&&console[e(300)](e(288)+(s[e(242)]?e(242):e(343)))}),i.addEventListener("mouseenter",()=>{const t=r;i[t(322)][t(310)]=t(295),i[t(322)][t(237)]="scale(1.1)"}),i[r(256)](r(311),()=>{const t=r;i[t(322)][t(310)]=t(339),i[t(322)][t(237)]=t(348)}),e[r(250)]){s[r(270)]=e[r(250)];const t=()=>{const t=r;s[t(239)]&&s[t(242)]&&s[t(255)]&&s[t(293)]()[t(299)](e=>{const n=t;this[n(298)]&&(console.warn(n(277),e),console[n(258)](n(272))),s[n(242)]=!0,s.play()[n(299)](t=>{const e=n;this[e(298)]&&console[e(334)](e(323),t)})})};s.addEventListener("loadedmetadata",()=>{const e=r;this[e(298)]&&console[e(300)]("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(256)](r(335),()=>{const e=r;this.debug&&console[e(300)](e(302)),t()}),s[r(256)](r(281),()=>{const e=r;this[e(298)]&&console.log(e(264)),t()}),setTimeout(()=>{const e=r;this[e(298)]&&console[e(300)]("🎬 Initial autoplay attempt after timeout..."),t()},100)}else if(e[r(245)]){const n=document.createElement(r(266));return n[r(270)]=e.imageUrl,n.style[r(279)]=r(290),n[r(322)][r(306)]="100%",n[r(322)][r(333)]=r(292),n[r(327)]=e[r(346)]||r(283),void t.appendChild(n)}Z[r(236)](s,e,n,()=>this[r(347)](),this[r(298)],"Video"),s[r(256)](r(334),s=>{const o=r;if(console[o(334)](o(331),s),e.imageUrl){const r=document[o(259)](o(266));r.src=e.imageUrl,r.style.width=o(290),r[o(322)].height="100%",r[o(322)][o(333)]=o(292),r[o(327)]=e[o(346)]||"Video thumbnail",Z[o(236)](r,e,n,()=>this[o(347)](),this[o(298)],o(248)),t[o(340)]="",t[o(252)](r)}}),t.appendChild(s),t[r(252)](i),this[r(298)]&&console[r(300)](r(246)+e[r(253)]+r(330)+s[r(239)]+", muted: "+s[r(242)]+r(260)+s[r(338)]+")")}}function Dt(t,e){const n=Lt();return(Dt=function(t,e){return n[t-=414]})(t,e)}function Lt(){const t=["550865IYACMD","innerHTML","1400120trkeiN","433588eXrzuW","div","⚠️ No native advertisements available for slot: ","containerId","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","mouseenter","renderMultipleAds","appendChild","200px","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","6099400siVfpX","Native Advertisement","#3b82f6","3278652tUkhYy","debug","className","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","imageUrl","button","length","\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 ","img","log","adstage-ad adstage-native-ad","🏠 Native ad rendered (first of ","getElementById","_blank","NATIVE","71413IrBGSK","5VdTvFw","\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 ","createElement","textContent","2119239eRfMaz","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","advertisementEventTracker","src","alt","linkUrl","): ","style","title","open","#2563eb","click","cssText","addEventListener","_id"];return(Lt=function(){return t})()}const Pt=Dt;!function(){const t=Dt,e=Lt();for(;;)try{if(362854===-parseInt(t(446))/1+-parseInt(t(418))/2+parseInt(t(451))/3+-parseInt(t(417))/4+parseInt(t(447))/5*(-parseInt(t(431))/6)+parseInt(t(415))/7+parseInt(t(428))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends dt{constructor(e=!1,n){super(t[Dt(445)],e,n)}getDefaultHeight(){return Dt(426)}async renderAdElement(t,e){const n=Dt,r=document[n(443)](t[n(421)]);if(!r)return;const s=document.createElement(n(419));if(s[n(433)]=n(441),s[n(458)][n(463)]=n(438),e[n(459)]){const t=document.createElement("h3");t[n(450)]=e.title,t[n(458)][n(463)]=n(452),s[n(425)](t)}if(e[n(450)]){const t=document.createElement("p");t[n(450)]=e[n(450)],t.style[n(463)]=n(422),s[n(425)](t)}if(e[n(435)]){const t=document.createElement("div");t.style.cssText=n(427);const r=document[n(449)](n(439));r[n(454)]=e[n(435)],r[n(455)]=e.title||n(429),r.style[n(463)]=n(434),t[n(425)](r),s[n(425)](t)}if(e[n(456)]){const t=document[n(449)](n(436));t.textContent="Learn More",t.style[n(463)]=n(448),t[n(464)](n(462),()=>{const t=n;this[t(453)]&&console[t(440)]("Native click tracked for ad: "+e[t(414)]),window[t(460)](e[t(456)],t(444))}),t[n(464)](n(423),()=>{const e=n;t[e(458)].backgroundColor=e(461)}),t[n(464)]("mouseleave",()=>{const e=n;t.style.backgroundColor=e(430)}),s[n(425)](t)}r[n(416)]="",r[n(425)](s),this[n(432)]&&console[n(440)]("🏠 Single native ad rendered: "+e._id)}async[Pt(424)](t,e){const n=Pt;e[n(437)]>0?(await this.renderAdElement(t,e[0]),this[n(432)]&&console[n(440)](n(442)+e[n(437)]+n(457)+t.id)):this[n(432)]&&console.warn(n(420)+t.id)}}const Ot=Ut;function Ut(t,e){const n=zt();return(Ut=function(t,e){return n[t-=171]})(t,e)}function zt(){const t=["title","6jhteYq","open","cssText","body","parentNode","Interstitial click tracked for ad: ","linkUrl","\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 ","advertisementEventTracker","104580XlWoFF","#3b82f6","closeInterstitial","🖼️ Interstitial ad closed","Get Started","alt","adstage-interstitial-overlay","6510726tfFTSV","⚠️ No interstitial advertisements available for slot: ","color","key","className","#2563eb","#374151","addEventListener","400px","textContent","2391424EHeZEE","style","button","length","backgroundColor","#f3f4f6","animation","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","div","\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 ","\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 ","9663BslzkU","🖼️ Interstitial ad rendered (first of ","18CNZJta","#e5e7eb","renderMultipleAds","Interstitial Advertisement","11tAjgyS","warn","\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 ","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","Escape","img","log","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","getDefaultHeight","adstage-interstitial-styles","INTERSTITIAL","createElement","4353325JWNHsD","_id","1244fevYxK","3347430keElYL","#6b7280","\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 ","debug","removeChild","containerId","appendChild","mouseleave","7PqUyRE","imageUrl","mouseenter","click","66938brSWdC"];return(zt=function(){return t})()}!function(){const t=Ut,e=zt();for(;;)try{if(883041===parseInt(t(217))/1*(parseInt(t(215))/2)+-parseInt(t(182))/3*(parseInt(t(202))/4)+parseInt(t(200))/5+parseInt(t(233))/6*(parseInt(t(211))/7)+-parseInt(t(171))/8*(parseInt(t(184))/9)+-parseInt(t(203))/10*(-parseInt(t(188))/11)+-parseInt(t(226))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends dt{constructor(e=!1,n){super(t[Ut(198)],e,n)}[Ot(196)](){return Ot(241)}async renderAdElement(t,e){const n=Ot;if(!document.getElementById(t[n(208)]))return;const r=document[n(199)](n(179));r[n(237)]=n(232),r[n(172)][n(219)]=n(180);const s=document[n(199)](n(179));s.className="adstage-interstitial-content",s[n(172)].cssText=n(181);const o=document[n(199)](n(173));if(o.innerHTML="×",o[n(172)].cssText=n(224),o.addEventListener(n(214),()=>{this[n(228)](r)}),o.addEventListener(n(213),()=>{const t=n;o[t(172)][t(175)]=t(185),o.style[t(235)]=t(239)}),o[n(240)]("mouseleave",()=>{const t=n;o.style[t(175)]=t(176),o[t(172)][t(235)]=t(204)}),e[n(212)]){const t=document[n(199)](n(193));t.src=e[n(212)],t[n(231)]=e.title||n(187),t[n(172)][n(219)]=n(178),s.appendChild(t)}if(e.title){const t=document.createElement("h2");t[n(242)]=e[n(216)],t.style[n(219)]=n(191),s[n(209)](t)}if(e[n(242)]){const t=document[n(199)]("p");t[n(242)]=e[n(242)],t[n(172)][n(219)]=n(195),s[n(209)](t)}if(e[n(223)]){const t=document[n(199)]("button");t[n(242)]=n(230),t.style[n(219)]=n(205),t[n(240)]("click",()=>{const t=n;this[t(225)]&&console.log(t(222)+e._id),window[t(218)](e[t(223)],"_blank"),this[t(228)](r)}),t[n(240)](n(213),()=>{const e=n;t.style[e(175)]=e(238)}),t[n(240)](n(210),()=>{const e=n;t[e(172)].backgroundColor=e(227)}),s[n(209)](t)}const i=t=>{const e=n;t[e(236)]===e(192)&&(this[e(228)](r),document.removeEventListener("keydown",i))};if(document[n(240)]("keydown",i),r[n(240)]("click",t=>{const e=n;t.target===r&&this[e(228)](r)}),!document.getElementById(n(197))){const t=document[n(199)]("style");t.id=n(197),t[n(242)]=n(190),document.head[n(209)](t)}s[n(209)](o),r[n(209)](s),document[n(220)].appendChild(r),this.debug&&console[n(194)]("🖼️ Interstitial ad rendered: "+e[n(201)])}async[Ot(186)](t,e){const n=Ot;e[n(174)]>0?(await this.renderAdElement(t,e[0]),this.debug&&console[n(194)](n(183)+e[n(174)]+"): "+t.id)):this.debug&&console[n(189)](n(234)+t.id)}[Ot(228)](t){const e=Ot;t.style[e(177)]="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(221)]&&t[n(221)][n(207)](t)},300),this[e(206)]&&console[e(194)](e(229))}}const Mt=Ft;function Vt(){const t=["3282OkwwBg","3259289HZUmde","naturalHeight","265630faSCkZ","setAttribute","9402633etGpIn","set","14098YpeLCX","data-adstage-slot-id","renderFallback","optimizeContainerForBannerAds","100%","1px dashed #ccc","src","5910008sOYZtL","toLowerCase","img","width","imageUrl","getRenderer","30eGUflY","config","display","height","createAdElement","calculateAdSize","renderOptimizedBannerImage","onerror","renderAdElement","8eDQDCf","937923yWYKwY","renderers","log","loadImageDimensions","adType","advertisementEventTracker","border","2USRyZc","renderAd","createPlaceholder","padding","objectFit","naturalWidth","BANNER","appendChild","div","239833ECWrrN","textContent","onload","getDefaultHeightForAdType","renderOptimizedBannerImage is only supported for BANNER ads","initializeRenderers","isLoaded","className","getDefaultHeight","No advertisement to render","createElement","_id","calculateOptimalContainerSize","data-adstage-ad-id","cover","Failed to load image: ","debug","style","NATIVE","renderAdSlider","VIDEO","block","No renderer found for ad type: ","TEXT","[AdRenderer] ","videoUrl"];return(Vt=function(){return t})()}function Ft(t,e){const n=Vt();return(Ft=function(t,e){return n[t-=459]})(t,e)}!function(){const t=Ft,e=Vt();for(;;)try{if(771460===-parseInt(t(527))/1+-parseInt(t(518))/2*(-parseInt(t(511))/3)+parseInt(t(495))/4+parseInt(t(484))/5+-parseInt(t(481))/6*(-parseInt(t(488))/7)+-parseInt(t(510))/8*(parseInt(t(486))/9)+-parseInt(t(501))/10*(parseInt(t(482))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Kt{constructor(t=!1,e){const n=Ft;this[n(512)]=new Map,this[n(471)]=t,this[n(516)]=e||null,this[n(460)]()}[Mt(460)](){const e=Mt;this.renderers.set(t.BANNER,new ht(this.debug,this[e(516)])),this[e(512)][e(487)](t[e(478)],new At(this[e(471)],this[e(516)])),this.renderers[e(487)](t[e(475)],new Rt(this.debug,this.advertisementEventTracker)),this[e(512)][e(487)](t[e(473)],new Bt(this.debug,this.advertisementEventTracker)),this[e(512)].set(t.INTERSTITIAL,new Nt(this.debug,this.advertisementEventTracker)),this[e(471)]&&console[e(513)]("🏭 AdRenderer factory initialized with "+this[e(512)].size+" renderers")}[Mt(505)](e,n){const r=Mt,s=this[r(500)](e[r(515)]),o=document[r(465)](r(526));o[r(462)]="adstage-ad adstage-"+String(e[r(515)])[r(496)](),o.setAttribute(r(468),n[r(466)]),o[r(485)](r(489),e.id);const{width:i,height:a}=s[r(506)](o,e[r(502)]||{},n);switch(o[r(472)][r(498)]=i,o.style[r(504)]=a,o[r(472)][r(503)]=r(476),e.adType){case t[r(524)]:if(n[r(499)]){const t=document.createElement(r(497));t[r(494)]=n[r(499)],t.style[r(498)]=r(492),t[r(472)].height=r(492),t[r(472)][r(522)]=r(469),o[r(525)](t)}break;case t[r(475)]:if(n[r(480)]){const t=document.createElement("video");t[r(494)]=n[r(480)],t[r(472)].width=r(492),t[r(472)][r(504)]=r(492),o[r(525)](t)}break;case t.TEXT:if(n[r(528)]){const t=document[r(465)](r(526));t[r(528)]=n[r(528)]||"",t[r(472)][r(521)]="8px",o[r(525)](t)}break;default:o[r(472)][r(517)]=r(493),o.style.backgroundColor="#f9f9f9",o[r(528)]=e[r(515)]+" Ad"}return o}[Mt(500)](t){const e=Mt,n=this[e(512)].get(t);if(!n)throw new Error(e(477)+t);return n}[Mt(520)](t,e,n,r,s){this[Mt(500)](n).createPlaceholder(t,e,r,s)}async optimizeContainerForBannerAds(e,n){const r=Mt;if(e[r(515)]!==t.BANNER)return void(this.debug&&console.warn("⚠️ Container optimization is only supported for BANNER ads, got: "+e[r(515)]));const s=this[r(500)](t[r(524)]);await s[r(491)](e,n)}async[Mt(474)](t,e){const n=this.getRenderer(t.adType);await n.renderMultipleAds(t,e)}async[Mt(519)](t){const e=Mt;if(!t.advertisement)throw new Error(e(464));const n=this[e(500)](t[e(515)]);await n[e(509)](t,t.advertisement),t[e(461)]=!0}async[Mt(509)](t,e){const n=Mt,r=this[n(500)](t[n(515)]);await r[n(509)](t,e)}[Mt(490)](t){const e=Mt;this.getRenderer(t[e(515)]).renderFallback(t)}[Mt(530)](t){const e=Mt;return this[e(500)](t)[e(463)]()}[Mt(506)](t,e,n,r){const s=Mt;return this.getRenderer(e)[s(506)](t,n,r)}[Mt(514)](t){return new Promise((e,n)=>{const r=Ft,s=new Image;s[r(529)]=()=>{const t=r;e({width:s[t(523)],height:s[t(483)]})},s[r(508)]=()=>{n(new Error(r(470)+t))},s.src=t})}async[Mt(507)](e,n,r){const s=Mt;if(r[s(515)]!==t[s(524)])throw new Error(s(459));const o=this[s(500)](t.BANNER);return await o.renderOptimizedBannerImage(e,n,r)}async calculateOptimalContainerSize(e,n,r){const s=Mt;if(r!==t.BANNER){const t=this[s(500)](r);return{width:s(492),height:t[s(463)](),aspectRatio:16/9}}const o=this.getRenderer(t[s(524)]);return await o[s(467)](e,n)}log(t,...e){const n=Mt;this[n(471)]&&console[n(513)](n(479)+t,...e)}}const jt=Wt;function Ht(){const t=["status","adstage-","viewabilityTracker","error","6121914oNFNJp","getAllSlots","autoplay","🔍 Auto-cleanup MutationObserver enabled","renderFallback","getConfig","auto-","now","substr","delete","debug","🔍 Ad slot already cleaned up: ","loop","string","API key not configured","renderAd","🎠 Slider will handle VIEWABLE events for ","1267ZkrTSS","4734HRtbNJ","12JhquUf","advertisement","Ad slot not found: ","autoSlide","createAdWithRetry"," removed","fetchAdData","📊 Advertisement event tracking enabled for slot: ","INTERSTITIAL","TEXT","❌ Failed to find element for viewability tracking: ","35EkSEPa","New advertisement viewable tracked for slot:","Failed to refresh ad slot: ","❌ Failed to load ad for slot: ","ms... (attempt "," ads automatically","config","startSimpleViewabilityTracking","clear"," attempts: ","observe","video","ELEMENT_NODE","BANNER","setupAutoCleanup","height","handleViewableEvent","광고 생성 중 오류 발생:","toString","containerId","setAttribute"," (element found)","autoDestroy","adType","isReady","createAd","init","_isReady","country","renderAdSlider","🔄 Retrying viewability tracking for slot: ","forEach","body","data-adstage-slot-id","_config","slots","100%","🎯 Ads module initialized (sync mode) with auto-cleanup","removedNodes","Failed to fetch ad data: ","mutationObserver","ensureReady","adRenderer","muted","apiKey","language","_id","✅ Simple viewable impression tracked for ad ","destroyModule","isLoaded","❌ Failed to track viewable impression:","customControls","11240QSDrlN","getSlotById","interstitial","handleRemovedElement","random","5zbelQn",". Retrying in ","detail","5979941CePVXp","banner","VIDEO","18776XyCXTv","refreshAdSlot","create","renderAdElement","trackAdvertisementEvent","width"," ads)","text","1646868AWYeIu","createAdInternal","append","json","getElementById","loadAdContentInBackground","📊 Fetched ",", filters:","refresh","7142CTJFMp","default","destroy","nodeType","advertisementEventTracker","playsinline","1249544TMXUkE","adId","getAttribute","NATIVE","auto","deviceType","log","🗑️ Ads module destroyed","set","get","length","onClick","🔄 Ad slot refreshed: ","warn","GET","from","undefined","advertisements","controls","then","hideControls"];return(Ht=function(){return t})()}function Wt(t,e){const n=Ht();return(Wt=function(t,e){return n[t-=468]})(t,e)}!function(){const t=Wt,e=Ht();for(;;)try{if(963849===-parseInt(t(572))/1*(-parseInt(t(511))/2)+parseInt(t(561))/3*(parseInt(t(517))/4)+-parseInt(t(488))/5*(parseInt(t(542))/6)+parseInt(t(559))/7*(parseInt(t(494))/8)+-parseInt(t(560))/9*(-parseInt(t(483))/10)+-parseInt(t(491))/11+parseInt(t(502))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=Wt;this[t(599)]=!1,this[t(606)]=null,this[t(607)]=new Map,this[t(515)]=null,this[t(473)]=null,this[t(471)]=null}[jt(598)](t){const e=jt;this[e(606)]=t,this[e(515)]=new P(H.getBaseUrl(),t[e(475)],t[e(552)]||!1,this[e(607)]),this[e(473)]=new Kt(t[e(552)]||!1,this[e(515)]),this[e(586)](),this[e(599)]=!0,t[e(552)]&&console[e(523)](e(468))}[jt(596)](){return this._isReady}[jt(547)](){return this[jt(606)]}[jt(492)](e,n){const r=jt;this[r(472)]();const s={width:n?.[r(499)]||r(608),height:n?.[r(587)]||"auto",autoSlide:n?.[r(564)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.onClick,adId:n?.[r(518)],language:n?.language,deviceType:n?.[r(522)],country:n?.[r(600)]};return this[r(597)](e,t[r(585)],s)}[jt(501)](e,n){const r=jt;this.ensureReady();const s={maxLines:n?.maxLines||3,style:n?.style||r(512),onClick:n?.[r(528)],adId:n?.adId,language:n?.language,deviceType:n?.[r(522)],country:n?.country};return this.createAd(e,t[r(570)],s)}[jt(583)](e,n){const r=jt;this[r(472)]();const s={width:n?.[r(499)]||640,height:n?.[r(587)]||360,autoplay:void 0===n?.autoplay||n[r(544)],muted:void 0===n?.[r(474)]||n.muted,loop:void 0===n?.[r(554)]||n[r(554)],playsinline:!1!==n?.[r(516)],controls:void 0!==n?.[r(535)]&&n[r(535)],hideControls:n?.[r(537)]||!1,customControls:n?.[r(482)],autoSlide:!1,maxAds:1,onClick:n?.[r(528)],...n?.adId&&{adId:n.adId}};return this[r(597)](e,t[r(493)],s)}native(e,n){const r=jt;return this.ensureReady(),this[r(597)](e,t[r(520)],n||{})}[jt(485)](e,n){const r=jt;return this.ensureReady(),this[r(597)](e,t[r(569)],n||{})}[jt(510)](t){const e=jt;this[e(472)]();const n=this[e(607)][e(526)](t);if(!n)throw new Error(e(563)+t);this[e(495)](n),this[e(606)]?.debug&&console[e(523)](e(529)+t)}[jt(513)](t){const e=jt;this[e(472)]();const n=this[e(607)][e(526)](t);if(!n)return void(this[e(606)]?.[e(552)]&&console[e(523)](e(553)+t));n[e(540)]&&n[e(540)][e(513)]();const r=document[e(506)](n[e(591)]);r&&(r.innerHTML=""),this.slots[e(551)](t),this[e(606)]?.[e(552)]&&console[e(523)]("🗑️ Ad slot destroyed: "+t)}[jt(543)](){const t=jt;return this.ensureReady(),Array[t(532)](this[t(607)].values())}[jt(484)](t){const e=jt;return this[e(472)](),this[e(607)][e(526)](t)||null}[jt(597)](t,e,n){const r=jt;if(!this[r(606)]?.[r(475)])throw new Error(r(556));const s=r(539)+e+"-"+Date[r(549)]()+"-"+Math[r(487)]()[r(590)](36)[r(550)](2,9);return this[r(565)](t,e,n,s,0),s}async[jt(565)](t,e,n,r,s){const o=jt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(555)){if(a=t,c=document[o(506)](t),!c)return s<4?(this[o(606)]?.debug&&console.warn("Container not found: "+t+o(489)+i[s+1]+o(576)+(s+1)+"/5)"),void setTimeout(()=>{this[o(565)](t,e,n,r,s+1)},i[s+1])):void console[o(541)]("Container not found after 5"+o(581)+t)}else c=t,a=c.id||o(548)+r,!c.id&&(c.id=a);try{this[o(503)](a,e,n,r,c)}catch(t){console.error(o(589),t)}}[jt(503)](e,n,r,s,o){const i=jt;o[i(592)]("data-adstage-slot-id",s),this[i(473)]?.createPlaceholder(o,s,n,r,this._config);const a={id:s,containerId:e,adType:n,width:r[i(499)]||i(608),height:r[i(587)]||(n===t[i(570)]?i(521):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this[i(567)](n,r)[i(536)](t=>t[0]||null),render:t=>this.adRenderer?.[i(497)](a,t),refresh:async()=>this.refreshAdSlot(a),destroy:()=>this.destroy(s)};this[i(607)][i(525)](s,a),this.loadAdContentInBackground(a),this[i(515)]&&this[i(606)]?.[i(552)]&&console.log(i(568)+s)}async[jt(507)](e){const n=jt;try{const r=await this[n(567)](e[n(595)],e[n(578)]);if(!r||0===r.length)return void this.adRenderer?.[n(546)](e);e[n(595)]===t[n(585)]&&r[n(527)]>0&&await(this[n(473)]?.optimizeContainerForBannerAds(e,r)),r[n(527)]>1||e[n(578)]?.[n(564)]?(await(this.adRenderer?.[n(601)](e,r)),this._config?.[n(552)]&&console.log(n(558)+r[n(527)]+n(577))):(e[n(562)]=r[0],await(this[n(473)]?.[n(497)](e,r[0])),this[n(579)](e,r[0])),e[n(480)]=!0,this._config?.[n(552)]&&console[n(523)]("✅ Ad loaded for slot: "+e.id+" ("+r.length+n(500))}catch(t){console[n(541)](n(575)+e.id,t),this.adRenderer?.renderFallback(e)}}[jt(579)](t,e){const n=(r=0)=>{const s=Wt,o=document[s(506)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(606)]?.debug&&console.log(s(602)+t.id+" (attempt "+(r+1)+")")):console[s(530)](s(571)+t.id));const i=new z(o,async()=>{const n=s;await this[n(588)](e,t)});t.viewabilityTracker=i,this[s(606)]?.[s(552)]&&console.log("🎯 Simple viewability tracking started for slot: "+t.id+s(593))};n()}async handleViewableEvent(t,e){const n=jt;try{this[n(515)]&&(await this[n(515)][n(498)](t[n(477)],e.id,i.VIEWABLE),this._config?.[n(552)]&&console[n(523)](n(478)+t[n(477)]))}catch(t){console[n(541)](n(481),t)}}async[jt(567)](t,e){const n=jt;if(!this[n(606)]?.[n(475)])throw new Error("API key not configured");if(e.adId){const t=""+H[n(534)][n(490)](e.adId),r=await fetch(t,{method:n(531),headers:_[n(496)](this[n(606)][n(475)])});if(!r.ok){if(404===r.status)return console[n(530)]("🚫 Advertisement not found with ID: "+e[n(518)]),[];throw new Error(n(470)+r[n(538)])}const s=await r[n(505)]();return this[n(606)]?.debug&&console[n(523)]("📊 Fetched specific ad with ID: "+e[n(518)],s),[s]}const r=new URLSearchParams;r.append(n(595),t),e[n(476)]&&r[n(504)](n(476),e.language),e[n(522)]&&r[n(504)](n(522),e.deviceType),e.country&&r[n(504)]("country",e[n(600)]);const s=H.advertisements.list()+"?"+r[n(590)](),o=await fetch(s,{method:"GET",headers:_[n(496)](this[n(606)][n(475)])});if(!o.ok)throw new Error(n(470)+o[n(538)]);const i=(await o[n(505)]())[n(534)]||[];return this[n(606)]?.[n(552)]&&console[n(523)](n(508)+i[n(527)]+" ads for type: "+t+n(509),{language:e.language,deviceType:e[n(522)],country:e[n(600)]}),i}async[jt(495)](t){const e=jt;try{const n=await this.fetchAdData(t[e(595)],t[e(578)]||{});n&&n.length>0&&(t[e(562)]=n[0],await(this[e(473)]?.[e(557)](t)),this.advertisementEventTracker&&console[e(523)](e(573),t.id))}catch(n){console.error(e(574)+t.id,n)}}[jt(472)](){if(!this._isReady)throw new Error("Ads module not initialized. Call AdStage.init() first.")}[jt(586)](){const t=jt;typeof window!==t(533)&&"undefined"!=typeof document&&(this.mutationObserver&&this[t(471)].disconnect(),this[t(471)]=new MutationObserver(e=>{const n=t;e[n(603)](t=>{const e=n;t[e(469)][e(603)](t=>{const n=e;t[n(514)]===Node[n(584)]&&this[n(486)](t)})})}),this[t(471)][t(582)](document[t(604)],{childList:!0,subtree:!0}),this._config?.debug&&console[t(523)](t(545)))}handleRemovedElement(t){const e=jt,n=t[e(519)](e(605));if(n)return void this[e(594)](n);t.querySelectorAll("[data-adstage-slot-id]")[e(603)](t=>{const n=e,r=t[n(519)](n(605));r&&this[n(594)](r)})}autoDestroy(t){const e=jt,n=this.slots[e(526)](t);if(n)try{n[e(540)]&&n[e(540)].destroy(),this[e(607)][e(551)](t),this._config?.[e(552)]&&console[e(523)]("🧹 Auto-cleanup: slot "+t+e(566))}catch(n){this[e(606)]?.debug&&console[e(530)]("Auto-cleanup failed for slot "+t+":",n)}}[jt(479)](){const t=jt,e=this[t(606)]?.[t(552)];this[t(471)]&&(this.mutationObserver.disconnect(),this[t(471)]=null),this[t(607)][t(580)](),this[t(515)]=null,this[t(473)]=null,this[t(599)]=!1,this._config=null,e&&console[t(523)](t(524))}}var Xt=qt;function Gt(){var t=["getEnabledModules","baseUrl","14754780YqYKwr","modules","363314cKCyCk","log","_organizationInfo","13304277VvfNZE","_isReady","getBaseUrl","events","setBaseUrl","getConfig","_config","debug","apiKey","updateConfig","ads","config","getApiEndpoint","✅ Config module initialized (sync mode)","10xfRLMI","7515588HUdxNU","1caFoPr","7uKxLbY","create","includes","getOrganizationInfo","development","🔄 Config updated","65qELOTP","isReady","462812wSxGRo","4175534AQYjuy","8OBOtpV","API key not available","isModuleEnabled","1724697GkLrRD","isDebugMode","getApiHeaders"];return(Gt=function(){return t})()}function qt(t,e){var n=Gt();return(qt=function(t,e){return n[t-=244]})(t,e)}!function(){for(var t=qt,e=Gt();;)try{if(877191===parseInt(t(255))/1*(parseInt(t(276))/2)+parseInt(t(269))/3+parseInt(t(264))/4*(parseInt(t(262))/5)+-parseInt(t(254))/6*(parseInt(t(256))/7)+-parseInt(t(266))/8*(-parseInt(t(279))/9)+parseInt(t(253))/10*(-parseInt(t(265))/11)+-parseInt(t(274))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Jt{constructor(){var t=qt;this[t(280)]=!1,this._config=null,this[t(278)]=null}init(t){var e=qt;this._config={timeout:3e4,debug:!1,modules:[e(249),e(282),e(250)],...t},t.baseUrl&&H[e(283)](t[e(273)]),this[e(280)]=!0,t[e(246)]&&console[e(277)](e(252),{modules:this._config[e(275)],endpoint:H.getBaseUrl(),mode:e(260)})}[Xt(263)](){return this[Xt(280)]}[Xt(244)](){return this[Xt(245)]}[Xt(259)](){return this._organizationInfo}[Xt(251)](){return H[Xt(281)]()}[Xt(270)](){var t=Xt;return this[t(245)]?.[t(246)]||!1}[Xt(272)](){var t=Xt;return this[t(245)]?.modules||[]}[Xt(268)](t){var e=Xt;return this[e(272)]()[e(258)](t)}[Xt(248)](t){var e=Xt;if(!this[e(245)])throw new Error("Config module not initialized");this[e(245)]={...this[e(245)],...t},this[e(270)]()&&console[e(277)](e(261),t)}[Xt(271)](){var t=Xt;if(!this[t(245)]?.[t(247)])throw new Error(t(267));return _[t(257)](this._config[t(247)])}}function Zt(){const t=["Unknown","Android","4846056LHegVs","onLine","web","getAutoDetectedDeviceInfo","56icJNSl","7455501xeXJQB","iOS","width","Desktop Web","setDeviceProperty","toLowerCase","userAgent","other","mobile","486571cIsupF","219969brPLdp","getViewportInfo","17220VLgGLz","ios","desktop","tablet","isBrowser","height","platform","Mobile Web","3887056GQxvAU","ko-KR","mapPlatformForEvents","SSR","getDetailedInfo","language","4356975NRhygG","26YQexMF","clearDeviceInfo","0x0","_userProvidedDeviceInfo","setDeviceInfo"];return(Zt=function(){return t})()}const Qt=te;!function(){const t=te,e=Zt();for(;;)try{if(563504===-parseInt(t(365))/1+parseInt(t(383))/2*(parseInt(t(366))/3)+parseInt(t(376))/4+-parseInt(t(382))/5+parseInt(t(390))/6+parseInt(t(368))/7*(parseInt(t(394))/8)+-parseInt(t(395))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{static getDeviceInfo(){const t=te;return{...$t.getAutoDetectedDeviceInfo(),...$t[t(386)]}}static[Qt(393)](){const t=Qt;if(!g.isBrowser())return{category:t(363),platform:t(379),model:t(379),osVersion:"SSR"};const e=navigator[t(362)][t(361)]();let n=t(370);/tablet|ipad/.test(e)?n=t(371):E.isMobile()&&(n=t(364));const r=E.getPlatform();return{category:n,platform:$t[t(378)](r),model:navigator[t(374)],osVersion:navigator[t(374)]}}static[Qt(387)](t){const e=Qt;$t._userProvidedDeviceInfo={...$t[e(386)],...t}}static[Qt(360)](t,e){$t[Qt(386)][t]=e}static[Qt(384)](){$t[Qt(386)]={}}static getUserDeviceInfo(){return{...$t._userProvidedDeviceInfo}}static mapPlatformForEvents(t){const e=Qt;switch(t){case e(369):return e(396);case"android":return e(389);case e(392):return e(375);case e(370):return e(398);default:return e(388)}}static[Qt(380)](){const t=Qt;if(!g[t(372)]())return{userAgent:"SSR",language:t(377),platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(385),viewportSize:t(385)};const e=g[t(367)]();return{userAgent:navigator[t(362)],language:navigator[t(381)]||t(377),platform:navigator[t(374)],cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(391)],screenResolution:screen[t(397)]+"x"+screen[t(373)],viewportSize:e.width+"x"+e[t(373)]}}}function te(t,e){const n=Zt();return(te=function(t,e){return n[t-=360]})(t,e)}$t[Qt(386)]={};const ee=re;!function(){const t=re,e=se();for(;;)try{if(971403===parseInt(t(395))/1*(parseInt(t(397))/2)+-parseInt(t(409))/3*(parseInt(t(385))/4)+-parseInt(t(386))/5+-parseInt(t(391))/6+-parseInt(t(406))/7*(-parseInt(t(403))/8)+-parseInt(t(392))/9*(parseInt(t(390))/10)+parseInt(t(410))/11*(parseInt(t(411))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static getUserInfo(){const t=re;return{...ne[t(394)](),...ne[t(393)]}}static[ee(394)](){const t=ee;if(!g[t(407)]())return{language:t(401),country:"KR"};const e=navigator.language||"ko-KR";return{language:e,country:ne[t(404)](e)}}static extractCountryFromLanguage(t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ee(396)]("-")[0]]||"KR"}static[ee(408)](t){const e=ee;ne._userProperties={...ne[e(393)],...t}}static[ee(389)](t,e){ne._userProperties[t]=e}static[ee(387)](){ne._userProperties={}}static[ee(398)](){return{...ne[ee(393)]}}static[ee(400)](){const t=ee;if(!g[t(407)]())return{timezone:t(388),estimatedCountry:"KR"};const e=Intl[t(399)]()[t(405)]()[t(402)];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=se();return(re=function(t,e){return n[t-=385]})(t,e)}function se(){const t=["ko-KR","timeZone","172056WDJZZL","extractCountryFromLanguage","resolvedOptions","343MyfUjK","isBrowser","setUserProperties","42oSmEPQ","6359793FJcNHC","60NPzczz","344384ZATwXe","1664610XFBNZT","clearUserProperties","UTC","setUserProperty","6916710nWaDqo","11478048VaLNnW","9peWEdZ","_userProperties","getBaseUserInfo","5iABFjB","split","467876ATcyJg","getCurrentUserProperties","DateTimeFormat","estimateLocation"];return(se=function(){return t})()}ne._userProperties={};const oe=ie;function ie(t,e){const n=ce();return(ie=function(t,e){return n[t-=491]})(t,e)}!function(){const t=ie,e=ce();for(;;)try{if(541928===parseInt(t(519))/1*(parseInt(t(514))/2)+-parseInt(t(538))/3+-parseInt(t(518))/4*(parseInt(t(496))/5)+parseInt(t(498))/6*(parseInt(t(541))/7)+parseInt(t(536))/8*(-parseInt(t(529))/9)+-parseInt(t(524))/10*(parseInt(t(555))/11)+-parseInt(t(525))/12*(-parseInt(t(528))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ae{static[oe(503)](){const t=oe;if(typeof window===t(549))return null;const e=new URLSearchParams(window[t(511)][t(551)]),n={};let r=!1;const s=e[t(558)](t(510));if(s)try{const e=decodeURIComponent(s),o=new URLSearchParams(e);for(const e of ae[t(567)]){const s=o[t(558)](e);s&&(n[e]=s,r=!0)}o[t(558)](t(542))===t(502)&&(r=!0)}catch(e){console.warn(t(539),e)}for(const s of ae[t(567)]){if(n[s])continue;const o=e[t(558)](s);o&&(n[s]=o,r=!0)}return r?(n[t(540)]||(n[t(505)]?n[t(540)]=t(545):n[t(522)]?n.channel="meta.ads":n[t(495)]?n[t(540)]=t(517):n[t(562)]?n.channel="naver.searchad":n.liclid?n[t(540)]=t(565):n[t(491)]?n[t(540)]=t(531):n[t(563)]&&(n[t(540)]="twitter.ads")),ae[t(554)](n),n):null}static[oe(554)](t){const e=oe;if(typeof window!==e(549)&&window[e(532)])try{const n={...ae[e(558)](),...t};sessionStorage[e(507)](ae[e(492)],JSON[e(550)](n))}catch(t){console[e(535)]("Failed to store tracking params:",t)}}static[oe(558)](){const t=oe;if(typeof window===t(549)||!window[t(532)])return null;try{const t=sessionStorage.getItem(ae.STORAGE_KEY);if(t)return JSON.parse(t)}catch(e){console[t(535)](t(499),e)}return null}static[oe(533)](){const t=oe;if(typeof window!==t(549)&&window.sessionStorage)try{sessionStorage[t(515)](ae[t(492)])}catch(e){console[t(535)](t(506),e)}}static[oe(557)](){const t=oe,e=ae[t(558)]();return null!==e&&Object[t(509)](e)[t(508)]>0}static hasClickId(){const t=oe,e=ae[t(558)]();return!!e&&ae[t(560)][t(556)](t=>e[t])}static[oe(512)](){const t=oe;if("undefined"==typeof window)return!1;const e=ae[t(558)]();if(!e||!ae[t(497)]())return!1;const n=e[t(505)]||e[t(522)]||e[t(495)]||e[t(562)]||e[t(547)]||e.msclkid||e[t(563)];if(!n)return!1;return n!==sessionStorage[t(530)](t(553))&&(sessionStorage[t(507)]("adstage_last_click_id",n),!0)}static[oe(527)](){const t=oe;typeof window!==t(549)&&sessionStorage[t(507)](t(544),t(502))}static[oe(561)](){const t=oe;return typeof window!==t(549)&&sessionStorage[t(530)](t(544))===t(502)}static[oe(546)](){const t=oe,e=ae[t(558)]();if(!e)return null;const n={};return e[t(505)]&&(n[t(505)]=e[t(505)]),e[t(522)]&&(n[t(522)]=e[t(522)]),e.ttclid&&(n[t(495)]=e[t(495)]),e[t(562)]&&(n[t(562)]=e[t(562)]),e[t(540)]&&(n[t(540)]=e.channel),e.campaign&&(n.campaign=e[t(521)]),e.campaign_id&&(n[t(552)]=e[t(494)]),e[t(566)]&&(n.adGroup=e[t(566)]),e[t(537)]&&(n[t(504)]=e.ad_group_id),e[t(520)]&&(n[t(534)]=e[t(520)]),e.creative_id&&(n[t(493)]=e.creative_id),e[t(523)]&&(n[t(523)]=e[t(523)]),e[t(516)]&&(n[t(516)]=e[t(516)]),e[t(564)]&&(n[t(564)]=e[t(564)]),e[t(543)]&&(n[t(543)]=e[t(543)]),e[t(559)]&&(n[t(559)]=e[t(559)]),e[t(526)]&&(n[t(526)]=e[t(526)]),Object[t(509)](n)[t(508)]>0?n:null}}function ce(){const t=["utm_medium","linkedin.ads","ad_group","ALL_KEYS","msclkid","STORAGE_KEY","creativeId","campaign_id","ttclid","1184735sZvXqs","hasClickId","420228WUnvwA","Failed to retrieve tracking params:","adstage_tracking_params","creative_id","true","captureFromUrl","adGroupId","gclid","Failed to clear tracking params:","setItem","length","keys","adstage_referrer","location","shouldSendClickEvent","UTM_KEYS","4VTCjvA","removeItem","utm_source","tiktok.ads","4kcNEhL","520946XEyvmf","ad_creative","campaign","fbclid","term","8320mLSBLK","1416dcBjCy","utm_term","markClickEventSent","142740XGHieC","108CyWIcl","getItem","microsoft.ads","sessionStorage","clear","adCreative","warn","595928Nsxvkg","ad_group_id","2167419chSYHZ","Failed to parse adstage_referrer:","channel","14csQtbW","adstage","utm_campaign","adstage_click_event_sent","google.ads","toAttributionObject","liclid","CAMPAIGN_KEYS","undefined","stringify","search","campaignId","adstage_last_click_id","store","1089ZCEmTy","some","hasParams","get","utm_content","CLICK_ID_KEYS","isClickEventSent","nclid","twclid"];return(ce=function(){return t})()}ae.STORAGE_KEY=oe(500),ae.CLICK_ID_KEYS=["gclid",oe(522),oe(495),oe(562),oe(547),oe(491),oe(563)],ae.CAMPAIGN_KEYS=[oe(521),oe(494),"ad_group",oe(537),oe(520),oe(501),oe(523)],ae[oe(513)]=[oe(516),oe(564),oe(543),oe(559),oe(526)],ae.ALL_KEYS=[...ae[oe(560)],...ae[oe(548)],...ae[oe(513)]];const le=de;function de(t,e){const n=ue();return(de=function(t,e){return n[t-=479]})(t,e)}function ue(){const t=["✅ Event tracked:","_config","events","1550660nuzsVT","API key not configured for event tracking.","749416cHwOqR","Event tracking failed: ","undefined","sessionStorage","setDeviceInfo","status","debug","79918UwAikX","4gNdVik","get","length","❌ API Error Response:","attributionId","isReady","setUserProperties","application/json","sendAttributionToServer","setDeviceProperty","⏭️ No tracking parameters found, skipping attribution registration","setItem","1396720MJEsRt","log","Events module not initialized. Call AdStage.init() first.","🔑 Request headers:","apiKey","1783734OAZVYx","562545XlYBrf","adstage_attribution_id","👤 User properties set:","Attribution registration failed: ","statusText","📦 Attribution request body:","📊 Events module initialized","API key not configured for attribution registration.","📱 User provided device info cleared","getUserInfo","❌ Failed to track event:","stringify","✅ Attribution registered:","keys","warn","registerAttribution","track","getUserDeviceInfo","getConfig","getCurrentUserProperties","📊 Attribution included:","text","1057420KSuDUm","create","clearDeviceInfo","getDeviceInfo","sendEventToServer","POST","getAttributionId","init","getUserProperties","📡 Request URL:","_isReady","Event data:","error"];return(ue=function(){return t})()}!function(){const t=de,e=ue();for(;;)try{if(170684===parseInt(t(496))/1*(parseInt(t(495))/2)+parseInt(t(514))/3+-parseInt(t(488))/4+-parseInt(t(486))/5+parseInt(t(513))/6+-parseInt(t(536))/7+parseInt(t(508))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pe{constructor(){const t=de;this[t(480)]=!1,this[t(484)]=null}[le(543)](t){const e=le;this[e(484)]=t,this[e(480)]=!0,t[e(494)]&&console[e(509)](e(520))}[le(501)](){return this[le(480)]}[le(532)](){return this[le(484)]}[le(502)](t){const e=le;ne.setUserProperties(t),this[e(484)]?.[e(494)]&&console[e(509)](e(516),t)}[le(544)](){return ne.getCurrentUserProperties()}setDeviceInfo(t){const e=le;$t[e(492)](t),this[e(484)]?.[e(494)]&&console[e(509)]("📱 Device info set:",t)}setDeviceProperty(t,e){const n=le;$t[n(505)](t,e),this[n(484)]?.[n(494)]&&console[n(509)]("📱 Device property set:",t,e)}[le(538)](){const t=le;$t.clearDeviceInfo(),this[t(484)]?.debug&&console[t(509)](t(522))}getUserDeviceInfo(){return $t[le(531)]()}[le(539)](){return $t.getDeviceInfo()}[le(523)](){return ne[le(523)]()}[le(533)](){return ne[le(533)]()}async[le(530)](t,e){const n=le;if(this[n(480)])if(this._config?.[n(512)])try{const r=this[n(542)]();if(r){const s={eventName:t,sdkVersion:I(),device:$t.getDeviceInfo(),user:ne[n(523)](),attributionId:r,params:e||{}};return await this[n(540)](s),void(this[n(484)][n(494)]&&console[n(509)]("✅ Event tracked with attribution ID:",t,r))}const s=ae.toAttributionObject(),o={eventName:t,sdkVersion:I(),device:$t[n(539)](),user:ne[n(523)](),...s&&{attribution:s},params:e||{}};await this[n(540)](o),this[n(484)][n(494)]&&(console[n(509)](n(483),t,e),s&&console[n(509)](n(534),s))}catch(r){console[n(482)](n(524),r),this._config[n(494)]&&console.error(n(481),{eventName:t,properties:e})}else console[n(528)](n(487));else console.warn(n(510))}async[le(529)](t){const e=le;if(!this._isReady)return console.warn(e(510)),null;if(!this._config?.[e(512)])return console[e(528)](e(521)),null;try{const n=ae[e(497)]();if(!n||0===Object[e(527)](n)[e(498)])return this._config.debug&&console[e(509)](e(506)),null;const r=await this[e(504)]({deviceId:t,referrerParams:n});return this[e(484)][e(494)]&&console[e(509)](e(526),r),r.attributionId&&sessionStorage[e(507)](e(515),r[e(500)]),r}catch(t){return console[e(482)]("❌ Failed to register attribution:",t),null}}getAttributionId(){const t=le;return typeof window!==t(490)&&window[t(491)]?sessionStorage.getItem(t(515)):null}async trackWithAttributionId(t,e){return this[le(530)](t,e)}async[le(540)](t){const e=le,n={..._[e(537)](this[e(484)].apiKey),"Content-Type":e(503)};this[e(484)]?.[e(494)]&&(console[e(509)](e(511),n),console.log(e(479),H[e(485)][e(530)]()),console[e(509)]("📦 Request body:",t));const r=await fetch(H[e(485)][e(530)](),{method:e(541),headers:n,body:JSON[e(525)](t)});if(!r.ok){const t=await r[e(535)]();throw console[e(482)](e(499),t),new Error(e(489)+r.status+" "+r[e(518)])}}async[le(504)](t){const e=le,n={..._[e(537)](this[e(484)].apiKey),"Content-Type":"application/json"};this[e(484)]?.[e(494)]&&(console[e(509)]("🔑 Attribution request headers:",n),console.log("📡 Attribution request URL:",H[e(485)][e(529)]()),console.log(e(519),t));const r=await fetch(H[e(485)][e(529)](),{method:e(541),headers:n,body:JSON[e(525)](t)});if(!r.ok){const t=await r[e(535)]();throw console[e(482)](e(499),t),new Error(e(517)+r[e(493)]+" "+r.statusText)}return r.json()}}const he=fe;function fe(t,e){const n=ge();return(fe=function(t,e){return n[t-=318]})(t,e)}function ge(){const t=["captureFromUrl","14831pNyvug","10956QIJqIP","userAgent","📊 AdStage Debug: 현재 viewable 추적 상태","adstage_device_id","warn","✅ Attribution registered:","📊 Tracking parameters captured:","7447Jnlcfk","toString","...","25448800rmYYgI","web-","toAttributionObject","error","18nzzemc","230buWHgL","baseUrl",")의 viewable 추적 초기화됨","markClickEventSent","1712CBbvqn","charCodeAt","isReady","318208sPhVal","getItem","🔍 Should send click event:","channel","instance","substring","_isInitialized","track","undefined","getConfig","4319kKwRqL","now","function","ads","hasClickId","AdStage.config accessed before initialization","web","catch","log","tracking_params","debug","size","❌ Error in click event auto-tracking:","expiresAt","shouldSendClickEvent","random","apiKey","setBaseUrl","API key is required for AdStage initialization","length","join","_config","width","10CqDobT","config","❌ Failed to register attribution:","278658LmBsmF","get","❌ Failed to auto-track click event:","registerAttribution","1965858krJKkI","events","AdStage not initialized. Call AdStage.init() first.","getInstance","modules","abs","reset","🚀 AdStage SDK initialized (sync mode)","init","setItem","viewableTracker","toISOString","122YvBsAH","2.0.0","attributionId","campaign","height"];return(ge=function(){return t})()}!function(){const t=fe,e=ge();for(;;)try{if(531504===parseInt(t(328))/1*(parseInt(t(322))/2)+parseInt(t(343))/3*(-parseInt(t(351))/4)+-parseInt(t(384))/5*(parseInt(t(391))/6)+-parseInt(t(361))/7*(-parseInt(t(348))/8)+parseInt(t(387))/9*(-parseInt(t(344))/10)+-parseInt(t(336))/11*(parseInt(t(329))/12)+parseInt(t(339))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class me{constructor(){const t=fe;this[t(357)]=!1,this[t(382)]=null,this[t(385)]=new Jt,this.ads=new Yt,this.events=new pe}static[he(318)](t){const e=he;!me.instance&&(me[e(355)]=new me);const n=me[e(355)];if(!t[e(377)])throw new Error(e(379));n[e(382)]={timeout:3e4,debug:!1,modules:[e(364),"events",e(385)],...t},n[e(382)].baseUrl&&(H[e(378)](n[e(382)][e(345)]),t[e(371)]&&console.log("🌐 API endpoint configured:",n._config.baseUrl));const r=n[e(382)][e(395)]||[e(364),"events",e(385)];for(const t of r){const r=n[t];r&&typeof r.init===e(363)&&r.init(n[e(382)])}if(n[e(357)]=!0,typeof window!==e(359)){const r=ae[e(327)]();r&&t[e(371)]&&console[e(369)](e(335),r),r&&ae[e(365)]()&&setTimeout(async()=>{const r=e;try{const e=n.generateDeviceId(),s=await n[r(392)][r(390)](e);s&&t[r(371)]&&console.log(r(334),{attributionId:s[r(324)],channel:s[r(354)],campaign:s[r(325)],expiresAt:s[r(374)]})}catch(t){console[r(342)](r(386),t)}},100);const s=ae[e(375)]();t.debug&&(console[e(369)](e(353),s),!s&&console[e(369)]("⏭️ Skipping click event (duplicate or no click ID)")),s&&setTimeout(()=>{const r=e;try{const e=ae[r(388)](),s=ae[r(341)]();n[r(392)][r(358)]("click",{_autoGenerated:!0,_source:r(370),_timestamp:(new Date)[r(321)](),_platform:r(367)}).then(()=>{const n=r;ae[n(347)](),t[n(371)]&&console[n(369)]("✅ Auto-tracked click event with tracking params:",{attribution:s,trackingParams:e})})[r(368)](t=>{const e=r;console.error(e(389),t)})}catch(t){console.error(r(373),t)}},200)}t[e(371)]&&console[e(369)](e(398),{version:e(323),modules:r,apiKey:t.apiKey[e(356)](0,8)+e(338),mode:"development"})}static[he(350)](){const t=he;return me[t(355)]?._isInitialized||!1}static[he(360)](){const t=he;return me[t(355)]?.[t(382)]||null}static[he(394)](){const t=he;if(!me.instance)throw new Error(t(393));return me.instance}static get[he(364)](){const t=he;try{return me[t(394)]()[t(364)]}catch(e){throw console[t(333)]("AdStage.ads accessed before initialization"),e}}static get[he(392)](){const t=he;try{return me[t(394)]()[t(392)]}catch(t){throw console.warn("AdStage.events accessed before initialization"),t}}static get[he(385)](){const t=he;try{return me.getInstance()[t(385)]}catch(e){throw console.warn(t(366)),e}}static[he(397)](){const t=he;me.instance&&(me[t(355)][t(357)]=!1,me[t(355)][t(382)]=null)}generateDeviceId(){const t=he;if(typeof window===t(359))return"server-"+Math[t(376)]()[t(337)](36)[t(356)](2,15);const e=localStorage[t(352)]("adstage_device_id");if(e)return e;const n=[navigator[t(330)],navigator.language,screen[t(383)]+"x"+screen[t(326)],(new Date).getTimezoneOffset(),navigator.hardwareConcurrency||0][t(381)]("|");let r=0;for(let e=0;e<n[t(380)];e++){r=(r<<5)-r+n[t(349)](e),r&=r}const s=t(340)+Math[t(396)](r)[t(337)](36)+"-"+Date[t(362)]()[t(337)](36);return localStorage[t(319)](t(332),s),s}}function ye(t,e){var n=Ie();return(ye=function(t,e){return n[t-=117]})(t,e)}function ve(t,e){var n=ye;return me[n(119)]()?me.events.track(t,e):(console[n(122)](n(124)),Promise[n(126)]())}function Ie(){var t=["resolve","2582064pKtDJU","setUserProperties","2072700LTtahV","147138NpKbOo","301638CAuMDO","14vRkhuL","11002599PUxUNc","3749700AVuQTW","isReady","2gmPLHH","events","warn","getUserProperties","AdStage not initialized. Call AdStage.init() first.","605612aDLnng"];return(Ie=function(){return t})()}function be(t){var e=ye;me[e(119)]()?me[e(121)][e(128)](t):console[e(122)](e(124))}function we(){var t=ye;if(me.isReady())return me[t(121)][t(123)]();console.warn("AdStage not initialized. Call AdStage.init() first.")}me[he(371)]={clearAllViewable:()=>{const t=he;it.clear(),console[t(369)]("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=he;it.clearAdViewable(t,e),console[n(369)]("✅ AdStage Debug: 광고 "+t+"("+e+n(346))},getViewableStatus:()=>{const t=he;console.log(t(331),{trackedCount:it.viewableTracker[t(372)],trackedItems:Array.from(it[t(320)])})}},function(){for(var t=ye,e=Ie();;)try{if(386842===parseInt(t(125))/1+parseInt(t(120))/2*(parseInt(t(130))/3)+-parseInt(t(129))/4+-parseInt(t(118))/5+-parseInt(t(131))/6*(-parseInt(t(132))/7)+-parseInt(t(127))/8+parseInt(t(117))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var ke,Ee={exports:{}},Se={},xe={exports:{}},Ae={};xe.exports=function(){if(ke)return Ae;ke=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var v=y.prototype=new m;v.constructor=y,h(v,g.prototype),v.isPureReactComponent=!0;var I=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var x=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,I(i)?(s="",null!=n&&(s=n.replace(x,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(S(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(x,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",I(n))for(var l=0;l<n.length;l++){var d=o+A(a=n[l],l);c+=C(a,r,s,d,i)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,d=o+A(a,l++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function _(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},D={transition:null},L={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function P(){throw Error("act(...) is not supported in production builds of React.")}return Ae.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!S(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Ae.Component=g,Ae.Fragment=n,Ae.Profiler=s,Ae.PureComponent=y,Ae.StrictMode=r,Ae.Suspense=c,Ae.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,Ae.act=P,Ae.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)b.call(n,l)&&!k.hasOwnProperty(l)&&(s[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Ae.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},Ae.createElement=E,Ae.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Ae.createRef=function(){return{current:null}},Ae.forwardRef=function(t){return{$$typeof:a,render:t}},Ae.isValidElement=S,Ae.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:_}},Ae.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},Ae.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},Ae.unstable_act=P,Ae.useCallback=function(t,e){return R.current.useCallback(t,e)},Ae.useContext=function(t){return R.current.useContext(t)},Ae.useDebugValue=function(){},Ae.useDeferredValue=function(t){return R.current.useDeferredValue(t)},Ae.useEffect=function(t,e){return R.current.useEffect(t,e)},Ae.useId=function(){return R.current.useId()},Ae.useImperativeHandle=function(t,e,n){return R.current.useImperativeHandle(t,e,n)},Ae.useInsertionEffect=function(t,e){return R.current.useInsertionEffect(t,e)},Ae.useLayoutEffect=function(t,e){return R.current.useLayoutEffect(t,e)},Ae.useMemo=function(t,e){return R.current.useMemo(t,e)},Ae.useReducer=function(t,e,n){return R.current.useReducer(t,e,n)},Ae.useRef=function(t){return R.current.useRef(t)},Ae.useState=function(t){return R.current.useState(t)},Ae.useSyncExternalStore=function(t,e,n){return R.current.useSyncExternalStore(t,e,n)},Ae.useTransition=function(){return R.current.useTransition()},Ae.version="18.3.1",Ae}();var Ce,Te=xe.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@ var t,e,n,r,s,i,o,a,c,l,d,u;function p(){var t=["164171EBjbVt","MOBILE","TABLET"
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */ke.exports=function(){if(Ae)return Ee;Ae=1;var t=Te,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(t,n,o){var a,c={},l=null,d=null;for(a in void 0!==o&&(l=""+o),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,a)&&!i.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:s.current}}return Ee.Fragment=n,Ee.jsx=o,Ee.jsxs=o,Ee}();var Ce=ke.exports;const Re=Te.createContext(null);function _e({children:t,config:e}){const[n,r]=Te.useState(!1),[s,i]=Te.useState(null),[o,a]=Te.useState(null),c=t=>{try{a(null),n&&he.reset(),he.init(t),i(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),i(null)}};Te.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:s,initialize:c,reset:()=>{try{he.reset(),r(!1),i(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return Ce.jsx(Re.Provider,{value:l,children:t})}function De(){const t=Te.useContext(Re);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Le(){const{isInitialized:t}=De();return t?he:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Me(t,e){var n=Be();return(Me=function(t,e){return n[t-=494]})(t,e)}function Be(){var t=["130848evlLXl","4906312DfhjEJ","4869765yWLZzK","5KXWjml","2rJTnAT","3272599GLmJWB","707383jpnRDF","7EvdMxd","2789484EnxYCo","10ndlUHc","1093302YcEOfV"];return(Be=function(){return t})()}!function(){for(var t=Me,e=Be();;)try{if(577943===-parseInt(t(497))/1*(-parseInt(t(495))/2)+parseInt(t(501))/3+parseInt(t(499))/4*(-parseInt(t(494))/5)+-parseInt(t(502))/6+parseInt(t(498))/7*(-parseInt(t(503))/8)+parseInt(t(504))/9+-parseInt(t(500))/10*(-parseInt(t(496))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ue=ze;function ze(t,e){const n=Oe();return(ze=function(t,e){return n[t-=122]})(t,e)}function Oe(){const t=["8QCPPla","42611wMEqEz","26AOLvER","10itLvZg","55cMwFso","3968478qhwHGx","685143DbiRWu","15566274OLEgSx","13325600krNpDs","82072afDYvj","AdStage","13286378etMWZt","config","undefined"];return(Oe=function(){return t})()}!function(){const t=ze,e=Oe();for(;;)try{if(950528===parseInt(t(133))/1*(-parseInt(t(134))/2)+-parseInt(t(124))/3+parseInt(t(127))/4+-parseInt(t(135))/5*(parseInt(t(123))/6)+-parseInt(t(129))/7+parseInt(t(132))/8*(-parseInt(t(125))/9)+parseInt(t(126))/10*(parseInt(t(122))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Pe="2.0.0",Ne=["ads","events",Ue(130)];typeof window!==Ue(131)&&(window[Ue(128)]=he);export{he as AdStage,_e as AdStageProvider,Pe as SDK_VERSION,Ne as SUPPORTED_MODULES,me as getUserId,ye as getUserProperties,ge as setUserId,Ie as setUserProperties,fe as track,De as useAdStageContext,Le as useAdStageInstance};
10
+ */Ee.exports=function(){if(Ce)return Se;Ce=1;var t=Te,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},l=null,d=null;for(a in void 0!==i&&(l=""+i),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:s.current}}return Se.Fragment=n,Se.jsx=i,Se.jsxs=i,Se}();var _e=Ee.exports;const Re=Te.createContext(null);function De({children:t,config:e}){const[n,r]=Te.useState(!1),[s,o]=Te.useState(null),[i,a]=Te.useState(null),c=t=>{try{a(null),n&&me.reset(),me.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};Te.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:s,initialize:c,reset:()=>{try{me.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return _e.jsx(Re.Provider,{value:l,children:t})}function Le(){const t=Te.useContext(Re);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Pe(){const{isInitialized:t}=Le();return t?me:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Be(t,e){var n=Oe();return(Be=function(t,e){return n[t-=115]})(t,e)}function Oe(){var t=["2118579DhDiLZ","1719aslfkX","8255300fNKywI","3283928kxpHAV","46291Cxeodl","54658076cOudpR","1cmYUCb","44360JQmSBF","7007625JpZTZG","4bknYjE","120yVcStK"];return(Oe=function(){return t})()}!function(){for(var t=Be,e=Oe();;)try{if(853409===-parseInt(t(122))/1*(parseInt(t(119))/2)+parseInt(t(116))/3*(-parseInt(t(125))/4)+-parseInt(t(124))/5+parseInt(t(115))/6*(-parseInt(t(120))/7)+-parseInt(t(123))/8*(parseInt(t(117))/9)+parseInt(t(118))/10+parseInt(t(121))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ue=Ne;function ze(){const t=["58734xMayMg","8lFaWcw","5360635jZnbce","184TMrzOh","4606790zidHNd","18011796GmXLLr","config","154pPTkDA","1807779BZTXmL","undefined","2.0.0","9480sFGsId","AdStage","3108186alDapE","ads","14eUPoHa"];return(ze=function(){return t})()}function Ne(t,e){const n=ze();return(Ne=function(t,e){return n[t-=427]})(t,e)}!function(){const t=Ne,e=ze();for(;;)try{if(606304===parseInt(t(440))/1*(parseInt(t(428))/2)+parseInt(t(441))/3*(-parseInt(t(434))/4)+parseInt(t(435))/5+-parseInt(t(430))/6*(-parseInt(t(432))/7)+parseInt(t(436))/8*(parseInt(t(433))/9)+parseInt(t(437))/10+-parseInt(t(438))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Me=Ue(427),Ve=[Ue(431),"events",Ue(439)];typeof window!==Ue(442)&&(window[Ue(429)]=me);export{me as AdStage,De as AdStageProvider,Me as SDK_VERSION,Ve as SUPPORTED_MODULES,ae as TrackingParamsModule,we as getUserProperties,be as setUserProperties,ve as track,Le as useAdStageContext,Pe as useAdStageInstance};