@adstage/web-sdk 3.0.5 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- function t(e,n){var r=h();return(t=function(t,e){return r[t-=147]})(e,n)}var e,n,r,s,o,i,a,c,l,d,u,p;function h(){var t=["NATIVE","11526NlhHjs","6482hWJzWX","POPUP","3223BMQVof","15970aFnZhB","65QWUQJD","3976mcLXTf","TEXT","MOBILE","1662390NKHaSO","TABLET","83442ZrIieT","1966188OHlNQz","VIEWABLE","WEB","BANNER","69UWdjSt","DESKTOP","VIDEO","5orbZHz","46316yFIwmc"];return(h=function(){return t})()}!function(){for(var e=t,n=h();;)try{if(321999===-parseInt(e(167))/1*(parseInt(e(162))/2)+-parseInt(e(156))/3*(parseInt(e(160))/4)+-parseInt(e(159))/5*(-parseInt(e(151))/6)+-parseInt(e(163))/7*(-parseInt(e(168))/8)+parseInt(e(149))/9+-parseInt(e(166))/10*(-parseInt(e(165))/11)+-parseInt(e(152))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(),(n=e||(e={}))[(r=t)(155)]=r(155),n[r(164)]=r(164),n.INTERSTITIAL="INTERSTITIAL",n[r(161)]="NATIVE",n[r(158)]="VIDEO",n[r(147)]=r(147),(o=s||(s={}))[(i=t)(154)]=i(154),o[i(148)]=i(148),(c=a||(a={}))[(l=t)(153)]=l(153),c.CLICK="CLICK",(u=d||(d={}))[(p=t)(157)]=p(157),u[p(148)]="MOBILE",u[p(150)]=p(150);const f=g;function g(t,e){const n=m();return(g=function(t,e){return n[t-=314]})(t,e)}function m(){const t=["readyState","loading","번 시도)","safeWindowOpen","waitForDOM",'❌ 컨테이너를 찾을 수 없습니다: "',"ms 경과)","removeChild","getPageInfo","undefined","safeSetTextContent","safeAddClass","waitForElements","pow","createElement","entries","pageYOffset","safeRemoveEventListener","querySelector","42715sqifvw","devicePixelRatio","DOM을 사용할 수 없는 환경입니다.",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"innerHeight","all","safeAppendChild","safeQuerySelectorAll","innerWidth","map","1338323ysaTbG","style","innerHTML","⏳ 컨테이너 대기 시작: ","safeRemoveChild","forEach","documentElement","log","remove","open","safeSetInnerHTML","getElementById","title","referrer","safeRemoveClass","safeCreateElement","addEventListener","2ylugQI","safeGetComputedStyle","✅ 컨테이너 즉시 발견: ","isSSR","add","querySelectorAll","setProperty","ceil","safeAddEventListener","error","645256XCrizh","ms)","safeQuerySelector","getScrollInfo","scrollTop","530622LOHljp","safeGetElementById","getDocumentProperty","767532tHPThj","href","isDOMReady","removeEventListener","getViewportInfo","DOMContentLoaded","ms (",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"isBrowser","1613660TZmESK","canUseDOM","getWindowProperty","classList","min","waitForElement","from","getComputedStyle","8025400WAAxIN"," (최대 "];return(m=function(){return t})()}!function(){const t=g,e=m();for(;;)try{if(236273===parseInt(t(379))/1*(-parseInt(t(323))/2)+-parseInt(t(338))/3+-parseInt(t(333))/4+-parseInt(t(350))/5+parseInt(t(341))/6+-parseInt(t(389))/7+parseInt(t(358))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static[f(349)](){const t=f;return typeof window!==t(369)&&typeof document!==t(369)}static[f(326)](){return!this.isBrowser()}static canUseDOM(){const t=f;return this[t(349)]()&&void 0!==document[t(360)]}static[f(339)](t){const e=f;return this[e(351)]()?document[e(317)](t):null}static[f(335)](t){const e=f;return this[e(351)]()?document[e(378)](t):null}static[f(386)](t){const e=f;return this[e(351)]()?Array[e(356)](document[e(328)](t)):[]}static[f(321)](t){const e=f;return this[e(351)]()?document[e(374)](t):null}static[f(331)](t,e,n,r){const s=f;this.canUseDOM()&&t&&t[s(322)](e,n,r)}static[f(377)](t,e,n,r){const s=f;this[s(351)]()&&t&&t[s(344)](e,n,r)}static getWindowProperty(t,e){return this[f(349)]()?window[t]??e:e}static[f(340)](t,e){return this.canUseDOM()?document[t]??e:e}static[f(363)](t,e,n){const r=f;return this[r(349)]()?window[r(315)](t,e,n):null}static[f(324)](t){const e=f;return this.isBrowser()&&t?window[e(357)](t):null}static[f(343)](){const t=f;return!!this.canUseDOM()&&document[t(360)]!==t(361)}static[f(364)](){return new Promise(t=>{const e=g;this[e(351)]()?this.isDOMReady()?t():this.safeAddEventListener(document,e(346),()=>t()):t()})}static safeApplyStyles(t,e){const n=f;this.canUseDOM()&&t&&Object[n(375)](e)[n(394)](([e,r])=>{const s=n;t[s(390)][s(329)](e,r)})}static[f(371)](t,e){const n=f;this[n(351)]()&&t&&t[n(353)][n(327)](e)}static[f(320)](t,e){const n=f;this[n(351)]()&&t&&t[n(353)][n(314)](e)}static[f(370)](t,e){this[f(351)]()&&t&&(t.textContent=e)}static[f(316)](t,e){const n=f;this[n(351)]()&&t&&(t[n(391)]=e)}static[f(385)](t,e){this.canUseDOM()&&t&&e&&t.appendChild(e)}static[f(393)](t,e){const n=f;this[n(351)]()&&t&&e&&t[n(367)](e)}static[f(368)](){const t=f;return{url:this[t(352)]("location",{href:""})[t(342)],title:this[t(340)](t(318),""),referrer:this[t(340)](t(319),"")}}static[f(345)](){const t=f;return{width:this[t(352)](t(387),0),height:this[t(352)](t(383),0),pixelRatio:this.getWindowProperty(t(380),1)}}static[f(336)](){const t=f;return{scrollTop:this[t(351)]()?window[t(376)]||document[t(395)][t(337)]:0,scrollLeft:this[t(352)]("pageXOffset",0)}}static async[f(355)](t,e={}){const n=f,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this[n(351)]())throw new Error(n(381));const i=document.getElementById(t);return i?(o&&console[n(396)](n(325)+t),i):(o&&console[n(396)](n(392)+t+n(359)+r+n(334)),new Promise((e,i)=>{const a=n;let c=0;const l=Math[a(330)](r/s),d=()=>{const n=a;c++;const u=document[n(317)](t);if(u)return o&&console[n(396)]("✅ 컨테이너 발견: "+t+" ("+c+"번째 시도, "+c*s+n(366)),void e(u);if(c>=l){const e=n(365)+t+n(382)+t+n(348)+r+n(347)+c+n(362);return o&&console[n(332)](e),void i(new Error(e))}o&&c%10==0&&console[n(396)]("⏳ 컨테이너 대기 중: "+t+" ("+c+"/"+l+")");const p=Math[n(354)](s*Math[n(373)](1.2,c),500);setTimeout(d,p)};setTimeout(d,s)}))}static async[f(372)](t,e={}){const n=f,r=t[n(388)](t=>this.waitForElement(t,e));return Promise[n(384)](r)}}const I=v;function v(t,e){const n=b();return(v=function(t,e){return n[t-=315]})(t,e)}function b(){const t=["796812IwfWFl","6899877SXWMQu","50615BaswHK",'"3.0.5"',"104cDixTg","undefined","userAgent","2370501TqpSai","10vwvcSG","54453fYbVOk","888408mVONvy","238298cLYLFw","40cORphh"];return(b=function(){return t})()}!function(){const t=v,e=b();for(;;)try{if(267783===-parseInt(t(327))/1+parseInt(t(315))/2*(parseInt(t(325))/3)+parseInt(t(320))/4*(-parseInt(t(318))/5)+-parseInt(t(316))/6+-parseInt(t(323))/7+parseInt(t(326))/8+parseInt(t(317))/9*(parseInt(t(324))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const w=I(319);function E(){return w}const k=S;function x(){const t=["toString","adstage_device_id","timeZone","UTC","getScrollInfo","2936xnPKre","width","8JkWJOj","test","left","1.0.0","toLowerCase","userAgent","generateDeviceId",",y:","height","37610FcQtIV","getPlatform","connection","device_","generateSessionId","effectiveType","getBoundingClientRect","adstage_session_id","1474OzxwLj","round","194125HZWWsH","random","isBrowser","now","colorDepth","2773548kGOwii","pixelRatio","session_","6ShKmaz","getItem","safeGetElementById","567845WcQpst","scrollTop","setItem","3091809zmxYZM","isMobile","platform","9108eURPsW","DateTimeFormat","ssr_device_","unknown","SSR","ios","substr","top","getSlotPosition","web","844092AkRWbA","collectDeviceInfo"];return(x=function(){return t})()}function S(t,e){const n=x();return(S=function(t,e){return n[t-=447]})(t,e)}!function(){const t=S,e=x();for(;;)try{if(508366===parseInt(t(474))/1*(-parseInt(t(482))/2)+parseInt(t(501))/3+-parseInt(t(455))/4*(parseInt(t(485))/5)+parseInt(t(479))/6+parseInt(t(488))/7+-parseInt(t(453))/8*(parseInt(t(491))/9)+parseInt(t(464))/10*(parseInt(t(472))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static[k(461)](){const t=k;if(!y[t(476)]())return t(493)+Date.now();const e=localStorage[t(483)](t(449));if(e)return e;const n=t(467)+Math[t(475)]()[t(448)](36)[t(497)](2,9)+"_"+Date[t(477)]();return localStorage[t(487)](t(449),n),n}static[k(468)](){const t=k;if(!y.isBrowser())return"ssr_session_"+Date[t(477)]();const e=sessionStorage.getItem(t(471));if(e)return e;const n=t(481)+Math[t(475)]()[t(448)](36)[t(497)](2,9)+"_"+Date.now();return sessionStorage[t(487)](t(471),n),n}static[k(489)](){const t=k;return!!y.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(460)])}static[k(465)](){const t=k;if(!y[t(476)]())return t(500);const e=navigator[t(460)][t(459)]();return/iphone|ipad|ipod/[t(456)](e)?t(496):/android/[t(456)](e)?"android":A.isMobile()?t(500):"desktop"}static[k(447)](){const t=k,e=y.getViewportInfo();return{deviceId:A.generateDeviceId(),sessionId:A[t(468)](),osVersion:y[t(476)]()?navigator.platform:"SSR",deviceModel:y[t(476)]()?navigator[t(490)]:t(495),appVersion:t(458),sdkVersion:E(),language:y[t(476)]()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:y.isBrowser()?navigator.userAgent:t(495),timezone:y[t(476)]()?Intl[t(492)]().resolvedOptions()[t(450)]:t(451),viewportWidth:e.width,viewportHeight:e[t(463)],screenWidth:y[t(476)]()?screen[t(454)]:0,screenHeight:y[t(476)]()?screen[t(463)]:0,colorDepth:y[t(476)]()?screen[t(478)]:24,pixelRatio:e[t(480)],connectionType:y.isBrowser()?navigator[t(466)]?.[t(469)]||"unknown":t(494),platform:A[t(465)]()}}static[k(499)](t){const e=k,n=y[e(484)](t);if(!n)return e(494);const r=n[e(470)](),s=y[e(452)]();return"x:"+Math[e(473)](r[e(457)])+e(462)+Math.round(r[e(498)]+s[e(486)])}}const T=R;!function(){const t=R,e=_();for(;;)try{if(790256===parseInt(t(225))/1*(-parseInt(t(222))/2)+parseInt(t(231))/3*(-parseInt(t(221))/4)+-parseInt(t(234))/5+parseInt(t(228))/6+-parseInt(t(235))/7*(-parseInt(t(227))/8)+parseInt(t(219))/9+parseInt(t(229))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class C{static[T(230)](t,e){const n=T;if(!t)throw new Error(n(223));const r={"x-api-key":t,"Content-Type":e?.contentType||n(233)};return typeof navigator!==n(232)&&(r["User-Agent"]=e?.[n(224)]||navigator.userAgent),r}static[T(220)](t,e){const n=T,r=C[n(230)](t);return e?.userAgent&&(r[n(226)]=e[n(224)]),r}}function R(t,e){const n=_();return(R=function(t,e){return n[t-=219]})(t,e)}function _(){const t=["createForEvents","476kSRNjT","4306ewIXxw","API key is required","userAgent","91UmQxGw","User-Agent","3024AukOTF","1176084OuDSdY","2046370QbbOjj","create","12078vBUpPp","undefined","application/json","677420jxGtQN","8197rGllsU","6817212Xmpfkw"];return(_=function(){return t})()}const D=L;function L(t,e){const n=B();return(L=function(t,e){return n[t-=333]})(t,e)}function B(){const t=["width","containerId","string","2412896kWJLvY","6aEYumf","/advertisements/events/","NOT_SET","❌ Failed to track advertisement event:","platform","now","statusText"," in slot ","2zYtetS"," event for ad ","sessionId","debug","456780ZleoWN","1596315VelgZC","error","referrer","adType","text","baseUrl","100789UDJrpd","14888axJflt","getPageInfo","2318701FYQoRY","collectDeviceInfo","860060lzdFeF","log","status","📡 API Response Status: ","slots","apiKey","🚀 Sending advertisement event: ","POST","substring","129XATauU","✅ Successfully tracked advertisement event: ","trackAdvertisementEvent"," - ","🔍 Debug info:","🌐 Full API call details:","🚀 AdvertisementEventTracker: Processing ","API request failed: ","parseNumericValue","stringify","getSlotPosition","9gKXpsX"," for ad ","length","title","..."];return(B=function(){return t})()}!function(){const t=L,e=B();for(;;)try{if(160433===-parseInt(t(352))/1*(parseInt(t(341))/2)+parseInt(t(366))/3*(parseInt(t(353))/4)+parseInt(t(357))/5*(-parseInt(t(333))/6)+parseInt(t(346))/7+parseInt(t(385))/8*(parseInt(t(377))/9)+-parseInt(t(345))/10+-parseInt(t(355))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{constructor(t,e,n,r){const s=L;this[s(351)]=t,this[s(362)]=e,this[s(344)]=n,this[s(361)]=r}async[D(368)](t,e,n){const r=D;try{this[r(344)]&&console[r(358)](r(372)+n+r(342)+t+r(340)+e);const s=this[r(361)].get(e),o=A[r(356)](),i={adType:s?.[r(349)]||"BANNER",platform:o[r(337)],deviceId:o.deviceId,deviceInfo:o,pageUrl:y[r(354)]().url,pageTitle:y[r(354)]()[r(380)],referrer:y[r(354)]()[r(348)],slotId:e,slotPosition:A[r(376)](s?.[r(383)]||""),slotWidth:P[r(374)](s?.[r(382)]),slotHeight:P[r(374)](s?.height),sessionId:o[r(343)],pageLoadTime:performance[r(338)](),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[r(338)]()},...n===a.VIEWABLE&&{isViewable:!0,iabCompliant:!0}},c=this[r(351)]+r(334)+t+"/"+n,l=C.createForEvents(this[r(362)],i);this[r(344)]&&(console[r(358)](r(363)+n+r(378)+t,{url:c,headers:l,eventData:i}),console.log(r(371),{method:r(364),url:c,hasApiKey:!!this[r(362)],bodySize:JSON.stringify(i)[r(379)]}));const d=await fetch(c,{method:"POST",headers:l,body:JSON[r(375)](i)});if(this[r(344)]&&console[r(358)](r(360)+d[r(359)]+" "+d[r(339)],{url:c,ok:d.ok}),!d.ok){const t=await d[r(350)]();throw new Error(r(373)+d[r(359)]+" "+d[r(339)]+r(369)+t)}this[r(344)]&&console[r(358)](r(367)+n+r(378)+t)}catch(s){console[r(347)](r(336),s),console[r(347)](r(370),{baseUrl:this[r(351)],apiKey:this[r(362)]?this.apiKey[r(365)](0,8)+r(381):r(335),url:this[r(351)]+r(334)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[D(374)](t){if("number"==typeof t)return t;if(typeof t===D(384)){const e=parseFloat(t.replace(/px$/,""));return isNaN(e)?0:e}return 0}}var U=O;function O(t,e){var n=z();return(O=function(t,e){return n[t-=112]})(t,e)}function z(){var t=["initIntersectionObserver","isViewableTriggered","69aqXKeL","7bVBAKX","onViewableCallback","element","observe","IntersectionObserver not supported, viewability tracking disabled","855500jFrzsz","107272RYrKyE","24454uNzcmz","visible","177888nNlaME","hidden","isDocumentVisible","1298064nBamXA","destroy","observer","handleIntersection","0px","350127kwmVBj","forEach","disconnect","642272eRAsdP"];return(z=function(){return t})()}!function(){for(var t=O,e=z();;)try{if(163140===-parseInt(t(130))/1+-parseInt(t(128))/2*(-parseInt(t(120))/3)+-parseInt(t(127))/4+-parseInt(t(126))/5+-parseInt(t(133))/6*(-parseInt(t(121))/7)+parseInt(t(117))/8+-parseInt(t(114))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class N{constructor(t,e){var n=O;this.observer=null,this.isViewableTriggered=!1,this[n(123)]=t,this.onViewableCallback=e,this[n(118)]()}[U(118)](){var t=U;"IntersectionObserver"in window?(this[t(135)]=new IntersectionObserver(e=>this[t(112)](e),{threshold:.5,rootMargin:t(113)}),this[t(135)][t(124)](this[t(123)])):console.warn(t(125))}handleIntersection(t){var e=U;t[e(115)](t=>{var n=e;t.intersectionRatio>=.5&&this.isDocumentVisible()&&!this[n(119)]&&(this.isViewableTriggered=!0,this[n(122)]&&this[n(122)]())})}[U(132)](){var t=U;return!document[t(131)]&&document.visibilityState===t(129)}[U(134)](){var t=U;this[t(135)]&&(this[t(135)][t(116)](),this[t(135)]=null)}}const M=H;function V(){const t=["8803454lbGCNW","https://api.adstage.io","2ndObBp","advertisements","136DGjKRo","startsWith","85611hjhxwg","380tVxwcn","list","baseUrl","/advertisements","track","236720JVcOZf","21366YYSAqc","events","/advertisements/list","71218jNcvAj","4xbgAuK","708972rEEIZb","214804vJrdHC","/advertisements/events","getBaseUrl","setBaseUrl"];return(V=function(){return t})()}!function(){const t=H,e=V();for(;;)try{if(128297===-parseInt(t(449))/1*(parseInt(t(455))/2)+-parseInt(t(459))/3*(parseInt(t(447))/4)+-parseInt(t(442))/5+-parseInt(t(448))/6+-parseInt(t(446))/7*(parseInt(t(457))/8)+parseInt(t(443))/9*(-parseInt(t(460))/10)+parseInt(t(453))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const F={production:M(454),beta:"https://beta-api.adstage.app"};function H(t,e){const n=V();return(H=function(t,e){return n[t-=442]})(t,e)}const j={advertisements:{list:M(445),detail:M(463),events:M(450)},events:{track:"/events/track"}};class W{constructor(t){const e=M;this.advertisements={list:()=>""+this[e(462)]+j.advertisements[e(461)],detail:t=>""+this[e(462)]+j.advertisements.detail+"/"+t,events:(t,n)=>""+this[e(462)]+j[e(456)][e(444)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(462)]+j[e(444)][e(464)]},this[e(462)]=t||F.production}[M(452)](t){this[M(462)]=t}[M(451)](){return this[M(462)]}custom(t){const e=M;return""+this[e(462)]+(t[e(458)]("/")?t:"/"+t)}}const K=new W;var Y=X;function X(t,e){var n=Z();return(X=function(t,e){return n[t-=283]})(t,e)}function Z(){var t=[") in slot: ","VIEWABLE","51952MWmyPM","14970IgCElL"," (index: ","2aWxhGy","351XLvBZJ","1142997IcmnML","trackSlideViewable","3778908bqmmZJ","_id","4018300EvwfGl","1604bpgJzv","1794688KUikMH","176207RuOiJZ"," (index: 0) in slot: ","log","🎯 Triggering initial VIEWABLE event: ad "];return(Z=function(){return t})()}!function(){for(var t=X,e=Z();;)try{if(729270===parseInt(t(290))/1*(parseInt(t(299))/2)+parseInt(t(283))/3+parseInt(t(288))/4*(parseInt(t(297))/5)+-parseInt(t(285))/6+parseInt(t(289))/7+parseInt(t(296))/8*(-parseInt(t(300))/9)+-parseInt(t(287))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class q{static[Y(284)](t,e,n,r,s=!1){var o=Y;s&&console[o(292)]("🎯 Triggering VIEWABLE event for slide change: ad "+t[o(286)]+o(298)+n+o(294)+e.id),r(t[o(286)],e.id,a[o(295)])}static trackInitialSlideViewable(t,e,n,r=!1){var s=Y;r&&console[s(292)](s(293)+t[s(286)]+s(291)+e.id),n(t[s(286)],e.id,a.VIEWABLE)}}function Q(t,e){const n=J();return(Q=function(t,e){return n[t-=194]})(t,e)}const G=Q;function J(){const t=["🔗 ","open"," -> "," ad clicked: ","log","2397032AZEHnc","toLowerCase","CLICK","cursor","addClickEventForSlider","35ERiVmd","8goQaga","preventDefault","273974dQfidW","_blank","2228324jgnwyN","forEach","_id","addClickEventForRenderer","isClickable","96018IqjZWB","3055930MHTguK","click","stopPropagation","pointer","adType","addClickEvent","addEventListener","13741130psGfOr","9tXPeqD","310809JHYwXA","linkUrl","style"];return(J=function(){return t})()}!function(){const t=Q,e=J();for(;;)try{if(360188===-parseInt(t(203))/1+-parseInt(t(201))/2*(parseInt(t(220))/3)+-parseInt(t(205))/4+parseInt(t(211))/5+-parseInt(t(210))/6*(parseInt(t(200))/7)+parseInt(t(195))/8*(-parseInt(t(219))/9)+parseInt(t(218))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ${static[G(216)](t,e,n,r,s=!1,o){const i=G;e[i(221)]&&(t.style[i(198)]=i(214),t[i(217)]("click",t=>{const c=i;if(t[c(202)](),t[c(213)](),r&&r(e[c(207)],n.id,a.CLICK),window[c(224)](e[c(221)],c(204)),s){const t=o||String(n.adType)[c(196)]();console[c(194)](c(223)+t+" ad clicked: "+e[c(207)]+c(225)+e[c(221)])}}))}static[G(208)](t,e,n,r,s=!1,o){const i=G;e[i(221)]&&(t[i(222)][i(198)]=i(214),t[i(217)](i(212),t=>{const c=i;t[c(202)](),t[c(213)]();if(r()(e[c(207)],n.id,a[c(197)]),window.open(e[c(221)],c(204)),s){const t=o||String(n[c(215)]).toLowerCase();console[c(194)](c(223)+t+c(226)+e._id+c(225)+e[c(221)])}}))}static[G(199)](t,e,n,r,s=!1,o){this[G(216)](t,e,n,r,s,o)}static[G(209)](t){return Boolean(t[G(221)])}static addClickEventsBatch(t,e,n,r,s=!1,o){const i=G;t[i(206)]((t,a)=>{const c=i,l=e[a];l&&this[c(216)](t,l,n,r,s,o)})}}function tt(t,e){const n=nt();return(tt=function(t,e){return n[t-=115]})(t,e)}const et=tt;function nt(){const t=["trackSlideViewable","imageUrl","string","height","length","translateX(-","none","#666666","#f9f9f9","videoUrl","Banner Ad","1px dashed #ccc","#cccccc","VIDEO","1420942xJNysO","forEach","createElement","style","transition","opacity",".adstage-dot","setAttribute","add","textContent","_id","background","includes","normal","162HNdyAZ","mouseenter","transform 0.4s ease-out","img","auto","TEXT","remove","hidden","className","width","flex"," Ad","appendChild","every","transform","fontSize","createMinimalDotIndicator","querySelectorAll","#000","\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 ","active","objectFit","288590orqukY","video","src","cssText","touchmove","preventDefault","color","classList","addTouchSupport","75euVbNh","231616BaPZva","312wsoSjD","overflow","adstage-dots","BANNER","white","transparent","14px","padding","100px","div","addClickEventForSlider","toLowerCase","borderColor","73230xuefEe","0.9","100%","touchstart","adstage-ad adstage-","center","backgroundColor","1Gojcrh","data-adstage-ad-id","inline-block","0.7","\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 ","createSliderContainer","clientX","entries","adstage-slider-wrapper","313008BeBDYP","5908qzIbqO","50px","border","relative","display","8px","cover","mouseleave","getBoundingClientRect","addEventListener","200px","children","button","3356725bUwrUi","touchend","changedTouches","touches","click","adType","287pXyeVW","createSimpleAdElement","whiteSpace","setProperty"];return(nt=function(){return t})()}!function(){const t=tt,e=nt();for(;;)try{if(370251===-parseInt(t(118))/1*(parseInt(t(165))/2)+parseInt(t(210))/3*(parseInt(t(128))/4)+parseInt(t(141))/5+parseInt(t(225))/6*(parseInt(t(147))/7)+parseInt(t(127))/8*(-parseInt(t(179))/9)+parseInt(t(201))/10+parseInt(t(211))/11*(parseInt(t(212))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static createSimpleAdElement(t,n){const r=tt,s=document[r(167)]("div");switch(s[r(187)]=r(115)+String(t[r(146)]).toLowerCase(),s[r(172)](r(119),n[r(175)]),s.setAttribute("data-adstage-slot-id",t.id),s[r(168)][r(132)]="block",s[r(168)][r(188)]="100%",s[r(168)][r(154)]=r(183),t[r(146)]){case e[r(215)]:if(n.imageUrl){const t=document[r(167)](r(182));t.src=n[r(152)],t.style[r(188)]="100%",t.style[r(154)]=r(183),t[r(168)][r(200)]=r(134),s[r(191)](t)}else s.style.height="100px",s[r(168)][r(117)]="#f0f0f0",s[r(168)][r(130)]=r(162),s[r(174)]=r(161);break;case e[r(164)]:if(n.videoUrl){const t=document[r(167)](r(202));t[r(203)]=n[r(160)],t.style[r(188)]=r(227),t.style.height="auto",s[r(191)](t)}else s.style[r(154)]=r(138),s[r(168)].backgroundColor=r(197),s[r(168)].border="1px solid #666",s.textContent="Video Ad",s.style[r(207)]=r(216);break;case e[r(184)]:if(n[r(174)]){const t=document[r(167)]("div");t[r(174)]=n[r(174)]||"",t[r(168)].padding=r(133),t[r(168)][r(194)]=r(218),s[r(191)](t)}else s.style[r(154)]=r(129),s.style[r(219)]="8px",s.textContent="Text Ad";break;default:s[r(168)][r(154)]=r(220),s.style.border=r(162),s[r(168)][r(117)]=r(159),s[r(174)]=t[r(146)]+r(190)}return s}static[et(123)](t,n,r,s,o=!1){const i=et,a=document[i(167)]("div");a[i(187)]=i(126);const c={position:i(131),overflow:i(186)};if(t[i(188)]&&0!==t[i(188)]){let e;e="string"==typeof t[i(188)]?t.width[i(177)]("px")||t[i(188)][i(177)]("%")?t.width:t[i(188)]+"px":t.width+"px",c[i(188)]=e,c[i(132)]=i(120)}else c[i(132)]=i(120);if(t[i(154)]&&0!==t[i(154)]){const e=typeof t[i(154)]===i(153)?t.height:t[i(154)]+"px";c.height=e}Object[i(125)](c)[i(166)](([t,e])=>{a.style.setProperty(t,e)});const l=!t[i(188)]||0===t.width,d=!t[i(154)]||0===t.height;if(l||d){const e=document.createElement(i(221));if(e[i(168)].cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!l&&t[i(188)]){let n;n="string"==typeof t[i(188)]&&(t[i(188)][i(177)]("px")||t.width[i(177)]("%"))?t[i(188)]:t[i(188)]+"px",e[i(168)][i(188)]=n,e[i(168)][i(149)]=i(178)}document.body[i(191)](e);let r=0,s=0;n[i(166)](n=>{const o=i,a=this[o(148)](t,n);e.appendChild(a);const c=a[o(136)]();c[o(188)]>r&&(r=c.width),c[o(154)]>s&&(s=c[o(154)]),e.removeChild(a)}),l&&r>0&&(a.style[i(188)]=r+"px",c[i(188)]=r+"px"),d&&s>0&&(a[i(168)][i(154)]=s+"px",c[i(154)]=s+"px"),document.body.removeChild(e)}const u=[...n,n[0]],p=document[i(167)](i(221));p.className="adstage-slide-container";const h={display:i(189),transition:i(181),width:100*u[i(155)]+"%"};t[i(154)]&&0!==t[i(154)]&&(h[i(154)]=i(227)),Object[i(125)](h)[i(166)](([t,e])=>{const n=i;p[n(168)][n(150)](t,e)}),u[i(166)]((e,n)=>{const r=i,a=document[r(167)](r(221));a[r(187)]="adstage-slide";const c={width:100/u[r(155)]+"%","flex-shrink":"0",display:r(189),"align-items":r(116),"justify-content":r(116)};t[r(154)]&&0!==t.height&&(c[r(154)]=r(227)),Object[r(125)](c)[r(166)](([t,e])=>{const n=r;a.style[n(150)](t,e)});const l=this[r(148)](t,e);$[r(222)](l,e,t,s,o,String(t[r(146)])[r(223)]()),a[r(191)](l),p[r(191)](a)});const f=n[i(192)](t=>t[i(146)]===e.TEXT)?null:this[i(195)](n[i(155)]);let g=0;const m=n.length,y=1e3*(r?.autoSlideInterval||3),I=(e,r=!1)=>{const a=i;g=e,p[a(168)][a(169)]=r?a(157):"transform 0.4s ease-out",p[a(168)][a(193)]=a(156)+100/u.length*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(171)).forEach((t,e)=>{const n=a,r=t;e===c?(r[n(208)][n(173)](n(199)),r[n(168)].background=n(158),r[n(168)].borderColor="#666666",r[n(168)][n(170)]="1"):(r.classList[n(185)](n(199)),r[n(168)][n(176)]=n(217),r[n(168)].borderColor=n(163),r[n(168)][n(170)]=n(121))})}q[a(151)](n[c],t,c,s,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(196)](i(171))[i(166)]((t,e)=>{const n=i;t[n(137)](n(145),()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a[i(137)](i(180),()=>{clearInterval(b)}),a[i(137)](i(135),()=>{b=setInterval(()=>{I(g+1),v()},y)}),this.addTouchSupport(p,I,()=>g,m,v),a[i(191)](p),f&&a[i(191)](f),I(0),(!t[i(188)]||0===t[i(188)])&&setTimeout(()=>{const e=i,n=p[e(139)][0];if(n){const r=n.children[0];if(r){const n=r[e(136)]();a[e(168)].width=n[e(188)]+"px",(!t[e(154)]||0===t[e(154)])&&(a[e(168)][e(154)]=n.height+"px"),a[e(168)][e(213)]="hidden"}}},10),a}static[et(195)](t){const e=et,n=document[e(167)]("div");n[e(187)]=e(214),n.style[e(204)]=e(122);for(let r=0;r<t;r++){const t=document.createElement(e(140));t[e(187)]="adstage-dot",t.style[e(204)]=e(198),t.addEventListener(e(180),()=>{const n=e;!t.classList.contains(n(199))&&(t.style.borderColor="#999999",t[n(168)][n(170)]=n(226))}),t.addEventListener("mouseleave",()=>{const n=e;!t.classList.contains(n(199))&&(t[n(168)][n(224)]=n(163),t[n(168)].opacity=n(121))}),n.appendChild(t)}return n}static[et(209)](t,e,n,r,s){const o=et;let i=0,a=!1;t.addEventListener(o(228),t=>{const e=o;i=t[e(144)][0][e(124)],a=!0}),t[o(137)](o(205),t=>{a&&t[o(206)]()}),t[o(137)](o(142),t=>{const c=o;if(!a)return;a=!1;const l=t[c(143)][0][c(124)],d=i-l;if(Math.abs(d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const st=it;function ot(){const t=["4357134RmKQYL","delete","8aSOYQN","viewableTracker","289191ZdZYvV","clear","Duplicate viewable blocked for ad ","2fivOoK","2644242ignYur","✅ New viewable recorded for ad ","1746930stspmh","775307GFTnhK","isDuplicateViewable","5106269TjDNEN","20ZLNStA"," in slot ","4171120IfUeKw"];return(ot=function(){return t})()}function it(t,e){const n=ot();return(it=function(t,e){return n[t-=190]})(t,e)}!function(){const t=it,e=ot();for(;;)try{if(411838===-parseInt(t(199))/1*(parseInt(t(195))/2)+-parseInt(t(192))/3*(-parseInt(t(202))/4)+parseInt(t(198))/5+-parseInt(t(196))/6+parseInt(t(201))/7*(parseInt(t(190))/8)+parseInt(t(205))/9+-parseInt(t(204))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static[st(200)](t,e,n=!1){const r=st,s=t+"_"+e;return at[r(191)].has(s)?(n&&console.log(r(194)+t+r(203)+e),!0):(at[r(191)].add(s),n&&console.log(r(197)+t+" in slot "+e),!1)}static clear(){const t=st;at[t(191)][t(193)]()}static clearAdViewable(t,e){const n=st,r=t+"_"+e;at[n(191)][n(206)](r)}}at[st(191)]=new Set;const ct=lt;function lt(t,e){const n=dt();return(lt=function(t,e){return n[t-=375]})(t,e)}function dt(){const t=["2px dashed #e74c3c","getComputedStyle","error","3850047pPljco","isDuplicateViewable","style","alignItems","1px dashed #ccc","log","placeholderMode","block","string","📏 Using 100% height (container: ","1949694fBPowO","4FSdxbh","29239VpcAdB","setAttribute","number","border","1ZAxMWt"," container collapsed (","unknown","warn","height","applyPlaceholderStyle","⚠️ AdvertisementEventTracker not available for ",") - Mode: ","fontSize","parentElement","rgba(231, 76, 60, 0.1)","3385050tNTfJh","flex",'[data-adstage-container="true"]',"getElementById","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","transparent","#e74c3c","div","none","filter","🔄 Starting advertisement event tracking: ","cssText","rgba(0, 0, 0, 0.02)","width","<span>Loading ","backgroundColor","11px",'div[style*="min-height"]',"data-adstage-slot","calculateAdSize","monospace",'[class*="banner"]',"center"," for ","display","containerId","#666",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"true",'div[style*="height"]',"⚠️ Created empty ","debug","1px solid rgba(0, 0, 0, 0.08)","createEmptyContainer","4px","querySelector","⚠️ ","hasAttribute","#f9f9f9","innerHTML","🚫 Duplicate viewable blocked for ad ",".adstage-slot","isEmpty","advertisement","generic","759212zvQEhW","data-adstage-type","456sUusHi","6px","invisible","📦 Placeholder created for ","classList","data-adstage-empty","className","toLowerCase","renderFallback","subtle","getDefaultHeight","closest","getAttribute","5DKpfpL","📏 Using default height ","createPlaceholder","❌ Failed to track ","fontFamily"," for ad ","100%","borderRadius","adstage-official","appendChild","adstage-slot adstage-empty adstage-","justifyContent","trackAdvertisementEvent","13964720XDNIPV","advertisementEventTracker"," in slot "," ad...</span>","✅ New viewable recorded for ad ",'[class*="ad"]',"auto","adType","3967362vdNgpY","px)",".adstage-","data-adstage-container"];return(dt=function(){return t})()}!function(){const t=lt,e=dt();for(;;)try{if(486812===parseInt(t(396))/1*(parseInt(t(452))/2)+-parseInt(t(390))/3*(parseInt(t(391))/4)+-parseInt(t(467))/5*(parseInt(t(488))/6)+parseInt(t(392))/7*(parseInt(t(454))/8)+-parseInt(t(380))/9+parseInt(t(407))/10+parseInt(t(480))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ut{constructor(t,e=!1,n){const r=lt;this[r(487)]=t,this.debug=e,this[r(481)]=n||null}[ct(469)](t,e,n,r){const s=ct,o=document.createElement(s(414));o.id=e,o[s(460)]="adstage-slot adstage-"+String(this[s(487)])[s(461)](),o[s(393)](s(376),"true"),o.setAttribute(s(453),String(this.adType)),o.setAttribute(s(425),e);const{width:i,height:a}=this[s(426)](t,n,r)||{width:"100%",height:this.getDefaultHeight()};o[s(382)][s(420)]=i,o[s(382)][s(400)]=a;const c=r?.[s(386)]||n.placeholderMode||s(456);this[s(401)](o,c),t.appendChild(o),this[s(438)]&&console[s(385)](s(457)+this[s(487)]+" slot: "+e+" ("+i+" x "+a+s(403)+c)}applyPlaceholderStyle(t,e){const n=ct;switch(e){case n(456):t[n(382)].backgroundColor="transparent",t.style.border=n(415),t.style.opacity="0",t[n(446)]="";break;case"transparent":t[n(382)][n(422)]=n(412),t[n(382)][n(395)]="none",t[n(382)][n(431)]=n(387),t.innerHTML="";break;case n(463):t[n(382)].backgroundColor=n(419),t.style[n(395)]=n(415),t[n(382)][n(474)]=n(441),t.style[n(431)]="flex",t.style[n(383)]=n(429),t[n(382)][n(478)]="center",t[n(446)]='<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>';break;case"minimal":t.style[n(422)]="rgba(248, 249, 250, 0.5)",t[n(382)][n(395)]=n(439),t[n(382)][n(474)]=n(455),t[n(382)].display=n(408),t[n(382)][n(383)]="center",t.style[n(478)]=n(429),t[n(446)]=n(434);break;case n(438):t[n(382)][n(395)]=n(377),t[n(382)][n(431)]="flex",t.style.alignItems=n(429),t[n(382)][n(478)]=n(429),t[n(382)][n(422)]=n(406),t[n(382)].color=n(413),t[n(382)][n(471)]=n(427),t[n(382)][n(404)]=n(423),t[n(446)]=n(421)+this[n(487)]+" ad...</span>";break;default:t.style.border=n(384),t[n(382)][n(431)]="flex",t[n(382)][n(383)]=n(429),t[n(382)][n(478)]=n(429),t[n(382)].backgroundColor=n(445),t.style.color=n(433),t[n(446)]=n(421)+this[n(487)]+n(483)}}calculateAdSize(t,e,n){const r=ct,s=e[r(420)],o=e[r(400)];let i,a;if(i=typeof s===r(394)?s+"px":typeof s===r(388)?s:r(473),typeof o===r(394))a=o+"px";else if("string"==typeof o&&o!==r(473)&&o!==r(486))a=o;else{const e=this.getContainerHeight(t);e>0?(a=r(473),(n?.[r(438)]||this[r(438)])&&console[r(385)](r(389)+e+r(489))):(a=this[r(464)](),(n?.[r(438)]||this[r(438)])&&console.log(r(468)+a+r(430)+this[r(487)]))}return{width:i,height:a}}getContainerHeight(t){const e=ct,n=window[e(378)](t),r=parseFloat(n[e(400)]);if(!r||0===r){const r=parseFloat(n.minHeight);if(r>0)return r;if(t.style[e(400)]&&"auto"!==t[e(382)][e(400)]){const n=parseFloat(t[e(382)][e(400)]);if(n>0)return n}const s=t[e(466)](e(400));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=lt;if(n===a.VIEWABLE){if(at[r(381)](t,e,this[r(438)]))return void(this[r(438)]&&console.log(r(447)+t+r(482)+e));this[r(438)]&&console[r(385)](r(484)+t+r(482)+e)}if(this[r(481)])try{this[r(438)]&&console[r(385)](r(417)+n+" for ad "+t+r(482)+e),await this.advertisementEventTracker[r(479)](t,e,n),this[r(438)]&&console.log("📊 Advertisement event tracked: "+n+r(472)+t+r(482)+e)}catch(e){this[r(438)]&&console[r(379)](r(470)+n+" event for ad "+t+":",e)}else this.debug&&console[r(399)](r(402)+n+" event")}}[ct(462)](t){const e=ct,n=document.getElementById(t.id);if(n){const r=[...[n[e(442)](e(409)),n[e(465)](e(409)),n][e(416)](t=>t&&t.hasAttribute("data-adstage-container")),...[n[e(465)](e(448)),n[e(465)](e(375)+String(this[e(487)])[e(461)]()),n[e(465)](e(485)),n[e(465)](e(428)),n[e(465)]('[class*="container"]'),n.closest(e(436)),n.closest(e(424)),n[e(405)]][e(416)](Boolean)][0];if(r){let n=e(398);n=r[e(444)](e(376))?e(475):r[e(458)].contains("adstage-slot")?"adstage-class":e(451),r[e(382)][e(418)]+=e(411),r[e(446)]="",r[e(393)](e(459),e(435)),this.debug&&console[e(399)](e(443)+this.adType+e(397)+n+"): "+t.id,r)}else this.createEmptyContainer(t)}t[e(450)]=void 0,t[e(449)]=!0}[ct(440)](t){const e=ct,n=document[e(410)](t[e(432)]);if(n){n[e(446)]="";const r=document.createElement(e(414));r.id=t.id,r[e(460)]=e(477)+String(this[e(487)]).toLowerCase(),r[e(393)](e(376),"true"),r.setAttribute(e(459),"true"),r[e(393)](e(425),t.id),r[e(382)].cssText="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n[e(476)](r),this[e(438)]&&console.warn(e(437)+this[e(487)]+" container: "+t.id)}}[ct(385)](t,...e){const n=ct;this[n(438)]&&console[n(385)]("["+this[n(487)]+"] "+t,...e)}}const pt=ft;function ht(){const t=["Container not found: ","optimizedHeight","max","❌ Failed to load optimized banner image:","getDefaultHeight","set","objectPosition","2dwmaAY","map","_id","getBoundingClientRect","alt","Banner","values","imageUrl","🎠 Banner carousel created for slot: "," ads (optimized: ","449292hCYpTt"," (avg: ","div","🔧 Banner container optimized for ","Failed to calculate optimal banner size, using defaults:","reduce","aspectRatio","renderAdElement",", ratio=","onload","optimizeContainerForBannerAds","debug","appendChild","width","loadImageDimensions","toFixed","adstage-ad adstage-banner-ad","forEach","3080YaGNNR","contain","count","length","Banner Advertisement","<div>","BANNER","slideInterval","className","innerHTML","Failed to load image: ","style","</div>","cover","16:9","250px","height","common","1050126SRmtqL","display","naturalHeight","center","📦 Banner container dimensions: ","1026045XbseIZ","renderOptimizedBannerImage","renderMultipleAds","applyOptimizedImageStyle","get","getElementById","config","from","block","ratio","average","src","default","createEventTrackingCallback","786600EsyvFE","log","1:1","calculateOptimalContainerSize","4:3","title","#f0f0f0","2988XYCWpf","100%","createElement","toString","round","filter","162086qchmLy","containerId","📸 Banner image dimensions: ","name","Image URL is not provided","warn","980336eeIZYy","addClickEventForRenderer","🎨 Banner image style applied: objectFit=","calculateAdSize","objectFit","calculateOptimalHeight",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"some","abs","selectOptimalSizeStrategy","createSliderContainer"];return(ht=function(){return t})()}function ft(t,e){const n=ht();return(ft=function(t,e){return n[t-=365]})(t,e)}!function(){const t=ft,e=ht();for(;;)try{if(141912===-parseInt(t(439))/1*(parseInt(t(463))/2)+parseInt(t(371))/3+parseInt(t(426))/4+-parseInt(t(412))/5+parseInt(t(407))/6+-parseInt(t(445))/7+parseInt(t(389))/8*(parseInt(t(433))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class gt extends ut{constructor(t=!1,n){super(e[ft(395)],t,n)}[pt(460)](){return pt(404)}async[pt(378)](t,e){const n=pt,r=document[n(417)](t.containerId);if(!r)return;const s=document[n(435)](n(373));s[n(397)]=n(387);const o=t[n(457)],i=r.parentElement||r;if(o)s[n(400)][n(384)]=n(434),s.style[n(405)]=String(o);else{const e=t[n(418)],r={width:e?.width,height:e?.[n(405)]},{width:o,height:a}=this[n(448)](i,r,{debug:this[n(382)]});s[n(400)][n(384)]=o,s.style[n(405)]=a}e[n(368)]?await this[n(413)](s,e,t):s[n(398)]=n(394)+(e.title||"Banner Ad")+n(401),$[n(446)](s,e,t,()=>this[n(425)](),this.debug,n(366)),r[n(398)]="",r[n(383)](s)}async[pt(414)](t,e){const n=pt,r=document[n(417)](t[n(440)]);if(!r)throw new Error(n(456)+t.containerId);await this[n(381)](t,e);const s=this.createEventTrackingCallback(),o={autoSlideInterval:(t[n(418)]?.[n(396)]||5e3)/1e3,...t.config,optimizedHeight:t.optimizedHeight,aspectRatio:t[n(377)]},i=rt[n(455)](t,e,o,s,this[n(382)]);i&&(r[n(398)]="",r[n(383)](i),this[n(382)]&&console[n(427)](n(369)+t.id+" with "+e[n(392)]+n(370)+(t[n(457)]||n(424))+")"))}async calculateOptimalContainerSize(t,e){const n=pt;if(!t.length)return{width:n(434),height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise.allSettled(t[n(438)](t=>t.imageUrl)[n(464)](t=>this[n(385)](t.imageUrl)))).filter(t=>"fulfilled"===t.status).map(t=>t.value);if(0===r[n(392)])return{width:n(434),height:this[n(460)](),aspectRatio:16/9};const s=this[n(454)](r),o=this.calculateOptimalHeight(r,e,s);return this[n(382)]&&console[n(427)]("📐 Optimal banner container calculated: "+e+"x"+o+" (strategy: "+s+")"),{width:n(434),height:o+"px",aspectRatio:e/o}}catch(t){return console[n(444)](n(375),t),{width:n(434),height:this[n(460)](),aspectRatio:16/9}}}async[pt(381)](t,e){const n=pt;try{const r=document[n(417)](t[n(440)]),s=document[n(417)](t.id);if(!r||!s)return;const o=r[n(466)]()[n(384)]||300,i=await this[n(429)](e,o);s.style.height=i[n(405)],t[n(457)]=i[n(405)],t[n(377)]=i.aspectRatio,this[n(382)]&&console[n(427)](n(374)+e.length+" ads: "+i[n(405)])}catch(t){console[n(444)]("Banner container optimization failed, using default size:",t)}}[pt(454)](t){const e=pt,n=t[e(464)](t=>t[e(384)]/t.height),r=new Map;n[e(388)](t=>{const n=e,s=(Math[n(437)](10*t)/10)[n(436)]();r.set(s,(r[n(416)](s)||0)+1)});const s=Math[e(458)](...r[e(367)]()),o=t[e(392)];if(s/o>=.7)return"dominant";const i=[16/9,4/3,1,1.5],a=n[e(438)](t=>i[e(452)](n=>Math[e(453)](t-n)<.1))[e(392)];return e(a/o>=.5?406:422)}[pt(450)](t,e,n){const r=pt,s=t[r(464)](t=>t.width/t.height);switch(n){case"dominant":{const t=new Map;s[r(388)](e=>{const n=r,s=Math[n(437)](10*e)/10,o=s[n(436)](),i=t[n(416)](o);i?i[n(391)]++:t[n(461)](o,{ratio:s,count:1})});const n=Array[r(419)](t.values()).reduce((t,e)=>e[r(391)]>t[r(391)]?e:t);return Math[r(437)](e/n.ratio)}case r(406):{const t=[{ratio:16/9,name:r(403)},{ratio:4/3,name:r(430)},{ratio:1,name:r(428)},{ratio:1.5,name:"3:2"}],n=s[r(376)]((t,e)=>t+e,0)/s[r(392)],o=t[r(376)]((t,e)=>Math.abs(e[r(421)]-n)<Math[r(453)](t[r(421)]-n)?e:t);return this[r(382)]&&console[r(427)]("📊 Using standard ratio: "+o[r(442)]+r(372)+n[r(386)](2)+")"),Math.round(e/o[r(421)])}case r(422):default:{const t=s[r(376)]((t,e)=>t+e,0)/s.length;return Math[r(437)](e/t)}}}loadImageDimensions(t){return new Promise((e,n)=>{const r=ft,s=new Image;s[r(380)]=()=>{const t=r;e({width:s.naturalWidth,height:s[t(409)]})},s.onerror=()=>{n(new Error(r(399)+t))},s[r(423)]=t})}[pt(415)](t,e,n){const r=pt,s=e/n;Math[r(453)](s-1)<.1?(t[r(400)].objectFit=r(402),t[r(400)].objectPosition=r(410)):s>1.3?(t[r(400)][r(449)]=r(390),t[r(400)][r(462)]="center",t[r(400)].backgroundColor=r(432)):s<.7?(t.style[r(449)]="cover",t[r(400)][r(462)]="center"):(t[r(400)][r(449)]="cover",t[r(400)][r(462)]=r(410)),this[r(382)]&&console[r(427)](r(447)+t.style[r(449)]+r(379)+s[r(386)](2))}async[pt(413)](t,e,n){const r=pt,s=document.createElement("img");s.style[r(384)]=r(434),s.style[r(405)]="100%",s[r(400)][r(408)]=r(420),s[r(400)].borderRadius="8px",s[r(365)]=e[r(431)]||r(393),t.innerHTML=r(451);try{if(!e[r(368)])throw new Error(r(443));const o=await this[r(385)](e[r(368)]),i=t[r(466)](),a=i.width,c=i.height;this[r(382)]&&(console[r(427)](r(441)+o[r(384)]+"x"+o[r(405)]),console[r(427)](r(411)+a+"x"+c));const l=o[r(384)]/o[r(405)],d=a/c;return this[r(415)](s,l,d),s[r(423)]=e[r(368)],t.innerHTML="",t[r(383)](s),$[r(446)](s,e,n,()=>this[r(425)](),this[r(382)],r(366)),this[r(382)]&&console[r(427)]("✅ Optimized banner image rendered for ad: "+e[r(465)]),s}catch(o){return console.error(r(459),o),e.imageUrl&&(s[r(423)]=e[r(368)],s[r(400)][r(449)]=r(402),s[r(400)][r(462)]=r(410),t.innerHTML="",t[r(383)](s),$[r(446)](s,e,n,()=>this[r(425)](),this[r(382)],r(366))),s}}}function mt(){const t=["5903317OPpQYp","62294Gicegx","title","11385BMyAwV","4892728cWInkc","\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 ","1208811kkZCZy","1348THuoaX","260eMbieA","textContent","5470EQBrAZ","10miksMJ","createTextAdStyles","1000830LrSFjh"];return(mt=function(){return t})()}function yt(t,e){const n=mt();return(yt=function(t,e){return n[t-=457]})(t,e)}const It=yt;!function(){const t=yt,e=mt();for(;;)try{if(670105===parseInt(t(459))/1*(-parseInt(t(469))/2)+parseInt(t(464))/3+parseInt(t(465))/4*(-parseInt(t(466))/5)+-parseInt(t(457))/6+parseInt(t(458))/7+parseInt(t(462))/8+-parseInt(t(461))/9*(parseInt(t(468))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class vt{static[It(470)](t=!1){return It(463)}static setTextAdContent(t,e){const n=It,r=e.textContent||e[n(460)]||"";t[n(467)]=r}}function bt(){const t=["height","removeChild","cssText",";\n transform: translateY(","translateY(20px)","fit-content","appendChild","createSimpleAdElement","681410ZABZHt","clientX","className","Text","createTextAdStyles","div","1799864iGTQDa","\n position: relative;\n width: 100%;\n ","setAttribute","width","data-adstage-ad-id","data-adstage-slot-id","touchmove","length","129564jNQgVO","toLowerCase","entries","407103WLgbXM","touches","2VEWDgT",";\n top: ","435540RhZZRh","671435zGziqj","mouseleave","transform","whiteSpace","auto","position","relative","abs",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","body","hidden","opacity","style","forEach","top","absolute","adstage-fade-slide-container","block","4htDTfP","preventDefault","32wEFLyE","9XTYtTg","touchend","string","setTextAdContent","addEventListener","_id","left","includes",";\n left: ",";\n width: 100%;\n ","233369QcvcRU","zIndex","minHeight","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","adstage-fade-slide","changedTouches","touchstart","20px","height: auto;","addTouchSupport","setProperty","height: 100%;","createElement","clientY"];return(bt=function(){return t})()}const wt=Et;function Et(t,e){const n=bt();return(Et=function(t,e){return n[t-=343]})(t,e)}!function(){const t=Et,e=bt();for(;;)try{if(138372===parseInt(t(403))/1*(parseInt(t(369))/2)+-parseInt(t(367))/3+parseInt(t(390))/4*(-parseInt(t(372))/5)+parseInt(t(364))/6+-parseInt(t(371))/7*(-parseInt(t(392))/8)+-parseInt(t(393))/9*(-parseInt(t(350))/10)+-parseInt(t(356))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class kt{static[wt(349)](t,e){const n=wt,r=document.createElement(n(355));return r.className="adstage-ad adstage-"+String(t.adType)[n(365)](),r[n(358)](n(360),e[n(398)]),r[n(358)](n(361),t.id),r[n(384)].cssText=vt[n(354)](!0),vt[n(396)](r,e),r}static createTextTransitionContainer(t,e,n,r,s=!1){const o=wt,i=t[o(417)]&&0!==t[o(417)]&&t.height!==o(376),a=document[o(415)]("div");a[o(352)]="adstage-fade-slider-wrapper";const c={position:o(378),overflow:o(382),display:o(389)};if(!i&&(c.height="auto",c[o(405)]=o(347)),t[o(359)]&&0!==t[o(359)]){let e;e=typeof t[o(359)]===o(395)?t[o(359)][o(400)]("px")||t[o(359)][o(400)]("%")?t[o(359)]:t.width+"px":t[o(359)]+"px",c[o(359)]=e}if(t[o(417)]&&0!==t[o(417)]&&t[o(417)]!==o(376)&&i){let e;e="string"==typeof t[o(417)]?t[o(417)][o(400)]("px")||t[o(417)][o(400)]("%")?t[o(417)]:t.height+"px":t[o(417)]+"px",c[o(417)]=e}Object[o(366)](c)[o(385)](([t,e])=>{const n=o;a[n(384)][n(413)](t,e)});const l=document[o(415)]("div");l.className=o(388),l.style[o(344)]=o(357)+(i?o(414):"height: auto; min-height: fit-content;")+"\n ";let d=null;const u=!t[o(359)]||0===t[o(359)],p=!t.height||0===t[o(417)]||void 0===t[o(417)]||t[o(417)]===o(376);if(u||p&&i){if(d=document[o(415)](o(355)),d[o(384)].cssText=o(406),!u&&t.width){let e;e="string"==typeof t[o(359)]&&(t.width[o(400)]("px")||t[o(359)].includes("%"))?t.width:t[o(359)]+"px",d[o(384)].width=e,d[o(384)][o(375)]="normal"}document[o(381)][o(348)](d);let n=0,r=0;e[o(385)](e=>{const s=o,i=this[s(349)](t,e);d[s(348)](i);const a=i.getBoundingClientRect();a[s(359)]>n&&(n=a[s(359)]),a.height>r&&(r=a[s(417)]),d[s(343)](i)}),u&&n>0&&(a[o(384)][o(359)]=n+"px"),p&&r>0&&i&&(a[o(384)].height=r+"px"),document[o(381)][o(343)](d)}const h=[];e[o(385)]((e,n)=>{const a=o,c=document[a(415)](a(355));c[a(352)]=a(407);const d=a(i?387:0===n?378:387);c.style[a(344)]="\n position: "+d+a(370)+(d===a(387)?"0":a(376))+a(401)+(d===a(387)?"0":a(376))+a(402)+a(i?414:411)+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+a(345)+(0===n?"0":a(410))+a(380)+(0===n?"2":"1")+";\n ";const u=this.createSimpleAdElement(t,e);$.addClickEventForSlider(u,e,t,r,s,a(353)),c.appendChild(u),l[a(348)](c),h.push(c)});let f=0;const g=e[o(363)],m=1e3*(n?.autoSlideInterval||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],l=h[n];!i&&(c.style[a(377)]===a(378)&&(c[a(384)][a(377)]="absolute",c[a(384)][a(386)]="0",c[a(384)][a(399)]="0"),l[a(384)][a(377)]="relative",l[a(384)][a(386)]=a(376),l.style[a(399)]=a(376)),c[a(384)].opacity="0",c[a(384)][a(374)]="translateY(-20px)",c[a(384)][a(404)]="1",l[a(384)][a(383)]="1",l[a(384)].transform="translateY(0)",l.style[a(404)]="2",h[a(385)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(384)][r(383)]="0",t.style.transform=r(346),t[r(384)][r(404)]="1",!i&&t[r(384)][r(377)]===r(378)&&(t[r(384)][r(377)]="absolute",t[r(384)][r(386)]="0",t[r(384)][r(399)]="0"))}),f=n,q.trackSlideViewable(e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a[o(397)]("mouseenter",()=>{clearInterval(I)}),a.addEventListener(o(373),()=>{I=setInterval(()=>{y(f+1)},m)}),kt[o(412)](a,y,()=>f,g),a[o(348)](l),a}static[wt(412)](t,e,n,r){const s=wt;let o=0,i=0,a=!1;t[s(397)](s(409),t=>{const e=s;o=t[e(368)][0].clientX,i=t.touches[0][e(416)],a=!0}),t[s(397)](s(362),t=>{a&&t[s(391)]()}),t[s(397)](s(394),t=>{const r=s;if(!a)return;a=!1;const c=t[r(408)][0][r(351)],l=t[r(408)][0][r(416)],d=o-c,u=i-l;if(Math.abs(d)>Math[r(379)](u)&&Math.abs(d)>50){const t=n();e(d>0?t+1:t-1)}})}}function xt(t,e){const n=At();return(xt=function(t,e){return n[t-=106]})(t,e)}const St=xt;function At(){const t=["createElement","adstage-text-content","log","2535736VjrwZa","aspectRatio","height","webkitLineClamp","200869vpgPpj","4aeOhtn","54XKpiIb","1997559bNuDXT","maxLines","config","parentElement","vertical","8xETUgH","✨ Single text ad rendered: ","TEXT","367770VBiITi","width","display","Text","hidden","optimizedHeight","setTextAdContent","100%","11429MZArEX","renderMultipleAds","✨ Text transition created for slot: ","createTextTransitionContainer","684EfQJRi","createEventTrackingCallback","debug","appendChild","60px","div","638218tJWVuv","calculateAdSize","number","createTextAdStyles","27156gQqDTi","webkitBoxOrient","className","-webkit-box","getElementById","getDefaultHeight","addClickEventForRenderer","overflow","style","Container not found: ","cssText","104330WAXLDU"," with ","adstage-ad adstage-text-ad","containerId"];return(At=function(){return t})()}!function(){const t=xt,e=At();for(;;)try{if(519065===-parseInt(t(119))/1*(parseInt(t(127))/2)+-parseInt(t(122))/3+-parseInt(t(120))/4*(parseInt(t(130))/5)+-parseInt(t(121))/6*(-parseInt(t(148))/7)+-parseInt(t(115))/8+-parseInt(t(142))/9*(parseInt(t(108))/10)+parseInt(t(138))/11*(parseInt(t(152))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Tt extends ut{constructor(t=!1,n){super(e[xt(129)],t,n)}[St(157)](){return St(146)}async renderAdElement(t,e){const n=St,r=document[n(156)](t[n(111)]);if(!r)return;const s=document[n(112)](n(147));s[n(154)]=n(110);const o=t.optimizedHeight,i=r[n(125)]||r;if(o)s[n(160)][n(131)]=n(137),s[n(160)][n(117)]=String(o);else{const e=t[n(124)],r={width:e?.width,height:e?.[n(117)]},{width:o,height:a}=this[n(149)](i,r,{debug:this[n(144)]});s.style.width=o,s.style[n(117)]=a}const a=document[n(112)](n(147));a[n(154)]=n(113),a[n(160)][n(107)]=vt[n(151)](!1),vt[n(136)](a,e);const c=t[n(124)]?.[n(123)];c&&typeof c===n(150)&&(a.style[n(132)]=n(155),a[n(160)][n(118)]=String(c),a[n(160)][n(153)]=n(126),a[n(160)][n(159)]=n(134)),s.appendChild(a),$[n(158)](s,e,t,()=>this[n(143)](),this[n(144)],n(133)),r.innerHTML="",r[n(145)](s),this.debug&&console[n(114)](n(128)+e._id)}async[St(139)](t,e){const n=St,r=document[n(156)](t[n(111)]);if(!r)throw new Error(n(106)+t[n(111)]);const s=this[n(143)](),o={autoSlideInterval:(t.config?.slideInterval||5e3)/1e3,...t.config,optimizedHeight:t[n(135)],aspectRatio:t[n(116)]},i=kt[n(141)](t,e,o,s,this[n(144)]);i&&(r.innerHTML="",r[n(145)](i),this[n(144)]&&console.log(n(140)+t.id+n(109)+e.length+" ads"))}}const Ct=_t;function Rt(){const t=["Video","addEventListener","\n video::-webkit-media-controls-play-button {\n display: ","stopPropagation","containerId","VIEWABLE",'\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 ',"playsinline","background","catch","height","controls","createElement","none","imageUrl","2384676ekkqAs","2645940zzqITG","renderVideoElementDirect","🎬 Video config received:","5009564ZmftHY","contain"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","log","adstage-video-container","warn"," !important;\n }\n ","loop","appendChild","🎬 Video can play, attempting autoplay...","createEventTrackingCallback","debug","adstage-video-default-controls","config"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","innerHTML","2752902uInlVc","head"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","title","getElementById",", muted: ","metadata","scale(1)","muted","block","className","🎬 Auto-play was prevented:","disabled (default)","textContent","🎬 Single video ad rendered: ","rgba(0, 0, 0, 0.7)","🎬 Video data loaded, attempting autoplay...","hideProgressBar","\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 ","1fpTlDU","Video fallback","transform","360px"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","loadedmetadata","error","relative","src","10389512GOlwKT","Video load failed:","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","hideControls","addClickEventForRenderer","VIDEO"," (autoplay: "," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","length","mouseenter","🎬 Single video rendered for VIDEO slot: ","paused","mouseleave","videoUrl","alt","cssText","style","🎬 Video metadata loaded, attempting autoplay...","play",", loop: ","\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 ","rgba(0, 0, 0, 0.9)","canplay","Video thumbnail","loadeddata","autoplay","objectFit","_id","hideFullscreenButton"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","hidePlayButton","1788050NUEdmn","img","adstage-video-mute-button","Container not found: ","100%","width","1662420fyOhuH","🎬 Initial autoplay attempt after timeout...","getDefaultHeight","\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 ","customControls"];return(Rt=function(){return t})()}function _t(t,e){const n=Rt();return(_t=function(t,e){return n[t-=194]})(t,e)}!function(){const t=_t,e=Rt();for(;;)try{if(447028===-parseInt(t(264))/1*(-parseInt(t(199))/2)+parseInt(t(205))/3+-parseInt(t(225))/4+-parseInt(t(226))/5+-parseInt(t(245))/6+-parseInt(t(229))/7+parseInt(t(273))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Dt extends ut{constructor(t=!1,n){super(e[_t(278)],t,n)}[Ct(207)](){return Ct(267)}async renderAdElement(t,e){const n=Ct,r=document[n(249)](t[n(214)]);if(!r)return;const s=document.createElement("div");s[n(255)]="adstage-video-container",s[n(289)][n(288)]=n(275),this[n(227)](s,e,t),r[n(244)]="",r[n(237)](s),this[n(240)]&&console[n(232)](n(259)+e[n(195)])}async renderMultipleAds(t,e){const n=Ct,r=document.getElementById(t.containerId);if(!r)throw new Error(n(202)+t[n(214)]);if(e[n(281)]>0){const s=e[0],o=document.createElement("div");o.className=n(233),o[n(289)][n(288)]=n(293),this[n(227)](o,s,t),r.innerHTML="",r.appendChild(o);const i=this[n(239)]();setTimeout(()=>{const e=n;i(s._id,t.id,a[e(215)])},100),this[n(240)]&&console.log(n(283)+t.id+" ("+s[n(195)]+")")}else this[n(240)]&&console[n(234)]("⚠️ No video advertisements available for slot: "+t.id)}renderVideoElementDirect(t,e,n){const r=Ct;t[r(289)].position=r(271);const s=document[r(222)]("video");s.style.width=r(203),s.style.height=r(203),s[r(289)][r(194)]=r(230),s.preload=r(251);const o=n[r(242)];if(this[r(240)]&&console[r(232)](r(228),o),s.controls=!1,s[r(298)]=!1!==o?.[r(298)],s[r(253)]=!0,s[r(236)]=!1!==o?.[r(236)],this.debug&&console.log("🎬 Final video settings:",{autoplay:s[r(298)],muted:s.muted,loop:s.loop,controls:s[r(221)]}),!1!==o?.playsinline&&s.setAttribute(r(217),""),!0===o?.[r(221)]&&(s[r(221)]=!0,this[r(240)]&&console[r(232)]("🎬 User explicitly enabled controls, overriding default")),o?.[r(276)])s[r(221)]=!1,s[r(289)][r(288)]+="\n pointer-events: none;\n ";else if(o?.customControls){if(s[r(221)]){const t=document[r(222)](r(289));t[r(258)]=r(212)+(o[r(209)][r(198)]?r(223):r(254))+r(247)+(o[r(209)][r(262)]?r(223):r(254))+r(280)+(o[r(209)].hideCurrentTime?r(223):r(254))+r(197)+(o.customControls.hideRemainingTime?r(223):r(254))+r(243)+(o.customControls.hideVolumeSlider?r(223):r(254))+r(231)+(o[r(209)].hideMuteButton?r(223):r(254))+r(268)+(o[r(209)][r(196)]?r(223):r(254))+r(235),document[r(246)][r(237)](t)}}else if(s[r(221)]){const t=document.createElement("style");t.id=r(241),t[r(258)]=r(263),!document[r(249)](r(241))&&document.head[r(237)](t)}this.debug&&console.log("🎬 Video controls setting:",s[r(221)]?"enabled":r(257));const i=document[r(222)]("button");i[r(255)]=r(201),i[r(289)].cssText=r(208),o?.[r(276)]&&(i[r(289)].display=r(223));const a=()=>{const t=r,e=t(216);i[t(244)]=s[t(253)]?e:'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',i[t(248)]=s[t(253)]?"Click to unmute":"Click to mute"};if(a(),i[r(211)]("click",t=>{const e=r;t[e(213)](),s[e(253)]=!s[e(253)],a(),this.debug&&console.log("🔊 Video mute toggled: "+(s[e(253)]?"muted":"unmuted"))}),i.addEventListener(r(282),()=>{const t=r;i.style.background=t(294),i[t(289)][t(266)]="scale(1.1)"}),i[r(211)](r(285),()=>{const t=r;i[t(289)][t(218)]=t(260),i.style.transform=t(252)}),e.videoUrl){s[r(272)]=e[r(286)];const t=()=>{const t=r;s.autoplay&&s[t(253)]&&s[t(284)]&&s.play().catch(e=>{const n=t;this[n(240)]&&(console[n(234)](n(256),e),console.warn("🎬 Trying muted autoplay fallback...")),s[n(253)]=!0,s[n(291)]()[n(219)](t=>{const e=n;this[e(240)]&&console[e(270)]("🎬 Autoplay completely failed:",t)})})};s[r(211)](r(269),()=>{const e=r;this[e(240)]&&console[e(232)](e(290)),t()}),s[r(211)](r(295),()=>{const e=r;this[e(240)]&&console.log(e(238)),t()}),s[r(211)](r(297),()=>{const e=r;this.debug&&console[e(232)](e(261)),t()}),setTimeout(()=>{const e=r;this[e(240)]&&console.log(e(206)),t()},100)}else if(e[r(224)]){const n=document.createElement(r(200));return n.src=e[r(224)],n[r(289)][r(204)]="100%",n[r(289)][r(220)]=r(203),n[r(289)][r(194)]=r(230),n[r(287)]=e[r(248)]||r(296),void t[r(237)](n)}$[r(277)](s,e,n,()=>this[r(239)](),this.debug,r(210)),s[r(211)](r(270),s=>{const o=r;if(console.error(o(274),s),e[o(224)]){const r=document[o(222)]("img");r.src=e[o(224)],r[o(289)].width=o(203),r[o(289)][o(220)]=o(203),r.style[o(194)]=o(230),r[o(287)]=e[o(248)]||o(296),$[o(277)](r,e,n,()=>this.createEventTrackingCallback(),this[o(240)],o(265)),t[o(244)]="",t[o(237)](r)}}),t.appendChild(s),t.appendChild(i),this[r(240)]&&console[r(232)]("🎬 Video element created for ad: "+e._id+r(279)+s[r(298)]+r(250)+s[r(253)]+r(292)+s[r(236)]+")")}}const Lt=Bt;function Bt(t,e){const n=Pt();return(Bt=function(t,e){return n[t-=422]})(t,e)}function Pt(){const t=["button","mouseleave","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","2750631huYlOO","containerId","37244dbdxFh","200px","appendChild","13079808WcZeKS","#3b82f6","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","getElementById","createElement","6668886aXSGQm","log","div","alt","#2563eb","1sEaXQI","_blank","linkUrl","_id","innerHTML","open","\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 ","8572464muhtnj","debug","src","🏠 Single native ad rendered: ","img","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","): ","length","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","textContent","125pVUAAU","warn","style","🏠 Native ad rendered (first of ","adstage-ad adstage-native-ad","addEventListener","getDefaultHeight","cssText","Native Advertisement","backgroundColor","645960UdtfGK","imageUrl","title","2215950rNoqvg"];return(Pt=function(){return t})()}!function(){const t=Bt,e=Pt();for(;;)try{if(595770===parseInt(t(441))/1*(parseInt(t(422))/2)+-parseInt(t(426))/3+-parseInt(t(428))/4*(parseInt(t(458))/5)+parseInt(t(436))/6+-parseInt(t(468))/7+parseInt(t(448))/8+-parseInt(t(431))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ut extends ut{constructor(t=!1,n){super(e.NATIVE,t,n)}[Lt(464)](){return Lt(429)}async renderAdElement(t,e){const n=Lt,r=document[n(434)](t[n(427)]);if(!r)return;const s=document[n(435)](n(438));if(s.className=n(462),s[n(460)][n(465)]=n(447),e[n(470)]){const t=document.createElement("h3");t[n(457)]=e.title,t.style[n(465)]=n(453),s[n(430)](t)}if(e[n(457)]){const t=document[n(435)]("p");t[n(457)]=e[n(457)],t[n(460)][n(465)]=n(425),s[n(430)](t)}if(e[n(469)]){const t=document[n(435)]("div");t[n(460)][n(465)]=n(433);const r=document[n(435)](n(452));r[n(450)]=e[n(469)],r[n(439)]=e.title||n(466),r[n(460)][n(465)]=n(456),t[n(430)](r),s[n(430)](t)}if(e.linkUrl){const t=document.createElement(n(423));t.textContent="Learn More",t[n(460)][n(465)]="\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[n(463)]("click",()=>{const t=n;this.advertisementEventTracker&&console[t(437)]("Native click tracked for ad: "+e[t(444)]),window[t(446)](e[t(443)],t(442))}),t.addEventListener("mouseenter",()=>{const e=n;t[e(460)].backgroundColor=e(440)}),t[n(463)](n(424),()=>{const e=n;t[e(460)][e(467)]=e(432)}),s[n(430)](t)}r[n(445)]="",r[n(430)](s),this[n(449)]&&console.log(n(451)+e[n(444)])}async renderMultipleAds(t,e){const n=Lt;e[n(455)]>0?(await this.renderAdElement(t,e[0]),this.debug&&console[n(437)](n(461)+e.length+n(454)+t.id)):this.debug&&console[n(459)]("⚠️ No native advertisements available for slot: "+t.id)}}const Ot=Nt;function zt(){const t=["click","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","head","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","color","⚠️ No interstitial advertisements available for slot: ","🖼️ Interstitial ad rendered (first of ","#6b7280","_blank","keydown","addEventListener","Get Started","\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 ","createElement","button","getDefaultHeight","_id","adstage-interstitial-styles","mouseenter","112520iuVVZP","src","400px","style","div","closeInterstitial","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","#e5e7eb","animation","3ISLDrl","Interstitial click tracked for ad: ","#3b82f6","className","getElementById","mouseleave","21QClTrl","length","renderAdElement","4501212sEmlwB","log","6168375gLRJiD","appendChild","Escape","debug","153828ITHlqL","#f3f4f6","warn","adstage-interstitial-content","#2563eb","parentNode","cssText","imageUrl","open","img","advertisementEventTracker","): ","linkUrl","renderMultipleAds","🖼️ Interstitial ad closed","textContent","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","fadeOut 0.3s ease-out forwards","INTERSTITIAL","removeEventListener","adstage-interstitial-overlay","containerId","511BBpovh","181800ZehwaV","23638680pCGbZH","🖼️ Interstitial ad rendered: ","backgroundColor","10725102SnKypf","title","\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 "];return(zt=function(){return t})()}function Nt(t,e){const n=zt();return(Nt=function(t,e){return n[t-=386]})(t,e)}!function(){const t=Nt,e=zt();for(;;)try{if(858929===parseInt(t(416))/1*(-parseInt(t(425))/2)+parseInt(t(410))/3*(parseInt(t(419))/4)+parseInt(t(421))/5+-parseInt(t(448))/6+-parseInt(t(447))/7*(parseInt(t(400))/8)+-parseInt(t(452))/9+parseInt(t(449))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Mt extends ut{constructor(t=!1,n){super(e[Nt(443)],t,n)}[Ot(396)](){return Ot(402)}async renderAdElement(t,e){const n=Ot;if(!document[n(414)](t[n(446)]))return;const r=document[n(394)](n(404));r[n(413)]=n(445),r[n(403)][n(431)]=n(393);const s=document[n(394)](n(404));s.className=n(428),s[n(403)][n(431)]="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const o=document[n(394)]("button");if(o.innerHTML="×",o[n(403)][n(431)]=n(454),o[n(391)](n(455),()=>{this.closeInterstitial(r)}),o[n(391)]("mouseenter",()=>{const t=n;o[t(403)][t(451)]=t(408),o[t(403)][t(459)]="#374151"}),o[n(391)](n(415),()=>{const t=n;o[t(403)][t(451)]=t(426),o[t(403)][t(459)]=t(388)}),e.imageUrl){const t=document[n(394)](n(434));t[n(401)]=e[n(432)],t.alt=e.title||"Interstitial Advertisement",t.style.cssText=n(456),s.appendChild(t)}if(e[n(453)]){const t=document[n(394)]("h2");t[n(440)]=e[n(453)],t[n(403)][n(431)]=n(407),s.appendChild(t)}if(e.textContent){const t=document[n(394)]("p");t[n(440)]=e[n(440)],t[n(403)][n(431)]=n(458),s[n(422)](t)}if(e[n(437)]){const t=document[n(394)](n(395));t[n(440)]=n(392),t[n(403)][n(431)]=n(441),t[n(391)]("click",()=>{const t=n;this[t(435)]&&console[t(420)](t(411)+e[t(397)]),window[t(433)](e[t(437)],t(389)),this[t(405)](r)}),t[n(391)](n(399),()=>{const e=n;t.style[e(451)]=e(429)}),t[n(391)](n(415),()=>{const e=n;t[e(403)][e(451)]=e(412)}),s[n(422)](t)}const i=t=>{const e=n;t.key===e(423)&&(this[e(405)](r),document[e(444)](e(390),i))};if(document[n(391)](n(390),i),r[n(391)](n(455),t=>{t.target===r&&this.closeInterstitial(r)}),!document[n(414)](n(398))){const t=document[n(394)](n(403));t.id="adstage-interstitial-styles",t.textContent=n(406),document[n(457)][n(422)](t)}s[n(422)](o),r[n(422)](s),document.body[n(422)](r),this[n(424)]&&console.log(n(450)+e[n(397)])}async[Ot(438)](t,e){const n=Ot;e[n(417)]>0?(await this[n(418)](t,e[0]),this[n(424)]&&console[n(420)](n(387)+e[n(417)]+n(436)+t.id)):this.debug&&console[n(427)](n(386)+t.id)}[Ot(405)](t){const e=Ot;t[e(403)][e(409)]=e(442),setTimeout(()=>{const n=e;t[n(430)]&&t[n(430)].removeChild(t)},300),this.debug&&console[e(420)](e(439))}}const Vt=Ft;function Ft(t,e){const n=Ht();return(Ft=function(t,e){return n[t-=315]})(t,e)}function Ht(){const t=[" Ad","NATIVE","1029582UKsIfK","⚠️ Container optimization is only supported for BANNER ads, got: ","height","renderers","100%","3450564vqygyr","renderAdElement","getDefaultHeightForAdType","calculateAdSize","createPlaceholder","getDefaultHeight","advertisement","renderMultipleAds","renderFallback","loadImageDimensions","1px dashed #ccc","size","renderOptimizedBannerImage is only supported for BANNER ads","createElement","5686670lFbZsH","video","No renderer found for ad type: ","renderAdSlider","data-adstage-ad-id","adstage-ad adstage-","39447936ZxElBo","TEXT","getRenderer","width","naturalHeight","imageUrl","initializeRenderers","videoUrl","BANNER","log","setAttribute","optimizeContainerForBannerAds","naturalWidth","6212100JMazsD","renderOptimizedBannerImage","adType","img","config","textContent","div","5689431lGAHOl","backgroundColor","block","isLoaded","appendChild","get","[AdRenderer] ","warn","No advertisement to render","renderAd","src","padding","Failed to load image: ","431202RjoRWh","calculateOptimalContainerSize","advertisementEventTracker","createAdElement","style","INTERSTITIAL","display","toLowerCase","onload","set","VIDEO","debug","7oraPwR","objectFit"];return(Ht=function(){return t})()}!function(){const t=Ft,e=Ht();for(;;)try{if(967989===-parseInt(t(375))/1+parseInt(t(380))/2+-parseInt(t(346))/3+-parseInt(t(339))/4+-parseInt(t(320))/5+-parseInt(t(359))/6*(parseInt(t(371))/7)+parseInt(t(326))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class jt{constructor(t=!1,e){const n=Ft;this[n(378)]=new Map,this.debug=t,this[n(361)]=e||null,this[n(332)]()}initializeRenderers(){const t=Ft;this[t(378)][t(368)](e.BANNER,new gt(this.debug,this[t(361)])),this[t(378)][t(368)](e[t(327)],new Tt(this[t(370)],this[t(361)])),this.renderers[t(368)](e[t(369)],new Dt(this[t(370)],this[t(361)])),this[t(378)][t(368)](e[t(374)],new Ut(this[t(370)],this[t(361)])),this.renderers[t(368)](e[t(364)],new Mt(this[t(370)],this.advertisementEventTracker)),this.debug&&console[t(335)]("🏭 AdRenderer factory initialized with "+this[t(378)][t(317)]+" renderers")}[Vt(362)](t,n){const r=Vt,s=this[r(328)](t[r(341)]),o=document.createElement(r(345));o.className=r(325)+String(t[r(341)])[r(366)](),o[r(336)](r(324),n._id),o.setAttribute("data-adstage-slot-id",t.id);const{width:i,height:a}=s[r(383)](o,t[r(343)]||{},n);switch(o[r(363)].width=i,o[r(363)].height=a,o.style[r(365)]=r(348),t[r(341)]){case e.BANNER:if(n[r(331)]){const t=document.createElement(r(342));t.src=n.imageUrl,t.style[r(329)]="100%",t[r(363)][r(377)]=r(379),t.style[r(372)]="cover",o[r(350)](t)}break;case e[r(369)]:if(n[r(333)]){const t=document[r(319)](r(321));t.src=n[r(333)],t[r(363)].width=r(379),t[r(363)][r(377)]=r(379),o[r(350)](t)}break;case e.TEXT:if(n.textContent){const t=document[r(319)](r(345));t[r(344)]=n[r(344)]||"",t[r(363)][r(357)]="8px",o[r(350)](t)}break;default:o[r(363)].border=r(316),o[r(363)][r(347)]="#f9f9f9",o[r(344)]=t[r(341)]+r(373)}return o}[Vt(328)](t){const e=Vt,n=this[e(378)][e(351)](t);if(!n)throw new Error(e(322)+t);return n}createPlaceholder(t,e,n,r,s){const o=Vt;this.getRenderer(n)[o(384)](t,e,r,s)}async[Vt(337)](t,n){const r=Vt;if(t[r(341)]!==e[r(334)])return void(this[r(370)]&&console[r(353)](r(376)+t[r(341)]));const s=this[r(328)](e[r(334)]);await s.optimizeContainerForBannerAds(t,n)}async[Vt(323)](t,e){const n=Vt,r=this.getRenderer(t[n(341)]);await r[n(387)](t,e)}async[Vt(355)](t){const e=Vt;if(!t[e(386)])throw new Error(e(354));const n=this.getRenderer(t[e(341)]);await n[e(381)](t,t[e(386)]),t[e(349)]=!0}async[Vt(381)](t,e){const n=Vt,r=this[n(328)](t[n(341)]);await r[n(381)](t,e)}[Vt(388)](t){const e=Vt;this[e(328)](t[e(341)]).renderFallback(t)}[Vt(382)](t){const e=Vt;return this.getRenderer(t)[e(385)]()}calculateAdSize(t,e,n,r){const s=Vt;return this[s(328)](e)[s(383)](t,n,r)}[Vt(315)](t){return new Promise((e,n)=>{const r=Ft,s=new Image;s[r(367)]=()=>{const t=r;e({width:s[t(338)],height:s[t(330)]})},s.onerror=()=>{n(new Error(r(358)+t))},s[r(356)]=t})}async[Vt(340)](t,n,r){const s=Vt;if(r.adType!==e[s(334)])throw new Error(s(318));const o=this.getRenderer(e[s(334)]);return await o[s(340)](t,n,r)}async[Vt(360)](t,n,r){const s=Vt;if(r!==e.BANNER){return{width:"100%",height:this[s(328)](r).getDefaultHeight(),aspectRatio:16/9}}const o=this[s(328)](e[s(334)]);return await o[s(360)](t,n)}[Vt(335)](t,...e){const n=Vt;this[n(370)]&&console[n(335)](n(352)+t,...e)}}const Wt=Kt;function Kt(t,e){const n=Yt();return(Kt=function(t,e){return n[t-=140]})(t,e)}function Yt(){const t=["📊 Fetched specific ad with ID: ","height","observe","setupAutoCleanup","6422856ctmuel","🗑️ Ad slot destroyed: ","autoSlide","append","createAdWithRetry","fetchAdData","1114744KOnauX","refresh","auto","string","create","disconnect","5132280KqJdCS"," removed","native"," ads automatically","hideControls","INTERSTITIAL","getElementById"," ads for type: "," (attempt ","🔄 Retrying viewability tracking for slot: ","adRenderer","✅ Simple viewable impression tracked for ad ","loadAdContentInBackground","banner","now","apiKey","[data-adstage-slot-id]","🔍 Auto-cleanup MutationObserver enabled","renderFallback","then","loop","config","_isReady","trackAdvertisementEvent","maxLines","8oZgEGX","destroyModule","muted","controls","handleViewableEvent","ensureReady","🎯 Simple viewability tracking started for slot: ","debug","432140guwSIQ","list","delete","style","status","body","advertisements","containerId","adId","forEach","mutationObserver","undefined","setAttribute","json","renderAd","New advertisement viewable tracked for slot:","🎯 Ads module initialized (sync mode) with auto-cleanup"," ads)","createAd","Ad slot not found: ","advertisement","video","startSimpleViewabilityTracking","handleRemovedElement","createAdInternal","random","toString","Failed to refresh ad slot: ","API key not configured","getAllSlots","_config","getConfig","slots"," attempts: ","🚫 Advertisement not found with ID: ","isLoaded","🗑️ Ads module destroyed","customControls","default","isReady","renderAdElement","548274srIQjH","country","warn","log","advertisementEventTracker","getAttribute","data-adstage-slot-id","destroy","NATIVE","100%","error","getBaseUrl","onClick","interstitial","innerHTML","optimizeContainerForBannerAds","get","language","nodeType","text","clear","width","895713AVqTFM","VIEWABLE","createPlaceholder","1115037xuhDta"," (element found)","BANNER","TEXT","📊 Fetched ","VIDEO","substr","ELEMENT_NODE","adstage-","values","❌ Failed to load ad for slot: ","110PiSEUR","detail","autoDestroy","_id","autoplay","length","deviceType","14IvuIfz","viewabilityTracker","refreshAdSlot","ms... (attempt ","adType","Failed to fetch ad data: ","Container not found: ",". Retrying in "];return(Yt=function(){return t})()}!function(){const t=Kt,e=Yt();for(;;)try{if(969428===parseInt(t(260))/1+-parseInt(t(189))/2*(parseInt(t(238))/3)+-parseInt(t(152))/4+-parseInt(t(197))/5+parseInt(t(164))/6+-parseInt(t(140))/7*(-parseInt(t(158))/8)+-parseInt(t(263))/9*(-parseInt(t(274))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt{constructor(){const t=Kt;this[t(186)]=!1,this._config=null,this.slots=new Map,this[t(242)]=null,this.adRenderer=null,this[t(207)]=null}init(t){const e=Kt;this[e(227)]=t,this[e(242)]=new P(K[e(249)](),t[e(179)],t[e(196)]||!1,this[e(229)]),this[e(174)]=new jt(t[e(196)]||!1,this[e(242)]),this[e(151)](),this[e(186)]=!0,t[e(196)]&&console[e(241)](e(213))}[Wt(236)](){return this[Wt(186)]}[Wt(228)](){return this._config}[Wt(177)](t,n){const r=Wt;this.ensureReady();const s={width:n?.[r(259)]||r(247),height:n?.height||"auto",autoSlide:n?.[r(154)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.[r(250)],adId:n?.adId,language:n?.[r(255)],deviceType:n?.deviceType,country:n?.[r(239)]};return this[r(215)](t,e[r(265)],s)}[Wt(257)](t,n){const r=Wt;this.ensureReady();const s={maxLines:n?.[r(188)]||3,style:n?.[r(200)]||r(235),onClick:n?.[r(250)],adId:n?.[r(205)],language:n?.language,deviceType:n?.[r(280)],country:n?.[r(239)]};return this[r(215)](t,e[r(266)],s)}[Wt(218)](t,n){const r=Wt;this[r(194)]();const s={width:n?.width||640,height:n?.height||360,autoplay:void 0===n?.[r(278)]||n.autoplay,muted:void 0===n?.muted||n[r(191)],loop:void 0===n?.[r(184)]||n.loop,playsinline:!1!==n?.playsinline,controls:void 0!==n?.controls&&n[r(192)],hideControls:n?.[r(168)]||!1,customControls:n?.[r(234)],autoSlide:!1,maxAds:1,onClick:n?.[r(250)],...n?.[r(205)]&&{adId:n[r(205)]}};return this.createAd(t,e[r(268)],s)}[Wt(166)](t,n){const r=Wt;return this.ensureReady(),this.createAd(t,e[r(246)],n||{})}[Wt(251)](t,n){const r=Wt;return this.ensureReady(),this[r(215)](t,e[r(169)],n||{})}[Wt(159)](t){const e=Wt;this.ensureReady();const n=this[e(229)][e(254)](t);if(!n)throw new Error(e(216)+t);this[e(142)](n),this[e(227)]?.[e(196)]&&console[e(241)]("🔄 Ad slot refreshed: "+t)}destroy(t){const e=Wt;this[e(194)]();const n=this[e(229)].get(t);if(!n)throw new Error("Ad slot not found: "+t);n[e(141)]&&n[e(141)][e(245)]();const r=document[e(170)](n[e(204)]);r&&(r[e(252)]=""),this[e(229)].delete(t),this[e(227)]?.[e(196)]&&console[e(241)](e(153)+t)}[Wt(226)](){const t=Wt;return this[t(194)](),Array.from(this[t(229)][t(272)]())}getSlotById(t){return this.ensureReady(),this.slots.get(t)||null}[Wt(215)](t,e,n){const r=Wt;if(!this[r(227)]?.apiKey)throw new Error(r(225));const s=r(271)+e+"-"+Date[r(178)]()+"-"+Math[r(222)]()[r(223)](36)[r(269)](2,9);return this[r(156)](t,e,n,s,0),s}async createAdWithRetry(t,e,n,r,s){const o=Wt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(161)){if(a=t,c=document.getElementById(t),!c)return s<4?(this[o(227)]?.[o(196)]&&console.warn(o(146)+t+o(147)+i[s+1]+o(143)+(s+1)+"/5)"),void setTimeout(()=>{this[o(156)](t,e,n,r,s+1)},i[s+1])):void console[o(248)]("Container not found after 5"+o(230)+t)}else c=t,a=c.id||"auto-"+r,!c.id&&(c.id=a);try{this[o(221)](a,e,n,r,c)}catch(t){console[o(248)]("광고 생성 중 오류 발생:",t)}}createAdInternal(t,n,r,s,o){const i=Wt;o[i(209)](i(244),s),this[i(174)]?.[i(262)](o,s,n,r,this[i(227)]);const a={id:s,containerId:t,adType:n,width:r[i(259)]||"100%",height:r[i(149)]||(n===e[i(266)]?i(160):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this.fetchAdData(n,r)[i(183)](t=>t[0]||null),render:t=>this[i(174)]?.[i(237)](a,t),refresh:async()=>this[i(142)](a),destroy:()=>this.destroy(s)};this[i(229)].set(s,a),this[i(176)](a),this[i(242)]&&this[i(227)]?.[i(196)]&&console[i(241)]("📊 Advertisement event tracking enabled for slot: "+s)}async[Wt(176)](t){const n=Wt;try{const r=await this[n(157)](t.adType,t.config);if(!r||0===r[n(279)])return void this[n(174)]?.renderFallback(t);t.adType===e[n(265)]&&r[n(279)]>0&&await(this[n(174)]?.[n(253)](t,r)),r[n(279)]>1||t.config?.[n(154)]?(await(this.adRenderer?.renderAdSlider(t,r)),this[n(227)]?.[n(196)]&&console.log("🎠 Slider will handle VIEWABLE events for "+r[n(279)]+n(167))):(t[n(217)]=r[0],await(this[n(174)]?.[n(237)](t,r[0])),this[n(219)](t,r[0])),t[n(232)]=!0,this[n(227)]?.debug&&console[n(241)]("✅ Ad loaded for slot: "+t.id+" ("+r[n(279)]+n(214))}catch(e){console.error(n(273)+t.id,e),this[n(174)]?.[n(182)](t)}}[Wt(219)](t,e){const n=(r=0)=>{const s=Kt,o=document[s(170)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(227)]?.debug&&console[s(241)](s(173)+t.id+s(172)+(r+1)+")")):console[s(240)]("❌ Failed to find element for viewability tracking: "+t.id));const i=new N(o,async()=>{const n=s;await this[n(193)](e,t)});t[s(141)]=i,this[s(227)]?.debug&&console[s(241)](s(195)+t.id+s(264))};n()}async[Wt(193)](t,e){const n=Wt;try{this[n(242)]&&(await this.advertisementEventTracker[n(187)](t._id,e.id,a[n(261)]),this[n(227)]?.[n(196)]&&console.log(n(175)+t[n(277)]))}catch(t){console[n(248)]("❌ Failed to track viewable impression:",t)}}async fetchAdData(t,e){const n=Wt;if(!this[n(227)]?.[n(179)])throw new Error(n(225));if(e[n(205)]){const t=""+K[n(203)][n(275)](e[n(205)]),r=await fetch(t,{method:"GET",headers:C[n(162)](this[n(227)][n(179)])});if(!r.ok){if(404===r[n(201)])return console[n(240)](n(231)+e.adId),[];throw new Error(n(145)+r[n(201)])}const s=await r[n(210)]();return this[n(227)]?.[n(196)]&&console[n(241)](n(148)+e[n(205)],s),[s]}const r=new URLSearchParams;r[n(155)](n(144),t),e.language&&r.append(n(255),e[n(255)]),e[n(280)]&&r[n(155)]("deviceType",e[n(280)]),e[n(239)]&&r.append(n(239),e[n(239)]);const s=K.advertisements[n(198)]()+"?"+r[n(223)](),o=await fetch(s,{method:"GET",headers:C.create(this[n(227)][n(179)])});if(!o.ok)throw new Error(n(145)+o[n(201)]);const i=(await o[n(210)]()).advertisements||[];return this[n(227)]?.debug&&console[n(241)](n(267)+i[n(279)]+n(171)+t+", filters:",{language:e[n(255)],deviceType:e[n(280)],country:e[n(239)]}),i}async refreshAdSlot(t){const e=Wt;try{const n=await this[e(157)](t[e(144)],t[e(185)]||{});n&&n[e(279)]>0&&(t.advertisement=n[0],await(this[e(174)]?.[e(211)](t)),this.advertisementEventTracker&&console[e(241)](e(212),t.id))}catch(n){console[e(248)](e(224)+t.id,n)}}ensureReady(){if(!this[Wt(186)])throw new Error("Ads module not initialized. Call AdStage.init() first.")}[Wt(151)](){const t=Wt;typeof window!==t(208)&&typeof document!==t(208)&&(this.mutationObserver&&this[t(207)][t(163)](),this[t(207)]=new MutationObserver(t=>{t.forEach(t=>{t.removedNodes.forEach(t=>{const e=Kt;t[e(256)]===Node[e(270)]&&this[e(220)](t)})})}),this[t(207)][t(150)](document[t(202)],{childList:!0,subtree:!0}),this._config?.[t(196)]&&console[t(241)](t(181)))}[Wt(220)](t){const e=Wt,n=t[e(243)]("data-adstage-slot-id");if(n)return void this[e(276)](n);t.querySelectorAll(e(180))[e(206)](t=>{const n=e,r=t.getAttribute(n(244));r&&this.autoDestroy(r)})}[Wt(276)](t){const e=Wt;if(this.slots[e(254)](t))try{this[e(229)][e(199)](t),this._config?.[e(196)]&&console[e(241)]("🧹 Auto-cleanup: slot "+t+e(165))}catch(n){this[e(227)]?.debug&&console[e(240)]("Auto-cleanup failed for slot "+t+":",n)}}[Wt(190)](){const t=Wt,e=this[t(227)]?.[t(196)];this[t(207)]&&(this[t(207)][t(163)](),this[t(207)]=null),this[t(229)][t(258)](),this[t(242)]=null,this[t(174)]=null,this._isReady=!1,this._config=null,e&&console[t(241)](t(233))}}var Zt=Qt;function qt(){var t=["isReady","1126WRtUmG","baseUrl","1072400fcRxKj","includes","apiKey","105049kClFxT","getApiHeaders","1333bcLiXd","config","_isReady","development","ads","Config module not initialized","updateConfig","9990040CVWieF","102aCyvNk","_config","events","2806712ekcdkQ","6874344SvOoAu","3sgWtUW","🔄 Config updated","2256536bibFWK","getEnabledModules","getApiEndpoint","isDebugMode","_organizationInfo","log"];return(qt=function(){return t})()}function Qt(t,e){var n=qt();return(Qt=function(t,e){return n[t-=136]})(t,e)}!function(){for(var t=Qt,e=qt();;)try{if(467677===parseInt(t(156))/1*(-parseInt(t(149))/2)+parseInt(t(140))/3*(parseInt(t(138))/4)+parseInt(t(151))/5+-parseInt(t(164))/6*(-parseInt(t(154))/7)+parseInt(t(142))/8+parseInt(t(139))/9+-parseInt(t(163))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gt{constructor(){var t=Qt;this[t(158)]=!1,this[t(136)]=null,this[t(146)]=null}init(t){var e=Qt;this[e(136)]={timeout:3e4,debug:!1,modules:[e(160),e(137),e(157)],...t},t.baseUrl&&K.setBaseUrl(t[e(150)]),this[e(158)]=!0,t.debug&&console[e(147)]("✅ Config module initialized (sync mode)",{modules:this[e(136)].modules,endpoint:K.getBaseUrl(),mode:e(159)})}[Zt(148)](){return this[Zt(158)]}getConfig(){return this[Zt(136)]}getOrganizationInfo(){return this[Zt(146)]}[Zt(144)](){return K.getBaseUrl()}[Zt(145)](){var t=Zt;return this[t(136)]?.debug||!1}[Zt(143)](){var t=Zt;return this[t(136)]?.modules||[]}isModuleEnabled(t){var e=Zt;return this[e(143)]()[e(152)](t)}[Zt(162)](t){var e=Zt;if(!this[e(136)])throw new Error(e(161));this[e(136)]={...this[e(136)],...t},this[e(145)]()&&console.log(e(141),t)}[Zt(155)](){var t=Zt;if(!this[t(136)]?.apiKey)throw new Error("API key not available");return C.create(this[t(136)][t(153)])}}const Jt=$t;function $t(t,e){const n=te();return($t=function(t,e){return n[t-=392]})(t,e)}function te(){const t=["22925xLYydN","957294bYkxBM","clearDeviceInfo","Desktop Web","304JCSsmH","getDetailedInfo","40KrYJbH","toLowerCase","ios","462nYSyAJ","833786NbNyOl","getDeviceInfo","setDeviceProperty","250664lxSGOU","isMobile","481529ICaYYX","SSR","mapPlatformForEvents","height","isBrowser","tablet","test","ko-KR","setDeviceInfo","android","width","6HxdEvi","2495061TYoSAh","getViewportInfo","getAutoDetectedDeviceInfo","platform","desktop","getUserDeviceInfo","web","3270XUgPSZ","Mobile Web","iOS","getPlatform","onLine","userAgent","0x0","_userProvidedDeviceInfo","language"];return(te=function(){return t})()}!function(){const t=$t,e=te();for(;;)try{if(515393===parseInt(t(402))/1+-parseInt(t(397))/2*(-parseInt(t(413))/3)+-parseInt(t(400))/4*(parseInt(t(393))/5)+-parseInt(t(431))/6+parseInt(t(430))/7*(parseInt(t(434))/8)+-parseInt(t(414))/9+parseInt(t(421))/10*(parseInt(t(396))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ee{static[Jt(398)](){const t=Jt;return{...ee[t(416)](),...ee[t(428)]}}static[Jt(416)](){const t=Jt;if(!y[t(406)]())return{category:"other",platform:"SSR",model:"SSR",osVersion:t(403)};const e=navigator[t(426)][t(394)]();let n=t(418);/tablet|ipad/[t(408)](e)?n=t(407):A[t(401)]()&&(n="mobile");const r=A[t(424)]();return{category:n,platform:ee.mapPlatformForEvents(r),model:navigator[t(417)],osVersion:navigator[t(417)]}}static[Jt(410)](t){const e=Jt;ee[e(428)]={...ee[e(428)],...t}}static[Jt(399)](t,e){ee[Jt(428)][t]=e}static[Jt(432)](){ee[Jt(428)]={}}static[Jt(419)](){return{...ee[Jt(428)]}}static[Jt(404)](t){const e=Jt;switch(t){case e(395):return e(423);case e(411):return"Android";case e(420):return e(422);case"desktop":return e(433);default:return"Unknown"}}static[Jt(392)](){const t=Jt;if(!y[t(406)]())return{userAgent:"SSR",language:t(409),platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:"0x0",viewportSize:t(427)};const e=y[t(415)]();return{userAgent:navigator[t(426)],language:navigator[t(429)]||t(409),platform:navigator.platform,cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(425)],screenResolution:screen[t(412)]+"x"+screen.height,viewportSize:e[t(412)]+"x"+e[t(405)]}}}ee[Jt(428)]={};const ne=se;function re(){const t=["1219660RZVXfI","656580OPpWYq","extractCountryFromLanguage","ko-KR","236404FMiQXo","11fjIwJl","isBrowser","clearUserProperties","language","1OBExwU","split","244128aTmTAY","114160IQSXVq","90QYQZEL","estimateLocation","184849yFrnHZ","_userProperties","487810lvxZrQ","getCurrentUserProperties","DateTimeFormat","getUserInfo","setUserProperties","78hXrBPt","getBaseUserInfo"];return(re=function(){return t})()}function se(t,e){const n=re();return(se=function(t,e){return n[t-=287]})(t,e)}!function(){const t=se,e=re();for(;;)try{if(213489===parseInt(t(303))/1*(parseInt(t(287))/2)+parseInt(t(305))/3+-parseInt(t(298))/4+-parseInt(t(295))/5+parseInt(t(292))/6*(parseInt(t(309))/7)+parseInt(t(306))/8*(-parseInt(t(307))/9)+parseInt(t(294))/10*(-parseInt(t(299))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[ne(290)](){return{...oe[ne(293)](),...oe._userProperties}}static[ne(293)](){const t=ne;if(!y[t(300)]())return{language:"ko-KR",country:"KR"};const e=navigator[t(302)]||t(297);return{language:e,country:oe.extractCountryFromLanguage(e)}}static[ne(296)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ne(304)]("-")[0]]||"KR"}static[ne(291)](t){const e=ne;oe[e(310)]={...oe[e(310)],...t}}static setUserProperty(t,e){oe._userProperties[t]=e}static[ne(301)](){oe[ne(310)]={}}static[ne(288)](){return{...oe[ne(310)]}}static[ne(308)](){const t=ne;if(!y[t(300)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl[t(289)]().resolvedOptions().timeZone;return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}oe._userProperties={};const ie=ce;function ae(){const t=["adstage_session_start","9686408olYPww","random","getUserId","getSessionStats","125mlUyCN","_userId","_sessionStartTime","3907897UDMDBA","1638825qETeqL","getSessionId","isSessionExpired","getSessionDuration","ssr_session_","getSessionInfo","isNewSession","isBrowser","59628pamFyh","removeItem","420720CMhALE","adstage_session_id","now","session_","setUserId","toString","setItem","substr","1488126DlTDCl","9LnEacq","clearUserId","getItem","21562PoTIwA","adstage_user_id"];return(ae=function(){return t})()}function ce(t,e){const n=ae();return(ce=function(t,e){return n[t-=445]})(t,e)}!function(){const t=ce,e=ae();for(;;)try{if(317012===-parseInt(t(464))/1+parseInt(t(476))/2+-parseInt(t(454))/3+-parseInt(t(462))/4*(-parseInt(t(450))/5)+parseInt(t(472))/6+-parseInt(t(453))/7+parseInt(t(446))/8*(parseInt(t(473))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{static[ie(455)](){const t=ie;if(!y[t(461)]())return t(458)+Date[t(466)]();const e=sessionStorage.getItem(t(465));if(e)return e;const n=t(467)+Math[t(447)]()[t(469)](36)[t(471)](2,9)+"_"+Date[t(466)]();return sessionStorage[t(470)](t(465),n),!le._sessionStartTime&&(le[t(452)]=Date.now(),y[t(461)]()&&sessionStorage.setItem("adstage_session_start",String(le._sessionStartTime))),n}static[ie(468)](t){const e=ie;le[e(451)]=t,y[e(461)]()&&localStorage[e(470)]("adstage_user_id",t)}static[ie(448)](){const t=ie;if(le[t(451)])return le._userId;if(y.isBrowser()){const e=localStorage[t(475)](t(477));if(e)return le[t(451)]=e,e}}static[ie(474)](){const t=ie;le[t(451)]=void 0,y[t(461)]()&&localStorage[t(463)](t(477))}static[ie(459)](){const t=ie,e=le[t(455)](),n=le[t(448)](),r=le[t(460)]();return{sessionId:e,userId:n,sessionDuration:le[t(457)](),isNewSession:r}}static[ie(460)](){const t=ie;if(!y[t(461)]())return!0;const e=sessionStorage[t(475)](t(465)),n=sessionStorage[t(475)](t(445));return!e||!n}static[ie(457)](){const t=ie;if(!y[t(461)]())return 0;const e=sessionStorage.getItem("adstage_session_start");return e?Date[t(466)]()-parseInt(e,10):0}static refreshSession(){const t=ie;return y[t(461)]()&&(sessionStorage[t(463)]("adstage_session_id"),sessionStorage[t(463)](t(445))),le._sessionStartTime=void 0,le.getSessionId()}static[ie(456)](t=24){return le[ie(457)]()>60*t*60*1e3}static[ie(449)](){const t=ie,e=le[t(455)](),n=le[t(448)](),r=le[t(457)](),s=le[t(456)](),o=le[t(460)]();let i;if(y[t(461)]()){const e=sessionStorage[t(475)](t(445));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const de=ue;function ue(t,e){const n=pe();return(ue=function(t,e){return n[t-=307]})(t,e)}function pe(){const t=["error","29360hgqTQB","Event data:","init","warn","_config","log","getUserId","setDeviceProperty","track","32412kkGcbS","460270yUFJwK","248142TYllDV","setUserId","apiKey","392505VmXEeW","6ERyqLg","❌ Failed to track event:","5412HVZAZj","getDeviceInfo","clearDeviceInfo","getCurrentUserProperties","setUserProperties","events","407QKpfrl","👤 User ID set:","POST","_isReady","status","18fdQzMP","create","14vaaFFP","📊 Events module initialized","✅ Event tracked:","debug","getUserDeviceInfo","📱 Device info set:","sendEventToServer","getUserInfo","👤 User properties set:","getSessionId","243QcbyAF","31742WndrmX","stringify"];return(pe=function(){return t})()}!function(){const t=ue,e=pe();for(;;)try{if(100278===parseInt(t(328))/1*(parseInt(t(346))/2)+-parseInt(t(327))/3*(parseInt(t(348))/4)+parseInt(t(345))/5+-parseInt(t(342))/6*(-parseInt(t(317))/7)+parseInt(t(331))/8*(parseInt(t(315))/9)+parseInt(t(341))/10+parseInt(t(310))/11*(-parseInt(t(340))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class he{constructor(){const t=ue;this._isReady=!1,this[t(335)]=null}[de(333)](t){const e=de;this._config=t,this[e(313)]=!0,t[e(320)]&&console.log(e(318))}isReady(){return this[de(313)]}getConfig(){return this[de(335)]}[de(343)](t){const e=de;le[e(343)](t),this[e(335)]?.debug&&console[e(336)](e(311),t)}[de(337)](){return le[de(337)]()}[de(308)](t){const e=de;oe[e(308)](t),this._config?.debug&&console[e(336)](e(325),t)}getUserProperties(){return oe[de(307)]()}setDeviceInfo(t){const e=de;ee.setDeviceInfo(t),this._config?.[e(320)]&&console[e(336)](e(322),t)}[de(338)](t,e){const n=de;ee[n(338)](t,e),this[n(335)]?.[n(320)]&&console.log("📱 Device property set:",t,e)}[de(350)](){const t=de;ee[t(350)](),this[t(335)]?.[t(320)]&&console[t(336)]("📱 User provided device info cleared")}getUserDeviceInfo(){return ee[de(321)]()}getDeviceInfo(){return ee[de(349)]()}[de(324)](){return oe.getUserInfo()}[de(307)](){return oe[de(307)]()}async[de(339)](t,e){const n=de;if(this[n(313)])if(this[n(335)]?.[n(344)])try{const r={eventName:t,userId:le[n(337)](),sessionId:le[n(326)](),sdkVersion:E(),device:ee[n(349)](),user:oe.getUserInfo(),params:e||{}};await this[n(323)](r),this[n(335)].debug&&console[n(336)](n(319),t,e)}catch(r){console[n(330)](n(347),r),this[n(335)][n(320)]&&console.error(n(332),{eventName:t,properties:e})}else console[n(334)]("API key not configured for event tracking.");else console[n(334)]("Events module not initialized. Call AdStage.init() first.")}async[de(323)](t){const e=de,n=await fetch(K[e(309)][e(339)](),{method:e(312),headers:{...C[e(316)](this[e(335)][e(344)]),"Content-Type":"application/json"},body:JSON[e(329)](t)});if(!n.ok)throw new Error("Event tracking failed: "+n[e(314)]+" "+n.statusText)}}const fe=me;function ge(){const t=["463582hRlZYI","39EmnPjS","10EtGnZs","development",")의 viewable 추적 초기화됨","🌐 API endpoint configured:","debug","reset","log","clearAdViewable","instance","getConfig","ads","clear","78266QzzOLE","isReady","12759329oRlAYt","5451642IfCMHS","5401109iTcRbC","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","init","setBaseUrl","✅ AdStage Debug: 광고 ","7712BMkhni","modules","3582XVdiKW","config","_config","2.0.0","AdStage not initialized. Call AdStage.init() first.","20qgUwbw","API key is required for AdStage initialization","apiKey","127695kCFVly","_isInitialized","events","🚀 AdStage SDK initialized (sync mode)","getInstance","baseUrl"];return(ge=function(){return t})()}function me(t,e){const n=ge();return(me=function(t,e){return n[t-=100]})(t,e)}!function(){const t=me,e=ge();for(;;)try{if(460759===parseInt(t(116))/1+-parseInt(t(130))/2*(-parseInt(t(117))/3)+parseInt(t(107))/4*(parseInt(t(110))/5)+parseInt(t(133))/6+-parseInt(t(134))/7+parseInt(t(100))/8*(parseInt(t(102))/9)+-parseInt(t(118))/10*(parseInt(t(132))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ye{constructor(){const t=me;this[t(111)]=!1,this[t(104)]=null,this[t(103)]=new Gt,this[t(128)]=new Xt,this[t(112)]=new he}static init(t){const e=me;!ye[e(126)]&&(ye[e(126)]=new ye);const n=ye[e(126)];if(!t[e(109)])throw new Error(e(108));n[e(104)]={timeout:3e4,debug:!1,modules:[e(128),e(112),"config"],...t},n._config[e(115)]&&(K[e(137)](n[e(104)][e(115)]),t[e(122)]&&console.log(e(121),n[e(104)][e(115)]));const r=n[e(104)][e(101)]||[e(128),e(112),e(103)];for(const t of r){const r=n[t];r&&"function"==typeof r[e(136)]&&r[e(136)](n[e(104)])}n[e(111)]=!0,t[e(122)]&&console.log(e(113),{version:e(105),modules:r,apiKey:t[e(109)].substring(0,8)+"...",mode:e(119)})}static[fe(131)](){const t=fe;return ye[t(126)]?.[t(111)]||!1}static[fe(127)](){const t=fe;return ye[t(126)]?.[t(104)]||null}static[fe(114)](){const t=fe;if(!ye[t(126)])throw new Error(t(106));return ye[t(126)]}static get ads(){return ye[fe(114)]().ads}static get events(){const t=fe;return ye.getInstance()[t(112)]}static get[fe(103)](){const t=fe;return ye.getInstance()[t(103)]}static[fe(123)](){const t=fe;ye.instance&&(ye[t(126)][t(111)]=!1,ye[t(126)]._config=null)}}function Ie(){var t=["isReady","7dpZVAh","warn","track","events","getUserProperties","747274LSMtDE","setUserId","getUserId","19471304bhPjpl","AdStage not initialized. Call AdStage.init() first.","6454290qUfGjA","1547520GIdWfb","3888270KiXyYN","2107024uZmHWk","1389794Uojcra"];return(Ie=function(){return t})()}function ve(t,e){var n=Ie();return(ve=function(t,e){return n[t-=165]})(t,e)}function be(t,e){var n=ve;return ye[n(177)]()?ye[n(165)][n(180)](t,e):(console[n(179)](n(171)),Promise.resolve())}function we(t){var e=ve;ye[e(177)]()?ye[e(165)][e(168)](t):console[e(179)](e(171))}function Ee(){var t=ve;if(ye[t(177)]())return ye.events[t(169)]();console.warn(t(171))}function ke(t){var e=ve;ye[e(177)]()?ye[e(165)].setUserProperties(t):console[e(179)](e(171))}function xe(){var t=ve;if(ye[t(177)]())return ye[t(165)][t(166)]();console[t(179)](t(171))}ye[fe(122)]={clearAllViewable:()=>{const t=fe;at[t(129)](),console[t(124)](t(135))},clearAdViewable:(t,e)=>{const n=fe;at[n(125)](t,e),console[n(124)](n(138)+t+"("+e+n(120))},getViewableStatus:()=>{console[fe(124)]("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:at.viewableTracker.size,trackedItems:Array.from(at.viewableTracker)})}},function(){for(var t=ve,e=Ie();;)try{if(539083===-parseInt(t(167))/1+parseInt(t(176))/2+-parseInt(t(173))/3+parseInt(t(175))/4+-parseInt(t(174))/5+-parseInt(t(172))/6+parseInt(t(178))/7*(parseInt(t(170))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Se,Ae={exports:{}},Te={},Ce={exports:{}},Re={};Ce.exports=function(){if(Se)return Re;Se=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!E.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function T(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),T(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var l=0;l<n.length;l++){var d=o+A(a=n[l],l);c+=T(a,r,s,d,i)}else if(d=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof d)for(n=d.call(n),l=0;!(a=n.next()).done;)c+=T(a=a.value,r,s,d=o+A(a,l++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function C(t,e,n){if(null==t)return t;var r=[],s=0;return T(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var _={current:null},D={transition:null},L={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function B(){throw Error("act(...) is not supported in production builds of React.")}return Re.Children={map:C,forEach:function(t,e,n){C(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return C(t,function(){e++}),e},toArray:function(t){return C(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Re.Component=g,Re.Fragment=n,Re.Profiler=s,Re.PureComponent=y,Re.StrictMode=r,Re.Suspense=c,Re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,Re.act=B,Re.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)b.call(n,l)&&!E.hasOwnProperty(l)&&(s[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Re.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},Re.createElement=k,Re.createFactory=function(t){var e=k.bind(null,t);return e.type=t,e},Re.createRef=function(){return{current:null}},Re.forwardRef=function(t){return{$$typeof:a,render:t}},Re.isValidElement=x,Re.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:R}},Re.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},Re.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},Re.unstable_act=B,Re.useCallback=function(t,e){return _.current.useCallback(t,e)},Re.useContext=function(t){return _.current.useContext(t)},Re.useDebugValue=function(){},Re.useDeferredValue=function(t){return _.current.useDeferredValue(t)},Re.useEffect=function(t,e){return _.current.useEffect(t,e)},Re.useId=function(){return _.current.useId()},Re.useImperativeHandle=function(t,e,n){return _.current.useImperativeHandle(t,e,n)},Re.useInsertionEffect=function(t,e){return _.current.useInsertionEffect(t,e)},Re.useLayoutEffect=function(t,e){return _.current.useLayoutEffect(t,e)},Re.useMemo=function(t,e){return _.current.useMemo(t,e)},Re.useReducer=function(t,e,n){return _.current.useReducer(t,e,n)},Re.useRef=function(t){return _.current.useRef(t)},Re.useState=function(t){return _.current.useState(t)},Re.useSyncExternalStore=function(t,e,n){return _.current.useSyncExternalStore(t,e,n)},Re.useTransition=function(){return _.current.useTransition()},Re.version="18.3.1",Re}();var _e,De=Ce.exports;
1
+ function t(e,n){var r=h();return(t=function(t,e){return r[t-=389]})(e,n)}var e,n,r,s,o,i,a,c,d,l,u,p;function h(){var t=["2pvhXEu","CLICK","MOBILE","TEXT","DESKTOP","5556352BfLclu","TABLET","470904RiGXNx","WEB","106555fwNveb","BANNER","POPUP","INTERSTITIAL","NATIVE","152IcFkXw","VIDEO","7746290obeeBw","3402333qgIAmS","341535NpVryD","7ykqzgV","5948940ySkKHP"];return(h=function(){return t})()}!function(){for(var e=t,n=h();;)try{if(630651===parseInt(e(398))/1+parseInt(e(391))/2*(parseInt(e(409))/3)+parseInt(e(405))/4*(-parseInt(e(400))/5)+parseInt(e(390))/6*(-parseInt(e(389))/7)+parseInt(e(396))/8+parseInt(e(408))/9+parseInt(e(407))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(),(n=e||(e={}))[(r=t)(401)]=r(401),n.POPUP=r(402),n.INTERSTITIAL=r(403),n.NATIVE=r(404),n[r(406)]=r(406),n.TEXT=r(394),(o=s||(s={}))[(i=t)(399)]=i(399),o[i(393)]=i(393),c=a||(a={}),d=t,c.VIEWABLE="VIEWABLE",c[d(392)]=d(392),(u=l||(l={}))[(p=t)(395)]=p(395),u.MOBILE="MOBILE",u.TABLET=p(397);const f=m;function g(){const t=["10HaVyUE","safeRemoveClass","location","textContent"," (최대 ","createElement","canUseDOM","160235noelDH","waitForElements","min","title","isDOMReady","entries","scrollTop","getDocumentProperty","ceil","from","ms (","removeChild","safeGetElementById",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"safeRemoveEventListener","waitForElement","innerWidth","5810031VSbZDp","addEventListener","ms)","open","ms 경과)","safeAddClass","DOMContentLoaded","⏳ 컨테이너 대기 시작: ","DOM을 사용할 수 없는 환경입니다.","getScrollInfo","readyState","setProperty","✅ 컨테이너 즉시 발견: ","getComputedStyle","getViewportInfo","pageYOffset","all","safeSetTextContent","safeWindowOpen","removeEventListener","9331664ukCSfT","isBrowser","innerHeight","safeQuerySelectorAll","safeAppendChild","866902vkFeWb","devicePixelRatio","getWindowProperty","1565350MjVasE","safeQuerySelector","번 시도)","appendChild","956996tSPLbb","innerHTML","3DLhIbh","getElementById","style","log","✅ 컨테이너 발견: ","add","documentElement","270ZFrVsa","map","remove","loading","classList","getPageInfo","waitForDOM","referrer","24003yEEuHp"];return(g=function(){return t})()}function m(t,e){const n=g();return(m=function(t,e){return n[t-=329]})(t,e)}!function(){const t=m,e=g();for(;;)try{if(658023===parseInt(t(351))/1+-parseInt(t(354))/2+-parseInt(t(360))/3*(-parseInt(t(358))/4)+-parseInt(t(383))/5+-parseInt(t(367))/6*(parseInt(t(375))/7)+parseInt(t(346))/8+-parseInt(t(400))/9*(parseInt(t(376))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class v{static isBrowser(){return"undefined"!=typeof window&&"undefined"!=typeof document}static isSSR(){return!this[m(347)]()}static[f(382)](){const t=f;return this[t(347)]()&&void 0!==document[t(336)]}static[f(395)](t){const e=f;return this[e(382)]()?document[e(361)](t):null}static[f(355)](t){return this.canUseDOM()?document.querySelector(t):null}static[f(349)](t){const e=f;return this.canUseDOM()?Array[e(392)](document.querySelectorAll(t)):[]}static safeCreateElement(t){const e=f;return this[e(382)]()?document[e(381)](t):null}static safeAddEventListener(t,e,n,r){const s=f;this[s(382)]()&&t&&t[s(401)](e,n,r)}static[f(397)](t,e,n,r){const s=f;this.canUseDOM()&&t&&t[s(345)](e,n,r)}static getWindowProperty(t,e){return this[f(347)]()?window[t]??e:e}static[f(390)](t,e){return this[f(382)]()?document[t]??e:e}static[f(344)](t,e,n){const r=f;return this[r(347)]()?window[r(329)](t,e,n):null}static safeGetComputedStyle(t){const e=f;return this.isBrowser()&&t?window[e(339)](t):null}static[f(387)](){const t=f;return!!this[t(382)]()&&document[t(336)]!==t(370)}static[f(373)](){return new Promise(t=>{const e=m;this[e(382)]()?this.isDOMReady()?t():this.safeAddEventListener(document,e(332),()=>t()):t()})}static safeApplyStyles(t,e){const n=f;this[n(382)]()&&t&&Object[n(388)](e).forEach(([e,r])=>{const s=n;t[s(362)][s(337)](e,r)})}static[f(331)](t,e){const n=f;this[n(382)]()&&t&&t.classList[n(365)](e)}static[f(377)](t,e){const n=f;this[n(382)]()&&t&&t[n(371)][n(369)](e)}static[f(343)](t,e){const n=f;this[n(382)]()&&t&&(t[n(379)]=e)}static safeSetInnerHTML(t,e){const n=f;this[n(382)]()&&t&&(t[n(359)]=e)}static[f(350)](t,e){const n=f;this[n(382)]()&&t&&e&&t[n(357)](e)}static safeRemoveChild(t,e){const n=f;this[n(382)]()&&t&&e&&t[n(394)](e)}static[f(372)](){const t=f;return{url:this.getWindowProperty(t(378),{href:""}).href,title:this[t(390)](t(386),""),referrer:this.getDocumentProperty(t(374),"")}}static[f(340)](){const t=f;return{width:this[t(353)](t(399),0),height:this[t(353)](t(348),0),pixelRatio:this[t(353)](t(352),1)}}static[f(335)](){const t=f;return{scrollTop:this.canUseDOM()?window[t(341)]||document[t(366)][t(389)]:0,scrollLeft:this[t(353)]("pageXOffset",0)}}static async[f(398)](t,e={}){const n=f,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this.canUseDOM())throw new Error(n(334));const i=document[n(361)](t);return i?(o&&console[n(363)](n(338)+t),i):(o&&console.log(n(333)+t+n(380)+r+n(402)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(391)](r/s),l=()=>{const n=a;c++;const u=document[n(361)](t);if(u)return o&&console.log(n(364)+t+" ("+c+"번째 시도, "+c*s+n(330)),void e(u);if(c>=d){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+n(396)+t+'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '+r+n(393)+c+n(356);return o&&console.error(e),void i(new Error(e))}o&&c%10==0&&console.log("⏳ 컨테이너 대기 중: "+t+" ("+c+"/"+d+")");const p=Math[n(385)](s*Math.pow(1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[f(384)](t,e={}){const n=f,r=t[n(368)](t=>this[n(398)](t,e));return Promise[n(342)](r)}}const y=k;!function(){const t=k,e=w();for(;;)try{if(411013===parseInt(t(410))/1+parseInt(t(404))/2+-parseInt(t(412))/3+parseInt(t(407))/4+-parseInt(t(413))/5+parseInt(t(411))/6+parseInt(t(405))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const I=y(408);function b(){return I}function w(){const t=[" AdStageSDK/","332917VgxUBj","300870ZxxgCZ","1089963EQiHQf","2337790eEBQsN","488286wqdjBA","1405425PXSVks","userAgent","1655648fcDdTG",'"3.0.6"'];return(w=function(){return t})()}function k(t,e){const n=w();return(k=function(t,e){return n[t-=404]})(t,e)}function E(){const t=["round","SSR","1419228dlGPku","random","userAgent","104302LugaPk","setItem","effectiveType","4285670TYdtiw","test","toString","now","ios","ssr_session_","isBrowser","android","substr","timeZone","resolvedOptions","getItem","collectDeviceInfo","241192CeRMGU","safeGetElementById","generateDeviceId","getScrollInfo","129796jGmEvw","session_","isMobile","getPlatform","getViewportInfo",",y:","7uuldkN","ssr_device_","54jzuoqB","top","web","colorDepth","left","connection","pixelRatio","desktop","4014230EuHEng","unknown","adstage_device_id","scrollTop","2FYkVBy","platform","14958vdQBwJ","width","device_","toLowerCase","adstage_session_id","height","generateSessionId"];return(E=function(){return t})()}const x=S;function S(t,e){const n=E();return(S=function(t,e){return n[t-=210]})(t,e)}!function(){const t=S,e=E();for(;;)try{if(470329===-parseInt(t(216))/1+-parseInt(t(256))/2*(parseInt(t(213))/3)+-parseInt(t(236))/4+parseInt(t(219))/5+-parseInt(t(258))/6*(-parseInt(t(242))/7)+-parseInt(t(232))/8*(parseInt(t(244))/9)+parseInt(t(252))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{static generateDeviceId(){const t=S;if(!v[t(225)]())return t(243)+Date.now();const e=localStorage[t(230)](t(254));if(e)return e;const n=t(260)+Math.random()[t(221)](36)[t(227)](2,9)+"_"+Date[t(222)]();return localStorage[t(217)]("adstage_device_id",n),n}static generateSessionId(){const t=S;if(!v[t(225)]())return t(224)+Date[t(222)]();const e=sessionStorage[t(230)](t(262));if(e)return e;const n=t(237)+Math[t(214)]()[t(221)](36)[t(227)](2,9)+"_"+Date[t(222)]();return sessionStorage.setItem(t(262),n),n}static isMobile(){const t=S;return!!v.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(220)](navigator.userAgent)}static[x(239)](){const t=x;if(!v[t(225)]())return"web";const e=navigator[t(215)][t(261)]();return/iphone|ipad|ipod/[t(220)](e)?t(223):/android/[t(220)](e)?t(226):A[t(238)]()?t(246):t(251)}static[x(231)](){const t=x,e=v[t(240)]();return{deviceId:A[t(234)](),sessionId:A[t(210)](),osVersion:v[t(225)]()?navigator[t(257)]:t(212),deviceModel:v.isBrowser()?navigator[t(257)]:"SSR",appVersion:"1.0.0",sdkVersion:b(),language:v.isBrowser()&&navigator.language||"ko",country:"KR",ipAddress:"",userAgent:v[t(225)]()?navigator.userAgent:t(212),timezone:v[t(225)]()?Intl.DateTimeFormat()[t(229)]()[t(228)]:"UTC",viewportWidth:e[t(259)],viewportHeight:e.height,screenWidth:v[t(225)]()?screen.width:0,screenHeight:v[t(225)]()?screen[t(263)]:0,colorDepth:v[t(225)]()?screen[t(247)]:24,pixelRatio:e[t(250)],connectionType:v[t(225)]()&&navigator[t(249)]?.[t(218)]||t(253),platform:A[t(239)]()}}static getSlotPosition(t){const e=x,n=v[e(233)](t);if(!n)return e(253);const r=n.getBoundingClientRect(),s=v[e(235)]();return"x:"+Math[e(211)](r[e(248)])+e(241)+Math[e(211)](r[e(245)]+s[e(255)])}}function C(){const t=["60ULgdcd","1062040XeeICU","create","1877182BrYnWr","2592867VBiUwR","contentType","26590vKsgbY","4463750NxxRkz","6549352ksEiLv","4rEkVvq","userAgent","417385EbXddV","API key is required","application/json","User-Agent","3294yZQVJm"];return(C=function(){return t})()}const T=R;function R(t,e){const n=C();return(R=function(t,e){return n[t-=111]})(t,e)}!function(){const t=R,e=C();for(;;)try{if(813008===parseInt(t(112))/1+-parseInt(t(120))/2+parseInt(t(121))/3*(parseInt(t(126))/4)+-parseInt(t(124))/5+parseInt(t(117))/6*(parseInt(t(118))/7)+parseInt(t(125))/8+parseInt(t(116))/9*(-parseInt(t(123))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class D{static[T(119)](t,e){const n=T;if(!t)throw new Error(n(113));const r={"x-api-key":t,"Content-Type":e?.[n(122)]||n(114)};return"undefined"!=typeof navigator&&(r["User-Agent"]=e?.[n(111)]||navigator.userAgent),r}static createForEvents(t,e){const n=T,r=D[n(119)](t);return e?.userAgent&&(r[n(115)]=e[n(111)]),r}}const _=B;function B(t,e){const n=L();return(B=function(t,e){return n[t-=237]})(t,e)}function L(){const t=["5666352lhKSLA","text","2hqikij","3ZwZuiV","substring","4798164Ornabk","statusText","🌐 Full API call details:","stringify","✅ Successfully tracked advertisement event: ","3536958uqhIPy","144ezDblC"," in slot ","1216016AixOsg","POST","debug","log","createForEvents","22280iBwEQB","getPageInfo","13004IueJWn","containerId","5090129OjRhVD","referrer","string"," - ","parseNumericValue","VIEWABLE","5gvYgCH","📡 API Response Status: ","BANNER","status","deviceId","length","NOT_SET","🔍 Debug info:"," for ad ","baseUrl","width","height","url","collectDeviceInfo","API request failed: ","trackAdvertisementEvent"," event for ad ","/advertisements/events/","slots","number","get","getSlotPosition","replace","...","apiKey","now","🚀 AdvertisementEventTracker: Processing ","error"];return(L=function(){return t})()}!function(){const t=B,e=L();for(;;)try{if(430560===parseInt(t(273))/1*(-parseInt(t(291))/2)+parseInt(t(274))/3*(parseInt(t(284))/4)+-parseInt(t(243))/5*(-parseInt(t(281))/6)+parseInt(t(276))/7+-parseInt(t(271))/8+parseInt(t(282))/9*(parseInt(t(289))/10)+-parseInt(t(237))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{constructor(t,e,n,r){const s=B;this[s(252)]=t,this[s(267)]=e,this[s(286)]=n,this[s(261)]=r}async[_(258)](t,e,n){const r=_;try{this[r(286)]&&console[r(287)](r(269)+n+r(259)+t+r(283)+e);const s=this[r(261)][r(263)](e),o=A[r(256)](),i={adType:s?.adType||r(245),platform:o.platform,deviceId:o[r(247)],deviceInfo:o,pageUrl:v[r(290)]()[r(255)],pageTitle:v[r(290)]().title,referrer:v[r(290)]()[r(238)],slotId:e,slotPosition:A[r(264)](s?.[r(292)]||""),slotWidth:P.parseNumericValue(s?.[r(253)]),slotHeight:P.parseNumericValue(s?.[r(254)]),sessionId:o.sessionId,pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:b(),timestamp:Date[r(268)]()},...n===a[r(242)]&&{isViewable:!0,iabCompliant:!0}},c=this[r(252)]+r(260)+t+"/"+n,d=D[r(288)](this[r(267)],i);this[r(286)]&&(console.log("🚀 Sending advertisement event: "+n+r(251)+t,{url:c,headers:d,eventData:i}),console[r(287)](r(278),{method:r(285),url:c,hasApiKey:!!this[r(267)],bodySize:JSON[r(279)](i)[r(248)]}));const l=await fetch(c,{method:r(285),headers:d,body:JSON.stringify(i)});if(this[r(286)]&&console.log(r(244)+l[r(246)]+" "+l.statusText,{url:c,ok:l.ok}),!l.ok){const t=await l[r(272)]();throw new Error(r(257)+l[r(246)]+" "+l[r(277)]+r(240)+t)}this[r(286)]&&console[r(287)](r(280)+n+r(251)+t)}catch(s){console.error("❌ Failed to track advertisement event:",s),console[r(270)](r(250),{baseUrl:this.baseUrl,apiKey:this[r(267)]?this[r(267)][r(275)](0,8)+r(266):r(249),url:this[r(252)]+r(260)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[_(241)](t){const e=_;if(typeof t===e(262))return t;if(typeof t===e(239)){const n=parseFloat(t[e(265)](/px$/,""));return isNaN(n)?0:n}return 0}}function U(t,e){var n=N();return(U=function(t,e){return n[t-=279]})(t,e)}var M=U;function N(){var t=["IntersectionObserver not supported, viewability tracking disabled","isViewableTriggered","onViewableCallback","IntersectionObserver","initIntersectionObserver","4717860OjSYhM","element","48648VRjqtM","1478775jUJdbr","visibilityState","visible","observer","10RuTjQk","22PaOFsG","8575HlSPLB","destroy","948810WvPAzA","186subHyP","4JkdNjB","0px","warn","forEach","handleIntersection","1024aqwhCZ","8390004DlyVXT","isDocumentVisible","15516WRRKaY","intersectionRatio","observe"];return(N=function(){return t})()}!function(){for(var t=U,e=N();;)try{if(258026===parseInt(t(285))/1*(parseInt(t(280))/2)+parseInt(t(281))/3+-parseInt(t(291))/4*(-parseInt(t(289))/5)+-parseInt(t(290))/6*(-parseInt(t(287))/7)+-parseInt(t(296))/8*(-parseInt(t(299))/9)+parseInt(t(307))/10+parseInt(t(286))/11*(-parseInt(t(297))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class V{constructor(t,e){var n=U;this[n(284)]=null,this[n(303)]=!1,this[n(279)]=t,this[n(304)]=e,this[n(306)]()}[M(306)](){var t=M;t(305)in window?(this[t(284)]=new IntersectionObserver(e=>this[t(295)](e),{threshold:.5,rootMargin:t(292)}),this[t(284)][t(301)](this[t(279)])):console[t(293)](t(302))}[M(295)](t){var e=M;t[e(294)](t=>{var n=e;t[n(300)]>=.5&&this[n(298)]()&&!this[n(303)]&&(this.isViewableTriggered=!0,this[n(304)]&&this.onViewableCallback())})}[M(298)](){var t=M;return!document.hidden&&document[t(282)]===t(283)}[M(288)](){var t=M;this[t(284)]&&(this[t(284)].disconnect(),this.observer=null)}}const O=H;!function(){const t=H,e=F();for(;;)try{if(841015===-parseInt(t(453))/1+-parseInt(t(465))/2+parseInt(t(467))/3*(parseInt(t(455))/4)+parseInt(t(450))/5*(parseInt(t(462))/6)+parseInt(t(469))/7+-parseInt(t(457))/8+-parseInt(t(459))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const z={production:O(466),beta:O(461)};function F(){const t=["96WgzLVa","/advertisements/list","11274445yCsdQT","detail","track","5dWoIcO","production","/advertisements/events","148502qZDXvy","events","141124lBCxNT","startsWith","2717368GPurUY","advertisements","15342867uvufes","/events/track","https://beta-api.adstage.app","9685068pgCHBE","getBaseUrl","baseUrl","2639708tmhbkV","https://api.adstage.app"];return(F=function(){return t})()}O(451);const j={advertisements:{list:O(468),detail:"/advertisements",events:O(452)},events:{track:O(460)}};function H(t,e){const n=F();return(H=function(t,e){return n[t-=448]})(t,e)}class W{constructor(t){const e=O;this[e(458)]={list:()=>""+this[e(464)]+j[e(458)].list,detail:t=>""+this.baseUrl+j[e(458)][e(448)]+"/"+t,events:(t,n)=>""+this[e(464)]+j[e(458)][e(454)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(464)]+j[e(454)][e(449)]},this[e(464)]=t||z[e(451)]}setBaseUrl(t){this[O(464)]=t}[O(463)](){return this[O(464)]}custom(t){const e=O;return""+this[e(464)]+(t[e(456)]("/")?t:"/"+t)}}const K=new W;function q(){var t=["1057374xEbBbh","2319488BvljVL","trackSlideViewable","37546JwLqdy","18MfhvuD"," (index: 0) in slot: ","1157856KjIhnq","119135PypgdB","🎯 Triggering VIEWABLE event for slide change: ad ","log","VIEWABLE","🎯 Triggering initial VIEWABLE event: ad ",") in slot: ","85UknTdn","_id","trackInitialSlideViewable","4293897qXatUF","2259985XrVMkd"];return(q=function(){return t})()}var Y=J;function J(t,e){var n=q();return(J=function(t,e){return n[t-=459]})(t,e)}!function(){for(var t=J,e=q();;)try{if(837048===-parseInt(t(465))/1*(parseInt(t(473))/2)+parseInt(t(468))/3+parseInt(t(471))/4+-parseInt(t(459))/5*(-parseInt(t(474))/6)+parseInt(t(469))/7+parseInt(t(476))/8+-parseInt(t(470))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class G{static[Y(472)](t,e,n,r,s=!1){var o=Y;s&&console[o(461)](o(460)+t._id+" (index: "+n+o(464)+e.id),r(t[o(466)],e.id,a[o(462)])}static[Y(467)](t,e,n,r=!1){var s=Y;r&&console[s(461)](s(463)+t[s(466)]+s(475)+e.id),n(t[s(466)],e.id,a[s(462)])}}const X=Z;function Z(t,e){const n=Q();return(Z=function(t,e){return n[t-=367]})(t,e)}function Q(){const t=["2350636pwNieJ","3883PBYStr","3CtbYkG","toLowerCase","3789410fTSAdO","addClickEvent","4934352LSKDvY","514ppaoIE","addEventListener","954324nOjDWp","adType","🔗 ","2862abkREI","click","linkUrl","7IAepDs"," -> ","preventDefault","addClickEventForSlider","cursor","open","style"," ad clicked: ","forEach","addClickEventForRenderer","419772shcNtx","pointer","CLICK","log","addClickEventsBatch","isClickable","_id","20990qCEeAa","stopPropagation"];return(Q=function(){return t})()}!function(){const t=Z,e=Q();for(;;)try{if(449780===parseInt(t(393))/1*(-parseInt(t(388))/2)+-parseInt(t(383))/3*(-parseInt(t(381))/4)+parseInt(t(385))/5+parseInt(t(372))/6+-parseInt(t(396))/7*(-parseInt(t(387))/8)+-parseInt(t(390))/9+parseInt(t(379))/10*(-parseInt(t(382))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ${static[X(386)](t,e,n,r,s=!1,o){const i=X;e.linkUrl&&(t.style[i(400)]=i(373),t[i(389)](i(394),t=>{const c=i;if(t[c(398)](),t[c(380)](),r&&r(e[c(378)],n.id,a[c(374)]),window[c(367)](e[c(395)],"_blank"),s){const t=o||String(n[c(391)])[c(384)]();console[c(375)](c(392)+t+c(369)+e._id+" -> "+e[c(395)])}}))}static[X(371)](t,e,n,r,s=!1,o){const i=X;e[i(395)]&&(t[i(368)][i(400)]="pointer",t.addEventListener(i(394),t=>{const c=i;t[c(398)](),t.stopPropagation();if(r()(e._id,n.id,a[c(374)]),window[c(367)](e[c(395)],"_blank"),s){const t=o||String(n[c(391)])[c(384)]();console[c(375)]("🔗 "+t+c(369)+e[c(378)]+c(397)+e.linkUrl)}}))}static[X(399)](t,e,n,r,s=!1,o){this[X(386)](t,e,n,r,s,o)}static[X(377)](t){return Boolean(t[X(395)])}static[X(376)](t,e,n,r,s=!1,o){const i=X;t[i(370)]((t,a)=>{const c=i,d=e[a];d&&this[c(386)](t,d,n,r,s,o)})}}const tt=nt;function et(){const t=["0.9","touchend","style","adstage-dot","createMinimalDotIndicator","adstage-slide-container","transition","Banner Ad","\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 ","transform","color","createElement","flex","children","transparent","_id","toLowerCase","imageUrl",".adstage-dot","TEXT","#f0f0f0","img","string","100%","video","background","removeChild","height","2352243xWqlyL","overflow","#f9f9f9","getBoundingClientRect","every","none","mouseenter","border","appendChild","5821260LSIwBe","touchstart","whiteSpace","Text Ad","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","translateX(-","relative","1670978QzSdES","auto","#666666","adType","querySelectorAll","adstage-ad adstage-","preventDefault","addEventListener","length","BANNER","adstage-slider-wrapper","remove","className","1738354WQGuOl","276jMPpSl","width","fontSize","100px","objectFit","addClickEventForSlider","1px dashed #ccc","1px solid #666","#999999","clientX","5301720WaJTDL","transform 0.4s ease-out","backgroundColor","changedTouches","setProperty","254849RwmWWF","includes","createSimpleAdElement","padding","entries","center","8px","borderColor","display","videoUrl","touches","block","VIDEO","0.7","textContent","src","autoSlideInterval","classList","touchmove","click","div"," Ad","inline-block","Video Ad","contains","active","adstage-dots","setAttribute","200px","forEach","body","adstage-slide","cssText","opacity","hidden","22899056JniXOe","addTouchSupport","#cccccc"];return(et=function(){return t})()}function nt(t,e){const n=et();return(nt=function(t,e){return n[t-=475]})(t,e)}!function(){const t=nt,e=et();for(;;)try{if(894257===parseInt(t(537))/1+-parseInt(t(524))/2+parseInt(t(508))/3+parseInt(t(517))/4+-parseInt(t(548))/5+parseInt(t(538))/6*(parseInt(t(553))/7)+-parseInt(t(477))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[tt(555)](t,n){const r=tt,s=document[r(491)](r(573));switch(s[r(536)]=r(529)+String(t.adType)[r(496)](),s[r(580)]("data-adstage-ad-id",n[r(495)]),s.setAttribute("data-adstage-slot-id",t.id),s.style.display=r(564),s.style[r(539)]="100%",s[r(482)].height=r(525),t.adType){case e[r(533)]:if(n[r(497)]){const t=document[r(491)](r(501));t.src=n[r(497)],t.style[r(539)]=r(503),t[r(482)][r(507)]="auto",t[r(482)][r(542)]="cover",s.appendChild(t)}else s[r(482)].height=r(541),s[r(482)][r(550)]=r(500),s[r(482)].border=r(544),s[r(567)]=r(487);break;case e[r(565)]:if(n[r(562)]){const t=document[r(491)](r(504));t[r(568)]=n[r(562)],t[r(482)].width=r(503),t[r(482)][r(507)]="auto",s[r(516)](t)}else s.style[r(507)]=r(581),s[r(482)][r(550)]="#000",s[r(482)].border=r(545),s[r(567)]=r(576),s.style[r(490)]="white";break;case e[r(499)]:if(n[r(567)]){const t=document.createElement(r(573));t[r(567)]=n[r(567)]||"",t.style[r(556)]=r(559),t[r(482)][r(540)]="14px",s[r(516)](t)}else s[r(482)].height="50px",s[r(482)][r(556)]="8px",s[r(567)]=r(520);break;default:s[r(482)][r(507)]="100px",s[r(482)][r(515)]=r(544),s[r(482)][r(550)]=r(510),s[r(567)]=t[r(527)]+r(574)}return s}static createSliderContainer(t,n,r,s,o=!1){const i=tt,a=document[i(491)](i(573));a[i(536)]=i(534);const c={position:i(523),overflow:i(476)};if(t.width&&0!==t[i(539)]){let e;e=typeof t[i(539)]===i(502)&&(t[i(539)][i(554)]("px")||t[i(539)].includes("%"))?t.width:t[i(539)]+"px",c[i(539)]=e,c[i(561)]="inline-block"}else c.display=i(575);if(t[i(507)]&&0!==t.height){const e=typeof t[i(507)]===i(502)?t[i(507)]:t[i(507)]+"px";c.height=e}Object.entries(c)[i(582)](([t,e])=>{a[i(482)].setProperty(t,e)});const d=!t[i(539)]||0===t[i(539)],l=!t[i(507)]||0===t[i(507)];if(d||l){const e=document[i(491)]("div");if(e[i(482)][i(585)]=i(521),!d&&t[i(539)]){let n;n=typeof t[i(539)]===i(502)?t.width[i(554)]("px")||t[i(539)][i(554)]("%")?t[i(539)]:t.width+"px":t[i(539)]+"px",e[i(482)][i(539)]=n,e.style[i(519)]="normal"}document[i(583)][i(516)](e);let r=0,s=0;n[i(582)](n=>{const o=i,a=this[o(555)](t,n);e[o(516)](a);const c=a[o(511)]();c.width>r&&(r=c[o(539)]),c[o(507)]>s&&(s=c[o(507)]),e.removeChild(a)}),d&&r>0&&(a[i(482)][i(539)]=r+"px",c.width=r+"px"),l&&s>0&&(a[i(482)][i(507)]=s+"px",c[i(507)]=s+"px"),document[i(583)][i(506)](e)}const u=[...n,n[0]],p=document[i(491)](i(573));p.className=i(485);const h={display:i(492),transition:i(549),width:100*u[i(532)]+"%"};t.height&&0!==t[i(507)]&&(h[i(507)]=i(503)),Object[i(557)](h).forEach(([t,e])=>{const n=i;p[n(482)][n(552)](t,e)}),u.forEach((e,n)=>{const r=i,a=document.createElement(r(573));a[r(536)]=r(584);const c={width:100/u[r(532)]+"%","flex-shrink":"0",display:r(492),"align-items":r(558),"justify-content":r(558)};t[r(507)]&&0!==t[r(507)]&&(c[r(507)]=r(503)),Object[r(557)](c)[r(582)](([t,e])=>{const n=r;a.style[n(552)](t,e)});const d=this[r(555)](t,e);$[r(543)](d,e,t,s,o,String(t[r(527)])[r(496)]()),a.appendChild(d),p[r(516)](a)});const f=n[i(512)](t=>t[i(527)]===e[i(499)])?null:this.createMinimalDotIndicator(n[i(532)]);let g=0;const m=n[i(532)],v=1e3*(r?.[i(569)]||3),y=(e,r=!1)=>{const a=i;g=e,p[a(482)][a(486)]=a(r?513:549),p[a(482)][a(489)]=a(522)+100/u.length*g+"%)";const c=g===m?0:g;if(f){f[a(528)](a(498)).forEach((t,e)=>{const n=a,r=t;e===c?(r[n(570)].add(n(578)),r[n(482)][n(505)]=n(526),r[n(482)][n(560)]=n(526),r.style.opacity="1"):(r.classList[n(535)](n(578)),r.style[n(505)]=n(494),r[n(482)][n(560)]=n(479),r[n(482)][n(475)]=n(566))})}G.trackSlideViewable(n[c],t,c,s,o)},I=()=>{g===m&&setTimeout(()=>{y(0,!0)},400)};if(f){f.querySelectorAll(i(498))[i(582)]((t,e)=>{const n=i;t.addEventListener(n(572),()=>y(e))})}let b=setInterval(()=>{y(g+1),I()},v);return a[i(531)]("mouseenter",()=>{clearInterval(b)}),a.addEventListener("mouseleave",()=>{b=setInterval(()=>{y(g+1),I()},v)}),this[i(478)](p,y,()=>g,m,I),a.appendChild(p),f&&a[i(516)](f),y(0),(!t[i(539)]||0===t.width)&&setTimeout(()=>{const e=i,n=p[e(493)][0];if(n){const r=n.children[0];if(r){const n=r[e(511)]();a[e(482)][e(539)]=n.width+"px",(!t[e(507)]||0===t[e(507)])&&(a[e(482)].height=n[e(507)]+"px"),a[e(482)][e(509)]="hidden"}}},10),a}static[tt(484)](t){const e=tt,n=document.createElement(e(573));n[e(536)]=e(579),n.style.cssText="\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ";for(let r=0;r<t;r++){const t=document.createElement("button");t[e(536)]=e(483),t[e(482)][e(585)]=e(488),t[e(531)](e(514),()=>{const n=e;!t[n(570)][n(577)](n(578))&&(t[n(482)].borderColor=n(546),t.style[n(475)]=n(480))}),t.addEventListener("mouseleave",()=>{const n=e;!t[n(570)][n(577)](n(578))&&(t[n(482)][n(560)]=n(479),t[n(482)][n(475)]=n(566))}),n[e(516)](t)}return n}static[tt(478)](t,e,n,r,s){const o=tt;let i=0,a=!1;t[o(531)](o(518),t=>{const e=o;i=t[e(563)][0][e(547)],a=!0}),t[o(531)](o(571),t=>{a&&t[o(530)]()}),t.addEventListener(o(481),t=>{const c=o;if(!a)return;a=!1;const d=t[c(551)][0][c(547)],l=i-d;if(Math.abs(l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}const st=ot;function ot(t,e){const n=it();return(ot=function(t,e){return n[t-=266]})(t,e)}function it(){const t=["log","899110MbQtxE","clear","35shOVuJ","isDuplicateViewable","clearAdViewable","17346BUnMDg","10351530DRnDaR","add","has","✅ New viewable recorded for ad "," in slot ","1535017XwKTAM","230TPvDSF","125teDllr","219692OLRUEw","delete","1900692AqNPaR","viewableTracker","33EGKwNs","2017528xaKvfT","Duplicate viewable blocked for ad "];return(it=function(){return t})()}!function(){const t=ot,e=it();for(;;)try{if(665502===-parseInt(t(267))/1+-parseInt(t(281))/2*(parseInt(t(285))/3)+-parseInt(t(283))/4+parseInt(t(280))/5*(-parseInt(t(272))/6)+-parseInt(t(269))/7*(-parseInt(t(286))/8)+-parseInt(t(273))/9+-parseInt(t(279))/10*(-parseInt(t(278))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class at{static[st(270)](t,e,n=!1){const r=st,s=t+"_"+e;return at[r(284)][r(275)](s)?(n&&console[r(266)](r(287)+t+r(277)+e),!0):(at[r(284)][r(274)](s),n&&console[r(266)](r(276)+t+r(277)+e),!1)}static[st(268)](){const t=st;at[t(284)][t(268)]()}static[st(271)](t,e){const n=st,r=t+"_"+e;at[n(284)][n(282)](r)}}at[st(284)]=new Set;const ct=lt;function dt(){const t=['<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"true","style",'div[style*="min-height"]',"monospace","display","error","883179gDsQCo",") - Mode: ","8AOxvPC","<span>Loading ","block","createElement","justifyContent","invisible","height","1830933yJlRQZ","color","13403900gYynbu","classList","querySelector","getDefaultHeight",'[class*="ad"]',"#e74c3c","generic","data-adstage-empty","1px dashed #ccc","158916osWFmN","toLowerCase","adstage-official","auto","flex","2MZLLjf","subtle","🔄 Starting advertisement event tracking: ","setAttribute","📊 Advertisement event tracked: ","data-adstage-type","⚠️ AdvertisementEventTracker not available for ","getContainerHeight","cssText","trackAdvertisementEvent"," x ","#f9f9f9","none","2px dashed #e74c3c","log",'[class*="container"]',"adType","transparent"," container: ","number",'[data-adstage-container="true"]',"className","11px"," for ","center","innerHTML","adstage-slot adstage-empty adstage-"," event for ad ","rgba(248, 249, 250, 0.5)","px)","warn","minHeight","borderRadius"," in slot ","fontSize","✅ New viewable recorded for ad ","getAttribute","hasAttribute","456989cgMIVO","fontFamily",".adstage-"," event"," ad...</span>","45igUKMQ","createEmptyContainer","closest",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"advertisement","contains","1494180fzxurH","unknown","appendChild","string","⚠️ ","📦 Placeholder created for ","🚫 Duplicate viewable blocked for ad ","4557126mjsteI","): ","isDuplicateViewable",".adstage-slot","applyPlaceholderStyle","getComputedStyle","alignItems","getElementById","calculateAdSize","opacity","width","containerId","100%","advertisementEventTracker","createPlaceholder","border","1px solid rgba(0, 0, 0, 0.08)","backgroundColor","debug","rgba(231, 76, 60, 0.1)","minimal",'[class*="banner"]',"div"," for ad ","placeholderMode","data-adstage-container","adstage-slot adstage-"];return(dt=function(){return t})()}function lt(t,e){const n=dt();return(lt=function(t,e){return n[t-=478]})(t,e)}!function(){const t=lt,e=dt();for(;;)try{if(400618===parseInt(t(523))/1*(parseInt(t(485))/2)+parseInt(t(575))/3+parseInt(t(534))/4+-parseInt(t(528))/5*(parseInt(t(480))/6)+-parseInt(t(541))/7*(-parseInt(t(577))/8)+parseInt(t(584))/9+-parseInt(t(586))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ut{constructor(t,e=!1,n){const r=lt;this[r(501)]=t,this[r(559)]=e,this.advertisementEventTracker=n||null}[ct(555)](t,e,n,r){const s=ct,o=document[s(580)](s(563));o.id=e,o[s(506)]=s(567)+String(this[s(501)])[s(481)](),o[s(488)](s(566),s(569)),o.setAttribute(s(490),String(this.adType)),o[s(488)]("data-adstage-slot",e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:s(553),height:this[s(589)]()};o[s(570)][s(551)]=i,o.style[s(583)]=a;const c=r?.[s(565)]||n[s(565)]||s(582);this[s(545)](o,c),t[s(536)](o),this[s(559)]&&console.log(s(539)+this[s(501)]+" slot: "+e+" ("+i+s(495)+a+s(576)+c)}applyPlaceholderStyle(t,e){const n=ct;switch(e){case"invisible":t[n(570)][n(558)]=n(502),t[n(570)][n(556)]=n(497),t.style[n(550)]="0",t[n(510)]="";break;case"transparent":t[n(570)][n(558)]="transparent",t[n(570)][n(556)]=n(497),t[n(570)].display=n(579),t[n(510)]="";break;case n(486):t[n(570)][n(558)]="rgba(0, 0, 0, 0.02)",t[n(570)][n(556)]=n(497),t[n(570)][n(517)]="4px",t[n(570)][n(573)]="flex",t[n(570)][n(547)]=n(509),t[n(570)][n(581)]=n(509),t[n(510)]=n(568);break;case n(561):t.style[n(558)]=n(513),t[n(570)][n(556)]=n(557),t[n(570)][n(517)]="6px",t[n(570)][n(573)]=n(484),t.style[n(547)]=n(509),t[n(570)].justifyContent=n(509),t[n(510)]=n(531);break;case n(559):t.style[n(556)]=n(498),t.style[n(573)]=n(484),t[n(570)][n(547)]=n(509),t[n(570)][n(581)]=n(509),t[n(570)][n(558)]=n(560),t.style[n(585)]=n(591),t[n(570)][n(524)]=n(572),t[n(570)][n(519)]=n(507),t.innerHTML=n(578)+this[n(501)]+" ad...</span>";break;default:t[n(570)][n(556)]=n(479),t.style[n(573)]=n(484),t.style[n(547)]=n(509),t[n(570)].justifyContent=n(509),t[n(570)][n(558)]=n(496),t[n(570)][n(585)]="#666",t[n(510)]=n(578)+this[n(501)]+n(527)}}[ct(549)](t,e,n){const r=ct,s=e.width,o=e.height;let i,a;if(i=typeof s===r(504)?s+"px":typeof s===r(537)?s:r(553),typeof o===r(504))a=o+"px";else if("string"==typeof o&&o!==r(553)&&o!==r(483))a=o;else{const e=this[r(492)](t);e>0?(a=r(553),(n?.debug||this[r(559)])&&console[r(499)]("📏 Using 100% height (container: "+e+r(514))):(a=this.getDefaultHeight(),(n?.[r(559)]||this[r(559)])&&console[r(499)]("📏 Using default height "+a+r(508)+this[r(501)]))}return{width:i,height:a}}getContainerHeight(t){const e=ct,n=window[e(546)](t),r=parseFloat(n[e(583)]);if(!r||0===r){const r=parseFloat(n[e(516)]);if(r>0)return r;if(t[e(570)][e(583)]&&"auto"!==t[e(570)].height){const n=parseFloat(t.style[e(583)]);if(n>0)return n}const s=t[e(521)](e(583));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=lt;if(n===a.VIEWABLE){if(at[r(543)](t,e,this.debug))return void(this[r(559)]&&console.log(r(540)+t+r(518)+e));this[r(559)]&&console[r(499)](r(520)+t+" in slot "+e)}if(this[r(554)])try{this[r(559)]&&console[r(499)](r(487)+n+r(564)+t+" in slot "+e),await this[r(554)][r(494)](t,e,n),this.debug&&console[r(499)](r(489)+n+" for ad "+t+r(518)+e)}catch(e){this[r(559)]&&console[r(574)]("❌ Failed to track "+n+r(512)+t+":",e)}else this.debug&&console[r(515)](r(491)+n+r(526))}}renderFallback(t){const e=ct,n=document[e(548)](t.id);if(n){const r=[...[n[e(588)](e(505)),n.closest('[data-adstage-container="true"]'),n].filter(t=>t&&t.hasAttribute(e(566))),...[n[e(530)](e(544)),n[e(530)](e(525)+String(this[e(501)])[e(481)]()),n[e(530)](e(590)),n.closest(e(562)),n[e(530)](e(500)),n[e(530)]('div[style*="height"]'),n[e(530)](e(571)),n.parentElement].filter(Boolean)][0];if(r){let n=e(535);n=r[e(522)](e(566))?e(482):r[e(587)][e(533)]("adstage-slot")?"adstage-class":e(592),r[e(570)][e(493)]+="\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 ",r.innerHTML="",r.setAttribute(e(478),e(569)),this.debug&&console[e(515)](e(538)+this[e(501)]+" container collapsed ("+n+e(542)+t.id,r)}else this.createEmptyContainer(t)}t[e(532)]=void 0,t.isEmpty=!0}[ct(529)](t){const e=ct,n=document[e(548)](t[e(552)]);if(n){n[e(510)]="";const r=document[e(580)](e(563));r.id=t.id,r.className=e(511)+String(this[e(501)])[e(481)](),r[e(488)](e(566),"true"),r[e(488)](e(478),e(569)),r[e(488)]("data-adstage-slot",t.id),r[e(570)][e(493)]="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n[e(536)](r),this[e(559)]&&console[e(515)]("⚠️ Created empty "+this[e(501)]+e(503)+t.id)}}[ct(499)](t,...e){const n=ct;this[n(559)]&&console.log("["+this[n(501)]+"] "+t,...e)}}const pt=ht;function ht(t,e){const n=ft();return(ht=function(t,e){return n[t-=183]})(t,e)}function ft(){const t=[" ads: ","1:1","appendChild","center","✅ Optimized banner image rendered for ad: ","default"," with ","fulfilled","max","borderRadius","10873776AmNXWR","dominant","Banner container optimization failed, using default size:","9MdcIxP","average","naturalWidth"," ads (optimized: ","aspectRatio","optimizedHeight","debug","ratio","275534qnfWdM"," (avg: ","error","forEach","slideInterval","📦 Banner container dimensions: ","🎠 Banner carousel created for slot: ","className","8px","div","959694nGiNsZ","21yNTKPG","49bTsEtn","objectFit","img","round","contain","name","calculateAdSize","config","calculateOptimalHeight","set","❌ Failed to load optimized banner image:","values","createSliderContainer","Failed to calculate optimal banner size, using defaults:","Banner Advertisement","imageUrl","reduce","getDefaultHeight","length","3:2","containerId","toString","filter","calculateOptimalContainerSize","createElement","Failed to load image: ","8005987LdCibN","common",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"renderOptimizedBannerImage","<div>","1004291aPRGQR","3602450BsdQse","onload","📸 Banner image dimensions: ","20FOGpkj","Banner","allSettled","loadImageDimensions","block","alt","width","warn","cover","addClickEventForRenderer","getBoundingClientRect","renderAdElement",", ratio=","parentElement","638260NMAGqp","250px","createEventTrackingCallback","height","src","style","map","value","innerHTML","log","BANNER","abs","objectPosition","🎨 Banner image style applied: objectFit=","selectOptimalSizeStrategy","getElementById","get","📐 Optimal banner container calculated: ","count","toFixed","optimizeContainerForBannerAds","title","adstage-ad adstage-banner-ad","100%"];return(ft=function(){return t})()}!function(){const t=ht,e=ft();for(;;)try{if(726331===-parseInt(t(199))/1+-parseInt(t(262))/2*(-parseInt(t(273))/3)+parseInt(t(217))/4*(parseInt(t(203))/5)+-parseInt(t(272))/6*(-parseInt(t(274))/7)+-parseInt(t(251))/8*(parseInt(t(254))/9)+-parseInt(t(200))/10+parseInt(t(194))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class gt extends ut{constructor(t=!1,n){super(e[ht(227)],t,n)}[pt(185)](){return pt(218)}async[pt(214)](t,e){const n=pt,r=document[n(232)](t[n(188)]);if(!r)return;const s=document.createElement(n(271));s[n(269)]=n(239);const o=t[n(259)],i=r[n(216)]||r;if(o)s[n(222)][n(209)]="100%",s[n(222)].height=String(o);else{const e=t[n(281)],r={width:e?.[n(209)],height:e?.height},{width:o,height:a}=this[n(280)](i,r,{debug:this[n(260)]});s[n(222)][n(209)]=o,s[n(222)][n(220)]=a}e[n(183)]?await this[n(197)](s,e,t):s[n(225)]=n(198)+(e[n(238)]||"Banner Ad")+"</div>",$.addClickEventForRenderer(s,e,t,()=>this[n(219)](),this[n(260)],"Banner"),r[n(225)]="",r.appendChild(s)}async renderMultipleAds(t,e){const n=pt,r=document[n(232)](t[n(188)]);if(!r)throw new Error("Container not found: "+t.containerId);await this[n(237)](t,e);const s=this.createEventTrackingCallback(),o={autoSlideInterval:(t[n(281)]?.[n(266)]||5e3)/1e3,...t[n(281)],optimizedHeight:t.optimizedHeight,aspectRatio:t[n(258)]},i=rt[n(286)](t,e,o,s,this[n(260)]);i&&(r[n(225)]="",r.appendChild(i),this.debug&&console[n(226)](n(268)+t.id+n(247)+e.length+n(257)+(t[n(259)]||n(246))+")"))}async calculateOptimalContainerSize(t,e){const n=pt;if(!t[n(186)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise[n(205)](t[n(190)](t=>t[n(183)])[n(223)](t=>this[n(206)](t.imageUrl))))[n(190)](t=>t.status===n(248))[n(223)](t=>t[n(224)]);if(0===r[n(186)])return{width:"100%",height:this[n(185)](),aspectRatio:16/9};const s=this[n(231)](r),o=this[n(282)](r,e,s);return this[n(260)]&&console.log(n(234)+e+"x"+o+" (strategy: "+s+")"),{width:"100%",height:o+"px",aspectRatio:e/o}}catch(t){return console[n(210)](n(287),t),{width:n(240),height:this[n(185)](),aspectRatio:16/9}}}async[pt(237)](t,e){const n=pt;try{const r=document.getElementById(t[n(188)]),s=document[n(232)](t.id);if(!r||!s)return;const o=r[n(213)]().width||300,i=await this[n(191)](e,o);s.style[n(220)]=i[n(220)],t[n(259)]=i[n(220)],t[n(258)]=i[n(258)],this[n(260)]&&console.log("🔧 Banner container optimized for "+e[n(186)]+n(241)+i[n(220)])}catch(t){console[n(210)](n(253),t)}}[pt(231)](t){const e=pt,n=t.map(t=>t[e(209)]/t[e(220)]),r=new Map;n[e(265)](t=>{const n=e,s=(Math.round(10*t)/10)[n(189)]();r.set(s,(r[n(233)](s)||0)+1)});const s=Math[e(249)](...r[e(285)]()),o=t[e(186)];if(s/o>=.7)return e(252);const i=[16/9,4/3,1,1.5];return n.filter(t=>i.some(e=>Math.abs(t-e)<.1)).length/o>=.5?e(195):"average"}calculateOptimalHeight(t,e,n){const r=pt,s=t[r(223)](t=>t[r(209)]/t[r(220)]);switch(n){case r(252):{const t=new Map;s[r(265)](e=>{const n=r,s=Math[n(277)](10*e)/10,o=s.toString(),i=t.get(o);i?i[n(235)]++:t[n(283)](o,{ratio:s,count:1})});const n=Array.from(t[r(285)]()).reduce((t,e)=>e[r(235)]>t.count?e:t);return Math.round(e/n.ratio)}case r(195):{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:"4:3"},{ratio:1,name:r(242)},{ratio:1.5,name:r(187)}],n=s.reduce((t,e)=>t+e,0)/s.length,o=t[r(184)]((t,e)=>Math[r(228)](e[r(261)]-n)<Math.abs(t.ratio-n)?e:t);return this[r(260)]&&console.log("📊 Using standard ratio: "+o[r(279)]+r(263)+n[r(236)](2)+")"),Math.round(e/o[r(261)])}case r(255):default:{const t=s.reduce((t,e)=>t+e,0)/s.length;return Math[r(277)](e/t)}}}[pt(206)](t){return new Promise((e,n)=>{const r=ht,s=new Image;s[r(201)]=()=>{e({width:s[r(256)],height:s.naturalHeight})},s.onerror=()=>{n(new Error(r(193)+t))},s.src=t})}applyOptimizedImageStyle(t,e,n){const r=pt,s=e/n;Math[r(228)](s-1)<.1?(t[r(222)].objectFit=r(211),t[r(222)][r(229)]=r(244)):s>1.3?(t[r(222)][r(275)]=r(278),t.style[r(229)]=r(244),t.style.backgroundColor="#f0f0f0"):s<.7?(t[r(222)].objectFit="cover",t[r(222)][r(229)]=r(244)):(t[r(222)][r(275)]=r(211),t[r(222)].objectPosition=r(244)),this[r(260)]&&console[r(226)](r(230)+t.style[r(275)]+r(215)+s[r(236)](2))}async[pt(197)](t,e,n){const r=pt,s=document[r(192)](r(276));s[r(222)].width="100%",s[r(222)].height=r(240),s[r(222)].display=r(207),s.style[r(250)]=r(270),s[r(208)]=e[r(238)]||r(288),t[r(225)]=r(196);try{if(!e[r(183)])throw new Error("Image URL is not provided");const o=await this[r(206)](e[r(183)]),i=t.getBoundingClientRect(),a=i[r(209)],c=i.height;this[r(260)]&&(console[r(226)](r(202)+o[r(209)]+"x"+o[r(220)]),console[r(226)](r(267)+a+"x"+c));const d=o[r(209)]/o[r(220)],l=a/c;return this.applyOptimizedImageStyle(s,d,l),s[r(221)]=e[r(183)],t[r(225)]="",t[r(243)](s),$[r(212)](s,e,n,()=>this[r(219)](),this.debug,"Banner"),this.debug&&console[r(226)](r(245)+e._id),s}catch(o){return console[r(264)](r(284),o),e[r(183)]&&(s[r(221)]=e[r(183)],s[r(222)][r(275)]=r(211),s[r(222)][r(229)]=r(244),t.innerHTML="",t[r(243)](s),$[r(212)](s,e,n,()=>this[r(219)](),this[r(260)],r(204))),s}}}function mt(){const t=["2518668jWAyUU","4106856EGpyrb","title","126nnTuHL","25179mSdbkN","31470vIBbBs","216tqppbv","28rrtyaG","\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 ","229798KeBQVp","textContent","109290gekhwF","473SoitDu","createTextAdStyles","setTextAdContent","699955QrNCZW"];return(mt=function(){return t})()}const vt=yt;function yt(t,e){const n=mt();return(yt=function(t,e){return n[t-=148]})(t,e)}!function(){const t=yt,e=mt();for(;;)try{if(580661===parseInt(t(155))/1+parseInt(t(149))/2*(-parseInt(t(151))/3)+parseInt(t(153))/4*(parseInt(t(161))/5)+parseInt(t(163))/6+parseInt(t(150))/7*(parseInt(t(152))/8)+-parseInt(t(162))/9+-parseInt(t(157))/10*(parseInt(t(158))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It{static[vt(159)](t=!1){return vt(154)}static[vt(160)](t,e){const n=vt,r=e.textContent||e[n(148)]||"";t[n(156)]=r}}const bt=wt;function wt(t,e){const n=kt();return(wt=function(t,e){return n[t-=262]})(t,e)}function kt(){const t=["6845235pbvhEv",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","style","length","data-adstage-slot-id","touches","removeChild","entries","clientX","clientY","1536bcgYfk","normal","top","addEventListener","translateY(-20px)","addClickEventForSlider","block","abs","mouseleave","changedTouches","\n position: ","opacity","getBoundingClientRect","createSimpleAdElement","744CbfeXR","absolute","\n position: relative;\n width: 100%;\n ","20px","24100750ddxyrs","mouseenter","addTouchSupport","1726808VZulIh","forEach","preventDefault",";\n top: ","autoSlideInterval","6gTSSlx","zIndex","touchstart","data-adstage-ad-id","Text","width","body","div","push","transform","hidden","touchend","94591jQyTUY","left",";\n ","537128jUWLuw","3655479bRPiwe",";\n width: 100%;\n ","includes","adType","appendChild","minHeight","createElement","adstage-fade-slide","auto","relative","setAttribute","cssText","position","touchmove","createTextTransitionContainer","createTextAdStyles","className","height","_id","16803oZUkxY","fit-content","height: 100%;","adstage-fade-slider-wrapper"];return(kt=function(){return t})()}!function(){const t=wt,e=kt();for(;;)try{if(903403===parseInt(t(280))/1*(parseInt(t(265))/2)+parseInt(t(281))/3+parseInt(t(335))/4+parseInt(t(304))/5+parseInt(t(328))/6*(-parseInt(t(277))/7)+parseInt(t(314))/8*(parseInt(t(300))/9)+-parseInt(t(332))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Et{static[bt(327)](t,e){const n=bt,r=document[n(287)](n(272));return r.className="adstage-ad adstage-"+String(t[n(284)]).toLowerCase(),r[n(291)](n(268),e[n(299)]),r.setAttribute(n(308),t.id),r[n(306)][n(292)]=It[n(296)](!0),It.setTextAdContent(r,e),r}static[bt(295)](t,e,n,r,s=!1){const o=bt,i=t[o(298)]&&0!==t[o(298)]&&t[o(298)]!==o(289),a=document.createElement(o(272));a[o(297)]=o(303);const c={position:o(290),overflow:o(275),display:o(320)};if(!i&&(c[o(298)]=o(289),c[o(286)]=o(301)),t[o(270)]&&0!==t.width){let e;e="string"==typeof t.width?t[o(270)].includes("px")||t[o(270)][o(283)]("%")?t[o(270)]:t.width+"px":t[o(270)]+"px",c[o(270)]=e}if(t[o(298)]&&0!==t[o(298)]&&t[o(298)]!==o(289)&&i){let e;e="string"==typeof t.height&&(t[o(298)][o(283)]("px")||t.height.includes("%"))?t[o(298)]:t[o(298)]+"px",c.height=e}Object[o(311)](c)[o(336)](([t,e])=>{a.style.setProperty(t,e)});const d=document.createElement("div");d[o(297)]="adstage-fade-slide-container",d.style[o(292)]=o(330)+(i?o(302):"height: auto; min-height: fit-content;")+"\n ";let l=null;const u=!t[o(270)]||0===t[o(270)],p=!t[o(298)]||0===t[o(298)]||void 0===t[o(298)]||t[o(298)]===o(289);if(u||p&&i){if(l=document[o(287)]("div"),l[o(306)][o(292)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!u&&t[o(270)]){let e;e="string"==typeof t[o(270)]?t[o(270)].includes("px")||t.width.includes("%")?t.width:t[o(270)]+"px":t.width+"px",l.style[o(270)]=e,l[o(306)].whiteSpace=o(315)}document[o(271)][o(285)](l);let n=0,r=0;e[o(336)](e=>{const s=o,i=this.createSimpleAdElement(t,e);l[s(285)](i);const a=i[s(326)]();a[s(270)]>n&&(n=a.width),a.height>r&&(r=a[s(298)]),l.removeChild(i)}),u&&n>0&&(a[o(306)][o(270)]=n+"px"),p&&r>0&&i&&(a[o(306)][o(298)]=r+"px"),document[o(271)][o(310)](l)}const h=[];e[o(336)]((e,n)=>{const a=o,c=document.createElement(a(272));c[a(297)]=a(288);const l=0===n,u=i?a(329):l?a(290):"absolute";c[a(306)].cssText=a(324)+u+a(263)+(u===a(329)?"0":a(289))+";\n left: "+(u===a(329)?"0":a(289))+a(282)+(i?a(302):"height: auto;")+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(331))+a(305)+(0===n?"2":"1")+a(279);const p=this.createSimpleAdElement(t,e);$[a(319)](p,e,t,r,s,a(269)),c[a(285)](p),d[a(285)](c),h[a(273)](c)});let f=0;const g=e[o(307)],m=1e3*(n?.[o(264)]||4),v=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c[a(306)][a(293)]===a(290)&&(c[a(306)][a(293)]=a(329),c.style[a(316)]="0",c[a(306)][a(278)]="0"),d.style[a(293)]=a(290),d[a(306)][a(316)]="auto",d[a(306)][a(278)]=a(289)),c[a(306)][a(325)]="0",c[a(306)][a(274)]=a(318),c[a(306)][a(266)]="1",d[a(306)].opacity="1",d[a(306)].transform="translateY(0)",d[a(306)][a(266)]="2",h[a(336)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(306)].opacity="0",t[r(306)][r(274)]="translateY(20px)",t[r(306)][r(266)]="1",!i&&t.style[r(293)]===r(290)&&(t[r(306)][r(293)]=r(329),t[r(306)][r(316)]="0",t[r(306)][r(278)]="0"))}),f=n,G.trackSlideViewable(e[f],t,f,r,s)};let y=setInterval(()=>{v(f+1)},m);return a[o(317)](o(333),()=>{clearInterval(y)}),a[o(317)](o(322),()=>{y=setInterval(()=>{v(f+1)},m)}),Et[o(334)](a,v,()=>f,g),a[o(285)](d),a}static[bt(334)](t,e,n,r){const s=bt;let o=0,i=0,a=!1;t[s(317)](s(267),t=>{const e=s;o=t[e(309)][0].clientX,i=t[e(309)][0][e(313)],a=!0}),t[s(317)](s(294),t=>{a&&t[s(262)]()}),t.addEventListener(s(276),t=>{const r=s;if(!a)return;a=!1;const c=t[r(323)][0][r(312)],d=t[r(323)][0][r(313)],l=o-c,u=i-d;if(Math[r(321)](l)>Math.abs(u)&&Math[r(321)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const xt=St;function St(t,e){const n=At();return(St=function(t,e){return n[t-=410]})(t,e)}function At(){const t=["adstage-text-content","-webkit-box","className","cssText","optimizedHeight","3816232FvMDEM"," with ","debug","appendChild","2746938ahbaWj","TEXT","number","145355AWnUPY","log","style","_id","width","webkitLineClamp","div","14UcYokX","Container not found: ","aspectRatio","197842SsTTTa","✨ Single text ad rendered: ","adstage-ad adstage-text-ad","265244WwqbvC","addClickEventForRenderer","6cnPYne","createElement","5vfslgl","getDefaultHeight","length","config","createTextTransitionContainer","innerHTML","100%","renderAdElement","containerId","Text","29767232mbNJfA","9ngqfub","createEventTrackingCallback","calculateAdSize","createTextAdStyles","hidden","60px","display","10632090rRDsYa","height"];return(At=function(){return t})()}!function(){const t=St,e=At();for(;;)try{if(548512===parseInt(t(441))/1*(-parseInt(t(434))/2)+parseInt(t(439))/3*(-parseInt(t(437))/4)+parseInt(t(424))/5+parseInt(t(421))/6+parseInt(t(431))/7*(-parseInt(t(417))/8)+-parseInt(t(452))/9*(parseInt(t(410))/10)+parseInt(t(451))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct extends ut{constructor(t=!1,n){super(e[St(422)],t,n)}[xt(442)](){return xt(457)}async[xt(448)](t,e){const n=xt,r=document.getElementById(t[n(449)]);if(!r)return;const s=document[n(440)](n(430));s.className=n(436);const o=t[n(416)],i=r.parentElement||r;if(o)s[n(426)][n(428)]=n(447),s[n(426)][n(411)]=String(o);else{const e=t[n(444)],r={width:e?.[n(428)],height:e?.height},{width:o,height:a}=this[n(454)](i,r,{debug:this[n(419)]});s[n(426)].width=o,s[n(426)][n(411)]=a}const a=document[n(440)](n(430));a[n(414)]=n(412),a[n(426)][n(415)]=It[n(455)](!1),It.setTextAdContent(a,e);const c=t.config?.maxLines;c&&typeof c===n(423)&&(a[n(426)][n(458)]=n(413),a[n(426)][n(429)]=String(c),a[n(426)].webkitBoxOrient="vertical",a.style.overflow=n(456)),s[n(420)](a),$[n(438)](s,e,t,()=>this[n(453)](),this[n(419)],n(450)),r[n(446)]="",r.appendChild(s),this[n(419)]&&console[n(425)](n(435)+e[n(427)])}async renderMultipleAds(t,e){const n=xt,r=document.getElementById(t[n(449)]);if(!r)throw new Error(n(432)+t[n(449)]);const s=this[n(453)](),o={autoSlideInterval:(t[n(444)]?.slideInterval||5e3)/1e3,...t[n(444)],optimizedHeight:t.optimizedHeight,aspectRatio:t[n(433)]},i=Et[n(445)](t,e,o,s,this.debug);i&&(r[n(446)]="",r[n(420)](i),this[n(419)]&&console[n(425)]("✨ Text transition created for slot: "+t.id+n(418)+e[n(443)]+" ads"))}}const Tt=Rt;function Rt(t,e){const n=Dt();return(Rt=function(t,e){return n[t-=147]})(t,e)}function Dt(){const t=["Video load failed:","loadeddata","11BkkXiY","playsinline","display","2968476uoMzIT","click","relative","renderMultipleAds","style","Container not found: "," !important;\n }\n "," (autoplay: ","1952968stkjgn","Video","containerId","🎬 Video element created for ad: "," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","imageUrl","adstage-video-container","renderAdElement"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","3347090jMVWDV","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","scale(1.1)","none","enabled","block","background","config","🔊 Video mute toggled: ","12KDcowM","hideCurrentTime","muted","mouseenter","appendChild","autoplay","objectFit","\n pointer-events: none;\n ","🎬 Final video settings:","🎬 Video metadata loaded, attempting autoplay...","innerHTML","src","🎬 Auto-play was prevented:","height",'\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 ',"getElementById","transform","position","VIDEO","contain","addEventListener","preload","button","🎬 Initial autoplay attempt after timeout..."," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","width",", muted: ","createEventTrackingCallback","disabled (default)","getDefaultHeight","metadata","\n video::-webkit-media-controls-play-button {\n display: ","8GPmyDY","renderVideoElementDirect","adstage-video-default-controls","unmuted","canplay","hideMuteButton","🎬 Trying muted autoplay fallback...","🎬 Video data loaded, attempting autoplay...","2174700DlKpMh","head","loadedmetadata","setAttribute","adstage-video-mute-button","createElement","2KRnABz","1072821oZfQAJ","100%","catch","play","hideProgressBar","title","hidePlayButton","className","customControls","alt","\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 ",'\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 ',"warn","controls","872940HFsNIj","36oHCDZs","⚠️ No video advertisements available for slot: ","error","rgba(0, 0, 0, 0.9)","Click to mute","360px","video","🎬 Single video rendered for VIDEO slot: ","🎬 Video config received:","textContent","addClickEventForRenderer","hideVolumeSlider","debug","loop","div","\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 ","cssText"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","hideRemainingTime","length","hideFullscreenButton","1119314ylEKPK","Video thumbnail","log","_id","videoUrl"];return(Dt=function(){return t})()}!function(){const t=Rt,e=Dt();for(;;)try{if(616286===-parseInt(t(195))/1*(parseInt(t(180))/2)+-parseInt(t(181))/3*(-parseInt(t(166))/4)+-parseInt(t(174))/5+parseInt(t(253))/6*(parseInt(t(217))/7)+parseInt(t(235))/8*(parseInt(t(196))/9)+parseInt(t(244))/10*(-parseInt(t(224))/11)+parseInt(t(227))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _t extends ut{constructor(t=!1,n){super(e[Rt(152)],t,n)}[Tt(163)](){return Tt(201)}async[Tt(242)](t,e){const n=Tt,r=document[n(149)](t[n(237)]);if(!r)return;const s=document[n(179)]("div");s.className=n(241),s[n(231)][n(212)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this.renderVideoElementDirect(s,e,t),r[n(263)]="",r.appendChild(s),this[n(208)]&&console[n(219)]("🎬 Single video ad rendered: "+e[n(220)])}async[Tt(230)](t,e){const n=Tt,r=document[n(149)](t[n(237)]);if(!r)throw new Error(n(232)+t[n(237)]);if(e[n(215)]>0){const s=e[0],o=document[n(179)](n(210));o[n(188)]=n(241),o[n(231)][n(212)]=n(245),this[n(167)](o,s,t),r[n(263)]="",r[n(257)](o);const i=this[n(161)]();setTimeout(()=>{i(s[n(220)],t.id,a.VIEWABLE)},100),this.debug&&console[n(219)](n(203)+t.id+" ("+s[n(220)]+")")}else this[n(208)]&&console.warn(n(197)+t.id)}[Tt(167)](t,e,n){const r=Tt;t[r(231)][r(151)]=r(229);const s=document[r(179)](r(202));s[r(231)][r(159)]=r(182),s[r(231)][r(147)]="100%",s[r(231)][r(259)]="contain",s[r(155)]=r(164);const o=n[r(251)];if(this.debug&&console[r(219)](r(204),o),s[r(194)]=!1,s[r(258)]=!1!==o?.autoplay,s.muted=!0,s[r(209)]=!1!==o?.loop,this.debug&&console.log(r(261),{autoplay:s[r(258)],muted:s[r(255)],loop:s.loop,controls:s.controls}),!1!==o?.[r(225)]&&s[r(177)](r(225),""),!0===o?.[r(194)]&&(s[r(194)]=!0,this[r(208)]&&console[r(219)]("🎬 User explicitly enabled controls, overriding default")),o?.hideControls)s[r(194)]=!1,s[r(231)][r(212)]+=r(260);else if(o?.[r(189)]){if(s[r(194)]){const t=document.createElement(r(231));t.textContent=r(165)+(o[r(189)][r(187)]?r(247):r(249))+r(239)+(o[r(189)][r(185)]?r(247):r(249))+r(243)+(o.customControls[r(254)]?r(247):r(249))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o[r(189)][r(214)]?r(247):r(249))+r(158)+(o.customControls[r(207)]?r(247):r(249))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(o.customControls[r(171)]?r(247):r(249))+r(213)+(o.customControls[r(216)]?r(247):r(249))+r(233),document[r(175)][r(257)](t)}}else if(s[r(194)]){const t=document[r(179)](r(231));t.id=r(168),t[r(205)]=r(211),!document[r(149)](r(168))&&document.head[r(257)](t)}this.debug&&console.log("🎬 Video controls setting:",s.controls?r(248):r(162));const i=document[r(179)](r(156));i[r(188)]=r(178),i[r(231)].cssText=r(191),o?.hideControls&&(i.style[r(226)]=r(247));const a=()=>{const t=r,e=t(148),n=t(192);i[t(263)]=s.muted?e:n,i.title=s[t(255)]?"Click to unmute":t(200)};if(a(),i[r(154)](r(228),t=>{const e=r;t.stopPropagation(),s[e(255)]=!s[e(255)],a(),this[e(208)]&&console[e(219)](e(252)+(s[e(255)]?"muted":e(169)))}),i[r(154)](r(256),()=>{const t=r;i[t(231)].background=t(199),i[t(231)][t(150)]=t(246)}),i[r(154)]("mouseleave",()=>{const t=r;i[t(231)][t(250)]="rgba(0, 0, 0, 0.7)",i[t(231)][t(150)]="scale(1)"}),e.videoUrl){s[r(264)]=e[r(221)];const t=()=>{const t=r;s[t(258)]&&s[t(255)]&&s.paused&&s[t(184)]()[t(183)](e=>{const n=t;this[n(208)]&&(console[n(193)](n(265),e),console[n(193)](n(172))),s[n(255)]=!0,s.play().catch(t=>{const e=n;this.debug&&console[e(198)]("🎬 Autoplay completely failed:",t)})})};s[r(154)](r(176),()=>{const e=r;this[e(208)]&&console[e(219)](e(262)),t()}),s[r(154)](r(170),()=>{const e=r;this[e(208)]&&console[e(219)]("🎬 Video can play, attempting autoplay..."),t()}),s.addEventListener(r(223),()=>{const e=r;this[e(208)]&&console[e(219)](e(173)),t()}),setTimeout(()=>{const e=r;this[e(208)]&&console.log(e(157)),t()},100)}else if(e[r(240)]){const n=document[r(179)]("img");return n[r(264)]=e[r(240)],n[r(231)][r(159)]=r(182),n[r(231)][r(147)]="100%",n[r(231)].objectFit=r(153),n.alt=e[r(186)]||r(218),void t[r(257)](n)}$[r(206)](s,e,n,()=>this[r(161)](),this[r(208)],r(236)),s[r(154)]("error",s=>{const o=r;if(console[o(198)](o(222),s),e.imageUrl){const r=document.createElement("img");r.src=e[o(240)],r[o(231)][o(159)]="100%",r[o(231)][o(147)]=o(182),r[o(231)][o(259)]=o(153),r[o(190)]=e[o(186)]||o(218),$[o(206)](r,e,n,()=>this[o(161)](),this[o(208)],"Video fallback"),t[o(263)]="",t[o(257)](r)}}),t.appendChild(s),t.appendChild(i),this[r(208)]&&console.log(r(238)+e[r(220)]+r(234)+s.autoplay+r(160)+s[r(255)]+", loop: "+s[r(209)]+")")}}const Bt=Pt;!function(){const t=Pt,e=Ut();for(;;)try{if(662574===parseInt(t(486))/1*(-parseInt(t(505))/2)+parseInt(t(499))/3+-parseInt(t(485))/4+parseInt(t(491))/5+parseInt(t(522))/6*(-parseInt(t(493))/7)+parseInt(t(521))/8+parseInt(t(500))/9*(parseInt(t(490))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Lt extends ut{constructor(t=!1,n){super(e[Pt(495)],t,n)}[Bt(484)](){return"200px"}async[Bt(503)](t,e){const n=Bt,r=document[n(480)](t.containerId);if(!r)return;const s=document[n(517)](n(496));if(s.className=n(479),s[n(509)].cssText="\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(502)]){const t=document.createElement("h3");t.textContent=e[n(502)],t[n(509)][n(498)]=n(520),s[n(518)](t)}if(e[n(504)]){const t=document[n(517)]("p");t[n(504)]=e[n(504)],t.style[n(498)]="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",s.appendChild(t)}if(e.imageUrl){const t=document[n(517)](n(496));t[n(509)][n(498)]=n(475);const r=document[n(517)](n(488));r.src=e[n(514)],r[n(507)]=e[n(502)]||n(523),r[n(509)].cssText=n(487),t[n(518)](r),s.appendChild(t)}if(e[n(510)]){const t=document[n(517)](n(476));t[n(504)]=n(506),t[n(509)][n(498)]=n(497),t[n(516)](n(513),()=>{const t=n;this[t(481)]&&console[t(478)](t(519)+e._id),window[t(515)](e[t(510)],"_blank")}),t[n(516)]("mouseenter",()=>{const e=n;t[e(509)][e(501)]="#2563eb"}),t[n(516)](n(477),()=>{const e=n;t[e(509)][e(501)]=e(482)}),s[n(518)](t)}r.innerHTML="",r[n(518)](s),this.debug&&console.log(n(489)+e[n(524)])}async[Bt(511)](t,e){const n=Bt;e[n(492)]>0?(await this[n(503)](t,e[0]),this[n(483)]&&console[n(478)](n(512)+e.length+n(494)+t.id)):this[n(483)]&&console[n(508)]("⚠️ No native advertisements available for slot: "+t.id)}}function Pt(t,e){const n=Ut();return(Pt=function(t,e){return n[t-=475]})(t,e)}function Ut(){const t=["click","imageUrl","open","addEventListener","createElement","appendChild","Native click tracked for ad: ","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","8307024hTTlJZ","766926RChSDV","Native Advertisement","_id","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","button","mouseleave","log","adstage-ad adstage-native-ad","getElementById","advertisementEventTracker","#3b82f6","debug","getDefaultHeight","3036420wIfOjC","287jlqNKT","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","img","🏠 Single native ad rendered: ","242180DgyHmO","3473770ANdJTN","length","14cEkHag","): ","NATIVE","div","\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 ","cssText","2784018KrvcdR","72fZwmkJ","backgroundColor","title","renderAdElement","textContent","8206lfKasv","Learn More","alt","warn","style","linkUrl","renderMultipleAds","🏠 Native ad rendered (first of "];return(Ut=function(){return t})()}const Mt=Nt;function Nt(t,e){const n=Ot();return(Nt=function(t,e){return n[t-=110]})(t,e)}!function(){const t=Nt,e=Ot();for(;;)try{if(182726===parseInt(t(180))/1*(parseInt(t(138))/2)+-parseInt(t(121))/3*(parseInt(t(113))/4)+-parseInt(t(130))/5*(parseInt(t(120))/6)+-parseInt(t(175))/7+parseInt(t(160))/8*(-parseInt(t(163))/9)+-parseInt(t(153))/10*(-parseInt(t(143))/11)+parseInt(t(178))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Vt extends ut{constructor(t=!1,n){super(e[Nt(176)],t,n)}getDefaultHeight(){return Nt(133)}async[Mt(123)](t,e){const n=Mt;if(!document[n(114)](t[n(184)]))return;const r=document[n(164)](n(127));r[n(140)]="adstage-interstitial-overlay",r[n(145)].cssText=n(125);const s=document.createElement(n(127));s.className="adstage-interstitial-content",s[n(145)][n(165)]=n(173);const o=document[n(164)](n(146));if(o[n(122)]="×",o[n(145)][n(165)]=n(137),o[n(148)](n(169),()=>{this[n(167)](r)}),o.addEventListener(n(166),()=>{const t=n;o[t(145)][t(117)]=t(162),o.style[t(112)]=t(172)}),o[n(148)](n(181),()=>{const t=n;o[t(145)][t(117)]="#f3f4f6",o[t(145)][t(112)]=t(131)}),e[n(155)]){const t=document[n(164)](n(110));t[n(142)]=e.imageUrl,t[n(144)]=e[n(141)]||n(132),t.style[n(165)]=n(151),s[n(115)](t)}if(e[n(141)]){const t=document[n(164)]("h2");t.textContent=e.title,t.style[n(165)]="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",s[n(115)](t)}if(e[n(150)]){const t=document[n(164)]("p");t[n(150)]=e[n(150)],t.style[n(165)]=n(171),s[n(115)](t)}if(e[n(116)]){const t=document[n(164)](n(146));t[n(150)]="Get Started",t[n(145)][n(165)]="\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ",t[n(148)](n(169),()=>{const t=n;this[t(170)]&&console[t(182)](t(118)+e[t(174)]),window.open(e.linkUrl,t(158)),this[t(167)](r)}),t[n(148)](n(166),()=>{const e=n;t[e(145)][e(117)]=e(179)}),t.addEventListener(n(181),()=>{const e=n;t[e(145)].backgroundColor=e(161)}),s.appendChild(t)}const i=t=>{const e=n;t[e(111)]===e(149)&&(this[e(167)](r),document[e(156)]("keydown",i))};if(document.addEventListener(n(152),i),r.addEventListener("click",t=>{const e=n;t[e(135)]===r&&this[e(167)](r)}),!document[n(114)]("adstage-interstitial-styles")){const t=document.createElement(n(145));t.id="adstage-interstitial-styles",t[n(150)]=n(124),document[n(168)][n(115)](t)}s[n(115)](o),r[n(115)](s),document[n(183)][n(115)](r),this[n(129)]&&console[n(182)]("🖼️ Interstitial ad rendered: "+e[n(174)])}async[Mt(128)](t,e){const n=Mt;e.length>0?(await this[n(123)](t,e[0]),this.debug&&console[n(182)](n(134)+e[n(147)]+n(159)+t.id)):this[n(129)]&&console[n(139)](n(157)+t.id)}closeInterstitial(t){const e=Mt;t[e(145)][e(154)]=e(136),setTimeout(()=>{const n=e;t[n(126)]&&t[n(126)][n(177)](t)},300),this[e(129)]&&console[e(182)](e(119))}}function Ot(){const t=["mouseleave","log","body","containerId","img","key","color","482416gPrfTN","getElementById","appendChild","linkUrl","backgroundColor","Interstitial click tracked for ad: ","🖼️ Interstitial ad closed","1367868vWZFwp","9waMOFQ","innerHTML","renderAdElement","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","\n 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 ","parentNode","div","renderMultipleAds","debug","5NYTmRW","#6b7280","Interstitial Advertisement","400px","🖼️ Interstitial ad rendered (first of ","target","fadeOut 0.3s ease-out forwards","\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 ","341254IsYBAZ","warn","className","title","src","22mKwqhJ","alt","style","button","length","addEventListener","Escape","textContent","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","keydown","238060xSAwZk","animation","imageUrl","removeEventListener","⚠️ No interstitial advertisements available for slot: ","_blank","): ","130136NgWRJP","#3b82f6","#e5e7eb","45sQJgYf","createElement","cssText","mouseenter","closeInterstitial","head","click","advertisementEventTracker","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","#374151","\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 ","_id","1535926qvGolF","INTERSTITIAL","removeChild","10260360pFzHwe","#2563eb","1UjYweC"];return(Ot=function(){return t})()}const zt=jt;function Ft(){const t=["border","data-adstage-ad-id","naturalWidth","isLoaded","1315gWMcSm","getDefaultHeightForAdType","imageUrl","initializeRenderers"," Ad","img","1359932igdBJb","debug","92FMsbEm","⚠️ Container optimization is only supported for BANNER ads, got: ","2792QBAIXu","appendChild","#f9f9f9","config","video","log","renderOptimizedBannerImage is only supported for BANNER ads","advertisementEventTracker","advertisement","renderAdSlider","getDefaultHeight","BANNER","src","_id","calculateOptimalContainerSize","160643PNwcck","createElement","12yHYoFR","adstage-ad adstage-","INTERSTITIAL","renderOptimizedBannerImage","4648290ouIwOU","setAttribute","renderers","warn","div","optimizeContainerForBannerAds","set","VIDEO","24JIQVWe","createAdElement","className","size","height","TEXT","renderMultipleAds","block","[AdRenderer] ","Failed to load image: ","calculateAdSize","cover","renderAdElement","renderFallback","get","🏭 AdRenderer factory initialized with ","NATIVE","loadImageDimensions","renderAd","No advertisement to render","3467988lylkIA","2769734oFgvWo","videoUrl","adType","textContent","width","3LfizLc","naturalHeight","getRenderer","style","toLowerCase","138TgbBkI","100%"," renderers"];return(Ft=function(){return t})()}function jt(t,e){const n=Ft();return(jt=function(t,e){return n[t-=264]})(t,e)}!function(){const t=jt,e=Ft();for(;;)try{if(233320===-parseInt(t(285))/1*(-parseInt(t(287))/2)+parseInt(t(265))/3*(parseInt(t(283))/4)+parseInt(t(277))/5*(parseInt(t(270))/6)+-parseInt(t(302))/7*(parseInt(t(316))/8)+-parseInt(t(336))/9+parseInt(t(308))/10+-parseInt(t(337))/11*(parseInt(t(304))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ht{constructor(t=!1,e){const n=jt;this[n(310)]=new Map,this[n(284)]=t,this[n(294)]=e||null,this[n(280)]()}initializeRenderers(){const t=jt;this[t(310)].set(e[t(298)],new gt(this[t(284)],this[t(294)])),this[t(310)].set(e[t(321)],new Ct(this[t(284)],this.advertisementEventTracker)),this[t(310)][t(314)](e[t(315)],new _t(this[t(284)],this[t(294)])),this[t(310)][t(314)](e[t(332)],new Lt(this[t(284)],this.advertisementEventTracker)),this[t(310)].set(e[t(306)],new Vt(this.debug,this[t(294)])),this.debug&&console.log(t(331)+this[t(310)][t(319)]+t(272))}[zt(317)](t,n){const r=zt,s=this[r(267)](t[r(339)]),o=document[r(303)]("div");o[r(318)]=r(305)+String(t[r(339)])[r(269)](),o[r(309)](r(274),n[r(300)]),o.setAttribute("data-adstage-slot-id",t.id);const{width:i,height:a}=s[r(326)](o,t[r(290)]||{},n);switch(o[r(268)][r(264)]=i,o[r(268)][r(320)]=a,o[r(268)].display=r(323),t[r(339)]){case e[r(298)]:if(n[r(279)]){const t=document[r(303)](r(282));t.src=n.imageUrl,t[r(268)][r(264)]="100%",t.style[r(320)]=r(271),t.style.objectFit=r(327),o[r(288)](t)}break;case e.VIDEO:if(n[r(338)]){const t=document[r(303)](r(291));t[r(299)]=n[r(338)],t[r(268)][r(264)]=r(271),t[r(268)][r(320)]=r(271),o[r(288)](t)}break;case e[r(321)]:if(n[r(340)]){const t=document[r(303)](r(312));t[r(340)]=n.textContent||"",t[r(268)].padding="8px",o[r(288)](t)}break;default:o.style[r(273)]="1px dashed #ccc",o[r(268)].backgroundColor=r(289),o[r(340)]=t.adType+r(281)}return o}[zt(267)](t){const e=zt,n=this[e(310)][e(330)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}createPlaceholder(t,e,n,r,s){this[zt(267)](n).createPlaceholder(t,e,r,s)}async[zt(313)](t,n){const r=zt;if(t[r(339)]!==e[r(298)])return void(this[r(284)]&&console[r(311)](r(286)+t[r(339)]));const s=this[r(267)](e[r(298)]);await s[r(313)](t,n)}async[zt(296)](t,e){const n=zt,r=this[n(267)](t[n(339)]);await r[n(322)](t,e)}async[zt(334)](t){const e=zt;if(!t[e(295)])throw new Error(e(335));const n=this.getRenderer(t[e(339)]);await n.renderAdElement(t,t[e(295)]),t[e(276)]=!0}async[zt(328)](t,e){const n=zt,r=this.getRenderer(t[n(339)]);await r[n(328)](t,e)}[zt(329)](t){const e=zt;this[e(267)](t[e(339)])[e(329)](t)}[zt(278)](t){const e=zt;return this[e(267)](t)[e(297)]()}[zt(326)](t,e,n,r){return this.getRenderer(e).calculateAdSize(t,n,r)}[zt(333)](t){return new Promise((e,n)=>{const r=jt,s=new Image;s.onload=()=>{const t=jt;e({width:s[t(275)],height:s[t(266)]})},s.onerror=()=>{n(new Error(jt(325)+t))},s[r(299)]=t})}async[zt(307)](t,n,r){const s=zt;if(r[s(339)]!==e[s(298)])throw new Error(s(293));const o=this[s(267)](e[s(298)]);return await o.renderOptimizedBannerImage(t,n,r)}async[zt(301)](t,n,r){const s=zt;if(r!==e[s(298)]){const t=this[s(267)](r);return{width:s(271),height:t[s(297)](),aspectRatio:16/9}}const o=this[s(267)](e[s(298)]);return await o[s(301)](t,n)}[zt(292)](t,...e){const n=zt;this.debug&&console[n(292)](n(324)+t,...e)}}const Wt=Kt;function Kt(t,e){const n=Yt();return(Kt=function(t,e){return n[t-=447]})(t,e)}!function(){const t=Kt,e=Yt();for(;;)try{if(762678===parseInt(t(529))/1+-parseInt(t(532))/2*(-parseInt(t(508))/3)+-parseInt(t(493))/4*(-parseInt(t(491))/5)+-parseInt(t(450))/6*(-parseInt(t(487))/7)+-parseInt(t(499))/8*(parseInt(t(523))/9)+-parseInt(t(564))/10*(parseInt(t(476))/11)+parseInt(t(456))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class qt{constructor(){const t=Kt;this[t(531)]=!1,this[t(486)]=null,this.slots=new Map,this[t(539)]=null,this[t(484)]=null,this[t(502)]=null}init(t){const e=Kt;this._config=t,this.advertisementEventTracker=new P(K[e(514)](),t[e(505)],t[e(458)]||!1,this[e(506)]),this.adRenderer=new Ht(t[e(458)]||!1,this.advertisementEventTracker),this.setupAutoCleanup(),this[e(531)]=!0,t.debug&&console.log(e(461))}[Wt(483)](){return this[Wt(531)]}getConfig(){return this[Wt(486)]}banner(t,n){const r=Wt;this[r(511)]();const s={width:n?.[r(549)]||r(495),height:n?.[r(485)]||"auto",autoSlide:n?.[r(538)]||!1,slideInterval:n?.slideInterval||5e3,onClick:n?.[r(467)],adId:n?.[r(577)],language:n?.language,deviceType:n?.[r(474)],country:n?.country};return this[r(477)](t,e.BANNER,s)}text(t,n){const r=Wt;this.ensureReady();const s={maxLines:n?.[r(541)]||3,style:n?.style||"default",onClick:n?.[r(467)],adId:n?.[r(577)],language:n?.[r(453)],deviceType:n?.deviceType,country:n?.[r(515)]};return this[r(477)](t,e.TEXT,s)}video(t,n){const r=Wt;this.ensureReady();const s={width:n?.width||640,height:n?.[r(485)]||360,autoplay:void 0===n?.[r(571)]||n[r(571)],muted:void 0===n?.[r(558)]||n[r(558)],loop:void 0===n?.[r(569)]||n[r(569)],playsinline:!1!==n?.[r(518)],controls:void 0!==n?.[r(546)]&&n[r(546)],hideControls:n?.[r(519)]||!1,customControls:n?.[r(533)],autoSlide:!1,maxAds:1,onClick:n?.[r(467)],...n?.[r(577)]&&{adId:n[r(577)]}};return this.createAd(t,e[r(563)],s)}[Wt(537)](t,n){const r=Wt;return this[r(511)](),this[r(477)](t,e[r(581)],n||{})}[Wt(480)](t,n){const r=Wt;return this.ensureReady(),this.createAd(t,e[r(478)],n||{})}[Wt(550)](t){const e=Wt;this[e(511)]();const n=this[e(506)][e(540)](t);if(!n)throw new Error(e(543)+t);this[e(578)](n),this[e(486)]?.[e(458)]&&console.log(e(471)+t)}[Wt(554)](t){const e=Wt;this[e(511)]();const n=this[e(506)][e(540)](t);if(!n)throw new Error(e(543)+t);n[e(565)]&&n[e(565)][e(554)]();const r=document[e(530)](n[e(584)]);r&&(r[e(575)]=""),this.slots[e(498)](t),this[e(486)]?.debug&&console[e(496)](e(463)+t)}[Wt(576)](){const t=Wt;return this[t(511)](),Array[t(574)](this[t(506)][t(545)]())}[Wt(472)](t){const e=Wt;return this[e(511)](),this[e(506)][e(540)](t)||null}createAd(t,e,n){const r=Wt;if(!this[r(486)]?.[r(505)])throw new Error("API key not configured");const s="adstage-"+e+"-"+Date.now()+"-"+Math[r(553)]().toString(36)[r(479)](2,9);return this[r(573)](t,e,n,s,0),s}async createAdWithRetry(t,e,n,r,s){const o=Wt,i=[0,50,100,200,500];let a,c=null;if(typeof t===o(465)){if(a=t,c=document[o(530)](t),!c)return s<4?(this._config?.[o(458)]&&console.warn(o(535)+t+". Retrying in "+i[s+1]+o(454)+(s+1)+"/5)"),void setTimeout(()=>{this[o(573)](t,e,n,r,s+1)},i[s+1])):void console.error(o(552)+5+o(497)+t)}else c=t,a=c.id||o(528)+r,!c.id&&(c.id=a);try{this.createAdInternal(a,e,n,r,c)}catch(t){console[o(469)](o(460),t)}}[Wt(516)](t,n,r,s,o){const i=Wt;o[i(507)]("data-adstage-slot-id",s),this[i(484)]?.[i(482)](o,s,n,r,this[i(486)]);const a={id:s,containerId:t,adType:n,width:r[i(549)]||"100%",height:r[i(485)]||(n===e[i(572)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...r},load:async()=>this.fetchAdData(n,r)[i(473)](t=>t[0]||null),render:t=>this[i(484)]?.[i(557)](a,t),refresh:async()=>this[i(578)](a),destroy:()=>this[i(554)](s)};this[i(506)][i(526)](s,a),this.loadAdContentInBackground(a),this.advertisementEventTracker&&this._config?.debug&&console[i(496)](i(475)+s)}async[Wt(447)](t){const n=Wt;try{const r=await this.fetchAdData(t[n(449)],t.config);if(!r||0===r[n(551)])return void this[n(484)]?.renderFallback(t);t[n(449)]===e[n(464)]&&r[n(551)]>0&&await(this.adRenderer?.optimizeContainerForBannerAds(t,r)),r[n(551)]>1||t[n(503)]?.autoSlide?(await(this.adRenderer?.[n(494)](t,r)),this[n(486)]?.debug&&console[n(496)](n(525)+r[n(551)]+" ads automatically")):(t.advertisement=r[0],await(this.adRenderer?.renderAdElement(t,r[0])),this[n(451)](t,r[0])),t.isLoaded=!0,this[n(486)]?.[n(458)]&&console.log(n(501)+t.id+" ("+r[n(551)]+n(562))}catch(e){console[n(469)](n(459)+t.id,e),this[n(484)]?.renderFallback(t)}}[Wt(451)](t,e){const n=(r=0)=>{const s=Kt,o=document[s(530)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(486)]?.[s(458)]&&console[s(496)]("🔄 Retrying viewability tracking for slot: "+t.id+s(555)+(r+1)+")")):console[s(586)](s(488)+t.id));const i=new V(o,async()=>{const n=s;await this[n(455)](e,t)});t[s(565)]=i,this[s(486)]?.[s(458)]&&console.log(s(504)+t.id+s(510))};n()}async[Wt(455)](t,e){const n=Wt;try{this[n(539)]&&(await this[n(539)].trackAdvertisementEvent(t._id,e.id,a[n(582)]),this[n(486)]?.[n(458)]&&console[n(496)](n(489)+t[n(481)]))}catch(t){console[n(469)](n(566),t)}}async[Wt(548)](t,e){const n=Wt;if(!this._config?.[n(505)])throw new Error(n(462));if(e[n(577)]){const t=""+K.advertisements[n(567)](e.adId),r=await fetch(t,{method:n(509),headers:D[n(457)](this[n(486)][n(505)])});if(!r.ok){if(404===r[n(517)])return console[n(586)]("🚫 Advertisement not found with ID: "+e[n(577)]),[];throw new Error(n(524)+r[n(517)])}const s=await r[n(468)]();return this[n(486)]?.debug&&console.log("📊 Fetched specific ad with ID: "+e.adId,s),[s]}const r=new URLSearchParams;r[n(580)](n(449),t),e[n(453)]&&r[n(580)](n(453),e[n(453)]),e[n(474)]&&r[n(580)](n(474),e[n(474)]),e.country&&r[n(580)](n(515),e[n(515)]);const s=K[n(585)][n(559)]()+"?"+r[n(556)](),o=await fetch(s,{method:n(509),headers:D[n(457)](this[n(486)][n(505)])});if(!o.ok)throw new Error(n(524)+o[n(517)]);const i=(await o[n(468)]()).advertisements||[];return this[n(486)]?.[n(458)]&&console[n(496)](n(513)+i.length+" ads for type: "+t+n(534),{language:e[n(453)],deviceType:e[n(474)],country:e[n(515)]}),i}async[Wt(578)](t){const e=Wt;try{const n=await this[e(548)](t[e(449)],t[e(503)]||{});n&&n[e(551)]>0&&(t[e(448)]=n[0],await(this.adRenderer?.[e(500)](t)),this[e(539)]&&console.log(e(521),t.id))}catch(e){console.error("Failed to refresh ad slot: "+t.id,e)}}ensureReady(){const t=Wt;if(!this[t(531)])throw new Error(t(568))}[Wt(452)](){const t=Wt;typeof window!==t(547)&&typeof document!==t(547)&&(this.mutationObserver&&this[t(502)][t(544)](),this[t(502)]=new MutationObserver(e=>{const n=t;e[n(527)](t=>{const e=n;t.removedNodes[e(527)](t=>{const n=e;t[n(542)]===Node.ELEMENT_NODE&&this[n(466)](t)})})}),this.mutationObserver[t(490)](document[t(579)],{childList:!0,subtree:!0}),this._config?.[t(458)]&&console.log("🔍 Auto-cleanup MutationObserver enabled"))}[Wt(466)](t){const e=Wt,n=t[e(561)](e(512));if(n)return void this[e(560)](n);t[e(522)](e(583))[e(527)](t=>{const n=e,r=t.getAttribute(n(512));r&&this.autoDestroy(r)})}[Wt(560)](t){const e=Wt;if(this[e(506)].get(t))try{this[e(506)][e(498)](t),this[e(486)]?.[e(458)]&&console[e(496)](e(570)+t+e(536))}catch(n){this[e(486)]?.debug&&console[e(586)](e(520)+t+":",n)}}[Wt(470)](){const t=Wt,e=this[t(486)]?.debug;this[t(502)]&&(this[t(502)][t(544)](),this[t(502)]=null),this[t(506)][t(492)](),this.advertisementEventTracker=null,this[t(484)]=null,this[t(531)]=!1,this[t(486)]=null,e&&console[t(496)]("🗑️ Ads module destroyed")}}function Yt(){const t=["Auto-cleanup failed for slot ","New advertisement viewable tracked for slot:","querySelectorAll","54uFgnSI","Failed to fetch ad data: ","🎠 Slider will handle VIEWABLE events for ","set","forEach","auto-","227547MoZbha","getElementById","_isReady","1802ijYwmH","customControls",", filters:","Container not found: "," removed","native","autoSlide","advertisementEventTracker","get","maxLines","nodeType","Ad slot not found: ","disconnect","values","controls","undefined","fetchAdData","width","refresh","length","Container not found after ","random","destroy"," (attempt ","toString","renderAdElement","muted","list","autoDestroy","getAttribute"," ads)","VIDEO","1585330JJWAvo","viewabilityTracker","❌ Failed to track viewable impression:","detail","Ads module not initialized. Call AdStage.init() first.","loop","🧹 Auto-cleanup: slot ","autoplay","TEXT","createAdWithRetry","from","innerHTML","getAllSlots","adId","refreshAdSlot","body","append","NATIVE","VIEWABLE","[data-adstage-slot-id]","containerId","advertisements","warn","loadAdContentInBackground","advertisement","adType","148854gLomqM","startSimpleViewabilityTracking","setupAutoCleanup","language","ms... (attempt ","handleViewableEvent","3839076qWuptH","create","debug","❌ Failed to load ad for slot: ","광고 생성 중 오류 발생:","🎯 Ads module initialized (sync mode) with auto-cleanup","API key not configured","🗑️ Ad slot destroyed: ","BANNER","string","handleRemovedElement","onClick","json","error","destroyModule","🔄 Ad slot refreshed: ","getSlotById","then","deviceType","📊 Advertisement event tracking enabled for slot: ","11EpAhut","createAd","INTERSTITIAL","substr","interstitial","_id","createPlaceholder","isReady","adRenderer","height","_config","14GdyDSp","❌ Failed to find element for viewability tracking: ","✅ Simple viewable impression tracked for ad ","observe","452690kLURCz","clear","48dFWyjv","renderAdSlider","100%","log"," attempts: ","delete","1272328EAsgyk","renderAd","✅ Ad loaded for slot: ","mutationObserver","config","🎯 Simple viewability tracking started for slot: ","apiKey","slots","setAttribute","639EiERqS","GET"," (element found)","ensureReady","data-adstage-slot-id","📊 Fetched ","getBaseUrl","country","createAdInternal","status","playsinline","hideControls"];return(Yt=function(){return t})()}var Jt=Gt;function Gt(t,e){var n=Xt();return(Gt=function(t,e){return n[t-=179]})(t,e)}function Xt(){var t=["setBaseUrl","8818713kFUJYO","5488259hwLxLt","7017uImtqJ","✅ Config module initialized (sync mode)","modules","🔄 Config updated","includes","init","debug","380lrdobb","_isReady","create","19347470xmlgdb","52210PlhjVI","isDebugMode","getBaseUrl","getConfig","baseUrl","apiKey","1686550IClFka","3337456nQeQWM","_organizationInfo","6xOgAGL","events","log","updateConfig","11jZCWse","getApiEndpoint","8IGxREO","getEnabledModules","config","_config","isModuleEnabled","development","ads","Config module not initialized"];return(Xt=function(){return t})()}!function(){for(var t=Gt,e=Xt();;)try{if(504201===-parseInt(t(201))/1+parseInt(t(197))/2*(-parseInt(t(190))/3)+parseInt(t(208))/4+parseInt(t(207))/5+parseInt(t(210))/6*(parseInt(t(189))/7)+-parseInt(t(179))/8*(-parseInt(t(188))/9)+parseInt(t(200))/10*(-parseInt(t(214))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){var t=Gt;this[t(198)]=!1,this[t(182)]=null,this[t(209)]=null}[Jt(195)](t){var e=Jt;this[e(182)]={timeout:3e4,debug:!1,modules:[e(185),e(211),e(181)],...t},t[e(205)]&&K[e(187)](t[e(205)]),this[e(198)]=!0,t[e(196)]&&console.log(e(191),{modules:this[e(182)][e(192)],endpoint:K[e(203)](),mode:e(184)})}isReady(){return this[Jt(198)]}[Jt(204)](){return this._config}getOrganizationInfo(){return this[Jt(209)]}[Jt(215)](){return K.getBaseUrl()}[Jt(202)](){var t=Jt;return this[t(182)]?.debug||!1}getEnabledModules(){var t=Jt;return this[t(182)]?.[t(192)]||[]}[Jt(183)](t){var e=Jt;return this[e(180)]()[e(194)](t)}[Jt(213)](t){var e=Jt;if(!this[e(182)])throw new Error(e(186));this[e(182)]={...this[e(182)],...t},this[e(202)]()&&console[e(212)](e(193),t)}getApiHeaders(){var t=Jt;if(!this[t(182)]?.[t(206)])throw new Error("API key not available");return D[t(199)](this[t(182)][t(206)])}}const Qt=te;!function(){const t=te,e=ee();for(;;)try{if(525059===parseInt(t(137))/1+parseInt(t(117))/2+-parseInt(t(107))/3*(-parseInt(t(128))/4)+parseInt(t(132))/5*(parseInt(t(127))/6)+-parseInt(t(134))/7+parseInt(t(126))/8*(parseInt(t(131))/9)+-parseInt(t(135))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{static getDeviceInfo(){const t=te;return{...$t[t(119)](),...$t[t(143)]}}static getAutoDetectedDeviceInfo(){const t=te;if(!v[t(120)]())return{category:t(141),platform:t(118),model:"SSR",osVersion:t(118)};const e=navigator.userAgent[t(123)]();let n=t(108);/tablet|ipad/[t(115)](e)?n=t(122):A[t(133)]()&&(n=t(113));const r=A[t(112)]();return{category:n,platform:$t[t(125)](r),model:navigator[t(116)],osVersion:navigator[t(116)]}}static[Qt(110)](t){const e=Qt;$t[e(143)]={...$t[e(143)],...t}}static[Qt(114)](t,e){$t[Qt(143)][t]=e}static[Qt(111)](){$t._userProvidedDeviceInfo={}}static getUserDeviceInfo(){return{...$t[Qt(143)]}}static[Qt(125)](t){const e=Qt;switch(t){case"ios":return"iOS";case e(136):return"Android";case e(109):return e(121);case e(108):return e(130);default:return"Unknown"}}static[Qt(129)](){const t=Qt;if(!v[t(120)]())return{userAgent:"SSR",language:t(140),platform:t(118),cookieEnabled:!1,onLine:!0,screenResolution:t(139),viewportSize:t(139)};const e=v[t(142)]();return{userAgent:navigator.userAgent,language:navigator[t(138)]||t(140),platform:navigator[t(116)],cookieEnabled:navigator.cookieEnabled,onLine:navigator.onLine,screenResolution:screen.width+"x"+screen[t(124)],viewportSize:e[t(106)]+"x"+e[t(124)]}}}function te(t,e){const n=ee();return(te=function(t,e){return n[t-=106]})(t,e)}function ee(){const t=["404787SKHGLq","language","0x0","ko-KR","other","getViewportInfo","_userProvidedDeviceInfo","width","3slfOnF","desktop","web","setDeviceInfo","clearDeviceInfo","getPlatform","mobile","setDeviceProperty","test","platform","1840808QWFEEe","SSR","getAutoDetectedDeviceInfo","isBrowser","Mobile Web","tablet","toLowerCase","height","mapPlatformForEvents","1320eaYUTB","1565976uVHXNs","4132056bPdHYq","getDetailedInfo","Desktop Web","29259JIHKPa","15ZWJUuN","isMobile","3482661LCftJH","26550260bfLJIT","android"];return(ee=function(){return t})()}$t._userProvidedDeviceInfo={};const ne=re;function re(t,e){const n=se();return(re=function(t,e){return n[t-=494]})(t,e)}function se(){const t=["getBaseUserInfo","UTC","_userProperties","470790jcvvkW","DateTimeFormat","4880giCDMc","isBrowser","216wUpZCl","1705930rHEWOz","4011WwLtON","extractCountryFromLanguage","getCurrentUserProperties","split","setUserProperties","getUserInfo","resolvedOptions","1607976wArzWs","ko-KR","56001bCaFKq","401533RyVdbP","2706970MVlrxn","setUserProperty","clearUserProperties","27BMXsSY"];return(se=function(){return t})()}!function(){const t=re,e=se();for(;;)try{if(648473===parseInt(t(517))/1+-parseInt(t(514))/2+parseInt(t(516))/3*(parseInt(t(505))/4)+-parseInt(t(506))/5+-parseInt(t(501))/6+parseInt(t(507))/7*(-parseInt(t(503))/8)+-parseInt(t(497))/9*(-parseInt(t(494))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[ne(512)](){const t=ne;return{...oe[t(498)](),...oe[t(500)]}}static[ne(498)](){const t=ne;if(!v[t(504)]())return{language:t(515),country:"KR"};const e=navigator.language||t(515);return{language:e,country:oe[t(508)](e)}}static extractCountryFromLanguage(t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ne(510)]("-")[0]]||"KR"}static[ne(511)](t){const e=ne;oe._userProperties={...oe[e(500)],...t}}static[ne(495)](t,e){oe[ne(500)][t]=e}static[ne(496)](){oe[ne(500)]={}}static[ne(509)](){return{...oe[ne(500)]}}static estimateLocation(){const t=ne;if(!v[t(504)]())return{timezone:t(499),estimatedCountry:"KR"};const e=Intl[t(502)]()[t(513)]().timeZone;return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}oe[ne(500)]={};const ie=ce;function ae(){const t=["_userId","531210NKfZGO","session_","getUserId","1204063wGtGtb","107894HuxXQe","1050750VoFJIV","adstage_session_start","substr","54llysNm","getSessionId","clearUserId","1206531IYJZtO","416112wNXtIU","isBrowser","getItem","43404reqlJW","removeItem","setItem","ssr_session_","6lveSxd","adstage_session_id","_sessionStartTime","isNewSession","adstage_user_id","random","getSessionInfo","isSessionExpired","getSessionDuration","now","getSessionStats","16pebYTJ","setUserId"];return(ae=function(){return t})()}function ce(t,e){const n=ae();return(ce=function(t,e){return n[t-=259]})(t,e)}!function(){const t=ce,e=ae();for(;;)try{if(239161===-parseInt(t(260))/1*(parseInt(t(278))/2)+-parseInt(t(285))/3+parseInt(t(286))/4+-parseInt(t(274))/5+-parseInt(t(289))/6+parseInt(t(277))/7*(parseInt(t(271))/8)+-parseInt(t(282))/9*(-parseInt(t(279))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class de{static getSessionId(){const t=ce;if(!v[t(287)]())return t(259)+Date.now();const e=sessionStorage[t(288)]("adstage_session_id");if(e)return e;const n=t(275)+Math[t(265)]().toString(36)[t(281)](2,9)+"_"+Date.now();return sessionStorage[t(291)](t(261),n),!de[t(262)]&&(de[t(262)]=Date[t(269)](),v[t(287)]()&&sessionStorage[t(291)](t(280),String(de[t(262)]))),n}static[ie(272)](t){const e=ie;de[e(273)]=t,v[e(287)]()&&localStorage[e(291)](e(264),t)}static[ie(276)](){const t=ie;if(de._userId)return de._userId;if(v[t(287)]()){const e=localStorage[t(288)](t(264));if(e)return de[t(273)]=e,e}}static[ie(284)](){const t=ie;de[t(273)]=void 0,v[t(287)]()&&localStorage[t(290)]("adstage_user_id")}static[ie(266)](){const t=ie,e=de[t(283)](),n=de[t(276)](),r=de[t(263)]();return{sessionId:e,userId:n,sessionDuration:de[t(268)](),isNewSession:r}}static[ie(263)](){const t=ie;if(!v[t(287)]())return!0;const e=sessionStorage[t(288)](t(261)),n=sessionStorage[t(288)]("adstage_session_start");return!e||!n}static[ie(268)](){const t=ie;if(!v[t(287)]())return 0;const e=sessionStorage.getItem(t(280));return e?Date[t(269)]()-parseInt(e,10):0}static refreshSession(){const t=ie;return v[t(287)]()&&(sessionStorage[t(290)](t(261)),sessionStorage[t(290)](t(280))),de._sessionStartTime=void 0,de[t(283)]()}static[ie(267)](t=24){return de[ie(268)]()>60*t*60*1e3}static[ie(270)](){const t=ie,e=de[t(283)](),n=de[t(276)](),r=de[t(268)](),s=de[t(267)](),o=de[t(263)]();let i;if(v[t(287)]()){const e=sessionStorage[t(288)](t(280));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const le=ue;function ue(t,e){const n=pe();return(ue=function(t,e){return n[t-=132]})(t,e)}function pe(){const t=["isReady","_isReady","warn","👤 User ID set:","apiKey","sendEventToServer","clearDeviceInfo","setUserId","257460DWXZQD","📱 User provided device info cleared","10wTQsqB","setDeviceInfo","getUserId","327EUlQXF","events","track","_config","👤 User properties set:","1778328HRMnuq","init","📱 Device info set:","Event tracking failed: ","203443IScOly","application/json","Events module not initialized. Call AdStage.init() first.","2796honXZP","debug","getDeviceInfo","179074TwoXwk","getCurrentUserProperties","getUserInfo","stringify","getUserDeviceInfo","1034950sBYBVz","status","log","setUserProperties","setDeviceProperty","POST","327120yxbdTt"];return(pe=function(){return t})()}!function(){const t=ue,e=pe();for(;;)try{if(102981===-parseInt(t(162))/1+-parseInt(t(168))/2+parseInt(t(153))/3*(-parseInt(t(165))/4)+-parseInt(t(150))/5*(-parseInt(t(148))/6)+parseInt(t(133))/7+parseInt(t(139))/8+parseInt(t(158))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class he{constructor(){const t=ue;this[t(141)]=!1,this[t(156)]=null}[le(159)](t){const e=le;this[e(156)]=t,this[e(141)]=!0,t.debug&&console[e(135)]("📊 Events module initialized")}[le(140)](){return this._isReady}getConfig(){return this[le(156)]}[le(147)](t){const e=le;de[e(147)](t),this[e(156)]?.[e(166)]&&console.log(e(143),t)}[le(152)](){return de[le(152)]()}[le(136)](t){const e=le;oe.setUserProperties(t),this[e(156)]?.[e(166)]&&console[e(135)](e(157),t)}getUserProperties(){return oe.getCurrentUserProperties()}[le(151)](t){const e=le;$t[e(151)](t),this[e(156)]?.[e(166)]&&console[e(135)](e(160),t)}[le(137)](t,e){const n=le;$t[n(137)](t,e),this[n(156)]?.[n(166)]&&console[n(135)]("📱 Device property set:",t,e)}[le(146)](){const t=le;$t[t(146)](),this[t(156)]?.debug&&console.log(t(149))}[le(132)](){return $t.getUserDeviceInfo()}[le(167)](){return $t[le(167)]()}[le(170)](){return oe.getUserInfo()}[le(169)](){return oe[le(169)]()}async[le(155)](t,e){const n=le;if(this[n(141)])if(this[n(156)]?.[n(144)])try{const r={eventName:t,userId:de[n(152)](),sessionId:de.getSessionId(),sdkVersion:b(),device:$t[n(167)](),user:oe.getUserInfo(),params:e||{}};await this[n(145)](r),this[n(156)].debug&&console[n(135)]("✅ Event tracked:",t,e)}catch(r){console.error("❌ Failed to track event:",r),this[n(156)][n(166)]&&console.error("Event data:",{eventName:t,properties:e})}else console[n(142)]("API key not configured for event tracking.");else console[n(142)](n(164))}async[le(145)](t){const e=le,n=await fetch(K[e(154)].track(),{method:e(138),headers:{...D.create(this[e(156)][e(144)]),"Content-Type":e(163)},body:JSON[e(171)](t)});if(!n.ok)throw new Error(e(161)+n[e(134)]+" "+n.statusText)}}const fe=ve;function ge(){const t=["getInstance","_isInitialized","from","📊 AdStage Debug: 현재 viewable 추적 상태","447iXtbei","_config","development","isReady","setBaseUrl","AdStage not initialized. Call AdStage.init() first.","...","8472744VuNwBo","baseUrl","clearAdViewable","🌐 API endpoint configured:","853307DslaoI","viewableTracker","size","2.0.0","136542MODiVx","events","104GAavbR","🚀 AdStage SDK initialized (sync mode)","4177330VlbtFU","16824Ubwuzf","44wwlNgs","debug","instance","API key is required for AdStage initialization","apiKey","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","ads","clear","function","1008135yVBTnK","substring","✅ AdStage Debug: 광고 ","188RspUay","log","reset","config","init","getConfig","255xsYssq","10036FuvGyO"];return(ge=function(){return t})()}!function(){const t=ve,e=ge();for(;;)try{if(951304===parseInt(t(195))/1*(parseInt(t(163))/2)+-parseInt(t(175))/3*(parseInt(t(170))/4)+-parseInt(t(169))/5*(parseInt(t(190))/6)+-parseInt(t(186))/7*(parseInt(t(192))/8)+parseInt(t(205))/9+-parseInt(t(194))/10*(-parseInt(t(196))/11)+parseInt(t(182))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class me{constructor(){const t=ve;this[t(172)]=!1,this[t(176)]=null,this[t(166)]=new Zt,this[t(202)]=new qt,this[t(191)]=new he}static init(t){const e=ve;!me[e(198)]&&(me[e(198)]=new me);const n=me.instance;if(!t[e(200)])throw new Error(e(199));n._config={timeout:3e4,debug:!1,modules:["ads","events","config"],...t},n[e(176)][e(183)]&&(K[e(179)](n._config.baseUrl),t[e(197)]&&console[e(164)](e(185),n[e(176)][e(183)]));const r=n[e(176)].modules||[e(202),e(191),"config"];for(const t of r){const r=n[t];r&&typeof r[e(167)]===e(204)&&r.init(n[e(176)])}n[e(172)]=!0,t[e(197)]&&console.log(e(193),{version:e(189),modules:r,apiKey:t[e(200)][e(161)](0,8)+e(181),mode:e(177)})}static[fe(178)](){const t=fe;return me[t(198)]?.[t(172)]||!1}static[fe(168)](){const t=fe;return me[t(198)]?.[t(176)]||null}static[fe(171)](){const t=fe;if(!me[t(198)])throw new Error(t(180));return me[t(198)]}static get[fe(202)](){return me.getInstance().ads}static get[fe(191)](){const t=fe;return me[t(171)]()[t(191)]}static get config(){const t=fe;return me[t(171)]()[t(166)]}static[fe(165)](){const t=fe;me[t(198)]&&(me.instance[t(172)]=!1,me[t(198)][t(176)]=null)}}function ve(t,e){const n=ge();return(ve=function(t,e){return n[t-=161]})(t,e)}function ye(t,e){var n=we;return me[n(411)]()?me.events[n(420)](t,e):(console.warn(n(416)),Promise[n(405)]())}function Ie(t){var e=we;me[e(411)]()?me[e(421)][e(418)](t):console.warn("AdStage not initialized. Call AdStage.init() first.")}function be(){var t=["warn","isReady","getUserProperties","getUserId","1801374TunxMY","1308132uGxbpG","AdStage not initialized. Call AdStage.init() first.","2588250KkucSb","setUserId","97910NjnMDq","track","events","resolve","1133704PNRwhE","1734516lriJJm","86624ZBsNqD","189MJwymI"];return(be=function(){return t})()}function we(t,e){var n=be();return(we=function(t,e){return n[t-=405]})(t,e)}function ke(){var t=we;if(me[t(411)]())return me[t(421)][t(413)]();console[t(410)](t(416))}function Ee(t){var e=we;me.isReady()?me[e(421)].setUserProperties(t):console.warn(e(416))}function xe(){var t=we;if(me.isReady())return me[t(421)][t(412)]();console[t(410)](t(416))}me[fe(197)]={clearAllViewable:()=>{const t=fe;at[t(203)](),console[t(164)](t(201))},clearAdViewable:(t,e)=>{const n=fe;at[n(184)](t,e),console.log(n(162)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=fe;console.log(t(174),{trackedCount:at.viewableTracker[t(188)],trackedItems:Array[t(173)](at[t(187)])})}},function(){for(var t=we,e=be();;)try{if(752422===parseInt(t(406))/1+-parseInt(t(414))/2+parseInt(t(417))/3+-parseInt(t(415))/4+-parseInt(t(419))/5+-parseInt(t(407))/6+parseInt(t(409))/7*(parseInt(t(408))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var Se,Ae={exports:{}},Ce={},Te={exports:{}},Re={};Te.exports=function(){if(Se)return Re;Se=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function v(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var y=v.prototype=new m;y.constructor=v,h(y,g.prototype),y.isPureReactComponent=!0;var I=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,I(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",I(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var D={current:null},_={transition:null},B={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:_,ReactCurrentOwner:w};function L(){throw Error("act(...) is not supported in production builds of React.")}return Re.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Re.Component=g,Re.Fragment=n,Re.Profiler=s,Re.PureComponent=v,Re.StrictMode=r,Re.Suspense=c,Re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Re.act=L,Re.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Re.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},Re.createElement=E,Re.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Re.createRef=function(){return{current:null}},Re.forwardRef=function(t){return{$$typeof:a,render:t}},Re.isValidElement=x,Re.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},Re.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},Re.startTransition=function(t){var e=_.transition;_.transition={};try{t()}finally{_.transition=e}},Re.unstable_act=L,Re.useCallback=function(t,e){return D.current.useCallback(t,e)},Re.useContext=function(t){return D.current.useContext(t)},Re.useDebugValue=function(){},Re.useDeferredValue=function(t){return D.current.useDeferredValue(t)},Re.useEffect=function(t,e){return D.current.useEffect(t,e)},Re.useId=function(){return D.current.useId()},Re.useImperativeHandle=function(t,e,n){return D.current.useImperativeHandle(t,e,n)},Re.useInsertionEffect=function(t,e){return D.current.useInsertionEffect(t,e)},Re.useLayoutEffect=function(t,e){return D.current.useLayoutEffect(t,e)},Re.useMemo=function(t,e){return D.current.useMemo(t,e)},Re.useReducer=function(t,e,n){return D.current.useReducer(t,e,n)},Re.useRef=function(t){return D.current.useRef(t)},Re.useState=function(t){return D.current.useState(t)},Re.useSyncExternalStore=function(t,e,n){return D.current.useSyncExternalStore(t,e,n)},Re.useTransition=function(){return D.current.useTransition()},Re.version="18.3.1",Re}();var De,_e=Te.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@ function t(e,n){var r=h();return(t=function(t,e){return r[t-=147]})(e,n)}var e,n
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */Ae.exports=function(){if(_e)return Te;_e=1;var t=De,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},l=null,d=null;for(a in void 0!==i&&(l=""+i),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:l,ref:d,props:c,_owner:s.current}}return Te.Fragment=n,Te.jsx=i,Te.jsxs=i,Te}();var Le=Ae.exports;const Be=De.createContext(null);function Pe({children:t,config:e}){const[n,r]=De.useState(!1),[s,o]=De.useState(null),[i,a]=De.useState(null),c=t=>{try{a(null),n&&ye.reset(),ye.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};De.useEffect(()=>{e&&!n&&c(e)},[e,n]);const l={isInitialized:n,config:s,initialize:c,reset:()=>{try{ye.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Le.jsx(Be.Provider,{value:l,children:t})}function Ue(){const t=De.useContext(Be);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Oe(){const{isInitialized:t}=Ue();return t?ye:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function ze(t,e){var n=Ne();return(ze=function(t,e){return n[t-=396]})(t,e)}function Ne(){var t=["5dmQHlL","562614twqKdo","85986gBtREf","3644291mPzldI","65871QjJdHZ","565443KGfVof","1594980BNLlOL","520eTewab","1279197sTFKqK"];return(Ne=function(){return t})()}!function(){for(var t=ze,e=Ne();;)try{if(321797===-parseInt(t(400))/1+-parseInt(t(397))/2+parseInt(t(403))/3+parseInt(t(401))/4*(-parseInt(t(404))/5)+-parseInt(t(396))/6+parseInt(t(398))/7+-parseInt(t(402))/8*(-parseInt(t(399))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Me=Ve;function Ve(t,e){const n=Fe();return(Ve=function(t,e){return n[t-=137]})(t,e)}function Fe(){const t=["73360vzXGaC","undefined","1272020mPXapg","AdStage","8feSwcF","669DLCYts","5VdaMen","events","3206PaYkMj","11ZBkYQj","11813328ponskX","14GmcBsB","373170BMZUYP","2742759FRnHTW","368316kttWHH","2.0.0"];return(Fe=function(){return t})()}!function(){const t=Ve,e=Fe();for(;;)try{if(247043===parseInt(t(151))/1+parseInt(t(145))/2*(parseInt(t(142))/3)+-parseInt(t(139))/4*(-parseInt(t(143))/5)+parseInt(t(149))/6*(-parseInt(t(148))/7)+parseInt(t(141))/8*(parseInt(t(150))/9)+parseInt(t(137))/10+parseInt(t(146))/11*(-parseInt(t(147))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const He=Me(152),je=["ads",Me(144),"config"];typeof window!==Me(138)&&(window[Me(140)]=ye);export{ye as AdStage,Pe as AdStageProvider,He as SDK_VERSION,je as SUPPORTED_MODULES,Ee as getUserId,xe as getUserProperties,we as setUserId,ke as setUserProperties,be as track,Ue as useAdStageContext,Oe as useAdStageInstance};
10
+ */Ae.exports=function(){if(De)return Ce;De=1;var t=_e,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:d,ref:l,props:c,_owner:s.current}}return Ce.Fragment=n,Ce.jsx=i,Ce.jsxs=i,Ce}();var Be=Ae.exports;const Le=_e.createContext(null);function Pe({children:t,config:e}){const[n,r]=_e.useState(!1),[s,o]=_e.useState(null),[i,a]=_e.useState(null),c=t=>{try{a(null),n&&me.reset(),me.init(t),o(t),r(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),r(!1),o(null)}};_e.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{me.reset(),r(!1),o(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:i};return Be.jsx(Le.Provider,{value:d,children:t})}function Ue(){const t=_e.useContext(Le);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Me(){const{isInitialized:t}=Ue();return t?me:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}function Ne(t,e){var n=Ve();return(Ne=function(t,e){return n[t-=408]})(t,e)}function Ve(){var t=["2sICZGe","1099Eksdvr","63054DxAIGE","2130DZoVai","2597883gouMvf","12852510rsHTKv","846928zNbjWw","430hrvZoW","2504lHIDgA","31179WTGjKh","40218orBwdL"];return(Ve=function(){return t})()}!function(){for(var t=Ne,e=Ve();;)try{if(640653===parseInt(t(415))/1+-parseInt(t(417))/2*(-parseInt(t(410))/3)+-parseInt(t(414))/4*(-parseInt(t(409))/5)+parseInt(t(416))/6*(parseInt(t(418))/7)+-parseInt(t(412))/8+-parseInt(t(408))/9*(parseInt(t(413))/10)+-parseInt(t(411))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Oe=ze;function ze(t,e){const n=He();return(ze=function(t,e){return n[t-=106]})(t,e)}!function(){const t=ze,e=He();for(;;)try{if(665121===parseInt(t(107))/1+parseInt(t(113))/2+parseInt(t(115))/3+parseInt(t(118))/4*(parseInt(t(119))/5)+parseInt(t(114))/6+-parseInt(t(106))/7*(-parseInt(t(112))/8)+-parseInt(t(110))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Fe=Oe(108),je=[Oe(117),Oe(116),Oe(120)];function He(){const t=["2.0.0","AdStage","32025663csklRj","undefined","8rhIUol","936844UVgVnB","7065162juFdSA","2633568tgPaRa","events","ads","152vEVdbg","158450HpDGHs","config","1700818avqxpU","252529JKAezk"];return(He=function(){return t})()}typeof window!==Oe(111)&&(window[Oe(109)]=me);export{me as AdStage,Pe as AdStageProvider,Fe as SDK_VERSION,je as SUPPORTED_MODULES,ke as getUserId,xe as getUserProperties,Ie as setUserId,Ee as setUserProperties,ye as track,Ue as useAdStageContext,Me as useAdStageInstance};