@adstage/web-sdk 3.0.6 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";function e(t,n){var r=f();return(e=function(t,e){return r[t-=298]})(t,n)}var n,r,s,i,o,a,c,d,l,u,p,h;function f(){var t=["243407pRCVbp","NATIVE","CLICK","VIEWABLE","1354080ROASWI","BANNER","POPUP","726480nmMnTh","MOBILE","45908lXruXC","DESKTOP","108NAtCYF","TABLET","6928227nGtMmP","1758745VKJWPX","INTERSTITIAL","6248ENKErc","WEB","VIDEO","2212oCAnGg","TEXT"];return(f=function(){return t})()}function g(t,e){const n=m();return(g=function(t,e){return n[t-=171]})(t,e)}function m(){const t=["getWindowProperty","isBrowser","open","DOM을 사용할 수 없는 환경입니다.","loading",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"innerWidth","innerHTML","setProperty","safeAddEventListener","pow","956aBVlAy","✅ 컨테이너 발견: ","safeAddClass","canUseDOM","11571970HCfAce","600570ljNJcm","번 시도)","ms 경과)","getElementById","map","style","isDOMReady","getDocumentProperty","log","documentElement","querySelectorAll","⏳ 컨테이너 대기 중: ","ms (","readyState","1501367XxTlJI","3442rEeZyM","querySelector","2274yjuREK","devicePixelRatio","addEventListener","removeChild","ceil","safeSetTextContent","getScrollInfo","undefined","118IozovK","safeGetElementById","54axTgJM","createElement","ms)","⏳ 컨테이너 대기 시작: ","waitForElement","getViewportInfo",'❌ 컨테이너를 찾을 수 없습니다: "',"safeRemoveChild"," (최대 ","pageXOffset","safeQuerySelector","getPageInfo","2013504txfZur",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"waitForDOM","entries","classList","forEach","safeGetComputedStyle","safeSetInnerHTML","remove","from","✅ 컨테이너 즉시 발견: ","safeCreateElement","204872eWtZMA","safeWindowOpen"];return(m=function(){return t})()}!function(t){for(var n=e,r=t();;)try{if(247897===parseInt(n(305))/1+parseInt(n(312))/2+parseInt(n(316))/3*(-parseInt(n(314))/4)+parseInt(n(298))/5+parseInt(n(309))/6+-parseInt(n(303))/7*(-parseInt(n(300))/8)+-parseInt(n(318))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f),r=n||(n={}),s=e,r.BANNER=s(310),r[s(311)]="POPUP",r[s(299)]=s(299),r[s(306)]=s(306),r[s(302)]="VIDEO",r[s(304)]=s(304),o=i||(i={}),a=e,o.WEB=a(301),o[a(313)]="MOBILE",(d=c||(c={}))[(l=e)(308)]="VIEWABLE",d[l(307)]="CLICK",(p=u||(u={}))[(h=e)(315)]="DESKTOP",p[h(313)]=h(313),p[h(317)]="TABLET";const y=g;!function(t){const e=g,n=t();for(;;)try{if(189352===parseInt(e(234))/1*(-parseInt(e(175))/2)+parseInt(e(236))/3*(-parseInt(e(214))/4)+parseInt(e(219))/5+-parseInt(e(189))/6+-parseInt(e(233))/7+-parseInt(e(201))/8*(parseInt(e(177))/9)+parseInt(e(218))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class I{static[y(204)](){const t=y;return typeof window!==t(174)&&typeof document!==t(174)}static isSSR(){return!this[y(204)]()}static[y(217)](){const t=y;return this.isBrowser()&&void 0!==document[t(232)]}static[y(176)](t){const e=y;return this[e(217)]()?document[e(222)](t):null}static[y(187)](t){const e=y;return this[e(217)]()?document[e(235)](t):null}static safeQuerySelectorAll(t){const e=y;return this[e(217)]()?Array[e(198)](document[e(229)](t)):[]}static[y(200)](t){const e=y;return this[e(217)]()?document[e(178)](t):null}static[y(212)](t,e,n,r){const s=y;this[s(217)]()&&t&&t[s(238)](e,n,r)}static safeRemoveEventListener(t,e,n,r){this.canUseDOM()&&t&&t.removeEventListener(e,n,r)}static[y(203)](t,e){return this[y(204)]()?window[t]??e:e}static[y(226)](t,e){return this.canUseDOM()?document[t]??e:e}static[y(202)](t,e,n){const r=y;return this[r(204)]()?window[r(205)](t,e,n):null}static[y(195)](t){return this[y(204)]()&&t?window.getComputedStyle(t):null}static[y(225)](){const t=y;return!!this[t(217)]()&&document[t(232)]!==t(207)}static[y(191)](){return new Promise(t=>{const e=g;this[e(217)]()?this[e(225)]()?t():this[e(212)](document,"DOMContentLoaded",()=>t()):t()})}static safeApplyStyles(t,e){const n=y;this[n(217)]()&&t&&Object[n(192)](e)[n(194)](([e,r])=>{const s=n;t[s(224)][s(211)](e,r)})}static[y(216)](t,e){const n=y;this[n(217)]()&&t&&t[n(193)].add(e)}static safeRemoveClass(t,e){const n=y;this[n(217)]()&&t&&t[n(193)][n(197)](e)}static[y(172)](t,e){this.canUseDOM()&&t&&(t.textContent=e)}static[y(196)](t,e){const n=y;this[n(217)]()&&t&&(t[n(210)]=e)}static safeAppendChild(t,e){this.canUseDOM()&&t&&e&&t.appendChild(e)}static[y(184)](t,e){const n=y;this[n(217)]()&&t&&e&&t[n(239)](e)}static[y(188)](){const t=y;return{url:this.getWindowProperty("location",{href:""}).href,title:this[t(226)]("title",""),referrer:this[t(226)]("referrer","")}}static[y(182)](){const t=y;return{width:this.getWindowProperty(t(209),0),height:this[t(203)]("innerHeight",0),pixelRatio:this[t(203)](t(237),1)}}static[y(173)](){const t=y;return{scrollTop:this[t(217)]()?window.pageYOffset||document[t(228)].scrollTop:0,scrollLeft:this[t(203)](t(186),0)}}static async[y(181)](t,e={}){const n=y,{timeout:r=3e3,retryInterval:s=100,debug:i=!1}=e;if(!this[n(217)]())throw new Error(n(206));const o=document[n(222)](t);return o?(i&&console[n(227)](n(199)+t),o):(i&&console[n(227)](n(180)+t+n(185)+r+n(179)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(171)](r/s),l=()=>{const n=a;c++;const u=document[n(222)](t);if(u)return i&&console[n(227)](n(215)+t+" ("+c+"번째 시도, "+c*s+n(221)),void e(u);if(c>=d){const e=n(183)+t+n(190)+t+n(208)+r+n(231)+c+n(220);return i&&console.error(e),void o(new Error(e))}i&&c%10==0&&console[n(227)](n(230)+t+" ("+c+"/"+d+")");const p=Math.min(s*Math[n(213)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async waitForElements(t,e={}){const n=y,r=t[n(223)](t=>this[n(181)](t,e));return Promise.all(r)}}function v(t,e){const n=b();return(v=function(t,e){return n[t-=114]})(t,e)}!function(t){const e=v,n=t();for(;;)try{if(405683===parseInt(e(126))/1+-parseInt(e(118))/2+-parseInt(e(121))/3*(-parseInt(e(116))/4)+-parseInt(e(127))/5*(-parseInt(e(117))/6)+parseInt(e(119))/7*(-parseInt(e(125))/8)+-parseInt(e(120))/9*(-parseInt(e(123))/10)+-parseInt(e(115))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);function b(){const t=[" AdStageSDK/","32MZiNyj","449897WTpUil","145MBisAI","userAgent","10606233dbLgzG","1588980BYWiRl","111678WhZQmU","51996gqbaet","323477tDeCHd","189gHcxzl","3YCCuPO","AdStageSDK/","92290eEozIf"];return(b=function(){return t})()}const w=k;function E(){const t=["ssr_device_","platform","test","getScrollInfo","colorDepth","connection","desktop","session_","toString","48556640KwfLor","6662580JysjwU","getSlotPosition","now","collectDeviceInfo","web","toLowerCase","generateDeviceId","substr","getViewportInfo","device_","DateTimeFormat","generateSessionId","isBrowser","setItem","width","adstage_session_id","getItem","language","26739fNLXOQ","random","4avzYeH","3493LPJlwK","SSR","isMobile","6105592DgEYJZ","1563762ubJlfm","effectiveType","resolvedOptions","left","unknown","pixelRatio","height","userAgent","1150YHYQAg","top","timeZone","ssr_session_","getBoundingClientRect","19014iECPvT","91607RKCOqC","round","UTC","getPlatform","6OURMOS"];return(E=function(){return t})()}function k(t,e){const n=E();return(k=function(t,e){return n[t-=192]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(832426===-parseInt(e(214))/1*(-parseInt(e(218))/2)+parseInt(e(200))/3*(-parseInt(e(195))/4)+-parseInt(e(229))/5+-parseInt(e(213))/6*(parseInt(e(196))/7)+-parseInt(e(199))/8+-parseInt(e(193))/9*(-parseInt(e(208))/10)+parseInt(e(228))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(E);class x{static[w(235)](){const t=w;if(!I[t(241)]())return t(219)+Date[t(231)]();const e=localStorage[t(245)]("adstage_device_id");if(e)return e;const n=t(238)+Math[t(194)]()[t(227)](36)[t(236)](2,9)+"_"+Date[t(231)]();return localStorage[t(242)]("adstage_device_id",n),n}static[w(240)](){const t=w;if(!I[t(241)]())return t(211)+Date[t(231)]();const e=sessionStorage.getItem(t(244));if(e)return e;const n=t(226)+Math[t(194)]()[t(227)](36)[t(236)](2,9)+"_"+Date.now();return sessionStorage[t(242)](t(244),n),n}static[w(198)](){const t=w;return!!I.isBrowser()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(221)](navigator.userAgent)}static[w(217)](){const t=w;if(!I[t(241)]())return t(233);const e=navigator[t(207)][t(234)]();return/iphone|ipad|ipod/.test(e)?"ios":/android/[t(221)](e)?"android":x[t(198)]()?t(233):t(225)}static[w(232)](){const t=w,e=I[t(237)]();return{deviceId:x[t(235)](),sessionId:x[t(240)](),osVersion:I.isBrowser()?navigator[t(220)]:t(197),deviceModel:I[t(241)]()?navigator.platform:t(197),appVersion:"1.0.0",sdkVersion:'"3.0.6"',language:I[t(241)]()&&navigator[t(192)]||"ko",country:"KR",ipAddress:"",userAgent:I[t(241)]()?navigator.userAgent:t(197),timezone:I[t(241)]()?Intl[t(239)]()[t(202)]()[t(210)]:t(216),viewportWidth:e[t(243)],viewportHeight:e.height,screenWidth:I[t(241)]()?screen[t(243)]:0,screenHeight:I[t(241)]()?screen[t(206)]:0,colorDepth:I[t(241)]()?screen[t(223)]:24,pixelRatio:e[t(205)],connectionType:I[t(241)]()&&navigator[t(224)]?.[t(201)]||t(204),platform:x.getPlatform()}}static[w(230)](t){const e=w,n=I.safeGetElementById(t);if(!n)return e(204);const r=n[e(212)](),s=I[e(222)]();return"x:"+Math[e(215)](r[e(203)])+",y:"+Math[e(215)](r[e(209)]+s.scrollTop)}}function S(t,e){const n=C();return(S=function(t,e){return n[t-=420]})(t,e)}const A=S;function C(){const t=["createForEvents","2541816QxuEJL","contentType","2076EZFGKu","224570iYEfrK","create","11974810sGDhVA","application/json","14gRtRjz","API key is required","User-Agent","userAgent","undefined","1138179PPaztS","50831ieIWxu","6zzHxuj","88SzMEuD","9mICtBL","42423KOGAbB","6849297xOaDFq"];return(C=function(){return t})()}!function(t){const e=S,n=t();for(;;)try{if(649632===-parseInt(e(423))/1+parseInt(e(438))/2*(parseInt(e(428))/3)+parseInt(e(426))/4*(parseInt(e(434))/5)+parseInt(e(425))/6*(-parseInt(e(429))/7)+-parseInt(e(431))/8+-parseInt(e(427))/9*(-parseInt(e(436))/10)+parseInt(e(424))/11*(parseInt(e(433))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(C);class T{static[A(435)](t,e){const n=A;if(!t)throw new Error(n(439));const r={"x-api-key":t,"Content-Type":e?.[n(432)]||n(437)};return typeof navigator!==n(422)&&(r[n(420)]=e?.[n(421)]||navigator[n(421)]),r}static[A(430)](t,e){const n=A,r=T.create(t);return e?.[n(421)]&&(r["User-Agent"]=e[n(421)]),r}}const R=_;function _(t,e){const n=D();return(_=function(t,e){return n[t-=499]})(t,e)}function D(){const t=[" for ad ","now","replace"," event for ad ","substring","createForEvents","sessionId","width","log","...","length","1630272frUKVb","4116990hsLhlx","🔍 Debug info:"," in slot ","title","🚀 Sending advertisement event: ","/advertisements/events/","6414FkHbXt","referrer","80914gQlUNw","trackAdvertisementEvent","apiKey","string","platform","26968122iGgWSd","error","API request failed: ","statusText","debug","4gPcQkR","1285iycVSC","slots","📡 API Response Status: ","baseUrl","VIEWABLE","status","get","POST","stringify","parseNumericValue","❌ Failed to track advertisement event:","10303360AhWGyI","adType","getPageInfo","8355683YGouKN","containerId"," - "];return(D=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(886454===-parseInt(e(529))/1*(-parseInt(e(539))/2)+parseInt(e(521))/3+-parseInt(e(520))/4+parseInt(e(540))/5*(parseInt(e(527))/6)+parseInt(e(506))/7+parseInt(e(503))/8+-parseInt(e(534))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class B{constructor(t,e,n,r){const s=_;this[s(543)]=t,this[s(531)]=e,this[s(538)]=n,this[s(541)]=r}async[R(530)](t,e,n){const r=R;try{this[r(538)]&&console[r(517)]("🚀 AdvertisementEventTracker: Processing "+n+r(512)+t+r(523)+e);const s=this.slots[r(546)](e),i=x.collectDeviceInfo(),o={adType:s?.[r(504)]||"BANNER",platform:i[r(533)],deviceId:i.deviceId,deviceInfo:i,pageUrl:I[r(505)]().url,pageTitle:I[r(505)]()[r(524)],referrer:I[r(505)]()[r(528)],slotId:e,slotPosition:x.getSlotPosition(s?.[r(507)]||""),slotWidth:B[r(501)](s?.[r(516)]),slotHeight:B[r(501)](s?.height),sessionId:i[r(515)],pageLoadTime:performance[r(510)](),metadata:{eventType:n,sdkVersion:'"3.0.6"',timestamp:Date[r(510)]()},...n===c[r(544)]&&{isViewable:!0,iabCompliant:!0}},a=this[r(543)]+r(526)+t+"/"+n,d=T[r(514)](this[r(531)],o);this[r(538)]&&(console[r(517)](r(525)+n+r(509)+t,{url:a,headers:d,eventData:o}),console[r(517)]("🌐 Full API call details:",{method:r(499),url:a,hasApiKey:!!this[r(531)],bodySize:JSON[r(500)](o)[r(519)]}));const l=await fetch(a,{method:r(499),headers:d,body:JSON[r(500)](o)});if(this.debug&&console[r(517)](r(542)+l[r(545)]+" "+l.statusText,{url:a,ok:l.ok}),!l.ok){const t=await l.text();throw new Error(r(536)+l.status+" "+l[r(537)]+r(508)+t)}this[r(538)]&&console[r(517)]("✅ Successfully tracked advertisement event: "+n+r(509)+t)}catch(s){console[r(535)](r(502),s),console[r(535)](r(522),{baseUrl:this[r(543)],apiKey:this.apiKey?this.apiKey[r(513)](0,8)+r(518):"NOT_SET",url:this[r(543)]+r(526)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[R(501)](t){const e=R;if("number"==typeof t)return t;if(typeof t===e(532)){const n=parseFloat(t[e(511)](/px$/,""));return isNaN(n)?0:n}return 0}}function L(){var t=["forEach","387000GhwXwi","visibilityState","IntersectionObserver","disconnect","441606NVYoJx","onViewableCallback","element","0px","intersectionRatio","visible","isDocumentVisible","492088iwkfIQ","observer","observe","32188fSPJNT","destroy","49242iAJHdZ","165054UEWyUS","IntersectionObserver not supported, viewability tracking disabled","8BaKLvh","70cUNEEF","handleIntersection","9BMPjMs","initIntersectionObserver","isViewableTriggered","60HrTfDF","3708260BORymp","156BHtTAb"];return(L=function(){return t})()}function P(t,e){var n=L();return(P=function(t,e){return n[t-=349]})(t,e)}var z=P;!function(t){for(var e=P,n=t();;)try{if(200119===-parseInt(e(367))/1*(parseInt(e(364))/2)+parseInt(e(377))/3+parseInt(e(362))/4*(-parseInt(e(373))/5)+parseInt(e(365))/6*(parseInt(e(368))/7)+parseInt(e(359))/8*(-parseInt(e(370))/9)+-parseInt(e(374))/10+-parseInt(e(352))/11*(-parseInt(e(375))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class O{constructor(t,e){var n=P;this[n(360)]=null,this[n(372)]=!1,this[n(354)]=t,this[n(353)]=e,this[n(371)]()}[z(371)](){var t=z;t(350)in window?(this[t(360)]=new IntersectionObserver(e=>this[t(369)](e),{threshold:.5,rootMargin:t(355)}),this[t(360)][t(361)](this[t(354)])):console.warn(t(366))}[z(369)](t){var e=z;t[e(376)](t=>{var n=e;t[n(356)]>=.5&&this[n(358)]()&&!this[n(372)]&&(this[n(372)]=!0,this[n(353)]&&this.onViewableCallback())})}[z(358)](){var t=z;return!document.hidden&&document[t(349)]===t(357)}[z(363)](){var t=z;this.observer&&(this[t(360)][t(351)](),this.observer=null)}}const U=M;!function(t){const e=M,n=t();for(;;)try{if(613108===-parseInt(e(257))/1*(parseInt(e(232))/2)+parseInt(e(255))/3*(-parseInt(e(248))/4)+parseInt(e(233))/5+parseInt(e(250))/6*(parseInt(e(251))/7)+-parseInt(e(249))/8*(parseInt(e(238))/9)+-parseInt(e(247))/10*(parseInt(e(235))/11)+parseInt(e(231))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const N={production:U(246),beta:U(230)};function M(t,e){const n=H();return(M=function(t,e){return n[t-=230]})(t,e)}U(252);const V={advertisements:{list:"/advertisements/list",detail:U(245),events:U(241)},events:{track:U(253)}};class F{constructor(t){const e=U;this[e(236)]={list:()=>""+this[e(237)]+V.advertisements[e(240)],detail:t=>""+this[e(237)]+V[e(236)][e(243)]+"/"+t,events:(t,n)=>""+this[e(237)]+V[e(236)].events+"/"+t+"/"+n},this[e(254)]={track:()=>""+this[e(237)]+V[e(254)][e(244)]},this[e(237)]=t||N[e(252)]}[U(242)](t){this[U(237)]=t}[U(256)](){return this[U(237)]}[U(234)](t){const e=U;return""+this.baseUrl+(t[e(239)]("/")?t:"/"+t)}}const j=new F;function H(){const t=["2102396tZXTVq","4388725luuDPY","custom","1117061rfEYxe","advertisements","baseUrl","279315JFHOmZ","startsWith","list","/advertisements/events","setBaseUrl","detail","track","/advertisements","https://api.adstage.app","10CQWOLn","56UcLkJo","192yeJMMb","18HpNZLR","2398928RLTDjI","production","/events/track","events","158403VfwBMS","getBaseUrl","1bPdisY","https://beta-api.adstage.app","16128648WQCwys"];return(H=function(){return t})()}function K(){var t=["2422200NzNUMY","80fOspCn","trackSlideViewable","9aeZkCA","8XzGfdb","VIEWABLE","59851UoJjBb","1068325FykhiG","396882LjPuEf","392424ooqaLd","250LOadCK","7lVIkBg","🎯 Triggering initial VIEWABLE event: ad ",") in slot: "," (index: ","🎯 Triggering VIEWABLE event for slide change: ad ","_id","8369lzBNGT","log","13400088mgxrFE"];return(K=function(){return t})()}function W(t,e){var n=K();return(W=function(t,e){return n[t-=139]})(t,e)}var q=W;!function(t){for(var e=W,n=t();;)try{if(202315===parseInt(e(150))/1*(-parseInt(e(154))/2)+-parseInt(e(141))/3*(parseInt(e(157))/4)+-parseInt(e(140))/5+parseInt(e(142))/6*(parseInt(e(144))/7)+parseInt(e(153))/8*(-parseInt(e(156))/9)+parseInt(e(143))/10*(parseInt(e(139))/11)+parseInt(e(152))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class G{static[q(155)](t,e,n,r,s=!1){var i=q;s&&console[i(151)](i(148)+t[i(149)]+i(147)+n+i(146)+e.id),r(t._id,e.id,c[i(158)])}static trackInitialSlideViewable(t,e,n,r=!1){var s=q;r&&console[s(151)](s(145)+t[s(149)]+" (index: 0) in slot: "+e.id),n(t[s(149)],e.id,c[s(158)])}}function Y(t,e){const n=X();return(Y=function(t,e){return n[t-=275]})(t,e)}const J=Y;function X(){const t=["open","cursor","18EjGcYE","CLICK","72564BeQDiU","2497TGZRxf","style","addClickEvent","2493400TgHDrr","adType","preventDefault","forEach","4FXxdjO","isClickable","addEventListener","3125880ZYNVEs","addClickEventForSlider","3289015QPkKuA","🔗 ","93750tvXtkX"," -> ","82886kgosNq","pointer","linkUrl","14QMHBET","217QMVDZo","_blank","click","log","stopPropagation"," ad clicked: ","2197632HAodBE","addClickEventsBatch","_id"];return(X=function(){return t})()}!function(t){const e=Y,n=t();for(;;)try{if(388911===parseInt(e(296))/1*(parseInt(e(293))/2)+-parseInt(e(303))/3+-parseInt(e(284))/4*(parseInt(e(289))/5)+parseInt(e(291))/6*(-parseInt(e(297))/7)+-parseInt(e(280))/8*(-parseInt(e(308))/9)+-parseInt(e(287))/10+parseInt(e(277))/11*(parseInt(e(276))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);class Q{static[J(279)](t,e,n,r,s=!1,i){const o=J;e[o(295)]&&(t[o(278)][o(307)]="pointer",t[o(286)](o(299),t=>{const a=o;if(t[a(282)](),t[a(301)](),r&&r(e[a(305)],n.id,c[a(275)]),window[a(306)](e[a(295)],a(298)),s){const t=i||String(n[a(281)]).toLowerCase();console[a(300)](a(290)+t+a(302)+e._id+a(292)+e[a(295)])}}))}static addClickEventForRenderer(t,e,n,r,s=!1,i){const o=J;e[o(295)]&&(t[o(278)][o(307)]=o(294),t.addEventListener(o(299),t=>{const a=o;t[a(282)](),t.stopPropagation();if(r()(e[a(305)],n.id,c[a(275)]),window[a(306)](e[a(295)],a(298)),s){const t=i||String(n.adType).toLowerCase();console[a(300)](a(290)+t+a(302)+e._id+a(292)+e.linkUrl)}}))}static[J(288)](t,e,n,r,s=!1,i){this.addClickEvent(t,e,n,r,s,i)}static[J(285)](t){return Boolean(t[J(295)])}static[J(304)](t,e,n,r,s=!1,i){const o=J;t[o(283)]((t,a)=>{const c=o,d=e[a];d&&this[c(279)](t,d,n,r,s,i)})}}const Z=tt;function $(){const t=["hidden","body","adstage-dots","adstage-slider-wrapper","#999999","adstage-ad adstage-","changedTouches","Video Ad","cover","div","createSimpleAdElement","50px","#cccccc","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","button","flex","92586qUaKTS","textContent","createMinimalDotIndicator","none","active","createSliderContainer","1px dashed #ccc","data-adstage-slot-id","0.9","3450357jQOoNa","color","overflow","1px solid #666","display","VIDEO",".adstage-dot","opacity","touches","getBoundingClientRect","adstage-slide-container","every","block","touchend","forEach","entries","100px","appendChild","toLowerCase","1140rPzFDM","setProperty","Banner Ad","adstage-dot","transparent","autoSlideInterval","addEventListener","className","videoUrl","200px","contains","auto","remove","\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 ","children","video","querySelectorAll","width","481217nIQyDT","white","touchmove","normal","cssText","TEXT","0.7","clientX","add","adType","#666666","4302fqKjEW","length","inline-block","transform","data-adstage-ad-id","padding"," Ad","backgroundColor","23094rjyDJj","borderColor","1446644FTZcEM","height","src","3174152yLFAQI","\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 ","style","14px","21JzvCYe","mouseenter","border","152hagKIJ","100%","imageUrl","touchstart","addTouchSupport","string","createElement","8px","fontSize","3730nRDYjw","includes","classList","removeChild","center","setAttribute","whiteSpace"];return($=function(){return t})()}function tt(t,e){const n=$();return(tt=function(t,e){return n[t-=300]})(t,e)}!function(t){const e=tt,n=t();for(;;)try{if(959424===-parseInt(e(311))/1+-parseInt(e(313))/2+parseInt(e(355))/3*(-parseInt(e(323))/4)+-parseInt(e(332))/5*(parseInt(e(303))/6)+-parseInt(e(320))/7*(parseInt(e(316))/8)+-parseInt(e(364))/9+-parseInt(e(383))/10*(-parseInt(e(401))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class et{static[Z(349)](t,e){const r=Z,s=document[r(329)](r(348));switch(s[r(390)]=r(344)+String(t[r(301)])[r(382)](),s.setAttribute(r(307),e._id),s[r(337)](r(362),t.id),s[r(318)][r(368)]=r(376),s[r(318)][r(400)]=r(324),s[r(318)].height=r(394),t[r(301)]){case n.BANNER:if(e[r(325)]){const t=document[r(329)]("img");t[r(315)]=e[r(325)],t[r(318)].width="100%",t[r(318)][r(314)]=r(394),t[r(318)].objectFit=r(347),s[r(381)](t)}else s.style.height=r(380),s.style[r(310)]="#f0f0f0",s[r(318)][r(322)]=r(361),s[r(356)]=r(385);break;case n[r(369)]:if(e.videoUrl){const t=document[r(329)](r(398));t[r(315)]=e[r(391)],t[r(318)][r(400)]=r(324),t[r(318)][r(314)]="auto",s.appendChild(t)}else s[r(318)].height=r(392),s.style[r(310)]="#000",s[r(318)][r(322)]=r(367),s.textContent=r(346),s[r(318)][r(365)]=r(402);break;case n[r(406)]:if(e[r(356)]){const t=document[r(329)](r(348));t[r(356)]=e[r(356)]||"",t[r(318)].padding=r(330),t[r(318)][r(331)]=r(319),s[r(381)](t)}else s.style[r(314)]=r(350),s[r(318)][r(308)]=r(330),s.textContent="Text Ad";break;default:s[r(318)][r(314)]="100px",s[r(318)][r(322)]=r(361),s[r(318)][r(310)]="#f9f9f9",s[r(356)]=t[r(301)]+r(309)}return s}static[Z(360)](t,e,r,s,i=!1){const o=Z,a=document.createElement(o(348));a[o(390)]=o(342);const c={position:"relative",overflow:"hidden"};if(t[o(400)]&&0!==t[o(400)]){let e;e=typeof t[o(400)]===o(328)&&(t.width[o(333)]("px")||t.width[o(333)]("%"))?t[o(400)]:t[o(400)]+"px",c[o(400)]=e,c[o(368)]=o(305)}else c[o(368)]=o(305);if(t[o(314)]&&0!==t.height){const e=typeof t[o(314)]===o(328)?t[o(314)]:t.height+"px";c[o(314)]=e}Object.entries(c)[o(378)](([t,e])=>{const n=o;a[n(318)][n(384)](t,e)});const d=!t[o(400)]||0===t[o(400)],l=!t[o(314)]||0===t[o(314)];if(d||l){const n=document[o(329)]("div");if(n[o(318)].cssText=o(352),!d&&t[o(400)]){let e;e="string"==typeof t.width&&(t[o(400)][o(333)]("px")||t.width[o(333)]("%"))?t[o(400)]:t.width+"px",n[o(318)][o(400)]=e,n[o(318)][o(338)]=o(404)}document[o(340)][o(381)](n);let r=0,s=0;e[o(378)](e=>{const i=o,a=this[i(349)](t,e);n[i(381)](a);const c=a[i(373)]();c.width>r&&(r=c[i(400)]),c[i(314)]>s&&(s=c[i(314)]),n[i(335)](a)}),d&&r>0&&(a[o(318)].width=r+"px",c[o(400)]=r+"px"),l&&s>0&&(a[o(318)].height=s+"px",c[o(314)]=s+"px"),document[o(340)][o(335)](n)}const u=[...e,e[0]],p=document.createElement(o(348));p[o(390)]=o(374);const h={display:o(354),transition:"transform 0.4s ease-out",width:100*u.length+"%"};t[o(314)]&&0!==t[o(314)]&&(h[o(314)]=o(324)),Object[o(379)](h)[o(378)](([t,e])=>{const n=o;p.style[n(384)](t,e)}),u[o(378)]((e,n)=>{const r=o,a=document.createElement(r(348));a[r(390)]="adstage-slide";const c={width:100/u[r(304)]+"%","flex-shrink":"0",display:"flex","align-items":"center","justify-content":r(336)};t[r(314)]&&0!==t[r(314)]&&(c.height=r(324)),Object[r(379)](c)[r(378)](([t,e])=>{a[r(318)].setProperty(t,e)});const d=this[r(349)](t,e);Q.addClickEventForSlider(d,e,t,s,i,String(t[r(301)])[r(382)]()),a.appendChild(d),p[r(381)](a)});const f=e[o(375)](t=>t.adType===n[o(406)])?null:this[o(357)](e[o(304)]);let g=0;const m=e[o(304)],y=1e3*(r?.[o(388)]||3),I=(n,r=!1)=>{const a=o;g=n,p[a(318)].transition=r?a(358):"transform 0.4s ease-out",p[a(318)][a(306)]="translateX(-"+100/u.length*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(370))[a(378)]((t,e)=>{const n=a,r=t;e===c?(r[n(334)][n(300)](n(359)),r[n(318)].background="#666666",r[n(318)][n(312)]=n(302),r[n(318)].opacity="1"):(r[n(334)][n(395)](n(359)),r.style.background=n(387),r[n(318)][n(312)]=n(351),r.style[n(371)]=n(407))})}G.trackSlideViewable(e[c],t,c,s,i)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[o(399)](o(370)).forEach((t,e)=>{t[o(389)]("click",()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a[o(389)]("mouseenter",()=>{clearInterval(b)}),a[o(389)]("mouseleave",()=>{b=setInterval(()=>{I(g+1),v()},y)}),this[o(327)](p,I,()=>g,m,v),a[o(381)](p),f&&a[o(381)](f),I(0),(!t[o(400)]||0===t.width)&&setTimeout(()=>{const e=o,n=p[e(397)][0];if(n){const r=n[e(397)][0];if(r){const n=r[e(373)]();a[e(318)].width=n[e(400)]+"px",(!t.height||0===t[e(314)])&&(a[e(318)][e(314)]=n[e(314)]+"px"),a.style[e(366)]=e(339)}}},10),a}static[Z(357)](t){const e=Z,n=document[e(329)]("div");n[e(390)]=e(341),n[e(318)][e(405)]=e(396);for(let r=0;r<t;r++){const t=document[e(329)](e(353));t.className=e(386),t.style[e(405)]=e(317),t[e(389)](e(321),()=>{const n=e;!t[n(334)][n(393)](n(359))&&(t.style[n(312)]=n(343),t[n(318)][n(371)]=n(363))}),t.addEventListener("mouseleave",()=>{const n=e;!t[n(334)][n(393)](n(359))&&(t.style[n(312)]=n(351),t[n(318)][n(371)]=n(407))}),n[e(381)](t)}return n}static addTouchSupport(t,e,n,r,s){const i=Z;let o=0,a=!1;t[i(389)](i(326),t=>{const e=i;o=t[e(372)][0][e(408)],a=!0}),t[i(389)](i(403),t=>{a&&t.preventDefault()}),t[i(389)](i(377),t=>{if(!a)return;a=!1;const c=t[i(345)][0].clientX,d=o-c;if(Math.abs(d)>50){const t=n();if(d>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function nt(t,e){const n=rt();return(nt=function(t,e){return n[t-=189]})(t,e)}function rt(){const t=["add","401729ZkhLNu","4359YQrWHk","✅ New viewable recorded for ad ","23026970OeExEI","3021560giNnaQ","7451451ImbZZu","10GDhmMd"," in slot ","log","37386FyfqWu","clearAdViewable","delete","1246riKtvV","2457258tGScxO","184hiytPH","has","viewableTracker","clear"];return(rt=function(){return t})()}const st=nt;!function(t){const e=nt,n=t();for(;;)try{if(575476===parseInt(e(197))/1+parseInt(e(190))/2*(-parseInt(e(198))/3)+parseInt(e(201))/4+-parseInt(e(203))/5*(parseInt(e(191))/6)+-parseInt(e(202))/7+-parseInt(e(192))/8*(parseInt(e(206))/9)+parseInt(e(200))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class it{static isDuplicateViewable(t,e,n=!1){const r=nt,s=t+"_"+e;return it.viewableTracker[r(193)](s)?(n&&console[r(205)]("Duplicate viewable blocked for ad "+t+r(204)+e),!0):(it[r(194)][r(196)](s),n&&console[r(205)](r(199)+t+r(204)+e),!1)}static[st(195)](){it[st(194)].clear()}static[st(207)](t,e){const n=st,r=t+"_"+e;it.viewableTracker[n(189)](r)}}it.viewableTracker=new Set;const ot=at;function at(t,e){const n=ct();return(at=function(t,e){return n[t-=392]})(t,e)}function ct(){const t=["1px solid rgba(0, 0, 0, 0.08)","2px dashed #e74c3c","1px dashed #ccc","subtle","true","color","getElementById","backgroundColor","alignItems","className","invisible","border","rgba(231, 76, 60, 0.1)","renderFallback",'[class*="container"]',"innerHTML",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"minimal","rgba(0, 0, 0, 0.02)","center","VIEWABLE","isEmpty","block","auto","placeholderMode","❌ Failed to track ","#666","createPlaceholder","data-adstage-type"," for ad ","⚠️ ","contains","flex","rgba(248, 249, 250, 0.5)","filter","✅ New viewable recorded for ad "," event for ad ","fontSize","advertisementEventTracker","adstage-official","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","100%","justifyContent","px)","generic","width","5jszQrb","monospace","setAttribute","isDuplicateViewable","📏 Using default height "," ad...</span>","toLowerCase","getComputedStyle","adType","advertisement","height","display","⚠️ Created empty ","transparent"," event","string",".adstage-","createEmptyContainer","106600qOyLvG","minHeight","⚠️ AdvertisementEventTracker not available for ","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","<span>Loading ","error","getContainerHeight","div","data-adstage-slot","#e74c3c","calculateAdSize","adstage-slot adstage-","unknown","opacity","📦 Placeholder created for "," in slot ","adstage-slot"," x ","warn"," container collapsed (","5507361OegfoU","closest"," slot: ","hasAttribute","applyPlaceholderStyle","appendChild","parentElement","11px"," for ","411464JfyIEu","number","2719794BmPmuv",'[class*="ad"]',"2733cHBiBF","1100648cOtbqz","createElement","querySelector","none","createEventTrackingCallback","cssText","log","debug",'[data-adstage-container="true"]',"borderRadius","🔄 Starting advertisement event tracking: ","data-adstage-empty","data-adstage-container",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"4px","adstage-class","trackAdvertisementEvent","2020VAfqTY","1479894aQeURt",") - Mode: ","classList","style","getDefaultHeight"];return(ct=function(){return t})()}!function(t){const e=at,n=t();for(;;)try{if(230564===parseInt(e(492))/1+-parseInt(e(463))/2+-parseInt(e(496))/3*(parseInt(e(393))/4)+-parseInt(e(445))/5*(-parseInt(e(394))/6)+-parseInt(e(494))/7+-parseInt(e(497))/8+parseInt(e(483))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);class dt{constructor(t,e=!1,n){const r=at;this[r(453)]=t,this[r(504)]=e,this.advertisementEventTracker=n||null}[ot(426)](t,e,n,r){const s=ot,i=document[s(498)](s(470));i.id=e,i[s(408)]=s(474)+String(this[s(453)])[s(451)](),i[s(447)](s(509),s(403)),i[s(447)](s(427),String(this.adType)),i[s(447)](s(471),e);const{width:o,height:a}=this[s(473)](t,n,r)||{width:s(440),height:this[s(398)]()};i[s(397)][s(444)]=o,i[s(397)][s(455)]=a;const c=r?.[s(423)]||n[s(423)]||s(409);this[s(487)](i,c),t[s(488)](i),this[s(504)]&&console[s(503)](s(477)+this.adType+s(485)+e+" ("+o+s(480)+a+s(395)+c)}[ot(487)](t,e){const n=ot;switch(e){case"invisible":t[n(397)].backgroundColor=n(458),t.style[n(410)]=n(500),t.style[n(476)]="0",t[n(414)]="";break;case n(458):t.style.backgroundColor="transparent",t[n(397)][n(410)]=n(500),t[n(397)].display=n(421),t.innerHTML="";break;case n(402):t[n(397)][n(406)]=n(417),t[n(397)][n(410)]=n(500),t[n(397)][n(506)]=n(511),t[n(397)][n(456)]="flex",t[n(397)][n(407)]="center",t[n(397)][n(441)]=n(418),t[n(414)]=n(415);break;case n(416):t[n(397)][n(406)]=n(432),t[n(397)][n(410)]=n(399),t[n(397)][n(506)]="6px",t.style[n(456)]=n(431),t[n(397)][n(407)]=n(418),t.style.justifyContent="center",t.innerHTML=n(510);break;case n(504):t[n(397)].border=n(400),t.style[n(456)]=n(431),t[n(397)][n(407)]="center",t.style[n(441)]=n(418),t[n(397)].backgroundColor=n(411),t[n(397)][n(404)]=n(472),t[n(397)].fontFamily=n(446),t[n(397)][n(436)]=n(490),t.innerHTML="<span>Loading "+this.adType+n(450);break;default:t.style[n(410)]=n(401),t[n(397)][n(456)]="flex",t.style.alignItems=n(418),t[n(397)][n(441)]="center",t[n(397)].backgroundColor="#f9f9f9",t.style[n(404)]=n(425),t[n(414)]=n(467)+this[n(453)]+n(450)}}[ot(473)](t,e,n){const r=ot,s=e[r(444)],i=e[r(455)];let o,a;if(o="number"==typeof s?s+"px":"string"==typeof s?s:r(440),typeof i===r(493))a=i+"px";else if(typeof i===r(460)&&"100%"!==i&&i!==r(422))a=i;else{const e=this[r(469)](t);e>0?(a=r(440),(n?.[r(504)]||this[r(504)])&&console.log("📏 Using 100% height (container: "+e+r(442))):(a=this.getDefaultHeight(),(n?.debug||this[r(504)])&&console[r(503)](r(449)+a+r(491)+this.adType))}return{width:o,height:a}}getContainerHeight(t){const e=ot,n=window[e(452)](t),r=parseFloat(n[e(455)]);if(!r||0===r){const r=parseFloat(n[e(464)]);if(r>0)return r;if(t[e(397)][e(455)]&&t.style[e(455)]!==e(422)){const n=parseFloat(t[e(397)][e(455)]);if(n>0)return n}const s=t.getAttribute(e(455));if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}[ot(501)](){return async(t,e,n)=>{const r=at;if(n===c[r(419)]){if(it[r(448)](t,e,this[r(504)]))return void(this[r(504)]&&console[r(503)]("🚫 Duplicate viewable blocked for ad "+t+r(478)+e));this[r(504)]&&console[r(503)](r(434)+t+r(478)+e)}if(this[r(437)])try{this[r(504)]&&console[r(503)](r(507)+n+" for ad "+t+r(478)+e),await this[r(437)][r(392)](t,e,n),this.debug&&console[r(503)]("📊 Advertisement event tracked: "+n+r(428)+t+r(478)+e)}catch(e){this[r(504)]&&console[r(468)](r(424)+n+r(435)+t+":",e)}else this[r(504)]&&console.warn(r(465)+n+r(459))}}[ot(412)](t){const e=ot,n=document.getElementById(t.id);if(n){const r=[...[n[e(499)](e(505)),n.closest('[data-adstage-container="true"]'),n].filter(t=>t&&t[e(486)](e(509))),...[n[e(484)](".adstage-slot"),n.closest(e(461)+String(this[e(453)])[e(451)]()),n[e(484)](e(495)),n.closest('[class*="banner"]'),n[e(484)](e(413)),n[e(484)]('div[style*="height"]'),n[e(484)]('div[style*="min-height"]'),n[e(489)]][e(433)](Boolean)][0];if(r){let n=e(475);n=r[e(486)](e(509))?e(438):r[e(396)][e(430)](e(479))?e(512):e(443),r[e(397)][e(502)]+=e(439),r[e(414)]="",r.setAttribute(e(508),e(403)),this[e(504)]&&console[e(481)](e(429)+this[e(453)]+e(482)+n+"): "+t.id,r)}else this[e(462)](t)}t[e(454)]=void 0,t[e(420)]=!0}createEmptyContainer(t){const e=ot,n=document[e(405)](t.containerId);if(n){n[e(414)]="";const r=document.createElement(e(470));r.id=t.id,r[e(408)]="adstage-slot adstage-empty adstage-"+String(this[e(453)]).toLowerCase(),r[e(447)](e(509),e(403)),r.setAttribute(e(508),"true"),r[e(447)]("data-adstage-slot",t.id),r[e(397)][e(502)]=e(466),n[e(488)](r),this.debug&&console.warn(e(457)+this[e(453)]+" container: "+t.id)}}[ot(503)](t,...e){const n=ot;this[n(504)]&&console[n(503)]("["+this[n(453)]+"] "+t,...e)}}function lt(t,e){const n=pt();return(lt=function(t,e){return n[t-=213]})(t,e)}const ut=lt;function pt(){const t=["backgroundColor","max","config","adstage-ad adstage-banner-ad","some","imageUrl","4872RsBMCG","renderAdElement","233KlHbCT","optimizeContainerForBannerAds","abs"," ads (optimized: ","count","aspectRatio","🔧 Banner container optimized for ","loadImageDimensions","toFixed","BANNER","containerId","round","📦 Banner container dimensions: ","applyOptimizedImageStyle","error","width","cover","getElementById","1381878qqyhnN"," (avg: ","📐 Optimal banner container calculated: ","map","❌ Failed to load optimized banner image:","value","6csGilW","center","warn","title","status","✅ Optimized banner image rendered for ad: ","30kMDyYP","3017755asVSCa","getBoundingClientRect","calculateOptimalHeight","createSliderContainer","objectFit","appendChild","parentElement","values","</div>","Container not found: ","📸 Banner image dimensions: ","Banner Ad","optimizedHeight","_id","renderMultipleAds","renderOptimizedBannerImage",", ratio=","4236397xQekOb","set","createElement","reduce","slideInterval","<div>","1:1","calculateAdSize","length","average","toString","style","Failed to load image: ","className","56504VDbuaP","objectPosition","contain","img","selectOptimalSizeStrategy","getDefaultHeight","naturalWidth"," with ","createEventTrackingCallback","100%","285501Eslxtb","innerHTML","1235171dxSFIo","🎨 Banner image style applied: objectFit=","debug","filter","4:3","fulfilled","Banner","display","onload","forEach","get","📊 Using standard ratio: ","log","addClickEventForRenderer","alt","div","dominant"," ads: ","8px","Image URL is not provided","from","Failed to calculate optimal banner size, using defaults:","height","src","calculateOptimalContainerSize","32zSdglB","naturalHeight","allSettled","ratio"];return(pt=function(){return t})()}!function(t){const e=lt,n=t();for(;;)try{if(319682===parseInt(e(277))/1*(-parseInt(e(275))/2)+-parseInt(e(238))/3+parseInt(e(228))/4+parseInt(e(308))/5+-parseInt(e(301))/6*(parseInt(e(240))/7)+-parseInt(e(265))/8*(parseInt(e(295))/9)+-parseInt(e(307))/10*(-parseInt(e(214))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class ht extends dt{constructor(t=!1,e){super(n[lt(286)],t,e)}[ut(233)](){return"250px"}async[ut(276)](t,e){const n=ut,r=document[n(294)](t[n(287)]);if(!r)return;const s=document.createElement(n(255));s[n(227)]=n(272);const i=t[n(320)],o=r[n(314)]||r;if(i)s[n(225)][n(292)]="100%",s[n(225)][n(262)]=String(i);else{const e=t[n(271)],r={width:e?.[n(292)],height:e?.height},{width:i,height:a}=this[n(221)](o,r,{debug:this[n(242)]});s[n(225)][n(292)]=i,s.style[n(262)]=a}e[n(274)]?await this.renderOptimizedBannerImage(s,e,t):s.innerHTML=n(219)+(e.title||n(319))+n(316),Q[n(253)](s,e,t,()=>this[n(236)](),this.debug,"Banner"),r[n(239)]="",r[n(313)](s)}async[ut(322)](t,e){const n=ut,r=document[n(294)](t[n(287)]);if(!r)throw new Error(n(317)+t[n(287)]);await this[n(278)](t,e);const s=this.createEventTrackingCallback(),i={autoSlideInterval:(t[n(271)]?.[n(218)]||5e3)/1e3,...t[n(271)],optimizedHeight:t[n(320)],aspectRatio:t[n(282)]},o=et[n(311)](t,e,i,s,this.debug);o&&(r[n(239)]="",r[n(313)](o),this[n(242)]&&console[n(252)]("🎠 Banner carousel created for slot: "+t.id+n(235)+e[n(222)]+n(280)+(t[n(320)]||"default")+")"))}async calculateOptimalContainerSize(t,e){const n=ut;if(!t[n(222)])return{width:n(237),height:this[n(233)](),aspectRatio:16/9};try{const r=(await Promise[n(267)](t[n(243)](t=>t[n(274)]).map(t=>this[n(284)](t[n(274)]))))[n(243)](t=>t[n(305)]===n(245))[n(298)](t=>t[n(300)]);if(0===r[n(222)])return{width:n(237),height:this[n(233)](),aspectRatio:16/9};const s=this[n(232)](r),i=this[n(310)](r,e,s);return this.debug&&console[n(252)](n(297)+e+"x"+i+" (strategy: "+s+")"),{width:"100%",height:i+"px",aspectRatio:e/i}}catch(t){return console[n(303)](n(261),t),{width:n(237),height:this[n(233)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=ut;try{const r=document[n(294)](t.containerId),s=document[n(294)](t.id);if(!r||!s)return;const i=r[n(309)]()[n(292)]||300,o=await this[n(264)](e,i);s[n(225)][n(262)]=o.height,t.optimizedHeight=o.height,t[n(282)]=o[n(282)],this[n(242)]&&console[n(252)](n(283)+e[n(222)]+n(257)+o[n(262)])}catch(t){console[n(303)]("Banner container optimization failed, using default size:",t)}}[ut(232)](t){const e=ut,n=t[e(298)](t=>t[e(292)]/t.height),r=new Map;n[e(249)](t=>{const n=e,s=(Math[n(288)](10*t)/10)[n(224)]();r[n(215)](s,(r[n(250)](s)||0)+1)});const s=Math[e(270)](...r.values()),i=t[e(222)];if(s/i>=.7)return e(256);const o=[16/9,4/3,1,1.5];return n.filter(t=>o[e(273)](n=>Math[e(279)](t-n)<.1)).length/i>=.5?"common":e(223)}calculateOptimalHeight(t,e,n){const r=ut,s=t[r(298)](t=>t.width/t[r(262)]);switch(n){case r(256):{const t=new Map;s[r(249)](e=>{const n=r,s=Math[n(288)](10*e)/10,i=s[n(224)](),o=t.get(i);o?o[n(281)]++:t[n(215)](i,{ratio:s,count:1})});const n=Array[r(260)](t[r(315)]())[r(217)]((t,e)=>e[r(281)]>t[r(281)]?e:t);return Math[r(288)](e/n[r(268)])}case"common":{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:r(244)},{ratio:1,name:r(220)},{ratio:1.5,name:"3:2"}],n=s[r(217)]((t,e)=>t+e,0)/s[r(222)],i=t[r(217)]((t,e)=>Math[r(279)](e[r(268)]-n)<Math.abs(t[r(268)]-n)?e:t);return this.debug&&console[r(252)](r(251)+i.name+r(296)+n[r(285)](2)+")"),Math[r(288)](e/i[r(268)])}case r(223):default:{const t=s.reduce((t,e)=>t+e,0)/s[r(222)];return Math[r(288)](e/t)}}}[ut(284)](t){return new Promise((e,n)=>{const r=lt,s=new Image;s[r(248)]=()=>{const t=r;e({width:s[t(234)],height:s[t(266)]})},s.onerror=()=>{n(new Error(r(226)+t))},s[r(263)]=t})}[ut(290)](t,e,n){const r=ut,s=e/n;Math[r(279)](s-1)<.1?(t[r(225)][r(312)]=r(293),t.style[r(229)]=r(302)):s>1.3?(t[r(225)][r(312)]=r(230),t[r(225)][r(229)]=r(302),t.style[r(269)]="#f0f0f0"):s<.7?(t[r(225)][r(312)]=r(293),t[r(225)].objectPosition=r(302)):(t[r(225)].objectFit=r(293),t[r(225)].objectPosition=r(302)),this[r(242)]&&console[r(252)](r(241)+t[r(225)][r(312)]+r(213)+s.toFixed(2))}async[ut(323)](t,e,n){const r=ut,s=document[r(216)](r(231));s[r(225)].width=r(237),s[r(225)][r(262)]=r(237),s[r(225)][r(247)]="block",s[r(225)].borderRadius=r(258),s[r(254)]=e[r(304)]||"Banner Advertisement",t[r(239)]='<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>';try{if(!e[r(274)])throw new Error(r(259));const i=await this.loadImageDimensions(e[r(274)]),o=t[r(309)](),a=o[r(292)],c=o[r(262)];this.debug&&(console[r(252)](r(318)+i[r(292)]+"x"+i[r(262)]),console[r(252)](r(289)+a+"x"+c));const d=i[r(292)]/i[r(262)],l=a/c;return this[r(290)](s,d,l),s[r(263)]=e[r(274)],t[r(239)]="",t.appendChild(s),Q.addClickEventForRenderer(s,e,n,()=>this[r(236)](),this[r(242)],r(246)),this.debug&&console[r(252)](r(306)+e[r(321)]),s}catch(i){return console[r(291)](r(299),i),e[r(274)]&&(s[r(263)]=e[r(274)],s[r(225)][r(312)]=r(293),s.style[r(229)]="center",t[r(239)]="",t.appendChild(s),Q[r(253)](s,e,n,()=>this.createEventTrackingCallback(),this[r(242)],r(246))),s}}}const ft=mt;!function(t){const e=mt,n=t();for(;;)try{if(503410===parseInt(e(231))/1+parseInt(e(239))/2*(-parseInt(e(236))/3)+-parseInt(e(240))/4*(parseInt(e(228))/5)+parseInt(e(232))/6+-parseInt(e(229))/7*(parseInt(e(238))/8)+parseInt(e(227))/9*(-parseInt(e(235))/10)+-parseInt(e(234))/11*(-parseInt(e(237))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);class gt{static[ft(241)](t=!1){return ft(230)}static setTextAdContent(t,e){const n=ft,r=e[n(233)]||e.title||"";t[n(233)]=r}}function mt(t,e){const n=yt();return(mt=function(t,e){return n[t-=227]})(t,e)}function yt(){const t=["16277412TdGgFR","944RdsKRd","5486FcHQBM","1181368pNeRjk","createTextAdStyles","216603xevdQM","5FfvNas","53158zkyLXt","\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 ","767958COjrGC","150354PaEVXf","textContent","11AqKyzd","100zWHLcS","234hXButR"];return(yt=function(){return t})()}function It(){const t=["relative","data-adstage-ad-id","createSimpleAdElement","body","whiteSpace","touchend","removeChild","\n position: relative;\n width: 100%;\n ","fit-content","minHeight","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ",";\n ","cssText","adstage-ad adstage-","645024ZTtFvf","clientX","height: auto;","forEach","addEventListener","344281pVuzsN","absolute","96MEHwPV","1074390ALGUls","transform","touchstart","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","left","Text","getBoundingClientRect","\n ","translateY(0)","toLowerCase","3473968PbwmJH","width","createElement","height: auto; min-height: fit-content;","entries","style","zIndex","changedTouches","adstage-fade-slide-container","trackSlideViewable","height","div","199900FqwSmn","top","mouseleave","touches","addClickEventForSlider",";\n width: 100%;\n ","5652624ZMcwlY","translateY(20px)",";\n left: ","adstage-fade-slider-wrapper","string","className","setTextAdContent","opacity","translateY(-20px)","addTouchSupport","length","data-adstage-slot-id","_id","autoSlideInterval",";\n transform: translateY(","appendChild","touchmove","auto","clientY","506283aOZURv","mouseenter","push","preventDefault","includes","position","setAttribute"];return(It=function(){return t})()}const vt=bt;function bt(t,e){const n=It();return(bt=function(t,e){return n[t-=303]})(t,e)}!function(t){const e=bt,n=t();for(;;)try{if(573803===parseInt(e(371))/1+-parseInt(e(316))/2+-parseInt(e(324))/3+parseInt(e(334))/4+-parseInt(e(346))/5+-parseInt(e(323))/6*(parseInt(e(321))/7)+parseInt(e(352))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(It);class wt{static[vt(304)](t,e){const n=vt,r=document.createElement(n(345));return r.className=n(315)+String(t.adType)[n(333)](),r[n(377)](n(303),e[n(364)]),r[n(377)](n(363),t.id),r[n(339)].cssText=gt.createTextAdStyles(!0),gt[n(358)](r,e),r}static createTextTransitionContainer(t,e,n,r,s=!1){const i=vt,o=t[i(344)]&&0!==t[i(344)]&&t.height!==i(369),a=document[i(336)](i(345));a[i(357)]=i(355);const c={position:i(378),overflow:"hidden",display:"block"};if(!o&&(c.height=i(369),c[i(311)]=i(310)),t[i(335)]&&0!==t[i(335)]){let e;e="string"==typeof t.width?t[i(335)][i(375)]("px")||t[i(335)][i(375)]("%")?t[i(335)]:t.width+"px":t[i(335)]+"px",c[i(335)]=e}if(t[i(344)]&&0!==t[i(344)]&&t.height!==i(369)&&o){let e;e=typeof t[i(344)]===i(356)?t[i(344)][i(375)]("px")||t[i(344)][i(375)]("%")?t.height:t.height+"px":t[i(344)]+"px",c[i(344)]=e}Object[i(338)](c)[i(319)](([t,e])=>{a[i(339)].setProperty(t,e)});const d=document[i(336)](i(345));d[i(357)]=i(342),d.style[i(314)]=i(309)+(o?"height: 100%;":i(337))+i(331);let l=null;const u=!t.width||0===t[i(335)],p=!t.height||0===t.height||void 0===t.height||"auto"===t[i(344)];if(u||p&&o){if(l=document.createElement("div"),l.style.cssText=i(327),!u&&t.width){let e;e="string"==typeof t[i(335)]?t[i(335)][i(375)]("px")||t[i(335)][i(375)]("%")?t.width:t.width+"px":t[i(335)]+"px",l[i(339)][i(335)]=e,l[i(339)][i(306)]="normal"}document[i(305)][i(367)](l);let n=0,r=0;e[i(319)](e=>{const s=i,o=this.createSimpleAdElement(t,e);l.appendChild(o);const a=o[s(330)]();a[s(335)]>n&&(n=a[s(335)]),a[s(344)]>r&&(r=a[s(344)]),l[s(308)](o)}),u&&n>0&&(a.style.width=n+"px"),p&&r>0&&o&&(a[i(339)][i(344)]=r+"px"),document[i(305)][i(308)](l)}const h=[];e[i(319)]((e,n)=>{const a=i,c=document[a(336)]("div");c[a(357)]="adstage-fade-slide";const l=0===n,u=o?a(322):l?a(378):"absolute";c[a(339)][a(314)]="\n position: "+u+";\n top: "+("absolute"===u?"0":a(369))+a(354)+(u===a(322)?"0":"auto")+a(351)+(o?"height: 100%;":a(318))+a(312)+(0===n?"1":"0")+a(366)+(0===n?"0":"20px")+");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: "+(0===n?"2":"1")+a(313);const p=this[a(304)](t,e);Q[a(350)](p,e,t,r,s,a(329)),c.appendChild(p),d.appendChild(c),h[a(373)](c)});let f=0;const g=e[i(362)],m=1e3*(n?.[i(365)]||4),y=n=>{const a=i;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(339)][a(376)]===a(378)&&(c[a(339)][a(376)]=a(322),c.style[a(347)]="0",c[a(339)][a(328)]="0"),d[a(339)].position="relative",d[a(339)][a(347)]=a(369),d.style[a(328)]=a(369)),c.style.opacity="0",c[a(339)][a(325)]=a(360),c.style[a(340)]="1",d.style[a(359)]="1",d[a(339)][a(325)]=a(332),d[a(339)][a(340)]="2",h.forEach((t,e)=>{const r=a;e!==n&&e!==f&&(t.style[r(359)]="0",t[r(339)][r(325)]=r(353),t[r(339)][r(340)]="1",!o&&t[r(339)][r(376)]===r(378)&&(t.style.position=r(322),t[r(339)][r(347)]="0",t[r(339)][r(328)]="0"))}),f=n,G[a(343)](e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a[i(320)](i(372),()=>{clearInterval(I)}),a[i(320)](i(348),()=>{I=setInterval(()=>{y(f+1)},m)}),wt[i(361)](a,y,()=>f,g),a[i(367)](d),a}static addTouchSupport(t,e,n,r){const s=vt;let i=0,o=0,a=!1;t[s(320)](s(326),t=>{const e=s;i=t.touches[0][e(317)],o=t[e(349)][0][e(370)],a=!0}),t.addEventListener(s(368),t=>{a&&t[s(374)]()}),t[s(320)](s(307),t=>{const r=s;if(!a)return;a=!1;const c=t[r(341)][0][r(317)],d=t[r(341)][0].clientY,l=i-c,u=o-d;if(Math.abs(l)>Math.abs(u)&&Math.abs(l)>50){const t=n();e(l>0?t+1:t-1)}})}}const Et=xt;function kt(){const t=["innerHTML","config","Text","overflow","5yzBxVX","10312BDGQRi","getDefaultHeight","renderMultipleAds","✨ Text transition created for slot: ","div","slideInterval","webkitBoxOrient","Container not found: ","style","9XBfoSp","containerId","renderAdElement","debug","22435303QHpyiw","hidden","createElement","TEXT","getElementById","setTextAdContent","webkitLineClamp","2IBnQJJ","display","1852587CJVLsX","width","optimizedHeight","maxLines","4166598TjgBru","height","parentElement","cssText","createTextTransitionContainer","length","createEventTrackingCallback","adstage-text-content","vertical","number","60px","appendChild","2891DTLXpz","_id","300770OIWDJO","log","className","calculateAdSize","addClickEventForRenderer","52378rTliVe"," ads","-webkit-box","1649556COjwSo"];return(kt=function(){return t})()}function xt(t,e){const n=kt();return(xt=function(t,e){return n[t-=387]})(t,e)}!function(t){const e=xt,n=t();for(;;)try{if(585342===-parseInt(e(408))/1*(parseInt(e(437))/2)+-parseInt(e(439))/3+parseInt(e(411))/4+-parseInt(e(416))/5*(parseInt(e(389))/6)+parseInt(e(401))/7*(-parseInt(e(417))/8)+-parseInt(e(426))/9*(-parseInt(e(403))/10)+parseInt(e(430))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kt);class St extends dt{constructor(t=!1,e){super(n[xt(433)],t,e)}[Et(418)](){return Et(399)}async[Et(428)](t,e){const n=Et,r=document[n(434)](t.containerId);if(!r)return;const s=document[n(432)](n(421));s[n(405)]="adstage-ad adstage-text-ad";const i=t[n(387)],o=r[n(391)]||r;if(i)s.style[n(440)]="100%",s[n(425)][n(390)]=String(i);else{const e=t.config,r={width:e?.width,height:e?.[n(390)]},{width:i,height:a}=this[n(406)](o,r,{debug:this[n(429)]});s[n(425)][n(440)]=i,s[n(425)][n(390)]=a}const a=document[n(432)](n(421));a.className=n(396),a[n(425)][n(392)]=gt.createTextAdStyles(!1),gt[n(435)](a,e);const c=t[n(413)]?.[n(388)];c&&typeof c===n(398)&&(a[n(425)][n(438)]=n(410),a[n(425)][n(436)]=String(c),a[n(425)][n(423)]=n(397),a[n(425)][n(415)]=n(431)),s.appendChild(a),Q[n(407)](s,e,t,()=>this[n(395)](),this[n(429)],n(414)),r[n(412)]="",r[n(400)](s),this[n(429)]&&console[n(404)]("✨ Single text ad rendered: "+e[n(402)])}async[Et(419)](t,e){const n=Et,r=document.getElementById(t[n(427)]);if(!r)throw new Error(n(424)+t.containerId);const s=this.createEventTrackingCallback(),i={autoSlideInterval:(t[n(413)]?.[n(422)]||5e3)/1e3,...t.config,optimizedHeight:t.optimizedHeight,aspectRatio:t.aspectRatio},o=wt[n(393)](t,e,i,s,this[n(429)]);o&&(r[n(412)]="",r[n(400)](o),this.debug&&console[n(404)](n(420)+t.id+" with "+e[n(394)]+n(409)))}}const At=Tt;function Ct(){const t=["customControls","enabled","paused","🎬 Video element created for ad: ","29850rViWyP","453761oUwsvb","log","262786mXDJFd","none","alt","title","🎬 Single video rendered for VIDEO slot: ","1586610DShLZv","head","2965gWWReI",", loop: ","contain"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","background","🎬 Initial autoplay attempt after timeout...","className","🎬 Final video settings:","\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 ","VIDEO","rgba(0, 0, 0, 0.9)","length","videoUrl","🎬 Video can play, attempting autoplay...","scale(1)","adstage-video-default-controls","block","hideVolumeSlider"," (autoplay: ","🎬 Trying muted autoplay fallback...","🎬 Video controls setting:","8VBpopb","disabled (default)","🎬 Single video ad rendered: ","\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 ","position","button","🎬 User explicitly enabled controls, overriding default","hideRemainingTime","src","display","setAttribute","🎬 Autoplay completely failed:","cssText","controls","mouseenter","muted","3YPiEtk"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","appendChild","addEventListener","preload","playsinline","renderMultipleAds","error","hideControls","🎬 Video config received:","play","containerId","innerHTML","metadata","Container not found: ","createElement","width","video","1244apafVM","unmuted","catch","transform","height","43934fiJehq","renderAdElement","Video load failed:","Video thumbnail","autoplay","VIEWABLE","loadeddata","debug","objectFit","⚠️ No video advertisements available for slot: ","img"," !important;\n }\n ","addClickEventForRenderer","style","relative","🎬 Video data loaded, attempting autoplay...","_id","getElementById","🎬 Auto-play was prevented:","360px","warn","1605114YqEEND","4152ibnkxj","🔊 Video mute toggled: ","Click to unmute","div","hideCurrentTime","hideMuteButton","Video fallback","1269ZJFTXS","mouseleave",'\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 ',"stopPropagation","Click to mute"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","\n video::-webkit-media-controls-play-button {\n display: ","adstage-video-container","rgba(0, 0, 0, 0.7)",", muted: ","loop","createEventTrackingCallback","renderVideoElementDirect","100%","\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 ","click","imageUrl"];return(Ct=function(){return t})()}function Tt(t,e){const n=Ct();return(Tt=function(t,e){return n[t-=223]})(t,e)}!function(t){const e=Tt,n=t();for(;;)try{if(352213===-parseInt(e(235))/1*(-parseInt(e(311))/2)+parseInt(e(279))/3+-parseInt(e(253))/4*(-parseInt(e(318))/5)+parseInt(e(316))/6+-parseInt(e(309))/7*(parseInt(e(339))/8)+parseInt(e(287))/9*(parseInt(e(308))/10)+-parseInt(e(258))/11*(parseInt(e(280))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ct);class Rt extends dt{constructor(t=!1,e){super(n[Tt(327)],t,e)}getDefaultHeight(){return Tt(277)}async[At(259)](t,e){const n=At,r=document[n(275)](t.containerId);if(!r)return;const s=document.createElement("div");s[n(324)]=n(294),s[n(271)][n(231)]=n(342),this[n(299)](s,e,t),r[n(247)]="",r[n(237)](s),this[n(265)]&&console[n(310)](n(341)+e[n(274)])}async[At(241)](t,e){const n=At,r=document[n(275)](t.containerId);if(!r)throw new Error(n(249)+t[n(246)]);if(e[n(329)]>0){const s=e[0],i=document[n(250)](n(283));i.className=n(294),i[n(271)][n(231)]=n(301),this.renderVideoElementDirect(i,s,t),r.innerHTML="",r[n(237)](i);const o=this[n(298)]();setTimeout(()=>{const e=n;o(s[e(274)],t.id,c[e(263)])},100),this[n(265)]&&console[n(310)](n(315)+t.id+" ("+s._id+")")}else this[n(265)]&&console[n(278)](n(267)+t.id)}[At(299)](t,e,n){const r=At;t.style[r(223)]=r(272);const s=document[r(250)](r(252));s.style[r(251)]="100%",s[r(271)].height="100%",s[r(271)][r(266)]=r(320),s[r(239)]=r(248);const i=n.config;if(this.debug&&console[r(310)](r(244),i),s[r(232)]=!1,s[r(262)]=!1!==i?.[r(262)],s[r(234)]=!0,s[r(297)]=!1!==i?.loop,this[r(265)]&&console[r(310)](r(325),{autoplay:s[r(262)],muted:s[r(234)],loop:s[r(297)],controls:s[r(232)]}),!1!==i?.[r(240)]&&s[r(229)](r(240),""),!0===i?.[r(232)]&&(s.controls=!0,this.debug&&console[r(310)](r(225))),i?.[r(243)])s.controls=!1,s[r(271)][r(231)]+="\n pointer-events: none;\n ";else if(i?.[r(304)]){if(s[r(232)]){const t=document.createElement(r(271));t.textContent=r(293)+(i[r(304)].hidePlayButton?"none":r(334))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(i[r(304)].hideProgressBar?r(312):r(334))+" !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "+(i.customControls[r(284)]?"none":r(334))+r(292)+(i[r(304)][r(226)]?r(312):"block")+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(i.customControls[r(335)]?r(312):r(334))+r(321)+(i.customControls[r(285)]?r(312):r(334))+r(236)+(i[r(304)].hideFullscreenButton?r(312):r(334))+r(269),document[r(317)][r(237)](t)}}else if(s.controls){const t=document[r(250)]("style");t.id=r(333),t.textContent="\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ",!document[r(275)](r(333))&&document[r(317)].appendChild(t)}this[r(265)]&&console[r(310)](r(338),s[r(232)]?r(305):r(340));const o=document[r(250)](r(224));o[r(324)]="adstage-video-mute-button",o[r(271)][r(231)]=r(326),i?.[r(243)]&&(o[r(271)][r(228)]=r(312));const a=()=>{const t=r,e=t(289);o[t(247)]=s[t(234)]?'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ':e,o[t(314)]=s[t(234)]?t(282):t(291)};if(a(),o[r(238)](r(302),t=>{const e=r;t[e(290)](),s.muted=!s.muted,a(),this[e(265)]&&console.log(e(281)+(s[e(234)]?e(234):e(254)))}),o[r(238)](r(233),()=>{const t=r;o[t(271)].background=t(328),o[t(271)].transform="scale(1.1)"}),o[r(238)](r(288),()=>{const t=r;o.style[t(322)]=t(295),o[t(271)][t(256)]=t(332)}),e.videoUrl){s[r(227)]=e[r(330)];const t=()=>{const t=r;s[t(262)]&&s.muted&&s[t(306)]&&s[t(245)]()[t(255)](e=>{const n=t;this[n(265)]&&(console[n(278)](n(276),e),console[n(278)](n(337))),s.muted=!0,s[n(245)]().catch(t=>{const e=n;this[e(265)]&&console[e(242)](e(230),t)})})};s.addEventListener("loadedmetadata",()=>{this.debug&&console.log("🎬 Video metadata loaded, attempting autoplay..."),t()}),s[r(238)]("canplay",()=>{const e=r;this[e(265)]&&console[e(310)](e(331)),t()}),s[r(238)](r(264),()=>{const e=r;this[e(265)]&&console[e(310)](e(273)),t()}),setTimeout(()=>{const e=r;this[e(265)]&&console[e(310)](e(323)),t()},100)}else if(e[r(303)]){const n=document.createElement("img");return n[r(227)]=e[r(303)],n.style[r(251)]=r(300),n[r(271)].height=r(300),n[r(271)].objectFit=r(320),n[r(313)]=e[r(314)]||r(261),void t.appendChild(n)}Q.addClickEventForRenderer(s,e,n,()=>this.createEventTrackingCallback(),this.debug,"Video"),s.addEventListener(r(242),s=>{const i=r;if(console.error(i(260),s),e.imageUrl){const r=document[i(250)](i(268));r[i(227)]=e[i(303)],r[i(271)][i(251)]=i(300),r[i(271)][i(257)]="100%",r.style.objectFit=i(320),r[i(313)]=e[i(314)]||i(261),Q[i(270)](r,e,n,()=>this.createEventTrackingCallback(),this[i(265)],i(286)),t.innerHTML="",t[i(237)](r)}}),t.appendChild(s),t[r(237)](o),this[r(265)]&&console[r(310)](r(307)+e[r(274)]+r(336)+s[r(262)]+r(296)+s[r(234)]+r(319)+s.loop+")")}}const _t=Bt;function Dt(){const t=["4913760CahzAb","getDefaultHeight","_id","4305fgEYbH","_blank","⚠️ No native advertisements available for slot: ","log","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 ","src","length","textContent","warn","alt","appendChild","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","adstage-ad adstage-native-ad","createElement","renderAdElement","open","click","div","18RVJKHE","addEventListener","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","NATIVE","Learn More","49023110YUeWEp","200px","cssText","🏠 Single native ad rendered: ","img","Native Advertisement","3419224GsqxPO","imageUrl","#2563eb","advertisementEventTracker","14QOvXmn","debug","222458cewqIQ","): ","702XHsLeP","\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 ","renderMultipleAds","title","style","1434860GqcVAL","containerId","backgroundColor","85883KXBHbw"];return(Dt=function(){return t})()}function Bt(t,e){const n=Dt();return(Bt=function(t,e){return n[t-=198]})(t,e)}!function(t){const e=Bt,n=t();for(;;)try{if(940948===parseInt(e(219))/1*(parseInt(e(221))/2)+parseInt(e(232))/3+parseInt(e(228))/4+-parseInt(e(235))/5+-parseInt(e(223))/6*(-parseInt(e(231))/7)+-parseInt(e(215))/8*(-parseInt(e(204))/9)+-parseInt(e(209))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dt);class Lt extends dt{constructor(t=!1,e){super(n[Bt(207)],t,e)}[_t(233)](){return _t(210)}async[_t(200)](t,e){const n=_t,r=document.getElementById(t[n(229)]);if(!r)return;const s=document[n(199)]("div");if(s.className=n(198),s[n(227)][n(211)]=n(224),e.title){const t=document[n(199)]("h3");t.textContent=e[n(226)],t[n(227)][n(211)]=n(240),s.appendChild(t)}if(e[n(243)]){const t=document.createElement("p");t.textContent=e[n(243)],t.style[n(211)]=n(248),s.appendChild(t)}if(e[n(216)]){const t=document.createElement(n(203));t[n(227)][n(211)]="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const r=document[n(199)](n(213));r[n(241)]=e[n(216)],r[n(245)]=e[n(226)]||n(214),r[n(227)].cssText=n(247),t[n(246)](r),s[n(246)](t)}if(e.linkUrl){const t=document[n(199)]("button");t[n(243)]=n(208),t[n(227)].cssText=n(206),t[n(205)](n(202),()=>{const t=n;this[t(218)]&&console[t(238)](t(239)+e[t(234)]),window[t(201)](e.linkUrl,t(236))}),t[n(205)]("mouseenter",()=>{const e=n;t.style[e(230)]=e(217)}),t[n(205)]("mouseleave",()=>{const e=n;t.style[e(230)]="#3b82f6"}),s[n(246)](t)}r.innerHTML="",r.appendChild(s),this[n(220)]&&console.log(n(212)+e._id)}async[_t(225)](t,e){const n=_t;e[n(242)]>0?(await this[n(200)](t,e[0]),this[n(220)]&&console[n(238)]("🏠 Native ad rendered (first of "+e[n(242)]+n(222)+t.id)):this[n(220)]&&console[n(244)](n(237)+t.id)}}const Pt=Ot;function zt(){const t=["#3b82f6","1uXvICV","animation","fadeOut 0.3s ease-out forwards","button","495316XpDuGI","renderAdElement","\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 ","mouseleave","mouseenter","keydown","click","INTERSTITIAL","backgroundColor","renderMultipleAds","alt","\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 ","⚠️ No interstitial advertisements available for slot: ","adstage-interstitial-overlay","#6b7280","2198466WbpuqV","697284WypJqT","840904DzUsfl","linkUrl","51130wPwZCP","color","createElement","#e5e7eb","🖼️ Interstitial ad rendered: ","🖼️ Interstitial ad rendered (first of ","\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 ","Interstitial click tracked for ad: ","innerHTML","className","cssText","_id","getElementById","imageUrl","head","src","Escape","238xdHAIk","\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 ","adstage-interstitial-styles","27228VjBffl","debug","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","5UvNIuD","Interstitial Advertisement","removeEventListener","#374151","\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 ","log","closeInterstitial","adstage-interstitial-content","484UOpecG","warn","length","#f3f4f6","501166niAofm","parentNode","target","textContent","style","div","title","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","appendChild","removeChild","addEventListener","): ","body","#2563eb"];return(zt=function(){return t})()}function Ot(t,e){const n=zt();return(Ot=function(t,e){return n[t-=269]})(t,e)}!function(t){const e=Ot,n=t();for(;;)try{if(186773===parseInt(e(291))/1*(parseInt(e(276))/2)+parseInt(e(311))/3+parseInt(e(295))/4*(parseInt(e(337))/5)+parseInt(e(334))/6*(parseInt(e(331))/7)+-parseInt(e(312))/8+-parseInt(e(310))/9+parseInt(e(314))/10*(-parseInt(e(272))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(zt);class Ut extends dt{constructor(t=!1,e){super(n[Ot(302)],t,e)}getDefaultHeight(){return"400px"}async[Pt(296)](t,e){const n=Pt;if(!document[n(326)](t.containerId))return;const r=document[n(316)]("div");r[n(323)]=n(308),r.style[n(324)]=n(332);const s=document[n(316)](n(281));s.className=n(271),s[n(280)][n(324)]=n(297);const i=document[n(316)](n(294));if(i[n(322)]="×",i[n(280)][n(324)]=n(341),i[n(286)](n(301),()=>{this.closeInterstitial(r)}),i[n(286)](n(299),()=>{const t=n;i.style[t(303)]=t(317),i[t(280)][t(315)]=t(340)}),i[n(286)](n(298),()=>{const t=n;i[t(280)][t(303)]=t(275),i.style[t(315)]=t(309)}),e[n(327)]){const t=document[n(316)]("img");t[n(329)]=e[n(327)],t[n(305)]=e[n(282)]||n(338),t[n(280)][n(324)]=n(283),s[n(284)](t)}if(e[n(282)]){const t=document[n(316)]("h2");t.textContent=e[n(282)],t[n(280)][n(324)]="\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(284)](t)}if(e[n(279)]){const t=document.createElement("p");t.textContent=e.textContent,t[n(280)][n(324)]=n(336),s[n(284)](t)}if(e.linkUrl){const t=document[n(316)](n(294));t.textContent="Get Started",t.style.cssText=n(306),t.addEventListener("click",()=>{const t=n;this.advertisementEventTracker&&console[t(269)](t(321)+e[t(325)]),window.open(e[t(313)],"_blank"),this[t(270)](r)}),t[n(286)](n(299),()=>{const e=n;t.style[e(303)]=e(289)}),t[n(286)](n(298),()=>{const e=n;t.style[e(303)]=e(290)}),s[n(284)](t)}const o=t=>{const e=n;t.key===e(330)&&(this[e(270)](r),document[e(339)](e(300),o))};if(document[n(286)]("keydown",o),r[n(286)](n(301),t=>{t[n(278)]===r&&this.closeInterstitial(r)}),!document[n(326)](n(333))){const t=document[n(316)](n(280));t.id="adstage-interstitial-styles",t.textContent=n(320),document[n(328)].appendChild(t)}s[n(284)](i),r[n(284)](s),document[n(288)][n(284)](r),this.debug&&console[n(269)](n(318)+e[n(325)])}async[Pt(304)](t,e){const n=Pt;e[n(274)]>0?(await this[n(296)](t,e[0]),this[n(335)]&&console[n(269)](n(319)+e[n(274)]+n(287)+t.id)):this[n(335)]&&console[n(273)](n(307)+t.id)}[Pt(270)](t){const e=Pt;t[e(280)][e(292)]=e(293),setTimeout(()=>{const n=e;t[n(277)]&&t[n(277)][n(285)](t)},300),this[e(335)]&&console[e(269)]("🖼️ Interstitial ad closed")}}const Nt=Mt;function Mt(t,e){const n=Vt();return(Mt=function(t,e){return n[t-=399]})(t,e)}function Vt(){const t=["textContent","imageUrl","videoUrl","TEXT","setAttribute","naturalHeight","1px dashed #ccc","padding"," renderers","5805378oaiKCi","optimizeContainerForBannerAds","backgroundColor","className","2963748beJMHA","303654ojAFZG","src","width","calculateAdSize","120188uVKFKm","naturalWidth","size","8px","No renderer found for ad type: ","div","INTERSTITIAL","renderers","createAdElement","2872635TFagoQ","3788408YwUNft","advertisement","border"," Ad","createElement","createPlaceholder","renderAdElement","155ummSCX","119yiZoCm","block","[AdRenderer] ","100%","initializeRenderers","height","get","onload","renderOptimizedBannerImage is only supported for BANNER ads","No advertisement to render","renderOptimizedBannerImage","onerror","appendChild","adType","cover","BANNER","advertisementEventTracker","loadImageDimensions","log","isLoaded","debug","style","getRenderer","img","renderAdSlider","objectFit","renderAd","_id","display","VIDEO","set","349995vDAMSA","renderFallback","calculateOptimalContainerSize","getDefaultHeight","data-adstage-slot-id","NATIVE","data-adstage-ad-id"];return(Vt=function(){return t})()}!function(t){const e=Mt,n=t();for(;;)try{if(773937===parseInt(e(403))/1+parseInt(e(423))/2+-parseInt(e(437))/3+-parseInt(e(428))/4*(-parseInt(e(445))/5)+-parseInt(e(424))/6*(parseInt(e(446))/7)+parseInt(e(438))/8+-parseInt(e(419))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Vt);class Ft{constructor(t=!1,e){const n=Mt;this[n(435)]=new Map,this[n(466)]=t,this[n(462)]=e||null,this[n(450)]()}initializeRenderers(){const t=Mt;this[t(435)].set(n.BANNER,new ht(this[t(466)],this[t(462)])),this.renderers.set(n[t(413)],new St(this.debug,this[t(462)])),this[t(435)][t(402)](n[t(401)],new Rt(this[t(466)],this[t(462)])),this.renderers.set(n[t(408)],new Lt(this[t(466)],this.advertisementEventTracker)),this[t(435)][t(402)](n[t(434)],new Ut(this[t(466)],this[t(462)])),this[t(466)]&&console[t(464)]("🏭 AdRenderer factory initialized with "+this[t(435)][t(430)]+t(418))}[Nt(436)](t,e){const r=Nt,s=this[r(468)](t[r(459)]),i=document[r(442)]("div");i[r(422)]="adstage-ad adstage-"+String(t[r(459)]).toLowerCase(),i[r(414)](r(409),e[r(399)]),i.setAttribute(r(407),t.id);const{width:o,height:a}=s.calculateAdSize(i,t.config||{},e);switch(i.style[r(426)]=o,i[r(467)][r(451)]=a,i[r(467)][r(400)]=r(447),t.adType){case n.BANNER:if(e[r(411)]){const t=document[r(442)](r(469));t[r(425)]=e.imageUrl,t[r(467)][r(426)]="100%",t[r(467)][r(451)]=r(449),t[r(467)][r(471)]=r(460),i[r(458)](t)}break;case n[r(401)]:if(e[r(412)]){const t=document[r(442)]("video");t[r(425)]=e.videoUrl,t[r(467)][r(426)]=r(449),t.style.height=r(449),i[r(458)](t)}break;case n.TEXT:if(e[r(410)]){const t=document.createElement(r(433));t[r(410)]=e.textContent||"",t.style[r(417)]=r(431),i[r(458)](t)}break;default:i[r(467)][r(440)]=r(416),i.style[r(421)]="#f9f9f9",i[r(410)]=t[r(459)]+r(441)}return i}[Nt(468)](t){const e=Nt,n=this.renderers[e(452)](t);if(!n)throw new Error(e(432)+t);return n}[Nt(443)](t,e,n,r,s){const i=Nt;this.getRenderer(n)[i(443)](t,e,r,s)}async optimizeContainerForBannerAds(t,e){const r=Nt;if(t.adType!==n[r(461)])return void(this[r(466)]&&console.warn("⚠️ Container optimization is only supported for BANNER ads, got: "+t[r(459)]));const s=this.getRenderer(n.BANNER);await s[r(420)](t,e)}async[Nt(470)](t,e){const n=Nt,r=this[n(468)](t[n(459)]);await r.renderMultipleAds(t,e)}async[Nt(472)](t){const e=Nt;if(!t.advertisement)throw new Error(e(455));const n=this[e(468)](t[e(459)]);await n.renderAdElement(t,t[e(439)]),t[e(465)]=!0}async[Nt(444)](t,e){const n=this[Nt(468)](t.adType);await n.renderAdElement(t,e)}renderFallback(t){const e=Nt;this[e(468)](t[e(459)])[e(404)](t)}getDefaultHeightForAdType(t){const e=Nt;return this.getRenderer(t)[e(406)]()}[Nt(427)](t,e,n,r){return this[Nt(468)](e).calculateAdSize(t,n,r)}[Nt(463)](t){return new Promise((e,n)=>{const r=Mt,s=new Image;s[r(453)]=()=>{const t=r;e({width:s[t(429)],height:s[t(415)]})},s[r(457)]=()=>{n(new Error("Failed to load image: "+t))},s[r(425)]=t})}async[Nt(456)](t,e,r){const s=Nt;if(r[s(459)]!==n.BANNER)throw new Error(s(454));const i=this.getRenderer(n.BANNER);return await i.renderOptimizedBannerImage(t,e,r)}async[Nt(405)](t,e,r){const s=Nt;if(r!==n[s(461)]){return{width:"100%",height:this[s(468)](r)[s(406)](),aspectRatio:16/9}}const i=this.getRenderer(n[s(461)]);return await i.calculateOptimalContainerSize(t,e)}[Nt(464)](t,...e){const n=Nt;this[n(466)]&&console[n(464)](n(448)+t,...e)}}const jt=Kt;function Ht(){const t=["100%","getSlotById","API key not configured","length","adType",". Retrying in ","loadAdContentInBackground","width","observe","_config","then","string","Failed to fetch ad data: ","slots","🎠 Slider will handle VIEWABLE events for ","init","37709QqBwxp","🔍 Auto-cleanup MutationObserver enabled","startSimpleViewabilityTracking","apiKey","광고 생성 중 오류 발생:","error","createAdInternal","country","GET",", filters:","🧹 Auto-cleanup: slot ","🔄 Retrying viewability tracking for slot: ","warn","adRenderer","getElementById","autoDestroy","NATIVE","json","2402046vzDKcu"," ads for type: ","setupAutoCleanup","Ad slot not found: ","getConfig","[data-adstage-slot-id]","VIDEO","📊 Fetched specific ad with ID: ","append","optimizeContainerForBannerAds","deviceType","set","Container not found: ","10UrNiZO","delete","4284464HxeqhW","removedNodes","adstage-","auto","controls","7547lwkczQ","fetchAdData","createAd","config","slideInterval","loop","📊 Advertisement event tracking enabled for slot: ","New advertisement viewable tracked for slot:","get","isReady","random","setAttribute","Failed to refresh ad slot: ","createAdWithRetry","getAttribute","hideControls","status"," (attempt ","create","advertisements","getBaseUrl","mutationObserver","language","advertisementEventTracker","renderAdElement","ELEMENT_NODE"," ads automatically","getAllSlots","querySelectorAll","customControls","Auto-cleanup failed for slot ","disconnect","BANNER","auto-","refreshAdSlot","onClick","🎯 Simple viewability tracking started for slot: ","refresh","🗑️ Ads module destroyed","isLoaded","Container not found after ","handleViewableEvent","destroyModule","🎯 Ads module initialized (sync mode) with auto-cleanup","ms... (attempt ","_isReady","_id","❌ Failed to track viewable impression:","nodeType","19551105waplyG","❌ Failed to find element for viewability tracking: ","text","body","maxLines","destroy","Ads module not initialized. Call AdStage.init() first.","log","✅ Simple viewable impression tracked for ad ","renderFallback","❌ Failed to load ad for slot: ","now","video","debug","interstitial","default","345255eBcTJi","152gWbvQg"," removed","native","adId","substr","handleRemovedElement","✅ Ad loaded for slot: ","VIEWABLE","undefined","INTERSTITIAL","muted","TEXT","ensureReady","autoplay","data-adstage-slot-id","🗑️ Ad slot destroyed: ","advertisement","innerHTML","height","clear","forEach","248367zoZBgx","viewabilityTracker"];return(Ht=function(){return t})()}function Kt(t,e){const n=Ht();return(Kt=function(t,e){return n[t-=205]})(t,e)}!function(t){const e=Kt,n=t();for(;;)try{if(613666===parseInt(e(238))/1*(-parseInt(e(231))/2)+-parseInt(e(325))/3+-parseInt(e(233))/4+-parseInt(e(303))/5+-parseInt(e(218))/6+parseInt(e(343))/7*(parseInt(e(304))/8)+parseInt(e(287))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ht);class Wt{constructor(){const t=Kt;this._isReady=!1,this._config=null,this[t(340)]=new Map,this[t(261)]=null,this[t(213)]=null,this[t(259)]=null}[jt(342)](t){const e=jt;this[e(336)]=t,this[e(261)]=new B(j[e(258)](),t[e(346)],t.debug||!1,this[e(340)]),this[e(213)]=new Ft(t[e(300)]||!1,this.advertisementEventTracker),this[e(220)](),this[e(283)]=!0,t[e(300)]&&console[e(294)](e(281))}[jt(247)](){return this._isReady}[jt(222)](){return this[jt(336)]}banner(t,e){const r=jt;this.ensureReady();const s={width:e?.width||"100%",height:e?.height||"auto",autoSlide:e?.autoSlide||!1,slideInterval:e?.[r(242)]||5e3,onClick:e?.[r(273)],adId:e?.[r(307)],language:e?.language,deviceType:e?.deviceType,country:e?.[r(207)]};return this[r(240)](t,n.BANNER,s)}[jt(289)](t,e){const r=jt;this.ensureReady();const s={maxLines:e?.[r(291)]||3,style:e?.style||r(302),onClick:e?.onClick,adId:e?.[r(307)],language:e?.[r(260)],deviceType:e?.[r(228)],country:e?.country};return this.createAd(t,n[r(315)],s)}[jt(299)](t,e){const r=jt;this[r(316)]();const s={width:e?.[r(334)]||640,height:e?.height||360,autoplay:void 0===e?.[r(317)]||e[r(317)],muted:void 0===e?.[r(314)]||e[r(314)],loop:void 0===e?.loop||e[r(243)],playsinline:!1!==e?.playsinline,controls:void 0!==e?.[r(237)]&&e[r(237)],hideControls:e?.[r(253)]||!1,customControls:e?.[r(267)],autoSlide:!1,maxAds:1,onClick:e?.[r(273)],...e?.[r(307)]&&{adId:e[r(307)]}};return this[r(240)](t,n[r(224)],s)}[jt(306)](t,e){const r=jt;return this[r(316)](),this[r(240)](t,n[r(216)],e||{})}[jt(301)](t,e){const r=jt;return this[r(316)](),this[r(240)](t,n[r(313)],e||{})}[jt(275)](t){const e=jt;this.ensureReady();const n=this[e(340)][e(246)](t);if(!n)throw new Error(e(221)+t);this[e(272)](n),this[e(336)]?.[e(300)]&&console[e(294)]("🔄 Ad slot refreshed: "+t)}[jt(292)](t){const e=jt;this[e(316)]();const n=this[e(340)][e(246)](t);if(!n)throw new Error(e(221)+t);n[e(326)]&&n[e(326)].destroy();const r=document[e(214)](n.containerId);r&&(r[e(321)]=""),this[e(340)].delete(t),this[e(336)]?.[e(300)]&&console[e(294)](e(319)+t)}[jt(265)](){const t=jt;return this[t(316)](),Array.from(this[t(340)].values())}[jt(328)](t){const e=jt;return this[e(316)](),this[e(340)][e(246)](t)||null}[jt(240)](t,e,n){const r=jt;if(!this._config?.[r(346)])throw new Error(r(329));const s=r(235)+e+"-"+Date[r(298)]()+"-"+Math[r(248)]().toString(36)[r(308)](2,9);return this[r(251)](t,e,n,s,0),s}async[jt(251)](t,e,n,r,s){const i=jt,o=[0,50,100,200,500];let a,c=null;if(typeof t===i(338)){if(a=t,c=document[i(214)](t),!c)return s<4?(this._config?.[i(300)]&&console.warn(i(230)+t+i(332)+o[s+1]+i(282)+(s+1)+"/5)"),void setTimeout(()=>{this[i(251)](t,e,n,r,s+1)},o[s+1])):void console[i(205)](i(278)+5+" attempts: "+t)}else c=t,a=c.id||i(271)+r,!c.id&&(c.id=a);try{this[i(206)](a,e,n,r,c)}catch(t){console[i(205)](i(347),t)}}[jt(206)](t,e,r,s,i){const o=jt;i[o(249)]("data-adstage-slot-id",s),this[o(213)]?.createPlaceholder(i,s,e,r,this[o(336)]);const a={id:s,containerId:t,adType:e,width:r[o(334)]||o(327),height:r[o(322)]||(e===n[o(315)]?o(236):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...r},load:async()=>this[o(239)](e,r)[o(337)](t=>t[0]||null),render:t=>this[o(213)]?.renderAdElement(a,t),refresh:async()=>this[o(272)](a),destroy:()=>this.destroy(s)};this[o(340)][o(229)](s,a),this[o(333)](a),this.advertisementEventTracker&&this[o(336)]?.[o(300)]&&console[o(294)](o(244)+s)}async[jt(333)](t){const e=jt;try{const r=await this[e(239)](t[e(331)],t[e(241)]);if(!r||0===r.length)return void this[e(213)]?.[e(296)](t);t[e(331)]===n[e(270)]&&r.length>0&&await(this[e(213)]?.[e(227)](t,r)),r[e(330)]>1||t[e(241)]?.autoSlide?(await(this[e(213)]?.renderAdSlider(t,r)),this[e(336)]?.debug&&console[e(294)](e(341)+r.length+e(264))):(t[e(320)]=r[0],await(this[e(213)]?.[e(262)](t,r[0])),this[e(345)](t,r[0])),t[e(277)]=!0,this[e(336)]?.[e(300)]&&console[e(294)](e(310)+t.id+" ("+r[e(330)]+" ads)")}catch(n){console[e(205)](e(297)+t.id,n),this[e(213)]?.[e(296)](t)}}[jt(345)](t,e){const n=(r=0)=>{const s=Kt,i=document.getElementById(t.id);if(!i)return void(r<5?(setTimeout(()=>n(r+1),300),this._config?.[s(300)]&&console[s(294)](s(211)+t.id+s(255)+(r+1)+")")):console[s(212)](s(288)+t.id));const o=new O(i,async()=>{const n=s;await this[n(279)](e,t)});t.viewabilityTracker=o,this[s(336)]?.[s(300)]&&console[s(294)](s(274)+t.id+" (element found)")};n()}async[jt(279)](t,e){const n=jt;try{this[n(261)]&&(await this[n(261)].trackAdvertisementEvent(t[n(284)],e.id,c[n(311)]),this._config?.[n(300)]&&console[n(294)](n(295)+t._id))}catch(t){console[n(205)](n(285),t)}}async[jt(239)](t,e){const n=jt;if(!this[n(336)]?.[n(346)])throw new Error(n(329));if(e[n(307)]){const t=""+j[n(257)].detail(e[n(307)]),r=await fetch(t,{method:n(208),headers:T[n(256)](this[n(336)][n(346)])});if(!r.ok){if(404===r[n(254)])return console[n(212)]("🚫 Advertisement not found with ID: "+e[n(307)]),[];throw new Error("Failed to fetch ad data: "+r[n(254)])}const s=await r[n(217)]();return this[n(336)]?.[n(300)]&&console.log(n(225)+e[n(307)],s),[s]}const r=new URLSearchParams;r.append(n(331),t),e.language&&r[n(226)](n(260),e.language),e[n(228)]&&r[n(226)](n(228),e.deviceType),e[n(207)]&&r[n(226)](n(207),e[n(207)]);const s=j[n(257)].list()+"?"+r.toString(),i=await fetch(s,{method:"GET",headers:T[n(256)](this._config[n(346)])});if(!i.ok)throw new Error(n(339)+i[n(254)]);const o=(await i.json()).advertisements||[];return this[n(336)]?.[n(300)]&&console[n(294)]("📊 Fetched "+o[n(330)]+n(219)+t+n(209),{language:e[n(260)],deviceType:e[n(228)],country:e[n(207)]}),o}async[jt(272)](t){const e=jt;try{const n=await this[e(239)](t.adType,t[e(241)]||{});n&&n.length>0&&(t[e(320)]=n[0],await(this[e(213)]?.renderAd(t)),this[e(261)]&&console.log(e(245),t.id))}catch(n){console.error(e(250)+t.id,n)}}[jt(316)](){const t=jt;if(!this[t(283)])throw new Error(t(293))}[jt(220)](){const t=jt;typeof window!==t(312)&&typeof document!==t(312)&&(this[t(259)]&&this[t(259)][t(269)](),this[t(259)]=new MutationObserver(e=>{const n=t;e[n(324)](t=>{const e=n;t[e(234)][e(324)](t=>{const n=e;t[n(286)]===Node[n(263)]&&this[n(309)](t)})})}),this[t(259)][t(335)](document[t(290)],{childList:!0,subtree:!0}),this[t(336)]?.[t(300)]&&console[t(294)](t(344)))}handleRemovedElement(t){const e=jt,n=t[e(252)](e(318));if(n)return void this[e(215)](n);t[e(266)](e(223))[e(324)](t=>{const n=e,r=t[n(252)](n(318));r&&this.autoDestroy(r)})}autoDestroy(t){const e=jt;if(this[e(340)].get(t))try{this.slots[e(232)](t),this[e(336)]?.[e(300)]&&console[e(294)](e(210)+t+e(305))}catch(n){this[e(336)]?.[e(300)]&&console[e(212)](e(268)+t+":",n)}}[jt(280)](){const t=jt,e=this[t(336)]?.[t(300)];this[t(259)]&&(this[t(259)][t(269)](),this[t(259)]=null),this[t(340)][t(323)](),this.advertisementEventTracker=null,this[t(213)]=null,this[t(283)]=!1,this[t(336)]=null,e&&console[t(294)](t(276))}}var qt=Gt;function Gt(t,e){var n=Yt();return(Gt=function(t,e){return n[t-=252]})(t,e)}function Yt(){var t=["_config","getOrganizationInfo","748824jRhALS","updateConfig","isDebugMode","log","9eZYAKD","isReady","_isReady","43914lpGVGS","debug","_organizationInfo","7CFINnd","✅ Config module initialized (sync mode)","events","24twhRCl","Config module not initialized","5413890njfvlb","modules","API key not available","create","config","getConfig","ads","318440GVvNKW","getBaseUrl","4400605SaIJcb","getEnabledModules","🔄 Config updated","apiKey","baseUrl","7892180dydwFb","4604128CWCTLE"];return(Yt=function(){return t})()}!function(t){for(var e=Gt,n=t();;)try{if(586388===parseInt(e(261))/1+-parseInt(e(268))/2*(-parseInt(e(274))/3)+parseInt(e(283))/4+-parseInt(e(252))/5+parseInt(e(276))/6*(-parseInt(e(271))/7)+parseInt(e(258))/8*(parseInt(e(265))/9)+parseInt(e(257))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yt);class Jt{constructor(){var t=Gt;this[t(267)]=!1,this[t(259)]=null,this[t(270)]=null}init(t){var e=Gt;this[e(259)]={timeout:3e4,debug:!1,modules:[e(282),e(273),e(280)],...t},t[e(256)]&&j.setBaseUrl(t[e(256)]),this[e(267)]=!0,t[e(269)]&&console.log(e(272),{modules:this._config[e(277)],endpoint:j[e(284)](),mode:"development"})}[qt(266)](){return this[qt(267)]}[qt(281)](){return this._config}[qt(260)](){return this[qt(270)]}getApiEndpoint(){return j[qt(284)]()}[qt(263)](){var t=qt;return this[t(259)]?.[t(269)]||!1}[qt(253)](){var t=qt;return this[t(259)]?.modules||[]}isModuleEnabled(t){return this[qt(253)]().includes(t)}[qt(262)](t){var e=qt;if(!this[e(259)])throw new Error(e(275));this[e(259)]={...this._config,...t},this[e(263)]()&&console[e(264)](e(254),t)}getApiHeaders(){var t=qt;if(!this._config?.[t(255)])throw new Error(t(278));return T[t(279)](this[t(259)][t(255)])}}const Xt=Zt;function Qt(){const t=["ko-KR","language","web","45OOzdUF","toLowerCase","6634596FmeqAx","_userProvidedDeviceInfo","107541OMTnBl","getViewportInfo","onLine","4LprPfB","269994xvCJfn","0x0","499178UIunwo","969690SUeoEG","7fxZjPA","2848605eosTjX","Unknown","clearDeviceInfo","2UhoaWo","setDeviceProperty","width","getDeviceInfo","isBrowser","mapPlatformForEvents","platform","ios","userAgent","setDeviceInfo","Android","tablet","height","55OuntXp","android","cookieEnabled","SSR","desktop","test","getDetailedInfo","other","getAutoDetectedDeviceInfo","1352504gTDYxH"];return(Qt=function(){return t})()}function Zt(t,e){const n=Qt();return(Zt=function(t,e){return n[t-=122]})(t,e)}!function(t){const e=Zt,n=t();for(;;)try{if(672386===-parseInt(e(124))/1+-parseInt(e(130))/2*(parseInt(e(160))/3)+parseInt(e(163))/4*(-parseInt(e(127))/5)+-parseInt(e(122))/6*(parseInt(e(126))/7)+parseInt(e(152))/8*(-parseInt(e(156))/9)+-parseInt(e(125))/10+-parseInt(e(143))/11*(-parseInt(e(158))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Qt);class $t{static[Xt(133)](){const t=Xt;return{...$t[t(151)](),...$t[t(159)]}}static[Xt(151)](){const t=Xt;if(!I.isBrowser())return{category:t(150),platform:t(146),model:t(146),osVersion:"SSR"};const e=navigator[t(138)][t(157)]();let n=t(147);/tablet|ipad/[t(148)](e)?n=t(141):x.isMobile()&&(n="mobile");const r=x.getPlatform();return{category:n,platform:$t[t(135)](r),model:navigator[t(136)],osVersion:navigator[t(136)]}}static[Xt(139)](t){const e=Xt;$t[e(159)]={...$t[e(159)],...t}}static[Xt(131)](t,e){$t[Xt(159)][t]=e}static[Xt(129)](){$t[Xt(159)]={}}static getUserDeviceInfo(){return{...$t._userProvidedDeviceInfo}}static[Xt(135)](t){const e=Xt;switch(t){case e(137):return"iOS";case e(144):return e(140);case e(155):return"Mobile Web";case e(147):return"Desktop Web";default:return e(128)}}static[Xt(149)](){const t=Xt;if(!I[t(134)]())return{userAgent:t(146),language:"ko-KR",platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(123),viewportSize:t(123)};const e=I[t(161)]();return{userAgent:navigator[t(138)],language:navigator[t(154)]||t(153),platform:navigator[t(136)],cookieEnabled:navigator[t(145)],onLine:navigator[t(162)],screenResolution:screen.width+"x"+screen[t(142)],viewportSize:e[t(132)]+"x"+e.height}}}function te(t,e){const n=re();return(te=function(t,e){return n[t-=170]})(t,e)}$t[Xt(159)]={};const ee=te;!function(t){const e=te,n=t();for(;;)try{if(348270===-parseInt(e(182))/1+-parseInt(e(192))/2+-parseInt(e(178))/3*(parseInt(e(184))/4)+parseInt(e(171))/5*(parseInt(e(186))/6)+-parseInt(e(187))/7*(-parseInt(e(174))/8)+parseInt(e(191))/9*(parseInt(e(185))/10)+parseInt(e(194))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(re);class ne{static[ee(183)](){const t=ee;return{...ne[t(180)](),...ne[t(196)]}}static getBaseUserInfo(){const t=ee;if(!I[t(190)]())return{language:t(170),country:"KR"};const e=navigator[t(175)]||t(170);return{language:e,country:ne.extractCountryFromLanguage(e)}}static[ee(172)](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[ee(193)]("-")[0]]||"KR"}static[ee(179)](t){const e=ee;ne[e(196)]={...ne[e(196)],...t}}static[ee(173)](t,e){ne[ee(196)][t]=e}static[ee(195)](){ne[ee(196)]={}}static[ee(188)](){return{...ne[ee(196)]}}static[ee(176)](){const t=ee;if(!I[t(190)]())return{timezone:t(177),estimatedCountry:"KR"};const e=Intl[t(181)]().resolvedOptions()[t(189)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function re(){const t=["9507uMMQFH","setUserProperties","getBaseUserInfo","DateTimeFormat","641595yvOqyH","getUserInfo","436hlAmSs","80aOpPlg","47292LQzvgK","61383pAqyXN","getCurrentUserProperties","timeZone","isBrowser","177363TsduDm","1132694EDzCtz","split","12267970cMaWMp","clearUserProperties","_userProperties","ko-KR","15RlJZKO","extractCountryFromLanguage","setUserProperty","552zAtaCm","language","estimateLocation","UTC"];return(re=function(){return t})()}ne._userProperties={};const se=ie;function ie(t,e){const n=ae();return(ie=function(t,e){return n[t-=166]})(t,e)}!function(t){const e=ie,n=t();for(;;)try{if(978956===-parseInt(e(179))/1*(-parseInt(e(183))/2)+-parseInt(e(178))/3+parseInt(e(196))/4*(-parseInt(e(176))/5)+parseInt(e(171))/6*(parseInt(e(195))/7)+parseInt(e(191))/8+-parseInt(e(199))/9+parseInt(e(194))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ae);class oe{static getSessionId(){const t=ie;if(!I.isBrowser())return t(167)+Date[t(175)]();const e=sessionStorage.getItem(t(189));if(e)return e;const n=t(184)+Math[t(187)]()[t(185)](36)[t(172)](2,9)+"_"+Date.now();return sessionStorage[t(193)](t(189),n),!oe[t(180)]&&(oe._sessionStartTime=Date[t(175)](),I[t(188)]()&&sessionStorage.setItem(t(197),String(oe[t(180)]))),n}static[se(174)](t){const e=se;oe._userId=t,I[e(188)]()&&localStorage.setItem("adstage_user_id",t)}static getUserId(){const t=se;if(oe._userId)return oe._userId;if(I[t(188)]()){const e=localStorage[t(166)](t(173));if(e)return oe._userId=e,e}}static[se(181)](){const t=se;oe._userId=void 0,I[t(188)]()&&localStorage[t(169)](t(173))}static[se(182)](){const t=se,e=oe.getSessionId(),n=oe[t(198)](),r=oe.isNewSession();return{sessionId:e,userId:n,sessionDuration:oe[t(170)](),isNewSession:r}}static[se(177)](){const t=se;if(!I[t(188)]())return!0;const e=sessionStorage.getItem(t(189)),n=sessionStorage.getItem(t(197));return!e||!n}static[se(170)](){const t=se;if(!I[t(188)]())return 0;const e=sessionStorage.getItem(t(197));return e?Date[t(175)]()-parseInt(e,10):0}static[se(168)](){const t=se;return I[t(188)]()&&(sessionStorage[t(169)](t(189)),sessionStorage[t(169)](t(197))),oe[t(180)]=void 0,oe[t(186)]()}static[se(192)](t=24){return oe[se(170)]()>60*t*60*1e3}static[se(190)](){const t=se,e=oe[t(186)](),n=oe.getUserId(),r=oe[t(170)](),s=oe.isSessionExpired(),i=oe[t(177)]();let o;if(I[t(188)]()){const t=sessionStorage.getItem("adstage_session_start");o=t?parseInt(t,10):void 0}return{sessionId:e,userId:n,startTime:o,duration:r,isExpired:s,isNewSession:i}}}function ae(){const t=["6342UbojhQ","1404vdxxNp","adstage_session_start","getUserId","4192749fxcnlv","getItem","ssr_session_","refreshSession","removeItem","getSessionDuration","6948OJKPQd","substr","adstage_user_id","setUserId","now","6715hMzXxu","isNewSession","2298840MVLCLa","308011LJmkwZ","_sessionStartTime","clearUserId","getSessionInfo","2OOqVhe","session_","toString","getSessionId","random","isBrowser","adstage_session_id","getSessionStats","1660416lKbisy","isSessionExpired","setItem","11177790IuyktL"];return(ae=function(){return t})()}function ce(){const t=["1830265zCnjld","185391hcXNJi","Event data:","getSessionId","warn","sendEventToServer","debug","1146BIQsIg","Event tracking failed: ","38840KzdptN","❌ Failed to track event:","log","_config","setDeviceProperty","getUserDeviceInfo","getUserId","1738fFPqtk","getUserInfo","947VNZRYV","setUserId","📱 Device property set:","Events module not initialized. Call AdStage.init() first.","error","application/json","events","📱 User provided device info cleared","statusText","getDeviceInfo","track","isReady","240168bShIBl","clearDeviceInfo","966OBVraA","_isReady","setDeviceInfo","1453888eDIhee","📱 Device info set:","apiKey","📊 Events module initialized","getConfig","getCurrentUserProperties","6wnLUoM","30840sbjsHO","getUserProperties"];return(ce=function(){return t})()}const de=le;function le(t,e){const n=ce();return(le=function(t,e){return n[t-=447]})(t,e)}!function(t){const e=le,n=t();for(;;)try{if(328033===-parseInt(e(459))/1*(parseInt(e(448))/2)+parseInt(e(471))/3+parseInt(e(476))/4+-parseInt(e(485))/5*(-parseInt(e(482))/6)+-parseInt(e(473))/7*(parseInt(e(483))/8)+-parseInt(e(486))/9+-parseInt(e(450))/10*(-parseInt(e(457))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class ue{constructor(){const t=le;this._isReady=!1,this[t(453)]=null}init(t){const e=le;this[e(453)]=t,this[e(474)]=!0,t.debug&&console[e(452)](e(479))}[de(470)](){return this._isReady}[de(480)](){return this[de(453)]}[de(460)](t){const e=de;oe[e(460)](t),this[e(453)]?.[e(447)]&&console[e(452)]("👤 User ID set:",t)}[de(456)](){return oe[de(456)]()}setUserProperties(t){const e=de;ne.setUserProperties(t),this[e(453)]?.[e(447)]&&console[e(452)]("👤 User properties set:",t)}[de(484)](){return ne[de(481)]()}[de(475)](t){const e=de;$t[e(475)](t),this[e(453)]?.[e(447)]&&console[e(452)](e(477),t)}[de(454)](t,e){const n=de;$t.setDeviceProperty(t,e),this[n(453)]?.[n(447)]&&console[n(452)](n(461),t,e)}clearDeviceInfo(){const t=de;$t[t(472)](),this._config?.[t(447)]&&console.log(t(466))}getUserDeviceInfo(){return $t[de(455)]()}[de(468)](){return $t[de(468)]()}[de(458)](){return ne[de(458)]()}[de(481)](){return ne.getCurrentUserProperties()}async[de(469)](t,e){const n=de;if(this[n(474)])if(this[n(453)]?.[n(478)])try{const r={eventName:t,userId:oe[n(456)](),sessionId:oe[n(488)](),sdkVersion:'"3.0.6"',device:$t[n(468)](),user:ne[n(458)](),params:e||{}};await this[n(490)](r),this[n(453)].debug&&console[n(452)]("✅ Event tracked:",t,e)}catch(r){console[n(463)](n(451),r),this[n(453)][n(447)]&&console[n(463)](n(487),{eventName:t,properties:e})}else console.warn("API key not configured for event tracking.");else console[n(489)](n(462))}async sendEventToServer(t){const e=de,n=await fetch(j[e(465)][e(469)](),{method:"POST",headers:{...T.create(this[e(453)][e(478)]),"Content-Type":e(464)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(449)+n.status+" "+n[e(467)])}}const pe=he;function he(t,e){const n=fe();return(he=function(t,e){return n[t-=340]})(t,e)}function fe(){const t=["baseUrl","🚀 AdStage SDK initialized (sync mode)","3016336KsuGnf","4082244Hhtyqu","_isInitialized","_config","config","16pcCnJy","🌐 API endpoint configured:","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","3799818xLaclK","1590379gFkqga","instance","events","127562xrKiFT","from","📊 AdStage Debug: 현재 viewable 추적 상태","modules","reset","substring","ads","setBaseUrl","clear","debug","apiKey","18fAvVrw",")의 viewable 추적 초기화됨","development","2.0.0","log","getInstance","API key is required for AdStage initialization","viewableTracker","✅ AdStage Debug: 광고 ","46477062NFxxLe","7362830OTsNUH"];return(fe=function(){return t})()}!function(t){const e=he,n=t();for(;;)try{if(748784===-parseInt(e(374))/1*(parseInt(e(349))/2)+-parseInt(e(370))/3+-parseInt(e(362))/4+-parseInt(e(359))/5+parseInt(e(363))/6+parseInt(e(371))/7*(-parseInt(e(367))/8)+parseInt(e(358))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fe);class ge{constructor(){const t=he;this[t(364)]=!1,this[t(365)]=null,this[t(366)]=new Jt,this.ads=new Wt,this.events=new ue}static init(t){const e=he;!ge[e(372)]&&(ge[e(372)]=new ge);const n=ge[e(372)];if(!t[e(348)])throw new Error(e(355));n[e(365)]={timeout:3e4,debug:!1,modules:[e(344),e(373),e(366)],...t},n._config[e(360)]&&(j[e(345)](n[e(365)][e(360)]),t[e(347)]&&console[e(353)](e(368),n[e(365)].baseUrl));const r=n[e(365)][e(341)]||[e(344),e(373),e(366)];for(const t of r){const r=n[t];r&&"function"==typeof r.init&&r.init(n[e(365)])}n[e(364)]=!0,t[e(347)]&&console[e(353)](e(361),{version:e(352),modules:r,apiKey:t[e(348)][e(343)](0,8)+"...",mode:e(351)})}static isReady(){const t=he;return ge[t(372)]?._isInitialized||!1}static getConfig(){const t=he;return ge[t(372)]?._config||null}static getInstance(){const t=he;if(!ge[t(372)])throw new Error("AdStage not initialized. Call AdStage.init() first.");return ge[t(372)]}static get ads(){const t=he;return ge[t(354)]()[t(344)]}static get[pe(373)](){const t=pe;return ge.getInstance()[t(373)]}static get[pe(366)](){const t=pe;return ge[t(354)]()[t(366)]}static[pe(342)](){const t=pe;ge[t(372)]&&(ge[t(372)]._isInitialized=!1,ge[t(372)]._config=null)}}function me(){var t=["32576PIkXMI","4426092OTsUiK","378049DTsoPs","events","getUserProperties","AdStage not initialized. Call AdStage.init() first.","setUserProperties","getUserId","858eucxal","isReady","238707Imtjro","8eCLrcl","track","3790062QlsutS","10OOhQfp","16REOrBv","90996kVaQnS","warn","resolve","9335BUposX"];return(me=function(){return t})()}function ye(t,e){var n=me();return(ye=function(t,e){return n[t-=499]})(t,e)}ge[pe(347)]={clearAllViewable:()=>{const t=pe;it[t(346)](),console[t(353)](t(369))},clearAdViewable:(t,e)=>{const n=pe;it.clearAdViewable(t,e),console[n(353)](n(357)+t+"("+e+n(350))},getViewableStatus:()=>{const t=pe;console[t(353)](t(340),{trackedCount:it[t(356)].size,trackedItems:Array[t(375)](it[t(356)])})}},function(t){for(var e=ye,n=t();;)try{if(247590===parseInt(e(515))/1*(-parseInt(e(500))/2)+-parseInt(e(510))/3+-parseInt(e(516))/4+parseInt(e(499))/5*(-parseInt(e(508))/6)+parseInt(e(502))/7+-parseInt(e(511))/8*(-parseInt(e(513))/9)+-parseInt(e(514))/10*(-parseInt(e(501))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(me);var Ie,ve={exports:{}},be={},we={exports:{}},Ee={};we.exports=function(){if(Ie)return Ee;Ie=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"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,n,r){var s,i={},o=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(o=""+n.key),n)b.call(n,s)&&!E.hasOwnProperty(s)&&(i[s]=n[s]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];i.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===i[s]&&(i[s]=c[s]);return{$$typeof:t,type:e,key:o,ref:a,props:i,_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,i,o){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return o=o(c=n),n=""===i?"."+A(c,0):i,v(o)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(o,r,s,"",function(t){return t})):null!=o&&(x(o)&&(o=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(o,s+(!o.key||c&&c.key===o.key?"":(""+o.key).replace(S,"$&/")+"/")+n)),r.push(o)),1;if(c=0,i=""===i?".":i+":",v(n))for(var d=0;d<n.length;d++){var l=i+A(a=n[d],d);c+=C(a,r,s,l,o)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=i+A(a,d++),o);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],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 _={current:null},D={transition:null},B={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};function L(){throw Error("act(...) is not supported in production builds of React.")}return Ee.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}},Ee.Component=g,Ee.Fragment=n,Ee.Profiler=s,Ee.PureComponent=y,Ee.StrictMode=r,Ee.Suspense=c,Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Ee.act=L,Ee.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),i=e.key,o=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(o=n.ref,a=w.current),void 0!==n.key&&(i=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!E.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:i,ref:o,props:s,_owner:a}},Ee.createContext=function(t){return(t={$$typeof:o,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:t},t.Consumer=t},Ee.createElement=k,Ee.createFactory=function(t){var e=k.bind(null,t);return e.type=t,e},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(t){return{$$typeof:a,render:t}},Ee.isValidElement=x,Ee.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},Ee.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},Ee.startTransition=function(t){var e=D.transition;D.transition={};try{t()}finally{D.transition=e}},Ee.unstable_act=L,Ee.useCallback=function(t,e){return _.current.useCallback(t,e)},Ee.useContext=function(t){return _.current.useContext(t)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(t){return _.current.useDeferredValue(t)},Ee.useEffect=function(t,e){return _.current.useEffect(t,e)},Ee.useId=function(){return _.current.useId()},Ee.useImperativeHandle=function(t,e,n){return _.current.useImperativeHandle(t,e,n)},Ee.useInsertionEffect=function(t,e){return _.current.useInsertionEffect(t,e)},Ee.useLayoutEffect=function(t,e){return _.current.useLayoutEffect(t,e)},Ee.useMemo=function(t,e){return _.current.useMemo(t,e)},Ee.useReducer=function(t,e,n){return _.current.useReducer(t,e,n)},Ee.useRef=function(t){return _.current.useRef(t)},Ee.useState=function(t){return _.current.useState(t)},Ee.useSyncExternalStore=function(t,e,n){return _.current.useSyncExternalStore(t,e,n)},Ee.useTransition=function(){return _.current.useTransition()},Ee.version="18.3.1",Ee}();var ke,xe=we.exports;
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AdStage={})}(this,function(t){"use strict";function e(t,n){var r=f();return(e=function(t,e){return r[t-=471]})(t,n)}var n,r,s,o,i,a,c,d,l,u,p,h;function f(){var t=["14wUOgFL","CLICK","TEXT","NATIVE","3674QJTVHj","VIDEO","DESKTOP","4460sJSfWw","VIEWABLE","POPUP","739863YXGKXN","1531424AVPnJO","BANNER","12aHDiYy","554935UEFHAm","106608IpZjvy","921324Mtpjct","MOBILE","TABLET","WEB","887440cqmZuy","3lvRhkQ","INTERSTITIAL"];return(f=function(){return t})()}function g(t,e){const n=m();return(g=function(t,e){return n[t-=332]})(t,e)}function m(){const t=["readyState","isBrowser","safeSetTextContent","textContent","open","7082520LwWoxs","pageYOffset",'❌ 컨테이너를 찾을 수 없습니다: "',"isDOMReady","log","scrollTop","undefined","error","getDocumentProperty","safeAddClass","2gtPlHy","1085287PWMuwA","entries","safeCreateElement","classList","safeQuerySelector","getComputedStyle","safeRemoveClass","531666SUsMil","referrer","canUseDOM","createElement","ms (","1890548shlVdH",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"addEventListener",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"waitForDOM","⏳ 컨테이너 대기 중: ","29878XOWLqs","번 시도)","ms 경과)","✅ 컨테이너 즉시 발견: ","207ZkOAqS","all","from","querySelectorAll","getScrollInfo","ms)","pageXOffset","safeGetComputedStyle","✅ 컨테이너 발견: ","safeGetElementById","location","map","safeWindowOpen","waitForElements","pow","style","getWindowProperty","forEach","6cIOqJj","removeEventListener","getPageInfo","150504eQutpn","DOMContentLoaded","title","safeSetInnerHTML","1682365VkfDOu","innerWidth","safeQuerySelectorAll","getViewportInfo","innerHTML","loading","ceil","getElementById","documentElement","번째 시도, ","safeAddEventListener","safeRemoveEventListener"];return(m=function(){return t})()}!function(t){for(var n=e,r=t();;)try{if(251285===parseInt(n(471))/1+parseInt(n(472))/2+-parseInt(n(477))/3*(parseInt(n(490))/4)+-parseInt(n(493))/5*(-parseInt(n(492))/6)+parseInt(n(479))/7*(-parseInt(n(476))/8)+-parseInt(n(489))/9+-parseInt(n(486))/10*(-parseInt(n(483))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f),r=n||(n={}),s=e,r.BANNER=s(491),r[s(488)]=s(488),r[s(478)]=s(478),r.NATIVE=s(482),r[s(484)]="VIDEO",r[s(481)]=s(481),(i=o||(o={}))[(a=e)(475)]=a(475),i.MOBILE=a(473),(d=c||(c={}))[(l=e)(487)]=l(487),d.CLICK=l(480),p=u||(u={}),h=e,p.DESKTOP=h(485),p.MOBILE=h(473),p.TABLET=h(474);const y=g;!function(t){const e=g,n=t();for(;;)try{if(339538===parseInt(e(357))/1*(parseInt(e(376))/2)+-parseInt(e(365))/3+-parseInt(e(370))/4+-parseInt(e(405))/5*(parseInt(e(398))/6)+parseInt(e(358))/7+-parseInt(e(401))/8*(-parseInt(e(380))/9)+parseInt(e(347))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class I{static[y(343)](){const t=y;return typeof window!==t(353)&&typeof document!==t(353)}static isSSR(){return!this.isBrowser()}static[y(367)](){return this[y(343)]()&&void 0!==document.readyState}static[y(389)](t){const e=y;return this[e(367)]()?document[e(337)](t):null}static[y(362)](t){return this.canUseDOM()?document.querySelector(t):null}static[y(332)](t){const e=y;return this[e(367)]()?Array[e(382)](document[e(383)](t)):[]}static[y(360)](t){const e=y;return this[e(367)]()?document[e(368)](t):null}static[y(340)](t,e,n,r){const s=y;this[s(367)]()&&t&&t[s(372)](e,n,r)}static[y(341)](t,e,n,r){const s=y;this[s(367)]()&&t&&t[s(399)](e,n,r)}static getWindowProperty(t,e){return this[y(343)]()?window[t]??e:e}static[y(355)](t,e){return this[y(367)]()?document[t]??e:e}static[y(392)](t,e,n){const r=y;return this[r(343)]()?window[r(346)](t,e,n):null}static[y(387)](t){const e=y;return this[e(343)]()&&t?window[e(363)](t):null}static[y(350)](){const t=y;return!!this[t(367)]()&&document[t(342)]!==t(335)}static[y(374)](){return new Promise(t=>{const e=g;this[e(367)]()?this[e(350)]()?t():this[e(340)](document,e(402),()=>t()):t()})}static safeApplyStyles(t,e){const n=y;this[n(367)]()&&t&&Object[n(359)](e)[n(397)](([e,r])=>{t[n(395)].setProperty(e,r)})}static[y(356)](t,e){const n=y;this[n(367)]()&&t&&t[n(361)].add(e)}static[y(364)](t,e){const n=y;this[n(367)]()&&t&&t[n(361)].remove(e)}static[y(344)](t,e){const n=y;this.canUseDOM()&&t&&(t[n(345)]=e)}static[y(404)](t,e){const n=y;this[n(367)]()&&t&&(t[n(334)]=e)}static safeAppendChild(t,e){this[y(367)]()&&t&&e&&t.appendChild(e)}static safeRemoveChild(t,e){this.canUseDOM()&&t&&e&&t.removeChild(e)}static[y(400)](){const t=y;return{url:this[t(396)](t(390),{href:""}).href,title:this[t(355)](t(403),""),referrer:this[t(355)](t(366),"")}}static[y(333)](){const t=y;return{width:this.getWindowProperty(t(406),0),height:this[t(396)]("innerHeight",0),pixelRatio:this.getWindowProperty("devicePixelRatio",1)}}static[y(384)](){const t=y;return{scrollTop:this.canUseDOM()?window[t(348)]||document[t(338)][t(352)]:0,scrollLeft:this[t(396)](t(386),0)}}static async waitForElement(t,e={}){const n=y,{timeout:r=3e3,retryInterval:s=100,debug:o=!1}=e;if(!this.canUseDOM())throw new Error("DOM을 사용할 수 없는 환경입니다.");const i=document[n(337)](t);return i?(o&&console.log(n(379)+t),i):(o&&console[n(351)]("⏳ 컨테이너 대기 시작: "+t+" (최대 "+r+n(385)),new Promise((e,i)=>{const a=n;let c=0;const d=Math[a(336)](r/s),l=()=>{const n=a;c++;const u=document[n(337)](t);if(u)return o&&console[n(351)](n(388)+t+" ("+c+n(339)+c*s+n(378)),void e(u);if(c>=d){const e=n(349)+t+n(371)+t+n(373)+r+n(369)+c+n(377);return o&&console[n(354)](e),void i(new Error(e))}o&&c%10==0&&console[n(351)](n(375)+t+" ("+c+"/"+d+")");const p=Math.min(s*Math[n(394)](1.2,c),500);setTimeout(l,p)};setTimeout(l,s)}))}static async[y(393)](t,e={}){const n=y,r=t[n(391)](t=>this.waitForElement(t,e));return Promise[n(381)](r)}}const v=k;function b(){const t=["3239046vgrVfa","20vXnTSX","4692438uadPbA","2323728CitDRh","AdStageSDK/","1302480HgvlWq","userAgent","13066QWOwNs","4111240HUFbGX","1367394cBTwVm",'"3.0.7"',"8SZTBva"];return(b=function(){return t})()}!function(t){const e=k,n=t();for(;;)try{if(480433===parseInt(e(448))/1*(-parseInt(e(442))/2)+parseInt(e(438))/3+parseInt(e(444))/4+-parseInt(e(446))/5+parseInt(e(443))/6+parseInt(e(437))/7*(-parseInt(e(440))/8)+-parseInt(e(441))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);const w=v(439);function k(t,e){const n=b();return(k=function(t,e){return n[t-=437]})(t,e)}function E(){return w}function x(t,e){const n=A();return(x=function(t,e){return n[t-=258]})(t,e)}const S=x;function A(){const t=[",y:","now","20xFlngh","UTC","259281YUmPVA","1316059MHPItH","generateDeviceId","android","696798TlGYqU","adstage_session_id","colorDepth","toString","connection","isBrowser","language","SSR","getSlotPosition","width","collectDeviceInfo","getScrollInfo","2763216SKOySX","safeGetElementById","getPlatform","timeZone","getViewportInfo","130RbSDeC","26tFfOUs","generateSessionId","isMobile","1.0.0","web","userAgent","getItem","scrollTop","483SWpbjJ","pixelRatio","height","ssr_device_","platform","substr","1067945QPbtAM","unknown","test","desktop","108282Vqcbay","48985497fzrcGU","toLowerCase","random","effectiveType","adstage_device_id","left","ios"];return(A=function(){return t})()}!function(t){const e=x,n=t();for(;;)try{if(839027===-parseInt(e(275))/1+-parseInt(e(296))/2*(parseInt(e(274))/3)+parseInt(e(272))/4*(-parseInt(e(258))/5)+-parseInt(e(262))/6*(-parseInt(e(304))/7)+-parseInt(e(290))/8+parseInt(e(278))/9*(-parseInt(e(295))/10)+parseInt(e(263))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);class C{static[S(276)](){const t=S;if(!I.isBrowser())return t(307)+Date[t(271)]();const e=localStorage.getItem(t(267));if(e)return e;const n="device_"+Math[t(265)]()[t(281)](36)[t(309)](2,9)+"_"+Date[t(271)]();return localStorage.setItem(t(267),n),n}static[S(297)](){const t=S;if(!I[t(283)]())return"ssr_session_"+Date[t(271)]();const e=sessionStorage[t(302)]("adstage_session_id");if(e)return e;const n="session_"+Math[t(265)]()[t(281)](36)[t(309)](2,9)+"_"+Date.now();return sessionStorage.setItem(t(279),n),n}static[S(298)](){const t=S;return!!I[t(283)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(301)])}static[S(292)](){const t=S;if(!I[t(283)]())return t(300);const e=navigator[t(301)][t(264)]();return/iphone|ipad|ipod/[t(260)](e)?t(269):/android/[t(260)](e)?t(277):C.isMobile()?t(300):t(261)}static[S(288)](){const t=S,e=I[t(294)]();return{deviceId:C[t(276)](),sessionId:C[t(297)](),osVersion:I[t(283)]()?navigator[t(308)]:"SSR",deviceModel:I[t(283)]()?navigator.platform:t(285),appVersion:t(299),sdkVersion:E(),language:I[t(283)]()&&navigator[t(284)]||"ko",country:"KR",ipAddress:"",userAgent:I[t(283)]()?navigator[t(301)]:t(285),timezone:I[t(283)]()?Intl.DateTimeFormat().resolvedOptions()[t(293)]:t(273),viewportWidth:e.width,viewportHeight:e[t(306)],screenWidth:I[t(283)]()?screen[t(287)]:0,screenHeight:I[t(283)]()?screen[t(306)]:0,colorDepth:I.isBrowser()?screen[t(280)]:24,pixelRatio:e[t(305)],connectionType:I[t(283)]()?navigator[t(282)]?.[t(266)]||t(259):"unknown",platform:C.getPlatform()}}static[S(286)](t){const e=S,n=I[e(291)](t);if(!n)return e(259);const r=n.getBoundingClientRect(),s=I[e(289)]();return"x:"+Math.round(r[e(268)])+e(270)+Math.round(r.top+s[e(303)])}}function T(){const t=["contentType","143heXZsZ","11916144NJThrn","8lALJxw","6955NWKZnM","596EjhoRo","create","1695670UEtbKh","userAgent","322159pKIWrj","2671760LBRcXZ","2744340QlIwin","undefined","363507zivzxe","User-Agent","10xCjPpG"];return(T=function(){return t})()}const R=P;function P(t,e){const n=T();return(P=function(t,e){return n[t-=351]})(t,e)}!function(t){const e=P,n=t();for(;;)try{if(728218===parseInt(e(359))/1+-parseInt(e(365))/2*(parseInt(e(363))/3)+parseInt(e(355))/4*(parseInt(e(354))/5)+-parseInt(e(361))/6+-parseInt(e(360))/7*(-parseInt(e(353))/8)+-parseInt(e(352))/9+parseInt(e(357))/10*(parseInt(e(351))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class _{static[R(356)](t,e){const n=R;if(!t)throw new Error("API key is required");const r={"x-api-key":t,"Content-Type":e?.[n(366)]||"application/json"};return typeof navigator!==n(362)&&(r["User-Agent"]=e?.[n(358)]||navigator[n(358)]),r}static createForEvents(t,e){const n=R,r=_.create(t);return e?.[n(358)]&&(r[n(364)]=e[n(358)]),r}}const D=U;function U(t,e){const n=L();return(U=function(t,e){return n[t-=213]})(t,e)}function L(){const t=["7178437YQlPQY","API request failed: ","211416RiuVEs","sessionId","substring","1002ulrqRq","/advertisements/events/","deviceId","length","string","baseUrl","parseNumericValue","containerId"," in slot ","adType","now","🚀 Sending advertisement event: ","url","log","get","apiKey"," - ","error"," event for ad ","✅ Successfully tracked advertisement event: ","615674RaDozx","🌐 Full API call details:","POST","❌ Failed to track advertisement event:","getSlotPosition","stringify","...","platform","width","text","debug","warn","statusText",". Skipping event tracking to prevent incorrect adType.","slots","collectDeviceInfo","⚠️ Slot not found for slotId: ","replace","getPageInfo"," for ad ","NOT_SET","height","5691584hlYksR","referrer","2910ExChfp","VIEWABLE","1371094BNxian","title","25151984udQdLg"];return(L=function(){return t})()}!function(t){const e=U,n=t();for(;;)try{if(792206===-parseInt(e(248))/1+parseInt(e(220))/2+-parseInt(e(225))/3+-parseInt(e(216))/4+parseInt(e(218))/5*(parseInt(e(228))/6)+-parseInt(e(223))/7+parseInt(e(222))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class O{constructor(t,e,n,r){const s=U;this[s(233)]=t,this.apiKey=e,this[s(258)]=n,this[s(262)]=r}async trackAdvertisementEvent(t,e,n){const r=U;try{this[r(258)]&&console[r(241)]("🚀 AdvertisementEventTracker: Processing "+n+r(246)+t+r(236)+e);const s=this.slots[r(242)](e);if(!s)return void(this[r(258)]&&console[r(259)](r(264)+e+r(261)));const o=C[r(263)](),i={adType:s[r(237)],platform:o[r(255)],deviceId:o[r(230)],deviceInfo:o,pageUrl:I[r(266)]()[r(240)],pageTitle:I[r(266)]()[r(221)],referrer:I.getPageInfo()[r(217)],slotId:e,slotPosition:C[r(252)](s[r(235)]),slotWidth:O.parseNumericValue(s[r(256)]),slotHeight:O[r(234)](s[r(215)]),sessionId:o[r(226)],pageLoadTime:performance.now(),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[r(238)]()},...n===c[r(219)]&&{isViewable:!0,iabCompliant:!0}},a=this[r(233)]+r(229)+t+"/"+n,d=_.createForEvents(this[r(243)],i);this[r(258)]&&(console[r(241)](r(239)+n+" for ad "+t,{url:a,headers:d,eventData:i}),console[r(241)](r(249),{method:r(250),url:a,hasApiKey:!!this.apiKey,bodySize:JSON[r(253)](i)[r(231)]}));const l=await fetch(a,{method:"POST",headers:d,body:JSON[r(253)](i)});if(this[r(258)]&&console[r(241)]("📡 API Response Status: "+l.status+" "+l[r(260)],{url:a,ok:l.ok}),!l.ok){const t=await l[r(257)]();throw new Error(r(224)+l.status+" "+l.statusText+r(244)+t)}this[r(258)]&&console[r(241)](r(247)+n+r(213)+t)}catch(s){console[r(245)](r(251),s),console[r(245)]("🔍 Debug info:",{baseUrl:this.baseUrl,apiKey:this[r(243)]?this[r(243)][r(227)](0,8)+r(254):r(214),url:this[r(233)]+r(229)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[D(234)](t){const e=D;if("number"==typeof t)return t;if(typeof t===e(232)){const n=parseFloat(t[e(265)](/px$/,""));return isNaN(n)?0:n}return 0}}var z=N;function B(){var t=["element","initIntersectionObserver","disconnect","warn","100526JTbQve","1715598sOQmbm","isViewableTriggered","visible","onViewableCallback","hidden","IntersectionObserver","destroy","handleIntersection","8qUiGhI","intersectionRatio","visibilityState","forEach","observe","4016277iIRHfw","8154825HlvQEy","IntersectionObserver not supported, viewability tracking disabled","28UEkOJF","7787700osmqLt","1187346pTFYbg","30RWHnyC","observer","0px","406556KAsEqg","isDocumentVisible"];return(B=function(){return t})()}function N(t,e){var n=B();return(N=function(t,e){return n[t-=293]})(t,e)}!function(t){for(var e=N,n=t();;)try{if(716643===-parseInt(e(308))/1*(parseInt(e(320))/2)+parseInt(e(310))/3+-parseInt(e(314))/4*(-parseInt(e(311))/5)+parseInt(e(321))/6+parseInt(e(306))/7+-parseInt(e(300))/8*(-parseInt(e(305))/9)+-parseInt(e(309))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);class M{constructor(t,e){var n=N;this[n(312)]=null,this[n(293)]=!1,this.element=t,this[n(295)]=e,this.initIntersectionObserver()}[z(317)](){var t=z;t(297)in window?(this[t(312)]=new IntersectionObserver(e=>this[t(299)](e),{threshold:.5,rootMargin:t(313)}),this[t(312)][t(304)](this[t(316)])):console[t(319)](t(307))}[z(299)](t){var e=z;t[e(303)](t=>{var n=e;t[n(301)]>=.5&&this[n(315)]()&&!this[n(293)]&&(this[n(293)]=!0,this.onViewableCallback&&this[n(295)]())})}[z(315)](){var t=z;return!document[t(296)]&&document[t(302)]===t(294)}[z(298)](){var t=z;this.observer&&(this[t(312)][t(318)](),this.observer=null)}}const V=F;function F(t,e){const n=K();return(F=function(t,e){return n[t-=452]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(244829===parseInt(e(460))/1+parseInt(e(466))/2+parseInt(e(461))/3*(parseInt(e(455))/4)+-parseInt(e(458))/5*(-parseInt(e(472))/6)+-parseInt(e(473))/7+-parseInt(e(465))/8+-parseInt(e(454))/9*(-parseInt(e(463))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const H={production:V(459),beta:V(470)},j={advertisements:{list:"/advertisements/list",detail:V(464),events:"/advertisements/events"},events:{track:V(471)}};class W{constructor(t){const e=V;this.advertisements={list:()=>""+this[e(452)]+j.advertisements[e(469)],detail:t=>""+this[e(452)]+j[e(456)].detail+"/"+t,events:(t,n)=>""+this[e(452)]+j[e(456)][e(468)]+"/"+t+"/"+n},this[e(468)]={track:()=>""+this[e(452)]+j[e(468)][e(462)]},this.baseUrl=t||H.production}[V(453)](t){this[V(452)]=t}getBaseUrl(){return this[V(452)]}[V(467)](t){const e=V;return""+this[e(452)]+(t[e(457)]("/")?t:"/"+t)}}function K(){const t=["advertisements","startsWith","65fNtFIX","https://api.adstage.app","182491DtDepx","849048KDTUpw","track","108060lSeUCT","/advertisements","2964552ArlSfb","566754tcXVhN","custom","events","list","https://beta-api.adstage.app","/events/track","143718ijVELL","3341051QBWnEz","baseUrl","setBaseUrl","27TlGWKZ","4jLaRId"];return(K=function(){return t})()}const X=new W;function Z(t,e){var n=Y();return(Z=function(t,e){return n[t-=424]})(t,e)}var J=Z;!function(t){for(var e=Z,n=t();;)try{if(431261===-parseInt(e(432))/1+parseInt(e(440))/2*(parseInt(e(427))/3)+-parseInt(e(429))/4+parseInt(e(430))/5+parseInt(e(441))/6*(-parseInt(e(424))/7)+-parseInt(e(435))/8+-parseInt(e(433))/9*(-parseInt(e(438))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class Q{static[J(428)](t,e,n,r,s=!1){var o=J;s&&console.log(o(437)+t[o(426)]+o(439)+n+o(425)+e.id),r(t[o(426)],e.id,c[o(434)])}static[J(431)](t,e,n,r=!1){var s=J;r&&console.log("🎯 Triggering initial VIEWABLE event: ad "+t[s(426)]+s(436)+e.id),n(t._id,e.id,c.VIEWABLE)}}function Y(){var t=["2rzLJwH","24nvZMMz","203238ytHYVS",") in slot: ","_id","542139HeXOTJ","trackSlideViewable","1089428QDJDAm","1365485ZEMNxO","trackInitialSlideViewable","356721gDJEzy","9NOEeDW","VIEWABLE","716784aQQlxN"," (index: 0) in slot: ","🎯 Triggering VIEWABLE event for slide change: ad ","8122630QPZGVe"," (index: "];return(Y=function(){return t})()}function q(t,e){const n=G();return(q=function(t,e){return n[t-=312]})(t,e)}function G(){const t=["9OhZgOr","_id","4QXIAId","pointer","log","6822783KZzNIA","linkUrl","toLowerCase","889024HNiJDB","style","forEach","open","stopPropagation","addClickEventForSlider","_blank","217418sulgbc"," -> ","addClickEvent","CLICK","adType","9dqneZm","33544116ORtjKf"," ad clicked: ","cursor","addEventListener","🔗 ","1012424UqPObA","89290fNvfxl","7xZzWtV","5729250XGJFCM","42OaMGyi","addClickEventForRenderer","click","preventDefault","isClickable"];return(G=function(){return t})()}const $=q;!function(t){const e=q,n=t();for(;;)try{if(394133===-parseInt(e(322))/1*(parseInt(e(344))/2)+parseInt(e(327))/3*(-parseInt(e(333))/4)+-parseInt(e(334))/5*(parseInt(e(337))/6)+-parseInt(e(335))/7*(-parseInt(e(315))/8)+parseInt(e(342))/9*(-parseInt(e(336))/10)+-parseInt(e(312))/11+parseInt(e(328))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class tt{static[$(324)](t,e,n,r,s=!1,o){const i=$;e[i(313)]&&(t[i(316)][i(330)]=i(345),t[i(331)]("click",t=>{const a=i;if(t.preventDefault(),t[a(319)](),r&&r(e[a(343)],n.id,c[a(325)]),window[a(318)](e.linkUrl,a(321)),s){const t=o||String(n[a(326)])[a(314)]();console[a(346)](a(332)+t+a(329)+e[a(343)]+a(323)+e[a(313)])}}))}static[$(338)](t,e,n,r,s=!1,o){const i=$;e[i(313)]&&(t[i(316)][i(330)]="pointer",t[i(331)](i(339),t=>{const a=i;t[a(340)](),t[a(319)]();if(r()(e[a(343)],n.id,c.CLICK),window[a(318)](e[a(313)],"_blank"),s){const t=o||String(n[a(326)])[a(314)]();console[a(346)]("🔗 "+t+a(329)+e._id+a(323)+e.linkUrl)}}))}static[$(320)](t,e,n,r,s=!1,o){this.addClickEvent(t,e,n,r,s,o)}static[$(341)](t){return Boolean(t[$(313)])}static addClickEventsBatch(t,e,n,r,s=!1,o){const i=$;t[i(317)]((t,a)=>{const c=i,d=e[a];d&&this[c(324)](t,d,n,r,s,o)})}}const et=nt;function nt(t,e){const n=st();return(nt=function(t,e){return n[t-=211]})(t,e)}!function(t){const e=nt,n=t();for(;;)try{if(868808===-parseInt(e(236))/1*(parseInt(e(304))/2)+parseInt(e(318))/3+-parseInt(e(272))/4+parseInt(e(275))/5*(parseInt(e(251))/6)+-parseInt(e(298))/7*(parseInt(e(314))/8)+-parseInt(e(223))/9*(-parseInt(e(286))/10)+-parseInt(e(264))/11*(parseInt(e(311))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class rt{static createSimpleAdElement(t,e){const r=nt,s=document[r(221)](r(215));switch(s[r(256)]=r(277)+String(t[r(230)])[r(253)](),s.setAttribute(r(271),e[r(283)]),s.setAttribute(r(276),t.id),s[r(217)].display=r(292),s[r(217)][r(249)]=r(313),s[r(217)][r(254)]=r(302),t[r(230)]){case n[r(300)]:if(e[r(267)]){const t=document.createElement(r(270));t[r(303)]=e[r(267)],t[r(217)].width=r(313),t[r(217)].height=r(302),t[r(217)].objectFit="cover",s.appendChild(t)}else s[r(217)][r(254)]="100px",s[r(217)][r(239)]="#f0f0f0",s.style[r(310)]=r(218),s[r(248)]=r(309);break;case n[r(232)]:if(e[r(258)]){const t=document.createElement(r(211));t[r(303)]=e.videoUrl,t[r(217)][r(249)]=r(313),t[r(217)].height=r(302),s[r(289)](t)}else s[r(217)][r(254)]="200px",s[r(217)][r(239)]=r(284),s.style[r(310)]=r(316),s[r(248)]=r(260),s[r(217)][r(229)]=r(255);break;case n[r(266)]:if(e[r(248)]){const t=document[r(221)](r(215));t[r(248)]=e[r(248)]||"",t[r(217)].padding=r(317),t[r(217)][r(269)]="14px",s.appendChild(t)}else s[r(217)][r(254)]="50px",s[r(217)][r(285)]="8px",s[r(248)]=r(225);break;default:s[r(217)][r(254)]=r(308),s[r(217)][r(310)]=r(218),s[r(217)][r(239)]=r(238),s[r(248)]=t[r(230)]+r(224)}return s}static createSliderContainer(t,e,r,s,o=!1){const i=nt,a=document[i(221)](i(215));a[i(256)]=i(288);const c={position:i(212),overflow:"hidden"};if(t[i(249)]&&0!==t[i(249)]){let e;e=typeof t[i(249)]===i(235)&&(t.width.includes("px")||t[i(249)].includes("%"))?t[i(249)]:t[i(249)]+"px",c.width=e,c[i(280)]="inline-block"}else c[i(280)]=i(240);if(t[i(254)]&&0!==t.height){const e="string"==typeof t[i(254)]?t[i(254)]:t[i(254)]+"px";c.height=e}Object[i(301)](c)[i(216)](([t,e])=>{a[i(217)].setProperty(t,e)});const d=!t[i(249)]||0===t[i(249)],l=!t[i(254)]||0===t[i(254)];if(d||l){const n=document[i(221)](i(215));if(n[i(217)].cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&t.width){let e;e=typeof t[i(249)]===i(235)?t[i(249)][i(291)]("px")||t.width[i(291)]("%")?t[i(249)]:t.width+"px":t[i(249)]+"px",n[i(217)][i(249)]=e,n[i(217)][i(259)]=i(320)}document.body[i(289)](n);let r=0,s=0;e[i(216)](e=>{const o=i,a=this[o(220)](t,e);n.appendChild(a);const c=a[o(213)]();c[o(249)]>r&&(r=c[o(249)]),c[o(254)]>s&&(s=c[o(254)]),n[o(219)](a)}),d&&r>0&&(a[i(217)][i(249)]=r+"px",c[i(249)]=r+"px"),l&&s>0&&(a.style[i(254)]=s+"px",c.height=s+"px"),document.body.removeChild(n)}const u=[...e,e[0]],p=document.createElement("div");p[i(256)]=i(290);const h={display:i(231),transition:i(250),width:100*u.length+"%"};t[i(254)]&&0!==t[i(254)]&&(h[i(254)]=i(313)),Object.entries(h)[i(216)](([t,e])=>{const n=i;p[n(217)][n(233)](t,e)}),u.forEach((e,n)=>{const r=i,a=document.createElement(r(215));a.className=r(281);const c={width:100/u[r(242)]+"%","flex-shrink":"0",display:r(231),"align-items":r(306),"justify-content":r(306)};t[r(254)]&&0!==t[r(254)]&&(c.height=r(313)),Object[r(301)](c)[r(216)](([t,e])=>{const n=r;a[n(217)][n(233)](t,e)});const d=this[r(220)](t,e);tt[r(278)](d,e,t,s,o,String(t.adType)[r(253)]()),a[r(289)](d),p[r(289)](a)});const f=e[i(257)](t=>t[i(230)]===n[i(266)])?null:this[i(296)](e.length);let g=0;const m=e[i(242)],y=1e3*(r?.[i(307)]||3),I=(n,r=!1)=>{const a=i;g=n,r?p.style[a(237)]=a(305):p[a(217)].transition=a(250),p[a(217)].transform="translateX(-"+100/u.length*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(227))[a(216)]((t,e)=>{const n=a,r=t;e===c?(r[n(312)][n(299)](n(268)),r[n(217)][n(262)]=n(297),r.style[n(293)]=n(297),r[n(217)][n(228)]="1"):(r[n(312)].remove(n(268)),r.style.background=n(226),r[n(217)][n(293)]="#cccccc",r[n(217)].opacity=n(274))})}Q[a(214)](e[c],t,c,s,o)},v=()=>{g===m&&setTimeout(()=>{I(0,!0)},400)};if(f){f[i(287)](i(227))[i(216)]((t,e)=>{const n=i;t[n(246)](n(282),()=>I(e))})}let b=setInterval(()=>{I(g+1),v()},y);return a[i(246)](i(244),()=>{clearInterval(b)}),a[i(246)]("mouseleave",()=>{b=setInterval(()=>{I(g+1),v()},y)}),this.addTouchSupport(p,I,()=>g,m,v),a[i(289)](p),f&&a[i(289)](f),I(0),(!t[i(249)]||0===t.width)&&setTimeout(()=>{const e=i,n=p[e(247)][0];if(n){const r=n.children[0];if(r){const n=r[e(213)]();a[e(217)].width=n[e(249)]+"px",(!t[e(254)]||0===t[e(254)])&&(a[e(217)].height=n[e(254)]+"px"),a[e(217)][e(243)]=e(261)}}},10),a}static[et(296)](t){const e=et,n=document[e(221)](e(215));n.className="adstage-dots",n[e(217)][e(273)]=e(315);for(let r=0;r<t;r++){const t=document[e(221)](e(252));t[e(256)]=e(263),t[e(217)][e(273)]="\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ",t.addEventListener(e(244),()=>{const n=e;!t[n(312)][n(245)](n(268))&&(t[n(217)].borderColor="#999999",t[n(217)].opacity=n(279))}),t[e(246)](e(234),()=>{const n=e;!t[n(312)].contains(n(268))&&(t[n(217)][n(293)]="#cccccc",t[n(217)][n(228)]=n(274))}),n.appendChild(t)}return n}static addTouchSupport(t,e,n,r,s){const o=et;let i=0,a=!1;t.addEventListener(o(241),t=>{const e=o;i=t[e(222)][0][e(295)],a=!0}),t.addEventListener(o(265),t=>{a&&t.preventDefault()}),t[o(246)]("touchend",t=>{const c=o;if(!a)return;a=!1;const d=t[c(319)][0][c(295)],l=i-d;if(Math[c(294)](l)>50){const t=n();if(l>0){e(t+1),s&&s()}else{e(t>0?t-1:r-1)}}})}}function st(){const t=["Text Ad","transparent",".adstage-dot","opacity","color","adType","flex","VIDEO","setProperty","mouseleave","string","2333bOeXSW","transition","#f9f9f9","backgroundColor","inline-block","touchstart","length","overflow","mouseenter","contains","addEventListener","children","textContent","width","transform 0.4s ease-out","6517806gpdXDS","button","toLowerCase","height","white","className","every","videoUrl","whiteSpace","Video Ad","hidden","background","adstage-dot","11kePJpF","touchmove","TEXT","imageUrl","active","fontSize","img","data-adstage-ad-id","465572srlUzZ","cssText","0.7","5RCMlvu","data-adstage-slot-id","adstage-ad adstage-","addClickEventForSlider","0.9","display","adstage-slide","click","_id","#000","padding","11170ocDBQi","querySelectorAll","adstage-slider-wrapper","appendChild","adstage-slide-container","includes","block","borderColor","abs","clientX","createMinimalDotIndicator","#666666","4003440WWXkmE","add","BANNER","entries","auto","src","68EYcWtm","none","center","autoSlideInterval","100px","Banner Ad","border","25057596bBdtYD","classList","100%","8rWZvhI","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","1px solid #666","8px","5193813hblqWF","changedTouches","normal","video","relative","getBoundingClientRect","trackSlideViewable","div","forEach","style","1px dashed #ccc","removeChild","createSimpleAdElement","createElement","touches","7308uQbxgL"," Ad"];return(st=function(){return t})()}const ot=it;function it(t,e){const n=ct();return(it=function(t,e){return n[t-=206]})(t,e)}!function(t){const e=it,n=t();for(;;)try{if(333265===parseInt(e(216))/1*(-parseInt(e(217))/2)+parseInt(e(212))/3+parseInt(e(223))/4*(-parseInt(e(208))/5)+parseInt(e(211))/6+parseInt(e(221))/7*(-parseInt(e(210))/8)+-parseInt(e(218))/9+parseInt(e(219))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);class at{static[ot(220)](t,e,n=!1){const r=ot,s=t+"_"+e;return at[r(206)][r(213)](s)?(n&&console[r(225)](r(215)+t+r(222)+e),!0):(at.viewableTracker.add(s),n&&console[r(225)](r(207)+t+r(222)+e),!1)}static clear(){const t=ot;at[t(206)][t(209)]()}static[ot(224)](t,e){const n=ot,r=t+"_"+e;at[n(206)][n(214)](r)}}function ct(){const t=["viewableTracker","✅ New viewable recorded for ad ","657805KlBVUr","clear","799440mfdTEX","701028AzrxqT","483270dzStIl","has","delete","Duplicate viewable blocked for ad ","3QJsIGX","82138aJswMU","3938157NuebIj","8476080RkCTbX","isDuplicateViewable","7ntedWc"," in slot ","4vniYhC","clearAdViewable","log"];return(ct=function(){return t})()}at[ot(206)]=new Set;const dt=lt;function lt(t,e){const n=pt();return(lt=function(t,e){return n[t-=184]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(283956===parseInt(e(269))/1*(parseInt(e(238))/2)+-parseInt(e(251))/3+parseInt(e(226))/4*(parseInt(e(258))/5)+parseInt(e(189))/6*(-parseInt(e(221))/7)+parseInt(e(207))/8*(-parseInt(e(231))/9)+-parseInt(e(259))/10+parseInt(e(225))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class ut{constructor(t,e=!1,n){this[lt(215)]=t,this.debug=e,this.advertisementEventTracker=n||null}[dt(245)](t,e,n,r){const s=dt,o=document[s(195)](s(290));o.id=e,o[s(288)]=s(261)+String(this.adType)[s(270)](),o.setAttribute(s(257),s(263)),o[s(191)](s(212),String(this[s(215)])),o.setAttribute(s(274),e);const{width:i,height:a}=this.calculateAdSize(t,n,r)||{width:s(209),height:this[s(224)]()};o.style[s(213)]=i,o[s(243)][s(218)]=a;const c=r?.[s(210)]||n[s(210)]||s(250);this[s(291)](o,c),t[s(275)](o),this[s(193)]&&console[s(219)]("📦 Placeholder created for "+this[s(215)]+s(228)+e+" ("+i+" x "+a+s(281)+c)}applyPlaceholderStyle(t,e){const n=dt;switch(e){case"invisible":t[n(243)][n(296)]=n(287),t[n(243)][n(187)]=n(205),t[n(243)].opacity="0",t[n(292)]="";break;case n(287):t[n(243)][n(296)]="transparent",t[n(243)][n(187)]=n(205),t[n(243)][n(277)]=n(285),t.innerHTML="";break;case n(186):t[n(243)][n(296)]=n(244),t.style[n(187)]=n(205),t[n(243)][n(247)]="4px",t.style[n(277)]=n(197),t[n(243)].alignItems="center",t[n(243)][n(255)]=n(282),t[n(292)]=n(264);break;case n(272):t[n(243)].backgroundColor=n(236),t[n(243)][n(187)]=n(265),t[n(243)][n(247)]=n(202),t[n(243)][n(277)]="flex",t[n(243)][n(194)]="center",t[n(243)].justifyContent="center",t[n(292)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case n(193):t[n(243)].border=n(232),t[n(243)].display=n(197),t.style[n(194)]=n(282),t.style[n(255)]=n(282),t[n(243)][n(296)]=n(237),t.style.color=n(201),t[n(243)][n(295)]=n(242),t.style[n(190)]=n(200),t[n(292)]="<span>Loading "+this[n(215)]+" ad...</span>";break;default:t[n(243)][n(187)]="1px dashed #ccc",t[n(243)][n(277)]=n(197),t[n(243)][n(194)]=n(282),t[n(243)][n(255)]=n(282),t[n(243)].backgroundColor="#f9f9f9",t[n(243)][n(267)]="#666",t.innerHTML="<span>Loading "+this.adType+n(289)}}[dt(280)](t,e,n){const r=dt,s=e[r(213)],o=e[r(218)];let i,a;if(i=typeof s===r(266)?s+"px":"string"==typeof s?s:r(209),typeof o===r(266))a=o+"px";else if("string"==typeof o&&"100%"!==o&&o!==r(271))a=o;else{const e=this.getContainerHeight(t);e>0?(a=r(209),(n?.[r(193)]||this[r(193)])&&console[r(219)]("📏 Using 100% height (container: "+e+r(222))):(a=this[r(224)](),(n?.[r(193)]||this[r(193)])&&console[r(219)](r(203)+a+r(262)+this.adType))}return{width:i,height:a}}[dt(241)](t){const e=dt,n=window[e(188)](t),r=parseFloat(n.height);if(!r||0===r){const r=parseFloat(n[e(234)]);if(r>0)return r;if(t[e(243)][e(218)]&&t.style[e(218)]!==e(271)){const n=parseFloat(t[e(243)][e(218)]);if(n>0)return n}const s=t[e(196)]("height");if(s){const t=parseFloat(s);if(t>0)return t}}return r||0}createEventTrackingCallback(){return async(t,e,n)=>{const r=lt;if(n===c[r(286)]){if(at[r(252)](t,e,this[r(193)]))return void(this[r(193)]&&console[r(219)](r(249)+t+r(206)+e));this[r(193)]&&console[r(219)]("✅ New viewable recorded for ad "+t+" in slot "+e)}if(this[r(239)])try{this[r(193)]&&console[r(219)]("🔄 Starting advertisement event tracking: "+n+r(253)+t+r(206)+e),await this.advertisementEventTracker[r(211)](t,e,n),this[r(193)]&&console[r(219)]("📊 Advertisement event tracked: "+n+" for ad "+t+r(206)+e)}catch(e){this[r(193)]&&console[r(268)](r(273)+n+r(276)+t+":",e)}else this.debug&&console[r(223)]("⚠️ AdvertisementEventTracker not available for "+n+r(230))}}renderFallback(t){const e=dt,n=document[e(278)](t.id);if(n){const r=[...[n[e(204)]('[data-adstage-container="true"]'),n[e(198)](e(220)),n][e(294)](t=>t&&t[e(260)](e(257))),...[n[e(198)](e(184)),n.closest(e(216)+String(this[e(215)])[e(270)]()),n[e(198)]('[class*="ad"]'),n[e(198)]('[class*="banner"]'),n.closest('[class*="container"]'),n[e(198)](e(293)),n[e(198)](e(235)),n[e(185)]][e(294)](Boolean)][0];if(r){let n=e(233);n=r.hasAttribute(e(257))?e(284):r.classList[e(283)](e(279))?e(192):e(240),r[e(243)][e(217)]+=e(208),r.innerHTML="",r[e(191)]("data-adstage-empty",e(263)),this[e(193)]&&console[e(223)]("⚠️ "+this[e(215)]+e(254)+n+e(248)+t.id,r)}else this.createEmptyContainer(t)}t.advertisement=void 0,t[e(256)]=!0}createEmptyContainer(t){const e=dt,n=document.getElementById(t.containerId);if(n){n[e(292)]="";const r=document[e(195)]("div");r.id=t.id,r[e(288)]=e(246)+String(this[e(215)])[e(270)](),r[e(191)]("data-adstage-container",e(263)),r[e(191)](e(214),"true"),r[e(191)](e(274),t.id),r[e(243)].cssText=e(227),n.appendChild(r),this[e(193)]&&console[e(223)](e(199)+this[e(215)]+e(229)+t.id)}}[dt(219)](t,...e){const n=dt;this[n(193)]&&console.log("["+this[n(215)]+"] "+t,...e)}}function pt(){const t=["borderRadius","): ","🚫 Duplicate viewable blocked for ad ","invisible","739692jLwjzG","isDuplicateViewable"," for ad "," container collapsed (","justifyContent","isEmpty","data-adstage-container","5zQpxqS","4178330RZEulg","hasAttribute","adstage-slot adstage-"," for ","true",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"1px solid rgba(0, 0, 0, 0.08)","number","color","error","439130YTvIlN","toLowerCase","auto","minimal","❌ Failed to track ","data-adstage-slot","appendChild"," event for ad ","display","getElementById","adstage-slot","calculateAdSize",") - Mode: ","center","contains","adstage-official","block","VIEWABLE","transparent","className"," ad...</span>","div","applyPlaceholderStyle","innerHTML",'div[style*="height"]',"filter","fontFamily","backgroundColor",".adstage-slot","parentElement","subtle","border","getComputedStyle","186myUxeY","fontSize","setAttribute","adstage-class","debug","alignItems","createElement","getAttribute","flex","closest","⚠️ Created empty ","11px","#e74c3c","6px","📏 Using default height ","querySelector","none"," in slot ","8lRcBAM","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","100%","placeholderMode","trackAdvertisementEvent","data-adstage-type","width","data-adstage-empty","adType",".adstage-","cssText","height","log",'[data-adstage-container="true"]',"84707kruaZZ","px)","warn","getDefaultHeight","11094072udUumO","20612JyhpGP","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n "," slot: "," container: "," event","1164159dNnTzU","2px dashed #e74c3c","unknown","minHeight",'div[style*="min-height"]',"rgba(248, 249, 250, 0.5)","rgba(231, 76, 60, 0.1)","2qZfJuZ","advertisementEventTracker","generic","getContainerHeight","monospace","style","rgba(0, 0, 0, 0.02)","createPlaceholder","adstage-slot adstage-empty adstage-"];return(pt=function(){return t})()}const ht=gt;function ft(){const t=["contain","aspectRatio","status","value","length","allSettled","8px","imageUrl","getBoundingClientRect","innerHTML","round","backgroundColor","log","abs","Image URL is not provided","adstage-ad adstage-banner-ad","config","borderRadius","ratio","481345jHjSeV","24330185zoLYqm","toString","center","default","map","width","loadImageDimensions","count","24471JTPCjo","250px","createEventTrackingCallback","set","Container not found: ","calculateOptimalHeight"," with ","debug","3151216YvwUjq","#f0f0f0","2fkwTBE","max","get","getElementById","applyOptimizedImageStyle","naturalWidth","BANNER","📐 Optimal banner container calculated: ","100%","style","className","objectFit","title","2140NdVXJL","optimizeContainerForBannerAds","5369kvErxn","optimizedHeight","fulfilled"," (avg: ","78284mIMfRG","height","renderAdElement","toFixed","Banner Advertisement","🎠 Banner carousel created for slot: ","5034koXgyb","common","renderOptimizedBannerImage","16:9","<div>","📦 Banner container dimensions: ","selectOptimalSizeStrategy","getDefaultHeight","some","renderMultipleAds","Banner","Banner Ad",", ratio=","values","createSliderContainer","containerId","name","addClickEventForRenderer","src","slideInterval","parentElement","appendChild","3:2","forEach"," ads: ","onerror","dominant","105hWoOJA","📸 Banner image dimensions: ","from","🎨 Banner image style applied: objectFit=","reduce","📊 Using standard ratio: ","average","Failed to load image: ","filter","block","display","cover","4015010poEQAQ","img",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"</div>","objectPosition","createElement","_id"];return(ft=function(){return t})()}function gt(t,e){const n=ft();return(gt=function(t,e){return n[t-=161]})(t,e)}!function(t){const e=gt,n=t();for(;;)try{if(414088===parseInt(e(179))/1*(-parseInt(e(198))/2)+-parseInt(e(250))/3*(-parseInt(e(217))/4)+parseInt(e(262))/5+parseInt(e(223))/6*(parseInt(e(213))/7)+parseInt(e(196))/8+parseInt(e(188))/9*(parseInt(e(211))/10)+-parseInt(e(180))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class mt extends ut{constructor(t=!1,e){super(n[gt(204)],t,e)}getDefaultHeight(){return gt(189)}async[ht(219)](t,e){const n=ht,r=document[n(201)](t[n(238)]);if(!r)return;const s=document[n(267)]("div");s[n(208)]=n(175);const o=t[n(214)],i=r[n(243)]||r;if(o)s[n(207)][n(185)]="100%",s[n(207)][n(218)]=String(o);else{const e=t[n(176)],r={width:e?.[n(185)],height:e?.[n(218)]},{width:o,height:a}=this.calculateAdSize(i,r,{debug:this.debug});s.style[n(185)]=o,s[n(207)][n(218)]=a}e[n(167)]?await this[n(225)](s,e,t):s[n(169)]=n(227)+(e[n(210)]||n(234))+n(265),tt[n(240)](s,e,t,()=>this[n(190)](),this[n(195)],"Banner"),r[n(169)]="",r.appendChild(s)}async[ht(232)](t,e){const n=ht,r=document[n(201)](t[n(238)]);if(!r)throw new Error(n(192)+t[n(238)]);await this[n(212)](t,e);const s=this[n(190)](),o={autoSlideInterval:(t.config?.[n(242)]||5e3)/1e3,...t[n(176)],optimizedHeight:t[n(214)],aspectRatio:t[n(161)]},i=rt[n(237)](t,e,o,s,this.debug);i&&(r.innerHTML="",r[n(244)](i),this[n(195)]&&console.log(n(222)+t.id+n(194)+e.length+" ads (optimized: "+(t[n(214)]||n(183))+")"))}async calculateOptimalContainerSize(t,e){const n=ht;if(!t[n(164)])return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const r=(await Promise[n(165)](t[n(258)](t=>t[n(167)])[n(184)](t=>this[n(186)](t[n(167)])))).filter(t=>t[n(162)]===n(215)).map(t=>t[n(163)]);if(0===r.length)return{width:"100%",height:this[n(230)](),aspectRatio:16/9};const s=this[n(229)](r),o=this.calculateOptimalHeight(r,e,s);return this.debug&&console[n(172)](n(205)+e+"x"+o+" (strategy: "+s+")"),{width:n(206),height:o+"px",aspectRatio:e/o}}catch(t){return console.warn("Failed to calculate optimal banner size, using defaults:",t),{width:n(206),height:this[n(230)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=ht;try{const r=document.getElementById(t[n(238)]),s=document[n(201)](t.id);if(!r||!s)return;const o=r[n(168)]()[n(185)]||300,i=await this.calculateOptimalContainerSize(e,o);s.style[n(218)]=i[n(218)],t[n(214)]=i[n(218)],t[n(161)]=i[n(161)],this[n(195)]&&console.log("🔧 Banner container optimized for "+e[n(164)]+n(247)+i[n(218)])}catch(t){console.warn("Banner container optimization failed, using default size:",t)}}[ht(229)](t){const e=ht,n=t[e(184)](t=>t[e(185)]/t.height),r=new Map;n[e(246)](t=>{const n=e,s=(Math[n(170)](10*t)/10)[n(181)]();r[n(191)](s,(r[n(200)](s)||0)+1)});const s=Math[e(199)](...r[e(236)]()),o=t.length;if(s/o>=.7)return"dominant";const i=[16/9,4/3,1,1.5],a=n[e(258)](t=>i[e(231)](n=>Math[e(173)](t-n)<.1)).length;return e(a/o>=.5?224:256)}[ht(193)](t,e,n){const r=ht,s=t[r(184)](t=>t.width/t[r(218)]);switch(n){case r(249):{const t=new Map;s.forEach(e=>{const n=r,s=Math.round(10*e)/10,o=s.toString(),i=t[n(200)](o);i?i[n(187)]++:t.set(o,{ratio:s,count:1})});const n=Array[r(252)](t[r(236)]())[r(254)]((t,e)=>e[r(187)]>t[r(187)]?e:t);return Math[r(170)](e/n[r(178)])}case r(224):{const t=[{ratio:16/9,name:r(226)},{ratio:4/3,name:"4:3"},{ratio:1,name:"1:1"},{ratio:1.5,name:r(245)}],n=s.reduce((t,e)=>t+e,0)/s[r(164)],o=t[r(254)]((t,e)=>Math.abs(e[r(178)]-n)<Math.abs(t.ratio-n)?e:t);return this.debug&&console[r(172)](r(255)+o[r(239)]+r(216)+n[r(220)](2)+")"),Math[r(170)](e/o.ratio)}case r(256):default:{const t=s[r(254)]((t,e)=>t+e,0)/s.length;return Math[r(170)](e/t)}}}[ht(186)](t){return new Promise((e,n)=>{const r=gt,s=new Image;s.onload=()=>{e({width:s[gt(203)],height:s.naturalHeight})},s[r(248)]=()=>{n(new Error(r(257)+t))},s[r(241)]=t})}[ht(202)](t,e,n){const r=ht,s=e/n;Math[r(173)](s-1)<.1?(t[r(207)][r(209)]=r(261),t[r(207)].objectPosition=r(182)):s>1.3?(t[r(207)].objectFit=r(269),t[r(207)][r(266)]=r(182),t.style[r(171)]=r(197)):s<.7?(t[r(207)].objectFit=r(261),t[r(207)][r(266)]=r(182)):(t[r(207)][r(209)]=r(261),t[r(207)][r(266)]=r(182)),this.debug&&console[r(172)](r(253)+t[r(207)][r(209)]+r(235)+s[r(220)](2))}async[ht(225)](t,e,n){const r=ht,s=document.createElement(r(263));s[r(207)][r(185)]="100%",s[r(207)][r(218)]=r(206),s[r(207)][r(260)]=r(259),s[r(207)][r(177)]=r(166),s.alt=e[r(210)]||r(221),t[r(169)]=r(264);try{if(!e.imageUrl)throw new Error(r(174));const o=await this.loadImageDimensions(e[r(167)]),i=t[r(168)](),a=i[r(185)],c=i.height;this[r(195)]&&(console.log(r(251)+o[r(185)]+"x"+o.height),console[r(172)](r(228)+a+"x"+c));const d=o.width/o[r(218)],l=a/c;return this[r(202)](s,d,l),s[r(241)]=e[r(167)],t.innerHTML="",t[r(244)](s),tt[r(240)](s,e,n,()=>this[r(190)](),this[r(195)],"Banner"),this[r(195)]&&console[r(172)]("✅ Optimized banner image rendered for ad: "+e[r(268)]),s}catch(o){return console.error("❌ Failed to load optimized banner image:",o),e.imageUrl&&(s[r(241)]=e[r(167)],s.style[r(209)]=r(261),s[r(207)][r(266)]=r(182),t[r(169)]="",t[r(244)](s),tt[r(240)](s,e,n,()=>this[r(190)](),this[r(195)],r(233))),s}}}function yt(){const t=["762160aXhyHd","textContent","\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n ","5PcmQpH","1376901ihVbiU","975512pKEfyJ","204500VcBnZZ","setTextAdContent","379292UQSKbs","title","2968662eGFJzs","7897248yhvLcX"];return(yt=function(){return t})()}const It=vt;function vt(t,e){const n=yt();return(vt=function(t,e){return n[t-=303]})(t,e)}!function(t){const e=vt,n=t();for(;;)try{if(344767===-parseInt(e(313))/1+-parseInt(e(312))/2+-parseInt(e(311))/3+-parseInt(e(303))/4+parseInt(e(310))/5*(parseInt(e(305))/6)+parseInt(e(307))/7+parseInt(e(306))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);class bt{static createTextAdStyles(t=!1){return vt(309)}static[It(314)](t,e){const n=It,r=e[n(308)]||e[n(304)]||"";t[n(308)]=r}}const wt=kt;function kt(t,e){const n=Et();return(kt=function(t,e){return n[t-=260]})(t,e)}function Et(){const t=["42azyatB","getBoundingClientRect","44tvyxtG","setProperty","absolute","top",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","56tAUfxX",";\n width: 100%;\n ","forEach","touchmove","relative","adstage-ad adstage-","entries","adstage-fade-slider-wrapper","style","7LOiSQY","\n ","data-adstage-slot-id","normal","clientX","setAttribute","opacity","transform","adstage-fade-slide","createElement","clientY","autoSlideInterval","6929838McSOHY","abs","block","touches","createSimpleAdElement","removeChild","height: 100%;","preventDefault",";\n top: ","8521335FmZBkl","cssText","fit-content","zIndex","translateY(-20px)","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","_id","length","changedTouches","left","trackSlideViewable","398325hFsauN","position","hidden","addEventListener","div","setTextAdContent","touchend","adType","height","appendChild","string","addTouchSupport","className","20px","minHeight","10hgPjcB","8732832JwnPih","8458896ifUdKy","translateY(20px)","whiteSpace","Text","height: auto; min-height: fit-content;","height: auto;","mouseleave","width","toLowerCase","73947FAgtAL","628101YtrxZm","auto","push",";\n ","createTextTransitionContainer","includes",";\n left: ","addClickEventForSlider"];return(Et=function(){return t})()}!function(t){const e=kt,n=t();for(;;)try{if(583666===-parseInt(e(299))/1+parseInt(e(307))/2*(parseInt(e(298))/3)+-parseInt(e(314))/4*(parseInt(e(272))/5)+-parseInt(e(335))/6*(parseInt(e(323))/7)+parseInt(e(288))/8+parseInt(e(261))/9*(-parseInt(e(287))/10)+parseInt(e(309))/11*(parseInt(e(289))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Et);class xt{static createSimpleAdElement(t,e){const n=kt,r=document[n(332)](n(276));return r[n(284)]=n(319)+String(t[n(279)])[n(297)](),r[n(328)]("data-adstage-ad-id",e[n(267)]),r[n(328)](n(325),t.id),r[n(322)][n(262)]=bt.createTextAdStyles(!0),bt[n(277)](r,e),r}static[wt(303)](t,e,n,r,s=!1){const o=wt,i=t.height&&0!==t[o(280)]&&t[o(280)]!==o(300),a=document[o(332)](o(276));a[o(284)]=o(321);const c={position:o(318),overflow:o(274),display:o(337)};if(!i&&(c.height="auto",c[o(286)]=o(263)),t[o(296)]&&0!==t[o(296)]){let e;e=typeof t.width===o(282)&&(t[o(296)].includes("px")||t[o(296)].includes("%"))?t[o(296)]:t.width+"px",c[o(296)]=e}if(t[o(280)]&&0!==t.height&&t.height!==o(300)&&i){let e;e=typeof t[o(280)]===o(282)?t.height[o(304)]("px")||t[o(280)][o(304)]("%")?t[o(280)]:t[o(280)]+"px":t.height+"px",c[o(280)]=e}Object[o(320)](c)[o(316)](([t,e])=>{const n=o;a.style[n(310)](t,e)});const d=document[o(332)]("div");d.className="adstage-fade-slide-container",d[o(322)].cssText="\n position: relative;\n width: 100%;\n "+o(i?341:293)+o(324);let l=null;const u=!t.width||0===t[o(296)],p=!t[o(280)]||0===t[o(280)]||void 0===t[o(280)]||t[o(280)]===o(300);if(u||p&&i){if(l=document.createElement("div"),l[o(322)].cssText=o(266),!u&&t[o(296)]){let e;e=typeof t.width===o(282)&&(t[o(296)][o(304)]("px")||t[o(296)][o(304)]("%"))?t[o(296)]:t.width+"px",l[o(322)][o(296)]=e,l[o(322)][o(291)]=o(326)}document.body[o(281)](l);let n=0,r=0;e[o(316)](e=>{const s=o,i=this[s(339)](t,e);l.appendChild(i);const a=i[s(308)]();a[s(296)]>n&&(n=a[s(296)]),a[s(280)]>r&&(r=a[s(280)]),l.removeChild(i)}),u&&n>0&&(a[o(322)].width=n+"px"),p&&r>0&&i&&(a[o(322)][o(280)]=r+"px"),document.body[o(340)](l)}const h=[];e[o(316)]((e,n)=>{const a=o,c=document[a(332)](a(276));c[a(284)]=a(331);const l=i?"absolute":a(0===n?318:311);c[a(322)][a(262)]="\n position: "+l+a(260)+(l===a(311)?"0":a(300))+a(305)+(l===a(311)?"0":a(300))+a(315)+a(i?341:294)+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(285))+a(313)+(0===n?"2":"1")+a(302);const u=this[a(339)](t,e);tt[a(306)](u,e,t,r,s,a(292)),c[a(281)](u),d.appendChild(c),h[a(301)](c)});let f=0;const g=e[o(268)],m=1e3*(n?.[o(334)]||4),y=n=>{const a=o;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!i&&(c.style.position===a(318)&&(c[a(322)].position=a(311),c[a(322)][a(312)]="0",c[a(322)].left="0"),d[a(322)][a(273)]=a(318),d[a(322)].top=a(300),d[a(322)][a(270)]=a(300)),c[a(322)].opacity="0",c.style[a(330)]=a(265),c[a(322)][a(264)]="1",d.style[a(329)]="1",d.style[a(330)]="translateY(0)",d[a(322)][a(264)]="2",h[a(316)]((t,e)=>{const r=a;e!==n&&e!==f&&(t[r(322)][r(329)]="0",t[r(322)][r(330)]=r(290),t[r(322)][r(264)]="1",!i&&"relative"===t.style[r(273)]&&(t.style.position=r(311),t[r(322)][r(312)]="0",t[r(322)][r(270)]="0"))}),f=n,Q[a(271)](e[f],t,f,r,s)};let I=setInterval(()=>{y(f+1)},m);return a[o(275)]("mouseenter",()=>{clearInterval(I)}),a[o(275)](o(295),()=>{I=setInterval(()=>{y(f+1)},m)}),xt[o(283)](a,y,()=>f,g),a.appendChild(d),a}static[wt(283)](t,e,n,r){const s=wt;let o=0,i=0,a=!1;t[s(275)]("touchstart",t=>{const e=s;o=t[e(338)][0][e(327)],i=t[e(338)][0].clientY,a=!0}),t.addEventListener(s(317),t=>{a&&t[s(342)]()}),t[s(275)](s(278),t=>{const r=s;if(!a)return;a=!1;const c=t[r(269)][0].clientX,d=t[r(269)][0][r(333)],l=o-c,u=i-d;if(Math[r(336)](l)>Math.abs(u)&&Math[r(336)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const St=At;function At(t,e){const n=Ct();return(At=function(t,e){return n[t-=326]})(t,e)}function Ct(){const t=["style","62010cKiQMd","adstage-ad adstage-text-ad","display","maxLines","59067ehZTKX","36ZLcDnN","createTextAdStyles","createTextTransitionContainer","number","div","28JAfCus","className","slideInterval","createElement","setTextAdContent","120EcVtoo","renderMultipleAds","hidden","debug","✨ Single text ad rendered: ","overflow","width","✨ Text transition created for slot: ","_id","innerHTML","452590duYZEl","getElementById","vertical","renderAdElement","config","calculateAdSize","60px"," ads","7070IiNhdQ","aspectRatio","Container not found: ","100%","109dGbRkW","1086728jkgxsX","-webkit-box","Text","optimizedHeight","643405WIgiia","height","addClickEventForRenderer","log","createEventTrackingCallback","webkitLineClamp","appendChild","containerId","cssText","2047573CaNWBE","length"];return(Ct=function(){return t})()}!function(t){const e=At,n=t();for(;;)try{if(223197===parseInt(e(377))/1*(-parseInt(e(373))/2)+-parseInt(e(344))/3*(-parseInt(e(350))/4)+-parseInt(e(340))/5*(-parseInt(e(355))/6)+parseInt(e(328))/7+parseInt(e(378))/8+-parseInt(e(345))/9*(-parseInt(e(365))/10)+-parseInt(e(337))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ct);class Tt extends ut{constructor(t=!1,e){super(n.TEXT,t,e)}getDefaultHeight(){return At(371)}async[St(368)](t,e){const n=St,r=document[n(366)](t[n(335)]);if(!r)return;const s=document[n(353)](n(349));s[n(351)]=n(341);const o=t[n(327)],i=r.parentElement||r;if(o)s[n(339)][n(361)]=n(376),s[n(339)][n(329)]=String(o);else{const e=t[n(369)],r={width:e?.[n(361)],height:e?.[n(329)]},{width:o,height:a}=this[n(370)](i,r,{debug:this[n(358)]});s[n(339)][n(361)]=o,s.style.height=a}const a=document.createElement("div");a.className="adstage-text-content",a[n(339)][n(336)]=bt[n(346)](!1),bt[n(354)](a,e);const c=t[n(369)]?.[n(343)];c&&typeof c===n(348)&&(a[n(339)][n(342)]=n(379),a[n(339)][n(333)]=String(c),a[n(339)].webkitBoxOrient=n(367),a[n(339)][n(360)]=n(357)),s[n(334)](a),tt[n(330)](s,e,t,()=>this.createEventTrackingCallback(),this[n(358)],n(326)),r.innerHTML="",r.appendChild(s),this.debug&&console[n(331)](n(359)+e[n(363)])}async[St(356)](t,e){const n=St,r=document[n(366)](t.containerId);if(!r)throw new Error(n(375)+t[n(335)]);const s=this[n(332)](),o={autoSlideInterval:(t[n(369)]?.[n(352)]||5e3)/1e3,...t[n(369)],optimizedHeight:t[n(327)],aspectRatio:t[n(374)]},i=xt[n(347)](t,e,o,s,this[n(358)]);i&&(r[n(364)]="",r[n(334)](i),this.debug&&console.log(n(362)+t.id+" with "+e[n(338)]+n(372)))}}function Rt(t,e){const n=_t();return(Rt=function(t,e){return n[t-=337]})(t,e)}const Pt=Rt;function _t(){const t=["🎬 Video config received:","⚠️ No video advertisements available for slot: ","VIDEO",", loop: ","rgba(0, 0, 0, 0.7)","imageUrl","loadeddata","relative","objectFit","mouseenter","display",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',"748vTyvHX","hideRemainingTime","addEventListener","🎬 Initial autoplay attempt after timeout...","adstage-video-default-controls","block","createElement","paused","100%","stopPropagation","button","unmuted","addClickEventForRenderer","disabled (default)","length","🎬 Single video rendered for VIDEO slot: ","\n video::-webkit-media-controls-play-button {\n display: ","metadata","muted","playsinline","loadedmetadata","style","Click to unmute","debug","loop","adstage-video-mute-button","renderMultipleAds","360px","controls","getElementById","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","getDefaultHeight","height","🎬 Final video settings:","hideMuteButton","contain","Video thumbnail","🔊 Video mute toggled: ","img","containerId","6042980xcpHyb","src","appendChild","🎬 Autoplay completely failed:","config","rgba(0, 0, 0, 0.9)","cssText","Video","background","1420979hKeIIE","click","hideControls","11274OvEwCB","customControls","innerHTML","textContent","renderVideoElementDirect","preload","play","scale(1.1)","3130HnHBao"," !important;\n }\n ","video","adstage-video-container","width","setAttribute","_id","log","none","autoplay","videoUrl","532056zBAkAS","hidePlayButton","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","Video load failed:","createEventTrackingCallback","canplay","className","transform","title","🎬 Auto-play was prevented:","head","🎬 Video element created for ad: ",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ',"scale(1)","catch","hideFullscreenButton","div","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","🎬 Trying muted autoplay fallback...","alt","9rDnSnJ","VIEWABLE","warn","18aFunaQ"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","1137303oUQbNQ","hideCurrentTime","🎬 Video metadata loaded, attempting autoplay...","hideProgressBar","4706215gKwagv","error"];return(_t=function(){return t})()}!function(t){const e=Rt,n=t();for(;;)try{if(576321===-parseInt(e(362))/1+-parseInt(e(440))/2+parseInt(e(432))/3*(parseInt(e(380))/4)+parseInt(e(366))/5+parseInt(e(360))/6*(parseInt(e(429))/7)+parseInt(e(337))/8+parseInt(e(357))/9*(-parseInt(e(420))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_t);class Dt extends ut{constructor(t=!1,e){super(n[Rt(370)],t,e)}[Pt(411)](){return Pt(407)}async renderAdElement(t,e){const n=Pt,r=document[n(409)](t[n(419)]);if(!r)return;const s=document[n(386)](n(353));s[n(343)]=n(443),s[n(401)].cssText=n(354),this.renderVideoElementDirect(s,e,t),r[n(434)]="",r.appendChild(s),this.debug&&console[n(447)]("🎬 Single video ad rendered: "+e[n(446)])}async[Pt(406)](t,e){const n=Pt,r=document[n(409)](t[n(419)]);if(!r)throw new Error("Container not found: "+t[n(419)]);if(e[n(394)]>0){const s=e[0],o=document[n(386)](n(353));o.className=n(443),o.style[n(426)]=n(339),this.renderVideoElementDirect(o,s,t),r[n(434)]="",r[n(422)](o);const i=this[n(341)]();setTimeout(()=>{const e=n;i(s[e(446)],t.id,c[e(358)])},100),this[n(403)]&&console.log(n(395)+t.id+" ("+s[n(446)]+")")}else this[n(403)]&&console[n(359)](n(369)+t.id)}[Pt(436)](t,e,n){const r=Pt;t[r(401)].position=r(375);const s=document[r(386)](r(442));s[r(401)][r(444)]="100%",s[r(401)][r(412)]=r(388),s[r(401)][r(376)]=r(415),s[r(437)]=r(397);const o=n[r(424)];if(this[r(403)]&&console[r(447)](r(368),o),s.controls=!1,s[r(449)]=!1!==o?.autoplay,s[r(398)]=!0,s[r(404)]=!1!==o?.[r(404)],this[r(403)]&&console[r(447)](r(413),{autoplay:s.autoplay,muted:s.muted,loop:s[r(404)],controls:s[r(408)]}),!1!==o?.playsinline&&s[r(445)](r(399),""),!0===o?.controls&&(s[r(408)]=!0,this[r(403)]&&console[r(447)]("🎬 User explicitly enabled controls, overriding default")),o?.[r(431)])s[r(408)]=!1,s.style[r(426)]+="\n pointer-events: none;\n ";else if(o?.[r(433)]){if(s[r(408)]){const t=document[r(386)]("style");t[r(435)]=r(396)+(o.customControls[r(338)]?r(448):"block")+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(o[r(433)][r(365)]?r(448):r(385))+" !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "+(o.customControls[r(363)]?r(448):r(385))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(o[r(433)][r(381)]?"none":r(385))+r(361)+(o[r(433)].hideVolumeSlider?"none":r(385))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(o.customControls[r(414)]?"none":r(385))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(o.customControls[r(352)]?"none":r(385))+r(441),document[r(347)].appendChild(t)}}else if(s[r(408)]){const t=document[r(386)](r(401));t.id=r(384),t[r(435)]="\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ",!document[r(409)](r(384))&&document[r(347)][r(422)](t)}this.debug&&console[r(447)]("🎬 Video controls setting:",s[r(408)]?"enabled":r(393));const i=document[r(386)](r(390));i[r(343)]=r(405),i[r(401)][r(426)]=r(410),o?.[r(431)]&&(i[r(401)][r(378)]=r(448));const a=()=>{const t=r,e=t(349),n=t(379);i[t(434)]=s[t(398)]?e:n,i[t(345)]=s.muted?t(402):"Click to mute"};if(a(),i[r(382)](r(430),t=>{const e=r;t[e(389)](),s[e(398)]=!s[e(398)],a(),this[e(403)]&&console[e(447)](e(417)+(s.muted?e(398):e(391)))}),i[r(382)](r(377),()=>{const t=r;i[t(401)][t(428)]=t(425),i.style[t(344)]=t(439)}),i[r(382)]("mouseleave",()=>{const t=r;i.style[t(428)]=t(372),i.style.transform=t(350)}),e[r(450)]){s[r(421)]=e.videoUrl;const t=()=>{const t=r;s[t(449)]&&s[t(398)]&&s[t(387)]&&s[t(438)]()[t(351)](e=>{const n=t;this[n(403)]&&(console[n(359)](n(346),e),console[n(359)](n(355))),s.muted=!0,s.play()[n(351)](t=>{const e=n;this.debug&&console[e(367)](e(423),t)})})};s[r(382)](r(400),()=>{const e=r;this[e(403)]&&console[e(447)](e(364)),t()}),s[r(382)](r(342),()=>{const e=r;this[e(403)]&&console[e(447)]("🎬 Video can play, attempting autoplay..."),t()}),s[r(382)](r(374),()=>{this[r(403)]&&console.log("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=r;this[e(403)]&&console.log(e(383)),t()},100)}else if(e[r(373)]){const n=document[r(386)]("img");return n.src=e[r(373)],n[r(401)][r(444)]=r(388),n[r(401)].height=r(388),n[r(401)].objectFit="contain",n[r(356)]=e.title||r(416),void t.appendChild(n)}tt[r(392)](s,e,n,()=>this[r(341)](),this[r(403)],r(427)),s.addEventListener("error",s=>{const o=r;if(console[o(367)](o(340),s),e[o(373)]){const r=document[o(386)](o(418));r[o(421)]=e[o(373)],r.style.width=o(388),r[o(401)][o(412)]="100%",r[o(401)][o(376)]="contain",r.alt=e[o(345)]||o(416),tt.addClickEventForRenderer(r,e,n,()=>this[o(341)](),this[o(403)],"Video fallback"),t.innerHTML="",t[o(422)](r)}}),t[r(422)](s),t.appendChild(i),this[r(403)]&&console[r(447)](r(348)+e[r(446)]+" (autoplay: "+s.autoplay+", muted: "+s.muted+r(371)+s[r(404)]+")")}}function Ut(){const t=["linkUrl","div","containerId","161265VlbGEe","): ","1846280znygXi","NATIVE","5516xZSXgR","🏠 Single native ad rendered: ","debug","#3b82f6","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","style","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","1245976atfxJp","Native Advertisement","className","⚠️ No native advertisements available for slot: ","_blank","src","54DiJFBZ","mouseleave","button","appendChild","1216779WZjMPC","advertisementEventTracker","alt","2402432crWuIR","click","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","textContent","#2563eb","imageUrl","warn","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","getDefaultHeight","backgroundColor","open","6324AuoATN","addEventListener","Learn More","title","453715lLUfnZ","log","length","Native click tracked for ad: ","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","innerHTML","createElement","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","getElementById","🏠 Native ad rendered (first of ","renderAdElement","cssText","renderMultipleAds","img","mouseenter"];return(Ut=function(){return t})()}const Lt=Ot;function Ot(t,e){const n=Ut();return(Ot=function(t,e){return n[t-=444]})(t,e)}!function(t){const e=Ot,n=t();for(;;)try{if(592407===parseInt(e(471))/1+parseInt(e(500))/2+-parseInt(e(453))/3+-parseInt(e(456))/4+-parseInt(e(489))/5+-parseInt(e(467))/6*(parseInt(e(493))/7)+-parseInt(e(491))/8*(-parseInt(e(449))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ut);class zt extends ut{constructor(t=!1,e){super(n[Ot(492)],t,e)}[Lt(464)](){return"200px"}async[Lt(481)](t,e){const n=Lt,r=document[n(479)](t[n(488)]);if(!r)return;const s=document[n(477)]("div");if(s[n(445)]="adstage-ad adstage-native-ad",s[n(498)].cssText=n(463),e.title){const t=document[n(477)]("h3");t.textContent=e[n(470)],t.style.cssText=n(499),s[n(452)](t)}if(e[n(459)]){const t=document[n(477)]("p");t[n(459)]=e[n(459)],t[n(498)].cssText=n(475),s[n(452)](t)}if(e[n(461)]){const t=document.createElement(n(487));t[n(498)][n(482)]=n(458);const r=document[n(477)](n(484));r[n(448)]=e[n(461)],r[n(455)]=e[n(470)]||n(444),r[n(498)].cssText=n(497),t.appendChild(r),s.appendChild(t)}if(e[n(486)]){const t=document[n(477)](n(451));t[n(459)]=n(469),t[n(498)][n(482)]=n(478),t[n(468)](n(457),()=>{const t=n;this[t(454)]&&console[t(472)](t(474)+e._id),window[t(466)](e[t(486)],t(447))}),t.addEventListener(n(485),()=>{const e=n;t.style.backgroundColor=e(460)}),t[n(468)](n(450),()=>{const e=n;t[e(498)][e(465)]=e(496)}),s.appendChild(t)}r[n(476)]="",r[n(452)](s),this[n(495)]&&console.log(n(494)+e._id)}async[Lt(483)](t,e){const n=Lt;e[n(473)]>0?(await this[n(481)](t,e[0]),this[n(495)]&&console[n(472)](n(480)+e.length+n(490)+t.id)):this.debug&&console[n(462)](n(446)+t.id)}}const Bt=Mt;function Nt(){const t=["innerHTML","#6b7280","body","open","_id","click","div","createElement","_blank","): ","appendChild","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","8499720KwzJFR","className","length","#2563eb","38KRiRrc","🖼️ Interstitial ad rendered: ","95908CWRNwE","2326008uwShIR","fadeOut 0.3s ease-out forwards","head","🖼️ Interstitial ad closed","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","getDefaultHeight","🖼️ Interstitial ad rendered (first of ","3455TplHCZ","src","advertisementEventTracker","animation","Escape","button","336477vvJNFJ","Interstitial click tracked for ad: ","removeEventListener","backgroundColor","mouseenter","adstage-interstitial-styles","imageUrl","2987852suFzxO","debug","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","color","635445IgnNYv","getElementById","Interstitial Advertisement","#3b82f6","log","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","104UkWqlx","⚠️ No interstitial advertisements available for slot: ","img","linkUrl","5538cCMUjX","adstage-interstitial-content","textContent","adstage-interstitial-overlay","warn","renderAdElement","closeInterstitial","renderMultipleAds","title","keydown","addEventListener","style","cssText","containerId","#374151"];return(Nt=function(){return t})()}function Mt(t,e){const n=Nt();return(Mt=function(t,e){return n[t-=311]})(t,e)}!function(t){const e=Mt,n=t();for(;;)try{if(985527===parseInt(e(367))/1*(parseInt(e(365))/2)+-parseInt(e(313))/3+-parseInt(e(368))/4+parseInt(e(375))/5*(-parseInt(e(334))/6)+parseInt(e(320))/7+-parseInt(e(330))/8*(-parseInt(e(324))/9)+-parseInt(e(361))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nt);class Vt extends ut{constructor(t=!1,e){super(n.INTERSTITIAL,t,e)}[Bt(373)](){return"400px"}async[Bt(339)](t,e){const n=Bt;if(!document[n(325)](t[n(347)]))return;const r=document.createElement(n(355));r[n(362)]=n(337),r[n(345)][n(346)]="\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ";const s=document[n(356)](n(355));s[n(362)]=n(335),s[n(345)].cssText=n(322);const o=document[n(356)](n(312));if(o[n(349)]="×",o[n(345)][n(346)]="\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ",o[n(344)]("click",()=>{this[n(340)](r)}),o[n(344)](n(317),()=>{const t=n;o[t(345)].backgroundColor="#e5e7eb",o.style[t(323)]=t(348)}),o[n(344)]("mouseleave",()=>{const t=n;o[t(345)][t(316)]="#f3f4f6",o.style.color=t(350)}),e[n(319)]){const t=document.createElement(n(332));t[n(376)]=e[n(319)],t.alt=e.title||n(326),t.style.cssText=n(360),s.appendChild(t)}if(e[n(342)]){const t=document[n(356)]("h2");t[n(336)]=e.title,t[n(345)].cssText=n(329),s[n(359)](t)}if(e[n(336)]){const t=document[n(356)]("p");t[n(336)]=e[n(336)],t.style[n(346)]=n(372),s[n(359)](t)}if(e.linkUrl){const t=document[n(356)](n(312));t[n(336)]="Get Started",t.style[n(346)]="\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ",t[n(344)]("click",()=>{const t=n;this[t(377)]&&console[t(328)](t(314)+e[t(353)]),window[t(352)](e[t(333)],t(357)),this[t(340)](r)}),t[n(344)](n(317),()=>{const e=n;t[e(345)][e(316)]=e(364)}),t[n(344)]("mouseleave",()=>{const e=n;t[e(345)][e(316)]=e(327)}),s[n(359)](t)}const i=t=>{const e=n;t.key===e(311)&&(this[e(340)](r),document[e(315)](e(343),i))};if(document[n(344)]("keydown",i),r[n(344)](n(354),t=>{const e=n;t.target===r&&this[e(340)](r)}),!document[n(325)](n(318))){const t=document[n(356)](n(345));t.id=n(318),t[n(336)]="\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ",document[n(370)][n(359)](t)}s.appendChild(o),r[n(359)](s),document[n(351)][n(359)](r),this[n(321)]&&console[n(328)](n(366)+e[n(353)])}async[Bt(341)](t,e){const n=Bt;e.length>0?(await this[n(339)](t,e[0]),this[n(321)]&&console[n(328)](n(374)+e[n(363)]+n(358)+t.id)):this.debug&&console[n(338)](n(331)+t.id)}[Bt(340)](t){const e=Bt;t[e(345)][e(378)]=e(369),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t)},300),this.debug&&console.log(e(371))}}const Ft=Ht;function Ht(t,e){const n=jt();return(Ht=function(t,e){return n[t-=442]})(t,e)}function jt(){const t=["loadImageDimensions","toLowerCase","appendChild","306477ruEzYR","adstage-ad adstage-","naturalHeight","createElement","No renderer found for ad type: ","42095vOdvWO","VIDEO","img","setAttribute","data-adstage-ad-id","get","debug","100%","warn","src"," renderers","⚠️ Container optimization is only supported for BANNER ads, got: ","getRenderer","[AdRenderer] ","calculateOptimalContainerSize","imageUrl","style","createPlaceholder","backgroundColor","padding","4365396CHkjma","283617dHqLTW","renderFallback","renderAd","set","advertisementEventTracker","NATIVE","objectFit","INTERSTITIAL","8px","size","76rbYgQM","config","advertisement","textContent","renderAdElement","adType","initializeRenderers","calculateAdSize","renderers","#f9f9f9","584WxbCtO","getDefaultHeightForAdType","className","width","BANNER","🏭 AdRenderer factory initialized with ","renderOptimizedBannerImage","height"," Ad","Failed to load image: ","display","optimizeContainerForBannerAds","TEXT","border","onerror","3131324wqVyFW","isLoaded","videoUrl","renderAdSlider","log","556179PUmdRH","4632678ggBaEa","getDefaultHeight"];return(jt=function(){return t})()}!function(t){const e=Ht,n=t();for(;;)try{if(810507===-parseInt(e(485))/1+-parseInt(e(448))/2+parseInt(e(453))/3+parseInt(e(495))/4*(-parseInt(e(464))/5)+parseInt(e(454))/6+-parseInt(e(484))/7+-parseInt(e(505))/8*(-parseInt(e(459))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(jt);class Wt{constructor(t=!1,e){const n=Ht;this[n(503)]=new Map,this[n(470)]=t,this[n(489)]=e||null,this.initializeRenderers()}[Ft(501)](){const t=Ft;this[t(503)].set(n[t(509)],new mt(this.debug,this[t(489)])),this[t(503)][t(488)](n[t(445)],new Tt(this[t(470)],this[t(489)])),this[t(503)][t(488)](n.VIDEO,new Dt(this[t(470)],this[t(489)])),this[t(503)][t(488)](n[t(490)],new zt(this[t(470)],this[t(489)])),this.renderers[t(488)](n[t(492)],new Vt(this[t(470)],this[t(489)])),this.debug&&console[t(452)](t(510)+this[t(503)][t(494)]+t(474))}createAdElement(t,e){const r=Ft,s=this[r(476)](t[r(500)]),o=document[r(462)]("div");o[r(507)]=r(460)+String(t[r(500)])[r(457)](),o[r(467)](r(468),e._id),o.setAttribute("data-adstage-slot-id",t.id);const{width:i,height:a}=s[r(502)](o,t[r(496)]||{},e);switch(o.style[r(508)]=i,o[r(480)][r(512)]=a,o.style[r(443)]="block",t[r(500)]){case n[r(509)]:if(e[r(479)]){const t=document[r(462)](r(466));t[r(473)]=e[r(479)],t[r(480)][r(508)]=r(471),t[r(480)][r(512)]=r(471),t[r(480)][r(491)]="cover",o[r(458)](t)}break;case n[r(465)]:if(e[r(450)]){const t=document[r(462)]("video");t[r(473)]=e[r(450)],t.style[r(508)]=r(471),t[r(480)][r(512)]=r(471),o[r(458)](t)}break;case n[r(445)]:if(e.textContent){const t=document.createElement("div");t[r(498)]=e[r(498)]||"",t[r(480)][r(483)]=r(493),o[r(458)](t)}break;default:o[r(480)][r(446)]="1px dashed #ccc",o[r(480)][r(482)]=r(504),o[r(498)]=t[r(500)]+r(513)}return o}getRenderer(t){const e=Ft,n=this.renderers[e(469)](t);if(!n)throw new Error(e(463)+t);return n}[Ft(481)](t,e,n,r,s){const o=Ft;this.getRenderer(n)[o(481)](t,e,r,s)}async optimizeContainerForBannerAds(t,e){const r=Ft;if(t.adType!==n[r(509)])return void(this.debug&&console[r(472)](r(475)+t[r(500)]));const s=this[r(476)](n[r(509)]);await s[r(444)](t,e)}async[Ft(451)](t,e){const n=Ft,r=this[n(476)](t[n(500)]);await r.renderMultipleAds(t,e)}async[Ft(487)](t){const e=Ft;if(!t[e(497)])throw new Error("No advertisement to render");const n=this[e(476)](t[e(500)]);await n.renderAdElement(t,t[e(497)]),t[e(449)]=!0}async[Ft(499)](t,e){const n=Ft,r=this[n(476)](t[n(500)]);await r.renderAdElement(t,e)}renderFallback(t){const e=Ft;this.getRenderer(t[e(500)])[e(486)](t)}[Ft(506)](t){const e=Ft;return this.getRenderer(t)[e(455)]()}calculateAdSize(t,e,n,r){const s=Ft;return this.getRenderer(e)[s(502)](t,n,r)}[Ft(456)](t){return new Promise((e,n)=>{const r=Ht,s=new Image;s.onload=()=>{const t=Ht;e({width:s.naturalWidth,height:s[t(461)]})},s[r(447)]=()=>{n(new Error(r(442)+t))},s[r(473)]=t})}async[Ft(511)](t,e,r){const s=Ft;if(r[s(500)]!==n.BANNER)throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const o=this[s(476)](n[s(509)]);return await o[s(511)](t,e,r)}async calculateOptimalContainerSize(t,e,r){const s=Ft;if(r!==n[s(509)]){return{width:"100%",height:this.getRenderer(r)[s(455)](),aspectRatio:16/9}}const o=this[s(476)](n[s(509)]);return await o[s(478)](t,e)}log(t,...e){const n=Ft;this[n(470)]&&console.log(n(477)+t,...e)}}const Kt=Xt;function Xt(t,e){const n=Zt();return(Xt=function(t,e){return n[t-=398]})(t,e)}function Zt(){const t=["slots"," ads automatically","🚫 Advertisement not found with ID: ","language","destroy","renderAdSlider","autoSlide","warn","createAd","advertisement"," (element found)","adType","Failed to fetch ad data: ","onClick","getAllSlots","getAttribute","mutationObserver","ELEMENT_NODE","BANNER","autoplay","status","fetchAdData","Failed to refresh ad slot: ","Ads module not initialized. Call AdStage.init() first.","height","video","🔄 Ad slot refreshed: ","advertisementEventTracker","data-adstage-slot-id","viewabilityTracker","createAdWithRetry","maxLines","setAttribute","✅ Simple viewable impression tracked for ad ","renderAd","2410525fLnJOY","852RFPXRs","renderAdElement","VIDEO","json","100%","refreshAdSlot","slideInterval","getElementById","adstage-","debug","deviceType","auto","delete","🔍 Auto-cleanup MutationObserver enabled","NATIVE","startSimpleViewabilityTracking","📊 Advertisement event tracking enabled for slot: ","append","clear","error","then"," removed",". Retrying in ","length","getBaseUrl","loadAdContentInBackground","🗑️ Ads module destroyed","INTERSTITIAL","🗑️ Ad slot destroyed: ","🎯 Ads module initialized (sync mode) with auto-cleanup","get","ms... (attempt ","renderFallback","API key not configured","adId"," attempts: ","optimizeContainerForBannerAds","observe","native","forEach","Auto-cleanup failed for slot "," ads for type: ","_id","innerHTML","5506105Zhrrmx","ensureReady","isReady","interstitial","advertisements","Container not found: ","1940cfoJhX","create","6wVQEYe","_isReady","autoDestroy","auto-","detail","undefined","width","muted","controls","7952985ZUAwep","apiKey"," ads)","_config"," (attempt ","GET","18FfrhWM","toString","removedNodes","📊 Fetched ","init","createPlaceholder","country","1773961nYpjhp","setupAutoCleanup","hideControls","banner","containerId","log","TEXT","📊 Fetched specific ad with ID: ","disconnect","config","loop","createAdInternal","❌ Failed to track viewable impression:","119728GZemtD","random","❌ Failed to load ad for slot: ","2055088RdfpiK","playsinline","handleRemovedElement","🧹 Auto-cleanup: slot ","style","refresh","adRenderer","10MZpbCj","body"];return(Zt=function(){return t})()}!function(t){const e=Xt,n=t();for(;;)try{if(583276===-parseInt(e(465))/1*(-parseInt(e(500))/2)+parseInt(e(413))/3*(-parseInt(e(463))/4)+parseInt(e(412))/5+-parseInt(e(480))/6*(parseInt(e(487))/7)+parseInt(e(503))/8+parseInt(e(474))/9+parseInt(e(510))/10*(-parseInt(e(457))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Zt);class Jt{constructor(){const t=Xt;this._isReady=!1,this[t(477)]=null,this[t(512)]=new Map,this[t(404)]=null,this[t(509)]=null,this.mutationObserver=null}[Kt(484)](t){const e=Kt;this[e(477)]=t,this.advertisementEventTracker=new O(X[e(437)](),t[e(475)],t[e(422)]||!1,this[e(512)]),this[e(509)]=new Wt(t[e(422)]||!1,this[e(404)]),this.setupAutoCleanup(),this[e(466)]=!0,t[e(422)]&&console[e(492)](e(442))}[Kt(459)](){return this[Kt(466)]}getConfig(){return this._config}[Kt(490)](t,e){const r=Kt;this.ensureReady();const s={width:e?.[r(471)]||r(417),height:e?.height||r(424),autoSlide:e?.[r(518)]||!1,slideInterval:e?.[r(419)]||5e3,onClick:e?.[r(525)],adId:e?.[r(447)],language:e?.[r(515)],deviceType:e?.deviceType,country:e?.country};return this[r(520)](t,n[r(530)],s)}text(t,e){const r=Kt;this[r(458)]();const s={maxLines:e?.[r(408)]||3,style:e?.[r(507)]||"default",onClick:e?.[r(525)],adId:e?.[r(447)],language:e?.language,deviceType:e?.[r(423)],country:e?.[r(486)]};return this[r(520)](t,n[r(493)],s)}[Kt(402)](t,e){const r=Kt;this[r(458)]();const s={width:e?.[r(471)]||640,height:e?.[r(401)]||360,autoplay:void 0===e?.autoplay||e[r(531)],muted:void 0===e?.muted||e[r(472)],loop:void 0===e?.[r(497)]||e.loop,playsinline:!1!==e?.[r(504)],controls:void 0!==e?.[r(473)]&&e[r(473)],hideControls:e?.[r(489)]||!1,customControls:e?.customControls,autoSlide:!1,maxAds:1,onClick:e?.onClick,...e?.[r(447)]&&{adId:e[r(447)]}};return this.createAd(t,n[r(415)],s)}[Kt(451)](t,e){const r=Kt;return this.ensureReady(),this[r(520)](t,n[r(427)],e||{})}[Kt(460)](t,e){const r=Kt;return this[r(458)](),this[r(520)](t,n[r(440)],e||{})}[Kt(508)](t){const e=Kt;this[e(458)]();const n=this[e(512)][e(443)](t);if(!n)throw new Error("Ad slot not found: "+t);this[e(418)](n),this[e(477)]?.[e(422)]&&console[e(492)](e(403)+t)}[Kt(516)](t){const e=Kt;this[e(458)]();const n=this[e(512)][e(443)](t);if(!n)throw new Error("Ad slot not found: "+t);n.viewabilityTracker&&n.viewabilityTracker[e(516)]();const r=document[e(420)](n[e(491)]);r&&(r[e(456)]=""),this[e(512)][e(425)](t),this[e(477)]?.debug&&console[e(492)](e(441)+t)}[Kt(526)](){const t=Kt;return this.ensureReady(),Array.from(this[t(512)].values())}getSlotById(t){const e=Kt;return this[e(458)](),this[e(512)].get(t)||null}[Kt(520)](t,e,n){const r=Kt;if(!this[r(477)]?.[r(475)])throw new Error(r(446));const s=r(421)+e+"-"+Date.now()+"-"+Math[r(501)]()[r(481)](36).substr(2,9);return this[r(407)](t,e,n,s,0),s}async[Kt(407)](t,e,n,r,s){const o=Kt,i=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[o(420)](t),!c)return s<4?(this._config?.debug&&console[o(519)](o(462)+t+o(435)+i[s+1]+o(444)+(s+1)+"/5)"),void setTimeout(()=>{this[o(407)](t,e,n,r,s+1)},i[s+1])):void console[o(432)]("Container not found after 5"+o(448)+t)}else c=t,a=c.id||o(468)+r,!c.id&&(c.id=a);try{this[o(498)](a,e,n,r,c)}catch(t){console[o(432)]("광고 생성 중 오류 발생:",t)}}[Kt(498)](t,e,r,s,o){const i=Kt;o[i(409)](i(405),s),this.adRenderer?.[i(485)](o,s,e,r,this[i(477)]);const a={id:s,containerId:t,adType:e,width:r[i(471)]||"100%",height:r[i(401)]||(e===n.TEXT?i(424):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:e,...r},load:async()=>this[i(398)](e,r)[i(433)](t=>t[0]||null),render:t=>this[i(509)]?.[i(414)](a,t),refresh:async()=>this[i(418)](a),destroy:()=>this.destroy(s)};this[i(512)].set(s,a),this[i(438)](a),this[i(404)]&&this[i(477)]?.debug&&console[i(492)](i(429)+s)}async[Kt(438)](t){const e=Kt;try{const r=await this[e(398)](t[e(523)],t[e(496)]);if(!r||0===r[e(436)])return void this[e(509)]?.[e(445)](t);t[e(523)]===n.BANNER&&r.length>0&&await(this[e(509)]?.[e(449)](t,r)),r.length>1||t[e(496)]?.[e(518)]?(await(this[e(509)]?.[e(517)](t,r)),this._config?.[e(422)]&&console[e(492)]("🎠 Slider will handle VIEWABLE events for "+r[e(436)]+e(513))):(t.advertisement=r[0],await(this[e(509)]?.[e(414)](t,r[0])),this[e(428)](t,r[0])),t.isLoaded=!0,this._config?.[e(422)]&&console[e(492)]("✅ Ad loaded for slot: "+t.id+" ("+r[e(436)]+e(476))}catch(n){console.error(e(502)+t.id,n),this[e(509)]?.[e(445)](t)}}[Kt(428)](t,e){const n=(r=0)=>{const s=Xt,o=document[s(420)](t.id);if(!o)return void(r<5?(setTimeout(()=>n(r+1),300),this[s(477)]?.debug&&console[s(492)]("🔄 Retrying viewability tracking for slot: "+t.id+s(478)+(r+1)+")")):console[s(519)]("❌ Failed to find element for viewability tracking: "+t.id));const i=new M(o,async()=>{await this.handleViewableEvent(e,t)});t[s(406)]=i,this[s(477)]?.[s(422)]&&console.log("🎯 Simple viewability tracking started for slot: "+t.id+s(522))};n()}async handleViewableEvent(t,e){const n=Kt;try{this[n(404)]&&(await this[n(404)].trackAdvertisementEvent(t[n(455)],e.id,c.VIEWABLE),this[n(477)]?.[n(422)]&&console[n(492)](n(410)+t[n(455)]))}catch(t){console[n(432)](n(499),t)}}async fetchAdData(t,e){const n=Kt;if(!this._config?.[n(475)])throw new Error(n(446));if(e[n(447)]){const t=""+X[n(461)][n(469)](e.adId),r=await fetch(t,{method:n(479),headers:_[n(464)](this[n(477)][n(475)])});if(!r.ok){if(404===r[n(532)])return console[n(519)](n(514)+e[n(447)]),[];throw new Error("Failed to fetch ad data: "+r[n(532)])}const s=await r.json();return this[n(477)]?.[n(422)]&&console[n(492)](n(494)+e.adId,s),[s]}const r=new URLSearchParams;r[n(430)](n(523),t),e[n(515)]&&r[n(430)](n(515),e[n(515)]),e.deviceType&&r.append("deviceType",e[n(423)]),e[n(486)]&&r[n(430)](n(486),e[n(486)]);const s=X[n(461)].list()+"?"+r[n(481)](),o=await fetch(s,{method:n(479),headers:_.create(this._config.apiKey)});if(!o.ok)throw new Error(n(524)+o[n(532)]);const i=(await o[n(416)]())[n(461)]||[];return this[n(477)]?.[n(422)]&&console[n(492)](n(483)+i[n(436)]+n(454)+t+", filters:",{language:e.language,deviceType:e[n(423)],country:e.country}),i}async[Kt(418)](t){const e=Kt;try{const n=await this[e(398)](t[e(523)],t.config||{});n&&n[e(436)]>0&&(t[e(521)]=n[0],await(this[e(509)]?.[e(411)](t)),this[e(404)]&&console[e(492)]("New advertisement viewable tracked for slot:",t.id))}catch(n){console.error(e(399)+t.id,n)}}[Kt(458)](){const t=Kt;if(!this[t(466)])throw new Error(t(400))}[Kt(488)](){const t=Kt;typeof window!==t(470)&&typeof document!==t(470)&&(this[t(528)]&&this[t(528)][t(495)](),this[t(528)]=new MutationObserver(e=>{const n=t;e[n(452)](t=>{const e=n;t[e(482)].forEach(t=>{const n=e;t.nodeType===Node[n(529)]&&this[n(505)](t)})})}),this.mutationObserver[t(450)](document[t(511)],{childList:!0,subtree:!0}),this[t(477)]?.[t(422)]&&console[t(492)](t(426)))}[Kt(505)](t){const e=Kt,n=t.getAttribute(e(405));if(n)return void this[e(467)](n);t.querySelectorAll("[data-adstage-slot-id]").forEach(t=>{const n=e,r=t[n(527)](n(405));r&&this[n(467)](r)})}[Kt(467)](t){const e=Kt;if(this[e(512)][e(443)](t))try{this[e(512)].delete(t),this[e(477)]?.debug&&console[e(492)](e(506)+t+e(434))}catch(n){this._config?.debug&&console[e(519)](e(453)+t+":",n)}}destroyModule(){const t=Kt,e=this[t(477)]?.debug;this[t(528)]&&(this[t(528)][t(495)](),this[t(528)]=null),this[t(512)][t(431)](),this[t(404)]=null,this[t(509)]=null,this[t(466)]=!1,this[t(477)]=null,e&&console[t(492)](t(439))}}var Qt=Yt;function Yt(t,e){var n=qt();return(Yt=function(t,e){return n[t-=279]})(t,e)}function qt(){var t=["ads","35101440AVqHNx","✅ Config module initialized (sync mode)","1653435igcwVe","updateConfig","7177520mZaZfb","getBaseUrl","_isReady","993981GVKgoV","432qaTwxP","debug","API key not available","_config","1WsHUIM","isModuleEnabled","getApiHeaders","baseUrl","1720326ILOxkI","Config module not initialized","modules","includes","_organizationInfo","4dPChsc","events","getOrganizationInfo","log","9AoubyA","1846232QNGmxc","init","getEnabledModules","create","setBaseUrl","isReady","🔄 Config updated","58705KPYvxS","getConfig","isDebugMode","getApiEndpoint"];return(qt=function(){return t})()}!function(t){for(var e=Yt,n=t();;)try{if(441872===-parseInt(e(303))/1*(parseInt(e(307))/2)+parseInt(e(298))/3*(-parseInt(e(312))/4)+parseInt(e(286))/5*(-parseInt(e(299))/6)+parseInt(e(293))/7+-parseInt(e(279))/8*(parseInt(e(316))/9)+-parseInt(e(295))/10+parseInt(e(291))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qt);class Gt{constructor(){var t=Yt;this[t(297)]=!1,this[t(302)]=null,this[t(311)]=null}[Qt(280)](t){var e=Qt;this._config={timeout:3e4,debug:!1,modules:[e(290),e(313),"config"],...t},t.baseUrl&&X[e(283)](t[e(306)]),this[e(297)]=!0,t.debug&&console[e(315)](e(292),{modules:this[e(302)][e(309)],endpoint:X[e(296)](),mode:"development"})}[Qt(284)](){return this[Qt(297)]}[Qt(287)](){return this[Qt(302)]}[Qt(314)](){return this[Qt(311)]}[Qt(289)](){return X.getBaseUrl()}[Qt(288)](){var t=Qt;return this[t(302)]?.[t(300)]||!1}[Qt(281)](){var t=Qt;return this[t(302)]?.modules||[]}[Qt(304)](t){var e=Qt;return this[e(281)]()[e(310)](t)}[Qt(294)](t){var e=Qt;if(!this[e(302)])throw new Error(e(308));this[e(302)]={...this[e(302)],...t},this[e(288)]()&&console[e(315)](e(285),t)}[Qt(305)](){var t=Qt;if(!this[t(302)]?.apiKey)throw new Error(t(301));return _[t(282)](this[t(302)].apiKey)}}function $t(t,e){const n=ne();return($t=function(t,e){return n[t-=404]})(t,e)}const te=$t;!function(t){const e=$t,n=t();for(;;)try{if(914729===-parseInt(e(425))/1*(parseInt(e(408))/2)+-parseInt(e(442))/3+parseInt(e(428))/4*(parseInt(e(426))/5)+-parseInt(e(406))/6+parseInt(e(438))/7+parseInt(e(413))/8+parseInt(e(435))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ne);class ee{static[te(416)](){const t=te;return{...ee[t(418)](),...ee[t(420)]}}static[te(418)](){const t=te;if(!I[t(417)]())return{category:"other",platform:t(432),model:t(432),osVersion:t(432)};const e=navigator.userAgent.toLowerCase();let n="desktop";/tablet|ipad/[t(437)](e)?n=t(427):C[t(429)]()&&(n=t(424));const r=C[t(439)]();return{category:n,platform:ee[t(405)](r),model:navigator[t(434)],osVersion:navigator[t(434)]}}static[te(404)](t){ee[te(420)]={...ee._userProvidedDeviceInfo,...t}}static setDeviceProperty(t,e){ee[te(420)][t]=e}static clearDeviceInfo(){ee[te(420)]={}}static[te(440)](){return{...ee._userProvidedDeviceInfo}}static[te(405)](t){const e=te;switch(t){case e(433):return"iOS";case e(421):return e(419);case e(407):return e(436);case e(412):return e(409);default:return e(422)}}static[te(441)](){const t=te;if(!I.isBrowser())return{userAgent:t(432),language:"ko-KR",platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(430),viewportSize:"0x0"};const e=I.getViewportInfo();return{userAgent:navigator[t(431)],language:navigator[t(411)]||"ko-KR",platform:navigator[t(434)],cookieEnabled:navigator[t(415)],onLine:navigator[t(423)],screenResolution:screen[t(410)]+"x"+screen[t(414)],viewportSize:e[t(410)]+"x"+e[t(414)]}}}function ne(){const t=["test","2628192coTNzW","getPlatform","getUserDeviceInfo","getDetailedInfo","3967152ZBfQWi","setDeviceInfo","mapPlatformForEvents","8305044okvrcN","web","2KvWcRQ","Desktop Web","width","language","desktop","11394072fwNJFN","height","cookieEnabled","getDeviceInfo","isBrowser","getAutoDetectedDeviceInfo","Android","_userProvidedDeviceInfo","android","Unknown","onLine","mobile","1481011zNapyX","5LLvfCl","tablet","5549088tsURdU","isMobile","0x0","userAgent","SSR","ios","platform","17237799kAoXkt","Mobile Web"];return(ne=function(){return t})()}ee[te(420)]={};const re=ie;function se(){const t=["3dicvmG","language","1108614IJcLId","2566151zQXkQG","4760FqHPoO","1287sBaSHo","split","setUserProperty","5VfhPFi","resolvedOptions","12FbPOTh","getUserInfo","extractCountryFromLanguage","1209164KthqOI","1203494IGZJnU","setUserProperties","getBaseUserInfo","timeZone","43816woTePm","42262CsORSc","isBrowser","ko-KR","4350940PllFwA","192nalpFw","_userProperties"];return(se=function(){return t})()}!function(t){const e=ie,n=t();for(;;)try{if(994687===-parseInt(e(350))/1+-parseInt(e(351))/2*(-parseInt(e(362))/3)+-parseInt(e(359))/4*(-parseInt(e(345))/5)+-parseInt(e(347))/6*(parseInt(e(365))/7)+-parseInt(e(355))/8*(-parseInt(e(342))/9)+-parseInt(e(366))/10*(-parseInt(e(356))/11)+-parseInt(e(360))/12*(parseInt(e(364))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(se);class oe{static[re(348)](){return{...oe[re(353)](),...oe._userProperties}}static[re(353)](){const t=re;if(!I[t(357)]())return{language:t(358),country:"KR"};const e=navigator[t(363)]||t(358);return{language:e,country:oe[t(349)](e)}}static[re(349)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[re(343)]("-")[0]]||"KR"}static[re(352)](t){oe[re(361)]={...oe._userProperties,...t}}static[re(344)](t,e){oe._userProperties[t]=e}static clearUserProperties(){oe._userProperties={}}static getCurrentUserProperties(){return{...oe[re(361)]}}static estimateLocation(){const t=re;if(!I[t(357)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl.DateTimeFormat()[t(346)]()[t(354)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function ie(t,e){const n=se();return(ie=function(t,e){return n[t-=342]})(t,e)}oe[re(361)]={};const ae=de;function ce(){const t=["getSessionId","getItem","substr","removeItem","256774pavcec","ssr_session_","2503998HOLLjs","_sessionStartTime","isBrowser","5640092jLsYPB","now","adstage_session_start","1146446dAZAbI","196230saEZDP","setUserId","refreshSession","clearUserId","248RVfnyE","getSessionInfo","isNewSession","adstage_session_id","_userId","getSessionStats","4042095NhZWPi","2788758kNfLPf","adstage_user_id","getSessionDuration","isSessionExpired","50egJbny"];return(ce=function(){return t})()}function de(t,e){const n=ce();return(de=function(t,e){return n[t-=161]})(t,e)}!function(t){const e=de,n=t();for(;;)try{if(877781===parseInt(e(180))/1+-parseInt(e(174))/2+parseInt(e(162))/3+parseInt(e(177))/4+parseInt(e(167))/5*(-parseInt(e(181))/6)+parseInt(e(172))/7*(-parseInt(e(185))/8)+-parseInt(e(163))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ce);class le{static[ae(168)](){const t=ae;if(!I[t(176)]())return t(173)+Date.now();const e=sessionStorage.getItem(t(188));if(e)return e;const n="session_"+Math.random().toString(36)[t(170)](2,9)+"_"+Date[t(178)]();return sessionStorage.setItem(t(188),n),!le[t(175)]&&(le[t(175)]=Date[t(178)](),I[t(176)]()&&sessionStorage.setItem("adstage_session_start",String(le._sessionStartTime))),n}static[ae(182)](t){le[ae(189)]=t,I.isBrowser()&&localStorage.setItem("adstage_user_id",t)}static getUserId(){const t=ae;if(le._userId)return le[t(189)];if(I[t(176)]()){const e=localStorage[t(169)](t(164));if(e)return le[t(189)]=e,e}}static[ae(184)](){const t=ae;le[t(189)]=void 0,I[t(176)]()&&localStorage[t(171)](t(164))}static[ae(186)](){const t=ae,e=le[t(168)](),n=le.getUserId(),r=le[t(187)]();return{sessionId:e,userId:n,sessionDuration:le[t(165)](),isNewSession:r}}static[ae(187)](){const t=ae;if(!I[t(176)]())return!0;const e=sessionStorage.getItem(t(188)),n=sessionStorage[t(169)](t(179));return!e||!n}static getSessionDuration(){const t=ae;if(!I[t(176)]())return 0;const e=sessionStorage[t(169)](t(179));return e?Date[t(178)]()-parseInt(e,10):0}static[ae(183)](){const t=ae;return I[t(176)]()&&(sessionStorage[t(171)](t(188)),sessionStorage[t(171)](t(179))),le._sessionStartTime=void 0,le[t(168)]()}static isSessionExpired(t=24){return le[ae(165)]()>60*t*60*1e3}static[ae(161)](){const t=ae,e=le.getSessionId(),n=le.getUserId(),r=le[t(165)](),s=le[t(166)](),o=le.isNewSession();let i;if(I.isBrowser()){const e=sessionStorage[t(169)](t(179));i=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:i,duration:r,isExpired:s,isNewSession:o}}}const ue=pe;function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=229]})(t,e)}function he(){const t=["create","events","📊 Events module initialized","setUserId","📱 User provided device info cleared","❌ Failed to track event:","📱 Device property set:","status","apiKey","👤 User ID set:","clearDeviceInfo","getCurrentUserProperties","Events module not initialized. Call AdStage.init() first.","sendEventToServer","log","error","7506CfPvLI","getUserProperties","setDeviceProperty","📱 Device info set:","1521090xxukHk","_isReady","getDeviceInfo","getSessionId","4807316hNQWKP","3029196eyXxKe","isReady","debug","application/json","40056zeAoMQ","getUserInfo","API key not configured for event tracking.","setDeviceInfo","5188353AwrkXo","Event tracking failed: ","_config","6195aplVGF","getUserId","5OcjiPn","1746VcMKBz","813410YobPRQ","warn","Event data:","statusText","setUserProperties","👤 User properties set:","getUserDeviceInfo","POST"];return(he=function(){return t})()}!function(t){const e=pe,n=t();for(;;)try{if(940924===-parseInt(e(243))/1+parseInt(e(276))/2+parseInt(e(236))/3+-parseInt(e(275))/4*(parseInt(e(241))/5)+parseInt(e(267))/6*(-parseInt(e(239))/7)+-parseInt(e(232))/8*(-parseInt(e(242))/9)+-parseInt(e(271))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(he);class fe{constructor(){const t=pe;this[t(272)]=!1,this[t(238)]=null}init(t){const e=pe;this[e(238)]=t,this[e(272)]=!0,t[e(230)]&&console.log(e(253))}[ue(229)](){return this[ue(272)]}getConfig(){return this[ue(238)]}[ue(254)](t){const e=ue;le.setUserId(t),this[e(238)]?.[e(230)]&&console[e(265)](e(260),t)}[ue(240)](){return le[ue(240)]()}[ue(247)](t){const e=ue;oe[e(247)](t),this[e(238)]?.[e(230)]&&console[e(265)](e(248),t)}[ue(268)](){return oe[ue(262)]()}[ue(235)](t){const e=ue;ee[e(235)](t),this[e(238)]?.debug&&console[e(265)](e(270),t)}[ue(269)](t,e){const n=ue;ee.setDeviceProperty(t,e),this[n(238)]?.debug&&console[n(265)](n(257),t,e)}[ue(261)](){const t=ue;ee[t(261)](),this[t(238)]?.[t(230)]&&console[t(265)](t(255))}[ue(249)](){return ee[ue(249)]()}[ue(273)](){return ee[ue(273)]()}[ue(233)](){return oe.getUserInfo()}[ue(262)](){return oe.getCurrentUserProperties()}async track(t,e){const n=ue;if(this[n(272)])if(this[n(238)]?.apiKey)try{const r={eventName:t,userId:le[n(240)](),sessionId:le[n(274)](),sdkVersion:E(),device:ee[n(273)](),user:oe[n(233)](),params:e||{}};await this.sendEventToServer(r),this[n(238)][n(230)]&&console[n(265)]("✅ Event tracked:",t,e)}catch(r){console.error(n(256),r),this[n(238)][n(230)]&&console[n(266)](n(245),{eventName:t,properties:e})}else console[n(244)](n(234));else console[n(244)](n(263))}async[ue(264)](t){const e=ue,n=await fetch(X[e(252)].track(),{method:e(250),headers:{..._[e(251)](this[e(238)][e(259)]),"Content-Type":e(231)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(237)+n[e(258)]+" "+n[e(246)])}}const ge=ye;!function(t){const e=ye,n=t();for(;;)try{if(603871===-parseInt(e(477))/1*(-parseInt(e(475))/2)+-parseInt(e(510))/3*(parseInt(e(489))/4)+parseInt(e(502))/5*(-parseInt(e(487))/6)+parseInt(e(488))/7+-parseInt(e(492))/8*(parseInt(e(480))/9)+-parseInt(e(498))/10*(parseInt(e(493))/11)+-parseInt(e(471))/12*(-parseInt(e(497))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ie);class me{constructor(){const t=ye;this[t(484)]=!1,this._config=null,this[t(499)]=new Gt,this[t(483)]=new Jt,this[t(476)]=new fe}static init(t){const e=ye;!me[e(505)]&&(me[e(505)]=new me);const n=me[e(505)];if(!t[e(511)])throw new Error("API key is required for AdStage initialization");n[e(504)]={timeout:3e4,debug:!1,modules:["ads","events",e(499)],...t},n[e(504)].baseUrl&&(X[e(478)](n[e(504)][e(491)]),t[e(490)]&&console[e(501)](e(472),n[e(504)][e(491)]));const r=n._config.modules||[e(483),"events",e(499)];for(const t of r){const r=n[t];r&&"function"==typeof r[e(512)]&&r[e(512)](n._config)}n[e(484)]=!0,t[e(490)]&&console[e(501)](e(481),{version:"2.0.0",modules:r,apiKey:t[e(511)][e(500)](0,8)+e(508),mode:e(495)})}static[ge(507)](){const t=ge;return me[t(505)]?.[t(484)]||!1}static[ge(494)](){const t=ge;return me[t(505)]?._config||null}static[ge(509)](){const t=ge;if(!me[t(505)])throw new Error(t(485));return me.instance}static get[ge(483)](){const t=ge;return me[t(509)]()[t(483)]}static get[ge(476)](){const t=ge;return me[t(509)]()[t(476)]}static get config(){const t=ge;return me[t(509)]()[t(499)]}static[ge(486)](){const t=ge;me[t(505)]&&(me[t(505)][t(484)]=!1,me[t(505)][t(504)]=null)}}function ye(t,e){const n=Ie();return(ye=function(t,e){return n[t-=471]})(t,e)}function Ie(){const t=["545UIfPQI","from","_config","instance","✅ AdStage Debug: 광고 ","isReady","...","getInstance","3VSNAtC","apiKey","init","9141144vfUxHS","🌐 API endpoint configured:","📊 AdStage Debug: 현재 viewable 추적 상태","clear","254vnceOs","events","919FWUgYe","setBaseUrl","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","2358KElkEZ","🚀 AdStage SDK initialized (sync mode)","viewableTracker","ads","_isInitialized","AdStage not initialized. Call AdStage.init() first.","reset","3492Fwzazk","6553526DoEmaY","2532296WlMHkw","debug","baseUrl","3376QcipDf","11XeNGwK","getConfig","development","clearAdViewable","13COMkiw","4037460rqsVsZ","config","substring","log"];return(Ie=function(){return t})()}function ve(t,e){var n=be();return(ve=function(t,e){return n[t-=470]})(t,e)}function be(){var t=["resolve","735702fCfdyk","9EMdPbR","getUserId","setUserProperties","6VcXjNo","1443430CLXRhk","track","warn","events","1226228TyVzAO","1279552PqZLkH","AdStage not initialized. Call AdStage.init() first.","isReady","3560067rWLiVh","1371774tynDJr","setUserId","5694664sQoOFI"];return(be=function(){return t})()}me[ge(490)]={clearAllViewable:()=>{const t=ge;at[t(474)](),console.log(t(479))},clearAdViewable:(t,e)=>{const n=ge;at[n(496)](t,e),console[n(501)](n(506)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=ge;console[t(501)](t(473),{trackedCount:at[t(482)].size,trackedItems:Array[t(503)](at[t(482)])})}},function(t){for(var e=ve,n=t();;)try{if(397993===-parseInt(e(484))/1+-parseInt(e(476))/2+parseInt(e(470))/3*(parseInt(e(475))/4)+-parseInt(e(471))/5+parseInt(e(480))/6+parseInt(e(479))/7+-parseInt(e(482))/8*(-parseInt(e(485))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(be);var we,ke={exports:{}},Ee={},xe={exports:{}},Se={};xe.exports=function(){if(we)return Se;we=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),u=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,f={};function g(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=f,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var I=y.prototype=new m;I.constructor=y,h(I,g.prototype),I.isPureReactComponent=!0;var v=Array.isArray,b=Object.prototype.hasOwnProperty,w={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var s,o={},i=null,a=null;if(null!=n)for(s in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(i=""+n.key),n)b.call(n,s)&&!k.hasOwnProperty(s)&&(o[s]=n[s]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var d=Array(c),l=0;l<c;l++)d[l]=arguments[l+2];o.children=d}if(e&&e.defaultProps)for(s in c=e.defaultProps)void 0===o[s]&&(o[s]=c[s]);return{$$typeof:t,type:e,key:i,ref:a,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var S=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function C(n,r,s,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var c=!1;if(null===n)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case t:case e:c=!0}}if(c)return i=i(c=n),n=""===o?"."+A(c,0):o,v(i)?(s="",null!=n&&(s=n.replace(S,"$&/")+"/"),C(i,r,s,"",function(t){return t})):null!=i&&(x(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,s+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+n)),r.push(i)),1;if(c=0,o=""===o?".":o+":",v(n))for(var d=0;d<n.length;d++){var l=o+A(a=n[d],d);c+=C(a,r,s,l,i)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=u&&t[u]||t["@@iterator"])?t:null}(n),"function"==typeof l)for(n=l.call(n),d=0;!(a=n.next()).done;)c+=C(a=a.value,r,s,l=o+A(a,d++),i);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function T(t,e,n){if(null==t)return t;var r=[],s=0;return C(t,r,"","",function(t){return e.call(n,t,s++)}),r}function R(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var P={current:null},_={transition:null},D={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:_,ReactCurrentOwner:w};function U(){throw Error("act(...) is not supported in production builds of React.")}return Se.Children={map:T,forEach:function(t,e,n){T(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return T(t,function(){e++}),e},toArray:function(t){return T(t,function(t){return t})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},Se.Component=g,Se.Fragment=n,Se.Profiler=s,Se.PureComponent=y,Se.StrictMode=r,Se.Suspense=c,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,Se.act=U,Se.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=h({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=w.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in n)b.call(n,d)&&!k.hasOwnProperty(d)&&(s[d]=void 0===n[d]&&void 0!==c?c[d]:n[d])}var d=arguments.length-2;if(1===d)s.children=r;else if(1<d){c=Array(d);for(var l=0;l<d;l++)c[l]=arguments[l+2];s.children=c}return{$$typeof:t,type:e.type,key:o,ref:i,props:s,_owner:a}},Se.createContext=function(t){return(t={$$typeof:i,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:t},t.Consumer=t},Se.createElement=E,Se.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},Se.createRef=function(){return{current:null}},Se.forwardRef=function(t){return{$$typeof:a,render:t}},Se.isValidElement=x,Se.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:R}},Se.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},Se.startTransition=function(t){var e=_.transition;_.transition={};try{t()}finally{_.transition=e}},Se.unstable_act=U,Se.useCallback=function(t,e){return P.current.useCallback(t,e)},Se.useContext=function(t){return P.current.useContext(t)},Se.useDebugValue=function(){},Se.useDeferredValue=function(t){return P.current.useDeferredValue(t)},Se.useEffect=function(t,e){return P.current.useEffect(t,e)},Se.useId=function(){return P.current.useId()},Se.useImperativeHandle=function(t,e,n){return P.current.useImperativeHandle(t,e,n)},Se.useInsertionEffect=function(t,e){return P.current.useInsertionEffect(t,e)},Se.useLayoutEffect=function(t,e){return P.current.useLayoutEffect(t,e)},Se.useMemo=function(t,e){return P.current.useMemo(t,e)},Se.useReducer=function(t,e,n){return P.current.useReducer(t,e,n)},Se.useRef=function(t){return P.current.useRef(t)},Se.useState=function(t){return P.current.useState(t)},Se.useSyncExternalStore=function(t,e,n){return P.current.useSyncExternalStore(t,e,n)},Se.useTransition=function(){return P.current.useTransition()},Se.version="18.3.1",Se}();var Ae,Ce=xe.exports;
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,4 +7,4 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */ve.exports=function(){if(ke)return be;ke=1;var t=xe,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,i={key:!0,ref:!0,__self:!0,__source:!0};function o(t,n,o){var a,c={},d=null,l=null;for(a in void 0!==o&&(d=""+o),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!i.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 be.Fragment=n,be.jsx=o,be.jsxs=o,be}();var Se=ve.exports;const Ae=xe.createContext(null);function Ce(){const t=xe.useContext(Ae);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Te(){var t=["10041408NOBGlG","2255295YQEcKZ","311042zwSEyy","567tRROlz","2444536YrpxAf","4951962MuGzAe","4036880RxAskK","6xnMUjQ","79544PLoGOY"];return(Te=function(){return t})()}function Re(t,e){var n=Te();return(Re=function(t,e){return n[t-=496]})(t,e)}!function(t){for(var e=Re,n=t();;)try{if(500117===-parseInt(e(497))/1*(-parseInt(e(502))/2)+-parseInt(e(496))/3+parseInt(e(499))/4+-parseInt(e(501))/5+parseInt(e(500))/6+parseInt(e(498))/7*(parseInt(e(503))/8)+-parseInt(e(504))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Te);const _e=De;function De(t,e){const n=Be();return(De=function(t,e){return n[t-=426]})(t,e)}function Be(){const t=["294136Bvnskq","75855ZVDtBW","212440ekMhWP","267508TOZAEr","72bFoYSj","config","6755JdvQLR","2.0.0","935425jmlYUS","249406qBNELp","events","1110sHYaam"];return(Be=function(){return t})()}!function(t){const e=De,n=t();for(;;)try{if(108425===parseInt(e(435))/1+-parseInt(e(430))/2+parseInt(e(434))/3+parseInt(e(436))/4+-parseInt(e(429))/5+parseInt(e(432))/6*(-parseInt(e(427))/7)+parseInt(e(433))/8*(parseInt(e(437))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Be);const Le=_e(428),Pe=["ads",_e(431),_e(426)];"undefined"!=typeof window&&(window.AdStage=ge),t.AdStage=ge,t.AdStageProvider=function({children:t,config:e}){const[n,r]=xe.useState(!1),[s,i]=xe.useState(null),[o,a]=xe.useState(null),c=t=>{try{a(null),n&&ge.reset(),ge.init(t),i(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),i(null)}};xe.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:s,initialize:c,reset:()=>{try{ge.reset(),r(!1),i(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return Se.jsx(Ae.Provider,{value:d,children:t})},t.SDK_VERSION=Le,t.SUPPORTED_MODULES=Pe,t.getUserId=function(){var t=ye;if(ge[t(509)]())return ge[t(503)][t(507)]();console[t(517)](t(505))},t.getUserProperties=function(){var t=ye;if(ge.isReady())return ge.events[t(504)]();console.warn("AdStage not initialized. Call AdStage.init() first.")},t.setUserId=function(t){var e=ye;ge.isReady()?ge.events.setUserId(t):console[e(517)](e(505))},t.setUserProperties=function(t){var e=ye;ge[e(509)]()?ge[e(503)][e(506)](t):console[e(517)](e(505))},t.track=function(t,e){var n=ye;return ge[n(509)]()?ge[n(503)][n(512)](t,e):(console[n(517)](n(505)),Promise[n(518)]())},t.useAdStageContext=Ce,t.useAdStageInstance=function(){const{isInitialized:t}=Ce();return t?ge:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});
10
+ */ke.exports=function(){if(Ae)return Ee;Ae=1;var t=Ce,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,n,i){var a,c={},d=null,l=null;for(a in void 0!==i&&(d=""+i),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!o.hasOwnProperty(a)&&(c[a]=n[a]);if(t&&t.defaultProps)for(a in n=t.defaultProps)void 0===c[a]&&(c[a]=n[a]);return{$$typeof:e,type:t,key:d,ref:l,props:c,_owner:s.current}}return Ee.Fragment=n,Ee.jsx=i,Ee.jsxs=i,Ee}();var Te=ke.exports;const Re=Ce.createContext(null);function Pe(){const t=Ce.useContext(Re);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function _e(){var t=["7PdhtqH","4563420oUdVFJ","6315453tFIvQG","1140pwmFrZ","21XMCrjm","21366LPzTPW","659824EkDWUW","2119443sNutCg","1194138Jxvwcm","4Wbatly","44242BtYnxl","192kygrcv"];return(_e=function(){return t})()}function De(t,e){var n=_e();return(De=function(t,e){return n[t-=313]})(t,e)}!function(t){for(var e=De,n=t();;)try{if(408899===-parseInt(e(318))/1*(-parseInt(e(324))/2)+-parseInt(e(321))/3*(-parseInt(e(323))/4)+parseInt(e(317))/5*(parseInt(e(319))/6)+parseInt(e(314))/7*(-parseInt(e(320))/8)+parseInt(e(316))/9+-parseInt(e(315))/10+-parseInt(e(322))/11*(parseInt(e(313))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_e);const Ue=Le;function Le(t,e){const n=Oe();return(Le=function(t,e){return n[t-=174]})(t,e)}!function(t){const e=Le,n=t();for(;;)try{if(935053===parseInt(e(177))/1+-parseInt(e(175))/2+-parseInt(e(182))/3*(parseInt(e(178))/4)+parseInt(e(183))/5+-parseInt(e(181))/6+parseInt(e(186))/7*(parseInt(e(185))/8)+parseInt(e(179))/9*(parseInt(e(184))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Oe);function Oe(){const t=["8173494rpTkVJ","577482zeWRYI","1417260LKZPRo","150330jazxAe","664CbohHX","143787sJUZma","AdStage","events","39860eVFAGg","undefined","452792IQFeCY","36PGvnGp","963JGxZCs","ads"];return(Oe=function(){return t})()}const ze=[Ue(180),Ue(174),"config"];typeof window!==Ue(176)&&(window[Ue(187)]=me),t.AdStage=me,t.AdStageProvider=function({children:t,config:e}){const[n,r]=Ce.useState(!1),[s,o]=Ce.useState(null),[i,a]=Ce.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)}};Ce.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 Te.jsx(Re.Provider,{value:d,children:t})},t.SDK_VERSION="2.0.0",t.SUPPORTED_MODULES=ze,t.getUserId=function(){var t=ve;if(me[t(478)]())return me[t(474)][t(486)]();console[t(473)](t(477))},t.getUserProperties=function(){var t=ve;if(me[t(478)]())return me[t(474)].getUserProperties();console.warn(t(477))},t.setUserId=function(t){var e=ve;me.isReady()?me[e(474)][e(481)](t):console[e(473)](e(477))},t.setUserProperties=function(t){var e=ve;me[e(478)]()?me[e(474)][e(487)](t):console[e(473)](e(477))},t.track=function(t,e){var n=ve;return me[n(478)]()?me[n(474)][n(472)](t,e):(console[n(473)](n(477)),Promise[n(483)]())},t.useAdStageContext=Pe,t.useAdStageInstance=function(){const{isInitialized:t}=Pe();return t?me:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)}});