@adstage/web-sdk 3.0.7 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";function e(t,n){var r=f();return(e=function(t,e){return r[t-=471]})(t,n)}var n,r,s,o,i,a,c,d,l,u,p,h;function f(){var t=["14wUOgFL","CLICK","TEXT","NATIVE","3674QJTVHj","VIDEO","DESKTOP","4460sJSfWw","VIEWABLE","POPUP","739863YXGKXN","1531424AVPnJO","BANNER","12aHDiYy","554935UEFHAm","106608IpZjvy","921324Mtpjct","MOBILE","TABLET","WEB","887440cqmZuy","3lvRhkQ","INTERSTITIAL"];return(f=function(){return t})()}function g(t,e){const n=m();return(g=function(t,e){return n[t-=332]})(t,e)}function m(){const t=["readyState","isBrowser","safeSetTextContent","textContent","open","7082520LwWoxs","pageYOffset",'❌ 컨테이너를 찾을 수 없습니다: "',"isDOMReady","log","scrollTop","undefined","error","getDocumentProperty","safeAddClass","2gtPlHy","1085287PWMuwA","entries","safeCreateElement","classList","safeQuerySelector","getComputedStyle","safeRemoveClass","531666SUsMil","referrer","canUseDOM","createElement","ms (","1890548shlVdH",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"addEventListener",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"waitForDOM","⏳ 컨테이너 대기 중: ","29878XOWLqs","번 시도)","ms 경과)","✅ 컨테이너 즉시 발견: ","207ZkOAqS","all","from","querySelectorAll","getScrollInfo","ms)","pageXOffset","safeGetComputedStyle","✅ 컨테이너 발견: ","safeGetElementById","location","map","safeWindowOpen","waitForElements","pow","style","getWindowProperty","forEach","6cIOqJj","removeEventListener","getPageInfo","150504eQutpn","DOMContentLoaded","title","safeSetInnerHTML","1682365VkfDOu","innerWidth","safeQuerySelectorAll","getViewportInfo","innerHTML","loading","ceil","getElementById","documentElement","번째 시도, ","safeAddEventListener","safeRemoveEventListener"];return(m=function(){return t})()}!function(t){for(var n=e,r=t();;)try{if(251285===parseInt(n(471))/1+parseInt(n(472))/2+-parseInt(n(477))/3*(parseInt(n(490))/4)+-parseInt(n(493))/5*(-parseInt(n(492))/6)+parseInt(n(479))/7*(-parseInt(n(476))/8)+-parseInt(n(489))/9+-parseInt(n(486))/10*(-parseInt(n(483))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f),r=n||(n={}),s=e,r.BANNER=s(491),r[s(488)]=s(488),r[s(478)]=s(478),r.NATIVE=s(482),r[s(484)]="VIDEO",r[s(481)]=s(481),(i=o||(o={}))[(a=e)(475)]=a(475),i.MOBILE=a(473),(d=c||(c={}))[(l=e)(487)]=l(487),d.CLICK=l(480),p=u||(u={}),h=e,p.DESKTOP=h(485),p.MOBILE=h(473),p.TABLET=h(474);const y=g;!function(t){const e=g,n=t();for(;;)try{if(339538===parseInt(e(357))/1*(parseInt(e(376))/2)+-parseInt(e(365))/3+-parseInt(e(370))/4+-parseInt(e(405))/5*(parseInt(e(398))/6)+parseInt(e(358))/7+-parseInt(e(401))/8*(-parseInt(e(380))/9)+parseInt(e(347))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class I{static[y(343)](){const t=y;return typeof window!==t(353)&&typeof document!==t(353)}static isSSR(){return!this.isBrowser()}static[y(367)](){return this[y(343)]()&&void 0!==document.readyState}static[y(389)](t){const e=y;return this[e(367)]()?document[e(337)](t):null}static[y(362)](t){return this.canUseDOM()?document.querySelector(t):null}static[y(332)](t){const e=y;return this[e(367)]()?Array[e(382)](document[e(383)](t)):[]}static[y(360)](t){const e=y;return this[e(367)]()?document[e(368)](t):null}static[y(340)](t,e,n,r){const s=y;this[s(367)]()&&t&&t[s(372)](e,n,r)}static[y(341)](t,e,n,r){const s=y;this[s(367)]()&&t&&t[s(399)](e,n,r)}static getWindowProperty(t,e){return this[y(343)]()?window[t]??e:e}static[y(355)](t,e){return this[y(367)]()?document[t]??e:e}static[y(392)](t,e,n){const r=y;return this[r(343)]()?window[r(346)](t,e,n):null}static[y(387)](t){const e=y;return this[e(343)]()&&t?window[e(363)](t):null}static[y(350)](){const t=y;return!!this[t(367)]()&&document[t(342)]!==t(335)}static[y(374)](){return new Promise(t=>{const e=g;this[e(367)]()?this[e(350)]()?t():this[e(340)](document,e(402),()=>t()):t()})}static safeApplyStyles(t,e){const n=y;this[n(367)]()&&t&&Object[n(359)](e)[n(397)](([e,r])=>{t[n(395)].setProperty(e,r)})}static[y(356)](t,e){const n=y;this[n(367)]()&&t&&t[n(361)].add(e)}static[y(364)](t,e){const n=y;this[n(367)]()&&t&&t[n(361)].remove(e)}static[y(344)](t,e){const n=y;this.canUseDOM()&&t&&(t[n(345)]=e)}static[y(404)](t,e){const n=y;this[n(367)]()&&t&&(t[n(334)]=e)}static safeAppendChild(t,e){this[y(367)]()&&t&&e&&t.appendChild(e)}static safeRemoveChild(t,e){this.canUseDOM()&&t&&e&&t.removeChild(e)}static[y(400)](){const t=y;return{url:this[t(396)](t(390),{href:""}).href,title:this[t(355)](t(403),""),referrer:this[t(355)](t(366),"")}}static[y(333)](){const t=y;return{width:this.getWindowProperty(t(406),0),height:this[t(396)]("innerHeight",0),pixelRatio:this.getWindowProperty("devicePixelRatio",1)}}static[y(384)](){const t=y;return{scrollTop:this.canUseDOM()?window[t(348)]||document[t(338)][t(352)]:0,scrollLeft:this[t(396)](t(386),0)}}static async waitForElement(t,e={}){const n=y,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this.canUseDOM())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(337)](t);return i?(o&&console.log(n(379)+t),i):(o&&console[n(351)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+r+n(385)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(336)](r/s),l=()=>{const n=a;c++;const u=document[n(337)](t);if(u)return o&&console[n(351)](n(388)+t+" ("+c+n(339)+c*s+n(378)),void e(u);if(c>=d){const e=n(349)+t+n(371)+t+n(373)+r+n(369)+c+n(377);return o&&console[n(354)](e),void i(new Error(e))}o&&c%10==0&&console[n(351)](n(375)+t+" ("+c+"/"+d+")");const p=Math.min(s*Math[n(394)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[y(393)](t,e={}){const n=y,r=t[n(391)](t=>this.waitForElement(t,e));return Promise[n(381)](r)}}const v=k;function b(){const t=["3239046vgrVfa","20vXnTSX","4692438uadPbA","2323728CitDRh","AdStageSDK/","1302480HgvlWq","userAgent","13066QWOwNs","4111240HUFbGX","1367394cBTwVm",'"3.0.7"',"8SZTBva"];return(b=function(){return t})()}!function(t){const e=k,n=t();for(;;)try{if(480433===parseInt(e(448))/1*(-parseInt(e(442))/2)+parseInt(e(438))/3+parseInt(e(444))/4+-parseInt(e(446))/5+parseInt(e(443))/6+parseInt(e(437))/7*(-parseInt(e(440))/8)+-parseInt(e(441))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);const w=v(439);function k(t,e){const n=b();return(k=function(t,e){return n[t-=437]})(t,e)}function E(){return w}function x(t,e){const n=A();return(x=function(t,e){return n[t-=258]})(t,e)}const S=x;function A(){const t=[",y:","now","20xFlngh","UTC","259281YUmPVA","1316059MHPItH","generateDeviceId","android","696798TlGYqU","adstage_session_id","colorDepth","toString","connection","isBrowser","language","SSR","getSlotPosition","width","collectDeviceInfo","getScrollInfo","2763216SKOySX","safeGetElementById","getPlatform","timeZone","getViewportInfo","130RbSDeC","26tFfOUs","generateSessionId","isMobile","1.0.0","web","userAgent","getItem","scrollTop","483SWpbjJ","pixelRatio","height","ssr_device_","platform","substr","1067945QPbtAM","unknown","test","desktop","108282Vqcbay","48985497fzrcGU","toLowerCase","random","effectiveType","adstage_device_id","left","ios"];return(A=function(){return t})()}!function(t){const e=x,n=t();for(;;)try{if(839027===-parseInt(e(275))/1+-parseInt(e(296))/2*(parseInt(e(274))/3)+parseInt(e(272))/4*(-parseInt(e(258))/5)+-parseInt(e(262))/6*(-parseInt(e(304))/7)+-parseInt(e(290))/8+parseInt(e(278))/9*(-parseInt(e(295))/10)+parseInt(e(263))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);class C{static[S(276)](){const t=S;if(!I.isBrowser())return t(307)+Date[t(271)]();const e=localStorage.getItem(t(267));if(e)return e;const n="device_"+Math[t(265)]()[t(281)](36)[t(309)](2,9)+"_"+Date[t(271)]();return localStorage.setItem(t(267),n),n}static[S(297)](){const t=S;if(!I[t(283)]())return"ssr_session_"+Date[t(271)]();const e=sessionStorage[t(302)]("adstage_session_id");if(e)return e;const n="session_"+Math[t(265)]()[t(281)](36)[t(309)](2,9)+"_"+Date.now();return sessionStorage.setItem(t(279),n),n}static[S(298)](){const t=S;return!!I[t(283)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(301)])}static[S(292)](){const t=S;if(!I[t(283)]())return t(300);const e=navigator[t(301)][t(264)]();return/iphone|ipad|ipod/[t(260)](e)?t(269):/android/[t(260)](e)?t(277):C.isMobile()?t(300):t(261)}static[S(288)](){const t=S,e=I[t(294)]();return{deviceId:C[t(276)](),sessionId:C[t(297)](),osVersion:I[t(283)]()?navigator[t(308)]:"SSR",deviceModel:I[t(283)]()?navigator.platform:t(285),appVersion:t(299),sdkVersion:E(),language:I[t(283)]()&&navigator[t(284)]||"ko",country:"KR",ipAddress:"",userAgent:I[t(283)]()?navigator[t(301)]:t(285),timezone:I[t(283)]()?Intl.DateTimeFormat().resolvedOptions()[t(293)]:t(273),viewportWidth:e.width,viewportHeight:e[t(306)],screenWidth:I[t(283)]()?screen[t(287)]:0,screenHeight:I[t(283)]()?screen[t(306)]:0,colorDepth:I.isBrowser()?screen[t(280)]:24,pixelRatio:e[t(305)],connectionType:I[t(283)]()?navigator[t(282)]?.[t(266)]||t(259):"unknown",platform:C.getPlatform()}}static[S(286)](t){const e=S,n=I[e(291)](t);if(!n)return e(259);const r=n.getBoundingClientRect(),s=I[e(289)]();return"x:"+Math.round(r[e(268)])+e(270)+Math.round(r.top+s[e(303)])}}function T(){const t=["contentType","143heXZsZ","11916144NJThrn","8lALJxw","6955NWKZnM","596EjhoRo","create","1695670UEtbKh","userAgent","322159pKIWrj","2671760LBRcXZ","2744340QlIwin","undefined","363507zivzxe","User-Agent","10xCjPpG"];return(T=function(){return t})()}const R=P;function P(t,e){const n=T();return(P=function(t,e){return n[t-=351]})(t,e)}!function(t){const e=P,n=t();for(;;)try{if(728218===parseInt(e(359))/1+-parseInt(e(365))/2*(parseInt(e(363))/3)+parseInt(e(355))/4*(parseInt(e(354))/5)+-parseInt(e(361))/6+-parseInt(e(360))/7*(-parseInt(e(353))/8)+-parseInt(e(352))/9+parseInt(e(357))/10*(parseInt(e(351))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class _{static[R(356)](t,e){const n=R;if(!t)throw new Error("API key is required");const r={"x-api-key":t,"Content-Type":e?.[n(366)]||"application/json"};return typeof navigator!==n(362)&&(r["User-Agent"]=e?.[n(358)]||navigator[n(358)]),r}static createForEvents(t,e){const n=R,r=_.create(t);return e?.[n(358)]&&(r[n(364)]=e[n(358)]),r}}const D=U;function U(t,e){const n=L();return(U=function(t,e){return n[t-=213]})(t,e)}function L(){const t=["7178437YQlPQY","API request failed: ","211416RiuVEs","sessionId","substring","1002ulrqRq","/advertisements/events/","deviceId","length","string","baseUrl","parseNumericValue","containerId"," in slot ","adType","now","🚀 Sending advertisement event: ","url","log","get","apiKey"," - ","error"," event for ad ","✅ Successfully tracked advertisement event: ","615674RaDozx","🌐 Full API call details:","POST","❌ Failed to track advertisement event:","getSlotPosition","stringify","...","platform","width","text","debug","warn","statusText",". Skipping event tracking to prevent incorrect adType.","slots","collectDeviceInfo","⚠️ Slot not found for slotId: ","replace","getPageInfo"," for ad ","NOT_SET","height","5691584hlYksR","referrer","2910ExChfp","VIEWABLE","1371094BNxian","title","25151984udQdLg"];return(L=function(){return t})()}!function(t){const e=U,n=t();for(;;)try{if(792206===-parseInt(e(248))/1+parseInt(e(220))/2+-parseInt(e(225))/3+-parseInt(e(216))/4+parseInt(e(218))/5*(parseInt(e(228))/6)+-parseInt(e(223))/7+parseInt(e(222))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class O{constructor(t,e,n,r){const s=U;this[s(233)]=t,this.apiKey=e,this[s(258)]=n,this[s(262)]=r}async trackAdvertisementEvent(t,e,n){const r=U;try{this[r(258)]&&console[r(241)]("🚀 AdvertisementEventTracker: Processing "+n+r(246)+t+r(236)+e);const s=this.slots[r(242)](e);if(!s)return void(this[r(258)]&&console[r(259)](r(264)+e+r(261)));const o=C[r(263)](),i={adType:s[r(237)],platform:o[r(255)],deviceId:o[r(230)],deviceInfo:o,pageUrl:I[r(266)]()[r(240)],pageTitle:I[r(266)]()[r(221)],referrer:I.getPageInfo()[r(217)],slotId:e,slotPosition:C[r(252)](s[r(235)]),slotWidth:O.parseNumericValue(s[r(256)]),slotHeight:O[r(234)](s[r(215)]),sessionId:o[r(226)],pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[r(238)]()},...n===c[r(219)]&&{isViewable:!0,iabCompliant:!0}},a=this[r(233)]+r(229)+t+"/"+n,d=_.createForEvents(this[r(243)],i);this[r(258)]&&(console[r(241)](r(239)+n+" for ad "+t,{url:a,headers:d,eventData:i}),console[r(241)](r(249),{method:r(250),url:a,hasApiKey:!!this.apiKey,bodySize:JSON[r(253)](i)[r(231)]}));const l=await fetch(a,{method:"POST",headers:d,body:JSON[r(253)](i)});if(this[r(258)]&&console[r(241)]("📡 API Response Status: "+l.status+" "+l[r(260)],{url:a,ok:l.ok}),!l.ok){const t=await l[r(257)]();throw new Error(r(224)+l.status+" "+l.statusText+r(244)+t)}this[r(258)]&&console[r(241)](r(247)+n+r(213)+t)}catch(s){console[r(245)](r(251),s),console[r(245)]("🔍 Debug info:",{baseUrl:this.baseUrl,apiKey:this[r(243)]?this[r(243)][r(227)](0,8)+r(254):r(214),url:this[r(233)]+r(229)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[D(234)](t){const e=D;if("number"==typeof t)return t;if(typeof t===e(232)){const n=parseFloat(t[e(265)](/px$/,""));return isNaN(n)?0:n}return 0}}var z=N;function B(){var t=["element","initIntersectionObserver","disconnect","warn","100526JTbQve","1715598sOQmbm","isViewableTriggered","visible","onViewableCallback","hidden","IntersectionObserver","destroy","handleIntersection","8qUiGhI","intersectionRatio","visibilityState","forEach","observe","4016277iIRHfw","8154825HlvQEy","IntersectionObserver not supported, viewability tracking disabled","28UEkOJF","7787700osmqLt","1187346pTFYbg","30RWHnyC","observer","0px","406556KAsEqg","isDocumentVisible"];return(B=function(){return t})()}function N(t,e){var n=B();return(N=function(t,e){return n[t-=293]})(t,e)}!function(t){for(var e=N,n=t();;)try{if(716643===-parseInt(e(308))/1*(parseInt(e(320))/2)+parseInt(e(310))/3+-parseInt(e(314))/4*(-parseInt(e(311))/5)+parseInt(e(321))/6+parseInt(e(306))/7+-parseInt(e(300))/8*(-parseInt(e(305))/9)+-parseInt(e(309))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);class M{constructor(t,e){var n=N;this[n(312)]=null,this[n(293)]=!1,this.element=t,this[n(295)]=e,this.initIntersectionObserver()}[z(317)](){var t=z;t(297)in window?(this[t(312)]=new IntersectionObserver(e=>this[t(299)](e),{threshold:.5,rootMargin:t(313)}),this[t(312)][t(304)](this[t(316)])):console[t(319)](t(307))}[z(299)](t){var e=z;t[e(303)](t=>{var n=e;t[n(301)]>=.5&&this[n(315)]()&&!this[n(293)]&&(this[n(293)]=!0,this.onViewableCallback&&this[n(295)]())})}[z(315)](){var t=z;return!document[t(296)]&&document[t(302)]===t(294)}[z(298)](){var t=z;this.observer&&(this[t(312)][t(318)](),this.observer=null)}}const V=F;function F(t,e){const n=K();return(F=function(t,e){return n[t-=452]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(244829===parseInt(e(460))/1+parseInt(e(466))/2+parseInt(e(461))/3*(parseInt(e(455))/4)+-parseInt(e(458))/5*(-parseInt(e(472))/6)+-parseInt(e(473))/7+-parseInt(e(465))/8+-parseInt(e(454))/9*(-parseInt(e(463))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const H={production:V(459),beta:V(470)},j={advertisements:{list:"/advertisements/list",detail:V(464),events:"/advertisements/events"},events:{track:V(471)}};class W{constructor(t){const e=V;this.advertisements={list:()=>""+this[e(452)]+j.advertisements[e(469)],detail:t=>""+this[e(452)]+j[e(456)].detail+"/"+t,events:(t,n)=>""+this[e(452)]+j[e(456)][e(468)]+"/"+t+"/"+n},this[e(468)]={track:()=>""+this[e(452)]+j[e(468)][e(462)]},this.baseUrl=t||H.production}[V(453)](t){this[V(452)]=t}getBaseUrl(){return this[V(452)]}[V(467)](t){const e=V;return""+this[e(452)]+(t[e(457)]("/")?t:"/"+t)}}function K(){const t=["advertisements","startsWith","65fNtFIX","https://api.adstage.app","182491DtDepx","849048KDTUpw","track","108060lSeUCT","/advertisements","2964552ArlSfb","566754tcXVhN","custom","events","list","https://beta-api.adstage.app","/events/track","143718ijVELL","3341051QBWnEz","baseUrl","setBaseUrl","27TlGWKZ","4jLaRId"];return(K=function(){return t})()}const X=new W;function Z(t,e){var n=Y();return(Z=function(t,e){return n[t-=424]})(t,e)}var J=Z;!function(t){for(var e=Z,n=t();;)try{if(431261===-parseInt(e(432))/1+parseInt(e(440))/2*(parseInt(e(427))/3)+-parseInt(e(429))/4+parseInt(e(430))/5+parseInt(e(441))/6*(-parseInt(e(424))/7)+-parseInt(e(435))/8+-parseInt(e(433))/9*(-parseInt(e(438))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class Q{static[J(428)](t,e,n,r,s=!1){var o=J;s&&console.log(o(437)+t[o(426)]+o(439)+n+o(425)+e.id),r(t[o(426)],e.id,c[o(434)])}static[J(431)](t,e,n,r=!1){var s=J;r&&console.log("🎯 Triggering initial VIEWABLE event: ad "+t[s(426)]+s(436)+e.id),n(t._id,e.id,c.VIEWABLE)}}function Y(){var t=["2rzLJwH","24nvZMMz","203238ytHYVS",") in slot: ","_id","542139HeXOTJ","trackSlideViewable","1089428QDJDAm","1365485ZEMNxO","trackInitialSlideViewable","356721gDJEzy","9NOEeDW","VIEWABLE","716784aQQlxN"," (index: 0) in slot: ","🎯 Triggering VIEWABLE event for slide change: ad ","8122630QPZGVe"," (index: "];return(Y=function(){return t})()}function q(t,e){const n=G();return(q=function(t,e){return n[t-=312]})(t,e)}function G(){const t=["9OhZgOr","_id","4QXIAId","pointer","log","6822783KZzNIA","linkUrl","toLowerCase","889024HNiJDB","style","forEach","open","stopPropagation","addClickEventForSlider","_blank","217418sulgbc"," -> ","addClickEvent","CLICK","adType","9dqneZm","33544116ORtjKf"," ad clicked: ","cursor","addEventListener","🔗 ","1012424UqPObA","89290fNvfxl","7xZzWtV","5729250XGJFCM","42OaMGyi","addClickEventForRenderer","click","preventDefault","isClickable"];return(G=function(){return t})()}const $=q;!function(t){const e=q,n=t();for(;;)try{if(394133===-parseInt(e(322))/1*(parseInt(e(344))/2)+parseInt(e(327))/3*(-parseInt(e(333))/4)+-parseInt(e(334))/5*(parseInt(e(337))/6)+-parseInt(e(335))/7*(-parseInt(e(315))/8)+parseInt(e(342))/9*(-parseInt(e(336))/10)+-parseInt(e(312))/11+parseInt(e(328))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class tt{static[$(324)](t,e,n,r,s=!1,o){const i=$;e[i(313)]&&(t[i(316)][i(330)]=i(345),t[i(331)]("click",t=>{const a=i;if(t.preventDefault(),t[a(319)](),r&&r(e[a(343)],n.id,c[a(325)]),window[a(318)](e.linkUrl,a(321)),s){const t=o||String(n[a(326)])[a(314)]();console[a(346)](a(332)+t+a(329)+e[a(343)]+a(323)+e[a(313)])}}))}static[$(338)](t,e,n,r,s=!1,o){const i=$;e[i(313)]&&(t[i(316)][i(330)]="pointer",t[i(331)](i(339),t=>{const a=i;t[a(340)](),t[a(319)]();if(r()(e[a(343)],n.id,c.CLICK),window[a(318)](e[a(313)],"_blank"),s){const t=o||String(n[a(326)])[a(314)]();console[a(346)]("🔗 "+t+a(329)+e._id+a(323)+e.linkUrl)}}))}static[$(320)](t,e,n,r,s=!1,o){this.addClickEvent(t,e,n,r,s,o)}static[$(341)](t){return Boolean(t[$(313)])}static addClickEventsBatch(t,e,n,r,s=!1,o){const i=$;t[i(317)]((t,a)=>{const c=i,d=e[a];d&&this[c(324)](t,d,n,r,s,o)})}}const et=nt;function nt(t,e){const n=st();return(nt=function(t,e){return n[t-=211]})(t,e)}!function(t){const e=nt,n=t();for(;;)try{if(868808===-parseInt(e(236))/1*(parseInt(e(304))/2)+parseInt(e(318))/3+-parseInt(e(272))/4+parseInt(e(275))/5*(parseInt(e(251))/6)+-parseInt(e(298))/7*(parseInt(e(314))/8)+-parseInt(e(223))/9*(-parseInt(e(286))/10)+-parseInt(e(264))/11*(parseInt(e(311))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class rt{static createSimpleAdElement(t,e){const r=nt,s=document[r(221)](r(215));switch(s[r(256)]=r(277)+String(t[r(230)])[r(253)](),s.setAttribute(r(271),e[r(283)]),s.setAttribute(r(276),t.id),s[r(217)].display=r(292),s[r(217)][r(249)]=r(313),s[r(217)][r(254)]=r(302),t[r(230)]){case n[r(300)]:if(e[r(267)]){const t=document.createElement(r(270));t[r(303)]=e[r(267)],t[r(217)].width=r(313),t[r(217)].height=r(302),t[r(217)].objectFit="cover",s.appendChild(t)}else s[r(217)][r(254)]="100px",s[r(217)][r(239)]="#f0f0f0",s.style[r(310)]=r(218),s[r(248)]=r(309);break;case n[r(232)]:if(e[r(258)]){const t=document.createElement(r(211));t[r(303)]=e.videoUrl,t[r(217)][r(249)]=r(313),t[r(217)].height=r(302),s[r(289)](t)}else s[r(217)][r(254)]="200px",s[r(217)][r(239)]=r(284),s.style[r(310)]=r(316),s[r(248)]=r(260),s[r(217)][r(229)]=r(255);break;case n[r(266)]:if(e[r(248)]){const t=document[r(221)](r(215));t[r(248)]=e[r(248)]||"",t[r(217)].padding=r(317),t[r(217)][r(269)]="14px",s.appendChild(t)}else s[r(217)][r(254)]="50px",s[r(217)][r(285)]="8px",s[r(248)]=r(225);break;default:s[r(217)][r(254)]=r(308),s[r(217)][r(310)]=r(218),s[r(217)][r(239)]=r(238),s[r(248)]=t[r(230)]+r(224)}return s}static createSliderContainer(t,e,r,s,o=!1){const i=nt,a=document[i(221)](i(215));a[i(256)]=i(288);const c={position:i(212),overflow:"hidden"};if(t[i(249)]&&0!==t[i(249)]){let e;e=typeof t[i(249)]===i(235)&&(t.width.includes("px")||t[i(249)].includes("%"))?t[i(249)]:t[i(249)]+"px",c.width=e,c[i(280)]="inline-block"}else c[i(280)]=i(240);if(t[i(254)]&&0!==t.height){const e="string"==typeof t[i(254)]?t[i(254)]:t[i(254)]+"px";c.height=e}Object[i(301)](c)[i(216)](([t,e])=>{a[i(217)].setProperty(t,e)});const d=!t[i(249)]||0===t[i(249)],l=!t[i(254)]||0===t[i(254)];if(d||l){const n=document[i(221)](i(215));if(n[i(217)].cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&t.width){let e;e=typeof t[i(249)]===i(235)?t[i(249)][i(291)]("px")||t.width[i(291)]("%")?t[i(249)]:t.width+"px":t[i(249)]+"px",n[i(217)][i(249)]=e,n[i(217)][i(259)]=i(320)}document.body[i(289)](n);let r=0,s=0;e[i(216)](e=>{const o=i,a=this[o(220)](t,e);n.appendChild(a);const c=a[o(213)]();c[o(249)]>r&&(r=c[o(249)]),c[o(254)]>s&&(s=c[o(254)]),n[o(219)](a)}),d&&r>0&&(a[i(217)][i(249)]=r+"px",c[i(249)]=r+"px"),l&&s>0&&(a.style[i(254)]=s+"px",c.height=s+"px"),document.body.removeChild(n)}const u=[...e,e[0]],p=document.createElement("div");p[i(256)]=i(290);const h={display:i(231),transition:i(250),width:100*u.length+"%"};t[i(254)]&&0!==t[i(254)]&&(h[i(254)]=i(313)),Object.entries(h)[i(216)](([t,e])=>{const n=i;p[n(217)][n(233)](t,e)}),u.forEach((e,n)=>{const r=i,a=document.createElement(r(215));a.className=r(281);const c={width:100/u[r(242)]+"%","flex-shrink":"0",display:r(231),"align-items":r(306),"justify-content":r(306)};t[r(254)]&&0!==t[r(254)]&&(c.height=r(313)),Object[r(301)](c)[r(216)](([t,e])=>{const n=r;a[n(217)][n(233)](t,e)});const d=this[r(220)](t,e);tt[r(278)](d,e,t,s,o,String(t.adType)[r(253)]()),a[r(289)](d),p[r(289)](a)});const f=e[i(257)](t=>t[i(230)]===n[i(266)])?null:this[i(296)](e.length);let g=0;const m=e[i(242)],y=1e3*(r?.[i(307)]||3),I=(n,r=!1)=>{const a=i;g=n,r?p.style[a(237)]=a(305):p[a(217)].transition=a(250),p[a(217)].transform="translateX(-"+100/u.length*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(227))[a(216)]((t,e)=>{const n=a,r=t;e===c?(r[n(312)][n(299)](n(268)),r[n(217)][n(262)]=n(297),r.style[n(293)]=n(297),r[n(217)][n(228)]="1"):(r[n(312)].remove(n(268)),r.style.background=n(226),r[n(217)][n(293)]="#cccccc",r[n(217)].opacity=n(274))})}Q[a(214)](e[c],t,c,s,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(287)](i(227))[i(216)]((t,e)=>{const n=i;t[n(246)](n(282),()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a[i(246)](i(244),()=>{clearInterval(b)}),a[i(246)]("mouseleave",()=>{b=setInterval(()=>{I(g+1),v()},y)}),this.addTouchSupport(p,I,()=>g,m,v),a[i(289)](p),f&&a[i(289)](f),I(0),(!t[i(249)]||0===t.width)&&setTimeout(()=>{const e=i,n=p[e(247)][0];if(n){const r=n.children[0];if(r){const n=r[e(213)]();a[e(217)].width=n[e(249)]+"px",(!t[e(254)]||0===t[e(254)])&&(a[e(217)].height=n[e(254)]+"px"),a[e(217)][e(243)]=e(261)}}},10),a}static[et(296)](t){const e=et,n=document[e(221)](e(215));n.className="adstage-dots",n[e(217)][e(273)]=e(315);for(let r=0;r<t;r++){const t=document[e(221)](e(252));t[e(256)]=e(263),t[e(217)][e(273)]="\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.addEventListener(e(244),()=>{const n=e;!t[n(312)][n(245)](n(268))&&(t[n(217)].borderColor="#999999",t[n(217)].opacity=n(279))}),t[e(246)](e(234),()=>{const n=e;!t[n(312)].contains(n(268))&&(t[n(217)][n(293)]="#cccccc",t[n(217)][n(228)]=n(274))}),n.appendChild(t)}return n}static addTouchSupport(t,e,n,r,s){const o=et;let i=0,a=!1;t.addEventListener(o(241),t=>{const e=o;i=t[e(222)][0][e(295)],a=!0}),t.addEventListener(o(265),t=>{a&&t.preventDefault()}),t[o(246)]("touchend",t=>{const c=o;if(!a)return;a=!1;const d=t[c(319)][0][c(295)],l=i-d;if(Math[c(294)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function st(){const t=["Text Ad","transparent",".adstage-dot","opacity","color","adType","flex","VIDEO","setProperty","mouseleave","string","2333bOeXSW","transition","#f9f9f9","backgroundColor","inline-block","touchstart","length","overflow","mouseenter","contains","addEventListener","children","textContent","width","transform 0.4s ease-out","6517806gpdXDS","button","toLowerCase","height","white","className","every","videoUrl","whiteSpace","Video Ad","hidden","background","adstage-dot","11kePJpF","touchmove","TEXT","imageUrl","active","fontSize","img","data-adstage-ad-id","465572srlUzZ","cssText","0.7","5RCMlvu","data-adstage-slot-id","adstage-ad adstage-","addClickEventForSlider","0.9","display","adstage-slide","click","_id","#000","padding","11170ocDBQi","querySelectorAll","adstage-slider-wrapper","appendChild","adstage-slide-container","includes","block","borderColor","abs","clientX","createMinimalDotIndicator","#666666","4003440WWXkmE","add","BANNER","entries","auto","src","68EYcWtm","none","center","autoSlideInterval","100px","Banner Ad","border","25057596bBdtYD","classList","100%","8rWZvhI","\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 ","1px solid #666","8px","5193813hblqWF","changedTouches","normal","video","relative","getBoundingClientRect","trackSlideViewable","div","forEach","style","1px dashed #ccc","removeChild","createSimpleAdElement","createElement","touches","7308uQbxgL"," Ad"];return(st=function(){return t})()}const ot=it;function it(t,e){const n=ct();return(it=function(t,e){return n[t-=206]})(t,e)}!function(t){const e=it,n=t();for(;;)try{if(333265===parseInt(e(216))/1*(-parseInt(e(217))/2)+parseInt(e(212))/3+parseInt(e(223))/4*(-parseInt(e(208))/5)+parseInt(e(211))/6+parseInt(e(221))/7*(-parseInt(e(210))/8)+-parseInt(e(218))/9+parseInt(e(219))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);class at{static[ot(220)](t,e,n=!1){const r=ot,s=t+"_"+e;return at[r(206)][r(213)](s)?(n&&console[r(225)](r(215)+t+r(222)+e),!0):(at.viewableTracker.add(s),n&&console[r(225)](r(207)+t+r(222)+e),!1)}static clear(){const t=ot;at[t(206)][t(209)]()}static[ot(224)](t,e){const n=ot,r=t+"_"+e;at[n(206)][n(214)](r)}}function ct(){const t=["viewableTracker","✅ New viewable recorded for ad ","657805KlBVUr","clear","799440mfdTEX","701028AzrxqT","483270dzStIl","has","delete","Duplicate viewable blocked for ad ","3QJsIGX","82138aJswMU","3938157NuebIj","8476080RkCTbX","isDuplicateViewable","7ntedWc"," in slot ","4vniYhC","clearAdViewable","log"];return(ct=function(){return t})()}at[ot(206)]=new Set;const dt=lt;function lt(t,e){const n=pt();return(lt=function(t,e){return n[t-=184]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(283956===parseInt(e(269))/1*(parseInt(e(238))/2)+-parseInt(e(251))/3+parseInt(e(226))/4*(parseInt(e(258))/5)+parseInt(e(189))/6*(-parseInt(e(221))/7)+parseInt(e(207))/8*(-parseInt(e(231))/9)+-parseInt(e(259))/10+parseInt(e(225))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class ut{constructor(t,e=!1,n){this[lt(215)]=t,this.debug=e,this.advertisementEventTracker=n||null}[dt(245)](t,e,n,r){const s=dt,o=document[s(195)](s(290));o.id=e,o[s(288)]=s(261)+String(this.adType)[s(270)](),o.setAttribute(s(257),s(263)),o[s(191)](s(212),String(this[s(215)])),o.setAttribute(s(274),e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:s(209),height:this[s(224)]()};o.style[s(213)]=i,o[s(243)][s(218)]=a;const c=r?.[s(210)]||n[s(210)]||s(250);this[s(291)](o,c),t[s(275)](o),this[s(193)]&&console[s(219)]("📦 Placeholder created for "+this[s(215)]+s(228)+e+" ("+i+" x "+a+s(281)+c)}applyPlaceholderStyle(t,e){const n=dt;switch(e){case"invisible":t[n(243)][n(296)]=n(287),t[n(243)][n(187)]=n(205),t[n(243)].opacity="0",t[n(292)]="";break;case n(287):t[n(243)][n(296)]="transparent",t[n(243)][n(187)]=n(205),t[n(243)][n(277)]=n(285),t.innerHTML="";break;case n(186):t[n(243)][n(296)]=n(244),t.style[n(187)]=n(205),t[n(243)][n(247)]="4px",t.style[n(277)]=n(197),t[n(243)].alignItems="center",t[n(243)][n(255)]=n(282),t[n(292)]=n(264);break;case n(272):t[n(243)].backgroundColor=n(236),t[n(243)][n(187)]=n(265),t[n(243)][n(247)]=n(202),t[n(243)][n(277)]="flex",t[n(243)][n(194)]="center",t[n(243)].justifyContent="center",t[n(292)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(193):t[n(243)].border=n(232),t[n(243)].display=n(197),t.style[n(194)]=n(282),t.style[n(255)]=n(282),t[n(243)][n(296)]=n(237),t.style.color=n(201),t[n(243)][n(295)]=n(242),t.style[n(190)]=n(200),t[n(292)]="<span>Loading "+this[n(215)]+" ad...</span>";break;default:t[n(243)][n(187)]="1px dashed #ccc",t[n(243)][n(277)]=n(197),t[n(243)][n(194)]=n(282),t[n(243)][n(255)]=n(282),t[n(243)].backgroundColor="#f9f9f9",t[n(243)][n(267)]="#666",t.innerHTML="<span>Loading "+this.adType+n(289)}}[dt(280)](t,e,n){const r=dt,s=e[r(213)],o=e[r(218)];let i,a;if(i=typeof s===r(266)?s+"px":"string"==typeof s?s:r(209),typeof o===r(266))a=o+"px";else if("string"==typeof o&&"100%"!==o&&o!==r(271))a=o;else{const e=this.getContainerHeight(t);e>0?(a=r(209),(n?.[r(193)]||this[r(193)])&&console[r(219)]("📏 Using 100% height (container: "+e+r(222))):(a=this[r(224)](),(n?.[r(193)]||this[r(193)])&&console[r(219)](r(203)+a+r(262)+this.adType))}return{width:i,height:a}}[dt(241)](t){const e=dt,n=window[e(188)](t),r=parseFloat(n.height);if(!r||0===r){const r=parseFloat(n[e(234)]);if(r>0)return r;if(t[e(243)][e(218)]&&t.style[e(218)]!==e(271)){const n=parseFloat(t[e(243)][e(218)]);if(n>0)return n}const s=t[e(196)]("height");if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=lt;if(n===c[r(286)]){if(at[r(252)](t,e,this[r(193)]))return void(this[r(193)]&&console[r(219)](r(249)+t+r(206)+e));this[r(193)]&&console[r(219)]("✅ New viewable recorded for ad "+t+" in slot "+e)}if(this[r(239)])try{this[r(193)]&&console[r(219)]("🔄 Starting advertisement event tracking: "+n+r(253)+t+r(206)+e),await this.advertisementEventTracker[r(211)](t,e,n),this[r(193)]&&console[r(219)]("📊 Advertisement event tracked: "+n+" for ad "+t+r(206)+e)}catch(e){this[r(193)]&&console[r(268)](r(273)+n+r(276)+t+":",e)}else this.debug&&console[r(223)]("⚠️ AdvertisementEventTracker not available for "+n+r(230))}}renderFallback(t){const e=dt,n=document[e(278)](t.id);if(n){const r=[...[n[e(204)]('[data-adstage-container="true"]'),n[e(198)](e(220)),n][e(294)](t=>t&&t[e(260)](e(257))),...[n[e(198)](e(184)),n.closest(e(216)+String(this[e(215)])[e(270)]()),n[e(198)]('[class*="ad"]'),n[e(198)]('[class*="banner"]'),n.closest('[class*="container"]'),n[e(198)](e(293)),n[e(198)](e(235)),n[e(185)]][e(294)](Boolean)][0];if(r){let n=e(233);n=r.hasAttribute(e(257))?e(284):r.classList[e(283)](e(279))?e(192):e(240),r[e(243)][e(217)]+=e(208),r.innerHTML="",r[e(191)]("data-adstage-empty",e(263)),this[e(193)]&&console[e(223)]("⚠️ "+this[e(215)]+e(254)+n+e(248)+t.id,r)}else this.createEmptyContainer(t)}t.advertisement=void 0,t[e(256)]=!0}createEmptyContainer(t){const e=dt,n=document.getElementById(t.containerId);if(n){n[e(292)]="";const r=document[e(195)]("div");r.id=t.id,r[e(288)]=e(246)+String(this[e(215)])[e(270)](),r[e(191)]("data-adstage-container",e(263)),r[e(191)](e(214),"true"),r[e(191)](e(274),t.id),r[e(243)].cssText=e(227),n.appendChild(r),this[e(193)]&&console[e(223)](e(199)+this[e(215)]+e(229)+t.id)}}[dt(219)](t,...e){const n=dt;this[n(193)]&&console.log("["+this[n(215)]+"] "+t,...e)}}function pt(){const t=["borderRadius","): ","🚫 Duplicate viewable blocked for ad ","invisible","739692jLwjzG","isDuplicateViewable"," for ad "," container collapsed (","justifyContent","isEmpty","data-adstage-container","5zQpxqS","4178330RZEulg","hasAttribute","adstage-slot adstage-"," for ","true",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"1px solid rgba(0, 0, 0, 0.08)","number","color","error","439130YTvIlN","toLowerCase","auto","minimal","❌ Failed to track ","data-adstage-slot","appendChild"," event for ad ","display","getElementById","adstage-slot","calculateAdSize",") - Mode: ","center","contains","adstage-official","block","VIEWABLE","transparent","className"," ad...</span>","div","applyPlaceholderStyle","innerHTML",'div[style*="height"]',"filter","fontFamily","backgroundColor",".adstage-slot","parentElement","subtle","border","getComputedStyle","186myUxeY","fontSize","setAttribute","adstage-class","debug","alignItems","createElement","getAttribute","flex","closest","⚠️ Created empty ","11px","#e74c3c","6px","📏 Using default height ","querySelector","none"," in slot ","8lRcBAM","\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 ","100%","placeholderMode","trackAdvertisementEvent","data-adstage-type","width","data-adstage-empty","adType",".adstage-","cssText","height","log",'[data-adstage-container="true"]',"84707kruaZZ","px)","warn","getDefaultHeight","11094072udUumO","20612JyhpGP","\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 "," slot: "," container: "," event","1164159dNnTzU","2px dashed #e74c3c","unknown","minHeight",'div[style*="min-height"]',"rgba(248, 249, 250, 0.5)","rgba(231, 76, 60, 0.1)","2qZfJuZ","advertisementEventTracker","generic","getContainerHeight","monospace","style","rgba(0, 0, 0, 0.02)","createPlaceholder","adstage-slot adstage-empty adstage-"];return(pt=function(){return t})()}const ht=gt;function ft(){const t=["contain","aspectRatio","status","value","length","allSettled","8px","imageUrl","getBoundingClientRect","innerHTML","round","backgroundColor","log","abs","Image URL is not provided","adstage-ad adstage-banner-ad","config","borderRadius","ratio","481345jHjSeV","24330185zoLYqm","toString","center","default","map","width","loadImageDimensions","count","24471JTPCjo","250px","createEventTrackingCallback","set","Container not found: ","calculateOptimalHeight"," with ","debug","3151216YvwUjq","#f0f0f0","2fkwTBE","max","get","getElementById","applyOptimizedImageStyle","naturalWidth","BANNER","📐 Optimal banner container calculated: ","100%","style","className","objectFit","title","2140NdVXJL","optimizeContainerForBannerAds","5369kvErxn","optimizedHeight","fulfilled"," (avg: ","78284mIMfRG","height","renderAdElement","toFixed","Banner Advertisement","🎠 Banner carousel created for slot: ","5034koXgyb","common","renderOptimizedBannerImage","16:9","<div>","📦 Banner container dimensions: ","selectOptimalSizeStrategy","getDefaultHeight","some","renderMultipleAds","Banner","Banner Ad",", ratio=","values","createSliderContainer","containerId","name","addClickEventForRenderer","src","slideInterval","parentElement","appendChild","3:2","forEach"," ads: ","onerror","dominant","105hWoOJA","📸 Banner image dimensions: ","from","🎨 Banner image style applied: objectFit=","reduce","📊 Using standard ratio: ","average","Failed to load image: ","filter","block","display","cover","4015010poEQAQ","img",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"</div>","objectPosition","createElement","_id"];return(ft=function(){return t})()}function gt(t,e){const n=ft();return(gt=function(t,e){return n[t-=161]})(t,e)}!function(t){const e=gt,n=t();for(;;)try{if(414088===parseInt(e(179))/1*(-parseInt(e(198))/2)+-parseInt(e(250))/3*(-parseInt(e(217))/4)+parseInt(e(262))/5+parseInt(e(223))/6*(parseInt(e(213))/7)+parseInt(e(196))/8+parseInt(e(188))/9*(parseInt(e(211))/10)+-parseInt(e(180))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class mt extends ut{constructor(t=!1,e){super(n[gt(204)],t,e)}getDefaultHeight(){return gt(189)}async[ht(219)](t,e){const n=ht,r=document[n(201)](t[n(238)]);if(!r)return;const s=document[n(267)]("div");s[n(208)]=n(175);const o=t[n(214)],i=r[n(243)]||r;if(o)s[n(207)][n(185)]="100%",s[n(207)][n(218)]=String(o);else{const e=t[n(176)],r={width:e?.[n(185)],height:e?.[n(218)]},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this.debug});s.style[n(185)]=o,s[n(207)][n(218)]=a}e[n(167)]?await this[n(225)](s,e,t):s[n(169)]=n(227)+(e[n(210)]||n(234))+n(265),tt[n(240)](s,e,t,()=>this[n(190)](),this[n(195)],"Banner"),r[n(169)]="",r.appendChild(s)}async[ht(232)](t,e){const n=ht,r=document[n(201)](t[n(238)]);if(!r)throw new Error(n(192)+t[n(238)]);await this[n(212)](t,e);const s=this[n(190)](),o={autoSlideInterval:(t.config?.[n(242)]||5e3)/1e3,...t[n(176)],optimizedHeight:t[n(214)],aspectRatio:t[n(161)]},i=rt[n(237)](t,e,o,s,this.debug);i&&(r.innerHTML="",r[n(244)](i),this[n(195)]&&console.log(n(222)+t.id+n(194)+e.length+" ads (optimized: "+(t[n(214)]||n(183))+")"))}async calculateOptimalContainerSize(t,e){const n=ht;if(!t[n(164)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise[n(165)](t[n(258)](t=>t[n(167)])[n(184)](t=>this[n(186)](t[n(167)])))).filter(t=>t[n(162)]===n(215)).map(t=>t[n(163)]);if(0===r.length)return{width:"100%",height:this[n(230)](),aspectRatio:16/9};const s=this[n(229)](r),o=this.calculateOptimalHeight(r,e,s);return this.debug&&console[n(172)](n(205)+e+"x"+o+" (strategy: "+s+")"),{width:n(206),height:o+"px",aspectRatio:e/o}}catch(t){return console.warn("Failed to calculate optimal banner size, using defaults:",t),{width:n(206),height:this[n(230)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=ht;try{const r=document.getElementById(t[n(238)]),s=document[n(201)](t.id);if(!r||!s)return;const o=r[n(168)]()[n(185)]||300,i=await this.calculateOptimalContainerSize(e,o);s.style[n(218)]=i[n(218)],t[n(214)]=i[n(218)],t[n(161)]=i[n(161)],this[n(195)]&&console.log("🔧 Banner container optimized for "+e[n(164)]+n(247)+i[n(218)])}catch(t){console.warn("Banner container optimization failed, using default size:",t)}}[ht(229)](t){const e=ht,n=t[e(184)](t=>t[e(185)]/t.height),r=new Map;n[e(246)](t=>{const n=e,s=(Math[n(170)](10*t)/10)[n(181)]();r[n(191)](s,(r[n(200)](s)||0)+1)});const s=Math[e(199)](...r[e(236)]()),o=t.length;if(s/o>=.7)return"dominant";const i=[16/9,4/3,1,1.5],a=n[e(258)](t=>i[e(231)](n=>Math[e(173)](t-n)<.1)).length;return e(a/o>=.5?224:256)}[ht(193)](t,e,n){const r=ht,s=t[r(184)](t=>t.width/t[r(218)]);switch(n){case r(249):{const t=new Map;s.forEach(e=>{const n=r,s=Math.round(10*e)/10,o=s.toString(),i=t[n(200)](o);i?i[n(187)]++:t.set(o,{ratio:s,count:1})});const n=Array[r(252)](t[r(236)]())[r(254)]((t,e)=>e[r(187)]>t[r(187)]?e:t);return Math[r(170)](e/n[r(178)])}case r(224):{const t=[{ratio:16/9,name:r(226)},{ratio:4/3,name:"4:3"},{ratio:1,name:"1:1"},{ratio:1.5,name:r(245)}],n=s.reduce((t,e)=>t+e,0)/s[r(164)],o=t[r(254)]((t,e)=>Math.abs(e[r(178)]-n)<Math.abs(t.ratio-n)?e:t);return this.debug&&console[r(172)](r(255)+o[r(239)]+r(216)+n[r(220)](2)+")"),Math[r(170)](e/o.ratio)}case r(256):default:{const t=s[r(254)]((t,e)=>t+e,0)/s.length;return Math[r(170)](e/t)}}}[ht(186)](t){return new Promise((e,n)=>{const r=gt,s=new Image;s.onload=()=>{e({width:s[gt(203)],height:s.naturalHeight})},s[r(248)]=()=>{n(new Error(r(257)+t))},s[r(241)]=t})}[ht(202)](t,e,n){const r=ht,s=e/n;Math[r(173)](s-1)<.1?(t[r(207)][r(209)]=r(261),t[r(207)].objectPosition=r(182)):s>1.3?(t[r(207)].objectFit=r(269),t[r(207)][r(266)]=r(182),t.style[r(171)]=r(197)):s<.7?(t[r(207)].objectFit=r(261),t[r(207)][r(266)]=r(182)):(t[r(207)][r(209)]=r(261),t[r(207)][r(266)]=r(182)),this.debug&&console[r(172)](r(253)+t[r(207)][r(209)]+r(235)+s[r(220)](2))}async[ht(225)](t,e,n){const r=ht,s=document.createElement(r(263));s[r(207)][r(185)]="100%",s[r(207)][r(218)]=r(206),s[r(207)][r(260)]=r(259),s[r(207)][r(177)]=r(166),s.alt=e[r(210)]||r(221),t[r(169)]=r(264);try{if(!e.imageUrl)throw new Error(r(174));const o=await this.loadImageDimensions(e[r(167)]),i=t[r(168)](),a=i[r(185)],c=i.height;this[r(195)]&&(console.log(r(251)+o[r(185)]+"x"+o.height),console[r(172)](r(228)+a+"x"+c));const d=o.width/o[r(218)],l=a/c;return this[r(202)](s,d,l),s[r(241)]=e[r(167)],t.innerHTML="",t[r(244)](s),tt[r(240)](s,e,n,()=>this[r(190)](),this[r(195)],"Banner"),this[r(195)]&&console[r(172)]("✅ Optimized banner image rendered for ad: "+e[r(268)]),s}catch(o){return console.error("❌ Failed to load optimized banner image:",o),e.imageUrl&&(s[r(241)]=e[r(167)],s.style[r(209)]=r(261),s[r(207)][r(266)]=r(182),t[r(169)]="",t[r(244)](s),tt[r(240)](s,e,n,()=>this[r(190)](),this[r(195)],r(233))),s}}}function yt(){const t=["762160aXhyHd","textContent","\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 ","5PcmQpH","1376901ihVbiU","975512pKEfyJ","204500VcBnZZ","setTextAdContent","379292UQSKbs","title","2968662eGFJzs","7897248yhvLcX"];return(yt=function(){return t})()}const It=vt;function vt(t,e){const n=yt();return(vt=function(t,e){return n[t-=303]})(t,e)}!function(t){const e=vt,n=t();for(;;)try{if(344767===-parseInt(e(313))/1+-parseInt(e(312))/2+-parseInt(e(311))/3+-parseInt(e(303))/4+parseInt(e(310))/5*(parseInt(e(305))/6)+parseInt(e(307))/7+parseInt(e(306))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);class bt{static createTextAdStyles(t=!1){return vt(309)}static[It(314)](t,e){const n=It,r=e[n(308)]||e[n(304)]||"";t[n(308)]=r}}const wt=kt;function kt(t,e){const n=Et();return(kt=function(t,e){return n[t-=260]})(t,e)}function Et(){const t=["42azyatB","getBoundingClientRect","44tvyxtG","setProperty","absolute","top",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","56tAUfxX",";\n width: 100%;\n ","forEach","touchmove","relative","adstage-ad adstage-","entries","adstage-fade-slider-wrapper","style","7LOiSQY","\n ","data-adstage-slot-id","normal","clientX","setAttribute","opacity","transform","adstage-fade-slide","createElement","clientY","autoSlideInterval","6929838McSOHY","abs","block","touches","createSimpleAdElement","removeChild","height: 100%;","preventDefault",";\n top: ","8521335FmZBkl","cssText","fit-content","zIndex","translateY(-20px)","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","_id","length","changedTouches","left","trackSlideViewable","398325hFsauN","position","hidden","addEventListener","div","setTextAdContent","touchend","adType","height","appendChild","string","addTouchSupport","className","20px","minHeight","10hgPjcB","8732832JwnPih","8458896ifUdKy","translateY(20px)","whiteSpace","Text","height: auto; min-height: fit-content;","height: auto;","mouseleave","width","toLowerCase","73947FAgtAL","628101YtrxZm","auto","push",";\n ","createTextTransitionContainer","includes",";\n left: ","addClickEventForSlider"];return(Et=function(){return t})()}!function(t){const e=kt,n=t();for(;;)try{if(583666===-parseInt(e(299))/1+parseInt(e(307))/2*(parseInt(e(298))/3)+-parseInt(e(314))/4*(parseInt(e(272))/5)+-parseInt(e(335))/6*(parseInt(e(323))/7)+parseInt(e(288))/8+parseInt(e(261))/9*(-parseInt(e(287))/10)+parseInt(e(309))/11*(parseInt(e(289))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Et);class xt{static createSimpleAdElement(t,e){const n=kt,r=document[n(332)](n(276));return r[n(284)]=n(319)+String(t[n(279)])[n(297)](),r[n(328)]("data-adstage-ad-id",e[n(267)]),r[n(328)](n(325),t.id),r[n(322)][n(262)]=bt.createTextAdStyles(!0),bt[n(277)](r,e),r}static[wt(303)](t,e,n,r,s=!1){const o=wt,i=t.height&&0!==t[o(280)]&&t[o(280)]!==o(300),a=document[o(332)](o(276));a[o(284)]=o(321);const c={position:o(318),overflow:o(274),display:o(337)};if(!i&&(c.height="auto",c[o(286)]=o(263)),t[o(296)]&&0!==t[o(296)]){let e;e=typeof t.width===o(282)&&(t[o(296)].includes("px")||t[o(296)].includes("%"))?t[o(296)]:t.width+"px",c[o(296)]=e}if(t[o(280)]&&0!==t.height&&t.height!==o(300)&&i){let e;e=typeof t[o(280)]===o(282)?t.height[o(304)]("px")||t[o(280)][o(304)]("%")?t[o(280)]:t[o(280)]+"px":t.height+"px",c[o(280)]=e}Object[o(320)](c)[o(316)](([t,e])=>{const n=o;a.style[n(310)](t,e)});const d=document[o(332)]("div");d.className="adstage-fade-slide-container",d[o(322)].cssText="\n position: relative;\n width: 100%;\n "+o(i?341:293)+o(324);let l=null;const u=!t.width||0===t[o(296)],p=!t[o(280)]||0===t[o(280)]||void 0===t[o(280)]||t[o(280)]===o(300);if(u||p&&i){if(l=document.createElement("div"),l[o(322)].cssText=o(266),!u&&t[o(296)]){let e;e=typeof t.width===o(282)&&(t[o(296)][o(304)]("px")||t[o(296)][o(304)]("%"))?t[o(296)]:t.width+"px",l[o(322)][o(296)]=e,l[o(322)][o(291)]=o(326)}document.body[o(281)](l);let n=0,r=0;e[o(316)](e=>{const s=o,i=this[s(339)](t,e);l.appendChild(i);const a=i[s(308)]();a[s(296)]>n&&(n=a[s(296)]),a[s(280)]>r&&(r=a[s(280)]),l.removeChild(i)}),u&&n>0&&(a[o(322)].width=n+"px"),p&&r>0&&i&&(a[o(322)][o(280)]=r+"px"),document.body[o(340)](l)}const h=[];e[o(316)]((e,n)=>{const a=o,c=document[a(332)](a(276));c[a(284)]=a(331);const l=i?"absolute":a(0===n?318:311);c[a(322)][a(262)]="\n position: "+l+a(260)+(l===a(311)?"0":a(300))+a(305)+(l===a(311)?"0":a(300))+a(315)+a(i?341:294)+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(285))+a(313)+(0===n?"2":"1")+a(302);const u=this[a(339)](t,e);tt[a(306)](u,e,t,r,s,a(292)),c[a(281)](u),d.appendChild(c),h[a(301)](c)});let f=0;const g=e[o(268)],m=1e3*(n?.[o(334)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c.style.position===a(318)&&(c[a(322)].position=a(311),c[a(322)][a(312)]="0",c[a(322)].left="0"),d[a(322)][a(273)]=a(318),d[a(322)].top=a(300),d[a(322)][a(270)]=a(300)),c[a(322)].opacity="0",c.style[a(330)]=a(265),c[a(322)][a(264)]="1",d.style[a(329)]="1",d.style[a(330)]="translateY(0)",d[a(322)][a(264)]="2",h[a(316)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(322)][r(329)]="0",t[r(322)][r(330)]=r(290),t[r(322)][r(264)]="1",!i&&"relative"===t.style[r(273)]&&(t.style.position=r(311),t[r(322)][r(312)]="0",t[r(322)][r(270)]="0"))}),f=n,Q[a(271)](e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a[o(275)]("mouseenter",()=>{clearInterval(I)}),a[o(275)](o(295),()=>{I=setInterval(()=>{y(f+1)},m)}),xt[o(283)](a,y,()=>f,g),a.appendChild(d),a}static[wt(283)](t,e,n,r){const s=wt;let o=0,i=0,a=!1;t[s(275)]("touchstart",t=>{const e=s;o=t[e(338)][0][e(327)],i=t[e(338)][0].clientY,a=!0}),t.addEventListener(s(317),t=>{a&&t[s(342)]()}),t[s(275)](s(278),t=>{const r=s;if(!a)return;a=!1;const c=t[r(269)][0].clientX,d=t[r(269)][0][r(333)],l=o-c,u=i-d;if(Math[r(336)](l)>Math.abs(u)&&Math[r(336)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const St=At;function At(t,e){const n=Ct();return(At=function(t,e){return n[t-=326]})(t,e)}function Ct(){const t=["style","62010cKiQMd","adstage-ad adstage-text-ad","display","maxLines","59067ehZTKX","36ZLcDnN","createTextAdStyles","createTextTransitionContainer","number","div","28JAfCus","className","slideInterval","createElement","setTextAdContent","120EcVtoo","renderMultipleAds","hidden","debug","✨ Single text ad rendered: ","overflow","width","✨ Text transition created for slot: ","_id","innerHTML","452590duYZEl","getElementById","vertical","renderAdElement","config","calculateAdSize","60px"," ads","7070IiNhdQ","aspectRatio","Container not found: ","100%","109dGbRkW","1086728jkgxsX","-webkit-box","Text","optimizedHeight","643405WIgiia","height","addClickEventForRenderer","log","createEventTrackingCallback","webkitLineClamp","appendChild","containerId","cssText","2047573CaNWBE","length"];return(Ct=function(){return t})()}!function(t){const e=At,n=t();for(;;)try{if(223197===parseInt(e(377))/1*(-parseInt(e(373))/2)+-parseInt(e(344))/3*(-parseInt(e(350))/4)+-parseInt(e(340))/5*(-parseInt(e(355))/6)+parseInt(e(328))/7+parseInt(e(378))/8+-parseInt(e(345))/9*(-parseInt(e(365))/10)+-parseInt(e(337))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ct);class Tt extends ut{constructor(t=!1,e){super(n.TEXT,t,e)}getDefaultHeight(){return At(371)}async[St(368)](t,e){const n=St,r=document[n(366)](t[n(335)]);if(!r)return;const s=document[n(353)](n(349));s[n(351)]=n(341);const o=t[n(327)],i=r.parentElement||r;if(o)s[n(339)][n(361)]=n(376),s[n(339)][n(329)]=String(o);else{const e=t[n(369)],r={width:e?.[n(361)],height:e?.[n(329)]},{width:o,height:a}=this[n(370)](i,r,{debug:this[n(358)]});s[n(339)][n(361)]=o,s.style.height=a}const a=document.createElement("div");a.className="adstage-text-content",a[n(339)][n(336)]=bt[n(346)](!1),bt[n(354)](a,e);const c=t[n(369)]?.[n(343)];c&&typeof c===n(348)&&(a[n(339)][n(342)]=n(379),a[n(339)][n(333)]=String(c),a[n(339)].webkitBoxOrient=n(367),a[n(339)][n(360)]=n(357)),s[n(334)](a),tt[n(330)](s,e,t,()=>this.createEventTrackingCallback(),this[n(358)],n(326)),r.innerHTML="",r.appendChild(s),this.debug&&console[n(331)](n(359)+e[n(363)])}async[St(356)](t,e){const n=St,r=document[n(366)](t.containerId);if(!r)throw new Error(n(375)+t[n(335)]);const s=this[n(332)](),o={autoSlideInterval:(t[n(369)]?.[n(352)]||5e3)/1e3,...t[n(369)],optimizedHeight:t[n(327)],aspectRatio:t[n(374)]},i=xt[n(347)](t,e,o,s,this[n(358)]);i&&(r[n(364)]="",r[n(334)](i),this.debug&&console.log(n(362)+t.id+" with "+e[n(338)]+n(372)))}}function Rt(t,e){const n=_t();return(Rt=function(t,e){return n[t-=337]})(t,e)}const Pt=Rt;function _t(){const t=["🎬 Video config received:","⚠️ No video advertisements available for slot: ","VIDEO",", loop: ","rgba(0, 0, 0, 0.7)","imageUrl","loadeddata","relative","objectFit","mouseenter","display",'\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 ',"748vTyvHX","hideRemainingTime","addEventListener","🎬 Initial autoplay attempt after timeout...","adstage-video-default-controls","block","createElement","paused","100%","stopPropagation","button","unmuted","addClickEventForRenderer","disabled (default)","length","🎬 Single video rendered for VIDEO slot: ","\n video::-webkit-media-controls-play-button {\n display: ","metadata","muted","playsinline","loadedmetadata","style","Click to unmute","debug","loop","adstage-video-mute-button","renderMultipleAds","360px","controls","getElementById","\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 ","getDefaultHeight","height","🎬 Final video settings:","hideMuteButton","contain","Video thumbnail","🔊 Video mute toggled: ","img","containerId","6042980xcpHyb","src","appendChild","🎬 Autoplay completely failed:","config","rgba(0, 0, 0, 0.9)","cssText","Video","background","1420979hKeIIE","click","hideControls","11274OvEwCB","customControls","innerHTML","textContent","renderVideoElementDirect","preload","play","scale(1.1)","3130HnHBao"," !important;\n }\n ","video","adstage-video-container","width","setAttribute","_id","log","none","autoplay","videoUrl","532056zBAkAS","hidePlayButton","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","Video load failed:","createEventTrackingCallback","canplay","className","transform","title","🎬 Auto-play was prevented:","head","🎬 Video element created for ad: ",'\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 ',"scale(1)","catch","hideFullscreenButton","div","\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 ","🎬 Trying muted autoplay fallback...","alt","9rDnSnJ","VIEWABLE","warn","18aFunaQ"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","1137303oUQbNQ","hideCurrentTime","🎬 Video metadata loaded, attempting autoplay...","hideProgressBar","4706215gKwagv","error"];return(_t=function(){return t})()}!function(t){const e=Rt,n=t();for(;;)try{if(576321===-parseInt(e(362))/1+-parseInt(e(440))/2+parseInt(e(432))/3*(parseInt(e(380))/4)+parseInt(e(366))/5+parseInt(e(360))/6*(parseInt(e(429))/7)+parseInt(e(337))/8+parseInt(e(357))/9*(-parseInt(e(420))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_t);class Dt extends ut{constructor(t=!1,e){super(n[Rt(370)],t,e)}[Pt(411)](){return Pt(407)}async renderAdElement(t,e){const n=Pt,r=document[n(409)](t[n(419)]);if(!r)return;const s=document[n(386)](n(353));s[n(343)]=n(443),s[n(401)].cssText=n(354),this.renderVideoElementDirect(s,e,t),r[n(434)]="",r.appendChild(s),this.debug&&console[n(447)]("🎬 Single video ad rendered: "+e[n(446)])}async[Pt(406)](t,e){const n=Pt,r=document[n(409)](t[n(419)]);if(!r)throw new Error("Container not found: "+t[n(419)]);if(e[n(394)]>0){const s=e[0],o=document[n(386)](n(353));o.className=n(443),o.style[n(426)]=n(339),this.renderVideoElementDirect(o,s,t),r[n(434)]="",r[n(422)](o);const i=this[n(341)]();setTimeout(()=>{const e=n;i(s[e(446)],t.id,c[e(358)])},100),this[n(403)]&&console.log(n(395)+t.id+" ("+s[n(446)]+")")}else this[n(403)]&&console[n(359)](n(369)+t.id)}[Pt(436)](t,e,n){const r=Pt;t[r(401)].position=r(375);const s=document[r(386)](r(442));s[r(401)][r(444)]="100%",s[r(401)][r(412)]=r(388),s[r(401)][r(376)]=r(415),s[r(437)]=r(397);const o=n[r(424)];if(this[r(403)]&&console[r(447)](r(368),o),s.controls=!1,s[r(449)]=!1!==o?.autoplay,s[r(398)]=!0,s[r(404)]=!1!==o?.[r(404)],this[r(403)]&&console[r(447)](r(413),{autoplay:s.autoplay,muted:s.muted,loop:s[r(404)],controls:s[r(408)]}),!1!==o?.playsinline&&s[r(445)](r(399),""),!0===o?.controls&&(s[r(408)]=!0,this[r(403)]&&console[r(447)]("🎬 User explicitly enabled controls, overriding default")),o?.[r(431)])s[r(408)]=!1,s.style[r(426)]+="\n pointer-events: none;\n ";else if(o?.[r(433)]){if(s[r(408)]){const t=document[r(386)]("style");t[r(435)]=r(396)+(o.customControls[r(338)]?r(448):"block")+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(o[r(433)][r(365)]?r(448):r(385))+" !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "+(o.customControls[r(363)]?r(448):r(385))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o[r(433)][r(381)]?"none":r(385))+r(361)+(o[r(433)].hideVolumeSlider?"none":r(385))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(o.customControls[r(414)]?"none":r(385))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(o.customControls[r(352)]?"none":r(385))+r(441),document[r(347)].appendChild(t)}}else if(s[r(408)]){const t=document[r(386)](r(401));t.id=r(384),t[r(435)]="\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(409)](r(384))&&document[r(347)][r(422)](t)}this.debug&&console[r(447)]("🎬 Video controls setting:",s[r(408)]?"enabled":r(393));const i=document[r(386)](r(390));i[r(343)]=r(405),i[r(401)][r(426)]=r(410),o?.[r(431)]&&(i[r(401)][r(378)]=r(448));const a=()=>{const t=r,e=t(349),n=t(379);i[t(434)]=s[t(398)]?e:n,i[t(345)]=s.muted?t(402):"Click to mute"};if(a(),i[r(382)](r(430),t=>{const e=r;t[e(389)](),s[e(398)]=!s[e(398)],a(),this[e(403)]&&console[e(447)](e(417)+(s.muted?e(398):e(391)))}),i[r(382)](r(377),()=>{const t=r;i[t(401)][t(428)]=t(425),i.style[t(344)]=t(439)}),i[r(382)]("mouseleave",()=>{const t=r;i.style[t(428)]=t(372),i.style.transform=t(350)}),e[r(450)]){s[r(421)]=e.videoUrl;const t=()=>{const t=r;s[t(449)]&&s[t(398)]&&s[t(387)]&&s[t(438)]()[t(351)](e=>{const n=t;this[n(403)]&&(console[n(359)](n(346),e),console[n(359)](n(355))),s.muted=!0,s.play()[n(351)](t=>{const e=n;this.debug&&console[e(367)](e(423),t)})})};s[r(382)](r(400),()=>{const e=r;this[e(403)]&&console[e(447)](e(364)),t()}),s[r(382)](r(342),()=>{const e=r;this[e(403)]&&console[e(447)]("🎬 Video can play, attempting autoplay..."),t()}),s[r(382)](r(374),()=>{this[r(403)]&&console.log("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=r;this[e(403)]&&console.log(e(383)),t()},100)}else if(e[r(373)]){const n=document[r(386)]("img");return n.src=e[r(373)],n[r(401)][r(444)]=r(388),n[r(401)].height=r(388),n[r(401)].objectFit="contain",n[r(356)]=e.title||r(416),void t.appendChild(n)}tt[r(392)](s,e,n,()=>this[r(341)](),this[r(403)],r(427)),s.addEventListener("error",s=>{const o=r;if(console[o(367)](o(340),s),e[o(373)]){const r=document[o(386)](o(418));r[o(421)]=e[o(373)],r.style.width=o(388),r[o(401)][o(412)]="100%",r[o(401)][o(376)]="contain",r.alt=e[o(345)]||o(416),tt.addClickEventForRenderer(r,e,n,()=>this[o(341)](),this[o(403)],"Video fallback"),t.innerHTML="",t[o(422)](r)}}),t[r(422)](s),t.appendChild(i),this[r(403)]&&console[r(447)](r(348)+e[r(446)]+" (autoplay: "+s.autoplay+", muted: "+s.muted+r(371)+s[r(404)]+")")}}function Ut(){const t=["linkUrl","div","containerId","161265VlbGEe","): ","1846280znygXi","NATIVE","5516xZSXgR","🏠 Single native ad rendered: ","debug","#3b82f6","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","style","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","1245976atfxJp","Native Advertisement","className","⚠️ No native advertisements available for slot: ","_blank","src","54DiJFBZ","mouseleave","button","appendChild","1216779WZjMPC","advertisementEventTracker","alt","2402432crWuIR","click","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","textContent","#2563eb","imageUrl","warn","\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 ","getDefaultHeight","backgroundColor","open","6324AuoATN","addEventListener","Learn More","title","453715lLUfnZ","log","length","Native click tracked for ad: ","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","innerHTML","createElement","\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 ","getElementById","🏠 Native ad rendered (first of ","renderAdElement","cssText","renderMultipleAds","img","mouseenter"];return(Ut=function(){return t})()}const Lt=Ot;function Ot(t,e){const n=Ut();return(Ot=function(t,e){return n[t-=444]})(t,e)}!function(t){const e=Ot,n=t();for(;;)try{if(592407===parseInt(e(471))/1+parseInt(e(500))/2+-parseInt(e(453))/3+-parseInt(e(456))/4+-parseInt(e(489))/5+-parseInt(e(467))/6*(parseInt(e(493))/7)+-parseInt(e(491))/8*(-parseInt(e(449))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ut);class zt extends ut{constructor(t=!1,e){super(n[Ot(492)],t,e)}[Lt(464)](){return"200px"}async[Lt(481)](t,e){const n=Lt,r=document[n(479)](t[n(488)]);if(!r)return;const s=document[n(477)]("div");if(s[n(445)]="adstage-ad adstage-native-ad",s[n(498)].cssText=n(463),e.title){const t=document[n(477)]("h3");t.textContent=e[n(470)],t.style.cssText=n(499),s[n(452)](t)}if(e[n(459)]){const t=document[n(477)]("p");t[n(459)]=e[n(459)],t[n(498)].cssText=n(475),s[n(452)](t)}if(e[n(461)]){const t=document.createElement(n(487));t[n(498)][n(482)]=n(458);const r=document[n(477)](n(484));r[n(448)]=e[n(461)],r[n(455)]=e[n(470)]||n(444),r[n(498)].cssText=n(497),t.appendChild(r),s.appendChild(t)}if(e[n(486)]){const t=document[n(477)](n(451));t[n(459)]=n(469),t[n(498)][n(482)]=n(478),t[n(468)](n(457),()=>{const t=n;this[t(454)]&&console[t(472)](t(474)+e._id),window[t(466)](e[t(486)],t(447))}),t.addEventListener(n(485),()=>{const e=n;t.style.backgroundColor=e(460)}),t[n(468)](n(450),()=>{const e=n;t[e(498)][e(465)]=e(496)}),s.appendChild(t)}r[n(476)]="",r[n(452)](s),this[n(495)]&&console.log(n(494)+e._id)}async[Lt(483)](t,e){const n=Lt;e[n(473)]>0?(await this[n(481)](t,e[0]),this[n(495)]&&console[n(472)](n(480)+e.length+n(490)+t.id)):this.debug&&console[n(462)](n(446)+t.id)}}const Bt=Mt;function Nt(){const t=["innerHTML","#6b7280","body","open","_id","click","div","createElement","_blank","): ","appendChild","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","8499720KwzJFR","className","length","#2563eb","38KRiRrc","🖼️ Interstitial ad rendered: ","95908CWRNwE","2326008uwShIR","fadeOut 0.3s ease-out forwards","head","🖼️ Interstitial ad closed","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","getDefaultHeight","🖼️ Interstitial ad rendered (first of ","3455TplHCZ","src","advertisementEventTracker","animation","Escape","button","336477vvJNFJ","Interstitial click tracked for ad: ","removeEventListener","backgroundColor","mouseenter","adstage-interstitial-styles","imageUrl","2987852suFzxO","debug","\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 ","color","635445IgnNYv","getElementById","Interstitial Advertisement","#3b82f6","log","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","104UkWqlx","⚠️ No interstitial advertisements available for slot: ","img","linkUrl","5538cCMUjX","adstage-interstitial-content","textContent","adstage-interstitial-overlay","warn","renderAdElement","closeInterstitial","renderMultipleAds","title","keydown","addEventListener","style","cssText","containerId","#374151"];return(Nt=function(){return t})()}function Mt(t,e){const n=Nt();return(Mt=function(t,e){return n[t-=311]})(t,e)}!function(t){const e=Mt,n=t();for(;;)try{if(985527===parseInt(e(367))/1*(parseInt(e(365))/2)+-parseInt(e(313))/3+-parseInt(e(368))/4+parseInt(e(375))/5*(-parseInt(e(334))/6)+parseInt(e(320))/7+-parseInt(e(330))/8*(-parseInt(e(324))/9)+-parseInt(e(361))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nt);class Vt extends ut{constructor(t=!1,e){super(n.INTERSTITIAL,t,e)}[Bt(373)](){return"400px"}async[Bt(339)](t,e){const n=Bt;if(!document[n(325)](t[n(347)]))return;const r=document.createElement(n(355));r[n(362)]=n(337),r[n(345)][n(346)]="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const s=document[n(356)](n(355));s[n(362)]=n(335),s[n(345)].cssText=n(322);const o=document[n(356)](n(312));if(o[n(349)]="×",o[n(345)][n(346)]="\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 ",o[n(344)]("click",()=>{this[n(340)](r)}),o[n(344)](n(317),()=>{const t=n;o[t(345)].backgroundColor="#e5e7eb",o.style[t(323)]=t(348)}),o[n(344)]("mouseleave",()=>{const t=n;o[t(345)][t(316)]="#f3f4f6",o.style.color=t(350)}),e[n(319)]){const t=document.createElement(n(332));t[n(376)]=e[n(319)],t.alt=e.title||n(326),t.style.cssText=n(360),s.appendChild(t)}if(e[n(342)]){const t=document[n(356)]("h2");t[n(336)]=e.title,t[n(345)].cssText=n(329),s[n(359)](t)}if(e[n(336)]){const t=document[n(356)]("p");t[n(336)]=e[n(336)],t.style[n(346)]=n(372),s[n(359)](t)}if(e.linkUrl){const t=document[n(356)](n(312));t[n(336)]="Get Started",t.style[n(346)]="\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ",t[n(344)]("click",()=>{const t=n;this[t(377)]&&console[t(328)](t(314)+e[t(353)]),window[t(352)](e[t(333)],t(357)),this[t(340)](r)}),t[n(344)](n(317),()=>{const e=n;t[e(345)][e(316)]=e(364)}),t[n(344)]("mouseleave",()=>{const e=n;t[e(345)][e(316)]=e(327)}),s[n(359)](t)}const i=t=>{const e=n;t.key===e(311)&&(this[e(340)](r),document[e(315)](e(343),i))};if(document[n(344)]("keydown",i),r[n(344)](n(354),t=>{const e=n;t.target===r&&this[e(340)](r)}),!document[n(325)](n(318))){const t=document[n(356)](n(345));t.id=n(318),t[n(336)]="\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ",document[n(370)][n(359)](t)}s.appendChild(o),r[n(359)](s),document[n(351)][n(359)](r),this[n(321)]&&console[n(328)](n(366)+e[n(353)])}async[Bt(341)](t,e){const n=Bt;e.length>0?(await this[n(339)](t,e[0]),this[n(321)]&&console[n(328)](n(374)+e[n(363)]+n(358)+t.id)):this.debug&&console[n(338)](n(331)+t.id)}[Bt(340)](t){const e=Bt;t[e(345)][e(378)]=e(369),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t)},300),this.debug&&console.log(e(371))}}const Ft=Ht;function Ht(t,e){const n=jt();return(Ht=function(t,e){return n[t-=442]})(t,e)}function jt(){const t=["loadImageDimensions","toLowerCase","appendChild","306477ruEzYR","adstage-ad adstage-","naturalHeight","createElement","No renderer found for ad type: ","42095vOdvWO","VIDEO","img","setAttribute","data-adstage-ad-id","get","debug","100%","warn","src"," renderers","⚠️ Container optimization is only supported for BANNER ads, got: ","getRenderer","[AdRenderer] ","calculateOptimalContainerSize","imageUrl","style","createPlaceholder","backgroundColor","padding","4365396CHkjma","283617dHqLTW","renderFallback","renderAd","set","advertisementEventTracker","NATIVE","objectFit","INTERSTITIAL","8px","size","76rbYgQM","config","advertisement","textContent","renderAdElement","adType","initializeRenderers","calculateAdSize","renderers","#f9f9f9","584WxbCtO","getDefaultHeightForAdType","className","width","BANNER","🏭 AdRenderer factory initialized with ","renderOptimizedBannerImage","height"," Ad","Failed to load image: ","display","optimizeContainerForBannerAds","TEXT","border","onerror","3131324wqVyFW","isLoaded","videoUrl","renderAdSlider","log","556179PUmdRH","4632678ggBaEa","getDefaultHeight"];return(jt=function(){return t})()}!function(t){const e=Ht,n=t();for(;;)try{if(810507===-parseInt(e(485))/1+-parseInt(e(448))/2+parseInt(e(453))/3+parseInt(e(495))/4*(-parseInt(e(464))/5)+parseInt(e(454))/6+-parseInt(e(484))/7+-parseInt(e(505))/8*(-parseInt(e(459))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(jt);class Wt{constructor(t=!1,e){const n=Ht;this[n(503)]=new Map,this[n(470)]=t,this[n(489)]=e||null,this.initializeRenderers()}[Ft(501)](){const t=Ft;this[t(503)].set(n[t(509)],new mt(this.debug,this[t(489)])),this[t(503)][t(488)](n[t(445)],new Tt(this[t(470)],this[t(489)])),this[t(503)][t(488)](n.VIDEO,new Dt(this[t(470)],this[t(489)])),this[t(503)][t(488)](n[t(490)],new zt(this[t(470)],this[t(489)])),this.renderers[t(488)](n[t(492)],new Vt(this[t(470)],this[t(489)])),this.debug&&console[t(452)](t(510)+this[t(503)][t(494)]+t(474))}createAdElement(t,e){const r=Ft,s=this[r(476)](t[r(500)]),o=document[r(462)]("div");o[r(507)]=r(460)+String(t[r(500)])[r(457)](),o[r(467)](r(468),e._id),o.setAttribute("data-adstage-slot-id",t.id);const{width:i,height:a}=s[r(502)](o,t[r(496)]||{},e);switch(o.style[r(508)]=i,o[r(480)][r(512)]=a,o.style[r(443)]="block",t[r(500)]){case n[r(509)]:if(e[r(479)]){const t=document[r(462)](r(466));t[r(473)]=e[r(479)],t[r(480)][r(508)]=r(471),t[r(480)][r(512)]=r(471),t[r(480)][r(491)]="cover",o[r(458)](t)}break;case n[r(465)]:if(e[r(450)]){const t=document[r(462)]("video");t[r(473)]=e[r(450)],t.style[r(508)]=r(471),t[r(480)][r(512)]=r(471),o[r(458)](t)}break;case n[r(445)]:if(e.textContent){const t=document.createElement("div");t[r(498)]=e[r(498)]||"",t[r(480)][r(483)]=r(493),o[r(458)](t)}break;default:o[r(480)][r(446)]="1px dashed #ccc",o[r(480)][r(482)]=r(504),o[r(498)]=t[r(500)]+r(513)}return o}getRenderer(t){const e=Ft,n=this.renderers[e(469)](t);if(!n)throw new Error(e(463)+t);return n}[Ft(481)](t,e,n,r,s){const o=Ft;this.getRenderer(n)[o(481)](t,e,r,s)}async optimizeContainerForBannerAds(t,e){const r=Ft;if(t.adType!==n[r(509)])return void(this.debug&&console[r(472)](r(475)+t[r(500)]));const s=this[r(476)](n[r(509)]);await s[r(444)](t,e)}async[Ft(451)](t,e){const n=Ft,r=this[n(476)](t[n(500)]);await r.renderMultipleAds(t,e)}async[Ft(487)](t){const e=Ft;if(!t[e(497)])throw new Error("No advertisement to render");const n=this[e(476)](t[e(500)]);await n.renderAdElement(t,t[e(497)]),t[e(449)]=!0}async[Ft(499)](t,e){const n=Ft,r=this[n(476)](t[n(500)]);await r.renderAdElement(t,e)}renderFallback(t){const e=Ft;this.getRenderer(t[e(500)])[e(486)](t)}[Ft(506)](t){const e=Ft;return this.getRenderer(t)[e(455)]()}calculateAdSize(t,e,n,r){const s=Ft;return this.getRenderer(e)[s(502)](t,n,r)}[Ft(456)](t){return new Promise((e,n)=>{const r=Ht,s=new Image;s.onload=()=>{const t=Ht;e({width:s.naturalWidth,height:s[t(461)]})},s[r(447)]=()=>{n(new Error(r(442)+t))},s[r(473)]=t})}async[Ft(511)](t,e,r){const s=Ft;if(r[s(500)]!==n.BANNER)throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const o=this[s(476)](n[s(509)]);return await o[s(511)](t,e,r)}async calculateOptimalContainerSize(t,e,r){const s=Ft;if(r!==n[s(509)]){return{width:"100%",height:this.getRenderer(r)[s(455)](),aspectRatio:16/9}}const o=this[s(476)](n[s(509)]);return await o[s(478)](t,e)}log(t,...e){const n=Ft;this[n(470)]&&console.log(n(477)+t,...e)}}const Kt=Xt;function Xt(t,e){const n=Zt();return(Xt=function(t,e){return n[t-=398]})(t,e)}function Zt(){const t=["slots"," ads automatically","🚫 Advertisement not found with ID: ","language","destroy","renderAdSlider","autoSlide","warn","createAd","advertisement"," (element found)","adType","Failed to fetch ad data: ","onClick","getAllSlots","getAttribute","mutationObserver","ELEMENT_NODE","BANNER","autoplay","status","fetchAdData","Failed to refresh ad slot: ","Ads module not initialized. Call AdStage.init() first.","height","video","🔄 Ad slot refreshed: ","advertisementEventTracker","data-adstage-slot-id","viewabilityTracker","createAdWithRetry","maxLines","setAttribute","✅ Simple viewable impression tracked for ad ","renderAd","2410525fLnJOY","852RFPXRs","renderAdElement","VIDEO","json","100%","refreshAdSlot","slideInterval","getElementById","adstage-","debug","deviceType","auto","delete","🔍 Auto-cleanup MutationObserver enabled","NATIVE","startSimpleViewabilityTracking","📊 Advertisement event tracking enabled for slot: ","append","clear","error","then"," removed",". Retrying in ","length","getBaseUrl","loadAdContentInBackground","🗑️ Ads module destroyed","INTERSTITIAL","🗑️ Ad slot destroyed: ","🎯 Ads module initialized (sync mode) with auto-cleanup","get","ms... (attempt ","renderFallback","API key not configured","adId"," attempts: ","optimizeContainerForBannerAds","observe","native","forEach","Auto-cleanup failed for slot "," ads for type: ","_id","innerHTML","5506105Zhrrmx","ensureReady","isReady","interstitial","advertisements","Container not found: ","1940cfoJhX","create","6wVQEYe","_isReady","autoDestroy","auto-","detail","undefined","width","muted","controls","7952985ZUAwep","apiKey"," ads)","_config"," (attempt ","GET","18FfrhWM","toString","removedNodes","📊 Fetched ","init","createPlaceholder","country","1773961nYpjhp","setupAutoCleanup","hideControls","banner","containerId","log","TEXT","📊 Fetched specific ad with ID: ","disconnect","config","loop","createAdInternal","❌ Failed to track viewable impression:","119728GZemtD","random","❌ Failed to load ad for slot: ","2055088RdfpiK","playsinline","handleRemovedElement","🧹 Auto-cleanup: slot ","style","refresh","adRenderer","10MZpbCj","body"];return(Zt=function(){return t})()}!function(t){const e=Xt,n=t();for(;;)try{if(583276===-parseInt(e(465))/1*(-parseInt(e(500))/2)+parseInt(e(413))/3*(-parseInt(e(463))/4)+parseInt(e(412))/5+-parseInt(e(480))/6*(parseInt(e(487))/7)+parseInt(e(503))/8+parseInt(e(474))/9+parseInt(e(510))/10*(-parseInt(e(457))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Zt);class Jt{constructor(){const t=Xt;this._isReady=!1,this[t(477)]=null,this[t(512)]=new Map,this[t(404)]=null,this[t(509)]=null,this.mutationObserver=null}[Kt(484)](t){const e=Kt;this[e(477)]=t,this.advertisementEventTracker=new O(X[e(437)](),t[e(475)],t[e(422)]||!1,this[e(512)]),this[e(509)]=new Wt(t[e(422)]||!1,this[e(404)]),this.setupAutoCleanup(),this[e(466)]=!0,t[e(422)]&&console[e(492)](e(442))}[Kt(459)](){return this[Kt(466)]}getConfig(){return this._config}[Kt(490)](t,e){const r=Kt;this.ensureReady();const s={width:e?.[r(471)]||r(417),height:e?.height||r(424),autoSlide:e?.[r(518)]||!1,slideInterval:e?.[r(419)]||5e3,onClick:e?.[r(525)],adId:e?.[r(447)],language:e?.[r(515)],deviceType:e?.deviceType,country:e?.country};return this[r(520)](t,n[r(530)],s)}text(t,e){const r=Kt;this[r(458)]();const s={maxLines:e?.[r(408)]||3,style:e?.[r(507)]||"default",onClick:e?.[r(525)],adId:e?.[r(447)],language:e?.language,deviceType:e?.[r(423)],country:e?.[r(486)]};return this[r(520)](t,n[r(493)],s)}[Kt(402)](t,e){const r=Kt;this[r(458)]();const s={width:e?.[r(471)]||640,height:e?.[r(401)]||360,autoplay:void 0===e?.autoplay||e[r(531)],muted:void 0===e?.muted||e[r(472)],loop:void 0===e?.[r(497)]||e.loop,playsinline:!1!==e?.[r(504)],controls:void 0!==e?.[r(473)]&&e[r(473)],hideControls:e?.[r(489)]||!1,customControls:e?.customControls,autoSlide:!1,maxAds:1,onClick:e?.onClick,...e?.[r(447)]&&{adId:e[r(447)]}};return this.createAd(t,n[r(415)],s)}[Kt(451)](t,e){const r=Kt;return this.ensureReady(),this[r(520)](t,n[r(427)],e||{})}[Kt(460)](t,e){const r=Kt;return this[r(458)](),this[r(520)](t,n[r(440)],e||{})}[Kt(508)](t){const e=Kt;this[e(458)]();const n=this[e(512)][e(443)](t);if(!n)throw new Error("Ad slot not found: "+t);this[e(418)](n),this[e(477)]?.[e(422)]&&console[e(492)](e(403)+t)}[Kt(516)](t){const e=Kt;this[e(458)]();const n=this[e(512)][e(443)](t);if(!n)throw new Error("Ad slot not found: "+t);n.viewabilityTracker&&n.viewabilityTracker[e(516)]();const r=document[e(420)](n[e(491)]);r&&(r[e(456)]=""),this[e(512)][e(425)](t),this[e(477)]?.debug&&console[e(492)](e(441)+t)}[Kt(526)](){const t=Kt;return this.ensureReady(),Array.from(this[t(512)].values())}getSlotById(t){const e=Kt;return this[e(458)](),this[e(512)].get(t)||null}[Kt(520)](t,e,n){const r=Kt;if(!this[r(477)]?.[r(475)])throw new Error(r(446));const s=r(421)+e+"-"+Date.now()+"-"+Math[r(501)]()[r(481)](36).substr(2,9);return this[r(407)](t,e,n,s,0),s}async[Kt(407)](t,e,n,r,s){const o=Kt,i=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[o(420)](t),!c)return s<4?(this._config?.debug&&console[o(519)](o(462)+t+o(435)+i[s+1]+o(444)+(s+1)+"/5)"),void setTimeout(()=>{this[o(407)](t,e,n,r,s+1)},i[s+1])):void console[o(432)]("Container not found after 5"+o(448)+t)}else c=t,a=c.id||o(468)+r,!c.id&&(c.id=a);try{this[o(498)](a,e,n,r,c)}catch(t){console[o(432)]("광고 생성 중 오류 발생:",t)}}[Kt(498)](t,e,r,s,o){const i=Kt;o[i(409)](i(405),s),this.adRenderer?.[i(485)](o,s,e,r,this[i(477)]);const a={id:s,containerId:t,adType:e,width:r[i(471)]||"100%",height:r[i(401)]||(e===n.TEXT?i(424):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...r},load:async()=>this[i(398)](e,r)[i(433)](t=>t[0]||null),render:t=>this[i(509)]?.[i(414)](a,t),refresh:async()=>this[i(418)](a),destroy:()=>this.destroy(s)};this[i(512)].set(s,a),this[i(438)](a),this[i(404)]&&this[i(477)]?.debug&&console[i(492)](i(429)+s)}async[Kt(438)](t){const e=Kt;try{const r=await this[e(398)](t[e(523)],t[e(496)]);if(!r||0===r[e(436)])return void this[e(509)]?.[e(445)](t);t[e(523)]===n.BANNER&&r.length>0&&await(this[e(509)]?.[e(449)](t,r)),r.length>1||t[e(496)]?.[e(518)]?(await(this[e(509)]?.[e(517)](t,r)),this._config?.[e(422)]&&console[e(492)]("🎠 Slider will handle VIEWABLE events for "+r[e(436)]+e(513))):(t.advertisement=r[0],await(this[e(509)]?.[e(414)](t,r[0])),this[e(428)](t,r[0])),t.isLoaded=!0,this._config?.[e(422)]&&console[e(492)]("✅ Ad loaded for slot: "+t.id+" ("+r[e(436)]+e(476))}catch(n){console.error(e(502)+t.id,n),this[e(509)]?.[e(445)](t)}}[Kt(428)](t,e){const n=(r=0)=>{const s=Xt,o=document[s(420)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(477)]?.debug&&console[s(492)]("🔄 Retrying viewability tracking for slot: "+t.id+s(478)+(r+1)+")")):console[s(519)]("❌ Failed to find element for viewability tracking: "+t.id));const i=new M(o,async()=>{await this.handleViewableEvent(e,t)});t[s(406)]=i,this[s(477)]?.[s(422)]&&console.log("🎯 Simple viewability tracking started for slot: "+t.id+s(522))};n()}async handleViewableEvent(t,e){const n=Kt;try{this[n(404)]&&(await this[n(404)].trackAdvertisementEvent(t[n(455)],e.id,c.VIEWABLE),this[n(477)]?.[n(422)]&&console[n(492)](n(410)+t[n(455)]))}catch(t){console[n(432)](n(499),t)}}async fetchAdData(t,e){const n=Kt;if(!this._config?.[n(475)])throw new Error(n(446));if(e[n(447)]){const t=""+X[n(461)][n(469)](e.adId),r=await fetch(t,{method:n(479),headers:_[n(464)](this[n(477)][n(475)])});if(!r.ok){if(404===r[n(532)])return console[n(519)](n(514)+e[n(447)]),[];throw new Error("Failed to fetch ad data: "+r[n(532)])}const s=await r.json();return this[n(477)]?.[n(422)]&&console[n(492)](n(494)+e.adId,s),[s]}const r=new URLSearchParams;r[n(430)](n(523),t),e[n(515)]&&r[n(430)](n(515),e[n(515)]),e.deviceType&&r.append("deviceType",e[n(423)]),e[n(486)]&&r[n(430)](n(486),e[n(486)]);const s=X[n(461)].list()+"?"+r[n(481)](),o=await fetch(s,{method:n(479),headers:_.create(this._config.apiKey)});if(!o.ok)throw new Error(n(524)+o[n(532)]);const i=(await o[n(416)]())[n(461)]||[];return this[n(477)]?.[n(422)]&&console[n(492)](n(483)+i[n(436)]+n(454)+t+", filters:",{language:e.language,deviceType:e[n(423)],country:e.country}),i}async[Kt(418)](t){const e=Kt;try{const n=await this[e(398)](t[e(523)],t.config||{});n&&n[e(436)]>0&&(t[e(521)]=n[0],await(this[e(509)]?.[e(411)](t)),this[e(404)]&&console[e(492)]("New advertisement viewable tracked for slot:",t.id))}catch(n){console.error(e(399)+t.id,n)}}[Kt(458)](){const t=Kt;if(!this[t(466)])throw new Error(t(400))}[Kt(488)](){const t=Kt;typeof window!==t(470)&&typeof document!==t(470)&&(this[t(528)]&&this[t(528)][t(495)](),this[t(528)]=new MutationObserver(e=>{const n=t;e[n(452)](t=>{const e=n;t[e(482)].forEach(t=>{const n=e;t.nodeType===Node[n(529)]&&this[n(505)](t)})})}),this.mutationObserver[t(450)](document[t(511)],{childList:!0,subtree:!0}),this[t(477)]?.[t(422)]&&console[t(492)](t(426)))}[Kt(505)](t){const e=Kt,n=t.getAttribute(e(405));if(n)return void this[e(467)](n);t.querySelectorAll("[data-adstage-slot-id]").forEach(t=>{const n=e,r=t[n(527)](n(405));r&&this[n(467)](r)})}[Kt(467)](t){const e=Kt;if(this[e(512)][e(443)](t))try{this[e(512)].delete(t),this[e(477)]?.debug&&console[e(492)](e(506)+t+e(434))}catch(n){this._config?.debug&&console[e(519)](e(453)+t+":",n)}}destroyModule(){const t=Kt,e=this[t(477)]?.debug;this[t(528)]&&(this[t(528)][t(495)](),this[t(528)]=null),this[t(512)][t(431)](),this[t(404)]=null,this[t(509)]=null,this[t(466)]=!1,this[t(477)]=null,e&&console[t(492)](t(439))}}var Qt=Yt;function Yt(t,e){var n=qt();return(Yt=function(t,e){return n[t-=279]})(t,e)}function qt(){var t=["ads","35101440AVqHNx","✅ Config module initialized (sync mode)","1653435igcwVe","updateConfig","7177520mZaZfb","getBaseUrl","_isReady","993981GVKgoV","432qaTwxP","debug","API key not available","_config","1WsHUIM","isModuleEnabled","getApiHeaders","baseUrl","1720326ILOxkI","Config module not initialized","modules","includes","_organizationInfo","4dPChsc","events","getOrganizationInfo","log","9AoubyA","1846232QNGmxc","init","getEnabledModules","create","setBaseUrl","isReady","🔄 Config updated","58705KPYvxS","getConfig","isDebugMode","getApiEndpoint"];return(qt=function(){return t})()}!function(t){for(var e=Yt,n=t();;)try{if(441872===-parseInt(e(303))/1*(parseInt(e(307))/2)+parseInt(e(298))/3*(-parseInt(e(312))/4)+parseInt(e(286))/5*(-parseInt(e(299))/6)+parseInt(e(293))/7+-parseInt(e(279))/8*(parseInt(e(316))/9)+-parseInt(e(295))/10+parseInt(e(291))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qt);class Gt{constructor(){var t=Yt;this[t(297)]=!1,this[t(302)]=null,this[t(311)]=null}[Qt(280)](t){var e=Qt;this._config={timeout:3e4,debug:!1,modules:[e(290),e(313),"config"],...t},t.baseUrl&&X[e(283)](t[e(306)]),this[e(297)]=!0,t.debug&&console[e(315)](e(292),{modules:this[e(302)][e(309)],endpoint:X[e(296)](),mode:"development"})}[Qt(284)](){return this[Qt(297)]}[Qt(287)](){return this[Qt(302)]}[Qt(314)](){return this[Qt(311)]}[Qt(289)](){return X.getBaseUrl()}[Qt(288)](){var t=Qt;return this[t(302)]?.[t(300)]||!1}[Qt(281)](){var t=Qt;return this[t(302)]?.modules||[]}[Qt(304)](t){var e=Qt;return this[e(281)]()[e(310)](t)}[Qt(294)](t){var e=Qt;if(!this[e(302)])throw new Error(e(308));this[e(302)]={...this[e(302)],...t},this[e(288)]()&&console[e(315)](e(285),t)}[Qt(305)](){var t=Qt;if(!this[t(302)]?.apiKey)throw new Error(t(301));return _[t(282)](this[t(302)].apiKey)}}function $t(t,e){const n=ne();return($t=function(t,e){return n[t-=404]})(t,e)}const te=$t;!function(t){const e=$t,n=t();for(;;)try{if(914729===-parseInt(e(425))/1*(parseInt(e(408))/2)+-parseInt(e(442))/3+parseInt(e(428))/4*(parseInt(e(426))/5)+-parseInt(e(406))/6+parseInt(e(438))/7+parseInt(e(413))/8+parseInt(e(435))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ne);class ee{static[te(416)](){const t=te;return{...ee[t(418)](),...ee[t(420)]}}static[te(418)](){const t=te;if(!I[t(417)]())return{category:"other",platform:t(432),model:t(432),osVersion:t(432)};const e=navigator.userAgent.toLowerCase();let n="desktop";/tablet|ipad/[t(437)](e)?n=t(427):C[t(429)]()&&(n=t(424));const r=C[t(439)]();return{category:n,platform:ee[t(405)](r),model:navigator[t(434)],osVersion:navigator[t(434)]}}static[te(404)](t){ee[te(420)]={...ee._userProvidedDeviceInfo,...t}}static setDeviceProperty(t,e){ee[te(420)][t]=e}static clearDeviceInfo(){ee[te(420)]={}}static[te(440)](){return{...ee._userProvidedDeviceInfo}}static[te(405)](t){const e=te;switch(t){case e(433):return"iOS";case e(421):return e(419);case e(407):return e(436);case e(412):return e(409);default:return e(422)}}static[te(441)](){const t=te;if(!I.isBrowser())return{userAgent:t(432),language:"ko-KR",platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(430),viewportSize:"0x0"};const e=I.getViewportInfo();return{userAgent:navigator[t(431)],language:navigator[t(411)]||"ko-KR",platform:navigator[t(434)],cookieEnabled:navigator[t(415)],onLine:navigator[t(423)],screenResolution:screen[t(410)]+"x"+screen[t(414)],viewportSize:e[t(410)]+"x"+e[t(414)]}}}function ne(){const t=["test","2628192coTNzW","getPlatform","getUserDeviceInfo","getDetailedInfo","3967152ZBfQWi","setDeviceInfo","mapPlatformForEvents","8305044okvrcN","web","2KvWcRQ","Desktop Web","width","language","desktop","11394072fwNJFN","height","cookieEnabled","getDeviceInfo","isBrowser","getAutoDetectedDeviceInfo","Android","_userProvidedDeviceInfo","android","Unknown","onLine","mobile","1481011zNapyX","5LLvfCl","tablet","5549088tsURdU","isMobile","0x0","userAgent","SSR","ios","platform","17237799kAoXkt","Mobile Web"];return(ne=function(){return t})()}ee[te(420)]={};const re=ie;function se(){const t=["3dicvmG","language","1108614IJcLId","2566151zQXkQG","4760FqHPoO","1287sBaSHo","split","setUserProperty","5VfhPFi","resolvedOptions","12FbPOTh","getUserInfo","extractCountryFromLanguage","1209164KthqOI","1203494IGZJnU","setUserProperties","getBaseUserInfo","timeZone","43816woTePm","42262CsORSc","isBrowser","ko-KR","4350940PllFwA","192nalpFw","_userProperties"];return(se=function(){return t})()}!function(t){const e=ie,n=t();for(;;)try{if(994687===-parseInt(e(350))/1+-parseInt(e(351))/2*(-parseInt(e(362))/3)+-parseInt(e(359))/4*(-parseInt(e(345))/5)+-parseInt(e(347))/6*(parseInt(e(365))/7)+-parseInt(e(355))/8*(-parseInt(e(342))/9)+-parseInt(e(366))/10*(-parseInt(e(356))/11)+-parseInt(e(360))/12*(parseInt(e(364))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(se);class oe{static[re(348)](){return{...oe[re(353)](),...oe._userProperties}}static[re(353)](){const t=re;if(!I[t(357)]())return{language:t(358),country:"KR"};const e=navigator[t(363)]||t(358);return{language:e,country:oe[t(349)](e)}}static[re(349)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[re(343)]("-")[0]]||"KR"}static[re(352)](t){oe[re(361)]={...oe._userProperties,...t}}static[re(344)](t,e){oe._userProperties[t]=e}static clearUserProperties(){oe._userProperties={}}static getCurrentUserProperties(){return{...oe[re(361)]}}static estimateLocation(){const t=re;if(!I[t(357)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl.DateTimeFormat()[t(346)]()[t(354)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function ie(t,e){const n=se();return(ie=function(t,e){return n[t-=342]})(t,e)}oe[re(361)]={};const ae=de;function ce(){const t=["getSessionId","getItem","substr","removeItem","256774pavcec","ssr_session_","2503998HOLLjs","_sessionStartTime","isBrowser","5640092jLsYPB","now","adstage_session_start","1146446dAZAbI","196230saEZDP","setUserId","refreshSession","clearUserId","248RVfnyE","getSessionInfo","isNewSession","adstage_session_id","_userId","getSessionStats","4042095NhZWPi","2788758kNfLPf","adstage_user_id","getSessionDuration","isSessionExpired","50egJbny"];return(ce=function(){return t})()}function de(t,e){const n=ce();return(de=function(t,e){return n[t-=161]})(t,e)}!function(t){const e=de,n=t();for(;;)try{if(877781===parseInt(e(180))/1+-parseInt(e(174))/2+parseInt(e(162))/3+parseInt(e(177))/4+parseInt(e(167))/5*(-parseInt(e(181))/6)+parseInt(e(172))/7*(-parseInt(e(185))/8)+-parseInt(e(163))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class le{static[ae(168)](){const t=ae;if(!I[t(176)]())return t(173)+Date.now();const e=sessionStorage.getItem(t(188));if(e)return e;const n="session_"+Math.random().toString(36)[t(170)](2,9)+"_"+Date[t(178)]();return sessionStorage.setItem(t(188),n),!le[t(175)]&&(le[t(175)]=Date[t(178)](),I[t(176)]()&&sessionStorage.setItem("adstage_session_start",String(le._sessionStartTime))),n}static[ae(182)](t){le[ae(189)]=t,I.isBrowser()&&localStorage.setItem("adstage_user_id",t)}static getUserId(){const t=ae;if(le._userId)return le[t(189)];if(I[t(176)]()){const e=localStorage[t(169)](t(164));if(e)return le[t(189)]=e,e}}static[ae(184)](){const t=ae;le[t(189)]=void 0,I[t(176)]()&&localStorage[t(171)](t(164))}static[ae(186)](){const t=ae,e=le[t(168)](),n=le.getUserId(),r=le[t(187)]();return{sessionId:e,userId:n,sessionDuration:le[t(165)](),isNewSession:r}}static[ae(187)](){const t=ae;if(!I[t(176)]())return!0;const e=sessionStorage.getItem(t(188)),n=sessionStorage[t(169)](t(179));return!e||!n}static getSessionDuration(){const t=ae;if(!I[t(176)]())return 0;const e=sessionStorage[t(169)](t(179));return e?Date[t(178)]()-parseInt(e,10):0}static[ae(183)](){const t=ae;return I[t(176)]()&&(sessionStorage[t(171)](t(188)),sessionStorage[t(171)](t(179))),le._sessionStartTime=void 0,le[t(168)]()}static isSessionExpired(t=24){return le[ae(165)]()>60*t*60*1e3}static[ae(161)](){const t=ae,e=le.getSessionId(),n=le.getUserId(),r=le[t(165)](),s=le[t(166)](),o=le.isNewSession();let i;if(I.isBrowser()){const e=sessionStorage[t(169)](t(179));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const ue=pe;function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=229]})(t,e)}function he(){const t=["create","events","📊 Events module initialized","setUserId","📱 User provided device info cleared","❌ Failed to track event:","📱 Device property set:","status","apiKey","👤 User ID set:","clearDeviceInfo","getCurrentUserProperties","Events module not initialized. Call AdStage.init() first.","sendEventToServer","log","error","7506CfPvLI","getUserProperties","setDeviceProperty","📱 Device info set:","1521090xxukHk","_isReady","getDeviceInfo","getSessionId","4807316hNQWKP","3029196eyXxKe","isReady","debug","application/json","40056zeAoMQ","getUserInfo","API key not configured for event tracking.","setDeviceInfo","5188353AwrkXo","Event tracking failed: ","_config","6195aplVGF","getUserId","5OcjiPn","1746VcMKBz","813410YobPRQ","warn","Event data:","statusText","setUserProperties","👤 User properties set:","getUserDeviceInfo","POST"];return(he=function(){return t})()}!function(t){const e=pe,n=t();for(;;)try{if(940924===-parseInt(e(243))/1+parseInt(e(276))/2+parseInt(e(236))/3+-parseInt(e(275))/4*(parseInt(e(241))/5)+parseInt(e(267))/6*(-parseInt(e(239))/7)+-parseInt(e(232))/8*(-parseInt(e(242))/9)+-parseInt(e(271))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(he);class fe{constructor(){const t=pe;this[t(272)]=!1,this[t(238)]=null}init(t){const e=pe;this[e(238)]=t,this[e(272)]=!0,t[e(230)]&&console.log(e(253))}[ue(229)](){return this[ue(272)]}getConfig(){return this[ue(238)]}[ue(254)](t){const e=ue;le.setUserId(t),this[e(238)]?.[e(230)]&&console[e(265)](e(260),t)}[ue(240)](){return le[ue(240)]()}[ue(247)](t){const e=ue;oe[e(247)](t),this[e(238)]?.[e(230)]&&console[e(265)](e(248),t)}[ue(268)](){return oe[ue(262)]()}[ue(235)](t){const e=ue;ee[e(235)](t),this[e(238)]?.debug&&console[e(265)](e(270),t)}[ue(269)](t,e){const n=ue;ee.setDeviceProperty(t,e),this[n(238)]?.debug&&console[n(265)](n(257),t,e)}[ue(261)](){const t=ue;ee[t(261)](),this[t(238)]?.[t(230)]&&console[t(265)](t(255))}[ue(249)](){return ee[ue(249)]()}[ue(273)](){return ee[ue(273)]()}[ue(233)](){return oe.getUserInfo()}[ue(262)](){return oe.getCurrentUserProperties()}async track(t,e){const n=ue;if(this[n(272)])if(this[n(238)]?.apiKey)try{const r={eventName:t,userId:le[n(240)](),sessionId:le[n(274)](),sdkVersion:E(),device:ee[n(273)](),user:oe[n(233)](),params:e||{}};await this.sendEventToServer(r),this[n(238)][n(230)]&&console[n(265)]("✅ Event tracked:",t,e)}catch(r){console.error(n(256),r),this[n(238)][n(230)]&&console[n(266)](n(245),{eventName:t,properties:e})}else console[n(244)](n(234));else console[n(244)](n(263))}async[ue(264)](t){const e=ue,n=await fetch(X[e(252)].track(),{method:e(250),headers:{..._[e(251)](this[e(238)][e(259)]),"Content-Type":e(231)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(237)+n[e(258)]+" "+n[e(246)])}}const ge=ye;!function(t){const e=ye,n=t();for(;;)try{if(603871===-parseInt(e(477))/1*(-parseInt(e(475))/2)+-parseInt(e(510))/3*(parseInt(e(489))/4)+parseInt(e(502))/5*(-parseInt(e(487))/6)+parseInt(e(488))/7+-parseInt(e(492))/8*(parseInt(e(480))/9)+-parseInt(e(498))/10*(parseInt(e(493))/11)+-parseInt(e(471))/12*(-parseInt(e(497))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ie);class me{constructor(){const t=ye;this[t(484)]=!1,this._config=null,this[t(499)]=new Gt,this[t(483)]=new Jt,this[t(476)]=new fe}static init(t){const e=ye;!me[e(505)]&&(me[e(505)]=new me);const n=me[e(505)];if(!t[e(511)])throw new Error("API key is required for AdStage initialization");n[e(504)]={timeout:3e4,debug:!1,modules:["ads","events",e(499)],...t},n[e(504)].baseUrl&&(X[e(478)](n[e(504)][e(491)]),t[e(490)]&&console[e(501)](e(472),n[e(504)][e(491)]));const r=n._config.modules||[e(483),"events",e(499)];for(const t of r){const r=n[t];r&&"function"==typeof r[e(512)]&&r[e(512)](n._config)}n[e(484)]=!0,t[e(490)]&&console[e(501)](e(481),{version:"2.0.0",modules:r,apiKey:t[e(511)][e(500)](0,8)+e(508),mode:e(495)})}static[ge(507)](){const t=ge;return me[t(505)]?.[t(484)]||!1}static[ge(494)](){const t=ge;return me[t(505)]?._config||null}static[ge(509)](){const t=ge;if(!me[t(505)])throw new Error(t(485));return me.instance}static get[ge(483)](){const t=ge;return me[t(509)]()[t(483)]}static get[ge(476)](){const t=ge;return me[t(509)]()[t(476)]}static get config(){const t=ge;return me[t(509)]()[t(499)]}static[ge(486)](){const t=ge;me[t(505)]&&(me[t(505)][t(484)]=!1,me[t(505)][t(504)]=null)}}function ye(t,e){const n=Ie();return(ye=function(t,e){return n[t-=471]})(t,e)}function Ie(){const t=["545UIfPQI","from","_config","instance","✅ AdStage Debug: 광고 ","isReady","...","getInstance","3VSNAtC","apiKey","init","9141144vfUxHS","🌐 API endpoint configured:","📊 AdStage Debug: 현재 viewable 추적 상태","clear","254vnceOs","events","919FWUgYe","setBaseUrl","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","2358KElkEZ","🚀 AdStage SDK initialized (sync mode)","viewableTracker","ads","_isInitialized","AdStage not initialized. Call AdStage.init() first.","reset","3492Fwzazk","6553526DoEmaY","2532296WlMHkw","debug","baseUrl","3376QcipDf","11XeNGwK","getConfig","development","clearAdViewable","13COMkiw","4037460rqsVsZ","config","substring","log"];return(Ie=function(){return t})()}function ve(t,e){var n=be();return(ve=function(t,e){return n[t-=470]})(t,e)}function be(){var t=["resolve","735702fCfdyk","9EMdPbR","getUserId","setUserProperties","6VcXjNo","1443430CLXRhk","track","warn","events","1226228TyVzAO","1279552PqZLkH","AdStage not initialized. Call AdStage.init() first.","isReady","3560067rWLiVh","1371774tynDJr","setUserId","5694664sQoOFI"];return(be=function(){return t})()}me[ge(490)]={clearAllViewable:()=>{const t=ge;at[t(474)](),console.log(t(479))},clearAdViewable:(t,e)=>{const n=ge;at[n(496)](t,e),console[n(501)](n(506)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=ge;console[t(501)](t(473),{trackedCount:at[t(482)].size,trackedItems:Array[t(503)](at[t(482)])})}},function(t){for(var e=ve,n=t();;)try{if(397993===-parseInt(e(484))/1+-parseInt(e(476))/2+parseInt(e(470))/3*(parseInt(e(475))/4)+-parseInt(e(471))/5+parseInt(e(480))/6+parseInt(e(479))/7+-parseInt(e(482))/8*(-parseInt(e(485))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(be);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"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function 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 I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var P={current:null},_={transition:null},D={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:_,ReactCurrentOwner:w};function U(){throw Error("act(...) is not supported in production builds of React.")}return Se.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Se.Component=g,Se.Fragment=n,Se.Profiler=s,Se.PureComponent=y,Se.StrictMode=r,Se.Suspense=c,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,Se.act=U,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),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Se.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},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:l,_payload:{_status:-1,_result:t},_init:R}},Se.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},Se.startTransition=function(t){var e=_.transition;_.transition={};try{t()}finally{_.transition=e}},Se.unstable_act=U,Se.useCallback=function(t,e){return P.current.useCallback(t,e)},Se.useContext=function(t){return P.current.useContext(t)},Se.useDebugValue=function(){},Se.useDeferredValue=function(t){return P.current.useDeferredValue(t)},Se.useEffect=function(t,e){return P.current.useEffect(t,e)},Se.useId=function(){return P.current.useId()},Se.useImperativeHandle=function(t,e,n){return P.current.useImperativeHandle(t,e,n)},Se.useInsertionEffect=function(t,e){return P.current.useInsertionEffect(t,e)},Se.useLayoutEffect=function(t,e){return P.current.useLayoutEffect(t,e)},Se.useMemo=function(t,e){return P.current.useMemo(t,e)},Se.useReducer=function(t,e,n){return P.current.useReducer(t,e,n)},Se.useRef=function(t){return P.current.useRef(t)},Se.useState=function(t){return P.current.useState(t)},Se.useSyncExternalStore=function(t,e,n){return P.current.useSyncExternalStore(t,e,n)},Se.useTransition=function(){return P.current.useTransition()},Se.version="18.3.1",Se}();var Ae,Ce=xe.exports;
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";function e(t,n){var r=f();return(e=function(t,e){return r[t-=194]})(t,n)}var n,r,s,o,i,a,c,d,l,u,p,h;function f(){var t=["4689210oXbJjw","VIEWABLE","DESKTOP","6337200zBXzhd","POPUP","7sFZcPh","1666162ZEogsa","37064DwfsVg","TEXT","BANNER","NATIVE","VIDEO","WEB","INTERSTITIAL","CLICK","192320jfxzuN","8ThiqFr","MOBILE","783238aGLwKh","TABLET","100722RVBrhP","972tmOzWS"];return(f=function(){return t})()}!function(t){for(var n=e,r=t();;)try{if(431076===-parseInt(n(202))/1+parseInt(n(212))/2+-parseInt(n(204))/3*(-parseInt(n(200))/4)+-parseInt(n(199))/5+parseInt(n(206))/6*(-parseInt(n(211))/7)+parseInt(n(213))/8*(parseInt(n(205))/9)+parseInt(n(209))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f),(r=n||(n={}))[(s=e)(215)]="BANNER",r.POPUP=s(210),r.INTERSTITIAL=s(197),r.NATIVE=s(194),r[s(195)]=s(195),r[s(214)]=s(214),(i=o||(o={}))[(a=e)(196)]=a(196),i[a(201)]=a(201),d=c||(c={}),l=e,d.VIEWABLE=l(207),d.CLICK=l(198),p=u||(u={}),h=e,p.DESKTOP=h(208),p.MOBILE=h(201),p.TABLET=h(203);const g=m;function m(t,e){const n=v();return(m=function(t,e){return n[t-=346]})(t,e)}!function(t){const e=m,n=t();for(;;)try{if(488517===-parseInt(e(356))/1*(parseInt(e(364))/2)+-parseInt(e(347))/3+-parseInt(e(411))/4+-parseInt(e(407))/5+parseInt(e(395))/6*(-parseInt(e(396))/7)+parseInt(e(417))/8*(-parseInt(e(378))/9)+-parseInt(e(406))/10*(-parseInt(e(351))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class I{static[g(373)](){const t=g;return typeof window!==t(392)&&typeof document!==t(392)}static[g(348)](){return!this[g(373)]()}static[g(410)](){return this.isBrowser()&&void 0!==document.readyState}static safeGetElementById(t){return this[g(410)]()?document.getElementById(t):null}static safeQuerySelector(t){const e=g;return this.canUseDOM()?document[e(409)](t):null}static[g(408)](t){const e=g;return this[e(410)]()?Array[e(366)](document[e(377)](t)):[]}static[g(403)](t){const e=g;return this[e(410)]()?document[e(357)](t):null}static[g(370)](t,e,n,r){const s=g;this[s(410)]()&&t&&t[s(352)](e,n,r)}static[g(368)](t,e,n,r){const s=g;this[s(410)]()&&t&&t[s(354)](e,n,r)}static[g(413)](t,e){return this[g(373)]()?window[t]??e:e}static[g(401)](t,e){return this[g(410)]()?document[t]??e:e}static safeWindowOpen(t,e,n){const r=g;return this[r(373)]()?window[r(397)](t,e,n):null}static[g(393)](t){const e=g;return this[e(373)]()&&t?window[e(363)](t):null}static[g(405)](){const t=g;return!!this[t(410)]()&&"loading"!==document[t(355)]}static[g(398)](){return new Promise(t=>{const e=m;this[e(410)]()?this[e(405)]()?t():this[e(370)](document,e(380),()=>t()):t()})}static safeApplyStyles(t,e){const n=g;this[n(410)]()&&t&&Object[n(372)](e)[n(367)](([e,r])=>{const s=n;t[s(350)][s(362)](e,r)})}static safeAddClass(t,e){const n=g;this.canUseDOM()&&t&&t[n(400)][n(412)](e)}static[g(361)](t,e){const n=g;this.canUseDOM()&&t&&t.classList[n(365)](e)}static[g(416)](t,e){const n=g;this[n(410)]()&&t&&(t[n(394)]=e)}static[g(353)](t,e){this[g(410)]()&&t&&(t.innerHTML=e)}static[g(388)](t,e){const n=g;this[n(410)]()&&t&&e&&t[n(379)](e)}static safeRemoveChild(t,e){const n=g;this[n(410)]()&&t&&e&&t[n(385)](e)}static getPageInfo(){const t=g;return{url:this[t(413)](t(376),{href:""})[t(349)],title:this.getDocumentProperty("title",""),referrer:this[t(401)](t(399),"")}}static[g(381)](){const t=g;return{width:this[t(413)]("innerWidth",0),height:this.getWindowProperty(t(391),0),pixelRatio:this[t(413)](t(375),1)}}static getScrollInfo(){const t=g;return{scrollTop:this[t(410)]()?window.pageYOffset||document.documentElement[t(390)]:0,scrollLeft:this[t(413)](t(387),0)}}static async waitForElement(t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this.canUseDOM())throw new Error(n(359));const i=document.getElementById(t);return i?(o&&console[n(383)](n(371)+t),i):(o&&console.log(n(384)+t+n(419)+r+n(386)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(415)](r/s),l=()=>{const n=a;c++;const u=document[n(346)](t);if(u)return o&&console[n(383)](n(360)+t+" ("+c+n(404)+c*s+n(374)),void e(u);if(c>=d){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+'"\n \n다음을 확인해보세요:\n1. HTML에 id="'+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+r+n(389)+c+n(369);return o&&console.error(e),void i(new Error(e))}o&&c%10==0&&console[n(383)](n(382)+t+" ("+c+"/"+d+")");const p=Math.min(s*Math[n(414)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[g(358)](t,e={}){const n=g,r=t[n(420)](t=>this[n(418)](t,e));return Promise[n(402)](r)}}function v(){const t=["⏳ 컨테이너 대기 중: ","log","⏳ 컨테이너 대기 시작: ","removeChild","ms)","pageXOffset","safeAppendChild","ms (","scrollTop","innerHeight","undefined","safeGetComputedStyle","textContent","126gnQKzj","153496frTeXL","open","waitForDOM","referrer","classList","getDocumentProperty","all","safeCreateElement","번째 시도, ","isDOMReady","10WfeqwG","1200570RcxCzg","safeQuerySelectorAll","querySelector","canUseDOM","3543464HjKHzy","add","getWindowProperty","pow","ceil","safeSetTextContent","7128oVrgjg","waitForElement"," (최대 ","map","getElementById","436005wcrYDc","isSSR","href","style","40138835HWvOWC","addEventListener","safeSetInnerHTML","removeEventListener","readyState","1rwKdWg","createElement","waitForElements","DOM을 사용할 수 없는 환경입니다.","✅ 컨테이너 발견: ","safeRemoveClass","setProperty","getComputedStyle","970192ojYdxb","remove","from","forEach","safeRemoveEventListener","번 시도)","safeAddEventListener","✅ 컨테이너 즉시 발견: ","entries","isBrowser","ms 경과)","devicePixelRatio","location","querySelectorAll","9531okxghf","appendChild","DOMContentLoaded","getViewportInfo"];return(v=function(){return t})()}const y=b;function b(t,e){const n=E();return(b=function(t,e){return n[t-=492]})(t,e)}!function(t){const e=b,n=t();for(;;)try{if(506715===parseInt(e(508))/1*(-parseInt(e(496))/2)+-parseInt(e(492))/3+parseInt(e(506))/4*(parseInt(e(493))/5)+parseInt(e(497))/6+parseInt(e(500))/7*(-parseInt(e(498))/8)+parseInt(e(504))/9*(-parseInt(e(499))/10)+parseInt(e(494))/11*(parseInt(e(505))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(E);const w=y(501);function k(){return w}function E(){const t=["1680ybdxNs","20NXMpxk","2492YAGgJZ",'"3.0.8"',"userAgent"," AdStageSDK/","3761622OObIip","572496GLMrgb","102136DpBcbQ","AdStageSDK/","807ShMTCp","2921424LNBNTo","55IKfVoN","341NdhbPx","undefined","518mhpSHE","5042340OVRMwF"];return(E=function(){return t})()}function x(t,e){const n=A();return(x=function(t,e){return n[t-=175]})(t,e)}const S=x;function A(){const t=["round","toLowerCase","SSR"," .adstage-slider-wrapper","pixelRatio","1.0.0","platform","safeQuerySelector","generateDeviceId","now","10632BoTNKO","6972EXHPOK","generateSessionId","getBoundingClientRect","21XJaIAC","toString","6170DlflgQ","getScrollInfo","245wjuhyT","substr","ssr_session_","getItem","1937216HqivgC","session_","scrollTop","left","random","top","4626GpgsHs","web","width","getPlatform","android","432213yfjica","1572Bxhalu","language","isMobile","8392560DYcfrw","resolvedOptions","UTC","getViewportInfo","setItem","DateTimeFormat","effectiveType","unknown","device_","ios","userAgent","732JCILxH","isBrowser","adstage_session_id","ssr_device_","safeGetElementById","adstage_device_id","test","timeZone","connection","desktop"];return(A=function(){return t})()}!function(t){const e=x,n=t();for(;;)try{if(373597===parseInt(e(186))/1+-parseInt(e(187))/2+-parseInt(e(222))/3*(parseInt(e(201))/4)+parseInt(e(229))/5*(parseInt(e(221))/6)+parseInt(e(225))/7*(parseInt(e(175))/8)+parseInt(e(181))/9*(parseInt(e(227))/10)+-parseInt(e(190))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);class T{static[S(219)](){const t=S;if(!I[t(202)]())return t(204)+Date.now();const e=localStorage.getItem("adstage_device_id");if(e)return e;const n=t(198)+Math[t(179)]()[t(226)](36)[t(230)](2,9)+"_"+Date.now();return localStorage.setItem(t(206),n),n}static[S(223)](){const t=S;if(!I.isBrowser())return t(231)+Date[t(220)]();const e=sessionStorage[t(232)](t(203));if(e)return e;const n=t(176)+Math.random()[t(226)](36)[t(230)](2,9)+"_"+Date.now();return sessionStorage[t(194)]("adstage_session_id",n),n}static[S(189)](){const t=S;return!!I.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(200)])}static[S(184)](){const t=S;if(!I[t(202)]())return t(182);const e=navigator[t(200)][t(212)]();return/iphone|ipad|ipod/[t(207)](e)?t(199):/android/[t(207)](e)?t(185):T[t(189)]()?"web":t(210)}static collectDeviceInfo(){const t=S,e=I[t(193)]();return{deviceId:T[t(219)](),sessionId:T.generateSessionId(),osVersion:I[t(202)]()?navigator.platform:t(213),deviceModel:I[t(202)]()?navigator[t(217)]:t(213),appVersion:t(216),sdkVersion:k(),language:I.isBrowser()&&navigator[t(188)]||"ko",country:"KR",ipAddress:"",userAgent:I[t(202)]()?navigator[t(200)]:t(213),timezone:I[t(202)]()?Intl[t(195)]()[t(191)]()[t(208)]:t(192),viewportWidth:e[t(183)],viewportHeight:e.height,screenWidth:I[t(202)]()?screen[t(183)]:0,screenHeight:I[t(202)]()?screen.height:0,colorDepth:I[t(202)]()?screen.colorDepth:24,pixelRatio:e[t(215)],connectionType:I[t(202)]()&&navigator[t(209)]?.[t(196)]||t(197),platform:T[t(184)]()}}static getSlotPosition(t){const e=S;let n=I[e(205)](t);if(!n){const r=I[e(218)]("#"+t+e(214));r&&(n=r)}if(!n&&(n=I.safeQuerySelector('[data-adstage-slot-id="'+t+'"]')),!n)return"unknown";const r=n[e(224)](),s=I[e(228)]();return"x:"+Math.round(r[e(178)])+",y:"+Math[e(211)](r[e(180)]+s[e(177)])}}const C=R;function R(t,e){const n=D();return(R=function(t,e){return n[t-=175]})(t,e)}function D(){const t=["User-Agent","5418670hLdpZe","3840624xIEZNT","contentType","394510tLudAk","387441QdZaYd","18ByPvCc","createForEvents","2NWMwSK","54672pqdgSm","1112584fHmukz","userAgent","API key is required","954981eDEXea","create","7cpTtSz"];return(D=function(){return t})()}!function(t){const e=R,n=t();for(;;)try{if(228526===parseInt(e(182))/1+parseInt(e(185))/2*(parseInt(e(190))/3)+parseInt(e(186))/4+parseInt(e(181))/5*(-parseInt(e(183))/6)+parseInt(e(176))/7*(-parseInt(e(187))/8)+parseInt(e(179))/9+-parseInt(e(178))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class _{static create(t,e){const n=R;if(!t)throw new Error(n(189));const r={"x-api-key":t,"Content-Type":e?.[n(180)]||"application/json"};return"undefined"!=typeof navigator&&(r[n(177)]=e?.[n(188)]||navigator[n(188)]),r}static[C(184)](t,e){const n=C,r=_[n(175)](t);return e?.[n(188)]&&(r[n(177)]=e[n(188)]),r}}const P=L;function L(t,e){const n=B();return(L=function(t,e){return n[t-=207]})(t,e)}function B(){const t=["🚀 AdvertisementEventTracker: Processing ","30792ZwUYIo","✅ Successfully tracked advertisement event: ","4474930QPsKFM","height"," in slot ","getPageInfo","sessionId",". Skipping event tracking to prevent incorrect adType.","2722ZlBXSO","querySelector","now","/advertisements/events/","slots","createForEvents","apiKey","adType","parseNumericValue","...","920PkVAEu","text","get","warn","3175875BMNhtc","getSlotPosition","🔍 Debug info:","status"," - ","debug","❌ Failed to track advertisement event:"," (containerId: ","507cEnPgm","platform","184JhiYtQ","getElementById","174545cAxbyx","deviceId","⚠️ Slot not found for slotId: ","error","VIEWABLE","statusText","164418GPmtgM","NOT_SET"," for ad ","title"," event for ad ","API request failed: ","). Skipping event tracking.","containerId","url","POST","1263136FRJKTK","baseUrl","log","stringify"];return(B=function(){return t})()}!function(t){const e=L,n=t();for(;;)try{if(712964===-parseInt(e(252))/1+-parseInt(e(220))/2*(parseInt(e(242))/3)+-parseInt(e(207))/4+-parseInt(e(230))/5*(-parseInt(e(212))/6)+-parseInt(e(246))/7*(-parseInt(e(244))/8)+parseInt(e(234))/9+-parseInt(e(214))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);class N{constructor(t,e,n,r){const s=L;this[s(208)]=t,this[s(226)]=e,this.debug=n,this[s(224)]=r}async trackAdvertisementEvent(t,e,n){const r=L;try{this[r(239)]&&console[r(209)](r(211)+n+r(256)+t+r(216)+e);const s=this[r(224)][r(232)](e);if(!s)return void(this[r(239)]&&console[r(233)](r(248)+e+r(219)));if(!(document[r(245)](s[r(259)])||document[r(221)]('[data-adstage-slot-id="'+e+'"]')))return void(this[r(239)]&&console.warn("⚠️ DOM element not found for slotId: "+e+r(241)+s[r(259)]+r(258)));const o=T.collectDeviceInfo(),i={adType:s[r(227)],platform:o[r(243)],deviceId:o[r(247)],deviceInfo:o,pageUrl:I[r(217)]()[r(260)],pageTitle:I[r(217)]()[r(255)],referrer:I[r(217)]().referrer,slotId:e,slotPosition:T[r(235)](s.containerId),slotWidth:N[r(228)](s.width),slotHeight:N[r(228)](s[r(215)]),sessionId:o[r(218)],pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:k(),timestamp:Date[r(222)]()},...n===c[r(250)]&&{isViewable:!0,iabCompliant:!0}},a=this[r(208)]+"/advertisements/events/"+t+"/"+n,d=_[r(225)](this[r(226)],i);this.debug&&(console.log("🚀 Sending advertisement event: "+n+r(254)+t,{url:a,headers:d,eventData:i}),console[r(209)]("🌐 Full API call details:",{method:r(261),url:a,hasApiKey:!!this.apiKey,bodySize:JSON[r(210)](i).length}));const l=await fetch(a,{method:r(261),headers:d,body:JSON.stringify(i)});if(this[r(239)]&&console.log("📡 API Response Status: "+l[r(237)]+" "+l[r(251)],{url:a,ok:l.ok}),!l.ok){const t=await l[r(231)]();throw new Error(r(257)+l[r(237)]+" "+l[r(251)]+r(238)+t)}this[r(239)]&&console[r(209)](r(213)+n+r(254)+t)}catch(s){console[r(249)](r(240),s),console[r(249)](r(236),{baseUrl:this[r(208)],apiKey:this[r(226)]?this[r(226)].substring(0,8)+r(229):r(253),url:this[r(208)]+r(223)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[P(228)](t){if("number"==typeof t)return t;if("string"==typeof t){const e=parseFloat(t.replace(/px$/,""));return isNaN(e)?0:e}return 0}}function U(t,e){var n=O();return(U=function(t,e){return n[t-=426]})(t,e)}var z=U;function O(){var t=["isDocumentVisible","1807060YNprlI","IntersectionObserver","13874706fnGLut","observe","50lfiZHa","element","visibilityState","7097552iuncYl","observer","warn","442182nVXUzK","hidden","162082NdXPJT","3gUvylu","intersectionRatio","580760mKWjVs","initIntersectionObserver","forEach","handleIntersection","43344sgjTUP","disconnect","0px","onViewableCallback","IntersectionObserver not supported, viewability tracking disabled","isViewableTriggered","10VRfdyf"];return(O=function(){return t})()}!function(t){for(var e=U,n=t();;)try{if(668785===-parseInt(e(431))/1+parseInt(e(434))/2+parseInt(e(432))/3*(parseInt(e(446))/4)+parseInt(e(450))/5*(parseInt(e(429))/6)+parseInt(e(438))/7+parseInt(e(426))/8+-parseInt(e(448))/9*(parseInt(e(444))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(O);class M{constructor(t,e){var n=U;this.observer=null,this.isViewableTriggered=!1,this[n(451)]=t,this[n(441)]=e,this[n(435)]()}[z(435)](){var t=z;t(447)in window?(this[t(427)]=new IntersectionObserver(e=>this[t(437)](e),{threshold:.5,rootMargin:t(440)}),this.observer[t(449)](this[t(451)])):console[t(428)](t(442))}[z(437)](t){var e=z;t[e(436)](t=>{var n=e;t[n(433)]>=.5&&this[n(445)]()&&!this.isViewableTriggered&&(this[n(443)]=!0,this[n(441)]&&this[n(441)]())})}isDocumentVisible(){var t=z;return!document[t(430)]&&"visible"===document[t(452)]}destroy(){var t=z;this.observer&&(this[t(427)][t(439)](),this.observer=null)}}const V=K;!function(t){const e=K,n=t();for(;;)try{if(861986===parseInt(e(196))/1+-parseInt(e(208))/2+parseInt(e(204))/3*(parseInt(e(197))/4)+-parseInt(e(209))/5*(-parseInt(e(200))/6)+-parseInt(e(189))/7*(-parseInt(e(188))/8)+parseInt(e(205))/9+parseInt(e(190))/10*(-parseInt(e(206))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);const j={production:V(187),beta:"https://beta-api.adstage.app"};function F(){const t=["advertisements","/advertisements/list","13938XcTVaV","/advertisements/events","startsWith","getBaseUrl","33AeexJc","9115371bPNHMM","3597lKcrvy","events","3344924gfVPZi","655LdCGRy","baseUrl","https://api.adstage.app","1562664kvTJyV","14zrqUFA","16130EGNOsN","list","setBaseUrl","custom","detail","production","164902BlYNja","432436jbnNHQ"];return(F=function(){return t})()}function K(t,e){const n=F();return(K=function(t,e){return n[t-=186]})(t,e)}V(195);const H={advertisements:{list:V(199),detail:"/advertisements",events:V(201)},events:{track:"/events/track"}};class W{constructor(t){const e=V;this.advertisements={list:()=>""+this[e(186)]+H[e(198)][e(191)],detail:t=>""+this[e(186)]+H[e(198)][e(194)]+"/"+t,events:(t,n)=>""+this[e(186)]+H[e(198)].events+"/"+t+"/"+n},this[e(207)]={track:()=>""+this[e(186)]+H[e(207)].track},this[e(186)]=t||j[e(195)]}[V(192)](t){this.baseUrl=t}[V(203)](){return this[V(186)]}[V(193)](t){const e=V;return""+this[e(186)]+(t[e(202)]("/")?t:"/"+t)}}const J=new W;var Y=Z;function Z(t,e){var n=Q();return(Z=function(t,e){return n[t-=391]})(t,e)}function Q(){var t=["82870TCbQpF","3uXZzbI","trackSlideViewable","🎯 Triggering VIEWABLE event for slide change: ad ","log","53891nrvfOD"," (index: 0) in slot: ","31608rLzQFi","120550DPWonc",") in slot: ","64WSldBa","trackInitialSlideViewable","VIEWABLE","1634427kpxBHy","819IOWeIk","506UYxKEa","1025228hEncMt","_id","2764590ESNmDw"];return(Q=function(){return t})()}!function(t){for(var e=Z,n=t();;)try{if(378842===parseInt(e(406))/1+-parseInt(e(398))/2*(-parseInt(e(402))/3)+-parseInt(e(392))/4*(parseInt(e(409))/5)+parseInt(e(400))/6+parseInt(e(396))/7*(-parseInt(e(408))/8)+-parseInt(e(395))/9+parseInt(e(401))/10*(parseInt(e(397))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class X{static[Y(403)](t,e,n,r,s=!1){var o=Y;s&&console.log(o(404)+t[o(399)]+" (index: "+n+o(391)+e.id),r(t[o(399)],e.id,c[o(394)])}static[Y(393)](t,e,n,r=!1){var s=Y;r&&console[s(405)]("🎯 Triggering initial VIEWABLE event: ad "+t[s(399)]+s(407)+e.id),n(t._id,e.id,c[s(394)])}}const G=$;function q(){const t=["log","toLowerCase","CLICK","addClickEventsBatch","click","style","10dRoNEf","1874454MNTxCd","7wrbotT","pointer","addEventListener","_blank","addClickEvent","7578904RkFeMr","10782000xTOEaC","16LrINlj","open"," -> ","adType","stopPropagation","cursor","_id","1461592eJykkS","addClickEventForRenderer","linkUrl","255ZonKub","144996MvMjlZ","162438XPKYlr","🔗 ","isClickable","26584866YMbQHw"," ad clicked: "];return(q=function(){return t})()}function $(t,e){const n=q();return($=function(t,e){return n[t-=464]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(954745===-parseInt(e(469))/1+-parseInt(e(486))/2+parseInt(e(473))/3*(-parseInt(e(494))/4)+parseInt(e(472))/5*(parseInt(e(474))/6)+-parseInt(e(487))/7*(-parseInt(e(492))/8)+parseInt(e(493))/9*(-parseInt(e(485))/10)+parseInt(e(477))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class tt{static[G(491)](t,e,n,r,s=!1,o){const i=G;e[i(471)]&&(t[i(484)][i(467)]=i(488),t[i(489)](i(483),t=>{const a=i;if(t.preventDefault(),t[a(466)](),r&&r(e[a(468)],n.id,c[a(481)]),window[a(495)](e[a(471)],"_blank"),s){const t=o||String(n[a(465)])[a(480)]();console.log("🔗 "+t+a(478)+e[a(468)]+" -> "+e[a(471)])}}))}static[G(470)](t,e,n,r,s=!1,o){const i=G;e[i(471)]&&(t[i(484)][i(467)]="pointer",t[i(489)](i(483),t=>{const a=i;t.preventDefault(),t[a(466)]();if(r()(e[a(468)],n.id,c[a(481)]),window[a(495)](e[a(471)],a(490)),s){const t=o||String(n[a(465)])[a(480)]();console[a(479)](a(475)+t+a(478)+e[a(468)]+a(464)+e[a(471)])}}))}static addClickEventForSlider(t,e,n,r,s=!1,o){this[G(491)](t,e,n,r,s,o)}static[G(476)](t){return Boolean(t[G(471)])}static[G(482)](t,e,n,r,s=!1,o){t.forEach((t,i)=>{const a=$,c=e[i];c&&this[a(491)](t,c,n,r,s,o)})}}const et=nt;function nt(t,e){const n=st();return(nt=function(t,e){return n[t-=371]})(t,e)}!function(t){const e=nt,n=t();for(;;)try{if(550681===-parseInt(e(464))/1*(parseInt(e(461))/2)+parseInt(e(412))/3+parseInt(e(406))/4*(-parseInt(e(410))/5)+-parseInt(e(474))/6*(parseInt(e(430))/7)+parseInt(e(462))/8*(-parseInt(e(471))/9)+parseInt(e(465))/10*(-parseInt(e(480))/11)+parseInt(e(384))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class rt{static[et(435)](t,e){const r=et,s=document[r(375)](r(414));switch(s[r(390)]=r(469)+String(t[r(463)])[r(371)](),s[r(481)](r(442),e[r(486)]),s[r(481)](r(433),t.id),s[r(437)][r(376)]="block",s.style.width=r(456),s[r(437)][r(404)]=r(484),t[r(463)]){case n[r(428)]:if(e[r(387)]){const t=document[r(375)](r(419));t[r(434)]=e[r(387)],t.style.width=r(456),t[r(437)][r(404)]=r(484),t[r(437)][r(388)]="cover",s[r(409)](t)}else s.style[r(404)]="100px",s[r(437)][r(467)]=r(451),s[r(437)][r(447)]=r(424),s[r(485)]="Banner Ad";break;case n[r(483)]:if(e.videoUrl){const t=document[r(375)](r(454));t[r(434)]=e[r(468)],t[r(437)].width="100%",t[r(437)][r(404)]=r(484),s[r(409)](t)}else s[r(437)][r(404)]=r(401),s.style[r(467)]=r(400),s[r(437)][r(447)]=r(415),s[r(485)]=r(459),s[r(437)].color="white";break;case n[r(476)]:if(e[r(485)]){const t=document[r(375)](r(414));t[r(485)]=e[r(485)]||"",t[r(437)][r(397)]=r(374),t[r(437)][r(450)]=r(440),s.appendChild(t)}else s[r(437)][r(404)]=r(477),s[r(437)].padding="8px",s[r(485)]=r(438);break;default:s[r(437)].height="100px",s[r(437)][r(447)]="1px dashed #ccc",s.style.backgroundColor="#f9f9f9",s[r(485)]=t[r(463)]+r(413)}return s}static[et(403)](t,e,r,s,o=!1){const i=et,a=document.createElement("div");a[i(390)]=i(444);const c={position:"relative",overflow:i(472)};if(t.width&&0!==t[i(479)]){let e;e=typeof t[i(479)]===i(380)&&(t[i(479)][i(389)]("px")||t[i(479)].includes("%"))?t[i(479)]:t[i(479)]+"px",c[i(479)]=e,c.display=i(460)}else c[i(376)]="inline-block";if(t[i(404)]&&0!==t.height){const e=typeof t[i(404)]===i(380)?t[i(404)]:t.height+"px";c[i(404)]=e}Object[i(478)](c)[i(429)](([t,e])=>{const n=i;a[n(437)][n(372)](t,e)});const d=!t[i(479)]||0===t.width,l=!t[i(404)]||0===t[i(404)];if(d||l){const n=document[i(375)]("div");if(n[i(437)][i(443)]=i(378),!d&&t[i(479)]){let e;e=typeof t[i(479)]===i(380)&&(t[i(479)][i(389)]("px")||t[i(479)][i(389)]("%"))?t[i(479)]:t[i(479)]+"px",n[i(437)][i(479)]=e,n[i(437)][i(417)]=i(439)}document[i(436)][i(409)](n);let r=0,s=0;e.forEach(e=>{const o=i,a=this[o(435)](t,e);n.appendChild(a);const c=a[o(425)]();c[o(479)]>r&&(r=c.width),c.height>s&&(s=c.height),n.removeChild(a)}),d&&r>0&&(a.style[i(479)]=r+"px",c.width=r+"px"),l&&s>0&&(a.style[i(404)]=s+"px",c[i(404)]=s+"px"),document.body[i(423)](n)}const u=[...e,e[0]],p=document[i(375)](i(414));p[i(390)]=i(408);const h={display:i(407),transition:"transform 0.4s ease-out",width:100*u[i(383)]+"%"};t[i(404)]&&0!==t[i(404)]&&(h.height=i(456)),Object[i(478)](h)[i(429)](([t,e])=>{const n=i;p[n(437)][n(372)](t,e)}),u[i(429)]((e,n)=>{const r=i,a=document.createElement(r(414));a[r(390)]=r(482);const c={width:100/u[r(383)]+"%","flex-shrink":"0",display:r(407),"align-items":r(398),"justify-content":r(398)};t[r(404)]&&0!==t[r(404)]&&(c[r(404)]="100%"),Object[r(478)](c)[r(429)](([t,e])=>{const n=r;a[n(437)][n(372)](t,e)});const d=this[r(435)](t,e);tt.addClickEventForSlider(d,e,t,s,o,String(t[r(463)])[r(371)]()),a.appendChild(d),p[r(409)](a)});const f=e[i(426)](t=>t[i(463)]===n[i(476)])?null:this[i(453)](e[i(383)]);let g=0;const m=e.length,I=1e3*(r?.[i(446)]||3),v=(n,r=!1)=>{const a=i;g=n,r?p.style[a(457)]=a(373):p[a(437)][a(457)]="transform 0.4s ease-out",p[a(437)][a(402)]=a(379)+100/u[a(383)]*g+"%)";const c=g===m?0:g;if(f){f[a(381)](".adstage-dot")[a(429)]((t,e)=>{const n=a,r=t;e===c?(r[n(420)][n(470)](n(449)),r.style[n(455)]=n(385),r[n(437)][n(405)]=n(385),r[n(437)][n(411)]="1"):(r.classList[n(391)](n(449)),r.style.background=n(475),r[n(437)].borderColor=n(396),r[n(437)][n(411)]="0.7")})}X[a(473)](e[c],t,c,s,o)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[i(381)](i(395))[i(429)]((t,e)=>{const n=i;t.addEventListener(n(392),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[i(421)]("mouseenter",()=>{clearInterval(b)}),a[i(421)](i(466),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[i(386)](p,v,()=>g,m,y),a[i(409)](p),f&&a[i(409)](f),v(0),(!t[i(479)]||0===t[i(479)])&&setTimeout(()=>{const e=i,n=p[e(441)][0];if(n){const r=n[e(441)][0];if(r){const n=r[e(425)]();a[e(437)][e(479)]=n[e(479)]+"px",(!t[e(404)]||0===t[e(404)])&&(a.style[e(404)]=n[e(404)]+"px"),a[e(437)][e(418)]="hidden"}}},10),a}static[et(453)](t){const e=et,n=document[e(375)](e(414));n[e(390)]=e(432),n[e(437)][e(443)]=e(445);for(let r=0;r<t;r++){const t=document[e(375)](e(382));t.className="adstage-dot",t[e(437)][e(443)]=e(458),t[e(421)](e(427),()=>{const n=e;!t.classList.contains(n(449))&&(t[n(437)][n(405)]=n(377),t[n(437)][n(411)]=n(394))}),t[e(421)]("mouseleave",()=>{const n=e;!t.classList.contains(n(449))&&(t[n(437)][n(405)]=n(396),t[n(437)][n(411)]="0.7")}),n.appendChild(t)}return n}static[et(386)](t,e,n,r,s){const o=et;let i=0,a=!1;t[o(421)](o(416),t=>{const e=o;i=t[e(431)][0][e(448)],a=!0}),t[o(421)](o(399),t=>{a&&t[o(393)]()}),t[o(421)]("touchend",t=>{const c=o;if(!a)return;a=!1;const d=t[c(422)][0][c(448)],l=i-d;if(Math[c(452)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function st(){const t=["borderColor","28BNrGxi","flex","adstage-slide-container","appendChild","214280TGVUll","opacity","463938vGFQrj"," Ad","div","1px solid #666","touchstart","whiteSpace","overflow","img","classList","addEventListener","changedTouches","removeChild","1px dashed #ccc","getBoundingClientRect","every","mouseenter","BANNER","forEach","763mGjPZZ","touches","adstage-dots","data-adstage-slot-id","src","createSimpleAdElement","body","style","Text Ad","normal","14px","children","data-adstage-ad-id","cssText","adstage-slider-wrapper","\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 ","autoSlideInterval","border","clientX","active","fontSize","#f0f0f0","abs","createMinimalDotIndicator","video","background","100%","transition","\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 ","Video Ad","inline-block","86kHwQHO","8FlCfZe","adType","21784JSrUcx","2290270nzkyDf","mouseleave","backgroundColor","videoUrl","adstage-ad adstage-","add","5130396DkSaEI","hidden","trackSlideViewable","612xnQPsa","transparent","TEXT","50px","entries","width","44BJUpWN","setAttribute","adstage-slide","VIDEO","auto","textContent","_id","toLowerCase","setProperty","none","8px","createElement","display","#999999","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","translateX(-","string","querySelectorAll","button","length","37560108fPCaYh","#666666","addTouchSupport","imageUrl","objectFit","includes","className","remove","click","preventDefault","0.9",".adstage-dot","#cccccc","padding","center","touchmove","#000","200px","transform","createSliderContainer","height"];return(st=function(){return t})()}function ot(){const t=["clearAdViewable","318750QknOvt","viewableTracker","3822483EIRfrL","30564KoHoBD","has","1323483BASrVQ"," in slot ","3189936mnUKKD","clear","39828oPrtMj","365205AKIZcD","log","235OCsYLS","✅ New viewable recorded for ad ","delete","isDuplicateViewable","Duplicate viewable blocked for ad "];return(ot=function(){return t})()}const it=at;function at(t,e){const n=ot();return(at=function(t,e){return n[t-=492]})(t,e)}!function(t){const e=at,n=t();for(;;)try{if(282539===parseInt(e(499))/1+-parseInt(e(492))/2+-parseInt(e(494))/3+-parseInt(e(498))/4*(-parseInt(e(501))/5)+parseInt(e(507))/6+-parseInt(e(509))/7+parseInt(e(496))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ot);class ct{static[it(504)](t,e,n=!1){const r=it,s=t+"_"+e;return ct.viewableTracker[r(493)](s)?(n&&console[r(500)](r(505)+t+r(495)+e),!0):(ct[r(508)].add(s),n&&console[r(500)](r(502)+t+r(495)+e),!1)}static[it(497)](){const t=it;ct[t(508)][t(497)]()}static[it(506)](t,e){const n=it,r=t+"_"+e;ct[n(508)][n(503)](r)}}function dt(t,e){const n=lt();return(dt=function(t,e){return n[t-=167]})(t,e)}function lt(){const t=["div",'[class*="container"]',"debug","1px solid rgba(0, 0, 0, 0.08)","752130kkYIzK","toLowerCase","placeholderMode","innerHTML","data-adstage-empty","getComputedStyle","alignItems","hasAttribute","cssText","setAttribute","string","advertisementEventTracker","352756ZpPzav","\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 ","data-adstage-slot","🔄 Starting advertisement event tracking: ","auto","6px","invisible","px)","center","querySelector","11px","flex",'[class*="banner"]',"388888jQZjWK",'[data-adstage-container="true"]'," in slot ","fontFamily","renderFallback","adstage-slot adstage-","📦 Placeholder created for ","minHeight","<span>Loading ","width","rgba(0, 0, 0, 0.02)","adstage-official",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"rgba(248, 249, 250, 0.5)","applyPlaceholderStyle"," ad...</span>","adstage-slot","100%","backgroundColor","borderRadius","adstage-slot adstage-empty adstage-","✅ New viewable recorded for ad ","117061aBkngs","isDuplicateViewable","createEmptyContainer","#f9f9f9",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"block","justifyContent","transparent","appendChild","parentElement"," slot: ","isEmpty","adstage-class","getDefaultHeight","color","createElement","true","fontSize","display","getAttribute","closest"," for ad ","className","number","classList","VIEWABLE","460BEsKqS"," for ","data-adstage-container","getElementById","adType","getContainerHeight","📏 Using 100% height (container: ","📏 Using default height "," x "," container collapsed (","calculateAdSize",'[class*="ad"]',".adstage-",") - Mode: ","❌ Failed to track ","rgba(231, 76, 60, 0.1)","height","containerId","): ","contains","createEventTrackingCallback","opacity","3433707XLMDsh","filter","data-adstage-type","⚠️ Created empty ","3YiqqxU",".adstage-slot","200gzbEJw","error","1834480OlnGpE","style","border","27788cPKjCj","log","trackAdvertisementEvent","generic","\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 ","none","subtle"," event for ad ","4px","warn"];return(lt=function(){return t})()}ct[it(508)]=new Set;const ut=dt;!function(t){const e=dt,n=t();for(;;)try{if(386167===-parseInt(e(181))/1+parseInt(e(194))/2*(parseInt(e(268))/3)+parseInt(e(275))/4*(parseInt(e(242))/5)+parseInt(e(169))/6+parseInt(e(216))/7*(-parseInt(e(270))/8)+parseInt(e(264))/9+-parseInt(e(272))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt{constructor(t,e=!1,n){const r=dt;this[r(246)]=t,this[r(167)]=e,this[r(180)]=n||null}createPlaceholder(t,e,n,r){const s=dt,o=document[s(231)](s(285));o.id=e,o[s(238)]=s(199)+String(this[s(246)])[s(170)](),o[s(178)]("data-adstage-container","true"),o[s(178)](s(266),String(this.adType)),o[s(178)](s(183),e);const{width:i,height:a}=this[s(252)](t,n,r)||{width:s(211),height:this[s(229)]()};o[s(273)][s(203)]=i,o[s(273)][s(258)]=a;const c=r?.[s(171)]||n[s(171)]||"invisible";this[s(208)](o,c),t.appendChild(o),this.debug&&console[s(276)](s(200)+this.adType+s(226)+e+" ("+i+s(250)+a+s(255)+c)}[ut(208)](t,e){const n=ut;switch(e){case n(187):t[n(273)][n(212)]=n(223),t[n(273)].border=n(280),t.style[n(263)]="0",t.innerHTML="";break;case n(223):t[n(273)].backgroundColor=n(223),t[n(273)][n(274)]=n(280),t[n(273)].display=n(221),t.innerHTML="";break;case n(281):t[n(273)][n(212)]=n(204),t[n(273)][n(274)]=n(280),t[n(273)].borderRadius=n(283),t[n(273)][n(234)]=n(192),t[n(273)][n(175)]="center",t[n(273)][n(222)]="center",t[n(172)]=n(220);break;case"minimal":t[n(273)][n(212)]=n(207),t[n(273)][n(274)]=n(168),t[n(273)][n(213)]=n(186),t[n(273)][n(234)]=n(192),t[n(273)][n(175)]=n(189),t[n(273)][n(222)]="center",t[n(172)]=n(206);break;case n(167):t.style.border="2px dashed #e74c3c",t[n(273)][n(234)]="flex",t[n(273)][n(175)]=n(189),t[n(273)][n(222)]=n(189),t[n(273)][n(212)]=n(257),t[n(273)][n(230)]="#e74c3c",t[n(273)][n(197)]="monospace",t[n(273)][n(233)]=n(191),t[n(172)]=n(202)+this[n(246)]+" ad...</span>";break;default:t[n(273)].border="1px dashed #ccc",t[n(273)].display=n(192),t.style.alignItems=n(189),t[n(273)][n(222)]=n(189),t[n(273)].backgroundColor=n(219),t[n(273)].color="#666",t[n(172)]=n(202)+this[n(246)]+n(209)}}[ut(252)](t,e,n){const r=ut,s=e[r(203)],o=e.height;let i,a;if(i="number"==typeof s?s+"px":typeof s===r(179)?s:r(211),typeof o===r(239))a=o+"px";else if(typeof o===r(179)&&o!==r(211)&&"auto"!==o)a=o;else{const e=this.getContainerHeight(t);e>0?(a=r(211),(n?.[r(167)]||this[r(167)])&&console.log(r(248)+e+r(188))):(a=this[r(229)](),(n?.[r(167)]||this.debug)&&console[r(276)](r(249)+a+r(243)+this[r(246)]))}return{width:i,height:a}}[ut(247)](t){const e=ut,n=window[e(174)](t),r=parseFloat(n[e(258)]);if(!r||0===r){const r=parseFloat(n[e(201)]);if(r>0)return r;if(t[e(273)][e(258)]&&t[e(273)][e(258)]!==e(185)){const n=parseFloat(t[e(273)].height);if(n>0)return n}const s=t[e(235)](e(258));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[ut(262)](){return async(t,e,n)=>{const r=dt;if(n===c[r(241)]){if(ct[r(217)](t,e,this[r(167)]))return void(this[r(167)]&&console.log("🚫 Duplicate viewable blocked for ad "+t+r(196)+e));this[r(167)]&&console.log(r(215)+t+r(196)+e)}if(this[r(180)])try{this.debug&&console[r(276)](r(184)+n+r(237)+t+r(196)+e),await this[r(180)][r(277)](t,e,n),this.debug&&console[r(276)]("📊 Advertisement event tracked: "+n+r(237)+t+r(196)+e)}catch(e){this[r(167)]&&console[r(271)](r(256)+n+r(282)+t+":",e)}else this[r(167)]&&console[r(284)]("⚠️ AdvertisementEventTracker not available for "+n+" event")}}[ut(198)](t){const e=ut,n=document.getElementById(t.id);if(n){const r=[...[n[e(190)](e(195)),n[e(236)](e(195)),n][e(265)](t=>t&&t[e(176)](e(244))),...[n[e(236)](e(269)),n[e(236)](e(254)+String(this[e(246)])[e(170)]()),n[e(236)](e(253)),n[e(236)](e(193)),n[e(236)](e(286)),n[e(236)]('div[style*="height"]'),n[e(236)]('div[style*="min-height"]'),n[e(225)]][e(265)](Boolean)][0];if(r){let n="unknown";n=r.hasAttribute(e(244))?e(205):r[e(240)][e(261)](e(210))?e(228):e(278),r[e(273)][e(177)]+=e(182),r[e(172)]="",r[e(178)](e(173),e(232)),this[e(167)]&&console.warn("⚠️ "+this[e(246)]+e(251)+n+e(260)+t.id,r)}else this[e(218)](t)}t.advertisement=void 0,t[e(227)]=!0}createEmptyContainer(t){const e=ut,n=document[e(245)](t[e(259)]);if(n){n[e(172)]="";const r=document[e(231)]("div");r.id=t.id,r[e(238)]=e(214)+String(this[e(246)])[e(170)](),r.setAttribute(e(244),e(232)),r[e(178)](e(173),e(232)),r[e(178)]("data-adstage-slot",t.id),r[e(273)][e(177)]=e(279),n[e(224)](r),this[e(167)]&&console[e(284)](e(267)+this.adType+" container: "+t.id)}}[ut(276)](t,...e){const n=ut;this[n(167)]&&console[n(276)]("["+this[n(246)]+"] "+t,...e)}}function ht(){const t=["innerHTML","16:9","config"," with ","round","725816NLRtzi","title","status","alt","div","height","containerId","renderOptimizedBannerImage","cover","get","100%","toFixed","max","optimizeContainerForBannerAds","warn","BANNER","toString","1:1","default","3294978Qthptq","</div>","filter","forEach","from"," ads (optimized: ","Banner Ad","naturalHeight","Container not found: ","reduce","contain","debug","slideInterval","📦 Banner container dimensions: ","ratio","aspectRatio","3:2","optimizedHeight","abs","📸 Banner image dimensions: ","loadImageDimensions","4604157CRidXA","some","🎨 Banner image style applied: objectFit=","getDefaultHeight"," (strategy: ","3112976gJvJCF","createElement","onerror","3jHNrmP","🔧 Banner container optimized for ","6968020lstjVj","imageUrl","createEventTrackingCallback","2517030iKoQAM","10ShyKDv"," ads: ","Failed to calculate optimal banner size, using defaults:","fulfilled","applyOptimizedImageStyle"," (avg: ","borderRadius","getElementById","addClickEventForRenderer","5FsnrTh","1048099cwSfqx","Failed to load image: ","length","Image URL is not provided","adstage-ad adstage-banner-ad","Banner","getBoundingClientRect","backgroundColor","#f0f0f0","createSliderContainer","selectOptimalSizeStrategy","8px","values","name","common","set","error","appendChild","<div>","parentElement",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"dominant","calculateOptimalContainerSize","objectFit","❌ Failed to load optimized banner image:","className","🎠 Banner carousel created for slot: ","renderAdElement","average","img","naturalWidth","calculateAdSize","4:3","width","src","calculateOptimalHeight","style","Banner Advertisement","center","objectPosition","map","log","onload","count"];return(ht=function(){return t})()}const ft=gt;function gt(t,e){const n=ht();return(gt=function(t,e){return n[t-=397]})(t,e)}!function(t){const e=gt,n=t();for(;;)try{if(963663===parseInt(e(497))/1+-parseInt(e(486))/2*(parseInt(e(481))/3)+parseInt(e(483))/4+parseInt(e(496))/5*(-parseInt(e(452))/6)+parseInt(e(433))/7+parseInt(e(478))/8+parseInt(e(473))/9*(-parseInt(e(487))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class mt extends pt{constructor(t=!1,e){super(n[gt(448)],t,e)}[ft(476)](){return"250px"}async[ft(411)](t,e){const n=ft,r=document[n(494)](t[n(439)]);if(!r)return;const s=document[n(479)](n(437));s[n(409)]=n(501);const o=t.optimizedHeight,i=r[n(403)]||r;if(o)s[n(420)][n(417)]=n(443),s[n(420)][n(438)]=String(o);else{const e=t[n(430)],r={width:e?.[n(417)],height:e?.height},{width:o,height:a}=this[n(415)](i,r,{debug:this[n(463)]});s[n(420)][n(417)]=o,s.style[n(438)]=a}e.imageUrl?await this[n(440)](s,e,t):s[n(428)]=n(402)+(e[n(434)]||n(458))+n(453),tt.addClickEventForRenderer(s,e,t,()=>this[n(485)](),this[n(463)],n(502)),r.innerHTML="",r[n(401)](s)}async renderMultipleAds(t,e){const n=ft,r=document.getElementById(t[n(439)]);if(!r)throw new Error(n(460)+t[n(439)]);await this[n(446)](t,e);const s=this[n(485)](),o={autoSlideInterval:(t[n(430)]?.[n(464)]||5e3)/1e3,...t.config,optimizedHeight:t[n(469)],aspectRatio:t[n(467)]},i=rt[n(506)](t,e,o,s,this[n(463)]);i&&(r[n(428)]="",r.appendChild(i),this[n(463)]&&console[n(425)](n(410)+t.id+n(431)+e[n(499)]+n(457)+(t[n(469)]||n(451))+")"))}async[ft(406)](t,e){const n=ft;if(!t.length)return{width:n(443),height:this[n(476)](),aspectRatio:16/9};try{const r=(await Promise.allSettled(t.filter(t=>t[n(484)])[n(424)](t=>this[n(472)](t.imageUrl))))[n(454)](t=>t[n(435)]===n(490)).map(t=>t.value);if(0===r[n(499)])return{width:"100%",height:this[n(476)](),aspectRatio:16/9};const s=this[n(507)](r),o=this[n(419)](r,e,s);return this[n(463)]&&console[n(425)]("📐 Optimal banner container calculated: "+e+"x"+o+n(477)+s+")"),{width:n(443),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(447)](n(489),t),{width:n(443),height:this[n(476)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=ft;try{const r=document[n(494)](t[n(439)]),s=document[n(494)](t.id);if(!r||!s)return;const o=r[n(503)]()[n(417)]||300,i=await this.calculateOptimalContainerSize(e,o);s.style[n(438)]=i[n(438)],t[n(469)]=i.height,t[n(467)]=i[n(467)],this[n(463)]&&console[n(425)](n(482)+e.length+n(488)+i[n(438)])}catch(t){console[n(447)]("Banner container optimization failed, using default size:",t)}}[ft(507)](t){const e=ft,n=t[e(424)](t=>t[e(417)]/t[e(438)]),r=new Map;n.forEach(t=>{const n=e,s=(Math[n(432)](10*t)/10)[n(449)]();r.set(s,(r[n(442)](s)||0)+1)});const s=Math[e(445)](...r[e(509)]()),o=t[e(499)];if(s/o>=.7)return e(405);const i=[16/9,4/3,1,1.5];return n[e(454)](t=>i[e(474)](n=>Math[e(470)](t-n)<.1))[e(499)]/o>=.5?"common":e(412)}[ft(419)](t,e,n){const r=ft,s=t[r(424)](t=>t[r(417)]/t[r(438)]);switch(n){case r(405):{const t=new Map;s[r(455)](e=>{const n=r,s=Math[n(432)](10*e)/10,o=s.toString(),i=t[n(442)](o);i?i[n(427)]++:t[n(399)](o,{ratio:s,count:1})});const n=Array[r(456)](t[r(509)]())[r(461)]((t,e)=>e[r(427)]>t[r(427)]?e:t);return Math[r(432)](e/n[r(466)])}case r(398):{const t=[{ratio:16/9,name:r(429)},{ratio:4/3,name:r(416)},{ratio:1,name:r(450)},{ratio:1.5,name:r(468)}],n=s[r(461)]((t,e)=>t+e,0)/s[r(499)],o=t[r(461)]((t,e)=>Math[r(470)](e[r(466)]-n)<Math[r(470)](t[r(466)]-n)?e:t);return this[r(463)]&&console[r(425)]("📊 Using standard ratio: "+o[r(397)]+r(492)+n[r(444)](2)+")"),Math[r(432)](e/o[r(466)])}case r(412):default:{const t=s[r(461)]((t,e)=>t+e,0)/s.length;return Math.round(e/t)}}}[ft(472)](t){return new Promise((e,n)=>{const r=gt,s=new Image;s[r(426)]=()=>{const t=r;e({width:s[t(414)],height:s[t(459)]})},s[r(480)]=()=>{n(new Error(r(498)+t))},s[r(418)]=t})}applyOptimizedImageStyle(t,e,n){const r=ft,s=e/n;Math[r(470)](s-1)<.1?(t[r(420)][r(407)]=r(441),t[r(420)][r(423)]=r(422)):s>1.3?(t[r(420)].objectFit=r(462),t[r(420)][r(423)]="center",t[r(420)][r(504)]=r(505)):s<.7?(t[r(420)].objectFit=r(441),t.style[r(423)]="center"):(t[r(420)][r(407)]=r(441),t[r(420)][r(423)]=r(422)),this[r(463)]&&console.log(r(475)+t[r(420)].objectFit+", ratio="+s[r(444)](2))}async[ft(440)](t,e,n){const r=ft,s=document.createElement(r(413));s[r(420)].width="100%",s[r(420)][r(438)]=r(443),s[r(420)].display="block",s[r(420)][r(493)]=r(508),s[r(436)]=e.title||r(421),t[r(428)]=r(404);try{if(!e[r(484)])throw new Error(r(500));const o=await this[r(472)](e[r(484)]),i=t[r(503)](),a=i[r(417)],c=i[r(438)];this[r(463)]&&(console[r(425)](r(471)+o.width+"x"+o[r(438)]),console.log(r(465)+a+"x"+c));const d=o[r(417)]/o.height,l=a/c;return this[r(491)](s,d,l),s[r(418)]=e.imageUrl,t[r(428)]="",t[r(401)](s),tt[r(495)](s,e,n,()=>this.createEventTrackingCallback(),this[r(463)],r(502)),this[r(463)]&&console.log("✅ Optimized banner image rendered for ad: "+e._id),s}catch(o){return console[r(400)](r(408),o),e[r(484)]&&(s[r(418)]=e[r(484)],s[r(420)].objectFit=r(441),s[r(420)][r(423)]=r(422),t[r(428)]="",t[r(401)](s),tt[r(495)](s,e,n,()=>this.createEventTrackingCallback(),this[r(463)],r(502))),s}}}const It=yt;function vt(){const t=["79120dbvPlj","createTextAdStyles","4019670eDhXiP","2195540SqaJZi","809872DETYHQ","1110690YLroxE","20594340TdXuhC","259snevJY","284076ASnbsn","title","5hcnsnY","textContent"];return(vt=function(){return t})()}function yt(t,e){const n=vt();return(yt=function(t,e){return n[t-=386]})(t,e)}!function(t){const e=yt,n=t();for(;;)try{if(384718===-parseInt(e(393))/1+-parseInt(e(389))/2+parseInt(e(390))/3+-parseInt(e(388))/4+-parseInt(e(395))/5*(parseInt(e(387))/6)+parseInt(e(392))/7*(-parseInt(e(397))/8)+parseInt(e(391))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vt);class bt{static[It(386)](t=!1){return"\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n "}static setTextAdContent(t,e){const n=It,r=e[n(396)]||e[n(394)]||"";t[n(396)]=r}}function wt(){const t=["187hOniNt","string","auto","push","clientX","normal","135035RHJjmP","5TtSpbx","forEach","\n position: ",";\n ","77205089jIzfBW","getBoundingClientRect","adstage-fade-slider-wrapper","height: auto; min-height: fit-content;","\n position: relative;\n width: 100%;\n ","div","setProperty","preventDefault",";\n left: ","adType","touchstart","toLowerCase","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","transform","addEventListener",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","minHeight","addClickEventForSlider","addTouchSupport","translateY(-20px)","touchend","relative","left","5511932sNYEbb","27DScVEx","includes","height: 100%;","data-adstage-ad-id","210456YjRbgO","touches","body","setAttribute","439590LoZZIt","opacity","whiteSpace","changedTouches","absolute","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","length",";\n width: 100%;\n ","3UVyXwQ","createSimpleAdElement","\n ","translateY(0)","createTextAdStyles","appendChild","block","clientY","width","top","createElement","abs","zIndex","adstage-fade-slide-container","hidden","adstage-ad adstage-","2928286qKCIFM","position","style","className","20px","mouseenter","touchmove","9773757jgzuBd","_id","cssText",";\n top: ","translateY(20px)","6hGiJZR","data-adstage-slot-id","height","12zCCllr","removeChild"];return(wt=function(){return t})()}function kt(t,e){const n=wt();return(kt=function(t,e){return n[t-=337]})(t,e)}const Et=kt;!function(t){const e=kt,n=t();for(;;)try{if(739217===-parseInt(e(394))/1+parseInt(e(371))/2*(-parseInt(e(355))/3)+parseInt(e(338))/4*(-parseInt(e(395))/5)+parseInt(e(383))/6*(-parseInt(e(378))/7)+parseInt(e(343))/8*(-parseInt(e(339))/9)+parseInt(e(347))/10*(-parseInt(e(388))/11)+-parseInt(e(386))/12*(-parseInt(e(399))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wt);class xt{static[Et(356)](t,e){const n=Et,r=document[n(365)]("div");return r.className=n(370)+String(t[n(408)])[n(410)](),r.setAttribute(n(342),e[n(379)]),r[n(346)](n(384),t.id),r[n(373)][n(380)]=bt[n(359)](!0),bt.setTextAdContent(r,e),r}static createTextTransitionContainer(t,e,n,r,s=!1){const o=Et,i=t.height&&0!==t[o(385)]&&t[o(385)]!==o(390),a=document[o(365)]("div");a[o(374)]=o(401);const c={position:o(420),overflow:o(369),display:o(361)};if(!i&&(c.height=o(390),c[o(415)]="fit-content"),t.width&&0!==t[o(363)]){let e;e=typeof t.width===o(389)&&(t[o(363)][o(340)]("px")||t[o(363)][o(340)]("%"))?t[o(363)]:t[o(363)]+"px",c[o(363)]=e}if(t[o(385)]&&0!==t[o(385)]&&t[o(385)]!==o(390)&&i){let e;e=typeof t.height===o(389)&&(t[o(385)][o(340)]("px")||t[o(385)].includes("%"))?t.height:t.height+"px",c[o(385)]=e}Object.entries(c)[o(396)](([t,e])=>{const n=o;a[n(373)][n(405)](t,e)});const d=document[o(365)]("div");d[o(374)]=o(368),d.style.cssText=o(403)+o(i?341:402)+o(357);let l=null;const u=!t[o(363)]||0===t[o(363)],p=!t[o(385)]||0===t[o(385)]||void 0===t[o(385)]||"auto"===t[o(385)];if(u||p&&i){if(l=document[o(365)](o(404)),l[o(373)].cssText=o(411),!u&&t.width){let e;e=typeof t[o(363)]===o(389)?t[o(363)][o(340)]("px")||t.width[o(340)]("%")?t[o(363)]:t[o(363)]+"px":t.width+"px",l[o(373)].width=e,l[o(373)][o(349)]=o(393)}document.body[o(360)](l);let n=0,r=0;e[o(396)](e=>{const s=o,i=this.createSimpleAdElement(t,e);l[s(360)](i);const a=i[s(400)]();a.width>n&&(n=a[s(363)]),a.height>r&&(r=a.height),l[s(387)](i)}),u&&n>0&&(a[o(373)][o(363)]=n+"px"),p&&r>0&&i&&(a.style[o(385)]=r+"px"),document[o(345)][o(387)](l)}const h=[];e[o(396)]((e,n)=>{const a=o,c=document[a(365)](a(404));c[a(374)]="adstage-fade-slide";const l=0===n,u=i?a(351):l?"relative":a(351);c[a(373)][a(380)]=a(397)+u+a(381)+(u===a(351)?"0":a(390))+a(407)+("absolute"===u?"0":"auto")+a(354)+(i?a(341):"height: auto;")+a(352)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(375))+a(414)+(0===n?"2":"1")+a(398);const p=this[a(356)](t,e);tt[a(416)](p,e,t,r,s,"Text"),c[a(360)](p),d.appendChild(c),h[a(391)](c)});let f=0;const g=e[o(353)],m=1e3*(n?.autoSlideInterval||4),I=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c[a(373)].position===a(420)&&(c.style[a(372)]="absolute",c[a(373)].top="0",c[a(373)][a(337)]="0"),d[a(373)][a(372)]=a(420),d.style[a(364)]=a(390),d[a(373)][a(337)]=a(390)),c.style[a(348)]="0",c[a(373)][a(412)]=a(418),c[a(373)].zIndex="1",d[a(373)][a(348)]="1",d[a(373)][a(412)]=a(358),d[a(373)].zIndex="2",h[a(396)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(373)][r(348)]="0",t.style[r(412)]=r(382),t[r(373)][r(367)]="1",!i&&t[r(373)].position===r(420)&&(t[r(373)].position="absolute",t[r(373)][r(364)]="0",t[r(373)][r(337)]="0"))}),f=n,X.trackSlideViewable(e[f],t,f,r,s)};let v=setInterval(()=>{I(f+1)},m);return a[o(413)](o(376),()=>{clearInterval(v)}),a.addEventListener("mouseleave",()=>{v=setInterval(()=>{I(f+1)},m)}),xt.addTouchSupport(a,I,()=>f,g),a.appendChild(d),a}static[Et(417)](t,e,n,r){const s=Et;let o=0,i=0,a=!1;t[s(413)](s(409),t=>{const e=s;o=t.touches[0][e(392)],i=t[e(344)][0][e(362)],a=!0}),t[s(413)](s(377),t=>{a&&t[s(406)]()}),t[s(413)](s(419),t=>{const r=s;if(!a)return;a=!1;const c=t[r(350)][0][r(392)],d=t[r(350)][0].clientY,l=o-c,u=i-d;if(Math[r(366)](l)>Math.abs(u)&&Math[r(366)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const St=Tt;function At(){const t=["60px","createTextTransitionContainer","✨ Single text ad rendered: ","89004MKNVvY","number","cssText","224piULVy","parentElement","2655350AHsQgp","Text","height","className"," ads","style","aspectRatio","optimizedHeight","vertical","createEventTrackingCallback","appendChild","maxLines","createElement","webkitLineClamp","409306sjPDsl","TEXT","createTextAdStyles","renderAdElement","adstage-text-content","52821IxXTjJ","hidden","addClickEventForRenderer","display","100%","length","getElementById","760cgWFjR","webkitBoxOrient","config","_id","Container not found: ","4688936pRszhg","debug","887757ZvWHhx","setTextAdContent","containerId"," with ","28ZDkmeZ","div","log","calculateAdSize","renderMultipleAds","adstage-ad adstage-text-ad","150291IHQDrJ","width","innerHTML"];return(At=function(){return t})()}function Tt(t,e){const n=At();return(Tt=function(t,e){return n[t-=273]})(t,e)}!function(t){const e=Tt,n=t();for(;;)try{if(473106===-parseInt(e(277))/1+-parseInt(e(312))/2+parseInt(e(317))/3*(-parseInt(e(281))/4)+parseInt(e(298))/5+parseInt(e(293))/6*(parseInt(e(296))/7)+-parseInt(e(275))/8+parseInt(e(287))/9*(parseInt(e(324))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(At);class Ct extends pt{constructor(t=!1,e){super(n[Tt(313)],t,e)}getDefaultHeight(){return Tt(290)}async[St(315)](t,e){const n=St,r=document[n(323)](t[n(279)]);if(!r)return;const s=document[n(310)](n(282));s.className=n(286);const o=t[n(305)],i=r[n(297)]||r;if(o)s.style.width=n(321),s[n(303)][n(300)]=String(o);else{const e=t[n(326)],r={width:e?.[n(288)],height:e?.[n(300)]},{width:o,height:a}=this[n(284)](i,r,{debug:this[n(276)]});s[n(303)][n(288)]=o,s[n(303)][n(300)]=a}const a=document.createElement(n(282));a[n(301)]=n(316),a[n(303)][n(295)]=bt[n(314)](!1),bt[n(278)](a,e);const c=t.config?.[n(309)];c&&typeof c===n(294)&&(a[n(303)][n(320)]="-webkit-box",a[n(303)][n(311)]=String(c),a[n(303)][n(325)]=n(306),a[n(303)].overflow=n(318)),s[n(308)](a),tt[n(319)](s,e,t,()=>this.createEventTrackingCallback(),this[n(276)],n(299)),r[n(289)]="",r[n(308)](s),this.debug&&console[n(283)](n(292)+e[n(273)])}async[St(285)](t,e){const n=St,r=document.getElementById(t.containerId);if(!r)throw new Error(n(274)+t[n(279)]);const s=this[n(307)](),o={autoSlideInterval:(t[n(326)]?.slideInterval||5e3)/1e3,...t[n(326)],optimizedHeight:t[n(305)],aspectRatio:t[n(304)]},i=xt[n(291)](t,e,o,s,this[n(276)]);i&&(r[n(289)]="",r[n(308)](i),this[n(276)]&&console[n(283)]("✨ Text transition created for slot: "+t.id+n(280)+e[n(322)]+n(302)))}}const Rt=Dt;function Dt(t,e){const n=_t();return(Dt=function(t,e){return n[t-=260]})(t,e)}function _t(){const t=["muted","\n video::-webkit-media-controls-play-button {\n display: ","textContent","head"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","controls","1466873sdOfat","containerId","config","🎬 Video controls setting:",'\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 ',"6532175FUZcGi","🔊 Video mute toggled: ","height","91CJVgCi","canplay","🎬 Trying muted autoplay fallback...","block","transform","hideProgressBar","🎬 User explicitly enabled controls, overriding default","customControls","none"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","log","className","background","mouseenter","loop","getDefaultHeight","Click to unmute"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","createElement","647778tCwdga"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","renderMultipleAds","videoUrl","getElementById","debug","img","🎬 Video data loaded, attempting autoplay...","renderAdElement","hideCurrentTime","\n pointer-events: none;\n ","src","176097rmriFQ","stopPropagation","100%","VIEWABLE","Click to mute","setAttribute","renderVideoElementDirect","🎬 Video can play, attempting autoplay...","363920FsSxKd","loadedmetadata","Container not found: ","length","🎬 Single video rendered for VIDEO slot: ","unmuted","addEventListener","🎬 Final video settings:","adstage-video-default-controls","style","hideControls","🎬 Video config received:","hidePlayButton","hideMuteButton","40bGZPLV","🎬 Video metadata loaded, attempting autoplay...","Video","adstage-video-container","position","autoplay","\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 ","playsinline","Video fallback","innerHTML"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","imageUrl","paused","error","hideVolumeSlider","\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 ","display","div","objectFit","⚠️ No video advertisements available for slot: ","rgba(0, 0, 0, 0.9)","createEventTrackingCallback","hideRemainingTime","preload","4589958kAftFj","loadeddata","addClickEventForRenderer",", loop: ","Video thumbnail","catch","rgba(0, 0, 0, 0.7)","contain","scale(1.1)","warn","title","enabled","2886426mEjGho","_id","video","appendChild","hideFullscreenButton",", muted: ","🎬 Auto-play was prevented:","alt","Video load failed:"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","metadata","cssText","92QFUtHk","button","play","width","🎬 Video element created for ad: "];return(_t=function(){return t})()}!function(t){const e=Dt,n=t();for(;;)try{if(792243===-parseInt(e(369))/1+-parseInt(e(276))/2+-parseInt(e(288))/3*(-parseInt(e(358))/4)+parseInt(e(374))/5+-parseInt(e(334))/6+parseInt(e(377))/7*(-parseInt(e(296))/8)+-parseInt(e(346))/9*(-parseInt(e(310))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_t);class Pt extends pt{constructor(t=!1,e){super(n.VIDEO,t,e)}[Rt(272)](){return"360px"}async[Rt(284)](t,e){const n=Rt,r=document.getElementById(t[n(370)]);if(!r)return;const s=document[n(275)](n(327));s[n(268)]=n(313),s.style[n(357)]="\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(294)](s,e,t),r[n(319)]="",r[n(349)](s),this[n(281)]&&console[n(267)]("🎬 Single video ad rendered: "+e._id)}async[Rt(278)](t,e){const n=Rt,r=document[n(280)](t[n(370)]);if(!r)throw new Error(n(298)+t[n(370)]);if(e[n(299)]>0){const s=e[0],o=document[n(275)]("div");o[n(268)]=n(313),o.style[n(357)]=n(325),this.renderVideoElementDirect(o,s,t),r[n(319)]="",r[n(349)](o);const i=this[n(331)]();setTimeout(()=>{const e=n;i(s[e(347)],t.id,c[e(291)])},100),this[n(281)]&&console.log(n(300)+t.id+" ("+s[n(347)]+")")}else this[n(281)]&&console[n(343)](n(329)+t.id)}[Rt(294)](t,e,n){const r=Rt;t[r(305)][r(314)]="relative";const s=document[r(275)](r(348));s[r(305)][r(361)]="100%",s[r(305)][r(376)]=r(290),s[r(305)][r(328)]=r(341),s[r(333)]=r(356);const o=n[r(371)];if(this[r(281)]&&console[r(267)](r(307),o),s.controls=!1,s[r(315)]=!1!==o?.[r(315)],s[r(363)]=!0,s[r(271)]=!1!==o?.loop,this.debug&&console[r(267)](r(303),{autoplay:s[r(315)],muted:s[r(363)],loop:s[r(271)],controls:s.controls}),!1!==o?.playsinline&&s[r(293)](r(317),""),!0===o?.[r(368)]&&(s[r(368)]=!0,this.debug&&console[r(267)](r(263))),o?.[r(306)])s[r(368)]=!1,s[r(305)][r(357)]+=r(286);else if(o?.[r(264)]){if(s[r(368)]){const t=document[r(275)](r(305));t[r(365)]=r(364)+(o.customControls[r(308)]?r(265):r(260))+r(266)+(o.customControls[r(262)]?r(265):r(260))+r(367)+(o[r(264)][r(285)]?"none":r(260))+r(320)+(o.customControls[r(332)]?r(265):r(260))+r(277)+(o[r(264)][r(324)]?"none":"block")+r(274)+(o.customControls[r(309)]?"none":"block")+r(355)+(o[r(264)][r(350)]?r(265):r(260))+" !important;\n }\n ",document[r(366)][r(349)](t)}}else if(s.controls){const t=document[r(275)]("style");t.id=r(304),t[r(365)]="\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ",!document.getElementById(r(304))&&document.head.appendChild(t)}this.debug&&console[r(267)](r(372),s[r(368)]?r(345):"disabled (default)");const i=document[r(275)](r(359));i[r(268)]="adstage-video-mute-button",i[r(305)][r(357)]=r(316),o?.[r(306)]&&(i.style[r(326)]="none");const a=()=>{const t=r,e=t(373);i[t(319)]=s.muted?e:'\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 ',i[t(344)]=s[t(363)]?t(273):t(292)};if(a(),i.addEventListener("click",t=>{const e=r;t[e(289)](),s[e(363)]=!s[e(363)],a(),this[e(281)]&&console.log(e(375)+(s[e(363)]?e(363):e(301)))}),i[r(302)](r(270),()=>{const t=r;i[t(305)].background=t(330),i[t(305)].transform=t(342)}),i[r(302)]("mouseleave",()=>{const t=r;i[t(305)][t(269)]=t(340),i[t(305)][t(261)]="scale(1)"}),e[r(279)]){s[r(287)]=e[r(279)];const t=()=>{const t=r;s[t(315)]&&s[t(363)]&&s[t(322)]&&s[t(360)]()[t(339)](e=>{const n=t;this[n(281)]&&(console.warn(n(352),e),console[n(343)](n(379))),s.muted=!0,s[n(360)]().catch(t=>{const e=n;this[e(281)]&&console[e(323)]("🎬 Autoplay completely failed:",t)})})};s[r(302)](r(297),()=>{const e=r;this[e(281)]&&console[e(267)](e(311)),t()}),s[r(302)](r(378),()=>{const e=r;this[e(281)]&&console.log(e(295)),t()}),s.addEventListener(r(335),()=>{const e=r;this[e(281)]&&console[e(267)](e(283)),t()}),setTimeout(()=>{const e=r;this[e(281)]&&console[e(267)]("🎬 Initial autoplay attempt after timeout..."),t()},100)}else if(e[r(321)]){const n=document[r(275)]("img");return n[r(287)]=e.imageUrl,n[r(305)][r(361)]=r(290),n[r(305)].height=r(290),n[r(305)].objectFit=r(341),n[r(353)]=e[r(344)]||r(338),void t[r(349)](n)}tt.addClickEventForRenderer(s,e,n,()=>this[r(331)](),this.debug,r(312)),s[r(302)](r(323),s=>{const o=r;if(console.error(o(354),s),e[o(321)]){const r=document.createElement(o(282));r[o(287)]=e[o(321)],r[o(305)][o(361)]=o(290),r.style.height="100%",r[o(305)][o(328)]=o(341),r[o(353)]=e.title||o(338),tt[o(336)](r,e,n,()=>this.createEventTrackingCallback(),this[o(281)],o(318)),t[o(319)]="",t.appendChild(r)}}),t[r(349)](s),t[r(349)](i),this[r(281)]&&console.log(r(362)+e[r(347)]+" (autoplay: "+s[r(315)]+r(351)+s[r(363)]+r(337)+s.loop+")")}}function Lt(){const t=["mouseenter","6494750jEsfRR","click","🏠 Native ad rendered (first of ","38BBeCrO","244xIsdGm","48mSrRKx","cssText","122297MuuQcS","\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 ","innerHTML","imageUrl","containerId","className","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","15759bCRfff","): ","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","getElementById","advertisementEventTracker","\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 ","src","backgroundColor","addEventListener","NATIVE","style","🏠 Single native ad rendered: ","#2563eb","textContent","warn","debug","linkUrl","appendChild","1496JuBZZd","Learn More","img","77910vVtSwl","11703Nksuti","200px","#3b82f6","Native click tracked for ad: ","div","alt","open","title","adstage-ad adstage-native-ad","renderAdElement","9245467QHFdxf","renderMultipleAds","log","createElement","getDefaultHeight","9369elHJbl","button"];return(Lt=function(){return t})()}const Bt=Nt;function Nt(t,e){const n=Lt();return(Nt=function(t,e){return n[t-=461]})(t,e)}!function(t){const e=Nt,n=t();for(;;)try{if(483405===-parseInt(e(477))/1+parseInt(e(466))/2*(parseInt(e(499))/3)+-parseInt(e(467))/4*(-parseInt(e(498))/5)+parseInt(e(468))/6*(-parseInt(e(470))/7)+-parseInt(e(495))/8*(parseInt(e(514))/9)+parseInt(e(463))/10+-parseInt(e(509))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Lt);class Ut extends pt{constructor(t=!1,e){super(n[Nt(486)],t,e)}[Bt(513)](){return Bt(500)}async[Bt(508)](t,e){const n=Bt,r=document[n(480)](t[n(474)]);if(!r)return;const s=document[n(512)](n(503));if(s[n(475)]=n(507),s.style[n(469)]=n(482),e[n(506)]){const t=document[n(512)]("h3");t[n(490)]=e[n(506)],t.style[n(469)]=n(476),s[n(494)](t)}if(e.textContent){const t=document[n(512)]("p");t[n(490)]=e.textContent,t[n(487)][n(469)]="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",s.appendChild(t)}if(e[n(473)]){const t=document[n(512)](n(503));t[n(487)][n(469)]="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const r=document[n(512)](n(497));r[n(483)]=e[n(473)],r[n(504)]=e[n(506)]||"Native Advertisement",r.style[n(469)]=n(479),t[n(494)](r),s[n(494)](t)}if(e.linkUrl){const t=document.createElement(n(461));t[n(490)]=n(496),t[n(487)][n(469)]=n(471),t[n(485)](n(464),()=>{const t=n;this[t(481)]&&console[t(511)](t(502)+e._id),window[t(505)](e[t(493)],"_blank")}),t[n(485)](n(462),()=>{const e=n;t[e(487)][e(484)]=e(489)}),t.addEventListener("mouseleave",()=>{const e=n;t[e(487)].backgroundColor=e(501)}),s[n(494)](t)}r[n(472)]="",r[n(494)](s),this.debug&&console[n(511)](n(488)+e._id)}async[Bt(510)](t,e){const n=Bt;e.length>0?(await this[n(508)](t,e[0]),this.debug&&console[n(511)](n(465)+e.length+n(478)+t.id)):this[n(492)]&&console[n(491)]("⚠️ No native advertisements available for slot: "+t.id)}}const zt=Ot;function Ot(t,e){const n=Mt();return(Ot=function(t,e){return n[t-=106]})(t,e)}function Mt(){const t=["color","animation","#3b82f6","div","addEventListener","adstage-interstitial-styles","removeChild","Interstitial click tracked for ad: ","linkUrl","\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 ","Interstitial Advertisement","_blank","mouseleave","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","_id","42654BYMRsC","button","imageUrl","fadeOut 0.3s ease-out forwards","17407pRtFSb","appendChild","770463xrEfNo","70279jIyqid","style","⚠️ No interstitial advertisements available for slot: ","🖼️ Interstitial ad closed","cssText","renderMultipleAds","keydown","400px","title","closeInterstitial","#6b7280","backgroundColor","\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 ","8KUTJpi","Get Started","#2563eb","innerHTML","getElementById","🖼️ Interstitial ad rendered (first of ","87777KFOQdK","48924UxSGTs","head","src","🖼️ Interstitial ad rendered: ","body","adstage-interstitial-content","textContent","390MytvtH","119PlDYrI","log","target","length","15TkVjHB","createElement","#f3f4f6","className","advertisementEventTracker","): ","mouseenter","1452oROwuS","removeEventListener","debug","186587naJhkR","click","#374151","renderAdElement","parentNode","INTERSTITIAL","12RBQKba"];return(Mt=function(){return t})()}!function(t){const e=Ot,n=t();for(;;)try{if(157004===-parseInt(e(123))/1+parseInt(e(129))/2*(parseInt(e(171))/3)+-parseInt(e(172))/4*(parseInt(e(113))/5)+parseInt(e(145))/6*(-parseInt(e(109))/7)+parseInt(e(165))/8*(-parseInt(e(151))/9)+parseInt(e(108))/10*(parseInt(e(152))/11)+parseInt(e(120))/12*(parseInt(e(149))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Mt);class Vt extends pt{constructor(t=!1,e){super(n[Ot(128)],t,e)}getDefaultHeight(){return Ot(159)}async[zt(126)](t,e){const n=zt;if(!document[n(169)](t.containerId))return;const r=document.createElement("div");r[n(116)]="adstage-interstitial-overlay",r[n(153)][n(156)]=n(139);const s=document[n(114)](n(133));s[n(116)]=n(106),s[n(153)].cssText="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const o=document.createElement("button");if(o[n(168)]="×",o.style[n(156)]="\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 ",o[n(134)]("click",()=>{this.closeInterstitial(r)}),o[n(134)](n(119),()=>{const t=n;o[t(153)][t(163)]="#e5e7eb",o[t(153)][t(130)]=t(125)}),o[n(134)](n(142),()=>{const t=n;o[t(153)][t(163)]=t(115),o[t(153)].color=t(162)}),e[n(147)]){const t=document[n(114)]("img");t[n(174)]=e[n(147)],t.alt=e.title||n(140),t[n(153)].cssText="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(150)](t)}if(e[n(160)]){const t=document[n(114)]("h2");t[n(107)]=e[n(160)],t.style[n(156)]="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",s[n(150)](t)}if(e[n(107)]){const t=document[n(114)]("p");t[n(107)]=e[n(107)],t.style[n(156)]=n(143),s[n(150)](t)}if(e[n(138)]){const t=document[n(114)](n(146));t[n(107)]=n(166),t.style[n(156)]=n(164),t.addEventListener(n(124),()=>{const t=n;this[t(117)]&&console[t(110)](t(137)+e[t(144)]),window.open(e[t(138)],t(141)),this[t(161)](r)}),t[n(134)](n(119),()=>{const e=n;t[e(153)][e(163)]=e(167)}),t[n(134)](n(142),()=>{const e=n;t[e(153)].backgroundColor=e(132)}),s[n(150)](t)}const i=t=>{const e=n;"Escape"===t.key&&(this[e(161)](r),document[e(121)](e(158),i))};if(document.addEventListener(n(158),i),r.addEventListener(n(124),t=>{const e=n;t[e(111)]===r&&this[e(161)](r)}),!document.getElementById(n(135))){const t=document[n(114)]("style");t.id=n(135),t.textContent="\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ",document[n(173)].appendChild(t)}s.appendChild(o),r.appendChild(s),document[n(176)][n(150)](r),this.debug&&console[n(110)](n(175)+e[n(144)])}async[zt(157)](t,e){const n=zt;e[n(112)]>0?(await this[n(126)](t,e[0]),this[n(122)]&&console[n(110)](n(170)+e[n(112)]+n(118)+t.id)):this.debug&&console.warn(n(154)+t.id)}closeInterstitial(t){const e=zt;t[e(153)][e(131)]=e(148),setTimeout(()=>{const n=e;t[n(127)]&&t[n(127)][n(136)](t)},300),this[e(122)]&&console[e(110)](e(155))}}const jt=Ft;function Ft(t,e){const n=Ht();return(Ft=function(t,e){return n[t-=485]})(t,e)}!function(t){const e=Ft,n=t();for(;;)try{if(690247===-parseInt(e(508))/1+-parseInt(e(542))/2*(-parseInt(e(495))/3)+parseInt(e(497))/4+-parseInt(e(492))/5+parseInt(e(531))/6*(parseInt(e(554))/7)+parseInt(e(541))/8+-parseInt(e(537))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ht);class Kt{constructor(t=!1,e){const n=Ft;this.renderers=new Map,this.debug=t,this[n(488)]=e||null,this.initializeRenderers()}[jt(499)](){const t=jt;this[t(538)].set(n[t(498)],new mt(this[t(534)],this[t(488)])),this.renderers[t(556)](n[t(504)],new Ct(this.debug,this[t(488)])),this.renderers[t(556)](n[t(517)],new Pt(this.debug,this[t(488)])),this.renderers.set(n[t(553)],new Ut(this[t(534)],this.advertisementEventTracker)),this[t(538)][t(556)](n.INTERSTITIAL,new Vt(this.debug,this.advertisementEventTracker)),this.debug&&console.log("🏭 AdRenderer factory initialized with "+this[t(538)].size+t(527))}[jt(487)](t,e){const r=jt,s=this[r(535)](t[r(540)]),o=document[r(533)](r(530));o[r(514)]=r(555)+String(t.adType)[r(548)](),o[r(520)](r(512),e[r(544)]),o[r(520)](r(509),t.id);const{width:i,height:a}=s[r(489)](o,t[r(505)]||{},e);switch(o[r(519)][r(485)]=i,o[r(519)][r(486)]=a,o[r(519)].display="block",t.adType){case n[r(498)]:if(e.imageUrl){const t=document[r(533)](r(494));t.src=e.imageUrl,t[r(519)][r(485)]=r(506),t[r(519)].height="100%",t[r(519)].objectFit=r(539),o[r(515)](t)}break;case n[r(517)]:if(e.videoUrl){const t=document[r(533)](r(529));t[r(502)]=e[r(547)],t.style[r(485)]="100%",t[r(519)][r(486)]="100%",o[r(515)](t)}break;case n[r(504)]:if(e[r(536)]){const t=document[r(533)]("div");t[r(536)]=e[r(536)]||"",t[r(519)][r(543)]="8px",o[r(515)](t)}break;default:o[r(519)][r(552)]="1px dashed #ccc",o[r(519)].backgroundColor=r(493),o.textContent=t[r(540)]+r(549)}return o}[jt(535)](t){const e=jt,n=this[e(538)][e(524)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}[jt(496)](t,e,n,r,s){const o=jt;this[o(535)](n)[o(496)](t,e,r,s)}async[jt(545)](t,e){const r=jt;if(t[r(540)]!==n[r(498)])return void(this.debug&&console[r(522)]("⚠️ Container optimization is only supported for BANNER ads, got: "+t[r(540)]));const s=this[r(535)](n[r(498)]);await s[r(545)](t,e)}async[jt(521)](t,e){const n=jt,r=this.getRenderer(t[n(540)]);await r[n(490)](t,e)}async[jt(500)](t){const e=jt;if(!t[e(550)])throw new Error(e(525));const n=this[e(535)](t[e(540)]);await n.renderAdElement(t,t[e(550)]),t[e(532)]=!0}async[jt(510)](t,e){const n=jt,r=this[n(535)](t.adType);await r[n(510)](t,e)}[jt(511)](t){const e=jt;this.getRenderer(t.adType)[e(511)](t)}[jt(513)](t){const e=jt;return this[e(535)](t)[e(526)]()}[jt(489)](t,e,n,r){const s=jt;return this[s(535)](e)[s(489)](t,n,r)}[jt(491)](t){return new Promise((e,n)=>{const r=Ft,s=new Image;s[r(507)]=()=>{const t=r;e({width:s[t(551)],height:s[t(523)]})},s[r(503)]=()=>{n(new Error(r(516)+t))},s[r(502)]=t})}async[jt(546)](t,e,r){const s=jt;if(r[s(540)]!==n.BANNER)throw new Error(s(501));const o=this[s(535)](n.BANNER);return await o[s(546)](t,e,r)}async[jt(518)](t,e,r){const s=jt;if(r!==n[s(498)]){const t=this[s(535)](r);return{width:s(506),height:t[s(526)](),aspectRatio:16/9}}const o=this[s(535)](n.BANNER);return await o[s(518)](t,e)}log(t,...e){const n=jt;this[n(534)]&&console.log(n(528)+t,...e)}}function Ht(){const t=["renderOptimizedBannerImage is only supported for BANNER ads","src","onerror","TEXT","config","100%","onload","391997cnBHrL","data-adstage-slot-id","renderAdElement","renderFallback","data-adstage-ad-id","getDefaultHeightForAdType","className","appendChild","Failed to load image: ","VIDEO","calculateOptimalContainerSize","style","setAttribute","renderAdSlider","warn","naturalHeight","get","No advertisement to render","getDefaultHeight"," renderers","[AdRenderer] ","video","div","18642sMZGUQ","isLoaded","createElement","debug","getRenderer","textContent","19523097SKdjzd","renderers","cover","adType","10010640NHtAXC","2QEQCvT","padding","_id","optimizeContainerForBannerAds","renderOptimizedBannerImage","videoUrl","toLowerCase"," Ad","advertisement","naturalWidth","border","NATIVE","2163loJEHN","adstage-ad adstage-","set","width","height","createAdElement","advertisementEventTracker","calculateAdSize","renderMultipleAds","loadImageDimensions","3551985ezxCMl","#f9f9f9","img","2772612XTKhCV","createPlaceholder","3305108wLRbnk","BANNER","initializeRenderers","renderAd"];return(Ht=function(){return t})()}const Wt=Yt;function Jt(){const t=["onClick","createAd","🗑️ Ads module destroyed","controls","delete","isReady","34659URHSHZ","warn","renderAd","autoDestroy","11094wIqGEZ","renderAdElement","adType"," (element found)"," attempts: ","2RTteZj","clear","📊 Fetched ","🚫 Advertisement not found with ID: ","Ad slot not found: ","adId","loadAdContentInBackground","2870SvgCnp","auto","substr","API key not configured","createAdWithRetry","detail","innerHTML","country","[data-adstage-slot-id]","config","init","createAdInternal","handleRemovedElement","Failed to fetch ad data: ","getConfig","video","get","100%"," removed","5496070bNnjBH","getAttribute","refreshAdSlot","trackAdvertisementEvent","append","toString","BANNER","613659ZRjPIa","values","renderAdSlider","advertisement","676OpxGRK","width","광고 생성 중 오류 발생:","NATIVE","GET","then","destroy","mutationObserver","Ads module not initialized. Call AdStage.init() first.","deviceType","❌ Failed to load ad for slot: ","advertisementEventTracker","length","🎠 Slider will handle VIEWABLE events for ","autoplay","adRenderer","disconnect","log","🔄 Ad slot refreshed: ","Failed to refresh ad slot: "," ads for type: ","language","getElementById","9893048SJzJyN","removedNodes","now","VIDEO","muted","createPlaceholder","6ersFll","✅ Simple viewable impression tracked for ad ","❌ Failed to find element for viewability tracking: ","slideInterval","_id","optimizeContainerForBannerAds","startSimpleViewabilityTracking","height","maxLines","random","3598238dOiNjL","renderFallback","Auto-cleanup failed for slot ","viewabilityTracker","INTERSTITIAL","📊 Advertisement event tracking enabled for slot: ","ensureReady","hideControls","🔄 Retrying viewability tracking for slot: ","🎯 Ads module initialized (sync mode) with auto-cleanup","from",". Retrying in ","playsinline","handleViewableEvent","status","setAttribute","📊 Fetched specific ad with ID: ","❌ Failed to track viewable impression:","forEach","adstage-","error","set","refresh","🧹 Auto-cleanup: slot ","slots","data-adstage-slot-id","nodeType","interstitial","debug","default","🔍 Auto-cleanup MutationObserver enabled","create","setupAutoCleanup","advertisements","destroyModule","customControls","loop","string","_isReady","json","getBaseUrl","list","fetchAdData","banner"," ads automatically","✅ Ad loaded for slot: ","auto-","style","undefined","isLoaded"," (attempt ","apiKey"," ads)","_config","1579435ZuqYUg"];return(Jt=function(){return t})()}function Yt(t,e){const n=Jt();return(Yt=function(t,e){return n[t-=420]})(t,e)}!function(t){const e=Yt,n=t();for(;;)try{if(860902===parseInt(e(506))/1*(parseInt(e(473))/2)+parseInt(e(468))/3*(-parseInt(e(510))/4)+-parseInt(e(499))/5+-parseInt(e(539))/6*(parseInt(e(549))/7)+parseInt(e(533))/8+-parseInt(e(464))/9*(-parseInt(e(480))/10)+parseInt(e(457))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Jt);class Zt{constructor(){const t=Yt;this[t(441)]=!1,this[t(456)]=null,this.slots=new Map,this[t(521)]=null,this.adRenderer=null,this[t(517)]=null}[Wt(490)](t){const e=Wt;this[e(456)]=t,this[e(521)]=new N(J[e(443)](),t.apiKey,t[e(431)]||!1,this[e(427)]),this[e(525)]=new Kt(t[e(431)]||!1,this[e(521)]),this[e(435)](),this[e(441)]=!0,t[e(431)]&&console[e(527)](e(558))}[Wt(463)](){return this[Wt(441)]}[Wt(494)](){return this[Wt(456)]}[Wt(446)](t,e){const r=Wt;this[r(555)]();const s={width:e?.[r(511)]||r(497),height:e?.height||r(481),autoSlide:e?.autoSlide||!1,slideInterval:e?.[r(542)]||5e3,onClick:e?.[r(458)],adId:e?.adId,language:e?.language,deviceType:e?.[r(519)],country:e?.[r(487)]};return this[r(459)](t,n[r(505)],s)}text(t,e){const r=Wt;this[r(555)]();const s={maxLines:e?.[r(547)]||3,style:e?.[r(450)]||r(432),onClick:e?.[r(458)],adId:e?.[r(478)],language:e?.[r(531)],deviceType:e?.[r(519)],country:e?.country};return this[r(459)](t,n.TEXT,s)}[Wt(495)](t,e){const r=Wt;this[r(555)]();const s={width:e?.width||640,height:e?.[r(546)]||360,autoplay:void 0===e?.[r(524)]||e[r(524)],muted:void 0===e?.muted||e[r(537)],loop:void 0===e?.[r(439)]||e[r(439)],playsinline:!1!==e?.[r(561)],controls:void 0!==e?.[r(461)]&&e[r(461)],hideControls:e?.[r(556)]||!1,customControls:e?.[r(438)],autoSlide:!1,maxAds:1,onClick:e?.[r(458)],...e?.adId&&{adId:e[r(478)]}};return this[r(459)](t,n[r(536)],s)}native(t,e){const r=Wt;return this[r(555)](),this.createAd(t,n[r(513)],e||{})}[Wt(430)](t,e){const r=Wt;return this[r(555)](),this.createAd(t,n[r(553)],e||{})}[Wt(425)](t){const e=Wt;this[e(555)]();const n=this.slots.get(t);if(!n)throw new Error(e(477)+t);this[e(501)](n),this[e(456)]?.[e(431)]&&console[e(527)](e(528)+t)}[Wt(516)](t){const e=Wt;this[e(555)]();const n=this.slots[e(496)](t);if(!n)throw new Error(e(477)+t);n.viewabilityTracker&&n[e(552)][e(516)]();const r=document.getElementById(n.containerId);r&&(r[e(486)]=""),this.slots.delete(t),this._config?.[e(431)]&&console[e(527)]("🗑️ Ad slot destroyed: "+t)}getAllSlots(){const t=Wt;return this.ensureReady(),Array[t(559)](this.slots[t(507)]())}getSlotById(t){return this[Wt(555)](),this.slots.get(t)||null}[Wt(459)](t,e,n){const r=Wt;if(!this[r(456)]?.[r(454)])throw new Error(r(483));const s=r(422)+e+"-"+Date[r(535)]()+"-"+Math[r(548)]().toString(36)[r(482)](2,9);return this[r(484)](t,e,n,s,0),s}async createAdWithRetry(t,e,n,r,s){const o=Wt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(440)){if(a=t,c=document[o(532)](t),!c)return s<4?(this[o(456)]?.[o(431)]&&console[o(465)]("Container not found: "+t+o(560)+i[s+1]+"ms... (attempt "+(s+1)+"/5)"),void setTimeout(()=>{this[o(484)](t,e,n,r,s+1)},i[s+1])):void console[o(423)]("Container not found after 5"+o(472)+t)}else c=t,a=c.id||o(449)+r,!c.id&&(c.id=a);try{this[o(491)](a,e,n,r,c)}catch(t){console[o(423)](o(512),t)}}[Wt(491)](t,e,r,s,o){const i=Wt;o[i(564)](i(428),s),this[i(525)]?.[i(538)](o,s,e,r,this[i(456)]);const a={id:s,containerId:t,adType:e,width:r.width||i(497),height:r[i(546)]||(e===n.TEXT?i(481):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...r},load:async()=>this.fetchAdData(e,r)[i(515)](t=>t[0]||null),render:t=>this[i(525)]?.[i(469)](a,t),refresh:async()=>this.refreshAdSlot(a),destroy:()=>this[i(516)](s)};this.slots[i(424)](s,a),this[i(479)](a),this[i(521)]&&this._config?.[i(431)]&&console[i(527)](i(554)+s)}async[Wt(479)](t){const e=Wt;try{const r=await this.fetchAdData(t[e(470)],t[e(489)]);if(!r||0===r[e(522)])return void this[e(525)]?.[e(550)](t);t.adType===n.BANNER&&r[e(522)]>0&&await(this.adRenderer?.[e(544)](t,r)),r[e(522)]>1||t[e(489)]?.autoSlide?(await(this[e(525)]?.[e(508)](t,r)),this[e(456)]?.debug&&console[e(527)](e(523)+r[e(522)]+e(447))):(t[e(509)]=r[0],await(this.adRenderer?.[e(469)](t,r[0])),this.startSimpleViewabilityTracking(t,r[0])),t[e(452)]=!0,this[e(456)]?.debug&&console[e(527)](e(448)+t.id+" ("+r[e(522)]+e(455))}catch(n){console[e(423)](e(520)+t.id,n),this[e(525)]?.renderFallback(t)}}[Wt(545)](t,e){const n=(r=0)=>{const s=Yt,o=document[s(532)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(456)]?.debug&&console[s(527)](s(557)+t.id+s(453)+(r+1)+")")):console[s(465)](s(541)+t.id));const i=new M(o,async()=>{const n=s;await this[n(562)](e,t)});t[s(552)]=i,this[s(456)]?.[s(431)]&&console[s(527)]("🎯 Simple viewability tracking started for slot: "+t.id+s(471))};n()}async handleViewableEvent(t,e){const n=Wt;try{this.advertisementEventTracker&&(await this.advertisementEventTracker[n(502)](t._id,e.id,c.VIEWABLE),this[n(456)]?.[n(431)]&&console[n(527)](n(540)+t[n(543)]))}catch(t){console.error(n(420),t)}}async fetchAdData(t,e){const n=Wt;if(!this._config?.apiKey)throw new Error(n(483));if(e.adId){const t=""+J.advertisements[n(485)](e[n(478)]),r=await fetch(t,{method:"GET",headers:_[n(434)](this[n(456)].apiKey)});if(!r.ok){if(404===r.status)return console[n(465)](n(476)+e[n(478)]),[];throw new Error("Failed to fetch ad data: "+r[n(563)])}const s=await r[n(442)]();return this[n(456)]?.[n(431)]&&console[n(527)](n(565)+e.adId,s),[s]}const r=new URLSearchParams;r[n(503)](n(470),t),e[n(531)]&&r[n(503)]("language",e[n(531)]),e.deviceType&&r[n(503)]("deviceType",e.deviceType),e[n(487)]&&r.append(n(487),e[n(487)]);const s=J[n(436)][n(444)]()+"?"+r[n(504)](),o=await fetch(s,{method:n(514),headers:_[n(434)](this._config.apiKey)});if(!o.ok)throw new Error(n(493)+o[n(563)]);const i=(await o[n(442)]()).advertisements||[];return this[n(456)]?.[n(431)]&&console[n(527)](n(475)+i[n(522)]+n(530)+t+", filters:",{language:e.language,deviceType:e[n(519)],country:e[n(487)]}),i}async refreshAdSlot(t){const e=Wt;try{const n=await this[e(445)](t.adType,t[e(489)]||{});n&&n[e(522)]>0&&(t[e(509)]=n[0],await(this.adRenderer?.[e(466)](t)),this[e(521)]&&console[e(527)]("New advertisement viewable tracked for slot:",t.id))}catch(n){console[e(423)](e(529)+t.id,n)}}ensureReady(){const t=Wt;if(!this[t(441)])throw new Error(t(518))}setupAutoCleanup(){const t=Wt;typeof window!==t(451)&&typeof document!==t(451)&&(this[t(517)]&&this.mutationObserver[t(526)](),this[t(517)]=new MutationObserver(e=>{const n=t;e[n(421)](t=>{const e=n;t[e(534)].forEach(t=>{t[e(429)]===Node.ELEMENT_NODE&&this.handleRemovedElement(t)})})}),this[t(517)].observe(document.body,{childList:!0,subtree:!0}),this[t(456)]?.debug&&console[t(527)](t(433)))}[Wt(492)](t){const e=Wt,n=t[e(500)](e(428));if(n)return void this[e(467)](n);t.querySelectorAll(e(488))[e(421)](t=>{const n=e,r=t[n(500)]("data-adstage-slot-id");r&&this[n(467)](r)})}[Wt(467)](t){const e=Wt;if(this[e(427)][e(496)](t))try{this[e(427)][e(462)](t),this[e(456)]?.[e(431)]&&console[e(527)](e(426)+t+e(498))}catch(n){this._config?.[e(431)]&&console[e(465)](e(551)+t+":",n)}}[Wt(437)](){const t=Wt,e=this[t(456)]?.[t(431)];this.mutationObserver&&(this[t(517)].disconnect(),this.mutationObserver=null),this[t(427)][t(474)](),this[t(521)]=null,this[t(525)]=null,this[t(441)]=!1,this._config=null,e&&console[t(527)](t(460))}}var Qt=Xt;function Xt(t,e){var n=Gt();return(Xt=function(t,e){return n[t-=278]})(t,e)}function Gt(){var t=["✅ Config module initialized (sync mode)","36490GEWYQR","getApiHeaders","444UmdGsv","debug","462NeKVTD","Config module not initialized","322392OfDynb","updateConfig","getConfig","25718TEMmvX","1206kKrLhj","log","baseUrl","isDebugMode","create","init","250032gFWPLw","getApiEndpoint","isModuleEnabled","2820mtrfnW","24uDCoTY","setBaseUrl","modules","267235YySqKM","events","API key not available","_config","apiKey","development","includes","387101XGPnpW","11tcKygq","getOrganizationInfo","_isReady","🔄 Config updated","getEnabledModules","getBaseUrl"];return(Gt=function(){return t})()}!function(t){for(var e=Xt,n=t();;)try{if(262452===-parseInt(e(292))/1*(parseInt(e(299))/2)+parseInt(e(315))/3*(-parseInt(e(281))/4)+-parseInt(e(284))/5+-parseInt(e(303))/6*(parseInt(e(308))/7)+-parseInt(e(305))/8+parseInt(e(309))/9*(parseInt(e(280))/10)+-parseInt(e(291))/11*(-parseInt(e(301))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Gt);class qt{constructor(){var t=Xt;this[t(294)]=!1,this[t(287)]=null,this._organizationInfo=null}[Qt(314)](t){var e=Qt;this[e(287)]={timeout:3e4,debug:!1,modules:["ads",e(285),"config"],...t},t[e(311)]&&J[e(282)](t.baseUrl),this[e(294)]=!0,t[e(302)]&&console[e(310)](e(298),{modules:this[e(287)].modules,endpoint:J[e(297)](),mode:e(289)})}isReady(){return this[Qt(294)]}[Qt(307)](){return this[Qt(287)]}[Qt(293)](){return this._organizationInfo}[Qt(278)](){return J[Qt(297)]()}[Qt(312)](){var t=Qt;return this[t(287)]?.debug||!1}[Qt(296)](){var t=Qt;return this._config?.[t(283)]||[]}[Qt(279)](t){var e=Qt;return this[e(296)]()[e(290)](t)}[Qt(306)](t){var e=Qt;if(!this[e(287)])throw new Error(e(304));this[e(287)]={...this._config,...t},this[e(312)]()&&console[e(310)](e(295),t)}[Qt(300)](){var t=Qt;if(!this[t(287)]?.apiKey)throw new Error(t(286));return _[t(313)](this[t(287)][t(288)])}}const $t=ee;function te(){const t=["623716mRKbEx","getViewportInfo","setDeviceProperty","getDetailedInfo","Android","150OUgltm","5733513gLaYql","791651DNgieu","desktop","SSR","web","ios","iOS","width","isBrowser","clearDeviceInfo","platform","9hWPcgt","userAgent","678ZbsOZE","getPlatform","other","8gHoMgI","cookieEnabled","7393670FpCNON","language","test","3827219KrADjm","Unknown","81775HEUQLb","toLowerCase","mapPlatformForEvents","onLine","Mobile Web","_userProvidedDeviceInfo","Desktop Web","859QLXNuj","0x0","getAutoDetectedDeviceInfo","isMobile","height","android","mobile","tablet","ko-KR"];return(te=function(){return t})()}function ee(t,e){const n=te();return(ee=function(t,e){return n[t-=294]})(t,e)}!function(t){const e=ee,n=t();for(;;)try{if(443397===parseInt(e(307))/1*(-parseInt(e(335))/2)+parseInt(e(333))/3*(-parseInt(e(316))/4)+-parseInt(e(300))/5*(parseInt(e(321))/6)+-parseInt(e(323))/7+-parseInt(e(338))/8*(-parseInt(e(322))/9)+parseInt(e(295))/10+parseInt(e(298))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(te);class ne{static getDeviceInfo(){return{...ne.getAutoDetectedDeviceInfo(),...ne._userProvidedDeviceInfo}}static[$t(309)](){const t=$t;if(!I[t(330)]())return{category:t(337),platform:t(325),model:"SSR",osVersion:t(325)};const e=navigator[t(334)][t(301)]();let n=t(324);/tablet|ipad/[t(297)](e)?n=t(314):T[t(310)]()&&(n=t(313));const r=T[t(336)]();return{category:n,platform:ne[t(302)](r),model:navigator[t(332)],osVersion:navigator[t(332)]}}static setDeviceInfo(t){ne[$t(305)]={...ne._userProvidedDeviceInfo,...t}}static[$t(318)](t,e){ne[$t(305)][t]=e}static[$t(331)](){ne._userProvidedDeviceInfo={}}static getUserDeviceInfo(){return{...ne._userProvidedDeviceInfo}}static[$t(302)](t){const e=$t;switch(t){case e(327):return e(328);case e(312):return e(320);case e(326):return e(304);case"desktop":return e(306);default:return e(299)}}static[$t(319)](){const t=$t;if(!I[t(330)]())return{userAgent:t(325),language:t(315),platform:t(325),cookieEnabled:!1,onLine:!0,screenResolution:t(308),viewportSize:t(308)};const e=I[t(317)]();return{userAgent:navigator[t(334)],language:navigator[t(296)]||"ko-KR",platform:navigator[t(332)],cookieEnabled:navigator[t(294)],onLine:navigator[t(303)],screenResolution:screen[t(329)]+"x"+screen[t(311)],viewportSize:e.width+"x"+e[t(311)]}}}function re(){const t=["1176eBPjGY","12988845JXwril","390511hHpKLM","getBaseUserInfo","setUserProperties","setUserProperty","clearUserProperties","572636PUmwMN","_userProperties","5882260xotRZf","ko-KR","4745GPIEoz","10502009mzdlos","split","2jyTYSm","isBrowser","219278sFSHGQ","getCurrentUserProperties","extractCountryFromLanguage","language","getUserInfo","3RRWlWO","8nJBaaf","324zItfBm"];return(re=function(){return t})()}ne[$t(305)]={};const se=ie;!function(t){const e=ie,n=t();for(;;)try{if(812641===parseInt(e(125))/1*(-parseInt(e(127))/2)+-parseInt(e(132))/3*(parseInt(e(142))/4)+-parseInt(e(146))/5*(-parseInt(e(134))/6)+-parseInt(e(147))/7+parseInt(e(133))/8*(-parseInt(e(136))/9)+parseInt(e(144))/10+-parseInt(e(137))/11*(-parseInt(e(135))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(re);class oe{static[se(131)](){const t=se;return{...oe[t(138)](),...oe[t(143)]}}static[se(138)](){const t=se;if(!I[t(126)]())return{language:t(145),country:"KR"};const e=navigator[t(130)]||t(145);return{language:e,country:oe.extractCountryFromLanguage(e)}}static[se(129)](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[se(148)]("-")[0]]||"KR"}static[se(139)](t){const e=se;oe._userProperties={...oe[e(143)],...t}}static[se(140)](t,e){oe[se(143)][t]=e}static[se(141)](){oe._userProperties={}}static[se(128)](){return{...oe[se(143)]}}static estimateLocation(){if(!I.isBrowser())return{timezone:"UTC",estimatedCountry:"KR"};const t=Intl.DateTimeFormat().resolvedOptions().timeZone;return{timezone:t,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[t]||"KR"}}}function ie(t,e){const n=re();return(ie=function(t,e){return n[t-=125]})(t,e)}oe._userProperties={};const ae=de;function ce(){const t=["getItem","toString","session_","280210LSmAAX","6741iKxDgY","clearUserId","adstage_session_id","63bUpQZk","_sessionStartTime","getSessionId","952WFthrW","isNewSession","getSessionInfo","isSessionExpired","2316354zkNxRa","2114165QkJJAC","adstage_user_id","setUserId","adstage_session_start","setItem","now","44318LsQBjI","removeItem","841930xFPAwI","77MTvpFv","ssr_session_","getSessionStats","4LVVUci","_userId","2156119XTOTZc","getUserId","isBrowser","refreshSession","getSessionDuration"];return(ce=function(){return t})()}function de(t,e){const n=ce();return(de=function(t,e){return n[t-=133]})(t,e)}!function(t){const e=de,n=t();for(;;)try{if(277724===-parseInt(e(146))/1+-parseInt(e(164))/2*(parseInt(e(150))/3)+parseInt(e(136))/4*(parseInt(e(158))/5)+-parseInt(e(157))/6+parseInt(e(138))/7+-parseInt(e(153))/8*(-parseInt(e(147))/9)+parseInt(e(166))/10*(parseInt(e(133))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class le{static[ae(152)](){const t=ae;if(!I.isBrowser())return t(134)+Date[t(163)]();const e=sessionStorage[t(143)](t(149));if(e)return e;const n=t(145)+Math.random()[t(144)](36).substr(2,9)+"_"+Date[t(163)]();return sessionStorage[t(162)](t(149),n),!le._sessionStartTime&&(le[t(151)]=Date.now(),I[t(140)]()&&sessionStorage[t(162)](t(161),String(le[t(151)]))),n}static[ae(160)](t){const e=ae;le._userId=t,I[e(140)]()&&localStorage[e(162)](e(159),t)}static[ae(139)](){const t=ae;if(le[t(137)])return le[t(137)];if(I[t(140)]()){const e=localStorage[t(143)]("adstage_user_id");if(e)return le[t(137)]=e,e}}static[ae(148)](){const t=ae;le[t(137)]=void 0,I[t(140)]()&&localStorage.removeItem(t(159))}static[ae(155)](){const t=ae,e=le[t(152)](),n=le[t(139)](),r=le[t(154)]();return{sessionId:e,userId:n,sessionDuration:le[t(142)](),isNewSession:r}}static[ae(154)](){const t=ae;if(!I[t(140)]())return!0;const e=sessionStorage[t(143)](t(149)),n=sessionStorage.getItem("adstage_session_start");return!e||!n}static[ae(142)](){const t=ae;if(!I[t(140)]())return 0;const e=sessionStorage.getItem("adstage_session_start");return e?Date[t(163)]()-parseInt(e,10):0}static[ae(141)](){const t=ae;return I[t(140)]()&&(sessionStorage[t(165)](t(149)),sessionStorage.removeItem(t(161))),le[t(151)]=void 0,le[t(152)]()}static[ae(156)](t=24){return le[ae(142)]()>60*t*60*1e3}static[ae(135)](){const t=ae,e=le[t(152)](),n=le[t(139)](),r=le[t(142)](),s=le[t(156)](),o=le[t(154)]();let i;if(I[t(140)]()){const e=sessionStorage[t(143)](t(161));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}function ue(){const t=["_config","73170gyJQFa","debug","_isReady","1141rDnJAo","init","warn","getConfig","📱 Device info set:","events","❌ Failed to track event:","2361968lEiBLU","log","📱 Device property set:","Event tracking failed: ","stringify","application/json","1QDEzSM","track","608451sCFjHx","👤 User properties set:","608990YNgYOJ","POST","10698rdZQIZ","apiKey","getUserId","API key not configured for event tracking.","getDeviceInfo","1098WVgbjO","sendEventToServer","getCurrentUserProperties","setDeviceProperty","getSessionId","965591LsjYJJ","clearDeviceInfo","setUserId","1438260AbTrlE","📊 Events module initialized","setDeviceInfo","setUserProperties","4Sqdbmk","12IpDBuW","getUserDeviceInfo","error"];return(ue=function(){return t})()}function pe(t,e){const n=ue();return(pe=function(t,e){return n[t-=431]})(t,e)}const he=pe;!function(t){const e=pe,n=t();for(;;)try{if(575946===-parseInt(e(446))/1*(-parseInt(e(450))/2)+parseInt(e(448))/3*(parseInt(e(469))/4)+parseInt(e(465))/5+-parseInt(e(452))/6*(-parseInt(e(433))/7)+parseInt(e(440))/8+parseInt(e(457))/9*(-parseInt(e(474))/10)+parseInt(e(462))/11*(parseInt(e(470))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ue);class fe{constructor(){this[pe(432)]=!1,this._config=null}[he(434)](t){const e=he;this._config=t,this[e(432)]=!0,t.debug&&console[e(441)](e(466))}isReady(){return this._isReady}[he(436)](){return this[he(473)]}setUserId(t){const e=he;le[e(464)](t),this[e(473)]?.[e(431)]&&console[e(441)]("👤 User ID set:",t)}getUserId(){return le[he(454)]()}[he(468)](t){const e=he;oe[e(468)](t),this._config?.debug&&console[e(441)](e(449),t)}getUserProperties(){return oe[he(459)]()}setDeviceInfo(t){const e=he;ne[e(467)](t),this[e(473)]?.[e(431)]&&console[e(441)](e(437),t)}[he(460)](t,e){const n=he;ne.setDeviceProperty(t,e),this[n(473)]?.[n(431)]&&console[n(441)](n(442),t,e)}[he(463)](){const t=he;ne.clearDeviceInfo(),this[t(473)]?.[t(431)]&&console[t(441)]("📱 User provided device info cleared")}getUserDeviceInfo(){return ne[he(471)]()}[he(456)](){return ne[he(456)]()}getUserInfo(){return oe.getUserInfo()}[he(459)](){return oe[he(459)]()}async[he(447)](t,e){const n=he;if(this[n(432)])if(this._config?.[n(453)])try{const r={eventName:t,userId:le[n(454)](),sessionId:le[n(461)](),sdkVersion:k(),device:ne[n(456)](),user:oe.getUserInfo(),params:e||{}};await this[n(458)](r),this[n(473)][n(431)]&&console[n(441)]("✅ Event tracked:",t,e)}catch(r){console[n(472)](n(439),r),this[n(473)][n(431)]&&console.error("Event data:",{eventName:t,properties:e})}else console[n(435)](n(455));else console[n(435)]("Events module not initialized. Call AdStage.init() first.")}async[he(458)](t){const e=he,n=await fetch(J[e(438)][e(447)](),{method:e(451),headers:{..._.create(this[e(473)][e(453)]),"Content-Type":e(445)},body:JSON[e(444)](t)});if(!n.ok)throw new Error(e(443)+n.status+" "+n.statusText)}}const ge=Ie;!function(t){const e=Ie,n=t();for(;;)try{if(739219===-parseInt(e(347))/1*(parseInt(e(372))/2)+-parseInt(e(367))/3*(parseInt(e(386))/4)+parseInt(e(365))/5+parseInt(e(351))/6+parseInt(e(385))/7*(-parseInt(e(356))/8)+-parseInt(e(359))/9+-parseInt(e(380))/10*(-parseInt(e(381))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ve);class me{constructor(){const t=Ie;this[t(354)]=!1,this[t(364)]=null,this[t(361)]=new qt,this[t(377)]=new Zt,this[t(373)]=new fe}static init(t){const e=Ie;!me[e(368)]&&(me[e(368)]=new me);const n=me[e(368)];if(!t[e(371)])throw new Error(e(352));n[e(364)]={timeout:3e4,debug:!1,modules:["ads",e(373),e(361)],...t},n[e(364)].baseUrl&&(J.setBaseUrl(n[e(364)].baseUrl),t[e(369)]&&console[e(353)]("🌐 API endpoint configured:",n[e(364)][e(384)]));const r=n._config[e(363)]||[e(377),"events",e(361)];for(const t of r){const r=n[t];r&&typeof r[e(375)]===e(350)&&r[e(375)](n._config)}n[e(354)]=!0,t[e(369)]&&console.log(e(358),{version:e(374),modules:r,apiKey:t.apiKey[e(357)](0,8)+e(378),mode:e(349)})}static[ge(355)](){const t=ge;return me[t(368)]?.[t(354)]||!1}static[ge(366)](){const t=ge;return me[t(368)]?.[t(364)]||null}static[ge(379)](){const t=ge;if(!me[t(368)])throw new Error("AdStage not initialized. Call AdStage.init() first.");return me[t(368)]}static get[ge(377)](){const t=ge;return me[t(379)]()[t(377)]}static get events(){const t=ge;return me[t(379)]()[t(373)]}static get[ge(361)](){return me[ge(379)]().config}static[ge(370)](){const t=ge;me[t(368)]&&(me[t(368)][t(354)]=!1,me[t(368)][t(364)]=null)}}function Ie(t,e){const n=ve();return(Ie=function(t,e){return n[t-=347]})(t,e)}function ve(){const t=["baseUrl","532LqvbIu","99208ZMXZiM","1NnhiMa","from","development","function","785106WFDyoI","API key is required for AdStage initialization","log","_isInitialized","isReady","111376vXhIwv","substring","🚀 AdStage SDK initialized (sync mode)","10252908sdaAhn","viewableTracker","config","clear","modules","_config","3203545zecevy","getConfig","174XHZhBJ","instance","debug","reset","apiKey","1932778xUulVn","events","2.0.0","init","size","ads","...","getInstance","20nSlfyg","25134164RsmDVH","clearAdViewable","✅ AdStage Debug: 광고 "];return(ve=function(){return t})()}function ye(){var t=["27mEgwQX","6OJGJOO","5308895pnKbZT","22BryOzy","533090qUEiFA","802252ziYSra","events","getUserProperties","4ivNgaA","8523392mZNndu","204IyjKsz","303327hjjnwe","warn","track","AdStage not initialized. Call AdStage.init() first.","6295821iOJYjP","getUserId","setUserId","setUserProperties","43895AukbyB","isReady"];return(ye=function(){return t})()}function be(t,e){var n=ye();return(be=function(t,e){return n[t-=326]})(t,e)}me.debug={clearAllViewable:()=>{ct[ge(362)](),console.log("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=ge;ct[n(382)](t,e),console[n(353)](n(383)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=ge;console[t(353)]("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:ct.viewableTracker[t(376)],trackedItems:Array[t(348)](ct[t(360)])})}},function(t){for(var e=be,n=t();;)try{if(768113===-parseInt(e(343))/1*(-parseInt(e(327))/2)+parseInt(e(335))/3*(parseInt(e(332))/4)+-parseInt(e(326))/5+parseInt(e(346))/6*(-parseInt(e(339))/7)+parseInt(e(333))/8+-parseInt(e(345))/9*(parseInt(e(328))/10)+-parseInt(e(329))/11*(-parseInt(e(334))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ye);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"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function I(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var v=I.prototype=new m;v.constructor=I,h(v,g.prototype),v.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,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function 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,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,y(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),T(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",y(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=T(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=T(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function 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 D={current:null},_={transition:null},P={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:_,ReactCurrentOwner:w};function L(){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=I,Se.StrictMode=r,Se.Suspense=c,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,Se.act=L,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),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Se.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},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:l,_payload:{_status:-1,_result:t},_init:R}},Se.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},Se.startTransition=function(t){var e=_.transition;_.transition={};try{t()}finally{_.transition=e}},Se.unstable_act=L,Se.useCallback=function(t,e){return D.current.useCallback(t,e)},Se.useContext=function(t){return D.current.useContext(t)},Se.useDebugValue=function(){},Se.useDeferredValue=function(t){return D.current.useDeferredValue(t)},Se.useEffect=function(t,e){return D.current.useEffect(t,e)},Se.useId=function(){return D.current.useId()},Se.useImperativeHandle=function(t,e,n){return D.current.useImperativeHandle(t,e,n)},Se.useInsertionEffect=function(t,e){return D.current.useInsertionEffect(t,e)},Se.useLayoutEffect=function(t,e){return D.current.useLayoutEffect(t,e)},Se.useMemo=function(t,e){return D.current.useMemo(t,e)},Se.useReducer=function(t,e,n){return D.current.useReducer(t,e,n)},Se.useRef=function(t){return D.current.useRef(t)},Se.useState=function(t){return D.current.useState(t)},Se.useSyncExternalStore=function(t,e,n){return D.current.useSyncExternalStore(t,e,n)},Se.useTransition=function(){return D.current.useTransition()},Se.version="18.3.1",Se}();var Ae,Te=xe.exports;
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
@@ -7,4 +7,4 @@
|
|
|
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=
|
|
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,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:d,ref:l,props:c,_owner:s.current}}return Ee.Fragment=n,Ee.jsx=i,Ee.jsxs=i,Ee}();var Ce=ke.exports;const Re=Te.createContext(null);function De(){const t=Te.useContext(Re);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function _e(){var t=["8141199hroDFe","2382672wjonLJ","260gyAiiq","162nLiIbP","10429DFLJZR","6IbmqSH","5KxqFEL","4685682PhtpjB","63JxaMJp","21BQJsxy","2344072YfmKKZ","986950xdcUgw","864284nszPqt"];return(_e=function(){return t})()}function Pe(t,e){var n=_e();return(Pe=function(t,e){return n[t-=196]})(t,e)}!function(t){for(var e=Pe,n=t();;)try{if(467565===parseInt(e(203))/1*(-parseInt(e(202))/2)+parseInt(e(204))/3*(parseInt(e(198))/4)+parseInt(e(205))/5*(-parseInt(e(206))/6)+-parseInt(e(208))/7*(parseInt(e(196))/8)+parseInt(e(207))/9*(-parseInt(e(197))/10)+-parseInt(e(199))/11+-parseInt(e(200))/12*(-parseInt(e(201))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_e);const Le=Ne;function Be(){const t=["6cImJjV","events","2240874STiAbY","4725360cUJugd","2.0.0","1517860vcuvwR","571580skGpYM","3732vRQACO","2765aPmSNL","undefined","AdStage","8ynjGZX","50870YmTwVZ","config","551888hZGHlR"];return(Be=function(){return t})()}function Ne(t,e){const n=Be();return(Ne=function(t,e){return n[t-=128]})(t,e)}!function(t){const e=Ne,n=t();for(;;)try{if(152776===parseInt(e(132))/1+-parseInt(e(134))/2+parseInt(e(135))/3*(-parseInt(e(141))/4)+-parseInt(e(140))/5+parseInt(e(142))/6*(parseInt(e(128))/7)+parseInt(e(131))/8*(parseInt(e(137))/9)+parseInt(e(138))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Be);const Ue=Le(139),ze=["ads",Le(136),Le(133)];typeof window!==Le(129)&&(window[Le(130)]=me),t.AdStage=me,t.AdStageProvider=function({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 d={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 Ce.jsx(Re.Provider,{value:d,children:t})},t.SDK_VERSION=Ue,t.SUPPORTED_MODULES=ze,t.getUserId=function(){var t=be;if(me[t(344)]())return me.events[t(340)]();console[t(336)](t(338))},t.getUserProperties=function(){var t=be;if(me.isReady())return me.events[t(331)]();console[t(336)](t(338))},t.setUserId=function(t){var e=be;me[e(344)]()?me[e(330)][e(341)](t):console.warn(e(338))},t.setUserProperties=function(t){var e=be;me[e(344)]()?me[e(330)][e(342)](t):console.warn(e(338))},t.track=function(t,e){var n=be;return me.isReady()?me[n(330)][n(337)](t,e):(console.warn("AdStage not initialized. Call AdStage.init() first."),Promise.resolve())},t.useAdStageContext=De,t.useAdStageInstance=function(){const{isInitialized:t}=De();return t?me:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});
|