@adstage/web-sdk 3.0.15 → 3.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";var t,e,n,s,r,i,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(){var t=["VIDEO","TEXT","POPUP","1015332EMNuDl","2RlyPZz","INTERSTITIAL","VIEWABLE","4936Esvucp","BANNER","2148625GQoosD","TABLET","1590GVKQut","91XwFUPq","3123DLgywS","5023722ZrzXxb","NATIVE","15580QLdPBu","MOBILE","WEB","DESKTOP","803874RDoPBN","565512hbrdlP"];return(f=function(){return t})()}function g(t,e){var n=f();return(g=function(t,e){return n[t-=450]})(t,e)}function m(t,e){const n=y();return(m=function(t,e){return n[t-=460]})(t,e)}!function(){for(var t=g,e=f();;)try{if(488728===parseInt(t(458))/1*(parseInt(t(452))/2)+-parseInt(t(465))/3*(parseInt(t(461))/4)+parseInt(t(463))/5+-parseInt(t(457))/6+-parseInt(t(466))/7*(parseInt(t(453))/8)+-parseInt(t(467))/9*(-parseInt(t(470))/10)+parseInt(t(468))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=g)(462)]=n(462),e[n(456)]=n(456),e[n(459)]=n(459),e.NATIVE=n(469),e.VIDEO=n(454),e[n(455)]=n(455),(r=s||(s={}))[(i=g)(450)]=i(450),r[i(471)]="MOBILE",(a=o||(o={}))[(c=g)(460)]=c(460),a.CLICK="CLICK",(l=d||(d={}))[(u=g)(451)]=u(451),l[u(471)]=u(471),l[u(464)]=u(464);const I=m;!function(){const t=m,e=y();for(;;)try{if(270726===-parseInt(t(508))/1+parseInt(t(470))/2*(-parseInt(t(519))/3)+parseInt(t(464))/4+parseInt(t(479))/5*(parseInt(t(503))/6)+parseInt(t(523))/7+-parseInt(t(515))/8+-parseInt(t(509))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class v{static[I(521)](){return"undefined"!=typeof window&&"undefined"!=typeof document}static[I(530)](){return!this.isBrowser()}static[I(487)](){const t=I;return this.isBrowser()&&void 0!==document[t(466)]}static[I(501)](t){return this.canUseDOM()?document.getElementById(t):null}static[I(467)](t){return this.canUseDOM()?document.querySelector(t):null}static safeQuerySelectorAll(t){const e=I;return this[e(487)]()?Array[e(492)](document[e(497)](t)):[]}static safeCreateElement(t){const e=I;return this[e(487)]()?document[e(469)](t):null}static safeAddEventListener(t,e,n,s){const r=I;this[r(487)]()&&t&&t[r(526)](e,n,s)}static[I(533)](t,e,n,s){const r=I;this[r(487)]()&&t&&t[r(495)](e,n,s)}static[I(476)](t,e){return this[I(521)]()?window[t]??e:e}static[I(525)](t,e){return this[I(487)]()?document[t]??e:e}static[I(500)](t,e,n){return this[I(521)]()?window.open(t,e,n):null}static[I(518)](t){const e=I;return this[e(521)]()&&t?window[e(506)](t):null}static[I(471)](){const t=I;return!!this.canUseDOM()&&document.readyState!==t(513)}static[I(494)](){return new Promise(t=>{const e=m;this.canUseDOM()?this.isDOMReady()?t():this[e(504)](document,e(481),()=>t()):t()})}static safeApplyStyles(t,e){const n=I;this[n(487)]()&&t&&Object[n(474)](e).forEach(([e,s])=>{const r=n;t[r(507)][r(489)](e,s)})}static[I(527)](t,e){const n=I;this[n(487)]()&&t&&t[n(488)][n(522)](e)}static[I(531)](t,e){const n=I;this[n(487)]()&&t&&t.classList[n(499)](e)}static[I(528)](t,e){const n=I;this[n(487)]()&&t&&(t[n(462)]=e)}static safeSetInnerHTML(t,e){this[I(487)]()&&t&&(t.innerHTML=e)}static safeAppendChild(t,e){const n=I;this[n(487)]()&&t&&e&&t[n(512)](e)}static[I(472)](t,e){this.canUseDOM()&&t&&e&&t.removeChild(e)}static[I(477)](){const t=I;return{url:this[t(476)](t(484),{href:""})[t(461)],title:this[t(525)](t(514),""),referrer:this.getDocumentProperty("referrer","")}}static[I(524)](){const t=I;return{width:this[t(476)]("innerWidth",0),height:this[t(476)](t(478),0),pixelRatio:this[t(476)](t(510),1)}}static[I(520)](){const t=I;return{scrollTop:this[t(487)]()?window.pageYOffset||document.documentElement[t(490)]:0,scrollLeft:this[t(476)](t(498),0)}}static async waitForElement(t,e={}){const n=I,{timeout:s=3e3,retryInterval:r=100,debug:i=!1}=e;if(!this.canUseDOM())throw new Error(n(460));const o=document.getElementById(t);return o?(i&&console.log(n(485)+t),o):(i&&console.log(n(486)+t+n(473)+s+n(505)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(511)](s/r),l=()=>{const n=a;c++;const u=document[n(468)](t);if(u)return i&&console[n(534)]("✅ 컨테이너 발견: "+t+" ("+c+n(483)+c*r+n(532)),void e(u);if(c>=d){const e=n(496)+t+n(517)+t+n(529)+s+n(463)+c+n(480);return i&&console[n(516)](e),void o(new Error(e))}i&&c%10==0&&console.log("⏳ 컨테이너 대기 중: "+t+" ("+c+"/"+d+")");const p=Math[n(491)](r*Math[n(502)](1.2,c),500);setTimeout(l,p)};setTimeout(l,r)}))}static async[I(475)](t,e={}){const n=I,s=t[n(465)](t=>this[n(493)](t,e));return Promise[n(482)](s)}}function y(){const t=["location","✅ 컨테이너 즉시 발견: ","⏳ 컨테이너 대기 시작: ","canUseDOM","classList","setProperty","scrollTop","min","from","waitForElement","waitForDOM","removeEventListener",'❌ 컨테이너를 찾을 수 없습니다: "',"querySelectorAll","pageXOffset","remove","safeWindowOpen","safeGetElementById","pow","384RpOKKX","safeAddEventListener","ms)","getComputedStyle","style","253323fXlJzV","2754288jefoHd","devicePixelRatio","ceil","appendChild","loading","title","1562848gRhEUs","error",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"safeGetComputedStyle","19326aiAFFR","getScrollInfo","isBrowser","add","2366812VVajOh","getViewportInfo","getDocumentProperty","addEventListener","safeAddClass","safeSetTextContent",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"isSSR","safeRemoveClass","ms 경과)","safeRemoveEventListener","log","DOM을 사용할 수 없는 환경입니다.","href","textContent","ms (","1220076zocbMs","map","readyState","safeQuerySelector","getElementById","createElement","26aMgWTD","isDOMReady","safeRemoveChild"," (최대 ","entries","waitForElements","getWindowProperty","getPageInfo","innerHeight","36410YuKohN","번 시도)","DOMContentLoaded","all","번째 시도, "];return(y=function(){return t})()}const b=w;function w(t,e){const n=E();return(w=function(t,e){return n[t-=297]})(t,e)}!function(){const t=w,e=E();for(;;)try{if(459198===-parseInt(t(298))/1+parseInt(t(303))/2+parseInt(t(301))/3*(-parseInt(t(304))/4)+parseInt(t(307))/5+-parseInt(t(302))/6+-parseInt(t(299))/7*(parseInt(t(306))/8)+parseInt(t(300))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const k=b(297);function E(){const t=["4359258PuCQap","321418Gflsjx","8WHYRms","undefined","8DsVfTR","3972380iXutQB","3.0.15","768421boegtf","6388949oonwWQ","19802682TGRVtt","432921CxKYlg"];return(E=function(){return t})()}function x(){return k}function S(t,e){const n=T();return(S=function(t,e){return n[t-=234]})(t,e)}const A=S;!function(){const t=S,e=T();for(;;)try{if(562711===-parseInt(t(267))/1*(parseInt(t(240))/2)+-parseInt(t(274))/3*(parseInt(t(246))/4)+parseInt(t(241))/5*(parseInt(t(265))/6)+parseInt(t(280))/7+parseInt(t(249))/8+-parseInt(t(277))/9+parseInt(t(284))/10*(-parseInt(t(279))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class C{static generateDeviceId(){const t=S;if(!v.isBrowser())return t(269)+Date[t(283)]();const e=localStorage[t(286)](t(250));if(e)return e;const n=t(278)+Math[t(270)]()[t(244)](36)[t(252)](2,9)+"_"+Date[t(283)]();return localStorage.setItem(t(250),n),n}static[A(289)](){const t=A;if(!v[t(264)]())return t(275)+Date.now();const e=sessionStorage[t(286)](t(234));if(e)return e;const n="session_"+Math[t(270)]()[t(244)](36)[t(252)](2,9)+"_"+Date[t(283)]();return sessionStorage[t(263)](t(234),n),n}static isMobile(){const t=A;return!!v[t(264)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(257)](navigator.userAgent)}static getPlatform(){const t=A;if(!v.isBrowser())return t(238);const e=navigator[t(253)][t(259)]();return/iphone|ipad|ipod/[t(257)](e)?t(276):/android/[t(257)](e)?t(282):C[t(268)]()?"web":"desktop"}static[A(287)](){const t=A,e=v.getViewportInfo();return{deviceId:C.generateDeviceId(),sessionId:C[t(289)](),osVersion:v[t(264)]()?navigator[t(266)]:t(272),deviceModel:v[t(264)]()?navigator[t(266)]:t(272),appVersion:"1.0.0",sdkVersion:x(),language:v[t(264)]()&&navigator[t(261)]||"ko",country:"KR",ipAddress:"",userAgent:v[t(264)]()?navigator[t(253)]:t(272),timezone:v[t(264)]()?Intl[t(251)]()[t(239)]()[t(237)]:t(258),viewportWidth:e[t(248)],viewportHeight:e[t(243)],screenWidth:v[t(264)]()?screen[t(248)]:0,screenHeight:v[t(264)]()?screen.height:0,colorDepth:v[t(264)]()?screen[t(242)]:24,pixelRatio:e[t(245)],connectionType:v.isBrowser()&&navigator[t(247)]?.[t(254)]||t(235),platform:C[t(273)]()}}static getSlotPosition(t){const e=A;let n=v[e(285)](t);if(!n){const s=v[e(236)]("#"+t+e(256));s&&(n=s)}if(!n&&(n=v[e(236)]('[data-adstage-slot-id="'+t+'"]')),!n)return e(235);const s=n[e(281)](),r=v[e(255)]();return"x:"+Math[e(262)](s[e(271)])+e(288)+Math.round(s.top+r[e(260)])}}function T(){const t=["getScrollInfo"," .adstage-slider-wrapper","test","UTC","toLowerCase","scrollTop","language","round","setItem","isBrowser","6CEusoK","platform","1crJHue","isMobile","ssr_device_","random","left","SSR","getPlatform","939embBfH","ssr_session_","ios","3272319YQEjKv","device_","1542706lRtIrD","2513126mHIWZt","getBoundingClientRect","android","now","20VOoZFe","safeGetElementById","getItem","collectDeviceInfo",",y:","generateSessionId","adstage_session_id","unknown","safeQuerySelector","timeZone","web","resolvedOptions","352134ZwAKfO","971505AfEKLh","colorDepth","height","toString","pixelRatio","1460jFLsJd","connection","width","7550296cxguwr","adstage_device_id","DateTimeFormat","substr","userAgent","effectiveType"];return(T=function(){return t})()}function D(){const t=["3680532tfeUhK","application/json","92ZMxcxR","API key is required","11613xbCBXu","2022836UwycYG","179079VnMCkf","6862270vvHeOD","create","2936wSgvpV","5hqUzpo","31293lHmihd","1438578dBEYXf","createForEvents"];return(D=function(){return t})()}const R=_;function _(t,e){const n=D();return(_=function(t,e){return n[t-=284]})(t,e)}!function(){const t=_,e=D();for(;;)try{if(319439===parseInt(t(295))/1+parseInt(t(291))/2*(-parseInt(t(286))/3)+-parseInt(t(294))/4+-parseInt(t(285))/5*(-parseInt(t(287))/6)+parseInt(t(293))/7*(parseInt(t(284))/8)+-parseInt(t(289))/9+parseInt(t(296))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{static[R(297)](t,e){const n=R;if(!t)throw new Error(n(292));return{"x-api-key":t,"Content-Type":e?.contentType||n(290)}}static[R(288)](t,e){return z.create(t)}}const U=P;function P(t,e){const n=B();return(P=function(t,e){return n[t-=381]})(t,e)}!function(){const t=P,e=B();for(;;)try{if(307480===-parseInt(t(401))/1*(-parseInt(t(409))/2)+parseInt(t(391))/3+parseInt(t(439))/4+-parseInt(t(408))/5*(parseInt(t(386))/6)+parseInt(t(438))/7+parseInt(t(382))/8*(-parseInt(t(392))/9)+-parseInt(t(405))/10*(-parseInt(t(436))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class L{constructor(t,e,n,s){const r=P;this.baseUrl=t,this[r(415)]=e,this[r(423)]=n,this.slots=s}async[U(390)](t,e,n){const s=U;try{this.debug&&console[s(431)]("🚀 AdvertisementEventTracker: Processing "+n+s(395)+t+s(394)+e);const r=this[s(433)][s(430)](e);if(!r)return void(this[s(423)]&&console[s(403)](s(393)+e+s(388)));if(!(document.getElementById(r[s(419)])||document[s(381)](s(414)+e+'"]')))return void(this[s(423)]&&console[s(403)](s(410)+e+s(411)+r[s(419)]+s(417)));const i=C[s(421)](),a={adType:r[s(387)],platform:i[s(383)],deviceId:i[s(424)],deviceInfo:i,pageUrl:v.getPageInfo()[s(422)],pageTitle:v[s(434)]()[s(407)],referrer:v.getPageInfo().referrer,slotId:e,slotPosition:C[s(396)](r[s(419)]),slotWidth:L[s(397)](r[s(441)]),slotHeight:L.parseNumericValue(r.height),sessionId:i[s(402)],pageLoadTime:performance[s(435)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date[s(435)]()},...n===o[s(418)]&&{isViewable:!0,iabCompliant:!0}},c=this.baseUrl+"/advertisements/events/"+t+"/"+n,d=z.createForEvents(this.apiKey,a);this[s(423)]&&(console[s(431)](s(389)+n+s(429)+t,{url:c,headers:d,eventData:a}),console[s(431)](s(440),{method:s(428),url:c,hasApiKey:!!this[s(415)],bodySize:JSON.stringify(a)[s(420)]}));const l=await fetch(c,{method:s(428),headers:d,body:JSON[s(385)](a)});if(this[s(423)]&&console.log("📡 API Response Status: "+l[s(400)]+" "+l.statusText,{url:c,ok:l.ok}),!l.ok){const t=await l[s(384)]();throw new Error(s(413)+l[s(400)]+" "+l.statusText+" - "+t)}this.debug&&console.log(s(406)+n+s(429)+t)}catch(r){console[s(437)]("❌ Failed to track advertisement event:",r),console.error(s(412),{baseUrl:this[s(404)],apiKey:this.apiKey?this[s(415)][s(399)](0,8)+s(427):s(398),url:this[s(404)]+s(432)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[U(397)](t){const e=U;if(typeof t===e(416))return t;if(typeof t===e(425)){const n=parseFloat(t[e(426)](/px$/,""));return isNaN(n)?0:n}return 0}}function B(){const t=["API request failed: ",'[data-adstage-slot-id="',"apiKey","number","). Skipping event tracking.","VIEWABLE","containerId","length","collectDeviceInfo","url","debug","deviceId","string","replace","...","POST"," for ad ","get","log","/advertisements/events/","slots","getPageInfo","now","2695825dhQNuz","error","1529878dgQQNr","2410800oTKFzW","🌐 Full API call details:","width","querySelector","1075520pjBnWw","platform","text","stringify","6PgsXhc","adType",". Skipping event tracking to prevent incorrect adType.","🚀 Sending advertisement event: ","trackAdvertisementEvent","802986iCoUbm","36gkNyyc","⚠️ Slot not found for slotId: "," in slot "," event for ad ","getSlotPosition","parseNumericValue","NOT_SET","substring","status","352PmuCFl","sessionId","warn","baseUrl","10UeQIkW","✅ Successfully tracked advertisement event: ","title","2783435IqXKGK","386ESlewg","⚠️ DOM element not found for slotId: "," (containerId: ","🔍 Debug info:"];return(B=function(){return t})()}var M=N;function O(){var t=["0px","forEach","initIntersectionObserver","9IqeJRc","intersectionRatio","warn","onViewableCallback","destroy","510034hzRUvc","handleIntersection","880DpEXDm","observer","IntersectionObserver","624804muelKw","750662pxnGdi","visible","IntersectionObserver not supported, viewability tracking disabled","2401470MjqQRm","isViewableTriggered","element","isDocumentVisible","10bUoJko","12eIhiXk","38024HuzyXW","1004GusbRd","735952rNSSLg"];return(O=function(){return t})()}function N(t,e){var n=O();return(N=function(t,e){return n[t-=343]})(t,e)}!function(){for(var t=N,e=O();;)try{if(326835===parseInt(t(346))/1*(parseInt(t(345))/2)+-parseInt(t(362))/3+-parseInt(t(347))/4*(parseInt(t(359))/5)+parseInt(t(366))/6+-parseInt(t(357))/7+-parseInt(t(348))/8*(-parseInt(t(352))/9)+-parseInt(t(344))/10*(parseInt(t(363))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class V{constructor(t,e){var n=N;this.observer=null,this[n(367)]=!1,this[n(368)]=t,this[n(355)]=e,this.initIntersectionObserver()}[M(351)](){var t=M;t(361)in window?(this[t(360)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(349)}),this[t(360)].observe(this[t(368)])):console[t(354)](t(365))}[M(358)](t){var e=M;t[e(350)](t=>{var n=e;t[n(353)]>=.5&&this[n(343)]()&&!this[n(367)]&&(this[n(367)]=!0,this[n(355)]&&this.onViewableCallback())})}[M(343)](){var t=M;return!document.hidden&&document.visibilityState===t(364)}[M(356)](){var t=M;this[t(360)]&&(this[t(360)].disconnect(),this[t(360)]=null)}}const F=j;function H(){const t=["baseUrl","/advertisements","69MyYdFx","701uwsjEs","110yGDoZF","8zrgEXv","production","488322vNvLDx","/events/track","registerAttribution","6582205dzCoXC","/advertisements/list","setBaseUrl","42748LysAXn","1021242clhRug","custom","https://beta-api.adstage.app","events","startsWith","1336027EfBgcR","/events/register/attribution","advertisements","getBaseUrl","3310fBhlOO","1639363EChieE"];return(H=function(){return t})()}!function(){const t=j,e=H();for(;;)try{if(666344===parseInt(t(358))/1*(parseInt(t(353))/2)+-parseInt(t(357))/3*(parseInt(t(343))/4)+parseInt(t(340))/5+-parseInt(t(344))/6+parseInt(t(349))/7*(parseInt(t(360))/8)+parseInt(t(337))/9+parseInt(t(359))/10*(-parseInt(t(354))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const K={production:"https://api.adstage.app",beta:F(346)};function j(t,e){const n=H();return(j=function(t,e){return n[t-=336]})(t,e)}F(336);const W={advertisements:{list:F(341),detail:F(356),events:"/advertisements/events"},events:{track:F(338),registerAttribution:F(350)}};class Y{constructor(t){const e=F;this[e(351)]={list:()=>""+this[e(355)]+W[e(351)].list,detail:t=>""+this[e(355)]+W.advertisements.detail+"/"+t,events:(t,n)=>""+this[e(355)]+W.advertisements[e(347)]+"/"+t+"/"+n},this[e(347)]={track:()=>""+this.baseUrl+W[e(347)].track,registerAttribution:()=>""+this.baseUrl+W[e(347)][e(339)]},this[e(355)]=t||K[e(336)]}[F(342)](t){this[F(355)]=t}[F(352)](){return this.baseUrl}[F(345)](t){const e=F;return""+this[e(355)]+(t[e(348)]("/")?t:"/"+t)}}const G=new Y;function X(){var t=["trackInitialSlideViewable","2454354JkskuV","1WVBcmJ","🎯 Triggering initial VIEWABLE event: ad ","18jGKjiW","361938yOFdLe","190628fPsGWe","827336vcWHxC","VIEWABLE","1043833OTCMTv","7465040MUeBaM","_id","1134990vYzXhu","4QxUWsw"," (index: 0) in slot: ","log"];return(X=function(){return t})()}function q(t,e){var n=X();return(q=function(t,e){return n[t-=402]})(t,e)}var Q=q;!function(){for(var t=q,e=X();;)try{if(220174===parseInt(t(412))/1*(parseInt(t(416))/2)+-parseInt(t(415))/3+parseInt(t(407))/4*(parseInt(t(406))/5)+parseInt(t(411))/6+parseInt(t(403))/7+-parseInt(t(417))/8*(-parseInt(t(414))/9)+-parseInt(t(404))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class J{static trackSlideViewable(t,e,n,s,r=!1){var i=q;r&&console[i(409)]("🎯 Triggering VIEWABLE event for slide change: ad "+t[i(405)]+" (index: "+n+") in slot: "+e.id),s(t._id,e.id,o[i(402)])}static[Q(410)](t,e,n,s=!1){var r=Q;s&&console.log(r(413)+t._id+r(408)+e.id),n(t[r(405)],e.id,o[r(402)])}}function Z(t,e){const n=tt();return(Z=function(t,e){return n[t-=192]})(t,e)}const $=Z;function tt(){const t=[" -> ","CLICK","toLowerCase","_blank","cursor","896497QUZIME","open","addClickEventForSlider","addClickEventsBatch","2047650CcmQAq","log","stopPropagation","addClickEvent","64BHmfnN","13420386GxDLgG","preventDefault","click","isClickable","4602795JMhCkN"," ad clicked: ","style","🔗 ","pointer","addEventListener","addClickEventForRenderer","linkUrl","641996WHrXrT","12LTNBqJ","forEach","_id","2885028ETngbS","1215171TVTmoB","adType"];return(tt=function(){return t})()}!function(){const t=Z,e=tt();for(;;)try{if(969920===parseInt(t(213))/1+parseInt(t(201))/2+-parseInt(t(217))/3+-parseInt(t(205))/4+parseInt(t(193))/5*(-parseInt(t(202))/6)+parseInt(t(222))/7+parseInt(t(221))/8*(parseInt(t(206))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class et{static[$(220)](t,e,n,s,r=!1,i){const a=$;e.linkUrl&&(t[a(195)].cursor=a(197),t[a(198)](a(224),t=>{const c=a;if(t[c(223)](),t[c(219)](),s&&s(e[c(204)],n.id,o.CLICK),window.open(e[c(200)],c(211)),r){const t=i||String(n[c(207)]).toLowerCase();console[c(218)]("🔗 "+t+c(194)+e[c(204)]+c(208)+e.linkUrl)}}))}static[$(199)](t,e,n,s,r=!1,i){const a=$;e.linkUrl&&(t[a(195)][a(212)]=a(197),t[a(198)](a(224),t=>{const c=a;t[c(223)](),t[c(219)]();if(s()(e[c(204)],n.id,o[c(209)]),window[c(214)](e[c(200)],c(211)),r){const t=i||String(n[c(207)])[c(210)]();console[c(218)](c(196)+t+c(194)+e[c(204)]+" -> "+e.linkUrl)}}))}static[$(215)](t,e,n,s,r=!1,i){this[$(220)](t,e,n,s,r,i)}static[$(192)](t){return Boolean(t.linkUrl)}static[$(216)](t,e,n,s,r=!1,i){const o=$;t[o(203)]((t,a)=>{const c=o,d=e[a];d&&this[c(220)](t,d,n,s,r,i)})}}function nt(t,e){const n=it();return(nt=function(t,e){return n[t-=144]})(t,e)}const st=nt;!function(){const t=nt,e=it();for(;;)try{if(434536===parseInt(t(196))/1+parseInt(t(177))/2+parseInt(t(174))/3*(parseInt(t(205))/4)+-parseInt(t(201))/5*(parseInt(t(219))/6)+parseInt(t(250))/7+-parseInt(t(239))/8*(-parseInt(t(145))/9)+-parseInt(t(144))/10*(parseInt(t(215))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[st(222)](e,n){const s=st,r=document[s(203)](s(211));switch(r[s(149)]=s(163)+String(e.adType)[s(180)](),r[s(183)](s(213),n[s(173)]),r.setAttribute("data-adstage-slot-id",e.id),r.style[s(231)]="block",r[s(148)][s(218)]="100%",r[s(148)].height=s(176),e.adType){case t[s(184)]:if(n[s(175)]){const t=document.createElement("img");t[s(229)]=n[s(175)],t[s(148)].width=s(212),t[s(148)][s(207)]="auto",t[s(148)][s(188)]=s(190),r.appendChild(t)}else r[s(148)].height=s(227),r[s(148)][s(179)]="#f0f0f0",r[s(148)][s(172)]=s(151),r[s(226)]="Banner Ad";break;case t[s(251)]:if(n.videoUrl){const t=document[s(203)]("video");t[s(229)]=n[s(189)],t.style[s(218)]=s(212),t.style.height=s(176),r[s(241)](t)}else r[s(148)][s(207)]=s(245),r[s(148)][s(179)]=s(238),r[s(148)][s(172)]=s(146),r.textContent=s(235),r[s(148)].color=s(171);break;case t[s(166)]:if(n[s(226)]){const t=document[s(203)](s(211));t[s(226)]=n[s(226)]||"",t[s(148)][s(159)]=s(185),t.style[s(187)]="14px",r.appendChild(t)}else r[s(148)].height=s(178),r[s(148)][s(159)]=s(185),r.textContent=s(237);break;default:r.style[s(207)]=s(227),r[s(148)][s(172)]=s(151),r.style[s(179)]=s(209),r.textContent=e.adType+s(202)}return r}static[st(170)](e,n,s,r,i=!1){const o=st,a=document[o(203)](o(211));a[o(149)]=o(210);const c={position:o(162),overflow:o(152)};if(e[o(218)]&&0!==e[o(218)]){let t;t=typeof e[o(218)]===o(243)&&(e.width[o(198)]("px")||e[o(218)][o(198)]("%"))?e.width:e.width+"px",c[o(218)]=t,c[o(231)]=o(155)}else c[o(231)]=o(155);if(e[o(207)]&&0!==e[o(207)]){const t=typeof e.height===o(243)?e.height:e[o(207)]+"px";c.height=t}Object[o(214)](c).forEach(([t,e])=>{a[o(148)].setProperty(t,e)});const d=!e[o(218)]||0===e[o(218)],l=!e[o(207)]||0===e[o(207)];if(d||l){const t=document[o(203)](o(211));if(t.style[o(195)]=o(164),!d&&e.width){let n;n=typeof e[o(218)]===o(243)&&(e[o(218)][o(198)]("px")||e[o(218)][o(198)]("%"))?e[o(218)]:e[o(218)]+"px",t[o(148)].width=n,t[o(148)][o(199)]="normal"}document[o(181)][o(241)](t);let s=0,r=0;n[o(234)](n=>{const i=o,a=this.createSimpleAdElement(e,n);t.appendChild(a);const c=a[i(248)]();c.width>s&&(s=c.width),c[i(207)]>r&&(r=c[i(207)]),t[i(240)](a)}),d&&s>0&&(a.style[o(218)]=s+"px",c[o(218)]=s+"px"),l&&r>0&&(a[o(148)][o(207)]=r+"px",c[o(207)]=r+"px"),document[o(181)][o(240)](t)}const u=[...n,n[0]],p=document[o(203)](o(211));p[o(149)]=o(206);const h={display:o(168),transition:o(182),width:100*u[o(242)]+"%"};e[o(207)]&&0!==e[o(207)]&&(h[o(207)]="100%"),Object[o(214)](h).forEach(([t,e])=>{const n=o;p[n(148)][n(160)](t,e)}),u[o(234)]((t,n)=>{const s=o,a=document[s(203)](s(211));a[s(149)]=s(233);const c={width:100/u[s(242)]+"%","flex-shrink":"0",display:"flex","align-items":s(169),"justify-content":s(169)};e[s(207)]&&0!==e.height&&(c[s(207)]=s(212)),Object[s(214)](c)[s(234)](([t,e])=>{a[s(148)].setProperty(t,e)});const d=this[s(222)](e,t);et.addClickEventForSlider(d,t,e,r,i,String(e.adType)[s(180)]()),a[s(241)](d),p[s(241)](a)});const f=n[o(216)](e=>e[o(223)]===t[o(166)])?null:this[o(249)](n.length);let g=0;const m=n[o(242)],I=1e3*(s?.[o(228)]||3),v=(t,s=!1)=>{const a=o;g=t,p[a(148)].transition=s?"none":a(182),p[a(148)][a(194)]="translateX(-"+100/u[a(242)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(246))[a(234)]((t,e)=>{const n=a,s=t;e===c?(s.classList[n(197)]("active"),s[n(148)][n(167)]=n(158),s[n(148)][n(247)]=n(158),s[n(148)][n(230)]="1"):(s[n(193)][n(153)](n(165)),s.style.background=n(150),s[n(148)][n(247)]=n(225),s[n(148)][n(230)]="0.7")})}J[a(154)](n[c],e,c,r,i)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f.querySelectorAll(".adstage-dot")[o(234)]((t,e)=>{t[o(200)]("click",()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[o(200)]("mouseenter",()=>{clearInterval(b)}),a.addEventListener(o(244),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(224)](p,v,()=>g,m,y),a[o(241)](p),f&&a[o(241)](f),v(0),(!e[o(218)]||0===e[o(218)])&&setTimeout(()=>{const t=o,n=p[t(156)][0];if(n){const s=n[t(156)][0];if(s){const n=s[t(248)]();a[t(148)][t(218)]=n[t(218)]+"px",(!e[t(207)]||0===e[t(207)])&&(a[t(148)][t(207)]=n[t(207)]+"px"),a[t(148)][t(232)]="hidden"}}},10),a}static[st(249)](t){const e=st,n=document[e(203)]("div");n[e(149)]=e(208),n.style[e(195)]="\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ";for(let s=0;s<t;s++){const t=document[e(203)](e(186));t[e(149)]=e(204),t.style[e(195)]="\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ",t.addEventListener(e(220),()=>{const n=e;!t[n(193)][n(157)](n(165))&&(t[n(148)][n(247)]=n(192),t[n(148)].opacity=n(236))}),t.addEventListener(e(244),()=>{const n=e;!t[n(193)][n(157)](n(165))&&(t[n(148)][n(247)]=n(225),t[n(148)][n(230)]="0.7")}),n[e(241)](t)}return n}static[st(224)](t,e,n,s,r){const i=st;let o=0,a=!1;t[i(200)]("touchstart",t=>{const e=i;o=t[e(221)][0][e(147)],a=!0}),t[i(200)]("touchmove",t=>{a&&t[i(217)]()}),t[i(200)](i(161),t=>{const c=i;if(!a)return;a=!1;const d=t.changedTouches[0][c(147)],l=o-d;if(Math[c(191)](l)>50){const t=n();if(l>0){e(t+1),r&&r()}else{e(t>0?t-1:s-1)}}})}}function it(){const t=["style","className","transparent","1px dashed #ccc","hidden","remove","trackSlideViewable","inline-block","children","contains","#666666","padding","setProperty","touchend","relative","adstage-ad adstage-","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","active","TEXT","background","flex","center","createSliderContainer","white","border","_id","321qRKqDQ","imageUrl","auto","26232DLekqS","50px","backgroundColor","toLowerCase","body","transform 0.4s ease-out","setAttribute","BANNER","8px","button","fontSize","objectFit","videoUrl","cover","abs","#999999","classList","transform","cssText","222909frtXsR","add","includes","whiteSpace","addEventListener","107245XeeUiE"," Ad","createElement","adstage-dot","30668urHqIB","adstage-slide-container","height","adstage-dots","#f9f9f9","adstage-slider-wrapper","div","100%","data-adstage-ad-id","entries","5561677ZCXTuk","every","preventDefault","width","90VMBJkf","mouseenter","touches","createSimpleAdElement","adType","addTouchSupport","#cccccc","textContent","100px","autoSlideInterval","src","opacity","display","overflow","adstage-slide","forEach","Video Ad","0.9","Text Ad","#000","307520XzggiG","removeChild","appendChild","length","string","mouseleave","200px",".adstage-dot","borderColor","getBoundingClientRect","createMinimalDotIndicator","362068TznKVX","VIDEO","10SMazSX","36IgWTAC","1px solid #666","clientX"];return(it=function(){return t})()}const ot=ct;function at(){const t=["1361982WYBMGB","has","47014ifJRxC","clearAdViewable","580LJKUqo","add","4810680aJYshl","log","10155suhmZB","758850xbPOri","9114632lzVajn","2VSRsRS"," in slot ","isDuplicateViewable","4155042TgsQNU","delete","1310UpoaDZ","viewableTracker","35ohKeZn","clear"];return(at=function(){return t})()}function ct(t,e){const n=at();return(ct=function(t,e){return n[t-=120]})(t,e)}!function(){const t=ct,e=at();for(;;)try{if(851133===parseInt(t(121))/1*(parseInt(t(132))/2)+parseInt(t(135))/3+parseInt(t(125))/4*(-parseInt(t(129))/5)+parseInt(t(130))/6*(parseInt(t(139))/7)+-parseInt(t(131))/8+-parseInt(t(127))/9+-parseInt(t(137))/10*(parseInt(t(123))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{static[ot(134)](t,e,n=!1){const s=ot,r=t+"_"+e;return dt[s(138)][s(122)](r)?(n&&console[s(128)]("Duplicate viewable blocked for ad "+t+s(133)+e),!0):(dt[s(138)][s(126)](r),n&&console[s(128)]("✅ New viewable recorded for ad "+t+s(133)+e),!1)}static[ot(120)](){const t=ot;dt[t(138)][t(120)]()}static[ot(124)](t,e){const n=ot,s=t+"_"+e;dt.viewableTracker[n(136)](s)}}dt[ot(138)]=new Set;const lt=ut;function ut(t,e){const n=pt();return(ut=function(t,e){return n[t-=227]})(t,e)}function pt(){const t=["21860ueBnQv","adstage-class","1px solid rgba(0, 0, 0, 0.08)","cssText","width","adstage-slot","isDuplicateViewable","hasAttribute","classList","getComputedStyle","number"," for ad ","11px","subtle"," in slot ","getAttribute","parentElement","warn","justifyContent","🚫 Duplicate viewable blocked for ad ",'[class*="container"]',"unknown","advertisementEventTracker","error","alignItems","getElementById",'[class*="ad"]',"setAttribute","display","createEmptyContainer","): ","createEventTrackingCallback","invisible","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","string","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","100%","11szGGmw","fontSize","#f9f9f9","color","adType","📏 Using 100% height (container: ","<span>Loading ","🔄 Starting advertisement event tracking: ","isEmpty","style",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"minHeight","appendChild","data-adstage-type","data-adstage-empty","1841bsoDdR"," event","true",".adstage-"," ad...</span>","2356TNvVgn","getDefaultHeight"," for ","📏 Using default height ","adstage-slot adstage-empty adstage-","⚠️ Created empty ","border","contains"," event for ad "," container collapsed (","calculateAdSize","2571JOXiOv","none","querySelector","auto","2px dashed #e74c3c","7830UEvuIi","#e74c3c"," container: ","#666","borderRadius",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"929305VqdOvl","className",'[data-adstage-container="true"]',"center","✅ New viewable recorded for ad ","minimal","innerHTML","div","⚠️ AdvertisementEventTracker not available for ","block","5118hXiCOy",".adstage-slot","2012949VDnQnr","data-adstage-container","backgroundColor","fontFamily","trackAdvertisementEvent","applyPlaceholderStyle","data-adstage-slot","log","2259632vSotHR","flex","advertisement","debug","adstage-official","adstage-slot adstage-","placeholderMode","❌ Failed to track ","121bzfFsl","1px dashed #ccc","getContainerHeight","toLowerCase","height","transparent","renderFallback","createElement","closest"," slot: ","filter",'div[style*="min-height"]'];return(pt=function(){return t})()}!function(){const t=ut,e=pt();for(;;)try{if(341943===-parseInt(t(264))/1*(-parseInt(t(246))/2)+parseInt(t(344))/3*(parseInt(t(333))/4)+-parseInt(t(236))/5+parseInt(t(230))/6*(-parseInt(t(328))/7)+parseInt(t(256))/8+-parseInt(t(248))/9+-parseInt(t(276))/10*(parseInt(t(313))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht{constructor(t,e=!1,n){const s=ut;this[s(317)]=t,this[s(259)]=e,this[s(298)]=n||null}createPlaceholder(t,e,n,s){const r=ut,i=document.createElement(r(243));i.id=e,i.className=r(261)+String(this[r(317)])[r(267)](),i[r(303)](r(249),r(330)),i[r(303)](r(326),String(this[r(317)])),i[r(303)]("data-adstage-slot",e);const{width:o,height:a}=this[r(343)](t,n,s)||{width:"100%",height:this[r(334)]()};i[r(322)][r(280)]=o,i[r(322)][r(268)]=a;const c=s?.[r(262)]||n[r(262)]||"invisible";this[r(253)](i,c),t[r(325)](i),this[r(259)]&&console.log("📦 Placeholder created for "+this.adType+r(273)+e+" ("+o+" x "+a+") - Mode: "+c)}[lt(253)](t,e){const n=lt;switch(e){case n(308):t[n(322)][n(250)]="transparent",t[n(322)][n(339)]=n(345),t[n(322)].opacity="0",t[n(242)]="";break;case n(269):t[n(322)][n(250)]=n(269),t.style.border="none",t[n(322)].display=n(245),t[n(242)]="";break;case n(289):t[n(322)].backgroundColor="rgba(0, 0, 0, 0.02)",t[n(322)].border=n(345),t[n(322)][n(234)]="4px",t[n(322)].display=n(257),t[n(322)][n(300)]=n(239),t[n(322)][n(294)]=n(239),t[n(242)]=n(323);break;case n(241):t[n(322)].backgroundColor="rgba(248, 249, 250, 0.5)",t[n(322)].border=n(278),t[n(322)][n(234)]="6px",t.style[n(304)]=n(257),t.style[n(300)]=n(239),t[n(322)][n(294)]="center",t[n(242)]=n(235);break;case n(259):t[n(322)][n(339)]=n(229),t[n(322)][n(304)]=n(257),t[n(322)][n(300)]=n(239),t.style[n(294)]="center",t.style[n(250)]="rgba(231, 76, 60, 0.1)",t[n(322)][n(316)]=n(231),t[n(322)][n(251)]="monospace",t[n(322)][n(314)]=n(288),t[n(242)]=n(319)+this[n(317)]+n(332);break;default:t[n(322)][n(339)]=n(265),t[n(322)][n(304)]="flex",t[n(322)][n(300)]=n(239),t[n(322)][n(294)]=n(239),t[n(322)][n(250)]=n(315),t.style[n(316)]=n(233),t[n(242)]=n(319)+this[n(317)]+n(332)}}calculateAdSize(t,e,n){const s=lt,r=e.width,i=e[s(268)];let o,a;if(o=typeof r===s(286)?r+"px":typeof r===s(310)?r:s(312),typeof i===s(286))a=i+"px";else if(typeof i===s(310)&&i!==s(312)&&"auto"!==i)a=i;else{const e=this[s(266)](t);e>0?(a=s(312),(n?.[s(259)]||this.debug)&&console[s(255)](s(318)+e+"px)")):(a=this[s(334)](),(n?.[s(259)]||this[s(259)])&&console[s(255)](s(336)+a+s(335)+this[s(317)]))}return{width:o,height:a}}[lt(266)](t){const e=lt,n=window[e(285)](t),s=parseFloat(n.height);if(!s||0===s){const s=parseFloat(n[e(324)]);if(s>0)return s;if(t[e(322)][e(268)]&&t.style[e(268)]!==e(228)){const n=parseFloat(t.style[e(268)]);if(n>0)return n}const r=t[e(291)](e(268));if(r){const t=parseFloat(r);if(t>0)return t}}return s||0}[lt(307)](){return async(t,e,n)=>{const s=ut;if(n===o.VIEWABLE){if(dt[s(282)](t,e,this[s(259)]))return void(this[s(259)]&&console[s(255)](s(295)+t+s(290)+e));this[s(259)]&&console[s(255)](s(240)+t+s(290)+e)}if(this[s(298)])try{this[s(259)]&&console[s(255)](s(320)+n+s(287)+t+s(290)+e),await this[s(298)][s(252)](t,e,n),this[s(259)]&&console[s(255)]("📊 Advertisement event tracked: "+n+" for ad "+t+" in slot "+e)}catch(e){this[s(259)]&&console[s(299)](s(263)+n+s(341)+t+":",e)}else this[s(259)]&&console.warn(s(244)+n+s(329))}}[lt(270)](t){const e=lt,n=document[e(301)](t.id);if(n){const s=[...[n[e(227)](e(238)),n[e(272)](e(238)),n].filter(t=>t&&t[e(283)](e(249))),...[n.closest(e(247)),n[e(272)](e(331)+String(this[e(317)]).toLowerCase()),n[e(272)](e(302)),n[e(272)]('[class*="banner"]'),n.closest(e(296)),n[e(272)]('div[style*="height"]'),n[e(272)](e(275)),n[e(292)]][e(274)](Boolean)][0];if(s){let n=e(297);n=s[e(283)](e(249))?e(260):s[e(284)][e(340)](e(281))?e(277):"generic",s.style.cssText+=e(309),s.innerHTML="",s[e(303)](e(327),e(330)),this.debug&&console[e(293)]("⚠️ "+this.adType+e(342)+n+e(306)+t.id,s)}else this[e(305)](t)}t[e(258)]=void 0,t[e(321)]=!0}[lt(305)](t){const e=lt,n=document[e(301)](t.containerId);if(n){n[e(242)]="";const s=document[e(271)](e(243));s.id=t.id,s[e(237)]=e(337)+String(this.adType)[e(267)](),s.setAttribute(e(249),"true"),s[e(303)](e(327),"true"),s[e(303)](e(254),t.id),s[e(322)][e(279)]=e(311),n.appendChild(s),this[e(259)]&&console.warn(e(338)+this.adType+e(232)+t.id)}}log(t,...e){const n=lt;this.debug&&console[n(255)]("["+this[n(317)]+"] "+t,...e)}}const ft=gt;function gt(t,e){const n=mt();return(gt=function(t,e){return n[t-=331]})(t,e)}function mt(){const t=["slideInterval","warn","renderOptimizedBannerImage","Banner container optimization failed, using default size:","🎨 Banner image style applied: objectFit=","❌ Failed to load optimized banner image:","renderAdElement","1321523myZhmC","24qgEneK","getElementById","src","1238vMCYDi","status","fulfilled","average","forEach","max","calculateOptimalHeight","createSliderContainer","getBoundingClientRect","abs","5482392gxGOQI","appendChild","onload","4:3","debug","round","250px","📸 Banner image dimensions: ","loadImageDimensions","getDefaultHeight","ratio","100%","Image URL is not provided","dominant","Banner","style","filter","length"," with ","width","16:9","1499568fPSizY",", ratio=","2244QCbiPu","innerHTML","Banner Advertisement","objectFit","from","objectPosition","contain","1:1","✅ Optimized banner image rendered for ad: ","naturalWidth","borderRadius","renderMultipleAds","90FkrcIC","parentElement","BANNER","applyOptimizedImageStyle","Failed to calculate optimal banner size, using defaults:","optimizeContainerForBannerAds","div","8831669ZGFboJ",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"5nRVGHR","center"," ads (optimized: ","cover","aspectRatio","set","common","map","containerId","Failed to load image: ","allSettled","title","optimizedHeight","#f0f0f0","🎠 Banner carousel created for slot: "," ads: ","values","toString","height","config","<div>","Banner Ad","3:2","alt","count","addClickEventForRenderer","</div>","calculateOptimalContainerSize","selectOptimalSizeStrategy","1208732YNIRSM","createEventTrackingCallback","📊 Using standard ratio: ","get","name","createElement","imageUrl","log","reduce","286600PxuEOX","default"];return(mt=function(){return t})()}!function(){const t=gt,e=mt();for(;;)try{if(695013===parseInt(t(424))/1+parseInt(t(428))/2*(parseInt(t(356))/3)+-parseInt(t(406))/4+parseInt(t(377))/5*(-parseInt(t(333))/6)+-parseInt(t(354))/7*(-parseInt(t(425))/8)+parseInt(t(368))/9*(parseInt(t(415))/10)+-parseInt(t(375))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It extends ht{constructor(e=!1,n){super(t[gt(370)],e,n)}getDefaultHeight(){return gt(339)}async[ft(423)](t,e){const n=ft,s=document[n(426)](t[n(385)]);if(!s)return;const r=document[n(411)](n(374));r.className="adstage-ad adstage-banner-ad";const i=t[n(389)],o=s[n(369)]||s;if(i)r.style[n(352)]="100%",r[n(348)][n(395)]=String(i);else{const e=t[n(396)],s={width:e?.width,height:e?.[n(395)]},{width:i,height:a}=this.calculateAdSize(o,s,{debug:this.debug});r.style[n(352)]=i,r[n(348)][n(395)]=a}e.imageUrl?await this[n(419)](r,e,t):r.innerHTML=n(397)+(e.title||n(398))+n(403),et[n(402)](r,e,t,()=>this[n(407)](),this[n(337)],"Banner"),s[n(357)]="",s.appendChild(r)}async[ft(367)](t,e){const n=ft,s=document[n(426)](t[n(385)]);if(!s)throw new Error("Container not found: "+t[n(385)]);await this[n(373)](t,e);const r=this[n(407)](),i={autoSlideInterval:(t[n(396)]?.[n(417)]||5e3)/1e3,...t[n(396)],optimizedHeight:t[n(389)],aspectRatio:t[n(381)]},o=rt[n(435)](t,e,i,r,this[n(337)]);o&&(s[n(357)]="",s.appendChild(o),this[n(337)]&&console[n(413)](n(391)+t.id+n(351)+e.length+n(379)+(t[n(389)]||n(416))+")"))}async[ft(404)](t,e){const n=ft;if(!t[n(350)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const s=(await Promise[n(387)](t[n(349)](t=>t[n(412)]).map(t=>this[n(341)](t[n(412)]))))[n(349)](t=>t[n(429)]===n(430)).map(t=>t.value);if(0===s.length)return{width:n(344),height:this.getDefaultHeight(),aspectRatio:16/9};const r=this[n(405)](s),i=this[n(434)](s,e,r);return this[n(337)]&&console.log("📐 Optimal banner container calculated: "+e+"x"+i+" (strategy: "+r+")"),{width:n(344),height:i+"px",aspectRatio:e/i}}catch(t){return console[n(418)](n(372),t),{width:n(344),height:this[n(342)](),aspectRatio:16/9}}}async[ft(373)](t,e){const n=ft;try{const s=document.getElementById(t[n(385)]),r=document.getElementById(t.id);if(!s||!r)return;const i=s[n(331)]()[n(352)]||300,o=await this[n(404)](e,i);r.style[n(395)]=o.height,t.optimizedHeight=o.height,t.aspectRatio=o[n(381)],this[n(337)]&&console[n(413)]("🔧 Banner container optimized for "+e[n(350)]+n(392)+o[n(395)])}catch(t){console.warn(n(420),t)}}selectOptimalSizeStrategy(t){const e=ft,n=t.map(t=>t[e(352)]/t[e(395)]),s=new Map;n[e(432)](t=>{const n=e,r=(Math.round(10*t)/10)[n(394)]();s[n(382)](r,(s[n(409)](r)||0)+1)});const r=Math[e(433)](...s.values()),i=t[e(350)];if(r/i>=.7)return e(346);const o=[16/9,4/3,1,1.5];return n.filter(t=>o.some(n=>Math[e(332)](t-n)<.1))[e(350)]/i>=.5?"common":e(431)}[ft(434)](t,e,n){const s=ft,r=t[s(384)](t=>t[s(352)]/t.height);switch(n){case s(346):{const t=new Map;r[s(432)](e=>{const n=s,r=Math.round(10*e)/10,i=r.toString(),o=t[n(409)](i);o?o[n(401)]++:t.set(i,{ratio:r,count:1})});const n=Array[s(360)](t[s(393)]())[s(414)]((t,e)=>e[s(401)]>t[s(401)]?e:t);return Math[s(338)](e/n.ratio)}case s(383):{const t=[{ratio:16/9,name:s(353)},{ratio:4/3,name:s(336)},{ratio:1,name:s(363)},{ratio:1.5,name:s(399)}],n=r.reduce((t,e)=>t+e,0)/r.length,i=t.reduce((t,e)=>Math[s(332)](e[s(343)]-n)<Math[s(332)](t[s(343)]-n)?e:t);return this[s(337)]&&console[s(413)](s(408)+i[s(410)]+" (avg: "+n.toFixed(2)+")"),Math[s(338)](e/i.ratio)}case s(431):default:{const t=r[s(414)]((t,e)=>t+e,0)/r[s(350)];return Math[s(338)](e/t)}}}[ft(341)](t){return new Promise((e,n)=>{const s=gt,r=new Image;r[s(335)]=()=>{e({width:r[s(365)],height:r.naturalHeight})},r.onerror=()=>{n(new Error(s(386)+t))},r[s(427)]=t})}[ft(371)](t,e,n){const s=ft,r=e/n;Math[s(332)](r-1)<.1?(t[s(348)][s(359)]=s(380),t[s(348)][s(361)]=s(378)):r>1.3?(t[s(348)][s(359)]=s(362),t[s(348)].objectPosition="center",t[s(348)].backgroundColor=s(390)):r<.7?(t[s(348)].objectFit=s(380),t[s(348)][s(361)]=s(378)):(t[s(348)][s(359)]=s(380),t[s(348)][s(361)]=s(378)),this.debug&&console[s(413)](s(421)+t[s(348)][s(359)]+s(355)+r.toFixed(2))}async[ft(419)](t,e,n){const s=ft,r=document.createElement("img");r[s(348)][s(352)]=s(344),r[s(348)].height=s(344),r.style.display="block",r[s(348)][s(366)]="8px",r[s(400)]=e[s(388)]||s(358),t[s(357)]=s(376);try{if(!e[s(412)])throw new Error(s(345));const i=await this[s(341)](e[s(412)]),o=t[s(331)](),a=o[s(352)],c=o[s(395)];this[s(337)]&&(console.log(s(340)+i[s(352)]+"x"+i[s(395)]),console[s(413)]("📦 Banner container dimensions: "+a+"x"+c));const d=i[s(352)]/i.height,l=a/c;return this[s(371)](r,d,l),r.src=e.imageUrl,t[s(357)]="",t[s(334)](r),et[s(402)](r,e,n,()=>this[s(407)](),this[s(337)],s(347)),this[s(337)]&&console[s(413)](s(364)+e._id),r}catch(i){return console.error(s(422),i),e[s(412)]&&(r[s(427)]=e.imageUrl,r[s(348)].objectFit=s(380),r[s(348)][s(361)]=s(378),t[s(357)]="",t[s(334)](r),et[s(402)](r,e,n,()=>this[s(407)](),this.debug,s(347))),r}}}function vt(){const t=["textContent","title","createTextAdStyles","\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 ","336267ebXYdN","604796nISSCi","606goUSQi","24VaBbrc","3906952tpCbAj","4QETNFu","41733395lkomCz","36915ihHbSn","14234481NloENj","6ewMkQQ","setTextAdContent","13976720eohtOs"];return(vt=function(){return t})()}const yt=bt;function bt(t,e){const n=vt();return(bt=function(t,e){return n[t-=166]})(t,e)}!function(){const t=bt,e=vt();for(;;)try{if(860871===-parseInt(t(173))/1*(-parseInt(t(178))/2)+-parseInt(t(166))/3*(-parseInt(t(174))/4)+-parseInt(t(180))/5*(-parseInt(t(175))/6)+-parseInt(t(177))/7*(parseInt(t(176))/8)+-parseInt(t(181))/9+-parseInt(t(168))/10+parseInt(t(179))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class wt{static[yt(171)](t=!1){return yt(172)}static[yt(167)](t,e){const n=yt,s=e[n(169)]||e[n(170)]||"";t.textContent=s}}function kt(t,e){const n=xt();return(kt=function(t,e){return n[t-=390]})(t,e)}const Et=kt;function xt(){const t=["touchend",";\n transform: translateY(","length",";\n left: ","\n position: ","style","preventDefault","Text","height","height: 100%;","absolute","9uxlBMx","abs","adstage-fade-slide-container","includes","200890fnyTLt","data-adstage-ad-id","data-adstage-slot-id","block","4260IVJPbY","push","appendChild","createSimpleAdElement","\n position: relative;\n width: 100%;\n ","string","5853580GLoZwb","3578232QfEbIs","addTouchSupport","touches","removeChild","addClickEventForSlider","translateY(-20px)","left","mouseenter","createTextAdStyles","addEventListener","hidden","translateY(0)","84lHWkJC","\n ","className","whiteSpace","adstage-fade-slide","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","width","adType","changedTouches","forEach",";\n top: ","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","setTextAdContent",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","374QLGznI","845108yigpKR","3zhSPoR","minHeight","touchmove","cssText","20px","clientY","toLowerCase","position","mouseleave","1334184obJPVn","translateY(20px)","relative",";\n width: 100%;\n ","91xSMfdq","normal","fit-content","auto","autoSlideInterval","div","createElement","transform","2011956ofdKiY","opacity","body","adstage-fade-slider-wrapper","getBoundingClientRect","22srjcSM","zIndex","height: auto; min-height: fit-content;","setProperty","setAttribute"];return(xt=function(){return t})()}!function(){const t=kt,e=xt();for(;;)try{if(786883===-parseInt(t(435))/1*(-parseInt(t(468))/2)+parseInt(t(470))/3*(parseInt(t(469))/4)+-parseInt(t(431))/5*(parseInt(t(454))/6)+parseInt(t(442))/7+parseInt(t(394))/8*(-parseInt(t(427))/9)+parseInt(t(441))/10*(parseInt(t(411))/11)+parseInt(t(406))/12*(-parseInt(t(398))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St{static[Et(438)](t,e){const n=Et,s=document[n(404)]("div");return s.className="adstage-ad adstage-"+String(t[n(461)])[n(391)](),s[n(415)](n(432),e._id),s[n(415)](n(433),t.id),s.style[n(473)]=wt[n(450)](!0),wt[n(466)](s,e),s}static createTextTransitionContainer(t,e,n,s,r=!1){const i=Et,o=t[i(424)]&&0!==t[i(424)]&&"auto"!==t.height,a=document[i(404)](i(403));a[i(456)]=i(409);const c={position:i(396),overflow:i(452),display:i(434)};if(!o&&(c[i(424)]=i(401),c[i(471)]=i(400)),t[i(460)]&&0!==t[i(460)]){let e;e=typeof t[i(460)]===i(440)&&(t[i(460)][i(430)]("px")||t[i(460)].includes("%"))?t[i(460)]:t[i(460)]+"px",c[i(460)]=e}if(t[i(424)]&&0!==t[i(424)]&&t[i(424)]!==i(401)&&o){let e;e=typeof t[i(424)]===i(440)&&(t[i(424)][i(430)]("px")||t.height.includes("%"))?t[i(424)]:t[i(424)]+"px",c[i(424)]=e}Object.entries(c).forEach(([t,e])=>{const n=i;a.style[n(414)](t,e)});const d=document[i(404)](i(403));d.className=i(429),d[i(421)][i(473)]=i(439)+(o?"height: 100%;":i(413))+i(455);let l=null;const u=!t.width||0===t.width,p=!t.height||0===t[i(424)]||void 0===t.height||t[i(424)]===i(401);if(u||p&&o){if(l=document[i(404)](i(403)),l.style.cssText=i(465),!u&&t[i(460)]){let e;e=typeof t[i(460)]===i(440)&&(t[i(460)][i(430)]("px")||t[i(460)][i(430)]("%"))?t.width:t.width+"px",l.style[i(460)]=e,l[i(421)][i(457)]=i(399)}document.body[i(437)](l);let n=0,s=0;e[i(463)](e=>{const r=i,o=this.createSimpleAdElement(t,e);l[r(437)](o);const a=o[r(410)]();a[r(460)]>n&&(n=a[r(460)]),a[r(424)]>s&&(s=a[r(424)]),l[r(445)](o)}),u&&n>0&&(a[i(421)][i(460)]=n+"px"),p&&s>0&&o&&(a[i(421)].height=s+"px"),document[i(408)][i(445)](l)}const h=[];e[i(463)]((e,n)=>{const a=i,c=document[a(404)](a(403));c[a(456)]=a(458);const l=o?"absolute":a(0===n?396:426);c.style.cssText=a(420)+l+a(464)+(l===a(426)?"0":a(401))+a(419)+(l===a(426)?"0":a(401))+a(397)+(o?a(425):"height: auto;")+a(459)+(0===n?"1":"0")+a(417)+(0===n?"0":a(474))+a(467)+(0===n?"2":"1")+";\n ";const u=this[a(438)](t,e);et[a(446)](u,e,t,s,r,a(423)),c[a(437)](u),d.appendChild(c),h[a(436)](c)});let f=0;const g=e[i(418)],m=1e3*(n?.[i(402)]||4),I=n=>{const a=i;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(421)].position===a(396)&&(c[a(421)][a(392)]=a(426),c.style.top="0",c.style[a(448)]="0"),d[a(421)][a(392)]="relative",d.style.top="auto",d[a(421)][a(448)]="auto"),c[a(421)][a(407)]="0",c[a(421)][a(405)]=a(447),c[a(421)][a(412)]="1",d[a(421)][a(407)]="1",d[a(421)].transform=a(453),d[a(421)][a(412)]="2",h[a(463)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(421)][s(407)]="0",t[s(421)].transform=s(395),t[s(421)].zIndex="1",!o&&"relative"===t[s(421)][s(392)]&&(t[s(421)][s(392)]=s(426),t[s(421)].top="0",t[s(421)][s(448)]="0"))}),f=n,J.trackSlideViewable(e[f],t,f,s,r)};let v=setInterval(()=>{I(f+1)},m);return a[i(451)](i(449),()=>{clearInterval(v)}),a[i(451)](i(393),()=>{v=setInterval(()=>{I(f+1)},m)}),St[i(443)](a,I,()=>f,g),a[i(437)](d),a}static[Et(443)](t,e,n,s){const r=Et;let i=0,o=0,a=!1;t[r(451)]("touchstart",t=>{const e=r;i=t[e(444)][0].clientX,o=t[e(444)][0][e(390)],a=!0}),t[r(451)](r(472),t=>{a&&t[r(422)]()}),t[r(451)](r(416),t=>{const s=r;if(!a)return;a=!1;const c=t[s(462)][0].clientX,d=t[s(462)][0][s(390)],l=i-c,u=o-d;if(Math[s(428)](l)>Math[s(428)](u)&&Math[s(428)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const At=Tt;function Ct(){const t=["className","createElement","14rELFXy","getDefaultHeight","10vvNpjE","config","85637GvisvI","display","1798764yFAtmc","log","452151nJNfqG","1964534jTLMTo","createEventTrackingCallback","595mZCqpG","getElementById","aspectRatio","optimizedHeight","parentElement","adstage-text-content","12416nAbsmn","✨ Single text ad rendered: ","✨ Text transition created for slot: ","renderAdElement","length","number","appendChild","5692MMFoOY","TEXT","hidden","height","775aHWXnT","width","100%","60px","debug","maxLines","62076iZjCYL","createTextAdStyles","createTextTransitionContainer","containerId","Container not found: ","_id","renderMultipleAds","style","slideInterval","addClickEventForRenderer"];return(Ct=function(){return t})()}function Tt(t,e){const n=Ct();return(Tt=function(t,e){return n[t-=131]})(t,e)}!function(){const t=Tt,e=Ct();for(;;)try{if(340731===-parseInt(t(138))/1+-parseInt(t(134))/2*(-parseInt(t(168))/3)+-parseInt(t(158))/4*(-parseInt(t(162))/5)+-parseInt(t(140))/6+-parseInt(t(145))/7*(-parseInt(t(151))/8)+-parseInt(t(142))/9*(-parseInt(t(136))/10)+parseInt(t(143))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Dt extends ht{constructor(e=!1,n){super(t[Tt(159)],e,n)}[At(135)](){return At(165)}async[At(154)](t,e){const n=At,s=document.getElementById(t[n(171)]);if(!s)return;const r=document[n(133)]("div");r[n(132)]="adstage-ad adstage-text-ad";const i=t[n(148)],o=s[n(149)]||s;if(i)r[n(175)].width=n(164),r[n(175)][n(161)]=String(i);else{const e=t.config,s={width:e?.[n(163)],height:e?.[n(161)]},{width:i,height:a}=this.calculateAdSize(o,s,{debug:this[n(166)]});r[n(175)][n(163)]=i,r[n(175)][n(161)]=a}const a=document[n(133)]("div");a[n(132)]=n(150),a.style.cssText=wt[n(169)](!1),wt.setTextAdContent(a,e);const c=t[n(137)]?.[n(167)];c&&typeof c===n(156)&&(a[n(175)][n(139)]="-webkit-box",a[n(175)].webkitLineClamp=String(c),a[n(175)].webkitBoxOrient="vertical",a[n(175)].overflow=n(160)),r[n(157)](a),et[n(131)](r,e,t,()=>this[n(144)](),this[n(166)],"Text"),s.innerHTML="",s[n(157)](r),this[n(166)]&&console[n(141)](n(152)+e[n(173)])}async[At(174)](t,e){const n=At,s=document[n(146)](t[n(171)]);if(!s)throw new Error(n(172)+t[n(171)]);const r=this[n(144)](),i={autoSlideInterval:(t[n(137)]?.[n(176)]||5e3)/1e3,...t[n(137)],optimizedHeight:t[n(148)],aspectRatio:t[n(147)]},o=St[n(170)](t,e,i,r,this[n(166)]);o&&(s.innerHTML="",s[n(157)](o),this.debug&&console[n(141)](n(153)+t.id+" with "+e[n(155)]+" ads"))}}const Rt=zt;function _t(){const t=["className","innerHTML","\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 ","cssText","6709052rZgQkt","11896656SvtzLN","100%","relative","warn","video","47015PBLAmt","loop","error",'\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 ',"🎬 Video data loaded, attempting autoplay...","adstage-video-container","rgba(0, 0, 0, 0.9)","block","contain","hideProgressBar","transform","VIEWABLE","preload","rgba(0, 0, 0, 0.7)","alt","adstage-video-default-controls","head","height","playsinline"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","click","1178958YOGRLV","imageUrl","🎬 Final video settings:","addClickEventForRenderer","setAttribute","360px","Video","Container not found: ","hideCurrentTime",", loop: ","background","enabled","paused","style","videoUrl","scale(1.1)","createElement","play","renderVideoElementDirect","img","title","hideFullscreenButton"," !important;\n }\n ","Click to unmute","_id","mouseleave","Video thumbnail","hideVolumeSlider","stopPropagation","src","div",'\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 ',"unmuted","log","163626Zzasox","controls","autoplay","debug","hideRemainingTime","containerId","🎬 Trying muted autoplay fallback...","customControls","🎬 Video metadata loaded, attempting autoplay...","🎬 Initial autoplay attempt after timeout...","8pwvCYP","\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 ","hideControls"," (autoplay: "," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","697488lcCcrg","710085PRmrnH","\n pointer-events: none;\n ","getElementById","getDefaultHeight"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","appendChild","config","\n video::-webkit-media-controls-play-button {\n display: ","hidePlayButton","display","scale(1)","none","addEventListener","objectFit","createEventTrackingCallback","length","mouseenter","🎬 Video controls setting:","width","loadedmetadata","🎬 Video element created for ad: ","textContent","⚠️ No video advertisements available for slot: ","catch","muted","adstage-video-mute-button","hideMuteButton"];return(_t=function(){return t})()}function zt(t,e){const n=_t();return(zt=function(t,e){return n[t-=469]})(t,e)}!function(){const t=zt,e=_t();for(;;)try{if(813885===parseInt(t(562))/1+-parseInt(t(509))/2+parseInt(t(524))/3+parseInt(t(519))/4*(parseInt(t(525))/5)+-parseInt(t(475))/6+-parseInt(t(556))/7+parseInt(t(557))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ut extends ht{constructor(e=!1,n){super(t.VIDEO,e,n)}[Rt(528)](){return Rt(480)}async renderAdElement(t,e){const n=Rt,s=document[n(527)](t[n(514)]);if(!s)return;const r=document[n(491)](n(505));r[n(552)]=n(567),r[n(488)][n(555)]=n(520),this[n(493)](r,e,t),s.innerHTML="",s.appendChild(r),this.debug&&console[n(508)]("🎬 Single video ad rendered: "+e[n(499)])}async renderMultipleAds(t,e){const n=Rt,s=document[n(527)](t[n(514)]);if(!s)throw new Error(n(482)+t.containerId);if(e[n(540)]>0){const r=e[0],i=document[n(491)](n(505));i[n(552)]=n(567),i[n(488)][n(555)]=n(554),this[n(493)](i,r,t),s[n(553)]="",s.appendChild(i);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(r._id,t.id,o[e(573)])},100),this[n(512)]&&console.log("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+r[n(499)]+")")}else this.debug&&console[n(560)](n(547)+t.id)}[Rt(493)](t,e,n){const s=Rt;t.style.position=s(559);const r=document.createElement(s(561));r[s(488)][s(543)]="100%",r.style.height="100%",r[s(488)][s(538)]=s(570),r[s(574)]="metadata";const i=n[s(531)];if(this.debug&&console[s(508)]("🎬 Video config received:",i),r[s(510)]=!1,r[s(511)]=!1!==i?.[s(511)],r[s(549)]=!0,r[s(563)]=!1!==i?.[s(563)],this[s(512)]&&console[s(508)](s(477),{autoplay:r[s(511)],muted:r[s(549)],loop:r[s(563)],controls:r.controls}),!1!==i?.[s(472)]&&r[s(479)](s(472),""),!0===i?.[s(510)]&&(r[s(510)]=!0,this[s(512)]&&console[s(508)]("🎬 User explicitly enabled controls, overriding default")),i?.hideControls)r.controls=!1,r[s(488)].cssText+=s(526);else if(i?.[s(516)]){if(r.controls){const t=document[s(491)](s(488));t[s(546)]=s(532)+(i[s(516)][s(533)]?s(536):s(569))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(i.customControls[s(571)]?"none":s(569))+s(473)+(i.customControls[s(483)]?s(536):"block")+s(523)+(i[s(516)][s(513)]?s(536):s(569))+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(i[s(516)][s(502)]?s(536):s(569))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(i.customControls[s(551)]?s(536):"block")+s(529)+(i.customControls[s(496)]?s(536):s(569))+s(497),document[s(470)][s(530)](t)}}else if(r[s(510)]){const t=document.createElement(s(488));t.id=s(469),t[s(546)]="\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[s(527)](s(469))&&document.head[s(530)](t)}this[s(512)]&&console[s(508)](s(542),r[s(510)]?s(486):"disabled (default)");const o=document[s(491)]("button");o.className=s(550),o[s(488)].cssText="\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ",i?.[s(521)]&&(o[s(488)][s(534)]="none");const a=()=>{const t=s,e=t(565),n=t(506);o[t(553)]=r[t(549)]?e:n,o[t(495)]=r[t(549)]?t(498):"Click to mute"};if(a(),o[s(537)](s(474),t=>{const e=s;t[e(503)](),r[e(549)]=!r[e(549)],a(),this[e(512)]&&console.log("🔊 Video mute toggled: "+(r[e(549)]?e(549):e(507)))}),o[s(537)](s(541),()=>{const t=s;o[t(488)][t(485)]=t(568),o.style[t(572)]=t(490)}),o[s(537)](s(500),()=>{const t=s;o[t(488)][t(485)]=t(575),o[t(488)].transform=t(535)}),e[s(489)]){r.src=e[s(489)];const t=()=>{const t=s;r.autoplay&&r[t(549)]&&r[t(487)]&&r[t(492)]()[t(548)](e=>{const n=t;this[n(512)]&&(console[n(560)]("🎬 Auto-play was prevented:",e),console[n(560)](n(515))),r.muted=!0,r.play().catch(t=>{const e=n;this[e(512)]&&console[e(564)]("🎬 Autoplay completely failed:",t)})})};r[s(537)](s(544),()=>{const e=s;this[e(512)]&&console[e(508)](e(517)),t()}),r[s(537)]("canplay",()=>{const e=s;this[e(512)]&&console[e(508)]("🎬 Video can play, attempting autoplay..."),t()}),r[s(537)]("loadeddata",()=>{const e=s;this.debug&&console[e(508)](e(566)),t()}),setTimeout(()=>{const e=s;this.debug&&console.log(e(518)),t()},100)}else if(e.imageUrl){const n=document[s(491)](s(494));return n[s(504)]=e[s(476)],n.style.width=s(558),n[s(488)][s(471)]="100%",n.style.objectFit="contain",n.alt=e[s(495)]||s(501),void t[s(530)](n)}et[s(478)](r,e,n,()=>this.createEventTrackingCallback(),this.debug,s(481)),r.addEventListener(s(564),r=>{const i=s;if(console[i(564)]("Video load failed:",r),e[i(476)]){const s=document[i(491)](i(494));s[i(504)]=e[i(476)],s[i(488)][i(543)]=i(558),s[i(488)][i(471)]="100%",s[i(488)][i(538)]="contain",s[i(576)]=e[i(495)]||"Video thumbnail",et.addClickEventForRenderer(s,e,n,()=>this[i(539)](),this[i(512)],"Video fallback"),t[i(553)]="",t[i(530)](s)}}),t[s(530)](r),t[s(530)](o),this.debug&&console[s(508)](s(545)+e._id+s(522)+r[s(511)]+", muted: "+r[s(549)]+s(484)+r[s(563)]+")")}}const Pt=Lt;function Lt(t,e){const n=Mt();return(Lt=function(t,e){return n[t-=309]})(t,e)}!function(){const t=Lt,e=Mt();for(;;)try{if(391369===-parseInt(t(346))/1*(-parseInt(t(349))/2)+parseInt(t(347))/3*(-parseInt(t(339))/4)+parseInt(t(327))/5+-parseInt(t(321))/6*(parseInt(t(341))/7)+-parseInt(t(357))/8+parseInt(t(325))/9+-parseInt(t(340))/10*(parseInt(t(343))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends ht{constructor(e=!1,n){super(t[Lt(344)],e,n)}getDefaultHeight(){return Lt(313)}async[Pt(337)](t,e){const n=Pt,s=document[n(316)](t[n(326)]);if(!s)return;const r=document[n(323)]("div");if(r[n(328)]=n(324),r[n(320)][n(358)]="\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(352)]){const t=document[n(323)]("h3");t[n(318)]=e[n(352)],t.style[n(358)]=n(354),r.appendChild(t)}if(e.textContent){const t=document[n(323)]("p");t[n(318)]=e[n(318)],t.style[n(358)]=n(310),r[n(345)](t)}if(e.imageUrl){const t=document[n(323)](n(348));t.style[n(358)]=n(338);const s=document.createElement(n(350));s.src=e.imageUrl,s[n(322)]=e.title||"Native Advertisement",s[n(320)].cssText=n(333),t.appendChild(s),r.appendChild(t)}if(e[n(319)]){const t=document.createElement("button");t.textContent=n(335),t[n(320)][n(358)]="\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ",t.addEventListener(n(311),()=>{const t=n;this[t(342)]&&console[t(312)]("Native click tracked for ad: "+e._id),window[t(329)](e[t(319)],t(353))}),t.addEventListener(n(336),()=>{const e=n;t[e(320)][e(317)]=e(334)}),t[n(331)](n(314),()=>{const e=n;t[e(320)][e(317)]=e(315)}),r[n(345)](t)}s.innerHTML="",s.appendChild(r),this[n(330)]&&console[n(312)](n(356)+e[n(351)])}async[Pt(332)](t,e){const n=Pt;e[n(355)]>0?(await this[n(337)](t,e[0]),this[n(330)]&&console.log(n(309)+e.length+n(359)+t.id)):this.debug&&console.warn("⚠️ No native advertisements available for slot: "+t.id)}}function Mt(){const t=["\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","length","🏠 Single native ad rendered: ","3529896dhlmXS","cssText","): ","🏠 Native ad rendered (first of ","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","click","log","200px","mouseleave","#3b82f6","getElementById","backgroundColor","textContent","linkUrl","style","28686fFwont","alt","createElement","adstage-ad adstage-native-ad","2376711UHEQWd","containerId","3037520ZzaHdj","className","open","debug","addEventListener","renderMultipleAds","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","#2563eb","Learn More","mouseenter","renderAdElement","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","220iXtiRi","56890pMlGNX","203KoZtmZ","advertisementEventTracker","297sSICGh","NATIVE","appendChild","11675EsGVNW","21210AsUaXo","div","110PftHha","img","_id","title","_blank"];return(Mt=function(){return t})()}const Ot=Vt;!function(){const t=Vt,e=Ft();for(;;)try{if(410297===-parseInt(t(387))/1+-parseInt(t(420))/2+parseInt(t(400))/3+-parseInt(t(363))/4*(-parseInt(t(413))/5)+parseInt(t(362))/6*(-parseInt(t(404))/7)+parseInt(t(416))/8+parseInt(t(360))/9*(-parseInt(t(383))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends ht{constructor(e=!1,n){super(t[Vt(379)],e,n)}[Ot(408)](){return Ot(373)}async renderAdElement(t,e){const n=Ot;if(!document[n(369)](t[n(384)]))return;const s=document[n(376)](n(388));s.className=n(412),s.style[n(389)]=n(422);const r=document[n(376)](n(388));r.className="adstage-interstitial-content",r[n(401)][n(389)]="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const i=document[n(376)](n(367));if(i.innerHTML="×",i[n(401)].cssText=n(391),i[n(414)]("click",()=>{this[n(385)](s)}),i[n(414)](n(377),()=>{const t=n;i[t(401)][t(390)]=t(405),i.style[t(395)]="#374151"}),i[n(414)]("mouseleave",()=>{const t=n;i[t(401)][t(390)]="#f3f4f6",i[t(401)][t(395)]=t(372)}),e.imageUrl){const t=document.createElement(n(397));t[n(410)]=e[n(418)],t[n(419)]=e[n(382)]||n(386),t[n(401)][n(389)]=n(406),r[n(371)](t)}if(e[n(382)]){const t=document.createElement("h2");t.textContent=e[n(382)],t[n(401)].cssText="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",r[n(371)](t)}if(e[n(375)]){const t=document[n(376)]("p");t[n(375)]=e[n(375)],t[n(401)][n(389)]=n(427),r.appendChild(t)}if(e[n(396)]){const t=document[n(376)](n(367));t[n(375)]="Get Started",t[n(401)][n(389)]=n(409),t[n(414)](n(403),()=>{const t=n;this[t(370)]&&console[t(415)](t(393)+e[t(426)]),window[t(402)](e[t(396)],t(417)),this[t(385)](s)}),t[n(414)]("mouseenter",()=>{const e=n;t[e(401)][e(390)]="#2563eb"}),t[n(414)](n(423),()=>{const e=n;t[e(401)][e(390)]=e(381)}),r[n(371)](t)}const o=t=>{const e=n;t[e(380)]===e(398)&&(this[e(385)](s),document[e(392)](e(374),o))};if(document[n(414)]("keydown",o),s[n(414)](n(403),t=>{const e=n;t[e(368)]===s&&this[e(385)](s)}),!document[n(369)](n(365))){const t=document[n(376)](n(401));t.id=n(365),t[n(375)]=n(394),document[n(399)][n(371)](t)}r[n(371)](i),s[n(371)](r),document[n(361)].appendChild(s),this[n(407)]&&console[n(415)](n(425)+e[n(426)])}async renderMultipleAds(t,e){const n=Ot;e[n(364)]>0?(await this.renderAdElement(t,e[0]),this[n(407)]&&console[n(415)]("🖼️ Interstitial ad rendered (first of "+e[n(364)]+"): "+t.id)):this[n(407)]&&console[n(366)](n(411)+t.id)}[Ot(385)](t){const e=Ot;t[e(401)].animation=e(424),setTimeout(()=>{const n=e;t[n(378)]&&t[n(378)][n(421)](t)},300),this[e(407)]&&console.log("🖼️ Interstitial ad closed")}}function Vt(t,e){const n=Ft();return(Vt=function(t,e){return n[t-=360]})(t,e)}function Ft(){const t=["\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","debug","getDefaultHeight","\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 ","src","⚠️ No interstitial advertisements available for slot: ","adstage-interstitial-overlay","16595TMOepX","addEventListener","log","4031584FMOPzL","_blank","imageUrl","alt","204276tgqQQH","removeChild","\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ","mouseleave","fadeOut 0.3s ease-out forwards","🖼️ Interstitial ad rendered: ","_id","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","27lOwdJr","body","6WfJgsY","632mShUPQ","length","adstage-interstitial-styles","warn","button","target","getElementById","advertisementEventTracker","appendChild","#6b7280","400px","keydown","textContent","createElement","mouseenter","parentNode","INTERSTITIAL","key","#3b82f6","title","2275330WJCSWi","containerId","closeInterstitial","Interstitial Advertisement","35397ZOWdLs","div","cssText","backgroundColor","\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ","removeEventListener","Interstitial click tracked for ad: ","\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 ","color","linkUrl","img","Escape","head","2191956jILwPq","style","open","click","3699997etNBAs","#e5e7eb"];return(Ft=function(){return t})()}const Ht=jt;function Kt(){const t=["1680255MWAlsF"," Ad","createPlaceholder","renderers","renderOptimizedBannerImage","adstage-ad adstage-","No renderer found for ad type: ","118515qYCNwF","3695714mazSzy","height","width","set","data-adstage-ad-id","BANNER","advertisement","getDefaultHeightForAdType","renderAd","advertisementEventTracker","1937705LkviDZ","1px dashed #ccc","#f9f9f9","debug","size","toLowerCase","⚠️ Container optimization is only supported for BANNER ads, got: ","renderOptimizedBannerImage is only supported for BANNER ads","calculateOptimalContainerSize","img","data-adstage-slot-id","28456XulmBE","VIDEO","imageUrl","30dDTTnE","setAttribute","6TKCrSD","backgroundColor","createElement","getDefaultHeight","onload","naturalWidth","textContent"," renderers","border","div","log","[AdRenderer] ","videoUrl","8px","getRenderer","appendChild","config","6nTrOkz","onerror","cover","src","No advertisement to render","video","calculateAdSize","TEXT","_id","631860wMgWaN","100%","Failed to load image: ","block","84hnUtsN","INTERSTITIAL","renderFallback","style","21UvhzTA","display","className","adType","optimizeContainerForBannerAds","renderAdElement","NATIVE","750675JCmGHo"];return(Kt=function(){return t})()}function jt(t,e){const n=Kt();return(jt=function(t,e){return n[t-=103]})(t,e)}!function(){const t=jt,e=Kt();for(;;)try{if(387708===-parseInt(t(128))/1+-parseInt(t(163))/2*(parseInt(t(136))/3)+-parseInt(t(113))/4+-parseInt(t(147))/5*(parseInt(t(104))/6)+-parseInt(t(121))/7*(-parseInt(t(158))/8)+-parseInt(t(129))/9*(parseInt(t(161))/10)+parseInt(t(137))/11*(parseInt(t(117))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Wt{constructor(t=!1,e){const n=jt;this[n(132)]=new Map,this[n(150)]=t,this[n(146)]=e||null,this.initializeRenderers()}initializeRenderers(){const e=jt;this[e(132)][e(140)](t[e(142)],new It(this[e(150)],this.advertisementEventTracker)),this[e(132)][e(140)](t.TEXT,new Dt(this[e(150)],this.advertisementEventTracker)),this[e(132)].set(t[e(159)],new Ut(this[e(150)],this[e(146)])),this[e(132)][e(140)](t[e(127)],new Bt(this[e(150)],this[e(146)])),this.renderers[e(140)](t[e(118)],new Nt(this[e(150)],this.advertisementEventTracker)),this[e(150)]&&console[e(173)]("🏭 AdRenderer factory initialized with "+this.renderers[e(151)]+e(170))}createAdElement(e,n){const s=jt,r=this[s(177)](e[s(124)]),i=document[s(165)](s(172));i[s(123)]=s(134)+String(e[s(124)])[s(152)](),i[s(162)](s(141),n[s(112)]),i.setAttribute(s(157),e.id);const{width:o,height:a}=r[s(110)](i,e[s(103)]||{},n);switch(i.style[s(139)]=o,i[s(120)][s(138)]=a,i[s(120)][s(122)]=s(116),e[s(124)]){case t[s(142)]:if(n[s(160)]){const t=document[s(165)](s(156));t[s(107)]=n.imageUrl,t[s(120)][s(139)]=s(114),t[s(120)][s(138)]="100%",t.style.objectFit=s(106),i[s(178)](t)}break;case t.VIDEO:if(n[s(175)]){const t=document[s(165)](s(109));t.src=n.videoUrl,t[s(120)].width=s(114),t.style[s(138)]="100%",i[s(178)](t)}break;case t[s(111)]:if(n.textContent){const t=document[s(165)](s(172));t[s(169)]=n.textContent||"",t[s(120)].padding=s(176),i.appendChild(t)}break;default:i.style[s(171)]=s(148),i[s(120)][s(164)]=s(149),i.textContent=e[s(124)]+s(130)}return i}getRenderer(t){const e=jt,n=this[e(132)].get(t);if(!n)throw new Error(e(135)+t);return n}createPlaceholder(t,e,n,s,r){const i=jt;this[i(177)](n)[i(131)](t,e,s,r)}async[Ht(125)](e,n){const s=Ht;if(e[s(124)]!==t.BANNER)return void(this[s(150)]&&console.warn(s(153)+e[s(124)]));const r=this[s(177)](t.BANNER);await r[s(125)](e,n)}async renderAdSlider(t,e){const n=this[Ht(177)](t.adType);await n.renderMultipleAds(t,e)}async[Ht(145)](t){const e=Ht;if(!t[e(143)])throw new Error(e(108));const n=this[e(177)](t[e(124)]);await n[e(126)](t,t[e(143)]),t.isLoaded=!0}async[Ht(126)](t,e){const n=Ht,s=this[n(177)](t[n(124)]);await s[n(126)](t,e)}renderFallback(t){const e=Ht;this[e(177)](t[e(124)])[e(119)](t)}[Ht(144)](t){return this[Ht(177)](t).getDefaultHeight()}calculateAdSize(t,e,n,s){const r=Ht;return this.getRenderer(e)[r(110)](t,n,s)}loadImageDimensions(t){return new Promise((e,n)=>{const s=jt,r=new Image;r[s(167)]=()=>{e({width:r[s(168)],height:r.naturalHeight})},r[s(105)]=()=>{n(new Error(s(115)+t))},r[s(107)]=t})}async[Ht(133)](e,n,s){const r=Ht;if(s[r(124)]!==t[r(142)])throw new Error(r(154));const i=this.getRenderer(t[r(142)]);return await i.renderOptimizedBannerImage(e,n,s)}async[Ht(155)](e,n,s){const r=Ht;if(s!==t[r(142)]){return{width:"100%",height:this.getRenderer(s)[r(166)](),aspectRatio:16/9}}const i=this[r(177)](t[r(142)]);return await i[r(155)](e,n)}[Ht(173)](t,...e){const n=Ht;this[n(150)]&&console[n(173)](n(174)+t,...e)}}const Yt=Xt;function Gt(){const t=["mutationObserver","status","debug","Failed to refresh ad slot: "," removed","set","autoSlide","❌ Failed to track viewable impression:","then","length","default","data-adstage-slot-id","VIEWABLE","adType"," ads)","playsinline","🎠 Slider will handle VIEWABLE events for ","forEach","now","API key not configured","🎯 Ads module initialized (sync mode) with auto-cleanup","adId","getBaseUrl","TEXT","_config","viewabilityTracker","auto-","isReady","_isReady","controls","1877896XgIxoT","6246870HylQjU","substr","renderAdElement","removedNodes","renderFallback","getElementById","🔍 Auto-cleanup MutationObserver enabled","ensureReady","GET","createAdWithRetry","advertisements","slots","🚫 Advertisement not found with ID: "," (attempt ","optimizeContainerForBannerAds","100%","delete","video","✅ Ad loaded for slot: ","startSimpleViewabilityTracking","Ad slot not found: "," (element found)","nodeType","New advertisement viewable tracked for slot:","create","clear","observe","body","Failed to fetch ad data: ","renderAdSlider","destroyModule","🧹 Auto-cleanup: slot ","list","trackAdvertisementEvent","country","Ads module not initialized. Call AdStage.init() first.","getSlotById","from","🎯 Simple viewability tracking started for slot: ","adRenderer","3158166ppYZjI","disconnect","❌ Failed to load ad for slot: ","ELEMENT_NODE","✅ Simple viewable impression tracked for ad ","style","createAd","deviceType","width","toString","📊 Fetched specific ad with ID: ","error"," ads for type: ","INTERSTITIAL","getAllSlots","createAdInternal","setupAutoCleanup","BANNER",", filters:","1064326AIjjRd","config","523059voGity","fetchAdData"," ads automatically","3006440FdZmhI","handleRemovedElement","Container not found: ","advertisement","autoDestroy","undefined","warn","loop","destroy","handleViewableEvent","refreshAdSlot","muted","detail","append","onClick"," attempts: ","init","apiKey","maxLines","log","autoplay","banner","hideControls","height","language","Container not found after ","containerId","loadAdContentInBackground","get","slideInterval","random","광고 생성 중 오류 발생:","❌ Failed to find element for viewability tracking: ","38091upiMZb","json","advertisementEventTracker","querySelectorAll"];return(Gt=function(){return t})()}function Xt(t,e){const n=Gt();return(Xt=function(t,e){return n[t-=118]})(t,e)}!function(){const t=Xt,e=Gt();for(;;)try{if(363206===parseInt(t(183))/1+parseInt(t(181))/2+parseInt(t(219))/3+-parseInt(t(121))/4+-parseInt(t(186))/5+-parseInt(t(162))/6+parseInt(t(122))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class qt{constructor(){const t=Xt;this[t(119)]=!1,this[t(247)]=null,this[t(133)]=new Map,this[t(221)]=null,this.adRenderer=null,this[t(223)]=null}[Yt(202)](t){const e=Yt;this._config=t,this.advertisementEventTracker=new L(G[e(245)](),t[e(203)],t[e(225)]||!1,this.slots),this.adRenderer=new Wt(t[e(225)]||!1,this[e(221)]),this[e(178)](),this[e(119)]=!0,t[e(225)]&&console[e(205)](e(243))}[Yt(118)](){return this[Yt(119)]}getConfig(){return this._config}[Yt(207)](e,n){const s=Yt;this[s(129)]();const r={width:n?.[s(170)]||s(137),height:n?.[s(209)]||"auto",autoSlide:n?.[s(229)]||!1,slideInterval:n?.[s(215)]||5e3,onClick:n?.onClick,adId:n?.[s(244)],language:n?.[s(210)],deviceType:n?.[s(169)],country:n?.country};return this[s(168)](e,t.BANNER,r)}text(e,n){const s=Yt;this[s(129)]();const r={maxLines:n?.[s(204)]||3,style:n?.[s(167)]||s(233),onClick:n?.onClick,adId:n?.adId,language:n?.language,deviceType:n?.[s(169)],country:n?.[s(156)]};return this.createAd(e,t[s(246)],r)}[Yt(139)](e,n){const s=Yt;this[s(129)]();const r={width:n?.width||640,height:n?.height||360,autoplay:void 0===n?.[s(206)]||n.autoplay,muted:void 0===n?.muted||n[s(197)],loop:void 0===n?.[s(193)]||n[s(193)],playsinline:!1!==n?.[s(238)],controls:void 0!==n?.[s(120)]&&n[s(120)],hideControls:n?.[s(208)]||!1,customControls:n?.customControls,autoSlide:!1,maxAds:1,onClick:n?.[s(200)],...n?.[s(244)]&&{adId:n[s(244)]}};return this[s(168)](e,t.VIDEO,r)}native(e,n){const s=Yt;return this.ensureReady(),this[s(168)](e,t.NATIVE,n||{})}interstitial(e,n){const s=Yt;return this[s(129)](),this[s(168)](e,t[s(175)],n||{})}refresh(t){const e=Yt;this[e(129)]();const n=this.slots[e(214)](t);if(!n)throw new Error(e(142)+t);this[e(196)](n),this._config?.[e(225)]&&console[e(205)]("🔄 Ad slot refreshed: "+t)}destroy(t){const e=Yt;this[e(129)]();const n=this[e(133)][e(214)](t);if(!n)return void(this[e(247)]?.[e(225)]&&console[e(205)]("🔍 Ad slot already cleaned up: "+t));n[e(248)]&&n[e(248)][e(194)]();const s=document[e(127)](n[e(212)]);s&&(s.innerHTML=""),this[e(133)][e(138)](t),this[e(247)]?.[e(225)]&&console[e(205)]("🗑️ Ad slot destroyed: "+t)}[Yt(176)](){const t=Yt;return this[t(129)](),Array[t(159)](this[t(133)].values())}[Yt(158)](t){const e=Yt;return this[e(129)](),this[e(133)][e(214)](t)||null}[Yt(168)](t,e,n){const s=Yt;if(!this[s(247)]?.[s(203)])throw new Error(s(242));const r="adstage-"+e+"-"+Date[s(241)]()+"-"+Math[s(216)]()[s(171)](36)[s(123)](2,9);return this.createAdWithRetry(t,e,n,r,0),r}async[Yt(131)](t,e,n,s,r){const i=Yt,o=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[i(127)](t),!c)return r<4?(this._config?.[i(225)]&&console[i(192)](i(188)+t+". Retrying in "+o[r+1]+"ms... (attempt "+(r+1)+"/5)"),void setTimeout(()=>{this[i(131)](t,e,n,s,r+1)},o[r+1])):void console[i(173)](i(211)+5+i(201)+t)}else c=t,a=c.id||i(249)+s,!c.id&&(c.id=a);try{this.createAdInternal(a,e,n,s,c)}catch(t){console[i(173)](i(217),t)}}[Yt(177)](e,n,s,r,i){const o=Yt;i.setAttribute(o(234),r),this[o(161)]?.createPlaceholder(i,r,n,s,this._config);const a={id:r,containerId:e,adType:n,width:s[o(170)]||o(137),height:s[o(209)]||(n===t[o(246)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this.fetchAdData(n,s)[o(231)](t=>t[0]||null),render:t=>this[o(161)]?.[o(124)](a,t),refresh:async()=>this[o(196)](a),destroy:()=>this[o(194)](r)};this[o(133)][o(228)](r,a),this[o(213)](a),this[o(221)]&&this[o(247)]?.[o(225)]&&console[o(205)]("📊 Advertisement event tracking enabled for slot: "+r)}async loadAdContentInBackground(e){const n=Yt;try{const s=await this.fetchAdData(e.adType,e[n(182)]);if(!s||0===s.length)return void this[n(161)]?.renderFallback(e);e[n(236)]===t[n(179)]&&s.length>0&&await(this[n(161)]?.[n(136)](e,s)),s.length>1||e.config?.[n(229)]?(await(this.adRenderer?.[n(151)](e,s)),this._config?.[n(225)]&&console.log(n(239)+s[n(232)]+n(185))):(e[n(189)]=s[0],await(this[n(161)]?.[n(124)](e,s[0])),this[n(141)](e,s[0])),e.isLoaded=!0,this[n(247)]?.[n(225)]&&console[n(205)](n(140)+e.id+" ("+s[n(232)]+n(237))}catch(t){console[n(173)](n(164)+e.id,t),this[n(161)]?.[n(126)](e)}}[Yt(141)](t,e){const n=(s=0)=>{const r=Xt,i=document.getElementById(t.id);if(!i)return void(s<5?(setTimeout(()=>n(s+1),300),this._config?.debug&&console[r(205)]("🔄 Retrying viewability tracking for slot: "+t.id+r(135)+(s+1)+")")):console[r(192)](r(218)+t.id));const o=new V(i,async()=>{const n=r;await this[n(195)](e,t)});t.viewabilityTracker=o,this[r(247)]?.[r(225)]&&console[r(205)](r(160)+t.id+r(143))};n()}async[Yt(195)](t,e){const n=Yt;try{this[n(221)]&&(await this[n(221)][n(155)](t._id,e.id,o[n(235)]),this[n(247)]?.debug&&console[n(205)](n(166)+t._id))}catch(t){console[n(173)](n(230),t)}}async[Yt(184)](t,e){const n=Yt;if(!this[n(247)]?.apiKey)throw new Error(n(242));if(e[n(244)]){const t=""+G.advertisements[n(198)](e[n(244)]),s=await fetch(t,{method:n(130),headers:z[n(146)](this[n(247)][n(203)])});if(!s.ok){if(404===s[n(224)])return console[n(192)](n(134)+e[n(244)]),[];throw new Error(n(150)+s[n(224)])}const r=await s[n(220)]();return this[n(247)]?.debug&&console.log(n(172)+e[n(244)],r),[r]}const s=new URLSearchParams;s[n(199)](n(236),t),e.language&&s[n(199)](n(210),e.language),e[n(169)]&&s.append("deviceType",e[n(169)]),e[n(156)]&&s.append(n(156),e[n(156)]);const r=G[n(132)][n(154)]()+"?"+s.toString(),i=await fetch(r,{method:"GET",headers:z[n(146)](this[n(247)][n(203)])});if(!i.ok)throw new Error(n(150)+i[n(224)]);const o=(await i[n(220)]()).advertisements||[];return this._config?.debug&&console[n(205)]("📊 Fetched "+o[n(232)]+n(174)+t+n(180),{language:e[n(210)],deviceType:e[n(169)],country:e[n(156)]}),o}async[Yt(196)](t){const e=Yt;try{const n=await this.fetchAdData(t[e(236)],t[e(182)]||{});n&&n[e(232)]>0&&(t[e(189)]=n[0],await(this.adRenderer?.renderAd(t)),this[e(221)]&&console.log(e(145),t.id))}catch(n){console.error(e(226)+t.id,n)}}[Yt(129)](){const t=Yt;if(!this[t(119)])throw new Error(t(157))}[Yt(178)](){const t=Yt;typeof window!==t(191)&&typeof document!==t(191)&&(this.mutationObserver&&this[t(223)].disconnect(),this.mutationObserver=new MutationObserver(e=>{const n=t;e[n(240)](t=>{const e=n;t[e(125)][e(240)](t=>{const n=e;t[n(144)]===Node[n(165)]&&this[n(187)](t)})})}),this[t(223)][t(148)](document[t(149)],{childList:!0,subtree:!0}),this[t(247)]?.[t(225)]&&console[t(205)](t(128)))}[Yt(187)](t){const e=Yt,n=t.getAttribute(e(234));if(n)return void this.autoDestroy(n);t[e(222)]("[data-adstage-slot-id]").forEach(t=>{const n=e,s=t.getAttribute(n(234));s&&this[n(190)](s)})}[Yt(190)](t){const e=Yt,n=this[e(133)][e(214)](t);if(n)try{n[e(248)]&&n[e(248)][e(194)](),this.slots[e(138)](t),this[e(247)]?.[e(225)]&&console[e(205)](e(153)+t+e(227))}catch(n){this[e(247)]?.[e(225)]&&console.warn("Auto-cleanup failed for slot "+t+":",n)}}[Yt(152)](){const t=Yt,e=this[t(247)]?.[t(225)];this[t(223)]&&(this[t(223)][t(163)](),this[t(223)]=null),this.slots[t(147)](),this[t(221)]=null,this.adRenderer=null,this[t(119)]=!1,this[t(247)]=null,e&&console.log("🗑️ Ads module destroyed")}}var Qt=Jt;function Jt(t,e){var n=Zt();return(Jt=function(t,e){return n[t-=294]})(t,e)}function Zt(){var t=["21bIkIRJ","isDebugMode","_config","1627504qBlKwO","isReady","API key not available","2527130qzdyXR","2OYiGfJ","15103485ekDZHd","events","log","_organizationInfo","8dJYbQQ","modules","987642pBeAUG","22wjzjaz","apiKey","baseUrl","57435276DMvYza","✅ Config module initialized (sync mode)","getOrganizationInfo","create","3578403QCMQSm","172aLYQAt","getEnabledModules","debug","includes","development","37910hwnOCj","_isReady","config","getApiHeaders","Config module not initialized","getApiEndpoint","getBaseUrl","init"];return(Zt=function(){return t})()}!function(){for(var t=Jt,e=Zt();;)try{if(961024===-parseInt(t(321))/1+parseInt(t(325))/2*(-parseInt(t(304))/3)+-parseInt(t(305))/4*(parseInt(t(310))/5)+parseInt(t(296))/6*(parseInt(t(318))/7)+-parseInt(t(294))/8*(parseInt(t(326))/9)+parseInt(t(324))/10*(parseInt(t(297))/11)+parseInt(t(300))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{constructor(){var t=Jt;this[t(311)]=!1,this[t(320)]=null,this[t(329)]=null}[Qt(317)](t){var e=Qt;this[e(320)]={timeout:3e4,debug:!1,modules:["ads",e(327),e(312)],...t},t[e(299)]&&G.setBaseUrl(t[e(299)]),this[e(311)]=!0,t[e(307)]&&console[e(328)](e(301),{modules:this[e(320)].modules,endpoint:G[e(316)](),mode:e(309)})}[Qt(322)](){return this._isReady}getConfig(){return this[Qt(320)]}[Qt(302)](){return this._organizationInfo}[Qt(315)](){return G[Qt(316)]()}[Qt(319)](){var t=Qt;return this[t(320)]?.debug||!1}[Qt(306)](){var t=Qt;return this[t(320)]?.[t(295)]||[]}isModuleEnabled(t){var e=Qt;return this[e(306)]()[e(308)](t)}updateConfig(t){var e=Qt;if(!this[e(320)])throw new Error(e(314));this._config={...this[e(320)],...t},this.isDebugMode()&&console[e(328)]("🔄 Config updated",t)}[Qt(313)](){var t=Qt;if(!this[t(320)]?.[t(298)])throw new Error(t(323));return z[t(303)](this[t(320)][t(298)])}}const te=se;function ee(){const t=["42sbgkDI","test","other","ios","tablet","23913DijKDt","126MBKvbC","onLine","getAutoDetectedDeviceInfo","2608332acDniQ","userAgent","toLowerCase","mobile","2410DinhwI","ko-KR","setDeviceInfo","desktop","isBrowser","SSR","setDeviceProperty","Mobile Web","getUserDeviceInfo","generateDeviceId","0x0","Android","66695DdTPTz","4sioOyq","762963AabxsH","platform","257168xtrILq","width","iOS","getDetailedInfo","height","clearDeviceInfo","language","getDeviceInfo","web","mapPlatformForEvents","Unknown","6133677WIUzeZ","getPlatform","_userProvidedDeviceInfo","360538Uwjspr","getViewportInfo","2HhxUwJ"];return(ee=function(){return t})()}!function(){const t=se,e=ee();for(;;)try{if(401371===parseInt(t(339))/1*(-parseInt(t(337))/2)+parseInt(t(321))/3*(parseInt(t(320))/4)+-parseInt(t(319))/5*(parseInt(t(346))/6)+parseInt(t(340))/7*(-parseInt(t(323))/8)+parseInt(t(345))/9*(parseInt(t(307))/10)+parseInt(t(334))/11+-parseInt(t(349))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static[te(330)](){const t=te;return{...ne[t(348)](),...ne[t(336)]}}static[te(348)](){const t=te;if(!v[t(311)]())return{category:t(342),platform:t(312),model:t(312),osVersion:t(312)};const e=navigator[t(350)][t(351)]();let n="desktop";/tablet|ipad/[t(341)](e)?n=t(344):C.isMobile()&&(n=t(352));const s=C[t(335)]();return{category:n,platform:ne[t(332)](s),model:navigator.platform,osVersion:navigator[t(322)],deviceId:C[t(316)]()}}static[te(309)](t){const e=te;ne[e(336)]={...ne[e(336)],...t}}static[te(313)](t,e){ne[te(336)][t]=e}static[te(328)](){ne._userProvidedDeviceInfo={}}static[te(315)](){return{...ne._userProvidedDeviceInfo}}static[te(332)](t){const e=te;switch(t){case e(343):return e(325);case"android":return e(318);case e(331):return e(314);case e(310):return"Desktop Web";default:return e(333)}}static[te(326)](){const t=te;if(!v[t(311)]())return{userAgent:t(312),language:t(308),platform:t(312),cookieEnabled:!1,onLine:!0,screenResolution:t(317),viewportSize:t(317)};const e=v[t(338)]();return{userAgent:navigator[t(350)],language:navigator[t(329)]||t(308),platform:navigator[t(322)],cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(347)],screenResolution:screen.width+"x"+screen[t(327)],viewportSize:e[t(324)]+"x"+e[t(327)]}}}function se(t,e){const n=ee();return(se=function(t,e){return n[t-=307]})(t,e)}ne._userProvidedDeviceInfo={};const re=ae;!function(){const t=ae,e=oe();for(;;)try{if(926045===parseInt(t(401))/1+-parseInt(t(423))/2*(parseInt(t(412))/3)+-parseInt(t(404))/4+parseInt(t(415))/5+-parseInt(t(411))/6+parseInt(t(420))/7*(parseInt(t(403))/8)+parseInt(t(406))/9*(parseInt(t(421))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ie{static[re(402)](){return{...ie[re(409)](),...ie._userProperties}}static[re(409)](){const t=re;if(!v.isBrowser())return{language:t(410),country:"KR"};const e=navigator[t(407)]||t(410);return{language:e,country:ie[t(424)](e)}}static[re(424)](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[re(418)](t){const e=re;ie[e(413)]={...ie[e(413)],...t}}static[re(422)](t,e){ie[re(413)][t]=e}static[re(414)](){ie[re(413)]={}}static[re(416)](){return{...ie._userProperties}}static[re(408)](){const t=re;if(!v.isBrowser())return{timezone:t(417),estimatedCountry:"KR"};const e=Intl[t(419)]().resolvedOptions()[t(405)];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=["timeZone","4541814uGMTFY","language","estimateLocation","getBaseUserInfo","ko-KR","2885118dcPYPb","3DnrJbj","_userProperties","clearUserProperties","2534840waEWuk","getCurrentUserProperties","UTC","setUserProperties","DateTimeFormat","49jXXWmv","10bxoLWE","setUserProperty","1752414hrkqcM","extractCountryFromLanguage","836259loinno","getUserInfo","1208096jTBopp","2487408NveJnQ"];return(oe=function(){return t})()}function ae(t,e){const n=oe();return(ae=function(t,e){return n[t-=401]})(t,e)}function ce(t,e){const n=de();return(ce=function(t,e){return n[t-=243]})(t,e)}function de(){const t=["term","campaign_id","fbclid","gclid","keyword","hasParams","getItem","ALL_KEYS","640YMDIoR","Failed to store tracking params:","k_keyword_id","5896672xGJzMB","k_adgroup","adstage_click_event_sent","955745vYbALb","CLICK_ID_KEYS","UTM_KEYS","kakao","length","undefined","markClickEventSent","msclkid","location","campaign","true","nclid","setItem","hasClickId","keys","kakao.keyword","k_rank","twclid","parse","k_keyword","creativeId","72282OyZpkt","k_creative","creative_id","microsoft.ads","ad_creative","some","adRank","campaignId","ttclid","removeItem","ad_group_id","get","toAttributionObject","utm_campaign","8295368rIohRo","channel","search","linkedin.ads","clear","utm_medium","twitter.ads","meta.ads","utm_source","utm_term","google.ads","adstage_tracking_params","6472899VPadQR","ad_group","store","warn","shouldSendClickEvent","254775EHIhOa","3iTKcKh","liclid","Failed to parse adstage_referrer:","adstage","adGroupId","1359152PCCAxO","utm_content","STORAGE_KEY","CAMPAIGN_KEYS","adCreative","k_campaign","50uDHTxF"];return(de=function(){return t})()}ie[re(413)]={};const le=ce;!function(){const t=ce,e=de();for(;;)try{if(818976===-parseInt(t(258))/1+-parseInt(t(264))/2+-parseInt(t(259))/3*(parseInt(t(282))/4)+-parseInt(t(279))/5*(parseInt(t(306))/6)+parseInt(t(285))/7+parseInt(t(320))/8+parseInt(t(253))/9*(parseInt(t(270))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ue{static captureFromUrl(){const t=ce;if(typeof window===t(290))return null;const e=new URLSearchParams(window[t(293)][t(243)]),n={};let s=!1;const r=e.get("adstage_referrer");if(r)try{const e=decodeURIComponent(r),i=new URLSearchParams(e);for(const e of ue[t(278)]){const r=i[t(317)](e);r&&(n[e]=r,s=!0)}i[t(317)](t(262))===t(295)&&(s=!0)}catch(e){console[t(256)](t(261),e)}for(const r of ue[t(278)]){if(n[r])continue;const i=e[t(317)](r);i&&(n[r]=i,s=!0)}return s?(n[t(321)]||(n[t(274)]?n[t(321)]=t(251):n.fbclid?n[t(321)]=t(248):n.ttclid?n[t(321)]="tiktok.ads":n[t(296)]?n[t(321)]="naver.searchad":n[t(260)]?n[t(321)]=t(244):n[t(292)]?n[t(321)]=t(309):n.twclid?n[t(321)]=t(247):n[t(249)]===t(288)&&n[t(246)]===t(275)?n[t(321)]=t(300):(n.k_campaign||n.k_keyword)&&(n[t(321)]="kakao.keyword")),ue[t(255)](n),n):null}static store(t){const e=ce;if(typeof window!==e(290))try{const n={...ue.get(),...t},s=JSON.stringify(n);try{sessionStorage.setItem(ue[e(266)],s)}catch(t){}try{localStorage[e(297)](ue[e(266)],s)}catch(t){}}catch(t){console[e(256)](e(280),t)}}static[le(317)](){const t=le;if("undefined"==typeof window)return null;try{const e=sessionStorage?.getItem(ue[t(266)]);if(e)return JSON[t(303)](e)}catch(t){}try{const e=localStorage?.[t(277)](ue[t(266)]);if(e)return JSON[t(303)](e)}catch(t){}return null}static[le(245)](){const t=le;if(typeof window!==t(290)){try{sessionStorage?.[t(315)](ue[t(266)])}catch(t){}try{localStorage?.[t(315)](ue[t(266)])}catch(t){}}}static[le(276)](){const t=le,e=ue.get();return null!==e&&Object[t(299)](e).length>0}static hasClickId(){const t=le,e=ue[t(317)]();return!!e&&ue.CLICK_ID_KEYS[t(311)](t=>e[t])}static[le(257)](){const t=le;if(typeof window===t(290))return!1;const e=ue[t(317)]();if(!e)return!1;const n=ue[t(298)](),s=!!e[t(321)];if(!n&&!s)return!1;const r=n?e[t(274)]||e.fbclid||e[t(314)]||e.nclid||e[t(260)]||e[t(292)]||e[t(302)]:(e[t(321)]||"")+":"+(e.term||"");if(!r)return!1;return r!==sessionStorage[t(277)]("adstage_last_click_id")&&(sessionStorage.setItem("adstage_last_click_id",r),!0)}static[le(291)](){const t=le;"undefined"!=typeof window&&sessionStorage[t(297)](t(284),t(295))}static isClickEventSent(){const t=le;return typeof window!==t(290)&&sessionStorage[t(277)](t(284))===t(295)}static[le(318)](){const t=le,e=ue[t(317)]();if(!e)return null;const n={};return e[t(274)]&&(n[t(274)]=e[t(274)]),e[t(273)]&&(n[t(273)]=e[t(273)]),e[t(314)]&&(n[t(314)]=e[t(314)]),e[t(296)]&&(n.nclid=e.nclid),e.channel&&(n[t(321)]=e[t(321)]),e.campaign&&(n.campaign=e[t(294)]),e[t(272)]&&(n[t(313)]=e[t(272)]),e[t(254)]&&(n.adGroup=e[t(254)]),e[t(316)]&&(n.adGroupId=e[t(316)]),e[t(310)]&&(n[t(268)]=e[t(310)]),e[t(308)]&&(n[t(305)]=e[t(308)]),e[t(271)]&&(n.term=e[t(271)]),e.k_campaign&&(n.campaignId=n[t(313)]||e[t(269)]),e[t(283)]&&(n[t(263)]=n[t(263)]||e[t(283)]),e[t(304)]&&(n[t(275)]=e[t(304)]),e[t(281)]&&(n.keywordId=e.k_keyword_id),e[t(307)]&&(n[t(305)]=n.creativeId||e[t(307)]),e[t(301)]&&(n[t(312)]=e.k_rank),e[t(249)]&&(n[t(249)]=e[t(249)]),e[t(246)]&&(n[t(246)]=e[t(246)]),e[t(319)]&&(n[t(319)]=e[t(319)]),e[t(265)]&&(n[t(265)]=e[t(265)]),e[t(250)]&&(n[t(250)]=e.utm_term),Object[t(299)](n)[t(289)]>0?n:null}}ue[le(266)]=le(252),ue[le(286)]=[le(274),le(273),le(314),le(296),"liclid",le(292),le(302)],ue[le(267)]=["channel",le(294),le(272),"ad_group",le(316),"ad_creative","creative_id",le(271),le(269),"k_adgroup",le(304),le(281),le(307),le(301)],ue.UTM_KEYS=["utm_source",le(246),le(319),"utm_content",le(250)],ue[le(278)]=[...ue[le(286)],...ue[le(267)],...ue[le(287)]];const pe=fe;function he(){const t=["setItem","Events module not initialized. Call AdStage.init() first.","getUserDeviceInfo","statusText","Event tracking failed: ","❌ API Error Response:","6158745EfczEe","📦 Attribution request body:","✅ Event tracked:","_config","24YmdgJI","log","toAttributionObject","185409mAyhaf","❌ Failed to register attribution:","setUserProperties","✅ Event tracked with attribution ID:","debug","sendAttributionToServer","track","apiKey","getDeviceInfo","warn","📱 Device property set:","getAttributionId","clearDeviceInfo","541VzUONw","getUserProperties","API key not configured for event tracking.","setDeviceProperty","📦 Request body:","status","keys","⏭️ No tracking parameters found, skipping attribution registration","1890612ZwdmAg","📡 Attribution request URL:","📱 User provided device info cleared","📊 Attribution included:","registerAttribution","getCurrentUserProperties","Attribution registration failed: ","application/json","stringify","🔑 Request headers:","trackWithAttributionId","8639046EuSoHJ","27849530vyjghX","696JHHNrj","attributionId","getItem","sendEventToServer","error","6FDqQtZ","setDeviceInfo","get","POST","adstage_attribution_id","Event data:","❌ Failed to track event:","📡 Request URL:","undefined","👤 User properties set:","_isReady","create","📊 Events module initialized","json","1803012QBWTJD","text","events","✅ Attribution registered:","getUserInfo","🔑 Attribution request headers:"];return(he=function(){return t})()}function fe(t,e){const n=he();return(fe=function(t,e){return n[t-=258]})(t,e)}!function(){const t=fe,e=he();for(;;)try{if(755376===-parseInt(t(317))/1*(-parseInt(t(266))/2)+parseInt(t(325))/3+parseInt(t(285))/4+-parseInt(t(297))/5*(-parseInt(t(271))/6)+parseInt(t(304))/7*(parseInt(t(301))/8)+parseInt(t(264))/9+-parseInt(t(265))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=fe;this._isReady=!1,this[t(300)]=null}init(t){const e=fe;this[e(300)]=t,this[e(281)]=!0,t[e(308)]&&console.log(e(283))}isReady(){return this._isReady}getConfig(){return this._config}[pe(306)](t){const e=pe;ie.setUserProperties(t),this._config?.[e(308)]&&console[e(302)](e(280),t)}[pe(318)](){return ie.getCurrentUserProperties()}[pe(272)](t){const e=pe;ne[e(272)](t),this._config?.debug&&console[e(302)]("📱 Device info set:",t)}[pe(320)](t,e){const n=pe;ne[n(320)](t,e),this[n(300)]?.[n(308)]&&console[n(302)](n(314),t,e)}[pe(316)](){const t=pe;ne.clearDeviceInfo(),this[t(300)]?.[t(308)]&&console[t(302)](t(327))}[pe(293)](){return ne.getUserDeviceInfo()}getDeviceInfo(){return ne[pe(312)]()}[pe(289)](){return ie[pe(289)]()}[pe(258)](){return ie[pe(258)]()}async track(t,e){const n=pe;if(this[n(281)])if(this[n(300)]?.[n(311)])try{const s=this[n(315)]();if(s){const r={eventName:t,sdkVersion:x(),device:ne[n(312)](),user:ie[n(289)](),attributionId:s,params:e||{}};return await this[n(269)](r),void(this[n(300)].debug&&console.log(n(307),t,s))}const r=ue[n(303)](),i={eventName:t,sdkVersion:x(),device:ne.getDeviceInfo(),user:ie[n(289)](),...r&&{attribution:r},params:e||{}};await this[n(269)](i),this[n(300)][n(308)]&&(console.log(n(299),t,e),r&&console[n(302)](n(328),r))}catch(s){console[n(270)](n(277),s),this._config[n(308)]&&console.error(n(276),{eventName:t,properties:e})}else console[n(313)](n(319));else console[n(313)]("Events module not initialized. Call AdStage.init() first.")}async[pe(329)](t){const e=pe;if(!this._isReady)return console[e(313)](e(292)),null;if(!this[e(300)]?.apiKey)return console.warn("API key not configured for attribution registration."),null;try{const n=ue[e(273)]();if(!n||0===Object[e(323)](n).length)return this[e(300)].debug&&console[e(302)](e(324)),null;const s=await this[e(309)]({deviceId:t,referrerParams:n});if(this._config[e(308)]&&console[e(302)](e(288),s),s[e(267)]){try{localStorage[e(291)](e(275),s.attributionId)}catch(t){}try{sessionStorage[e(291)]("adstage_attribution_id",s[e(267)])}catch(t){}}return s}catch(t){return console[e(270)](e(305),t),null}}[pe(315)](){const t=pe;if(typeof window===t(279))return null;try{const e=sessionStorage[t(268)](t(275));if(e)return e}catch(t){}try{return localStorage[t(268)](t(275))}catch(t){}return null}async[pe(263)](t,e){return this.track(t,e)}async[pe(269)](t){const e=pe,n={...z[e(282)](this[e(300)][e(311)]),"Content-Type":e(260)};this[e(300)]?.[e(308)]&&(console[e(302)](e(262),n),console[e(302)](e(278),G.events[e(310)]()),console[e(302)](e(321),t));const s=await fetch(G.events.track(),{method:"POST",headers:n,body:JSON[e(261)](t)});if(!s.ok){const t=await s[e(286)]();throw console[e(270)](e(296),t),new Error(e(295)+s[e(322)]+" "+s[e(294)])}}async[pe(309)](t){const e=pe,n={...z[e(282)](this[e(300)][e(311)]),"Content-Type":"application/json"};this._config?.[e(308)]&&(console.log(e(290),n),console.log(e(326),G.events[e(329)]()),console[e(302)](e(298),t));const s=await fetch(G[e(287)][e(329)](),{method:e(274),headers:n,body:JSON.stringify(t)});if(!s.ok){const t=await s[e(286)]();throw console[e(270)](e(296),t),new Error(e(259)+s[e(322)]+" "+s[e(294)])}return s[e(284)]()}}const me=Ie;function Ie(t,e){const n=ve();return(Ie=function(t,e){return n[t-=125]})(t,e)}function ve(){const t=["tracking_params","❌ Error in click event auto-tracking:","get","2435475tEqvpH","expiresAt","instance","toString",")의 viewable 추적 초기화됨","AdStage.ads accessed before initialization","✅ Attribution registered:","setItem","replace","adstage_attribution_id","join","30YmShaE","length","modules","channel","❌ Failed to register attribution:","hasClickId","setBaseUrl","1565882KoHUuy","language","apiKey","captureFromUrl","📊 AdStage Debug: 현재 viewable 추적 상태","height","✅ Auto-tracked click event with tracking params:","track","clear","⏭️ Skipping click event (duplicate or no click ID)","substring","hash","AdStage.config accessed before initialization","isReady","campaign","from","📊 Tracking parameters captured:","toAttributionObject","🚀 AdStage SDK initialized (sync mode)","server-","3302592mDCKan","warn","_config","reset","debug","development","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","11119707UlsTnz","getItem","attribution_id","click","AdStage not initialized. Call AdStage.init() first.","userAgent","194364myDojp","random","773345YfpKRt","1IIyvKT","init","now","events","🔍 Should send click event:","generateDeviceId","then","getTimezoneOffset","error","attributionId","toISOString","config","✅ AdStage Debug: 광고 ","markClickEventSent","location","❌ Failed to auto-track click event:","web-","width","adstage_device_id","🎯 Sending click event after attribution registration","undefined","viewableTracker","2.0.0","211689dpPijx","ads","abs","function","API key is required for AdStage initialization","getInstance","catch","registerAttribution","baseUrl","log","size","_isInitialized"];return(ve=function(){return t})()}!function(){const t=Ie,e=ve();for(;;)try{if(504816===-parseInt(t(172))/1*(-parseInt(t(136))/2)+parseInt(t(195))/3+parseInt(t(169))/4+parseInt(t(171))/5*(parseInt(t(129))/6)+-parseInt(t(210))/7+parseInt(t(156))/8+-parseInt(t(163))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ye{constructor(){const t=Ie;this[t(206)]=!1,this[t(158)]=null,this[t(183)]=new $t,this[t(196)]=new qt,this[t(175)]=new ge}static[me(173)](t){const e=me;!ye[e(212)]&&(ye[e(212)]=new ye);const n=ye[e(212)];if(!t[e(138)])throw new Error(e(199));n[e(158)]={timeout:3e4,debug:!1,modules:[e(196),e(175),"config"],...t},n[e(158)][e(203)]&&(G[e(135)](n[e(158)][e(203)]),t[e(160)]&&console.log("🌐 API endpoint configured:",n[e(158)].baseUrl));const s=n._config[e(131)]||[e(196),"events",e(183)];for(const t of s){const s=n[t];s&&typeof s[e(173)]===e(198)&&s.init(n[e(158)])}if(n._isInitialized=!0,typeof window!==e(192)){const s=ue[e(139)]();s&&t[e(160)]&&console[e(204)](e(152),s);const r=(()=>{const t=e;try{const e=new URLSearchParams(window[t(186)].search),n=new URLSearchParams((window[t(186)][t(147)]||"")[t(126)](/^#/,""));return e[t(209)](t(165))||n[t(209)]("attribution_id")}catch{return null}})();if(r)try{localStorage.setItem(e(127),r),t[e(160)]&&console[e(204)]("🔗 Using attributionId from URL (attribution_id):",r)}catch(t){}const i=ue.shouldSendClickEvent();t[e(160)]&&(console[e(204)](e(176),i),!i&&console[e(204)](e(145)));const o=ue[e(134)](),a=!(!s||!s.channel);if(!r&&s&&(o||a)){const s=(async()=>{const s=e;try{const e=n[s(177)](),r=await n.events[s(202)](e);return r&&t[s(160)]&&console[s(204)](s(216),{attributionId:r.attributionId,channel:r[s(132)],campaign:r[s(150)],expiresAt:r[s(211)]}),r}catch(t){return console[s(180)](s(133),t),null}})();i&&s.then(s=>{const r=e;try{const e=ue[r(209)](),i=ue[r(153)]();t[r(160)]&&console.log(r(191),{attributionId:s?.[r(181)],hasAttribution:!!s}),n[r(175)][r(143)](r(166),{_autoGenerated:!0,_source:r(207),_timestamp:(new Date)[r(182)](),_platform:"web"})[r(178)](()=>{const n=r;ue[n(185)](),t[n(160)]&&console[n(204)](n(142),{attribution:i,trackingParams:e})})[r(201)](t=>{const e=r;console.error(e(187),t)})}catch(t){console[r(180)](r(208),t)}})}else i&&setTimeout(()=>{const s=e;try{const e=ue[s(209)](),r=ue[s(153)]();n[s(175)][s(143)](s(166),{_autoGenerated:!0,_source:s(207),_timestamp:(new Date)[s(182)](),_platform:"web"})[s(178)](()=>{const n=s;ue[n(185)](),t[n(160)]&&console[n(204)](n(142),{attribution:r,trackingParams:e})})[s(201)](t=>{console.error("❌ Failed to auto-track click event:",t)})}catch(t){console.error("❌ Error in click event auto-tracking:",t)}},100)}t[e(160)]&&console[e(204)](e(154),{version:e(194),modules:s,apiKey:t[e(138)].substring(0,8)+"...",mode:e(161)})}static[me(149)](){return ye.instance?._isInitialized||!1}static getConfig(){const t=me;return ye[t(212)]?.[t(158)]||null}static[me(200)](){const t=me;if(!ye[t(212)])throw new Error(t(167));return ye[t(212)]}static get ads(){const t=me;try{return ye[t(200)]().ads}catch(e){throw console[t(157)](t(215)),e}}static get events(){const t=me;try{return ye[t(200)]().events}catch(t){throw console.warn("AdStage.events accessed before initialization"),t}}static get[me(183)](){const t=me;try{return ye.getInstance()[t(183)]}catch(e){throw console[t(157)](t(148)),e}}static[me(159)](){const t=me;ye.instance&&(ye[t(212)][t(206)]=!1,ye.instance[t(158)]=null)}generateDeviceId(){const t=me;if(typeof window===t(192))return t(155)+Math[t(170)]()[t(213)](36)[t(146)](2,15);const e=localStorage[t(164)](t(190));if(e)return e;const n=[navigator[t(168)],navigator[t(137)],screen[t(189)]+"x"+screen[t(141)],(new Date)[t(179)](),navigator.hardwareConcurrency||0][t(128)]("|");let s=0;for(let e=0;e<n[t(130)];e++){s=(s<<5)-s+n.charCodeAt(e),s&=s}const r=t(188)+Math[t(197)](s)[t(213)](36)+"-"+Date[t(174)]()[t(213)](36);return localStorage[t(125)](t(190),r),r}}function be(){var t=["3231344wyUxFD","2146731GzTcVY","22795604zZIKqd","355465vORQnu","isReady","warn","4YkzqEJ","events","268WVIfFM","getUserProperties","track","14cgBfeY","46938DZNbwW","193940IrUzLY","156hBVSQP","396qyuJGM","50OZbPnC","1238wXAxHy","AdStage not initialized. Call AdStage.init() first."];return(be=function(){return t})()}function we(t,e){var n=be();return(we=function(t,e){return n[t-=213]})(t,e)}ye.debug={clearAllViewable:()=>{const t=me;dt[t(144)](),console[t(204)](t(162))},clearAdViewable:(t,e)=>{const n=me;dt.clearAdViewable(t,e),console[n(204)](n(184)+t+"("+e+n(214))},getViewableStatus:()=>{const t=me;console[t(204)](t(140),{trackedCount:dt[t(193)][t(205)],trackedItems:Array[t(151)](dt.viewableTracker)})}},function(){for(var t=we,e=be();;)try{if(475480===parseInt(t(213))/1*(parseInt(t(223))/2)+-parseInt(t(216))/3*(-parseInt(t(221))/4)+-parseInt(t(231))/5*(parseInt(t(227))/6)+parseInt(t(226))/7*(-parseInt(t(215))/8)+-parseInt(t(230))/9*(parseInt(t(228))/10)+-parseInt(t(218))/11*(parseInt(t(229))/12)+parseInt(t(217))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ke=h.createContext(null);function Ee(){const t=h.useContext(ke);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function xe(t,e){var n=Se();return(xe=function(t,e){return n[t-=118]})(t,e)}function Se(){var t=["4tTbWkd","7000UkzPUw","3437GzqBhB","52veYMfY","211563uEvuGj","13476ccwnHr","6178890aNDAxS","400WJaAhk","3681uHMbng","11341fIjdDl","37263FSqdtb","6PYAgEL","7409116CCEZBV"];return(Se=function(){return t})()}!function(){for(var t=xe,e=Se();;)try{if(702312===parseInt(t(123))/1*(parseInt(t(129))/2)+-parseInt(t(130))/3*(-parseInt(t(126))/4)+-parseInt(t(119))/5*(parseInt(t(124))/6)+-parseInt(t(128))/7*(-parseInt(t(120))/8)+parseInt(t(121))/9*(parseInt(t(127))/10)+parseInt(t(122))/11*(parseInt(t(118))/12)+-parseInt(t(125))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=Ce;function Ce(t,e){const n=De();return(Ce=function(t,e){return n[t-=409]})(t,e)}!function(){const t=Ce,e=De();for(;;)try{if(820786===-parseInt(t(421))/1+-parseInt(t(416))/2+-parseInt(t(420))/3*(parseInt(t(419))/4)+-parseInt(t(418))/5+parseInt(t(411))/6*(-parseInt(t(415))/7)+parseInt(t(414))/8+parseInt(t(409))/9*(parseInt(t(410))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Te=[Ae(413),Ae(412),Ae(422)];function De(){const t=["38027060MtXWDJ","30354lOULeP","events","ads","3580536NeArQp","301EyYTUb","2429310RKvBtE","undefined","100395IUHYtV","8deQZBx","1561164jAHiBR","936440APHLOa","config","9yCXVNS"];return(De=function(){return t})()}typeof window!==Ae(417)&&(window.AdStage=ye),exports.AdStage=ye,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[r,i]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&ye.reset(),ye.init(t),i(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),i(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:r,initialize:c,reset:()=>{try{ye.reset(),s(!1),i(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(ke.Provider,{value:d,children:t})},exports.SDK_VERSION="2.0.0",exports.SUPPORTED_MODULES=Te,exports.TrackingParamsModule=ue,exports.getUserProperties=function(){var t=we;if(ye[t(219)]())return ye[t(222)][t(224)]();console.warn("AdStage not initialized. Call AdStage.init() first.")},exports.setUserProperties=function(t){var e=we;ye[e(219)]()?ye[e(222)].setUserProperties(t):console[e(220)](e(214))},exports.track=function(t,e){var n=we;return ye[n(219)]()?ye.events[n(225)](t,e):(console.warn("AdStage not initialized. Call AdStage.init() first."),Promise.resolve())},exports.useAdStageContext=Ee,exports.useAdStageInstance=function(){const{isInitialized:t}=Ee();return t?ye:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
1
+ "use strict";var t,e,n,s,r,i,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(){var t=["WEB","13490190YzfGCG","TEXT","POPUP","261390uYRuNi","CLICK","VIEWABLE","506653TOXGJH","599706pFNATG","BANNER","TABLET","NATIVE","348pagltN","32aLPGPW","1201904JUPKSp","VIDEO","5274Detukt","2628165oBUZLt","DESKTOP","INTERSTITIAL","MOBILE"];return(f=function(){return t})()}function g(t,e){var n=f();return(g=function(t,e){return n[t-=275]})(t,e)}function m(t,e){const n=I();return(m=function(t,e){return n[t-=362]})(t,e)}function I(){const t=["min","9244590aIlfoX","pageXOffset","appendChild","getWindowProperty","open","removeChild","undefined","addEventListener","setProperty","classList","번 시도)","safeAppendChild","entries","1623UfFwow","getScrollInfo","⏳ 컨테이너 대기 시작: ","removeEventListener","isSSR","safeRemoveChild","60tHaQaX","36515138IBOebt","log","번째 시도, ","10BxodGb","getViewportInfo","safeWindowOpen","safeRemoveEventListener","6983528FAZPjb","safeQuerySelector","✅ 컨테이너 발견: ","safeGetComputedStyle","⏳ 컨테이너 대기 중: ","ms 경과)","textContent","ms (","safeRemoveClass","safeGetElementById","referrer","getDocumentProperty","safeApplyStyles","203MeODck"," (최대 ","devicePixelRatio","querySelectorAll","isBrowser","DOMContentLoaded","readyState","forEach","scrollTop","canUseDOM",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"style","waitForElement","9850905WFYryr","4948MdAMrU","4580sFjZlZ","safeSetInnerHTML","getComputedStyle","error","waitForElements","waitForDOM","innerHTML","ceil","safeAddEventListener","safeSetTextContent","map","location","innerWidth","getPageInfo","remove","262590cfAHgs","href","isDOMReady","getElementById"];return(I=function(){return t})()}!function(){for(var t=g,e=f();;)try{if(337858===-parseInt(t(285))/1+-parseInt(t(291))/2+-parseInt(t(293))/3*(parseInt(t(289))/4)+parseInt(t(294))/5+-parseInt(t(281))/6+-parseInt(t(284))/7*(parseInt(t(290))/8)+parseInt(t(278))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=g)(286)]=n(286),e[n(280)]="POPUP",e[n(275)]=n(275),e[n(288)]=n(288),e[n(292)]=n(292),e[n(279)]=n(279),(r=s||(s={}))[(i=g)(277)]=i(277),r[i(276)]=i(276),(a=o||(o={}))[(c=g)(283)]=c(283),a[c(282)]=c(282),(l=d||(d={}))[(u=g)(295)]=u(295),l[u(276)]=u(276),l[u(287)]=u(287);const v=m;!function(){const t=m,e=I();for(;;)try{if(959414===parseInt(t(399))/1*(-parseInt(t(435))/2)+parseInt(t(393))/3*(-parseInt(t(434))/4)+parseInt(t(380))/5+-parseInt(t(375))/6*(-parseInt(t(420))/7)+parseInt(t(407))/8+parseInt(t(433))/9+parseInt(t(403))/10*(-parseInt(t(400))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static[v(424)](){const t=v;return typeof window!==t(386)&&typeof document!==t(386)}static[v(397)](){return!this[v(424)]()}static[v(429)](){const t=v;return this[t(424)]()&&void 0!==document[t(426)]}static[v(416)](t){return this[v(429)]()?document.getElementById(t):null}static[v(408)](t){return this[v(429)]()?document.querySelector(t):null}static safeQuerySelectorAll(t){const e=v;return this[e(429)]()?Array.from(document[e(423)](t)):[]}static safeCreateElement(t){return this[v(429)]()?document.createElement(t):null}static[v(368)](t,e,n,s){const r=v;this[r(429)]()&&t&&t[r(387)](e,n,s)}static[v(406)](t,e,n,s){const r=v;this.canUseDOM()&&t&&t[r(396)](e,n,s)}static getWindowProperty(t,e){return this[v(424)]()?window[t]??e:e}static[v(418)](t,e){return this.canUseDOM()?document[t]??e:e}static[v(405)](t,e,n){const s=v;return this.isBrowser()?window[s(384)](t,e,n):null}static[v(410)](t){const e=v;return this[e(424)]()&&t?window[e(362)](t):null}static[v(377)](){const t=v;return!!this.canUseDOM()&&"loading"!==document[t(426)]}static[v(365)](){return new Promise(t=>{const e=m;this[e(429)]()?this.isDOMReady()?t():this.safeAddEventListener(document,e(425),()=>t()):t()})}static[v(419)](t,e){const n=v;this.canUseDOM()&&t&&Object[n(392)](e)[n(427)](([e,s])=>{const r=n;t[r(431)][r(388)](e,s)})}static safeAddClass(t,e){this[v(429)]()&&t&&t.classList.add(e)}static[v(415)](t,e){const n=v;this[n(429)]()&&t&&t[n(389)][n(374)](e)}static[v(369)](t,e){const n=v;this[n(429)]()&&t&&(t[n(413)]=e)}static[v(436)](t,e){const n=v;this[n(429)]()&&t&&(t[n(366)]=e)}static[v(391)](t,e){const n=v;this[n(429)]()&&t&&e&&t[n(382)](e)}static[v(398)](t,e){const n=v;this[n(429)]()&&t&&e&&t[n(385)](e)}static[v(373)](){const t=v;return{url:this[t(383)](t(371),{href:""})[t(376)],title:this[t(418)]("title",""),referrer:this[t(418)](t(417),"")}}static[v(404)](){const t=v;return{width:this[t(383)](t(372),0),height:this[t(383)]("innerHeight",0),pixelRatio:this[t(383)](t(422),1)}}static[v(394)](){const t=v;return{scrollTop:this[t(429)]()?window.pageYOffset||document.documentElement[t(428)]:0,scrollLeft:this[t(383)](t(381),0)}}static async[v(432)](t,e={}){const n=v,{timeout:s=3e3,retryInterval:r=100,debug:i=!1}=e;if(!this[n(429)]())throw new Error("DOM을 사용할 수 없는 환경입니다.");const o=document[n(378)](t);return o?(i&&console[n(401)]("✅ 컨테이너 즉시 발견: "+t),o):(i&&console[n(401)](n(395)+t+n(421)+s+"ms)"),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(367)](s/r),l=()=>{const n=a;c++;const u=document[n(378)](t);if(u)return i&&console[n(401)](n(409)+t+" ("+c+n(402)+c*r+n(412)),void e(u);if(c>=d){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+n(430)+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+s+n(414)+c+n(390);return i&&console[n(363)](e),void o(new Error(e))}i&&c%10==0&&console[n(401)](n(411)+t+" ("+c+"/"+d+")");const p=Math[n(379)](r*Math.pow(1.2,c),500);setTimeout(l,p)};setTimeout(l,r)}))}static async[v(364)](t,e={}){const n=v,s=t[n(370)](t=>this[n(432)](t,e));return Promise.all(s)}}const b=k;function w(){const t=["30mehWAC","userAgent","2792SNKhtI","6163113WFjLck","3065515VKLRSl","3.0.16","12FDdmYz","2742840UXeWnL","17793dCizWf","3243765rOFFVC"," AdStageSDK/","undefined","4mniztY","203793xSfqga","AdStageSDK/","596965nDTLoi"];return(w=function(){return t})()}function k(t,e){const n=w();return(k=function(t,e){return n[t-=333]})(t,e)}!function(){const t=k,e=w();for(;;)try{if(573407===parseInt(t(339))/1+-parseInt(t(346))/2*(parseInt(t(337))/3)+-parseInt(t(336))/4*(parseInt(t(344))/5)+-parseInt(t(347))/6+parseInt(t(333))/7+-parseInt(t(342))/8*(parseInt(t(348))/9)+-parseInt(t(340))/10*(-parseInt(t(343))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const E=b(345);function x(){return E}function S(t,e){const n=T();return(S=function(t,e){return n[t-=342]})(t,e)}const A=S;!function(){const t=S,e=T();for(;;)try{if(412170===-parseInt(t(345))/1*(parseInt(t(379))/2)+-parseInt(t(364))/3+-parseInt(t(377))/4+-parseInt(t(350))/5*(parseInt(t(392))/6)+-parseInt(t(396))/7+-parseInt(t(367))/8*(parseInt(t(370))/9)+parseInt(t(385))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class C{static[A(344)](){const t=A;if(!y[t(359)]())return t(354)+Date[t(378)]();const e=localStorage[t(376)]("adstage_device_id");if(e)return e;const n=t(363)+Math[t(365)]()[t(342)](36)[t(372)](2,9)+"_"+Date[t(378)]();return localStorage[t(374)](t(347),n),n}static[A(383)](){const t=A;if(!y[t(359)]())return t(348)+Date[t(378)]();const e=sessionStorage[t(376)](t(393));if(e)return e;const n=t(373)+Math[t(365)]()[t(342)](36)[t(372)](2,9)+"_"+Date[t(378)]();return sessionStorage[t(374)](t(393),n),n}static[A(357)](){const t=A;return!!y[t(359)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(351)])}static[A(346)](){const t=A;if(!y[t(359)]())return"web";const e=navigator[t(351)][t(380)]();return/iphone|ipad|ipod/[t(386)](e)?t(389):/android/[t(386)](e)?t(343):C[t(357)]()?t(375):"desktop"}static collectDeviceInfo(){const t=A,e=y.getViewportInfo();return{deviceId:C.generateDeviceId(),sessionId:C.generateSessionId(),osVersion:y[t(359)]()?navigator[t(355)]:t(371),deviceModel:y[t(359)]()?navigator.platform:t(371),appVersion:"1.0.0",sdkVersion:x(),language:y.isBrowser()&&navigator[t(391)]||"ko",country:"KR",ipAddress:"",userAgent:y[t(359)]()?navigator.userAgent:t(371),timezone:y[t(359)]()?Intl[t(394)]().resolvedOptions()[t(353)]:t(349),viewportWidth:e.width,viewportHeight:e[t(369)],screenWidth:y.isBrowser()?screen[t(388)]:0,screenHeight:y[t(359)]()?screen[t(369)]:0,colorDepth:y[t(359)]()?screen[t(382)]:24,pixelRatio:e[t(366)],connectionType:y[t(359)]()?navigator.connection?.effectiveType||t(384):"unknown",platform:C[t(346)]()}}static[A(360)](t){const e=A;let n=y[e(395)](t);if(!n){const s=y.safeQuerySelector("#"+t+e(358));s&&(n=s)}if(!n&&(n=y[e(361)](e(352)+t+'"]')),!n)return e(384);const s=n[e(362)](),r=y[e(368)]();return"x:"+Math.round(s.left)+e(381)+Math[e(387)](s[e(356)]+r[e(390)])}}function T(){const t=["ios","scrollTop","language","29586jAIhzR","adstage_session_id","DateTimeFormat","safeGetElementById","3847186QHRPBO","toString","android","generateDeviceId","1lbRWoT","getPlatform","adstage_device_id","ssr_session_","UTC","445UvPoxe","userAgent",'[data-adstage-slot-id="',"timeZone","ssr_device_","platform","top","isMobile"," .adstage-slider-wrapper","isBrowser","getSlotPosition","safeQuerySelector","getBoundingClientRect","device_","86901YybcOs","random","pixelRatio","8dvWiUQ","getScrollInfo","height","1470519UBFkfr","SSR","substr","session_","setItem","web","getItem","2378372vqyhIR","now","663962hACJPu","toLowerCase",",y:","colorDepth","generateSessionId","unknown","25195590rBKByi","test","round","width"];return(T=function(){return t})()}const P=D;!function(){const t=D,e=_();for(;;)try{if(968732===-parseInt(t(355))/1+-parseInt(t(354))/2+-parseInt(t(362))/3+parseInt(t(359))/4*(parseInt(t(353))/5)+parseInt(t(356))/6*(-parseInt(t(361))/7)+-parseInt(t(358))/8*(-parseInt(t(364))/9)+parseInt(t(352))/10*(parseInt(t(360))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class R{static[P(357)](t,e){const n=P;if(!t)throw new Error(n(350));return{"x-api-key":t,"Content-Type":e?.[n(351)]||n(349)}}static[P(363)](t,e){return R[P(357)](t)}}function D(t,e){const n=_();return(D=function(t,e){return n[t-=349]})(t,e)}function _(){const t=["423NZXxIG","application/json","API key is required","contentType","3025210pJwRZt","635DwMKpC","518278TFrasD","1010379obMvKo","12omuXCH","create","129736jEddfX","28276CHlkFg","44koLWaX","425264KLMvJc","1530876TPLtWJ","createForEvents"];return(_=function(){return t})()}const L=U;function U(t,e){const n=M();return(U=function(t,e){return n[t-=307]})(t,e)}function M(){const t=["status","log","API request failed: ","containerId"," - ","1422954llAvxi","platform","warn","now","1978035mNZNxg","baseUrl","getSlotPosition","376fjfIYN","/advertisements/events/","number","❌ Failed to track advertisement event:","⚠️ DOM element not found for slotId: ","slots","272cxuaPi","...","apiKey","trackAdvertisementEvent","getPageInfo","stringify","text","createForEvents","20hhPUSQ","getElementById","). Skipping event tracking.","height","36009SGERPe",". Skipping event tracking to prevent incorrect adType.","url"," in slot ","7550739LBixYB","debug","length","error","title","deviceId","✅ Successfully tracked advertisement event: ","sessionId","🚀 Sending advertisement event: ","parseNumericValue","VIEWABLE"," for ad ","25494910lQrdik","1325712zLlpPK",'[data-adstage-slot-id="',"statusText","substring","NOT_SET","🌐 Full API call details:","string","collectDeviceInfo"," event for ad ","POST","referrer","5770enuJYx","📡 API Response Status: "];return(M=function(){return t})()}!function(){const t=U,e=M();for(;;)try{if(752199===parseInt(t(330))/1*(parseInt(t(344))/2)+-parseInt(t(341))/3+-parseInt(t(319))/4+-parseInt(t(358))/5*(parseInt(t(337))/6)+-parseInt(t(366))/7+-parseInt(t(350))/8*(-parseInt(t(362))/9)+parseInt(t(318))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class B{constructor(t,e,n,s){const r=U;this[r(342)]=t,this[r(352)]=e,this[r(307)]=n,this.slots=s}async[L(353)](t,e,n){const s=L;try{this[s(307)]&&console[s(333)]("🚀 AdvertisementEventTracker: Processing "+n+s(327)+t+s(365)+e);const r=this[s(349)].get(e);if(!r)return void(this[s(307)]&&console.warn("⚠️ Slot not found for slotId: "+e+s(363)));if(!(document[s(359)](r[s(335)])||document.querySelector(s(320)+e+'"]')))return void(this[s(307)]&&console[s(339)](s(348)+e+" (containerId: "+r[s(335)]+s(360)));const i=C[s(326)](),a={adType:r.adType,platform:i[s(338)],deviceId:i[s(311)],deviceInfo:i,pageUrl:y[s(354)]()[s(364)],pageTitle:y[s(354)]()[s(310)],referrer:y[s(354)]()[s(329)],slotId:e,slotPosition:C[s(343)](r[s(335)]),slotWidth:B[s(315)](r.width),slotHeight:B[s(315)](r[s(361)]),sessionId:i[s(313)],pageLoadTime:performance[s(340)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date[s(340)]()},...n===o[s(316)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(342)]+s(345)+t+"/"+n,d=R[s(357)](this[s(352)],a);this[s(307)]&&(console.log(s(314)+n+s(317)+t,{url:c,headers:d,eventData:a}),console[s(333)](s(324),{method:s(328),url:c,hasApiKey:!!this[s(352)],bodySize:JSON.stringify(a)[s(308)]}));const l=await fetch(c,{method:"POST",headers:d,body:JSON[s(355)](a)});if(this[s(307)]&&console[s(333)](s(331)+l[s(332)]+" "+l[s(321)],{url:c,ok:l.ok}),!l.ok){const t=await l[s(356)]();throw new Error(s(334)+l[s(332)]+" "+l[s(321)]+s(336)+t)}this[s(307)]&&console[s(333)](s(312)+n+s(317)+t)}catch(r){console.error(s(347),r),console[s(309)]("🔍 Debug info:",{baseUrl:this.baseUrl,apiKey:this.apiKey?this[s(352)][s(322)](0,8)+s(351):s(323),url:this[s(342)]+s(345)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static parseNumericValue(t){const e=L;if(typeof t===e(346))return t;if(typeof t===e(325)){const e=parseFloat(t.replace(/px$/,""));return isNaN(e)?0:e}return 0}}var z=F;function F(t,e){var n=O();return(F=function(t,e){return n[t-=377]})(t,e)}!function(){for(var t=F,e=O();;)try{if(451887===parseInt(t(397))/1+-parseInt(t(399))/2*(-parseInt(t(400))/3)+parseInt(t(380))/4+parseInt(t(383))/5+-parseInt(t(384))/6+parseInt(t(390))/7+-parseInt(t(389))/8*(parseInt(t(382))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class N{constructor(t,e){var n=F;this.observer=null,this[n(395)]=!1,this[n(393)]=t,this[n(387)]=e,this[n(379)]()}[z(379)](){var t=z;t(388)in window?(this[t(386)]=new IntersectionObserver(e=>this[t(392)](e),{threshold:.5,rootMargin:t(391)}),this[t(386)].observe(this[t(393)])):console[t(398)](t(385))}handleIntersection(t){var e=z;t[e(381)](t=>{var n=e;t[n(396)]>=.5&&this[n(377)]()&&!this[n(395)]&&(this[n(395)]=!0,this[n(387)]&&this[n(387)]())})}[z(377)](){var t=z;return!document.hidden&&"visible"===document[t(378)]}[z(394)](){var t=z;this[t(386)]&&(this.observer.disconnect(),this[t(386)]=null)}}function O(){var t=["destroy","isViewableTriggered","intersectionRatio","289699djIpDG","warn","37476AkXpPq","42ojDpTA","isDocumentVisible","visibilityState","initIntersectionObserver","2314836LptroC","forEach","15012gzNUjF","2796365xZiGZw","92130UsdSIp","IntersectionObserver not supported, viewability tracking disabled","observer","onViewableCallback","IntersectionObserver","6992SpoVFY","1645427QsAmgd","0px","handleIntersection","element"];return(O=function(){return t})()}function V(t,e){const n=Y();return(V=function(t,e){return n[t-=220]})(t,e)}const H=V;!function(){const t=V,e=Y();for(;;)try{if(615605===-parseInt(t(236))/1*(-parseInt(t(225))/2)+-parseInt(t(227))/3+parseInt(t(244))/4*(-parseInt(t(239))/5)+-parseInt(t(241))/6*(parseInt(t(220))/7)+-parseInt(t(221))/8+-parseInt(t(229))/9*(-parseInt(t(238))/10)+parseInt(t(242))/11*(parseInt(t(233))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const K={production:"https://api.adstage.app",beta:H(232)};H(224);const j={advertisements:{list:H(234),detail:H(245),events:H(228)},events:{track:H(223),registerAttribution:H(230)}};class W{constructor(t){const e=H;this[e(248)]={list:()=>""+this[e(240)]+j[e(248)].list,detail:t=>""+this[e(240)]+j.advertisements[e(247)]+"/"+t,events:(t,n)=>""+this[e(240)]+j[e(248)][e(226)]+"/"+t+"/"+n},this[e(226)]={track:()=>""+this[e(240)]+j[e(226)][e(237)],registerAttribution:()=>""+this[e(240)]+j[e(226)][e(243)]},this[e(240)]=t||K[e(224)]}[H(231)](t){this[H(240)]=t}[H(222)](){return this[H(240)]}[H(235)](t){const e=H;return""+this[e(240)]+(t[e(246)]("/")?t:"/"+t)}}const G=new W;function Y(){const t=["detail","advertisements","2233oLseoL","1813072VadGWX","getBaseUrl","/events/track","production","2xunCBo","events","372882MJNgkx","/advertisements/events","27maRAXM","/events/register/attribution","setBaseUrl","https://beta-api.adstage.app","6096ZTlJRs","/advertisements/list","custom","350209lzWHMH","track","1601240rOIzRm","108815lYkFGR","baseUrl","16338HDtZoi","41074vYMtVu","registerAttribution","164RdEItk","/advertisements","startsWith"];return(Y=function(){return t})()}var q=X;function X(t,e){var n=J();return(X=function(t,e){return n[t-=198]})(t,e)}function J(){var t=["128637sGvTXR","21mgEFIo","🎯 Triggering VIEWABLE event for slide change: ad ","log","trackSlideViewable","trackInitialSlideViewable","_id","136uuXzAo","VIEWABLE","338157nqBfcc","916135ihevLx","1460420iVIoAf","30gtLqjY","1014pgtfsD","2844WWBJgQ","540330PZtuhh","349605jbVetF"," (index: "];return(J=function(){return t})()}!function(){for(var t=X,e=J();;)try{if(300466===-parseInt(t(200))/1+parseInt(t(204))/2*(parseInt(t(205))/3)+parseInt(t(202))/4+parseInt(t(207))/5+-parseInt(t(206))/6*(parseInt(t(210))/7)+-parseInt(t(198))/8*(-parseInt(t(209))/9)+-parseInt(t(203))/10*(parseInt(t(201))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Z{static[q(213)](t,e,n,s,r=!1){var i=q;r&&console.log(i(211)+t._id+i(208)+n+") in slot: "+e.id),s(t[i(215)],e.id,o.VIEWABLE)}static[q(214)](t,e,n,s=!1){var r=q;s&&console[r(212)]("🎯 Triggering initial VIEWABLE event: ad "+t[r(215)]+" (index: 0) in slot: "+e.id),n(t[r(215)],e.id,o[r(199)])}}const Q=$;function $(t,e){const n=tt();return($=function(t,e){return n[t-=294]})(t,e)}function tt(){const t=["adType","782361bDlaHd","linkUrl","click","forEach","866644AghVMf","16SXtIxa","log","pointer","55158wSnpXm"," -> ","146308MbvTgh","addClickEventForRenderer","6stFMxF","addEventListener","open","style","addClickEvent","_id","🔗 ","CLICK","559146ksfDgV","_blank","addClickEventsBatch"," ad clicked: ","preventDefault","1115260cFJuTS","addClickEventForSlider","41503CbxMFa"];return(tt=function(){return t})()}!function(){const t=$,e=tt();for(;;)try{if(114302===-parseInt(t(307))/1+-parseInt(t(319))/2+-parseInt(t(317))/3+parseInt(t(313))/4+parseInt(t(305))/5*(-parseInt(t(321))/6)+parseInt(t(300))/7+-parseInt(t(314))/8*(-parseInt(t(309))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class et{static[Q(296)](t,e,n,s,r=!1,i){const a=Q;e[a(310)]&&(t[a(295)].cursor="pointer",t[a(322)](a(311),t=>{const c=a;if(t[c(304)](),t.stopPropagation(),s&&s(e[c(297)],n.id,o[c(299)]),window.open(e[c(310)],c(301)),r){const t=i||String(n[c(308)]).toLowerCase();console.log(c(298)+t+c(303)+e[c(297)]+" -> "+e[c(310)])}}))}static[Q(320)](t,e,n,s,r=!1,i){const a=Q;e[a(310)]&&(t.style.cursor=a(316),t.addEventListener(a(311),t=>{const c=a;t[c(304)](),t.stopPropagation();if(s()(e[c(297)],n.id,o[c(299)]),window[c(294)](e[c(310)],c(301)),r){const t=i||String(n[c(308)]).toLowerCase();console[c(315)](c(298)+t+" ad clicked: "+e._id+c(318)+e[c(310)])}}))}static[Q(306)](t,e,n,s,r=!1,i){this[Q(296)](t,e,n,s,r,i)}static isClickable(t){return Boolean(t[Q(310)])}static[Q(302)](t,e,n,s,r=!1,i){const o=Q;t[o(312)]((t,a)=>{const c=o,d=e[a];d&&this[c(296)](t,d,n,s,r,i)})}}function nt(){const t=["touchend","2068510wsESlt","changedTouches","translateX(-","\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 ","className","transition","Banner Ad","createSliderContainer","block","display","getBoundingClientRect","177PaFPnN","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","touches","clientX","addClickEventForSlider","193218lNMkKD","forEach","328HPlxxE","backgroundColor","transform 0.4s ease-out","touchstart","every","textContent","#f0f0f0","abs","mouseenter","contains","35528yPYlQs","active","200px","string","children","\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 ","adType","0.9","whiteSpace","#f9f9f9","#666666","VIDEO","adstage-ad adstage-",".adstage-dot","add","toLowerCase","color","TEXT","#999999","appendChild","addEventListener","adstage-slide-container","10785753WyWXns","video","0.7","createMinimalDotIndicator","padding","data-adstage-ad-id","hidden","14TFVoBq","src","div","adstage-slider-wrapper","autoSlideInterval"," Ad","adstage-slide","createElement","auto","Video Ad","flex","body","entries","trackSlideViewable","100%","8UZOQVP","8px","438270SamUgl","videoUrl","img","length","data-adstage-slot-id","100px","width","center","1px dashed #ccc","remove","fontSize","button","cover","opacity","setAttribute","overflow","14px","height","#cccccc","style","setProperty","removeChild","classList","117891gdcCVA","mouseleave","querySelectorAll","createSimpleAdElement","50px","cssText","includes","objectFit","imageUrl","#000","border","39316BPJURy","adstage-dot","borderColor"];return(nt=function(){return t})()}const st=rt;function rt(t,e){const n=nt();return(rt=function(t,e){return n[t-=395]})(t,e)}!function(){const t=rt,e=nt();for(;;)try{if(333350===-parseInt(t(463))/1*(-parseInt(t(419))/2)+parseInt(t(402))/3*(parseInt(t(499))/4)+-parseInt(t(465))/5+parseInt(t(407))/6*(-parseInt(t(448))/7)+-parseInt(t(409))/8*(-parseInt(t(488))/9)+parseInt(t(503))/10+-parseInt(t(441))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class it{static createSimpleAdElement(e,n){const s=rt,r=document[s(455)]("div");switch(r[s(395)]=s(431)+String(e[s(425)]).toLowerCase(),r[s(479)](s(446),n._id),r[s(479)](s(469),e.id),r.style.display=s(399),r[s(484)].width=s(462),r[s(484)][s(482)]=s(456),e[s(425)]){case t.BANNER:if(n[s(496)]){const t=document.createElement(s(467));t[s(449)]=n.imageUrl,t[s(484)][s(471)]="100%",t[s(484)][s(482)]=s(456),t.style[s(495)]=s(477),r.appendChild(t)}else r.style[s(482)]="100px",r[s(484)][s(410)]=s(415),r[s(484)].border=s(473),r[s(414)]=s(397);break;case t[s(430)]:if(n[s(466)]){const t=document.createElement(s(442));t[s(449)]=n.videoUrl,t[s(484)][s(471)]=s(462),t.style[s(482)]=s(456),r[s(438)](t)}else r[s(484)][s(482)]=s(421),r.style[s(410)]=s(497),r[s(484)][s(498)]="1px solid #666",r[s(414)]=s(457),r[s(484)][s(435)]="white";break;case t[s(436)]:if(n.textContent){const t=document.createElement(s(450));t[s(414)]=n.textContent||"",t[s(484)][s(445)]="8px",t[s(484)][s(475)]=s(481),r[s(438)](t)}else r[s(484)][s(482)]=s(492),r[s(484)][s(445)]=s(464),r[s(414)]="Text Ad";break;default:r.style[s(482)]=s(470),r[s(484)][s(498)]=s(473),r.style.backgroundColor=s(428),r[s(414)]=e[s(425)]+s(453)}return r}static[st(398)](e,n,s,r,i=!1){const o=st,a=document[o(455)](o(450));a[o(395)]=o(451);const c={position:"relative",overflow:o(447)};if(e[o(471)]&&0!==e[o(471)]){let t;t="string"==typeof e[o(471)]&&(e.width[o(494)]("px")||e[o(471)].includes("%"))?e[o(471)]:e[o(471)]+"px",c[o(471)]=t,c[o(400)]="inline-block"}else c.display="inline-block";if(e[o(482)]&&0!==e[o(482)]){const t=typeof e.height===o(422)?e[o(482)]:e[o(482)]+"px";c[o(482)]=t}Object[o(460)](c)[o(408)](([t,e])=>{a[o(484)].setProperty(t,e)});const d=!e[o(471)]||0===e.width,l=!e.height||0===e[o(482)];if(d||l){const t=document[o(455)](o(450));if(t[o(484)][o(493)]=o(403),!d&&e[o(471)]){let n;n=typeof e.width===o(422)?e[o(471)][o(494)]("px")||e[o(471)][o(494)]("%")?e[o(471)]:e.width+"px":e[o(471)]+"px",t[o(484)][o(471)]=n,t[o(484)][o(427)]="normal"}document[o(459)][o(438)](t);let s=0,r=0;n[o(408)](n=>{const i=o,a=this[i(491)](e,n);t[i(438)](a);const c=a[i(401)]();c[i(471)]>s&&(s=c[i(471)]),c[i(482)]>r&&(r=c[i(482)]),t[i(486)](a)}),d&&s>0&&(a.style[o(471)]=s+"px",c[o(471)]=s+"px"),l&&r>0&&(a.style[o(482)]=r+"px",c[o(482)]=r+"px"),document[o(459)][o(486)](t)}const u=[...n,n[0]],p=document[o(455)](o(450));p.className=o(440);const h={display:"flex",transition:o(411),width:100*u[o(468)]+"%"};e[o(482)]&&0!==e[o(482)]&&(h[o(482)]=o(462)),Object[o(460)](h)[o(408)](([t,e])=>{const n=o;p.style[n(485)](t,e)}),u[o(408)]((t,n)=>{const s=o,a=document[s(455)](s(450));a.className=s(454);const c={width:100/u.length+"%","flex-shrink":"0",display:s(458),"align-items":s(472),"justify-content":s(472)};e.height&&0!==e[s(482)]&&(c[s(482)]=s(462)),Object.entries(c).forEach(([t,e])=>{a.style.setProperty(t,e)});const d=this.createSimpleAdElement(e,t);et[s(406)](d,t,e,r,i,String(e.adType)[s(434)]()),a[s(438)](d),p.appendChild(a)});const f=n[o(413)](e=>e[o(425)]===t[o(436)])?null:this[o(444)](n[o(468)]);let g=0;const m=n.length,I=1e3*(s?.[o(452)]||3),v=(t,s=!1)=>{const a=o;g=t,p[a(484)][a(396)]=s?"none":"transform 0.4s ease-out",p.style.transform=a(505)+100/u[a(468)]*g+"%)";const c=g===m?0:g;if(f){f[a(490)](a(432))[a(408)]((t,e)=>{const n=a,s=t;e===c?(s.classList[n(433)](n(420)),s[n(484)].background=n(429),s.style[n(501)]=n(429),s[n(484)][n(478)]="1"):(s[n(487)][n(474)](n(420)),s[n(484)].background="transparent",s.style[n(501)]=n(483),s.style.opacity=n(443))})}Z[a(461)](n[c],e,c,r,i)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(490)](o(432))[o(408)]((t,e)=>{t[o(439)]("click",()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a.addEventListener(o(417),()=>{clearInterval(b)}),a[o(439)](o(489),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this.addTouchSupport(p,v,()=>g,m,y),a[o(438)](p),f&&a[o(438)](f),v(0),(!e.width||0===e.width)&&setTimeout(()=>{const t=o,n=p[t(423)][0];if(n){const s=n[t(423)][0];if(s){const n=s[t(401)]();a[t(484)][t(471)]=n[t(471)]+"px",(!e[t(482)]||0===e.height)&&(a[t(484)].height=n.height+"px"),a[t(484)][t(480)]=t(447)}}},10),a}static createMinimalDotIndicator(t){const e=st,n=document[e(455)](e(450));n[e(395)]="adstage-dots",n[e(484)][e(493)]=e(506);for(let s=0;s<t;s++){const t=document[e(455)](e(476));t.className=e(500),t.style[e(493)]=e(424),t[e(439)](e(417),()=>{const n=e;!t[n(487)].contains(n(420))&&(t.style.borderColor=n(437),t[n(484)][n(478)]=n(426))}),t.addEventListener("mouseleave",()=>{const n=e;!t.classList[n(418)](n(420))&&(t[n(484)][n(501)]="#cccccc",t[n(484)][n(478)]=n(443))}),n[e(438)](t)}return n}static addTouchSupport(t,e,n,s,r){const i=st;let o=0,a=!1;t[i(439)](i(412),t=>{const e=i;o=t[e(404)][0][e(405)],a=!0}),t[i(439)]("touchmove",t=>{a&&t.preventDefault()}),t[i(439)](i(502),t=>{const c=i;if(!a)return;a=!1;const d=t[c(504)][0].clientX,l=o-d;if(Math[c(416)](l)>50){const t=n();if(l>0){e(t+1),r&&r()}else{e(t>0?t-1:s-1)}}})}}const ot=at;function at(t,e){const n=ct();return(at=function(t,e){return n[t-=208]})(t,e)}function ct(){const t=["✅ New viewable recorded for ad ","817188ANjnZu","48uyRjSY","65368eUHdga","4102110AuWoBm","187MQHoEn","121812mHBfqO","isDuplicateViewable"," in slot ","828EvzFZq","215023mAmpPK","clear","clearAdViewable","has","151400srbAiO","viewableTracker","delete","387eBMjWw","13559dXTsNo","2fqNGfv","log"];return(ct=function(){return t})()}!function(){const t=at,e=ct();for(;;)try{if(408966===parseInt(t(226))/1+parseInt(t(214))/2*(-parseInt(t(222))/3)+parseInt(t(218))/4*(parseInt(t(209))/5)+parseInt(t(225))/6*(parseInt(t(213))/7)+-parseInt(t(219))/8*(-parseInt(t(212))/9)+parseInt(t(220))/10+-parseInt(t(221))/11*(parseInt(t(217))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{static[ot(223)](t,e,n=!1){const s=ot,r=t+"_"+e;return dt[s(210)][s(208)](r)?(n&&console[s(215)]("Duplicate viewable blocked for ad "+t+" in slot "+e),!0):(dt[s(210)].add(r),n&&console[s(215)](s(216)+t+s(224)+e),!1)}static[ot(227)](){const t=ot;dt[t(210)][t(227)]()}static[ot(228)](t,e){const n=ot,s=t+"_"+e;dt[n(210)][n(211)](s)}}function lt(){const t=["color","adstage-official","transparent","opacity","contains","applyPlaceholderStyle","rgba(248, 249, 250, 0.5)","log","676GqufUG","invisible","className","createElement","100%","getElementById","center","VIEWABLE","borderRadius","⚠️ "," ad...</span>",'div[style*="height"]',"querySelector","adstage-slot","alignItems",".adstage-",'[data-adstage-container="true"]',"width","justifyContent","📊 Advertisement event tracked: ","6369jzTqPu"," slot: ","✅ New viewable recorded for ad "," in slot ","getDefaultHeight","filter","4343504rVPvci",") - Mode: ","isEmpty","\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 ","toLowerCase","subtle","getContainerHeight","appendChild","auto","true","📦 Placeholder created for ",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"placeholderMode","getComputedStyle","541289LiuFgr","minHeight","warn","number","display"," event","data-adstage-container","fontFamily","calculateAdSize","adstage-slot adstage-","border","div","style",'[class*="ad"]'," x ","renderFallback","rgba(231, 76, 60, 0.1)","createEventTrackingCallback","): ","trackAdvertisementEvent","6px","76722gtZxMT","⚠️ AdvertisementEventTracker not available for ","data-adstage-empty","advertisementEventTracker","data-adstage-slot","#f9f9f9","data-adstage-type","❌ Failed to track "," for ad ","parentElement","flex","unknown","📏 Using 100% height (container: ","adType","11px","createPlaceholder"," container: ","px)","fontSize","block","1px solid rgba(0, 0, 0, 0.08)","debug","setAttribute","1px dashed #ccc","height","error","string","784815DkNUfJ","🚫 Duplicate viewable blocked for ad ","classList","adstage-slot adstage-empty adstage-","<span>Loading ",'div[style*="min-height"]',"containerId","\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 ","1156672tklAJw","#666","backgroundColor","isDuplicateViewable","2926833tyzCPd","4px","innerHTML","2px dashed #e74c3c","⚠️ Created empty ","adstage-class","closest","minimal","hasAttribute","cssText"];return(lt=function(){return t})()}dt[ot(210)]=new Set;const ut=pt;function pt(t,e){const n=lt();return(pt=function(t,e){return n[t-=440]})(t,e)}!function(){const t=pt,e=lt();for(;;)try{if(350903===-parseInt(t(473))/1+parseInt(t(529))/2+-parseInt(t(453))/3*(-parseInt(t(551))/4)+-parseInt(t(521))/5+-parseInt(t(494))/6+-parseInt(t(533))/7+parseInt(t(459))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht{constructor(t,e=!1,n){const s=pt;this[s(507)]=t,this[s(515)]=e,this[s(497)]=n||null}[ut(509)](t,e,n,s){const r=ut,i=document.createElement(r(484));i.id=e,i.className=r(482)+String(this.adType)[r(463)](),i.setAttribute(r(479),r(468)),i[r(516)](r(500),String(this.adType)),i[r(516)](r(498),e);const{width:o,height:a}=this[r(481)](t,n,s)||{width:r(555),height:this[r(457)]()};i[r(485)][r(450)]=o,i[r(485)][r(518)]=a;const c=s?.[r(471)]||n[r(471)]||r(552);this[r(548)](i,c),t[r(466)](i),this.debug&&console[r(550)](r(469)+this[r(507)]+r(454)+e+" ("+o+r(487)+a+r(460)+c)}[ut(548)](t,e){const n=ut;switch(e){case n(552):t[n(485)][n(531)]="transparent",t[n(485)][n(483)]="none",t[n(485)][n(546)]="0",t[n(535)]="";break;case n(545):t[n(485)].backgroundColor=n(545),t[n(485)][n(483)]="none",t[n(485)][n(477)]=n(513),t[n(535)]="";break;case n(464):t[n(485)][n(531)]="rgba(0, 0, 0, 0.02)",t[n(485)][n(483)]="none",t.style[n(441)]=n(534),t.style[n(477)]=n(504),t[n(485)][n(447)]=n(557),t[n(485)][n(451)]="center",t[n(535)]=n(470);break;case n(540):t[n(485)][n(531)]=n(549),t[n(485)][n(483)]=n(514),t.style[n(441)]=n(493),t[n(485)].display=n(504),t[n(485)][n(447)]=n(557),t[n(485)][n(451)]=n(557),t[n(535)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(515):t[n(485)][n(483)]=n(536),t[n(485)][n(477)]=n(504),t[n(485)][n(447)]="center",t[n(485)].justifyContent="center",t[n(485)][n(531)]=n(489),t[n(485)][n(543)]="#e74c3c",t.style[n(480)]="monospace",t[n(485)][n(512)]=n(508),t.innerHTML="<span>Loading "+this.adType+n(443);break;default:t[n(485)].border=n(517),t.style[n(477)]=n(504),t[n(485)][n(447)]="center",t[n(485)].justifyContent=n(557),t[n(485)][n(531)]=n(499),t[n(485)][n(543)]=n(530),t[n(535)]=n(525)+this[n(507)]+" ad...</span>"}}calculateAdSize(t,e,n){const s=ut,r=e[s(450)],i=e.height;let o,a;if(o=typeof r===s(476)?r+"px":typeof r===s(520)?r:s(555),typeof i===s(476))a=i+"px";else if(typeof i===s(520)&&"100%"!==i&&i!==s(467))a=i;else{const e=this[s(465)](t);e>0?(a="100%",(n?.[s(515)]||this[s(515)])&&console.log(s(506)+e+s(511))):(a=this.getDefaultHeight(),(n?.[s(515)]||this[s(515)])&&console.log("📏 Using default height "+a+" for "+this[s(507)]))}return{width:o,height:a}}[ut(465)](t){const e=ut,n=window[e(472)](t),s=parseFloat(n[e(518)]);if(!s||0===s){const s=parseFloat(n[e(474)]);if(s>0)return s;if(t[e(485)].height&&"auto"!==t[e(485)][e(518)]){const n=parseFloat(t[e(485)].height);if(n>0)return n}const r=t.getAttribute(e(518));if(r){const t=parseFloat(r);if(t>0)return t}}return s||0}[ut(490)](){return async(t,e,n)=>{const s=pt;if(n===o[s(440)]){if(dt[s(532)](t,e,this[s(515)]))return void(this.debug&&console.log(s(522)+t+s(456)+e));this[s(515)]&&console[s(550)](s(455)+t+s(456)+e)}if(this[s(497)])try{this[s(515)]&&console[s(550)]("🔄 Starting advertisement event tracking: "+n+s(502)+t+" in slot "+e),await this[s(497)][s(492)](t,e,n),this[s(515)]&&console.log(s(452)+n+s(502)+t+s(456)+e)}catch(e){this[s(515)]&&console[s(519)](s(501)+n+" event for ad "+t+":",e)}else this[s(515)]&&console.warn(s(495)+n+s(478))}}[ut(488)](t){const e=ut,n=document.getElementById(t.id);if(n){const s=[...[n[e(445)](e(449)),n[e(539)](e(449)),n][e(458)](t=>t&&t[e(541)](e(479))),...[n[e(539)](".adstage-slot"),n[e(539)](e(448)+String(this.adType)[e(463)]()),n[e(539)](e(486)),n.closest('[class*="banner"]'),n[e(539)]('[class*="container"]'),n[e(539)](e(444)),n[e(539)](e(526)),n[e(503)]].filter(Boolean)][0];if(s){let n=e(505);n=s[e(541)]("data-adstage-container")?e(544):s[e(523)][e(547)](e(446))?e(538):"generic",s[e(485)][e(542)]+=e(462),s.innerHTML="",s[e(516)](e(496),"true"),this[e(515)]&&console[e(475)](e(442)+this[e(507)]+" container collapsed ("+n+e(491)+t.id,s)}else this.createEmptyContainer(t)}t.advertisement=void 0,t[e(461)]=!0}createEmptyContainer(t){const e=ut,n=document[e(556)](t[e(527)]);if(n){n.innerHTML="";const s=document[e(554)]("div");s.id=t.id,s[e(553)]=e(524)+String(this[e(507)])[e(463)](),s.setAttribute(e(479),"true"),s[e(516)](e(496),e(468)),s[e(516)](e(498),t.id),s[e(485)][e(542)]=e(528),n[e(466)](s),this.debug&&console[e(475)](e(537)+this[e(507)]+e(510)+t.id)}}log(t,...e){this.debug&&console.log("["+this.adType+"] "+t,...e)}}const ft=mt;function gt(){const t=["Banner","forEach","config","adstage-ad adstage-banner-ad","16:9","applyOptimizedImageStyle","📐 Optimal banner container calculated: ","toString","center","100%","img","log","calculateAdSize","getBoundingClientRect","1:1","common","height","BANNER",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"length","loadImageDimensions","aspectRatio","default","168WCHnzC","map","value","slideInterval","_id","createEventTrackingCallback","objectFit","Banner Advertisement","from","div","reduce","containerId","250px","average","some","Container not found: ","backgroundColor","width","🎠 Banner carousel created for slot: "," ads (optimized: ","addClickEventForRenderer","values","innerHTML","set","70YFfdCV","dominant","naturalHeight","calculateOptimalHeight","6989543ZOUTJt","display"," (strategy: ","cover","optimizeContainerForBannerAds","Image URL is not provided","7498215lhMpWH","renderOptimizedBannerImage","8eUwVfy","getElementById","🎨 Banner image style applied: objectFit=","156058YhKhjJ","parentElement","objectPosition","fulfilled"," (avg: ","6738204vtucWN","allSettled","round","2245910LIAaPv"," with ","borderRadius","title","src","toFixed","count","className","<div>","imageUrl","4:3","debug","314368AolSfv","calculateOptimalContainerSize","abs","warn","status"," ads: ","</div>","optimizedHeight","ratio","Banner Ad","createSliderContainer","style","getDefaultHeight","onload","name","❌ Failed to load optimized banner image:","5AygKjN","appendChild","filter",", ratio=","1096734ICksJk","✅ Optimized banner image rendered for ad: ","naturalWidth","createElement","8px"];return(gt=function(){return t})()}function mt(t,e){const n=gt();return(mt=function(t,e){return n[t-=422]})(t,e)}!function(){const t=mt,e=gt();for(;;)try{if(674821===-parseInt(t(471))/1*(-parseInt(t(435))/2)+-parseInt(t(475))/3+-parseInt(t(432))/4*(parseInt(t(443))/5)+-parseInt(t(440))/6+-parseInt(t(503))/7*(parseInt(t(455))/8)+-parseInt(t(430))/9+parseInt(t(527))/10*(parseInt(t(424))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It extends ht{constructor(e=!1,n){super(t[mt(497)],e,n)}[ft(467)](){return ft(515)}async renderAdElement(t,e){const n=ft,s=document.getElementById(t[n(514)]);if(!s)return;const r=document[n(478)](n(512));r[n(450)]=n(483);const i=t[n(462)],o=s[n(436)]||s;if(i)r[n(466)][n(520)]=n(489),r.style[n(496)]=String(i);else{const e=t[n(482)],s={width:e?.[n(520)],height:e?.[n(496)]},{width:i,height:a}=this[n(492)](o,s,{debug:this.debug});r[n(466)][n(520)]=i,r[n(466)][n(496)]=a}e[n(452)]?await this[n(431)](r,e,t):r[n(525)]=n(451)+(e[n(446)]||n(464))+n(461),et[n(523)](r,e,t,()=>this[n(508)](),this[n(454)],"Banner"),s[n(525)]="",s[n(472)](r)}async renderMultipleAds(t,e){const n=ft,s=document[n(433)](t[n(514)]);if(!s)throw new Error(n(518)+t[n(514)]);await this[n(428)](t,e);const r=this[n(508)](),i={autoSlideInterval:(t.config?.[n(506)]||5e3)/1e3,...t.config,optimizedHeight:t[n(462)],aspectRatio:t[n(501)]},o=it[n(465)](t,e,i,r,this[n(454)]);o&&(s[n(525)]="",s[n(472)](o),this[n(454)]&&console[n(491)](n(521)+t.id+n(444)+e.length+n(522)+(t[n(462)]||n(502))+")"))}async[ft(456)](t,e){const n=ft;if(!t[n(499)])return{width:n(489),height:this[n(467)](),aspectRatio:16/9};try{const s=(await Promise[n(441)](t.filter(t=>t[n(452)])[n(504)](t=>this.loadImageDimensions(t.imageUrl))))[n(473)](t=>t[n(459)]===n(438))[n(504)](t=>t[n(505)]);if(0===s[n(499)])return{width:n(489),height:this.getDefaultHeight(),aspectRatio:16/9};const r=this.selectOptimalSizeStrategy(s),i=this.calculateOptimalHeight(s,e,r);return this[n(454)]&&console[n(491)](n(486)+e+"x"+i+n(426)+r+")"),{width:"100%",height:i+"px",aspectRatio:e/i}}catch(t){return console[n(458)]("Failed to calculate optimal banner size, using defaults:",t),{width:"100%",height:this[n(467)](),aspectRatio:16/9}}}async[ft(428)](t,e){const n=ft;try{const s=document[n(433)](t.containerId),r=document.getElementById(t.id);if(!s||!r)return;const i=s[n(493)]()[n(520)]||300,o=await this[n(456)](e,i);r[n(466)].height=o[n(496)],t[n(462)]=o[n(496)],t[n(501)]=o[n(501)],this.debug&&console[n(491)]("🔧 Banner container optimized for "+e[n(499)]+n(460)+o.height)}catch(t){console[n(458)]("Banner container optimization failed, using default size:",t)}}selectOptimalSizeStrategy(t){const e=ft,n=t[e(504)](t=>t[e(520)]/t[e(496)]),s=new Map;n[e(481)](t=>{const n=e,r=(Math[n(442)](10*t)/10)[n(487)]();s[n(526)](r,(s.get(r)||0)+1)});const r=Math.max(...s.values()),i=t.length;if(r/i>=.7)return e(528);const o=[16/9,4/3,1,1.5],a=n.filter(t=>o[e(517)](e=>Math.abs(t-e)<.1))[e(499)];return e(a/i>=.5?495:516)}[ft(423)](t,e,n){const s=ft,r=t.map(t=>t[s(520)]/t.height);switch(n){case s(528):{const t=new Map;r[s(481)](e=>{const n=s,r=Math[n(442)](10*e)/10,i=r[n(487)](),o=t.get(i);o?o[n(449)]++:t[n(526)](i,{ratio:r,count:1})});const n=Array[s(511)](t[s(524)]())[s(513)]((t,e)=>e[s(449)]>t[s(449)]?e:t);return Math[s(442)](e/n[s(463)])}case"common":{const t=[{ratio:16/9,name:s(484)},{ratio:4/3,name:s(453)},{ratio:1,name:s(494)},{ratio:1.5,name:"3:2"}],n=r.reduce((t,e)=>t+e,0)/r[s(499)],i=t[s(513)]((t,e)=>Math[s(457)](e[s(463)]-n)<Math[s(457)](t[s(463)]-n)?e:t);return this[s(454)]&&console[s(491)]("📊 Using standard ratio: "+i[s(469)]+s(439)+n[s(448)](2)+")"),Math.round(e/i[s(463)])}case s(516):default:{const t=r[s(513)]((t,e)=>t+e,0)/r[s(499)];return Math[s(442)](e/t)}}}[ft(500)](t){return new Promise((e,n)=>{const s=mt,r=new Image;r[s(468)]=()=>{const t=s;e({width:r[t(477)],height:r[t(422)]})},r.onerror=()=>{n(new Error("Failed to load image: "+t))},r[s(447)]=t})}[ft(485)](t,e,n){const s=ft,r=e/n;Math[s(457)](r-1)<.1?(t[s(466)][s(509)]=s(427),t[s(466)][s(437)]=s(488)):r>1.3?(t[s(466)].objectFit="contain",t.style[s(437)]=s(488),t[s(466)][s(519)]="#f0f0f0"):r<.7?(t.style[s(509)]=s(427),t[s(466)][s(437)]=s(488)):(t[s(466)].objectFit=s(427),t.style[s(437)]="center"),this[s(454)]&&console.log(s(434)+t[s(466)][s(509)]+s(474)+r[s(448)](2))}async[ft(431)](t,e,n){const s=ft,r=document.createElement(s(490));r.style[s(520)]=s(489),r[s(466)][s(496)]=s(489),r[s(466)][s(425)]="block",r[s(466)][s(445)]=s(479),r.alt=e.title||s(510),t[s(525)]=s(498);try{if(!e[s(452)])throw new Error(s(429));const i=await this[s(500)](e[s(452)]),o=t[s(493)](),a=o.width,c=o.height;this[s(454)]&&(console[s(491)]("📸 Banner image dimensions: "+i[s(520)]+"x"+i[s(496)]),console[s(491)]("📦 Banner container dimensions: "+a+"x"+c));const d=i.width/i[s(496)],l=a/c;return this[s(485)](r,d,l),r[s(447)]=e.imageUrl,t.innerHTML="",t[s(472)](r),et[s(523)](r,e,n,()=>this[s(508)](),this[s(454)],s(480)),this[s(454)]&&console[s(491)](s(476)+e[s(507)]),r}catch(i){return console.error(s(470),i),e[s(452)]&&(r[s(447)]=e[s(452)],r[s(466)][s(509)]=s(427),r[s(466)][s(437)]="center",t[s(525)]="",t[s(472)](r),et[s(523)](r,e,n,()=>this[s(508)](),this[s(454)],s(480))),r}}}const vt=bt;!function(){const t=bt,e=wt();for(;;)try{if(299581===-parseInt(t(353))/1+parseInt(t(352))/2+-parseInt(t(343))/3*(-parseInt(t(347))/4)+-parseInt(t(348))/5+-parseInt(t(345))/6+parseInt(t(341))/7*(parseInt(t(350))/8)+parseInt(t(349))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class yt{static[vt(340)](t=!1){return vt(342)}static[vt(351)](t,e){const n=vt,s=e[n(346)]||e[n(344)]||"";t[n(346)]=s}}function bt(t,e){const n=wt();return(bt=function(t,e){return n[t-=340]})(t,e)}function wt(){const t=["textContent","2220JxYpxS","1217730FBaCmv","4070997UfiXqQ","88xLbvaR","setTextAdContent","667440SlgUxO","13573vZicDt","createTextAdStyles","54411uBybIp","\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 ","735TFSyVS","title","2704986QactlG"];return(wt=function(){return t})()}const kt=xt;function Et(){const t=["14133jXXWjj","zIndex","505576IEvVBV","6294oMMDSh","513016GWnxgp","\n ",";\n width: 100%;\n ","height: auto; min-height: fit-content;","hidden","20px","touchend","addEventListener","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","style","auto","mouseleave","setAttribute","height: 100%;","className","includes","345753NRTOtq","translateY(0)","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","top","mouseenter","minHeight","adstage-fade-slide-container","\n position: ","clientX","body","opacity","addClickEventForSlider","fit-content","createTextTransitionContainer","clientY","width",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ",";\n transform: translateY(","touchstart","relative","height","170Wtgsbn","left","height: auto;","div","push","534CewMEU","adType","position","abs","createElement","setProperty","cssText","touchmove","removeChild","string","length","trackSlideViewable","adstage-fade-slide","18SZdofG","data-adstage-slot-id","3852BSNiDd","transform","appendChild","whiteSpace","data-adstage-ad-id","toLowerCase","adstage-ad adstage-","block","entries","_id","touches",";\n ","absolute","translateY(20px)",";\n top: ","1270vGVqif","addTouchSupport","translateY(-20px)","forEach","changedTouches","getBoundingClientRect","createSimpleAdElement","\n position: relative;\n width: 100%;\n "];return(Et=function(){return t})()}function xt(t,e){const n=Et();return(xt=function(t,e){return n[t-=429]})(t,e)}!function(){const t=xt,e=Et();for(;;)try{if(100945===parseInt(t(501))/1*(parseInt(t(445))/2)+-parseInt(t(462))/3+parseInt(t(446))/4+parseInt(t(434))/5*(-parseInt(t(488))/6)+-parseInt(t(442))/7+parseInt(t(444))/8+parseInt(t(503))/9*(-parseInt(t(483))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St{static[kt(440)](t,e){const n=kt,s=document[n(492)](n(486));return s[n(460)]=n(509)+String(t[n(489)])[n(508)](),s[n(458)](n(507),e[n(512)]),s[n(458)](n(502),t.id),s[n(455)][n(494)]=yt.createTextAdStyles(!0),yt.setTextAdContent(s,e),s}static[kt(475)](t,e,n,s,r=!1){const i=kt,o=t[i(482)]&&0!==t[i(482)]&&t[i(482)]!==i(456),a=document[i(492)](i(486));a.className="adstage-fade-slider-wrapper";const c={position:"relative",overflow:i(450),display:i(510)};if(!o&&(c.height=i(456),c[i(467)]=i(474)),t[i(477)]&&0!==t.width){let e;e=typeof t[i(477)]===i(497)?t.width[i(461)]("px")||t[i(477)][i(461)]("%")?t.width:t[i(477)]+"px":t.width+"px",c[i(477)]=e}if(t[i(482)]&&0!==t.height&&t[i(482)]!==i(456)&&o){let e;e="string"==typeof t[i(482)]?t.height.includes("px")||t[i(482)][i(461)]("%")?t[i(482)]:t[i(482)]+"px":t.height+"px",c[i(482)]=e}Object[i(511)](c)[i(437)](([t,e])=>{const n=i;a[n(455)][n(493)](t,e)});const d=document[i(492)](i(486));d[i(460)]=i(468),d[i(455)][i(494)]=i(441)+i(o?459:449)+i(447);let l=null;const u=!t[i(477)]||0===t[i(477)],p=!t[i(482)]||0===t[i(482)]||void 0===t.height||"auto"===t[i(482)];if(u||p&&o){if(l=document.createElement(i(486)),l[i(455)][i(494)]=i(454),!u&&t[i(477)]){let e;e=typeof t.width===i(497)&&(t[i(477)][i(461)]("px")||t[i(477)][i(461)]("%"))?t[i(477)]:t[i(477)]+"px",l.style.width=e,l[i(455)][i(506)]="normal"}document[i(471)][i(505)](l);let n=0,s=0;e[i(437)](e=>{const r=i,o=this[r(440)](t,e);l[r(505)](o);const a=o[r(439)]();a[r(477)]>n&&(n=a.width),a[r(482)]>s&&(s=a[r(482)]),l.removeChild(o)}),u&&n>0&&(a.style[i(477)]=n+"px"),p&&s>0&&o&&(a[i(455)].height=s+"px"),document[i(471)][i(496)](l)}const h=[];e[i(437)]((e,n)=>{const a=i,c=document[a(492)](a(486));c.className=a(500);const l=0===n,u=o?a(431):l?a(481):"absolute";c[a(455)][a(494)]=a(469)+u+a(433)+(u===a(431)?"0":"auto")+";\n left: "+(u===a(431)?"0":a(456))+a(448)+a(o?459:485)+a(464)+(0===n?"1":"0")+a(479)+(0===n?"0":a(451))+a(478)+(0===n?"2":"1")+a(430);const p=this[a(440)](t,e);et[a(473)](p,e,t,s,r,"Text"),c[a(505)](p),d[a(505)](c),h[a(487)](c)});let f=0;const g=e[i(498)],m=1e3*(n?.autoSlideInterval||4),I=n=>{const a=i;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(455)].position===a(481)&&(c[a(455)][a(490)]="absolute",c[a(455)][a(465)]="0",c[a(455)][a(484)]="0"),d[a(455)][a(490)]=a(481),d[a(455)].top=a(456),d[a(455)].left=a(456)),c[a(455)][a(472)]="0",c[a(455)][a(504)]=a(436),c.style.zIndex="1",d.style[a(472)]="1",d.style[a(504)]=a(463),d[a(455)][a(443)]="2",h[a(437)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(455)][s(472)]="0",t[s(455)][s(504)]=s(432),t.style[s(443)]="1",!o&&t.style.position===s(481)&&(t.style[s(490)]=s(431),t[s(455)][s(465)]="0",t[s(455)][s(484)]="0"))}),f=n,Z[a(499)](e[f],t,f,s,r)};let v=setInterval(()=>{I(f+1)},m);return a[i(453)](i(466),()=>{clearInterval(v)}),a.addEventListener(i(457),()=>{v=setInterval(()=>{I(f+1)},m)}),St.addTouchSupport(a,I,()=>f,g),a[i(505)](d),a}static[kt(435)](t,e,n,s){const r=kt;let i=0,o=0,a=!1;t.addEventListener(r(480),t=>{const e=r;i=t[e(429)][0][e(470)],o=t[e(429)][0].clientY,a=!0}),t.addEventListener(r(495),t=>{a&&t.preventDefault()}),t[r(453)](r(452),t=>{const s=r;if(!a)return;a=!1;const c=t[s(438)][0].clientX,d=t[s(438)][0][s(476)],l=i-c,u=o-d;if(Math[s(491)](l)>Math[s(491)](u)&&Math[s(491)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const At=Tt;function Ct(){const t=["setTextAdContent","cssText","vertical","100%","_id","renderMultipleAds","✨ Single text ad rendered: ","style","createEventTrackingCallback","width","div","className","10vEeBen","18qPVgrp"," ads","parentElement","42495dsMkRm","length","2407115PmDCqv","aspectRatio","Text","532RsVfnt","appendChild","hidden","height","innerHTML","debug","60px","139112VVIEAd","createTextTransitionContainer","addClickEventForRenderer","2093205qKFJdl","4513148QMAaMZ","adstage-ad adstage-text-ad","containerId","getDefaultHeight","5363559PJdrtL","createElement","optimizedHeight","TEXT","getElementById","createTextAdStyles","log","config","display","7827250rMPMZC"," with "];return(Ct=function(){return t})()}function Tt(t,e){const n=Ct();return(Tt=function(t,e){return n[t-=350]})(t,e)}!function(){const t=Tt,e=Ct();for(;;)try{if(952506===-parseInt(t(356))/1*(-parseInt(t(352))/2)+-parseInt(t(371))/3+parseInt(t(372))/4+parseInt(t(358))/5*(parseInt(t(353))/6)+-parseInt(t(361))/7*(parseInt(t(368))/8)+-parseInt(t(376))/9+parseInt(t(385))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Pt extends ht{constructor(e=!1,n){super(t[Tt(379)],e,n)}[At(375)](){return At(367)}async renderAdElement(t,e){const n=At,s=document[n(380)](t[n(374)]);if(!s)return;const r=document[n(377)]("div");r[n(351)]=n(373);const i=t[n(378)],o=s[n(355)]||s;if(i)r.style[n(396)]=n(390),r[n(394)][n(364)]=String(i);else{const e=t[n(383)],s={width:e?.width,height:e?.[n(364)]},{width:i,height:a}=this.calculateAdSize(o,s,{debug:this[n(366)]});r[n(394)][n(396)]=i,r[n(394)][n(364)]=a}const a=document[n(377)](n(350));a[n(351)]="adstage-text-content",a[n(394)][n(388)]=yt[n(381)](!1),yt[n(387)](a,e);const c=t.config?.maxLines;c&&"number"==typeof c&&(a[n(394)][n(384)]="-webkit-box",a[n(394)].webkitLineClamp=String(c),a[n(394)].webkitBoxOrient=n(389),a[n(394)].overflow=n(363)),r[n(362)](a),et[n(370)](r,e,t,()=>this[n(395)](),this.debug,n(360)),s[n(365)]="",s[n(362)](r),this.debug&&console[n(382)](n(393)+e[n(391)])}async[At(392)](t,e){const n=At,s=document[n(380)](t[n(374)]);if(!s)throw new Error("Container not found: "+t[n(374)]);const r=this.createEventTrackingCallback(),i={autoSlideInterval:(t[n(383)]?.slideInterval||5e3)/1e3,...t.config,optimizedHeight:t[n(378)],aspectRatio:t[n(359)]},o=St[n(369)](t,e,i,r,this[n(366)]);o&&(s[n(365)]="",s[n(362)](o),this.debug&&console.log("✨ Text transition created for slot: "+t.id+n(386)+e[n(357)]+n(354)))}}const Rt=Dt;function Dt(t,e){const n=_t();return(Dt=function(t,e){return n[t-=446]})(t,e)}function _t(){const t=["580592zxqASN"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","🎬 Video metadata loaded, attempting autoplay...","videoUrl","className","2367468urURvG",'\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 ',"imageUrl","Container not found: ","width","stopPropagation","unmuted","hideCurrentTime","Video load failed:","background","_id","🎬 Initial autoplay attempt after timeout...","\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 ","textContent","renderVideoElementDirect","hideMuteButton","5agQHFj","scale(1.1)","innerHTML","hideRemainingTime","loadedmetadata","div"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","debug","preload","adstage-video-container","Click to mute","🎬 Video data loaded, attempting autoplay...","🎬 Video config received:","getDefaultHeight","Video fallback","contain","24VRxPMl","disabled (default)","muted","hideProgressBar","422538wgjvQb","playsinline","adstage-video-default-controls","none","122YqfEMI","Video thumbnail","addEventListener","\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 "," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","\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 ","mouseleave","🎬 Trying muted autoplay fallback...","getElementById","🎬 Single video rendered for VIDEO slot: ","hideFullscreenButton","hideVolumeSlider","Video","position","img","hideControls","VIDEO","hidePlayButton","head","customControls","height","Click to unmute","alt","config","🎬 Single video ad rendered: ","mouseenter","🔊 Video mute toggled: ","error","display","click","addClickEventForRenderer","controls","adstage-video-mute-button","35pfdOag","length",", muted: ","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 ","video","30yustBB","createEventTrackingCallback","loop","style","appendChild","⚠️ No video advertisements available for slot: "," (autoplay: ","🎬 Video can play, attempting autoplay...","renderMultipleAds","scale(1)","warn","enabled","8KmaNnI","catch","src"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","rgba(0, 0, 0, 0.9)","cssText","7846KdJuDu","play","objectFit","360px","🎬 Video element created for ad: ","log","7249736amopHw","100%","loadeddata","containerId","9649827UIlLOp","metadata","block","387693BuqzPE","createElement","VIEWABLE","canplay","title"];return(_t=function(){return t})()}!function(){const t=Dt,e=_t();for(;;)try{if(623372===-parseInt(t(469))/1*(parseInt(t(532))/2)+parseInt(t(482))/3*(parseInt(t(463))/4)+-parseInt(t(508))/5*(parseInt(t(528))/6)+-parseInt(t(565))/7*(-parseInt(t(487))/8)+parseInt(t(492))/9*(parseInt(t(451))/10)+parseInt(t(479))/11+parseInt(t(524))/12*(-parseInt(t(475))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Lt extends ht{constructor(e=!1,n){super(t[Dt(548)],e,n)}[Rt(521)](){return Rt(472)}async renderAdElement(t,e){const n=Rt,s=document[n(540)](t.containerId);if(!s)return;const r=document[n(483)](n(513));r.className=n(517),r[n(454)].cssText=n(449),this[n(506)](r,e,t),s.innerHTML="",s[n(455)](r),this[n(515)]&&console[n(474)](n(556)+e[n(502)])}async[Rt(459)](t,e){const n=Rt,s=document.getElementById(t.containerId);if(!s)throw new Error(n(495)+t[n(478)]);if(e[n(446)]>0){const r=e[0],i=document[n(483)]("div");i[n(491)]=n(517),i[n(454)][n(468)]=n(535),this[n(506)](i,r,t),s.innerHTML="",s[n(455)](i);const a=this[n(452)]();setTimeout(()=>{const e=n;a(r._id,t.id,o[e(484)])},100),this.debug&&console[n(474)](n(541)+t.id+" ("+r._id+")")}else this[n(515)]&&console[n(461)](n(456)+t.id)}[Rt(506)](t,e,n){const s=Rt;t[s(454)][s(545)]="relative";const r=document[s(483)](s(450));r[s(454)].width=s(476),r[s(454)][s(552)]=s(476),r[s(454)].objectFit=s(523),r[s(516)]=s(480);const i=n[s(555)];if(this[s(515)]&&console[s(474)](s(520),i),r[s(563)]=!1,r[s(448)]=!1!==i?.autoplay,r[s(526)]=!0,r[s(453)]=!1!==i?.loop,this[s(515)]&&console[s(474)]("🎬 Final video settings:",{autoplay:r[s(448)],muted:r.muted,loop:r.loop,controls:r.controls}),!1!==i?.[s(529)]&&r.setAttribute(s(529),""),!0===i?.[s(563)]&&(r[s(563)]=!0,this[s(515)]&&console.log("🎬 User explicitly enabled controls, overriding default")),i?.[s(547)])r[s(563)]=!1,r[s(454)][s(468)]+="\n pointer-events: none;\n ";else if(i?.[s(551)]){if(r[s(563)]){const t=document[s(483)](s(454));t[s(505)]="\n video::-webkit-media-controls-play-button {\n display: "+(i[s(551)][s(549)]?s(531):"block")+s(466)+(i[s(551)][s(527)]?s(531):"block")+s(488)+(i[s(551)][s(499)]?s(531):s(481))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(i[s(551)][s(511)]?s(531):s(481))+s(514)+(i.customControls[s(543)]?"none":s(481))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(i[s(551)][s(507)]?s(531):s(481))+s(536)+(i[s(551)][s(542)]?"none":s(481))+" !important;\n }\n ",document[s(550)][s(455)](t)}}else if(r[s(563)]){const t=document[s(483)]("style");t.id=s(530),t[s(505)]=s(504),!document[s(540)](s(530))&&document[s(550)][s(455)](t)}this[s(515)]&&console[s(474)]("🎬 Video controls setting:",r[s(563)]?s(462):s(525));const o=document.createElement("button");o[s(491)]=s(564),o[s(454)][s(468)]=s(537),i?.[s(547)]&&(o[s(454)][s(560)]=s(531));const a=()=>{const t=s,e=t(493);o[t(510)]=r[t(526)]?'\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(486)]=r.muted?t(553):t(518)};if(a(),o[s(534)](s(561),t=>{const e=s;t[e(497)](),r.muted=!r[e(526)],a(),this[e(515)]&&console[e(474)](e(558)+(r[e(526)]?e(526):e(498)))}),o[s(534)](s(557),()=>{const t=s;o[t(454)][t(501)]=t(467),o[t(454)].transform=t(509)}),o.addEventListener(s(538),()=>{const t=s;o.style[t(501)]="rgba(0, 0, 0, 0.7)",o[t(454)].transform=t(460)}),e[s(490)]){r[s(465)]=e.videoUrl;const t=()=>{const t=s;r.autoplay&&r[t(526)]&&r.paused&&r.play()[t(464)](e=>{const n=t;this.debug&&(console.warn("🎬 Auto-play was prevented:",e),console[n(461)](n(539))),r[n(526)]=!0,r[n(470)]().catch(t=>{const e=n;this.debug&&console[e(559)]("🎬 Autoplay completely failed:",t)})})};r[s(534)](s(512),()=>{const e=s;this[e(515)]&&console[e(474)](e(489)),t()}),r[s(534)](s(485),()=>{const e=s;this[e(515)]&&console[e(474)](e(458)),t()}),r[s(534)](s(477),()=>{const e=s;this.debug&&console.log(e(519)),t()}),setTimeout(()=>{const e=s;this[e(515)]&&console[e(474)](e(503)),t()},100)}else if(e[s(494)]){const n=document[s(483)](s(546));return n[s(465)]=e[s(494)],n.style[s(496)]=s(476),n.style[s(552)]="100%",n[s(454)][s(471)]=s(523),n[s(554)]=e.title||s(533),void t[s(455)](n)}et[s(562)](r,e,n,()=>this[s(452)](),this.debug,s(544)),r[s(534)](s(559),r=>{const i=s;if(console.error(i(500),r),e.imageUrl){const s=document[i(483)](i(546));s.src=e[i(494)],s[i(454)][i(496)]=i(476),s[i(454)][i(552)]=i(476),s[i(454)][i(471)]="contain",s.alt=e.title||i(533),et[i(562)](s,e,n,()=>this[i(452)](),this.debug,i(522)),t[i(510)]="",t[i(455)](s)}}),t[s(455)](r),t[s(455)](o),this.debug&&console[s(474)](s(473)+e[s(502)]+s(457)+r.autoplay+s(447)+r[s(526)]+", loop: "+r[s(453)]+")")}}const Ut=Bt;function Mt(){const t=["⚠️ No native advertisements available for slot: ","src","linkUrl","title","innerHTML","_blank","mouseleave","button","createElement","addEventListener","\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 ","textContent","getDefaultHeight","style","Native click tracked for ad: ","debug","🏠 Single native ad rendered: ","1118448EfGZIE","getElementById","backgroundColor","1320347VGLEHK","\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 ","1552320FsHqIQ","length","alt","click","Learn More","log","#2563eb","imageUrl","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","adstage-ad adstage-native-ad","31806PmXBpm","img","_id","Native Advertisement","4DNZeFy","20SHfDhn","8410yJuYYY","renderAdElement","1552lQFYky","1628zztikA","465ZGDEDN","cssText","149069ETeqif","div","containerId","mouseenter","appendChild","#3b82f6","🏠 Native ad rendered (first of ","open","className"];return(Mt=function(){return t})()}function Bt(t,e){const n=Mt();return(Bt=function(t,e){return n[t-=431]})(t,e)}!function(){const t=Bt,e=Mt();for(;;)try{if(203153===-parseInt(t(458))/1*(-parseInt(t(450))/2)+-parseInt(t(456))/3*(-parseInt(t(454))/4)+parseInt(t(451))/5*(-parseInt(t(446))/6)+-parseInt(t(434))/7+-parseInt(t(436))/8+parseInt(t(431))/9+parseInt(t(452))/10*(parseInt(t(455))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class zt extends ht{constructor(e=!1,n){super(t.NATIVE,e,n)}[Ut(479)](){return"200px"}async renderAdElement(t,e){const n=Ut,s=document[n(432)](t[n(460)]);if(!s)return;const r=document[n(475)](n(459));if(r[n(466)]=n(445),r.style[n(457)]=n(435),e[n(470)]){const t=document.createElement("h3");t.textContent=e.title,t[n(480)].cssText=n(444),r[n(462)](t)}if(e[n(478)]){const t=document[n(475)]("p");t[n(478)]=e[n(478)],t[n(480)].cssText="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",r[n(462)](t)}if(e[n(443)]){const t=document[n(475)](n(459));t.style[n(457)]="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const s=document.createElement(n(447));s[n(468)]=e[n(443)],s[n(438)]=e[n(470)]||n(449),s[n(480)][n(457)]="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t[n(462)](s),r[n(462)](t)}if(e[n(469)]){const t=document[n(475)](n(474));t.textContent=n(440),t[n(480)][n(457)]=n(477),t[n(476)](n(439),()=>{const t=n;this.advertisementEventTracker&&console.log(t(481)+e[t(448)]),window[t(465)](e[t(469)],t(472))}),t.addEventListener(n(461),()=>{const e=n;t[e(480)][e(433)]=e(442)}),t[n(476)](n(473),()=>{const e=n;t.style[e(433)]=e(463)}),r[n(462)](t)}s[n(471)]="",s.appendChild(r),this[n(482)]&&console[n(441)](n(483)+e[n(448)])}async renderMultipleAds(t,e){const n=Ut;e[n(437)]>0?(await this[n(453)](t,e[0]),this[n(482)]&&console[n(441)](n(464)+e[n(437)]+"): "+t.id)):this[n(482)]&&console.warn(n(467)+t.id)}}function Ft(){const t=["\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 ","mouseleave","linkUrl","getElementById","animation","adstage-interstitial-content","src","944815WvHypD","45311Mfeoqm","🖼️ Interstitial ad rendered (first of ","56AFMjvB","title","#f3f4f6","appendChild","removeEventListener","adstage-interstitial-overlay","getDefaultHeight","): ","200432qJbHcu","9972PVkeyN","🖼️ Interstitial ad closed","fadeOut 0.3s ease-out forwards","\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 ","div","\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 ","warn","6hAaZQJ","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","keydown","3094lPlnAw","backgroundColor","head","#6b7280","target","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","className","button","🖼️ Interstitial ad rendered: ","Interstitial Advertisement","log","#3b82f6","1988294MTDRFp","debug","6wYSbmZ","renderMultipleAds","#e5e7eb","click","containerId","cssText","removeChild","body","INTERSTITIAL","261xWgeMI","textContent","456597YmtSyX","key","_id","mouseenter","addEventListener","\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 margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","renderAdElement","closeInterstitial","#374151","parentNode","advertisementEventTracker","13956UXpXEX","open","length","createElement","⚠️ No interstitial advertisements available for slot: ","10uMosFR","Interstitial click tracked for ad: ","imageUrl","Escape","style"];return(Ft=function(){return t})()}const Nt=Ot;function Ot(t,e){const n=Ft();return(Ot=function(t,e){return n[t-=152]})(t,e)}!function(){const t=Ot,e=Ft();for(;;)try{if(110202===parseInt(t(222))/1*(parseInt(t(181))/2)+-parseInt(t(190))/3*(-parseInt(t(157))/4)+parseInt(t(221))/5*(-parseInt(t(164))/6)+-parseInt(t(224))/7*(parseInt(t(156))/8)+parseInt(t(192))/9+-parseInt(t(209))/10*(parseInt(t(179))/11)+parseInt(t(204))/12*(parseInt(t(167))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Vt extends ht{constructor(e=!1,n){super(t[Ot(189)],e,n)}[Nt(154)](){return"400px"}async[Nt(199)](t,e){const n=Nt;if(!document[n(217)](t[n(185)]))return;const s=document[n(207)](n(161));s[n(173)]=n(153),s[n(213)][n(186)]="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const r=document[n(207)](n(161));r[n(173)]=n(219),r[n(213)].cssText=n(160);const i=document.createElement(n(174));if(i.innerHTML="×",i[n(213)][n(186)]=n(197),i[n(196)](n(184),()=>{this[n(200)](s)}),i.addEventListener("mouseenter",()=>{const t=n;i[t(213)][t(168)]=t(183),i.style.color=t(201)}),i[n(196)](n(215),()=>{const t=n;i.style[t(168)]=t(226),i[t(213)].color=t(170)}),e[n(211)]){const t=document[n(207)]("img");t[n(220)]=e[n(211)],t.alt=e.title||n(176),t[n(213)][n(186)]=n(172),r[n(227)](t)}if(e[n(225)]){const t=document[n(207)]("h2");t.textContent=e[n(225)],t[n(213)].cssText=n(165),r[n(227)](t)}if(e[n(191)]){const t=document.createElement("p");t[n(191)]=e[n(191)],t[n(213)][n(186)]=n(198),r[n(227)](t)}if(e[n(216)]){const t=document[n(207)]("button");t[n(191)]="Get Started",t[n(213)][n(186)]=n(214),t[n(196)](n(184),()=>{const t=n;this[t(203)]&&console[t(177)](t(210)+e[t(194)]),window[t(205)](e[t(216)],"_blank"),this.closeInterstitial(s)}),t[n(196)](n(195),()=>{const e=n;t[e(213)][e(168)]="#2563eb"}),t[n(196)]("mouseleave",()=>{const e=n;t.style.backgroundColor=e(178)}),r[n(227)](t)}const o=t=>{const e=n;t[e(193)]===e(212)&&(this.closeInterstitial(s),document[e(152)](e(166),o))};if(document[n(196)](n(166),o),s[n(196)](n(184),t=>{t[n(171)]===s&&this.closeInterstitial(s)}),!document[n(217)]("adstage-interstitial-styles")){const t=document[n(207)](n(213));t.id="adstage-interstitial-styles",t[n(191)]=n(162),document[n(169)].appendChild(t)}r[n(227)](i),s[n(227)](r),document[n(188)][n(227)](s),this.debug&&console[n(177)](n(175)+e[n(194)])}async[Nt(182)](t,e){const n=Nt;e[n(206)]>0?(await this[n(199)](t,e[0]),this[n(180)]&&console[n(177)](n(223)+e[n(206)]+n(155)+t.id)):this.debug&&console[n(163)](n(208)+t.id)}[Nt(200)](t){const e=Nt;t[e(213)][e(218)]=e(159),setTimeout(()=>{const n=e;t[n(202)]&&t[n(202)][n(187)](t)},300),this[e(180)]&&console[e(177)](e(158))}}const Ht=jt;function Kt(){const t=["advertisementEventTracker","createElement","width","advertisement","height","INTERSTITIAL","calculateOptimalContainerSize","renderOptimizedBannerImage","div","45966ljLoQJ","608lsNBEg","19224tWLTHv","12982490bmVEaX"," renderers","onload","456210Bqsuaf","getDefaultHeight","361392WDBHRa","cover","renderAdElement","padding","textContent","setAttribute","100%","renderFallback","32dVOkZA","loadImageDimensions","block","set","BANNER","size","initializeRenderers","calculateAdSize","border","renderAd","imageUrl","renderers","isLoaded","appendChild","videoUrl"," Ad","_id","className","optimizeContainerForBannerAds","53074ssKIKN","getRenderer","8px","#f9f9f9","NATIVE","Failed to load image: ","1px dashed #ccc","data-adstage-slot-id","8269NHZKuM","renderMultipleAds","createPlaceholder","362FbadeM","style","naturalWidth","755VDguwB","get","src","getDefaultHeightForAdType","img","TEXT","warn","createAdElement","No advertisement to render","debug","log","adType","renderOptimizedBannerImage is only supported for BANNER ads","🏭 AdRenderer factory initialized with ","No renderer found for ad type: ","VIDEO","8481jMKIKs","toLowerCase"];return(Kt=function(){return t})()}function jt(t,e){const n=Kt();return(jt=function(t,e){return n[t-=168]})(t,e)}!function(){const t=jt,e=Kt();for(;;)try{if(841155===-parseInt(t(187))/1*(-parseInt(t(190))/2)+parseInt(t(228))/3*(parseInt(t(236))/4)+-parseInt(t(193))/5*(parseInt(t(220))/6)+parseInt(t(179))/7*(-parseInt(t(221))/8)+parseInt(t(226))/9+parseInt(t(223))/10+-parseInt(t(209))/11*(parseInt(t(222))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Wt{constructor(t=!1,e){const n=jt;this.renderers=new Map,this[n(202)]=t,this.advertisementEventTracker=e||null,this.initializeRenderers()}[Ht(242)](){const e=Ht;this.renderers.set(t[e(240)],new It(this.debug,this[e(211)])),this.renderers.set(t[e(198)],new Pt(this[e(202)],this[e(211)])),this.renderers.set(t[e(208)],new Lt(this.debug,this[e(211)])),this[e(171)][e(239)](t[e(183)],new zt(this.debug,this[e(211)])),this[e(171)].set(t[e(216)],new Vt(this[e(202)],this[e(211)])),this.debug&&console[e(203)](e(206)+this.renderers[e(241)]+e(224))}[Ht(200)](e,n){const s=Ht,r=this[s(180)](e[s(204)]),i=document[s(212)](s(219));i[s(177)]="adstage-ad adstage-"+String(e[s(204)])[s(210)](),i[s(233)]("data-adstage-ad-id",n[s(176)]),i.setAttribute(s(186),e.id);const{width:o,height:a}=r[s(243)](i,e.config||{},n);switch(i[s(191)][s(213)]=o,i[s(191)][s(215)]=a,i.style.display=s(238),e.adType){case t[s(240)]:if(n.imageUrl){const t=document[s(212)](s(197));t[s(195)]=n[s(170)],t[s(191)][s(213)]="100%",t[s(191)].height=s(234),t[s(191)].objectFit=s(229),i[s(173)](t)}break;case t[s(208)]:if(n[s(174)]){const t=document[s(212)]("video");t[s(195)]=n.videoUrl,t.style[s(213)]="100%",t.style[s(215)]=s(234),i[s(173)](t)}break;case t[s(198)]:if(n[s(232)]){const t=document[s(212)]("div");t.textContent=n[s(232)]||"",t.style[s(231)]=s(181),i.appendChild(t)}break;default:i[s(191)][s(168)]=s(185),i.style.backgroundColor=s(182),i.textContent=e.adType+s(175)}return i}[Ht(180)](t){const e=Ht,n=this[e(171)][e(194)](t);if(!n)throw new Error(e(207)+t);return n}[Ht(189)](t,e,n,s,r){this[Ht(180)](n).createPlaceholder(t,e,s,r)}async[Ht(178)](e,n){const s=Ht;if(e[s(204)]!==t.BANNER)return void(this[s(202)]&&console[s(199)]("⚠️ Container optimization is only supported for BANNER ads, got: "+e[s(204)]));const r=this.getRenderer(t[s(240)]);await r[s(178)](e,n)}async renderAdSlider(t,e){const n=Ht,s=this[n(180)](t[n(204)]);await s[n(188)](t,e)}async[Ht(169)](t){const e=Ht;if(!t.advertisement)throw new Error(e(201));const n=this[e(180)](t.adType);await n[e(230)](t,t[e(214)]),t[e(172)]=!0}async renderAdElement(t,e){const n=Ht,s=this[n(180)](t[n(204)]);await s[n(230)](t,e)}[Ht(235)](t){const e=Ht;this[e(180)](t[e(204)])[e(235)](t)}[Ht(196)](t){const e=Ht;return this[e(180)](t)[e(227)]()}[Ht(243)](t,e,n,s){return this[Ht(180)](e).calculateAdSize(t,n,s)}[Ht(237)](t){return new Promise((e,n)=>{const s=jt,r=new Image;r[s(225)]=()=>{e({width:r[s(192)],height:r.naturalHeight})},r.onerror=()=>{n(new Error(s(184)+t))},r[s(195)]=t})}async renderOptimizedBannerImage(e,n,s){const r=Ht;if(s[r(204)]!==t.BANNER)throw new Error(r(205));const i=this[r(180)](t[r(240)]);return await i[r(218)](e,n,s)}async[Ht(217)](e,n,s){const r=Ht;if(s!==t[r(240)]){const t=this[r(180)](s);return{width:r(234),height:t[r(227)](),aspectRatio:16/9}}const i=this[r(180)](t[r(240)]);return await i.calculateOptimalContainerSize(e,n)}[Ht(203)](t,...e){this[Ht(202)]&&console.log("[AdRenderer] "+t,...e)}}const Gt=Yt;function Yt(t,e){const n=qt();return(Yt=function(t,e){return n[t-=394]})(t,e)}function qt(){const t=["4375458KWkBup","adType","3HpjCSy","18PLadGf","controls","banner","loadAdContentInBackground","forEach","289198JtYgee","302050NxDnqb","innerHTML","✅ Simple viewable impression tracked for ad ","_config","then","optimizeContainerForBannerAds","153TVRjdV","adId","interstitial","json","querySelectorAll","muted","setAttribute","getSlotById","100%","auto","toString","language","34504UbaMjI","deviceType","slots","status","92568LLabtf","createAd","Auto-cleanup failed for slot ","autoplay","Failed to refresh ad slot: ","🔍 Ad slot already cleaned up: ","onClick","API key not configured","❌ Failed to find element for viewability tracking: ","VIEWABLE","default","data-adstage-slot-id","trackAdvertisementEvent","width","🗑️ Ad slot destroyed: ","height","fetchAdData","apiKey","renderAdElement"," removed","🚫 Advertisement not found with ID: ","get","Failed to fetch ad data: ","✅ Ad loaded for slot: ","create","getAllSlots","handleRemovedElement","native","maxLines","destroy","warn","config","advertisements","_isReady","auto-","ensureReady"," ads automatically","getElementById","detail","NATIVE","style","📊 Fetched specific ad with ID: ","loop","now","New advertisement viewable tracked for slot:","getConfig","Container not found: ","getAttribute","random","set","createAdWithRetry","undefined","log","1275955UQHotU","length","광고 생성 중 오류 발생:","playsinline","autoDestroy","from","advertisement","autoSlide","ms... (attempt ","error","viewabilityTracker"," (attempt ","removedNodes","getBaseUrl","🔄 Ad slot refreshed: ","mutationObserver","isLoaded"," ads for type: ","420790LHCxnm","Container not found after ","VIDEO","append",". Retrying in ","init","renderAd","🎠 Slider will handle VIEWABLE events for ","delete","advertisementEventTracker",", filters:"," ads)","slideInterval","list","🎯 Ads module initialized (sync mode) with auto-cleanup","adRenderer","disconnect","debug","createAdInternal","refreshAdSlot","country","🔄 Retrying viewability tracking for slot: ","customControls","Ad slot not found: ","TEXT","handleViewableEvent","setupAutoCleanup","❌ Failed to load ad for slot: ","🧹 Auto-cleanup: slot ","clear","values","❌ Failed to track viewable impression:","🔍 Auto-cleanup MutationObserver enabled"];return(qt=function(){return t})()}!function(){const t=Yt,e=qt();for(;;)try{if(566392===-parseInt(t(415))/1*(-parseInt(t(515))/2)+-parseInt(t(428))/3*(-parseInt(t(440))/4)+parseInt(t(497))/5+-parseInt(t(413))/6+parseInt(t(421))/7+-parseInt(t(444))/8+-parseInt(t(416))/9*(parseInt(t(422))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt{constructor(){const t=Yt;this[t(477)]=!1,this._config=null,this[t(442)]=new Map,this[t(524)]=null,this[t(395)]=null,this[t(512)]=null}[Gt(520)](t){const e=Gt;this[e(425)]=t,this[e(524)]=new B(G[e(510)](),t[e(461)],t[e(397)]||!1,this[e(442)]),this[e(395)]=new Wt(t[e(397)]||!1,this[e(524)]),this.setupAutoCleanup(),this[e(477)]=!0,t[e(397)]&&console.log(e(394))}isReady(){return this._isReady}[Gt(489)](){return this._config}[Gt(418)](e,n){const s=Gt;this.ensureReady();const r={width:n?.[s(457)]||s(436),height:n?.[s(459)]||s(437),autoSlide:n?.[s(504)]||!1,slideInterval:n?.[s(527)]||5e3,onClick:n?.onClick,adId:n?.[s(429)],language:n?.[s(439)],deviceType:n?.deviceType,country:n?.[s(400)]};return this[s(445)](e,t.BANNER,r)}text(e,n){const s=Gt;this.ensureReady();const r={maxLines:n?.[s(472)]||3,style:n?.[s(484)]||s(454),onClick:n?.onClick,adId:n?.[s(429)],language:n?.[s(439)],deviceType:n?.deviceType,country:n?.country};return this.createAd(e,t[s(404)],r)}video(e,n){const s=Gt;this.ensureReady();const r={width:n?.[s(457)]||640,height:n?.[s(459)]||360,autoplay:void 0===n?.[s(447)]||n[s(447)],muted:void 0===n?.[s(433)]||n[s(433)],loop:void 0===n?.[s(486)]||n[s(486)],playsinline:!1!==n?.[s(500)],controls:void 0!==n?.[s(417)]&&n.controls,hideControls:n?.hideControls||!1,customControls:n?.[s(402)],autoSlide:!1,maxAds:1,onClick:n?.[s(450)],...n?.[s(429)]&&{adId:n[s(429)]}};return this[s(445)](e,t[s(517)],r)}[Gt(471)](e,n){const s=Gt;return this[s(479)](),this[s(445)](e,t[s(483)],n||{})}[Gt(430)](e,n){return this[Gt(479)](),this.createAd(e,t.INTERSTITIAL,n||{})}refresh(t){const e=Gt;this[e(479)]();const n=this[e(442)][e(465)](t);if(!n)throw new Error(e(403)+t);this[e(399)](n),this[e(425)]?.[e(397)]&&console[e(496)](e(511)+t)}destroy(t){const e=Gt;this.ensureReady();const n=this[e(442)][e(465)](t);if(!n)return void(this._config?.[e(397)]&&console[e(496)](e(449)+t));n[e(507)]&&n[e(507)].destroy();const s=document[e(481)](n.containerId);s&&(s[e(423)]=""),this[e(442)][e(523)](t),this[e(425)]?.[e(397)]&&console[e(496)](e(458)+t)}[Gt(469)](){const t=Gt;return this[t(479)](),Array[t(502)](this[t(442)][t(410)]())}[Gt(435)](t){const e=Gt;return this[e(479)](),this[e(442)][e(465)](t)||null}createAd(t,e,n){const s=Gt;if(!this[s(425)]?.[s(461)])throw new Error(s(451));const r="adstage-"+e+"-"+Date[s(487)]()+"-"+Math[s(492)]()[s(438)](36).substr(2,9);return this.createAdWithRetry(t,e,n,r,0),r}async[Gt(494)](t,e,n,s,r){const i=Gt,o=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[i(481)](t),!c)return r<4?(this[i(425)]?.[i(397)]&&console[i(474)](i(490)+t+i(519)+o[r+1]+i(505)+(r+1)+"/5)"),void setTimeout(()=>{this[i(494)](t,e,n,s,r+1)},o[r+1])):void console[i(506)](i(516)+5+" attempts: "+t)}else c=t,a=c.id||i(478)+s,!c.id&&(c.id=a);try{this[i(398)](a,e,n,s,c)}catch(t){console[i(506)](i(499),t)}}[Gt(398)](e,n,s,r,i){const o=Gt;i[o(434)](o(455),r),this[o(395)]?.createPlaceholder(i,r,n,s,this[o(425)]);const a={id:r,containerId:e,adType:n,width:s[o(457)]||o(436),height:s[o(459)]||(n===t[o(404)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(460)](n,s)[o(426)](t=>t[0]||null),render:t=>this[o(395)]?.[o(462)](a,t),refresh:async()=>this[o(399)](a),destroy:()=>this.destroy(r)};this.slots[o(493)](r,a),this[o(419)](a),this.advertisementEventTracker&&this[o(425)]?.[o(397)]&&console[o(496)]("📊 Advertisement event tracking enabled for slot: "+r)}async loadAdContentInBackground(e){const n=Gt;try{const s=await this.fetchAdData(e[n(414)],e[n(475)]);if(!s||0===s.length)return void this[n(395)]?.renderFallback(e);e[n(414)]===t.BANNER&&s.length>0&&await(this[n(395)]?.[n(427)](e,s)),s.length>1||e[n(475)]?.[n(504)]?(await(this[n(395)]?.renderAdSlider(e,s)),this[n(425)]?.[n(397)]&&console[n(496)](n(522)+s[n(498)]+n(480))):(e[n(503)]=s[0],await(this[n(395)]?.[n(462)](e,s[0])),this.startSimpleViewabilityTracking(e,s[0])),e[n(513)]=!0,this[n(425)]?.[n(397)]&&console.log(n(467)+e.id+" ("+s[n(498)]+n(526))}catch(t){console[n(506)](n(407)+e.id,t),this.adRenderer?.renderFallback(e)}}startSimpleViewabilityTracking(t,e){const n=(s=0)=>{const r=Yt,i=document[r(481)](t.id);if(!i)return void(s<5?(setTimeout(()=>n(s+1),300),this[r(425)]?.debug&&console[r(496)](r(401)+t.id+r(508)+(s+1)+")")):console.warn(r(452)+t.id));const o=new N(i,async()=>{const n=r;await this[n(405)](e,t)});t.viewabilityTracker=o,this._config?.[r(397)]&&console[r(496)]("🎯 Simple viewability tracking started for slot: "+t.id+" (element found)")};n()}async[Gt(405)](t,e){const n=Gt;try{this[n(524)]&&(await this[n(524)][n(456)](t._id,e.id,o[n(453)]),this[n(425)]?.[n(397)]&&console[n(496)](n(424)+t._id))}catch(t){console.error(n(411),t)}}async[Gt(460)](t,e){const n=Gt;if(!this[n(425)]?.[n(461)])throw new Error(n(451));if(e.adId){const t=""+G[n(476)][n(482)](e.adId),s=await fetch(t,{method:"GET",headers:R[n(468)](this[n(425)][n(461)])});if(!s.ok){if(404===s[n(443)])return console[n(474)](n(464)+e.adId),[];throw new Error(n(466)+s[n(443)])}const r=await s[n(431)]();return this._config?.[n(397)]&&console[n(496)](n(485)+e.adId,r),[r]}const s=new URLSearchParams;s[n(518)](n(414),t),e[n(439)]&&s[n(518)]("language",e[n(439)]),e[n(441)]&&s.append("deviceType",e.deviceType),e[n(400)]&&s[n(518)](n(400),e[n(400)]);const r=G[n(476)][n(528)]()+"?"+s[n(438)](),i=await fetch(r,{method:"GET",headers:R[n(468)](this[n(425)][n(461)])});if(!i.ok)throw new Error(n(466)+i[n(443)]);const o=(await i[n(431)]()).advertisements||[];return this[n(425)]?.[n(397)]&&console[n(496)]("📊 Fetched "+o[n(498)]+n(514)+t+n(525),{language:e[n(439)],deviceType:e[n(441)],country:e[n(400)]}),o}async[Gt(399)](t){const e=Gt;try{const n=await this.fetchAdData(t[e(414)],t[e(475)]||{});n&&n[e(498)]>0&&(t[e(503)]=n[0],await(this[e(395)]?.[e(521)](t)),this[e(524)]&&console[e(496)](e(488),t.id))}catch(n){console[e(506)](e(448)+t.id,n)}}[Gt(479)](){if(!this[Gt(477)])throw new Error("Ads module not initialized. Call AdStage.init() first.")}[Gt(406)](){const t=Gt;"undefined"!=typeof window&&typeof document!==t(495)&&(this.mutationObserver&&this[t(512)][t(396)](),this[t(512)]=new MutationObserver(e=>{const n=t;e[n(420)](t=>{const e=n;t[e(509)].forEach(t=>{const n=e;t.nodeType===Node.ELEMENT_NODE&&this[n(470)](t)})})}),this[t(512)].observe(document.body,{childList:!0,subtree:!0}),this[t(425)]?.[t(397)]&&console.log(t(412)))}[Gt(470)](t){const e=Gt,n=t[e(491)]("data-adstage-slot-id");if(n)return void this[e(501)](n);t[e(432)]("[data-adstage-slot-id]").forEach(t=>{const n=e,s=t.getAttribute(n(455));s&&this[n(501)](s)})}autoDestroy(t){const e=Gt,n=this[e(442)][e(465)](t);if(n)try{n[e(507)]&&n[e(507)][e(473)](),this[e(442)][e(523)](t),this._config?.[e(397)]&&console[e(496)](e(408)+t+e(463))}catch(n){this[e(425)]?.[e(397)]&&console[e(474)](e(446)+t+":",n)}}destroyModule(){const t=Gt,e=this[t(425)]?.[t(397)];this[t(512)]&&(this[t(512)][t(396)](),this[t(512)]=null),this.slots[t(409)](),this[t(524)]=null,this[t(395)]=null,this[t(477)]=!1,this._config=null,e&&console[t(496)]("🗑️ Ads module destroyed")}}var Jt=Qt;function Zt(){var t=["getOrganizationInfo","getApiHeaders","🔄 Config updated","_organizationInfo","log","514606dyWcci","isDebugMode","116838lBvvGX","_config","API key not available","debug","development","events","1948734wxRhzI","baseUrl","_isReady","create","15FBHxvV","11719113eOhqlh","getEnabledModules","Config module not initialized","init","apiKey","getBaseUrl","512yPhRah","4056872QShqzY","1344514CCqoue","updateConfig","5eMSeRF","config","getApiEndpoint","setBaseUrl","820MAmRUV","553828kxlTlk"];return(Zt=function(){return t})()}function Qt(t,e){var n=Zt();return(Qt=function(t,e){return n[t-=150]})(t,e)}!function(){for(var t=Qt,e=Zt();;)try{if(876101===-parseInt(t(160))/1+parseInt(t(173))/2*(parseInt(t(151))/3)+-parseInt(t(159))/4+-parseInt(t(162))/5*(-parseInt(t(181))/6)+-parseInt(t(152))/7+-parseInt(t(158))/8*(parseInt(t(175))/9)+-parseInt(t(166))/10*(-parseInt(t(167))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{constructor(){var t=Qt;this._isReady=!1,this[t(176)]=null,this._organizationInfo=null}[Jt(155)](t){var e=Jt;this[e(176)]={timeout:3e4,debug:!1,modules:["ads",e(180),e(163)],...t},t.baseUrl&&G[e(165)](t[e(182)]),this[e(183)]=!0,t[e(178)]&&console[e(172)]("✅ Config module initialized (sync mode)",{modules:this._config.modules,endpoint:G[e(157)](),mode:e(179)})}isReady(){return this[Jt(183)]}getConfig(){return this[Jt(176)]}[Jt(168)](){return this[Jt(171)]}[Jt(164)](){return G[Jt(157)]()}[Jt(174)](){var t=Jt;return this[t(176)]?.[t(178)]||!1}getEnabledModules(){var t=Jt;return this[t(176)]?.modules||[]}isModuleEnabled(t){return this[Jt(153)]().includes(t)}[Jt(161)](t){var e=Jt;if(!this[e(176)])throw new Error(e(154));this[e(176)]={...this[e(176)],...t},this[e(174)]()&&console[e(172)](e(170),t)}[Jt(169)](){var t=Jt;if(!this._config?.[t(156)])throw new Error(t(177));return R[t(150)](this[t(176)].apiKey)}}function te(){const t=["Mobile Web","getAutoDetectedDeviceInfo","ko-KR","iOS","platform","25rPiJYm","isBrowser","userAgent","SSR","getViewportInfo","2GFSWPZ","getPlatform","mobile","_userProvidedDeviceInfo","cookieEnabled","52636WvOdrU","isMobile","test","width","onLine","3954618nrOsLe","Unknown","height","tablet","170lmFEPF","323881YVrNOq","generateDeviceId","getDeviceInfo","mapPlatformForEvents","Android","2002576vpnsHJ","getDetailedInfo","setDeviceProperty","desktop","language","toLowerCase","getUserDeviceInfo","Desktop Web","clearDeviceInfo","335403ftMXJX","707304TTyHrp","952833cyPULI"];return(te=function(){return t})()}function ee(t,e){const n=te();return(ee=function(t,e){return n[t-=218]})(t,e)}const ne=ee;!function(){const t=ee,e=te();for(;;)try{if(412347===-parseInt(t(256))/1*(parseInt(t(241))/2)+-parseInt(t(229))/3+parseInt(t(246))/4*(parseInt(t(236))/5)+parseInt(t(251))/6+-parseInt(t(230))/7+-parseInt(t(219))/8+-parseInt(t(228))/9*(-parseInt(t(255))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{static[ne(258)](){const t=ne;return{...se[t(232)](),...se[t(244)]}}static getAutoDetectedDeviceInfo(){const t=ne;if(!y.isBrowser())return{category:"other",platform:t(239),model:t(239),osVersion:t(239)};const e=navigator[t(238)][t(224)]();let n=t(222);/tablet|ipad/[t(248)](e)?n=t(254):C[t(247)]()&&(n=t(243));const s=C[t(242)]();return{category:n,platform:se[t(259)](s),model:navigator[t(235)],osVersion:navigator[t(235)],deviceId:C[t(257)]()}}static setDeviceInfo(t){const e=ne;se[e(244)]={...se[e(244)],...t}}static[ne(221)](t,e){se[ne(244)][t]=e}static[ne(227)](){se[ne(244)]={}}static[ne(225)](){return{...se._userProvidedDeviceInfo}}static mapPlatformForEvents(t){const e=ne;switch(t){case"ios":return e(234);case"android":return e(218);case"web":return e(231);case"desktop":return e(226);default:return e(252)}}static[ne(220)](){const t=ne;if(!y[t(237)]())return{userAgent:t(239),language:t(233),platform:t(239),cookieEnabled:!1,onLine:!0,screenResolution:"0x0",viewportSize:"0x0"};const e=y[t(240)]();return{userAgent:navigator[t(238)],language:navigator[t(223)]||t(233),platform:navigator[t(235)],cookieEnabled:navigator[t(245)],onLine:navigator[t(250)],screenResolution:screen[t(249)]+"x"+screen[t(253)],viewportSize:e.width+"x"+e.height}}}function re(){const t=["isBrowser","extractCountryFromLanguage","3592EuFVku","1585fxojdd","setUserProperties","ko-KR","22328127gSZcgt","55458LtqfIN","language","split","8757RPFCDT","3230280MNEuSk","_userProperties","setUserProperty","DateTimeFormat","getCurrentUserProperties","185886XEUnvU","getBaseUserInfo","424aHUFkr","484729INrqVS","timeZone","estimateLocation","resolvedOptions"];return(re=function(){return t})()}se[ne(244)]={};const ie=oe;function oe(t,e){const n=re();return(oe=function(t,e){return n[t-=302]})(t,e)}!function(){const t=oe,e=re();for(;;)try{if(961850===-parseInt(t(305))/1+-parseInt(t(320))/2+parseInt(t(302))/3+-parseInt(t(304))/4*(parseInt(t(312))/5)+-parseInt(t(316))/6+parseInt(t(319))/7*(parseInt(t(311))/8)+parseInt(t(315))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ae{static getUserInfo(){const t=oe;return{...ae[t(303)](),...ae[t(321)]}}static getBaseUserInfo(){const t=oe;if(!y[t(309)]())return{language:"ko-KR",country:"KR"};const e=navigator[t(317)]||t(314);return{language:e,country:ae[t(310)](e)}}static[ie(310)](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[ie(318)]("-")[0]]||"KR"}static[ie(313)](t){const e=ie;ae[e(321)]={...ae[e(321)],...t}}static[ie(322)](t,e){ae[ie(321)][t]=e}static clearUserProperties(){ae[ie(321)]={}}static[ie(324)](){return{...ae[ie(321)]}}static[ie(307)](){const t=ie;if(!y[t(309)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl[t(323)]()[t(308)]()[t(306)];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"}}}ae[ie(321)]={};const ce=le;!function(){const t=le,e=ue();for(;;)try{if(878790===-parseInt(t(364))/1*(-parseInt(t(350))/2)+parseInt(t(348))/3*(-parseInt(t(395))/4)+parseInt(t(383))/5+parseInt(t(367))/6*(-parseInt(t(357))/7)+parseInt(t(360))/8+parseInt(t(375))/9+parseInt(t(409))/10*(-parseInt(t(344))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class de{static captureFromUrl(){const t=le;if(typeof window===t(382))return null;const e=new URLSearchParams(window[t(427)][t(393)]),n={};let s=!1;const r=e[t(418)](t(400));if(r)try{const e=decodeURIComponent(r),i=new URLSearchParams(e);for(const e of de.ALL_KEYS){const r=i[t(418)](e);r&&(n[e]=r,s=!0)}i.get(t(407))===t(362)&&(s=!0)}catch(e){console[t(389)](t(342),e)}for(const r of de[t(373)]){if(n[r])continue;const i=e[t(418)](r);i&&(n[r]=i,s=!0)}return s?(n[t(346)]||(n.gclid||n[t(414)]||n[t(398)]?n[t(346)]=t(412):n[t(347)]?n[t(346)]=t(384):n[t(411)]?n.channel="tiktok.ads":n[t(351)]?n[t(346)]="twitter.ads":n[t(365)]||n[t(377)]?n[t(346)]=t(369):n[t(390)]?n[t(346)]=t(345):n[t(363)]||n[t(376)]?n.channel=t(423):n.yclid?n[t(346)]=t(378):n.pnclid?n.channel=t(366):n.naverclk||n[t(385)]?n[t(346)]=t(425):n[t(413)]?n[t(346)]=t(387):n[t(397)]===t(396)&&n[t(379)]===t(399)?n.channel=t(388):(n[t(406)]||n[t(372)])&&(n[t(346)]=t(388))),de.store(n),n):null}static[ce(352)](t){const e=ce;if(typeof window!==e(382))try{const n={...de[e(418)](),...t},s=JSON[e(356)](n);try{sessionStorage.setItem(de[e(431)],s)}catch(t){}try{localStorage[e(417)](de[e(431)],s)}catch(t){}}catch(t){console[e(389)](e(341),t)}}static[ce(418)](){const t=ce;if(typeof window===t(382))return null;try{const e=sessionStorage?.[t(392)](de[t(431)]);if(e)return JSON[t(419)](e)}catch(t){}try{const e=localStorage?.[t(392)](de.STORAGE_KEY);if(e)return JSON[t(419)](e)}catch(t){}return null}static[ce(415)](){const t=ce;if(typeof window!==t(382)){try{sessionStorage?.removeItem(de.STORAGE_KEY)}catch(t){}try{localStorage?.[t(432)](de[t(431)])}catch(t){}}}static[ce(394)](){const t=de.get();return null!==t&&Object.keys(t).length>0}static[ce(403)](){const t=ce,e=de.get();return!!e&&de[t(421)][t(391)](t=>e[t])}static[ce(353)](){const t=ce;if(typeof window===t(382))return!1;const e=de[t(418)]();if(!e)return!1;const n=de[t(403)](),s=!!e[t(346)];if(!n&&!s)return!1;const r=n?e[t(428)]||e[t(347)]||e[t(411)]||e.nclid||e[t(377)]||e[t(390)]||e[t(351)]:(e[t(346)]||"")+":"+(e[t(381)]||"");if(!r)return!1;return r!==sessionStorage.getItem("adstage_last_click_id")&&(sessionStorage[t(417)](t(380),r),!0)}static[ce(354)](){const t=ce;typeof window!==t(382)&&sessionStorage[t(417)](t(371),"true")}static isClickEventSent(){const t=ce;return typeof window!==t(382)&&sessionStorage.getItem(t(371))===t(362)}static toAttributionObject(){const t=ce,e=de[t(418)]();if(!e)return null;const n={};return e[t(428)]&&(n[t(428)]=e[t(428)]),e[t(347)]&&(n.fbclid=e[t(347)]),e[t(411)]&&(n.ttclid=e[t(411)]),e[t(385)]&&(n.nclid=e[t(385)]),e[t(346)]&&(n[t(346)]=e.channel),e[t(343)]&&(n.campaign=e[t(343)]),e.campaign_id&&(n.campaignId=e[t(430)]),e[t(368)]&&(n[t(420)]=e[t(368)]),e[t(408)]&&(n[t(358)]=e[t(408)]),e[t(340)]&&(n.adCreative=e[t(340)]),e.creative_id&&(n[t(374)]=e[t(359)]),e[t(381)]&&(n[t(381)]=e[t(381)]),e[t(406)]&&(n.campaignId=n.campaignId||e[t(406)]),e[t(401)]&&(n[t(358)]=n.adGroupId||e[t(401)]),e[t(372)]&&(n[t(399)]=e[t(372)]),e[t(361)]&&(n[t(410)]=e.k_keyword_id),e[t(429)]&&(n[t(374)]=n.creativeId||e[t(429)]),e[t(416)]&&(n[t(424)]=e[t(416)]),e.utm_source&&(n.utm_source=e.utm_source),e.utm_medium&&(n.utm_medium=e[t(379)]),e[t(405)]&&(n[t(405)]=e.utm_campaign),e[t(402)]&&(n[t(402)]=e[t(402)]),e[t(426)]&&(n[t(426)]=e[t(426)]),Object[t(349)](n)[t(370)]>0?n:null}}function le(t,e){const n=ue();return(le=function(t,e){return n[t-=340]})(t,e)}function ue(){const t=["kakaoclk","gbraid","clear","k_rank","setItem","get","parse","adGroup","CLICK_ID_KEYS","pnclid","snapchat.ads","adRank","naver.searchad","utm_term","location","gclid","k_creative","campaign_id","STORAGE_KEY","removeItem","ad_creative","Failed to store tracking params:","Failed to parse adstage_referrer:","campaign","88BSjcxY","microsoft.ads","channel","fbclid","4356243GfIxNu","keys","209258HdvIEi","twclid","store","shouldSendClickEvent","markClickEventSent","UTM_KEYS","stringify","272349DYrbzn","adGroupId","creative_id","9364216bYrsoB","k_keyword_id","true","sccid","7afnPpf","li_fat_id","pinterest.ads","150sCkiyS","ad_group","linkedin.ads","length","adstage_click_event_sent","k_keyword","ALL_KEYS","creativeId","4696515nbwWEQ","ScCid","liclid","yahoo.ads","utm_medium","adstage_last_click_id","term","undefined","7109545Fgqfui","meta.ads","nclid","adstage_tracking_params","kakao.moment","kakao.keyword","warn","msclkid","some","getItem","search","hasParams","4rjkNRi","kakao","utm_source","wbraid","keyword","adstage_referrer","k_adgroup","utm_content","hasClickId","CAMPAIGN_KEYS","utm_campaign","k_campaign","adstage","ad_group_id","678910PFodZi","keywordId","ttclid","google.ads"];return(ue=function(){return t})()}de.STORAGE_KEY=ce(386),de.CLICK_ID_KEYS=[ce(428),ce(414),ce(398),"fbclid",ce(411),ce(351),ce(365),"liclid",ce(390),ce(363),"ScCid","yclid",ce(422),ce(385),"naverclk",ce(413)],de.CAMPAIGN_KEYS=[ce(346),ce(343),ce(430),"ad_group",ce(408),ce(340),ce(359),"term",ce(406),ce(401),ce(372),ce(361),ce(429),ce(416)],de[ce(355)]=[ce(397),"utm_medium",ce(405),"utm_content",ce(426)],de[ce(373)]=[...de[ce(421)],...de[ce(404)],...de[ce(355)]];const pe=he;function he(t,e){const n=fe();return(he=function(t,e){return n[t-=333]})(t,e)}function fe(){const t=["getUserProperties","warn","📱 Device info set:","debug","clearDeviceInfo","Event data:","stringify","_config","undefined","getItem","registerAttribution","getCurrentUserProperties","log","init","sendEventToServer","getUserInfo","statusText","setUserProperties","8310910jlbUCk","error","96507rmYrxh","setDeviceInfo","POST","❌ API Error Response:","Attribution registration failed: ","_isReady","getUserDeviceInfo","45McMdJT","28rPHaYV","514129vRdjoR","isReady","284678EkygwM","keys","📦 Attribution request body:","105648fHWJsU","apiKey","❌ Failed to register attribution:","📡 Request URL:","getDeviceInfo","261317fqlNEH","get","196068QpTsra","🔑 Attribution request headers:","getAttributionId","attributionId","track","events","✅ Attribution registered:","length","text","36BVlGWl","sendAttributionToServer","👤 User properties set:","📱 Device property set:","Events module not initialized. Call AdStage.init() first.","create","adstage_attribution_id","setDeviceProperty","trackWithAttributionId","application/json"];return(fe=function(){return t})()}!function(){const t=he,e=fe();for(;;)try{if(172205===-parseInt(t(366))/1+parseInt(t(358))/2+-parseInt(t(347))/3*(parseInt(t(355))/4)+-parseInt(t(354))/5*(parseInt(t(368))/6)+-parseInt(t(356))/7+parseInt(t(361))/8*(parseInt(t(377))/9)+parseInt(t(345))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=he;this._isReady=!1,this[t(334)]=null}[pe(340)](t){this._config=t,this._isReady=!0,t.debug&&console.log("📊 Events module initialized")}[pe(357)](){return this[pe(352)]}getConfig(){return this[pe(334)]}[pe(344)](t){const e=pe;ae[e(344)](t),this[e(334)]?.[e(390)]&&console[e(339)](e(379),t)}[pe(387)](){return ae.getCurrentUserProperties()}[pe(348)](t){const e=pe;se[e(348)](t),this._config?.[e(390)]&&console[e(339)](e(389),t)}[pe(384)](t,e){const n=pe;se.setDeviceProperty(t,e),this[n(334)]?.debug&&console[n(339)](n(380),t,e)}[pe(391)](){const t=pe;se[t(391)](),this._config?.[t(390)]&&console[t(339)]("📱 User provided device info cleared")}[pe(353)](){return se.getUserDeviceInfo()}[pe(365)](){return se[pe(365)]()}getUserInfo(){return ae[pe(342)]()}[pe(338)](){return ae.getCurrentUserProperties()}async[pe(372)](t,e){const n=pe;if(this._isReady)if(this[n(334)]?.[n(362)])try{const s=this[n(370)]();if(s){const r={eventName:t,sdkVersion:x(),device:se[n(365)](),user:ae[n(342)](),attributionId:s,params:e||{}};return await this[n(341)](r),void(this[n(334)][n(390)]&&console[n(339)]("✅ Event tracked with attribution ID:",t,s))}const r=de.toAttributionObject(),i={eventName:t,sdkVersion:x(),device:se[n(365)](),user:ae.getUserInfo(),...r&&{attribution:r},params:e||{}};await this.sendEventToServer(i),this[n(334)][n(390)]&&(console[n(339)]("✅ Event tracked:",t,e),r&&console[n(339)]("📊 Attribution included:",r))}catch(s){console[n(346)]("❌ Failed to track event:",s),this[n(334)].debug&&console[n(346)](n(392),{eventName:t,properties:e})}else console[n(388)]("API key not configured for event tracking.");else console[n(388)]("Events module not initialized. Call AdStage.init() first.")}async[pe(337)](t){const e=pe;if(!this[e(352)])return console[e(388)](e(381)),null;if(!this._config?.[e(362)])return console[e(388)]("API key not configured for attribution registration."),null;try{const n=de[e(367)]();if(!n||0===Object[e(359)](n)[e(375)])return this[e(334)][e(390)]&&console[e(339)]("⏭️ No tracking parameters found, skipping attribution registration"),null;const s=await this[e(378)]({deviceId:t,referrerParams:n});if(this._config[e(390)]&&console[e(339)](e(374),s),s.attributionId){try{localStorage.setItem(e(383),s[e(371)])}catch(t){}try{sessionStorage.setItem("adstage_attribution_id",s[e(371)])}catch(t){}}return s}catch(t){return console.error(e(363),t),null}}[pe(370)](){const t=pe;if(typeof window===t(335))return null;try{const e=sessionStorage.getItem(t(383));if(e)return e}catch(t){}try{return localStorage[t(336)](t(383))}catch(t){}return null}async[pe(385)](t,e){return this[pe(372)](t,e)}async[pe(341)](t){const e=pe,n={...R.create(this[e(334)].apiKey),"Content-Type":e(386)};this._config?.[e(390)]&&(console[e(339)]("🔑 Request headers:",n),console[e(339)](e(364),G.events[e(372)]()),console[e(339)]("📦 Request body:",t));const s=await fetch(G[e(373)][e(372)](),{method:e(349),headers:n,body:JSON.stringify(t)});if(!s.ok){const t=await s[e(376)]();throw console.error(e(350),t),new Error("Event tracking failed: "+s.status+" "+s[e(343)])}}async[pe(378)](t){const e=pe,n={...R[e(382)](this[e(334)][e(362)]),"Content-Type":e(386)};this[e(334)]?.[e(390)]&&(console[e(339)](e(369),n),console.log("📡 Attribution request URL:",G[e(373)][e(337)]()),console[e(339)](e(360),t));const s=await fetch(G[e(373)][e(337)](),{method:e(349),headers:n,body:JSON[e(333)](t)});if(!s.ok){const t=await s[e(376)]();throw console.error("❌ API Error Response:",t),new Error(e(351)+s.status+" "+s[e(343)])}return s.json()}}const me=ke;!function(){const t=ke,e=we();for(;;)try{if(510698===-parseInt(t(316))/1*(-parseInt(t(310))/2)+parseInt(t(313))/3*(-parseInt(t(309))/4)+-parseInt(t(269))/5*(parseInt(t(296))/6)+-parseInt(t(306))/7*(parseInt(t(301))/8)+parseInt(t(290))/9*(-parseInt(t(295))/10)+-parseInt(t(285))/11+parseInt(t(314))/12*(parseInt(t(284))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ie=[me(275),me(273),me(308),me(293),"ttclid","twclid","li_fat_id",me(312),me(282),me(299),"ScCid",me(292),"pnclid",me(298),me(270),me(315)],ve=[me(287)];function ye(t,e={}){const n=me;if(!t)return t;const s=e[n(307)]&&e[n(307)][n(272)]?e[n(307)]:ve;try{const r=new URL(t,e[n(311)]);if(!function(t,e){const n=(t||"").toLowerCase();return e.some(t=>{const e=ke,s=(t||"")[e(280)]();return!!s&&(n===s||n[e(278)]("."+s))})}(r[n(277)],s))return t;const i=e.clickParams||null;if(i)for(const t of Ie){const e=i[t];e&&!r[n(266)][n(283)](t)&&r[n(266)][n(267)](t,String(e))}return e[n(297)]&&!r.searchParams[n(283)](n(271))&&r.searchParams[n(267)](n(271),e[n(297)]),r.toString()}catch(e){return t}}let be=!1;function we(){const t=["450xQFElH","4354578bGdriC","attributionId","nclid","sccid","undefined","8hXKxdC","click","href","a[href]","debug","775831KLmuDh","domains","wbraid","948780TcIjjR","1548068QbSYVT","baseHref","liclid","3mKpUap","28526100VZIcUX","kakaoclk","1rsfgaW","searchParams","set","function","5IvKoUa","naverclk","attribution_id","length","gbraid","location","gclid","setAttribute","hostname","endsWith","addEventListener","toLowerCase","auxclick","msclkid","has","13QGTIpo","11196405WFAzxi","getAttribute","adg.im","getClickParams","getAttributionId","109773yqGIHJ","target","yclid","fbclid","log"];return(we=function(){return t})()}function ke(t,e){const n=we();return(ke=function(t,e){return n[t-=266]})(t,e)}const Ee=Se;function xe(){const t=["baseUrl","10184WZJGwz","catch","trackingLinkDomains","510294PpVFFw","🎯 Sending click event after attribution registration","❌ Error in click event auto-tracking:","location","389NaQJpO","🔍 Should send click event:","✅ Auto-tracked click event with tracking params:","hasClickId","ads","getAttributionId","getInstance","from","_isInitialized","size","viewableTracker","development","channel","clearAdViewable","decorateUrl","isReady","href","2.0.0","modules","toAttributionObject","...","log","setItem","❌ Failed to register attribution:","undefined","substring","server-","hardwareConcurrency","hash","error","adstage_attribution_id","instance","20bKfJHk","❌ Failed to auto-track click event:","🌐 API endpoint configured:","_config","language","attributionId","track","reset","debug","API key is required for AdStage initialization","1660631CFfQnZ","✅ AdStage Debug: 광고 ","🔗 Using attributionId from URL (attribution_id):","getConfig","markClickEventSent","459FZSCUy","web-","web","function","830688ZbZQSy","apiKey",")의 viewable 추적 초기화됨","replace","shouldSendClickEvent","setBaseUrl","380RyXUCS","AdStage not initialized. Call AdStage.init() first.","expiresAt","get","toString","428424OUqunr","search","toISOString","campaign","AdStage.events accessed before initialization","config","warn","📊 Tracking parameters captured:","⏭️ Skipping click event (duplicate or no click ID)","3868950QwwohS","✅ Attribution registered:","AdStage.ads accessed before initialization","now","generateDeviceId","getTimezoneOffset","AdStage.config accessed before initialization","length","click","init","userAgent","📊 AdStage Debug: 현재 viewable 추적 상태","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","random","then","adstage_device_id","tracking_params","captureFromUrl","events"];return(xe=function(){return t})()}function Se(t,e){const n=xe();return(Se=function(t,e){return n[t-=409]})(t,e)}!function(){const t=Se,e=xe();for(;;)try{if(181235===-parseInt(t(434))/1*(parseInt(t(491))/2)+-parseInt(t(485))/3+parseInt(t(496))/4+-parseInt(t(466))/5*(-parseInt(t(430))/6)+-parseInt(t(476))/7+-parseInt(t(427))/8*(parseInt(t(481))/9)+parseInt(t(505))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ae{constructor(){const t=Se;this[t(442)]=!1,this[t(469)]=null,this[t(501)]=new $t,this.ads=new Xt,this.events=new ge}static[Ee(416)](t){const e=Ee;!Ae[e(465)]&&(Ae.instance=new Ae);const n=Ae[e(465)];if(!t.apiKey)throw new Error(e(475));n._config={timeout:3e4,debug:!1,modules:[e(438),e(425),e(501)],...t},n[e(469)][e(426)]&&(G[e(490)](n[e(469)].baseUrl),t[e(474)]&&console[e(455)](e(468),n[e(469)].baseUrl));const s=n[e(469)][e(452)]||[e(438),e(425),e(501)];for(const t of s){const s=n[t];s&&typeof s[e(416)]===e(484)&&s.init(n[e(469)])}if(n[e(442)]=!0,typeof window!==e(458)){const s=de[e(424)]();s&&t[e(474)]&&console[e(455)](e(503),s);const r=(()=>{const t=e;try{const e=new URLSearchParams(window[t(433)][t(497)]),n=new URLSearchParams((window[t(433)][t(462)]||"")[t(488)](/^#/,""));return e.get("attribution_id")||n[t(494)]("attribution_id")}catch{return null}})();if(r)try{localStorage.setItem(e(464),r),t[e(474)]&&console[e(455)](e(478),r)}catch(t){}!function(t){const e=me;if(be)return;if(typeof document===e(300))return;be=!0;const n=t[e(307)]&&t[e(307)][e(272)]?t[e(307)]:ve,s=s=>{const r=e;try{const e=s[r(291)];if(!e||typeof e.closest!==r(268))return;const i=e.closest(r(304));if(!i)return;const o=i[r(286)]("href");if(!o)return;const a=ye(o,{clickParams:t[r(288)](),attributionId:t[r(289)](),domains:n,baseHref:typeof window!==r(300)?window[r(274)][r(303)]:void 0});a!==o&&(i[r(276)]("href",a),t[r(305)]&&console[r(294)]("🔗 [AdStage] Decorated tracking link:",a))}catch(t){}};document[e(279)](e(302),s,!0),document[e(279)](e(281),s,!0)}({getClickParams:()=>de.get(),getAttributionId:()=>n[e(425)][e(439)](),domains:n[e(469)]?.[e(429)],debug:t[e(474)]});const i=de[e(489)]();t[e(474)]&&(console[e(455)](e(435),i),!i&&console[e(455)](e(504)));const o=de[e(437)](),a=!(!s||!s[e(446)]);if(!r&&s&&(o||a)){const s=(async()=>{const s=e;try{const e=n[s(411)](),r=await n[s(425)].registerAttribution(e);return r&&t.debug&&console[s(455)](s(506),{attributionId:r[s(471)],channel:r[s(446)],campaign:r[s(499)],expiresAt:r[s(493)]}),r}catch(t){return console.error(s(457),t),null}})();i&&s[e(421)](s=>{const r=e;try{const e=de[r(494)](),i=de[r(453)]();t.debug&&console[r(455)](r(431),{attributionId:s?.[r(471)],hasAttribution:!!s}),n[r(425)][r(472)](r(415),{_autoGenerated:!0,_source:r(423),_timestamp:(new Date).toISOString(),_platform:r(483)})[r(421)](()=>{const n=r;de[n(480)](),t[n(474)]&&console.log(n(436),{attribution:i,trackingParams:e})})[r(428)](t=>{const e=r;console[e(463)](e(467),t)})}catch(t){console[r(463)](r(432),t)}})}else i&&setTimeout(()=>{const s=e;try{const e=de[s(494)](),r=de[s(453)]();n.events[s(472)](s(415),{_autoGenerated:!0,_source:"tracking_params",_timestamp:(new Date)[s(498)](),_platform:s(483)}).then(()=>{const n=s;de[n(480)](),t[n(474)]&&console[n(455)]("✅ Auto-tracked click event with tracking params:",{attribution:r,trackingParams:e})})[s(428)](t=>{const e=s;console[e(463)](e(467),t)})}catch(t){console[s(463)](s(432),t)}},100)}t[e(474)]&&console[e(455)]("🚀 AdStage SDK initialized (sync mode)",{version:e(451),modules:s,apiKey:t[e(486)][e(459)](0,8)+e(454),mode:e(445)})}static[Ee(449)](){const t=Ee;return Ae[t(465)]?.[t(442)]||!1}static[Ee(479)](){const t=Ee;return Ae[t(465)]?.[t(469)]||null}static[Ee(448)](t){const e=Ee;try{const n=Ae[e(440)]();return ye(t,{clickParams:de[e(494)](),attributionId:n.events[e(439)](),domains:n._config?.[e(429)],baseHref:typeof window!==e(458)?window.location[e(450)]:void 0})}catch(e){return t}}static[Ee(440)](){const t=Ee;if(!Ae[t(465)])throw new Error(t(492));return Ae[t(465)]}static get[Ee(438)](){const t=Ee;try{return Ae.getInstance()[t(438)]}catch(e){throw console.warn(t(409)),e}}static get[Ee(425)](){const t=Ee;try{return Ae[t(440)]()[t(425)]}catch(e){throw console.warn(t(500)),e}}static get[Ee(501)](){const t=Ee;try{return Ae[t(440)]()[t(501)]}catch(e){throw console[t(502)](t(413)),e}}static[Ee(473)](){const t=Ee;Ae[t(465)]&&(Ae[t(465)][t(442)]=!1,Ae[t(465)][t(469)]=null)}[Ee(411)](){const t=Ee;if(typeof window===t(458))return t(460)+Math[t(420)]()[t(495)](36)[t(459)](2,15);const e=localStorage.getItem(t(422));if(e)return e;const n=[navigator[t(417)],navigator[t(470)],screen.width+"x"+screen.height,(new Date)[t(412)](),navigator[t(461)]||0].join("|");let s=0;for(let e=0;e<n[t(414)];e++){s=(s<<5)-s+n.charCodeAt(e),s&=s}const r=t(482)+Math.abs(s)[t(495)](36)+"-"+Date[t(410)]()[t(495)](36);return localStorage[t(456)](t(422),r),r}}function Ce(){var t=["AdStage not initialized. Call AdStage.init() first.","490DqOfnP","events","5OWeZiW","isReady","12ZvvKOD","getUserProperties","105HqYHuF","setUserProperties","5317637TMDGGb","59972yLkFSo","95792HDKoDw","track","643559rWommQ","3417108TmDZyh","warn","6ViByUQ","83550spTZUv","7914ddgtrU","resolve","225cgKunB"];return(Ce=function(){return t})()}function Te(t,e){var n=Ce();return(Te=function(t,e){return n[t-=158]})(t,e)}Ae[Ee(474)]={clearAllViewable:()=>{const t=Ee;dt.clear(),console[t(455)](t(419))},clearAdViewable:(t,e)=>{const n=Ee;dt[n(447)](t,e),console[n(455)](n(477)+t+"("+e+n(487))},getViewableStatus:()=>{const t=Ee;console[t(455)](t(418),{trackedCount:dt.viewableTracker[t(443)],trackedItems:Array[t(441)](dt[t(444)])})}},function(){for(var t=Te,e=Ce();;)try{if(584956===-parseInt(t(172))/1+-parseInt(t(177))/2*(-parseInt(t(175))/3)+-parseInt(t(173))/4*(-parseInt(t(162))/5)+parseInt(t(176))/6*(parseInt(t(166))/7)+-parseInt(t(170))/8*(-parseInt(t(158))/9)+parseInt(t(160))/10*(parseInt(t(169))/11)+-parseInt(t(164))/12*(parseInt(t(168))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Pe=h.createContext(null);function Re(){const t=h.useContext(Pe);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function De(t,e){var n=_e();return(De=function(t,e){return n[t-=474]})(t,e)}function _e(){var t=["918207PAKfQR","7049140Vloaja","525205hBElBr","5077600QYyXmC","5962644CpcEJW","20VOSTgP","1167raEMrb","978XHJWKi","1305005IoaAOK","24dkrHXA"];return(_e=function(){return t})()}!function(){for(var t=De,e=_e();;)try{if(677510===-parseInt(t(480))/1+-parseInt(t(479))/2*(-parseInt(t(478))/3)+-parseInt(t(481))/4*(-parseInt(t(474))/5)+parseInt(t(476))/6+parseInt(t(483))/7+-parseInt(t(475))/8+-parseInt(t(482))/9*(parseInt(t(477))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Le=Me;function Ue(){const t=["1141CSdXdI","7916190tPuQbc","6294PzOigv","57352TGOUuR","96sMqGaG","1208zMCvOu","undefined","ads","2.0.0","1400991riDMdv","106970VWVRsF","873bkiVmX","222128UUJuVD"];return(Ue=function(){return t})()}function Me(t,e){const n=Ue();return(Me=function(t,e){return n[t-=196]})(t,e)}!function(){const t=Me,e=Ue();for(;;)try{if(291462===parseInt(t(200))/1+-parseInt(t(196))/2+parseInt(t(206))/3+-parseInt(t(201))/4*(-parseInt(t(207))/5)+parseInt(t(199))/6*(parseInt(t(197))/7)+-parseInt(t(202))/8*(parseInt(t(208))/9)+-parseInt(t(198))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Be=Le(205),ze=[Le(204),"events","config"];typeof window!==Le(203)&&(window.AdStage=Ae),exports.AdStage=Ae,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[r,i]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&Ae.reset(),Ae.init(t),i(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),i(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:r,initialize:c,reset:()=>{try{Ae.reset(),s(!1),i(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(Pe.Provider,{value:d,children:t})},exports.SDK_VERSION=Be,exports.SUPPORTED_MODULES=ze,exports.TrackingParamsModule=de,exports.getUserProperties=function(){var t=Te;if(Ae[t(163)]())return Ae[t(161)][t(165)]();console[t(174)](t(159))},exports.setUserProperties=function(t){var e=Te;Ae.isReady()?Ae[e(161)][e(167)](t):console[e(174)]("AdStage not initialized. Call AdStage.init() first.")},exports.track=function(t,e){var n=Te;return Ae[n(163)]()?Ae[n(161)][n(171)](t,e):(console.warn(n(159)),Promise[n(178)]())},exports.useAdStageContext=Re,exports.useAdStageInstance=function(){const{isInitialized:t}=Re();return t?Ae:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};