@adstage/web-sdk 3.0.9 → 3.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +144 -21
- package/dist/index.esm.js +1 -1
- package/dist/index.standalone.js +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/src/constants/endpoints.ts +8 -7
- package/src/core/adstage.ts +187 -7
- package/src/events/global-events.ts +5 -35
- package/src/index.ts +3 -1
- package/src/modules/events/events-module.ts +185 -39
- package/src/modules/tracking/tracking-params.ts +318 -0
- package/src/types/events.ts +0 -2
- package/src/managers/events/event-session-manager.ts +0 -183
package/dist/index.standalone.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var t,e,n,r,s,o,i,a,c,l,d,u;function p(){var t=["WEB","MOBILE","INTERSTITIAL","428aDkzNB","CLICK","VIDEO","DESKTOP","3831669PBQaek","7MMXgwb","20933YCnsoN","8ThXuFp","NATIVE","289234RzMApC","1757706OCzrJf","7377QnCQaM","VIEWABLE","TABLET","BANNER","POPUP","TEXT","2367865GkJvjN","5170lVyVly","376338nApVFU"];return(p=function(){return t})()}function h(t,e){var n=p();return(h=function(t,e){return n[t-=444]})(t,e)}function f(t,e){const n=v();return(f=function(t,e){return n[t-=217]})(t,e)}!function(){for(var t=h,e=p();;)try{if(239806===-parseInt(t(444))/1+parseInt(t(457))/2+-parseInt(t(459))/3*(-parseInt(t(448))/4)+parseInt(t(465))/5+parseInt(t(458))/6*(parseInt(t(453))/7)+parseInt(t(455))/8*(parseInt(t(452))/9)+parseInt(t(466))/10*(-parseInt(t(454))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=h)(462)]=n(462),e[n(463)]=n(463),e[n(447)]=n(447),e.NATIVE=n(456),e[n(450)]=n(450),e.TEXT=n(464),(s=r||(r={}))[(o=h)(445)]=o(445),s.MOBILE=o(446),(a=i||(i={}))[(c=h)(460)]=c(460),a[c(449)]=c(449),(d=l||(l={}))[(u=h)(451)]=u(451),d.MOBILE=u(446),d.TABLET=u(461);const g=f;!function(){const t=f,e=v();for(;;)try{if(795086===-parseInt(t(264))/1*(-parseInt(t(251))/2)+parseInt(t(225))/3+-parseInt(t(287))/4+parseInt(t(257))/5*(-parseInt(t(248))/6)+parseInt(t(274))/7*(parseInt(t(239))/8)+parseInt(t(224))/9+parseInt(t(236))/10*(-parseInt(t(242))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class m{static[g(223)](){return"undefined"!=typeof window&&typeof document!==g(273)}static[g(231)](){return!this[g(223)]()}static canUseDOM(){const t=g;return this.isBrowser()&&void 0!==document[t(262)]}static[g(229)](t){const e=g;return this[e(282)]()?document[e(290)](t):null}static[g(268)](t){const e=g;return this[e(282)]()?document[e(283)](t):null}static[g(280)](t){const e=g;return this[e(282)]()?Array[e(277)](document[e(260)](t)):[]}static[g(276)](t){const e=g;return this[e(282)]()?document[e(230)](t):null}static[g(269)](t,e,n,r){const s=g;this[s(282)]()&&t&&t[s(284)](e,n,r)}static[g(218)](t,e,n,r){const s=g;this[s(282)]()&&t&&t[s(285)](e,n,r)}static[g(227)](t,e){return this[g(223)]()?window[t]??e:e}static getDocumentProperty(t,e){return this[g(282)]()?document[t]??e:e}static safeWindowOpen(t,e,n){return this.isBrowser()?window.open(t,e,n):null}static[g(288)](t){return this[g(223)]()&&t?window.getComputedStyle(t):null}static isDOMReady(){const t=g;return!!this.canUseDOM()&&"loading"!==document[t(262)]}static[g(286)](){return new Promise(t=>{const e=f;this.canUseDOM()?this.isDOMReady()?t():this[e(269)](document,"DOMContentLoaded",()=>t()):t()})}static[g(234)](t,e){const n=g;this.canUseDOM()&&t&&Object[n(265)](e).forEach(([e,r])=>{const s=n;t.style[s(270)](e,r)})}static[g(254)](t,e){const n=g;this[n(282)]()&&t&&t[n(271)][n(279)](e)}static safeRemoveClass(t,e){const n=g;this[n(282)]()&&t&&t[n(271)][n(252)](e)}static[g(240)](t,e){const n=g;this.canUseDOM()&&t&&(t[n(244)]=e)}static[g(232)](t,e){const n=g;this[n(282)]()&&t&&(t[n(245)]=e)}static safeAppendChild(t,e){const n=g;this[n(282)]()&&t&&e&&t[n(289)](e)}static[g(275)](t,e){const n=g;this[n(282)]()&&t&&e&&t[n(253)](e)}static getPageInfo(){const t=g;return{url:this[t(227)](t(241),{href:""})[t(258)],title:this[t(266)]("title",""),referrer:this.getDocumentProperty(t(246),"")}}static getViewportInfo(){const t=g;return{width:this[t(227)](t(250),0),height:this[t(227)](t(256),0),pixelRatio:this.getWindowProperty(t(220),1)}}static[g(228)](){const t=g;return{scrollTop:this[t(282)]()?window[t(233)]||document[t(267)].scrollTop:0,scrollLeft:this[t(227)](t(272),0)}}static async waitForElement(t,e={}){const n=g,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(282)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(290)](t);return i?(o&&console[n(243)]("✅ 컨테이너 즉시 발견: "+t),i):(o&&console.log(n(281)+t+" (최대 "+r+n(249)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(278)](r/s),d=()=>{const n=a;c++;const u=document[n(290)](t);if(u)return o&&console[n(243)](n(263)+t+" ("+c+"번째 시도, "+c*s+n(259)),void e(u);if(c>=l){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+n(238)+t+n(255)+r+n(235)+c+n(237);return o&&console[n(247)](e),void i(new Error(e))}o&&c%10==0&&console.log(n(217)+t+" ("+c+"/"+l+")");const p=Math[n(222)](s*Math.pow(1.2,c),500);setTimeout(d,p)};setTimeout(d,s)}))}static async[g(219)](t,e={}){const n=g,r=t[n(261)](t=>this[n(226)](t,e));return Promise[n(221)](r)}}function v(){const t=["safeQuerySelector","safeAddEventListener","setProperty","classList","pageXOffset","undefined","167356ukzZcb","safeRemoveChild","safeCreateElement","from","ceil","add","safeQuerySelectorAll","⏳ 컨테이너 대기 시작: ","canUseDOM","querySelector","addEventListener","removeEventListener","waitForDOM","730808dBBUjM","safeGetComputedStyle","appendChild","getElementById","⏳ 컨테이너 대기 중: ","safeRemoveEventListener","waitForElements","devicePixelRatio","all","min","isBrowser","8298342McOOEY","4637067rtZYZQ","waitForElement","getWindowProperty","getScrollInfo","safeGetElementById","createElement","isSSR","safeSetInnerHTML","pageYOffset","safeApplyStyles","ms (","30GPzPpm","번 시도)",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"376JAiQpb","safeSetTextContent","location","7795370xtqNAG","log","textContent","innerHTML","referrer","error","6NIZxwV","ms)","innerWidth","4vacyLI","remove","removeChild","safeAddClass",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"innerHeight","3864965idsKLz","href","ms 경과)","querySelectorAll","map","readyState","✅ 컨테이너 발견: ","142694qLwiNM","entries","getDocumentProperty","documentElement"];return(v=function(){return t})()}function y(t,e){const n=b();return(y=function(t,e){return n[t-=315]})(t,e)}const I=y;function b(){const t=["893262damIUb","3ROeZhB","915618vqcwSS","userAgent","8SvegKQ","5LCaspg","2922542uJuruv","99330FBeGpD","8869512guJnxg","1784472MJzMma"," AdStageSDK/",'"3.0.9"',"153DfkWuG","7733891jegNcB"];return(b=function(){return t})()}!function(){const t=y,e=b();for(;;)try{if(959333===-parseInt(t(326))/1+-parseInt(t(324))/2*(parseInt(t(325))/3)+-parseInt(t(319))/4+-parseInt(t(315))/5*(-parseInt(t(318))/6)+parseInt(t(316))/7*(parseInt(t(328))/8)+parseInt(t(322))/9*(parseInt(t(317))/10)+parseInt(t(323))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const w=I(321);function k(){return w}const E=x;function x(t,e){const n=S();return(x=function(t,e){return n[t-=104]})(t,e)}function S(){const t=["effectiveType","resolvedOptions","SSR","substr","getViewportInfo","ssr_device_","width","random","now","setItem","android","isBrowser","2863278xRNjfT","2193608dSMDrm","3563QKBkqu","16288lsSRAv","1.0.0","userAgent","9322850jtEJXW","round","toLowerCase","top","ios","isMobile","6geBYcx","device_","getSlotPosition","2488660ZLorPM","DateTimeFormat","getPlatform","UTC","test","6taheGv","timeZone","web"," .adstage-slider-wrapper","91945rkrimx","22fSmErv","generateSessionId","colorDepth","safeGetElementById","desktop","pixelRatio","language",",y:","height","generateDeviceId","platform",'[data-adstage-slot-id="',"ssr_session_","collectDeviceInfo","session_","getScrollInfo","unknown","getItem","getBoundingClientRect","692256cowHxO","adstage_session_id","safeQuerySelector","6qhtgNk","left"];return(S=function(){return t})()}!function(){const t=x,e=S();for(;;)try{if(660184===parseInt(t(107))/1*(-parseInt(t(164))/2)+parseInt(t(130))/3*(-parseInt(t(145))/4)+-parseInt(t(159))/5*(-parseInt(t(156))/6)+parseInt(t(146))/7*(parseInt(t(147))/8)+-parseInt(t(144))/9+parseInt(t(150))/10+-parseInt(t(108))/11*(parseInt(t(127))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static[E(117)](){const t=E;if(!m[t(143)]())return t(137)+Date[t(140)]();const e=localStorage[t(125)]("adstage_device_id");if(e)return e;const n=t(157)+Math[t(139)]().toString(36)[t(135)](2,9)+"_"+Date.now();return localStorage.setItem("adstage_device_id",n),n}static[E(109)](){const t=E;if(!m[t(143)]())return t(120)+Date[t(140)]();const e=sessionStorage.getItem(t(128));if(e)return e;const n=t(122)+Math[t(139)]().toString(36).substr(2,9)+"_"+Date[t(140)]();return sessionStorage[t(141)](t(128),n),n}static[E(155)](){const t=E;return!!m[t(143)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(163)](navigator[t(149)])}static[E(161)](){const t=E;if(!m[t(143)]())return"web";const e=navigator[t(149)][t(152)]();return/iphone|ipad|ipod/[t(163)](e)?t(154):/android/[t(163)](e)?t(142):A.isMobile()?t(105):t(112)}static[E(121)](){const t=E,e=m[t(136)]();return{deviceId:A[t(117)](),sessionId:A[t(109)](),osVersion:m[t(143)]()?navigator[t(118)]:t(134),deviceModel:m[t(143)]()?navigator[t(118)]:"SSR",appVersion:t(148),sdkVersion:k(),language:m.isBrowser()&&navigator[t(114)]||"ko",country:"KR",ipAddress:"",userAgent:m[t(143)]()?navigator[t(149)]:t(134),timezone:m[t(143)]()?Intl[t(160)]()[t(133)]()[t(104)]:t(162),viewportWidth:e[t(138)],viewportHeight:e[t(116)],screenWidth:m.isBrowser()?screen[t(138)]:0,screenHeight:m[t(143)]()?screen[t(116)]:0,colorDepth:m[t(143)]()?screen[t(110)]:24,pixelRatio:e[t(113)],connectionType:m[t(143)]()&&navigator.connection?.[t(132)]||t(124),platform:A[t(161)]()}}static[E(158)](t){const e=E;let n=m[e(111)](t);if(!n){const r=m[e(129)]("#"+t+e(106));r&&(n=r)}if(!n&&(n=m.safeQuerySelector(e(119)+t+'"]')),!n)return"unknown";const r=n[e(126)](),s=m[e(123)]();return"x:"+Math[e(151)](r[e(131)])+e(115)+Math.round(r[e(153)]+s.scrollTop)}}const C=T;function T(t,e){const n=_();return(T=function(t,e){return n[t-=247]})(t,e)}function _(){const t=["20322zpkBlV","createForEvents","undefined","User-Agent","460704FPNutH","userAgent","API key is required","create","contentType","84ZnNtPM","application/json","75hOHRgV","1714472jBqnxK","298764iFTTwB","10955AtBZAh","345863DOZacp","127156QsDSTH"];return(_=function(){return t})()}!function(){const t=T,e=_();for(;;)try{if(155729===parseInt(t(255))/1+parseInt(t(256))/2*(-parseInt(t(250))/3)+parseInt(t(260))/4+parseInt(t(253))/5*(-parseInt(t(248))/6)+-parseInt(t(254))/7+parseInt(t(251))/8+parseInt(t(252))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class R{static[C(263)](t,e){const n=C;if(!t)throw new Error(n(262));const r={"x-api-key":t,"Content-Type":e?.[n(247)]||n(249)};return typeof navigator!==n(258)&&(r[n(259)]=e?.[n(261)]||navigator[n(261)]),r}static[C(257)](t,e){const n=C,r=R[n(263)](t);return e?.[n(261)]&&(r[n(259)]=e[n(261)]),r}}function D(t,e){const n=B();return(D=function(t,e){return n[t-=190]})(t,e)}const L=D;function B(){const t=["warn","getSlotPosition","🌐 Full API call details:","❌ Failed to track advertisement event:","VIEWABLE","trackAdvertisementEvent","debug","🚀 AdvertisementEventTracker: Processing "," event for ad ","height","apiKey","length","getPageInfo"," in slot ","width","7003549LAzrmD","title","log","baseUrl","3623892jMFSPp"," - ","/advertisements/events/","status","⚠️ Slot not found for slotId: ","6744mhyivp","adType","number","18243HfYYOz","✅ Successfully tracked advertisement event: ","sessionId","containerId","stringify","url","slots","API request failed: ","🚀 Sending advertisement event: ","4536252BRJjQz","get","2485400voZneT","4005588BnvGYf","statusText","857927FtDKGM","POST","🔍 Debug info:","parseNumericValue","2yaiCUy","replace","..."];return(B=function(){return t})()}!function(){const t=D,e=B();for(;;)try{if(612762===parseInt(t(203))/1*(-parseInt(t(207))/2)+-parseInt(t(229))/3+parseInt(t(198))/4+-parseInt(t(200))/5+-parseInt(t(201))/6+parseInt(t(225))/7+-parseInt(t(234))/8*(-parseInt(t(237))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{constructor(t,e,n,r){const s=D;this[s(228)]=t,this.apiKey=e,this[s(216)]=n,this[s(195)]=r}async[L(215)](t,e,n){const r=L;try{this[r(216)]&&console[r(227)](r(217)+n+r(218)+t+r(223)+e);const s=this[r(195)][r(199)](e);if(!s)return void(this.debug&&console[r(210)](r(233)+e+". Skipping event tracking to prevent incorrect adType."));if(!(document.getElementById(s[r(192)])||document.querySelector('[data-adstage-slot-id="'+e+'"]')))return void(this[r(216)]&&console.warn("⚠️ DOM element not found for slotId: "+e+" (containerId: "+s[r(192)]+"). Skipping event tracking."));const o=A.collectDeviceInfo(),a={adType:s[r(235)],platform:o.platform,deviceId:o.deviceId,deviceInfo:o,pageUrl:m[r(222)]()[r(194)],pageTitle:m[r(222)]()[r(226)],referrer:m.getPageInfo().referrer,slotId:e,slotPosition:A[r(211)](s[r(192)]),slotWidth:P[r(206)](s[r(224)]),slotHeight:P.parseNumericValue(s[r(219)]),sessionId:o[r(191)],pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:k(),timestamp:Date.now()},...n===i[r(214)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(228)]+r(231)+t+"/"+n,l=R.createForEvents(this[r(220)],a);this[r(216)]&&(console.log(r(197)+n+" for ad "+t,{url:c,headers:l,eventData:a}),console[r(227)](r(212),{method:r(204),url:c,hasApiKey:!!this.apiKey,bodySize:JSON.stringify(a)[r(221)]}));const d=await fetch(c,{method:r(204),headers:l,body:JSON[r(193)](a)});if(this[r(216)]&&console[r(227)]("📡 API Response Status: "+d[r(232)]+" "+d[r(202)],{url:c,ok:d.ok}),!d.ok){const t=await d.text();throw new Error(r(196)+d[r(232)]+" "+d[r(202)]+r(230)+t)}this.debug&&console[r(227)](r(190)+n+" for ad "+t)}catch(s){console.error(r(213),s),console.error(r(205),{baseUrl:this[r(228)],apiKey:this[r(220)]?this[r(220)].substring(0,8)+r(209):"NOT_SET",url:this[r(228)]+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[L(206)](t){const e=L;if(typeof t===e(236))return t;if("string"==typeof t){const n=parseFloat(t[e(208)](/px$/,""));return isNaN(n)?0:n}return 0}}var M=U;function z(){var t=["isViewableTriggered","4483152mZloop","5620008wiFPEP","2163252vUFnnA","observe","destroy","initIntersectionObserver","IntersectionObserver not supported, viewability tracking disabled","8786484VueIve","observer","hidden","0px","visible","disconnect","onViewableCallback","1906430RkbKpf","isDocumentVisible","5441436xKjolF","IntersectionObserver","7854910LZfeSV","warn"];return(z=function(){return t})()}function U(t,e){var n=z();return(U=function(t,e){return n[t-=163]})(t,e)}!function(){for(var t=U,e=z();;)try{if(972586===parseInt(t(180))/1+parseInt(t(168))/2+-parseInt(t(166))/3+-parseInt(t(167))/4+parseInt(t(163))/5+-parseInt(t(173))/6+parseInt(t(182))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class O{constructor(t,e){var n=U;this[n(174)]=null,this[n(165)]=!1,this.element=t,this.onViewableCallback=e,this[n(171)]()}[M(171)](){var t=M;t(183)in window?(this[t(174)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(176)}),this[t(174)][t(169)](this.element)):console[t(164)](t(172))}handleIntersection(t){t.forEach(t=>{var e=U;t.intersectionRatio>=.5&&this[e(181)]()&&!this[e(165)]&&(this[e(165)]=!0,this[e(179)]&&this.onViewableCallback())})}[M(181)](){var t=M;return!document[t(175)]&&document.visibilityState===t(177)}[M(170)](){var t=M;this[t(174)]&&(this.observer[t(178)](),this[t(174)]=null)}}function N(t,e){const n=j();return(N=function(t,e){return n[t-=208]})(t,e)}const V=N;!function(){const t=N,e=j();for(;;)try{if(772430===parseInt(t(214))/1+-parseInt(t(231))/2*(-parseInt(t(227))/3)+-parseInt(t(215))/4*(-parseInt(t(223))/5)+parseInt(t(228))/6+parseInt(t(216))/7+-parseInt(t(218))/8*(-parseInt(t(213))/9)+-parseInt(t(224))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const F={production:V(230),beta:"https://beta-api.adstage.app"};function j(){const t=["174276fmaLnG","7032420qFhhnj","baseUrl","https://api.adstage.app","16roJUoW","production","advertisements","events","/advertisements","startsWith","8500131BvEmhG","726040TlViQK","2092zTxFKb","2559263xDttal","detail","8srpQNd","/events/track","custom","getBaseUrl","list","2465KUfYJP","31583230DhdJLh","/advertisements/list","setBaseUrl"];return(j=function(){return t})()}const H={advertisements:{list:V(225),detail:V(211),events:"/advertisements/events"},events:{track:V(219)}};class K{constructor(t){const e=V;this[e(209)]={list:()=>""+this[e(229)]+H[e(209)][e(222)],detail:t=>""+this.baseUrl+H.advertisements[e(217)]+"/"+t,events:(t,n)=>""+this[e(229)]+H[e(209)].events+"/"+t+"/"+n},this[e(210)]={track:()=>""+this[e(229)]+H[e(210)].track},this[e(229)]=t||F[e(208)]}[V(226)](t){this[V(229)]=t}[V(221)](){return this[V(229)]}[V(220)](t){const e=V;return""+this[e(229)]+(t[e(212)]("/")?t:"/"+t)}}const W=new K;var G=Y;function Y(t,e){var n=J();return(Y=function(t,e){return n[t-=366]})(t,e)}!function(){for(var t=Y,e=J();;)try{if(247864===parseInt(t(372))/1*(-parseInt(t(367))/2)+-parseInt(t(382))/3*(parseInt(t(370))/4)+parseInt(t(383))/5+-parseInt(t(371))/6+parseInt(t(373))/7*(parseInt(t(374))/8)+parseInt(t(380))/9*(parseInt(t(378))/10)+parseInt(t(376))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class q{static[G(369)](t,e,n,r,s=!1){var o=G;s&&console[o(368)](o(379)+t[o(366)]+o(375)+n+") in slot: "+e.id),r(t[o(366)],e.id,i.VIEWABLE)}static[G(377)](t,e,n,r=!1){var s=G;r&&console[s(368)](s(381)+t[s(366)]+" (index: 0) in slot: "+e.id),n(t[s(366)],e.id,i.VIEWABLE)}}function J(){var t=[" (index: ","6620999GvUFUl","trackInitialSlideViewable","67220GOmpNL","🎯 Triggering VIEWABLE event for slide change: ad ","135dBKHlD","🎯 Triggering initial VIEWABLE event: ad ","1065hZpWMl","1326015NfEVya","_id","830044OWzSHo","log","trackSlideViewable","3628FnCiva","1093350Ddwjkp","1DlBPLF","1394078VDfNpy","8lVWvvT"];return(J=function(){return t})()}function Q(){const t=["717846ayHniY","addClickEventForSlider","6895545UQpOSV","stopPropagation","forEach","9632840DnLdAb","addClickEventsBatch","413871XweFIB","6Edjnap","_blank","355493FYbIZX","9031815wsThEC","style","log","pointer","addClickEvent","44FPLeHN"," ad clicked: ","🔗 ","CLICK","isClickable","preventDefault","8fVJBmm","linkUrl","7oNKRVr","_id"," -> ","toLowerCase","2383748OOICrB","addEventListener","open","click","cursor","addClickEventForRenderer"];return(Q=function(){return t})()}const Z=X;function X(t,e){const n=Q();return(X=function(t,e){return n[t-=379]})(t,e)}!function(){const t=X,e=Q();for(;;)try{if(696536===parseInt(t(393))/1+parseInt(t(391))/2*(-parseInt(t(390))/3)+-parseInt(t(411))/4+-parseInt(t(385))/5+parseInt(t(383))/6*(-parseInt(t(407))/7)+parseInt(t(405))/8*(-parseInt(t(394))/9)+parseInt(t(388))/10*(parseInt(t(399))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ${static[Z(398)](t,e,n,r,s=!1,o){const a=Z;e[a(406)]&&(t[a(395)][a(381)]=a(397),t.addEventListener(a(380),t=>{const c=a;if(t[c(404)](),t[c(386)](),r&&r(e._id,n.id,i[c(402)]),window[c(379)](e[c(406)],c(392)),s){const t=o||String(n.adType)[c(410)]();console.log(c(401)+t+c(400)+e._id+" -> "+e[c(406)])}}))}static[Z(382)](t,e,n,r,s=!1,o){const a=Z;e.linkUrl&&(t[a(395)][a(381)]=a(397),t[a(412)](a(380),t=>{const c=a;t.preventDefault(),t.stopPropagation();if(r()(e[c(408)],n.id,i.CLICK),window[c(379)](e[c(406)],c(392)),s){const t=o||String(n.adType)[c(410)]();console[c(396)](c(401)+t+c(400)+e[c(408)]+c(409)+e.linkUrl)}}))}static[Z(384)](t,e,n,r,s=!1,o){this[Z(398)](t,e,n,r,s,o)}static[Z(403)](t){return Boolean(t.linkUrl)}static[Z(389)](t,e,n,r,s=!1,o){const i=Z;t[i(387)]((t,a)=>{const c=i,l=e[a];l&&this[c(398)](t,l,n,r,s,o)})}}const tt=et;function et(t,e){const n=nt();return(et=function(t,e){return n[t-=436]})(t,e)}function nt(){const t=["100%","video","VIDEO","adstage-slide-container","data-adstage-slot-id","#f0f0f0","every","preventDefault","className","#cccccc","children","cssText","#666666","border","string","display","adstage-ad adstage-","adType","54yqjFzL","6810210DLtgIt","addEventListener","_id","body","forEach","mouseenter","normal","BANNER","TEXT","contains","img","transform","auto","none"," Ad","setAttribute","appendChild","#000","changedTouches","712303CFeHOB","createElement","50px","objectFit","transform 0.4s ease-out","clientX","padding","whiteSpace","div","1px dashed #ccc","4619016LdQGcN","overflow","flex","textContent","abs","200px","touches","classList","2468525phImbN","\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 ","length","1032591AGsQGk","0.9","includes","2xIULjY","inline-block","touchmove","addTouchSupport","#999999","remove","height","button","transition","0.7","src","color","backgroundColor","Text Ad","#f9f9f9","14px","createSimpleAdElement","querySelectorAll","add","createSliderContainer","Video Ad","relative","active","trackSlideViewable","1px solid #666","Banner Ad","autoSlideInterval","entries","background","toLowerCase","borderColor","adstage-dot","white","4326680abMRic","setProperty","51kGxGgN","style",".adstage-dot","adstage-slider-wrapper","100px","8px","center","getBoundingClientRect","147368XHTTLj","width","transparent","opacity","createMinimalDotIndicator","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","touchstart","block","removeChild"];return(nt=function(){return t})()}!function(){const t=et,e=nt();for(;;)try{if(736060===parseInt(t(439))/1*(-parseInt(t(463))/2)+-parseInt(t(498))/3*(parseInt(t(506))/4)+parseInt(t(457))/5+parseInt(t(533))/6*(parseInt(t(460))/7)+parseInt(t(449))/8+-parseInt(t(534))/9+parseInt(t(496))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static createSimpleAdElement(e,n){const r=et,s=document[r(440)](r(447));switch(s[r(523)]=r(531)+String(e[r(532)]).toLowerCase(),s[r(549)]("data-adstage-ad-id",n[r(536)]),s[r(549)](r(519),e.id),s[r(499)].display=r(513),s[r(499)][r(507)]=r(515),s[r(499)].height="auto",e.adType){case t[r(541)]:if(n.imageUrl){const t=document[r(440)](r(544));t[r(473)]=n.imageUrl,t.style[r(507)]=r(515),t.style[r(469)]=r(546),t[r(499)][r(442)]="cover",s.appendChild(t)}else s[r(499)].height=r(502),s[r(499)][r(475)]=r(520),s[r(499)][r(528)]="1px dashed #ccc",s[r(452)]=r(488);break;case t[r(517)]:if(n.videoUrl){const t=document.createElement(r(516));t[r(473)]=n.videoUrl,t[r(499)][r(507)]=r(515),t[r(499)].height=r(546),s.appendChild(t)}else s[r(499)][r(469)]=r(454),s[r(499)].backgroundColor=r(437),s[r(499)][r(528)]=r(487),s[r(452)]=r(483),s[r(499)][r(474)]=r(495);break;case t[r(542)]:if(n[r(452)]){const t=document[r(440)](r(447));t[r(452)]=n[r(452)]||"",t.style[r(445)]=r(503),t[r(499)].fontSize=r(478),s[r(436)](t)}else s[r(499)][r(469)]=r(441),s[r(499)][r(445)]=r(503),s[r(452)]=r(476);break;default:s[r(499)][r(469)]=r(502),s[r(499)][r(528)]=r(448),s[r(499)][r(475)]=r(477),s[r(452)]=e.adType+r(548)}return s}static[tt(482)](e,n,r,s,o=!1){const i=tt,a=document.createElement("div");a[i(523)]=i(501);const c={position:i(484),overflow:"hidden"};if(e[i(507)]&&0!==e[i(507)]){let t;t=typeof e.width===i(529)&&(e.width[i(462)]("px")||e[i(507)][i(462)]("%"))?e.width:e[i(507)]+"px",c.width=t,c.display=i(464)}else c[i(530)]=i(464);if(e[i(469)]&&0!==e[i(469)]){const t=typeof e[i(469)]===i(529)?e[i(469)]:e.height+"px";c[i(469)]=t}Object.entries(c)[i(538)](([t,e])=>{const n=i;a[n(499)][n(497)](t,e)});const l=!e[i(507)]||0===e[i(507)],d=!e[i(469)]||0===e[i(469)];if(l||d){const t=document[i(440)](i(447));if(t.style[i(526)]=i(511),!l&&e[i(507)]){let n;n="string"==typeof e[i(507)]&&(e[i(507)].includes("px")||e[i(507)][i(462)]("%"))?e[i(507)]:e[i(507)]+"px",t[i(499)][i(507)]=n,t[i(499)][i(446)]=i(540)}document[i(537)].appendChild(t);let r=0,s=0;n[i(538)](n=>{const o=i,a=this[o(479)](e,n);t.appendChild(a);const c=a[o(505)]();c.width>r&&(r=c[o(507)]),c[o(469)]>s&&(s=c[o(469)]),t.removeChild(a)}),l&&r>0&&(a.style[i(507)]=r+"px",c[i(507)]=r+"px"),d&&s>0&&(a[i(499)][i(469)]=s+"px",c[i(469)]=s+"px"),document.body[i(514)](t)}const u=[...n,n[0]],p=document.createElement("div");p[i(523)]=i(518);const h={display:i(451),transition:i(443),width:100*u[i(459)]+"%"};e.height&&0!==e[i(469)]&&(h[i(469)]="100%"),Object.entries(h)[i(538)](([t,e])=>{const n=i;p[n(499)][n(497)](t,e)}),u[i(538)]((t,n)=>{const r=i,a=document.createElement(r(447));a[r(523)]="adstage-slide";const c={width:100/u.length+"%","flex-shrink":"0",display:r(451),"align-items":"center","justify-content":r(504)};e[r(469)]&&0!==e[r(469)]&&(c.height=r(515)),Object[r(490)](c)[r(538)](([t,e])=>{const n=r;a[n(499)][n(497)](t,e)});const l=this[r(479)](e,t);$.addClickEventForSlider(l,t,e,s,o,String(e[r(532)])[r(492)]()),a.appendChild(l),p.appendChild(a)});const f=n[i(521)](e=>e[i(532)]===t[i(542)])?null:this[i(510)](n[i(459)]);let g=0;const m=n[i(459)],v=1e3*(r?.[i(489)]||3),y=(t,r=!1)=>{const a=i;g=t,p[a(499)][a(471)]=a(r?547:443),p[a(499)][a(545)]="translateX(-"+100/u[a(459)]*g+"%)";const c=g===m?0:g;if(f){f[a(480)](a(500))[a(538)]((t,e)=>{const n=a,r=t;e===c?(r.classList[n(481)](n(485)),r[n(499)][n(491)]=n(527),r[n(499)][n(493)]=n(527),r[n(499)][n(509)]="1"):(r[n(456)][n(468)]("active"),r[n(499)][n(491)]=n(508),r[n(499)][n(493)]=n(524),r[n(499)][n(509)]=n(472))})}q[a(486)](n[c],e,c,s,o)},I=()=>{g===m&&setTimeout(()=>{y(0,!0)},400)};if(f){f[i(480)](i(500))[i(538)]((t,e)=>{t.addEventListener("click",()=>y(e))})}let b=setInterval(()=>{y(g+1),I()},v);return a[i(535)](i(539),()=>{clearInterval(b)}),a[i(535)]("mouseleave",()=>{b=setInterval(()=>{y(g+1),I()},v)}),this[i(466)](p,y,()=>g,m,I),a[i(436)](p),f&&a[i(436)](f),y(0),(!e[i(507)]||0===e.width)&&setTimeout(()=>{const t=i,n=p[t(525)][0];if(n){const r=n[t(525)][0];if(r){const n=r[t(505)]();a[t(499)][t(507)]=n[t(507)]+"px",(!e[t(469)]||0===e[t(469)])&&(a[t(499)][t(469)]=n.height+"px"),a[t(499)][t(450)]="hidden"}}},10),a}static[tt(510)](t){const e=tt,n=document[e(440)](e(447));n[e(523)]="adstage-dots",n[e(499)][e(526)]=e(458);for(let r=0;r<t;r++){const t=document[e(440)](e(470));t[e(523)]=e(494),t[e(499)][e(526)]="\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ",t[e(535)](e(539),()=>{const n=e;!t.classList[n(543)](n(485))&&(t[n(499)][n(493)]=n(467),t[n(499)][n(509)]=n(461))}),t[e(535)]("mouseleave",()=>{const n=e;!t[n(456)][n(543)]("active")&&(t.style[n(493)]=n(524),t[n(499)][n(509)]="0.7")}),n[e(436)](t)}return n}static[tt(466)](t,e,n,r,s){const o=tt;let i=0,a=!1;t.addEventListener(o(512),t=>{i=t[o(455)][0].clientX,a=!0}),t.addEventListener(o(465),t=>{a&&t[o(522)]()}),t[o(535)]("touchend",t=>{const c=o;if(!a)return;a=!1;const l=t[c(438)][0][c(444)],d=i-l;if(Math[c(453)](d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function st(t,e){const n=ot();return(st=function(t,e){return n[t-=427]})(t,e)}function ot(){const t=["11968YITCDU","56505kKVLsn","9624RYdYVE","delete","14knYUIW"," in slot ","8238790mbRztI","4695909Ftfxev","viewableTracker","18xwNnvt","add","955MAopqR","✅ New viewable recorded for ad ","log","clearAdViewable","14528VJKRsG","2358456WHtIPm","12eqaJWv","3724362AqEuUH","clear","Duplicate viewable blocked for ad "];return(ot=function(){return t})()}const it=st;!function(){const t=st,e=ot();for(;;)try{if(929478===parseInt(t(429))/1*(-parseInt(t(445))/2)+-parseInt(t(435))/3+parseInt(t(443))/4*(-parseInt(t(439))/5)+-parseInt(t(446))/6*(-parseInt(t(432))/7)+-parseInt(t(444))/8*(-parseInt(t(437))/9)+parseInt(t(434))/10+-parseInt(t(428))/11*(-parseInt(t(430))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static isDuplicateViewable(t,e,n=!1){const r=st,s=t+"_"+e;return at.viewableTracker.has(s)?(n&&console.log(r(427)+t+r(433)+e),!0):(at[r(436)][r(438)](s),n&&console[r(441)](r(440)+t+r(433)+e),!1)}static[it(447)](){at.viewableTracker.clear()}static[it(442)](t,e){const n=it,r=t+"_"+e;at.viewableTracker[n(431)](r)}}function ct(){const t=["toLowerCase","data-adstage-empty","data-adstage-type","appendChild","string","contains","🔄 Starting advertisement event tracking: ","setAttribute","true"," container collapsed (","applyPlaceholderStyle","none","adstage-slot adstage-","parentElement","getAttribute","div","hasAttribute","filter","54GaHqLO","auto",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"unknown","getDefaultHeight","px)","#f9f9f9","number","backgroundColor","adstage-official","VIEWABLE","rgba(231, 76, 60, 0.1)","rgba(0, 0, 0, 0.02)","adstage-class","rgba(248, 249, 250, 0.5)","📦 Placeholder created for ","): ","renderFallback","block","placeholderMode","monospace","trackAdvertisementEvent","4px",'div[style*="height"]'," ad...</span>","querySelector","1091734wrNyJD","innerHTML","getElementById","<span>Loading "," for ad ","adstage-slot adstage-empty adstage-","containerId","center","alignItems","✅ New viewable recorded for ad ","📏 Using default height ","closest","border",'div[style*="min-height"]',"728sUlOJP","7853316mCnUIl","createElement","getContainerHeight","adstage-slot","21905nZqapX","height","data-adstage-slot","calculateAdSize","generic","1px dashed #ccc","37779liKJel","width","adType","#666","⚠️ AdvertisementEventTracker not available for ","log","borderRadius","fontFamily"," event for ad ","className","advertisement","6px","3818535EmQHjV","error",".adstage-slot",'[data-adstage-container="true"]',"🚫 Duplicate viewable blocked for ad "," in slot ","33607008ulQqvY",'[class*="container"]'," container: ","advertisementEventTracker","classList",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"📊 Advertisement event tracked: ",") - Mode: ","⚠️ ","cssText","fontSize","1px solid rgba(0, 0, 0, 0.08)","subtle","100%","createEventTrackingCallback","isEmpty","display",".adstage-","\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 ","warn",'[class*="ad"]',"opacity","justifyContent","invisible","transparent","data-adstage-container","style","📏 Using 100% height (container: ","flex","debug"," event","⚠️ Created empty ","2px dashed #e74c3c","959424HPnFBO"];return(ct=function(){return t})()}at[it(436)]=new Set;const lt=dt;function dt(t,e){const n=ct();return(dt=function(t,e){return n[t-=235]})(t,e)}!function(){const t=dt,e=ct();for(;;)try{if(861572===-parseInt(t(294))/1+-parseInt(t(268))/2*(parseInt(t(319))/3)+-parseInt(t(308))/4*(parseInt(t(313))/5)+-parseInt(t(309))/6+parseInt(t(331))/7+parseInt(t(249))/8+parseInt(t(337))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ut{constructor(t,e=!1,n){const r=dt;this.adType=t,this[r(245)]=e,this[r(340)]=n||null}createPlaceholder(t,e,n,r){const s=dt,o=document[s(310)](s(265));o.id=e,o[s(328)]=s(262)+String(this[s(321)]).toLowerCase(),o.setAttribute("data-adstage-container",s(258)),o.setAttribute(s(252),String(this[s(321)])),o[s(257)]("data-adstage-slot",e);const{width:i,height:a}=this[s(316)](t,n,r)||{width:s(350),height:this[s(272)]()};o[s(242)][s(320)]=i,o[s(242)].height=a;const c=r?.placeholderMode||n[s(287)]||"invisible";this.applyPlaceholderStyle(o,c),t[s(253)](o),this[s(245)]&&console.log(s(283)+this[s(321)]+" slot: "+e+" ("+i+" x "+a+s(344)+c)}[lt(260)](t,e){const n=lt;switch(e){case n(239):t[n(242)][n(276)]=n(240),t[n(242)][n(306)]=n(261),t[n(242)][n(237)]="0",t.innerHTML="";break;case n(240):t.style[n(276)]=n(240),t[n(242)][n(306)]=n(261),t[n(242)][n(353)]=n(286),t[n(295)]="";break;case n(349):t[n(242)][n(276)]=n(280),t[n(242)].border=n(261),t[n(242)][n(325)]=n(290),t.style[n(353)]=n(244),t[n(242)].alignItems="center",t[n(242)][n(238)]=n(301),t.innerHTML=n(342);break;case"minimal":t.style[n(276)]=n(282),t[n(242)][n(306)]=n(348),t.style[n(325)]=n(330),t[n(242)][n(353)]=n(244),t[n(242)][n(302)]="center",t[n(242)][n(238)]=n(301),t[n(295)]=n(270);break;case n(245):t[n(242)][n(306)]=n(248),t[n(242)][n(353)]=n(244),t[n(242)][n(302)]=n(301),t[n(242)][n(238)]=n(301),t[n(242)][n(276)]=n(279),t[n(242)].color="#e74c3c",t.style[n(326)]=n(288),t.style[n(347)]="11px",t[n(295)]=n(297)+this[n(321)]+n(292);break;default:t[n(242)][n(306)]=n(318),t[n(242)][n(353)]="flex",t[n(242)][n(302)]=n(301),t[n(242)][n(238)]="center",t[n(242)][n(276)]=n(274),t.style.color=n(322),t[n(295)]="<span>Loading "+this[n(321)]+n(292)}}[lt(316)](t,e,n){const r=lt,s=e.width,o=e[r(314)];let i,a;if(i=typeof s===r(275)?s+"px":typeof s===r(254)?s:r(350),typeof o===r(275))a=o+"px";else if("string"==typeof o&&"100%"!==o&&o!==r(269))a=o;else{const e=this[r(311)](t);e>0?(a=r(350),(n?.debug||this[r(245)])&&console[r(324)](r(243)+e+r(273))):(a=this[r(272)](),(n?.debug||this.debug)&&console[r(324)](r(304)+a+" for "+this[r(321)]))}return{width:i,height:a}}[lt(311)](t){const e=lt,n=window.getComputedStyle(t),r=parseFloat(n[e(314)]);if(!r||0===r){const r=parseFloat(n.minHeight);if(r>0)return r;if(t[e(242)].height&&t[e(242)].height!==e(269)){const n=parseFloat(t[e(242)].height);if(n>0)return n}const s=t[e(264)](e(314));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[lt(351)](){return async(t,e,n)=>{const r=dt;if(n===i[r(278)]){if(at.isDuplicateViewable(t,e,this[r(245)]))return void(this.debug&&console.log(r(335)+t+r(336)+e));this[r(245)]&&console[r(324)](r(303)+t+" in slot "+e)}if(this[r(340)])try{this[r(245)]&&console.log(r(256)+n+r(298)+t+r(336)+e),await this[r(340)][r(289)](t,e,n),this[r(245)]&&console[r(324)](r(343)+n+" for ad "+t+r(336)+e)}catch(e){this.debug&&console[r(332)]("❌ Failed to track "+n+r(327)+t+":",e)}else this[r(245)]&&console.warn(r(323)+n+r(246))}}[lt(285)](t){const e=lt,n=document[e(296)](t.id);if(n){const r=[...[n[e(293)]('[data-adstage-container="true"]'),n[e(305)](e(334)),n][e(267)](t=>t&&t[e(266)](e(241))),...[n[e(305)](e(333)),n.closest(e(354)+String(this[e(321)])[e(250)]()),n[e(305)](e(236)),n.closest('[class*="banner"]'),n[e(305)](e(338)),n.closest(e(291)),n[e(305)](e(307)),n[e(263)]][e(267)](Boolean)][0];if(r){let n=e(271);n=r[e(266)]("data-adstage-container")?e(277):r[e(341)][e(255)](e(312))?e(281):e(317),r[e(242)].cssText+=e(355),r[e(295)]="",r.setAttribute(e(251),"true"),this[e(245)]&&console.warn(e(345)+this[e(321)]+e(259)+n+e(284)+t.id,r)}else this.createEmptyContainer(t)}t[e(329)]=void 0,t[e(352)]=!0}createEmptyContainer(t){const e=lt,n=document[e(296)](t[e(300)]);if(n){n[e(295)]="";const r=document[e(310)](e(265));r.id=t.id,r[e(328)]=e(299)+String(this[e(321)])[e(250)](),r[e(257)](e(241),e(258)),r[e(257)](e(251),"true"),r[e(257)](e(315),t.id),r[e(242)][e(346)]="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n[e(253)](r),this[e(245)]&&console[e(235)](e(247)+this[e(321)]+e(339)+t.id)}}[lt(324)](t,...e){this[lt(245)]&&console.log("["+this.adType+"] "+t,...e)}}const pt=ft;function ht(){const t=["values","🔧 Banner container optimized for ","warn","width","_id","map","naturalHeight","src"," with ","common","reduce","config","470HykMmT","dominant","innerHTML","objectPosition","status","naturalWidth","optimizedHeight","forEach","Failed to calculate optimal banner size, using defaults:","filter","center","3741183wghfwu","appendChild","from","round","calculateAdSize","6bYeguY","loadImageDimensions","error","Image URL is not provided","renderOptimizedBannerImage","onerror","Banner container optimization failed, using default size:","3004NfRCHM","set","imageUrl","✅ Optimized banner image rendered for ad: ","applyOptimizedImageStyle","createEventTrackingCallback","17456186OeinOI","img","toFixed","Failed to load image: ","average","250px","renderAdElement"," (strategy: ","debug","title","#f0f0f0","addClickEventForRenderer","📐 Optimal banner container calculated: ","🎠 Banner carousel created for slot: ","Banner Ad",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"slideInterval","containerId","118122pmWiCb","948661AJYIKJ","100%","calculateOptimalHeight","getBoundingClientRect","createSliderContainer","📊 Using standard ratio: ","getElementById","block","2984745nTQAOY","get","toString","16:9","8px","2ohkjFP","abs","renderMultipleAds","height","allSettled","max","log","Container not found: ",", ratio=","createElement","Banner","calculateOptimalContainerSize","❌ Failed to load optimized banner image:","count","alt","cover","Banner Advertisement","length","selectOptimalSizeStrategy","getDefaultHeight","div","className","value","ratio"," (avg: ","objectFit","optimizeContainerForBannerAds","style","8MUIZsJ","1596510kVShjH","onload"];return(ht=function(){return t})()}function ft(t,e){const n=ht();return(ft=function(t,e){return n[t-=141]})(t,e)}!function(){const t=ft,e=ht();for(;;)try{if(523808===parseInt(t(210))/1*(-parseInt(t(224))/2)+-parseInt(t(219))/3+parseInt(t(186))/4*(-parseInt(t(163))/5)+parseInt(t(179))/6*(-parseInt(t(211))/7)+-parseInt(t(148))/8*(-parseInt(t(174))/9)+-parseInt(t(149))/10+parseInt(t(192))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class gt extends ut{constructor(e=!1,n){super(t.BANNER,e,n)}[pt(243)](){return pt(197)}async[pt(198)](t,e){const n=pt,r=document[n(217)](t[n(209)]);if(!r)return;const s=document[n(233)](n(244));s[n(141)]="adstage-ad adstage-banner-ad";const o=t[n(169)],i=r.parentElement||r;if(o)s[n(147)][n(154)]=n(212),s[n(147)].height=String(o);else{const e=t.config,r={width:e?.[n(154)],height:e?.height},{width:o,height:a}=this[n(178)](i,r,{debug:this[n(200)]});s[n(147)][n(154)]=o,s[n(147)][n(227)]=a}e[n(188)]?await this[n(183)](s,e,t):s[n(165)]="<div>"+(e[n(201)]||n(206))+"</div>",$[n(203)](s,e,t,()=>this.createEventTrackingCallback(),this[n(200)],"Banner"),r.innerHTML="",r[n(175)](s)}async[pt(226)](t,e){const n=pt,r=document.getElementById(t[n(209)]);if(!r)throw new Error(n(231)+t[n(209)]);await this[n(146)](t,e);const s=this.createEventTrackingCallback(),o={autoSlideInterval:(t[n(162)]?.[n(208)]||5e3)/1e3,...t[n(162)],optimizedHeight:t[n(169)],aspectRatio:t.aspectRatio},i=rt[n(215)](t,e,o,s,this[n(200)]);i&&(r.innerHTML="",r[n(175)](i),this[n(200)]&&console.log(n(205)+t.id+n(159)+e[n(241)]+" ads (optimized: "+(t[n(169)]||"default")+")"))}async calculateOptimalContainerSize(t,e){const n=pt;if(!t[n(241)])return{width:n(212),height:this[n(243)](),aspectRatio:16/9};try{const r=(await Promise[n(228)](t[n(172)](t=>t[n(188)]).map(t=>this[n(180)](t[n(188)]))))[n(172)](t=>"fulfilled"===t[n(167)]).map(t=>t[n(142)]);if(0===r[n(241)])return{width:n(212),height:this.getDefaultHeight(),aspectRatio:16/9};const s=this[n(242)](r),o=this[n(213)](r,e,s);return this[n(200)]&&console[n(230)](n(204)+e+"x"+o+n(199)+s+")"),{width:n(212),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(153)](n(171),t),{width:n(212),height:this.getDefaultHeight(),aspectRatio:16/9}}}async[pt(146)](t,e){const n=pt;try{const r=document.getElementById(t[n(209)]),s=document[n(217)](t.id);if(!r||!s)return;const o=r[n(214)]()[n(154)]||300,i=await this[n(235)](e,o);s.style.height=i[n(227)],t[n(169)]=i[n(227)],t.aspectRatio=i.aspectRatio,this.debug&&console.log(n(152)+e[n(241)]+" ads: "+i[n(227)])}catch(t){console.warn(n(185),t)}}selectOptimalSizeStrategy(t){const e=pt,n=t.map(t=>t[e(154)]/t[e(227)]),r=new Map;n[e(170)](t=>{const n=(Math[e(177)](10*t)/10).toString();r.set(n,(r.get(n)||0)+1)});const s=Math[e(229)](...r[e(151)]()),o=t.length;if(s/o>=.7)return e(164);const i=[16/9,4/3,1,1.5];return n[e(172)](t=>i.some(e=>Math.abs(t-e)<.1))[e(241)]/o>=.5?e(160):"average"}[pt(213)](t,e,n){const r=pt,s=t[r(156)](t=>t[r(154)]/t[r(227)]);switch(n){case"dominant":{const t=new Map;s[r(170)](e=>{const n=r,s=Math.round(10*e)/10,o=s[n(221)](),i=t[n(220)](o);i?i.count++:t[n(187)](o,{ratio:s,count:1})});const n=Array[r(176)](t[r(151)]())[r(161)]((t,e)=>e[r(237)]>t[r(237)]?e:t);return Math[r(177)](e/n[r(143)])}case r(160):{const t=[{ratio:16/9,name:r(222)},{ratio:4/3,name:"4:3"},{ratio:1,name:"1:1"},{ratio:1.5,name:"3:2"}],n=s[r(161)]((t,e)=>t+e,0)/s.length,o=t.reduce((t,e)=>Math[r(225)](e[r(143)]-n)<Math[r(225)](t[r(143)]-n)?e:t);return this[r(200)]&&console[r(230)](r(216)+o.name+r(144)+n[r(194)](2)+")"),Math.round(e/o[r(143)])}case r(196):default:{const t=s[r(161)]((t,e)=>t+e,0)/s[r(241)];return Math[r(177)](e/t)}}}[pt(180)](t){return new Promise((e,n)=>{const r=ft,s=new Image;s[r(150)]=()=>{const t=r;e({width:s[t(168)],height:s[t(157)]})},s[r(184)]=()=>{n(new Error(r(195)+t))},s[r(158)]=t})}[pt(190)](t,e,n){const r=pt,s=e/n;Math[r(225)](s-1)<.1?(t[r(147)][r(145)]=r(239),t[r(147)].objectPosition="center"):s>1.3?(t[r(147)][r(145)]="contain",t[r(147)][r(166)]=r(173),t.style.backgroundColor=r(202)):s<.7?(t[r(147)].objectFit=r(239),t.style[r(166)]=r(173)):(t.style[r(145)]="cover",t.style.objectPosition=r(173)),this[r(200)]&&console[r(230)]("🎨 Banner image style applied: objectFit="+t[r(147)][r(145)]+r(232)+s[r(194)](2))}async[pt(183)](t,e,n){const r=pt,s=document[r(233)](r(193));s[r(147)][r(154)]=r(212),s[r(147)][r(227)]=r(212),s[r(147)].display=r(218),s[r(147)].borderRadius=r(223),s[r(238)]=e[r(201)]||r(240),t[r(165)]=r(207);try{if(!e[r(188)])throw new Error(r(182));const o=await this.loadImageDimensions(e.imageUrl),i=t[r(214)](),a=i[r(154)],c=i[r(227)];this[r(200)]&&(console[r(230)]("📸 Banner image dimensions: "+o[r(154)]+"x"+o[r(227)]),console[r(230)]("📦 Banner container dimensions: "+a+"x"+c));const l=o[r(154)]/o[r(227)],d=a/c;return this[r(190)](s,l,d),s[r(158)]=e[r(188)],t[r(165)]="",t.appendChild(s),$[r(203)](s,e,n,()=>this.createEventTrackingCallback(),this[r(200)],r(234)),this[r(200)]&&console[r(230)](r(189)+e[r(155)]),s}catch(o){return console[r(181)](r(236),o),e[r(188)]&&(s[r(158)]=e[r(188)],s[r(147)][r(145)]=r(239),s[r(147)].objectPosition=r(173),t[r(165)]="",t[r(175)](s),$[r(203)](s,e,n,()=>this[r(191)](),this.debug,r(234))),s}}}const mt=vt;function vt(t,e){const n=yt();return(vt=function(t,e){return n[t-=346]})(t,e)}function yt(){const t=["\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 ","4944804wqMAXZ","36sGsHIL","1941460MgMeMB","67869CIEpLj","setTextAdContent","title","111056uRzBsJ","5125240XJxlHg","textContent","7kAajTu","2933262vOcPPR","4403864XSgmNQ"];return(yt=function(){return t})()}!function(){const t=vt,e=yt();for(;;)try{if(593344===-parseInt(t(358))/1+parseInt(t(357))/2+-parseInt(t(356))/3*(parseInt(t(348))/4)+-parseInt(t(349))/5+parseInt(t(355))/6*(parseInt(t(351))/7)+parseInt(t(353))/8+-parseInt(t(352))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It{static createTextAdStyles(t=!1){return vt(354)}static[mt(346)](t,e){const n=mt,r=e[n(350)]||e[n(347)]||"";t[n(350)]=r}}const bt=wt;function wt(t,e){const n=kt();return(wt=function(t,e){return n[t-=490]})(t,e)}function kt(){const t=["adstage-fade-slide-container","position","adstage-fade-slide","20px","height: auto;","createSimpleAdElement","addClickEventForSlider","zIndex","touches","clientY","setTextAdContent","touchstart","includes","length","preventDefault","style","setAttribute","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","height: 100%;","8jRftxB","string","adstage-ad adstage-","37870096LQxGFd","width","2141562VYVaCF",";\n width: 100%;\n ",";\n top: ","createElement","\n position: relative;\n width: 100%;\n ","auto","\n ","hidden","changedTouches","9279lwtwfg","whiteSpace","77xHpAVO","addTouchSupport","mouseleave","115izMigH","abs","185599sdsHPt","toLowerCase",";\n transform: translateY(","forEach","removeChild","className","Text","minHeight","cssText","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","2900806yZwrWm","5380lqYWBN","relative","autoSlideInterval","div","getBoundingClientRect","250878FeVOOs","addEventListener","translateY(0)","absolute","block","touchend","translateY(20px)","createTextAdStyles","body","appendChild","\n position: ","left","data-adstage-ad-id","height",";\n left: ","normal","opacity","transform","trackSlideViewable","data-adstage-slot-id","272536VnRpLU","top"];return(kt=function(){return t})()}!function(){const t=wt,e=kt();for(;;)try{if(762614===parseInt(t(518))/1+parseInt(t(528))/2+-parseInt(t(502))/3*(-parseInt(t(497))/4)+parseInt(t(516))/5*(parseInt(t(534))/6)+parseInt(t(513))/7*(-parseInt(t(554))/8)+parseInt(t(511))/9*(parseInt(t(529))/10)+-parseInt(t(500))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Et{static[bt(561)](t,e){const n=bt,r=document[n(505)](n(532));return r.className=n(499)+String(t.adType)[n(519)](),r[n(494)](n(546),e._id),r[n(494)](n(553),t.id),r[n(493)][n(526)]=It[n(541)](!0),It[n(566)](r,e),r}static createTextTransitionContainer(t,e,n,r,s=!1){const o=bt,i=t.height&&0!==t.height&&t[o(547)]!==o(507),a=document[o(505)]("div");a.className="adstage-fade-slider-wrapper";const c={position:o(530),overflow:o(509),display:o(538)};if(!i&&(c[o(547)]=o(507),c[o(525)]="fit-content"),t[o(501)]&&0!==t[o(501)]){let e;e="string"==typeof t[o(501)]?t.width[o(490)]("px")||t.width[o(490)]("%")?t.width:t[o(501)]+"px":t.width+"px",c[o(501)]=e}if(t.height&&0!==t[o(547)]&&t.height!==o(507)&&i){let e;e=typeof t[o(547)]===o(498)?t[o(547)][o(490)]("px")||t.height[o(490)]("%")?t[o(547)]:t.height+"px":t[o(547)]+"px",c[o(547)]=e}Object.entries(c)[o(521)](([t,e])=>{a[o(493)].setProperty(t,e)});const l=document[o(505)](o(532));l[o(523)]=o(556),l[o(493)][o(526)]=o(506)+(i?o(496):"height: auto; min-height: fit-content;")+o(508);let d=null;const u=!t[o(501)]||0===t[o(501)],p=!t[o(547)]||0===t[o(547)]||void 0===t[o(547)]||"auto"===t[o(547)];if(u||p&&i){if(d=document.createElement(o(532)),d[o(493)][o(526)]=o(527),!u&&t[o(501)]){let e;e=typeof t[o(501)]===o(498)?t[o(501)][o(490)]("px")||t.width[o(490)]("%")?t.width:t[o(501)]+"px":t.width+"px",d.style[o(501)]=e,d[o(493)][o(512)]=o(549)}document.body[o(543)](d);let n=0,r=0;e.forEach(e=>{const s=o,i=this[s(561)](t,e);d[s(543)](i);const a=i[s(533)]();a.width>n&&(n=a[s(501)]),a[s(547)]>r&&(r=a[s(547)]),d[s(522)](i)}),u&&n>0&&(a[o(493)][o(501)]=n+"px"),p&&r>0&&i&&(a.style[o(547)]=r+"px"),document[o(542)][o(522)](d)}const h=[];e[o(521)]((e,n)=>{const a=o,c=document[a(505)](a(532));c[a(523)]=a(558);const d=a(i?537:0===n?530:537);c[a(493)][a(526)]=a(544)+d+a(504)+(d===a(537)?"0":a(507))+a(548)+(d===a(537)?"0":a(507))+a(503)+a(i?496:560)+a(495)+(0===n?"1":"0")+a(520)+(0===n?"0":a(559))+");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: "+(0===n?"2":"1")+";\n ";const u=this[a(561)](t,e);$[a(562)](u,e,t,r,s,a(524)),c[a(543)](u),l[a(543)](c),h.push(c)});let f=0;const g=e[o(491)],m=1e3*(n?.[o(531)]||4),v=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c[a(493)][a(557)]===a(530)&&(c[a(493)][a(557)]=a(537),c[a(493)].top="0",c[a(493)][a(545)]="0"),l[a(493)][a(557)]=a(530),l[a(493)][a(555)]="auto",l.style[a(545)]=a(507)),c[a(493)][a(550)]="0",c.style[a(551)]="translateY(-20px)",c[a(493)][a(563)]="1",l[a(493)].opacity="1",l[a(493)][a(551)]=a(536),l[a(493)][a(563)]="2",h[a(521)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(493)].opacity="0",t.style[r(551)]=r(540),t.style[r(563)]="1",!i&&t[r(493)][r(557)]===r(530)&&(t[r(493)][r(557)]="absolute",t[r(493)][r(555)]="0",t[r(493)].left="0"))}),f=n,q[a(552)](e[f],t,f,r,s)};let y=setInterval(()=>{v(f+1)},m);return a[o(535)]("mouseenter",()=>{clearInterval(y)}),a[o(535)](o(515),()=>{y=setInterval(()=>{v(f+1)},m)}),Et[o(514)](a,v,()=>f,g),a.appendChild(l),a}static[bt(514)](t,e,n,r){const s=bt;let o=0,i=0,a=!1;t[s(535)](s(567),t=>{const e=s;o=t[e(564)][0].clientX,i=t[e(564)][0][e(565)],a=!0}),t[s(535)]("touchmove",t=>{a&&t[s(492)]()}),t[s(535)](s(539),t=>{const r=s;if(!a)return;a=!1;const c=t[r(510)][0].clientX,l=t.changedTouches[0][r(565)],d=o-c,u=i-l;if(Math[r(517)](d)>Math[r(517)](u)&&Math[r(517)](d)>50){const t=n();e(d>0?t+1:t-1)}})}}const xt=St;function St(t,e){const n=At();return(St=function(t,e){return n[t-=336]})(t,e)}function At(){const t=["2979907gJsnsx","width","log","appendChild","setTextAdContent","4DZHPFF","Text","_id","Container not found: ","aspectRatio","calculateAdSize","debug","optimizedHeight"," ads","className","div","hidden","20801970WLFSgE","maxLines","-webkit-box","height","style","7881840gMrMsX","config","✨ Text transition created for slot: ","containerId","getDefaultHeight","291642azVaqu","5176368PwDYAx","65GMzkFB","renderMultipleAds","display","3192948cLjcQJ","number","60px","innerHTML","webkitLineClamp","createElement"," with ","76495vVZwsw","overflow","✨ Single text ad rendered: ","createTextTransitionContainer","createTextAdStyles","addClickEventForRenderer","slideInterval"];return(At=function(){return t})()}!function(){const t=St,e=At();for(;;)try{if(651274===-parseInt(t(371))/1*(-parseInt(t(337))/2)+-parseInt(t(364))/3+parseInt(t(360))/4+-parseInt(t(361))/5*(parseInt(t(359))/6)+-parseInt(t(378))/7+-parseInt(t(354))/8+parseInt(t(349))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct extends ut{constructor(e=!1,n){super(t.TEXT,e,n)}[xt(358)](){return xt(366)}async renderAdElement(t,e){const n=xt,r=document.getElementById(t[n(357)]);if(!r)return;const s=document.createElement(n(347));s[n(346)]="adstage-ad adstage-text-ad";const o=t.optimizedHeight,i=r.parentElement||r;if(o)s[n(353)][n(379)]="100%",s[n(353)][n(352)]=String(o);else{const e=t[n(355)],r={width:e?.[n(379)],height:e?.[n(352)]},{width:o,height:a}=this[n(342)](i,r,{debug:this.debug});s.style[n(379)]=o,s[n(353)][n(352)]=a}const a=document[n(369)](n(347));a[n(346)]="adstage-text-content",a[n(353)].cssText=It[n(375)](!1),It[n(336)](a,e);const c=t[n(355)]?.[n(350)];c&&typeof c===n(365)&&(a[n(353)][n(363)]=n(351),a[n(353)][n(368)]=String(c),a[n(353)].webkitBoxOrient="vertical",a[n(353)][n(372)]=n(348)),s.appendChild(a),$[n(376)](s,e,t,()=>this.createEventTrackingCallback(),this.debug,n(338)),r.innerHTML="",r.appendChild(s),this[n(343)]&&console[n(380)](n(373)+e[n(339)])}async[xt(362)](t,e){const n=xt,r=document.getElementById(t.containerId);if(!r)throw new Error(n(340)+t[n(357)]);const s=this.createEventTrackingCallback(),o={autoSlideInterval:(t.config?.[n(377)]||5e3)/1e3,...t[n(355)],optimizedHeight:t[n(344)],aspectRatio:t[n(341)]},i=Et[n(374)](t,e,o,s,this.debug);i&&(r[n(367)]="",r[n(381)](i),this[n(343)]&&console.log(n(356)+t.id+n(370)+e.length+n(345)))}}const Tt=_t;function _t(t,e){const n=Rt();return(_t=function(t,e){return n[t-=255]})(t,e)}function Rt(){const t=["loop","mouseleave","log","1160565zoIvPA","hideRemainingTime","height"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","renderVideoElementDirect","transform","Click to unmute","🎬 Trying muted autoplay fallback..."," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","createElement","head","renderAdElement","loadedmetadata","warn","hideControls","innerHTML","100%","\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 ","192yqulNp","hideFullscreenButton","unmuted","play","addEventListener","1633576nhCjQd","getElementById","contain","objectFit","adstage-video-container","\n video::-webkit-media-controls-play-button {\n display: ","style","506257oXAmvp","Container not found: ","rgba(0, 0, 0, 0.7)","length","🎬 Final video settings:","width",'\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 ',"customControls","preload","adstage-video-default-controls","Click to mute","className","Video fallback","background","autoplay","1600752HnXwNv","enabled","none","\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 ","\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 ",", muted: "," (autoplay: ","🎬 Auto-play was prevented:","click","catch","⚠️ No video advertisements available for slot: ","addClickEventForRenderer","button","imageUrl","title","🎬 Video can play, attempting autoplay...","relative","VIDEO","error","video","disabled (default)","setAttribute","canplay","appendChild","_id","src","debug","controls","playsinline"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","containerId","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 ","Video load failed:","3238490lEBzHS","cssText","107010iQEbzm","getDefaultHeight","block","scale(1)","🎬 Autoplay completely failed:","mouseenter","adstage-video-mute-button","config","muted","hideVolumeSlider"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","hidePlayButton","hideMuteButton","VIEWABLE","🎬 Single video rendered for VIDEO slot: ","alt","textContent","img","paused","createEventTrackingCallback","🎬 Initial autoplay attempt after timeout...","Video thumbnail","display","Video","🎬 Video element created for ad: ","\n pointer-events: none;\n ","360px","22086xlPypl","loadeddata","videoUrl",", loop: "];return(Rt=function(){return t})()}!function(){const t=_t,e=Rt();for(;;)try{if(468572===-parseInt(t(360))/1+parseInt(t(348))/2*(parseInt(t(323))/3)+-parseInt(t(260))/4+parseInt(t(294))/5+-parseInt(t(296))/6+-parseInt(t(330))/7+parseInt(t(353))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Dt extends ut{constructor(e=!1,n){super(t[_t(277)],e,n)}[Tt(297)](){return Tt(322)}async[Tt(341)](t,e){const n=Tt,r=document[n(354)](t[n(290)]);if(!r)return;const s=document[n(339)](n(291));s[n(256)]=n(357),s[n(359)][n(295)]=n(292),this.renderVideoElementDirect(s,e,t),r[n(345)]="",r[n(283)](s),this[n(286)]&&console[n(329)]("🎬 Single video ad rendered: "+e[n(284)])}async renderMultipleAds(t,e){const n=Tt,r=document[n(354)](t[n(290)]);if(!r)throw new Error(n(361)+t[n(290)]);if(e[n(363)]>0){const s=e[0],o=document[n(339)](n(291));o[n(256)]="adstage-video-container",o[n(359)][n(295)]=n(263),this[n(334)](o,s,t),r[n(345)]="",r[n(283)](o);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(s[e(284)],t.id,i[e(309)])},100),this[n(286)]&&console[n(329)](n(310)+t.id+" ("+s[n(284)]+")")}else this[n(286)]&&console[n(343)](n(270)+t.id)}[Tt(334)](t,e,n){const r=Tt;t[r(359)].position=r(276);const s=document[r(339)](r(279));s.style[r(365)]="100%",s[r(359)][r(332)]=r(346),s[r(359)].objectFit=r(355),s[r(368)]="metadata";const o=n[r(303)];if(this[r(286)]&&console.log("🎬 Video config received:",o),s[r(287)]=!1,s[r(259)]=!1!==o?.[r(259)],s[r(304)]=!0,s[r(327)]=!1!==o?.loop,this[r(286)]&&console[r(329)](r(364),{autoplay:s[r(259)],muted:s[r(304)],loop:s.loop,controls:s.controls}),!1!==o?.[r(288)]&&s[r(281)](r(288),""),!0===o?.controls&&(s[r(287)]=!0,this[r(286)]&&console.log("🎬 User explicitly enabled controls, overriding default")),o?.[r(344)])s[r(287)]=!1,s[r(359)][r(295)]+=r(321);else if(o?.[r(367)]){if(s[r(287)]){const t=document[r(339)](r(359));t[r(312)]=r(358)+(o[r(367)][r(307)]?r(262):r(298))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(o[r(367)].hideProgressBar?r(262):"block")+r(333)+(o.customControls.hideCurrentTime?r(262):r(298))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o[r(367)][r(331)]?r(262):"block")+r(306)+(o[r(367)][r(305)]?r(262):r(298))+r(338)+(o.customControls[r(308)]?r(262):r(298))+r(289)+(o[r(367)][r(349)]?r(262):r(298))+" !important;\n }\n ",document.head[r(283)](t)}}else if(s.controls){const t=document[r(339)](r(359));t.id="adstage-video-default-controls",t[r(312)]=r(264),!document[r(354)](r(369))&&document[r(340)][r(283)](t)}this[r(286)]&&console[r(329)]("🎬 Video controls setting:",s.controls?r(261):r(280));const i=document[r(339)](r(272));i[r(256)]=r(302),i.style.cssText=r(347),o?.[r(344)]&&(i.style[r(318)]=r(262));const a=()=>{const t=r,e=t(366);i.innerHTML=s[t(304)]?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(274)]=s[t(304)]?t(336):t(255)};if(a(),i[r(352)](r(268),t=>{const e=r;t.stopPropagation(),s.muted=!s[e(304)],a(),this[e(286)]&&console[e(329)]("🔊 Video mute toggled: "+(s[e(304)]?e(304):e(350)))}),i[r(352)](r(301),()=>{const t=r;i[t(359)][t(258)]="rgba(0, 0, 0, 0.9)",i.style[t(335)]="scale(1.1)"}),i[r(352)](r(328),()=>{const t=r;i[t(359)].background=t(362),i[t(359)][t(335)]=t(299)}),e[r(325)]){s[r(285)]=e[r(325)];const t=()=>{const t=r;s[t(259)]&&s[t(304)]&&s[t(314)]&&s[t(351)]()[t(269)](e=>{const n=t;this[n(286)]&&(console[n(343)](n(267),e),console[n(343)](n(337))),s.muted=!0,s[n(351)]()[n(269)](t=>{const e=n;this[e(286)]&&console[e(278)](e(300),t)})})};s[r(352)](r(342),()=>{const e=r;this[e(286)]&&console[e(329)]("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(352)](r(282),()=>{const e=r;this[e(286)]&&console[e(329)](e(275)),t()}),s[r(352)](r(324),()=>{const e=r;this[e(286)]&&console[e(329)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=r;this.debug&&console[e(329)](e(316)),t()},100)}else if(e[r(273)]){const n=document[r(339)](r(313));return n.src=e.imageUrl,n.style[r(365)]=r(346),n[r(359)][r(332)]="100%",n[r(359)][r(356)]=r(355),n[r(311)]=e.title||r(317),void t[r(283)](n)}$[r(271)](s,e,n,()=>this[r(315)](),this[r(286)],r(319)),s.addEventListener("error",s=>{const o=r;if(console.error(o(293),s),e[o(273)]){const r=document[o(339)](o(313));r.src=e[o(273)],r[o(359)][o(365)]="100%",r.style[o(332)]=o(346),r.style[o(356)]=o(355),r[o(311)]=e[o(274)]||o(317),$[o(271)](r,e,n,()=>this.createEventTrackingCallback(),this[o(286)],o(257)),t.innerHTML="",t[o(283)](r)}}),t[r(283)](s),t[r(283)](i),this[r(286)]&&console[r(329)](r(320)+e._id+r(266)+s[r(259)]+r(265)+s.muted+r(326)+s[r(327)]+")")}}const Lt=Pt;function Bt(){const t=["cssText","containerId","textContent","imageUrl","117585lDeCHE","Native Advertisement","200px","open","90286pmzIZP","renderAdElement","style","_id","advertisementEventTracker","renderMultipleAds","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","debug","Learn More","log","504MNCzZh","getElementById","src","#2563eb","warn","#3b82f6","addEventListener","adstage-ad adstage-native-ad","alt","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","title","button","backgroundColor","length","div","36uZjeYa","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","getDefaultHeight","391280pGsyxn","2485824SQokMi","createElement","className","2144394ffhtwg","click","innerHTML","linkUrl","NATIVE","\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 ","⚠️ No native advertisements available for slot: ","appendChild","624836AUculH","🏠 Native ad rendered (first of ","934515asETtl","): "];return(Bt=function(){return t})()}function Pt(t,e){const n=Bt();return(Pt=function(t,e){return n[t-=216]})(t,e)}!function(){const t=Pt,e=Bt();for(;;)try{if(585149===-parseInt(t(262))/1+parseInt(t(250))/2+parseInt(t(254))/3+parseInt(t(251))/4+parseInt(t(264))/5*(-parseInt(t(246))/6)+parseInt(t(221))/7*(parseInt(t(231))/8)+-parseInt(t(217))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Mt extends ut{constructor(e=!1,n){super(t[Pt(258)],e,n)}[Lt(249)](){return Lt(219)}async[Lt(222)](t,e){const n=Lt,r=document[n(232)](t[n(267)]);if(!r)return;const s=document[n(252)]("div");if(s[n(253)]=n(238),s[n(223)][n(266)]=n(240),e.title){const t=document[n(252)]("h3");t.textContent=e[n(241)],t[n(223)][n(266)]=n(227),s.appendChild(t)}if(e[n(268)]){const t=document[n(252)]("p");t[n(268)]=e[n(268)],t.style[n(266)]="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",s[n(261)](t)}if(e[n(216)]){const t=document[n(252)](n(245));t[n(223)][n(266)]=n(248);const r=document[n(252)]("img");r[n(233)]=e.imageUrl,r[n(239)]=e.title||n(218),r[n(223)][n(266)]=n(247),t[n(261)](r),s[n(261)](t)}if(e[n(257)]){const t=document[n(252)](n(242));t[n(268)]=n(229),t.style[n(266)]=n(259),t[n(237)](n(255),()=>{const t=n;this[t(225)]&&console.log("Native click tracked for ad: "+e._id),window[t(220)](e[t(257)],"_blank")}),t[n(237)]("mouseenter",()=>{const e=n;t[e(223)][e(243)]=e(234)}),t[n(237)]("mouseleave",()=>{const e=n;t.style[e(243)]=e(236)}),s.appendChild(t)}r[n(256)]="",r[n(261)](s),this[n(228)]&&console[n(230)]("🏠 Single native ad rendered: "+e[n(224)])}async[Lt(226)](t,e){const n=Lt;e.length>0?(await this.renderAdElement(t,e[0]),this[n(228)]&&console[n(230)](n(263)+e[n(244)]+n(265)+t.id)):this.debug&&console[n(235)](n(260)+t.id)}}const zt=Ut;function Ut(t,e){const n=Ot();return(Ut=function(t,e){return n[t-=250]})(t,e)}function Ot(){const t=["title","_blank","3647462aqXazl","renderAdElement","2673312CwXEnu","backgroundColor","6158784GnzUzg","🖼️ Interstitial ad closed","style","containerId","300OxJrSl","key","mouseleave","warn","button","cssText","1dPgXDG","🖼️ Interstitial ad rendered (first of ","): ","addEventListener","#f3f4f6","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","head","removeChild","appendChild","removeEventListener","\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ","alt","Interstitial Advertisement","27171cECICg","#374151","adstage-interstitial-content","linkUrl","400px","src","body","closeInterstitial","1001135xXTqWl","length","adstage-interstitial-overlay","advertisementEventTracker","log","parentNode","keydown","className","color","getElementById","createElement","animation","textContent","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","fadeOut 0.3s ease-out forwards","getDefaultHeight","Get Started","renderMultipleAds","open","debug","#6b7280","1206378eInqLg","click","adstage-interstitial-styles","div","target","Interstitial click tracked for ad: ","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","_id","imageUrl","26131572OKrKkL"];return(Ot=function(){return t})()}!function(){const t=Ut,e=Ot();for(;;)try{if(607905===-parseInt(t(277))/1*(parseInt(t(251))/2)+-parseInt(t(291))/3*(parseInt(t(271))/4)+parseInt(t(299))/5+-parseInt(t(267))/6+-parseInt(t(263))/7+parseInt(t(265))/8+parseInt(t(260))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends ut{constructor(e=!1,n){super(t.INTERSTITIAL,e,n)}[zt(314)](){return zt(295)}async[zt(264)](t,e){const n=zt;if(!document[n(308)](t[n(270)]))return;const r=document[n(309)](n(254));r[n(306)]=n(301),r[n(269)][n(276)]="\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(309)]("div");s[n(306)]=n(293),s.style[n(276)]="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const o=document[n(309)](n(275));if(o.innerHTML="×",o[n(269)].cssText=n(288),o[n(280)](n(252),()=>{this[n(298)](r)}),o[n(280)]("mouseenter",()=>{const t=n;o[t(269)][t(266)]="#e5e7eb",o[t(269)][t(307)]=t(292)}),o[n(280)]("mouseleave",()=>{const t=n;o[t(269)].backgroundColor=t(281),o.style.color=t(250)}),e[n(259)]){const t=document[n(309)]("img");t[n(296)]=e[n(259)],t[n(289)]=e[n(261)]||n(290),t.style[n(276)]="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(286)](t)}if(e.title){const t=document[n(309)]("h2");t[n(311)]=e[n(261)],t[n(269)][n(276)]=n(312),s[n(286)](t)}if(e[n(311)]){const t=document[n(309)]("p");t[n(311)]=e[n(311)],t[n(269)][n(276)]=n(257),s.appendChild(t)}if(e[n(294)]){const t=document[n(309)](n(275));t[n(311)]=n(315),t[n(269)].cssText=n(283),t.addEventListener(n(252),()=>{const t=n;this[t(302)]&&console[t(303)](t(256)+e[t(258)]),window[t(317)](e.linkUrl,t(262)),this[t(298)](r)}),t[n(280)]("mouseenter",()=>{const e=n;t[e(269)][e(266)]="#2563eb"}),t[n(280)](n(273),()=>{const e=n;t[e(269)][e(266)]="#3b82f6"}),s.appendChild(t)}const i=t=>{const e=n;"Escape"===t[e(272)]&&(this[e(298)](r),document[e(287)](e(305),i))};if(document[n(280)](n(305),i),r[n(280)](n(252),t=>{t[n(255)]===r&&this.closeInterstitial(r)}),!document.getElementById("adstage-interstitial-styles")){const t=document[n(309)]("style");t.id=n(253),t[n(311)]=n(282),document[n(284)][n(286)](t)}s[n(286)](o),r[n(286)](s),document[n(297)][n(286)](r),this.debug&&console.log("🖼️ Interstitial ad rendered: "+e[n(258)])}async[zt(316)](t,e){const n=zt;e[n(300)]>0?(await this[n(264)](t,e[0]),this[n(318)]&&console[n(303)](n(278)+e[n(300)]+n(279)+t.id)):this.debug&&console[n(274)]("⚠️ No interstitial advertisements available for slot: "+t.id)}closeInterstitial(t){const e=zt;t.style[e(310)]=e(313),setTimeout(()=>{const n=e;t[n(304)]&&t.parentNode[n(285)](t)},300),this[e(318)]&&console[e(303)](e(268))}}const Vt=Ft;function Ft(t,e){const n=jt();return(Ft=function(t,e){return n[t-=110]})(t,e)}function jt(){const t=["10013890dequrY","NATIVE","width","div","136LlrdRR","textContent","#f9f9f9","className","651vuTXgC","🏭 AdRenderer factory initialized with ","debug","style","createAdElement","set","initializeRenderers","createElement","420385obFdZt","display"," Ad","renderMultipleAds","Failed to load image: ","getRenderer","height","src","100%","renderers","onerror","[AdRenderer] ","calculateOptimalContainerSize","loadImageDimensions","backgroundColor","setAttribute","1px dashed #ccc","BANNER","644oIWpVV","data-adstage-ad-id","naturalWidth","imageUrl","INTERSTITIAL","⚠️ Container optimization is only supported for BANNER ads, got: ","116TEZBIR","config","padding","adstage-ad adstage-","TEXT","getDefaultHeight","log","adType","8805qUFcOr","renderAd","cover","advertisementEventTracker","1034220OjALvk","img","isLoaded","appendChild","get","9usVMQn","createPlaceholder","size","renderFallback","optimizeContainerForBannerAds","getDefaultHeightForAdType","renderOptimizedBannerImage is only supported for BANNER ads","1035966DvSscu","objectFit","calculateAdSize","renderAdSlider","advertisement","1851762GvTNwT","renderAdElement","renderOptimizedBannerImage"];return(jt=function(){return t})()}!function(){const t=Ft,e=jt();for(;;)try{if(654866===parseInt(t(115))/1+parseInt(t(169))/2*(-parseInt(t(143))/3)+-parseInt(t(175))/4*(-parseInt(t(111))/5)+-parseInt(t(127))/6+parseInt(t(151))/7*(-parseInt(t(139))/8)+-parseInt(t(120))/9*(-parseInt(t(135))/10)+-parseInt(t(132))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ht{constructor(t=!1,e){const n=Ft;this[n(160)]=new Map,this[n(145)]=t,this[n(114)]=e||null,this[n(149)]()}initializeRenderers(){const e=Ft;this.renderers[e(148)](t[e(168)],new gt(this.debug,this[e(114)])),this[e(160)][e(148)](t[e(179)],new Ct(this.debug,this[e(114)])),this[e(160)].set(t.VIDEO,new Dt(this[e(145)],this[e(114)])),this.renderers.set(t[e(136)],new Mt(this[e(145)],this[e(114)])),this[e(160)][e(148)](t[e(173)],new Nt(this[e(145)],this.advertisementEventTracker)),this[e(145)]&&console[e(181)](e(144)+this.renderers[e(122)]+" renderers")}[Vt(147)](e,n){const r=Vt,s=this.getRenderer(e[r(110)]),o=document[r(150)]("div");o[r(142)]=r(178)+String(e[r(110)]).toLowerCase(),o[r(166)](r(170),n._id),o.setAttribute("data-adstage-slot-id",e.id);const{width:i,height:a}=s[r(129)](o,e[r(176)]||{},n);switch(o[r(146)][r(137)]=i,o.style[r(157)]=a,o[r(146)][r(152)]="block",e[r(110)]){case t[r(168)]:if(n[r(172)]){const t=document.createElement(r(116));t.src=n[r(172)],t.style.width=r(159),t[r(146)][r(157)]=r(159),t[r(146)][r(128)]=r(113),o.appendChild(t)}break;case t.VIDEO:if(n.videoUrl){const t=document[r(150)]("video");t[r(158)]=n.videoUrl,t[r(146)].width=r(159),t[r(146)][r(157)]=r(159),o[r(118)](t)}break;case t[r(179)]:if(n[r(140)]){const t=document[r(150)](r(138));t.textContent=n[r(140)]||"",t.style[r(177)]="8px",o[r(118)](t)}break;default:o[r(146)].border=r(167),o.style[r(165)]=r(141),o[r(140)]=e[r(110)]+r(153)}return o}getRenderer(t){const e=Vt,n=this.renderers[e(119)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}[Vt(121)](t,e,n,r,s){this[Vt(156)](n).createPlaceholder(t,e,r,s)}async[Vt(124)](e,n){const r=Vt;if(e[r(110)]!==t[r(168)])return void(this[r(145)]&&console.warn(r(174)+e[r(110)]));const s=this.getRenderer(t.BANNER);await s.optimizeContainerForBannerAds(e,n)}async[Vt(130)](t,e){const n=Vt,r=this[n(156)](t.adType);await r[n(154)](t,e)}async[Vt(112)](t){const e=Vt;if(!t[e(131)])throw new Error("No advertisement to render");const n=this.getRenderer(t[e(110)]);await n.renderAdElement(t,t.advertisement),t[e(117)]=!0}async[Vt(133)](t,e){const n=this[Vt(156)](t.adType);await n.renderAdElement(t,e)}renderFallback(t){const e=Vt;this[e(156)](t[e(110)])[e(123)](t)}[Vt(125)](t){const e=Vt;return this[e(156)](t)[e(180)]()}[Vt(129)](t,e,n,r){const s=Vt;return this[s(156)](e)[s(129)](t,n,r)}[Vt(164)](t){return new Promise((e,n)=>{const r=Ft,s=new Image;s.onload=()=>{e({width:s[Ft(171)],height:s.naturalHeight})},s[r(161)]=()=>{n(new Error(r(155)+t))},s[r(158)]=t})}async[Vt(134)](e,n,r){const s=Vt;if(r[s(110)]!==t[s(168)])throw new Error(s(126));const o=this[s(156)](t.BANNER);return await o[s(134)](e,n,r)}async[Vt(163)](e,n,r){const s=Vt;if(r!==t.BANNER){const t=this[s(156)](r);return{width:s(159),height:t[s(180)](),aspectRatio:16/9}}const o=this[s(156)](t[s(168)]);return await o[s(163)](e,n)}[Vt(181)](t,...e){const n=Vt;this.debug&&console.log(n(162)+t,...e)}}const Kt=Wt;function Wt(t,e){const n=Gt();return(Wt=function(t,e){return n[t-=500]})(t,e)}function Gt(){const t=["📊 Fetched ","568863OsEnjW","VIDEO","country","log","handleRemovedElement","getAttribute","get","getBaseUrl","10nCeNfZ","502315VPzTKI","from",". Retrying in ","🎠 Slider will handle VIEWABLE events for ","✅ Ad loaded for slot: ","getElementById"," ads)","data-adstage-slot-id","muted","removedNodes","json","6753768ebHqWe","controls","1332695jGWdKu","interstitial","renderAd","warn","destroy","❌ Failed to load ad for slot: "," removed"," ads automatically","📊 Fetched specific ad with ID: ","viewabilityTracker","disconnect","loadAdContentInBackground","init","containerId","New advertisement viewable tracked for slot:","error"," (element found)","then","autoDestroy","1039278cgZfHT","renderAdSlider","language","createAdWithRetry","TEXT","ensureReady","renderAdElement","width","adRenderer","toString","Ad slot not found: ","❌ Failed to track viewable impression:","adId","API key not configured","video","mutationObserver","slideInterval","hideControls","_config","slots","🎯 Ads module initialized (sync mode) with auto-cleanup","playsinline","432986WnQkOf","[data-adstage-slot-id]","setupAutoCleanup","100%","getConfig","text","now","deviceType","isReady","handleViewableEvent","forEach","autoplay","🔍 Auto-cleanup MutationObserver enabled","onClick","maxLines","🚫 Advertisement not found with ID: ","undefined","clear","height","🧹 Auto-cleanup: slot ","Failed to fetch ad data: ","default","ELEMENT_NODE","body","Ads module not initialized. Call AdStage.init() first.","createAd","random","apiKey","length","advertisement","28eYsoAT","string","5482376QYXkhX","12Vxviig","destroyModule","querySelectorAll","fetchAdData","GET","🔄 Retrying viewability tracking for slot: ","🔍 Ad slot already cleaned up: ","banner","ms... (attempt "," attempts: ","🔄 Ad slot refreshed: ","renderFallback","INTERSTITIAL","advertisements","BANNER","VIEWABLE","Failed to refresh ad slot: ","_isReady","debug","advertisementEventTracker","isLoaded","refreshAdSlot","NATIVE","_id","delete"," (attempt ","detail","append","status","adType","getAllSlots","loop","createAdInternal","config","startSimpleViewabilityTracking","create","Container not found after "];return(Gt=function(){return t})()}!function(){const t=Wt,e=Gt();for(;;)try{if(563394===parseInt(t(508))/1+-parseInt(t(530))/2*(parseInt(t(563))/3)+-parseInt(t(560))/4*(-parseInt(t(610))/5)+-parseInt(t(621))/6+parseInt(t(623))/7+parseInt(t(562))/8+-parseInt(t(601))/9*(parseInt(t(609))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=Wt;this[t(580)]=!1,this._config=null,this[t(527)]=new Map,this.advertisementEventTracker=null,this[t(516)]=null,this[t(523)]=null}[Kt(501)](t){const e=Kt;this[e(526)]=t,this[e(582)]=new P(W[e(608)](),t[e(557)],t[e(581)]||!1,this[e(527)]),this[e(516)]=new Ht(t[e(581)]||!1,this[e(582)]),this[e(532)](),this[e(580)]=!0,t.debug&&console[e(604)](e(528))}[Kt(538)](){return this._isReady}[Kt(534)](){return this._config}[Kt(570)](e,n){const r=Kt;this.ensureReady();const s={width:n?.[r(515)]||"100%",height:n?.height||"auto",autoSlide:n?.autoSlide||!1,slideInterval:n?.[r(524)]||5e3,onClick:n?.[r(543)],adId:n?.adId,language:n?.language,deviceType:n?.deviceType,country:n?.[r(603)]};return this[r(555)](e,t[r(577)],s)}[Kt(535)](e,n){const r=Kt;this.ensureReady();const s={maxLines:n?.[r(544)]||3,style:n?.style||r(551),onClick:n?.[r(543)],adId:n?.adId,language:n?.[r(510)],deviceType:n?.deviceType,country:n?.[r(603)]};return this[r(555)](e,t[r(512)],s)}[Kt(522)](e,n){const r=Kt;this[r(513)]();const s={width:n?.[r(515)]||640,height:n?.[r(548)]||360,autoplay:void 0===n?.[r(541)]||n[r(541)],muted:void 0===n?.[r(618)]||n[r(618)],loop:void 0===n?.[r(594)]||n[r(594)],playsinline:!1!==n?.[r(529)],controls:void 0!==n?.[r(622)]&&n[r(622)],hideControls:n?.[r(525)]||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[r(543)],...n?.[r(520)]&&{adId:n[r(520)]}};return this[r(555)](e,t[r(602)],s)}native(e,n){const r=Kt;return this[r(513)](),this[r(555)](e,t[r(585)],n||{})}[Kt(624)](e,n){const r=Kt;return this[r(513)](),this[r(555)](e,t[r(575)],n||{})}refresh(t){const e=Kt;this[e(513)]();const n=this.slots[e(607)](t);if(!n)throw new Error(e(518)+t);this[e(584)](n),this._config?.[e(581)]&&console[e(604)](e(573)+t)}[Kt(627)](t){const e=Kt;this[e(513)]();const n=this[e(527)][e(607)](t);if(!n)return void(this._config?.[e(581)]&&console[e(604)](e(569)+t));n[e(632)]&&n[e(632)].destroy();const r=document[e(615)](n[e(502)]);r&&(r.innerHTML=""),this[e(527)][e(587)](t),this[e(526)]?.[e(581)]&&console[e(604)]("🗑️ Ad slot destroyed: "+t)}[Kt(593)](){const t=Kt;return this[t(513)](),Array[t(611)](this[t(527)].values())}getSlotById(t){const e=Kt;return this[e(513)](),this[e(527)].get(t)||null}[Kt(555)](t,e,n){const r=Kt;if(!this._config?.[r(557)])throw new Error(r(521));const s="adstage-"+e+"-"+Date[r(536)]()+"-"+Math[r(556)]()[r(517)](36).substr(2,9);return this[r(511)](t,e,n,s,0),s}async createAdWithRetry(t,e,n,r,s){const o=Kt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(561)){if(a=t,c=document[o(615)](t),!c)return s<4?(this[o(526)]?.[o(581)]&&console.warn("Container not found: "+t+o(612)+i[s+1]+o(571)+(s+1)+"/5)"),void setTimeout(()=>{this[o(511)](t,e,n,r,s+1)},i[s+1])):void console[o(504)](o(599)+5+o(572)+t)}else c=t,a=c.id||"auto-"+r,!c.id&&(c.id=a);try{this[o(595)](a,e,n,r,c)}catch(t){console[o(504)]("광고 생성 중 오류 발생:",t)}}createAdInternal(e,n,r,s,o){const i=Kt;o.setAttribute(i(617),s),this[i(516)]?.createPlaceholder(o,s,n,r,this[i(526)]);const a={id:s,containerId:e,adType:n,width:r[i(515)]||i(533),height:r[i(548)]||(n===t[i(512)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this.fetchAdData(n,r)[i(506)](t=>t[0]||null),render:t=>this[i(516)]?.[i(514)](a,t),refresh:async()=>this[i(584)](a),destroy:()=>this[i(627)](s)};this[i(527)].set(s,a),this[i(500)](a),this[i(582)]&&this[i(526)]?.[i(581)]&&console.log("📊 Advertisement event tracking enabled for slot: "+s)}async[Kt(500)](e){const n=Kt;try{const r=await this.fetchAdData(e[n(592)],e[n(596)]);if(!r||0===r[n(558)])return void this.adRenderer?.[n(574)](e);e.adType===t.BANNER&&r[n(558)]>0&&await(this.adRenderer?.optimizeContainerForBannerAds(e,r)),r[n(558)]>1||e.config?.autoSlide?(await(this[n(516)]?.[n(509)](e,r)),this[n(526)]?.debug&&console.log(n(613)+r[n(558)]+n(630))):(e.advertisement=r[0],await(this[n(516)]?.[n(514)](e,r[0])),this[n(597)](e,r[0])),e[n(583)]=!0,this[n(526)]?.[n(581)]&&console[n(604)](n(614)+e.id+" ("+r[n(558)]+n(616))}catch(t){console[n(504)](n(628)+e.id,t),this[n(516)]?.[n(574)](e)}}startSimpleViewabilityTracking(t,e){const n=(r=0)=>{const s=Wt,o=document[s(615)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this._config?.debug&&console[s(604)](s(568)+t.id+s(588)+(r+1)+")")):console[s(626)]("❌ Failed to find element for viewability tracking: "+t.id));const i=new O(o,async()=>{const n=s;await this[n(539)](e,t)});t[s(632)]=i,this._config?.[s(581)]&&console[s(604)]("🎯 Simple viewability tracking started for slot: "+t.id+s(505))};n()}async[Kt(539)](t,e){const n=Kt;try{this.advertisementEventTracker&&(await this[n(582)].trackAdvertisementEvent(t[n(586)],e.id,i[n(578)]),this[n(526)]?.[n(581)]&&console[n(604)]("✅ Simple viewable impression tracked for ad "+t[n(586)]))}catch(t){console.error(n(519),t)}}async[Kt(566)](t,e){const n=Kt;if(!this[n(526)]?.[n(557)])throw new Error("API key not configured");if(e[n(520)]){const t=""+W[n(576)][n(589)](e[n(520)]),r=await fetch(t,{method:n(567),headers:R.create(this[n(526)][n(557)])});if(!r.ok){if(404===r[n(591)])return console.warn(n(545)+e[n(520)]),[];throw new Error(n(550)+r[n(591)])}const s=await r.json();return this[n(526)]?.[n(581)]&&console[n(604)](n(631)+e[n(520)],s),[s]}const r=new URLSearchParams;r[n(590)](n(592),t),e[n(510)]&&r[n(590)]("language",e[n(510)]),e[n(537)]&&r[n(590)]("deviceType",e[n(537)]),e[n(603)]&&r[n(590)](n(603),e[n(603)]);const s=W[n(576)].list()+"?"+r[n(517)](),o=await fetch(s,{method:n(567),headers:R[n(598)](this._config.apiKey)});if(!o.ok)throw new Error("Failed to fetch ad data: "+o[n(591)]);const i=(await o[n(620)]())[n(576)]||[];return this[n(526)]?.[n(581)]&&console[n(604)](n(600)+i[n(558)]+" ads for type: "+t+", filters:",{language:e[n(510)],deviceType:e[n(537)],country:e[n(603)]}),i}async[Kt(584)](t){const e=Kt;try{const n=await this[e(566)](t[e(592)],t.config||{});n&&n[e(558)]>0&&(t[e(559)]=n[0],await(this[e(516)]?.[e(625)](t)),this[e(582)]&&console[e(604)](e(503),t.id))}catch(n){console[e(504)](e(579)+t.id,n)}}[Kt(513)](){const t=Kt;if(!this[t(580)])throw new Error(t(554))}setupAutoCleanup(){const t=Kt;typeof window!==t(546)&&typeof document!==t(546)&&(this[t(523)]&&this.mutationObserver[t(633)](),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(540)](t=>{const e=n;t[e(619)][e(540)](t=>{const n=e;t.nodeType===Node[n(552)]&&this.handleRemovedElement(t)})})}),this[t(523)].observe(document[t(553)],{childList:!0,subtree:!0}),this[t(526)]?.[t(581)]&&console.log(t(542)))}[Kt(605)](t){const e=Kt,n=t.getAttribute(e(617));if(n)return void this[e(507)](n);t[e(565)](e(531))[e(540)](t=>{const n=e,r=t[n(606)]("data-adstage-slot-id");r&&this[n(507)](r)})}autoDestroy(t){const e=Kt,n=this.slots[e(607)](t);if(n)try{n[e(632)]&&n[e(632)][e(627)](),this.slots[e(587)](t),this[e(526)]?.[e(581)]&&console[e(604)](e(549)+t+e(629))}catch(n){this._config?.[e(581)]&&console.warn("Auto-cleanup failed for slot "+t+":",n)}}[Kt(564)](){const t=Kt,e=this._config?.[t(581)];this[t(523)]&&(this[t(523)][t(633)](),this[t(523)]=null),this[t(527)][t(547)](),this.advertisementEventTracker=null,this[t(516)]=null,this[t(580)]=!1,this[t(526)]=null,e&&console[t(604)]("🗑️ Ads module destroyed")}}function qt(){var t=["setBaseUrl","getEnabledModules","63IQyzTX","ads","updateConfig","API key not available","isDebugMode","Config module not initialized","init","870020qbPNDP","getApiEndpoint","_organizationInfo","baseUrl","config","🔄 Config updated","6253615zbzhrY","log","28920980Lflrpg","development","778MYAbkl","_config","_isReady","apiKey","12222jCISQH","debug","342lTvYDU","getOrganizationInfo","201876pHFDOi","create","getApiHeaders","getBaseUrl","5486704WhgeYZ","isReady","4hkeFhv","isModuleEnabled","getConfig","220470ErAnkr","modules"];return(qt=function(){return t})()}var Jt=Qt;function Qt(t,e){var n=qt();return(Qt=function(t,e){return n[t-=424]})(t,e)}!function(){for(var t=Qt,e=qt();;)try{if(970335===-parseInt(t(424))/1+parseInt(t(434))/2*(-parseInt(t(438))/3)+parseInt(t(448))/4*(parseInt(t(430))/5)+parseInt(t(442))/6*(-parseInt(t(455))/7)+parseInt(t(446))/8+-parseInt(t(440))/9*(parseInt(t(451))/10)+parseInt(t(432))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){var t=Qt;this[t(436)]=!1,this._config=null,this[t(426)]=null}[Jt(461)](t){var e=Jt;this[e(435)]={timeout:3e4,debug:!1,modules:[e(456),"events",e(428)],...t},t[e(427)]&&W[e(453)](t[e(427)]),this[e(436)]=!0,t[e(439)]&&console[e(431)]("✅ Config module initialized (sync mode)",{modules:this[e(435)].modules,endpoint:W[e(445)](),mode:e(433)})}[Jt(447)](){return this[Jt(436)]}[Jt(450)](){return this._config}[Jt(441)](){return this[Jt(426)]}[Jt(425)](){return W[Jt(445)]()}[Jt(459)](){var t=Jt;return this[t(435)]?.[t(439)]||!1}getEnabledModules(){var t=Jt;return this[t(435)]?.[t(452)]||[]}[Jt(449)](t){return this[Jt(454)]().includes(t)}[Jt(457)](t){var e=Jt;if(!this[e(435)])throw new Error(e(460));this._config={...this[e(435)],...t},this[e(459)]()&&console[e(431)](e(429),t)}[Jt(444)](){var t=Jt;if(!this[t(435)]?.[t(437)])throw new Error(t(458));return R[t(443)](this[t(435)].apiKey)}}const Xt=$t;function $t(t,e){const n=ee();return($t=function(t,e){return n[t-=448]})(t,e)}!function(){const t=$t,e=ee();for(;;)try{if(349592===-parseInt(t(486))/1*(parseInt(t(451))/2)+parseInt(t(473))/3*(parseInt(t(466))/4)+-parseInt(t(454))/5+-parseInt(t(449))/6+-parseInt(t(450))/7*(parseInt(t(482))/8)+parseInt(t(477))/9+-parseInt(t(462))/10*(-parseInt(t(474))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class te{static[Xt(485)](){const t=Xt;return{...te[t(460)](),...te[t(457)]}}static[Xt(460)](){const t=Xt;if(!m.isBrowser())return{category:"other",platform:"SSR",model:t(487),osVersion:t(487)};const e=navigator[t(483)][t(459)]();let n="desktop";/tablet|ipad/.test(e)?n="tablet":A[t(464)]()&&(n=t(448));const r=A[t(455)]();return{category:n,platform:te[t(490)](r),model:navigator[t(470)],osVersion:navigator.platform}}static[Xt(480)](t){const e=Xt;te[e(457)]={...te[e(457)],...t}}static[Xt(472)](t,e){te[Xt(457)][t]=e}static[Xt(489)](){te[Xt(457)]={}}static[Xt(458)](){return{...te[Xt(457)]}}static[Xt(490)](t){const e=Xt;switch(t){case e(468):return"iOS";case e(461):return e(452);case e(478):return e(476);case e(463):return"Desktop Web";default:return e(453)}}static[Xt(471)](){const t=Xt;if(!m[t(488)]())return{userAgent:"SSR",language:t(484),platform:t(487),cookieEnabled:!1,onLine:!0,screenResolution:t(479),viewportSize:t(479)};const e=m[t(469)]();return{userAgent:navigator[t(483)],language:navigator[t(475)]||t(484),platform:navigator[t(470)],cookieEnabled:navigator[t(467)],onLine:navigator[t(465)],screenResolution:screen[t(456)]+"x"+screen.height,viewportSize:e[t(456)]+"x"+e[t(481)]}}}function ee(){const t=["getDeviceInfo","168757sNZMLz","SSR","isBrowser","clearDeviceInfo","mapPlatformForEvents","mobile","2046300sVIKgD","112xwNOwI","4UFJamP","Android","Unknown","994175OldGfl","getPlatform","width","_userProvidedDeviceInfo","getUserDeviceInfo","toLowerCase","getAutoDetectedDeviceInfo","android","110WyRkFu","desktop","isMobile","onLine","75260YRLBnx","cookieEnabled","ios","getViewportInfo","platform","getDetailedInfo","setDeviceProperty","27NjvGUS","1179761cZPcAP","language","Mobile Web","2938527AGwgQW","web","0x0","setDeviceInfo","height","224304zyjBGa","userAgent","ko-KR"];return(ee=function(){return t})()}te[Xt(457)]={};const ne=oe;function re(){const t=["DateTimeFormat","ko-KR","split","92915aZKRfO","isBrowser","_userProperties","248vZVVVp","4atgjcO","extractCountryFromLanguage","7733103QcmEMf","getCurrentUserProperties","6NFyuGn","UTC","getBaseUserInfo","3GPgwDD","5113530kTbbVZ","1050jrDBSw","language","134145wHFYYw","9683796rCoqVT","setUserProperties","2102712hEMZLu","estimateLocation","26aJflCn","140112zMXUlT","timeZone","resolvedOptions","setUserProperty"];return(re=function(){return t})()}!function(){const t=oe,e=re();for(;;)try{if(644414===parseInt(t(474))/1*(parseInt(t(478))/2)+parseInt(t(485))/3*(parseInt(t(492))/4)+-parseInt(t(486))/5+-parseInt(t(482))/6*(-parseInt(t(480))/7)+-parseInt(t(477))/8*(parseInt(t(495))/9)+-parseInt(t(487))/10*(parseInt(t(489))/11)+parseInt(t(490))/12*(parseInt(t(494))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{static getUserInfo(){const t=oe;return{...se[t(484)](),...se[t(476)]}}static getBaseUserInfo(){const t=oe;if(!m[t(475)]())return{language:"ko-KR",country:"KR"};const e=navigator[t(488)]||t(472);return{language:e,country:se[t(479)](e)}}static extractCountryFromLanguage(t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[oe(473)]("-")[0]]||"KR"}static[ne(491)](t){const e=ne;se[e(476)]={...se[e(476)],...t}}static[ne(498)](t,e){se._userProperties[t]=e}static clearUserProperties(){se._userProperties={}}static[ne(481)](){return{...se._userProperties}}static[ne(493)](){const t=ne;if(!m[t(475)]())return{timezone:t(483),estimatedCountry:"KR"};const e=Intl[t(471)]()[t(497)]()[t(496)];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 oe(t,e){const n=re();return(oe=function(t,e){return n[t-=471]})(t,e)}se._userProperties={};const ie=ae;function ae(t,e){const n=ce();return(ae=function(t,e){return n[t-=164]})(t,e)}function ce(){const t=["7SSShKM","30zrwlKv","isBrowser","removeItem","getSessionInfo","298776nehyre","session_","substr","getUserId","9ezYzse","getSessionId","936215vQsnlf","setItem","getSessionDuration","random","adstage_user_id","getSessionStats","isNewSession","getItem","1084092CIoKVP","adstage_session_start","setUserId","8DMGFgt","_userId","adstage_session_id","isSessionExpired","now","refreshSession","208634AvwqEX","819832LzHMuu","ssr_session_","430030xBJTYo","1091123PWqnxG"];return(ce=function(){return t})()}!function(){const t=ae,e=ce();for(;;)try{if(264399===-parseInt(t(169))/1+parseInt(t(172))/2+-parseInt(t(193))/3+parseInt(t(196))/4*(parseInt(t(185))/5)+-parseInt(t(179))/6*(-parseInt(t(174))/7)+-parseInt(t(170))/8*(parseInt(t(183))/9)+parseInt(t(175))/10*(parseInt(t(173))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{static[ie(184)](){const t=ie;if(!m[t(176)]())return t(171)+Date[t(167)]();const e=sessionStorage[t(192)]("adstage_session_id");if(e)return e;const n=t(180)+Math[t(188)]().toString(36)[t(181)](2,9)+"_"+Date[t(167)]();return sessionStorage.setItem(t(165),n),!le._sessionStartTime&&(le._sessionStartTime=Date.now(),m.isBrowser()&&sessionStorage[t(186)]("adstage_session_start",String(le._sessionStartTime))),n}static[ie(195)](t){const e=ie;le[e(164)]=t,m[e(176)]()&&localStorage[e(186)](e(189),t)}static[ie(182)](){const t=ie;if(le[t(164)])return le[t(164)];if(m[t(176)]()){const e=localStorage[t(192)]("adstage_user_id");if(e)return le._userId=e,e}}static clearUserId(){const t=ie;le[t(164)]=void 0,m.isBrowser()&&localStorage[t(177)]("adstage_user_id")}static[ie(178)](){const t=ie,e=le[t(184)](),n=le.getUserId(),r=le[t(191)]();return{sessionId:e,userId:n,sessionDuration:le[t(187)](),isNewSession:r}}static[ie(191)](){const t=ie;if(!m[t(176)]())return!0;const e=sessionStorage.getItem(t(165)),n=sessionStorage[t(192)]("adstage_session_start");return!e||!n}static getSessionDuration(){const t=ie;if(!m.isBrowser())return 0;const e=sessionStorage.getItem(t(194));return e?Date.now()-parseInt(e,10):0}static[ie(168)](){const t=ie;return m.isBrowser()&&(sessionStorage[t(177)](t(165)),sessionStorage[t(177)]("adstage_session_start")),le._sessionStartTime=void 0,le[t(184)]()}static[ie(166)](t=24){return le[ie(187)]()>60*t*60*1e3}static[ie(190)](){const t=ie,e=le[t(184)](),n=le[t(182)](),r=le[t(187)](),s=le[t(166)](),o=le[t(191)]();let i;if(m[t(176)]()){const e=sessionStorage[t(192)]("adstage_session_start");i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const de=pe;function ue(){const t=["getUserDeviceInfo","events","2232188kYJQVu","log","sendEventToServer","debug","6rdFKEX","setDeviceProperty","error","1040633iLUpbG","✅ Event tracked:","3022JAeCUD","getDeviceInfo","Event data:","📱 User provided device info cleared","POST","2139AmclgT","clearDeviceInfo","getUserProperties","4629552sDqeGA","1199510OhVmhA","warn","Event tracking failed: ","setUserId","📱 Device property set:","63GkDBlE","getUserId","status","❌ Failed to track event:","👤 User properties set:","15035394nSuySG","setUserProperties","getUserInfo","getConfig","📱 Device info set:","5tqqICC","getCurrentUserProperties","_isReady","getSessionId","setDeviceInfo","751618dWperK","apiKey","init","_config","application/json"];return(ue=function(){return t})()}function pe(t,e){const n=ue();return(pe=function(t,e){return n[t-=293]})(t,e)}!function(){const t=pe,e=ue();for(;;)try{if(577214===parseInt(t(322))/1+-parseInt(t(324))/2*(parseInt(t(329))/3)+-parseInt(t(315))/4*(-parseInt(t(303))/5)+parseInt(t(319))/6*(parseInt(t(308))/7)+-parseInt(t(332))/8+-parseInt(t(293))/9*(parseInt(t(333))/10)+parseInt(t(298))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class he{constructor(){this[pe(305)]=!1,this._config=null}[de(310)](t){const e=de;this[e(311)]=t,this[e(305)]=!0,t[e(318)]&&console[e(316)]("📊 Events module initialized")}isReady(){return this._isReady}[de(301)](){return this._config}[de(336)](t){const e=de;le.setUserId(t),this[e(311)]?.[e(318)]&&console[e(316)]("👤 User ID set:",t)}getUserId(){return le[de(294)]()}[de(299)](t){const e=de;se.setUserProperties(t),this[e(311)]?.[e(318)]&&console[e(316)](e(297),t)}[de(331)](){return se[de(304)]()}setDeviceInfo(t){const e=de;te[e(307)](t),this[e(311)]?.[e(318)]&&console[e(316)](e(302),t)}[de(320)](t,e){const n=de;te[n(320)](t,e),this._config?.debug&&console.log(n(337),t,e)}[de(330)](){const t=de;te[t(330)](),this[t(311)]?.[t(318)]&&console[t(316)](t(327))}[de(313)](){return te[de(313)]()}[de(325)](){return te[de(325)]()}[de(300)](){return se.getUserInfo()}[de(304)](){return se[de(304)]()}async track(t,e){const n=de;if(this[n(305)])if(this[n(311)]?.[n(309)])try{const r={eventName:t,userId:le[n(294)](),sessionId:le[n(306)](),sdkVersion:k(),device:te[n(325)](),user:se.getUserInfo(),params:e||{}};await this[n(317)](r),this._config.debug&&console[n(316)](n(323),t,e)}catch(r){console[n(321)](n(296),r),this[n(311)].debug&&console[n(321)](n(326),{eventName:t,properties:e})}else console[n(334)]("API key not configured for event tracking.");else console.warn("Events module not initialized. Call AdStage.init() first.")}async[de(317)](t){const e=de,n=await fetch(W[e(314)].track(),{method:e(328),headers:{...R.create(this[e(311)][e(309)]),"Content-Type":e(312)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(335)+n[e(295)]+" "+n.statusText)}}const fe=me;!function(){const t=me,e=ve();for(;;)try{if(906665===-parseInt(t(315))/1*(-parseInt(t(286))/2)+-parseInt(t(327))/3*(-parseInt(t(298))/4)+-parseInt(t(309))/5*(-parseInt(t(312))/6)+parseInt(t(307))/7+parseInt(t(306))/8+-parseInt(t(299))/9+parseInt(t(304))/10*(-parseInt(t(319))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=me;this[t(293)]=!1,this._config=null,this[t(290)]=new Zt,this[t(308)]=new Yt,this[t(321)]=new he}static[fe(303)](t){const e=fe;!ge[e(295)]&&(ge.instance=new ge);const n=ge.instance;if(!t[e(317)])throw new Error(e(294));n[e(326)]={timeout:3e4,debug:!1,modules:[e(308),"events",e(290)],...t},n[e(326)][e(323)]&&(W.setBaseUrl(n[e(326)][e(323)]),t[e(310)]&&console[e(297)](e(296),n[e(326)][e(323)]));const r=n[e(326)][e(287)]||[e(308),e(321),e(290)];for(const t of r){const r=n[t];r&&"function"==typeof r[e(303)]&&r.init(n[e(326)])}n[e(293)]=!0,t[e(310)]&&console.log(e(302),{version:e(320),modules:r,apiKey:t[e(317)].substring(0,8)+e(324),mode:e(322)})}static[fe(316)](){const t=fe;return ge[t(295)]?.[t(293)]||!1}static[fe(288)](){return ge.instance?._config||null}static[fe(289)](){const t=fe;if(!ge[t(295)])throw new Error(t(305));return ge[t(295)]}static get[fe(308)](){const t=fe;try{return ge[t(289)]()[t(308)]}catch(e){throw console.warn(t(292)),e}}static get[fe(321)](){const t=fe;try{return ge.getInstance().events}catch(e){throw console.warn(t(325)),e}}static get[fe(290)](){const t=fe;try{return ge[t(289)]()[t(290)]}catch(e){throw console[t(300)]("AdStage.config accessed before initialization"),e}}static[fe(291)](){const t=fe;ge[t(295)]&&(ge[t(295)][t(293)]=!1,ge[t(295)][t(326)]=null)}}function me(t,e){const n=ve();return(me=function(t,e){return n[t-=286]})(t,e)}function ve(){const t=["✅ AdStage Debug: 광고 ","6736242QbDwLU","size","from","321506LaCbVP","isReady","apiKey","clear","693brxuoa","2.0.0","events","development","baseUrl","...","AdStage.events accessed before initialization","_config","3UKFQmS","8sKZCQd","modules","getConfig","getInstance","config","reset","AdStage.ads accessed before initialization","_isInitialized","API key is required for AdStage initialization","instance","🌐 API endpoint configured:","log","2541784RXswDG","13585311xhrxlz","warn",")의 viewable 추적 초기화됨","🚀 AdStage SDK initialized (sync mode)","init","434070xMgNjA","AdStage not initialized. Call AdStage.init() first.","12926072LSjmef","3435943mtiPAH","ads","5AlykTl","debug"];return(ve=function(){return t})()}function ye(t,e){var n=be;return ge[n(225)]()?ge[n(237)][n(235)](t,e):(console[n(229)](n(233)),Promise[n(222)]())}function Ie(t){var e=be;ge.isReady()?ge.events.setUserId(t):console[e(229)](e(233))}function be(t,e){var n=Ee();return(be=function(t,e){return n[t-=218]})(t,e)}function we(){var t=be;if(ge[t(225)]())return ge[t(237)][t(226)]();console[t(229)](t(233))}function ke(t){var e=be;ge.isReady()?ge[e(237)][e(230)](t):console[e(229)](e(233))}function Ee(){var t=["isReady","getUserId","21cGYsya","49OfIFsL","warn","setUserProperties","getUserProperties","436450Pnftin","AdStage not initialized. Call AdStage.init() first.","3448mKtYvV","track","869ohMMux","events","3790866SHloPE","15081480mBzCJr","159456QSBQgA","117472oKZszp","resolve","518532MwEuEe","1945JQmiig"];return(Ee=function(){return t})()}function xe(){var t=be;if(ge[t(225)]())return ge[t(237)][t(231)]();console.warn(t(233))}ge[fe(310)]={clearAllViewable:()=>{at[fe(318)](),console.log("✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨")},clearAdViewable:(t,e)=>{const n=fe;at.clearAdViewable(t,e),console[n(297)](n(311)+t+"("+e+n(301))},getViewableStatus:()=>{const t=fe;console[t(297)]("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:at.viewableTracker[t(313)],trackedItems:Array[t(314)](at.viewableTracker)})}},function(){for(var t=be,e=Ee();;)try{if(953088===-parseInt(t(220))/1+-parseInt(t(223))/2*(-parseInt(t(227))/3)+-parseInt(t(234))/4*(-parseInt(t(224))/5)+parseInt(t(218))/6+-parseInt(t(228))/7*(-parseInt(t(221))/8)+parseInt(t(219))/9+parseInt(t(232))/10*(-parseInt(t(236))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Se,Ae={exports:{}},Ce={},Te={exports:{}},_e={};Te.exports=function(){if(Se)return _e;Se=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function v(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var y=v.prototype=new m;y.constructor=v,h(y,g.prototype),y.isPureReactComponent=!0;var I=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function 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,I(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+":",I(n))for(var l=0;l<n.length;l++){var d=o+A(a=n[l],l);c+=C(a,r,s,d,i)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,d=o+A(a,l++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function _(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},D={transition:null},L={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function B(){throw Error("act(...) is not supported in production builds of React.")}return _e.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},_e.Component=g,_e.Fragment=n,_e.Profiler=s,_e.PureComponent=v,_e.StrictMode=r,_e.Suspense=c,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,_e.act=B,_e.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)b.call(n,l)&&!k.hasOwnProperty(l)&&(s[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},_e.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},_e.createElement=E,_e.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},_e.createRef=function(){return{current:null}},_e.forwardRef=function(t){return{$$typeof:a,render:t}},_e.isValidElement=x,_e.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:_}},_e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},_e.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},_e.unstable_act=B,_e.useCallback=function(t,e){return R.current.useCallback(t,e)},_e.useContext=function(t){return R.current.useContext(t)},_e.useDebugValue=function(){},_e.useDeferredValue=function(t){return R.current.useDeferredValue(t)},_e.useEffect=function(t,e){return R.current.useEffect(t,e)},_e.useId=function(){return R.current.useId()},_e.useImperativeHandle=function(t,e,n){return R.current.useImperativeHandle(t,e,n)},_e.useInsertionEffect=function(t,e){return R.current.useInsertionEffect(t,e)},_e.useLayoutEffect=function(t,e){return R.current.useLayoutEffect(t,e)},_e.useMemo=function(t,e){return R.current.useMemo(t,e)},_e.useReducer=function(t,e,n){return R.current.useReducer(t,e,n)},_e.useRef=function(t){return R.current.useRef(t)},_e.useState=function(t){return R.current.useState(t)},_e.useSyncExternalStore=function(t,e,n){return R.current.useSyncExternalStore(t,e,n)},_e.useTransition=function(){return R.current.useTransition()},_e.version="18.3.1",_e}();var Re,De=Te.exports;
|
|
1
|
+
function t(e,n){var r=h();return(t=function(t,e){return r[t-=312]})(e,n)}var e,n,r,o,s,i,a,c,l,d,u,p;function h(){var t=["60094PWLetX","VIEWABLE","TABLET","33595LaPWsb","CLICK","POPUP","378uTWQUB","INTERSTITIAL","22577687WpgaEY","DESKTOP","NATIVE","128ifMYOt","BANNER","TEXT","121062bVDAKV","VIDEO","10wysezv","20jSAUMn","1409878OcPZkl","405801QsjaVk","MOBILE","5518345VtosSe","WEB"];return(h=function(){return t})()}!function(){for(var e=t,n=h();;)try{if(562536===-parseInt(e(320))/1+parseInt(e(315))/2+parseInt(e(334))/3*(-parseInt(e(314))/4)+-parseInt(e(323))/5*(parseInt(e(326))/6)+-parseInt(e(318))/7+-parseInt(e(331))/8*(parseInt(e(316))/9)+-parseInt(e(313))/10*(-parseInt(e(328))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(),(n=e||(e={}))[(r=t)(332)]="BANNER",n[r(325)]=r(325),n[r(327)]=r(327),n[r(330)]=r(330),n[r(312)]="VIDEO",n[r(333)]=r(333),(s=o||(o={}))[(i=t)(319)]=i(319),s.MOBILE="MOBILE",c=a||(a={}),l=t,c.VIEWABLE=l(321),c[l(324)]="CLICK",(u=d||(d={}))[(p=t)(329)]="DESKTOP",u[p(317)]=p(317),u[p(322)]=p(322);const f=g;function g(t,e){const n=y();return(g=function(t,e){return n[t-=211]})(t,e)}!function(){const t=g,e=y();for(;;)try{if(368344===-parseInt(t(270))/1+parseInt(t(248))/2+parseInt(t(243))/3*(-parseInt(t(288))/4)+parseInt(t(221))/5*(parseInt(t(290))/6)+-parseInt(t(284))/7+parseInt(t(286))/8+-parseInt(t(250))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class m{static isBrowser(){const t=g;return typeof window!==t(227)&&typeof document!==t(227)}static[f(214)](){return!this[f(276)]()}static[f(281)](){const t=f;return this[t(276)]()&&void 0!==document[t(223)]}static[f(267)](t){return this.canUseDOM()?document.getElementById(t):null}static[f(234)](t){const e=f;return this[e(281)]()?document[e(216)](t):null}static[f(237)](t){const e=f;return this[e(281)]()?Array[e(228)](document[e(260)](t)):[]}static[f(257)](t){return this[f(281)]()?document.createElement(t):null}static[f(253)](t,e,n,r){const o=f;this[o(281)]()&&t&&t[o(289)](e,n,r)}static[f(261)](t,e,n,r){this[f(281)]()&&t&&t.removeEventListener(e,n,r)}static getWindowProperty(t,e){return this.isBrowser()?window[t]??e:e}static[f(211)](t,e){return this[f(281)]()?document[t]??e:e}static[f(265)](t,e,n){const r=f;return this.isBrowser()?window[r(236)](t,e,n):null}static[f(278)](t){const e=f;return this[e(276)]()&&t?window[e(215)](t):null}static[f(239)](){const t=f;return!!this[t(281)]()&&document[t(223)]!==t(262)}static[f(240)](){return new Promise(t=>{const e=g;this[e(281)]()?this.isDOMReady()?t():this[e(253)](document,e(222),()=>t()):t()})}static[f(254)](t,e){const n=f;this[n(281)]()&&t&&Object[n(280)](e)[n(229)](([e,r])=>{const o=n;t.style[o(231)](e,r)})}static[f(213)](t,e){const n=f;this[n(281)]()&&t&&t[n(220)].add(e)}static[f(230)](t,e){const n=f;this.canUseDOM()&&t&&t[n(220)][n(217)](e)}static safeSetTextContent(t,e){const n=f;this[n(281)]()&&t&&(t[n(233)]=e)}static[f(271)](t,e){const n=f;this[n(281)]()&&t&&(t[n(252)]=e)}static[f(256)](t,e){const n=f;this[n(281)]()&&t&&e&&t[n(255)](e)}static[f(272)](t,e){const n=f;this[n(281)]()&&t&&e&&t[n(273)](e)}static[f(258)](){const t=f;return{url:this[t(247)](t(245),{href:""}).href,title:this[t(211)](t(274),""),referrer:this[t(211)]("referrer","")}}static[f(238)](){const t=f;return{width:this[t(247)](t(275),0),height:this.getWindowProperty(t(266),0),pixelRatio:this[t(247)](t(225),1)}}static[f(226)](){const t=f;return{scrollTop:this[t(281)]()?window.pageYOffset||document[t(277)][t(224)]:0,scrollLeft:this[t(247)](t(263),0)}}static async waitForElement(t,e={}){const n=f,{timeout:r=3e3,retryInterval:o=100,debug:s=!1}=e;if(!this[n(281)]())throw new Error(n(259));const i=document[n(279)](t);return i?(s&&console[n(241)](n(268)+t),i):(s&&console[n(241)](n(282)+t+n(264)+r+n(212)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(246)](r/o),d=()=>{const n=a;c++;const u=document[n(279)](t);if(u)return s&&console[n(241)](n(242)+t+" ("+c+n(232)+c*o+n(285)),void e(u);if(c>=l){const e=n(283)+t+n(218)+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+r+n(244)+c+n(235);return s&&console[n(287)](e),void i(new Error(e))}s&&c%10==0&&console[n(241)](n(251)+t+" ("+c+"/"+l+")");const p=Math.min(o*Math.pow(1.2,c),500);setTimeout(d,p)};setTimeout(d,o)}))}static async[f(219)](t,e={}){const n=f,r=t.map(t=>this[n(269)](t,e));return Promise[n(249)](r)}}function y(){const t=["querySelectorAll","safeRemoveEventListener","loading","pageXOffset"," (최대 ","safeWindowOpen","innerHeight","safeGetElementById","✅ 컨테이너 즉시 발견: ","waitForElement","54346yEJTxE","safeSetInnerHTML","safeRemoveChild","removeChild","title","innerWidth","isBrowser","documentElement","safeGetComputedStyle","getElementById","entries","canUseDOM","⏳ 컨테이너 대기 시작: ",'❌ 컨테이너를 찾을 수 없습니다: "',"4152911eTmjGx","ms 경과)","1382936kPFacC","error","1108IIiJUl","addEventListener","23946OmfdDf","getDocumentProperty","ms)","safeAddClass","isSSR","getComputedStyle","querySelector","remove",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"waitForElements","classList","835StmZwg","DOMContentLoaded","readyState","scrollTop","devicePixelRatio","getScrollInfo","undefined","from","forEach","safeRemoveClass","setProperty","번째 시도, ","textContent","safeQuerySelector","번 시도)","open","safeQuerySelectorAll","getViewportInfo","isDOMReady","waitForDOM","log","✅ 컨테이너 발견: ","5205pXnqjC","ms (","location","ceil","getWindowProperty","1389678OBMSAs","all","338805BdneLx","⏳ 컨테이너 대기 중: ","innerHTML","safeAddEventListener","safeApplyStyles","appendChild","safeAppendChild","safeCreateElement","getPageInfo","DOM을 사용할 수 없는 환경입니다."];return(y=function(){return t})()}function v(){const t=["1587187NHcBLG","undefined","14IZzchp","12Cncpdq","91PnXPjT","11NCiPce","2084ORQyvh","30bBejHu","1570380AOSOBh","1740729XCKdVV","515925QFJDgm","5485446aogcOE","8gbJGQN","10731640dDoEIY"];return(v=function(){return t})()}function I(t,e){const n=v();return(I=function(t,e){return n[t-=308]})(t,e)}!function(){const t=I,e=v();for(;;)try{if(970812===parseInt(t(315))/1*(parseInt(t(319))/2)+-parseInt(t(308))/3*(-parseInt(t(316))/4)+-parseInt(t(309))/5+parseInt(t(320))/6*(-parseInt(t(313))/7)+parseInt(t(311))/8*(parseInt(t(310))/9)+parseInt(t(312))/10*(-parseInt(t(318))/11)+parseInt(t(321))/12*(parseInt(t(317))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();function b(){const t=["ssr_device_","isBrowser","safeQuerySelector","resolvedOptions","UTC","generateDeviceId","pixelRatio","generateSessionId","getBoundingClientRect","getViewportInfo","adstage_device_id","now","collectDeviceInfo","random","substr","unknown","421580MSRgvG","SSR","test","DateTimeFormat","378163reTOGD","scrollTop","getPlatform","left","round","toLowerCase","effectiveType","adstage_session_id","top","platform","1.0.0","21628VCDNfi","2546820MjgGBt","ios","session_","timeZone","getSlotPosition","3451355iMMaQQ","safeGetElementById","width","height","device_","207EgbtMb","toString","getScrollInfo","5194798PpufUd",",y:","setItem","ssr_session_","web","desktop","colorDepth","userAgent","8921848MBIfIS",'[data-adstage-slot-id="'," .adstage-slider-wrapper"];return(b=function(){return t})()}const w=k;function k(t,e){const n=b();return(k=function(t,e){return n[t-=208]})(t,e)}!function(){const t=k,e=b();for(;;)try{if(380016===parseInt(t(231))/1+parseInt(t(242))/2*(parseInt(t(253))/3)+-parseInt(t(227))/4+-parseInt(t(248))/5+parseInt(t(243))/6+parseInt(t(256))/7+-parseInt(t(208))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class E{static[w(216)](){const t=w;if(!m.isBrowser())return t(211)+Date[t(222)]();const e=localStorage.getItem(t(221));if(e)return e;const n=t(252)+Math[t(224)]().toString(36).substr(2,9)+"_"+Date.now();return localStorage[t(258)](t(221),n),n}static[w(218)](){const t=w;if(!m[t(212)]())return t(259)+Date[t(222)]();const e=sessionStorage.getItem("adstage_session_id");if(e)return e;const n=t(245)+Math[t(224)]()[t(254)](36)[t(225)](2,9)+"_"+Date[t(222)]();return sessionStorage[t(258)](t(238),n),n}static isMobile(){const t=w;return!!m[t(212)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(229)](navigator.userAgent)}static[w(233)](){const t=w;if(!m.isBrowser())return t(260);const e=navigator[t(263)][t(236)]();return/iphone|ipad|ipod/[t(229)](e)?t(244):/android/[t(229)](e)?"android":E.isMobile()?t(260):t(261)}static[w(223)](){const t=w,e=m[t(220)]();return{deviceId:E.generateDeviceId(),sessionId:E[t(218)](),osVersion:m[t(212)]()?navigator[t(240)]:t(228),deviceModel:m[t(212)]()?navigator[t(240)]:t(228),appVersion:t(241),sdkVersion:"3.0.11",language:m[t(212)]()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:m.isBrowser()?navigator[t(263)]:t(228),timezone:m[t(212)]()?Intl[t(230)]()[t(214)]()[t(246)]:t(215),viewportWidth:e[t(250)],viewportHeight:e[t(251)],screenWidth:m[t(212)]()?screen[t(250)]:0,screenHeight:m[t(212)]()?screen[t(251)]:0,colorDepth:m[t(212)]()?screen[t(262)]:24,pixelRatio:e[t(217)],connectionType:m[t(212)]()?navigator.connection?.[t(237)]||t(226):"unknown",platform:E[t(233)]()}}static[w(247)](t){const e=w;let n=m[e(249)](t);if(!n){const r=m[e(213)]("#"+t+e(210));r&&(n=r)}if(!n&&(n=m[e(213)](e(209)+t+'"]')),!n)return e(226);const r=n[e(219)](),o=m[e(255)]();return"x:"+Math[e(235)](r[e(234)])+e(257)+Math[e(235)](r[e(239)]+o[e(232)])}}function S(t,e){const n=A();return(S=function(t,e){return n[t-=488]})(t,e)}const x=S;function A(){const t=["userAgent","create","API key is required","5eqMvxO","2595207GkOBFH","3377754ZDFhpJ","1xkfsal","1983051DMBKUd","2594864KmzAGS","User-Agent","24420oGvHsM","10126936jHdrRx","createForEvents","1040874hEmgus"];return(A=function(){return t})()}!function(){const t=S,e=A();for(;;)try{if(720828===parseInt(t(494))/1*(-parseInt(t(498))/2)+parseInt(t(492))/3+parseInt(t(496))/4+parseInt(t(491))/5*(-parseInt(t(501))/6)+parseInt(t(495))/7+-parseInt(t(499))/8+parseInt(t(493))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class C{static[x(489)](t,e){const n=x;if(!t)throw new Error(n(490));const r={"x-api-key":t,"Content-Type":e?.contentType||"application/json"};return"undefined"!=typeof navigator&&(r["User-Agent"]=e?.[n(488)]||navigator[n(488)]),r}static[x(500)](t,e){const n=x,r=C[n(489)](t);return e?.[n(488)]&&(r[n(497)]=e[n(488)]),r}}const T=R;function _(){const t=["collectDeviceInfo","/advertisements/events/","getSlotPosition","5290722ZgzCtZ","📡 API Response Status: ","1600FDNeZn","28501726TmGtEo","2640574WVCCgZ","1tFqzCD","log","baseUrl","containerId"," event for ad ","text","querySelector","❌ Failed to track advertisement event:","platform","warn","getPageInfo","🌐 Full API call details:","🚀 AdvertisementEventTracker: Processing ","now"," for ad ","string","24PuRTli","error","10PmdBYT","debug","POST","). Skipping event tracking.","slots","VIEWABLE","getElementById","⚠️ Slot not found for slotId: ","get","stringify","25360STdDCm","⚠️ DOM element not found for slotId: ","width","status","NOT_SET","35602WPFxGF","createForEvents","apiKey","parseNumericValue",'[data-adstage-slot-id="',"trackAdvertisementEvent","referrer","length","5283207fCINbr","substring","adType","64NACVxA","statusText","🔍 Debug info:"," - ","🚀 Sending advertisement event: ","2864076nCLeTP"];return(_=function(){return t})()}function R(t,e){const n=_();return(R=function(t,e){return n[t-=496]})(t,e)}!function(){const t=R,e=_();for(;;)try{if(891912===-parseInt(t(524))/1*(parseInt(t(523))/2)+-parseInt(t(507))/3+parseInt(t(510))/4*(-parseInt(t(552))/5)+parseInt(t(515))/6+-parseInt(t(499))/7*(parseInt(t(521))/8)+parseInt(t(519))/9*(-parseInt(t(542))/10)+parseInt(t(522))/11*(parseInt(t(540))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class D{constructor(t,e,n,r){const o=R;this[o(526)]=t,this.apiKey=e,this[o(543)]=n,this[o(546)]=r}async[T(504)](t,e,n){const r=T;try{this[r(543)]&&console[r(525)](r(536)+n+r(528)+t+" in slot "+e);const o=this[r(546)][r(550)](e);if(!o)return void(this[r(543)]&&console.warn(r(549)+e+". Skipping event tracking to prevent incorrect adType."));if(!(document[r(548)](o[r(527)])||document[r(530)](r(503)+e+'"]')))return void(this[r(543)]&&console[r(533)](r(553)+e+" (containerId: "+o[r(527)]+r(545)));const s=E[r(516)](),i={adType:o[r(509)],platform:s[r(532)],deviceId:s.deviceId,deviceInfo:s,pageUrl:m.getPageInfo().url,pageTitle:m[r(534)]().title,referrer:m[r(534)]()[r(505)],slotId:e,slotPosition:E[r(518)](o[r(527)]),slotWidth:D[r(502)](o[r(496)]),slotHeight:D[r(502)](o.height),sessionId:s.sessionId,pageLoadTime:performance[r(537)](),metadata:{eventType:n,sdkVersion:"3.0.11",timestamp:Date.now()},...n===a[r(547)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(526)]+r(517)+t+"/"+n,l=C[r(500)](this[r(501)],i);this[r(543)]&&(console[r(525)](r(514)+n+r(538)+t,{url:c,headers:l,eventData:i}),console.log(r(535),{method:r(544),url:c,hasApiKey:!!this[r(501)],bodySize:JSON[r(551)](i)[r(506)]}));const d=await fetch(c,{method:r(544),headers:l,body:JSON.stringify(i)});if(this[r(543)]&&console[r(525)](r(520)+d[r(497)]+" "+d.statusText,{url:c,ok:d.ok}),!d.ok){const t=await d[r(529)]();throw new Error("API request failed: "+d[r(497)]+" "+d[r(511)]+r(513)+t)}this[r(543)]&&console[r(525)]("✅ Successfully tracked advertisement event: "+n+r(538)+t)}catch(o){console[r(541)](r(531),o),console[r(541)](r(512),{baseUrl:this[r(526)],apiKey:this.apiKey?this[r(501)][r(508)](0,8)+"...":r(498),url:this[r(526)]+r(517)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[T(502)](t){if("number"==typeof t)return t;if(typeof t===T(539)){const e=parseFloat(t.replace(/px$/,""));return isNaN(e)?0:e}return 0}}var P=L;function B(){var t=["disconnect","isDocumentVisible","observer","visibilityState","25286410MfDHtN","2126382qUhXXh","0px","hidden","warn","observe","intersectionRatio","3RFsKrv","IntersectionObserver not supported, viewability tracking disabled","isViewableTriggered","5293740AlUszB","onViewableCallback","destroy","36HeeeyT","handleIntersection","initIntersectionObserver","visible","2646518BhyAON","2240984wFhoMv","949296NFMzzG","15Vfswim","370662FmHUsJ"];return(B=function(){return t})()}function L(t,e){var n=B();return(L=function(t,e){return n[t-=145]})(t,e)}!function(){for(var t=L,e=B();;)try{if(795271===-parseInt(t(170))/1+-parseInt(t(168))/2+-parseInt(t(156))/3*(parseInt(t(159))/4)+-parseInt(t(169))/5*(parseInt(t(150))/6)+parseInt(t(166))/7+-parseInt(t(167))/8*(-parseInt(t(162))/9)+parseInt(t(149))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{constructor(t,e){var n=L;this[n(147)]=null,this.isViewableTriggered=!1,this.element=t,this[n(160)]=e,this[n(164)]()}[P(164)](){var t=P;"IntersectionObserver"in window?(this[t(147)]=new IntersectionObserver(e=>this[t(163)](e),{threshold:.5,rootMargin:t(151)}),this.observer[t(154)](this.element)):console[t(153)](t(157))}[P(163)](t){t.forEach(t=>{var e=L;t[e(155)]>=.5&&this.isDocumentVisible()&&!this.isViewableTriggered&&(this[e(158)]=!0,this[e(160)]&&this.onViewableCallback())})}[P(146)](){var t=P;return!document[t(152)]&&document[t(148)]===t(165)}[P(161)](){var t=P;this[t(147)]&&(this[t(147)][t(145)](),this.observer=null)}}const O=M;function M(t,e){const n=U();return(M=function(t,e){return n[t-=243]})(t,e)}function U(){const t=["/advertisements","setBaseUrl","128264vvUMuT","3631383rNftGt","advertisements","/events/register/attribution","18WXGyGK","1389353CsMnfW","35928228SeNxLN","production","162SkBViK","/advertisements/list","registerAttribution","310cwkfbX","events","https://api.adstage.app","detail","55vHexoO","2794PTQtCS","baseUrl","1186Nlhkbi","/advertisements/events","115xesrGP","https://beta-api.adstage.app","551528fsmqZk","track","getBaseUrl"];return(U=function(){return t})()}!function(){const t=M,e=U();for(;;)try{if(765594===-parseInt(t(256))/1*(parseInt(t(259))/2)+parseInt(t(269))/3+parseInt(t(268))/4*(parseInt(t(261))/5)+-parseInt(t(245))/6*(-parseInt(t(246))/7)+-parseInt(t(263))/8*(-parseInt(t(249))/9)+-parseInt(t(252))/10*(-parseInt(t(257))/11)+-parseInt(t(247))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const N={production:O(254),beta:O(262)};O(248);const F={advertisements:{list:O(250),detail:O(266),events:O(260)},events:{track:"/events/track",registerAttribution:O(244)}};class V{constructor(t){const e=O;this[e(243)]={list:()=>""+this[e(258)]+F.advertisements.list,detail:t=>""+this[e(258)]+F[e(243)][e(255)]+"/"+t,events:(t,n)=>""+this[e(258)]+F[e(243)].events+"/"+t+"/"+n},this[e(253)]={track:()=>""+this[e(258)]+F[e(253)][e(264)],registerAttribution:()=>""+this.baseUrl+F[e(253)][e(251)]},this[e(258)]=t||N.production}[O(267)](t){this[O(258)]=t}[O(265)](){return this[O(258)]}custom(t){return""+this[O(258)]+(t.startsWith("/")?t:"/"+t)}}const j=new V;function K(t,e){var n=W();return(K=function(t,e){return n[t-=148]})(t,e)}var H=K;function W(){var t=[" (index: 0) in slot: ","🎯 Triggering VIEWABLE event for slide change: ad ","1378659jyPCKl","17678709odzfEs","752RZmECM","7205634BNJOoF","253926eNTMKJ","_id","254555CYGzNd","5223252ffaIpp","32140xDVvft","trackInitialSlideViewable","log","trackSlideViewable",") in slot: ","VIEWABLE","208fPuXiK"];return(W=function(){return t})()}!function(){for(var t=K,e=W();;)try{if(901204===parseInt(t(158))/1+-parseInt(t(162))/2+-parseInt(t(148))/3+parseInt(t(160))/4*(parseInt(t(149))/5)+parseInt(t(161))/6+-parseInt(t(164))/7*(-parseInt(t(155))/8)+-parseInt(t(159))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class q{static[H(152)](t,e,n,r,o=!1){var s=H;o&&console.log(s(157)+t[s(163)]+" (index: "+n+s(153)+e.id),r(t[s(163)],e.id,a.VIEWABLE)}static[H(150)](t,e,n,r=!1){var o=H;r&&console[o(151)]("🎯 Triggering initial VIEWABLE event: ad "+t._id+o(156)+e.id),n(t[o(163)],e.id,a[o(154)])}}function Y(){const t=["addClickEventsBatch","5640155ZChLfo","style","addEventListener","9700644vDuBBy","_blank","17001817hnydUY","3859404vjInJS"," -> ","toLowerCase","preventDefault","4851668aTKUYS","linkUrl","addClickEvent","4593336yDlrwY","open","🔗 ","addClickEventForSlider","isClickable","cursor","forEach","1761560QWzQlO","adType","addClickEventForRenderer","pointer"," ad clicked: ","stopPropagation","_id","click","log"];return(Y=function(){return t})()}const G=X;function X(t,e){const n=Y();return(X=function(t,e){return n[t-=258]})(t,e)}!function(){const t=X,e=Y();for(;;)try{if(972083===-parseInt(t(272))/1+parseInt(t(258))/2+parseInt(t(265))/3+parseInt(t(262))/4+-parseInt(t(282))/5+parseInt(t(285))/6+-parseInt(t(287))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Q{static addClickEvent(t,e,n,r,o=!1,s){const i=X;e.linkUrl&&(t[i(283)][i(270)]=i(275),t.addEventListener(i(279),t=>{const c=i;if(t.preventDefault(),t[c(277)](),r&&r(e._id,n.id,a.CLICK),window.open(e.linkUrl,c(286)),o){const t=s||String(n[c(273)]).toLowerCase();console.log(c(267)+t+c(276)+e[c(278)]+c(259)+e[c(263)])}}))}static[G(274)](t,e,n,r,o=!1,s){const i=G;e[i(263)]&&(t[i(283)].cursor=i(275),t[i(284)](i(279),t=>{const c=i;t[c(261)](),t[c(277)]();if(r()(e[c(278)],n.id,a.CLICK),window[c(266)](e[c(263)],c(286)),o){const t=s||String(n[c(273)])[c(260)]();console[c(280)]("🔗 "+t+c(276)+e._id+c(259)+e.linkUrl)}}))}static[G(268)](t,e,n,r,o=!1,s){this[G(264)](t,e,n,r,o,s)}static[G(269)](t){return Boolean(t[G(263)])}static[G(281)](t,e,n,r,o=!1,s){t[G(271)]((t,i)=>{const a=e[i];a&&this.addClickEvent(t,a,n,r,o,s)})}}const J=Z;function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=306]})(t,e)}function $(){const t=["70420OSAFHw","adstage-slide","transform","14px","TEXT","transition","normal","200px","75btTVrq","img","videoUrl","clientX","\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 ","add","5118170GNSBjl","462477EbtKXC","autoSlideInterval","#f0f0f0","contains","changedTouches","overflow","toLowerCase","mouseleave","1px dashed #ccc","adType","hidden","fontSize","appendChild","border","objectFit","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","removeChild","createSimpleAdElement","click","#999999","0.7","every","adstage-slider-wrapper","\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 ","8979212SygCnp","VIDEO","touches","addTouchSupport","2ZaSiFw","borderColor","display","2696995nexYAZ","adstage-dot","padding","535205rcoiPm",".adstage-dot","data-adstage-slot-id","height","BANNER","forEach","imageUrl","cssText","createSliderContainer","100px","string","100%","#cccccc","adstage-slide-container","body"," Ad","whiteSpace","getBoundingClientRect","touchend","auto","style","className","video","data-adstage-ad-id","9qurqRa","remove","mouseenter","width","opacity","adstage-ad adstage-","active","includes","touchstart","none","inline-block","8px","center","relative","adstage-dots","setAttribute","addEventListener","_id","length","trackSlideViewable","entries","createMinimalDotIndicator","Banner Ad","0.9","div","setProperty","addClickEventForSlider","children","flex","transform 0.4s ease-out","transparent","50px","textContent","1px solid #666","createElement","2162976xdtUFg","src","color","8uGsWLJ","classList","white","button","background","abs","backgroundColor"];return($=function(){return t})()}!function(){const t=Z,e=$();for(;;)try{if(349881===-parseInt(t(387))/1+-parseInt(t(381))/2*(parseInt(t(353))/3)+parseInt(t(338))/4*(-parseInt(t(346))/5)+parseInt(t(328))/6+parseInt(t(384))/7*(-parseInt(t(331))/8)+-parseInt(t(411))/9*(-parseInt(t(352))/10)+parseInt(t(377))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static[J(370)](t,n){const r=J,o=document[r(327)]("div");switch(o[r(408)]=r(416)+String(t.adType)[r(359)](),o.setAttribute(r(410),n[r(310)]),o[r(308)](r(389),t.id),o[r(407)].display="block",o[r(407)][r(414)]="100%",o[r(407)][r(390)]=r(406),t[r(362)]){case e[r(391)]:if(n[r(393)]){const t=document[r(327)](r(347));t[r(329)]=n[r(393)],t.style[r(414)]=r(398),t[r(407)][r(390)]="auto",t[r(407)][r(367)]="cover",o[r(365)](t)}else o[r(407)][r(390)]=r(396),o.style[r(337)]=r(355),o.style.border="1px dashed #ccc",o.textContent=r(315);break;case e[r(378)]:if(n[r(348)]){const t=document[r(327)](r(409));t[r(329)]=n[r(348)],t.style.width=r(398),t[r(407)][r(390)]=r(406),o[r(365)](t)}else o.style.height=r(345),o.style[r(337)]="#000",o.style[r(366)]=r(326),o.textContent="Video Ad",o.style[r(330)]=r(333);break;case e[r(342)]:if(n[r(325)]){const t=document.createElement(r(317));t[r(325)]=n[r(325)]||"",t.style[r(386)]=r(422),t.style[r(364)]=r(341),o[r(365)](t)}else o[r(407)].height=r(324),o[r(407)][r(386)]="8px",o[r(325)]="Text Ad";break;default:o[r(407)][r(390)]=r(396),o.style.border=r(361),o[r(407)][r(337)]="#f9f9f9",o[r(325)]=t.adType+r(402)}return o}static[J(395)](t,n,r,o,s=!1){const i=J,a=document[i(327)]("div");a.className=i(375);const c={position:i(306),overflow:i(363)};if(t[i(414)]&&0!==t[i(414)]){let e;e="string"==typeof t[i(414)]&&(t[i(414)][i(418)]("px")||t[i(414)][i(418)]("%"))?t.width:t.width+"px",c[i(414)]=e,c[i(383)]="inline-block"}else c[i(383)]=i(421);if(t[i(390)]&&0!==t.height){const e="string"==typeof t[i(390)]?t[i(390)]:t[i(390)]+"px";c[i(390)]=e}Object[i(313)](c)[i(392)](([t,e])=>{const n=i;a[n(407)][n(318)](t,e)});const l=!t[i(414)]||0===t[i(414)],d=!t[i(390)]||0===t[i(390)];if(l||d){const e=document[i(327)](i(317));if(e[i(407)][i(394)]=i(368),!l&&t[i(414)]){let n;n=typeof t[i(414)]===i(397)&&(t[i(414)][i(418)]("px")||t[i(414)][i(418)]("%"))?t[i(414)]:t[i(414)]+"px",e[i(407)][i(414)]=n,e[i(407)][i(403)]=i(344)}document[i(401)][i(365)](e);let r=0,o=0;n.forEach(n=>{const s=i,a=this[s(370)](t,n);e[s(365)](a);const c=a[s(404)]();c[s(414)]>r&&(r=c[s(414)]),c[s(390)]>o&&(o=c[s(390)]),e.removeChild(a)}),l&&r>0&&(a[i(407)][i(414)]=r+"px",c[i(414)]=r+"px"),d&&o>0&&(a[i(407)].height=o+"px",c[i(390)]=o+"px"),document[i(401)][i(369)](e)}const u=[...n,n[0]],p=document.createElement("div");p[i(408)]=i(400);const h={display:i(321),transition:i(322),width:100*u[i(311)]+"%"};t[i(390)]&&0!==t[i(390)]&&(h[i(390)]="100%"),Object.entries(h)[i(392)](([t,e])=>{const n=i;p[n(407)][n(318)](t,e)}),u[i(392)]((e,n)=>{const r=i,a=document[r(327)](r(317));a[r(408)]=r(339);const c={width:100/u[r(311)]+"%","flex-shrink":"0",display:r(321),"align-items":r(423),"justify-content":r(423)};t[r(390)]&&0!==t.height&&(c[r(390)]="100%"),Object.entries(c)[r(392)](([t,e])=>{const n=r;a[n(407)][n(318)](t,e)});const l=this[r(370)](t,e);Q[r(319)](l,e,t,o,s,String(t[r(362)]).toLowerCase()),a.appendChild(l),p[r(365)](a)});const f=n[i(374)](t=>t[i(362)]===e[i(342)])?null:this[i(314)](n[i(311)]);let g=0;const m=n[i(311)],y=1e3*(r?.[i(354)]||3),v=(e,r=!1)=>{const a=i;g=e,r?p[a(407)][a(343)]=a(420):p.style[a(343)]=a(322),p.style[a(340)]="translateX(-"+100/u[a(311)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(388))[a(392)]((t,e)=>{const n=a,r=t;e===c?(r[n(332)][n(351)](n(417)),r[n(407)][n(335)]="#666666",r[n(407)][n(382)]="#666666",r[n(407)][n(415)]="1"):(r[n(332)][n(412)](n(417)),r[n(407)][n(335)]=n(323),r[n(407)][n(382)]="#cccccc",r.style[n(415)]=n(373))})}q[a(312)](n[c],t,c,o,s)},I=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f.querySelectorAll(i(388))[i(392)]((t,e)=>{const n=i;t[n(309)](n(371),()=>v(e))})}let b=setInterval(()=>{v(g+1),I()},y);return a[i(309)](i(413),()=>{clearInterval(b)}),a[i(309)](i(360),()=>{b=setInterval(()=>{v(g+1),I()},y)}),this[i(380)](p,v,()=>g,m,I),a[i(365)](p),f&&a[i(365)](f),v(0),(!t.width||0===t[i(414)])&&setTimeout(()=>{const e=i,n=p[e(320)][0];if(n){const r=n[e(320)][0];if(r){const n=r[e(404)]();a.style[e(414)]=n.width+"px",(!t[e(390)]||0===t[e(390)])&&(a[e(407)][e(390)]=n.height+"px"),a[e(407)][e(358)]=e(363)}}},10),a}static createMinimalDotIndicator(t){const e=J,n=document[e(327)](e(317));n[e(408)]=e(307),n[e(407)][e(394)]=e(350);for(let r=0;r<t;r++){const t=document[e(327)](e(334));t[e(408)]=e(385),t[e(407)][e(394)]=e(376),t[e(309)](e(413),()=>{const n=e;!t[n(332)][n(356)](n(417))&&(t[n(407)].borderColor=n(372),t[n(407)].opacity=n(316))}),t[e(309)](e(360),()=>{const n=e;!t[n(332)][n(356)]("active")&&(t[n(407)][n(382)]=n(399),t.style[n(415)]=n(373))}),n[e(365)](t)}return n}static[J(380)](t,e,n,r,o){const s=J;let i=0,a=!1;t[s(309)](s(419),t=>{const e=s;i=t[e(379)][0][e(349)],a=!0}),t[s(309)]("touchmove",t=>{a&&t.preventDefault()}),t[s(309)](s(405),t=>{const c=s;if(!a)return;a=!1;const l=t[c(357)][0][c(349)],d=i-l;if(Math[c(336)](d)>50){const t=n();if(d>0){e(t+1),o&&o()}else{e(t>0?t-1:r-1)}}})}}const et=nt;function nt(t,e){const n=rt();return(nt=function(t,e){return n[t-=145]})(t,e)}function rt(){const t=["✅ New viewable recorded for ad ","2106309pycxLN","7192VJqkVK","320957jMMkjA","368828EpmpTU","viewableTracker","add"," in slot ","1098995DHUAnU","6RdiIVE","4538712TCRfwV","2680425vEwdGi","30uyOygq","4319zFguBS","delete","isDuplicateViewable","clear"];return(rt=function(){return t})()}!function(){const t=nt,e=rt();for(;;)try{if(659241===-parseInt(t(159))/1+parseInt(t(160))/2+parseInt(t(157))/3+-parseInt(t(149))/4+parseInt(t(147))/5*(-parseInt(t(148))/6)+-parseInt(t(152))/7*(-parseInt(t(158))/8)+-parseInt(t(150))/9*(-parseInt(t(151))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ot{static[et(154)](t,e,n=!1){const r=et,o=t+"_"+e;return ot[r(161)].has(o)?(n&&console.log("Duplicate viewable blocked for ad "+t+" in slot "+e),!0):(ot[r(161)][r(145)](o),n&&console.log(r(156)+t+r(146)+e),!1)}static[et(155)](){const t=et;ot.viewableTracker[t(155)]()}static clearAdViewable(t,e){const n=et,r=t+"_"+e;ot[n(161)][n(153)](r)}}function st(t,e){const n=at();return(st=function(t,e){return n[t-=219]})(t,e)}ot[et(161)]=new Set;const it=st;function at(){const t=[" for ","parentElement",'[class*="banner"]',"advertisementEventTracker","toLowerCase","color","warn","404afJOFd","11px",'div[style*="height"]',"2px dashed #e74c3c","18zaOIWS","isEmpty","783185nyYUcr","adstage-official","contains",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"classList","log","VIEWABLE","100%","closest","11740SSlMcP","isDuplicateViewable","border"," event for ad ","#f9f9f9","1382005TEvnJg","style","height",".adstage-slot","block","adstage-slot","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","fontSize","createElement","justifyContent","error","div","string","createPlaceholder","renderFallback","⚠️ AdvertisementEventTracker not available for ","borderRadius","📊 Advertisement event tracked: ","data-adstage-container","⚠️ Created empty ","❌ Failed to track ","backgroundColor",'div[style*="min-height"]','[data-adstage-container="true"]',"getContainerHeight","createEventTrackingCallback","alignItems","3279onkfuT","rgba(231, 76, 60, 0.1)","transparent","true"," event",") - Mode: ","40Xwrldl","⚠️ ","createEmptyContainer","getDefaultHeight"," in slot ","5027lAzjhD","display","data-adstage-empty","unknown"," container: "," for ad "," ad...</span>","debug","placeholderMode","querySelector","minHeight"," x ","adType","adstage-slot adstage-","1px solid rgba(0, 0, 0, 0.08)","548653GEsYiC","1px dashed #ccc","advertisement","appendChild","🚫 Duplicate viewable blocked for ad ","8653200WqDoZh","none","applyPlaceholderStyle","): ","getAttribute",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"containerId","setAttribute","opacity","subtle","innerHTML","monospace",".adstage-","1212345sQluLb","#666","flex","trackAdvertisementEvent","center","className","✅ New viewable recorded for ad ","cssText","width","📏 Using default height ","fontFamily","hasAttribute","rgba(0, 0, 0, 0.02)","getElementById","2rARexu","invisible","rgba(248, 249, 250, 0.5)","<span>Loading "," container collapsed (","number","calculateAdSize"];return(at=function(){return t})()}!function(){const t=st,e=at();for(;;)try{if(502947===parseInt(t(298))/1*(-parseInt(t(278))/2)+-parseInt(t(220))/3*(parseInt(t(292))/4)+parseInt(t(312))/5*(parseInt(t(296))/6)+parseInt(t(246))/7+parseInt(t(226))/8*(parseInt(t(264))/9)+parseInt(t(307))/10*(parseInt(t(231))/11)+-parseInt(t(251))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ct{constructor(t,e=!1,n){const r=st;this[r(243)]=t,this.debug=e,this[r(288)]=n||null}[it(325)](t,e,n,r){const o=it,s=document.createElement(o(323));s.id=e,s[o(269)]=o(244)+String(this.adType)[o(289)](),s[o(258)](o(330),o(223)),s[o(258)]("data-adstage-type",String(this[o(243)])),s[o(258)]("data-adstage-slot",e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:o(305),height:this.getDefaultHeight()};s[o(313)][o(272)]=i,s.style.height=a;const c=r?.placeholderMode||n[o(239)]||"invisible";this[o(253)](s,c),t[o(249)](s),this[o(238)]&&console[o(303)]("📦 Placeholder created for "+this[o(243)]+" slot: "+e+" ("+i+o(242)+a+o(225)+c)}[it(253)](t,e){const n=it;switch(e){case n(279):t.style[n(333)]=n(222),t[n(313)].border=n(252),t[n(313)][n(259)]="0",t.innerHTML="";break;case n(222):t.style[n(333)]="transparent",t[n(313)].border=n(252),t[n(313)][n(232)]=n(316),t.innerHTML="";break;case n(260):t[n(313)][n(333)]=n(276),t[n(313)][n(309)]=n(252),t.style[n(328)]="4px",t[n(313)][n(232)]=n(266),t[n(313)][n(219)]=n(268),t.style.justifyContent="center",t.innerHTML=n(301);break;case"minimal":t[n(313)][n(333)]=n(280),t[n(313)][n(309)]=n(245),t[n(313)][n(328)]="6px",t[n(313)][n(232)]=n(266),t[n(313)][n(219)]=n(268),t[n(313)][n(321)]="center",t[n(261)]=n(256);break;case n(238):t.style.border=n(295),t[n(313)][n(232)]=n(266),t[n(313)].alignItems=n(268),t[n(313)][n(321)]=n(268),t[n(313)][n(333)]=n(221),t[n(313)].color="#e74c3c",t[n(313)][n(274)]=n(262),t[n(313)][n(319)]=n(293),t[n(261)]=n(281)+this[n(243)]+n(237);break;default:t[n(313)][n(309)]=n(247),t[n(313)][n(232)]="flex",t.style[n(219)]="center",t[n(313)][n(321)]=n(268),t[n(313)][n(333)]=n(311),t[n(313)][n(290)]=n(265),t.innerHTML="<span>Loading "+this[n(243)]+n(237)}}[it(284)](t,e,n){const r=it,o=e[r(272)],s=e[r(314)];let i,a;if(i="number"==typeof o?o+"px":"string"==typeof o?o:"100%",typeof s===r(283))a=s+"px";else if(typeof s===r(324)&&s!==r(305)&&"auto"!==s)a=s;else{const e=this.getContainerHeight(t);e>0?(a=r(305),(n?.[r(238)]||this.debug)&&console.log("📏 Using 100% height (container: "+e+"px)")):(a=this[r(229)](),(n?.[r(238)]||this[r(238)])&&console[r(303)](r(273)+a+r(285)+this[r(243)]))}return{width:i,height:a}}[it(336)](t){const e=it,n=window.getComputedStyle(t),r=parseFloat(n[e(314)]);if(!r||0===r){const r=parseFloat(n[e(241)]);if(r>0)return r;if(t.style[e(314)]&&"auto"!==t[e(313)].height){const n=parseFloat(t.style[e(314)]);if(n>0)return n}const o=t[e(255)](e(314));if(o){const t=parseFloat(o);if(t>0)return t}}return r||0}[it(337)](){return async(t,e,n)=>{const r=st;if(n===a[r(304)]){if(ot[r(308)](t,e,this.debug))return void(this[r(238)]&&console[r(303)](r(250)+t+r(230)+e));this[r(238)]&&console[r(303)](r(270)+t+" in slot "+e)}if(this[r(288)])try{this[r(238)]&&console[r(303)]("🔄 Starting advertisement event tracking: "+n+r(236)+t+" in slot "+e),await this[r(288)][r(267)](t,e,n),this[r(238)]&&console[r(303)](r(329)+n+r(236)+t+r(230)+e)}catch(e){this[r(238)]&&console[r(322)](r(332)+n+r(310)+t+":",e)}else this.debug&&console.warn(r(327)+n+r(224))}}[it(326)](t){const e=it,n=document.getElementById(t.id);if(n){const r=[...[n[e(240)](e(335)),n[e(306)]('[data-adstage-container="true"]'),n].filter(t=>t&&t[e(275)](e(330))),...[n[e(306)](e(315)),n.closest(e(263)+String(this[e(243)])[e(289)]()),n[e(306)]('[class*="ad"]'),n[e(306)](e(287)),n[e(306)]('[class*="container"]'),n[e(306)](e(294)),n[e(306)](e(334)),n[e(286)]].filter(Boolean)][0];if(r){let n=e(234);n=r[e(275)](e(330))?e(299):r[e(302)][e(300)](e(317))?"adstage-class":"generic",r[e(313)].cssText+=e(318),r[e(261)]="",r[e(258)](e(233),"true"),this.debug&&console[e(291)](e(227)+this[e(243)]+e(282)+n+e(254)+t.id,r)}else this[e(228)](t)}t[e(248)]=void 0,t[e(297)]=!0}[it(228)](t){const e=it,n=document[e(277)](t[e(257)]);if(n){n[e(261)]="";const r=document[e(320)](e(323));r.id=t.id,r[e(269)]="adstage-slot adstage-empty adstage-"+String(this[e(243)])[e(289)](),r[e(258)](e(330),e(223)),r[e(258)](e(233),e(223)),r[e(258)]("data-adstage-slot",t.id),r[e(313)][e(271)]="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n[e(249)](r),this.debug&&console[e(291)](e(331)+this[e(243)]+e(235)+t.id)}}log(t,...e){const n=it;this[n(238)]&&console[n(303)]("["+this[n(243)]+"] "+t,...e)}}const lt=ut;function dt(){const t=["some","100%","style","from","1465320FJwvIv","createElement","6451720jDuddI"," with ","📸 Banner image dimensions: ","Banner container optimization failed, using default size:","log","appendChild","fulfilled","title","className","width","loadImageDimensions","11242WNRRrm","179568uVKmsx","filter","3:2","adstage-ad adstage-banner-ad","forEach","div","average","backgroundColor","aspectRatio"," ads: ",", ratio=","4868qknlBo","calculateOptimalHeight","objectFit","4:3","center","getDefaultHeight","imageUrl","640LkPTEJ","Banner","img","optimizeContainerForBannerAds","dominant","values","#f0f0f0","getElementById","Banner Ad"," (avg: ","objectPosition","BANNER","renderMultipleAds","optimizedHeight","borderRadius","slideInterval","map","height","1:1","display","alt","Container not found: ","reduce","Failed to load image: ","onerror","applyOptimizedImageStyle","calculateOptimalContainerSize","📦 Banner container dimensions: ","1qIQLzw","value","16:9","block","get","naturalHeight","config","common","debug","1128762kXevtk","allSettled","onload","✅ Optimized banner image rendered for ad: ","Banner Advertisement"," (strategy: ","_id","createEventTrackingCallback","parentElement","selectOptimalSizeStrategy","containerId"," ads (optimized: ","344nxFvtZ","createSliderContainer","3336czgCpp","warn","round","31596081UeArAd","📊 Using standard ratio: ","error","set","src","Failed to calculate optimal banner size, using defaults:","count","🎨 Banner image style applied: objectFit=","250px","innerHTML","addClickEventForRenderer","🎠 Banner carousel created for slot: ","length","abs",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"cover","ratio","renderOptimizedBannerImage","getBoundingClientRect","toString"];return(dt=function(){return t})()}function ut(t,e){const n=dt();return(ut=function(t,e){return n[t-=207]})(t,e)}!function(){const t=ut,e=dt();for(;;)try{if(556162===-parseInt(t(254))/1*(parseInt(t(263))/2)+parseInt(t(304))/3+parseInt(t(219))/4*(parseInt(t(226))/5)+-parseInt(t(277))/6*(parseInt(t(207))/7)+parseInt(t(275))/8*(-parseInt(t(208))/9)+-parseInt(t(306))/10+parseInt(t(280))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pt extends ct{constructor(t=!1,n){super(e[ut(237)],t,n)}[lt(224)](){return lt(288)}async renderAdElement(t,e){const n=lt,r=document[n(233)](t[n(273)]);if(!r)return;const o=document.createElement(n(213));o[n(314)]=n(211);const s=t[n(239)],i=r[n(271)]||r;if(s)o.style[n(315)]=n(301),o[n(302)][n(243)]=String(s);else{const e=t.config,r={width:e?.[n(315)],height:e?.[n(243)]},{width:s,height:a}=this.calculateAdSize(i,r,{debug:this[n(262)]});o.style[n(315)]=s,o.style[n(243)]=a}e[n(225)]?await this[n(297)](o,e,t):o[n(289)]="<div>"+(e[n(313)]||n(234))+"</div>",Q.addClickEventForRenderer(o,e,t,()=>this[n(270)](),this[n(262)],n(227)),r[n(289)]="",r.appendChild(o)}async[lt(238)](t,e){const n=lt,r=document.getElementById(t[n(273)]);if(!r)throw new Error(n(247)+t[n(273)]);await this[n(229)](t,e);const o=this[n(270)](),s={autoSlideInterval:(t[n(260)]?.[n(241)]||5e3)/1e3,...t.config,optimizedHeight:t.optimizedHeight,aspectRatio:t[n(216)]},i=tt[n(276)](t,e,s,o,this[n(262)]);i&&(r[n(289)]="",r.appendChild(i),this[n(262)]&&console[n(310)](n(291)+t.id+n(307)+e.length+n(274)+(t.optimizedHeight||"default")+")"))}async[lt(252)](t,e){const n=lt;if(!t.length)return{width:"100%",height:this[n(224)](),aspectRatio:16/9};try{const r=(await Promise[n(264)](t[n(209)](t=>t[n(225)]).map(t=>this[n(316)](t.imageUrl))))[n(209)](t=>t.status===n(312))[n(242)](t=>t[n(255)]);if(0===r.length)return{width:n(301),height:this[n(224)](),aspectRatio:16/9};const o=this[n(272)](r),s=this[n(220)](r,e,o);return this[n(262)]&&console[n(310)]("📐 Optimal banner container calculated: "+e+"x"+s+n(268)+o+")"),{width:n(301),height:s+"px",aspectRatio:e/s}}catch(t){return console[n(278)](n(285),t),{width:n(301),height:this[n(224)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=lt;try{const r=document.getElementById(t[n(273)]),o=document.getElementById(t.id);if(!r||!o)return;const s=r[n(298)]()[n(315)]||300,i=await this.calculateOptimalContainerSize(e,s);o[n(302)][n(243)]=i[n(243)],t.optimizedHeight=i[n(243)],t[n(216)]=i[n(216)],this[n(262)]&&console[n(310)]("🔧 Banner container optimized for "+e.length+n(217)+i[n(243)])}catch(t){console[n(278)](n(309),t)}}selectOptimalSizeStrategy(t){const e=lt,n=t[e(242)](t=>t[e(315)]/t[e(243)]),r=new Map;n[e(212)](t=>{const n=e,o=(Math[n(279)](10*t)/10)[n(299)]();r[n(283)](o,(r[n(258)](o)||0)+1)});const o=Math.max(...r.values()),s=t[e(292)];if(o/s>=.7)return"dominant";const i=[16/9,4/3,1,1.5],a=n.filter(t=>i[e(300)](e=>Math.abs(t-e)<.1))[e(292)];return e(a/s>=.5?261:214)}[lt(220)](t,e,n){const r=lt,o=t[r(242)](t=>t[r(315)]/t.height);switch(n){case r(230):{const t=new Map;o[r(212)](e=>{const n=r,o=Math[n(279)](10*e)/10,s=o.toString(),i=t[n(258)](s);i?i[n(286)]++:t[n(283)](s,{ratio:o,count:1})});const n=Array[r(303)](t[r(231)]())[r(248)]((t,e)=>e[r(286)]>t[r(286)]?e:t);return Math[r(279)](e/n.ratio)}case r(261):{const t=[{ratio:16/9,name:r(256)},{ratio:4/3,name:r(222)},{ratio:1,name:r(244)},{ratio:1.5,name:r(210)}],n=o[r(248)]((t,e)=>t+e,0)/o[r(292)],s=t[r(248)]((t,e)=>Math[r(293)](e[r(296)]-n)<Math[r(293)](t.ratio-n)?e:t);return this.debug&&console[r(310)](r(281)+s.name+r(235)+n.toFixed(2)+")"),Math[r(279)](e/s[r(296)])}default:{const t=o[r(248)]((t,e)=>t+e,0)/o[r(292)];return Math[r(279)](e/t)}}}[lt(316)](t){return new Promise((e,n)=>{const r=ut,o=new Image;o[r(265)]=()=>{const t=r;e({width:o.naturalWidth,height:o[t(259)]})},o[r(250)]=()=>{n(new Error(r(249)+t))},o[r(284)]=t})}[lt(251)](t,e,n){const r=lt,o=e/n;Math[r(293)](o-1)<.1?(t[r(302)].objectFit=r(295),t.style[r(236)]=r(223)):o>1.3?(t[r(302)][r(221)]="contain",t[r(302)][r(236)]=r(223),t[r(302)][r(215)]=r(232)):o<.7?(t[r(302)][r(221)]=r(295),t[r(302)].objectPosition=r(223)):(t[r(302)][r(221)]="cover",t[r(302)].objectPosition="center"),this[r(262)]&&console.log(r(287)+t[r(302)][r(221)]+r(218)+o.toFixed(2))}async[lt(297)](t,e,n){const r=lt,o=document[r(305)](r(228));o.style[r(315)]=r(301),o.style.height=r(301),o[r(302)][r(245)]=r(257),o[r(302)][r(240)]="8px",o[r(246)]=e[r(313)]||r(267),t.innerHTML=r(294);try{if(!e.imageUrl)throw new Error("Image URL is not provided");const s=await this[r(316)](e[r(225)]),i=t[r(298)](),a=i[r(315)],c=i.height;this[r(262)]&&(console[r(310)](r(308)+s.width+"x"+s[r(243)]),console.log(r(253)+a+"x"+c));const l=s.width/s.height,d=a/c;return this[r(251)](o,l,d),o[r(284)]=e[r(225)],t[r(289)]="",t[r(311)](o),Q.addClickEventForRenderer(o,e,n,()=>this.createEventTrackingCallback(),this[r(262)],r(227)),this[r(262)]&&console[r(310)](r(266)+e[r(269)]),o}catch(s){return console[r(282)]("❌ Failed to load optimized banner image:",s),e[r(225)]&&(o.src=e[r(225)],o[r(302)].objectFit=r(295),o[r(302)][r(236)]="center",t[r(289)]="",t[r(311)](o),Q[r(290)](o,e,n,()=>this[r(270)](),this[r(262)],r(227))),o}}}const ht=ft;function ft(t,e){const n=gt();return(ft=function(t,e){return n[t-=143]})(t,e)}function gt(){const t=["textContent","2masoNs","title","237265WlQlpf","3482730xxoARL","30MuJTqe","createTextAdStyles","284764btjjzv","7889784MAJivs","6891150BJcyBR","609151SmwDIR","2697399spHDXz","3iXNMvU"];return(gt=function(){return t})()}!function(){const t=ft,e=gt();for(;;)try{if(867272===-parseInt(t(152))/1*(-parseInt(t(143))/2)+-parseInt(t(154))/3*(-parseInt(t(149))/4)+-parseInt(t(145))/5*(-parseInt(t(147))/6)+parseInt(t(151))/7+-parseInt(t(150))/8+parseInt(t(153))/9+-parseInt(t(146))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class mt{static[ht(148)](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=ht,r=e.textContent||e[n(144)]||"";t[n(155)]=r}}const yt=It;function vt(){const t=["push","className","addClickEventForSlider","adType","4WXQueD","2168516grxhXB","forEach","style","absolute","left","clientX","width","touchend","translateY(-20px)","touchmove","cssText","opacity","4208004vWULDM","touchstart","position","appendChild","createTextTransitionContainer","touches","string",";\n transform: translateY(","mouseleave","adstage-fade-slider-wrapper","abs","preventDefault","mouseenter","createSimpleAdElement","hidden","22vrvWeG",";\n left: ","setTextAdContent","clientY","createElement","setProperty","fit-content","Text","transform","setAttribute","changedTouches","translateY(20px)","height: auto;","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","zIndex","length",";\n top: ","height: 100%;","data-adstage-slot-id","20px","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","body","top","adstage-fade-slide","toLowerCase","addEventListener","addTouchSupport","trackSlideViewable",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","2159610yRmxon","auto","2551830jLCLIt","includes","\n ","createTextAdStyles","translateY(0)",";\n ","getBoundingClientRect","1090736WHiXIs","height","18RcUkOm","block","relative","div","\n position: ","95577PPXYIe","894fHFtlL","removeChild","whiteSpace","33050zvIYLL"];return(vt=function(){return t})()}function It(t,e){const n=vt();return(It=function(t,e){return n[t-=277]})(t,e)}!function(){const t=It,e=vt();for(;;)try{if(512709===parseInt(t(336))/1*(parseInt(t(331))/2)+-parseInt(t(322))/3*(parseInt(t(345))/4)+parseInt(t(340))/5*(parseInt(t(337))/6)+-parseInt(t(346))/7+-parseInt(t(329))/8+-parseInt(t(358))/9+parseInt(t(320))/10*(parseInt(t(291))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class bt{static[yt(289)](t,e){const n=yt,r=document[n(295)](n(334));return r[n(342)]="adstage-ad adstage-"+String(t[n(344)])[n(315)](),r[n(300)]("data-adstage-ad-id",e._id),r[n(300)](n(309),t.id),r[n(348)].cssText=mt[n(325)](!0),mt[n(293)](r,e),r}static[yt(280)](t,e,n,r,o=!1){const s=yt,i=t[s(330)]&&0!==t[s(330)]&&t[s(330)]!==s(321),a=document[s(295)](s(334));a[s(342)]=s(285);const c={position:s(333),overflow:s(290),display:s(332)};if(!i&&(c[s(330)]=s(321),c.minHeight=s(297)),t.width&&0!==t[s(352)]){let e;e=typeof t[s(352)]===s(282)?t[s(352)][s(323)]("px")||t[s(352)][s(323)]("%")?t.width:t[s(352)]+"px":t.width+"px",c[s(352)]=e}if(t[s(330)]&&0!==t[s(330)]&&t[s(330)]!==s(321)&&i){let e;e="string"==typeof t[s(330)]?t.height[s(323)]("px")||t[s(330)][s(323)]("%")?t[s(330)]:t[s(330)]+"px":t.height+"px",c.height=e}Object.entries(c).forEach(([t,e])=>{const n=s;a[n(348)][n(296)](t,e)});const l=document[s(295)]("div");l.className="adstage-fade-slide-container",l.style[s(356)]="\n position: relative;\n width: 100%;\n "+(i?s(308):"height: auto; min-height: fit-content;")+s(324);let d=null;const u=!t[s(352)]||0===t[s(352)],p=!t[s(330)]||0===t.height||void 0===t[s(330)]||t.height===s(321);if(u||p&&i){if(d=document[s(295)]("div"),d[s(348)][s(356)]=s(311),!u&&t[s(352)]){let e;e="string"==typeof t.width&&(t[s(352)][s(323)]("px")||t[s(352)][s(323)]("%"))?t[s(352)]:t[s(352)]+"px",d[s(348)][s(352)]=e,d[s(348)][s(339)]="normal"}document[s(312)][s(279)](d);let n=0,r=0;e.forEach(e=>{const o=s,i=this[o(289)](t,e);d[o(279)](i);const a=i[o(328)]();a[o(352)]>n&&(n=a.width),a.height>r&&(r=a[o(330)]),d[o(338)](i)}),u&&n>0&&(a[s(348)][s(352)]=n+"px"),p&&r>0&&i&&(a[s(348)][s(330)]=r+"px"),document[s(312)][s(338)](d)}const h=[];e[s(347)]((e,n)=>{const a=s,c=document.createElement(a(334));c[a(342)]=a(314);const d=0===n,u=i?a(349):d?"relative":a(349);c[a(348)][a(356)]=a(335)+u+a(307)+(u===a(349)?"0":"auto")+a(292)+(u===a(349)?"0":a(321))+";\n width: 100%;\n "+a(i?308:303)+a(304)+(0===n?"1":"0")+a(283)+(0===n?"0":a(310))+a(319)+(0===n?"2":"1")+a(327);const p=this[a(289)](t,e);Q[a(343)](p,e,t,r,o,a(298)),c[a(279)](p),l[a(279)](c),h[a(341)](c)});let f=0;const g=e[s(306)],m=1e3*(n?.autoSlideInterval||4),y=n=>{const a=s;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c[a(348)][a(278)]===a(333)&&(c.style[a(278)]=a(349),c[a(348)].top="0",c[a(348)][a(350)]="0"),l[a(348)][a(278)]=a(333),l[a(348)][a(313)]=a(321),l[a(348)][a(350)]=a(321)),c[a(348)][a(357)]="0",c[a(348)][a(299)]=a(354),c[a(348)][a(305)]="1",l[a(348)][a(357)]="1",l[a(348)][a(299)]=a(326),l[a(348)].zIndex="2",h.forEach((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(348)][r(357)]="0",t[r(348)][r(299)]=r(302),t[r(348)][r(305)]="1",!i&&t[r(348)][r(278)]===r(333)&&(t[r(348)].position=r(349),t[r(348)][r(313)]="0",t[r(348)][r(350)]="0"))}),f=n,q[a(318)](e[f],t,f,r,o)};let v=setInterval(()=>{y(f+1)},m);return a[s(316)](s(288),()=>{clearInterval(v)}),a.addEventListener(s(284),()=>{v=setInterval(()=>{y(f+1)},m)}),bt[s(317)](a,y,()=>f,g),a[s(279)](l),a}static[yt(317)](t,e,n,r){const o=yt;let s=0,i=0,a=!1;t[o(316)](o(277),t=>{const e=o;s=t[e(281)][0][e(351)],i=t.touches[0][e(294)],a=!0}),t[o(316)](o(355),t=>{a&&t[o(287)]()}),t[o(316)](o(353),t=>{const r=o;if(!a)return;a=!1;const c=t[r(301)][0][r(351)],l=t[r(301)][0][r(294)],d=s-c,u=i-l;if(Math.abs(d)>Math.abs(u)&&Math[r(286)](d)>50){const t=n();e(d>0?t+1:t-1)}})}}const wt=kt;function kt(t,e){const n=Et();return(kt=function(t,e){return n[t-=341]})(t,e)}function Et(){const t=["optimizedHeight","cssText","overflow","✨ Single text ad rendered: ","div","388932isCqTA","146229KYdGzv","width","113337QQYmYQ","60px","2YoQuCM","Text","log","aspectRatio","slideInterval","innerHTML","✨ Text transition created for slot: ","getElementById","style","containerId","1002480udKhji","_id","10iYVxMq","className","createEventTrackingCallback","appendChild","addClickEventForRenderer","hidden","parentElement"," ads","config","debug","height","TEXT","length","54ctbHAP","44895rHowev","setTextAdContent","renderAdElement","createElement","vertical","getDefaultHeight","webkitLineClamp","2947491gCtZyb","1554896QnXDmf","calculateAdSize"];return(Et=function(){return t})()}!function(){const t=kt,e=Et();for(;;)try{if(150066===-parseInt(t(373))/1*(parseInt(t(377))/2)+-parseInt(t(372))/3+-parseInt(t(341))/4+parseInt(t(357))/5+parseInt(t(356))/6*(parseInt(t(375))/7)+parseInt(t(365))/8+parseInt(t(364))/9*(parseInt(t(343))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St extends ct{constructor(t=!1,n){super(e[kt(354)],t,n)}[wt(362)](){return wt(376)}async[wt(359)](t,e){const n=wt,r=document[n(384)](t[n(386)]);if(!r)return;const o=document[n(360)](n(371));o[n(344)]="adstage-ad adstage-text-ad";const s=t[n(367)],i=r[n(349)]||r;if(s)o[n(385)][n(374)]="100%",o[n(385)][n(353)]=String(s);else{const e=t[n(351)],r={width:e?.[n(374)],height:e?.height},{width:s,height:a}=this[n(366)](i,r,{debug:this[n(352)]});o.style[n(374)]=s,o[n(385)][n(353)]=a}const a=document.createElement("div");a[n(344)]="adstage-text-content",a[n(385)][n(368)]=mt.createTextAdStyles(!1),mt[n(358)](a,e);const c=t[n(351)]?.maxLines;c&&"number"==typeof c&&(a[n(385)].display="-webkit-box",a[n(385)][n(363)]=String(c),a.style.webkitBoxOrient=n(361),a.style[n(369)]=n(348)),o.appendChild(a),Q[n(347)](o,e,t,()=>this[n(345)](),this.debug,n(378)),r[n(382)]="",r.appendChild(o),this[n(352)]&&console.log(n(370)+e[n(342)])}async renderMultipleAds(t,e){const n=wt,r=document.getElementById(t[n(386)]);if(!r)throw new Error("Container not found: "+t[n(386)]);const o=this[n(345)](),s={autoSlideInterval:(t[n(351)]?.[n(381)]||5e3)/1e3,...t[n(351)],optimizedHeight:t.optimizedHeight,aspectRatio:t[n(380)]},i=bt.createTextTransitionContainer(t,e,s,o,this[n(352)]);i&&(r[n(382)]="",r[n(346)](i),this[n(352)]&&console[n(379)](n(383)+t.id+" with "+e[n(355)]+n(350)))}}const xt=Ct;function At(){const t=["imageUrl","error","alt","Click to mute","⚠️ No video advertisements available for slot: ","\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 ","catch","objectFit","\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 ","innerHTML","src","button","660720xhARgk","rgba(0, 0, 0, 0.7)",", loop: ","43477DZAJtf","stopPropagation","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","scale(1)","66780bQBvaO","rgba(0, 0, 0, 0.9)"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","adstage-video-mute-button","313750NxljUR"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","click","appendChild"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","cssText","contain","style","warn","Video fallback","img","addEventListener","videoUrl",'\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 ',"transform","\n video::-webkit-media-controls-play-button {\n display: ","🎬 Final video settings:","loadeddata","🎬 Autoplay completely failed:","100%","muted","createEventTrackingCallback","🎬 Single video rendered for VIDEO slot: ","loadedmetadata","hidePlayButton","config","mouseenter","scale(1.1)","relative","autoplay","🎬 Auto-play was prevented:","729LPuHfx","🎬 Video controls setting:","_id","play","position","className","head","🎬 Single video ad rendered: ","🎬 Video config received:","360AcsZke","debug","preload","createElement","🎬 Video can play, attempting autoplay...","paused","background","block","width","🎬 Video data loaded, attempting autoplay...","adstage-video-default-controls"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","hideControls","metadata","mouseleave","VIEWABLE","Video load failed:","🎬 Trying muted autoplay fallback...","unmuted","VIDEO","225028MnOMgC","length","getElementById","🎬 Video metadata loaded, attempting autoplay...","hideCurrentTime","loop","display","title","none","addClickEventForRenderer","hideProgressBar","getDefaultHeight","hideRemainingTime","textContent","Video thumbnail","disabled (default)","playsinline","customControls","hideMuteButton","40DCcvQF","controls","Container not found: ","renderVideoElementDirect","containerId","🎬 Initial autoplay attempt after timeout...","log","\n pointer-events: none;\n ","height","🎬 User explicitly enabled controls, overriding default"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","setAttribute","137155oDFKeM","398802jziopl"];return(At=function(){return t})()}function Ct(t,e){const n=At();return(Ct=function(t,e){return n[t-=361]})(t,e)}!function(){const t=Ct,e=At();for(;;)try{if(370556===parseInt(t(463))/1+parseInt(t(407))/2+parseInt(t(439))/3+-parseInt(t(426))/4*(parseInt(t(438))/5)+-parseInt(t(387))/6*(parseInt(t(455))/7)+-parseInt(t(452))/8+parseInt(t(378))/9*(parseInt(t(459))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Tt extends ct{constructor(t=!1,n){super(e[Ct(406)],t,n)}[xt(418)](){return"360px"}async renderAdElement(t,e){const n=xt,r=document[n(409)](t[n(430)]);if(!r)return;const o=document[n(390)]("div");o[n(383)]="adstage-video-container",o[n(470)][n(468)]=n(445),this[n(429)](o,e,t),r.innerHTML="",r[n(466)](o),this[n(388)]&&console.log(n(385)+e[n(380)])}async renderMultipleAds(t,e){const n=xt,r=document[n(409)](t[n(430)]);if(!r)throw new Error(n(428)+t[n(430)]);if(e[n(408)]>0){const o=e[0],s=document.createElement("div");s[n(383)]="adstage-video-container",s[n(470)][n(468)]=n(448),this[n(429)](s,o,t),r[n(449)]="",r[n(466)](s);const i=this[n(368)]();setTimeout(()=>{const e=n;i(o[e(380)],t.id,a[e(402)])},100),this[n(388)]&&console.log(n(369)+t.id+" ("+o[n(380)]+")")}else this[n(388)]&&console[n(471)](n(444)+t.id)}[xt(429)](t,e,n){const r=xt;t.style[r(382)]=r(375);const o=document.createElement("video");o[r(470)][r(395)]="100%",o.style[r(434)]="100%",o[r(470)][r(447)]="contain",o[r(389)]=r(400);const s=n[r(372)];if(this.debug&&console[r(432)](r(386),s),o.controls=!1,o[r(376)]=!1!==s?.[r(376)],o[r(367)]=!0,o.loop=!1!==s?.loop,this.debug&&console.log(r(363),{autoplay:o[r(376)],muted:o.muted,loop:o[r(412)],controls:o[r(427)]}),!1!==s?.[r(423)]&&o[r(437)](r(423),""),!0===s?.[r(427)]&&(o[r(427)]=!0,this[r(388)]&&console[r(432)](r(435))),s?.hideControls)o[r(427)]=!1,o[r(470)][r(468)]+=r(433);else if(s?.[r(424)]){if(o.controls){const t=document[r(390)](r(470));t[r(420)]=r(362)+(s[r(424)][r(371)]?r(415):r(394))+r(398)+(s[r(424)][r(417)]?"none":r(394))+r(464)+(s[r(424)][r(411)]?r(415):r(394))+r(467)+(s.customControls[r(419)]?r(415):r(394))+r(461)+(s.customControls.hideVolumeSlider?r(415):"block")+r(436)+(s[r(424)][r(425)]?r(415):r(394))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(s[r(424)].hideFullscreenButton?r(415):r(394))+" !important;\n }\n ",document[r(384)].appendChild(t)}}else if(o[r(427)]){const t=document[r(390)]("style");t.id=r(397),t[r(420)]=r(457),!document.getElementById("adstage-video-default-controls")&&document[r(384)][r(466)](t)}this[r(388)]&&console.log(r(379),o[r(427)]?"enabled":r(422));const i=document.createElement(r(451));i[r(383)]=r(462),i.style[r(468)]="\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 ",s?.[r(399)]&&(i[r(470)][r(413)]=r(415));const a=()=>{const t=r,e=t(476);i[t(449)]=o[t(367)]?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(414)]=o[t(367)]?"Click to unmute":t(443)};if(a(),i[r(474)](r(465),t=>{const e=r;t[e(456)](),o[e(367)]=!o[e(367)],a(),this[e(388)]&&console[e(432)]("🔊 Video mute toggled: "+(o[e(367)]?e(367):e(405)))}),i[r(474)](r(373),()=>{const t=r;i[t(470)][t(393)]=t(460),i.style[t(361)]=t(374)}),i.addEventListener(r(401),()=>{const t=r;i[t(470)].background=t(453),i[t(470)][t(361)]=t(458)}),e[r(475)]){o[r(450)]=e[r(475)];const t=()=>{const t=r;o.autoplay&&o[t(367)]&&o[t(392)]&&o[t(381)]()[t(446)](e=>{const n=t;this[n(388)]&&(console.warn(n(377),e),console.warn(n(404))),o[n(367)]=!0,o[n(381)]()[n(446)](t=>{const e=n;this[e(388)]&&console[e(441)](e(365),t)})})};o.addEventListener(r(370),()=>{const e=r;this.debug&&console[e(432)](e(410)),t()}),o[r(474)]("canplay",()=>{const e=r;this[e(388)]&&console.log(e(391)),t()}),o.addEventListener(r(364),()=>{const e=r;this.debug&&console.log(e(396)),t()}),setTimeout(()=>{const e=r;this.debug&&console.log(e(431)),t()},100)}else if(e[r(440)]){const n=document[r(390)](r(473));return n.src=e.imageUrl,n.style[r(395)]=r(366),n[r(470)][r(434)]="100%",n.style[r(447)]=r(469),n[r(442)]=e[r(414)]||r(421),void t[r(466)](n)}Q[r(416)](o,e,n,()=>this[r(368)](),this[r(388)],"Video"),o[r(474)](r(441),o=>{const s=r;if(console[s(441)](s(403),o),e.imageUrl){const r=document[s(390)](s(473));r[s(450)]=e[s(440)],r[s(470)].width=s(366),r[s(470)][s(434)]=s(366),r[s(470)].objectFit="contain",r[s(442)]=e[s(414)]||"Video thumbnail",Q[s(416)](r,e,n,()=>this[s(368)](),this.debug,s(472)),t[s(449)]="",t[s(466)](r)}}),t[r(466)](o),t.appendChild(i),this[r(388)]&&console[r(432)]("🎬 Video element created for ad: "+e[r(380)]+" (autoplay: "+o.autoplay+", muted: "+o[r(367)]+r(454)+o.loop+")")}}function _t(){const t=["textContent","Native click tracked for ad: ","appendChild","open","src","getDefaultHeight","211040riYPoL","cssText","linkUrl","⚠️ No native advertisements available for slot: ","click","div","mouseleave","350910pwolAa","338364FtVurz","className","Learn More","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","img","log","addEventListener","renderMultipleAds","createElement","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","257825ozNLfs","3iaDuQC","style","debug","#3b82f6","Native Advertisement","innerHTML","backgroundColor","🏠 Native ad rendered (first of ","adstage-ad adstage-native-ad","renderAdElement","getElementById","200px","\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 ","mouseenter","332374pQHiMT","): ","9029628EpOmUT","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","56KbzaGO","warn","imageUrl","_id","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","button","length","🏠 Single native ad rendered: ","1393675DTIkPh","title"];return(_t=function(){return t})()}const Rt=Dt;function Dt(t,e){const n=_t();return(Dt=function(t,e){return n[t-=387]})(t,e)}!function(){const t=Dt,e=_t();for(;;)try{if(213772===-parseInt(t(419))/1+-parseInt(t(401))/2*(-parseInt(t(420))/3)+-parseInt(t(409))/4+-parseInt(t(393))/5+parseInt(t(408))/6+parseInt(t(434))/7*(-parseInt(t(438))/8)+parseInt(t(436))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Pt extends ct{constructor(t=!1,n){super(e.NATIVE,t,n)}[Rt(400)](){return Rt(431)}async[Rt(429)](t,e){const n=Rt,r=document[n(430)](t.containerId);if(!r)return;const o=document[n(417)](n(406));if(o[n(410)]=n(428),o.style[n(402)]=n(412),e[n(394)]){const t=document.createElement("h3");t[n(395)]=e.title,t[n(421)][n(402)]=n(418),o[n(397)](t)}if(e[n(395)]){const t=document.createElement("p");t.textContent=e[n(395)],t[n(421)][n(402)]="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",o[n(397)](t)}if(e[n(387)]){const t=document[n(417)](n(406));t.style[n(402)]=n(389);const r=document[n(417)](n(413));r[n(399)]=e[n(387)],r.alt=e[n(394)]||n(424),r[n(421)][n(402)]=n(437),t[n(397)](r),o[n(397)](t)}if(e.linkUrl){const t=document[n(417)](n(390));t[n(395)]=n(411),t[n(421)][n(402)]=n(432),t[n(415)](n(405),()=>{const t=n;this.advertisementEventTracker&&console[t(414)](t(396)+e[t(388)]),window[t(398)](e[t(403)],"_blank")}),t[n(415)](n(433),()=>{const e=n;t[e(421)][e(426)]="#2563eb"}),t[n(415)](n(407),()=>{const e=n;t[e(421)][e(426)]=e(423)}),o.appendChild(t)}r[n(425)]="",r[n(397)](o),this[n(422)]&&console[n(414)](n(392)+e._id)}async[Rt(416)](t,e){const n=Rt;e[n(391)]>0?(await this[n(429)](t,e[0]),this.debug&&console[n(414)](n(427)+e.length+n(435)+t.id)):this[n(422)]&&console[n(439)](n(404)+t.id)}}const Bt=zt;function Lt(){const t=["className","backgroundColor","keydown","log","open","target","addEventListener","textContent","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","7798365wQpamT","🖼️ Interstitial ad rendered: ","adstage-interstitial-styles","INTERSTITIAL","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","#6b7280","div","5MuhljK","Interstitial Advertisement","closeInterstitial","mouseenter","fadeOut 0.3s ease-out forwards","debug","5238512PrSLDi","mouseleave","alt","renderAdElement","style","#2563eb","#f3f4f6","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","click","parentNode","imageUrl","button","_blank","4862788jYJccL","\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 ","6RlExXj","400px","removeChild","img","adstage-interstitial-content","getElementById","length","⚠️ No interstitial advertisements available for slot: ","623823XEupFK","#e5e7eb","30BlgdJU","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 ","head","\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 ","color","Escape","src","\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 ","animation","linkUrl","warn","🖼️ Interstitial ad closed","appendChild","233594iKdiug","944867HnNXci","15501160dsFvrn","#3b82f6","renderMultipleAds","containerId","_id","removeEventListener","createElement","key","getDefaultHeight","title"];return(Lt=function(){return t})()}function zt(t,e){const n=Lt();return(zt=function(t,e){return n[t-=451]})(t,e)}!function(){const t=zt,e=Lt();for(;;)try{if(621656===parseInt(t(458))/1*(parseInt(t(507))/2)+-parseInt(t(515))/3+-parseInt(t(505))/4*(-parseInt(t(486))/5)+parseInt(t(517))/6*(parseInt(t(459))/7)+parseInt(t(492))/8+-parseInt(t(479))/9+-parseInt(t(460))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ot extends ct{constructor(t=!1,n){super(e[zt(482)],t,n)}[Bt(468)](){return Bt(508)}async[Bt(495)](t,e){const n=Bt;if(!document[n(512)](t[n(463)]))return;const r=document[n(466)](n(485));r.className="adstage-interstitial-overlay",r[n(496)][n(518)]="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const o=document.createElement(n(485));o[n(470)]=n(511),o.style[n(518)]=n(519);const s=document[n(466)](n(503));if(s.innerHTML="×",s.style.cssText=n(521),s.addEventListener(n(500),()=>{this[n(488)](r)}),s[n(476)](n(489),()=>{const t=n;s[t(496)].backgroundColor=t(516),s[t(496)][t(522)]="#374151"}),s[n(476)]("mouseleave",()=>{const t=n;s[t(496)][t(471)]=t(498),s[t(496)][t(522)]=t(484)}),e[n(502)]){const t=document[n(466)](n(510));t[n(451)]=e[n(502)],t[n(494)]=e.title||n(487),t[n(496)][n(518)]=n(499),o[n(457)](t)}if(e[n(469)]){const t=document[n(466)]("h2");t[n(477)]=e[n(469)],t[n(496)].cssText=n(478),o[n(457)](t)}if(e[n(477)]){const t=document.createElement("p");t[n(477)]=e[n(477)],t[n(496)].cssText=n(483),o[n(457)](t)}if(e[n(454)]){const t=document[n(466)](n(503));t[n(477)]="Get Started",t[n(496)].cssText=n(506),t[n(476)](n(500),()=>{const t=n;this.advertisementEventTracker&&console[t(473)]("Interstitial click tracked for ad: "+e[t(464)]),window[t(474)](e[t(454)],t(504)),this[t(488)](r)}),t[n(476)](n(489),()=>{const e=n;t[e(496)][e(471)]=e(497)}),t[n(476)](n(493),()=>{const e=n;t[e(496)].backgroundColor=e(461)}),o.appendChild(t)}const i=t=>{const e=n;t[e(467)]===e(523)&&(this.closeInterstitial(r),document[e(465)](e(472),i))};if(document[n(476)](n(472),i),r[n(476)](n(500),t=>{const e=n;t[e(475)]===r&&this[e(488)](r)}),!document[n(512)](n(481))){const t=document[n(466)]("style");t.id="adstage-interstitial-styles",t[n(477)]=n(452),document[n(520)].appendChild(t)}o[n(457)](s),r.appendChild(o),document.body[n(457)](r),this.debug&&console[n(473)](n(480)+e[n(464)])}async[Bt(462)](t,e){const n=Bt;e[n(513)]>0?(await this[n(495)](t,e[0]),this[n(491)]&&console[n(473)]("🖼️ Interstitial ad rendered (first of "+e.length+"): "+t.id)):this[n(491)]&&console[n(455)](n(514)+t.id)}closeInterstitial(t){const e=Bt;t[e(496)][e(453)]=e(490),setTimeout(()=>{const n=e;t[n(501)]&&t[n(501)][n(509)](t)},300),this.debug&&console[e(473)](e(456))}}function Mt(t,e){const n=Ft();return(Mt=function(t,e){return n[t-=304]})(t,e)}const Ut=Mt;!function(){const t=Mt,e=Ft();for(;;)try{if(189617===parseInt(t(324))/1+parseInt(t(349))/2+parseInt(t(366))/3*(parseInt(t(365))/4)+-parseInt(t(305))/5+-parseInt(t(352))/6*(-parseInt(t(313))/7)+parseInt(t(346))/8+-parseInt(t(342))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt{constructor(t=!1,e){const n=Mt;this[n(370)]=new Map,this[n(331)]=t,this[n(318)]=e||null,this[n(364)]()}[Ut(364)](){const t=Ut;this[t(370)][t(315)](e.BANNER,new pt(this.debug,this.advertisementEventTracker)),this[t(370)][t(315)](e[t(361)],new St(this[t(331)],this.advertisementEventTracker)),this[t(370)][t(315)](e[t(368)],new Tt(this.debug,this[t(318)])),this[t(370)][t(315)](e[t(337)],new Pt(this[t(331)],this[t(318)])),this[t(370)].set(e[t(355)],new Ot(this[t(331)],this[t(318)])),this.debug&&console[t(335)]("🏭 AdRenderer factory initialized with "+this[t(370)][t(327)]+" renderers")}[Ut(330)](t,n){const r=Ut,o=this[r(307)](t[r(333)]),s=document.createElement("div");s[r(354)]=r(345)+String(t[r(333)]).toLowerCase(),s[r(336)](r(367),n._id),s[r(336)](r(359),t.id);const{width:i,height:a}=o[r(322)](s,t[r(320)]||{},n);switch(s[r(339)].width=i,s.style[r(341)]=a,s[r(339)].display="block",t[r(333)]){case e.BANNER:if(n[r(369)]){const t=document.createElement("img");t.src=n[r(369)],t[r(339)].width=r(323),t[r(339)][r(341)]=r(323),t[r(339)][r(332)]=r(351),s.appendChild(t)}break;case e[r(368)]:if(n[r(304)]){const t=document[r(362)](r(363));t[r(326)]=n[r(304)],t[r(339)].width=r(323),t[r(339)][r(341)]=r(323),s.appendChild(t)}break;case e[r(361)]:if(n[r(317)]){const t=document[r(362)]("div");t[r(317)]=n[r(317)]||"",t[r(339)][r(319)]=r(312),s[r(344)](t)}break;default:s[r(339)][r(306)]=r(316),s[r(339)].backgroundColor=r(308),s.textContent=t[r(333)]+" Ad"}return s}[Ut(307)](t){const e=Ut,n=this.renderers[e(347)](t);if(!n)throw new Error(e(348)+t);return n}[Ut(343)](t,e,n,r,o){const s=Ut;this[s(307)](n)[s(343)](t,e,r,o)}async[Ut(321)](t,n){const r=Ut;if(t[r(333)]!==e[r(353)])return void(this[r(331)]&&console.warn(r(340)+t[r(333)]));const o=this[r(307)](e.BANNER);await o[r(321)](t,n)}async renderAdSlider(t,e){const n=Ut,r=this.getRenderer(t[n(333)]);await r[n(325)](t,e)}async[Ut(310)](t){const e=Ut;if(!t[e(338)])throw new Error("No advertisement to render");const n=this[e(307)](t.adType);await n.renderAdElement(t,t[e(338)]),t[e(358)]=!0}async renderAdElement(t,e){const n=Ut,r=this.getRenderer(t[n(333)]);await r[n(328)](t,e)}[Ut(356)](t){this.getRenderer(t.adType).renderFallback(t)}getDefaultHeightForAdType(t){const e=Ut;return this.getRenderer(t)[e(309)]()}[Ut(322)](t,e,n,r){return this.getRenderer(e).calculateAdSize(t,n,r)}loadImageDimensions(t){return new Promise((e,n)=>{const r=Mt,o=new Image;o.onload=()=>{e({width:o[Mt(314)],height:o.naturalHeight})},o[r(334)]=()=>{n(new Error(r(360)+t))},o[r(326)]=t})}async renderOptimizedBannerImage(t,n,r){const o=Ut;if(r[o(333)]!==e[o(353)])throw new Error(o(329));const s=this.getRenderer(e[o(353)]);return await s[o(350)](t,n,r)}async[Ut(357)](t,n,r){const o=Ut;if(r!==e[o(353)]){const t=this.getRenderer(r);return{width:o(323),height:t[o(309)](),aspectRatio:16/9}}const s=this[o(307)](e.BANNER);return await s[o(357)](t,n)}[Ut(335)](t,...e){const n=Ut;this[n(331)]&&console[n(335)](n(311)+t,...e)}}function Ft(){const t=["Failed to load image: ","TEXT","createElement","video","initializeRenderers","1195564cPBVpt","3pAQMsm","data-adstage-ad-id","VIDEO","imageUrl","renderers","videoUrl","1233185WeoFwf","border","getRenderer","#f9f9f9","getDefaultHeight","renderAd","[AdRenderer] ","8px","98BOKmBs","naturalWidth","set","1px dashed #ccc","textContent","advertisementEventTracker","padding","config","optimizeContainerForBannerAds","calculateAdSize","100%","8878KiYoif","renderMultipleAds","src","size","renderAdElement","renderOptimizedBannerImage is only supported for BANNER ads","createAdElement","debug","objectFit","adType","onerror","log","setAttribute","NATIVE","advertisement","style","⚠️ Container optimization is only supported for BANNER ads, got: ","height","6135705yqTUfF","createPlaceholder","appendChild","adstage-ad adstage-","2533664SZqFZm","get","No renderer found for ad type: ","229840DyQcqP","renderOptimizedBannerImage","cover","162258hhIGMJ","BANNER","className","INTERSTITIAL","renderFallback","calculateOptimalContainerSize","isLoaded","data-adstage-slot-id"];return(Ft=function(){return t})()}const Vt=jt;function jt(t,e){const n=Kt();return(jt=function(t,e){return n[t-=467]})(t,e)}function Kt(){const t=["fetchAdData","undefined","🔄 Retrying viewability tracking for slot: ","set","loop","BANNER","249jJpNDs","delete","❌ Failed to find element for viewability tracking: ","📊 Advertisement event tracking enabled for slot: ","setupAutoCleanup","🗑️ Ads module destroyed","destroy","29198356MXoliO","advertisementEventTracker","status","height","json","handleRemovedElement","1162xfAIzU","hideControls","values","deviceType",", filters:","auto","data-adstage-slot-id","loadAdContentInBackground","warn","log","18IMIKvG","width"," ads automatically","renderAd","5035555lbsYml","ensureReady","interstitial","6742830sTLOfO"," ads)","then","New advertisement viewable tracked for slot:","mutationObserver","adType","adId"," ads for type: ","error","createPlaceholder","Auto-cleanup failed for slot "," attempts: ","slideInterval","refresh","playsinline","INTERSTITIAL","default","from","NATIVE","nodeType","setAttribute","text","disconnect","ELEMENT_NODE","get","_id","Failed to fetch ad data: ","105577QqWsEX","❌ Failed to track viewable impression:","renderFallback","268848GbGAFP","autoSlide","create","100%","slots","autoDestroy","language","isLoaded","adRenderer","createAdWithRetry","autoplay","renderAdElement","ms... (attempt ","VIDEO","now","Ads module not initialized. Call AdStage.init() first.","config","handleViewableEvent","37528EAzWPN","createAd"," (attempt ","7374iewMOs","optimizeContainerForBannerAds","video","🎠 Slider will handle VIEWABLE events for ","🚫 Advertisement not found with ID: ","native","_isReady"," removed","getElementById","customControls","length","trackAdvertisementEvent","API key not configured","containerId","🗑️ Ad slot destroyed: ","detail","_config","✅ Simple viewable impression tracked for ad ","getSlotById","onClick","apiKey","refreshAdSlot","8VrZKGd","getAllSlots","🎯 Ads module initialized (sync mode) with auto-cleanup","forEach","VIEWABLE","append","✅ Ad loaded for slot: "," (element found)","Container not found: ","GET","🧹 Auto-cleanup: slot ","muted","🔍 Auto-cleanup MutationObserver enabled","getBaseUrl","renderAdSlider","advertisement","getAttribute","❌ Failed to load ad for slot: ","string","createAdInternal","toString","country","광고 생성 중 오류 발생:","viewabilityTracker","debug","advertisements","banner","📊 Fetched specific ad with ID: ","[data-adstage-slot-id]","Ad slot not found: ","auto-"];return(Kt=function(){return t})()}!function(){const t=jt,e=Kt();for(;;)try{if(581755===parseInt(t(481))/1*(parseInt(t(587))/2)+-parseInt(t(564))/3*(-parseInt(t(502))/4)+parseInt(t(591))/5+parseInt(t(505))/6*(-parseInt(t(577))/7)+parseInt(t(527))/8*(parseInt(t(484))/9)+parseInt(t(594))/10+-parseInt(t(571))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ht{constructor(){const t=jt;this[t(511)]=!1,this[t(521)]=null,this[t(488)]=new Map,this[t(572)]=null,this.adRenderer=null,this.mutationObserver=null}init(t){const e=jt;this[e(521)]=t,this.advertisementEventTracker=new D(j[e(540)](),t[e(525)],t[e(551)]||!1,this[e(488)]),this[e(492)]=new Nt(t[e(551)]||!1,this.advertisementEventTracker),this[e(568)](),this[e(511)]=!0,t[e(551)]&&console[e(586)](e(529))}isReady(){return this[jt(511)]}getConfig(){return this[jt(521)]}[Vt(553)](t,n){const r=Vt;this.ensureReady();const o={width:n?.[r(588)]||r(487),height:n?.[r(574)]||r(582),autoSlide:n?.[r(485)]||!1,slideInterval:n?.[r(606)]||5e3,onClick:n?.[r(524)],adId:n?.[r(600)],language:n?.[r(490)],deviceType:n?.deviceType,country:n?.[r(548)]};return this.createAd(t,e.BANNER,o)}[Vt(475)](t,n){const r=Vt;this.ensureReady();const o={maxLines:n?.maxLines||3,style:n?.style||r(470),onClick:n?.[r(524)],adId:n?.[r(600)],language:n?.language,deviceType:n?.deviceType,country:n?.[r(548)]};return this[r(503)](t,e.TEXT,o)}[Vt(507)](t,n){const r=Vt;this.ensureReady();const o={width:n?.[r(588)]||640,height:n?.[r(574)]||360,autoplay:void 0===n?.[r(494)]||n[r(494)],muted:void 0===n?.[r(538)]||n[r(538)],loop:void 0===n?.loop||n[r(562)],playsinline:!1!==n?.[r(468)],controls:void 0!==n?.controls&&n.controls,hideControls:n?.[r(578)]||!1,customControls:n?.[r(514)],autoSlide:!1,maxAds:1,onClick:n?.[r(524)],...n?.adId&&{adId:n[r(600)]}};return this[r(503)](t,e[r(497)],o)}[Vt(510)](t,n){const r=Vt;return this[r(592)](),this[r(503)](t,e[r(472)],n||{})}[Vt(593)](t,n){const r=Vt;return this[r(592)](),this[r(503)](t,e[r(469)],n||{})}[Vt(467)](t){const e=Vt;this.ensureReady();const n=this[e(488)][e(478)](t);if(!n)throw new Error(e(556)+t);this[e(526)](n),this[e(521)]?.debug&&console[e(586)]("🔄 Ad slot refreshed: "+t)}[Vt(570)](t){const e=Vt;this[e(592)]();const n=this.slots[e(478)](t);if(!n)return void(this[e(521)]?.[e(551)]&&console.log("🔍 Ad slot already cleaned up: "+t));n[e(550)]&&n.viewabilityTracker[e(570)]();const r=document[e(513)](n[e(518)]);r&&(r.innerHTML=""),this.slots.delete(t),this[e(521)]?.[e(551)]&&console[e(586)](e(519)+t)}[Vt(528)](){const t=Vt;return this[t(592)](),Array[t(471)](this.slots[t(579)]())}[Vt(523)](t){const e=Vt;return this[e(592)](),this[e(488)][e(478)](t)||null}createAd(t,e,n){const r=Vt;if(!this[r(521)]?.[r(525)])throw new Error(r(517));const o="adstage-"+e+"-"+Date[r(498)]()+"-"+Math.random().toString(36).substr(2,9);return this[r(493)](t,e,n,o,0),o}async[Vt(493)](t,e,n,r,o){const s=Vt,i=[0,50,100,200,500];let a,c=null;if(typeof t===s(545)){if(a=t,c=document.getElementById(t),!c)return o<4?(this._config?.debug&&console.warn(s(535)+t+". Retrying in "+i[o+1]+s(496)+(o+1)+"/5)"),void setTimeout(()=>{this[s(493)](t,e,n,r,o+1)},i[o+1])):void console[s(602)]("Container not found after 5"+s(605)+t)}else c=t,a=c.id||s(557)+r,!c.id&&(c.id=a);try{this.createAdInternal(a,e,n,r,c)}catch(t){console.error(s(549),t)}}[Vt(546)](t,n,r,o,s){const i=Vt;s[i(474)]("data-adstage-slot-id",o),this[i(492)]?.[i(603)](s,o,n,r,this[i(521)]);const a={id:o,containerId:t,adType:n,width:r[i(588)]||i(487),height:r[i(574)]||(n===e.TEXT?i(582):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this.fetchAdData(n,r)[i(596)](t=>t[0]||null),render:t=>this.adRenderer?.renderAdElement(a,t),refresh:async()=>this[i(526)](a),destroy:()=>this[i(570)](o)};this[i(488)][i(561)](o,a),this.loadAdContentInBackground(a),this[i(572)]&&this._config?.[i(551)]&&console[i(586)](i(567)+o)}async[Vt(584)](t){const n=Vt;try{const r=await this.fetchAdData(t.adType,t[n(500)]);if(!r||0===r[n(515)])return void this.adRenderer?.[n(483)](t);t[n(599)]===e[n(563)]&&r[n(515)]>0&&await(this[n(492)]?.[n(506)](t,r)),r[n(515)]>1||t.config?.[n(485)]?(await(this[n(492)]?.[n(541)](t,r)),this._config?.[n(551)]&&console[n(586)](n(508)+r[n(515)]+n(589))):(t[n(542)]=r[0],await(this.adRenderer?.[n(495)](t,r[0])),this.startSimpleViewabilityTracking(t,r[0])),t[n(491)]=!0,this[n(521)]?.[n(551)]&&console[n(586)](n(533)+t.id+" ("+r[n(515)]+n(595))}catch(e){console.error(n(544)+t.id,e),this[n(492)]?.[n(483)](t)}}startSimpleViewabilityTracking(t,e){const n=(r=0)=>{const o=jt,s=document[o(513)](t.id);if(!s)return void(r<5?(setTimeout(()=>n(r+1),300),this[o(521)]?.[o(551)]&&console[o(586)](o(560)+t.id+o(504)+(r+1)+")")):console[o(585)](o(566)+t.id));const i=new z(s,async()=>{const n=o;await this[n(501)](e,t)});t[o(550)]=i,this[o(521)]?.[o(551)]&&console[o(586)]("🎯 Simple viewability tracking started for slot: "+t.id+o(534))};n()}async[Vt(501)](t,e){const n=Vt;try{this[n(572)]&&(await this[n(572)][n(516)](t[n(479)],e.id,a[n(531)]),this[n(521)]?.[n(551)]&&console[n(586)](n(522)+t[n(479)]))}catch(t){console.error(n(482),t)}}async fetchAdData(t,e){const n=Vt;if(!this[n(521)]?.[n(525)])throw new Error(n(517));if(e.adId){const t=""+j[n(552)][n(520)](e[n(600)]),r=await fetch(t,{method:n(536),headers:C[n(486)](this[n(521)][n(525)])});if(!r.ok){if(404===r.status)return console[n(585)](n(509)+e[n(600)]),[];throw new Error(n(480)+r[n(573)])}const o=await r.json();return this[n(521)]?.[n(551)]&&console[n(586)](n(554)+e[n(600)],o),[o]}const r=new URLSearchParams;r[n(532)](n(599),t),e[n(490)]&&r[n(532)](n(490),e[n(490)]),e[n(580)]&&r[n(532)](n(580),e[n(580)]),e.country&&r[n(532)](n(548),e[n(548)]);const o=j.advertisements.list()+"?"+r[n(547)](),s=await fetch(o,{method:"GET",headers:C.create(this[n(521)][n(525)])});if(!s.ok)throw new Error(n(480)+s[n(573)]);const i=(await s[n(575)]())[n(552)]||[];return this._config?.[n(551)]&&console[n(586)]("📊 Fetched "+i[n(515)]+n(601)+t+n(581),{language:e[n(490)],deviceType:e[n(580)],country:e.country}),i}async[Vt(526)](t){const e=Vt;try{const n=await this[e(558)](t[e(599)],t[e(500)]||{});n&&n[e(515)]>0&&(t[e(542)]=n[0],await(this[e(492)]?.[e(590)](t)),this[e(572)]&&console[e(586)](e(597),t.id))}catch(e){console.error("Failed to refresh ad slot: "+t.id,e)}}[Vt(592)](){const t=Vt;if(!this[t(511)])throw new Error(t(499))}[Vt(568)](){const t=Vt;typeof window!==t(559)&&typeof document!==t(559)&&(this[t(598)]&&this.mutationObserver[t(476)](),this[t(598)]=new MutationObserver(e=>{e[t(530)](t=>{t.removedNodes.forEach(t=>{const e=jt;t[e(473)]===Node[e(477)]&&this[e(576)](t)})})}),this[t(598)].observe(document.body,{childList:!0,subtree:!0}),this[t(521)]?.[t(551)]&&console[t(586)](t(539)))}handleRemovedElement(t){const e=Vt,n=t[e(543)](e(583));if(n)return void this[e(489)](n);t.querySelectorAll(e(555))[e(530)](t=>{const n=e,r=t.getAttribute(n(583));r&&this[n(489)](r)})}[Vt(489)](t){const e=Vt,n=this.slots[e(478)](t);if(n)try{n[e(550)]&&n[e(550)][e(570)](),this.slots[e(565)](t),this._config?.debug&&console[e(586)](e(537)+t+e(512))}catch(n){this[e(521)]?.[e(551)]&&console[e(585)](e(604)+t+":",n)}}destroyModule(){const t=Vt,e=this[t(521)]?.[t(551)];this[t(598)]&&(this[t(598)][t(476)](),this[t(598)]=null),this[t(488)].clear(),this.advertisementEventTracker=null,this[t(492)]=null,this[t(511)]=!1,this._config=null,e&&console[t(586)](t(569))}}var Wt=qt;function qt(t,e){var n=Yt();return(qt=function(t,e){return n[t-=341]})(t,e)}function Yt(){var t=["176BjxVCV","111349zadIJp","baseUrl","1438665LuRNEq","1196PFnQaf","debug","7656UEruPz","ads","✅ Config module initialized (sync mode)","modules","getConfig","updateConfig","log","apiKey","getBaseUrl","isDebugMode","config","isReady","init","events","🔄 Config updated","_config","2ZmYBzk","6255624pSDmfp","_organizationInfo","getEnabledModules","_isReady","getOrganizationInfo","isModuleEnabled","Config module not initialized","development","8870337fWupKs","includes","setBaseUrl","23169000rOitlZ","312062EQEmeh"];return(Yt=function(){return t})()}!function(){for(var t=qt,e=Yt();;)try{if(547092===-parseInt(t(351))/1*(parseInt(t(364))/2)+-parseInt(t(371))/3*(parseInt(t(369))/4)+-parseInt(t(368))/5+-parseInt(t(352))/6+-parseInt(t(366))/7*(parseInt(t(365))/8)+parseInt(t(360))/9+parseInt(t(363))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gt{constructor(){var t=qt;this[t(355)]=!1,this[t(350)]=null,this._organizationInfo=null}[Wt(347)](t){var e=Wt;this._config={timeout:3e4,debug:!1,modules:[e(372),e(348),e(345)],...t},t[e(367)]&&j[e(362)](t.baseUrl),this[e(355)]=!0,t.debug&&console[e(341)](e(373),{modules:this[e(350)].modules,endpoint:j[e(343)](),mode:e(359)})}[Wt(346)](){return this[Wt(355)]}[Wt(375)](){return this[Wt(350)]}[Wt(356)](){return this[Wt(353)]}getApiEndpoint(){return j[Wt(343)]()}[Wt(344)](){var t=Wt;return this[t(350)]?.[t(370)]||!1}[Wt(354)](){var t=Wt;return this[t(350)]?.[t(374)]||[]}[Wt(357)](t){var e=Wt;return this[e(354)]()[e(361)](t)}[Wt(376)](t){var e=Wt;if(!this[e(350)])throw new Error(e(358));this[e(350)]={...this[e(350)],...t},this.isDebugMode()&&console[e(341)](e(349),t)}getApiHeaders(){var t=Wt;if(!this[t(350)]?.[t(342)])throw new Error("API key not available");return C.create(this._config[t(342)])}}const Xt=Zt;!function(){const t=Zt,e=Jt();for(;;)try{if(683369===-parseInt(t(418))/1+-parseInt(t(422))/2*(parseInt(t(439))/3)+parseInt(t(444))/4+parseInt(t(416))/5*(-parseInt(t(411))/6)+parseInt(t(412))/7+-parseInt(t(426))/8*(parseInt(t(430))/9)+parseInt(t(448))/10*(parseInt(t(431))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Qt{static[Xt(421)](){const t=Xt;return{...Qt[t(425)](),...Qt[t(407)]}}static[Xt(425)](){const t=Xt;if(!m[t(413)]())return{category:t(427),platform:t(441),model:"SSR",osVersion:t(441)};const e=navigator.userAgent[t(429)]();let n="desktop";/tablet|ipad/[t(424)](e)?n=t(447):E[t(433)]()&&(n=t(414));const r=E[t(419)]();return{category:n,platform:Qt[t(443)](r),model:navigator.platform,osVersion:navigator[t(437)]}}static[Xt(434)](t){const e=Xt;Qt._userProvidedDeviceInfo={...Qt[e(407)],...t}}static setDeviceProperty(t,e){Qt[Xt(407)][t]=e}static[Xt(442)](){Qt._userProvidedDeviceInfo={}}static[Xt(417)](){return{...Qt[Xt(407)]}}static[Xt(443)](t){const e=Xt;switch(t){case e(432):return e(420);case e(438):return"Android";case e(423):return e(440);case"desktop":return"Desktop Web";default:return e(428)}}static getDetailedInfo(){const t=Xt;if(!m.isBrowser())return{userAgent:"SSR",language:"ko-KR",platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(435),viewportSize:t(435)};const e=m[t(408)]();return{userAgent:navigator[t(446)],language:navigator[t(409)]||t(406),platform:navigator[t(437)],cookieEnabled:navigator[t(436)],onLine:navigator[t(445)],screenResolution:screen[t(415)]+"x"+screen[t(410)],viewportSize:e[t(415)]+"x"+e.height}}}function Jt(){const t=["ios","isMobile","setDeviceInfo","0x0","cookieEnabled","platform","android","3MCTfdI","Mobile Web","SSR","clearDeviceInfo","mapPlatformForEvents","1043620BQXGxq","onLine","userAgent","tablet","10ImSZbg","ko-KR","_userProvidedDeviceInfo","getViewportInfo","language","height","6738ryFIoQ","6834429rLIYUt","isBrowser","mobile","width","4965yMoLjq","getUserDeviceInfo","650226qBvICK","getPlatform","iOS","getDeviceInfo","2171902KKOwIF","web","test","getAutoDetectedDeviceInfo","214064pqAUYH","other","Unknown","toLowerCase","261KnAOQs","33807565OXpoNQ"];return(Jt=function(){return t})()}function Zt(t,e){const n=Jt();return(Zt=function(t,e){return n[t-=406]})(t,e)}Qt[Xt(407)]={};const $t=ne;function te(){const t=["1026NorArJ","setUserProperties","12780050saxtaL","estimateLocation","clearUserProperties","extractCountryFromLanguage","328cRYBhm","getCurrentUserProperties","_userProperties","2855812AOxnbN","1367mVsxXH","getUserInfo","3726972AQyNBU","45115UxbqfZ","setUserProperty","split","isBrowser","ko-KR","11821667PJWAVb","3jUujIw","resolvedOptions","language","1070mDzsUh","102039BHSUYU","getBaseUserInfo","DateTimeFormat","UTC"];return(te=function(){return t})()}!function(){const t=ne,e=te();for(;;)try{if(975926===-parseInt(t(391))/1*(parseInt(t(403))/2)+-parseInt(t(400))/3*(-parseInt(t(390))/4)+parseInt(t(394))/5*(-parseInt(t(381))/6)+-parseInt(t(404))/7*(-parseInt(t(387))/8)+-parseInt(t(393))/9+parseInt(t(383))/10+parseInt(t(399))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ee{static[$t(392)](){const t=$t;return{...ee[t(378)](),...ee[t(389)]}}static[$t(378)](){const t=$t;if(!m.isBrowser())return{language:"ko-KR",country:"KR"};const e=navigator[t(402)]||t(398);return{language:e,country:ee[t(386)](e)}}static[$t(386)](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[$t(396)]("-")[0]]||"KR"}static[$t(382)](t){const e=$t;ee._userProperties={...ee[e(389)],...t}}static[$t(395)](t,e){ee[$t(389)][t]=e}static[$t(385)](){ee[$t(389)]={}}static[$t(388)](){return{...ee._userProperties}}static[$t(384)](){const t=$t;if(!m[t(397)]())return{timezone:t(380),estimatedCountry:"KR"};const e=Intl[t(379)]()[t(401)]().timeZone;return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function ne(t,e){const n=te();return(ne=function(t,e){return n[t-=378]})(t,e)}ee[$t(389)]={};const re=oe;function oe(t,e){const n=se();return(oe=function(t,e){return n[t-=346]})(t,e)}function se(){const t=["captureFromUrl","adstage_click_event_sent","adstage_last_click_id","campaign","linkedin.ads","71778VYFWVt","35NRQScd","getItem","adstage_referrer","tiktok.ads","11510059atnovm","ad_group","isClickEventSent","campaign_id","google.ads","fbclid","length","adstage","removeItem","warn","utm_term","10mKEOKO","clear","liclid","9pLbbNT","hasClickId","parse","gclid","nclid","UTM_KEYS","37965396xxFfjW","Failed to parse adstage_referrer:","get","true","twitter.ads","3905744mhmfju","utm_source","stringify","1445502WDaqeP","ALL_KEYS","keys","toAttributionObject","6077617FtAArz","1020569swSdXF","utm_content","utm_medium","meta.ads","term","search","twclid","undefined","Failed to store tracking params:","ad_creative","2GqdZQv","adCreative","some","CAMPAIGN_KEYS","utm_campaign","markClickEventSent","creative_id","shouldSendClickEvent","ad_group_id","ttclid","CLICK_ID_KEYS","8dSNCeU","store","msclkid","setItem","adGroup","STORAGE_KEY","channel","hasParams"];return(se=function(){return t})()}!function(){const t=oe,e=se();for(;;)try{if(620323===-parseInt(t(397))/1*(parseInt(t(407))/2)+parseInt(t(392))/3*(parseInt(t(346))/4)+-parseInt(t(360))/5*(parseInt(t(359))/6)+-parseInt(t(396))/7+parseInt(t(389))/8*(-parseInt(t(378))/9)+parseInt(t(375))/10*(-parseInt(t(364))/11)+parseInt(t(384))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ie{static[re(354)](){const t=re;if(typeof window===t(404))return null;const e=new URLSearchParams(window.location[t(402)]),n={};let r=!1;const o=e[t(386)](t(362));if(o)try{const e=decodeURIComponent(o),s=new URLSearchParams(e);for(const e of ie[t(393)]){const o=s[t(386)](e);o&&(n[e]=o,r=!0)}"true"===s[t(386)](t(371))&&(r=!0)}catch(e){console.warn(t(385),e)}for(const o of ie[t(393)]){if(n[o])continue;const t=e.get(o);t&&(n[o]=t,r=!0)}return r?(n.channel||(n[t(381)]?n[t(352)]=t(368):n[t(369)]?n[t(352)]=t(400):n.ttclid?n.channel=t(363):n[t(382)]?n[t(352)]="naver.searchad":n[t(377)]?n[t(352)]=t(358):n.msclkid?n[t(352)]="microsoft.ads":n[t(403)]&&(n.channel=t(388))),ie[t(347)](n),n):null}static store(t){const e=re;if("undefined"!=typeof window)try{const n={...ie[e(386)](),...t},r=JSON[e(391)](n);try{sessionStorage.setItem(ie[e(351)],r)}catch(t){}try{localStorage[e(349)](ie[e(351)],r)}catch(t){}}catch(t){console[e(373)](e(405),t)}}static[re(386)](){const t=re;if(typeof window===t(404))return null;try{const e=sessionStorage?.[t(361)](ie.STORAGE_KEY);if(e)return JSON[t(380)](e)}catch(t){}try{const e=localStorage?.[t(361)](ie[t(351)]);if(e)return JSON[t(380)](e)}catch(t){}return null}static[re(376)](){const t=re;if(typeof window!==t(404)){try{sessionStorage?.[t(372)](ie[t(351)])}catch(t){}try{localStorage?.[t(372)](ie[t(351)])}catch(t){}}}static[re(353)](){const t=re,e=ie[t(386)]();return null!==e&&Object[t(394)](e).length>0}static[re(379)](){const t=re,e=ie[t(386)]();return!!e&&ie.CLICK_ID_KEYS[t(409)](t=>e[t])}static[re(414)](){const t=re;if(typeof window===t(404))return!1;const e=ie.get();if(!e||!ie.hasClickId())return!1;const n=e.gclid||e[t(369)]||e[t(416)]||e.nclid||e[t(377)]||e[t(348)]||e[t(403)];if(!n)return!1;return n!==sessionStorage.getItem(t(356))&&(sessionStorage[t(349)](t(356),n),!0)}static[re(412)](){const t=re;typeof window!==t(404)&&sessionStorage.setItem(t(355),t(387))}static[re(366)](){const t=re;return typeof window!==t(404)&&sessionStorage[t(361)](t(355))===t(387)}static[re(395)](){const t=re,e=ie[t(386)]();if(!e)return null;const n={};return e[t(381)]&&(n[t(381)]=e[t(381)]),e[t(369)]&&(n[t(369)]=e[t(369)]),e.ttclid&&(n[t(416)]=e[t(416)]),e.nclid&&(n[t(382)]=e[t(382)]),e[t(352)]&&(n[t(352)]=e[t(352)]),e[t(357)]&&(n[t(357)]=e[t(357)]),e[t(367)]&&(n.campaignId=e[t(367)]),e[t(365)]&&(n[t(350)]=e.ad_group),e[t(415)]&&(n.adGroupId=e[t(415)]),e[t(406)]&&(n[t(408)]=e[t(406)]),e[t(413)]&&(n.creativeId=e[t(413)]),e[t(401)]&&(n[t(401)]=e[t(401)]),e[t(390)]&&(n[t(390)]=e[t(390)]),e[t(399)]&&(n[t(399)]=e[t(399)]),e[t(411)]&&(n[t(411)]=e[t(411)]),e.utm_content&&(n.utm_content=e[t(398)]),e[t(374)]&&(n[t(374)]=e[t(374)]),Object[t(394)](n)[t(370)]>0?n:null}}ie.STORAGE_KEY="adstage_tracking_params",ie[re(417)]=["gclid",re(369),re(416),re(382),re(377),re(348),"twclid"],ie.CAMPAIGN_KEYS=[re(357),re(367),re(365),"ad_group_id",re(406),re(413),"term"],ie[re(383)]=[re(390),re(399),re(411),re(398),re(374)],ie.ALL_KEYS=[...ie[re(417)],...ie[re(410)],...ie.UTM_KEYS];const ae=le;function ce(){const t=["getDeviceInfo","Events module not initialized. Call AdStage.init() first.","2899440SeHQHY","adstage_attribution_id","events","application/json","📱 Device property set:","POST","🔑 Attribution request headers:","Event tracking failed: ","_config","log","keys","📱 Device info set:","sendAttributionToServer","❌ Failed to register attribution:","clearDeviceInfo","getUserInfo","👤 User properties set:","getUserProperties","trackWithAttributionId","getAttributionId","track","get","getItem","❌ Failed to track event:","4991860rrMtmB","API key not configured for event tracking.","registerAttribution","setItem","⏭️ No tracking parameters found, skipping attribution registration","attributionId","6rqdqNA","22133749xEPRGD","debug","setUserProperties","stringify","_isReady","📡 Request URL:","187814qUvXwJ","12nRlfJw","setDeviceProperty","✅ Event tracked:","460331LfwaGP","init","status","apiKey","7bjsucW","error","text","length","📡 Attribution request URL:","682348ZNzDwU","toAttributionObject","562932LwplOv","API key not configured for attribution registration.","create","📦 Attribution request body:","Attribution registration failed: ","9gTKHdf","sendEventToServer","statusText","getUserDeviceInfo","undefined","setDeviceInfo","35pTmoxE","📦 Request body:","warn","📊 Events module initialized","getCurrentUserProperties"];return(ce=function(){return t})()}function le(t,e){const n=ce();return(le=function(t,e){return n[t-=489]})(t,e)}!function(){const t=le,e=ce();for(;;)try{if(391859===-parseInt(t(552))/1+-parseInt(t(548))/2*(-parseInt(t(541))/3)+parseInt(t(491))/4+-parseInt(t(504))/5*(parseInt(t(493))/6)+-parseInt(t(556))/7*(parseInt(t(511))/8)+-parseInt(t(498))/9*(parseInt(t(535))/10)+parseInt(t(542))/11*(parseInt(t(549))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class de{constructor(){const t=le;this._isReady=!1,this[t(519)]=null}[ae(553)](t){const e=ae;this._config=t,this[e(546)]=!0,t.debug&&console[e(520)](e(507))}isReady(){return this[ae(546)]}getConfig(){return this[ae(519)]}[ae(544)](t){const e=ae;ee[e(544)](t),this[e(519)]?.[e(543)]&&console.log(e(527),t)}[ae(528)](){return ee.getCurrentUserProperties()}[ae(503)](t){const e=ae;Qt[e(503)](t),this[e(519)]?.debug&&console[e(520)](e(522),t)}[ae(550)](t,e){const n=ae;Qt.setDeviceProperty(t,e),this[n(519)]?.[n(543)]&&console[n(520)](n(515),t,e)}[ae(525)](){Qt[ae(525)](),this._config?.debug&&console.log("📱 User provided device info cleared")}getUserDeviceInfo(){return Qt[ae(501)]()}[ae(509)](){return Qt[ae(509)]()}[ae(526)](){return ee[ae(526)]()}[ae(508)](){return ee.getCurrentUserProperties()}async[ae(531)](t,e){const n=ae;if(this[n(546)])if(this[n(519)]?.apiKey)try{const r=this[n(530)]();if(r){const o={eventName:t,sdkVersion:"3.0.11",device:Qt[n(509)](),user:ee.getUserInfo(),attributionId:r,params:e||{}};return await this[n(499)](o),void(this[n(519)][n(543)]&&console[n(520)]("✅ Event tracked with attribution ID:",t,r))}const o=ie[n(492)](),s={eventName:t,sdkVersion:"3.0.11",device:Qt[n(509)](),user:ee[n(526)](),...o&&{attribution:o},params:e||{}};await this[n(499)](s),this._config[n(543)]&&(console[n(520)](n(551),t,e),o&&console[n(520)]("📊 Attribution included:",o))}catch(r){console[n(557)](n(534),r),this[n(519)].debug&&console.error("Event data:",{eventName:t,properties:e})}else console.warn(n(536));else console[n(506)]("Events module not initialized. Call AdStage.init() first.")}async[ae(537)](t){const e=ae;if(!this[e(546)])return console[e(506)](e(510)),null;if(!this[e(519)]?.[e(555)])return console[e(506)](e(494)),null;try{const n=ie[e(532)]();if(!n||0===Object[e(521)](n)[e(489)])return this[e(519)][e(543)]&&console.log(e(539)),null;const r=await this[e(523)]({deviceId:t,referrerParams:n});if(this[e(519)][e(543)]&&console[e(520)]("✅ Attribution registered:",r),r[e(540)]){try{localStorage[e(538)](e(512),r[e(540)])}catch(t){}try{sessionStorage.setItem(e(512),r.attributionId)}catch(t){}}return r}catch(t){return console[e(557)](e(524),t),null}}getAttributionId(){const t=ae;if(typeof window===t(502))return null;try{const e=sessionStorage.getItem(t(512));if(e)return e}catch(t){}try{return localStorage[t(533)](t(512))}catch(t){}return null}async[ae(529)](t,e){return this[ae(531)](t,e)}async[ae(499)](t){const e=ae,n={...C.create(this[e(519)][e(555)]),"Content-Type":e(514)};this[e(519)]?.[e(543)]&&(console.log("🔑 Request headers:",n),console[e(520)](e(547),j[e(513)][e(531)]()),console[e(520)](e(505),t));const r=await fetch(j[e(513)][e(531)](),{method:e(516),headers:n,body:JSON[e(545)](t)});if(!r.ok){const t=await r[e(558)]();throw console[e(557)]("❌ API Error Response:",t),new Error(e(518)+r[e(554)]+" "+r[e(500)])}}async sendAttributionToServer(t){const e=ae,n={...C[e(495)](this[e(519)][e(555)]),"Content-Type":e(514)};this[e(519)]?.debug&&(console[e(520)](e(517),n),console[e(520)](e(490),j.events[e(537)]()),console[e(520)](e(496),t));const r=await fetch(j[e(513)][e(537)](),{method:e(516),headers:n,body:JSON[e(545)](t)});if(!r.ok){const t=await r[e(558)]();throw console[e(557)]("❌ API Error Response:",t),new Error(e(497)+r[e(554)]+" "+r[e(500)])}return r.json()}}const ue=he;!function(){const t=he,e=fe();for(;;)try{if(805476===-parseInt(t(437))/1+parseInt(t(452))/2+-parseInt(t(503))/3*(parseInt(t(462))/4)+-parseInt(t(518))/5*(parseInt(t(490))/6)+parseInt(t(468))/7*(-parseInt(t(445))/8)+parseInt(t(483))/9*(parseInt(t(464))/10)+parseInt(t(515))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pe{constructor(){const t=he;this[t(472)]=!1,this._config=null,this[t(459)]=new Gt,this.ads=new Ht,this[t(456)]=new de}static[ue(453)](t){const e=ue;!pe[e(470)]&&(pe[e(470)]=new pe);const n=pe[e(470)];if(!t.apiKey)throw new Error(e(455));n._config={timeout:3e4,debug:!1,modules:[e(439),"events",e(459)],...t},n[e(496)][e(500)]&&(j[e(476)](n[e(496)][e(500)]),t[e(512)]&&console[e(447)](e(506),n[e(496)][e(500)]));const r=n[e(496)][e(507)]||[e(439),e(456),e(459)];for(const t of r){const r=n[t];r&&"function"==typeof r[e(453)]&&r[e(453)](n[e(496)])}if(n[e(472)]=!0,"undefined"!=typeof window){const r=ie[e(478)]();r&&t[e(512)]&&console[e(447)](e(516),r);const o=(()=>{const t=e;try{const e=new URLSearchParams(window[t(501)].search),n=new URLSearchParams((window.location.hash||"")[t(519)](/^#/,""));return e.get(t(466))||n[t(442)](t(466))}catch{return null}})();if(o)try{localStorage[e(454)]("adstage_attribution_id",o),t[e(512)]&&console[e(447)](e(492),o)}catch(t){}const s=ie[e(436)]();if(t[e(512)]&&(console.log(e(486),s),!s&&console[e(447)](e(434))),!o&&r&&ie.hasClickId()){const r=(async()=>{const r=e;try{const e=n.generateDeviceId(),o=await n[r(456)][r(435)](e);return o&&t.debug&&console[r(447)](r(514),{attributionId:o.attributionId,channel:o[r(495)],campaign:o[r(502)],expiresAt:o[r(450)]}),o}catch(t){return console[r(509)](r(438),t),null}})();s&&r[e(517)](r=>{const o=e;try{const e=ie[o(442)](),s=ie.toAttributionObject();t[o(512)]&&console[o(447)](o(491),{attributionId:r?.[o(489)],hasAttribution:!!r}),n[o(456)][o(498)](o(479),{_autoGenerated:!0,_source:"tracking_params",_timestamp:(new Date)[o(440)](),_platform:o(481)}).then(()=>{const n=o;ie[n(520)](),t[n(512)]&&console.log(n(465),{attribution:s,trackingParams:e})})[o(473)](t=>{const e=o;console.error(e(504),t)})}catch(t){console[o(509)]("❌ Error in click event auto-tracking:",t)}})}else s&&setTimeout(()=>{const r=e;try{const e=ie[r(442)](),o=ie[r(480)]();n[r(456)][r(498)]("click",{_autoGenerated:!0,_source:r(487),_timestamp:(new Date).toISOString(),_platform:r(481)}).then(()=>{const n=r;ie[n(520)](),t[n(512)]&&console[n(447)](n(465),{attribution:o,trackingParams:e})})[r(473)](t=>{const e=r;console[e(509)](e(504),t)})}catch(t){console[r(509)](r(488),t)}},100)}t.debug&&console[e(447)](e(497),{version:e(469),modules:r,apiKey:t[e(494)][e(505)](0,8)+"...",mode:"development"})}static isReady(){return pe.instance?._isInitialized||!1}static[ue(485)](){const t=ue;return pe[t(470)]?.[t(496)]||null}static[ue(475)](){const t=ue;if(!pe.instance)throw new Error("AdStage not initialized. Call AdStage.init() first.");return pe[t(470)]}static get[ue(439)](){const t=ue;try{return pe[t(475)]().ads}catch(e){throw console[t(499)](t(513)),e}}static get[ue(456)](){const t=ue;try{return pe[t(475)]()[t(456)]}catch(e){throw console[t(499)](t(508)),e}}static get[ue(459)](){const t=ue;try{return pe[t(475)]()[t(459)]}catch(t){throw console.warn("AdStage.config accessed before initialization"),t}}static[ue(482)](){const t=ue;pe[t(470)]&&(pe[t(470)]._isInitialized=!1,pe[t(470)][t(496)]=null)}generateDeviceId(){const t=ue;if(typeof window===t(458))return t(463)+Math[t(448)]()[t(471)](36).substring(2,15);const e=localStorage[t(467)](t(457));if(e)return e;const n=[navigator[t(474)],navigator.language,screen.width+"x"+screen[t(521)],(new Date).getTimezoneOffset(),navigator[t(510)]||0][t(451)]("|");let r=0;for(let e=0;e<n[t(461)];e++){r=(r<<5)-r+n[t(484)](e),r&=r}const o=t(446)+Math[t(477)](r)[t(471)](36)+"-"+Date[t(460)]()[t(471)](36);return localStorage.setItem(t(457),o),o}}function he(t,e){const n=fe();return(he=function(t,e){return n[t-=434]})(t,e)}function fe(){const t=["636argdiU","🎯 Sending click event after attribution registration","🔗 Using attributionId from URL (attribution_id):","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","apiKey","channel","_config","🚀 AdStage SDK initialized (sync mode)","track","warn","baseUrl","location","campaign","1122dQKqdc","❌ Failed to auto-track click event:","substring","🌐 API endpoint configured:","modules","AdStage.events accessed before initialization","error","hardwareConcurrency","clear","debug","AdStage.ads accessed before initialization","✅ Attribution registered:","29266600ejzmjR","📊 Tracking parameters captured:","then","57390HnPjYe","replace","markClickEventSent","height","⏭️ Skipping click event (duplicate or no click ID)","registerAttribution","shouldSendClickEvent","866122JsPahp","❌ Failed to register attribution:","ads","toISOString","clearAdViewable","get","📊 AdStage Debug: 현재 viewable 추적 상태","viewableTracker","240iuTIhJ","web-","log","random","✅ AdStage Debug: 광고 ","expiresAt","join","2697522bqzTss","init","setItem","API key is required for AdStage initialization","events","adstage_device_id","undefined","config","now","length","4948efnpzi","server-","10ZhfmAB","✅ Auto-tracked click event with tracking params:","attribution_id","getItem","333249qZdyid","2.0.0","instance","toString","_isInitialized","catch","userAgent","getInstance","setBaseUrl","abs","captureFromUrl","click","toAttributionObject","web","reset","6927777okDVWz","charCodeAt","getConfig","🔍 Should send click event:","tracking_params","❌ Error in click event auto-tracking:","attributionId"];return(fe=function(){return t})()}function ge(t,e){var n=me;return pe[n(421)]()?pe[n(417)][n(412)](t,e):(console.warn(n(413)),Promise[n(423)]())}function me(t,e){var n=Ie();return(me=function(t,e){return n[t-=412]})(t,e)}function ye(t){var e=me;pe[e(421)]()?pe[e(417)][e(426)](t):console[e(424)](e(413))}function ve(){var t=me;if(pe.isReady())return pe[t(417)].getUserProperties();console.warn(t(413))}function Ie(){var t=["5979136XIwijB","3817060TcsibQ","7CtBglR","isReady","2676306pbWvmc","resolve","warn","2676636gsvnRW","setUserProperties","track","AdStage not initialized. Call AdStage.init() first.","2009628oedvMY","835885UEqWsO","722282AeEhuk","events"];return(Ie=function(){return t})()}pe[ue(512)]={clearAllViewable:()=>{const t=ue;ot[t(511)](),console[t(447)](t(493))},clearAdViewable:(t,e)=>{const n=ue;ot[n(441)](t,e),console[n(447)](n(449)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=ue;console.log(t(443),{trackedCount:ot[t(444)].size,trackedItems:Array.from(ot[t(444)])})}},function(){for(var t=me,e=Ie();;)try{if(634790===parseInt(t(415))/1+parseInt(t(416))/2+parseInt(t(425))/3+parseInt(t(414))/4+-parseInt(t(419))/5+parseInt(t(422))/6*(-parseInt(t(420))/7)+-parseInt(t(418))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var be,we={exports:{}},ke={},Ee={exports:{}},Se={};Ee.exports=function(){if(be)return Se;be=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var v=y.prototype=new m;v.constructor=y,h(v,g.prototype),v.isPureReactComponent=!0;var I=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var o,s={},i=null,a=null;if(null!=n)for(o in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,o)&&!k.hasOwnProperty(o)&&(s[o]=n[o]);var c=arguments.length-2;if(1===c)s.children=r;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];s.children=l}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===s[o]&&(s[o]=c[o]);return{$$typeof:t,type:e,key:i,ref:a,props:s,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var x=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,o,s,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=""===s?"."+A(c,0):s,I(i)?(o="",null!=n&&(o=n.replace(x,"$&/")+"/"),C(i,r,o,"",function(t){return t})):null!=i&&(S(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(x,"$&/")+"/")+n)),r.push(i)),1;if(c=0,s=""===s?".":s+":",I(n))for(var l=0;l<n.length;l++){var d=s+A(a=n[l],l);c+=C(a,r,o,d,i)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=C(a=a.value,r,o,d=s+A(a,l++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],o=0;return C(t,r,"","",function(t){return e.call(n,t,o++)}),r}function _(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},D={transition:null},P={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function B(){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(!S(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Se.Component=g,Se.Fragment=n,Se.Profiler=o,Se.PureComponent=y,Se.StrictMode=r,Se.Suspense=c,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,Se.act=B,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 o=h({},e.props),s=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&&(s=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)b.call(n,l)&&!k.hasOwnProperty(l)&&(o[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:t,type:e.type,key:s,ref:i,props:o,_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:s,_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=S,Se.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:_}},Se.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},Se.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},Se.unstable_act=B,Se.useCallback=function(t,e){return R.current.useCallback(t,e)},Se.useContext=function(t){return R.current.useContext(t)},Se.useDebugValue=function(){},Se.useDeferredValue=function(t){return R.current.useDeferredValue(t)},Se.useEffect=function(t,e){return R.current.useEffect(t,e)},Se.useId=function(){return R.current.useId()},Se.useImperativeHandle=function(t,e,n){return R.current.useImperativeHandle(t,e,n)},Se.useInsertionEffect=function(t,e){return R.current.useInsertionEffect(t,e)},Se.useLayoutEffect=function(t,e){return R.current.useLayoutEffect(t,e)},Se.useMemo=function(t,e){return R.current.useMemo(t,e)},Se.useReducer=function(t,e,n){return R.current.useReducer(t,e,n)},Se.useRef=function(t){return R.current.useRef(t)},Se.useState=function(t){return R.current.useState(t)},Se.useSyncExternalStore=function(t,e,n){return R.current.useSyncExternalStore(t,e,n)},Se.useTransition=function(){return R.current.useTransition()},Se.version="18.3.1",Se}();var xe,Ae=Ee.exports;
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
@@ -7,4 +7,4 @@ var t,e,n,r,s,o,i,a,c,l,d,u;function p(){var t=["WEB","MOBILE","INTERSTITIAL","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
|
-
*/
|
|
10
|
+
*/we.exports=function(){if(xe)return ke;xe=1;var t=Ae,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},l=null,d=null;for(a in void 0!==i&&(l=""+i),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,a)&&!s.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:o.current}}return ke.Fragment=n,ke.jsx=i,ke.jsxs=i,ke}();var Ce=we.exports;const Te=Ae.createContext(null);function _e({children:t,config:e}){const[n,r]=Ae.useState(!1),[o,s]=Ae.useState(null),[i,a]=Ae.useState(null),c=t=>{try{a(null),n&&pe.reset(),pe.init(t),s(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),s(null)}};Ae.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:o,initialize:c,reset:()=>{try{pe.reset(),r(!1),s(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Ce.jsx(Te.Provider,{value:l,children:t})}function Re(){const t=Ae.useContext(Te);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function De(){const{isInitialized:t}=Re();return t?pe:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Pe(t,e){var n=Be();return(Pe=function(t,e){return n[t-=428]})(t,e)}function Be(){var t=["6740940xyInFQ","5lbxIsZ","1552206cLMkCh","1042741PjpGog","87968DbfBgZ","164808XVgheq","218446llNSxz","271280efvkvx","2187mwrSBj"];return(Be=function(){return t})()}!function(){for(var t=Pe,e=Be();;)try{if(758394===-parseInt(t(434))/1+-parseInt(t(433))/2+-parseInt(t(429))/3+-parseInt(t(432))/4+-parseInt(t(428))/5*(parseInt(t(436))/6)+parseInt(t(430))/7+-parseInt(t(431))/8*(-parseInt(t(435))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Le=ze;function ze(t,e){const n=Oe();return(ze=function(t,e){return n[t-=364]})(t,e)}function Oe(){const t=["2.0.0","AdStage","1238874HXuTzz","events","2031274djRqAQ","ads","config","7439656WjfpAr","6AtNnVs","764071uRZTpV","99111XBejaq","62RAeqAS","462325DvVYYm","26709624gBeXDU","30WIeLDX","9TePneb","20NDZTZN","undefined"];return(Oe=function(){return t})()}!function(){const t=ze,e=Oe();for(;;)try{if(700592===-parseInt(t(373))/1+-parseInt(t(364))/2*(-parseInt(t(381))/3)+parseInt(t(369))/4*(-parseInt(t(365))/5)+-parseInt(t(379))/6*(-parseInt(t(375))/7)+parseInt(t(378))/8*(-parseInt(t(368))/9)+parseInt(t(367))/10*(-parseInt(t(380))/11)+parseInt(t(366))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Me=Le(371),Ue=[Le(376),Le(374),Le(377)];typeof window!==Le(370)&&(window[Le(372)]=pe);export{pe as AdStage,_e as AdStageProvider,Me as SDK_VERSION,Ue as SUPPORTED_MODULES,ie as TrackingParamsModule,ve as getUserProperties,ye as setUserProperties,ge as track,Re as useAdStageContext,De as useAdStageInstance};
|