@adstage/web-sdk 3.0.13 → 3.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";function e(){var t=["CLICK","TEXT","350136VaePPW","DESKTOP","1111HxorBu","9NPFiBu","7uuQoEg","940519BEbXui","NATIVE","7296114dSKexO","8980264EELreN","6065530FVHioV","WEB","BANNER","VIDEO","5jRQVhX","TABLET","INTERSTITIAL","852993AkJidf","POPUP","80092pyLMCb","2FNDvcK","MOBILE","VIEWABLE"];return(e=function(){return t})()}var n,r,s,o,i,a,c,l,d,u,p,h;function f(t,n){var r=e();return(f=function(t,e){return r[t-=364]})(t,n)}function g(t,e){const n=m();return(g=function(t,e){return n[t-=175]})(t,e)}function m(){const t=["safeSetTextContent","ceil","6jrZjSL","DOM을 사용할 수 없는 환경입니다.","safeAddEventListener","documentElement","⏳ 컨테이너 대기 중: ","safeGetElementById","textContent","getElementById","canUseDOM","515245rMCtlC","isBrowser","min","isDOMReady","safeQuerySelectorAll","innerWidth","safeAddClass","번 시도)","safeRemoveChild","12HihoTw","4xFbEmZ","safeRemoveClass","readyState","2wTjCQd","ms (","DOMContentLoaded","addEventListener"," (최대 ","location","undefined","log","✅ 컨테이너 즉시 발견: ","waitForElements","open","safeWindowOpen","pow","214070jrwqpz","removeEventListener","2813973XrAWKr","getDocumentProperty","forEach","7347832SyBYJE","loading","pageYOffset","safeAppendChild",'❌ 컨테이너를 찾을 수 없습니다: "',"classList","style","waitForDOM","error","waitForElement","getWindowProperty","ms 경과)","⏳ 컨테이너 대기 시작: ","safeCreateElement","getComputedStyle","pageXOffset","번째 시도, ","ms)","243fxNisC","innerHeight","referrer","safeRemoveEventListener","removeChild",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"17380011wpKpVJ","setProperty","innerHTML","1124984hPQNBa",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"map","querySelector","appendChild","safeQuerySelector","483754WLlWVd"];return(m=function(){return t})()}!function(t){for(var e=f,n=t();;)try{if(678084===parseInt(e(371))/1*(parseInt(e(385))/2)+-parseInt(e(382))/3+parseInt(e(384))/4*(parseInt(e(379))/5)+parseInt(e(373))/6*(-parseInt(e(370))/7)+-parseInt(e(374))/8+-parseInt(e(369))/9*(parseInt(e(375))/10)+parseInt(e(368))/11*(parseInt(e(366))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e),(r=n||(n={}))[(s=f)(377)]="BANNER",r[s(383)]="POPUP",r[s(381)]=s(381),r[s(372)]=s(372),r[s(378)]=s(378),r[s(365)]=s(365),(i=o||(o={}))[(a=f)(376)]=a(376),i[a(386)]=a(386),(l=c||(c={}))[(d=f)(387)]=d(387),l.CLICK=d(364),(p=u||(u={}))[(h=f)(367)]=h(367),p[h(386)]=h(386),p[h(380)]="TABLET";const y=g;!function(t){const e=g,n=t();for(;;)try{if(480107===parseInt(e(212))/1*(-parseInt(e(237))/2)+parseInt(e(176))/3*(parseInt(e(234))/4)+parseInt(e(224))/5*(parseInt(e(215))/6)+-parseInt(e(206))/7+-parseInt(e(179))/8+-parseInt(e(197))/9*(parseInt(e(250))/10)+-parseInt(e(203))/11*(-parseInt(e(233))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class v{static isBrowser(){return"undefined"!=typeof window&&typeof document!==g(243)}static isSSR(){return!this.isBrowser()}static[y(223)](){const t=y;return this[t(225)]()&&void 0!==document[t(236)]}static[y(220)](t){const e=y;return this[e(223)]()?document[e(222)](t):null}static[y(211)](t){const e=y;return this[e(223)]()?document[e(209)](t):null}static[y(228)](t){return this[y(223)]()?Array.from(document.querySelectorAll(t)):[]}static[y(192)](t){return this.canUseDOM()?document.createElement(t):null}static[y(217)](t,e,n,r){const s=y;this.canUseDOM()&&t&&t[s(240)](e,n,r)}static[y(200)](t,e,n,r){const s=y;this[s(223)]()&&t&&t[s(175)](e,n,r)}static[y(189)](t,e){return this[y(225)]()?window[t]??e:e}static[y(177)](t,e){return this[y(223)]()?document[t]??e:e}static[y(248)](t,e,n){const r=y;return this.isBrowser()?window[r(247)](t,e,n):null}static safeGetComputedStyle(t){const e=y;return this[e(225)]()&&t?window[e(193)](t):null}static isDOMReady(){const t=y;return!!this.canUseDOM()&&document[t(236)]!==t(180)}static[y(186)](){return new Promise(t=>{const e=g;this[e(223)]()?this[e(227)]()?t():this.safeAddEventListener(document,e(239),()=>t()):t()})}static safeApplyStyles(t,e){const n=y;this.canUseDOM()&&t&&Object.entries(e)[n(178)](([e,r])=>{const s=n;t[s(185)][s(204)](e,r)})}static[y(230)](t,e){const n=y;this[n(223)]()&&t&&t[n(184)].add(e)}static[y(235)](t,e){const n=y;this.canUseDOM()&&t&&t[n(184)].remove(e)}static[y(213)](t,e){const n=y;this[n(223)]()&&t&&(t[n(221)]=e)}static safeSetInnerHTML(t,e){const n=y;this[n(223)]()&&t&&(t[n(205)]=e)}static[y(182)](t,e){const n=y;this[n(223)]()&&t&&e&&t[n(210)](e)}static[y(232)](t,e){const n=y;this[n(223)]()&&t&&e&&t[n(201)](e)}static getPageInfo(){const t=y;return{url:this[t(189)](t(242),{href:""}).href,title:this.getDocumentProperty("title",""),referrer:this[t(177)](t(199),"")}}static getViewportInfo(){const t=y;return{width:this[t(189)](t(229),0),height:this.getWindowProperty(t(198),0),pixelRatio:this[t(189)]("devicePixelRatio",1)}}static getScrollInfo(){const t=y;return{scrollTop:this.canUseDOM()?window[t(181)]||document[t(218)].scrollTop:0,scrollLeft:this[t(189)](t(194),0)}}static async[y(188)](t,e={}){const n=y,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this.canUseDOM())throw new Error(n(216));const i=document[n(222)](t);return i?(o&&console[n(244)](n(245)+t),i):(o&&console[n(244)](n(191)+t+n(241)+r+n(196)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(214)](r/s),d=()=>{const n=a;c++;const u=document[n(222)](t);if(u)return o&&console[n(244)]("✅ 컨테이너 발견: "+t+" ("+c+n(195)+c*s+n(190)),void e(u);if(c>=l){const e=n(183)+t+n(207)+t+n(202)+r+n(238)+c+n(231);return o&&console[n(187)](e),void i(new Error(e))}o&&c%10==0&&console[n(244)](n(219)+t+" ("+c+"/"+l+")");const p=Math[n(226)](s*Math[n(249)](1.2,c),500);setTimeout(d,p)};setTimeout(d,s)}))}static async[y(246)](t,e={}){const n=y,r=t[n(208)](t=>this[n(188)](t,e));return Promise.all(r)}}const I=b;function b(t,e){const n=w();return(b=function(t,e){return n[t-=383]})(t,e)}function w(){const t=["3.0.13","2348658tzkBzy","860518hNVWYx","3486721TJPvIC","30iRiZZB","AdStageSDK/","3JGmSjG","16zGpxTe","5209008uDNRDG"," AdStageSDK/","15861050VQLZvz","1137294IjkPRj","98960vAKxUL"];return(w=function(){return t})()}!function(t){const e=b,n=t();for(;;)try{if(684520===-parseInt(e(386))/1+-parseInt(e(390))/2*(parseInt(e(394))/3)+parseInt(e(383))/4+parseInt(e(387))/5*(parseInt(e(392))/6)+-parseInt(e(391))/7*(parseInt(e(395))/8)+parseInt(e(389))/9+parseInt(e(385))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);const k=I(388);function E(){return k}const S=A;function x(){const t=["getItem","133CmLkFq",'[data-adstage-slot-id="',"setItem","352087Fxtgdm","test","unknown","1023050OmwZwM","7514523XmjQRW","userAgent","language","now","pixelRatio","platform","adstage_session_id","random","generateDeviceId","ssr_device_","safeQuerySelector",",y:","toString","android","scrollTop","DateTimeFormat","getBoundingClientRect","resolvedOptions","603422EtiAQn","generateSessionId","506424dJGNRL","getScrollInfo","safeGetElementById","isBrowser","desktop","round","substr"," .adstage-slider-wrapper","toLowerCase","2108571sumNIq","getPlatform","30PDGCWr","2386188xsribR","left","10ypoaAg","SSR","web","isMobile","height","session_","UTC","colorDepth"];return(x=function(){return t})()}function A(t,e){const n=x();return(A=function(t,e){return n[t-=128]})(t,e)}!function(t){const e=A,n=t();for(;;)try{if(694540===parseInt(e(136))/1+-parseInt(e(158))/2+parseInt(e(169))/3+parseInt(e(172))/4+-parseInt(e(139))/5*(parseInt(e(171))/6)+parseInt(e(133))/7*(parseInt(e(160))/8)+parseInt(e(140))/9*(-parseInt(e(174))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(x);class C{static generateDeviceId(){const t=A;if(!v[t(163)]())return t(149)+Date[t(143)]();const e=localStorage[t(132)]("adstage_device_id");if(e)return e;const n="device_"+Math.random().toString(36)[t(166)](2,9)+"_"+Date[t(143)]();return localStorage[t(135)]("adstage_device_id",n),n}static[S(159)](){const t=S;if(!v[t(163)]())return"ssr_session_"+Date[t(143)]();const e=sessionStorage[t(132)](t(146));if(e)return e;const n=t(129)+Math[t(147)]()[t(152)](36)[t(166)](2,9)+"_"+Date[t(143)]();return sessionStorage[t(135)]("adstage_session_id",n),n}static[S(177)](){const t=S;return!!v[t(163)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(137)](navigator[t(141)])}static[S(170)](){const t=S;if(!v.isBrowser())return t(176);const e=navigator.userAgent[t(168)]();return/iphone|ipad|ipod/[t(137)](e)?"ios":/android/.test(e)?t(153):C[t(177)]()?t(176):t(164)}static collectDeviceInfo(){const t=S,e=v.getViewportInfo();return{deviceId:C[t(148)](),sessionId:C[t(159)](),osVersion:v.isBrowser()?navigator[t(145)]:t(175),deviceModel:v[t(163)]()?navigator[t(145)]:t(175),appVersion:"1.0.0",sdkVersion:E(),language:v[t(163)]()&&navigator[t(142)]||"ko",country:"KR",ipAddress:"",userAgent:v[t(163)]()?navigator[t(141)]:"SSR",timezone:v[t(163)]()?Intl[t(155)]()[t(157)]().timeZone:t(130),viewportWidth:e.width,viewportHeight:e[t(128)],screenWidth:v[t(163)]()?screen.width:0,screenHeight:v[t(163)]()?screen[t(128)]:0,colorDepth:v.isBrowser()?screen[t(131)]:24,pixelRatio:e[t(144)],connectionType:v[t(163)]()&&navigator.connection?.effectiveType||t(138),platform:C.getPlatform()}}static getSlotPosition(t){const e=S;let n=v[e(162)](t);if(!n){const r=v[e(150)]("#"+t+e(167));r&&(n=r)}if(!n&&(n=v[e(150)](e(134)+t+'"]')),!n)return"unknown";const r=n[e(156)](),s=v[e(161)]();return"x:"+Math.round(r[e(173)])+e(151)+Math[e(165)](r.top+s[e(154)])}}function T(t,e){const n=L();return(T=function(t,e){return n[t-=463]})(t,e)}const _=T;!function(t){const e=T,n=t();for(;;)try{if(293165===parseInt(e(465))/1*(-parseInt(e(471))/2)+parseInt(e(468))/3+-parseInt(e(473))/4+parseInt(e(478))/5+-parseInt(e(463))/6+-parseInt(e(469))/7*(parseInt(e(475))/8)+parseInt(e(472))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class R{static create(t,e){const n=T;if(!t)throw new Error(n(467));const r={"x-api-key":t,"Content-Type":e?.[n(479)]||n(474)};return typeof navigator!==n(477)&&(r[n(466)]=e?.userAgent||navigator[n(476)]),r}static[_(470)](t,e){const n=_,r=R[n(464)](t);return e?.[n(476)]&&(r[n(466)]=e[n(476)]),r}}function L(){const t=["contentType","67074alucBn","create","386756PcXSFs","User-Agent","API key is required","1535445DrgVxX","2653aGJtdC","createForEvents","2EUjVhP","6351264lTdjFM","818324LrVfUH","application/json","11120YjgrcC","userAgent","undefined","1024900tNMuML"];return(L=function(){return t})()}function P(){const t=["substring","collectDeviceInfo","3995957QdWgdf","2RbayIW","...","🚀 Sending advertisement event: ","getPageInfo","apiKey",'[data-adstage-slot-id="',"1337540qjHqPa","stringify","). Skipping event tracking.","📡 API Response Status: ","title","getSlotPosition",". Skipping event tracking to prevent incorrect adType.","baseUrl"," (containerId: ","referrer","✅ Successfully tracked advertisement event: ","replace","status","POST","🚀 AdvertisementEventTracker: Processing ","API request failed: ","platform","get","🔍 Debug info:","statusText","15670bpXMCr","⚠️ Slot not found for slotId: ","getElementById","text","number","/advertisements/events/","log","string","warn","length","19173ieadLB","477894fyQRpL"," event for ad ","width","parseNumericValue","2947275yACQPt"," in slot ","🌐 Full API call details:","error","sessionId","374301GmzGEw","❌ Failed to track advertisement event:","5wXHfab","adType","12VmcqmJ","slots","debug","containerId","4032160MukGSq"];return(P=function(){return t})()}const D=N;function N(t,e){const n=P();return(N=function(t,e){return n[t-=154]})(t,e)}!function(t){const e=N,n=t();for(;;)try{if(638702===parseInt(e(192))/1+-parseInt(e(204))/2*(parseInt(e(183))/3)+parseInt(e(210))/4*(-parseInt(e(194))/5)+-parseInt(e(196))/6*(parseInt(e(203))/7)+-parseInt(e(200))/8+-parseInt(e(187))/9+parseInt(e(172))/10*(parseInt(e(182))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(P);class B{constructor(t,e,n,r){const s=N;this.baseUrl=t,this.apiKey=e,this[s(198)]=n,this[s(197)]=r}async trackAdvertisementEvent(t,e,n){const r=N;try{this[r(198)]&&console[r(178)](r(166)+n+r(184)+t+r(188)+e);const s=this[r(197)][r(169)](e);if(!s)return void(this[r(198)]&&console[r(180)](r(173)+e+r(158)));if(!(document[r(174)](s[r(199)])||document.querySelector(r(209)+e+'"]')))return void(this[r(198)]&&console[r(180)]("⚠️ DOM element not found for slotId: "+e+r(160)+s[r(199)]+r(154)));const o=C[r(202)](),i={adType:s[r(195)],platform:o[r(168)],deviceId:o.deviceId,deviceInfo:o,pageUrl:v.getPageInfo().url,pageTitle:v[r(207)]()[r(156)],referrer:v[r(207)]()[r(161)],slotId:e,slotPosition:C[r(157)](s[r(199)]),slotWidth:B[r(186)](s[r(185)]),slotHeight:B.parseNumericValue(s.height),sessionId:o[r(191)],pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:E(),timestamp:Date.now()},...n===c.VIEWABLE&&{isViewable:!0,iabCompliant:!0}},a=this.baseUrl+r(177)+t+"/"+n,l=R.createForEvents(this[r(208)],i);this.debug&&(console[r(178)](r(206)+n+" for ad "+t,{url:a,headers:l,eventData:i}),console[r(178)](r(189),{method:r(165),url:a,hasApiKey:!!this.apiKey,bodySize:JSON[r(211)](i)[r(181)]}));const d=await fetch(a,{method:r(165),headers:l,body:JSON[r(211)](i)});if(this.debug&&console[r(178)](r(155)+d[r(164)]+" "+d.statusText,{url:a,ok:d.ok}),!d.ok){const t=await d[r(175)]();throw new Error(r(167)+d[r(164)]+" "+d[r(171)]+" - "+t)}this[r(198)]&&console.log(r(162)+n+" for ad "+t)}catch(s){console[r(190)](r(193),s),console[r(190)](r(170),{baseUrl:this[r(159)],apiKey:this[r(208)]?this[r(208)][r(201)](0,8)+r(205):"NOT_SET",url:this[r(159)]+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[D(186)](t){const e=D;if(typeof t===e(176))return t;if(typeof t===e(179)){const n=parseFloat(t[e(163)](/px$/,""));return isNaN(n)?0:n}return 0}}function O(){var t=["observer","visible","warn","handleIntersection","forEach","isDocumentVisible","3574RcxzrH","destroy","276116rgzFSO","1991aXWyRy","visibilityState","disconnect","9bxKmQV","1670yPiWIt","1414216ruGoxo","IntersectionObserver","onViewableCallback","isViewableTriggered","474UerTMK","186468qKTJHB","10Tutsnb","78ieonlq","0px","171017yWUlGJ","IntersectionObserver not supported, viewability tracking disabled","initIntersectionObserver","element","6949548VNNGxG"];return(O=function(){return t})()}function M(t,e){var n=O();return(M=function(t,e){return n[t-=422]})(t,e)}var U=M;!function(t){for(var e=M,n=t();;)try{if(174140===parseInt(e(444))/1+-parseInt(e(431))/2*(parseInt(e(443))/3)+parseInt(e(433))/4*(-parseInt(e(445))/5)+-parseInt(e(446))/6*(parseInt(e(448))/7)+parseInt(e(439))/8*(parseInt(e(437))/9)+parseInt(e(438))/10*(-parseInt(e(434))/11)+parseInt(e(424))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(O);class z{constructor(t,e){var n=M;this[n(425)]=null,this[n(442)]=!1,this[n(423)]=t,this.onViewableCallback=e,this[n(422)]()}initIntersectionObserver(){var t=M;t(440)in window?(this[t(425)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(447)}),this[t(425)].observe(this[t(423)])):console[t(427)](t(449))}[U(428)](t){var e=U;t[e(429)](t=>{var n=e;t.intersectionRatio>=.5&&this[n(430)]()&&!this[n(442)]&&(this[n(442)]=!0,this[n(441)]&&this.onViewableCallback())})}[U(430)](){var t=U;return!document.hidden&&document[t(435)]===t(426)}[U(432)](){var t=U;this[t(425)]&&(this[t(425)][t(436)](),this.observer=null)}}const V=F;function F(t,e){const n=j();return(F=function(t,e){return n[t-=246]})(t,e)}function j(){const t=["advertisements","397798nKItwT","detail","getBaseUrl","/events/track","startsWith","production","track","6tjEQUH","/advertisements","1137768cbGBwu","4382784txuaKK","setBaseUrl","4739556gsvuMQ","list","6bpJVda","7486614KfNJRi","baseUrl","/advertisements/events","1161308SGNIfJ","1965955bJdvGm","30USsTbq","events","https://api.adstage.app","https://beta-api.adstage.app"];return(j=function(){return t})()}!function(t){const e=F,n=t();for(;;)try{if(637839===parseInt(e(270))/1+parseInt(e(263))/2*(-parseInt(e(259))/3)+-parseInt(e(257))/4+-parseInt(e(264))/5*(parseInt(e(252))/6)+parseInt(e(255))/7+-parseInt(e(254))/8+-parseInt(e(260))/9*(-parseInt(e(265))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);const K={production:V(267),beta:V(268)};V(250);const H={advertisements:{list:"/advertisements/list",detail:V(253),events:V(262)},events:{track:V(248),registerAttribution:"/events/register/attribution"}};class W{constructor(t){const e=V;this.advertisements={list:()=>""+this[e(261)]+H[e(269)][e(258)],detail:t=>""+this[e(261)]+H[e(269)][e(246)]+"/"+t,events:(t,n)=>""+this.baseUrl+H[e(269)][e(266)]+"/"+t+"/"+n},this[e(266)]={track:()=>""+this[e(261)]+H.events[e(251)],registerAttribution:()=>""+this[e(261)]+H[e(266)].registerAttribution},this.baseUrl=t||K.production}[V(256)](t){this[V(261)]=t}[V(247)](){return this[V(261)]}custom(t){const e=V;return""+this[e(261)]+(t[e(249)]("/")?t:"/"+t)}}const G=new W;var J=q;function q(t,e){var n=X();return(q=function(t,e){return n[t-=363]})(t,e)}function X(){var t=["trackInitialSlideViewable","9078FCKBHf","30JPEKTi","_id","🎯 Triggering VIEWABLE event for slide change: ad ","309561SSQKiL","1590664LdyPIj","4lRXJwi"," (index: 0) in slot: ","806575lWcOtG","3562QTWaYN","🎯 Triggering initial VIEWABLE event: ad ","710FyXlZf","13EJBlyI","9UQBZyp","VIEWABLE","810732PvpzIs","447359mwwBpt","log","trackSlideViewable","78qKKUXN"];return(X=function(){return t})()}!function(t){for(var e=q,n=t();;)try{if(149953===parseInt(e(374))/1*(-parseInt(e(364))/2)+-parseInt(e(380))/3*(-parseInt(e(382))/4)+-parseInt(e(366))/5*(-parseInt(e(376))/6)+parseInt(e(363))/7+parseInt(e(381))/8*(-parseInt(e(368))/9)+parseInt(e(377))/10*(parseInt(e(371))/11)+parseInt(e(370))/12*(-parseInt(e(367))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);class Y{static[J(373)](t,e,n,r,s=!1){var o=J;s&&console[o(372)](o(379)+t[o(378)]+" (index: "+n+") in slot: "+e.id),r(t[o(378)],e.id,c[o(369)])}static[J(375)](t,e,n,r=!1){var s=J;r&&console[s(372)](s(365)+t[s(378)]+s(383)+e.id),n(t[s(378)],e.id,c[s(369)])}}const Q=Z;function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=460]})(t,e)}function $(){const t=["style","toLowerCase","cursor","stopPropagation","25955EzkVgk","addEventListener","adType","preventDefault","24314778KomRuu","isClickable","_blank","open","addClickEventForRenderer","pointer","2051cxdSUI","1883834YsAntc","log","addClickEvent","click","_id","391914loWHwj","2501211KdPSkw","236DmbvSA","addClickEventForSlider","linkUrl","🔗 ","forEach"," ad clicked: ","CLICK","18800TsNlJk"," -> ","4295184dZZZdD"];return($=function(){return t})()}!function(t){const e=Z,n=t();for(;;)try{if(490865===-parseInt(e(480))/1+-parseInt(e(475))/2+parseInt(e(481))/3+-parseInt(e(482))/4*(parseInt(e(464))/5)+-parseInt(e(491))/6+-parseInt(e(474))/7*(parseInt(e(489))/8)+parseInt(e(468))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt{static[Q(477)](t,e,n,r,s=!1,o){const i=Q;e[i(484)]&&(t[i(460)][i(462)]=i(473),t[i(465)]("click",t=>{const a=i;if(t[a(467)](),t[a(463)](),r&&r(e[a(479)],n.id,c[a(488)]),window[a(471)](e.linkUrl,a(470)),s){const t=o||String(n[a(466)]).toLowerCase();console[a(476)](a(485)+t+a(487)+e[a(479)]+a(490)+e.linkUrl)}}))}static[Q(472)](t,e,n,r,s=!1,o){const i=Q;e[i(484)]&&(t[i(460)].cursor=i(473),t[i(465)](i(478),t=>{const a=i;t.preventDefault(),t.stopPropagation();if(r()(e._id,n.id,c.CLICK),window[a(471)](e[a(484)],a(470)),s){const t=o||String(n[a(466)])[a(461)]();console[a(476)](a(485)+t+a(487)+e._id+a(490)+e[a(484)])}}))}static[Q(483)](t,e,n,r,s=!1,o){this[Q(477)](t,e,n,r,s,o)}static[Q(469)](t){return Boolean(t.linkUrl)}static addClickEventsBatch(t,e,n,r,s=!1,o){const i=Q;t[i(486)]((t,a)=>{const c=i,l=e[a];l&&this[c(477)](t,l,n,r,s,o)})}}const et=nt;function nt(t,e){const n=rt();return(nt=function(t,e){return n[t-=419]})(t,e)}function rt(){const t=["translateX(-","hidden","8px","setAttribute","preventDefault","5046654rxjLXT","adstage-dots","background","changedTouches","querySelectorAll","fontSize","3223544JHnClt","className","contains","200px","img","children","22046SYknps","div","video","#f0f0f0","classList","#f9f9f9","5620195oaSdDW","style","overflow","100%","length",".adstage-dot","13440zcDYFw","add","adType","cover","entries","forEach","active","auto","VIDEO","click","Banner Ad","#666666","body","100px","center","createSimpleAdElement","backgroundColor","adstage-slide-container","opacity","border","50px","#999999","autoSlideInterval","\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 ","none","relative","touchend","imageUrl","670035jYwTNx","touchmove","removeChild","cssText","mouseleave","textContent"," Ad","width","5wFcXWK","adstage-slider-wrapper","borderColor","abs","transform","adstage-ad adstage-","addClickEventForSlider","1px dashed #ccc","TEXT","transition","src","setProperty","height","1px solid #666","createMinimalDotIndicator","createElement","transform 0.4s ease-out","videoUrl","addEventListener","whiteSpace","Text Ad","data-adstage-ad-id","objectFit","display","includes","90EkiEhV","#000","toLowerCase","mouseenter","addTouchSupport","padding","131373PGkwnc","color","flex","block","0.7","appendChild","#cccccc","clientX","87RucdpB","touches","getBoundingClientRect","inline-block"];return(rt=function(){return t})()}!function(t){const e=nt,n=t();for(;;)try{if(617433===-parseInt(e(458))/1+parseInt(e(526))/2*(parseInt(e(505))/3)+-parseInt(e(520))/4*(parseInt(e(466))/5)+parseInt(e(514))/6+parseInt(e(424))/7+-parseInt(e(430))/8+parseInt(e(497))/9*(parseInt(e(491))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class st{static[et(445)](t,e){const r=et,s=document[r(481)](r(419));switch(s[r(521)]=r(471)+String(t[r(432)]).toLowerCase(),s[r(512)](r(487),e._id),s.setAttribute("data-adstage-slot-id",t.id),s[r(425)].display=r(500),s.style[r(465)]="100%",s[r(425)][r(478)]=r(437),t[r(432)]){case n.BANNER:if(e[r(457)]){const t=document[r(481)](r(524));t[r(476)]=e[r(457)],t.style.width=r(427),t.style[r(478)]=r(437),t[r(425)][r(488)]=r(433),s.appendChild(t)}else s[r(425)][r(478)]="100px",s[r(425)].backgroundColor=r(421),s[r(425)][r(449)]=r(473),s.textContent=r(440);break;case n[r(438)]:if(e[r(483)]){const t=document[r(481)](r(420));t[r(476)]=e.videoUrl,t.style[r(465)]=r(427),t[r(425)].height=r(437),s[r(502)](t)}else s[r(425)][r(478)]=r(523),s[r(425)][r(446)]=r(492),s[r(425)].border=r(479),s[r(463)]="Video Ad",s[r(425)][r(498)]="white";break;case n[r(474)]:if(e[r(463)]){const t=document[r(481)](r(419));t[r(463)]=e[r(463)]||"",t[r(425)][r(496)]=r(511),t[r(425)][r(519)]="14px",s[r(502)](t)}else s[r(425)][r(478)]=r(450),s.style[r(496)]="8px",s[r(463)]=r(486);break;default:s[r(425)].height=r(443),s.style[r(449)]=r(473),s.style[r(446)]=r(423),s[r(463)]=t[r(432)]+r(464)}return s}static createSliderContainer(t,e,r,s,o=!1){const i=et,a=document[i(481)](i(419));a[i(521)]=i(467);const c={position:i(455),overflow:i(510)};if(t[i(465)]&&0!==t[i(465)]){let e;e="string"==typeof t[i(465)]&&(t[i(465)].includes("px")||t[i(465)][i(490)]("%"))?t[i(465)]:t[i(465)]+"px",c.width=e,c.display=i(508)}else c[i(489)]="inline-block";if(t.height&&0!==t[i(478)]){const e="string"==typeof t[i(478)]?t[i(478)]:t[i(478)]+"px";c.height=e}Object.entries(c)[i(435)](([t,e])=>{const n=i;a.style[n(477)](t,e)});const l=!t[i(465)]||0===t[i(465)],d=!t.height||0===t[i(478)];if(l||d){const n=document[i(481)](i(419));if(n.style[i(461)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!l&&t[i(465)]){let e;e="string"==typeof t.width?t[i(465)][i(490)]("px")||t[i(465)][i(490)]("%")?t[i(465)]:t.width+"px":t[i(465)]+"px",n[i(425)][i(465)]=e,n[i(425)][i(485)]="normal"}document[i(442)][i(502)](n);let r=0,s=0;e[i(435)](e=>{const o=i,a=this[o(445)](t,e);n[o(502)](a);const c=a[o(507)]();c[o(465)]>r&&(r=c[o(465)]),c.height>s&&(s=c[o(478)]),n[o(460)](a)}),l&&r>0&&(a[i(425)].width=r+"px",c.width=r+"px"),d&&s>0&&(a.style[i(478)]=s+"px",c[i(478)]=s+"px"),document[i(442)][i(460)](n)}const u=[...e,e[0]],p=document[i(481)]("div");p[i(521)]=i(447);const h={display:i(499),transition:i(482),width:100*u[i(428)]+"%"};t.height&&0!==t[i(478)]&&(h[i(478)]=i(427)),Object[i(434)](h)[i(435)](([t,e])=>{p[i(425)].setProperty(t,e)}),u[i(435)]((e,n)=>{const r=i,a=document.createElement(r(419));a.className="adstage-slide";const c={width:100/u[r(428)]+"%","flex-shrink":"0",display:r(499),"align-items":r(444),"justify-content":r(444)};t[r(478)]&&0!==t.height&&(c[r(478)]=r(427)),Object[r(434)](c).forEach(([t,e])=>{const n=r;a[n(425)][n(477)](t,e)});const l=this[r(445)](t,e);tt[r(472)](l,e,t,s,o,String(t[r(432)])[r(493)]()),a[r(502)](l),p[r(502)](a)});const f=e.every(t=>t[i(432)]===n.TEXT)?null:this.createMinimalDotIndicator(e[i(428)]);let g=0;const m=e[i(428)],y=1e3*(r?.[i(452)]||3),v=(n,r=!1)=>{const a=i;g=n,r?p[a(425)][a(475)]=a(454):p[a(425)].transition=a(482),p[a(425)][a(470)]=a(509)+100/u.length*g+"%)";const c=g===m?0:g;if(f){f[a(518)](a(429))[a(435)]((t,e)=>{const n=a,r=t;e===c?(r.classList[n(431)](n(436)),r.style[n(516)]=n(441),r[n(425)][n(468)]=n(441),r[n(425)][n(448)]="1"):(r.classList.remove("active"),r[n(425)][n(516)]="transparent",r[n(425)][n(468)]=n(503),r.style.opacity=n(501))})}Y.trackSlideViewable(e[c],t,c,s,o)},I=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[i(518)](".adstage-dot").forEach((t,e)=>{const n=i;t.addEventListener(n(439),()=>v(e))})}let b=setInterval(()=>{v(g+1),I()},y);return a.addEventListener(i(494),()=>{clearInterval(b)}),a[i(484)](i(462),()=>{b=setInterval(()=>{v(g+1),I()},y)}),this[i(495)](p,v,()=>g,m,I),a.appendChild(p),f&&a[i(502)](f),v(0),(!t[i(465)]||0===t[i(465)])&&setTimeout(()=>{const e=i,n=p[e(525)][0];if(n){const r=n[e(525)][0];if(r){const n=r[e(507)]();a[e(425)].width=n.width+"px",(!t[e(478)]||0===t.height)&&(a[e(425)][e(478)]=n[e(478)]+"px"),a.style[e(426)]=e(510)}}},10),a}static[et(480)](t){const e=et,n=document[e(481)](e(419));n.className=e(515),n.style[e(461)]="\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ";for(let r=0;r<t;r++){const t=document.createElement("button");t.className="adstage-dot",t.style.cssText=e(453),t.addEventListener(e(494),()=>{const n=e;!t[n(422)][n(522)](n(436))&&(t.style[n(468)]=n(451),t[n(425)][n(448)]="0.9")}),t[e(484)](e(462),()=>{const n=e;!t[n(422)][n(522)](n(436))&&(t[n(425)][n(468)]=n(503),t.style[n(448)]="0.7")}),n.appendChild(t)}return n}static[et(495)](t,e,n,r,s){const o=et;let i=0,a=!1;t[o(484)]("touchstart",t=>{const e=o;i=t[e(506)][0][e(504)],a=!0}),t.addEventListener(o(459),t=>{a&&t[o(513)]()}),t.addEventListener(o(456),t=>{const c=o;if(!a)return;a=!1;const l=t[c(517)][0][c(504)],d=i-l;if(Math[c(469)](d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const ot=ct;!function(t){const e=ct,n=t();for(;;)try{if(182988===parseInt(e(165))/1*(-parseInt(e(168))/2)+parseInt(e(177))/3+parseInt(e(162))/4*(parseInt(e(174))/5)+-parseInt(e(170))/6+-parseInt(e(159))/7*(parseInt(e(160))/8)+parseInt(e(171))/9*(parseInt(e(176))/10)+parseInt(e(169))/11*(-parseInt(e(175))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);class it{static[ot(167)](t,e,n=!1){const r=ot,s=t+"_"+e;return it[r(173)].has(s)?(n&&console.log(r(164)+t+r(163)+e),!0):(it[r(173)].add(s),n&&console[r(161)]("✅ New viewable recorded for ad "+t+r(163)+e),!1)}static[ot(172)](){const t=ot;it.viewableTracker[t(172)]()}static[ot(166)](t,e){const n=t+"_"+e;it[ot(173)].delete(n)}}function at(){const t=["clear","viewableTracker","1445075KorZpn","103716hcJxsO","176290NwotsG","452130xbiLLb","435582SmBOVa","16RNwTyn","log","4sXBYOZ"," in slot ","Duplicate viewable blocked for ad ","23769xLckUF","clearAdViewable","isDuplicateViewable","6NsNWsW","55RbyhGD","1058544IelYWC","81lFVdme"];return(at=function(){return t})()}function ct(t,e){const n=at();return(ct=function(t,e){return n[t-=159]})(t,e)}it[ot(173)]=new Set;const lt=dt;function dt(t,e){const n=ut();return(dt=function(t,e){return n[t-=298]})(t,e)}function ut(){const t=["\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 ","3249290LKgcYV"," container: ","getDefaultHeight","data-adstage-empty","filter","trackAdvertisementEvent","rgba(248, 249, 250, 0.5)","6px","debug","true","innerHTML",'div[style*="min-height"]'," ad...</span>","fontSize","✅ New viewable recorded for ad ","minHeight","alignItems","display","📊 Advertisement event tracked: ",".adstage-","none","border","⚠️ AdvertisementEventTracker not available for ","appendChild","📦 Placeholder created for ","⚠️ ","adstage-slot adstage-","❌ Failed to track ","7oSSNIr","91521LlyDvV","2px dashed #e74c3c","center",".adstage-slot","height","containerId","📏 Using default height ","classList","#f9f9f9",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"div","createEmptyContainer","getContainerHeight","24rBXMav","adstage-class","data-adstage-type","🚫 Duplicate viewable blocked for ad ","202252MPoubv","closest","justifyContent","2BaEEmd","flex","⚠️ Created empty ","4px","rgba(0, 0, 0, 0.02)","data-adstage-container","borderRadius","invisible","log","adstage-slot"," in slot ","1px solid rgba(0, 0, 0, 0.08)","px)","2731164PRuOrd","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","<span>Loading ","className","3274299yckWNn","block","number","12vjHnjK","adstage-official","transparent","unknown","querySelector","opacity","monospace","toLowerCase"," event for ad "," container collapsed (","style","cssText","adType","string",'[data-adstage-container="true"]',"applyPlaceholderStyle","hasAttribute","createEventTrackingCallback","100%","error","#666","backgroundColor"," x ","calculateAdSize","auto","setAttribute","fontFamily","data-adstage-slot",'[class*="ad"]',"generic","advertisement"," for ad ",") - Mode: ","isEmpty","8hfiHHx","placeholderMode","createElement","3129905TeJDZF","15541449yMRfvG","minimal",'div[style*="height"]',"): ","color","renderFallback","warn"];return(ut=function(){return t})()}!function(t){const e=dt,n=t();for(;;)try{if(389776===-parseInt(e(403))/1*(-parseInt(e(400))/2)+parseInt(e(383))/3*(-parseInt(e(396))/4)+-parseInt(e(345))/5+-parseInt(e(301))/6*(parseInt(e(382))/7)+parseInt(e(342))/8*(parseInt(e(305))/9)+-parseInt(e(354))/10+-parseInt(e(346))/11*(-parseInt(e(308))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt{constructor(t,e=!1,n){const r=dt;this[r(320)]=t,this[r(362)]=e,this.advertisementEventTracker=n||null}createPlaceholder(t,e,n,r){const s=dt,o=document[s(344)]("div");o.id=e,o[s(304)]=s(380)+String(this[s(320)])[s(315)](),o[s(333)](s(408),s(363)),o[s(333)](s(398),String(this[s(320)])),o[s(333)](s(335),e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:s(326),height:this[s(356)]()};o[s(318)].width=i,o[s(318)].height=a;const c=r?.[s(343)]||n[s(343)]||s(410);this.applyPlaceholderStyle(o,c),t[s(377)](o),this.debug&&console[s(411)](s(378)+this[s(320)]+" slot: "+e+" ("+i+s(330)+a+s(340)+c)}[lt(323)](t,e){const n=lt;switch(e){case n(410):t.style[n(329)]=n(310),t[n(318)].border=n(374),t[n(318)][n(313)]="0",t.innerHTML="";break;case"transparent":t[n(318)][n(329)]="transparent",t[n(318)][n(375)]=n(374),t.style[n(371)]=n(306),t[n(364)]="";break;case"subtle":t[n(318)][n(329)]=n(407),t[n(318)].border="none",t[n(318)].borderRadius=n(406),t[n(318)][n(371)]=n(404),t[n(318)].alignItems=n(385),t[n(318)][n(402)]=n(385),t[n(364)]='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case n(347):t[n(318)].backgroundColor=n(360),t[n(318)][n(375)]=n(299),t[n(318)][n(409)]=n(361),t[n(318)][n(371)]=n(404),t[n(318)][n(370)]="center",t[n(318)][n(402)]="center",t[n(364)]=n(392);break;case"debug":t[n(318)][n(375)]=n(384),t[n(318)][n(371)]="flex",t[n(318)].alignItems=n(385),t[n(318)][n(402)]="center",t[n(318)][n(329)]="rgba(231, 76, 60, 0.1)",t[n(318)][n(350)]="#e74c3c",t.style[n(334)]=n(314),t.style[n(367)]="11px",t[n(364)]=n(303)+this.adType+n(366);break;default:t[n(318)][n(375)]="1px dashed #ccc",t[n(318)].display=n(404),t[n(318)][n(370)]=n(385),t[n(318)][n(402)]=n(385),t[n(318)][n(329)]=n(391),t[n(318)][n(350)]=n(328),t[n(364)]="<span>Loading "+this[n(320)]+n(366)}}[lt(331)](t,e,n){const r=lt,s=e.width,o=e[r(387)];let i,a;if(i=typeof s===r(307)?s+"px":typeof s===r(321)?s:r(326),"number"==typeof o)a=o+"px";else if(typeof o===r(321)&&o!==r(326)&&o!==r(332))a=o;else{const e=this.getContainerHeight(t);e>0?(a="100%",(n?.[r(362)]||this[r(362)])&&console[r(411)]("📏 Using 100% height (container: "+e+r(300))):(a=this.getDefaultHeight(),(n?.debug||this[r(362)])&&console.log(r(389)+a+" for "+this[r(320)]))}return{width:i,height:a}}[lt(395)](t){const e=lt,n=window.getComputedStyle(t),r=parseFloat(n[e(387)]);if(!r||0===r){const r=parseFloat(n[e(369)]);if(r>0)return r;if(t[e(318)][e(387)]&&"auto"!==t[e(318)][e(387)]){const n=parseFloat(t[e(318)][e(387)]);if(n>0)return n}const s=t.getAttribute(e(387));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[lt(325)](){return async(t,e,n)=>{const r=dt;if(n===c.VIEWABLE){if(it.isDuplicateViewable(t,e,this[r(362)]))return void(this[r(362)]&&console.log(r(399)+t+r(298)+e));this[r(362)]&&console.log(r(368)+t+r(298)+e)}if(this.advertisementEventTracker)try{this[r(362)]&&console[r(411)]("🔄 Starting advertisement event tracking: "+n+r(339)+t+" in slot "+e),await this.advertisementEventTracker[r(359)](t,e,n),this[r(362)]&&console[r(411)](r(372)+n+r(339)+t+r(298)+e)}catch(e){this[r(362)]&&console[r(327)](r(381)+n+r(316)+t+":",e)}else this[r(362)]&&console[r(352)](r(376)+n+" event")}}[lt(351)](t){const e=lt,n=document.getElementById(t.id);if(n){const r=[...[n[e(312)](e(322)),n.closest(e(322)),n].filter(t=>t&&t.hasAttribute(e(408))),...[n[e(401)](e(386)),n.closest(e(373)+String(this[e(320)])[e(315)]()),n[e(401)](e(336)),n[e(401)]('[class*="banner"]'),n[e(401)]('[class*="container"]'),n[e(401)](e(348)),n[e(401)](e(365)),n.parentElement][e(358)](Boolean)][0];if(r){let n=e(311);n=r[e(324)](e(408))?e(309):r[e(390)].contains(e(412))?e(397):e(337),r[e(318)][e(319)]+=e(302),r[e(364)]="",r[e(333)](e(357),e(363)),this[e(362)]&&console[e(352)](e(379)+this[e(320)]+e(317)+n+e(349)+t.id,r)}else this[e(394)](t)}t[e(338)]=void 0,t[e(341)]=!0}[lt(394)](t){const e=lt,n=document.getElementById(t[e(388)]);if(n){n.innerHTML="";const r=document.createElement(e(393));r.id=t.id,r.className="adstage-slot adstage-empty adstage-"+String(this.adType)[e(315)](),r[e(333)](e(408),"true"),r[e(333)](e(357),"true"),r[e(333)](e(335),t.id),r[e(318)][e(319)]=e(353),n.appendChild(r),this[e(362)]&&console[e(352)](e(405)+this[e(320)]+e(355)+t.id)}}[lt(411)](t,...e){const n=lt;this[n(362)]&&console[n(411)]("["+this[n(320)]+"] "+t,...e)}}const ht=gt;function ft(){const t=["applyOptimizedImageStyle","Banner Ad",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"className","map","average","naturalHeight","block","borderRadius","objectPosition","some","optimizedHeight","warn","4649840jEhBjH","img","round","</div>","log","calculateOptimalContainerSize","count","❌ Failed to load optimized banner image:","onerror","getElementById","renderMultipleAds","center","📦 Banner container dimensions: ","calculateOptimalHeight","config","innerHTML","selectOptimalSizeStrategy","14MHxpiw","containerId","📊 Using standard ratio: "," ads: ","3OthvSV","1:1","250px","11130327mOhDIQ","backgroundColor","91baoVAh","toString","slideInterval","error","filter","cover","_id","Banner Advertisement"," ads (optimized: "," (strategy: ","ratio","length","createElement","6447370nDENHG","📐 Optimal banner container calculated: ","8px","addClickEventForRenderer","renderOptimizedBannerImage","name","<div>","4202394wqKkEu","objectFit","src","🔧 Banner container optimized for ","abs","optimizeContainerForBannerAds","appendChild","div","renderAdElement","from","style","default","16:9","#f0f0f0","width","Banner container optimization failed, using default size:"," (avg: ","set","loadImageDimensions","forEach","Container not found: "," with ","fulfilled","debug","createEventTrackingCallback","values","100%","get",", ratio=","getBoundingClientRect","reduce","imageUrl","dominant","📸 Banner image dimensions: ","aspectRatio","262732rMOsID","698968XhNdQC","height","Banner","🎠 Banner carousel created for slot: ","title","toFixed","8230TLZIUL","getDefaultHeight","common"];return(ft=function(){return t})()}function gt(t,e){const n=ft();return(gt=function(t,e){return n[t-=203]})(t,e)}!function(t){const e=gt,n=t();for(;;)try{if(839564===parseInt(e(285))/1*(parseInt(e(252))/2)+parseInt(e(289))/3*(-parseInt(e(245))/4)+-parseInt(e(203))/5+-parseInt(e(210))/6+-parseInt(e(294))/7*(-parseInt(e(246))/8)+parseInt(e(292))/9+parseInt(e(268))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class mt extends pt{constructor(t=!1,e){super(n.BANNER,t,e)}[ht(253)](){return ht(291)}async[ht(218)](t,e){const n=ht,r=document.getElementById(t[n(286)]);if(!r)return;const s=document.createElement(n(217));s[n(258)]="adstage-ad adstage-banner-ad";const o=t[n(266)],i=r.parentElement||r;if(o)s[n(220)][n(224)]=n(236),s[n(220)].height=String(o);else{const e=t[n(282)],r={width:e?.width,height:e?.height},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this.debug});s.style[n(224)]=o,s[n(220)][n(247)]=a}e[n(241)]?await this[n(207)](s,e,t):s.innerHTML=n(209)+(e[n(250)]||n(256))+n(271),tt[n(206)](s,e,t,()=>this[n(234)](),this[n(233)],"Banner"),r.innerHTML="",r.appendChild(s)}async[ht(278)](t,e){const n=ht,r=document[n(277)](t[n(286)]);if(!r)throw new Error(n(230)+t[n(286)]);await this[n(215)](t,e);const s=this[n(234)](),o={autoSlideInterval:(t.config?.[n(296)]||5e3)/1e3,...t.config,optimizedHeight:t[n(266)],aspectRatio:t[n(244)]},i=st.createSliderContainer(t,e,o,s,this[n(233)]);i&&(r.innerHTML="",r[n(216)](i),this[n(233)]&&console[n(272)](n(249)+t.id+n(231)+e[n(305)]+n(302)+(t[n(266)]||n(221))+")"))}async[ht(273)](t,e){const n=ht;if(!t[n(305)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise.allSettled(t[n(298)](t=>t.imageUrl)[n(259)](t=>this[n(228)](t[n(241)]))))[n(298)](t=>t.status===n(232))[n(259)](t=>t.value);if(0===r.length)return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};const s=this[n(284)](r),o=this[n(281)](r,e,s);return this[n(233)]&&console[n(272)](n(204)+e+"x"+o+n(303)+s+")"),{width:"100%",height:o+"px",aspectRatio:e/o}}catch(t){return console[n(267)]("Failed to calculate optimal banner size, using defaults:",t),{width:n(236),height:this[n(253)](),aspectRatio:16/9}}}async[ht(215)](t,e){const n=ht;try{const r=document.getElementById(t.containerId),s=document[n(277)](t.id);if(!r||!s)return;const o=r.getBoundingClientRect()[n(224)]||300,i=await this.calculateOptimalContainerSize(e,o);s[n(220)][n(247)]=i[n(247)],t.optimizedHeight=i[n(247)],t.aspectRatio=i[n(244)],this.debug&&console[n(272)](n(213)+e[n(305)]+n(288)+i[n(247)])}catch(t){console[n(267)](n(225),t)}}selectOptimalSizeStrategy(t){const e=ht,n=t[e(259)](t=>t[e(224)]/t[e(247)]),r=new Map;n.forEach(t=>{const n=e,s=(Math.round(10*t)/10)[n(295)]();r[n(227)](s,(r[n(237)](s)||0)+1)});const s=Math.max(...r[e(235)]()),o=t[e(305)];if(s/o>=.7)return e(242);const i=[16/9,4/3,1,1.5],a=n.filter(t=>i[e(265)](e=>Math.abs(t-e)<.1))[e(305)];return e(a/o>=.5?254:260)}calculateOptimalHeight(t,e,n){const r=ht,s=t.map(t=>t[r(224)]/t[r(247)]);switch(n){case r(242):{const t=new Map;s[r(229)](e=>{const n=r,s=Math.round(10*e)/10,o=s[n(295)](),i=t[n(237)](o);i?i[n(274)]++:t[n(227)](o,{ratio:s,count:1})});const n=Array[r(219)](t[r(235)]())[r(240)]((t,e)=>e[r(274)]>t[r(274)]?e:t);return Math.round(e/n[r(304)])}case r(254):{const t=[{ratio:16/9,name:r(222)},{ratio:4/3,name:"4:3"},{ratio:1,name:r(290)},{ratio:1.5,name:"3:2"}],n=s[r(240)]((t,e)=>t+e,0)/s[r(305)],o=t[r(240)]((t,e)=>Math[r(214)](e.ratio-n)<Math[r(214)](t[r(304)]-n)?e:t);return this[r(233)]&&console.log(r(287)+o[r(208)]+r(226)+n[r(251)](2)+")"),Math[r(270)](e/o[r(304)])}case r(260):default:{const t=s.reduce((t,e)=>t+e,0)/s[r(305)];return Math[r(270)](e/t)}}}loadImageDimensions(t){return new Promise((e,n)=>{const r=gt,s=new Image;s.onload=()=>{const t=gt;e({width:s.naturalWidth,height:s[t(261)]})},s[r(276)]=()=>{n(new Error("Failed to load image: "+t))},s[r(212)]=t})}[ht(255)](t,e,n){const r=ht,s=e/n;Math.abs(s-1)<.1?(t.style[r(211)]=r(299),t[r(220)][r(264)]=r(279)):s>1.3?(t[r(220)][r(211)]="contain",t.style[r(264)]="center",t[r(220)][r(293)]=r(223)):s<.7?(t[r(220)].objectFit=r(299),t[r(220)][r(264)]=r(279)):(t[r(220)].objectFit=r(299),t.style[r(264)]="center"),this[r(233)]&&console[r(272)]("🎨 Banner image style applied: objectFit="+t.style[r(211)]+r(238)+s[r(251)](2))}async[ht(207)](t,e,n){const r=ht,s=document[r(306)](r(269));s[r(220)][r(224)]="100%",s.style[r(247)]=r(236),s[r(220)].display=r(262),s.style[r(263)]=r(205),s.alt=e[r(250)]||r(301),t[r(283)]=r(257);try{if(!e[r(241)])throw new Error("Image URL is not provided");const o=await this[r(228)](e[r(241)]),i=t[r(239)](),a=i[r(224)],c=i.height;this[r(233)]&&(console[r(272)](r(243)+o[r(224)]+"x"+o[r(247)]),console[r(272)](r(280)+a+"x"+c));const l=o[r(224)]/o[r(247)],d=a/c;return this[r(255)](s,l,d),s.src=e[r(241)],t.innerHTML="",t.appendChild(s),tt[r(206)](s,e,n,()=>this.createEventTrackingCallback(),this[r(233)],r(248)),this.debug&&console[r(272)]("✅ Optimized banner image rendered for ad: "+e[r(300)]),s}catch(o){return console[r(297)](r(275),o),e.imageUrl&&(s.src=e.imageUrl,s.style[r(211)]=r(299),s[r(220)].objectPosition="center",t[r(283)]="",t[r(216)](s),tt[r(206)](s,e,n,()=>this[r(234)](),this.debug,r(248))),s}}}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 ","4441284pzxsHI","2891952MkOUme","4384295MYMBsn","3082896SeshMw","234381rpIRhd","1174658SUOawM","1646196wOdWwL"];return(yt=function(){return t})()}function vt(t,e){const n=yt();return(vt=function(t,e){return n[t-=333]})(t,e)}!function(t){const e=vt,n=t();for(;;)try{if(578154===-parseInt(e(338))/1+-parseInt(e(339))/2+parseInt(e(337))/3+parseInt(e(334))/4+-parseInt(e(336))/5+-parseInt(e(340))/6+parseInt(e(335))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);class It{static createTextAdStyles(t=!1){return vt(333)}static setTextAdContent(t,e){const n=e.textContent||e.title||"";t.textContent=n}}const bt=wt;function wt(t,e){const n=kt();return(wt=function(t,e){return n[t-=347]})(t,e)}function kt(){const t=["touches","transform","data-adstage-slot-id","35756yvMqaN","abs","changedTouches","entries","height: auto;","whiteSpace","createTextAdStyles","4rSgata","cssText",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","getBoundingClientRect","\n position: ","2585340MapxLd","absolute","createSimpleAdElement","setTextAdContent","2035824HPJCih","30oslNFf","20px","clientX","push","adstage-fade-slide-container","toLowerCase","preventDefault","8150505jBsfdF","data-adstage-ad-id","adType","string","4002963uLygJL","className",";\n width: 100%;\n ","adstage-fade-slide","forEach","touchstart","position","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","left","translateY(0)","removeChild","zIndex","createTextTransitionContainer","addEventListener","1980GOdUFP","height: 100%;","\n ",";\n transform: translateY(","style","length","setAttribute","body","1110281qDXBCz","touchmove","trackSlideViewable","top","includes","hidden","13815637NYhcCt","adstage-fade-slider-wrapper","width","height","relative","adstage-ad adstage-","div","touchend","createElement","auto","fit-content","minHeight","autoSlideInterval","mouseenter","Text","block","appendChild","setProperty","mouseleave","27wIwijd","addTouchSupport",";\n left: ","opacity"];return(kt=function(){return t})()}!function(t){const e=wt,n=t();for(;;)try{if(849602===-parseInt(e(414))/1+-parseInt(e(376))/2+parseInt(e(392))/3*(-parseInt(e(371))/4)+-parseInt(e(388))/5+-parseInt(e(406))/6*(-parseInt(e(364))/7)+-parseInt(e(380))/8*(-parseInt(e(357))/9)+-parseInt(e(381))/10*(-parseInt(e(420))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kt);class Et{static[bt(378)](t,e){const n=bt,r=document[n(428)](n(426));return r[n(393)]=n(425)+String(t[n(390)])[n(386)](),r[n(412)](n(389),e._id),r[n(412)](n(363),t.id),r[n(410)][n(372)]=It[n(370)](!0),It[n(379)](r,e),r}static[bt(404)](t,e,n,r,s=!1){const o=bt,i=t.height&&0!==t[o(423)]&&t[o(423)]!==o(347),a=document[o(428)](o(426));a[o(393)]=o(421);const c={position:o(424),overflow:o(419),display:o(353)};if(!i&&(c.height=o(347),c[o(349)]=o(348)),t[o(422)]&&0!==t[o(422)]){let e;e=typeof t[o(422)]===o(391)&&(t[o(422)][o(418)]("px")||t.width[o(418)]("%"))?t[o(422)]:t[o(422)]+"px",c[o(422)]=e}if(t[o(423)]&&0!==t.height&&t.height!==o(347)&&i){let e;e=typeof t.height===o(391)&&(t.height[o(418)]("px")||t[o(423)][o(418)]("%"))?t[o(423)]:t[o(423)]+"px",c[o(423)]=e}Object[o(367)](c)[o(396)](([t,e])=>{const n=o;a[n(410)][n(355)](t,e)});const l=document.createElement(o(426));l.className=o(385),l[o(410)][o(372)]="\n position: relative;\n width: 100%;\n "+(i?o(407):"height: auto; min-height: fit-content;")+o(408);let d=null;const u=!t[o(422)]||0===t[o(422)],p=!t[o(423)]||0===t[o(423)]||void 0===t.height||"auto"===t.height;if(u||p&&i){if(d=document.createElement(o(426)),d[o(410)].cssText=o(399),!u&&t[o(422)]){let e;e=typeof t.width===o(391)&&(t.width[o(418)]("px")||t[o(422)][o(418)]("%"))?t[o(422)]:t[o(422)]+"px",d[o(410)][o(422)]=e,d[o(410)][o(369)]="normal"}document[o(413)][o(354)](d);let n=0,r=0;e[o(396)](e=>{const s=o,i=this[s(378)](t,e);d.appendChild(i);const a=i[s(374)]();a.width>n&&(n=a.width),a[s(423)]>r&&(r=a[s(423)]),d[s(402)](i)}),u&&n>0&&(a[o(410)][o(422)]=n+"px"),p&&r>0&&i&&(a[o(410)][o(423)]=r+"px"),document[o(413)].removeChild(d)}const h=[];e[o(396)]((e,n)=>{const a=o,c=document[a(428)](a(426));c[a(393)]=a(395);const d=a(i?377:0===n?424:377);c[a(410)][a(372)]=a(375)+d+";\n top: "+(d===a(377)?"0":"auto")+a(359)+("absolute"===d?"0":a(347))+a(394)+a(i?407:368)+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+a(409)+(0===n?"0":a(382))+a(373)+(0===n?"2":"1")+";\n ";const u=this.createSimpleAdElement(t,e);tt.addClickEventForSlider(u,e,t,r,s,a(352)),c[a(354)](u),l[a(354)](c),h[a(384)](c)});let f=0;const g=e[o(411)],m=1e3*(n?.[o(350)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c[a(410)][a(398)]===a(424)&&(c[a(410)][a(398)]="absolute",c.style[a(417)]="0",c.style[a(400)]="0"),l[a(410)].position=a(424),l[a(410)].top=a(347),l[a(410)][a(400)]=a(347)),c.style[a(360)]="0",c.style.transform="translateY(-20px)",c.style[a(403)]="1",l[a(410)][a(360)]="1",l[a(410)].transform=a(401),l.style[a(403)]="2",h[a(396)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(410)][r(360)]="0",t[r(410)][r(362)]="translateY(20px)",t[r(410)][r(403)]="1",!i&&"relative"===t.style[r(398)]&&(t[r(410)][r(398)]="absolute",t[r(410)][r(417)]="0",t[r(410)][r(400)]="0"))}),f=n,Y[a(416)](e[f],t,f,r,s)};let v=setInterval(()=>{y(f+1)},m);return a.addEventListener(o(351),()=>{clearInterval(v)}),a.addEventListener(o(356),()=>{v=setInterval(()=>{y(f+1)},m)}),Et[o(358)](a,y,()=>f,g),a[o(354)](l),a}static[bt(358)](t,e,n,r){const s=bt;let o=0,i=0,a=!1;t[s(405)](s(397),t=>{o=t[s(361)][0].clientX,i=t.touches[0].clientY,a=!0}),t[s(405)](s(415),t=>{a&&t[s(387)]()}),t[s(405)](s(427),t=>{const r=s;if(!a)return;a=!1;const c=t[r(366)][0][r(383)],l=t[r(366)][0].clientY,d=o-c,u=i-l;if(Math[r(365)](d)>Math[r(365)](u)&&Math.abs(d)>50){const t=n();e(d>0?t+1:t-1)}})}}const St=At;function xt(){const t=["50cCSarw","calculateAdSize","8862pcCING","253350HWbGzM","createEventTrackingCallback","✨ Text transition created for slot: ","webkitBoxOrient","-webkit-box","createTextTransitionContainer","width","getElementById","60px","7948wztnxi","hidden","1547649TrrcDn","✨ Single text ad rendered: ","vertical","adstage-ad adstage-text-ad","style","cssText","overflow","containerId","createElement","optimizedHeight","adstage-text-content","height","debug","log","100%","237zGxaPS","length","parentElement","getDefaultHeight","_id","Text","2681bkznCq","aspectRatio","1461654udtdRE","483296jnsRWi","renderMultipleAds","number"," with ","div","213572Wbtedn","maxLines","Container not found: ","appendChild","innerHTML","webkitLineClamp","TEXT","className","config"];return(xt=function(){return t})()}function At(t,e){const n=xt();return(At=function(t,e){return n[t-=428]})(t,e)}!function(t){const e=At,n=t();for(;;)try{if(647812===-parseInt(e(458))/1+-parseInt(e(452))/2+-parseInt(e(444))/3*(-parseInt(e(479))/4)+-parseInt(e(470))/5+-parseInt(e(469))/6*(-parseInt(e(450))/7)+parseInt(e(453))/8+parseInt(e(429))/9*(parseInt(e(467))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xt);class Ct extends pt{constructor(t=!1,e){super(n[At(464)],t,e)}[St(447)](){return St(478)}async renderAdElement(t,e){const n=St,r=document[n(477)](t[n(436)]);if(!r)return;const s=document[n(437)](n(457));s[n(465)]=n(432);const o=t[n(438)],i=r[n(446)]||r;if(o)s[n(433)][n(476)]=n(443),s[n(433)][n(440)]=String(o);else{const e=t.config,r={width:e?.width,height:e?.[n(440)]},{width:o,height:a}=this[n(468)](i,r,{debug:this[n(441)]});s[n(433)].width=o,s[n(433)][n(440)]=a}const a=document[n(437)](n(457));a[n(465)]=n(439),a[n(433)][n(434)]=It.createTextAdStyles(!1),It.setTextAdContent(a,e);const c=t[n(466)]?.[n(459)];c&&typeof c===n(455)&&(a[n(433)].display=n(474),a[n(433)][n(463)]=String(c),a.style[n(473)]=n(431),a[n(433)][n(435)]=n(428)),s[n(461)](a),tt.addClickEventForRenderer(s,e,t,()=>this[n(471)](),this[n(441)],n(449)),r[n(462)]="",r[n(461)](s),this[n(441)]&&console[n(442)](n(430)+e[n(448)])}async[St(454)](t,e){const n=St,r=document[n(477)](t[n(436)]);if(!r)throw new Error(n(460)+t.containerId);const s=this[n(471)](),o={autoSlideInterval:(t[n(466)]?.slideInterval||5e3)/1e3,...t[n(466)],optimizedHeight:t[n(438)],aspectRatio:t[n(451)]},i=Et[n(475)](t,e,o,s,this[n(441)]);i&&(r.innerHTML="",r[n(461)](i),this[n(441)]&&console[n(442)](n(472)+t.id+n(456)+e[n(445)]+" ads"))}}function Tt(){const t=["warn","48202uMAarx","loop","textContent"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","getDefaultHeight","autoplay","mouseenter","height","Video fallback","contain","adstage-video-default-controls",", loop: ","scale(1.1)","hideControls","alt","116GAjrKv","img","156exWgnR","objectFit","2502egjOsk","Video","cssText","🎬 Single video rendered for VIDEO slot: ",'\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 ',"40ZaKmLO","imageUrl","208928JVHKMD","relative"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","addClickEventForRenderer","canplay",'\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 ',"🎬 Trying muted autoplay fallback...","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","getElementById","VIEWABLE","hideProgressBar","debug","hideCurrentTime","🎬 Auto-play was prevented:","hideVolumeSlider","VIDEO","🎬 Video data loaded, attempting autoplay...","100%","45oNbfgq","controls","renderVideoElementDirect","disabled (default)","paused","containerId","createElement","227IPJoJB","addEventListener","🎬 Autoplay completely failed:","hideRemainingTime","innerHTML","videoUrl","1316ElDVdO","renderMultipleAds","width"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","🎬 Video element created for ad: ","_id","error","360px",", muted: ","muted","adstage-video-container","🎬 User explicitly enabled controls, overriding default","preload","\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 ","createEventTrackingCallback","click","config","🎬 Video controls setting:","setAttribute","Click to unmute","🎬 Video config received:","src","log","stopPropagation","hideFullscreenButton","head","5628558KmcEZS","6417gnDiSh","metadata","button","catch","\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 ","none","block","\n pointer-events: none;\n ","style","appendChild","className","Click to mute","customControls"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","length","unmuted","Video load failed:","mouseleave","video","title","background","77Muvszn","transform","adstage-video-mute-button","loadeddata","138450JQBtkg","hidePlayButton","🔊 Video mute toggled: ","position","Video thumbnail"," !important;\n }\n ","Container not found: ","loadedmetadata","scale(1)"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","\n video::-webkit-media-controls-play-button {\n display: "];return(Tt=function(){return t})()}function _t(t,e){const n=Tt();return(_t=function(t,e){return n[t-=345]})(t,e)}const Rt=_t;!function(t){const e=_t,n=t();for(;;)try{if(151963===parseInt(e(465))/1*(parseInt(e(429))/2)+-parseInt(e(433))/3*(parseInt(e(350))/4)+parseInt(e(458))/5*(parseInt(e(402))/6)+-parseInt(e(398))/7*(parseInt(e(440))/8)+parseInt(e(377))/9*(parseInt(e(438))/10)+parseInt(e(414))/11*(parseInt(e(431))/12)+parseInt(e(376))/13)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Tt);class Lt extends pt{constructor(t=!1,e){super(n[_t(455)],t,e)}[Rt(418)](){return Rt(357)}async renderAdElement(t,e){const n=Rt,r=document[n(448)](t[n(463)]);if(!r)return;const s=document[n(464)]("div");s[n(387)]=n(360),s[n(385)].cssText="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this[n(460)](s,e,t),r.innerHTML="",r[n(386)](s),this.debug&&console.log("🎬 Single video ad rendered: "+e[n(355)])}async[Rt(351)](t,e){const n=Rt,r=document[n(448)](t[n(463)]);if(!r)throw new Error(n(408)+t[n(463)]);if(e[n(391)]>0){const s=e[0],o=document.createElement("div");o[n(387)]=n(360),o[n(385)][n(435)]=n(381),this[n(460)](o,s,t),r[n(348)]="",r[n(386)](o);const i=this[n(364)]();setTimeout(()=>{const e=n;i(s[e(355)],t.id,c[e(449)])},100),this[n(451)]&&console[n(372)](n(436)+t.id+" ("+s[n(355)]+")")}else this.debug&&console[n(413)]("⚠️ No video advertisements available for slot: "+t.id)}[Rt(460)](t,e,n){const r=Rt;t[r(385)][r(405)]=r(441);const s=document[r(464)](r(395));s[r(385)][r(352)]="100%",s[r(385)].height=r(457),s[r(385)].objectFit=r(423),s[r(362)]=r(378);const o=n[r(366)];if(this.debug&&console[r(372)](r(370),o),s[r(459)]=!1,s[r(419)]=!1!==o?.[r(419)],s[r(359)]=!0,s[r(415)]=!1!==o?.loop,this[r(451)]&&console[r(372)]("🎬 Final video settings:",{autoplay:s.autoplay,muted:s.muted,loop:s.loop,controls:s.controls}),!1!==o?.playsinline&&s[r(368)]("playsinline",""),!0===o?.[r(459)]&&(s[r(459)]=!0,this[r(451)]&&console[r(372)](r(361))),o?.hideControls)s[r(459)]=!1,s.style[r(435)]+=r(384);else if(o?.[r(389)]){if(s[r(459)]){const t=document[r(464)](r(385));t[r(416)]=r(412)+(o[r(389)][r(403)]?r(382):r(383))+r(442)+(o[r(389)][r(450)]?r(382):r(383))+r(390)+(o[r(389)][r(452)]?"none":"block")+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o[r(389)][r(347)]?r(382):r(383))+r(417)+(o[r(389)][r(454)]?r(382):r(383))+r(411)+(o.customControls.hideMuteButton?r(382):r(383))+r(353)+(o[r(389)][r(374)]?"none":r(383))+r(407),document[r(375)][r(386)](t)}}else if(s[r(459)]){const t=document[r(464)](r(385));t.id="adstage-video-default-controls",t[r(416)]=r(447),!document.getElementById(r(424))&&document.head.appendChild(t)}this.debug&&console.log(r(367),s[r(459)]?"enabled":r(461));const i=document.createElement(r(379));i[r(387)]=r(400),i[r(385)].cssText=r(363),o?.[r(427)]&&(i[r(385)].display=r(382));const a=()=>{const t=r,e=t(437),n=t(445);i[t(348)]=s[t(359)]?e:n,i[t(396)]=s[t(359)]?t(369):t(388)};if(a(),i[r(345)](r(365),t=>{const e=r;t[e(373)](),s.muted=!s[e(359)],a(),this[e(451)]&&console[e(372)](e(404)+(s.muted?e(359):e(392)))}),i[r(345)](r(420),()=>{const t=r;i[t(385)][t(397)]="rgba(0, 0, 0, 0.9)",i.style[t(399)]=t(426)}),i.addEventListener(r(394),()=>{const t=r;i[t(385)].background="rgba(0, 0, 0, 0.7)",i[t(385)][t(399)]=t(410)}),e.videoUrl){s[r(371)]=e[r(349)];const t=()=>{const t=r;s[t(419)]&&s[t(359)]&&s[t(462)]&&s.play()[t(380)](e=>{const n=t;this[n(451)]&&(console[n(413)](n(453),e),console.warn(n(446))),s.muted=!0,s.play().catch(t=>{const e=n;this[e(451)]&&console[e(356)](e(346),t)})})};s[r(345)](r(409),()=>{const e=r;this[e(451)]&&console[e(372)]("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(345)](r(444),()=>{const e=r;this[e(451)]&&console[e(372)]("🎬 Video can play, attempting autoplay..."),t()}),s[r(345)](r(401),()=>{const e=r;this[e(451)]&&console.log(e(456)),t()}),setTimeout(()=>{const e=r;this[e(451)]&&console[e(372)]("🎬 Initial autoplay attempt after timeout..."),t()},100)}else if(e[r(439)]){const n=document[r(464)](r(430));return n[r(371)]=e[r(439)],n[r(385)][r(352)]="100%",n[r(385)][r(421)]=r(457),n[r(385)][r(432)]=r(423),n[r(428)]=e.title||r(406),void t[r(386)](n)}tt.addClickEventForRenderer(s,e,n,()=>this[r(364)](),this[r(451)],r(434)),s.addEventListener(r(356),s=>{const o=r;if(console[o(356)](o(393),s),e.imageUrl){const r=document[o(464)](o(430));r[o(371)]=e[o(439)],r.style[o(352)]=o(457),r[o(385)][o(421)]=o(457),r.style[o(432)]=o(423),r[o(428)]=e[o(396)]||"Video thumbnail",tt[o(443)](r,e,n,()=>this[o(364)](),this[o(451)],o(422)),t[o(348)]="",t.appendChild(r)}}),t[r(386)](s),t[r(386)](i),this[r(451)]&&console[r(372)](r(354)+e[r(355)]+" (autoplay: "+s[r(419)]+r(358)+s.muted+r(425)+s[r(415)]+")")}}function Pt(t,e){const n=Nt();return(Pt=function(t,e){return n[t-=335]})(t,e)}const Dt=Pt;function Nt(){const t=["5806250itrxUi","div","Learn More","): ","\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 ","_id","115472VWJhLT","src","imageUrl","length","warn","img","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","innerHTML","linkUrl","appendChild","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","cssText","431229TdNvLv","35248LDRxye","Native Advertisement","backgroundColor","addEventListener","renderAdElement","title","button","log","36745884ELTcvA","2803170SkIWSg","getDefaultHeight","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","_blank","mouseenter","8MrqsAm","6880710DvQuNN","open","getElementById","style","alt","200px","textContent","🏠 Native ad rendered (first of ","adstage-ad adstage-native-ad","7WhrIoB","mouseleave","#3b82f6","NATIVE","className","#2563eb","createElement","debug"];return(Nt=function(){return t})()}!function(t){const e=Pt,n=t();for(;;)try{if(710424===parseInt(e(371))/1+-parseInt(e(380))/2+parseInt(e(370))/3*(parseInt(e(385))/4)+-parseInt(e(352))/5+parseInt(e(335))/6*(-parseInt(e(344))/7)+parseInt(e(358))/8+parseInt(e(379))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nt);class Bt extends pt{constructor(t=!1,e){super(n[Pt(347)],t,e)}[Dt(381)](){return Dt(340)}async[Dt(375)](t,e){const n=Dt,r=document[n(337)](t.containerId);if(!r)return;const s=document.createElement(n(353));if(s[n(348)]=n(343),s[n(338)][n(369)]="\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ",e[n(376)]){const t=document[n(350)]("h3");t.textContent=e[n(376)],t[n(338)][n(369)]=n(382),s.appendChild(t)}if(e[n(341)]){const t=document[n(350)]("p");t[n(341)]=e[n(341)],t[n(338)][n(369)]=n(368),s[n(367)](t)}if(e[n(360)]){const t=document.createElement(n(353));t[n(338)].cssText=n(364);const r=document[n(350)](n(363));r[n(359)]=e[n(360)],r[n(339)]=e[n(376)]||n(372),r.style[n(369)]="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t.appendChild(r),s[n(367)](t)}if(e.linkUrl){const t=document[n(350)](n(377));t[n(341)]=n(354),t[n(338)][n(369)]=n(356),t.addEventListener("click",()=>{const t=n;this.advertisementEventTracker&&console[t(378)]("Native click tracked for ad: "+e[t(357)]),window[t(336)](e[t(366)],t(383))}),t.addEventListener(n(384),()=>{const e=n;t[e(338)][e(373)]=e(349)}),t[n(374)](n(345),()=>{const e=n;t.style.backgroundColor=e(346)}),s[n(367)](t)}r[n(365)]="",r[n(367)](s),this[n(351)]&&console[n(378)]("🏠 Single native ad rendered: "+e[n(357)])}async renderMultipleAds(t,e){const n=Dt;e[n(361)]>0?(await this.renderAdElement(t,e[0]),this[n(351)]&&console[n(378)](n(342)+e[n(361)]+n(355)+t.id)):this[n(351)]&&console[n(362)]("⚠️ No native advertisements available for slot: "+t.id)}}function Ot(t,e){const n=Ut();return(Ot=function(t,e){return n[t-=176]})(t,e)}const Mt=Ot;function Ut(){const t=["closeInterstitial","963178PeRuZt","createElement","\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 ","fadeOut 0.3s ease-out forwards","cssText","mouseenter","⚠️ No interstitial advertisements available for slot: ","715285VTPZbL","target","400px","renderMultipleAds","adstage-interstitial-overlay","linkUrl","1wGhowB","7274533pISPIz","🖼️ Interstitial ad closed","body","addEventListener","\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 ","mouseleave","adstage-interstitial-content","4609286YeiBsW","advertisementEventTracker","232929LUaDSf","button","): ","INTERSTITIAL","removeChild","src","containerId","appendChild","log","backgroundColor","120EHOtPi","Escape","click","1837065KUjVbA","className","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","\n 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 ","head","div","70DtsJDc","open","title","3971500OGLBwV","length","textContent","#6b7280","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","#374151","warn","style","debug","key","getElementById","imageUrl","#2563eb","adstage-interstitial-styles","Interstitial click tracked for ad: ","color","renderAdElement","keydown","_blank","_id","42kvflPg","animation"];return(Ut=function(){return t})()}!function(t){const e=Ot,n=t();for(;;)try{if(605418===parseInt(e(188))/1*(parseInt(e(243))/2)+parseInt(e(211))/3+-parseInt(e(220))/4+parseInt(e(182))/5*(-parseInt(e(240))/6)+-parseInt(e(189))/7+-parseInt(e(208))/8*(parseInt(e(198))/9)+-parseInt(e(217))/10*(-parseInt(e(196))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ut);class zt extends pt{constructor(t=!1,e){super(n[Ot(201)],t,e)}getDefaultHeight(){return Ot(184)}async[Mt(236)](t,e){const n=Mt;if(!document[n(230)](t[n(204)]))return;const r=document.createElement(n(216));r[n(212)]=n(186),r.style[n(179)]="\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(176)]("div");s.className=n(195),s[n(227)][n(179)]=n(213);const o=document.createElement(n(199));if(o.innerHTML="×",o.style[n(179)]=n(214),o.addEventListener(n(210),()=>{this.closeInterstitial(r)}),o[n(192)]("mouseenter",()=>{const t=n;o[t(227)].backgroundColor="#e5e7eb",o.style[t(235)]=t(225)}),o[n(192)]("mouseleave",()=>{const t=n;o.style[t(207)]="#f3f4f6",o.style[t(235)]=t(223)}),e[n(231)]){const t=document[n(176)]("img");t[n(203)]=e[n(231)],t.alt=e[n(219)]||"Interstitial Advertisement",t[n(227)].cssText="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",s[n(205)](t)}if(e.title){const t=document.createElement("h2");t[n(222)]=e[n(219)],t[n(227)][n(179)]="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",s[n(205)](t)}if(e[n(222)]){const t=document[n(176)]("p");t.textContent=e.textContent,t.style[n(179)]=n(224),s[n(205)](t)}if(e[n(187)]){const t=document[n(176)](n(199));t[n(222)]="Get Started",t[n(227)][n(179)]=n(177),t[n(192)](n(210),()=>{const t=n;this[t(197)]&&console[t(206)](t(234)+e[t(239)]),window[t(218)](e[t(187)],t(238)),this[t(242)](r)}),t[n(192)](n(180),()=>{const e=n;t.style[e(207)]=e(232)}),t.addEventListener(n(194),()=>{const e=n;t[e(227)][e(207)]="#3b82f6"}),s[n(205)](t)}const i=t=>{const e=n;t[e(229)]===e(209)&&(this[e(242)](r),document.removeEventListener(e(237),i))};if(document.addEventListener(n(237),i),r[n(192)](n(210),t=>{t[n(183)]===r&&this.closeInterstitial(r)}),!document[n(230)](n(233))){const t=document[n(176)]("style");t.id=n(233),t.textContent=n(193),document[n(215)].appendChild(t)}s[n(205)](o),r[n(205)](s),document[n(191)][n(205)](r),this[n(228)]&&console[n(206)]("🖼️ Interstitial ad rendered: "+e._id)}async[Mt(185)](t,e){const n=Mt;e[n(221)]>0?(await this[n(236)](t,e[0]),this.debug&&console[n(206)]("🖼️ Interstitial ad rendered (first of "+e[n(221)]+n(200)+t.id)):this[n(228)]&&console[n(226)](n(181)+t.id)}[Mt(242)](t){const e=Mt;t[e(227)][e(241)]=e(178),setTimeout(()=>{const n=e;t.parentNode&&t.parentNode[n(202)](t)},300),this.debug&&console[e(206)](e(190))}}const Vt=Ft;function Ft(t,e){const n=jt();return(Ft=function(t,e){return n[t-=153]})(t,e)}function jt(){const t=["adstage-ad adstage-","width","div","advertisement","renderers","setAttribute","backgroundColor","naturalHeight","display","padding","src","log","debug","renderAd"," renderers","Failed to load image: ","3625902Lsqwor","1px dashed #ccc","BANNER","set","height","6346872iyDmiV","get","renderFallback","188219tEnoHI"," Ad","INTERSTITIAL","3VPqHbP","20JVFlPs","No advertisement to render","1236568tYCoND","964115EwyjYR","createAdElement","optimizeContainerForBannerAds","onerror","NATIVE","405120PYVkxI","border","[AdRenderer] ","VIDEO","8px","calculateOptimalContainerSize","renderAdElement","#f9f9f9","className","⚠️ Container optimization is only supported for BANNER ads, got: ","100%","🏭 AdRenderer factory initialized with ","style","size","cover","createElement","TEXT","getRenderer","calculateAdSize","No renderer found for ad type: ","block","createPlaceholder","isLoaded","initializeRenderers","advertisementEventTracker","objectFit","imageUrl","2334066sTvwXQ","getDefaultHeightForAdType","config","warn","textContent","appendChild","data-adstage-slot-id","adType","renderOptimizedBannerImage","renderAdSlider","getDefaultHeight","toLowerCase"];return(jt=function(){return t})()}!function(t){const e=Ft,n=t();for(;;)try{if(685199===parseInt(e(218))/1+parseInt(e(224))/2*(-parseInt(e(221))/3)+parseInt(e(222))/4*(parseInt(e(225))/5)+parseInt(e(182))/6+parseInt(e(210))/7+-parseInt(e(155))/8+-parseInt(e(215))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(jt);class Kt{constructor(t=!1,e){const n=Ft;this[n(198)]=new Map,this[n(206)]=t,this.advertisementEventTracker=e||null,this[n(178)]()}[Vt(178)](){const t=Vt;this[t(198)].set(n[t(212)],new mt(this[t(206)],this.advertisementEventTracker)),this[t(198)].set(n[t(171)],new Ct(this.debug,this[t(179)])),this[t(198)].set(n[t(158)],new Lt(this[t(206)],this[t(179)])),this[t(198)][t(213)](n[t(154)],new Bt(this.debug,this[t(179)])),this[t(198)][t(213)](n[t(220)],new zt(this.debug,this[t(179)])),this.debug&&console[t(205)](t(166)+this[t(198)][t(168)]+t(208))}[Vt(226)](t,e){const r=Vt,s=this.getRenderer(t[r(189)]),o=document[r(170)](r(196));o[r(163)]=r(194)+String(t[r(189)])[r(193)](),o[r(199)]("data-adstage-ad-id",e._id),o[r(199)](r(188),t.id);const{width:i,height:a}=s.calculateAdSize(o,t[r(184)]||{},e);switch(o[r(167)][r(195)]=i,o[r(167)].height=a,o[r(167)][r(202)]=r(175),t.adType){case n[r(212)]:if(e[r(181)]){const t=document[r(170)]("img");t[r(204)]=e.imageUrl,t[r(167)][r(195)]=r(165),t[r(167)][r(214)]=r(165),t[r(167)][r(180)]=r(169),o[r(187)](t)}break;case n[r(158)]:if(e.videoUrl){const t=document.createElement("video");t[r(204)]=e.videoUrl,t[r(167)][r(195)]=r(165),t.style[r(214)]=r(165),o[r(187)](t)}break;case n.TEXT:if(e[r(186)]){const t=document[r(170)]("div");t[r(186)]=e[r(186)]||"",t[r(167)][r(203)]=r(159),o.appendChild(t)}break;default:o[r(167)][r(156)]=r(211),o.style[r(200)]=r(162),o[r(186)]=t.adType+r(219)}return o}[Vt(172)](t){const e=Vt,n=this[e(198)][e(216)](t);if(!n)throw new Error(e(174)+t);return n}[Vt(176)](t,e,n,r,s){this[Vt(172)](n).createPlaceholder(t,e,r,s)}async[Vt(227)](t,e){const r=Vt;if(t[r(189)]!==n[r(212)])return void(this.debug&&console[r(185)](r(164)+t[r(189)]));const s=this[r(172)](n.BANNER);await s[r(227)](t,e)}async[Vt(191)](t,e){const n=Vt,r=this[n(172)](t[n(189)]);await r.renderMultipleAds(t,e)}async[Vt(207)](t){const e=Vt;if(!t[e(197)])throw new Error(e(223));const n=this[e(172)](t[e(189)]);await n[e(161)](t,t[e(197)]),t[e(177)]=!0}async renderAdElement(t,e){const n=Vt,r=this[n(172)](t[n(189)]);await r.renderAdElement(t,e)}[Vt(217)](t){const e=Vt;this[e(172)](t[e(189)])[e(217)](t)}[Vt(183)](t){const e=Vt;return this[e(172)](t)[e(192)]()}calculateAdSize(t,e,n,r){const s=Vt;return this[s(172)](e)[s(173)](t,n,r)}loadImageDimensions(t){return new Promise((e,n)=>{const r=Ft,s=new Image;s.onload=()=>{const t=Ft;e({width:s.naturalWidth,height:s[t(201)]})},s[r(153)]=()=>{n(new Error(r(209)+t))},s.src=t})}async[Vt(190)](t,e,r){const s=Vt;if(r[s(189)]!==n[s(212)])throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const o=this[s(172)](n.BANNER);return await o[s(190)](t,e,r)}async calculateOptimalContainerSize(t,e,r){const s=Vt;if(r!==n[s(212)]){const t=this[s(172)](r);return{width:s(165),height:t[s(192)](),aspectRatio:16/9}}const o=this[s(172)](n.BANNER);return await o[s(160)](t,e)}log(t,...e){const n=Vt;this[n(206)]&&console[n(205)](n(157)+t,...e)}}function Ht(){const t=["innerHTML","length","clear","advertisement","interstitial","isReady","loadAdContentInBackground","toString","BANNER","list","width","trackAdvertisementEvent","✅ Ad loaded for slot: ","log","getAttribute","observe","autoSlide","7322371ZXWjsC","adRenderer","2348yTvPxC","handleRemovedElement","Failed to refresh ad slot: ","renderAd","append","getSlotById","controls","50tEQIwD","hideControls","default"," ads)","getAllSlots","optimizeContainerForBannerAds","renderAdSlider","_config","debug","VIEWABLE","❌ Failed to track viewable impression:","slots","getConfig","startSimpleViewabilityTracking","getElementById","adType","1674563ocpedT","GET","set","80696nmYUas","nodeType","🔄 Ad slot refreshed: ","[data-adstage-slot-id]","createAd","language","fetchAdData","detail","auto","setAttribute","📊 Fetched specific ad with ID: ","6735612JaXawI","🗑️ Ad slot destroyed: ","createAdWithRetry","removedNodes"," removed","error","setupAutoCleanup","ensureReady","now","values","refreshAdSlot","forEach",". Retrying in ","delete"," (element found)"," attempts: ","create","INTERSTITIAL","1448964kKLjIF","undefined","renderFallback","adId","advertisements","createAdInternal","ms... (attempt ","auto-","json","muted","customControls","TEXT","🎯 Ads module initialized (sync mode) with auto-cleanup","advertisementEventTracker","VIDEO","getBaseUrl","🚫 Advertisement not found with ID: "," ads automatically","video","data-adstage-slot-id","deviceType","531yANyOj","autoplay","autoDestroy","Container not found: ","945ljPtSQ","warn","2092wyTGlK","_isReady","🎯 Simple viewability tracking started for slot: ","🗑️ Ads module destroyed","NATIVE","handleViewableEvent","Auto-cleanup failed for slot ","destroy","body","containerId","apiKey","광고 생성 중 오류 발생:","ELEMENT_NODE","_id","native","string","100%"," ads for type: ","renderAdElement","API key not configured","status","country","text","get","style","New advertisement viewable tracked for slot:","adstage-","from","335GKvlkl","loop","❌ Failed to find element for viewability tracking: ","mutationObserver","📊 Advertisement event tracking enabled for slot: ","height","onClick","Failed to fetch ad data: ","destroyModule","disconnect","random","config","substr","viewabilityTracker"];return(Ht=function(){return t})()}const Wt=Gt;function Gt(t,e){const n=Ht();return(Gt=function(t,e){return n[t-=139]})(t,e)}!function(t){const e=Gt,n=t();for(;;)try{if(666008===parseInt(e(222))/1*(-parseInt(e(228))/2)+-parseInt(e(201))/3+-parseInt(e(146))/4*(parseInt(e(256))/5)+-parseInt(e(183))/6+parseInt(e(144))/7+parseInt(e(172))/8*(parseInt(e(226))/9)+parseInt(e(153))/10*(parseInt(e(169))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ht);class Jt{constructor(){const t=Gt;this._isReady=!1,this[t(160)]=null,this[t(164)]=new Map,this[t(214)]=null,this[t(145)]=null,this[t(259)]=null}init(t){const e=Gt;this[e(160)]=t,this[e(214)]=new B(G[e(216)](),t.apiKey,t.debug||!1,this[e(164)]),this.adRenderer=new Kt(t[e(161)]||!1,this[e(214)]),this[e(189)](),this[e(229)]=!0,t[e(161)]&&console.log(e(213))}[Wt(275)](){return this[Wt(229)]}[Wt(165)](){return this[Wt(160)]}banner(t,e){const r=Wt;this.ensureReady();const s={width:e?.[r(280)]||"100%",height:e?.[r(261)]||r(180),autoSlide:e?.[r(143)]||!1,slideInterval:e?.slideInterval||5e3,onClick:e?.[r(262)],adId:e?.[r(204)],language:e?.[r(177)],deviceType:e?.deviceType,country:e?.[r(249)]};return this[r(176)](t,n[r(278)],s)}[Wt(250)](t,e){const r=Wt;this[r(190)]();const s={maxLines:e?.maxLines||3,style:e?.[r(252)]||r(155),onClick:e?.[r(262)],adId:e?.[r(204)],language:e?.[r(177)],deviceType:e?.[r(221)],country:e?.[r(249)]};return this.createAd(t,n[r(212)],s)}[Wt(219)](t,e){const r=Wt;this[r(190)]();const s={width:e?.[r(280)]||640,height:e?.height||360,autoplay:void 0===e?.[r(223)]||e.autoplay,muted:void 0===e?.[r(210)]||e[r(210)],loop:void 0===e?.loop||e[r(257)],playsinline:!1!==e?.playsinline,controls:void 0!==e?.controls&&e[r(152)],hideControls:e?.[r(154)]||!1,customControls:e?.[r(211)],autoSlide:!1,maxAds:1,onClick:e?.[r(262)],...e?.[r(204)]&&{adId:e.adId}};return this[r(176)](t,n[r(215)],s)}[Wt(242)](t,e){const r=Wt;return this[r(190)](),this[r(176)](t,n[r(232)],e||{})}[Wt(274)](t,e){const r=Wt;return this.ensureReady(),this[r(176)](t,n[r(200)],e||{})}refresh(t){const e=Wt;this[e(190)]();const n=this[e(164)].get(t);if(!n)throw new Error("Ad slot not found: "+t);this[e(193)](n),this[e(160)]?.[e(161)]&&console[e(140)](e(174)+t)}[Wt(235)](t){const e=Wt;this[e(190)]();const n=this[e(164)].get(t);if(!n)return void(this[e(160)]?.[e(161)]&&console.log("🔍 Ad slot already cleaned up: "+t));n[e(269)]&&n[e(269)].destroy();const r=document[e(167)](n[e(237)]);r&&(r[e(270)]=""),this.slots[e(196)](t),this[e(160)]?.[e(161)]&&console[e(140)](e(184)+t)}[Wt(157)](){const t=Wt;return this.ensureReady(),Array[t(255)](this[t(164)][t(192)]())}[Wt(151)](t){const e=Wt;return this[e(190)](),this.slots[e(251)](t)||null}createAd(t,e,n){const r=Wt;if(!this[r(160)]?.[r(238)])throw new Error(r(247));const s=r(254)+e+"-"+Date[r(191)]()+"-"+Math[r(266)]()[r(277)](36)[r(268)](2,9);return this[r(185)](t,e,n,s,0),s}async[Wt(185)](t,e,n,r,s){const o=Wt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(243)){if(a=t,c=document[o(167)](t),!c)return s<4?(this._config?.debug&&console[o(227)](o(225)+t+o(195)+i[s+1]+o(207)+(s+1)+"/5)"),void setTimeout(()=>{this[o(185)](t,e,n,r,s+1)},i[s+1])):void console[o(188)]("Container not found after 5"+o(198)+t)}else c=t,a=c.id||o(208)+r,!c.id&&(c.id=a);try{this.createAdInternal(a,e,n,r,c)}catch(t){console[o(188)](o(239),t)}}[Wt(206)](t,e,r,s,o){const i=Wt;o[i(181)]("data-adstage-slot-id",s),this[i(145)]?.createPlaceholder(o,s,e,r,this._config);const a={id:s,containerId:t,adType:e,width:r[i(280)]||i(244),height:r[i(261)]||(e===n[i(212)]?i(180):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...r},load:async()=>this[i(178)](e,r).then(t=>t[0]||null),render:t=>this[i(145)]?.[i(246)](a,t),refresh:async()=>this[i(193)](a),destroy:()=>this[i(235)](s)};this.slots[i(171)](s,a),this[i(276)](a),this[i(214)]&&this._config?.[i(161)]&&console[i(140)](i(260)+s)}async[Wt(276)](t){const e=Wt;try{const r=await this.fetchAdData(t[e(168)],t[e(267)]);if(!r||0===r[e(271)])return void this[e(145)]?.renderFallback(t);t[e(168)]===n.BANNER&&r[e(271)]>0&&await(this[e(145)]?.[e(158)](t,r)),r[e(271)]>1||t[e(267)]?.autoSlide?(await(this.adRenderer?.[e(159)](t,r)),this[e(160)]?.[e(161)]&&console[e(140)]("🎠 Slider will handle VIEWABLE events for "+r[e(271)]+e(218))):(t[e(273)]=r[0],await(this[e(145)]?.[e(246)](t,r[0])),this[e(166)](t,r[0])),t.isLoaded=!0,this[e(160)]?.[e(161)]&&console.log(e(139)+t.id+" ("+r.length+e(156))}catch(n){console.error("❌ Failed to load ad for slot: "+t.id,n),this[e(145)]?.[e(203)](t)}}[Wt(166)](t,e){const n=(r=0)=>{const s=Gt,o=document[s(167)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(160)]?.[s(161)]&&console[s(140)]("🔄 Retrying viewability tracking for slot: "+t.id+" (attempt "+(r+1)+")")):console.warn(s(258)+t.id));const i=new z(o,async()=>{const n=s;await this[n(233)](e,t)});t[s(269)]=i,this[s(160)]?.debug&&console.log(s(230)+t.id+s(197))};n()}async[Wt(233)](t,e){const n=Wt;try{this[n(214)]&&(await this[n(214)][n(281)](t[n(241)],e.id,c[n(162)]),this[n(160)]?.[n(161)]&&console[n(140)]("✅ Simple viewable impression tracked for ad "+t[n(241)]))}catch(t){console.error(n(163),t)}}async[Wt(178)](t,e){const n=Wt;if(!this._config?.[n(238)])throw new Error("API key not configured");if(e[n(204)]){const t=""+G[n(205)][n(179)](e[n(204)]),r=await fetch(t,{method:n(170),headers:R[n(199)](this[n(160)].apiKey)});if(!r.ok){if(404===r.status)return console[n(227)](n(217)+e[n(204)]),[];throw new Error(n(263)+r[n(248)])}const s=await r[n(209)]();return this[n(160)]?.[n(161)]&&console[n(140)](n(182)+e[n(204)],s),[s]}const r=new URLSearchParams;r[n(150)]("adType",t),e[n(177)]&&r[n(150)](n(177),e[n(177)]),e[n(221)]&&r.append("deviceType",e[n(221)]),e[n(249)]&&r[n(150)](n(249),e[n(249)]);const s=G[n(205)][n(279)]()+"?"+r[n(277)](),o=await fetch(s,{method:"GET",headers:R.create(this[n(160)][n(238)])});if(!o.ok)throw new Error(n(263)+o[n(248)]);const i=(await o.json())[n(205)]||[];return this[n(160)]?.[n(161)]&&console[n(140)]("📊 Fetched "+i[n(271)]+n(245)+t+", filters:",{language:e[n(177)],deviceType:e[n(221)],country:e.country}),i}async[Wt(193)](t){const e=Wt;try{const n=await this[e(178)](t[e(168)],t[e(267)]||{});n&&n[e(271)]>0&&(t.advertisement=n[0],await(this[e(145)]?.[e(149)](t)),this[e(214)]&&console[e(140)](e(253),t.id))}catch(n){console.error(e(148)+t.id,n)}}[Wt(190)](){if(!this[Wt(229)])throw new Error("Ads module not initialized. Call AdStage.init() first.")}[Wt(189)](){const t=Wt;typeof window!==t(202)&&typeof document!==t(202)&&(this.mutationObserver&&this[t(259)][t(265)](),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(194)](t=>{const e=n;t[e(186)].forEach(t=>{const n=e;t[n(173)]===Node[n(240)]&&this[n(147)](t)})})}),this.mutationObserver[t(142)](document[t(236)],{childList:!0,subtree:!0}),this[t(160)]?.debug&&console.log("🔍 Auto-cleanup MutationObserver enabled"))}[Wt(147)](t){const e=Wt,n=t.getAttribute(e(220));if(n)return void this[e(224)](n);t.querySelectorAll(e(175)).forEach(t=>{const n=e,r=t[n(141)](n(220));r&&this[n(224)](r)})}autoDestroy(t){const e=Wt,n=this.slots[e(251)](t);if(n)try{n[e(269)]&&n[e(269)][e(235)](),this.slots[e(196)](t),this[e(160)]?.[e(161)]&&console[e(140)]("🧹 Auto-cleanup: slot "+t+e(187))}catch(n){this[e(160)]?.debug&&console.warn(e(234)+t+":",n)}}[Wt(264)](){const t=Wt,e=this._config?.[t(161)];this[t(259)]&&(this[t(259)][t(265)](),this[t(259)]=null),this.slots[t(272)](),this[t(214)]=null,this[t(145)]=null,this[t(229)]=!1,this._config=null,e&&console.log(t(231))}}var qt=Xt;function Xt(t,e){var n=Yt();return(Xt=function(t,e){return n[t-=392]})(t,e)}function Yt(){var t=["625167XrQdhk","getOrganizationInfo","4456364dMgRqT","_config","isDebugMode","70mPXGoJ","7530564sxompZ","Config module not initialized","🔄 Config updated","89662pHAQuK","35413752rfJRvw","_organizationInfo","_isReady","setBaseUrl","getApiEndpoint","apiKey","49ckSDfR","1031512scAWIl","getEnabledModules","5wqNLvt","isModuleEnabled","debug","baseUrl","getConfig","development","init","90lYSxpl","82911KjEFxz","log","create","includes"];return(Yt=function(){return t})()}!function(t){for(var e=Xt,n=t();;)try{if(709602===parseInt(e(405))/1+parseInt(e(418))/2*(-parseInt(e(404))/3)+-parseInt(e(411))/4+-parseInt(e(397))/5*(-parseInt(e(415))/6)+-parseInt(e(394))/7*(parseInt(e(395))/8)+parseInt(e(409))/9*(-parseInt(e(414))/10)+parseInt(e(419))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yt);class Qt{constructor(){var t=Xt;this[t(421)]=!1,this[t(412)]=null,this._organizationInfo=null}[qt(403)](t){var e=qt;this._config={timeout:3e4,debug:!1,modules:["ads","events","config"],...t},t[e(400)]&&G[e(422)](t[e(400)]),this[e(421)]=!0,t[e(399)]&&console[e(406)]("✅ Config module initialized (sync mode)",{modules:this[e(412)].modules,endpoint:G.getBaseUrl(),mode:e(402)})}isReady(){return this[qt(421)]}[qt(401)](){return this[qt(412)]}[qt(410)](){return this[qt(420)]}[qt(392)](){return G.getBaseUrl()}isDebugMode(){var t=qt;return this._config?.[t(399)]||!1}[qt(396)](){var t=qt;return this[t(412)]?.modules||[]}[qt(398)](t){var e=qt;return this.getEnabledModules()[e(408)](t)}updateConfig(t){var e=qt;if(!this[e(412)])throw new Error(e(416));this[e(412)]={...this[e(412)],...t},this[e(413)]()&&console[e(406)](e(417),t)}getApiHeaders(){var t=qt;if(!this[t(412)]?.[t(393)])throw new Error("API key not available");return R[t(407)](this[t(412)].apiKey)}}function Zt(t,e){const n=te();return(Zt=function(t,e){return n[t-=418]})(t,e)}const $t=Zt;function te(){const t=["7282982CxnnFx","getAutoDetectedDeviceInfo","tablet","ko-KR","Mobile Web","getViewportInfo","mapPlatformForEvents","2682030CQuQqX","getDeviceInfo","0x0","2403920jrmfRG","clearDeviceInfo","8LjsZzA","16Wrqtmx","isBrowser","width","setDeviceInfo","66848gqvXhL","userAgent","language","7620579qnXRDb","_userProvidedDeviceInfo","Desktop Web","desktop","height","toLowerCase","4406000yiJRQs","getDetailedInfo","SSR","iOS","test","Android","460302EhnIvB","Unknown","setDeviceProperty","getPlatform","cookieEnabled"];return(te=function(){return t})()}!function(t){const e=Zt,n=t();for(;;)try{if(582036===parseInt(e(440))/1*(parseInt(e(435))/2)+-parseInt(e(418))/3*(parseInt(e(436))/4)+parseInt(e(449))/5+-parseInt(e(430))/6+parseInt(e(423))/7+parseInt(e(433))/8+-parseInt(e(443))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(te);class ee{static[$t(431)](){const t=$t;return{...ee.getAutoDetectedDeviceInfo(),...ee[t(444)]}}static[$t(424)](){const t=$t;if(!v[t(437)]())return{category:"other",platform:t(451),model:t(451),osVersion:t(451)};const e=navigator[t(441)][t(448)]();let n=t(446);/tablet|ipad/[t(453)](e)?n=t(425):C.isMobile()&&(n="mobile");const r=C[t(421)]();return{category:n,platform:ee.mapPlatformForEvents(r),model:navigator.platform,osVersion:navigator.platform,deviceId:C.generateDeviceId()}}static[$t(439)](t){const e=$t;ee._userProvidedDeviceInfo={...ee[e(444)],...t}}static[$t(420)](t,e){ee._userProvidedDeviceInfo[t]=e}static[$t(434)](){ee[$t(444)]={}}static getUserDeviceInfo(){return{...ee[$t(444)]}}static[$t(429)](t){const e=$t;switch(t){case"ios":return e(452);case"android":return e(454);case"web":return e(427);case e(446):return e(445);default:return e(419)}}static[$t(450)](){const t=$t;if(!v[t(437)]())return{userAgent:t(451),language:t(426),platform:t(451),cookieEnabled:!1,onLine:!0,screenResolution:"0x0",viewportSize:t(432)};const e=v[t(428)]();return{userAgent:navigator[t(441)],language:navigator[t(442)]||t(426),platform:navigator.platform,cookieEnabled:navigator[t(422)],onLine:navigator.onLine,screenResolution:screen[t(438)]+"x"+screen[t(447)],viewportSize:e[t(438)]+"x"+e[t(447)]}}}ee[$t(444)]={};const ne=re;function re(t,e){const n=oe();return(re=function(t,e){return n[t-=251]})(t,e)}!function(t){const e=re,n=t();for(;;)try{if(552467===parseInt(e(259))/1+-parseInt(e(256))/2+parseInt(e(253))/3*(parseInt(e(255))/4)+-parseInt(e(258))/5*(-parseInt(e(273))/6)+-parseInt(e(264))/7+parseInt(e(270))/8+-parseInt(e(262))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(oe);class se{static[ne(267)](){const t=ne;return{...se[t(265)](),...se[t(257)]}}static getBaseUserInfo(){const t=ne;if(!v[t(272)]())return{language:t(263),country:"KR"};const e=navigator[t(274)]||t(263);return{language:e,country:se[t(260)](e)}}static[ne(260)](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[ne(269)]("-")[0]]||"KR"}static[ne(261)](t){se._userProperties={...se._userProperties,...t}}static[ne(268)](t,e){se[ne(257)][t]=e}static[ne(271)](){se[ne(257)]={}}static getCurrentUserProperties(){return{...se[ne(257)]}}static estimateLocation(){const t=ne;if(!v[t(272)]())return{timezone:t(251),estimatedCountry:"KR"};const e=Intl[t(252)]()[t(266)]()[t(254)];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(){const t=["isBrowser","342894JAtqyu","language","UTC","DateTimeFormat","9JTIQNw","timeZone","1136612xHnLjp","203128yOVcXV","_userProperties","45oRJeZh","519276FubLwQ","extractCountryFromLanguage","setUserProperties","11172600ZwdLFu","ko-KR","5562060LmNokx","getBaseUserInfo","resolvedOptions","getUserInfo","setUserProperty","split","6431480Bonxbi","clearUserProperties"];return(oe=function(){return t})()}function ie(){const t=["5070056iZgRwm","917193WmeCce","linkedin.ads","microsoft.ads","utm_content","undefined","removeItem","CLICK_ID_KEYS","tiktok.ads","nclid","utm_source","msclkid","20152630sbjNuF","length","setItem","ttclid","twitter.ads","adstage_referrer","true","hasClickId","parse","9pIaSNb","STORAGE_KEY","keys","adstage_last_click_id","ad_group_id","adstage_tracking_params","liclid","location","channel","term","stringify","hasParams","Failed to store tracking params:","adstage","19122wLewMC","ad_creative","fbclid","4201700jPgmaZ","1137iAHBuC","3046awyKkd","ALL_KEYS","campaign","Failed to parse adstage_referrer:","warn","search","utm_term","gclid","meta.ads","get","store","UTM_KEYS","CAMPAIGN_KEYS","ad_group","utm_campaign","markClickEventSent","campaign_id","captureFromUrl","utm_medium","getItem","1974AvNCzt","adGroup","google.ads","adstage_click_event_sent","isClickEventSent","adGroupId","creative_id","21752HXOBsl","twclid","campaignId"];return(ie=function(){return t})()}se._userProperties={};const ae=ce;function ce(t,e){const n=ie();return(ce=function(t,e){return n[t-=152]})(t,e)}!function(t){const e=ce,n=t();for(;;)try{if(564532===-parseInt(e(213))/1+parseInt(e(182))/2*(parseInt(e(181))/3)+-parseInt(e(209))/4+-parseInt(e(180))/5+-parseInt(e(177))/6*(parseInt(e(202))/7)+-parseInt(e(212))/8*(-parseInt(e(163))/9)+parseInt(e(154))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ie);class le{static[ae(199)](){const t=ae;if("undefined"==typeof window)return null;const e=new URLSearchParams(window[t(170)][t(187)]),n={};let r=!1;const s=e[t(191)](t(159));if(s)try{const e=decodeURIComponent(s),o=new URLSearchParams(e);for(const e of le[t(183)]){const s=o[t(191)](e);s&&(n[e]=s,r=!0)}o.get(t(176))===t(160)&&(r=!0)}catch(e){console[t(186)](t(185),e)}for(const s of le[t(183)]){if(n[s])continue;const o=e[t(191)](s);o&&(n[s]=o,r=!0)}return r?(n.channel||(n.gclid?n[t(171)]=t(204):n[t(179)]?n.channel=t(190):n[t(157)]?n[t(171)]=t(220):n.nclid?n[t(171)]="naver.searchad":n[t(169)]?n.channel=t(214):n[t(153)]?n.channel=t(215):n[t(210)]&&(n[t(171)]=t(158))),le[t(192)](n),n):null}static[ae(192)](t){const e=ae;if(typeof window!==e(217))try{const n={...le[e(191)](),...t},r=JSON[e(173)](n);try{sessionStorage[e(156)](le.STORAGE_KEY,r)}catch(t){}try{localStorage[e(156)](le[e(164)],r)}catch(t){}}catch(t){console[e(186)](e(175),t)}}static get(){const t=ae;if("undefined"==typeof window)return null;try{const e=sessionStorage?.getItem(le.STORAGE_KEY);if(e)return JSON[t(162)](e)}catch(t){}try{const e=localStorage?.[t(201)](le[t(164)]);if(e)return JSON.parse(e)}catch(t){}return null}static clear(){const t=ae;if(typeof window!==t(217)){try{sessionStorage?.removeItem(le[t(164)])}catch(t){}try{localStorage?.[t(218)](le[t(164)])}catch(t){}}}static[ae(174)](){const t=ae,e=le[t(191)]();return null!==e&&Object[t(165)](e)[t(155)]>0}static hasClickId(){const t=ae,e=le[t(191)]();return!!e&&le[t(219)].some(t=>e[t])}static shouldSendClickEvent(){const t=ae;if(typeof window===t(217))return!1;const e=le[t(191)]();if(!e||!le[t(161)]())return!1;const n=e[t(189)]||e[t(179)]||e[t(157)]||e[t(221)]||e[t(169)]||e[t(153)]||e[t(210)];if(!n)return!1;return n!==sessionStorage[t(201)](t(166))&&(sessionStorage[t(156)](t(166),n),!0)}static[ae(197)](){const t=ae;"undefined"!=typeof window&&sessionStorage[t(156)](t(205),t(160))}static[ae(206)](){return"undefined"!=typeof window&&"true"===sessionStorage[ae(201)]("adstage_click_event_sent")}static toAttributionObject(){const t=ae,e=le.get();if(!e)return null;const n={};return e[t(189)]&&(n[t(189)]=e[t(189)]),e.fbclid&&(n[t(179)]=e.fbclid),e[t(157)]&&(n[t(157)]=e[t(157)]),e[t(221)]&&(n[t(221)]=e[t(221)]),e[t(171)]&&(n[t(171)]=e[t(171)]),e.campaign&&(n[t(184)]=e[t(184)]),e[t(198)]&&(n[t(211)]=e[t(198)]),e[t(195)]&&(n[t(203)]=e.ad_group),e[t(167)]&&(n[t(207)]=e[t(167)]),e.ad_creative&&(n.adCreative=e[t(178)]),e.creative_id&&(n.creativeId=e[t(208)]),e[t(172)]&&(n.term=e[t(172)]),e[t(152)]&&(n[t(152)]=e[t(152)]),e[t(200)]&&(n[t(200)]=e.utm_medium),e[t(196)]&&(n[t(196)]=e[t(196)]),e.utm_content&&(n[t(216)]=e[t(216)]),e[t(188)]&&(n[t(188)]=e[t(188)]),Object[t(165)](n)[t(155)]>0?n:null}}function de(){const t=["2629305ErWTjs","4exAOwg","Event data:","isReady","8004451Rvpzgy","debug","init","setDeviceInfo","👤 User properties set:","clearDeviceInfo","❌ Failed to register attribution:","stringify","1089871VamZYY","getItem","keys","getAttributionId","❌ Failed to track event:","warn","✅ Event tracked:","🔑 Request headers:","track","getCurrentUserProperties","adstage_attribution_id","sendAttributionToServer","📱 Device info set:","⏭️ No tracking parameters found, skipping attribution registration","Events module not initialized. Call AdStage.init() first.","📡 Request URL:","log","registerAttribution","_isReady","attributionId","setDeviceProperty","4343973GnFoIF","5622gEeqxV","API key not configured for attribution registration.","📦 Attribution request body:","text","✅ Attribution registered:","getConfig","statusText","length","apiKey","2808720wPcFiE","getDeviceInfo","1964210jLAivm","6965gMiZRg","❌ API Error Response:","📡 Attribution request URL:","setItem","getUserProperties","events","_config","status","trackWithAttributionId","getUserInfo","API key not configured for event tracking.","getUserDeviceInfo","setUserProperties","Attribution registration failed: ","create","POST","📦 Request body:","Event tracking failed: ","error","toAttributionObject","📊 Attribution included:","undefined","sendEventToServer","json"];return(de=function(){return t})()}le.STORAGE_KEY=ae(168),le[ae(219)]=[ae(189),ae(179),ae(157),ae(221),ae(169),ae(153),ae(210)],le[ae(194)]=[ae(171),ae(184),"campaign_id",ae(195),"ad_group_id",ae(178),ae(208),ae(172)],le[ae(193)]=[ae(152),ae(200),ae(196),ae(216),ae(188)],le.ALL_KEYS=[...le[ae(219)],...le.CAMPAIGN_KEYS,...le[ae(193)]];const ue=pe;function pe(t,e){const n=de();return(pe=function(t,e){return n[t-=248]})(t,e)}!function(t){const e=pe,n=t();for(;;)try{if(750774===parseInt(e(263))/1+-parseInt(e(296))/2+parseInt(e(284))/3*(parseInt(e(252))/4)+-parseInt(e(297))/5*(parseInt(e(285))/6)+parseInt(e(255))/7+-parseInt(e(294))/8+-parseInt(e(251))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(de);class he{constructor(){const t=pe;this._isReady=!1,this[t(303)]=null}[ue(257)](t){const e=ue;this._config=t,this[e(281)]=!0,t[e(256)]&&console[e(279)]("📊 Events module initialized")}[ue(254)](){return this[ue(281)]}[ue(290)](){return this._config}[ue(309)](t){const e=ue;se.setUserProperties(t),this._config?.debug&&console[e(279)](e(259),t)}[ue(301)](){return se[ue(272)]()}setDeviceInfo(t){const e=ue;ee[e(258)](t),this[e(303)]?.[e(256)]&&console[e(279)](e(275),t)}setDeviceProperty(t,e){const n=ue;ee[n(283)](t,e),this._config?.debug&&console[n(279)]("📱 Device property set:",t,e)}[ue(260)](){const t=ue;ee[t(260)](),this._config?.[t(256)]&&console.log("📱 User provided device info cleared")}[ue(308)](){return ee[ue(308)]()}[ue(295)](){return ee[ue(295)]()}getUserInfo(){return se[ue(306)]()}[ue(272)](){return se[ue(272)]()}async[ue(271)](t,e){const n=ue;if(this[n(281)])if(this[n(303)]?.apiKey)try{const r=this[n(266)]();if(r){const s={eventName:t,sdkVersion:E(),device:ee[n(295)](),user:se[n(306)](),attributionId:r,params:e||{}};return await this[n(249)](s),void(this[n(303)][n(256)]&&console[n(279)]("✅ Event tracked with attribution ID:",t,r))}const s=le[n(316)](),o={eventName:t,sdkVersion:E(),device:ee[n(295)](),user:se[n(306)](),...s&&{attribution:s},params:e||{}};await this.sendEventToServer(o),this[n(303)][n(256)]&&(console[n(279)](n(269),t,e),s&&console.log(n(317),s))}catch(r){console[n(315)](n(267),r),this._config[n(256)]&&console[n(315)](n(253),{eventName:t,properties:e})}else console.warn(n(307));else console[n(268)](n(277))}async[ue(280)](t){const e=ue;if(!this._isReady)return console[e(268)]("Events module not initialized. Call AdStage.init() first."),null;if(!this[e(303)]?.[e(293)])return console[e(268)](e(286)),null;try{const n=le.get();if(!n||0===Object[e(265)](n)[e(292)])return this._config[e(256)]&&console[e(279)](e(276)),null;const r=await this[e(274)]({deviceId:t,referrerParams:n});if(this[e(303)][e(256)]&&console[e(279)](e(289),r),r.attributionId){try{localStorage[e(300)](e(273),r[e(282)])}catch(t){}try{sessionStorage[e(300)](e(273),r[e(282)])}catch(t){}}return r}catch(t){return console.error(e(261),t),null}}[ue(266)](){const t=ue;if(typeof window===t(248))return null;try{const e=sessionStorage[t(264)](t(273));if(e)return e}catch(t){}try{return localStorage[t(264)](t(273))}catch(t){}return null}async[ue(305)](t,e){return this[ue(271)](t,e)}async[ue(249)](t){const e=ue,n={...R[e(311)](this[e(303)][e(293)]),"Content-Type":"application/json"};this[e(303)]?.debug&&(console.log(e(270),n),console[e(279)](e(278),G.events[e(271)]()),console[e(279)](e(313),t));const r=await fetch(G.events[e(271)](),{method:e(312),headers:n,body:JSON[e(262)](t)});if(!r.ok){const t=await r[e(288)]();throw console[e(315)](e(298),t),new Error(e(314)+r[e(304)]+" "+r[e(291)])}}async[ue(274)](t){const e=ue,n={...R.create(this[e(303)].apiKey),"Content-Type":"application/json"};this[e(303)]?.debug&&(console[e(279)]("🔑 Attribution request headers:",n),console[e(279)](e(299),G[e(302)][e(280)]()),console[e(279)](e(287),t));const r=await fetch(G[e(302)][e(280)](),{method:"POST",headers:n,body:JSON.stringify(t)});if(!r.ok){const t=await r[e(288)]();throw console.error(e(298),t),new Error(e(310)+r.status+" "+r[e(291)])}return r[e(250)]()}}const fe=ge;function ge(t,e){const n=me();return(ge=function(t,e){return n[t-=421]})(t,e)}function me(){const t=["then","baseUrl","undefined","AdStage.events accessed before initialization","campaign","markClickEventSent","954985CTPIaw","toString","captureFromUrl","attribution_id","abs","replace","now","registerAttribution","_isInitialized","✅ Auto-tracked click event with tracking params:","random","hardwareConcurrency","1026960buFSew","toISOString","debug","web-","height","5786PlQEfy","...","warn","42RwZEuW","setItem","clearAdViewable","❌ Failed to register attribution:","error","isReady","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","log","ads","location","join","channel","development","🌐 API endpoint configured:","getTimezoneOffset","610KkINyL","server-",")의 viewable 추적 초기화됨","1bLtnze","360lqsEZY","41589NLTaCq","click","get","✅ AdStage Debug: 광고 ","viewableTracker","4NFJgfS","language","API key is required for AdStage initialization","attributionId","AdStage.ads accessed before initialization","📊 AdStage Debug: 현재 viewable 추적 상태","getItem","tracking_params","231224chKPPE","size","userAgent","charCodeAt","adstage_device_id","apiKey","🔗 Using attributionId from URL (attribution_id):","catch","config","273222CWlDuo","track","substring","_config","208374vmDreA","web","modules","toAttributionObject","❌ Failed to auto-track click event:","expiresAt","✅ Attribution registered:","function","instance","⏭️ Skipping click event (duplicate or no click ID)","length","events","hash","from","📊 Tracking parameters captured:","❌ Error in click event auto-tracking:","init","generateDeviceId","getInstance"];return(me=function(){return t})()}!function(t){const e=ge,n=t();for(;;)try{if(191451===parseInt(e(435))/1*(parseInt(e(463))/2)+parseInt(e(459))/3+parseInt(e(442))/4*(parseInt(e(488))/5)+-parseInt(e(508))/6*(-parseInt(e(450))/7)+-parseInt(e(500))/8+parseInt(e(437))/9*(-parseInt(e(432))/10)+-parseInt(e(505))/11*(parseInt(e(436))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(me);class ye{constructor(){const t=ge;this[t(496)]=!1,this._config=null,this.config=new Qt,this[t(425)]=new Jt,this[t(474)]=new he}static[fe(479)](t){const e=fe;!ye.instance&&(ye[e(471)]=new ye);const n=ye[e(471)];if(!t[e(455)])throw new Error(e(444));n[e(462)]={timeout:3e4,debug:!1,modules:[e(425),e(474),e(458)],...t},n._config[e(483)]&&(G.setBaseUrl(n[e(462)][e(483)]),t[e(502)]&&console[e(424)](e(430),n._config.baseUrl));const r=n[e(462)][e(465)]||[e(425),e(474),e(458)];for(const t of r){const r=n[t];r&&typeof r[e(479)]===e(470)&&r[e(479)](n._config)}if(n[e(496)]=!0,typeof window!==e(484)){const r=le[e(490)]();r&&t[e(502)]&&console[e(424)](e(477),r);const s=(()=>{const t=e;try{const e=new URLSearchParams(window[t(426)].search),n=new URLSearchParams((window[t(426)][t(475)]||"")[t(493)](/^#/,""));return e[t(439)](t(491))||n[t(439)](t(491))}catch{return null}})();if(s)try{localStorage[e(509)]("adstage_attribution_id",s),t[e(502)]&&console[e(424)](e(456),s)}catch(t){}const o=le.shouldSendClickEvent();if(t[e(502)]&&(console[e(424)]("🔍 Should send click event:",o),!o&&console[e(424)](e(472))),!s&&r&&le.hasClickId()){const r=(async()=>{const r=e;try{const e=n[r(480)](),s=await n.events[r(495)](e);return s&&t[r(502)]&&console.log(r(469),{attributionId:s[r(445)],channel:s[r(428)],campaign:s[r(486)],expiresAt:s[r(468)]}),s}catch(t){return console[r(421)](r(511),t),null}})();o&&r[e(482)](r=>{const s=e;try{const e=le[s(439)](),o=le.toAttributionObject();t.debug&&console[s(424)]("🎯 Sending click event after attribution registration",{attributionId:r?.attributionId,hasAttribution:!!r}),n[s(474)][s(460)](s(438),{_autoGenerated:!0,_source:s(449),_timestamp:(new Date)[s(501)](),_platform:s(464)})[s(482)](()=>{const n=s;le[n(487)](),t[n(502)]&&console[n(424)](n(497),{attribution:o,trackingParams:e})})[s(457)](t=>{const e=s;console.error(e(467),t)})}catch(t){console.error(s(478),t)}})}else o&&setTimeout(()=>{const r=e;try{const e=le.get(),s=le[r(466)]();n[r(474)][r(460)]("click",{_autoGenerated:!0,_source:"tracking_params",_timestamp:(new Date)[r(501)](),_platform:r(464)}).then(()=>{const n=r;le[n(487)](),t[n(502)]&&console.log(n(497),{attribution:s,trackingParams:e})})[r(457)](t=>{const e=r;console[e(421)](e(467),t)})}catch(t){console[r(421)](r(478),t)}},100)}t.debug&&console[e(424)]("🚀 AdStage SDK initialized (sync mode)",{version:"2.0.0",modules:r,apiKey:t[e(455)][e(461)](0,8)+e(506),mode:e(429)})}static[fe(422)](){const t=fe;return ye[t(471)]?.[t(496)]||!1}static getConfig(){const t=fe;return ye[t(471)]?._config||null}static[fe(481)](){if(!ye[fe(471)])throw new Error("AdStage not initialized. Call AdStage.init() first.");return ye.instance}static get ads(){const t=fe;try{return ye.getInstance()[t(425)]}catch(e){throw console[t(507)](t(446)),e}}static get[fe(474)](){const t=fe;try{return ye.getInstance()[t(474)]}catch(e){throw console[t(507)](t(485)),e}}static get config(){const t=fe;try{return ye.getInstance()[t(458)]}catch(e){throw console[t(507)]("AdStage.config accessed before initialization"),e}}static reset(){const t=fe;ye[t(471)]&&(ye[t(471)][t(496)]=!1,ye[t(471)]._config=null)}[fe(480)](){const t=fe;if(typeof window===t(484))return t(433)+Math[t(498)]()[t(489)](36)[t(461)](2,15);const e=localStorage[t(448)](t(454));if(e)return e;const n=[navigator[t(452)],navigator[t(443)],screen.width+"x"+screen[t(504)],(new Date)[t(431)](),navigator[t(499)]||0][t(427)]("|");let r=0;for(let e=0;e<n[t(473)];e++){r=(r<<5)-r+n[t(453)](e),r&=r}const s=t(503)+Math[t(492)](r)[t(489)](36)+"-"+Date[t(494)]()[t(489)](36);return localStorage[t(509)](t(454),s),s}}function ve(t,e){var n=Ie();return(ve=function(t,e){return n[t-=311]})(t,e)}function Ie(){var t=["15915100EXwRfY","1245noJKSK","4278264cqwMmH","603894ZhbEMm","18HwQWxX","resolve","AdStage not initialized. Call AdStage.init() first.","1702078TvRcdf","55AHfzwt","track","2778oUBfrX","336941tIufGk","getUserProperties","events","2036984bTVsLm","warn","setUserProperties","isReady"];return(Ie=function(){return t})()}ye[fe(502)]={clearAllViewable:()=>{const t=fe;it.clear(),console[t(424)](t(423))},clearAdViewable:(t,e)=>{const n=fe;it[n(510)](t,e),console.log(n(440)+t+"("+e+n(434))},getViewableStatus:()=>{const t=fe;console.log(t(447),{trackedCount:it[t(441)][t(451)],trackedItems:Array[t(476)](it[t(441)])})}},function(t){for(var e=ve,n=t();;)try{if(594273===parseInt(e(312))/1+-parseInt(e(311))/2*(-parseInt(e(320))/3)+-parseInt(e(321))/4+-parseInt(e(327))/5*(parseInt(e(322))/6)+-parseInt(e(326))/7+-parseInt(e(315))/8*(-parseInt(e(323))/9)+parseInt(e(319))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ie);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"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var v=y.prototype=new m;v.constructor=y,h(v,g.prototype),v.isPureReactComponent=!0;var I=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var x=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,I(i)?(s="",null!=n&&(s=n.replace(x,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(S(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(x,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",I(n))for(var l=0;l<n.length;l++){var d=o+A(a=n[l],l);c+=C(a,r,s,d,i)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,d=o+A(a,l++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function _(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},L={transition:null},P={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:L,ReactCurrentOwner:w};function D(){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=s,Se.PureComponent=y,Se.StrictMode=r,Se.Suspense=c,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,Se.act=D,Se.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(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}},Se.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},Se.createElement=E,Se.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Se.createRef=function(){return{current:null}},Se.forwardRef=function(t){return{$$typeof:a,render:t}},Se.isValidElement=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=L.transition;L.transition={};try{t()}finally{L.transition=e}},Se.unstable_act=D,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;
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";function e(){var t=["POPUP","1006120wWGJXe","12DKtUYQ","1067055DSNnAi","BANNER","VIEWABLE","559490nvFAoD","25125jxyzhQ","VIDEO","DESKTOP","515umwgKG","TEXT","TABLET","NATIVE","194GnDYsG","MOBILE","1605360rUnHcS","18WJpVzA","WEB","CLICK","416129yarEvy","96PnKyWY","44560TVFWam"];return(e=function(){return t})()}var n,r,i,s,o,a,c,d,l,u,p,h;function f(t,n){var r=e();return(f=function(t,e){return r[t-=159]})(t,n)}!function(t){for(var e=f,n=t();;)try{if(880468===parseInt(e(174))/1+parseInt(e(164))/2*(-parseInt(e(180))/3)+-parseInt(e(172))/4*(-parseInt(e(160))/5)+parseInt(e(166))/6+parseInt(e(170))/7*(-parseInt(e(171))/8)+parseInt(e(167))/9*(-parseInt(e(179))/10)+-parseInt(e(176))/11*(-parseInt(e(175))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e),r=n||(n={}),i=f,r.BANNER=i(177),r[i(173)]=i(173),r.INTERSTITIAL="INTERSTITIAL",r.NATIVE=i(163),r.VIDEO=i(181),r[i(161)]=i(161),(o=s||(s={}))[(a=f)(168)]=a(168),o[a(165)]=a(165),(d=c||(c={}))[(l=f)(178)]=l(178),d.CLICK=l(169),(p=u||(u={}))[(h=f)(159)]=h(159),p[h(165)]="MOBILE",p[h(162)]=h(162);const g=y;!function(t){const e=y,n=t();for(;;)try{if(493957===parseInt(e(454))/1*(-parseInt(e(451))/2)+parseInt(e(498))/3*(-parseInt(e(467))/4)+parseInt(e(460))/5+-parseInt(e(490))/6+parseInt(e(441))/7+parseInt(e(500))/8*(-parseInt(e(476))/9)+-parseInt(e(494))/10*(-parseInt(e(438))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class m{static[g(503)](){return"undefined"!=typeof window&&typeof document!==g(493)}static[g(443)](){return!this[g(503)]()}static[g(455)](){return this[g(503)]()&&void 0!==document.readyState}static[g(465)](t){return this[g(455)]()?document.getElementById(t):null}static[g(501)](t){const e=g;return this[e(455)]()?document[e(440)](t):null}static[g(484)](t){const e=g;return this[e(455)]()?Array.from(document[e(453)](t)):[]}static safeCreateElement(t){const e=g;return this[e(455)]()?document[e(462)](t):null}static[g(434)](t,e,n,r){const i=g;this[i(455)]()&&t&&t[i(470)](e,n,r)}static[g(436)](t,e,n,r){const i=g;this[i(455)]()&&t&&t[i(499)](e,n,r)}static getWindowProperty(t,e){return this.isBrowser()?window[t]??e:e}static getDocumentProperty(t,e){return this.canUseDOM()?document[t]??e:e}static[g(485)](t,e,n){return this[g(503)]()?window.open(t,e,n):null}static[g(459)](t){const e=g;return this[e(503)]()&&t?window[e(487)](t):null}static[g(458)](){const t=g;return!!this[t(455)]()&&"loading"!==document[t(504)]}static[g(474)](){return new Promise(t=>{const e=y;this[e(455)]()?this[e(458)]()?t():this[e(434)](document,e(488),()=>t()):t()})}static safeApplyStyles(t,e){const n=g;this[n(455)]()&&t&&Object[n(472)](e)[n(457)](([e,r])=>{const i=n;t[i(450)][i(449)](e,r)})}static[g(463)](t,e){const n=g;this.canUseDOM()&&t&&t.classList[n(473)](e)}static[g(442)](t,e){const n=g;this[n(455)]()&&t&&t.classList[n(482)](e)}static[g(444)](t,e){this[g(455)]()&&t&&(t.textContent=e)}static safeSetInnerHTML(t,e){this.canUseDOM()&&t&&(t.innerHTML=e)}static[g(481)](t,e){this.canUseDOM()&&t&&e&&t.appendChild(e)}static[g(507)](t,e){const n=g;this.canUseDOM()&&t&&e&&t[n(452)](e)}static[g(479)](){const t=g;return{url:this[t(497)](t(464),{href:""})[t(495)],title:this[t(447)](t(466),""),referrer:this[t(447)](t(480),"")}}static[g(483)](){const t=g;return{width:this[t(497)]("innerWidth",0),height:this[t(497)]("innerHeight",0),pixelRatio:this[t(497)](t(477),1)}}static getScrollInfo(){const t=g;return{scrollTop:this[t(455)]()?window.pageYOffset||document[t(446)][t(471)]:0,scrollLeft:this.getWindowProperty(t(437),0)}}static async[g(506)](t,e={}){const n=g,{timeout:r=3e3,retryInterval:i=100,debug:s=!1}=e;if(!this[n(455)]())throw new Error(n(486));const o=document.getElementById(t);return o?(s&&console.log(n(468)+t),o):(s&&console[n(461)](n(491)+t+n(475)+r+n(469)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(502)](r/i),l=()=>{const n=a;c++;const u=document[n(439)](t);if(u)return s&&console[n(461)](n(448)+t+" ("+c+n(445)+c*i+n(496)),void e(u);if(c>=d){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+'"\n \n다음을 확인해보세요:\n1. HTML에 id="'+t+n(456)+r+n(435)+c+n(492);return s&&console[n(478)](e),void o(new Error(e))}s&&c%10==0&&console.log(n(505)+t+" ("+c+"/"+d+")");const p=Math.min(i*Math.pow(1.2,c),500);setTimeout(l,p)};setTimeout(l,i)}))}static async[g(489)](t,e={}){const n=g,r=t.map(t=>this[n(506)](t,e));return Promise.all(r)}}function y(t,e){const n=I();return(y=function(t,e){return n[t-=434]})(t,e)}function I(){const t=["entries","add","waitForDOM"," (최대 ","9JeLkWj","devicePixelRatio","error","getPageInfo","referrer","safeAppendChild","remove","getViewportInfo","safeQuerySelectorAll","safeWindowOpen","DOM을 사용할 수 없는 환경입니다.","getComputedStyle","DOMContentLoaded","waitForElements","5339124CReZJw","⏳ 컨테이너 대기 시작: ","번 시도)","undefined","30uiQyFN","href","ms 경과)","getWindowProperty","13971aKMcJh","removeEventListener","2989048dVNMrL","safeQuerySelector","ceil","isBrowser","readyState","⏳ 컨테이너 대기 중: ","waitForElement","safeRemoveChild","safeAddEventListener","ms (","safeRemoveEventListener","pageXOffset","7090149DnrGRW","getElementById","querySelector","2085671CGhPhE","safeRemoveClass","isSSR","safeSetTextContent","번째 시도, ","documentElement","getDocumentProperty","✅ 컨테이너 발견: ","setProperty","style","1825598SICEaD","removeChild","querySelectorAll","1nublcU","canUseDOM",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"forEach","isDOMReady","safeGetComputedStyle","4544840tHezvc","log","createElement","safeAddClass","location","safeGetElementById","title","404SwIkzX","✅ 컨테이너 즉시 발견: ","ms)","addEventListener","scrollTop"];return(I=function(){return t})()}const v=b;function b(t,e){const n=k();return(b=function(t,e){return n[t-=237]})(t,e)}!function(t){const e=b,n=t();for(;;)try{if(551889===-parseInt(e(250))/1*(-parseInt(e(244))/2)+-parseInt(e(240))/3+parseInt(e(246))/4+parseInt(e(242))/5*(parseInt(e(247))/6)+parseInt(e(251))/7*(-parseInt(e(249))/8)+-parseInt(e(239))/9+parseInt(e(241))/10*(parseInt(e(243))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);const w=v(237);function k(){const t=["179418twGjWM","AdStageSDK/","8SBcTEP","99241UCUmil","3531080Sccjwb","3.0.14","userAgent","5702193tYAzWW","684765XpFDux","2180HASGDV","170KFcuiZ","12210CuVrUe","4uZSBBn","undefined","1843988huRlJh"];return(k=function(){return t})()}function S(){return w}function E(){const t=["safeQuerySelector","unknown","adstage_device_id",'[data-adstage-slot-id="',"round","generateSessionId","device_","3413988XsTlWR","connection","1057968KhEUEi","test","width","isMobile","generateDeviceId","toLowerCase","469595udqOso","getItem","2289935hPfcxp","getViewportInfo","left","platform","3251595uXPrnQ","getPlatform","desktop","1.0.0","height","getBoundingClientRect","android","adstage_session_id","setItem",",y:","top","random","web","timeZone","SSR","ssr_device_","substr","112rYZtfS","language","userAgent","isBrowser","13920SqVQyo","ssr_session_","collectDeviceInfo","2017010ZzMxXb","toString","session_","108jkRtrd","getScrollInfo"," .adstage-slider-wrapper","getSlotPosition","39OYcCqo","resolvedOptions","now"];return(E=function(){return t})()}const x=A;function A(t,e){const n=E();return(A=function(t,e){return n[t-=154]})(t,e)}!function(t){const e=A,n=t();for(;;)try{if(697755===parseInt(e(187))/1*(-parseInt(e(177))/2)+-parseInt(e(156))/3+parseInt(e(197))/4+-parseInt(e(207))/5+parseInt(e(199))/6+-parseInt(e(205))/7*(parseInt(e(173))/8)+-parseInt(e(183))/9*(-parseInt(e(180))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(E);class C{static[x(203)](){const t=x;if(!m[t(176)]())return t(171)+Date[t(189)]();const e=localStorage[t(206)](t(192));if(e)return e;const n=t(196)+Math[t(167)]()[t(181)](36).substr(2,9)+"_"+Date[t(189)]();return localStorage[t(164)](t(192),n),n}static[x(195)](){const t=x;if(!m[t(176)]())return t(178)+Date[t(189)]();const e=sessionStorage[t(206)](t(163));if(e)return e;const n=t(182)+Math[t(167)]()[t(181)](36)[t(172)](2,9)+"_"+Date[t(189)]();return sessionStorage[t(164)](t(163),n),n}static[x(202)](){const t=x;return!!m[t(176)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(200)](navigator[t(175)])}static[x(157)](){const t=x;if(!m[t(176)]())return"web";const e=navigator[t(175)][t(204)]();return/iphone|ipad|ipod/[t(200)](e)?"ios":/android/.test(e)?t(162):C.isMobile()?t(168):t(158)}static[x(179)](){const t=x,e=m[t(208)]();return{deviceId:C.generateDeviceId(),sessionId:C[t(195)](),osVersion:m.isBrowser()?navigator[t(155)]:t(170),deviceModel:m[t(176)]()?navigator[t(155)]:t(170),appVersion:t(159),sdkVersion:S(),language:m[t(176)]()&&navigator[t(174)]||"ko",country:"KR",ipAddress:"",userAgent:m[t(176)]()?navigator[t(175)]:t(170),timezone:m[t(176)]()?Intl.DateTimeFormat()[t(188)]()[t(169)]:"UTC",viewportWidth:e.width,viewportHeight:e[t(160)],screenWidth:m[t(176)]()?screen[t(201)]:0,screenHeight:m[t(176)]()?screen.height:0,colorDepth:m.isBrowser()?screen.colorDepth:24,pixelRatio:e.pixelRatio,connectionType:m[t(176)]()?navigator[t(198)]?.effectiveType||t(191):"unknown",platform:C[t(157)]()}}static[x(186)](t){const e=x;let n=m.safeGetElementById(t);if(!n){const r=m[e(190)]("#"+t+e(185));r&&(n=r)}if(!n&&(n=m[e(190)](e(193)+t+'"]')),!n)return e(191);const r=n[e(161)](),i=m[e(184)]();return"x:"+Math[e(194)](r[e(154)])+e(165)+Math.round(r[e(166)]+i.scrollTop)}}const T=_;function _(t,e){const n=D();return(_=function(t,e){return n[t-=217]})(t,e)}!function(t){const e=_,n=t();for(;;)try{if(798531===-parseInt(e(227))/1+-parseInt(e(225))/2+parseInt(e(223))/3*(parseInt(e(232))/4)+-parseInt(e(217))/5+-parseInt(e(219))/6*(-parseInt(e(231))/7)+-parseInt(e(230))/8+parseInt(e(218))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class R{static[T(229)](t,e){const n=T;if(!t)throw new Error(n(222));const r={"x-api-key":t,"Content-Type":e?.[n(226)]||n(221)};return typeof navigator!==n(220)&&(r[n(224)]=e?.userAgent||navigator[n(228)]),r}static createForEvents(t,e){const n=T,r=R[n(229)](t);return e?.[n(228)]&&(r["User-Agent"]=e.userAgent),r}}function D(){const t=["925356vwnmcR","userAgent","create","6277520pbwBcI","259PbmWZt","208WiAMBZ","6166500ryUPdI","16102431WYldjZ","201174QtWPif","undefined","application/json","API key is required","63543GmbiId","User-Agent","778534zhiJoB","contentType"];return(D=function(){return t})()}const P=L;function L(t,e){const n=U();return(L=function(t,e){return n[t-=379]})(t,e)}function U(){const t=["warn","number","❌ Failed to track advertisement event:","18640cyxEnL","🔍 Debug info:","33430vYeKne","getSlotPosition","850717ChehyJ","height","669111KTdlDY","trackAdvertisementEvent","VIEWABLE","now","status","adType","error","substring","title","6BYUitg","containerId",'[data-adstage-slot-id="'," (containerId: ","sessionId","1244096KfxIMG","url","baseUrl","statusText","debug","log","platform","replace","25hHXSxg","width","5438826UHqpoh","105163SCMHKb","createForEvents"," event for ad ","querySelector","3949PBIJuF","getPageInfo","deviceId","🌐 Full API call details:","text","slots","🚀 AdvertisementEventTracker: Processing ","API request failed: ",". Skipping event tracking to prevent incorrect adType.","8rFyCRs","referrer","POST","getElementById"," for ad ","/advertisements/events/","⚠️ DOM element not found for slotId: ","parseNumericValue"," in slot ","apiKey"];return(U=function(){return t})()}!function(t){const e=L,n=t();for(;;)try{if(387527===-parseInt(e(421))/1*(parseInt(e(434))/2)+parseInt(e(396))/3+-parseInt(e(390))/4*(-parseInt(e(418))/5)+-parseInt(e(405))/6*(-parseInt(e(394))/7)+-parseInt(e(410))/8+-parseInt(e(420))/9+parseInt(e(392))/10*(parseInt(e(425))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class B{constructor(t,e,n,r){const i=L;this[i(412)]=t,this[i(386)]=e,this[i(414)]=n,this[i(430)]=r}async[P(397)](t,e,n){const r=P;try{this[r(414)]&&console[r(415)](r(431)+n+r(423)+t+r(385)+e);const i=this[r(430)].get(e);if(!i)return void(this[r(414)]&&console[r(387)]("⚠️ Slot not found for slotId: "+e+r(433)));if(!(document[r(380)](i[r(406)])||document[r(424)](r(407)+e+'"]')))return void(this[r(414)]&&console[r(387)](r(383)+e+r(408)+i[r(406)]+"). Skipping event tracking."));const s=C.collectDeviceInfo(),o={adType:i[r(401)],platform:s[r(416)],deviceId:s[r(427)],deviceInfo:s,pageUrl:m.getPageInfo()[r(411)],pageTitle:m[r(426)]()[r(404)],referrer:m[r(426)]()[r(435)],slotId:e,slotPosition:C[r(393)](i.containerId),slotWidth:B.parseNumericValue(i[r(419)]),slotHeight:B[r(384)](i[r(395)]),sessionId:s[r(409)],pageLoadTime:performance[r(399)](),metadata:{eventType:n,sdkVersion:S(),timestamp:Date[r(399)]()},...n===c[r(398)]&&{isViewable:!0,iabCompliant:!0}},a=this.baseUrl+"/advertisements/events/"+t+"/"+n,d=R[r(422)](this.apiKey,o);this.debug&&(console[r(415)]("🚀 Sending advertisement event: "+n+r(381)+t,{url:a,headers:d,eventData:o}),console[r(415)](r(428),{method:r(379),url:a,hasApiKey:!!this[r(386)],bodySize:JSON.stringify(o).length}));const l=await fetch(a,{method:r(379),headers:d,body:JSON.stringify(o)});if(this[r(414)]&&console[r(415)]("📡 API Response Status: "+l[r(400)]+" "+l[r(413)],{url:a,ok:l.ok}),!l.ok){const t=await l[r(429)]();throw new Error(r(432)+l[r(400)]+" "+l[r(413)]+" - "+t)}this[r(414)]&&console[r(415)]("✅ Successfully tracked advertisement event: "+n+r(381)+t)}catch(i){console[r(402)](r(389),i),console[r(402)](r(391),{baseUrl:this.baseUrl,apiKey:this.apiKey?this[r(386)][r(403)](0,8)+"...":"NOT_SET",url:this.baseUrl+r(382)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[P(384)](t){const e=P;if(typeof t===e(388))return t;if("string"==typeof t){const n=parseFloat(t[e(417)](/px$/,""));return isNaN(n)?0:n}return 0}}function z(){var t=["8895368zksdHG","2264qkltSm","forEach","isDocumentVisible","isViewableTriggered","3396tmVdbP","11IWVqQG","disconnect","initIntersectionObserver","2207808rzabbw","destroy","onViewableCallback","observer","255863UqTwgw","element","observe","warn","visible","IntersectionObserver not supported, viewability tracking disabled","27DbiBBt","61310mCcMBm","intersectionRatio","375FspYSW","1135022MxSyxl","6kWSALR","11015RBXGDr"];return(z=function(){return t})()}var O=M;function M(t,e){var n=z();return(M=function(t,e){return n[t-=247]})(t,e)}!function(t){for(var e=M,n=t();;)try{if(889599===-parseInt(e(272))/1*(-parseInt(e(257))/2)+parseInt(e(255))/3*(-parseInt(e(260))/4)+-parseInt(e(258))/5*(parseInt(e(264))/6)+parseInt(e(256))/7+parseInt(e(259))/8+parseInt(e(252))/9*(-parseInt(e(253))/10)+-parseInt(e(265))/11*(-parseInt(e(268))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);class N{constructor(t,e){var n=M;this[n(271)]=null,this[n(263)]=!1,this[n(247)]=t,this[n(270)]=e,this[n(267)]()}initIntersectionObserver(){var t=M;"IntersectionObserver"in window?(this[t(271)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:"0px"}),this.observer[t(248)](this[t(247)])):console[t(249)](t(251))}handleIntersection(t){var e=M;t[e(261)](t=>{var n=e;t[n(254)]>=.5&&this[n(262)]()&&!this[n(263)]&&(this.isViewableTriggered=!0,this.onViewableCallback&&this.onViewableCallback())})}[O(262)](){var t=O;return!document.hidden&&document.visibilityState===t(250)}[O(269)](){var t=O;this[t(271)]&&(this[t(271)][t(266)](),this.observer=null)}}function V(){const t=["887970VUNlyQ","6Kdqmbd","52141BIJynZ","custom","production","4HFaCmB","registerAttribution","/events/register/attribution","baseUrl","https://api.adstage.app","detail","1146229VkgfaJ","startsWith","advertisements","652332BxnKns","1299896powSdw","https://beta-api.adstage.app","5235111BxcwuQ","278645RVBNVn","events","/advertisements/list","setBaseUrl","getBaseUrl","/advertisements"];return(V=function(){return t})()}const F=j;function j(t,e){const n=V();return(j=function(t,e){return n[t-=377]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(114286===-parseInt(e(397))/1*(parseInt(e(396))/2)+-parseInt(e(385))/3+-parseInt(e(400))/4*(-parseInt(e(389))/5)+-parseInt(e(395))/6+-parseInt(e(382))/7+parseInt(e(386))/8+parseInt(e(388))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);const H={production:F(380),beta:F(387)};F(399);const K={advertisements:{list:F(391),detail:F(394),events:"/advertisements/events"},events:{track:"/events/track",registerAttribution:F(378)}};class W{constructor(t){const e=F;this[e(384)]={list:()=>""+this.baseUrl+K.advertisements.list,detail:t=>""+this[e(379)]+K[e(384)][e(381)]+"/"+t,events:(t,n)=>""+this[e(379)]+K[e(384)].events+"/"+t+"/"+n},this[e(390)]={track:()=>""+this[e(379)]+K[e(390)].track,registerAttribution:()=>""+this[e(379)]+K[e(390)][e(377)]},this[e(379)]=t||H[e(399)]}[F(392)](t){this[F(379)]=t}[F(393)](){return this.baseUrl}[F(398)](t){const e=F;return""+this[e(379)]+(t[e(383)]("/")?t:"/"+t)}}const q=new W;function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=203]})(t,e)}function X(){var t=["471590LSFUIl","log","205596BMWpye"," (index: ","7AVfMvH","150168zwrJWk","🎯 Triggering initial VIEWABLE event: ad ","15UXdXhT","_id","598800fJtBxv","770360hkREVf","137789zFfbVL","🎯 Triggering VIEWABLE event for slide change: ad ","10RIMtYt",") in slot: ","105597UqJZHA"," (index: 0) in slot: "];return(X=function(){return t})()}!function(t){for(var e=Y,n=t();;)try{if(172791===parseInt(e(204))/1+-parseInt(e(210))/2+parseInt(e(219))/3+-parseInt(e(212))/4*(-parseInt(e(217))/5)+parseInt(e(215))/6+-parseInt(e(214))/7*(parseInt(e(203))/8)+parseInt(e(208))/9*(-parseInt(e(206))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);class G{static trackSlideViewable(t,e,n,r,i=!1){var s=Y;i&&console.log(s(205)+t[s(218)]+s(213)+n+s(207)+e.id),r(t[s(218)],e.id,c.VIEWABLE)}static trackInitialSlideViewable(t,e,n,r=!1){var i=Y;r&&console[i(211)](i(216)+t[i(218)]+i(209)+e.id),n(t[i(218)],e.id,c.VIEWABLE)}}const J=Q;function Q(t,e){const n=Z();return(Q=function(t,e){return n[t-=312]})(t,e)}function Z(){const t=[" ad clicked: ","77445DBQaeU","38SzGdVl","2292096wELLuY","cursor"," -> ","addClickEventForSlider","_id","12733722khjXxd","isClickable","addClickEvent","open","545030HdoHWc","CLICK","addClickEventsBatch","addClickEventForRenderer","linkUrl","4099088NSuWtI","adType","5777450PRwkDY","🔗 ","log","style","24pNPvzB","addEventListener","toLowerCase","click","612824ndOgfl","stopPropagation","_blank","preventDefault"];return(Z=function(){return t})()}!function(t){const e=Q,n=t();for(;;)try{if(518533===parseInt(e(325))/1+parseInt(e(331))/2*(parseInt(e(330))/3)+-parseInt(e(315))/4+-parseInt(e(341))/5*(parseInt(e(321))/6)+-parseInt(e(317))/7+parseInt(e(332))/8+parseInt(e(337))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class ${static[J(339)](t,e,n,r,i=!1,s){const o=J;e[o(314)]&&(t[o(320)][o(333)]="pointer",t[o(322)]("click",t=>{const a=o;if(t.preventDefault(),t[a(326)](),r&&r(e[a(336)],n.id,c.CLICK),window[a(340)](e[a(314)],a(327)),i){const t=s||String(n[a(316)])[a(323)]();console[a(319)](a(318)+t+a(329)+e[a(336)]+a(334)+e[a(314)])}}))}static[J(313)](t,e,n,r,i=!1,s){const o=J;e[o(314)]&&(t.style.cursor="pointer",t[o(322)](o(324),t=>{const a=o;t[a(328)](),t.stopPropagation();if(r()(e[a(336)],n.id,c[a(342)]),window.open(e.linkUrl,"_blank"),i){const t=s||String(n[a(316)])[a(323)]();console[a(319)]("🔗 "+t+a(329)+e[a(336)]+a(334)+e[a(314)])}}))}static[J(335)](t,e,n,r,i=!1,s){this[J(339)](t,e,n,r,i,s)}static[J(338)](t){return Boolean(t[J(314)])}static[J(312)](t,e,n,r,i=!1,s){t.forEach((t,o)=>{const a=e[o];a&&this.addClickEvent(t,a,n,r,i,s)})}}const tt=nt;function et(){const t=["200px","auto","0.7","VIDEO","opacity","getBoundingClientRect","display","adstage-slide","373966fczGpJ","cssText","8px","background","#f0f0f0","7BwdOfC","3ExzCMU","width","adType","createSimpleAdElement","2196890RwyYeF","length","#999999","img","createSliderContainer","div","querySelectorAll","transition","overflow","imageUrl","adstage-slider-wrapper","add","Video Ad","3373731XUIevs","backgroundColor","white","inline-block","block","style","#cccccc","children","hidden","6006560nTvCke","includes","\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 ","adstage-slide-container","every","transform","borderColor","100px","remove","relative","10UcKehG","mouseenter","createMinimalDotIndicator","addClickEventForSlider","active","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","addEventListener","transform 0.4s ease-out","data-adstage-slot-id","setProperty","TEXT","100%","1px dashed #ccc","Text Ad","forEach","14px","src","4737282aAGysD","appendChild","#f9f9f9","entries","adstage-dot","contains","toLowerCase","fontSize","normal","padding","_id","videoUrl","adstage-ad adstage-","height","className","textContent","1088532lakaqX","body","4rBITRY","#666666","removeChild","classList","objectFit","touchstart","changedTouches","abs","data-adstage-ad-id","clientX","color","943892spHxdD","preventDefault",".adstage-dot","\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 ","string","1px solid #666","createElement","0.9","Banner Ad","autoSlideInterval","trackSlideViewable","50px","mouseleave","transparent","flex","addTouchSupport"];return(et=function(){return t})()}function nt(t,e){const n=et();return(nt=function(t,e){return n[t-=390]})(t,e)}!function(t){const e=nt,n=t();for(;;)try{if(552620===parseInt(e(398))/1*(-parseInt(e(433))/2)+parseInt(e(439))/3*(parseInt(e(409))/4)+parseInt(e(443))/5+-parseInt(e(396))/6+parseInt(e(438))/7*(parseInt(e(465))/8)+-parseInt(e(456))/9*(parseInt(e(475))/10)+parseInt(e(492))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(et);class rt{static createSimpleAdElement(t,e){const r=nt,i=document[r(415)](r(448));switch(i.className=r(392)+String(t.adType)[r(498)](),i.setAttribute(r(406),e[r(390)]),i.setAttribute(r(483),t.id),i[r(461)][r(431)]=r(460),i.style[r(440)]=r(486),i[r(461)][r(393)]=r(426),t[r(441)]){case n.BANNER:if(e[r(452)]){const t=document[r(415)](r(446));t.src=e[r(452)],t[r(461)][r(440)]=r(486),t[r(461)][r(393)]="auto",t[r(461)][r(402)]="cover",i[r(493)](t)}else i[r(461)].height="100px",i.style[r(457)]=r(437),i[r(461)].border=r(487),i[r(395)]=r(417);break;case n[r(428)]:if(e[r(391)]){const t=document[r(415)]("video");t[r(491)]=e[r(391)],t[r(461)].width="100%",t[r(461)][r(393)]=r(426),i[r(493)](t)}else i[r(461)][r(393)]=r(425),i.style[r(457)]="#000",i[r(461)].border=r(414),i[r(395)]=r(455),i[r(461)][r(408)]=r(458);break;case n[r(485)]:if(e[r(395)]){const t=document.createElement(r(448));t[r(395)]=e[r(395)]||"",t[r(461)][r(501)]=r(435),t.style[r(499)]=r(490),i[r(493)](t)}else i[r(461)][r(393)]=r(420),i[r(461)].padding=r(435),i.textContent=r(488);break;default:i[r(461)][r(393)]=r(472),i[r(461)].border="1px dashed #ccc",i[r(461)][r(457)]=r(494),i[r(395)]=t[r(441)]+" Ad"}return i}static[tt(447)](t,e,r,i,s=!1){const o=tt,a=document[o(415)](o(448));a.className=o(453);const c={position:o(474),overflow:o(464)};if(t[o(440)]&&0!==t[o(440)]){let e;e=typeof t.width===o(413)?t[o(440)][o(466)]("px")||t[o(440)][o(466)]("%")?t.width:t[o(440)]+"px":t.width+"px",c[o(440)]=e,c[o(431)]=o(459)}else c[o(431)]=o(459);if(t[o(393)]&&0!==t[o(393)]){const e=typeof t.height===o(413)?t[o(393)]:t[o(393)]+"px";c[o(393)]=e}Object[o(495)](c)[o(489)](([t,e])=>{const n=o;a[n(461)][n(484)](t,e)});const d=!t[o(440)]||0===t[o(440)],l=!t.height||0===t[o(393)];if(d||l){const n=document[o(415)](o(448));if(n.style[o(434)]=o(480),!d&&t[o(440)]){let e;e="string"==typeof t[o(440)]&&(t[o(440)][o(466)]("px")||t.width.includes("%"))?t[o(440)]:t[o(440)]+"px",n[o(461)][o(440)]=e,n[o(461)].whiteSpace=o(500)}document[o(397)].appendChild(n);let r=0,i=0;e[o(489)](e=>{const s=o,a=this[s(442)](t,e);n[s(493)](a);const c=a[s(430)]();c.width>r&&(r=c[s(440)]),c[s(393)]>i&&(i=c[s(393)]),n[s(400)](a)}),d&&r>0&&(a[o(461)][o(440)]=r+"px",c[o(440)]=r+"px"),l&&i>0&&(a.style[o(393)]=i+"px",c.height=i+"px"),document[o(397)][o(400)](n)}const u=[...e,e[0]],p=document[o(415)](o(448));p[o(394)]=o(468);const h={display:"flex",transition:o(482),width:100*u[o(444)]+"%"};t.height&&0!==t[o(393)]&&(h[o(393)]="100%"),Object[o(495)](h)[o(489)](([t,e])=>{const n=o;p.style[n(484)](t,e)}),u.forEach((e,n)=>{const r=o,a=document[r(415)]("div");a.className=r(432);const c={width:100/u.length+"%","flex-shrink":"0",display:r(423),"align-items":"center","justify-content":"center"};t[r(393)]&&0!==t[r(393)]&&(c.height="100%"),Object[r(495)](c)[r(489)](([t,e])=>{const n=r;a[n(461)][n(484)](t,e)});const d=this.createSimpleAdElement(t,e);$[r(478)](d,e,t,i,s,String(t[r(441)])[r(498)]()),a[r(493)](d),p[r(493)](a)});const f=e[o(469)](t=>t.adType===n[o(485)])?null:this[o(477)](e.length);let g=0;const m=e[o(444)],y=1e3*(r?.[o(418)]||3),I=(n,r=!1)=>{const a=o;g=n,r?p[a(461)][a(450)]="none":p.style[a(450)]=a(482),p[a(461)][a(470)]="translateX(-"+100/u.length*g+"%)";const c=g===m?0:g;if(f){f[a(449)](a(411))[a(489)]((t,e)=>{const n=a,r=t;e===c?(r[n(401)][n(454)](n(479)),r[n(461)].background=n(399),r[n(461)][n(471)]=n(399),r[n(461)].opacity="1"):(r[n(401)][n(473)]("active"),r[n(461)][n(436)]=n(422),r[n(461)].borderColor=n(462),r[n(461)][n(429)]=n(427))})}G[a(419)](e[c],t,c,i,s)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f.querySelectorAll(".adstage-dot")[o(489)]((t,e)=>{t[o(481)]("click",()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a[o(481)](o(476),()=>{clearInterval(b)}),a[o(481)](o(421),()=>{b=setInterval(()=>{I(g+1),v()},y)}),this[o(424)](p,I,()=>g,m,v),a[o(493)](p),f&&a[o(493)](f),I(0),(!t[o(440)]||0===t[o(440)])&&setTimeout(()=>{const e=o,n=p[e(463)][0];if(n){const r=n[e(463)][0];if(r){const n=r[e(430)]();a[e(461)][e(440)]=n[e(440)]+"px",(!t.height||0===t[e(393)])&&(a.style[e(393)]=n[e(393)]+"px"),a[e(461)][e(451)]=e(464)}}},10),a}static[tt(477)](t){const e=tt,n=document[e(415)](e(448));n.className="adstage-dots",n[e(461)][e(434)]=e(467);for(let r=0;r<t;r++){const t=document[e(415)]("button");t[e(394)]=e(496),t[e(461)].cssText=e(412),t[e(481)]("mouseenter",()=>{const n=e;!t[n(401)][n(497)](n(479))&&(t.style[n(471)]=n(445),t[n(461)][n(429)]=n(416))}),t.addEventListener(e(421),()=>{const n=e;!t[n(401)][n(497)](n(479))&&(t[n(461)][n(471)]=n(462),t[n(461)][n(429)]=n(427))}),n.appendChild(t)}return n}static[tt(424)](t,e,n,r,i){const s=tt;let o=0,a=!1;t[s(481)](s(403),t=>{const e=s;o=t.touches[0][e(407)],a=!0}),t.addEventListener("touchmove",t=>{a&&t[s(410)]()}),t[s(481)]("touchend",t=>{const c=s;if(!a)return;a=!1;const d=t[c(404)][0].clientX,l=o-d;if(Math[c(405)](l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:r-1)}}})}}const it=ot;function st(){const t=["clearAdViewable","2460tOPDPo","2XhuNfe","viewableTracker","1543228nlTNFx","Duplicate viewable blocked for ad ","1444823JohTyU","7931008BwqIaW","7261583iTDofg","log","10ZaRVZo","clear","3928866CjhUyD","4083384ajxIVE"," in slot ","✅ New viewable recorded for ad ","105390qvWfZj"];return(st=function(){return t})()}function ot(t,e){const n=st();return(ot=function(t,e){return n[t-=148]})(t,e)}!function(t){const e=ot,n=t();for(;;)try{if(895099===parseInt(e(160))/1+parseInt(e(156))/2*(parseInt(e(149))/3)+-parseInt(e(158))/4+-parseInt(e(164))/5*(-parseInt(e(150))/6)+parseInt(e(162))/7+-parseInt(e(161))/8+-parseInt(e(153))/9*(parseInt(e(155))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at{static isDuplicateViewable(t,e,n=!1){const r=ot,i=t+"_"+e;return at.viewableTracker.has(i)?(n&&console[r(163)](r(159)+t+" in slot "+e),!0):(at[r(157)].add(i),n&&console[r(163)](r(152)+t+r(151)+e),!1)}static[it(148)](){const t=it;at.viewableTracker[t(148)]()}static[it(154)](t,e){const n=t+"_"+e;at[it(157)].delete(n)}}at[it(157)]=new Set;const ct=lt;function dt(){const t=["#666","unknown"," x ","minHeight","100%","true","<span>Loading ","🔄 Starting advertisement event tracking: ","filter","monospace","div","#e74c3c","getContainerHeight"," ad...</span>","transparent","style","156489qBfbKC"," for "," for ad ","14DimCdk","error","warn","renderFallback","height","className","data-adstage-type","border","data-adstage-empty","adType","setAttribute","log"," event"," slot: ","block","justifyContent","✅ New viewable recorded for ad ","advertisement","4px","getComputedStyle","⚠️ AdvertisementEventTracker not available for ","opacity","generic","258ybCQWw",'[class*="banner"]',"createPlaceholder","getElementById","📦 Placeholder created for ","#f9f9f9","createEmptyContainer","4199838BYVjbh","getDefaultHeight","129535eJnFnz","closest","1368126CabDPL",'div[style*="min-height"]',"fontSize",'[class*="container"]',"invisible","isEmpty","adstage-official","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","): ","adstage-slot","data-adstage-slot","placeholderMode","cssText","advertisementEventTracker","appendChild","⚠️ Created empty ","center","createElement",'div[style*="height"]',"flex","VIEWABLE","trackAdvertisementEvent","6px","backgroundColor","🚫 Duplicate viewable blocked for ad ","2px dashed #e74c3c","toLowerCase","❌ Failed to track ","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","parentElement","width","1650360pBSmTI","fontFamily",".adstage-",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"3376108foJtxq","rgba(248, 249, 250, 0.5)","display","auto","rgba(231, 76, 60, 0.1)",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"4199656gvmVIw"," container: ","borderRadius",") - Mode: ","number","1px dashed #ccc","calculateAdSize","contains","color","debug","string","isDuplicateViewable"," in slot ","none","px)","hasAttribute","alignItems","applyPlaceholderStyle","7YbFNSz",'[data-adstage-container="true"]',"data-adstage-container","innerHTML","adstage-slot adstage-",".adstage-slot"];return(dt=function(){return t})()}function lt(t,e){const n=dt();return(lt=function(t,e){return n[t-=303]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(807458===-parseInt(e(363))/1*(-parseInt(e(366))/2)+-parseInt(e(396))/3+-parseInt(e(317))/4+-parseInt(e(398))/5*(-parseInt(e(389))/6)+-parseInt(e(341))/7*(-parseInt(e(323))/8)+parseInt(e(400))/9+parseInt(e(313))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class ut{constructor(t,e=!1,n){const r=lt;this.adType=t,this[r(332)]=e,this.advertisementEventTracker=n||null}[ct(391)](t,e,n,r){const i=ct,s=document[i(417)](i(357));s.id=e,s[i(371)]=i(345)+String(this[i(375)])[i(308)](),s.setAttribute(i(343),i(352)),s.setAttribute(i(372),String(this[i(375)])),s[i(376)]("data-adstage-slot",e);const{width:o,height:a}=this.calculateAdSize(t,n,r)||{width:i(351),height:this[i(397)]()};s.style.width=o,s[i(362)][i(370)]=a;const c=r?.[i(411)]||n[i(411)]||i(404);this[i(340)](s,c),t[i(414)](s),this[i(332)]&&console[i(377)](i(393)+this[i(375)]+i(379)+e+" ("+o+i(349)+a+i(326)+c)}applyPlaceholderStyle(t,e){const n=ct;switch(e){case n(404):t.style[n(305)]=n(361),t[n(362)][n(373)]=n(336),t[n(362)][n(387)]="0",t.innerHTML="";break;case"transparent":t[n(362)][n(305)]=n(361),t[n(362)][n(373)]=n(336),t[n(362)].display=n(380),t[n(344)]="";break;case"subtle":t[n(362)][n(305)]="rgba(0, 0, 0, 0.02)",t[n(362)][n(373)]="none",t[n(362)][n(325)]=n(384),t.style[n(319)]=n(419),t[n(362)].alignItems=n(416),t[n(362)][n(381)]=n(416),t[n(344)]=n(316);break;case"minimal":t[n(362)][n(305)]=n(318),t[n(362)][n(373)]="1px solid rgba(0, 0, 0, 0.08)",t[n(362)].borderRadius=n(304),t.style[n(319)]=n(419),t[n(362)].alignItems=n(416),t[n(362)][n(381)]="center",t[n(344)]=n(322);break;case n(332):t.style.border=n(307),t[n(362)].display=n(419),t[n(362)][n(339)]=n(416),t[n(362)][n(381)]=n(416),t[n(362)].backgroundColor=n(321),t[n(362)][n(331)]=n(358),t[n(362)][n(314)]=n(356),t[n(362)][n(402)]="11px",t[n(344)]=n(353)+this[n(375)]+n(360);break;default:t[n(362)].border=n(328),t[n(362)][n(319)]=n(419),t[n(362)][n(339)]=n(416),t[n(362)][n(381)]=n(416),t.style[n(305)]=n(394),t[n(362)].color=n(347),t[n(344)]=n(353)+this[n(375)]+n(360)}}[ct(329)](t,e,n){const r=ct,i=e[r(312)],s=e[r(370)];let o,a;if(o=typeof i===r(327)?i+"px":typeof i===r(333)?i:r(351),typeof s===r(327))a=s+"px";else if(typeof s===r(333)&&s!==r(351)&&"auto"!==s)a=s;else{const e=this[r(359)](t);e>0?(a=r(351),(n?.debug||this[r(332)])&&console[r(377)]("📏 Using 100% height (container: "+e+r(337))):(a=this.getDefaultHeight(),(n?.[r(332)]||this[r(332)])&&console[r(377)]("📏 Using default height "+a+r(364)+this[r(375)]))}return{width:o,height:a}}getContainerHeight(t){const e=ct,n=window[e(385)](t),r=parseFloat(n.height);if(!r||0===r){const r=parseFloat(n[e(350)]);if(r>0)return r;if(t[e(362)][e(370)]&&t[e(362)][e(370)]!==e(320)){const e=parseFloat(t.style.height);if(e>0)return e}const i=t.getAttribute(e(370));if(i){const t=parseFloat(i);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=lt;if(n===c[r(420)]){if(at[r(334)](t,e,this[r(332)]))return void(this[r(332)]&&console[r(377)](r(306)+t+r(335)+e));this[r(332)]&&console[r(377)](r(382)+t+" in slot "+e)}if(this[r(413)])try{this[r(332)]&&console[r(377)](r(354)+n+" for ad "+t+r(335)+e),await this[r(413)][r(303)](t,e,n),this[r(332)]&&console.log("📊 Advertisement event tracked: "+n+r(365)+t+r(335)+e)}catch(e){this[r(332)]&&console[r(367)](r(309)+n+" event for ad "+t+":",e)}else this[r(332)]&&console.warn(r(386)+n+r(378))}}[ct(369)](t){const e=ct,n=document[e(392)](t.id);if(n){const r=[...[n.querySelector('[data-adstage-container="true"]'),n[e(399)](e(342)),n][e(355)](t=>t&&t[e(338)](e(343))),...[n[e(399)](e(346)),n[e(399)](e(315)+String(this[e(375)])[e(308)]()),n[e(399)]('[class*="ad"]'),n[e(399)](e(390)),n[e(399)](e(403)),n[e(399)](e(418)),n[e(399)](e(401)),n[e(311)]].filter(Boolean)][0];if(r){let n=e(348);n=r.hasAttribute(e(343))?e(406):r.classList[e(330)](e(409))?"adstage-class":e(388),r[e(362)][e(412)]+=e(407),r[e(344)]="",r.setAttribute("data-adstage-empty",e(352)),this[e(332)]&&console[e(368)]("⚠️ "+this[e(375)]+" container collapsed ("+n+e(408)+t.id,r)}else this[e(395)](t)}t[e(383)]=void 0,t[e(405)]=!0}[ct(395)](t){const e=ct,n=document[e(392)](t.containerId);if(n){n[e(344)]="";const r=document[e(417)](e(357));r.id=t.id,r[e(371)]="adstage-slot adstage-empty adstage-"+String(this.adType)[e(308)](),r.setAttribute(e(343),e(352)),r[e(376)](e(374),e(352)),r[e(376)](e(410),t.id),r[e(362)][e(412)]=e(310),n[e(414)](r),this[e(332)]&&console.warn(e(415)+this.adType+e(324)+t.id)}}log(t,...e){const n=ct;this[n(332)]&&console[n(377)]("["+this[n(375)]+"] "+t,...e)}}const pt=ht;function ht(t,e){const n=ft();return(ht=function(t,e){return n[t-=242]})(t,e)}function ft(){const t=["max","debug","naturalWidth","32451020BNjCbt","objectPosition","common","Failed to calculate optimal banner size, using defaults:","cover","height","title","toFixed","from","className","div","display","count","containerId","Image URL is not provided","error","name","createEventTrackingCallback","1:1","#f0f0f0","some","4:3","adstage-ad adstage-banner-ad","dominant","default","loadImageDimensions"," ads (optimized: ","❌ Failed to load optimized banner image:","aspectRatio","250px","optimizeContainerForBannerAds","📦 Banner container dimensions: ","imageUrl","calculateOptimalHeight","applyOptimizedImageStyle","map","status","renderAdElement","64rIYMRO","center","appendChild","values"," with ","Banner Advertisement","16:9","round","7387218rWltXs",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"onerror","3:2",", ratio=","2060yUgqcQ","214CWQzry","7022285WvTkTk","Banner","5977470NplQpR","length","🔧 Banner container optimized for ","5505KtjsoI","forEach","optimizedHeight","100%","Container not found: ","innerHTML","getBoundingClientRect","allSettled","_id","average","<div>","Banner Ad","reduce","createElement","selectOptimalSizeStrategy","config","Failed to load image: ","BANNER","getElementById","block","getDefaultHeight","src","warn","borderRadius","calculateOptimalContainerSize","get","abs"," ads: ","slideInterval","</div>","backgroundColor"," (strategy: ","toString","addClickEventForRenderer","🎨 Banner image style applied: objectFit=","ratio","naturalHeight","3365BACTVr","width","16772OhAvDg","Banner container optimization failed, using default size:"," (avg: ","📐 Optimal banner container calculated: ","calculateAdSize","set","renderOptimizedBannerImage","objectFit","filter","parentElement","log","style","createSliderContainer"];return(ft=function(){return t})()}!function(t){const e=ht,n=t();for(;;)try{if(730176===parseInt(e(256))/1*(-parseInt(e(326))/2)+parseInt(e(332))/3*(-parseInt(e(325))/4)+-parseInt(e(327))/5+parseInt(e(329))/6+parseInt(e(258))/7*(parseInt(e(312))/8)+-parseInt(e(320))/9+parseInt(e(274))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends ut{constructor(t=!1,e){super(n[ht(349)],t,e)}[pt(352)](){return pt(303)}async[pt(311)](t,e){const n=pt,r=document[n(350)](t[n(287)]);if(!r)return;const i=document[n(345)](n(284));i[n(283)]=n(296);const s=t.optimizedHeight,o=r[n(267)]||r;if(s)i.style[n(257)]=n(335),i.style.height=String(s);else{const e=t.config,r={width:e?.[n(257)],height:e?.[n(279)]},{width:s,height:a}=this[n(262)](o,r,{debug:this[n(272)]});i[n(269)].width=s,i[n(269)][n(279)]=a}e[n(306)]?await this.renderOptimizedBannerImage(i,e,t):i[n(337)]=n(342)+(e[n(280)]||n(343))+n(248),$[n(252)](i,e,t,()=>this[n(291)](),this.debug,"Banner"),r.innerHTML="",r[n(314)](i)}async renderMultipleAds(t,e){const n=pt,r=document.getElementById(t[n(287)]);if(!r)throw new Error(n(336)+t[n(287)]);await this[n(304)](t,e);const i=this.createEventTrackingCallback(),s={autoSlideInterval:(t[n(347)]?.[n(247)]||5e3)/1e3,...t.config,optimizedHeight:t.optimizedHeight,aspectRatio:t[n(302)]},o=rt[n(270)](t,e,s,i,this[n(272)]);o&&(r[n(337)]="",r[n(314)](o),this[n(272)]&&console[n(268)]("🎠 Banner carousel created for slot: "+t.id+n(316)+e[n(330)]+n(300)+(t.optimizedHeight||n(298))+")"))}async calculateOptimalContainerSize(t,e){const n=pt;if(!t[n(330)])return{width:n(335),height:this[n(352)](),aspectRatio:16/9};try{const r=(await Promise[n(339)](t[n(266)](t=>t[n(306)]).map(t=>this[n(299)](t[n(306)]))))[n(266)](t=>"fulfilled"===t[n(310)])[n(309)](t=>t.value);if(0===r[n(330)])return{width:n(335),height:this[n(352)](),aspectRatio:16/9};const i=this[n(346)](r),s=this[n(307)](r,e,i);return this[n(272)]&&console[n(268)](n(261)+e+"x"+s+n(250)+i+")"),{width:n(335),height:s+"px",aspectRatio:e/s}}catch(t){return console[n(354)](n(277),t),{width:n(335),height:this[n(352)](),aspectRatio:16/9}}}async[pt(304)](t,e){const n=pt;try{const r=document[n(350)](t[n(287)]),i=document.getElementById(t.id);if(!r||!i)return;const s=r[n(338)]()[n(257)]||300,o=await this[n(243)](e,s);i[n(269)].height=o[n(279)],t[n(334)]=o[n(279)],t[n(302)]=o.aspectRatio,this[n(272)]&&console.log(n(331)+e[n(330)]+n(246)+o[n(279)])}catch(t){console[n(354)](n(259),t)}}[pt(346)](t){const e=pt,n=t[e(309)](t=>t.width/t.height),r=new Map;n.forEach(t=>{const n=e,i=(Math[n(319)](10*t)/10).toString();r[n(263)](i,(r[n(244)](i)||0)+1)});const i=Math[e(271)](...r[e(315)]()),s=t.length;if(i/s>=.7)return e(297);const o=[16/9,4/3,1,1.5],a=n.filter(t=>o[e(294)](n=>Math[e(245)](t-n)<.1)).length;return e(a/s>=.5?276:341)}[pt(307)](t,e,n){const r=pt,i=t.map(t=>t[r(257)]/t[r(279)]);switch(n){case r(297):{const t=new Map;i[r(333)](e=>{const n=r,i=Math.round(10*e)/10,s=i[n(251)](),o=t[n(244)](s);o?o.count++:t.set(s,{ratio:i,count:1})});const n=Array[r(282)](t[r(315)]())[r(344)]((t,e)=>e[r(286)]>t.count?e:t);return Math[r(319)](e/n[r(254)])}case"common":{const t=[{ratio:16/9,name:r(318)},{ratio:4/3,name:r(295)},{ratio:1,name:r(292)},{ratio:1.5,name:r(323)}],n=i[r(344)]((t,e)=>t+e,0)/i.length,s=t[r(344)]((t,e)=>Math[r(245)](e.ratio-n)<Math.abs(t[r(254)]-n)?e:t);return this.debug&&console.log("📊 Using standard ratio: "+s[r(290)]+r(260)+n[r(281)](2)+")"),Math.round(e/s[r(254)])}case r(341):default:{const t=i[r(344)]((t,e)=>t+e,0)/i[r(330)];return Math[r(319)](e/t)}}}[pt(299)](t){return new Promise((e,n)=>{const r=ht,i=new Image;i.onload=()=>{const t=ht;e({width:i[t(273)],height:i[t(255)]})},i[r(322)]=()=>{n(new Error(r(348)+t))},i[r(353)]=t})}[pt(308)](t,e,n){const r=pt,i=e/n;Math.abs(i-1)<.1?(t.style[r(265)]=r(278),t[r(269)][r(275)]=r(313)):i>1.3?(t.style[r(265)]="contain",t[r(269)].objectPosition=r(313),t[r(269)][r(249)]=r(293)):i<.7?(t[r(269)].objectFit=r(278),t[r(269)][r(275)]="center"):(t[r(269)].objectFit=r(278),t[r(269)][r(275)]=r(313)),this.debug&&console[r(268)](r(253)+t[r(269)][r(265)]+r(324)+i[r(281)](2))}async[pt(264)](t,e,n){const r=pt,i=document[r(345)]("img");i[r(269)].width=r(335),i.style[r(279)]=r(335),i[r(269)][r(285)]=r(351),i[r(269)][r(242)]="8px",i.alt=e[r(280)]||r(317),t.innerHTML=r(321);try{if(!e.imageUrl)throw new Error(r(288));const s=await this[r(299)](e[r(306)]),o=t[r(338)](),a=o[r(257)],c=o[r(279)];this[r(272)]&&(console[r(268)]("📸 Banner image dimensions: "+s[r(257)]+"x"+s[r(279)]),console[r(268)](r(305)+a+"x"+c));const d=s[r(257)]/s.height,l=a/c;return this[r(308)](i,d,l),i[r(353)]=e[r(306)],t[r(337)]="",t[r(314)](i),$[r(252)](i,e,n,()=>this[r(291)](),this[r(272)],r(328)),this.debug&&console[r(268)]("✅ Optimized banner image rendered for ad: "+e[r(340)]),i}catch(s){return console[r(289)](r(301),s),e[r(306)]&&(i[r(353)]=e[r(306)],i[r(269)][r(265)]=r(278),i[r(269)].objectPosition=r(313),t.innerHTML="",t[r(314)](i),$.addClickEventForRenderer(i,e,n,()=>this[r(291)](),this[r(272)],r(328))),i}}}function mt(t,e){const n=It();return(mt=function(t,e){return n[t-=128]})(t,e)}!function(t){const e=mt,n=t();for(;;)try{if(654326===-parseInt(e(128))/1*(parseInt(e(131))/2)+parseInt(e(133))/3+-parseInt(e(140))/4*(parseInt(e(138))/5)+parseInt(e(142))/6*(parseInt(e(135))/7)+parseInt(e(139))/8*(-parseInt(e(136))/9)+-parseInt(e(132))/10*(-parseInt(e(130))/11)+parseInt(e(137))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(It);class yt{static createTextAdStyles(t=!1){return mt(134)}static setTextAdContent(t,e){const n=mt,r=e[n(141)]||e[n(129)]||"";t[n(141)]=r}}function It(){const t=["1775uYkvhh","1288jiIxbz","12216pygEVj","textContent","5268iudLZk","2FSufFV","title","44561cZOIkG","317342WMBZts","310SOrINa","1976712ALvseA","\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 ","1183LNPXCA","22131qtdnKp","18226440QFsiwk"];return(It=function(){return t})()}const vt=bt;function bt(t,e){const n=wt();return(bt=function(t,e){return n[t-=492]})(t,e)}function wt(){const t=["setTextAdContent",";\n width: 100%;\n ","14rmROyx","appendChild","autoSlideInterval","setAttribute","translateY(-20px)","top","preventDefault","style","includes","18172uQtSpI","mouseleave","adType","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ",";\n transform: translateY(","removeChild","\n position: ","336030YtcBaI","11QiyEBP","adstage-fade-slide","addTouchSupport","_id","touchmove","touches","adstage-ad adstage-","20px","toLowerCase",";\n top: ","forEach","transform","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","data-adstage-ad-id","16931960bFQguS","Text","div","25809WRbMuV","translateY(0)","setProperty","touchstart","addEventListener","length","zIndex","\n position: relative;\n width: 100%;\n ","push","height","adstage-fade-slide-container","58072GFqGCQ","opacity","addClickEventForSlider","body","normal","width","adstage-fade-slider-wrapper","trackSlideViewable","touchend","createTextTransitionContainer","655xDsKPk",";\n left: ","fit-content","entries","relative","hidden","height: auto; min-height: fit-content;","block","\n ","abs","cssText","299217hOPckR","clientY","string","absolute","createSimpleAdElement","createElement","mouseenter","position","1249164sGWkWi","changedTouches","auto",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","left","height: 100%;","192dlDdcg","className"];return(wt=function(){return t})()}!function(t){const e=bt,n=t();for(;;)try{if(378384===-parseInt(e(496))/1+parseInt(e(546))/2*(-parseInt(e(528))/3)+parseInt(e(555))/4*(-parseInt(e(517))/5)+-parseInt(e(562))/6+parseInt(e(507))/7*(parseInt(e(542))/8)+-parseInt(e(536))/9+-parseInt(e(493))/10*(-parseInt(e(563))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wt);class kt{static[vt(532)](t,e){const n=vt,r=document[n(533)]("div");return r[n(543)]=n(569)+String(t[n(557)])[n(571)](),r[n(549)](n(492),e[n(566)]),r[n(549)]("data-adstage-slot-id",t.id),r[n(553)][n(527)]=yt.createTextAdStyles(!0),yt[n(544)](r,e),r}static[vt(516)](t,e,n,r,i=!1){const s=vt,o=t[s(505)]&&0!==t[s(505)]&&"auto"!==t[s(505)],a=document.createElement(s(495));a.className=s(513);const c={position:s(521),overflow:s(522),display:s(524)};if(!o&&(c[s(505)]="auto",c.minHeight=s(519)),t[s(512)]&&0!==t.width){let e;e=typeof t[s(512)]===s(530)&&(t.width[s(554)]("px")||t.width[s(554)]("%"))?t.width:t[s(512)]+"px",c[s(512)]=e}if(t.height&&0!==t[s(505)]&&t[s(505)]!==s(538)&&o){let e;e="string"==typeof t[s(505)]&&(t[s(505)][s(554)]("px")||t[s(505)].includes("%"))?t[s(505)]:t[s(505)]+"px",c[s(505)]=e}Object[s(520)](c)[s(573)](([t,e])=>{const n=s;a[n(553)][n(498)](t,e)});const d=document[s(533)](s(495));d[s(543)]=s(506),d.style[s(527)]=s(503)+(o?"height: 100%;":s(523))+s(525);let l=null;const u=!t.width||0===t[s(512)],p=!t.height||0===t[s(505)]||void 0===t[s(505)]||t.height===s(538);if(u||p&&o){if(l=document[s(533)](s(495)),l[s(553)][s(527)]=s(575),!u&&t.width){let e;e=typeof t[s(512)]===s(530)&&(t[s(512)][s(554)]("px")||t.width[s(554)]("%"))?t[s(512)]:t[s(512)]+"px",l.style[s(512)]=e,l[s(553)].whiteSpace=s(511)}document[s(510)][s(547)](l);let n=0,r=0;e[s(573)](e=>{const i=s,o=this.createSimpleAdElement(t,e);l[i(547)](o);const a=o.getBoundingClientRect();a[i(512)]>n&&(n=a[i(512)]),a[i(505)]>r&&(r=a.height),l.removeChild(o)}),u&&n>0&&(a[s(553)][s(512)]=n+"px"),p&&r>0&&o&&(a[s(553)][s(505)]=r+"px"),document.body[s(560)](l)}const h=[];e[s(573)]((e,n)=>{const a=s,c=document[a(533)]("div");c[a(543)]=a(564);const l=0===n,u=o?a(531):l?a(521):"absolute";c.style.cssText=a(561)+u+a(572)+(u===a(531)?"0":a(538))+a(518)+(u===a(531)?"0":a(538))+a(545)+(o?a(541):"height: auto;")+a(558)+(0===n?"1":"0")+a(559)+(0===n?"0":a(570))+a(539)+(0===n?"2":"1")+";\n ";const p=this[a(532)](t,e);$[a(509)](p,e,t,r,i,a(494)),c[a(547)](p),d[a(547)](c),h[a(504)](c)});let f=0;const g=e[s(501)],m=1e3*(n?.[s(548)]||4),y=n=>{const a=s;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c.style[a(535)]===a(521)&&(c[a(553)][a(535)]=a(531),c.style[a(551)]="0",c[a(553)][a(540)]="0"),d[a(553)][a(535)]="relative",d.style[a(551)]="auto",d[a(553)].left=a(538)),c.style.opacity="0",c[a(553)][a(574)]=a(550),c[a(553)].zIndex="1",d[a(553)][a(508)]="1",d[a(553)].transform=a(497),d[a(553)][a(502)]="2",h[a(573)]((t,e)=>{const r=a;e!==n&&e!==f&&(t.style[r(508)]="0",t[r(553)].transform="translateY(20px)",t.style.zIndex="1",!o&&t.style[r(535)]===r(521)&&(t.style.position=r(531),t[r(553)].top="0",t[r(553)].left="0"))}),f=n,G[a(514)](e[f],t,f,r,i)};let I=setInterval(()=>{y(f+1)},m);return a[s(500)](s(534),()=>{clearInterval(I)}),a[s(500)](s(556),()=>{I=setInterval(()=>{y(f+1)},m)}),kt[s(565)](a,y,()=>f,g),a.appendChild(d),a}static addTouchSupport(t,e,n,r){const i=vt;let s=0,o=0,a=!1;t[i(500)](i(499),t=>{const e=i;s=t[e(568)][0].clientX,o=t[e(568)][0][e(529)],a=!0}),t.addEventListener(i(567),t=>{a&&t[i(552)]()}),t[i(500)](i(515),t=>{const r=i;if(!a)return;a=!1;const c=t[r(537)][0].clientX,d=t[r(537)][0][r(529)],l=s-c,u=o-d;if(Math[r(526)](l)>Math[r(526)](u)&&Math[r(526)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const St=Et;function Et(t,e){const n=xt();return(Et=function(t,e){return n[t-=490]})(t,e)}function xt(){const t=["vertical","1043168ddZZwH","log","569143HIIGiD","renderMultipleAds","slideInterval","createTextTransitionContainer","getElementById","optimizedHeight","createEventTrackingCallback","setTextAdContent","maxLines","2728555Jnbhmg","cssText","162QQEoMk","121348nJnkTp","innerHTML","adstage-text-content","100%","createElement","parentElement","Text","div","TEXT","✨ Text transition created for slot: ","containerId","addClickEventForRenderer","display","1326516XCbFjp","10220980Slqmgp","appendChild","renderAdElement","config","60px","adstage-ad adstage-text-ad","style","hidden","_id","-webkit-box","18jJiAmX","debug","calculateAdSize","number","height"," ads","width","3591582iBxdfe","getDefaultHeight","createTextAdStyles","Container not found: "];return(xt=function(){return t})()}!function(t){const e=Et,n=t();for(;;)try{if(949012===-parseInt(e(509))/1+parseInt(e(502))/2+parseInt(e(534))/3+parseInt(e(521))/4+-parseInt(e(518))/5*(parseInt(e(495))/6)+-parseInt(e(535))/7+-parseInt(e(507))/8*(-parseInt(e(520))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xt);class At extends ut{constructor(t=!1,e){super(n[Et(529)],t,e)}[St(503)](){return St(539)}async[St(537)](t,e){const n=St,r=document[n(513)](t.containerId);if(!r)return;const i=document.createElement("div");i.className=n(490);const s=t[n(514)],o=r[n(526)]||r;if(s)i[n(491)].width=n(524),i.style[n(499)]=String(s);else{const e=t[n(538)],r={width:e?.[n(501)],height:e?.height},{width:s,height:a}=this[n(497)](o,r,{debug:this[n(496)]});i[n(491)][n(501)]=s,i[n(491)][n(499)]=a}const a=document[n(525)](n(528));a.className=n(523),a[n(491)][n(519)]=yt[n(504)](!1),yt[n(516)](a,e);const c=t[n(538)]?.[n(517)];c&&typeof c===n(498)&&(a[n(491)][n(533)]=n(494),a[n(491)].webkitLineClamp=String(c),a.style.webkitBoxOrient=n(506),a[n(491)].overflow=n(492)),i[n(536)](a),$[n(532)](i,e,t,()=>this.createEventTrackingCallback(),this[n(496)],n(527)),r.innerHTML="",r[n(536)](i),this[n(496)]&&console[n(508)]("✨ Single text ad rendered: "+e[n(493)])}async[St(510)](t,e){const n=St,r=document[n(513)](t[n(531)]);if(!r)throw new Error(n(505)+t[n(531)]);const i=this[n(515)](),s={autoSlideInterval:(t.config?.[n(511)]||5e3)/1e3,...t[n(538)],optimizedHeight:t.optimizedHeight,aspectRatio:t.aspectRatio},o=kt[n(512)](t,e,s,i,this[n(496)]);o&&(r[n(522)]="",r.appendChild(o),this.debug&&console.log(n(530)+t.id+" with "+e.length+n(500)))}}const Ct=Tt;function Tt(t,e){const n=_t();return(Tt=function(t,e){return n[t-=427]})(t,e)}function _t(){const t=["customControls","🎬 Autoplay completely failed:","adstage-video-mute-button","mouseleave","metadata","display","hidePlayButton","unmuted","setAttribute","createEventTrackingCallback","click","title","178538wUQplk","hideCurrentTime","1741205SkhSfz","containerId","renderAdElement","adstage-video-container","36OXJemf","video","🎬 Auto-play was prevented:","VIEWABLE","🎬 Single video ad rendered: ","rgba(0, 0, 0, 0.7)","playsinline","addClickEventForRenderer","controls","head","config","debug","getElementById","4915771ulCDBr","9tDdPFX","hideFullscreenButton","831549aWkhoh","style","mouseenter","⚠️ No video advertisements available for slot: ","22682392wlfxrN","log"," (autoplay: ","\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 ","background","🎬 Single video rendered for VIDEO slot: ","4490400BbrxNb","🎬 Video controls setting:","hideVolumeSlider","renderVideoElementDirect","length","contain","canplay","paused","100%","_id","relative","innerHTML","getDefaultHeight"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","adstage-video-default-controls","cssText","transform","height","error","Video","Video thumbnail","createElement","div","appendChild","warn","autoplay","catch","addEventListener","loop",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',"🔊 Video mute toggled: ","imageUrl",", loop: ","button","none","Video fallback","textContent","alt","muted","🎬 Video can play, attempting autoplay..."," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","rgba(0, 0, 0, 0.9)","src","hideRemainingTime","\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 ","3245286fhqeGE","hideMuteButton","img","Container not found: ","\n pointer-events: none;\n ","className","play",", muted: ","🎬 Video data loaded, attempting autoplay..."," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","hideControls","🎬 Video element created for ad: ","videoUrl","loadedmetadata","objectFit","🎬 Video config received:","🎬 Initial autoplay attempt after timeout...","🎬 Video metadata loaded, attempting autoplay...","preload","block"," !important;\n }\n ","🎬 Final video settings:","enabled","Video load failed:","\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 ","scale(1)","🎬 User explicitly enabled controls, overriding default","width"];return(_t=function(){return t})()}!function(t){const e=Tt,n=t();for(;;)try{if(578127===parseInt(e(466))/1+parseInt(e(444))/2*(-parseInt(e(450))/3)+-parseInt(e(476))/4+parseInt(e(446))/5+-parseInt(e(522))/6+-parseInt(e(463))/7+-parseInt(e(470))/8*(-parseInt(e(464))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_t);class Rt extends ut{constructor(t=!1,e){super(n.VIDEO,t,e)}[Ct(488)](){return"360px"}async[Ct(448)](t,e){const n=Ct,r=document[n(462)](t[n(447)]);if(!r)return;const i=document.createElement(n(498));i[n(527)]="adstage-video-container",i[n(467)][n(491)]=n(428),this[n(479)](i,e,t),r[n(487)]="",r[n(499)](i),this.debug&&console[n(471)](n(454)+e._id)}async renderMultipleAds(t,e){const n=Ct,r=document.getElementById(t[n(447)]);if(!r)throw new Error(n(525)+t.containerId);if(e[n(480)]>0){const i=e[0],s=document[n(497)]("div");s[n(527)]=n(449),s[n(467)][n(491)]=n(473),this[n(479)](s,i,t),r[n(487)]="",r.appendChild(s);const o=this[n(441)]();setTimeout(()=>{const e=n;o(i[e(485)],t.id,c[e(453)])},100),this[n(461)]&&console.log(n(475)+t.id+" ("+i[n(485)]+")")}else this[n(461)]&&console[n(500)](n(469)+t.id)}[Ct(479)](t,e,n){const r=Ct;t[r(467)].position=r(486);const i=document[r(497)](r(451));i[r(467)][r(431)]=r(484),i[r(467)][r(493)]=r(484),i.style.objectFit=r(481),i[r(540)]=r(436);const s=n[r(460)];if(this.debug&&console[r(471)](r(537),s),i[r(458)]=!1,i[r(501)]=!1!==s?.[r(501)],i[r(514)]=!0,i.loop=!1!==s?.[r(504)],this[r(461)]&&console[r(471)](r(543),{autoplay:i[r(501)],muted:i.muted,loop:i[r(504)],controls:i[r(458)]}),!1!==s?.[r(456)]&&i[r(440)]("playsinline",""),!0===s?.controls&&(i[r(458)]=!0,this[r(461)]&&console[r(471)](r(430))),s?.[r(532)])i[r(458)]=!1,i.style[r(491)]+=r(526);else if(s?.[r(432)]){if(i[r(458)]){const t=document[r(497)](r(467));t.textContent="\n video::-webkit-media-controls-play-button {\n display: "+(s[r(432)][r(438)]?"none":r(541))+r(531)+(s[r(432)].hideProgressBar?r(510):r(541))+" !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "+(s.customControls[r(445)]?r(510):r(541))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(s[r(432)][r(520)]?r(510):r(541))+r(517)+(s.customControls[r(478)]?r(510):r(541))+r(516)+(s[r(432)][r(523)]?"none":r(541))+r(489)+(s[r(432)][r(465)]?r(510):r(541))+r(542),document[r(459)][r(499)](t)}}else if(i.controls){const t=document[r(497)](r(467));t.id=r(490),t[r(512)]="\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ",!document[r(462)](r(490))&&document.head[r(499)](t)}this[r(461)]&&console[r(471)](r(477),i[r(458)]?r(544):"disabled (default)");const o=document[r(497)](r(509));o[r(527)]=r(434),o[r(467)].cssText=r(521),s?.[r(532)]&&(o[r(467)][r(437)]=r(510));const a=()=>{const t=r,e=t(505);o[t(487)]=i[t(514)]?'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ':e,o[t(443)]=i[t(514)]?"Click to unmute":"Click to mute"};if(a(),o[r(503)](r(442),t=>{const e=r;t.stopPropagation(),i.muted=!i.muted,a(),this.debug&&console[e(471)](e(506)+(i[e(514)]?e(514):e(439)))}),o[r(503)](r(468),()=>{const t=r;o[t(467)][t(474)]=t(518),o.style.transform="scale(1.1)"}),o.addEventListener(r(435),()=>{const t=r;o.style.background=t(455),o[t(467)][t(492)]=t(429)}),e.videoUrl){i.src=e[r(534)];const t=()=>{const t=r;i.autoplay&&i[t(514)]&&i[t(483)]&&i[t(528)]()[t(502)](e=>{const n=t;this[n(461)]&&(console[n(500)](n(452),e),console[n(500)]("🎬 Trying muted autoplay fallback...")),i.muted=!0,i[n(528)]()[n(502)](t=>{const e=n;this[e(461)]&&console[e(494)](e(433),t)})})};i[r(503)](r(535),()=>{const e=r;this.debug&&console.log(e(539)),t()}),i.addEventListener(r(482),()=>{const e=r;this[e(461)]&&console[e(471)](e(515)),t()}),i.addEventListener("loadeddata",()=>{const e=r;this.debug&&console[e(471)](e(530)),t()}),setTimeout(()=>{const e=r;this[e(461)]&&console.log(e(538)),t()},100)}else if(e.imageUrl){const n=document[r(497)](r(524));return n[r(519)]=e[r(507)],n[r(467)].width=r(484),n.style[r(493)]=r(484),n[r(467)].objectFit=r(481),n[r(513)]=e[r(443)]||r(496),void t[r(499)](n)}$[r(457)](i,e,n,()=>this[r(441)](),this.debug,r(495)),i.addEventListener("error",i=>{const s=r;if(console[s(494)](s(427),i),e.imageUrl){const r=document[s(497)]("img");r.src=e[s(507)],r[s(467)][s(431)]=s(484),r.style[s(493)]="100%",r[s(467)][s(536)]=s(481),r.alt=e[s(443)]||s(496),$[s(457)](r,e,n,()=>this[s(441)](),this[s(461)],s(511)),t.innerHTML="",t[s(499)](r)}}),t[r(499)](i),t.appendChild(o),this[r(461)]&&console[r(471)](r(533)+e[r(485)]+r(472)+i[r(501)]+r(529)+i.muted+r(508)+i[r(504)]+")")}}const Dt=Pt;function Pt(t,e){const n=Lt();return(Pt=function(t,e){return n[t-=261]})(t,e)}function Lt(){const t=["warn","img","log","#2563eb","createElement","style","alt","length","getElementById","renderMultipleAds","42XLYtDR","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","_id","🏠 Single native ad rendered: ","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","NATIVE","open","Native Advertisement","🏠 Native ad rendered (first of ","484312dwhSVs","title","containerId","advertisementEventTracker","textContent","mouseleave","320229VQQSbq","Native click tracked for ad: ","cssText","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","backgroundColor","#3b82f6","12ueFNkR","1003032LaxajB","3675612sdtUbj","1205981XlfDTE","2SjEYvi","1054941pcuEKS","appendChild","3850JdPGJm","renderAdElement","debug","): ","getDefaultHeight","imageUrl","linkUrl","11bvjnbI","330PrtEyL","mouseenter","div"];return(Lt=function(){return t})()}!function(t){const e=Pt,n=t();for(;;)try{if(660749===parseInt(e(305))/1*(-parseInt(e(289))/2)+-parseInt(e(306))/3*(parseInt(e(301))/4)+parseInt(e(308))/5+-parseInt(e(279))/6*(-parseInt(e(304))/7)+parseInt(e(302))/8+-parseInt(e(295))/9*(-parseInt(e(266))/10)+parseInt(e(265))/11*(-parseInt(e(303))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Lt);class Ut extends ut{constructor(t=!1,e){super(n[Pt(285)],t,e)}[Dt(262)](){return"200px"}async renderAdElement(t,e){const n=Dt,r=document[n(277)](t[n(291)]);if(!r)return;const i=document.createElement(n(268));if(i.className="adstage-ad adstage-native-ad",i.style[n(297)]="\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ",e[n(290)]){const t=document[n(273)]("h3");t[n(293)]=e[n(290)],t[n(274)][n(297)]=n(283),i[n(307)](t)}if(e.textContent){const t=document[n(273)]("p");t.textContent=e[n(293)],t.style.cssText=n(284),i[n(307)](t)}if(e[n(263)]){const t=document[n(273)](n(268));t[n(274)][n(297)]=n(280);const r=document[n(273)](n(270));r.src=e[n(263)],r[n(275)]=e[n(290)]||n(287),r[n(274)][n(297)]=n(298),t[n(307)](r),i.appendChild(t)}if(e[n(264)]){const t=document[n(273)]("button");t[n(293)]="Learn More",t[n(274)].cssText="\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ",t.addEventListener("click",()=>{const t=n;this[t(292)]&&console.log(t(296)+e[t(281)]),window[t(286)](e[t(264)],"_blank")}),t.addEventListener(n(267),()=>{const e=n;t[e(274)][e(299)]=e(272)}),t.addEventListener(n(294),()=>{const e=n;t[e(274)][e(299)]=e(300)}),i[n(307)](t)}r.innerHTML="",r[n(307)](i),this[n(310)]&&console[n(271)](n(282)+e[n(281)])}async[Dt(278)](t,e){const n=Dt;e[n(276)]>0?(await this[n(309)](t,e[0]),this[n(310)]&&console[n(271)](n(288)+e[n(276)]+n(261)+t.id)):this[n(310)]&&console[n(269)]("⚠️ No native advertisements available for slot: "+t.id)}}function Bt(){const t=["imageUrl","21468iEvwWS","#e5e7eb","advertisementEventTracker","20PSdbFQ","460269xEQTWt","removeEventListener","src","172168dfGGHk","7634RXqwpi","parentNode","length","addEventListener","keydown","cssText","key","INTERSTITIAL","#2563eb","2745477MVwXap","innerHTML","1955885wYnfTs","#374151","Get Started","adstage-interstitial-content","textContent","button","#f3f4f6","\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 ","\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 ","6rRPqwr","img","mouseenter","closeInterstitial","linkUrl","Interstitial Advertisement","400px","🖼️ Interstitial ad closed","style","#3b82f6","389398DdCqZf","⚠️ No interstitial advertisements available for slot: ","className","alt","mouseleave","containerId","\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 ","getElementById","head","removeChild","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","animation","click","#6b7280","104zunSLV","🖼️ Interstitial ad rendered: ","backgroundColor","475027bSNjiI","Escape","\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 ","_blank","adstage-interstitial-styles","createElement","_id","warn","color","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","appendChild","title","): ","getDefaultHeight","renderAdElement","debug","target","Interstitial click tracked for ad: ","adstage-interstitial-overlay","log","20ULFSHA","body"];return(Bt=function(){return t})()}const zt=Ot;function Ot(t,e){const n=Bt();return(Ot=function(t,e){return n[t-=476]})(t,e)}!function(t){const e=Ot,n=t();for(;;)try{if(555680===parseInt(e(551))/1+parseInt(e(503))/2+-parseInt(e(548))/3*(-parseInt(e(547))/4)+parseInt(e(484))/5*(parseInt(e(493))/6)+parseInt(e(520))/7*(parseInt(e(517))/8)+-parseInt(e(482))/9*(parseInt(e(541))/10)+-parseInt(e(552))/11*(parseInt(e(544))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Bt);class Mt extends ut{constructor(t=!1,e){super(n[Ot(480)],t,e)}[zt(534)](){return zt(499)}async[zt(535)](t,e){const n=zt;if(!document[n(510)](t[n(508)]))return;const r=document[n(525)]("div");r.className=n(539),r[n(501)][n(478)]="\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 i=document[n(525)]("div");i[n(505)]=n(487),i[n(501)][n(478)]=n(509);const s=document[n(525)]("button");if(s[n(483)]="×",s.style[n(478)]=n(491),s[n(476)]("click",()=>{this[n(496)](r)}),s[n(476)](n(495),()=>{const t=n;s[t(501)][t(519)]=t(545),s[t(501)][t(528)]=t(485)}),s.addEventListener(n(507),()=>{const t=n;s[t(501)].backgroundColor=t(490),s.style.color=t(516)}),e[n(543)]){const t=document[n(525)](n(494));t[n(550)]=e.imageUrl,t[n(506)]=e[n(532)]||n(498),t[n(501)].cssText=n(529),i.appendChild(t)}if(e.title){const t=document[n(525)]("h2");t[n(488)]=e.title,t[n(501)][n(478)]=n(530),i[n(531)](t)}if(e[n(488)]){const t=document[n(525)]("p");t[n(488)]=e[n(488)],t[n(501)][n(478)]=n(513),i[n(531)](t)}if(e[n(497)]){const t=document[n(525)](n(489));t[n(488)]=n(486),t[n(501)][n(478)]=n(522),t[n(476)]("click",()=>{const t=n;this[t(546)]&&console[t(540)](t(538)+e[t(526)]),window.open(e.linkUrl,t(523)),this[t(496)](r)}),t[n(476)](n(495),()=>{const e=n;t[e(501)][e(519)]=e(481)}),t.addEventListener(n(507),()=>{const e=n;t[e(501)][e(519)]=e(502)}),i[n(531)](t)}const o=t=>{const e=n;t[e(479)]===e(521)&&(this.closeInterstitial(r),document[e(549)](e(477),o))};if(document[n(476)](n(477),o),r[n(476)](n(515),t=>{t[n(537)]===r&&this.closeInterstitial(r)}),!document[n(510)](n(524))){const t=document[n(525)](n(501));t.id="adstage-interstitial-styles",t[n(488)]=n(492),document[n(511)][n(531)](t)}i[n(531)](s),r.appendChild(i),document[n(542)][n(531)](r),this[n(536)]&&console[n(540)](n(518)+e[n(526)])}async renderMultipleAds(t,e){const n=zt;e[n(554)]>0?(await this.renderAdElement(t,e[0]),this[n(536)]&&console[n(540)]("🖼️ Interstitial ad rendered (first of "+e[n(554)]+n(533)+t.id)):this[n(536)]&&console[n(527)](n(504)+t.id)}[zt(496)](t){const e=zt;t[e(501)][e(514)]="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(553)]&&t[n(553)][n(512)](t)},300),this[e(536)]&&console[e(540)](e(500))}}const Nt=Ft;function Vt(){const t=["VIDEO","naturalHeight","createElement","#f9f9f9","renderers","width","renderMultipleAds","9242528EynwIb","renderFallback","100%","calculateOptimalContainerSize","size","8px","advertisement","renderAdElement","get","[AdRenderer] ","debug","TEXT","getDefaultHeight","optimizeContainerForBannerAds","className","border","src","isLoaded","createPlaceholder","block","onerror","5354pwYGKh","getRenderer","_id","renderOptimizedBannerImage","setAttribute","set","4221970XqLVUu","height","9506772SEtOMC","display","NATIVE"," Ad"," renderers","config","advertisementEventTracker","div","style","renderOptimizedBannerImage is only supported for BANNER ads","adType","BANNER","data-adstage-ad-id","renderAdSlider","imageUrl","objectFit","textContent","log","getDefaultHeightForAdType","Failed to load image: ","INTERSTITIAL","videoUrl","adstage-ad adstage-","renderAd","initializeRenderers","1px dashed #ccc","appendChild","5337279AALkiK","data-adstage-slot-id","⚠️ Container optimization is only supported for BANNER ads, got: ","1021952XhqvgJ","12651940xEJxMx","calculateAdSize","🏭 AdRenderer factory initialized with ","video","620NAzbcw","No renderer found for ad type: "];return(Vt=function(){return t})()}function Ft(t,e){const n=Vt();return(Ft=function(t,e){return n[t-=352]})(t,e)}!function(t){const e=Ft,n=t();for(;;)try{if(908721===-parseInt(e(369))/1*(parseInt(e(412))/2)+parseInt(e(404))/3+parseInt(e(407))/4+-parseInt(e(375))/5+-parseInt(e(377))/6+parseInt(e(408))/7+parseInt(e(421))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Vt);class jt{constructor(t=!1,e){const n=Ft;this[n(418)]=new Map,this.debug=t,this.advertisementEventTracker=e||null,this[n(401)]()}initializeRenderers(){const t=Ft;this.renderers[t(374)](n[t(388)],new gt(this.debug,this.advertisementEventTracker)),this[t(418)][t(374)](n[t(359)],new At(this[t(358)],this[t(383)])),this[t(418)][t(374)](n[t(414)],new Rt(this[t(358)],this[t(383)])),this.renderers[t(374)](n[t(379)],new Ut(this[t(358)],this[t(383)])),this[t(418)][t(374)](n[t(397)],new Mt(this[t(358)],this[t(383)])),this[t(358)]&&console[t(394)](t(410)+this[t(418)][t(352)]+t(381))}createAdElement(t,e){const r=Ft,i=this[r(370)](t[r(387)]),s=document[r(416)](r(384));s[r(362)]=r(399)+String(t[r(387)]).toLowerCase(),s[r(373)](r(389),e[r(371)]),s.setAttribute(r(405),t.id);const{width:o,height:a}=i[r(409)](s,t[r(382)]||{},e);switch(s[r(385)][r(419)]=o,s.style[r(376)]=a,s[r(385)][r(378)]=r(367),t.adType){case n[r(388)]:if(e[r(391)]){const t=document[r(416)]("img");t[r(364)]=e[r(391)],t[r(385)][r(419)]=r(423),t[r(385)][r(376)]=r(423),t[r(385)][r(392)]="cover",s[r(403)](t)}break;case n[r(414)]:if(e.videoUrl){const t=document[r(416)](r(411));t[r(364)]=e[r(398)],t[r(385)][r(419)]="100%",t[r(385)].height=r(423),s[r(403)](t)}break;case n[r(359)]:if(e.textContent){const t=document.createElement("div");t[r(393)]=e[r(393)]||"",t.style.padding=r(353),s[r(403)](t)}break;default:s[r(385)][r(363)]=r(402),s.style.backgroundColor=r(417),s[r(393)]=t[r(387)]+r(380)}return s}[Nt(370)](t){const e=Nt,n=this[e(418)][e(356)](t);if(!n)throw new Error(e(413)+t);return n}[Nt(366)](t,e,n,r,i){const s=Nt;this[s(370)](n)[s(366)](t,e,r,i)}async[Nt(361)](t,e){const r=Nt;if(t[r(387)]!==n.BANNER)return void(this[r(358)]&&console.warn(r(406)+t[r(387)]));const i=this[r(370)](n[r(388)]);await i[r(361)](t,e)}async[Nt(390)](t,e){const n=Nt,r=this.getRenderer(t[n(387)]);await r[n(420)](t,e)}async[Nt(400)](t){const e=Nt;if(!t.advertisement)throw new Error("No advertisement to render");const n=this.getRenderer(t[e(387)]);await n[e(355)](t,t[e(354)]),t[e(365)]=!0}async[Nt(355)](t,e){const n=Nt,r=this[n(370)](t[n(387)]);await r[n(355)](t,e)}[Nt(422)](t){const e=Nt;this[e(370)](t[e(387)])[e(422)](t)}[Nt(395)](t){const e=Nt;return this.getRenderer(t)[e(360)]()}calculateAdSize(t,e,n,r){const i=Nt;return this[i(370)](e)[i(409)](t,n,r)}loadImageDimensions(t){return new Promise((e,n)=>{const r=Ft,i=new Image;i.onload=()=>{const t=Ft;e({width:i.naturalWidth,height:i[t(415)]})},i[r(368)]=()=>{n(new Error(r(396)+t))},i[r(364)]=t})}async[Nt(372)](t,e,r){const i=Nt;if(r[i(387)]!==n[i(388)])throw new Error(i(386));const s=this[i(370)](n[i(388)]);return await s[i(372)](t,e,r)}async[Nt(424)](t,e,r){const i=Nt;if(r!==n.BANNER){return{width:"100%",height:this[i(370)](r).getDefaultHeight(),aspectRatio:16/9}}const s=this.getRenderer(n[i(388)]);return await s.calculateOptimalContainerSize(t,e)}[Nt(394)](t,...e){const n=Nt;this[n(358)]&&console.log(n(357)+t,...e)}}function Ht(t,e){const n=Wt();return(Ht=function(t,e){return n[t-=472]})(t,e)}const Kt=Ht;function Wt(){const t=["querySelectorAll","innerHTML","adType","adId","get","getAllSlots","✅ Ad loaded for slot: ","VIDEO","renderFallback","country","Ad slot not found: ",", filters:","📊 Fetched "," (element found)",". Retrying in ","_config","fetchAdData","loop","removedNodes","slots","🎯 Ads module initialized (sync mode) with auto-cleanup","NATIVE","autoplay","destroyModule","ELEMENT_NODE","refreshAdSlot","random","slideInterval","INTERSTITIAL","setupAutoCleanup","auto","list","init","muted","debug","advertisement","customControls","renderAd","3OeoCHT","24PvFfZZ","adRenderer","playsinline","advertisements","Failed to refresh ad slot: ","trackAdvertisementEvent","viewabilityTracker","44872509amXLSi","🎯 Simple viewability tracking started for slot: ","Container not found after ","log","adstage-","createAdInternal","maxLines","error","append","delete","status","_isReady","handleRemovedElement","width","getAttribute","auto-","Ads module not initialized. Call AdStage.init() first.","disconnect","apiKey","2205458RtOHmd","json","Failed to fetch ad data: ","1640337uQLhmy","destroy"," ads automatically","loadAdContentInBackground","forEach","createAdWithRetry","style","startSimpleViewabilityTracking","2172033HjTHAd","❌ Failed to track viewable impression:","create","_id","TEXT","ensureReady","height","❌ Failed to find element for viewability tracking: ","5061PkapPe","observe","100%","createAd","handleViewableEvent","config","createPlaceholder","VIEWABLE","GET","6208QPrIwV","✅ Simple viewable impression tracked for ad ","renderAdElement","📊 Advertisement event tracking enabled for slot: ","getConfig","length","autoSlide"," ads)","advertisementEventTracker","mutationObserver","toString","New advertisement viewable tracked for slot:","warn","getElementById","then","language","10674gzkynG","Container not found: ","getSlotById","refresh","data-adstage-slot-id","4755SvjZKs","default","autoDestroy","deviceType","from","12955940NSeJzn","🚫 Advertisement not found with ID: ","🔄 Ad slot refreshed: ","BANNER","controls","undefined","광고 생성 중 오류 발생:","nodeType","now","body","hideControls","❌ Failed to load ad for slot: ","API key not configured","🎠 Slider will handle VIEWABLE events for ","onClick"];return(Wt=function(){return t})()}!function(t){const e=Ht,n=t();for(;;)try{if(873087===parseInt(e(551))/1+parseInt(e(548))/2*(parseInt(e(521))/3)+-parseInt(e(576))/4*(-parseInt(e(597))/5)+-parseInt(e(592))/6*(parseInt(e(567))/7)+parseInt(e(522))/8*(parseInt(e(559))/9)+parseInt(e(602))/10+-parseInt(e(529))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Wt);class qt{constructor(){const t=Ht;this[t(540)]=!1,this[t(498)]=null,this[t(502)]=new Map,this[t(584)]=null,this[t(523)]=null,this[t(585)]=null}[Kt(515)](t){const e=Kt;this[e(498)]=t,this.advertisementEventTracker=new B(q.getBaseUrl(),t[e(547)],t[e(517)]||!1,this[e(502)]),this[e(523)]=new jt(t[e(517)]||!1,this[e(584)]),this[e(512)](),this._isReady=!0,t[e(517)]&&console.log(e(503))}isReady(){return this[Kt(540)]}[Kt(580)](){return this[Kt(498)]}banner(t,e){const r=Kt;this[r(564)]();const i={width:e?.[r(542)]||r(569),height:e?.[r(565)]||r(513),autoSlide:e?.[r(582)]||!1,slideInterval:e?.[r(510)]||5e3,onClick:e?.[r(482)],adId:e?.[r(486)],language:e?.[r(591)],deviceType:e?.[r(600)],country:e?.country};return this.createAd(t,n[r(605)],i)}text(t,e){const r=Kt;this.ensureReady();const i={maxLines:e?.[r(535)]||3,style:e?.[r(557)]||r(598),onClick:e?.[r(482)],adId:e?.[r(486)],language:e?.language,deviceType:e?.[r(600)],country:e?.country};return this[r(570)](t,n[r(563)],i)}video(t,e){const r=Kt;this.ensureReady();const i={width:e?.[r(542)]||640,height:e?.height||360,autoplay:void 0===e?.[r(505)]||e[r(505)],muted:void 0===e?.[r(516)]||e[r(516)],loop:void 0===e?.loop||e[r(500)],playsinline:!1!==e?.[r(524)],controls:void 0!==e?.[r(472)]&&e[r(472)],hideControls:e?.[r(478)]||!1,customControls:e?.[r(519)],autoSlide:!1,maxAds:1,onClick:e?.[r(482)],...e?.[r(486)]&&{adId:e[r(486)]}};return this[r(570)](t,n[r(490)],i)}native(t,e){const r=Kt;return this[r(564)](),this[r(570)](t,n[r(504)],e||{})}interstitial(t,e){const r=Kt;return this.ensureReady(),this[r(570)](t,n[r(511)],e||{})}[Kt(595)](t){const e=Kt;this.ensureReady();const n=this.slots[e(487)](t);if(!n)throw new Error(e(493)+t);this[e(508)](n),this[e(498)]?.[e(517)]&&console[e(532)](e(604)+t)}destroy(t){const e=Kt;this.ensureReady();const n=this[e(502)].get(t);if(!n)return void(this._config?.debug&&console.log("🔍 Ad slot already cleaned up: "+t));n[e(528)]&&n[e(528)][e(552)]();const r=document.getElementById(n.containerId);r&&(r[e(484)]=""),this[e(502)][e(538)](t),this[e(498)]?.[e(517)]&&console.log("🗑️ Ad slot destroyed: "+t)}[Kt(488)](){const t=Kt;return this[t(564)](),Array[t(601)](this[t(502)].values())}[Kt(594)](t){const e=Kt;return this[e(564)](),this[e(502)][e(487)](t)||null}[Kt(570)](t,e,n){const r=Kt;if(!this._config?.[r(547)])throw new Error(r(480));const i=r(533)+e+"-"+Date[r(476)]()+"-"+Math[r(509)]()[r(586)](36).substr(2,9);return this[r(556)](t,e,n,i,0),i}async[Kt(556)](t,e,n,r,i){const s=Kt,o=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document.getElementById(t),!c)return i<4?(this._config?.[s(517)]&&console[s(588)](s(593)+t+s(497)+o[i+1]+"ms... (attempt "+(i+1)+"/5)"),void setTimeout(()=>{this[s(556)](t,e,n,r,i+1)},o[i+1])):void console.error(s(531)+5+" attempts: "+t)}else c=t,a=c.id||s(544)+r,!c.id&&(c.id=a);try{this[s(534)](a,e,n,r,c)}catch(t){console[s(536)](s(474),t)}}[Kt(534)](t,e,r,i,s){const o=Kt;s.setAttribute(o(596),i),this[o(523)]?.[o(573)](s,i,e,r,this._config);const a={id:i,containerId:t,adType:e,width:r[o(542)]||o(569),height:r[o(565)]||(e===n.TEXT?o(513):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...r},load:async()=>this[o(499)](e,r)[o(590)](t=>t[0]||null),render:t=>this[o(523)]?.[o(578)](a,t),refresh:async()=>this[o(508)](a),destroy:()=>this[o(552)](i)};this.slots.set(i,a),this[o(554)](a),this.advertisementEventTracker&&this[o(498)]?.debug&&console[o(532)](o(579)+i)}async[Kt(554)](t){const e=Kt;try{const r=await this[e(499)](t[e(485)],t[e(572)]);if(!r||0===r.length)return void this[e(523)]?.[e(491)](t);t[e(485)]===n[e(605)]&&r.length>0&&await(this.adRenderer?.optimizeContainerForBannerAds(t,r)),r[e(581)]>1||t[e(572)]?.[e(582)]?(await(this[e(523)]?.renderAdSlider(t,r)),this._config?.[e(517)]&&console[e(532)](e(481)+r[e(581)]+e(553))):(t[e(518)]=r[0],await(this.adRenderer?.[e(578)](t,r[0])),this[e(558)](t,r[0])),t.isLoaded=!0,this[e(498)]?.[e(517)]&&console[e(532)](e(489)+t.id+" ("+r[e(581)]+e(583))}catch(n){console[e(536)](e(479)+t.id,n),this[e(523)]?.[e(491)](t)}}[Kt(558)](t,e){const n=(r=0)=>{const i=Ht,s=document[i(589)](t.id);if(!s)return void(r<5?(setTimeout(()=>n(r+1),300),this[i(498)]?.[i(517)]&&console[i(532)]("🔄 Retrying viewability tracking for slot: "+t.id+" (attempt "+(r+1)+")")):console[i(588)](i(566)+t.id));const o=new N(s,async()=>{await this.handleViewableEvent(e,t)});t[i(528)]=o,this[i(498)]?.[i(517)]&&console[i(532)](i(530)+t.id+i(496))};n()}async[Kt(571)](t,e){const n=Kt;try{this[n(584)]&&(await this.advertisementEventTracker[n(527)](t[n(562)],e.id,c[n(574)]),this[n(498)]?.[n(517)]&&console[n(532)](n(577)+t[n(562)]))}catch(t){console[n(536)](n(560),t)}}async[Kt(499)](t,e){const n=Kt;if(!this[n(498)]?.[n(547)])throw new Error(n(480));if(e[n(486)]){const t=""+q.advertisements.detail(e[n(486)]),r=await fetch(t,{method:n(575),headers:R.create(this[n(498)][n(547)])});if(!r.ok){if(404===r.status)return console[n(588)](n(603)+e.adId),[];throw new Error(n(550)+r[n(539)])}const i=await r[n(549)]();return this[n(498)]?.debug&&console[n(532)]("📊 Fetched specific ad with ID: "+e.adId,i),[i]}const r=new URLSearchParams;r[n(537)]("adType",t),e[n(591)]&&r[n(537)](n(591),e.language),e.deviceType&&r[n(537)](n(600),e[n(600)]),e[n(492)]&&r[n(537)]("country",e[n(492)]);const i=q.advertisements[n(514)]()+"?"+r.toString(),s=await fetch(i,{method:"GET",headers:R[n(561)](this[n(498)][n(547)])});if(!s.ok)throw new Error(n(550)+s.status);const o=(await s[n(549)]())[n(525)]||[];return this._config?.[n(517)]&&console.log(n(495)+o[n(581)]+" ads for type: "+t+n(494),{language:e.language,deviceType:e[n(600)],country:e[n(492)]}),o}async[Kt(508)](t){const e=Kt;try{const n=await this[e(499)](t[e(485)],t[e(572)]||{});n&&n[e(581)]>0&&(t[e(518)]=n[0],await(this.adRenderer?.[e(520)](t)),this[e(584)]&&console[e(532)](e(587),t.id))}catch(n){console[e(536)](e(526)+t.id,n)}}ensureReady(){const t=Kt;if(!this[t(540)])throw new Error(t(545))}[Kt(512)](){const t=Kt;typeof window!==t(473)&&typeof document!==t(473)&&(this[t(585)]&&this.mutationObserver.disconnect(),this[t(585)]=new MutationObserver(e=>{const n=t;e[n(555)](t=>{const e=n;t[e(501)].forEach(t=>{const n=e;t[n(475)]===Node[n(507)]&&this.handleRemovedElement(t)})})}),this[t(585)][t(568)](document[t(477)],{childList:!0,subtree:!0}),this._config?.[t(517)]&&console[t(532)]("🔍 Auto-cleanup MutationObserver enabled"))}[Kt(541)](t){const e=Kt,n=t.getAttribute(e(596));if(n)return void this[e(599)](n);t[e(483)]("[data-adstage-slot-id]")[e(555)](t=>{const n=e,r=t[n(543)](n(596));r&&this[n(599)](r)})}[Kt(599)](t){const e=Kt,n=this.slots.get(t);if(n)try{n[e(528)]&&n.viewabilityTracker[e(552)](),this[e(502)][e(538)](t),this[e(498)]?.debug&&console[e(532)]("🧹 Auto-cleanup: slot "+t+" removed")}catch(n){this[e(498)]?.debug&&console.warn("Auto-cleanup failed for slot "+t+":",n)}}[Kt(506)](){const t=Kt,e=this[t(498)]?.[t(517)];this[t(585)]&&(this[t(585)][t(546)](),this[t(585)]=null),this.slots.clear(),this.advertisementEventTracker=null,this.adRenderer=null,this[t(540)]=!1,this._config=null,e&&console[t(532)]("🗑️ Ads module destroyed")}}function Yt(){var t=["5zSQiBh","config","2752416xEjHuz","_isReady","_organizationInfo","modules","4830654SedtSZ","10SoRMAB","isModuleEnabled","294294gaRUci","✅ Config module initialized (sync mode)","getBaseUrl","isReady","Config module not initialized","getConfig","_config","debug","🔄 Config updated","baseUrl","getApiEndpoint","73493PhqEyN","includes","22310WHZueI","getOrganizationInfo","setBaseUrl","3ODDCMg","log","2111192oeSgsN","1093491hQRlHX","apiKey","isDebugMode","ads","API key not available","updateConfig","13fLzyYd","getApiHeaders","256VRFOew"];return(Yt=function(){return t})()}function Xt(t,e){var n=Yt();return(Xt=function(t,e){return n[t-=371]})(t,e)}var Gt=Xt;!function(t){for(var e=Xt,n=t();;)try{if(581293===-parseInt(e(377))/1*(-parseInt(e(402))/2)+-parseInt(e(405))/3*(-parseInt(e(407))/4)+parseInt(e(380))/5*(-parseInt(e(386))/6)+parseInt(e(400))/7*(parseInt(e(379))/8)+parseInt(e(371))/9*(parseInt(e(387))/10)+parseInt(e(389))/11+parseInt(e(382))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yt);class Jt{constructor(){var t=Xt;this._isReady=!1,this[t(395)]=null,this[t(384)]=null}init(t){var e=Xt;this._config={timeout:3e4,debug:!1,modules:[e(374),"events",e(381)],...t},t[e(398)]&&q[e(404)](t[e(398)]),this._isReady=!0,t.debug&&console[e(406)](e(390),{modules:this[e(395)][e(385)],endpoint:q[e(391)](),mode:"development"})}[Gt(392)](){return this[Gt(383)]}[Gt(394)](){return this._config}[Gt(403)](){return this[Gt(384)]}[Gt(399)](){return q.getBaseUrl()}[Gt(373)](){var t=Gt;return this[t(395)]?.[t(396)]||!1}getEnabledModules(){var t=Gt;return this[t(395)]?.modules||[]}[Gt(388)](t){var e=Gt;return this.getEnabledModules()[e(401)](t)}[Gt(376)](t){var e=Gt;if(!this[e(395)])throw new Error(e(393));this[e(395)]={...this[e(395)],...t},this[e(373)]()&&console.log(e(397),t)}[Gt(378)](){var t=Gt;if(!this[t(395)]?.[t(372)])throw new Error(t(375));return R.create(this[t(395)][t(372)])}}function Qt(){const t=["1576YyvUZa","mapPlatformForEvents","getUserDeviceInfo","getAutoDetectedDeviceInfo","_userProvidedDeviceInfo","getViewportInfo","SSR","toLowerCase","3618450RqUhEb","0x0","userAgent","isMobile","70VNxlFw","web","784071LgtmWS","setDeviceProperty","height","desktop","14TcarCd","3189Pdxbbc","31400303vDzFsm","77969CVqRMB","platform","other","Unknown","getDetailedInfo","Mobile Web","generateDeviceId","5256408AnKtSi","mobile","Android","540152ztkovU","getPlatform","14syTWFf","tablet","iOS","isBrowser","clearDeviceInfo","setDeviceInfo","ko-KR","ios","language","getDeviceInfo","width"];return(Qt=function(){return t})()}const Zt=$t;function $t(t,e){const n=Qt();return($t=function(t,e){return n[t-=455]})(t,e)}!function(t){const e=$t,n=t();for(;;)try{if(454661===-parseInt(e(491))/1*(-parseInt(e(488))/2)+-parseInt(e(489))/3*(-parseInt(e(470))/4)+parseInt(e(478))/5+parseInt(e(498))/6+-parseInt(e(459))/7*(-parseInt(e(457))/8)+-parseInt(e(484))/9*(-parseInt(e(482))/10)+-parseInt(e(490))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Qt);class te{static[Zt(468)](){const t=Zt;return{...te[t(473)](),...te[t(474)]}}static[Zt(473)](){const t=Zt;if(!m[t(462)]())return{category:t(493),platform:t(476),model:t(476),osVersion:t(476)};const e=navigator[t(480)][t(477)]();let n=t(487);/tablet|ipad/.test(e)?n=t(460):C[t(481)]()&&(n=t(455));const r=C[t(458)]();return{category:n,platform:te[t(471)](r),model:navigator[t(492)],osVersion:navigator[t(492)],deviceId:C[t(497)]()}}static[Zt(464)](t){te._userProvidedDeviceInfo={...te._userProvidedDeviceInfo,...t}}static[Zt(485)](t,e){te._userProvidedDeviceInfo[t]=e}static[Zt(463)](){te[Zt(474)]={}}static[Zt(472)](){return{...te._userProvidedDeviceInfo}}static[Zt(471)](t){const e=Zt;switch(t){case e(466):return e(461);case"android":return e(456);case e(483):return e(496);case e(487):return"Desktop Web";default:return e(494)}}static[Zt(495)](){const t=Zt;if(!m[t(462)]())return{userAgent:t(476),language:t(465),platform:t(476),cookieEnabled:!1,onLine:!0,screenResolution:"0x0",viewportSize:t(479)};const e=m[t(475)]();return{userAgent:navigator[t(480)],language:navigator[t(467)]||t(465),platform:navigator[t(492)],cookieEnabled:navigator.cookieEnabled,onLine:navigator.onLine,screenResolution:screen[t(469)]+"x"+screen[t(486)],viewportSize:e[t(469)]+"x"+e.height}}}te[Zt(474)]={};const ee=ne;function ne(t,e){const n=re();return(ne=function(t,e){return n[t-=246]})(t,e)}function re(){const t=["156HKhKcL","getCurrentUserProperties","getBaseUserInfo","35693gGZKDl","estimateLocation","ko-KR","isBrowser","2506460HIwDbe","UTC","6753uMuVZT","1041475WsIfqt","394IXPSoU","372ZBefEm","clearUserProperties","setUserProperties","939961xIRtNR","11574XtYoiF","setUserProperty","88GRbTMo","65qhoZQV","language","getUserInfo","_userProperties","DateTimeFormat","timeZone","111196tSCEXF","extractCountryFromLanguage"];return(re=function(){return t})()}!function(t){const e=ne,n=t();for(;;)try{if(684100===parseInt(e(264))/1+parseInt(e(265))/2*(parseInt(e(263))/3)+parseInt(e(252))/4*(parseInt(e(246))/5)+parseInt(e(266))/6*(-parseInt(e(257))/7)+-parseInt(e(272))/8*(-parseInt(e(270))/9)+parseInt(e(261))/10+parseInt(e(269))/11*(-parseInt(e(254))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(re);class ie{static[ee(248)](){return{...ie.getBaseUserInfo(),...ie._userProperties}}static[ee(256)](){const t=ee;if(!m[t(260)]())return{language:t(259),country:"KR"};const e=navigator[t(247)]||t(259);return{language:e,country:ie[t(253)](e)}}static[ee(253)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t.split("-")[0]]||"KR"}static[ee(268)](t){const e=ee;ie[e(249)]={...ie[e(249)],...t}}static[ee(271)](t,e){ie._userProperties[t]=e}static[ee(267)](){ie[ee(249)]={}}static[ee(255)](){return{...ie._userProperties}}static[ee(258)](){const t=ee;if(!m.isBrowser())return{timezone:t(262),estimatedCountry:"KR"};const e=Intl[t(250)]().resolvedOptions()[t(251)];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 se(t,e){const n=ce();return(se=function(t,e){return n[t-=141]})(t,e)}ie[ee(249)]={};const oe=se;!function(t){const e=se,n=t();for(;;)try{if(357334===parseInt(e(199))/1*(parseInt(e(188))/2)+parseInt(e(146))/3*(-parseInt(e(175))/4)+parseInt(e(204))/5+parseInt(e(176))/6*(parseInt(e(162))/7)+-parseInt(e(144))/8+parseInt(e(173))/9+-parseInt(e(147))/10*(-parseInt(e(189))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class ae{static[oe(142)](){const t=oe;if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location[t(169)]),n={};let r=!1;const i=e.get(t(174));if(i)try{const e=decodeURIComponent(i),s=new URLSearchParams(e);for(const e of ae[t(143)]){const i=s[t(163)](e);i&&(n[e]=i,r=!0)}s[t(163)](t(159))===t(195)&&(r=!0)}catch(e){console[t(207)](t(210),e)}for(const i of ae[t(143)]){if(n[i])continue;const s=e[t(163)](i);s&&(n[i]=s,r=!0)}return r?(n[t(167)]||(n[t(168)]?n.channel="google.ads":n[t(180)]?n.channel=t(185):n.ttclid?n[t(167)]=t(197):n[t(177)]?n[t(167)]=t(178):n[t(158)]?n[t(167)]="linkedin.ads":n.msclkid?n[t(167)]=t(192):n[t(166)]&&(n[t(167)]=t(179))),ae[t(208)](n),n):null}static store(t){const e=oe;if(typeof window!==e(164))try{const n={...ae[e(163)](),...t},r=JSON.stringify(n);try{sessionStorage.setItem(ae[e(161)],r)}catch(t){}try{localStorage[e(205)](ae[e(161)],r)}catch(t){}}catch(t){console[e(207)](e(170),t)}}static[oe(163)](){const t=oe;if(typeof window===t(164))return null;try{const t=sessionStorage?.getItem(ae.STORAGE_KEY);if(t)return JSON.parse(t)}catch(t){}try{const e=localStorage?.[t(154)](ae[t(161)]);if(e)return JSON.parse(e)}catch(t){}return null}static[oe(187)](){const t=oe;if(typeof window!==t(164)){try{sessionStorage?.[t(141)](ae[t(161)])}catch(t){}try{localStorage?.[t(141)](ae.STORAGE_KEY)}catch(t){}}}static[oe(203)](){const t=oe,e=ae[t(163)]();return null!==e&&Object[t(150)](e).length>0}static hasClickId(){const t=oe,e=ae[t(163)]();return!!e&&ae.CLICK_ID_KEYS[t(181)](t=>e[t])}static shouldSendClickEvent(){const t=oe;if(typeof window===t(164))return!1;const e=ae.get();if(!e)return!1;const n=ae[t(201)](),r=!!e[t(167)];if(!n&&!r)return!1;const i=n?e[t(168)]||e[t(180)]||e[t(202)]||e[t(177)]||e[t(158)]||e[t(200)]||e[t(166)]:(e.channel||"")+":"+(e[t(171)]||"");if(!i)return!1;return i!==sessionStorage[t(154)](t(165))&&(sessionStorage[t(205)](t(165),i),!0)}static[oe(184)](){const t=oe;typeof window!==t(164)&&sessionStorage[t(205)](t(145),t(195))}static isClickEventSent(){const t=oe;return"undefined"!=typeof window&&sessionStorage.getItem(t(145))===t(195)}static[oe(193)](){const t=oe,e=ae[t(163)]();if(!e)return null;const n={};return e[t(168)]&&(n[t(168)]=e[t(168)]),e[t(180)]&&(n[t(180)]=e[t(180)]),e[t(202)]&&(n[t(202)]=e[t(202)]),e[t(177)]&&(n[t(177)]=e[t(177)]),e[t(167)]&&(n[t(167)]=e.channel),e[t(152)]&&(n.campaign=e.campaign),e[t(155)]&&(n[t(194)]=e.campaign_id),e.ad_group&&(n[t(153)]=e.ad_group),e[t(148)]&&(n[t(156)]=e[t(148)]),e.ad_creative&&(n.adCreative=e[t(182)]),e[t(157)]&&(n[t(190)]=e[t(157)]),e[t(171)]&&(n[t(171)]=e.term),e[t(209)]&&(n[t(209)]=e[t(209)]),e[t(172)]&&(n.utm_medium=e[t(172)]),e[t(186)]&&(n[t(186)]=e[t(186)]),e[t(160)]&&(n.utm_content=e[t(160)]),e[t(191)]&&(n[t(191)]=e.utm_term),Object[t(150)](n)[t(196)]>0?n:null}}function ce(){const t=["term","utm_medium","357732xscCDs","adstage_referrer","1209188aupAyC","22254idlUMu","nclid","naver.searchad","twitter.ads","fbclid","some","ad_creative","ad_group","markClickEventSent","meta.ads","utm_campaign","clear","1898nhMcpd","66OfhoYT","creativeId","utm_term","microsoft.ads","toAttributionObject","campaignId","true","length","tiktok.ads","CAMPAIGN_KEYS","498ksFjKS","msclkid","hasClickId","ttclid","hasParams","2899615nDmHIP","setItem","CLICK_ID_KEYS","warn","store","utm_source","Failed to parse adstage_referrer:","removeItem","captureFromUrl","ALL_KEYS","3052032cBpqJW","adstage_click_event_sent","6zoLAeH","387690eIMvJO","ad_group_id","UTM_KEYS","keys","adstage_tracking_params","campaign","adGroup","getItem","campaign_id","adGroupId","creative_id","liclid","adstage","utm_content","STORAGE_KEY","35UVbnFq","get","undefined","adstage_last_click_id","twclid","channel","gclid","search","Failed to store tracking params:"];return(ce=function(){return t})()}ae.STORAGE_KEY=oe(151),ae[oe(206)]=[oe(168),"fbclid",oe(202),oe(177),"liclid",oe(200),oe(166)],ae[oe(198)]=[oe(167),oe(152),oe(155),oe(183),oe(148),oe(182),oe(157),oe(171)],ae[oe(149)]=["utm_source",oe(172),"utm_campaign",oe(160),oe(191)],ae.ALL_KEYS=[...ae.CLICK_ID_KEYS,...ae[oe(198)],...ae[oe(149)]];const de=le;function le(t,e){const n=ue();return(le=function(t,e){return n[t-=168]})(t,e)}function ue(){const t=["_isReady","📊 Attribution included:","error","Attribution registration failed: ","create","apiKey","application/json","statusText","setItem","track","length","setDeviceProperty","📡 Attribution request URL:","keys","254436cvoDXy","toAttributionObject","setUserProperties","getDeviceInfo","Events module not initialized. Call AdStage.init() first.","11500juRCFH","sendEventToServer","📡 Request URL:","getUserDeviceInfo","3225060TuDpJA","❌ Failed to track event:","sendAttributionToServer","📱 Device info set:","trackWithAttributionId","⏭️ No tracking parameters found, skipping attribution registration","debug","274862Sffnab","getItem","45UJRIgj","7821729qMSCkQ","🔑 Attribution request headers:","API key not configured for attribution registration.","attributionId","7869904iTTHAu","clearDeviceInfo","❌ Failed to register attribution:","20dWyhyJ","61IscCKc","json","❌ API Error Response:","status","registerAttribution","📱 User provided device info cleared","events","getUserInfo","📦 Attribution request body:","_config","getUserProperties","Event tracking failed: ","log","getCurrentUserProperties","text","📦 Request body:","104395VvpvdJ","adstage_attribution_id","getAttributionId","Event data:","setDeviceInfo"];return(ue=function(){return t})()}!function(t){const e=le,n=t();for(;;)try{if(801912===-parseInt(e(185))/1*(parseInt(e(225))/2)+parseInt(e(176))/3*(parseInt(e(220))/4)+parseInt(e(201))/5+-parseInt(e(229))/6+-parseInt(e(174))/7+-parseInt(e(181))/8+-parseInt(e(177))/9*(-parseInt(e(184))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ue);class pe{constructor(){const t=le;this[t(206)]=!1,this[t(194)]=null}init(t){const e=le;this._config=t,this[e(206)]=!0,t[e(173)]&&console[e(197)]("📊 Events module initialized")}isReady(){return this[le(206)]}getConfig(){return this._config}[de(222)](t){const e=de;ie[e(222)](t),this._config?.[e(173)]&&console[e(197)]("👤 User properties set:",t)}[de(195)](){return ie[de(198)]()}[de(205)](t){const e=de;te[e(205)](t),this._config?.[e(173)]&&console[e(197)](e(170),t)}[de(217)](t,e){const n=de;te[n(217)](t,e),this[n(194)]?.debug&&console[n(197)]("📱 Device property set:",t,e)}[de(182)](){const t=de;te[t(182)](),this._config?.[t(173)]&&console[t(197)](t(190))}[de(228)](){return te[de(228)]()}[de(223)](){return te[de(223)]()}[de(192)](){return ie[de(192)]()}[de(198)](){return ie[de(198)]()}async[de(215)](t,e){const n=de;if(this[n(206)])if(this[n(194)]?.[n(211)])try{const r=this.getAttributionId();if(r){const i={eventName:t,sdkVersion:S(),device:te[n(223)](),user:ie.getUserInfo(),attributionId:r,params:e||{}};return await this[n(226)](i),void(this[n(194)][n(173)]&&console[n(197)]("✅ Event tracked with attribution ID:",t,r))}const i=ae[n(221)](),s={eventName:t,sdkVersion:S(),device:te[n(223)](),user:ie[n(192)](),...i&&{attribution:i},params:e||{}};await this[n(226)](s),this[n(194)].debug&&(console[n(197)]("✅ Event tracked:",t,e),i&&console[n(197)](n(207),i))}catch(r){console[n(208)](n(168),r),this._config[n(173)]&&console[n(208)](n(204),{eventName:t,properties:e})}else console.warn("API key not configured for event tracking.");else console.warn(n(224))}async[de(189)](t){const e=de;if(!this[e(206)])return console.warn(e(224)),null;if(!this[e(194)]?.[e(211)])return console.warn(e(179)),null;try{const n=ae.get();if(!n||0===Object[e(219)](n)[e(216)])return this[e(194)][e(173)]&&console[e(197)](e(172)),null;const r=await this[e(169)]({deviceId:t,referrerParams:n});if(this[e(194)][e(173)]&&console[e(197)]("✅ Attribution registered:",r),r.attributionId){try{localStorage[e(214)]("adstage_attribution_id",r[e(180)])}catch(t){}try{sessionStorage[e(214)](e(202),r[e(180)])}catch(t){}}return r}catch(t){return console[e(208)](e(183),t),null}}[de(203)](){const t=de;if("undefined"==typeof window)return null;try{const e=sessionStorage.getItem(t(202));if(e)return e}catch(t){}try{return localStorage[t(175)](t(202))}catch(t){}return null}async[de(171)](t,e){return this[de(215)](t,e)}async[de(226)](t){const e=de,n={...R.create(this[e(194)][e(211)]),"Content-Type":e(212)};this[e(194)]?.[e(173)]&&(console[e(197)]("🔑 Request headers:",n),console[e(197)](e(227),q[e(191)].track()),console[e(197)](e(200),t));const r=await fetch(q[e(191)][e(215)](),{method:"POST",headers:n,body:JSON.stringify(t)});if(!r.ok){const t=await r.text();throw console.error("❌ API Error Response:",t),new Error(e(196)+r[e(188)]+" "+r[e(213)])}}async[de(169)](t){const e=de,n={...R[e(210)](this[e(194)][e(211)]),"Content-Type":e(212)};this[e(194)]?.debug&&(console[e(197)](e(178),n),console[e(197)](e(218),q[e(191)][e(189)]()),console[e(197)](e(193),t));const r=await fetch(q[e(191)][e(189)](),{method:"POST",headers:n,body:JSON.stringify(t)});if(!r.ok){const t=await r[e(199)]();throw console[e(208)](e(187),t),new Error(e(209)+r[e(188)]+" "+r[e(213)])}return r[e(186)]()}}const he=fe;function fe(t,e){const n=me();return(fe=function(t,e){return n[t-=446]})(t,e)}!function(t){const e=fe,n=t();for(;;)try{if(648812===parseInt(e(470))/1*(parseInt(e(464))/2)+-parseInt(e(476))/3*(parseInt(e(458))/4)+-parseInt(e(489))/5*(parseInt(e(529))/6)+-parseInt(e(524))/7+parseInt(e(481))/8+-parseInt(e(474))/9+parseInt(e(491))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(me);class ge{constructor(){const t=fe;this._isInitialized=!1,this[t(460)]=null,this.config=new Jt,this[t(453)]=new qt,this[t(520)]=new pe}static init(t){const e=fe;!ge[e(508)]&&(ge[e(508)]=new ge);const n=ge[e(508)];if(!t[e(497)])throw new Error(e(475));n[e(460)]={timeout:3e4,debug:!1,modules:[e(453),e(520),e(505)],...t},n[e(460)][e(490)]&&(q[e(503)](n[e(460)][e(490)]),t[e(516)]&&console.log(e(454),n[e(460)].baseUrl));const r=n[e(460)][e(531)]||[e(453),e(520),e(505)];for(const t of r){const r=n[t];r&&typeof r[e(496)]===e(486)&&r.init(n[e(460)])}if(n[e(527)]=!0,typeof window!==e(452)){const r=ae.captureFromUrl();r&&t[e(516)]&&console[e(477)](e(515),r);const i=(()=>{const t=e;try{const e=new URLSearchParams(window.location[t(472)]),n=new URLSearchParams((window[t(522)].hash||"")[t(450)](/^#/,""));return e[t(533)]("attribution_id")||n[t(533)]("attribution_id")}catch{return null}})();if(i)try{localStorage[e(484)](e(483),i),t[e(516)]&&console[e(477)](e(501),i)}catch(t){}const s=ae[e(455)]();t.debug&&(console[e(477)](e(487),s),!s&&console[e(477)](e(479)));const o=ae[e(469)](),a=!(!r||!r[e(521)]);if(!i&&r&&(o||a)){const r=(async()=>{const r=e;try{const e=n[r(471)](),i=await n[r(520)][r(462)](e);return i&&t[r(516)]&&console[r(477)](r(535),{attributionId:i.attributionId,channel:i.channel,campaign:i[r(518)],expiresAt:i.expiresAt}),i}catch(t){return console[r(488)](r(465),t),null}})();s&&r[e(538)](r=>{const i=e;try{const e=ae[i(533)](),s=ae[i(493)]();t[i(516)]&&console[i(477)](i(468),{attributionId:r?.[i(451)],hasAttribution:!!r}),n[i(520)].track(i(530),{_autoGenerated:!0,_source:i(502),_timestamp:(new Date)[i(494)](),_platform:i(523)})[i(538)](()=>{const n=i;ae[n(500)](),t.debug&&console.log(n(526),{attribution:s,trackingParams:e})}).catch(t=>{const e=i;console.error(e(514),t)})}catch(t){console[i(488)](i(536),t)}})}else s&&setTimeout(()=>{const r=e;try{const e=ae[r(533)](),i=ae[r(493)]();n.events[r(463)]("click",{_autoGenerated:!0,_source:r(502),_timestamp:(new Date).toISOString(),_platform:r(523)}).then(()=>{const n=r;ae[n(500)](),t.debug&&console[n(477)](n(526),{attribution:i,trackingParams:e})}).catch(t=>{const e=r;console[e(488)](e(514),t)})}catch(t){console[r(488)](r(536),t)}},100)}t.debug&&console.log(e(537),{version:e(495),modules:r,apiKey:t[e(497)].substring(0,8)+"...",mode:e(467)})}static[he(446)](){const t=he;return ge.instance?.[t(527)]||!1}static[he(513)](){const t=he;return ge[t(508)]?.[t(460)]||null}static getInstance(){const t=he;if(!ge[t(508)])throw new Error(t(528));return ge[t(508)]}static get[he(453)](){const t=he;try{return ge[t(499)]().ads}catch(e){throw console.warn(t(448)),e}}static get events(){const t=he;try{return ge[t(499)]()[t(520)]}catch(e){throw console[t(459)](t(480)),e}}static get[he(505)](){const t=he;try{return ge[t(499)]()[t(505)]}catch(e){throw console[t(459)]("AdStage.config accessed before initialization"),e}}static[he(519)](){const t=he;ge.instance&&(ge.instance[t(527)]=!1,ge[t(508)]._config=null)}[he(471)](){const t=he;if(typeof window===t(452))return t(478)+Math[t(498)]()[t(532)](36)[t(473)](2,15);const e=localStorage[t(449)](t(507));if(e)return e;const n=[navigator[t(482)],navigator[t(485)],screen[t(509)]+"x"+screen[t(457)],(new Date).getTimezoneOffset(),navigator[t(456)]||0][t(510)]("|");let r=0;for(let e=0;e<n[t(517)];e++){r=(r<<5)-r+n[t(504)](e),r&=r}const i=t(525)+Math[t(492)](r).toString(36)+"-"+Date.now().toString(36);return localStorage[t(484)](t(507),i),i}}function me(){const t=["undefined","ads","🌐 API endpoint configured:","shouldSendClickEvent","hardwareConcurrency","height","772748ljgRev","warn","_config",")의 viewable 추적 초기화됨","registerAttribution","track","10bEArCg","❌ Failed to register attribution:","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","development","🎯 Sending click event after attribution registration","hasClickId","78458SnKwON","generateDeviceId","search","substring","9898866kFOqGm","API key is required for AdStage initialization","12JStLns","log","server-","⏭️ Skipping click event (duplicate or no click ID)","AdStage.events accessed before initialization","5206600ZvHqZM","userAgent","adstage_attribution_id","setItem","language","function","🔍 Should send click event:","error","4660hRdblX","baseUrl","23835910kUuNLi","abs","toAttributionObject","toISOString","2.0.0","init","apiKey","random","getInstance","markClickEventSent","🔗 Using attributionId from URL (attribution_id):","tracking_params","setBaseUrl","charCodeAt","config","clear","adstage_device_id","instance","width","join","clearAdViewable","📊 AdStage Debug: 현재 viewable 추적 상태","getConfig","❌ Failed to auto-track click event:","📊 Tracking parameters captured:","debug","length","campaign","reset","events","channel","location","web","6095516BfzXvs","web-","✅ Auto-tracked click event with tracking params:","_isInitialized","AdStage not initialized. Call AdStage.init() first.","222UuzqgF","click","modules","toString","get","viewableTracker","✅ Attribution registered:","❌ Error in click event auto-tracking:","🚀 AdStage SDK initialized (sync mode)","then","isReady","✅ AdStage Debug: 광고 ","AdStage.ads accessed before initialization","getItem","replace","attributionId"];return(me=function(){return t})()}function ye(){var t=["AdStage not initialized. Call AdStage.init() first.","56acSgFg","902620kkbaqr","3139339SehIlU","events","track","isReady","setUserProperties","warn","getUserProperties","20QCOthj","resolve","4992552RNUCbI","1683294iKUiCA","1228113WnSmSv","2KEdvNY","114433jWubVF","200oiBdtN","253902UvXVyr"];return(ye=function(){return t})()}function Ie(t,e){var n=ye();return(Ie=function(t,e){return n[t-=248]})(t,e)}ge[he(516)]={clearAllViewable:()=>{const t=he;at[t(506)](),console.log(t(466))},clearAdViewable:(t,e)=>{const n=he;at[n(511)](t,e),console[n(477)](n(447)+t+"("+e+n(461))},getViewableStatus:()=>{const t=he;console[t(477)](t(512),{trackedCount:at[t(534)].size,trackedItems:Array.from(at[t(534)])})}},function(t){for(var e=Ie,n=t();;)try{if(544927===parseInt(e(261))/1+-parseInt(e(260))/2*(-parseInt(e(258))/3)+-parseInt(e(266))/4*(-parseInt(e(255))/5)+parseInt(e(257))/6+-parseInt(e(248))/7+-parseInt(e(265))/8*(parseInt(e(259))/9)+-parseInt(e(262))/10*(parseInt(e(263))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ye);var ve,be={exports:{}},we={},ke={exports:{}},Se={};ke.exports=function(){if(ve)return Se;ve=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),o=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function S(e,n,r){var i,s={},o=null,a=null;if(null!=n)for(i in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(o=""+n.key),n)b.call(n,i)&&!k.hasOwnProperty(i)&&(s[i]=n[i]);var c=arguments.length-2;if(1===c)s.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];s.children=d}if(e&&e.defaultProps)for(i in c=e.defaultProps)void 0===s[i]&&(s[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:a,props:s,_owner:w.current}}function E(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,i,s,o){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return o=o(c=n),n=""===s?"."+A(c,0):s,v(o)?(i="",null!=n&&(i=n.replace(x,"$&/")+"/"),C(o,r,i,"",function(t){return t})):null!=o&&(E(o)&&(o=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||c&&c.key===o.key?"":(""+o.key).replace(x,"$&/")+"/")+n)),r.push(o)),1;if(c=0,s=""===s?".":s+":",v(n))for(var d=0;d<n.length;d++){var l=s+A(a=n[d],d);c+=C(a,r,i,l,o)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,i,l=s+A(a,d++),o);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],i=0;return C(t,r,"","",function(t){return e.call(n,t,i++)}),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 L(){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(!E(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Se.Component=g,Se.Fragment=n,Se.Profiler=i,Se.PureComponent=y,Se.StrictMode=r,Se.Suspense=c,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,Se.act=L,Se.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=h({},e.props),s=e.key,o=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(o=n.ref,a=w.current),void 0!==n.key&&(s=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(i[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)i.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];i.children=c}return{$$typeof:t,type:e.type,key:s,ref:o,props:i,_owner:a}},Se.createContext=function(t){return(t={$$typeof:o,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:t},t.Consumer=t},Se.createElement=S,Se.createFactory=function(t){var e=S.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=E,Se.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:_}},Se.memo=function(t,e){return{$$typeof:d,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=L,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 Ee,xe=ke.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */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,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},l=null,d=null;for(a in void 0!==i&&(l=""+i),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:s.current}}return ke.Fragment=n,ke.jsx=i,ke.jsxs=i,ke}();var Ce=we.exports;const Te=Ae.createContext(null);function _e(){const t=Ae.useContext(Te);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Re(){var t=["550160nEQGZs","4410Fwzbop","640448cXSnXI","12smLTBi","25550YeRyph","12oRPbdH","374198SdXGSB","1845676yLidJx","728590JjGNNu","593634BwECmy"];return(Re=function(){return t})()}function Le(t,e){var n=Re();return(Le=function(t,e){return n[t-=426]})(t,e)}!function(t){for(var e=Le,n=t();;)try{if(386217===parseInt(e(428))/1+-parseInt(e(434))/2+parseInt(e(427))/3*(-parseInt(e(431))/4)+-parseInt(e(426))/5*(parseInt(e(433))/6)+-parseInt(e(435))/7+-parseInt(e(430))/8+-parseInt(e(429))/9*(-parseInt(e(432))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Re);const Pe=De;function De(t,e){const n=Ne();return(De=function(t,e){return n[t-=344]})(t,e)}function Ne(){const t=["688345PCBXzM","57388UvWdYI","12gBqVwv","33vOYDHl","51264meadot","AdStage","50512JEzoKU","7KyFKzQ","undefined","31116NNaeQH","451oneCnd","ads","1350AZHoLl","1210746UdgipG","3310520EXKYDt","config","2.0.0"];return(Ne=function(){return t})()}!function(t){const e=De,n=t();for(;;)try{if(463106===parseInt(e(356))/1*(parseInt(e(359))/2)+parseInt(e(355))/3*(-parseInt(e(354))/4)+parseInt(e(353))/5+-parseInt(e(349))/6*(parseInt(e(360))/7)+parseInt(e(350))/8+-parseInt(e(357))/9*(parseInt(e(348))/10)+parseInt(e(346))/11*(parseInt(e(345))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ne);const Be=Pe(352),Oe=[Pe(347),"events",Pe(351)];typeof window!==Pe(344)&&(window[Pe(358)]=ye),t.AdStage=ye,t.AdStageProvider=function({children:t,config:e}){const[n,r]=Ae.useState(!1),[s,o]=Ae.useState(null),[i,a]=Ae.useState(null),c=t=>{try{a(null),n&&ye.reset(),ye.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};Ae.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:s,initialize:c,reset:()=>{try{ye.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Ce.jsx(Te.Provider,{value:l,children:t})},t.SDK_VERSION=Be,t.SUPPORTED_MODULES=Oe,t.TrackingParamsModule=le,t.getUserProperties=function(){var t=ve;if(ye[t(318)]())return ye[t(314)][t(313)]();console[t(316)](t(325))},t.setUserProperties=function(t){var e=ve;ye.isReady()?ye.events[e(317)](t):console.warn(e(325))},t.track=function(t,e){var n=ve;return ye[n(318)]()?ye[n(314)][n(328)](t,e):(console[n(316)](n(325)),Promise[n(324)]())},t.useAdStageContext=_e,t.useAdStageInstance=function(){const{isInitialized:t}=_e();return t?ye:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});
10
+ */be.exports=function(){if(Ee)return we;Ee=1;var t=xe,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function o(t,n,o){var a,c={},d=null,l=null;for(a in void 0!==o&&(d=""+o),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=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:d,ref:l,props:c,_owner:i.current}}return we.Fragment=n,we.jsx=o,we.jsxs=o,we}();var Ae=be.exports;const Ce=xe.createContext(null);function Te(){const t=xe.useContext(Ce);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function _e(){var t=["791904PfSufv","3166888eVHnta","1472970tNXnlN","2vhAMxo","377073efWCJI","3103611VfpaHQ","8432iOHIiD","180tnzotQ","1201260pRARhW","18rUfAtY"];return(_e=function(){return t})()}function Re(t,e){var n=_e();return(Re=function(t,e){return n[t-=120]})(t,e)}!function(t){for(var e=Re,n=t();;)try{if(258039===-parseInt(e(123))/1*(parseInt(e(122))/2)+-parseInt(e(126))/3*(parseInt(e(125))/4)+-parseInt(e(127))/5+-parseInt(e(129))/6+parseInt(e(124))/7+parseInt(e(120))/8+parseInt(e(128))/9*(parseInt(e(121))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_e);const De=Pe;function Pe(t,e){const n=Le();return(Pe=function(t,e){return n[t-=145]})(t,e)}function Le(){const t=["2451815gAonNG","ads","AdStage","2.0.0","27XdClxQ","376542NwJQwu","7602zyEgvd","133UHoiIh","2052720ckWnbn","313076yhRKbq","399082BXVvyz","undefined","3VfFFke","87230IXTTDz"];return(Le=function(){return t})()}!function(t){const e=Pe,n=t();for(;;)try{if(261945===parseInt(e(150))/1+parseInt(e(155))/2*(parseInt(e(157))/3)+-parseInt(e(154))/4+-parseInt(e(145))/5+parseInt(e(151))/6*(parseInt(e(152))/7)+parseInt(e(153))/8+parseInt(e(149))/9*(-parseInt(e(158))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Le);const Ue=De(148),Be=[De(146),"events","config"];typeof window!==De(156)&&(window[De(147)]=ge),t.AdStage=ge,t.AdStageProvider=function({children:t,config:e}){const[n,r]=xe.useState(!1),[i,s]=xe.useState(null),[o,a]=xe.useState(null),c=t=>{try{a(null),n&&ge.reset(),ge.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)}};xe.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:i,initialize:c,reset:()=>{try{ge.reset(),r(!1),s(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return Ae.jsx(Ce.Provider,{value:d,children:t})},t.SDK_VERSION=Ue,t.SUPPORTED_MODULES=Be,t.TrackingParamsModule=ae,t.getUserProperties=function(){var t=Ie;if(ge[t(251)]())return ge[t(249)][t(254)]();console[t(253)](t(264))},t.setUserProperties=function(t){var e=Ie;ge[e(251)]()?ge[e(249)][e(252)](t):console[e(253)](e(264))},t.track=function(t,e){var n=Ie;return ge[n(251)]()?ge[n(249)][n(250)](t,e):(console[n(253)](n(264)),Promise[n(256)]())},t.useAdStageContext=Te,t.useAdStageInstance=function(){const{isInitialized:t}=Te();return t?ge:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});