@adstage/web-sdk 3.0.11 → 3.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t,e,n,s,r,i,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(t,e){var n=g();return(f=function(t,e){return n[t-=393]})(t,e)}function g(){var t=["INTERSTITIAL","DESKTOP","BANNER","961570PiEliH","2902870EEXSKz","NATIVE","MOBILE","TEXT","VIDEO","7667527nfLhdg","TABLET","1xwMQOt","17016nroHLg","3rRpMfz","CLICK","117464FxByyW","12gpfTRd","10gXRAcz","VIEWABLE","2732156KbkghX","2102903mbrBlW","27yoRGmX"];return(g=function(){return t})()}!function(){for(var t=f,e=g();;)try{if(588300===-parseInt(t(401))/1*(-parseInt(t(393))/2)+-parseInt(t(403))/3*(-parseInt(t(409))/4)+parseInt(t(407))/5*(-parseInt(t(402))/6)+-parseInt(t(399))/7+-parseInt(t(405))/8*(-parseInt(t(411))/9)+parseInt(t(394))/10+parseInt(t(410))/11*(parseInt(t(406))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=f)(414)]="BANNER",e.POPUP="POPUP",e[n(412)]=n(412),e[n(395)]="NATIVE",e[n(398)]=n(398),e[n(397)]=n(397),r=s||(s={}),i=f,r.WEB="WEB",r[i(396)]=i(396),(a=o||(o={}))[(c=f)(408)]=c(408),a[c(404)]=c(404),(l=d||(d={}))[(u=f)(413)]=u(413),l[u(396)]=u(396),l[u(400)]=u(400);const m=I;function I(t,e){const n=v();return(I=function(t,e){return n[t-=131]})(t,e)}function v(){const t=["getScrollInfo","safeQuerySelector","waitForElement","pageYOffset","remove","style","getWindowProperty","64867GQQXYr","16rDSjzG","canUseDOM","readyState","✅ 컨테이너 발견: ","getViewportInfo",'❌ 컨테이너를 찾을 수 없습니다: "',"setProperty","getPageInfo","safeAddClass","error","57111jTlTDR","⏳ 컨테이너 대기 시작: ","href","safeAddEventListener","DOMContentLoaded","ceil","classList","add","safeWindowOpen","forEach","entries","830UkFMQS","createElement","referrer","waitForDOM","safeApplyStyles","safeRemoveChild","documentElement","safeRemoveClass","894235QnzstI","safeSetInnerHTML","map","innerHeight","devicePixelRatio","title","scrollTop","all",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"2986848DYamEK","textContent","removeEventListener","isBrowser",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: '," (최대 ","safeQuerySelectorAll","querySelectorAll","safeRemoveEventListener","ms (","pow","safeGetElementById","325925Xyfqbx","log","undefined","appendChild","innerWidth","DOM을 사용할 수 없는 환경입니다.","isDOMReady","6XMaSAB","58sveThJ","1120637NONoza","min","addEventListener","3338044SkDhLl","isSSR","location","pageXOffset","getComputedStyle","getDocumentProperty","getElementById","✅ 컨테이너 즉시 발견: ","⏳ 컨테이너 대기 중: "];return(v=function(){return t})()}!function(){const t=I,e=v();for(;;)try{if(443718===parseInt(t(145))/1+-parseInt(t(153))/2*(parseInt(t(184))/3)+parseInt(t(157))/4+-parseInt(t(203))/5+parseInt(t(152))/6*(-parseInt(t(154))/7)+parseInt(t(174))/8*(parseInt(t(133))/9)+parseInt(t(195))/10*(-parseInt(t(173))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static[m(136)](){const t=m;return typeof window!==t(147)&&typeof document!==t(147)}static[m(158)](){return!this[m(136)]()}static[m(175)](){const t=m;return this[t(136)]()&&void 0!==document[t(176)]}static[m(144)](t){const e=m;return this[e(175)]()?document[e(163)](t):null}static[m(167)](t){return this[m(175)]()?document.querySelector(t):null}static[m(139)](t){const e=m;return this[e(175)]()?Array.from(document[e(140)](t)):[]}static safeCreateElement(t){const e=m;return this[e(175)]()?document[e(196)](t):null}static[m(187)](t,e,n,s){const r=m;this[r(175)]()&&t&&t[r(156)](e,n,s)}static[m(141)](t,e,n,s){const r=m;this.canUseDOM()&&t&&t[r(135)](e,n,s)}static getWindowProperty(t,e){return this.isBrowser()?window[t]??e:e}static[m(162)](t,e){return this.canUseDOM()?document[t]??e:e}static[m(192)](t,e,n){return this[m(136)]()?window.open(t,e,n):null}static safeGetComputedStyle(t){const e=m;return this[e(136)]()&&t?window[e(161)](t):null}static[m(151)](){return!!this[m(175)]()&&"loading"!==document.readyState}static[m(198)](){return new Promise(t=>{const e=I;this[e(175)]()?this.isDOMReady()?t():this[e(187)](document,e(188),()=>t()):t()})}static[m(199)](t,e){const n=m;this.canUseDOM()&&t&&Object[n(194)](e)[n(193)](([e,s])=>{const r=n;t[r(171)][r(180)](e,s)})}static[m(182)](t,e){const n=m;this.canUseDOM()&&t&&t.classList[n(191)](e)}static[m(202)](t,e){const n=m;this[n(175)]()&&t&&t[n(190)][n(170)](e)}static safeSetTextContent(t,e){const n=m;this.canUseDOM()&&t&&(t[n(134)]=e)}static[m(204)](t,e){this[m(175)]()&&t&&(t.innerHTML=e)}static safeAppendChild(t,e){const n=m;this[n(175)]()&&t&&e&&t[n(148)](e)}static[m(200)](t,e){this[m(175)]()&&t&&e&&t.removeChild(e)}static[m(181)](){const t=m;return{url:this[t(172)](t(159),{href:""})[t(186)],title:this.getDocumentProperty(t(208),""),referrer:this[t(162)](t(197),"")}}static[m(178)](){const t=m;return{width:this[t(172)](t(149),0),height:this.getWindowProperty(t(206),0),pixelRatio:this[t(172)](t(207),1)}}static[m(166)](){const t=m;return{scrollTop:this[t(175)]()?window[t(169)]||document[t(201)][t(209)]:0,scrollLeft:this.getWindowProperty(t(160),0)}}static async waitForElement(t,e={}){const n=m,{timeout:s=3e3,retryInterval:r=100,debug:i=!1}=e;if(!this[n(175)]())throw new Error(n(150));const o=document[n(163)](t);return o?(i&&console[n(146)](n(164)+t),o):(i&&console[n(146)](n(185)+t+n(138)+s+"ms)"),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(189)](s/r),l=()=>{const n=a;c++;const u=document[n(163)](t);if(u)return i&&console.log(n(177)+t+" ("+c+"번째 시도, "+c*r+"ms 경과)"),void e(u);if(c>=d){const e=n(179)+t+n(132)+t+n(137)+s+n(142)+c+"번 시도)";return i&&console[n(183)](e),void o(new Error(e))}i&&c%10==0&&console[n(146)](n(165)+t+" ("+c+"/"+d+")");const p=Math[n(155)](r*Math[n(143)](1.2,c),500);setTimeout(l,p)};setTimeout(l,r)}))}static async waitForElements(t,e={}){const n=m,s=t[n(205)](t=>this[n(168)](t,e));return Promise[n(131)](s)}}const b=w;function w(t,e){const n=k();return(w=function(t,e){return n[t-=496]})(t,e)}function k(){const t=["6970chvYsC","1168hEGvVj","92220BrFaYj","3.0.11","4636740DzqYGq","40fXrPFt","1995488rhrsio","7QbwfFq","1991ZaSMzJ","AdStageSDK/","1055997yqCdUk","5095Apifot"," AdStageSDK/","undefined","116889YbbpSW","316ONPaVH"];return(k=function(){return t})()}!function(){const t=w,e=k();for(;;)try{if(537498===parseInt(t(497))/1*(parseInt(t(501))/2)+parseInt(t(500))/3+-parseInt(t(503))/4*(parseInt(t(502))/5)+-parseInt(t(506))/6*(-parseInt(t(509))/7)+parseInt(t(508))/8+-parseInt(t(496))/9*(-parseInt(t(507))/10)+-parseInt(t(510))/11*(parseInt(t(504))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const E=b(505);function x(){return E}function A(t,e){const n=C();return(A=function(t,e){return n[t-=275]})(t,e)}const S=A;function C(){const t=["toString","4484065qOsUbL","19820104rCrWxi","adstage_device_id","collectDeviceInfo","getBoundingClientRect","platform","width","isMobile","session_","getViewportInfo","isBrowser","ssr_session_","substr","now","getItem","76508PLOQLV","test","left","UTC","toLowerCase","getSlotPosition",",y:","getScrollInfo","colorDepth","userAgent","timeZone","resolvedOptions","round","top","4SVbnwu","safeQuerySelector","9323052NTVBEZ","unknown","pixelRatio","height","ios","1752821asuZgh","web","811748uXJVnx","language","getPlatform","generateDeviceId","4930917OSdGfd","scrollTop","random",'[data-adstage-slot-id="',"device_","desktop","SSR","effectiveType","android","ssr_device_","generateSessionId","1.0.0"];return(C=function(){return t})()}!function(){const t=A,e=C();for(;;)try{if(923560===parseInt(t(280))/1+parseInt(t(312))/2+parseInt(t(284))/3+-parseInt(t(326))/4*(parseInt(t(297))/5)+parseInt(t(328))/6+parseInt(t(278))/7+-parseInt(t(298))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class T{static[S(283)](){const t=S;if(!y[t(307)]())return t(293)+Date.now();const e=localStorage[t(311)](t(299));if(e)return e;const n=t(288)+Math[t(286)]()[t(296)](36)[t(309)](2,9)+"_"+Date[t(310)]();return localStorage.setItem("adstage_device_id",n),n}static[S(294)](){const t=S;if(!y[t(307)]())return t(308)+Date[t(310)]();const e=sessionStorage.getItem("adstage_session_id");if(e)return e;const n=t(305)+Math[t(286)]()[t(296)](36).substr(2,9)+"_"+Date[t(310)]();return sessionStorage.setItem("adstage_session_id",n),n}static[S(304)](){const t=S;return!!y[t(307)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(313)](navigator.userAgent)}static[S(282)](){const t=S;if(!y[t(307)]())return t(279);const e=navigator[t(321)][t(316)]();return/iphone|ipad|ipod/[t(313)](e)?t(277):/android/[t(313)](e)?t(292):T[t(304)]()?t(279):t(289)}static[S(300)](){const t=S,e=y[t(306)]();return{deviceId:T[t(283)](),sessionId:T.generateSessionId(),osVersion:y.isBrowser()?navigator[t(302)]:t(290),deviceModel:y[t(307)]()?navigator[t(302)]:t(290),appVersion:t(295),sdkVersion:x(),language:y[t(307)]()&&navigator[t(281)]||"ko",country:"KR",ipAddress:"",userAgent:y[t(307)]()?navigator.userAgent:t(290),timezone:y[t(307)]()?Intl.DateTimeFormat()[t(323)]()[t(322)]:t(315),viewportWidth:e[t(303)],viewportHeight:e[t(276)],screenWidth:y.isBrowser()?screen.width:0,screenHeight:y[t(307)]()?screen[t(276)]:0,colorDepth:y[t(307)]()?screen[t(320)]:24,pixelRatio:e[t(275)],connectionType:y[t(307)]()&&navigator.connection?.[t(291)]||t(329),platform:T[t(282)]()}}static[S(317)](t){const e=S;let n=y.safeGetElementById(t);if(!n){const s=y[e(327)]("#"+t+" .adstage-slider-wrapper");s&&(n=s)}if(!n&&(n=y[e(327)](e(287)+t+'"]')),!n)return e(329);const s=n[e(301)](),r=y[e(319)]();return"x:"+Math[e(324)](s[e(314)])+e(318)+Math.round(s[e(325)]+r[e(285)])}}const D=R;function R(t,e){const n=P();return(R=function(t,e){return n[t-=500]})(t,e)}!function(){const t=R,e=P();for(;;)try{if(257084===parseInt(t(502))/1*(parseInt(t(508))/2)+-parseInt(t(505))/3*(-parseInt(t(515))/4)+parseInt(t(514))/5*(-parseInt(t(513))/6)+-parseInt(t(516))/7*(-parseInt(t(517))/8)+parseInt(t(506))/9*(parseInt(t(519))/10)+-parseInt(t(510))/11*(-parseInt(t(501))/12)+parseInt(t(500))/13*(-parseInt(t(503))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class L{static[D(512)](t,e){const n=D;if(!t)throw new Error(n(507));const s={"x-api-key":t,"Content-Type":e?.[n(511)]||"application/json"};return"undefined"!=typeof navigator&&(s[n(518)]=e?.[n(509)]||navigator.userAgent),s}static[D(504)](t,e){const n=D,s=L.create(t);return e?.[n(509)]&&(s[n(518)]=e.userAgent),s}}function P(){const t=["680xqODVa","userAgent","93874IUukUq","contentType","create","66eIpGsq","126615kBiAgn","1842796mkGwyJ","70ZMthGu","147656FOCYBb","User-Agent","3730QYzNoO","10133773hFKfdP","84GxUlmZ","997xvQdYH","14swUoyQ","createForEvents","3fqOyDr","6543ftuDvj","API key is required"];return(P=function(){return t})()}function M(t,e){const n=_();return(M=function(t,e){return n[t-=414]})(t,e)}function _(){const t=["get","title","137980UpMWKK","log","adType","7292UTcgOn","deviceId","referrer"," in slot ","1766304oyzxlc"," for ad ","now","stringify","text","width","slots","🔍 Debug info:",'[data-adstage-slot-id="',"statusText","VIEWABLE","POST","📡 API Response Status: ","🚀 AdvertisementEventTracker: Processing ","/advertisements/events/","querySelector","109gKMutg","string"," - ","🌐 Full API call details:","apiKey","status","substring","baseUrl","containerId","createForEvents","parseNumericValue","..."," (containerId: ","number","getSlotPosition","7271118JVCMTS","getElementById","5650834RJfXph","186tuAURw","replace","error","20xfbFmM","getPageInfo","1054980GfeZkv","707316dTuVLr","). Skipping event tracking.","platform","debug","collectDeviceInfo"];return(_=function(){return t})()}!function(){const t=M,e=_();for(;;)try{if(449871===parseInt(t(455))/1*(-parseInt(t(435))/2)+-parseInt(t(425))/3+-parseInt(t(424))/4+-parseInt(t(432))/5*(parseInt(t(419))/6)+parseInt(t(418))/7+-parseInt(t(439))/8+parseInt(t(416))/9*(parseInt(t(422))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{constructor(t,e,n,s){const r=M;this[r(462)]=t,this[r(459)]=e,this[r(428)]=n,this[r(445)]=s}async trackAdvertisementEvent(t,e,n){const s=M;try{this[s(428)]&&console[s(433)](s(452)+n+" event for ad "+t+s(438)+e);const r=this.slots[s(430)](e);if(!r)return void(this[s(428)]&&console.warn("⚠️ Slot not found for slotId: "+e+". Skipping event tracking to prevent incorrect adType."));if(!(document[s(417)](r[s(463)])||document[s(454)](s(447)+e+'"]')))return void(this[s(428)]&&console.warn("⚠️ DOM element not found for slotId: "+e+s(467)+r[s(463)]+s(426)));const i=T[s(429)](),a={adType:r[s(434)],platform:i[s(427)],deviceId:i[s(436)],deviceInfo:i,pageUrl:y[s(423)]().url,pageTitle:y[s(423)]()[s(431)],referrer:y[s(423)]()[s(437)],slotId:e,slotPosition:T[s(415)](r[s(463)]),slotWidth:z.parseNumericValue(r[s(444)]),slotHeight:z[s(465)](r.height),sessionId:i.sessionId,pageLoadTime:performance[s(441)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date.now()},...n===o[s(449)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(462)]+s(453)+t+"/"+n,d=L[s(464)](this[s(459)],a);this[s(428)]&&(console[s(433)]("🚀 Sending advertisement event: "+n+s(440)+t,{url:c,headers:d,eventData:a}),console[s(433)](s(458),{method:s(450),url:c,hasApiKey:!!this[s(459)],bodySize:JSON[s(442)](a).length}));const l=await fetch(c,{method:s(450),headers:d,body:JSON[s(442)](a)});if(this.debug&&console[s(433)](s(451)+l[s(460)]+" "+l[s(448)],{url:c,ok:l.ok}),!l.ok){const t=await l[s(443)]();throw new Error("API request failed: "+l[s(460)]+" "+l[s(448)]+s(457)+t)}this.debug&&console[s(433)]("✅ Successfully tracked advertisement event: "+n+s(440)+t)}catch(r){console[s(421)]("❌ Failed to track advertisement event:",r),console[s(421)](s(446),{baseUrl:this[s(462)],apiKey:this[s(459)]?this[s(459)][s(461)](0,8)+s(466):"NOT_SET",url:this[s(462)]+s(453)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static parseNumericValue(t){const e=M;if(typeof t===e(414))return t;if(typeof t===e(456)){const n=parseFloat(t[e(420)](/px$/,""));return isNaN(n)?0:n}return 0}}function B(t,e){var n=O();return(B=function(t,e){return n[t-=364]})(t,e)}var U=B;function O(){var t=["1910104oobrxq","destroy","warn","intersectionRatio","isViewableTriggered","observe","hidden","18sgwHAg","onViewableCallback","IntersectionObserver not supported, viewability tracking disabled","30GSsIMW","isDocumentVisible","1829900SJohBd","handleIntersection","visible","IntersectionObserver","element","38138320SkCQOc","1061171iMwTMb","2cQNSVC","7303152lDqBKT","observer","847405VcPQkl","3584247DmhiTM","4mbQVUk","0px"];return(O=function(){return t})()}!function(){for(var t=B,e=O();;)try{if(637837===-parseInt(t(379))/1*(parseInt(t(380))/2)+parseInt(t(384))/3*(-parseInt(t(385))/4)+-parseInt(t(383))/5*(parseInt(t(371))/6)+-parseInt(t(387))/7+parseInt(t(381))/8+-parseInt(t(368))/9*(parseInt(t(373))/10)+parseInt(t(378))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class N{constructor(t,e){var n=B;this[n(382)]=null,this[n(365)]=!1,this[n(377)]=t,this[n(369)]=e,this.initIntersectionObserver()}initIntersectionObserver(){var t=B;t(376)in window?(this[t(382)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(386)}),this[t(382)][t(366)](this[t(377)])):console[t(389)](t(370))}[U(374)](t){t.forEach(t=>{var e=B;t[e(364)]>=.5&&this[e(372)]()&&!this[e(365)]&&(this[e(365)]=!0,this.onViewableCallback&&this[e(369)]())})}[U(372)](){var t=U;return!document[t(367)]&&document.visibilityState===t(375)}[U(388)](){var t=U;this[t(382)]&&(this[t(382)].disconnect(),this[t(382)]=null)}}const V=W;!function(){const t=W,e=H();for(;;)try{if(102534===parseInt(t(250))/1+-parseInt(t(251))/2*(-parseInt(t(254))/3)+parseInt(t(257))/4+parseInt(t(244))/5+-parseInt(t(249))/6*(-parseInt(t(238))/7)+parseInt(t(255))/8+-parseInt(t(247))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const F={production:"https://api.adstage.app",beta:V(242)};function H(){const t=["708892wHTwEc","events","advertisements","startsWith","custom","list","/advertisements/events","497otwCYr","baseUrl","setBaseUrl","/events/track","https://beta-api.adstage.app","detail","747450FBIGAL","/advertisements/list","/advertisements","4624065SSZIbi","/events/register/attribution","9210azJBcM","33207FDtgEN","4qytVMH","production","getBaseUrl","12261NGzDJT","1113920KTpqqA","track"];return(H=function(){return t})()}V(252);const K={advertisements:{list:V(245),detail:V(246),events:V(237)},events:{track:V(241),registerAttribution:V(248)}};class j{constructor(t){const e=V;this[e(259)]={list:()=>""+this[e(239)]+K.advertisements[e(236)],detail:t=>""+this.baseUrl+K[e(259)][e(243)]+"/"+t,events:(t,n)=>""+this.baseUrl+K.advertisements[e(258)]+"/"+t+"/"+n},this[e(258)]={track:()=>""+this[e(239)]+K[e(258)][e(256)],registerAttribution:()=>""+this[e(239)]+K[e(258)].registerAttribution},this[e(239)]=t||F[e(252)]}[V(240)](t){this[V(239)]=t}[V(253)](){return this[V(239)]}[V(261)](t){const e=V;return""+this[e(239)]+(t[e(260)]("/")?t:"/"+t)}}function W(t,e){const n=H();return(W=function(t,e){return n[t-=236]})(t,e)}const G=new j;var q=Y;function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=114]})(t,e)}function X(){var t=[" (index: 0) in slot: ","96822dcPeAk","8mjSNsJ","13696BAJjyu","🎯 Triggering initial VIEWABLE event: ad ","trackSlideViewable",") in slot: ","VIEWABLE","_id","1975230znRfiX","1943949OPyJPI","1dkSNxR","1390023MGnjNo","🎯 Triggering VIEWABLE event for slide change: ad ","62292pmznDk","977716oGLkwr","trackInitialSlideViewable","195oJUnxI","77Mxaslc"];return(X=function(){return t})()}!function(){for(var t=Y,e=X();;)try{if(371713===parseInt(t(127))/1*(parseInt(t(119))/2)+-parseInt(t(130))/3+-parseInt(t(131))/4+parseInt(t(114))/5*(-parseInt(t(117))/6)+-parseInt(t(126))/7*(parseInt(t(118))/8)+parseInt(t(128))/9+parseInt(t(125))/10*(parseInt(t(115))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class J{static[q(121)](t,e,n,s,r=!1){var i=q;r&&console.log(i(129)+t[i(124)]+" (index: "+n+i(122)+e.id),s(t[i(124)],e.id,o[i(123)])}static[q(132)](t,e,n,s=!1){var r=q;s&&console.log(r(120)+t[r(124)]+r(116)+e.id),n(t[r(124)],e.id,o[r(123)])}}const Q=$;function Z(){const t=["pointer","adType","log","addClickEventForRenderer","addEventListener","🔗 ","style","1219552pwjqQS","40EpJriD","88CbATEu","217887hnowJf","9874592gzHCcG","1609830OXlWnC","63CGDUSP"," -> ","click","stopPropagation","addClickEvent"," ad clicked: ","forEach","1819710doszVx","_blank","1521816FRvOwh","33575tIcGII","addClickEventForSlider","cursor","CLICK","_id","preventDefault","924hymoTo","toLowerCase","linkUrl","open","addClickEventsBatch"];return(Z=function(){return t})()}function $(t,e){const n=Z();return($=function(t,e){return n[t-=116]})(t,e)}!function(){const t=$,e=Z();for(;;)try{if(992591===parseInt(t(120))/1+parseInt(t(149))/2+parseInt(t(118))/3*(-parseInt(t(116))/4)+parseInt(t(131))/5*(parseInt(t(137))/6)+-parseInt(t(119))/7+-parseInt(t(130))/8*(-parseInt(t(121))/9)+parseInt(t(128))/10*(-parseInt(t(117))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static[Q(125)](t,e,n,s,r=!1,i){const a=Q;e[a(139)]&&(t[a(148)][a(133)]=a(142),t[a(146)](a(123),t=>{const c=a;if(t[c(136)](),t[c(124)](),s&&s(e[c(135)],n.id,o[c(134)]),window[c(140)](e[c(139)],c(129)),r){const t=i||String(n[c(143)])[c(138)]();console.log(c(147)+t+c(126)+e[c(135)]+c(122)+e[c(139)])}}))}static[Q(145)](t,e,n,s,r=!1,i){const a=Q;e[a(139)]&&(t[a(148)].cursor=a(142),t[a(146)](a(123),t=>{const c=a;t[c(136)](),t[c(124)]();if(s()(e[c(135)],n.id,o[c(134)]),window[c(140)](e.linkUrl,"_blank"),r){const t=i||String(n[c(143)]).toLowerCase();console[c(144)](c(147)+t+c(126)+e._id+c(122)+e[c(139)])}}))}static[Q(132)](t,e,n,s,r=!1,i){this[Q(125)](t,e,n,s,r,i)}static isClickable(t){return Boolean(t.linkUrl)}static[Q(141)](t,e,n,s,r=!1,i){const o=Q;t[o(127)]((t,a)=>{const c=o,d=e[a];d&&this[c(125)](t,d,n,s,r,i)})}}const et=nt;function nt(t,e){const n=rt();return(nt=function(t,e){return n[t-=156]})(t,e)}!function(){const t=nt,e=rt();for(;;)try{if(883688===parseInt(t(245))/1+parseInt(t(192))/2*(parseInt(t(182))/3)+-parseInt(t(234))/4+-parseInt(t(247))/5*(parseInt(t(246))/6)+-parseInt(t(231))/7+parseInt(t(240))/8+parseInt(t(227))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class st{static[et(159)](e,n){const s=et,r=document[s(174)](s(262));switch(r[s(166)]=s(215)+String(e[s(207)])[s(222)](),r[s(169)](s(255),n._id),r[s(169)](s(235),e.id),r[s(189)].display=s(185),r[s(189)][s(218)]="100%",r[s(189)][s(177)]=s(161),e[s(207)]){case t[s(252)]:if(n.imageUrl){const t=document.createElement("img");t[s(171)]=n[s(250)],t.style.width=s(261),t[s(189)][s(177)]="auto",t[s(189)][s(208)]="cover",r[s(156)](t)}else r[s(189)][s(177)]=s(219),r[s(189)][s(214)]=s(164),r[s(189)].border=s(183),r.textContent=s(233);break;case t[s(165)]:if(n.videoUrl){const t=document.createElement("video");t[s(171)]=n[s(221)],t[s(189)][s(218)]=s(261),t[s(189)][s(177)]=s(161),r[s(156)](t)}else r[s(189)][s(177)]=s(201),r.style[s(214)]=s(243),r.style.border=s(225),r[s(160)]=s(175),r[s(189)][s(236)]="white";break;case t[s(186)]:if(n[s(160)]){const t=document.createElement(s(262));t[s(160)]=n[s(160)]||"",t[s(189)].padding="8px",t[s(189)].fontSize="14px",r.appendChild(t)}else r[s(189)][s(177)]=s(173),r[s(189)].padding=s(220),r[s(160)]=s(238);break;default:r[s(189)][s(177)]=s(219),r.style[s(259)]=s(183),r.style[s(214)]=s(226),r[s(160)]=e[s(207)]+s(212)}return r}static createSliderContainer(e,n,s,r,i=!1){const o=et,a=document[o(174)]("div");a.className="adstage-slider-wrapper";const c={position:o(265),overflow:o(209)};if(e[o(218)]&&0!==e[o(218)]){let t;t="string"==typeof e[o(218)]?e[o(218)].includes("px")||e[o(218)][o(264)]("%")?e[o(218)]:e[o(218)]+"px":e.width+"px",c[o(218)]=t,c[o(158)]=o(229)}else c[o(158)]=o(229);if(e[o(177)]&&0!==e[o(177)]){const t="string"==typeof e.height?e.height:e[o(177)]+"px";c[o(177)]=t}Object[o(223)](c).forEach(([t,e])=>{const n=o;a[n(189)][n(172)](t,e)});const d=!e.width||0===e[o(218)],l=!e[o(177)]||0===e[o(177)];if(d||l){const t=document[o(174)]("div");if(t[o(189)][o(203)]=o(202),!d&&e[o(218)]){let n;n="string"==typeof e.width?e[o(218)][o(264)]("px")||e[o(218)].includes("%")?e[o(218)]:e[o(218)]+"px":e.width+"px",t.style[o(218)]=n,t[o(189)].whiteSpace=o(257)}document[o(244)][o(156)](t);let s=0,r=0;n.forEach(n=>{const i=o,a=this[i(159)](e,n);t[i(156)](a);const c=a[i(197)]();c[i(218)]>s&&(s=c[i(218)]),c[i(177)]>r&&(r=c[i(177)]),t.removeChild(a)}),d&&s>0&&(a.style[o(218)]=s+"px",c[o(218)]=s+"px"),l&&r>0&&(a[o(189)][o(177)]=r+"px",c[o(177)]=r+"px"),document[o(244)][o(232)](t)}const u=[...n,n[0]],p=document[o(174)](o(262));p[o(166)]=o(263);const h={display:o(211),transition:o(162),width:100*u[o(239)]+"%"};e[o(177)]&&0!==e[o(177)]&&(h.height=o(261)),Object[o(223)](h)[o(260)](([t,e])=>{const n=o;p[n(189)][n(172)](t,e)}),u[o(260)]((t,n)=>{const s=o,a=document.createElement(s(262));a.className=s(256);const c={width:100/u[s(239)]+"%","flex-shrink":"0",display:s(211),"align-items":s(205),"justify-content":s(205)};e.height&&0!==e[s(177)]&&(c.height=s(261)),Object[s(223)](c)[s(260)](([t,e])=>{a.style.setProperty(t,e)});const d=this[s(159)](e,t);tt.addClickEventForSlider(d,t,e,r,i,String(e[s(207)])[s(222)]()),a.appendChild(d),p[s(156)](a)});const f=n.every(e=>e[o(207)]===t[o(186)])?null:this[o(249)](n[o(239)]);let g=0;const m=n[o(239)],I=1e3*(s?.[o(167)]||3),v=(t,s=!1)=>{const a=o;g=t,p[a(189)][a(188)]=a(s?213:162),p[a(189)][a(224)]=a(163)+100/u[a(239)]*g+"%)";const c=g===m?0:g;if(f){f[a(241)](".adstage-dot").forEach((t,e)=>{const n=a,s=t;e===c?(s.classList[n(178)](n(204)),s.style.background=n(258),s[n(189)][n(237)]=n(258),s.style.opacity="1"):(s[n(191)][n(190)]("active"),s.style[n(193)]="transparent",s[n(189)][n(237)]=n(253),s[n(189)][n(251)]=n(216))})}J[a(198)](n[c],e,c,r,i)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(241)](o(230))[o(260)]((t,e)=>{const n=o;t.addEventListener(n(184),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a.addEventListener(o(194),()=>{clearInterval(b)}),a.addEventListener(o(254),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(181)](p,v,()=>g,m,y),a[o(156)](p),f&&a[o(156)](f),v(0),(!e[o(218)]||0===e[o(218)])&&setTimeout(()=>{const t=o,n=p[t(157)][0];if(n){const s=n[t(157)][0];if(s){const n=s.getBoundingClientRect();a[t(189)].width=n.width+"px",(!e[t(177)]||0===e[t(177)])&&(a[t(189)][t(177)]=n[t(177)]+"px"),a.style[t(248)]=t(209)}}},10),a}static createMinimalDotIndicator(t){const e=et,n=document[e(174)]("div");n[e(166)]="adstage-dots",n.style.cssText=e(170);for(let s=0;s<t;s++){const t=document[e(174)](e(200));t[e(166)]=e(199),t[e(189)][e(203)]=e(176),t.addEventListener("mouseenter",()=>{const n=e;!t[n(191)].contains(n(204))&&(t[n(189)][n(237)]=n(242),t.style.opacity=n(206))}),t[e(196)](e(254),()=>{const n=e;!t.classList[n(180)](n(204))&&(t.style[n(237)]="#cccccc",t[n(189)][n(251)]=n(216))}),n.appendChild(t)}return n}static[et(181)](t,e,n,s,r){const i=et;let o=0,a=!1;t[i(196)](i(217),t=>{const e=i;o=t[e(168)][0][e(210)],a=!0}),t[i(196)](i(195),t=>{a&&t[i(187)]()}),t[i(196)]("touchend",t=>{const c=i;if(!a)return;a=!1;const d=t[c(228)][0][c(210)],l=o-d;if(Math[c(179)](l)>50){const t=n();if(l>0){e(t+1),r&&r()}else{e(t>0?t-1:s-1)}}})}}function rt(){const t=["#666666","border","forEach","100%","div","adstage-slide-container","includes","relative","appendChild","children","display","createSimpleAdElement","textContent","auto","transform 0.4s ease-out","translateX(-","#f0f0f0","VIDEO","className","autoSlideInterval","touches","setAttribute","\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 ","src","setProperty","50px","createElement","Video Ad","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","height","add","abs","contains","addTouchSupport","75ztFPZn","1px dashed #ccc","click","block","TEXT","preventDefault","transition","style","remove","classList","58362fizwCm","background","mouseenter","touchmove","addEventListener","getBoundingClientRect","trackSlideViewable","adstage-dot","button","200px","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","cssText","active","center","0.9","adType","objectFit","hidden","clientX","flex"," Ad","none","backgroundColor","adstage-ad adstage-","0.7","touchstart","width","100px","8px","videoUrl","toLowerCase","entries","transform","1px solid #666","#f9f9f9","7238682rGixat","changedTouches","inline-block",".adstage-dot","6991040gsDotp","removeChild","Banner Ad","4067596IMJFlt","data-adstage-slot-id","color","borderColor","Text Ad","length","9280592fzgxYw","querySelectorAll","#999999","#000","body","1703936SJKWdZ","4495578vpnLdS","10BWdCPu","overflow","createMinimalDotIndicator","imageUrl","opacity","BANNER","#cccccc","mouseleave","data-adstage-ad-id","adstage-slide","normal"];return(rt=function(){return t})()}const it=at;!function(){const t=at,e=ct();for(;;)try{if(938322===parseInt(t(367))/1+parseInt(t(361))/2+-parseInt(t(363))/3+-parseInt(t(374))/4*(-parseInt(t(372))/5)+-parseInt(t(365))/6+parseInt(t(369))/7+-parseInt(t(371))/8*(parseInt(t(364))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ot{static[it(375)](t,e,n=!1){const s=it,r=t+"_"+e;return ot[s(360)][s(376)](r)?(n&&console.log(s(362)+t+s(359)+e),!0):(ot[s(360)][s(368)](r),n&&console.log("✅ New viewable recorded for ad "+t+" in slot "+e),!1)}static[it(373)](){ot.viewableTracker.clear()}static[it(366)](t,e){const n=it,s=t+"_"+e;ot.viewableTracker[n(370)](s)}}function at(t,e){const n=ct();return(at=function(t,e){return n[t-=359]})(t,e)}function ct(){const t=["clearAdViewable","927654YjoLwB","add","5276537jVGjWo","delete","3223280AhDtFE","5564165HUhgin","clear","4vfYDcv","isDuplicateViewable","has"," in slot ","viewableTracker","2238550HUEHMI","Duplicate viewable blocked for ad ","1606350eDoEOw","27pGwIaO","7386306WmXhta"];return(ct=function(){return t})()}ot.viewableTracker=new Set;const dt=ut;function lt(){const t=["createPlaceholder","getAttribute","minHeight","true","height","number","adstage-class","monospace","4287125DwEVZw","⚠️ ","string","log","display","#e74c3c","fontSize","VIEWABLE","filter"," ad...</span>","applyPlaceholderStyle","error","📏 Using default height ","flex","6px"," event","14PMvxOh"," in slot ","border","createEmptyContainer","🔄 Starting advertisement event tracking: ","transparent","alignItems",".adstage-",'div[style*="height"]',"⚠️ AdvertisementEventTracker not available for ","📏 Using 100% height (container: ","calculateAdSize"," x ","rgba(0, 0, 0, 0.02)","⚠️ Created empty ","advertisementEventTracker","subtle",'[class*="ad"]',"warn",'[class*="container"]',"auto",'div[style*="min-height"]','[data-adstage-container="true"]','<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"unknown","hasAttribute","📊 Advertisement event tracked: ","<span>Loading ","getComputedStyle","1px solid rgba(0, 0, 0, 0.08)","createEventTrackingCallback","adstage-official","generic","adstage-slot","invisible","innerHTML","4px","): ",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"none","2396727IsFDxR","contains","trackAdvertisementEvent","adType","style","justifyContent","rgba(248, 249, 250, 0.5)","getElementById","❌ Failed to track ","1996202FfnAcs","backgroundColor",'[class*="banner"]',"classList","#f9f9f9","✅ New viewable recorded for ad ","debug","rgba(231, 76, 60, 0.1)","868508tFDSvX","width","adstage-slot adstage-","createElement","isDuplicateViewable","appendChild","color","className","opacity","100%","📦 Placeholder created 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 ","fontFamily"," for ad ","placeholderMode"," for ","#666","querySelector","minimal","adstage-slot adstage-empty adstage-","toLowerCase"," event for ad ","🚫 Duplicate viewable blocked for ad ","px)","block","1249028gFrqPi","cssText","24reQSWH","isEmpty","data-adstage-empty","data-adstage-slot","borderRadius","setAttribute","1px dashed #ccc","closest","data-adstage-container","835806eNEHUA","center","452781vFjCYT"];return(lt=function(){return t})()}function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=202]})(t,e)}!function(){const t=ut,e=lt();for(;;)try{if(628041===-parseInt(t(257))/1+parseInt(t(249))/2+-parseInt(t(240))/3+parseInt(t(282))/4+parseInt(t(304))/5+-parseInt(t(293))/6*(-parseInt(t(320))/7)+parseInt(t(284))/8*(-parseInt(t(295))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pt{constructor(t,e=!1,n){const s=ut;this[s(243)]=t,this[s(255)]=e,this[s(215)]=n||null}[dt(296)](t,e,n,s){const r=dt,i=document.createElement("div");i.id=e,i.className=r(259)+String(this[r(243)]).toLowerCase(),i.setAttribute(r(292),r(299)),i[r(289)]("data-adstage-type",String(this[r(243)])),i.setAttribute(r(287),e);const{width:o,height:a}=this[r(211)](t,n,s)||{width:r(266),height:this.getDefaultHeight()};i[r(244)].width=o,i[r(244)][r(300)]=a;const c=s?.placeholderMode||n[r(271)]||r(234);this[r(314)](i,c),t[r(262)](i),this[r(255)]&&console[r(307)](r(267)+this.adType+" slot: "+e+" ("+o+r(212)+a+") - Mode: "+c)}applyPlaceholderStyle(t,e){const n=dt;switch(e){case"invisible":t[n(244)][n(250)]=n(205),t[n(244)][n(202)]=n(239),t.style[n(265)]="0",t[n(235)]="";break;case n(205):t[n(244)].backgroundColor=n(205),t[n(244)][n(202)]=n(239),t.style[n(308)]=n(281),t.innerHTML="";break;case n(216):t[n(244)].backgroundColor=n(213),t[n(244)].border=n(239),t.style[n(288)]=n(236),t.style.display=n(317),t[n(244)][n(206)]="center",t[n(244)][n(245)]="center",t[n(235)]=n(223);break;case n(275):t[n(244)].backgroundColor=n(246),t.style[n(202)]=n(229),t[n(244)][n(288)]=n(318),t.style.display=n(317),t[n(244)][n(206)]="center",t[n(244)].justifyContent=n(294),t[n(235)]=n(238);break;case n(255):t[n(244)][n(202)]="2px dashed #e74c3c",t[n(244)][n(308)]="flex",t[n(244)][n(206)]=n(294),t.style[n(245)]=n(294),t.style[n(250)]=n(256),t[n(244)][n(263)]=n(309),t[n(244)][n(269)]=n(303),t[n(244)][n(310)]="11px",t.innerHTML=n(227)+this[n(243)]+n(313);break;default:t.style[n(202)]=n(290),t[n(244)][n(308)]=n(317),t[n(244)][n(206)]="center",t[n(244)][n(245)]=n(294),t[n(244)][n(250)]=n(253),t[n(244)].color=n(273),t.innerHTML=n(227)+this[n(243)]+" ad...</span>"}}[dt(211)](t,e,n){const s=dt,r=e[s(258)],i=e.height;let o,a;if(o="number"==typeof r?r+"px":"string"==typeof r?r:s(266),typeof i===s(301))a=i+"px";else if(typeof i===s(306)&&"100%"!==i&&i!==s(220))a=i;else{const e=this.getContainerHeight(t);e>0?(a=s(266),(n?.debug||this.debug)&&console[s(307)](s(210)+e+s(280))):(a=this.getDefaultHeight(),(n?.debug||this[s(255)])&&console.log(s(316)+a+s(272)+this.adType))}return{width:o,height:a}}getContainerHeight(t){const e=dt,n=window[e(228)](t),s=parseFloat(n[e(300)]);if(!s||0===s){const s=parseFloat(n[e(298)]);if(s>0)return s;if(t.style.height&&"auto"!==t[e(244)].height){const n=parseFloat(t[e(244)].height);if(n>0)return n}const r=t[e(297)](e(300));if(r){const t=parseFloat(r);if(t>0)return t}}return s||0}[dt(230)](){return async(t,e,n)=>{const s=ut;if(n===o[s(311)]){if(ot[s(261)](t,e,this[s(255)]))return void(this.debug&&console.log(s(279)+t+s(321)+e));this.debug&&console[s(307)](s(254)+t+s(321)+e)}if(this[s(215)])try{this[s(255)]&&console[s(307)](s(204)+n+" for ad "+t+s(321)+e),await this[s(215)][s(242)](t,e,n),this[s(255)]&&console.log(s(226)+n+s(270)+t+s(321)+e)}catch(e){this[s(255)]&&console[s(315)](s(248)+n+s(278)+t+":",e)}else this[s(255)]&&console[s(218)](s(209)+n+s(319))}}renderFallback(t){const e=dt,n=document[e(247)](t.id);if(n){const s=[...[n[e(274)](e(222)),n.closest('[data-adstage-container="true"]'),n][e(312)](t=>t&&t[e(225)]("data-adstage-container")),...[n[e(291)](".adstage-slot"),n[e(291)](e(207)+String(this.adType)[e(277)]()),n[e(291)](e(217)),n.closest(e(251)),n[e(291)](e(219)),n[e(291)](e(208)),n[e(291)](e(221)),n.parentElement][e(312)](Boolean)][0];if(s){let n=e(224);n=s[e(225)](e(292))?e(231):s[e(252)][e(241)](e(233))?e(302):e(232),s[e(244)][e(283)]+=e(268),s[e(235)]="",s[e(289)]("data-adstage-empty",e(299)),this.debug&&console[e(218)](e(305)+this.adType+" container collapsed ("+n+e(237)+t.id,s)}else this.createEmptyContainer(t)}t.advertisement=void 0,t[e(285)]=!0}[dt(203)](t){const e=dt,n=document[e(247)](t.containerId);if(n){n[e(235)]="";const s=document[e(260)]("div");s.id=t.id,s[e(264)]=e(276)+String(this.adType).toLowerCase(),s.setAttribute(e(292),e(299)),s[e(289)](e(286),"true"),s[e(289)]("data-adstage-slot",t.id),s[e(244)][e(283)]="\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",n.appendChild(s),this[e(255)]&&console.warn(e(214)+this.adType+" container: "+t.id)}}[dt(307)](t,...e){const n=dt;this[n(255)]&&console.log("["+this[n(243)]+"] "+t,...e)}}function ht(t,e){const n=gt();return(ht=function(t,e){return n[t-=149]})(t,e)}const ft=ht;function gt(){const t=["optimizedHeight","1477685pvxSCN","objectFit","center","toFixed","style","width","<div>","1033950jApIiq","onload","541235CqFOSM","src","debug","loadImageDimensions","className","display","parentElement","4:3","aspectRatio","calculateOptimalHeight","adstage-ad adstage-banner-ad","some","🔧 Banner container optimized for "," (avg: ","config","📐 Optimal banner container calculated: ","Container not found: ","70xCvktp","636110wmyjae","onerror","✅ Optimized banner image rendered for ad: ","get","count","value","8px","1458159ZYMPjE","max","warn"," ads (optimized: ","372248pZYAXP","cover","ratio",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"3:2","addClickEventForRenderer","renderMultipleAds","optimizeContainerForBannerAds","log","appendChild","📦 Banner container dimensions: "," with ","objectPosition","block","getDefaultHeight","createElement","imageUrl","_id","Image URL is not provided","📸 Banner image dimensions: ","100%","Banner container optimization failed, using default size:","1:1","name","containerId","div","allSettled","values","Failed to calculate optimal banner size, using defaults:","toString","borderRadius","🎨 Banner image style applied: objectFit=","average","abs","</div>","forEach","reduce","8661735HTWfrt","getBoundingClientRect","innerHTML","Banner Ad","length","fulfilled","createSliderContainer","set","📊 Using standard ratio: ","Banner","renderOptimizedBannerImage","20vKSdWD","250px","filter","alt","height","4kzqMpq"," (strategy: ","getElementById","round","dominant","title","contain","BANNER","54FbxqUg","default","calculateOptimalContainerSize","map","applyOptimizedImageStyle","🎠 Banner carousel created for slot: ","createEventTrackingCallback","Failed to load image: ","naturalHeight","common","#f0f0f0"];return(gt=function(){return t})()}!function(){const t=ht,e=gt();for(;;)try{if(535626===-parseInt(t(240))/1+-parseInt(t(220))/2+parseInt(t(247))/3*(parseInt(t(193))/4)+-parseInt(t(222))/5*(-parseInt(t(201))/6)+-parseInt(t(239))/7*(parseInt(t(251))/8)+parseInt(t(177))/9+parseInt(t(188))/10*(-parseInt(t(213))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class mt extends pt{constructor(e=!1,n){super(t[ht(200)],e,n)}[ft(154)](){return ft(189)}async renderAdElement(t,e){const n=ft,s=document[n(195)](t[n(164)]);if(!s)return;const r=document.createElement(n(165));r[n(226)]=n(232);const i=t[n(212)],o=s[n(228)]||s;if(i)r[n(217)].width=n(160),r[n(217)][n(192)]=String(i);else{const e=t[n(236)],s={width:e?.[n(218)],height:e?.height},{width:i,height:a}=this.calculateAdSize(o,s,{debug:this[n(224)]});r[n(217)].width=i,r[n(217)].height=a}e[n(156)]?await this[n(187)](r,e,t):r[n(179)]=n(219)+(e[n(198)]||n(180))+n(174),tt[n(256)](r,e,t,()=>this[n(207)](),this[n(224)],n(186)),s[n(179)]="",s[n(149)](r)}async[ft(257)](t,e){const n=ft,s=document.getElementById(t[n(164)]);if(!s)throw new Error(n(238)+t[n(164)]);await this[n(258)](t,e);const r=this[n(207)](),i={autoSlideInterval:(t[n(236)]?.slideInterval||5e3)/1e3,...t[n(236)],optimizedHeight:t[n(212)],aspectRatio:t.aspectRatio},o=st[n(183)](t,e,i,r,this[n(224)]);o&&(s.innerHTML="",s.appendChild(o),this.debug&&console[n(259)](n(206)+t.id+n(151)+e[n(181)]+n(250)+(t[n(212)]||n(202))+")"))}async calculateOptimalContainerSize(t,e){const n=ft;if(!t.length)return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const s=(await Promise[n(166)](t.filter(t=>t[n(156)])[n(204)](t=>this[n(225)](t[n(156)]))))[n(190)](t=>t.status===n(182))[n(204)](t=>t[n(245)]);if(0===s[n(181)])return{width:"100%",height:this[n(154)](),aspectRatio:16/9};const r=this.selectOptimalSizeStrategy(s),i=this[n(231)](s,e,r);return this.debug&&console[n(259)](n(237)+e+"x"+i+n(194)+r+")"),{width:n(160),height:i+"px",aspectRatio:e/i}}catch(t){return console[n(249)](n(168),t),{width:"100%",height:this[n(154)](),aspectRatio:16/9}}}async[ft(258)](t,e){const n=ft;try{const s=document[n(195)](t[n(164)]),r=document[n(195)](t.id);if(!s||!r)return;const i=s.getBoundingClientRect().width||300,o=await this[n(203)](e,i);r.style[n(192)]=o[n(192)],t[n(212)]=o[n(192)],t.aspectRatio=o[n(230)],this[n(224)]&&console[n(259)](n(234)+e[n(181)]+" ads: "+o[n(192)])}catch(t){console.warn(n(161),t)}}selectOptimalSizeStrategy(t){const e=ft,n=t[e(204)](t=>t[e(218)]/t[e(192)]),s=new Map;n[e(175)](t=>{const n=e,r=(Math.round(10*t)/10)[n(169)]();s[n(184)](r,(s[n(243)](r)||0)+1)});const r=Math[e(248)](...s[e(167)]()),i=t[e(181)];if(r/i>=.7)return e(197);const o=[16/9,4/3,1,1.5],a=n[e(190)](t=>o[e(233)](n=>Math[e(173)](t-n)<.1))[e(181)];return e(a/i>=.5?210:172)}[ft(231)](t,e,n){const s=ft,r=t[s(204)](t=>t[s(218)]/t[s(192)]);switch(n){case s(197):{const t=new Map;r[s(175)](e=>{const n=s,r=Math[n(196)](10*e)/10,i=r[n(169)](),o=t.get(i);o?o[n(244)]++:t[n(184)](i,{ratio:r,count:1})});const n=Array.from(t[s(167)]()).reduce((t,e)=>e[s(244)]>t.count?e:t);return Math[s(196)](e/n[s(253)])}case s(210):{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:s(229)},{ratio:1,name:s(162)},{ratio:1.5,name:s(255)}],n=r[s(176)]((t,e)=>t+e,0)/r[s(181)],i=t.reduce((t,e)=>Math[s(173)](e.ratio-n)<Math[s(173)](t.ratio-n)?e:t);return this[s(224)]&&console[s(259)](s(185)+i[s(163)]+s(235)+n[s(216)](2)+")"),Math.round(e/i[s(253)])}case s(172):default:{const t=r.reduce((t,e)=>t+e,0)/r[s(181)];return Math[s(196)](e/t)}}}[ft(225)](t){return new Promise((e,n)=>{const s=ht,r=new Image;r[s(221)]=()=>{const t=s;e({width:r.naturalWidth,height:r[t(209)]})},r[s(241)]=()=>{n(new Error(s(208)+t))},r.src=t})}[ft(205)](t,e,n){const s=ft,r=e/n;Math[s(173)](r-1)<.1?(t.style[s(214)]=s(252),t[s(217)][s(152)]=s(215)):r>1.3?(t[s(217)][s(214)]=s(199),t[s(217)][s(152)]=s(215),t[s(217)].backgroundColor=s(211)):(t[s(217)][s(214)]="cover",t[s(217)][s(152)]=s(215)),this[s(224)]&&console[s(259)](s(171)+t[s(217)][s(214)]+", ratio="+r[s(216)](2))}async[ft(187)](t,e,n){const s=ft,r=document[s(155)]("img");r[s(217)][s(218)]=s(160),r[s(217)].height="100%",r[s(217)][s(227)]=s(153),r.style[s(170)]=s(246),r[s(191)]=e[s(198)]||"Banner Advertisement",t.innerHTML=s(254);try{if(!e[s(156)])throw new Error(s(158));const i=await this.loadImageDimensions(e[s(156)]),o=t[s(178)](),a=o.width,c=o[s(192)];this.debug&&(console[s(259)](s(159)+i[s(218)]+"x"+i.height),console[s(259)](s(150)+a+"x"+c));const d=i[s(218)]/i[s(192)],l=a/c;return this.applyOptimizedImageStyle(r,d,l),r.src=e[s(156)],t.innerHTML="",t[s(149)](r),tt.addClickEventForRenderer(r,e,n,()=>this.createEventTrackingCallback(),this[s(224)],"Banner"),this.debug&&console.log(s(242)+e[s(157)]),r}catch(i){return console.error("❌ Failed to load optimized banner image:",i),e[s(156)]&&(r[s(223)]=e.imageUrl,r[s(217)].objectFit=s(252),r[s(217)].objectPosition=s(215),t[s(179)]="",t.appendChild(r),tt[s(256)](r,e,n,()=>this[s(207)](),this[s(224)],s(186))),r}}}const It=yt;function vt(){const t=["473020dQeATM","3456188CyFrfc","1EUIwRK","title","12761EqEVcy","5142YAQeMV","8674896DdJpkD","3135680ghaRMx","textContent","8704773YcUIJF","createTextAdStyles","4433367RmlUBx"];return(vt=function(){return t})()}function yt(t,e){const n=vt();return(yt=function(t,e){return n[t-=186]})(t,e)}!function(){const t=yt,e=vt();for(;;)try{if(882213===-parseInt(t(193))/1*(-parseInt(t(192))/2)+parseInt(t(190))/3+-parseInt(t(186))/4+-parseInt(t(191))/5+parseInt(t(196))/6*(-parseInt(t(195))/7)+parseInt(t(197))/8+-parseInt(t(188))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class bt{static[It(189)](t=!1){return"\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n "}static setTextAdContent(t,e){const n=It,s=e[n(187)]||e[n(194)]||"";t[n(187)]=s}}const wt=Et;function kt(){const t=["cssText","opacity","addTouchSupport","height: auto;","20px","\n position: ","toLowerCase","relative","5090KNaTFD",";\n width: 100%;\n ","auto","949305SKTDLM","clientY","Text","trackSlideViewable","data-adstage-ad-id","getBoundingClientRect","block","style","body","mouseleave","3429264uGrfRw","createSimpleAdElement","transform","adstage-fade-slide","7798720fgKYzw","createTextTransitionContainer","createElement","touchend","24JkElxK","className","abs","6ITLvto","setTextAdContent","div","length","clientX","removeChild","width","touches","translateY(0)","forEach","zIndex","fit-content","left","adType","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","preventDefault","entries","3253036mPLxMa","appendChild","hidden","height: auto; min-height: fit-content;","autoSlideInterval","position","height","784554HPdAFH","2684241FkPIVS","includes","push","adstage-fade-slide-container","25fIywxG",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","height: 100%;",";\n transform: translateY(","setProperty",";\n left: ","top","mouseenter","adstage-fade-slider-wrapper","normal","whiteSpace","addEventListener","string",";\n ","\n ","absolute"];return(kt=function(){return t})()}function Et(t,e){const n=kt();return(Et=function(t,e){return n[t-=285]})(t,e)}!function(){const t=Et,e=kt();for(;;)try{if(872031===-parseInt(t(340))/1+parseInt(t(353))/2+-parseInt(t(287))/3*(-parseInt(t(304))/4)+parseInt(t(316))/5*(-parseInt(t(311))/6)+-parseInt(t(343))/7+-parseInt(t(361))/8*(parseInt(t(312))/9)+-parseInt(t(357))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class xt{static[wt(354)](t,e){const n=wt,s=document[n(359)]("div");return s.className="adstage-ad adstage-"+String(t[n(300)])[n(338)](),s.setAttribute(n(347),e._id),s.setAttribute("data-adstage-slot-id",t.id),s[n(350)][n(332)]=bt.createTextAdStyles(!0),bt[n(288)](s,e),s}static[wt(358)](t,e,n,s,r=!1){const i=wt,o=t[i(310)]&&0!==t[i(310)]&&"auto"!==t[i(310)],a=document.createElement("div");a[i(285)]=i(324);const c={position:i(339),overflow:i(306),display:i(349)};if(!o&&(c[i(310)]=i(342),c.minHeight=i(298)),t[i(293)]&&0!==t.width){let e;e=typeof t[i(293)]===i(328)&&(t[i(293)][i(313)]("px")||t.width[i(313)]("%"))?t[i(293)]:t[i(293)]+"px",c.width=e}if(t[i(310)]&&0!==t.height&&t[i(310)]!==i(342)&&o){let e;e="string"==typeof t[i(310)]&&(t[i(310)][i(313)]("px")||t[i(310)][i(313)]("%"))?t[i(310)]:t[i(310)]+"px",c[i(310)]=e}Object[i(303)](c)[i(296)](([t,e])=>{const n=i;a.style[n(320)](t,e)});const d=document[i(359)](i(289));d[i(285)]=i(315),d.style[i(332)]="\n position: relative;\n width: 100%;\n "+i(o?318:307)+i(330);let l=null;const u=!t[i(293)]||0===t[i(293)],p=!t[i(310)]||0===t.height||void 0===t.height||t[i(310)]===i(342);if(u||p&&o){if(l=document[i(359)]("div"),l.style[i(332)]="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!u&&t.width){let e;e=typeof t.width===i(328)&&(t[i(293)].includes("px")||t[i(293)][i(313)]("%"))?t.width:t[i(293)]+"px",l[i(350)][i(293)]=e,l.style[i(326)]=i(325)}document.body[i(305)](l);let n=0,s=0;e[i(296)](e=>{const r=i,o=this[r(354)](t,e);l.appendChild(o);const a=o[r(348)]();a.width>n&&(n=a[r(293)]),a.height>s&&(s=a.height),l[r(292)](o)}),u&&n>0&&(a[i(350)][i(293)]=n+"px"),p&&s>0&&o&&(a.style[i(310)]=s+"px"),document[i(351)][i(292)](l)}const h=[];e[i(296)]((e,n)=>{const a=i,c=document[a(359)](a(289));c[a(285)]=a(356);const l=a(o?331:0===n?339:331);c[a(350)][a(332)]=a(337)+l+";\n top: "+(l===a(331)?"0":a(342))+a(321)+(l===a(331)?"0":a(342))+a(341)+a(o?318:335)+a(301)+(0===n?"1":"0")+a(319)+(0===n?"0":a(336))+a(317)+(0===n?"2":"1")+a(329);const u=this[a(354)](t,e);tt.addClickEventForSlider(u,e,t,s,r,a(345)),c[a(305)](u),d[a(305)](c),h[a(314)](c)});let f=0;const g=e[i(290)],m=1e3*(n?.[i(308)]||4),I=n=>{const a=i;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&("relative"===c[a(350)][a(309)]&&(c[a(350)].position="absolute",c[a(350)].top="0",c[a(350)][a(299)]="0"),d[a(350)][a(309)]="relative",d[a(350)][a(322)]=a(342),d.style[a(299)]="auto"),c[a(350)][a(333)]="0",c.style[a(355)]="translateY(-20px)",c.style[a(297)]="1",d[a(350)][a(333)]="1",d[a(350)][a(355)]=a(295),d[a(350)][a(297)]="2",h[a(296)]((t,e)=>{const s=a;e!==n&&e!==f&&(t.style[s(333)]="0",t.style.transform="translateY(20px)",t[s(350)][s(297)]="1",!o&&t.style.position===s(339)&&(t[s(350)][s(309)]=s(331),t[s(350)][s(322)]="0",t[s(350)][s(299)]="0"))}),f=n,J[a(346)](e[f],t,f,s,r)};let v=setInterval(()=>{I(f+1)},m);return a[i(327)](i(323),()=>{clearInterval(v)}),a[i(327)](i(352),()=>{v=setInterval(()=>{I(f+1)},m)}),xt[i(334)](a,I,()=>f,g),a[i(305)](d),a}static[wt(334)](t,e,n,s){const r=wt;let i=0,o=0,a=!1;t[r(327)]("touchstart",t=>{const e=r;i=t[e(294)][0][e(291)],o=t[e(294)][0][e(344)],a=!0}),t.addEventListener("touchmove",t=>{a&&t[r(302)]()}),t.addEventListener(r(360),t=>{const s=r;if(!a)return;a=!1;const c=t.changedTouches[0].clientX,d=t.changedTouches[0].clientY,l=i-c,u=o-d;if(Math[s(286)](l)>Math[s(286)](u)&&Math[s(286)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function At(t,e){const n=St();return(At=function(t,e){return n[t-=380]})(t,e)}function St(){const t=["containerId","debug","div","height","log","513rzJIlB","✨ Single text ad rendered: ","display","33309uTagUd","setTextAdContent","60px","createEventTrackingCallback","webkitLineClamp","number","14DpayPP"," ads","610785zwxuhG","style","config","renderAdElement","-webkit-box","Container not found: ","1188464dfwEai","calculateAdSize","webkitBoxOrient","innerHTML","optimizedHeight","adstage-text-content","98696fxupMH","aspectRatio","adstage-ad adstage-text-ad","className","appendChild","getDefaultHeight","hidden","maxLines","1858914fWYXUV","renderMultipleAds","createTextTransitionContainer","overflow","parentElement","width","100%","createElement","66330wSbiBO","2399450NQcpwi","length"];return(St=function(){return t})()}const Ct=At;!function(){const t=At,e=St();for(;;)try{if(292818===parseInt(t(382))/1+-parseInt(t(399))/2*(-parseInt(t(393))/3)+-parseInt(t(407))/4+-parseInt(t(383))/5+parseInt(t(421))/6+-parseInt(t(401))/7+parseInt(t(413))/8*(parseInt(t(390))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Tt extends pt{constructor(e=!1,n){super(t.TEXT,e,n)}[Ct(418)](){return Ct(395)}async[Ct(404)](t,e){const n=Ct,s=document.getElementById(t[n(385)]);if(!s)return;const r=document.createElement(n(387));r[n(416)]=n(415);const i=t[n(411)],o=s[n(425)]||s;if(i)r[n(402)][n(426)]=n(380),r[n(402)][n(388)]=String(i);else{const e=t.config,s={width:e?.[n(426)],height:e?.[n(388)]},{width:i,height:a}=this[n(408)](o,s,{debug:this[n(386)]});r[n(402)][n(426)]=i,r[n(402)][n(388)]=a}const a=document[n(381)](n(387));a[n(416)]=n(412),a[n(402)].cssText=bt.createTextAdStyles(!1),bt[n(394)](a,e);const c=t[n(403)]?.[n(420)];c&&typeof c===n(398)&&(a[n(402)][n(392)]=n(405),a[n(402)][n(397)]=String(c),a[n(402)][n(409)]="vertical",a[n(402)][n(424)]=n(419)),r[n(417)](a),tt.addClickEventForRenderer(r,e,t,()=>this[n(396)](),this[n(386)],"Text"),s.innerHTML="",s[n(417)](r),this[n(386)]&&console[n(389)](n(391)+e._id)}async[Ct(422)](t,e){const n=Ct,s=document.getElementById(t[n(385)]);if(!s)throw new Error(n(406)+t[n(385)]);const r=this[n(396)](),i={autoSlideInterval:(t.config?.slideInterval||5e3)/1e3,...t[n(403)],optimizedHeight:t[n(411)],aspectRatio:t[n(414)]},o=xt[n(423)](t,e,i,r,this.debug);o&&(s[n(410)]="",s[n(417)](o),this[n(386)]&&console.log("✨ Text transition created for slot: "+t.id+" with "+e[n(384)]+n(400)))}}const Dt=Lt;function Rt(){const t=["4aMVmLs","innerHTML","rgba(0, 0, 0, 0.7)","block","div","controls","hideMuteButton",'\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 ',"\n video::-webkit-media-controls-play-button {\n display: ","preload","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","\n 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 ","src","createEventTrackingCallback","img","unmuted","🎬 User explicitly enabled controls, overriding default","button","videoUrl","🎬 Video can play, attempting autoplay...","customControls","playsinline","width","hideRemainingTime","contain","VIEWABLE","textContent","🎬 Video controls setting:","🎬 Video metadata loaded, attempting autoplay...","cssText","warn","objectFit","hideFullscreenButton","imageUrl","debug","loop","🎬 Autoplay completely failed:","hideCurrentTime"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","adstage-video-default-controls","metadata","scale(1)","adstage-video-container","3744702PiGlCt","log","Video fallback","696mHYHUc","title","style","scale(1.1)","100%","head"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","5282075HGTwLX","🎬 Video element created for ad: ","length","⚠️ No video advertisements available for slot: ","280394wCdSbT","Video load failed:","Container not found: ","catch","none","position","background"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","hideVolumeSlider","rgba(0, 0, 0, 0.9)"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","video","🎬 Auto-play was prevented:","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n "," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","addEventListener","adstage-video-mute-button"," !important;\n }\n ","7753920UQcIZj","🎬 Single video ad rendered: ","getElementById","createElement","error","VIDEO","addClickEventForRenderer","hideProgressBar","loadeddata","360px","loadedmetadata","_id","\n pointer-events: none;\n ","renderMultipleAds","alt","getDefaultHeight","1930798rfVAbU","autoplay","stopPropagation","mouseleave","click","Video thumbnail","Click to unmute","height","🎬 Trying muted autoplay fallback...","appendChild",", loop: ","🎬 Video config received:","15484ULKDPH","hideControls","\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 ","transform","paused","10tthDfz","containerId","renderAdElement","muted","renderVideoElementDirect","🔊 Video mute toggled: ","679605bomigX","play",'\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 ',"className"];return(Rt=function(){return t})()}function Lt(t,e){const n=Rt();return(Lt=function(t,e){return n[t-=157]})(t,e)}!function(){const t=Lt,e=Rt();for(;;)try{if(664879===-parseInt(t(186))/1+parseInt(t(220))/2+-parseInt(t(243))/3*(-parseInt(t(247))/4)+-parseInt(t(182))/5+-parseInt(t(175))/6*(-parseInt(t(232))/7)+parseInt(t(204))/8+parseInt(t(172))/9*(-parseInt(t(237))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Pt extends pt{constructor(e=!1,n){super(t[Lt(209)],e,n)}[Dt(219)](){return Dt(213)}async[Dt(239)](t,e){const n=Dt,s=document[n(206)](t[n(238)]);if(!s)return;const r=document[n(207)](n(251));r[n(246)]=n(171),r.style[n(158)]=n(257),this[n(241)](r,e,t),s.innerHTML="",s[n(229)](r),this[n(163)]&&console[n(173)](n(205)+e[n(215)])}async[Dt(217)](t,e){const n=Dt,s=document[n(206)](t[n(238)]);if(!s)throw new Error(n(188)+t[n(238)]);if(e[n(184)]>0){const r=e[0],i=document[n(207)](n(251));i[n(246)]=n(171),i[n(177)][n(158)]=n(199),this[n(241)](i,r,t),s[n(248)]="",s.appendChild(i);const a=this[n(260)]();setTimeout(()=>{const e=n;a(r[e(215)],t.id,o[e(272)])},100),this.debug&&console[n(173)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+r[n(215)]+")")}else this.debug&&console[n(159)](n(185)+t.id)}[Dt(241)](t,e,n){const s=Dt;t.style[s(191)]="relative";const r=document[s(207)](s(197));r[s(177)][s(269)]="100%",r[s(177)][s(227)]=s(179),r[s(177)].objectFit=s(271),r[s(256)]=s(169);const i=n.config;if(this.debug&&console[s(173)](s(231),i),r[s(252)]=!1,r[s(221)]=!1!==i?.[s(221)],r[s(240)]=!0,r.loop=!1!==i?.loop,this.debug&&console.log("🎬 Final video settings:",{autoplay:r[s(221)],muted:r[s(240)],loop:r[s(164)],controls:r[s(252)]}),!1!==i?.[s(268)]&&r.setAttribute("playsinline",""),!0===i?.controls&&(r.controls=!0,this[s(163)]&&console[s(173)](s(263))),i?.hideControls)r.controls=!1,r[s(177)][s(158)]+=s(216);else if(i?.[s(267)]){if(r[s(252)]){const t=document[s(207)](s(177));t[s(273)]=s(255)+(i[s(267)].hidePlayButton?s(190):s(250))+s(181)+(i[s(267)][s(211)]?s(190):s(250))+s(200)+(i[s(267)][s(166)]?s(190):s(250))+" !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: "+(i[s(267)][s(270)]?s(190):s(250))+s(167)+(i[s(267)][s(194)]?"none":"block")+s(193)+(i[s(267)][s(253)]?"none":"block")+s(196)+(i[s(267)][s(161)]?s(190):"block")+s(203),document[s(180)][s(229)](t)}}else if(r.controls){const t=document[s(207)](s(177));t.id=s(168),t[s(273)]=s(234),!document.getElementById(s(168))&&document[s(180)][s(229)](t)}this[s(163)]&&console[s(173)](s(274),r.controls?"enabled":"disabled (default)");const o=document[s(207)](s(264));o.className=s(202),o[s(177)][s(158)]=s(258),i?.[s(233)]&&(o[s(177)].display="none");const a=()=>{const t=s,e=t(245),n=t(254);o[t(248)]=r[t(240)]?e:n,o[t(176)]=r[t(240)]?t(226):"Click to mute"};if(a(),o[s(201)](s(224),t=>{const e=s;t[e(222)](),r[e(240)]=!r.muted,a(),this.debug&&console[e(173)](e(242)+(r.muted?e(240):e(262)))}),o[s(201)]("mouseenter",()=>{const t=s;o[t(177)].background=t(195),o[t(177)][t(235)]=t(178)}),o.addEventListener(s(223),()=>{const t=s;o[t(177)][t(192)]=t(249),o.style[t(235)]=t(170)}),e[s(265)]){r.src=e[s(265)];const t=()=>{const t=s;r[t(221)]&&r[t(240)]&&r[t(236)]&&r.play()[t(189)](e=>{const n=t;this[n(163)]&&(console[n(159)](n(198),e),console[n(159)](n(228))),r.muted=!0,r[n(244)]()[n(189)](t=>{const e=n;this[e(163)]&&console[e(208)](e(165),t)})})};r.addEventListener(s(214),()=>{const e=s;this.debug&&console[e(173)](e(157)),t()}),r[s(201)]("canplay",()=>{const e=s;this[e(163)]&&console[e(173)](e(266)),t()}),r[s(201)](s(212),()=>{const e=s;this[e(163)]&&console[e(173)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{this[s(163)]&&console.log("🎬 Initial autoplay attempt after timeout..."),t()},100)}else if(e[s(162)]){const n=document[s(207)](s(261));return n[s(259)]=e[s(162)],n.style.width="100%",n.style[s(227)]=s(179),n[s(177)][s(160)]=s(271),n[s(218)]=e[s(176)]||"Video thumbnail",void t.appendChild(n)}tt.addClickEventForRenderer(r,e,n,()=>this[s(260)](),this[s(163)],"Video"),r[s(201)](s(208),r=>{const i=s;if(console[i(208)](i(187),r),e[i(162)]){const s=document.createElement("img");s.src=e[i(162)],s.style[i(269)]=i(179),s[i(177)].height=i(179),s[i(177)][i(160)]=i(271),s.alt=e.title||i(225),tt[i(210)](s,e,n,()=>this[i(260)](),this.debug,i(174)),t.innerHTML="",t[i(229)](s)}}),t[s(229)](r),t[s(229)](o),this[s(163)]&&console.log(s(183)+e._id+" (autoplay: "+r[s(221)]+", muted: "+r[s(240)]+s(230)+r[s(164)]+")")}}const Mt=_t;function _t(t,e){const n=zt();return(_t=function(t,e){return n[t-=352]})(t,e)}function zt(){const t=["div","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","img","linkUrl","144678TXXXLX","style","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","): ","629498asOvKB","button","open","imageUrl","renderMultipleAds","77QCdRkA","4TcEhiU","alt","renderAdElement","getElementById","debug","Native click tracked for ad: ","click","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","addEventListener","advertisementEventTracker","cssText","NATIVE","backgroundColor","src","appendChild","mouseenter","50319XZWxik","#3b82f6","\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 ","mouseleave","416shbcOO","className","title","1420310yvkXqM","7350skdWSN","Learn More","_id","warn","createElement","log","12166ENysdr","200px","#2563eb","_blank","265507UFHqRH","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","textContent","getDefaultHeight","1096014vCXWXL","\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 ","containerId"];return(zt=function(){return t})()}!function(){const t=_t,e=zt();for(;;)try{if(187263===-parseInt(t(402))/1+parseInt(t(362))/2+-parseInt(t(406))/3+parseInt(t(368))/4*(-parseInt(t(391))/5)+-parseInt(t(358))/6*(-parseInt(t(367))/7)+parseInt(t(388))/8*(-parseInt(t(384))/9)+-parseInt(t(392))/10*(-parseInt(t(398))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends pt{constructor(e=!1,n){super(t[_t(379)],e,n)}[Mt(405)](){return Mt(399)}async renderAdElement(t,e){const n=Mt,s=document[n(371)](t[n(353)]);if(!s)return;const r=document[n(396)](n(354));if(r[n(389)]="adstage-ad adstage-native-ad",r[n(359)][n(378)]=n(352),e[n(390)]){const t=document.createElement("h3");t.textContent=e[n(390)],t[n(359)][n(378)]=n(360),r[n(382)](t)}if(e[n(404)]){const t=document[n(396)]("p");t[n(404)]=e[n(404)],t[n(359)][n(378)]=n(375),r[n(382)](t)}if(e[n(365)]){const t=document[n(396)]("div");t.style.cssText=n(355);const s=document[n(396)](n(356));s[n(381)]=e[n(365)],s[n(369)]=e.title||"Native Advertisement",s.style.cssText=n(403),t[n(382)](s),r[n(382)](t)}if(e[n(357)]){const t=document[n(396)](n(363));t[n(404)]=n(393),t[n(359)].cssText=n(386),t[n(376)](n(374),()=>{const t=n;this[t(377)]&&console[t(397)](t(373)+e[t(394)]),window[t(364)](e[t(357)],t(401))}),t[n(376)](n(383),()=>{const e=n;t.style[e(380)]=e(400)}),t.addEventListener(n(387),()=>{const e=n;t[e(359)].backgroundColor=e(385)}),r.appendChild(t)}s.innerHTML="",s[n(382)](r),this[n(372)]&&console.log("🏠 Single native ad rendered: "+e[n(394)])}async[Mt(366)](t,e){const n=Mt;e.length>0?(await this[n(370)](t,e[0]),this[n(372)]&&console[n(397)]("🏠 Native ad rendered (first of "+e.length+n(361)+t.id)):this[n(372)]&&console[n(395)]("⚠️ No native advertisements available for slot: "+t.id)}}const Ut=Nt;function Ot(){const t=["mouseenter","fadeOut 0.3s ease-out forwards","5877LOJyKD","log","11741752ABxHoI","🖼️ Interstitial ad closed","INTERSTITIAL","renderMultipleAds","6011432WRQFFV","1489301OkGtOW","style","#f3f4f6","Escape","title","textContent","102138HYhuRK","⚠️ No interstitial advertisements available for slot: ","20oJpeEN","#374151","mouseleave","#2563eb","Interstitial Advertisement","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","305094MQfcGZ","Get Started","): ","#e5e7eb","linkUrl","🖼️ Interstitial ad rendered: ","getElementById","appendChild","addEventListener","createElement","adstage-interstitial-styles","keydown","Interstitial click tracked for ad: ","imageUrl","className","closeInterstitial","backgroundColor","color","alt","length","removeEventListener","button","50mBDizY","_blank","body","20xGLwxK","#6b7280","🖼️ Interstitial ad rendered (first of ","adstage-interstitial-content","div","advertisementEventTracker","8YVRDkk","adstage-interstitial-overlay","getDefaultHeight","\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 ","img","innerHTML","click","_id","warn","debug","cssText","parentNode","target","114143UBSNTL","open","\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 ","containerId","removeChild","renderAdElement","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n "];return(Ot=function(){return t})()}function Nt(t,e){const n=Ot();return(Nt=function(t,e){return n[t-=428]})(t,e)}!function(){const t=Nt,e=Ot();for(;;)try{if(762066===parseInt(t(441))/1*(-parseInt(t(428))/2)+-parseInt(t(463))/3*(parseInt(t(496))/4)+parseInt(t(493))/5*(parseInt(t(471))/6)+-parseInt(t(456))/7+parseInt(t(452))/8+parseInt(t(450))/9+parseInt(t(465))/10*(parseInt(t(457))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Vt extends pt{constructor(e=!1,n){super(t[Nt(454)],e,n)}[Ut(430)](){return"400px"}async[Ut(446)](t,e){const n=Ut;if(!document.getElementById(t[n(444)]))return;const s=document[n(480)]("div");s[n(485)]=n(429),s[n(458)][n(438)]=n(431);const r=document[n(480)](n(500));r.className=n(499),r[n(458)][n(438)]="\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ";const i=document.createElement(n(492));if(i[n(433)]="×",i[n(458)][n(438)]=n(443),i[n(479)](n(434),()=>{this.closeInterstitial(s)}),i.addEventListener(n(448),()=>{const t=n;i[t(458)].backgroundColor=t(474),i.style[t(488)]=t(466)}),i[n(479)](n(467),()=>{const t=n;i[t(458)][t(487)]=t(459),i[t(458)][t(488)]=t(497)}),e.imageUrl){const t=document.createElement(n(432));t.src=e[n(484)],t[n(489)]=e[n(461)]||n(469),t[n(458)][n(438)]=n(470),r[n(478)](t)}if(e[n(461)]){const t=document[n(480)]("h2");t.textContent=e[n(461)],t[n(458)][n(438)]="\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ",r[n(478)](t)}if(e[n(462)]){const t=document.createElement("p");t.textContent=e.textContent,t[n(458)].cssText="\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ",r[n(478)](t)}if(e[n(475)]){const t=document.createElement(n(492));t.textContent=n(472),t[n(458)][n(438)]="\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(479)](n(434),()=>{const t=n;this[t(501)]&&console[t(451)](t(483)+e[t(435)]),window[t(442)](e[t(475)],t(494)),this[t(486)](s)}),t[n(479)](n(448),()=>{const e=n;t[e(458)].backgroundColor=e(468)}),t[n(479)](n(467),()=>{t[n(458)].backgroundColor="#3b82f6"}),r[n(478)](t)}const o=t=>{const e=n;t.key===e(460)&&(this[e(486)](s),document[e(491)]("keydown",o))};if(document[n(479)](n(482),o),s.addEventListener(n(434),t=>{const e=n;t[e(440)]===s&&this[e(486)](s)}),!document[n(477)](n(481))){const t=document[n(480)](n(458));t.id=n(481),t[n(462)]=n(447),document.head[n(478)](t)}r[n(478)](i),s[n(478)](r),document[n(495)][n(478)](s),this[n(437)]&&console[n(451)](n(476)+e._id)}async[Ut(455)](t,e){const n=Ut;e[n(490)]>0?(await this[n(446)](t,e[0]),this[n(437)]&&console[n(451)](n(498)+e[n(490)]+n(473)+t.id)):this[n(437)]&&console[n(436)](n(464)+t.id)}[Ut(486)](t){const e=Ut;t.style.animation=e(449),setTimeout(()=>{const n=e;t[n(439)]&&t.parentNode[n(445)](t)},300),this[e(437)]&&console[e(451)](e(453))}}const Ft=Ht;function Ht(t,e){const n=Kt();return(Ht=function(t,e){return n[t-=350]})(t,e)}function Kt(){const t=["initializeRenderers","objectFit","data-adstage-slot-id","13842tKcian","🏭 AdRenderer factory initialized with ","[AdRenderer] ","set","466784yqDbDn","textContent","width","1098111IyfzEN","img","getRenderer","createElement","padding","3113456BgYpKM","appendChild","size","getDefaultHeight","adType","renderers","data-adstage-ad-id","loadImageDimensions","425NIaJPj","VIDEO","3772920YyhmRj","renderAd","border","naturalHeight","naturalWidth","createPlaceholder"," renderers","42PfNvvP","renderOptimizedBannerImage","_id","videoUrl","setAttribute","onload","BANNER","imageUrl","advertisement","adstage-ad adstage-","No advertisement to render","getDefaultHeightForAdType","video","6864678yDpFnI","get","onerror","className","div","log","TEXT","⚠️ Container optimization is only supported for BANNER ads, got: ","108802oUGNuR","calculateOptimalContainerSize","block","No renderer found for ad type: ","warn","height","display","advertisementEventTracker","style","renderFallback","debug","renderMultipleAds","100%","src","1px dashed #ccc"," Ad"];return(Kt=function(){return t})()}!function(){const t=Ht,e=Kt();for(;;)try{if(421693===parseInt(t(391))/1+-parseInt(t(368))/2*(parseInt(t(416))/3)+parseInt(t(399))/4+-parseInt(t(407))/5*(parseInt(t(387))/6)+-parseInt(t(394))/7+-parseInt(t(409))/8+parseInt(t(360))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class jt{constructor(t=!1,e){const n=Ht;this[n(404)]=new Map,this[n(378)]=t,this[n(375)]=e||null,this[n(384)]()}[Ft(384)](){const e=Ft;this[e(404)][e(390)](t[e(353)],new mt(this[e(378)],this[e(375)])),this[e(404)].set(t[e(366)],new Tt(this[e(378)],this[e(375)])),this[e(404)][e(390)](t.VIDEO,new Pt(this[e(378)],this.advertisementEventTracker)),this.renderers.set(t.NATIVE,new Bt(this[e(378)],this[e(375)])),this[e(404)].set(t.INTERSTITIAL,new Vt(this[e(378)],this[e(375)])),this[e(378)]&&console.log(e(388)+this[e(404)][e(401)]+e(415))}createAdElement(e,n){const s=Ft,r=this.getRenderer(e[s(403)]),i=document[s(397)](s(364));i[s(363)]=s(356)+String(e.adType).toLowerCase(),i[s(351)](s(405),n[s(418)]),i[s(351)](s(386),e.id);const{width:o,height:a}=r.calculateAdSize(i,e.config||{},n);switch(i[s(376)][s(393)]=o,i[s(376)][s(373)]=a,i.style[s(374)]=s(370),e[s(403)]){case t[s(353)]:if(n[s(354)]){const t=document[s(397)](s(395));t[s(381)]=n[s(354)],t[s(376)][s(393)]=s(380),t[s(376)].height="100%",t[s(376)][s(385)]="cover",i[s(400)](t)}break;case t[s(408)]:if(n[s(350)]){const t=document[s(397)](s(359));t[s(381)]=n[s(350)],t[s(376)][s(393)]=s(380),t[s(376)][s(373)]="100%",i[s(400)](t)}break;case t[s(366)]:if(n[s(392)]){const t=document[s(397)](s(364));t[s(392)]=n[s(392)]||"",t[s(376)][s(398)]="8px",i.appendChild(t)}break;default:i[s(376)][s(411)]=s(382),i[s(376)].backgroundColor="#f9f9f9",i[s(392)]=e.adType+s(383)}return i}getRenderer(t){const e=Ft,n=this[e(404)][e(361)](t);if(!n)throw new Error(e(371)+t);return n}[Ft(414)](t,e,n,s,r){const i=Ft;this[i(396)](n)[i(414)](t,e,s,r)}async optimizeContainerForBannerAds(e,n){const s=Ft;if(e[s(403)]!==t[s(353)])return void(this[s(378)]&&console[s(372)](s(367)+e[s(403)]));const r=this.getRenderer(t.BANNER);await r.optimizeContainerForBannerAds(e,n)}async renderAdSlider(t,e){const n=Ft,s=this.getRenderer(t[n(403)]);await s[n(379)](t,e)}async[Ft(410)](t){const e=Ft;if(!t[e(355)])throw new Error(e(357));const n=this[e(396)](t.adType);await n.renderAdElement(t,t[e(355)]),t.isLoaded=!0}async renderAdElement(t,e){const n=Ft,s=this[n(396)](t[n(403)]);await s.renderAdElement(t,e)}renderFallback(t){const e=Ft;this[e(396)](t.adType)[e(377)](t)}[Ft(358)](t){const e=Ft;return this[e(396)](t)[e(402)]()}calculateAdSize(t,e,n,s){return this[Ft(396)](e).calculateAdSize(t,n,s)}[Ft(406)](t){return new Promise((e,n)=>{const s=Ht,r=new Image;r[s(352)]=()=>{const t=s;e({width:r[t(413)],height:r[t(412)]})},r[s(362)]=()=>{n(new Error("Failed to load image: "+t))},r[s(381)]=t})}async renderOptimizedBannerImage(e,n,s){const r=Ft;if(s[r(403)]!==t[r(353)])throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const i=this[r(396)](t[r(353)]);return await i[r(417)](e,n,s)}async[Ft(369)](e,n,s){const r=Ft;if(s!==t.BANNER){const t=this[r(396)](s);return{width:r(380),height:t[r(402)](),aspectRatio:16/9}}const i=this[r(396)](t.BANNER);return await i[r(369)](e,n)}log(t,...e){const n=Ft;this[n(378)]&&console[n(365)](n(389)+t,...e)}}const Wt=qt;function Gt(){const t=["📊 Fetched specific ad with ID: ","clear","3poKnmD","ensureReady","ELEMENT_NODE","TEXT","isLoaded","createAdWithRetry","🔄 Ad slot refreshed: ","createAdInternal",", filters:","status","create","Failed to refresh ad slot: ","handleRemovedElement","slots","disconnect","native","debug","adType","adRenderer","viewabilityTracker","startSimpleViewabilityTracking","VIDEO"," (attempt ","4831004PwahFD","append","style","Failed to fetch ad data: ","advertisement","autoDestroy","country","config","getConfig","fetchAdData","refreshAdSlot","interstitial","📊 Advertisement event tracking enabled for slot: ","random","customControls","text","ms... (attempt ","substr","Ad slot not found: ","advertisementEventTracker","_id","get","loop","deviceType","undefined","[data-adstage-slot-id]","renderFallback","광고 생성 중 오류 발생:","height","width","from","API key not configured","getSlotById","playsinline","maxLines","Container not found: ","removedNodes","mutationObserver","trackAdvertisementEvent","adId","slideInterval","renderAdElement","advertisements","adstage-","destroy","toString","getElementById","error","🎠 Slider will handle VIEWABLE events for ","🚫 Advertisement not found with ID: ","1511891CRKZAW","New advertisement viewable tracked for slot:","🔄 Retrying viewability tracking for slot: ","warn","NATIVE","180nOhLai","init","🎯 Ads module initialized (sync mode) with auto-cleanup","2112154sVoOhX","then","data-adstage-slot-id","body","detail","GET",". Retrying in ","BANNER","🗑️ Ads module destroyed","setupAutoCleanup"," ads)","handleViewableEvent","muted","10081291PdIMsi","1141588pjtflE","nodeType","246550wBehcE","📊 Fetched ","renderAd","🎯 Simple viewability tracking started for slot: ","100%","🔍 Ad slot already cleaned up: ","54iXyXIM","length","forEach","❌ Failed to track viewable impression:","set","onClick","apiKey","getAttribute","autoSlide","❌ Failed to load ad for slot: ","getAllSlots","default","🗑️ Ad slot destroyed: ","json","❌ Failed to find element for viewability tracking: ","🧹 Auto-cleanup: slot ","2772730wijuPh","🔍 Auto-cleanup MutationObserver enabled","createAd","Auto-cleanup failed for slot "," ads automatically","language","_isReady","✅ Ad loaded for slot: ","now","_config","32kWgWdp"," attempts: ","Container not found after ","observe","isReady","delete","Ads module not initialized. Call AdStage.init() first.","autoplay","log"," ads for type: "];return(Gt=function(){return t})()}function qt(t,e){const n=Gt();return(qt=function(t,e){return n[t-=383]})(t,e)}!function(){const t=qt,e=Gt();for(;;)try{if(896926===parseInt(t(452))/1+parseInt(t(460))/2+parseInt(t(520))/3*(parseInt(t(402))/4)+-parseInt(t(476))/5*(parseInt(t(457))/6)+-parseInt(t(474))/7*(parseInt(t(508))/8)+-parseInt(t(482))/9*(parseInt(t(498))/10)+parseInt(t(473))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=qt;this[t(504)]=!1,this[t(507)]=null,this[t(392)]=new Map,this[t(421)]=null,this[t(397)]=null,this[t(439)]=null}[Wt(458)](t){const e=Wt;this[e(507)]=t,this[e(421)]=new z(G.getBaseUrl(),t[e(488)],t.debug||!1,this.slots),this[e(397)]=new jt(t[e(395)]||!1,this[e(421)]),this[e(469)](),this[e(504)]=!0,t[e(395)]&&console[e(516)](e(459))}[Wt(512)](){return this[Wt(504)]}[Wt(410)](){return this._config}banner(e,n){const s=Wt;this[s(521)]();const r={width:n?.[s(431)]||s(480),height:n?.height||"auto",autoSlide:n?.[s(490)]||!1,slideInterval:n?.[s(442)]||5e3,onClick:n?.[s(487)],adId:n?.[s(441)],language:n?.[s(503)],deviceType:n?.[s(425)],country:n?.[s(408)]};return this.createAd(e,t[s(467)],r)}[Wt(417)](e,n){const s=Wt;this[s(521)]();const r={maxLines:n?.[s(436)]||3,style:n?.[s(404)]||s(493),onClick:n?.[s(487)],adId:n?.[s(441)],language:n?.language,deviceType:n?.[s(425)],country:n?.[s(408)]};return this[s(500)](e,t[s(523)],r)}video(e,n){const s=Wt;this[s(521)]();const r={width:n?.[s(431)]||640,height:n?.[s(430)]||360,autoplay:void 0===n?.[s(515)]||n[s(515)],muted:void 0===n?.[s(472)]||n[s(472)],loop:void 0===n?.[s(424)]||n.loop,playsinline:!1!==n?.[s(435)],controls:void 0!==n?.controls&&n.controls,hideControls:n?.hideControls||!1,customControls:n?.[s(416)],autoSlide:!1,maxAds:1,onClick:n?.[s(487)],...n?.adId&&{adId:n[s(441)]}};return this[s(500)](e,t[s(400)],r)}[Wt(394)](e,n){const s=Wt;return this[s(521)](),this[s(500)](e,t[s(456)],n||{})}[Wt(413)](e,n){const s=Wt;return this[s(521)](),this[s(500)](e,t.INTERSTITIAL,n||{})}refresh(t){const e=Wt;this[e(521)]();const n=this[e(392)][e(423)](t);if(!n)throw new Error(e(420)+t);this.refreshAdSlot(n),this[e(507)]?.[e(395)]&&console.log(e(385)+t)}destroy(t){const e=Wt;this[e(521)]();const n=this[e(392)][e(423)](t);if(!n)return void(this._config?.debug&&console[e(516)](e(481)+t));n[e(398)]&&n[e(398)][e(446)]();const s=document[e(448)](n.containerId);s&&(s.innerHTML=""),this[e(392)][e(513)](t),this[e(507)]?.debug&&console[e(516)](e(494)+t)}[Wt(492)](){const t=Wt;return this.ensureReady(),Array[t(432)](this.slots.values())}[Wt(434)](t){const e=Wt;return this[e(521)](),this[e(392)][e(423)](t)||null}createAd(t,e,n){const s=Wt;if(!this[s(507)]?.[s(488)])throw new Error(s(433));const r=s(445)+e+"-"+Date[s(506)]()+"-"+Math[s(415)]()[s(447)](36)[s(419)](2,9);return this[s(384)](t,e,n,r,0),r}async[Wt(384)](t,e,n,s,r){const i=Wt,o=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document[i(448)](t),!c)return r<4?(this[i(507)]?.debug&&console.warn(i(437)+t+i(466)+o[r+1]+i(418)+(r+1)+"/5)"),void setTimeout(()=>{this[i(384)](t,e,n,s,r+1)},o[r+1])):void console[i(449)](i(510)+5+i(509)+t)}else c=t,a=c.id||"auto-"+s,!c.id&&(c.id=a);try{this[i(386)](a,e,n,s,c)}catch(t){console.error(i(429),t)}}createAdInternal(e,n,s,r,i){const o=Wt;i.setAttribute(o(462),r),this[o(397)]?.createPlaceholder(i,r,n,s,this._config);const a={id:r,containerId:e,adType:n,width:s[o(431)]||o(480),height:s[o(430)]||(n===t[o(523)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(411)](n,s)[o(461)](t=>t[0]||null),render:t=>this[o(397)]?.[o(443)](a,t),refresh:async()=>this[o(412)](a),destroy:()=>this[o(446)](r)};this[o(392)][o(486)](r,a),this.loadAdContentInBackground(a),this.advertisementEventTracker&&this._config?.[o(395)]&&console[o(516)](o(414)+r)}async loadAdContentInBackground(e){const n=Wt;try{const s=await this[n(411)](e.adType,e[n(409)]);if(!s||0===s[n(483)])return void this[n(397)]?.[n(428)](e);e.adType===t[n(467)]&&s[n(483)]>0&&await(this.adRenderer?.optimizeContainerForBannerAds(e,s)),s[n(483)]>1||e.config?.[n(490)]?(await(this.adRenderer?.renderAdSlider(e,s)),this[n(507)]?.[n(395)]&&console[n(516)](n(450)+s.length+n(502))):(e[n(406)]=s[0],await(this[n(397)]?.renderAdElement(e,s[0])),this[n(399)](e,s[0])),e[n(383)]=!0,this[n(507)]?.[n(395)]&&console[n(516)](n(505)+e.id+" ("+s[n(483)]+n(470))}catch(t){console[n(449)](n(491)+e.id,t),this[n(397)]?.[n(428)](e)}}[Wt(399)](t,e){const n=(s=0)=>{const r=qt,i=document[r(448)](t.id);if(!i)return void(s<5?(setTimeout(()=>n(s+1),300),this[r(507)]?.[r(395)]&&console[r(516)](r(454)+t.id+r(401)+(s+1)+")")):console[r(455)](r(496)+t.id));const o=new N(i,async()=>{const n=r;await this[n(471)](e,t)});t[r(398)]=o,this[r(507)]?.[r(395)]&&console[r(516)](r(479)+t.id+" (element found)")};n()}async handleViewableEvent(t,e){const n=Wt;try{this[n(421)]&&(await this[n(421)][n(440)](t._id,e.id,o.VIEWABLE),this._config?.debug&&console.log("✅ Simple viewable impression tracked for ad "+t[n(422)]))}catch(t){console.error(n(485),t)}}async fetchAdData(t,e){const n=Wt;if(!this[n(507)]?.[n(488)])throw new Error(n(433));if(e[n(441)]){const t=""+G.advertisements[n(464)](e[n(441)]),s=await fetch(t,{method:n(465),headers:L[n(389)](this[n(507)][n(488)])});if(!s.ok){if(404===s[n(388)])return console[n(455)](n(451)+e[n(441)]),[];throw new Error(n(405)+s[n(388)])}const r=await s[n(495)]();return this[n(507)]?.debug&&console[n(516)](n(518)+e[n(441)],r),[r]}const s=new URLSearchParams;s[n(403)](n(396),t),e[n(503)]&&s[n(403)](n(503),e[n(503)]),e[n(425)]&&s[n(403)](n(425),e.deviceType),e[n(408)]&&s.append(n(408),e[n(408)]);const r=G[n(444)].list()+"?"+s[n(447)](),i=await fetch(r,{method:"GET",headers:L[n(389)](this[n(507)][n(488)])});if(!i.ok)throw new Error("Failed to fetch ad data: "+i[n(388)]);const o=(await i.json())[n(444)]||[];return this[n(507)]?.[n(395)]&&console[n(516)](n(477)+o[n(483)]+n(517)+t+n(387),{language:e.language,deviceType:e.deviceType,country:e[n(408)]}),o}async[Wt(412)](t){const e=Wt;try{const n=await this[e(411)](t[e(396)],t.config||{});n&&n[e(483)]>0&&(t[e(406)]=n[0],await(this[e(397)]?.[e(478)](t)),this[e(421)]&&console.log(e(453),t.id))}catch(n){console[e(449)](e(390)+t.id,n)}}[Wt(521)](){const t=Wt;if(!this[t(504)])throw new Error(t(514))}[Wt(469)](){const t=Wt;typeof window!==t(426)&&"undefined"!=typeof document&&(this[t(439)]&&this[t(439)][t(393)](),this[t(439)]=new MutationObserver(t=>{t.forEach(t=>{const e=qt;t[e(438)][e(484)](t=>{const n=e;t[n(475)]===Node[n(522)]&&this[n(391)](t)})})}),this[t(439)][t(511)](document[t(463)],{childList:!0,subtree:!0}),this[t(507)]?.debug&&console[t(516)](t(499)))}handleRemovedElement(t){const e=Wt,n=t[e(489)](e(462));if(n)return void this[e(407)](n);t.querySelectorAll(e(427))[e(484)](t=>{const n=e,s=t[n(489)](n(462));s&&this[n(407)](s)})}[Wt(407)](t){const e=Wt,n=this[e(392)][e(423)](t);if(n)try{n[e(398)]&&n[e(398)][e(446)](),this[e(392)][e(513)](t),this[e(507)]?.debug&&console[e(516)](e(497)+t+" removed")}catch(n){this[e(507)]?.[e(395)]&&console[e(455)](e(501)+t+":",n)}}destroyModule(){const t=Wt,e=this._config?.[t(395)];this[t(439)]&&(this[t(439)].disconnect(),this.mutationObserver=null),this.slots[t(519)](),this[t(421)]=null,this[t(397)]=null,this[t(504)]=!1,this[t(507)]=null,e&&console[t(516)](t(468))}}var Xt=Jt;function Jt(t,e){var n=Qt();return(Jt=function(t,e){return n[t-=189]})(t,e)}function Qt(){var t=["2811466aBwKqg","config","events","111835iAupWw","apiKey","getEnabledModules","4821776kmETIc","getApiEndpoint","132wqiFTy","_isReady","API key not available","1712649skfFtO","getBaseUrl","getOrganizationInfo","✅ Config module initialized (sync mode)","debug","getApiHeaders","modules","log","358956ufkhWZ","_config","3522954uOzJgb","updateConfig","setBaseUrl","13848948myWlWO","3tBXgmO","isReady","_organizationInfo","ads","Config module not initialized","includes","baseUrl"];return(Qt=function(){return t})()}!function(){for(var t=Jt,e=Qt();;)try{if(936333===parseInt(t(219))/1+parseInt(t(197))/2*(parseInt(t(201))/3)+-parseInt(t(216))/4*(parseInt(t(211))/5)+-parseInt(t(195))/6+parseInt(t(208))/7+-parseInt(t(214))/8+-parseInt(t(200))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){var t=Jt;this[t(217)]=!1,this[t(196)]=null,this[t(203)]=null}init(t){var e=Jt;this[e(196)]={timeout:3e4,debug:!1,modules:[e(204),e(210),e(209)],...t},t.baseUrl&&G[e(199)](t[e(207)]),this[e(217)]=!0,t.debug&&console[e(194)](e(190),{modules:this._config[e(193)],endpoint:G[e(220)](),mode:"development"})}[Xt(202)](){return this._isReady}getConfig(){return this[Xt(196)]}[Xt(189)](){return this[Xt(203)]}[Xt(215)](){return G[Xt(220)]()}isDebugMode(){var t=Xt;return this._config?.[t(191)]||!1}[Xt(213)](){var t=Xt;return this._config?.[t(193)]||[]}isModuleEnabled(t){var e=Xt;return this[e(213)]()[e(206)](t)}[Xt(198)](t){var e=Xt;if(!this._config)throw new Error(e(205));this[e(196)]={...this[e(196)],...t},this.isDebugMode()&&console[e(194)]("🔄 Config updated",t)}[Xt(192)](){var t=Xt;if(!this[t(196)]?.[t(212)])throw new Error(t(218));return L.create(this[t(196)][t(212)])}}function $t(){const t=["getAutoDetectedDeviceInfo","845418pmNwok","toLowerCase","Desktop Web","isBrowser","platform","getDetailedInfo","ios","0x0","width","_userProvidedDeviceInfo","iOS","2322wVtCZA","335451vitqqo","1269762ofMLjt","729770lRpHGC","other","SSR","clearDeviceInfo","setDeviceProperty","userAgent","Android","web","253Iqfwhu","getDeviceInfo","ko-KR","getUserDeviceInfo","height","1424NXxmWn","tablet","mobile","1345815ptrgEJ","80sLfrxf","test","getPlatform","14640HyeHur","onLine","isMobile","1141zVTnVD","Unknown","desktop","android","setDeviceInfo"];return($t=function(){return t})()}const te=ee;function ee(t,e){const n=$t();return(ee=function(t,e){return n[t-=256]})(t,e)}!function(){const t=ee,e=$t();for(;;)try{if(823608===-parseInt(t(295))/1+parseInt(t(265))/2+parseInt(t(264))/3+-parseInt(t(279))/4*(-parseInt(t(286))/5)+-parseInt(t(263))/6*(-parseInt(t(289))/7)+parseInt(t(283))/8*(parseInt(t(282))/9)+parseInt(t(266))/10*(-parseInt(t(274))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static[te(275)](){const t=te;return{...ne.getAutoDetectedDeviceInfo(),...ne[t(261)]}}static[te(294)](){const t=te;if(!y[t(298)]())return{category:t(267),platform:t(268),model:t(268),osVersion:t(268)};const e=navigator[t(271)][t(296)]();let n=t(291);/tablet|ipad/[t(284)](e)?n=t(280):T[t(288)]()&&(n=t(281));const s=T[t(285)]();return{category:n,platform:ne.mapPlatformForEvents(s),model:navigator[t(256)],osVersion:navigator.platform}}static[te(293)](t){const e=te;ne[e(261)]={...ne[e(261)],...t}}static[te(270)](t,e){ne[te(261)][t]=e}static[te(269)](){ne[te(261)]={}}static[te(277)](){return{...ne[te(261)]}}static mapPlatformForEvents(t){const e=te;switch(t){case e(258):return e(262);case e(292):return e(272);case e(273):return"Mobile Web";case e(291):return e(297);default:return e(290)}}static[te(257)](){const t=te;if(!y[t(298)]())return{userAgent:t(268),language:t(276),platform:t(268),cookieEnabled:!1,onLine:!0,screenResolution:t(259),viewportSize:"0x0"};const e=y.getViewportInfo();return{userAgent:navigator[t(271)],language:navigator.language||t(276),platform:navigator[t(256)],cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(287)],screenResolution:screen[t(260)]+"x"+screen[t(278)],viewportSize:e[t(260)]+"x"+e[t(278)]}}}function se(){const t=["resolvedOptions","timeZone","extractCountryFromLanguage","isBrowser","DateTimeFormat","138fVjgYy","ko-KR","51pZQPnB","12nvTtxz","9ZuTJJp","168VzonBH","setUserProperties","3908860IVqxBb","UTC","150110VnxAop","164830yotooy","getBaseUserInfo","16299569HxYPMn","clearUserProperties","66428ayXruC","_userProperties","split","28055ZSxVwO","70728HroLCN"];return(se=function(){return t})()}function re(t,e){const n=se();return(re=function(t,e){return n[t-=230]})(t,e)}ne._userProvidedDeviceInfo={};const ie=re;!function(){const t=re,e=se();for(;;)try{if(227452===-parseInt(t(251))/1+-parseInt(t(250))/2+parseInt(t(243))/3*(-parseInt(t(231))/4)+-parseInt(t(234))/5*(parseInt(t(241))/6)+-parseInt(t(235))/7*(parseInt(t(246))/8)+parseInt(t(245))/9*(-parseInt(t(248))/10)+parseInt(t(253))/11*(parseInt(t(244))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static getUserInfo(){return{...oe.getBaseUserInfo(),...oe._userProperties}}static[ie(252)](){const t=ie;if(!y[t(239)]())return{language:t(242),country:"KR"};const e=navigator.language||t(242);return{language:e,country:oe[t(238)](e)}}static extractCountryFromLanguage(t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ie(233)]("-")[0]]||"KR"}static[ie(247)](t){const e=ie;oe._userProperties={...oe[e(232)],...t}}static setUserProperty(t,e){oe[ie(232)][t]=e}static[ie(230)](){oe[ie(232)]={}}static getCurrentUserProperties(){return{...oe[ie(232)]}}static estimateLocation(){const t=ie;if(!y[t(239)]())return{timezone:t(249),estimatedCountry:"KR"};const e=Intl[t(240)]()[t(236)]()[t(237)];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 ae(t,e){const n=le();return(ae=function(t,e){return n[t-=135]})(t,e)}oe[ie(232)]={};const ce=ae;!function(){const t=ae,e=le();for(;;)try{if(372841===parseInt(t(157))/1*(parseInt(t(169))/2)+-parseInt(t(154))/3*(parseInt(t(172))/4)+-parseInt(t(185))/5+-parseInt(t(195))/6*(parseInt(t(150))/7)+parseInt(t(144))/8+-parseInt(t(203))/9*(-parseInt(t(166))/10)+parseInt(t(170))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class de{static captureFromUrl(){const t=ae;if("undefined"==typeof window)return null;const e=new URLSearchParams(window[t(197)][t(146)]),n={};let s=!1;const r=e[t(180)](t(167));if(r)try{const e=decodeURIComponent(r),i=new URLSearchParams(e);for(const e of de.ALL_KEYS){const r=i[t(180)](e);r&&(n[e]=r,s=!0)}"true"===i[t(180)]("adstage")&&(s=!0)}catch(e){console[t(192)](t(135),e)}for(const r of de[t(179)]){if(n[r])continue;const i=e[t(180)](r);i&&(n[r]=i,s=!0)}return s?(n[t(139)]||(n[t(200)]?n[t(139)]=t(160):n.fbclid?n[t(139)]=t(198):n[t(143)]?n[t(139)]=t(142):n[t(178)]?n[t(139)]=t(151):n[t(165)]?n.channel=t(141):n[t(158)]?n.channel=t(201):n[t(161)]&&(n[t(139)]=t(168))),de.store(n),n):null}static store(t){const e=ae;if("undefined"!=typeof window)try{const n={...de[e(180)](),...t},s=JSON[e(145)](n);try{sessionStorage[e(205)](de[e(163)],s)}catch(t){}try{localStorage[e(205)](de.STORAGE_KEY,s)}catch(t){}}catch(t){console[e(192)](e(174),t)}}static[ce(180)](){const t=ce;if("undefined"==typeof window)return null;try{const e=sessionStorage?.[t(173)](de.STORAGE_KEY);if(e)return JSON.parse(e)}catch(t){}try{const e=localStorage?.[t(173)](de[t(163)]);if(e)return JSON.parse(e)}catch(t){}return null}static[ce(186)](){const t=ce;if(typeof window!==t(181)){try{sessionStorage?.[t(190)](de[t(163)])}catch(t){}try{localStorage?.removeItem(de[t(163)])}catch(t){}}}static[ce(189)](){const t=ce,e=de[t(180)]();return null!==e&&Object[t(149)](e)[t(183)]>0}static[ce(182)](){const t=ce,e=de[t(180)]();return!!e&&de[t(184)][t(164)](t=>e[t])}static shouldSendClickEvent(){const t=ce;if(typeof window===t(181))return!1;const e=de[t(180)]();if(!e||!de.hasClickId())return!1;const n=e.gclid||e[t(171)]||e[t(143)]||e[t(178)]||e[t(165)]||e[t(158)]||e[t(161)];if(!n)return!1;return n!==sessionStorage[t(173)](t(196))&&(sessionStorage[t(205)]("adstage_last_click_id",n),!0)}static[ce(194)](){const t=ce;typeof window!==t(181)&&sessionStorage[t(205)](t(162),t(152))}static[ce(137)](){const t=ce;return typeof window!==t(181)&&"true"===sessionStorage[t(173)](t(162))}static[ce(177)](){const t=ce,e=de[t(180)]();if(!e)return null;const n={};return e[t(200)]&&(n[t(200)]=e[t(200)]),e.fbclid&&(n.fbclid=e[t(171)]),e[t(143)]&&(n.ttclid=e.ttclid),e[t(178)]&&(n.nclid=e[t(178)]),e[t(139)]&&(n.channel=e[t(139)]),e[t(199)]&&(n[t(199)]=e.campaign),e[t(175)]&&(n[t(156)]=e[t(175)]),e[t(191)]&&(n[t(204)]=e[t(191)]),e[t(138)]&&(n.adGroupId=e[t(138)]),e[t(148)]&&(n.adCreative=e[t(148)]),e.creative_id&&(n[t(193)]=e[t(155)]),e[t(153)]&&(n.term=e[t(153)]),e[t(147)]&&(n[t(147)]=e[t(147)]),e[t(188)]&&(n[t(188)]=e[t(188)]),e.utm_campaign&&(n[t(187)]=e[t(187)]),e[t(136)]&&(n[t(136)]=e[t(136)]),e[t(159)]&&(n[t(159)]=e.utm_term),Object.keys(n)[t(183)]>0?n:null}}function le(){const t=["fbclid","187452DHhoPo","getItem","Failed to store tracking params:","campaign_id","CAMPAIGN_KEYS","toAttributionObject","nclid","ALL_KEYS","get","undefined","hasClickId","length","CLICK_ID_KEYS","1626795xGkRXf","clear","utm_campaign","utm_medium","hasParams","removeItem","ad_group","warn","creativeId","markClickEventSent","1298190xJFJjn","adstage_last_click_id","location","meta.ads","campaign","gclid","microsoft.ads","adstage_tracking_params","711468bMEEbR","adGroup","setItem","Failed to parse adstage_referrer:","utm_content","isClickEventSent","ad_group_id","channel","UTM_KEYS","linkedin.ads","tiktok.ads","ttclid","447232AQiXcW","stringify","search","utm_source","ad_creative","keys","7VGihJn","naver.searchad","true","term","39kTrsEe","creative_id","campaignId","101IbNdma","msclkid","utm_term","google.ads","twclid","adstage_click_event_sent","STORAGE_KEY","some","liclid","40ErzMCZ","adstage_referrer","twitter.ads","170NUtsjE","12573957IDcgHR"];return(le=function(){return t})()}de[ce(163)]=ce(202),de[ce(184)]=[ce(200),ce(171),ce(143),"nclid","liclid",ce(158),ce(161)],de.CAMPAIGN_KEYS=[ce(199),ce(175),ce(191),ce(138),ce(148),ce(155),ce(153)],de[ce(140)]=[ce(147),ce(188),ce(187),ce(136),ce(159)],de.ALL_KEYS=[...de[ce(184)],...de[ce(176)],...de.UTM_KEYS];const ue=he;function pe(){const t=["Attribution registration failed: ","449362LhncLK","sendEventToServer","getItem","📡 Attribution request URL:","👤 User properties set:","getUserInfo","175192mgeXiV","events","getUserDeviceInfo","setItem","statusText","6Crktvy","text","⏭️ No tracking parameters found, skipping attribution registration","log","error","length","4478411zrREmI","stringify","adstage_attribution_id","15208nlEmXD","toAttributionObject","getCurrentUserProperties","apiKey","getUserProperties","📱 Device info set:","Events module not initialized. Call AdStage.init() first.","POST","debug","status","Event tracking failed: ","create","2915495DgvWGh","12487130PKxqqj","45FqokuY","trackWithAttributionId","warn","API key not configured for event tracking.","📊 Events module initialized","getDeviceInfo","getConfig","getAttributionId","✅ Event tracked:","application/json","📡 Request URL:","Event data:","setDeviceInfo","_isReady","📦 Attribution request body:","🔑 Attribution request headers:","init","get","❌ Failed to register attribution:","keys","track","📦 Request body:","attributionId","registerAttribution","_config","✅ Attribution registered:","clearDeviceInfo","📊 Attribution included:","📱 Device property set:","24OvoVFH","setDeviceProperty","isReady","✅ Event tracked with attribution ID:","sendAttributionToServer","593396zmAsJv","setUserProperties"];return(pe=function(){return t})()}function he(t,e){const n=pe();return(he=function(t,e){return n[t-=492]})(t,e)}!function(){const t=he,e=pe();for(;;)try{if(431022===parseInt(t(525))/1+parseInt(t(522))/2+parseInt(t(517))/3*(-parseInt(t(531))/4)+-parseInt(t(557))/5+parseInt(t(536))/6*(-parseInt(t(542))/7)+parseInt(t(545))/8*(parseInt(t(559))/9)+parseInt(t(558))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class fe{constructor(){this[he(501)]=!1,this._config=null}[ue(504)](t){const e=ue;this._config=t,this[e(501)]=!0,t[e(553)]&&console[e(539)](e(492))}[ue(519)](){return this[ue(501)]}[ue(494)](){return this[ue(512)]}[ue(523)](t){const e=ue;oe.setUserProperties(t),this[e(512)]?.debug&&console.log(e(529),t)}[ue(549)](){return oe[ue(547)]()}[ue(500)](t){const e=ue;ne[e(500)](t),this[e(512)]?.[e(553)]&&console[e(539)](e(550),t)}[ue(518)](t,e){const n=ue;ne.setDeviceProperty(t,e),this[n(512)]?.[n(553)]&&console[n(539)](n(516),t,e)}[ue(514)](){const t=ue;ne[t(514)](),this[t(512)]?.[t(553)]&&console[t(539)]("📱 User provided device info cleared")}[ue(533)](){return ne[ue(533)]()}[ue(493)](){return ne[ue(493)]()}getUserInfo(){return oe[ue(530)]()}[ue(547)](){return oe[ue(547)]()}async track(t,e){const n=ue;if(this[n(501)])if(this._config?.[n(548)])try{const s=this[n(495)]();if(s){const r={eventName:t,sdkVersion:x(),device:ne[n(493)](),user:oe[n(530)](),attributionId:s,params:e||{}};return await this[n(526)](r),void(this._config[n(553)]&&console[n(539)](n(520),t,s))}const r=de[n(546)](),i={eventName:t,sdkVersion:x(),device:ne.getDeviceInfo(),user:oe[n(530)](),...r&&{attribution:r},params:e||{}};await this.sendEventToServer(i),this._config.debug&&(console[n(539)](n(496),t,e),r&&console[n(539)](n(515),r))}catch(s){console[n(540)]("❌ Failed to track event:",s),this[n(512)][n(553)]&&console[n(540)](n(499),{eventName:t,properties:e})}else console[n(561)](n(562));else console[n(561)](n(551))}async[ue(511)](t){const e=ue;if(!this[e(501)])return console[e(561)]("Events module not initialized. Call AdStage.init() first."),null;if(!this._config?.[e(548)])return console[e(561)]("API key not configured for attribution registration."),null;try{const n=de[e(505)]();if(!n||0===Object[e(507)](n)[e(541)])return this[e(512)][e(553)]&&console.log(e(538)),null;const s=await this.sendAttributionToServer({deviceId:t,referrerParams:n});if(this._config[e(553)]&&console[e(539)](e(513),s),s[e(510)]){try{localStorage[e(534)]("adstage_attribution_id",s[e(510)])}catch(t){}try{sessionStorage[e(534)]("adstage_attribution_id",s.attributionId)}catch(t){}}return s}catch(t){return console[e(540)](e(506),t),null}}[ue(495)](){const t=ue;if("undefined"==typeof window)return null;try{const e=sessionStorage[t(527)](t(544));if(e)return e}catch(t){}try{return localStorage[t(527)]("adstage_attribution_id")}catch(t){}return null}async[ue(560)](t,e){return this[ue(508)](t,e)}async sendEventToServer(t){const e=ue,n={...L[e(556)](this[e(512)][e(548)]),"Content-Type":e(497)};this._config?.[e(553)]&&(console[e(539)]("🔑 Request headers:",n),console[e(539)](e(498),G.events[e(508)]()),console[e(539)](e(509),t));const s=await fetch(G[e(532)][e(508)](),{method:e(552),headers:n,body:JSON[e(543)](t)});if(!s.ok){const t=await s.text();throw console[e(540)]("❌ API Error Response:",t),new Error(e(555)+s[e(554)]+" "+s[e(535)])}}async[ue(521)](t){const e=ue,n={...L[e(556)](this._config[e(548)]),"Content-Type":e(497)};this[e(512)]?.[e(553)]&&(console[e(539)](e(503),n),console[e(539)](e(528),G[e(532)][e(511)]()),console[e(539)](e(502),t));const s=await fetch(G[e(532)][e(511)](),{method:e(552),headers:n,body:JSON[e(543)](t)});if(!s.ok){const t=await s[e(537)]();throw console.error("❌ API Error Response:",t),new Error(e(524)+s[e(554)]+" "+s[e(535)])}return s.json()}}const ge=Ie;function me(){const t=["substring","🔗 Using attributionId from URL (attribution_id):","baseUrl","events","ads","web-","viewableTracker","undefined","generateDeviceId","tracking_params","replace","1AAOZlK","_isInitialized","getConfig","search","location","attribution_id",")의 viewable 추적 초기화됨","hash","24rydylO","web","15788736dPlCgq","🌐 API endpoint configured:","adstage_device_id","4407756lIIPeV","width","userAgent","clearAdViewable","2234701MgtbBK","debug","height","12339080JzqDEL","init","captureFromUrl","apiKey","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","expiresAt","length","❌ Failed to auto-track click event:","toISOString","✅ Auto-tracked click event with tracking params:","registerAttribution","4501515smqTFe","508636RnxjcT","3OSuZqw","server-","getInstance","⏭️ Skipping click event (duplicate or no click ID)","AdStage not initialized. Call AdStage.init() first.","toString","instance","log","clear","_config","setItem","click","hasClickId","get","hardwareConcurrency","config","✅ AdStage Debug: 광고 ","language","7579312XSAllG","AdStage.config accessed before initialization","❌ Error in click event auto-tracking:","then","isReady","size","warn","AdStage.events accessed before initialization","attributionId","toAttributionObject","🔍 Should send click event:","error","campaign","📊 Tracking parameters captured:","❌ Failed to register attribution:","development","now","markClickEventSent","reset","modules","track","...","setBaseUrl","catch","🎯 Sending click event after attribution registration","charCodeAt","join","API key is required for AdStage initialization","abs"];return(me=function(){return t})()}function Ie(t,e){const n=me();return(Ie=function(t,e){return n[t-=394]})(t,e)}!function(){const t=Ie,e=me();for(;;)try{if(963908===parseInt(t(457))/1*(-parseInt(t(398))/2)+parseInt(t(399))/3*(-parseInt(t(417))/4)+parseInt(t(397))/5+parseInt(t(470))/6+parseInt(t(474))/7*(parseInt(t(465))/8)+parseInt(t(467))/9+-parseInt(t(477))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ve{constructor(){const t=Ie;this._isInitialized=!1,this[t(408)]=null,this[t(414)]=new Zt,this.ads=new Yt,this.events=new fe}static[ge(478)](t){const e=ge;!ve.instance&&(ve[e(405)]=new ve);const n=ve.instance;if(!t[e(480)])throw new Error(e(444));n[e(408)]={timeout:3e4,debug:!1,modules:[e(450),e(449),e(414)],...t},n[e(408)][e(448)]&&(G[e(439)](n[e(408)][e(448)]),t.debug&&console[e(406)](e(468),n[e(408)][e(448)]));const s=n[e(408)][e(436)]||["ads",e(449),e(414)];for(const t of s){const s=n[t];s&&"function"==typeof s[e(478)]&&s.init(n[e(408)])}if(n[e(458)]=!0,typeof window!==e(453)){const s=de[e(479)]();s&&t[e(475)]&&console[e(406)](e(430),s);const r=(()=>{const t=e;try{const e=new URLSearchParams(window.location[t(460)]),n=new URLSearchParams((window[t(461)][t(464)]||"")[t(456)](/^#/,""));return e[t(412)](t(462))||n[t(412)](t(462))}catch{return null}})();if(r)try{localStorage[e(409)]("adstage_attribution_id",r),t[e(475)]&&console[e(406)](e(447),r)}catch(t){}const i=de.shouldSendClickEvent();if(t[e(475)]&&(console[e(406)](e(427),i),!i&&console[e(406)](e(402))),!r&&s&&de[e(411)]()){const s=(async()=>{const s=e;try{const e=n[s(454)](),r=await n.events[s(396)](e);return r&&t[s(475)]&&console.log("✅ Attribution registered:",{attributionId:r[s(425)],channel:r.channel,campaign:r[s(429)],expiresAt:r[s(482)]}),r}catch(t){return console.error(s(431),t),null}})();i&&s[e(420)](s=>{const r=e;try{const e=de[r(412)](),i=de[r(426)]();t[r(475)]&&console.log(r(441),{attributionId:s?.[r(425)],hasAttribution:!!s}),n[r(449)].track(r(410),{_autoGenerated:!0,_source:"tracking_params",_timestamp:(new Date)[r(394)](),_platform:r(466)})[r(420)](()=>{const n=r;de[n(434)](),t.debug&&console[n(406)](n(395),{attribution:i,trackingParams:e})})[r(440)](t=>{const e=r;console.error(e(484),t)})}catch(t){console[r(428)](r(419),t)}})}else i&&setTimeout(()=>{const s=e;try{const e=de[s(412)](),r=de[s(426)]();n.events[s(437)](s(410),{_autoGenerated:!0,_source:s(455),_timestamp:(new Date)[s(394)](),_platform:s(466)})[s(420)](()=>{const n=s;de[n(434)](),t[n(475)]&&console.log(n(395),{attribution:r,trackingParams:e})})[s(440)](t=>{const e=s;console[e(428)](e(484),t)})}catch(t){console[s(428)](s(419),t)}},100)}t.debug&&console[e(406)]("🚀 AdStage SDK initialized (sync mode)",{version:"2.0.0",modules:s,apiKey:t[e(480)][e(446)](0,8)+e(438),mode:e(432)})}static[ge(421)](){const t=ge;return ve[t(405)]?.[t(458)]||!1}static[ge(459)](){const t=ge;return ve[t(405)]?.[t(408)]||null}static[ge(401)](){const t=ge;if(!ve[t(405)])throw new Error(t(403));return ve[t(405)]}static get[ge(450)](){const t=ge;try{return ve[t(401)]().ads}catch(e){throw console[t(423)]("AdStage.ads accessed before initialization"),e}}static get[ge(449)](){const t=ge;try{return ve[t(401)]()[t(449)]}catch(e){throw console[t(423)](t(424)),e}}static get[ge(414)](){const t=ge;try{return ve.getInstance()[t(414)]}catch(e){throw console.warn(t(418)),e}}static[ge(435)](){const t=ge;ve[t(405)]&&(ve[t(405)][t(458)]=!1,ve[t(405)]._config=null)}[ge(454)](){const t=ge;if(typeof window===t(453))return t(400)+Math.random()[t(404)](36)[t(446)](2,15);const e=localStorage.getItem(t(469));if(e)return e;const n=[navigator[t(472)],navigator[t(416)],screen[t(471)]+"x"+screen[t(476)],(new Date).getTimezoneOffset(),navigator[t(413)]||0][t(443)]("|");let s=0;for(let e=0;e<n[t(483)];e++){s=(s<<5)-s+n[t(442)](e),s&=s}const r=t(451)+Math[t(445)](s)[t(404)](36)+"-"+Date[t(433)]()[t(404)](36);return localStorage[t(409)](t(469),r),r}}function ye(){var t=["AdStage not initialized. Call AdStage.init() first.","1217100AZWish","events","setUserProperties","110smJYFK","977678CWCeRt","2TDsaxU","warn","966AOFKuv","676814hJyRRG","38028tDXxIm","getUserProperties","1827235oYDmWK","isReady","7IsyyeI","8743592DnhWTr","2999380xPbkBe","12VNBxVJ","36hOhZHC","453bRHRwR"];return(ye=function(){return t})()}function be(t,e){var n=ye();return(be=function(t,e){return n[t-=175]})(t,e)}ve.debug={clearAllViewable:()=>{const t=ge;ot[t(407)](),console[t(406)](t(481))},clearAdViewable:(t,e)=>{const n=ge;ot[n(473)](t,e),console.log(n(415)+t+"("+e+n(463))},getViewableStatus:()=>{const t=ge;console[t(406)]("📊 AdStage Debug: 현재 viewable 추적 상태",{trackedCount:ot[t(452)][t(422)],trackedItems:Array.from(ot.viewableTracker)})}},function(){for(var t=be,e=ye();;)try{if(961002===-parseInt(t(190))/1*(-parseInt(t(187))/2)+parseInt(t(180))/3*(parseInt(t(191))/4)+parseInt(t(193))/5*(parseInt(t(178))/6)+parseInt(t(175))/7*(parseInt(t(176))/8)+-parseInt(t(179))/9*(-parseInt(t(177))/10)+-parseInt(t(185))/11*(-parseInt(t(182))/12)+parseInt(t(186))/13*(-parseInt(t(189))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const we=h.createContext(null);function ke(){const t=h.useContext(we);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Ee(t,e){var n=xe();return(Ee=function(t,e){return n[t-=275]})(t,e)}function xe(){var t=["33XeJzHC","1132536brgCeQ","793092CtKdfI","2576pgoNUb","3GAhQCU","111410SMjrzp","84580tkgLdK","868ucrfNB","1xrleFI","72842mGtJvQ","3451203VFIhxO"];return(xe=function(){return t})()}!function(){for(var t=Ee,e=xe();;)try{if(203822===parseInt(t(283))/1*(-parseInt(t(284))/2)+parseInt(t(279))/3*(-parseInt(t(276))/4)+parseInt(t(280))/5+parseInt(t(277))/6+-parseInt(t(282))/7*(parseInt(t(278))/8)+parseInt(t(285))/9+parseInt(t(281))/10*(parseInt(t(275))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=Se;function Se(t,e){const n=Ce();return(Se=function(t,e){return n[t-=455]})(t,e)}function Ce(){const t=["undefined","3fTpFwn","1824XiqEQL","25354wVMfhH","1080wUDvKl","173wsmfPf","11QhlbLr","ads","955yxZpDp","events","5131BKwafm","2.0.0","3602rrJVEk","3805548GTHMYg","config","198iToGSv","98732kHlGEY","116050kjVSDi","AdStage","4108wGlKfT"];return(Ce=function(){return t})()}!function(){const t=Se,e=Ce();for(;;)try{if(504224===parseInt(t(473))/1*(-parseInt(t(460))/2)+parseInt(t(469))/3*(parseInt(t(464))/4)+-parseInt(t(456))/5*(-parseInt(t(470))/6)+parseInt(t(458))/7*(parseInt(t(472))/8)+parseInt(t(463))/9*(-parseInt(t(465))/10)+-parseInt(t(474))/11*(-parseInt(t(461))/12)+parseInt(t(467))/13*(parseInt(t(471))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Te=Ae(459),De=[Ae(455),Ae(457),Ae(462)];typeof window!==Ae(468)&&(window[Ae(466)]=ve),exports.AdStage=ve,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[r,i]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&ve.reset(),ve.init(t),i(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),i(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:r,initialize:c,reset:()=>{try{ve.reset(),s(!1),i(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(we.Provider,{value:d,children:t})},exports.SDK_VERSION=Te,exports.SUPPORTED_MODULES=De,exports.TrackingParamsModule=de,exports.getUserProperties=function(){var t=be;if(ve.isReady())return ve.events[t(192)]();console[t(188)]("AdStage not initialized. Call AdStage.init() first.")},exports.setUserProperties=function(t){var e=be;ve[e(194)]()?ve[e(183)][e(184)](t):console[e(188)](e(181))},exports.track=function(t,e){var n=be;return ve[n(194)]()?ve[n(183)].track(t,e):(console[n(188)]("AdStage not initialized. Call AdStage.init() first."),Promise.resolve())},exports.useAdStageContext=ke,exports.useAdStageInstance=function(){const{isInitialized:t}=ke();return t?ve:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
|
|
1
|
+
"use strict";var t,e,n,s,i,r,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(){var t=["NATIVE","VIDEO","DESKTOP","TEXT","BANNER","CLICK","2334vjAilq","INTERSTITIAL","12WtXBtL","4734744ytkozP","65nXovyZ","MOBILE","2758xaFACG","TABLET","WEB","114920gZZPLL","729yiBxUF","2184684sKZmWE","VIEWABLE","POPUP","1775283CtuYvE","110ldidrt","104770OMTrRC","10770dsKztM"];return(f=function(){return t})()}function g(t,e){var n=f();return(g=function(t,e){return n[t-=365]})(t,e)}function m(t,e){const n=y();return(m=function(t,e){return n[t-=200]})(t,e)}!function(){for(var t=g,e=f();;)try{if(315807===-parseInt(t(382))/1*(parseInt(t(372))/2)+-parseInt(t(370))/3+-parseInt(t(365))/4*(-parseInt(t(384))/5)+parseInt(t(380))/6*(-parseInt(t(386))/7)+-parseInt(t(383))/8+parseInt(t(366))/9*(parseInt(t(373))/10)+-parseInt(t(371))/11*(-parseInt(t(367))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=g)(378)]="BANNER",e[n(369)]="POPUP",e.INTERSTITIAL=n(381),e.NATIVE=n(374),e[n(375)]=n(375),e.TEXT=n(377),(i=s||(s={}))[(r=g)(388)]="WEB",i[r(385)]="MOBILE",a=o||(o={}),c=g,a.VIEWABLE=c(368),a[c(379)]=c(379),l=d||(d={}),u=g,l.DESKTOP=u(376),l[u(385)]=u(385),l.TABLET=u(387);const I=m;!function(){const t=m,e=y();for(;;)try{if(151252===parseInt(t(217))/1+-parseInt(t(227))/2+-parseInt(t(211))/3+-parseInt(t(231))/4+-parseInt(t(245))/5*(parseInt(t(237))/6)+-parseInt(t(226))/7+parseInt(t(232))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class v{static isBrowser(){const t=m;return typeof window!==t(247)&&typeof document!==t(247)}static[I(221)](){return!this[I(234)]()}static[I(263)](){const t=I;return this[t(234)]()&&void 0!==document[t(241)]}static safeGetElementById(t){const e=I;return this[e(263)]()?document[e(253)](t):null}static[I(201)](t){const e=I;return this[e(263)]()?document[e(250)](t):null}static[I(215)](t){const e=I;return this[e(263)]()?Array[e(223)](document.querySelectorAll(t)):[]}static[I(252)](t){const e=I;return this.canUseDOM()?document[e(213)](t):null}static[I(242)](t,e,n,s){this[I(263)]()&&t&&t.addEventListener(e,n,s)}static[I(262)](t,e,n,s){const i=I;this[i(263)]()&&t&&t[i(209)](e,n,s)}static[I(261)](t,e){return this.isBrowser()?window[t]??e:e}static getDocumentProperty(t,e){return this.canUseDOM()?document[t]??e:e}static safeWindowOpen(t,e,n){const s=I;return this.isBrowser()?window[s(216)](t,e,n):null}static[I(249)](t){const e=I;return this[e(234)]()&&t?window[e(214)](t):null}static[I(272)](){const t=I;return!!this[t(263)]()&&document[t(241)]!==t(254)}static[I(228)](){return new Promise(t=>{const e=m;this[e(263)]()?this[e(272)]()?t():this[e(242)](document,"DOMContentLoaded",()=>t()):t()})}static safeApplyStyles(t,e){const n=I;this.canUseDOM()&&t&&Object.entries(e)[n(230)](([e,s])=>{const i=n;t[i(224)][i(267)](e,s)})}static[I(258)](t,e){const n=I;this[n(263)]()&&t&&t[n(264)][n(269)](e)}static safeRemoveClass(t,e){const n=I;this.canUseDOM()&&t&&t[n(264)][n(212)](e)}static[I(271)](t,e){const n=I;this[n(263)]()&&t&&(t[n(200)]=e)}static[I(246)](t,e){this[I(263)]()&&t&&(t.innerHTML=e)}static[I(219)](t,e){this.canUseDOM()&&t&&e&&t.appendChild(e)}static safeRemoveChild(t,e){const n=I;this[n(263)]()&&t&&e&&t[n(202)](e)}static[I(251)](){const t=I;return{url:this[t(261)](t(204),{href:""})[t(260)],title:this[t(270)](t(256),""),referrer:this[t(270)](t(205),"")}}static[I(208)](){const t=I;return{width:this[t(261)]("innerWidth",0),height:this[t(261)](t(257),0),pixelRatio:this[t(261)](t(244),1)}}static[I(266)](){const t=I;return{scrollTop:this[t(263)]()?window[t(210)]||document[t(240)].scrollTop:0,scrollLeft:this[t(261)](t(236),0)}}static async waitForElement(t,e={}){const n=I,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this[n(263)]())throw new Error(n(233));const o=document[n(253)](t);return o?(r&&console[n(206)](n(243)+t),o):(r&&console[n(206)](n(203)+t+n(259)+s+n(218)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(248)](s/i),l=()=>{const n=a;c++;const u=document.getElementById(t);if(u)return r&&console[n(206)](n(238)+t+" ("+c+n(220)+c*i+n(222)),void e(u);if(c>=d){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+n(265)+t+n(229)+s+"ms ("+c+n(255);return r&&console[n(207)](e),void o(new Error(e))}r&&c%10==0&&console[n(206)](n(239)+t+" ("+c+"/"+d+")");const p=Math[n(225)](i*Math.pow(1.2,c),500);setTimeout(l,p)};setTimeout(l,i)}))}static async waitForElements(t,e={}){const n=I,s=t[n(235)](t=>this[n(268)](t,e));return Promise.all(s)}}function y(){const t=["ceil","safeGetComputedStyle","querySelector","getPageInfo","safeCreateElement","getElementById","loading","번 시도)","title","innerHeight","safeAddClass"," (최대 ","href","getWindowProperty","safeRemoveEventListener","canUseDOM","classList",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"getScrollInfo","setProperty","waitForElement","add","getDocumentProperty","safeSetTextContent","isDOMReady","textContent","safeQuerySelector","removeChild","⏳ 컨테이너 대기 시작: ","location","referrer","log","error","getViewportInfo","removeEventListener","pageYOffset","266796mytlUg","remove","createElement","getComputedStyle","safeQuerySelectorAll","open","298450qWDLVs","ms)","safeAppendChild","번째 시도, ","isSSR","ms 경과)","from","style","min","276640khaUGG","61984OJMQup","waitForDOM",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"forEach","53948FHkeLj","1507480WqcXBY","DOM을 사용할 수 없는 환경입니다.","isBrowser","map","pageXOffset","488106gJcVbP","✅ 컨테이너 발견: ","⏳ 컨테이너 대기 중: ","documentElement","readyState","safeAddEventListener","✅ 컨테이너 즉시 발견: ","devicePixelRatio","10hmKrIZ","safeSetInnerHTML","undefined"];return(y=function(){return t})()}const b=E;function w(){const t=["15vlBzqp","3.0.12"," AdStageSDK/","20871xRLQhD","8252616zJRtyy","3760875WKiYxo","userAgent","6467923BlJqbP","8cDpPKE","AdStageSDK/","undefined","311400SwOUUV","428292LDuuwg","765321KGxBNQ"];return(w=function(){return t})()}!function(){const t=E,e=w();for(;;)try{if(971369===parseInt(t(187))/1+-parseInt(t(185))/2+parseInt(t(191))/3+parseInt(t(186))/4*(parseInt(t(188))/5)+parseInt(t(192))/6+-parseInt(t(181))/7*(parseInt(t(182))/8)+-parseInt(t(193))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const k=b(189);function E(t,e){const n=w();return(E=function(t,e){return n[t-=180]})(t,e)}function x(){return k}const A=S;function S(t,e){const n=C();return(S=function(t,e){return n[t-=432]})(t,e)}function C(){const t=["top","2058192rNPhyQ","SSR","UTC","session_","5791765jfmvEM","collectDeviceInfo","923URvZMx","random","5986280reHaIX","getItem","8765710uGODFJ","272YfCCLm","adstage_session_id","connection","140CllswN","2364xGffJc","getScrollInfo","test","round","22677OagOhR","ssr_session_","toLowerCase"," .adstage-slider-wrapper","colorDepth","getPlatform","left","isBrowser","language","1.0.0","now","DateTimeFormat","pixelRatio",'[data-adstage-slot-id="',"userAgent","width","platform","getBoundingClientRect","isMobile","generateDeviceId","adstage_device_id","unknown","getSlotPosition","device_","301545gjkAMs","substr","effectiveType","safeGetElementById","android","web","setItem","generateSessionId","toString",",y:","height","ssr_device_","safeQuerySelector"];return(C=function(){return t})()}!function(){const t=S,e=C();for(;;)try{if(749533===-parseInt(t(439))/1*(parseInt(t(448))/2)+parseInt(t(452))/3*(-parseInt(t(447))/4)+parseInt(t(441))/5+parseInt(t(433))/6+parseInt(t(437))/7+parseInt(t(444))/8*(-parseInt(t(476))/9)+parseInt(t(443))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class T{static[A(471)](){const t=A;if(!v.isBrowser())return t(487)+Date[t(462)]();const e=localStorage.getItem(t(472));if(e)return e;const n=t(475)+Math[t(440)]().toString(36).substr(2,9)+"_"+Date.now();return localStorage[t(482)]("adstage_device_id",n),n}static[A(483)](){const t=A;if(!v[t(459)]())return t(453)+Date[t(462)]();const e=sessionStorage[t(442)](t(445));if(e)return e;const n=t(436)+Math[t(440)]()[t(484)](36)[t(477)](2,9)+"_"+Date[t(462)]();return sessionStorage[t(482)](t(445),n),n}static[A(470)](){const t=A;return!!v[t(459)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(466)])}static[A(457)](){const t=A;if(!v[t(459)]())return"web";const e=navigator[t(466)][t(454)]();return/iphone|ipad|ipod/[t(450)](e)?"ios":/android/[t(450)](e)?t(480):T[t(470)]()?t(481):"desktop"}static[A(438)](){const t=A,e=v.getViewportInfo();return{deviceId:T.generateDeviceId(),sessionId:T[t(483)](),osVersion:v[t(459)]()?navigator[t(468)]:t(434),deviceModel:v[t(459)]()?navigator.platform:t(434),appVersion:t(461),sdkVersion:x(),language:v[t(459)]()&&navigator[t(460)]||"ko",country:"KR",ipAddress:"",userAgent:v[t(459)]()?navigator[t(466)]:t(434),timezone:v.isBrowser()?Intl[t(463)]().resolvedOptions().timeZone:t(435),viewportWidth:e[t(467)],viewportHeight:e.height,screenWidth:v[t(459)]()?screen[t(467)]:0,screenHeight:v[t(459)]()?screen[t(486)]:0,colorDepth:v.isBrowser()?screen[t(456)]:24,pixelRatio:e[t(464)],connectionType:v[t(459)]()&&navigator[t(446)]?.[t(478)]||t(473),platform:T.getPlatform()}}static[A(474)](t){const e=A;let n=v[e(479)](t);if(!n){const s=v[e(488)]("#"+t+e(455));s&&(n=s)}if(!n&&(n=v[e(488)](e(465)+t+'"]')),!n)return e(473);const s=n[e(469)](),i=v[e(449)]();return"x:"+Math.round(s[e(458)])+e(485)+Math[e(451)](s[e(432)]+i.scrollTop)}}function R(){const t=["1996027noBtLV","353562mrygKH","1777689cnYdwY","64YOlCVq","create","328BeBuRc","createForEvents","10KdvXnA","51023xFWFCM","User-Agent","1823coHGQs","4qgBdYJ","application/json","1371040kftdHV","contentType","userAgent","612828wOJHye","undefined"];return(R=function(){return t})()}const L=D;function D(t,e){const n=R();return(D=function(t,e){return n[t-=460]})(t,e)}!function(){const t=D,e=R();for(;;)try{if(153079===-parseInt(t(476))/1*(parseInt(t(469))/2)+-parseInt(t(467))/3*(-parseInt(t(477))/4)+parseInt(t(461))/5+parseInt(t(464))/6+-parseInt(t(474))/7*(parseInt(t(471))/8)+parseInt(t(468))/9+parseInt(t(473))/10*(-parseInt(t(466))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class B{static[L(470)](t,e){const n=L;if(!t)throw new Error("API key is required");const s={"x-api-key":t,"Content-Type":e?.[n(462)]||n(460)};return typeof navigator!==n(465)&&(s[n(475)]=e?.[n(463)]||navigator[n(463)]),s}static[L(472)](t,e){const n=L,s=B[n(470)](t);return e?.[n(463)]&&(s[n(475)]=e[n(463)]),s}}const P=_;function U(){const t=["getElementById","getSlotPosition","referrer","VIEWABLE"," in slot ","debug","substring","width","adType","4932600dtARdz","containerId","⚠️ Slot not found for slotId: ","url"," - ","❌ Failed to track advertisement event:","string","log","now",". Skipping event tracking to prevent incorrect adType.","8300871FfdfXf","🚀 AdvertisementEventTracker: Processing ","). Skipping event tracking.","3330192mZcyCi","title",'[data-adstage-slot-id="',"✅ Successfully tracked advertisement event: ","baseUrl","152236XQiltJ","🔍 Debug info:","trackAdvertisementEvent","status","🚀 Sending advertisement event: ","parseNumericValue","replace","height","apiKey","warn"," for ad ","slots","NOT_SET","510996hjCsRi","statusText","number","14APGyyi","8zHJFJm","POST","createForEvents","sessionId","getPageInfo","platform","error","collectDeviceInfo","4600442JAoSJc","3475860HilqHx","querySelector","stringify"," event for ad ","API request failed: ","deviceId"];return(U=function(){return t})()}function _(t,e){const n=U();return(_=function(t,e){return n[t-=355]})(t,e)}!function(){const t=_,e=U();for(;;)try{if(545533===parseInt(t(413))/1*(parseInt(t(370))/2)+parseInt(t(367))/3+-parseInt(t(408))/4+parseInt(t(395))/5+-parseInt(t(380))/6+-parseInt(t(379))/7*(-parseInt(t(371))/8)+-parseInt(t(405))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{constructor(t,e,n,s){const i=_;this.baseUrl=t,this[i(362)]=e,this[i(391)]=n,this[i(365)]=s}async[P(356)](t,e,n){const s=P;try{this.debug&&console[s(402)](s(406)+n+s(383)+t+s(390)+e);const i=this[s(365)].get(e);if(!i)return void(this[s(391)]&&console[s(363)](s(397)+e+s(404)));if(!(document[s(386)](i.containerId)||document[s(381)](s(410)+e+'"]')))return void(this[s(391)]&&console.warn("⚠️ DOM element not found for slotId: "+e+" (containerId: "+i[s(396)]+s(407)));const r=T[s(378)](),a={adType:i[s(394)],platform:r[s(376)],deviceId:r[s(385)],deviceInfo:r,pageUrl:v[s(375)]()[s(398)],pageTitle:v.getPageInfo()[s(409)],referrer:v[s(375)]()[s(388)],slotId:e,slotPosition:T[s(387)](i[s(396)]),slotWidth:z[s(359)](i[s(393)]),slotHeight:z.parseNumericValue(i[s(361)]),sessionId:r[s(374)],pageLoadTime:performance[s(403)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date[s(403)]()},...n===o[s(389)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(412)]+"/advertisements/events/"+t+"/"+n,d=B[s(373)](this.apiKey,a);this[s(391)]&&(console.log(s(358)+n+s(364)+t,{url:c,headers:d,eventData:a}),console.log("🌐 Full API call details:",{method:s(372),url:c,hasApiKey:!!this[s(362)],bodySize:JSON[s(382)](a).length}));const l=await fetch(c,{method:s(372),headers:d,body:JSON.stringify(a)});if(this[s(391)]&&console[s(402)]("📡 API Response Status: "+l[s(357)]+" "+l.statusText,{url:c,ok:l.ok}),!l.ok){const t=await l.text();throw new Error(s(384)+l[s(357)]+" "+l[s(368)]+s(399)+t)}this[s(391)]&&console[s(402)](s(411)+n+s(364)+t)}catch(i){console[s(377)](s(400),i),console[s(377)](s(355),{baseUrl:this[s(412)],apiKey:this[s(362)]?this.apiKey[s(392)](0,8)+"...":s(366),url:this[s(412)]+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[P(359)](t){const e=P;if(typeof t===e(369))return t;if(typeof t===e(401)){const n=parseFloat(t[e(360)](/px$/,""));return isNaN(n)?0:n}return 0}}function M(){var t=["observe","disconnect","IntersectionObserver","visibilityState","134rbUaJH","element","IntersectionObserver not supported, viewability tracking disabled","warn","initIntersectionObserver","hidden","15mLcUSh","handleIntersection","10KPikpN","130293QJByNQ","942424aHLKfH","0px","5617176yXYsYp","2230hTnVKr","isDocumentVisible","481732BFnmap","1682010jDZbTg","forEach","observer","3400040rfsPQn","isViewableTriggered","destroy","onViewableCallback"];return(M=function(){return t})()}var N=O;function O(t,e){var n=M();return(O=function(t,e){return n[t-=137]})(t,e)}!function(){for(var t=O,e=M();;)try{if(517077===-parseInt(t(146))/1*(-parseInt(t(160))/2)+-parseInt(t(149))/3+parseInt(t(148))/4*(-parseInt(t(139))/5)+parseInt(t(145))/6+parseInt(t(152))/7+-parseInt(t(143))/8+-parseInt(t(142))/9*(parseInt(t(141))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class V{constructor(t,e){var n=O;this[n(151)]=null,this.isViewableTriggered=!1,this[n(161)]=t,this[n(155)]=e,this[n(137)]()}[N(137)](){var t=N;t(158)in window?(this[t(151)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(144)}),this[t(151)][t(156)](this[t(161)])):console[t(163)](t(162))}[N(140)](t){var e=N;t[e(150)](t=>{var n=e;t.intersectionRatio>=.5&&this[n(147)]()&&!this[n(153)]&&(this[n(153)]=!0,this[n(155)]&&this[n(155)]())})}isDocumentVisible(){var t=N;return!document[t(138)]&&"visible"===document[t(159)]}[N(154)](){var t=N;this[t(151)]&&(this[t(151)][t(157)](),this[t(151)]=null)}}const F=K;function K(t,e){const n=J();return(K=function(t,e){return n[t-=395]})(t,e)}!function(){const t=K,e=J();for(;;)try{if(658794===parseInt(t(398))/1+parseInt(t(406))/2*(-parseInt(t(408))/3)+-parseInt(t(402))/4+-parseInt(t(400))/5*(-parseInt(t(404))/6)+-parseInt(t(419))/7+parseInt(t(407))/8*(parseInt(t(412))/9)+parseInt(t(417))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const H={production:F(415),beta:F(396)};F(416);const j={advertisements:{list:F(420),detail:F(410),events:F(411)},events:{track:F(403),registerAttribution:F(401)}};class W{constructor(t){const e=F;this[e(418)]={list:()=>""+this[e(405)]+j.advertisements.list,detail:t=>""+this.baseUrl+j.advertisements.detail+"/"+t,events:(t,n)=>""+this[e(405)]+j[e(418)][e(409)]+"/"+t+"/"+n},this[e(409)]={track:()=>""+this[e(405)]+j[e(409)][e(399)],registerAttribution:()=>""+this[e(405)]+j.events[e(414)]},this[e(405)]=t||H[e(416)]}[F(413)](t){this[F(405)]=t}[F(397)](){return this[F(405)]}custom(t){const e=F;return""+this[e(405)]+(t[e(395)]("/")?t:"/"+t)}}const q=new W;function J(){const t=["/advertisements/events","2222811RoAzJY","setBaseUrl","registerAttribution","https://api.adstage.app","production","12673810lXQNPJ","advertisements","6463408aeduCV","/advertisements/list","startsWith","https://beta-api.adstage.app","getBaseUrl","300763RFObcB","track","20HyuYdu","/events/register/attribution","3763584TRWyVJ","/events/track","1450368euumeO","baseUrl","356262ZgIFRQ","40WKZlUe","21oOgmlr","events","/advertisements"];return(J=function(){return t})()}var Y=G;function G(t,e){var n=Q();return(G=function(t,e){return n[t-=348]})(t,e)}!function(){for(var t=G,e=Q();;)try{if(947355===-parseInt(t(368))/1*(-parseInt(t(361))/2)+parseInt(t(351))/3*(parseInt(t(355))/4)+-parseInt(t(349))/5*(-parseInt(t(365))/6)+parseInt(t(364))/7*(-parseInt(t(353))/8)+parseInt(t(359))/9*(-parseInt(t(350))/10)+-parseInt(t(363))/11+parseInt(t(358))/12*(parseInt(t(367))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class X{static trackSlideViewable(t,e,n,s,i=!1){var r=G;i&&console[r(348)](r(362)+t[r(360)]+r(356)+n+r(366)+e.id),s(t[r(360)],e.id,o[r(352)])}static[Y(357)](t,e,n,s=!1){var i=Y;s&&console[i(348)](i(354)+t[i(360)]+" (index: 0) in slot: "+e.id),n(t[i(360)],e.id,o.VIEWABLE)}}function Q(){var t=["3724091qEjtdd","4737702wtghsl",") in slot: ","13RRESHb","7EchvzM","log","5BSKKdP","1096090tPBIaN","15MdxAch","VIEWABLE","24NnqySw","🎯 Triggering initial VIEWABLE event: ad ","1189304xOVtgU"," (index: ","trackInitialSlideViewable","29750556wriXCd","99ButaPS","_id","40746nkMroZ","🎯 Triggering VIEWABLE event for slide change: ad ","12638758UplvCz"];return(Q=function(){return t})()}const Z=$;function $(t,e){const n=et();return($=function(t,e){return n[t-=425]})(t,e)}!function(){const t=$,e=et();for(;;)try{if(293705===parseInt(t(427))/1*(parseInt(t(440))/2)+-parseInt(t(431))/3*(-parseInt(t(439))/4)+parseInt(t(449))/5*(-parseInt(t(453))/6)+parseInt(t(441))/7+parseInt(t(448))/8+-parseInt(t(434))/9+-parseInt(t(455))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static addClickEvent(t,e,n,s,i=!1,r){const a=$;e[a(444)]&&(t[a(445)][a(442)]=a(428),t[a(454)](a(425),t=>{const c=a;if(t.preventDefault(),t.stopPropagation(),s&&s(e[c(432)],n.id,o[c(436)]),window[c(447)](e[c(444)],c(430)),i){const t=r||String(n[c(433)]).toLowerCase();console[c(437)]("🔗 "+t+" ad clicked: "+e[c(432)]+c(450)+e[c(444)])}}))}static[Z(451)](t,e,n,s,i=!1,r){const a=Z;e[a(444)]&&(t.style[a(442)]=a(428),t[a(454)](a(425),t=>{const c=a;t[c(446)](),t.stopPropagation();if(s()(e[c(432)],n.id,o.CLICK),window.open(e[c(444)],c(430)),i){const t=r||String(n.adType)[c(435)]();console[c(437)](c(438)+t+c(426)+e[c(432)]+" -> "+e[c(444)])}}))}static[Z(452)](t,e,n,s,i=!1,r){this[Z(429)](t,e,n,s,i,r)}static isClickable(t){return Boolean(t[Z(444)])}static[Z(443)](t,e,n,s,i=!1,r){t.forEach((t,o)=>{const a=$,c=e[o];c&&this[a(429)](t,c,n,s,i,r)})}}function et(){const t=["CLICK","log","🔗 ","248VzaYCg","26BjFAtt","3285226jFIvVV","cursor","addClickEventsBatch","linkUrl","style","preventDefault","open","1864792aYBusx","428115QZYrvW"," -> ","addClickEventForRenderer","addClickEventForSlider","6SAsLQa","addEventListener","6981570LZiWlH","click"," ad clicked: ","34721gmTNiv","pointer","addClickEvent","_blank","13131nDqRyY","_id","adType","3129111WUtroP","toLowerCase"];return(et=function(){return t})()}const nt=it;function st(){const t=["1px dashed #ccc","0.7","createMinimalDotIndicator","forEach","cover",".adstage-dot","white","auto","setAttribute","#666666","color","autoSlideInterval","div","touches","trackSlideViewable","imageUrl","transparent","_id","padding","includes","objectFit","src","block","normal","createSimpleAdElement","opacity","relative","fontSize","3PIoaul","createElement","14px","adstage-dot","#f0f0f0","textContent","\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 ","flex","\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 ","VIDEO","video","removeChild","#cccccc","translateX(-","every","querySelectorAll","inline-block","touchend","addTouchSupport","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","appendChild","cssText","entries","adType","className","transform 0.4s ease-out","transition","Video Ad","#000","addEventListener","touchmove","adstage-slider-wrapper","149980QqciuO","adstage-slide-container","preventDefault","1165706mpitsS","Banner Ad","3907645oJnmNE","#f9f9f9","borderColor","transform","children","clientX","classList","adstage-slide","4597180QAlGfj","string","width","length","center","1806309gfLeRz","#999999","50px","getBoundingClientRect","contains","1px solid #666","Text Ad","100px","height","style","100%","backgroundColor","touchstart","16EYAESw","adstage-ad adstage-","6aPXLVU","videoUrl","setProperty","background","active","hidden","8px","mouseleave","display","border","547998LureAx","3175595nVttlp","mouseenter","adstage-dots","whiteSpace"];return(st=function(){return t})()}function it(t,e){const n=st();return(it=function(t,e){return n[t-=399]})(t,e)}!function(){const t=it,e=st();for(;;)try{if(329594===-parseInt(t(462))/1+-parseInt(t(422))/2*(-parseInt(t(495))/3)+-parseInt(t(419))/4+parseInt(t(463))/5+-parseInt(t(452))/6*(-parseInt(t(424))/7)+parseInt(t(450))/8*(-parseInt(t(437))/9)+-parseInt(t(432))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[nt(491)](e,n){const s=nt,i=document[s(496)](s(479));switch(i[s(411)]=s(451)+String(e.adType).toLowerCase(),i.setAttribute("data-adstage-ad-id",n[s(484)]),i[s(475)]("data-adstage-slot-id",e.id),i[s(446)][s(460)]=s(489),i[s(446)][s(434)]=s(447),i[s(446)][s(445)]=s(474),e.adType){case t.BANNER:if(n.imageUrl){const t=document[s(496)]("img");t.src=n[s(482)],t[s(446)][s(434)]=s(447),t[s(446)].height=s(474),t[s(446)][s(487)]=s(471),i[s(407)](t)}else i.style[s(445)]=s(444),i.style.backgroundColor=s(499),i[s(446)].border=s(467),i[s(500)]=s(423);break;case t[s(504)]:if(n[s(453)]){const t=document[s(496)](s(505));t[s(488)]=n[s(453)],t[s(446)][s(434)]=s(447),t[s(446)][s(445)]="auto",i[s(407)](t)}else i[s(446)].height="200px",i[s(446)][s(448)]=s(415),i[s(446)][s(461)]=s(442),i.textContent=s(414),i[s(446)][s(477)]=s(473);break;case t.TEXT:if(n[s(500)]){const t=document.createElement(s(479));t.textContent=n.textContent||"",t.style.padding=s(458),t[s(446)][s(494)]=s(497),i[s(407)](t)}else i.style[s(445)]=s(439),i[s(446)][s(485)]="8px",i[s(500)]=s(443);break;default:i[s(446)][s(445)]=s(444),i[s(446)].border=s(467),i.style[s(448)]=s(425),i.textContent=e.adType+" Ad"}return i}static createSliderContainer(e,n,s,i,r=!1){const o=nt,a=document.createElement("div");a[o(411)]=o(418);const c={position:o(493),overflow:o(457)};if(e[o(434)]&&0!==e[o(434)]){let t;t=typeof e[o(434)]===o(433)&&(e.width[o(486)]("px")||e[o(434)][o(486)]("%"))?e[o(434)]:e[o(434)]+"px",c[o(434)]=t,c[o(460)]="inline-block"}else c.display=o(403);if(e.height&&0!==e[o(445)]){const t=typeof e[o(445)]===o(433)?e[o(445)]:e[o(445)]+"px";c[o(445)]=t}Object.entries(c)[o(470)](([t,e])=>{const n=o;a.style[n(454)](t,e)});const d=!e.width||0===e[o(434)],l=!e[o(445)]||0===e[o(445)];if(d||l){const t=document[o(496)](o(479));if(t[o(446)][o(408)]=o(406),!d&&e[o(434)]){let n;n=typeof e[o(434)]===o(433)&&(e[o(434)].includes("px")||e[o(434)][o(486)]("%"))?e[o(434)]:e[o(434)]+"px",t[o(446)][o(434)]=n,t[o(446)][o(466)]=o(490)}document.body[o(407)](t);let s=0,i=0;n[o(470)](n=>{const r=o,a=this[r(491)](e,n);t[r(407)](a);const c=a[r(440)]();c[r(434)]>s&&(s=c[r(434)]),c[r(445)]>i&&(i=c.height),t[r(506)](a)}),d&&s>0&&(a.style[o(434)]=s+"px",c[o(434)]=s+"px"),l&&i>0&&(a.style[o(445)]=i+"px",c.height=i+"px"),document.body[o(506)](t)}const u=[...n,n[0]],p=document.createElement(o(479));p[o(411)]=o(420);const h={display:o(502),transition:o(412),width:100*u[o(435)]+"%"};e[o(445)]&&0!==e[o(445)]&&(h[o(445)]=o(447)),Object[o(409)](h)[o(470)](([t,e])=>{const n=o;p[n(446)][n(454)](t,e)}),u[o(470)]((t,n)=>{const s=o,a=document[s(496)](s(479));a[s(411)]=s(431);const c={width:100/u.length+"%","flex-shrink":"0",display:s(502),"align-items":s(436),"justify-content":s(436)};e[s(445)]&&0!==e.height&&(c.height="100%"),Object[s(409)](c)[s(470)](([t,e])=>{const n=s;a.style[n(454)](t,e)});const d=this[s(491)](e,t);tt.addClickEventForSlider(d,t,e,i,r,String(e.adType).toLowerCase()),a.appendChild(d),p[s(407)](a)});const f=n[o(401)](e=>e[o(410)]===t.TEXT)?null:this[o(469)](n[o(435)]);let g=0;const m=n[o(435)],I=1e3*(s?.[o(478)]||3),v=(t,s=!1)=>{const a=o;g=t,s?p.style[a(413)]="none":p[a(446)][a(413)]="transform 0.4s ease-out",p[a(446)][a(427)]=a(400)+100/u[a(435)]*g+"%)";const c=g===m?0:g;if(f){f[a(402)](a(472))[a(470)]((t,e)=>{const n=a,s=t;e===c?(s[n(430)].add("active"),s[n(446)][n(455)]=n(476),s.style[n(426)]=n(476),s[n(446)][n(492)]="1"):(s[n(430)].remove(n(456)),s[n(446)][n(455)]=n(483),s[n(446)][n(426)]=n(399),s[n(446)][n(492)]=n(468))})}X[a(481)](n[c],e,c,i,r)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(402)](".adstage-dot")[o(470)]((t,e)=>{t[o(416)]("click",()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[o(416)](o(464),()=>{clearInterval(b)}),a[o(416)](o(459),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(405)](p,v,()=>g,m,y),a[o(407)](p),f&&a[o(407)](f),v(0),(!e[o(434)]||0===e[o(434)])&&setTimeout(()=>{const t=o,n=p[t(428)][0];if(n){const s=n[t(428)][0];if(s){const n=s[t(440)]();a.style[t(434)]=n[t(434)]+"px",(!e.height||0===e[t(445)])&&(a[t(446)][t(445)]=n.height+"px"),a[t(446)].overflow=t(457)}}},10),a}static[nt(469)](t){const e=nt,n=document[e(496)](e(479));n[e(411)]=e(465),n.style[e(408)]=e(503);for(let s=0;s<t;s++){const t=document[e(496)]("button");t.className=e(498),t[e(446)][e(408)]=e(501),t[e(416)](e(464),()=>{const n=e;!t[n(430)][n(441)]("active")&&(t[n(446)][n(426)]=n(438),t[n(446)][n(492)]="0.9")}),t[e(416)]("mouseleave",()=>{const n=e;!t[n(430)][n(441)](n(456))&&(t[n(446)][n(426)]=n(399),t.style.opacity=n(468))}),n[e(407)](t)}return n}static[nt(405)](t,e,n,s,i){const r=nt;let o=0,a=!1;t[r(416)](r(449),t=>{const e=r;o=t[e(480)][0][e(429)],a=!0}),t.addEventListener(r(417),t=>{a&&t[r(421)]()}),t.addEventListener(r(404),t=>{const c=r;if(!a)return;a=!1;const d=t.changedTouches[0][c(429)],l=o-d;if(Math.abs(l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}const ot=ct;function at(){const t=["1110600YoHPLu","7204088EwtXQz","log"," in slot ","3094641nxOtVU","7IGYvbl","5UEFGhr","119086pyuDLv","✅ New viewable recorded for ad ","has","2421078YQcqrM","isDuplicateViewable","viewableTracker","add","clear","2310513nrXXga","Duplicate viewable blocked for ad ","750928HDBPNv","clearAdViewable"];return(at=function(){return t})()}function ct(t,e){const n=at();return(ct=function(t,e){return n[t-=177]})(t,e)}!function(){const t=ct,e=at();for(;;)try{if(557330===parseInt(t(186))/1+parseInt(t(179))/2+-parseInt(t(194))/3+-parseInt(t(177))/4+parseInt(t(185))/5*(-parseInt(t(189))/6)+-parseInt(t(184))/7*(-parseInt(t(180))/8)+parseInt(t(183))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{static[ot(190)](t,e,n=!1){const s=ot,i=t+"_"+e;return dt.viewableTracker[s(188)](i)?(n&&console[s(181)](s(195)+t+" in slot "+e),!0):(dt[s(191)][s(192)](i),n&&console[s(181)](s(187)+t+s(182)+e),!1)}static[ot(193)](){const t=ot;dt.viewableTracker[t(193)]()}static[ot(178)](t,e){const n=t+"_"+e;dt[ot(191)].delete(n)}}function lt(t,e){const n=pt();return(lt=function(t,e){return n[t-=233]})(t,e)}dt.viewableTracker=new Set;const ut=lt;function pt(){const t=["1px dashed #ccc","error"," event for ad ","classList","adstage-class"," in slot ","📏 Using 100% height (container: ","closest","1562845hFCQnH","px)","#e74c3c","getContainerHeight",'div[style*="min-height"]',"2368826rcZddi"," container: ","flex","adstage-official","adType","createPlaceholder","setAttribute","invisible","placeholderMode","⚠️ ","data-adstage-container","data-adstage-slot","🔄 Starting advertisement event tracking: ","number","2px dashed #e74c3c","block","rgba(231, 76, 60, 0.1)",'[class*="container"]','[class*="banner"]',"VIEWABLE","log","transparent","className","minHeight"," ad...</span>","filter","🚫 Duplicate viewable blocked for ad ","warn","trackAdvertisementEvent","getDefaultHeight","⚠️ AdvertisementEventTracker not available for ",".adstage-slot","subtle"," for ","calculateAdSize","applyPlaceholderStyle","7331583JiFbtT","backgroundColor","fontSize","style","auto","alignItems","height","hasAttribute","📏 Using default height ","none","containerId","rgba(0, 0, 0, 0.02)","7752192nYmfXj","getAttribute","monospace","opacity"," event","4SfSgbs","createElement","⚠️ Created empty ","100%","minimal","cssText","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","true","\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 ","📦 Placeholder created for "," slot: ","✅ New viewable recorded for ad ","generic","unknown","createEventTrackingCallback","data-adstage-type","isDuplicateViewable","fontFamily","borderRadius","2104968eKuPsy","border","debug"," for ad "," x ","getElementById","<span>Loading ","innerHTML","display","getComputedStyle","1px solid rgba(0, 0, 0, 0.08)","color","createEmptyContainer","center","parentElement","561273VedGyV","4px","string","advertisement","1UzuOWJ","isEmpty","justifyContent",".adstage-",") - Mode: ","appendChild","11px","toLowerCase","advertisementEventTracker","width","adstage-slot adstage-empty adstage-","38673873aVbbWL",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"❌ Failed to track ",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>'," container collapsed (",'[class*="ad"]',"data-adstage-empty"];return(pt=function(){return t})()}!function(){const t=lt,e=pt();for(;;)try{if(619985===-parseInt(t(308))/1*(parseInt(t(339))/2)+parseInt(t(304))/3+parseInt(t(270))/4*(-parseInt(t(334))/5)+-parseInt(t(289))/6+-parseInt(t(253))/7+-parseInt(t(265))/8+parseInt(t(319))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht{constructor(t,e=!1,n){const s=lt;this[s(343)]=t,this[s(291)]=e,this[s(316)]=n||null}[ut(344)](t,e,n,s){const i=ut,r=document[i(271)]("div");r.id=e,r[i(239)]="adstage-slot adstage-"+String(this[i(343)])[i(315)](),r[i(345)](i(349),"true"),r[i(345)](i(285),String(this[i(343)])),r[i(345)](i(350),e);const{width:o,height:a}=this[i(251)](t,n,s)||{width:i(273),height:this[i(246)]()};r.style[i(317)]=o,r[i(256)][i(259)]=a;const c=s?.[i(347)]||n.placeholderMode||i(346);this[i(252)](r,c),t.appendChild(r),this[i(291)]&&console.log(i(279)+this.adType+i(280)+e+" ("+o+i(293)+a+i(312)+c)}applyPlaceholderStyle(t,e){const n=ut;switch(e){case n(346):t[n(256)].backgroundColor=n(238),t[n(256)][n(290)]=n(262),t[n(256)][n(268)]="0",t[n(296)]="";break;case"transparent":t[n(256)][n(254)]="transparent",t.style.border="none",t.style[n(297)]=n(354),t[n(296)]="";break;case n(249):t[n(256)][n(254)]=n(264),t[n(256)][n(290)]=n(262),t[n(256)].borderRadius=n(305),t.style[n(297)]="flex",t[n(256)][n(258)]=n(302),t[n(256)][n(310)]=n(302),t.innerHTML=n(322);break;case n(274):t[n(256)][n(254)]="rgba(248, 249, 250, 0.5)",t[n(256)][n(290)]=n(299),t[n(256)][n(288)]="6px",t.style.display=n(341),t.style[n(258)]=n(302),t[n(256)][n(310)]=n(302),t[n(296)]=n(320);break;case"debug":t.style[n(290)]=n(353),t[n(256)][n(297)]="flex",t[n(256)].alignItems="center",t[n(256)][n(310)]=n(302),t[n(256)][n(254)]=n(233),t[n(256)][n(300)]=n(336),t.style[n(287)]=n(267),t[n(256)][n(255)]=n(314),t[n(296)]="<span>Loading "+this[n(343)]+n(241);break;default:t[n(256)][n(290)]=n(326),t.style.display=n(341),t[n(256)][n(258)]="center",t[n(256)].justifyContent=n(302),t[n(256)][n(254)]="#f9f9f9",t[n(256)].color="#666",t[n(296)]=n(295)+this[n(343)]+n(241)}}[ut(251)](t,e,n){const s=ut,i=e[s(317)],r=e[s(259)];let o,a;if(o=typeof i===s(352)?i+"px":typeof i===s(306)?i:"100%",typeof r===s(352))a=r+"px";else if(typeof r===s(306)&&r!==s(273)&&"auto"!==r)a=r;else{const e=this.getContainerHeight(t);e>0?(a="100%",(n?.[s(291)]||this.debug)&&console[s(237)](s(332)+e+s(335))):(a=this[s(246)](),(n?.[s(291)]||this[s(291)])&&console[s(237)](s(261)+a+s(250)+this[s(343)]))}return{width:o,height:a}}[ut(337)](t){const e=ut,n=window[e(298)](t),s=parseFloat(n[e(259)]);if(!s||0===s){const s=parseFloat(n[e(240)]);if(s>0)return s;if(t[e(256)].height&&t[e(256)][e(259)]!==e(257)){const n=parseFloat(t[e(256)][e(259)]);if(n>0)return n}const i=t[e(266)](e(259));if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}[ut(284)](){return async(t,e,n)=>{const s=lt;if(n===o[s(236)]){if(dt[s(286)](t,e,this[s(291)]))return void(this[s(291)]&&console[s(237)](s(243)+t+s(331)+e));this[s(291)]&&console[s(237)](s(281)+t+s(331)+e)}if(this[s(316)])try{this.debug&&console[s(237)](s(351)+n+s(292)+t+s(331)+e),await this[s(316)][s(245)](t,e,n),this[s(291)]&&console.log("📊 Advertisement event tracked: "+n+s(292)+t+s(331)+e)}catch(e){this[s(291)]&&console[s(327)](s(321)+n+s(328)+t+":",e)}else this[s(291)]&&console.warn(s(247)+n+s(269))}}renderFallback(t){const e=ut,n=document[e(294)](t.id);if(n){const s=[...[n.querySelector('[data-adstage-container="true"]'),n[e(333)]('[data-adstage-container="true"]'),n][e(242)](t=>t&&t[e(260)]("data-adstage-container")),...[n[e(333)](e(248)),n[e(333)](e(311)+String(this.adType)[e(315)]()),n[e(333)](e(324)),n[e(333)](e(235)),n[e(333)](e(234)),n.closest('div[style*="height"]'),n[e(333)](e(338)),n[e(303)]][e(242)](Boolean)][0];if(s){let n=e(283);n=s[e(260)]("data-adstage-container")?e(342):s[e(329)].contains("adstage-slot")?e(330):e(282),s[e(256)][e(275)]+=e(278),s.innerHTML="",s[e(345)](e(325),e(277)),this[e(291)]&&console[e(244)](e(348)+this[e(343)]+e(323)+n+"): "+t.id,s)}else this[e(301)](t)}t[e(307)]=void 0,t[e(309)]=!0}[ut(301)](t){const e=ut,n=document[e(294)](t[e(263)]);if(n){n[e(296)]="";const s=document[e(271)]("div");s.id=t.id,s[e(239)]=e(318)+String(this.adType).toLowerCase(),s[e(345)]("data-adstage-container","true"),s.setAttribute(e(325),e(277)),s.setAttribute("data-adstage-slot",t.id),s.style[e(275)]=e(276),n[e(313)](s),this.debug&&console[e(244)](e(272)+this[e(343)]+e(340)+t.id)}}[ut(237)](t,...e){const n=ut;this.debug&&console[n(237)]("["+this.adType+"] "+t,...e)}}const ft=mt;function gt(){const t=["</div>","8px","<div>","calculateOptimalHeight","selectOptimalSizeStrategy","reduce","backgroundColor","aspectRatio","createEventTrackingCallback","createElement","config","applyOptimizedImageStyle","dominant","length","get"," with ","100%","naturalHeight","src","max","296572ymRVwp","style","addClickEventForRenderer","map"," (avg: ","🎠 Banner carousel created for slot: ","15hCbcLT","borderRadius","warn","display","values","cover","📐 Optimal banner container calculated: ","Failed to calculate optimal banner size, using defaults:","Banner Ad","contain","count","📸 Banner image dimensions: ","fulfilled","🎨 Banner image style applied: objectFit=","width","set","727551TjtGNG","log","ratio","average","5146929JvkIgK","forEach","toString","4278072Xskwga","getDefaultHeight",", ratio=","Failed to load image: ","getElementById","alt","containerId","#f0f0f0","renderOptimizedBannerImage","height","center","calculateAdSize","allSettled","✅ Optimized banner image rendered for ad: ","285113CVMlhX","calculateOptimalContainerSize"," ads (optimized: ","3wuDxBs","loadImageDimensions","filter","Container not found: ",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"abs","Banner","appendChild","2wNMTgD","innerHTML","error","parentElement","optimizedHeight","imageUrl","common","Banner Advertisement","82092DGDomB","img","Image URL is not provided","BANNER","objectFit","🔧 Banner container optimized for ","📦 Banner container dimensions: ","getBoundingClientRect","value"," ads: ","className","objectPosition","renderMultipleAds","round"," (strategy: ","optimizeContainerForBannerAds","2690905AIsZhi","toFixed","30ryCdkF","4:3","title","name","debug"];return(gt=function(){return t})()}function mt(t,e){const n=gt();return(mt=function(t,e){return n[t-=478]})(t,e)}!function(){const t=mt,e=gt();for(;;)try{if(301750===-parseInt(t(570))/1*(parseInt(t(581))/2)+-parseInt(t(573))/3*(parseInt(t(527))/4)+-parseInt(t(533))/5*(-parseInt(t(484))/6)+parseInt(t(500))/7+-parseInt(t(556))/8+parseInt(t(553))/9+-parseInt(t(502))/10*(-parseInt(t(549))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It extends ht{constructor(e=!1,n){super(t[mt(487)],e,n)}[ft(557)](){return"250px"}async renderAdElement(t,e){const n=ft,s=document[n(560)](t[n(562)]);if(!s)return;const i=document[n(516)]("div");i[n(494)]="adstage-ad adstage-banner-ad";const r=t.optimizedHeight,o=s[n(479)]||s;if(r)i[n(528)].width="100%",i[n(528)][n(565)]=String(r);else{const e=t[n(517)],s={width:e?.[n(547)],height:e?.height},{width:r,height:a}=this[n(567)](o,s,{debug:this[n(506)]});i[n(528)].width=r,i.style.height=a}e.imageUrl?await this[n(564)](i,e,t):i[n(582)]=n(509)+(e[n(504)]||n(541))+n(507),tt.addClickEventForRenderer(i,e,t,()=>this[n(515)](),this.debug,n(579)),s.innerHTML="",s[n(580)](i)}async[ft(496)](t,e){const n=ft,s=document[n(560)](t.containerId);if(!s)throw new Error(n(576)+t[n(562)]);await this[n(499)](t,e);const i=this.createEventTrackingCallback(),r={autoSlideInterval:(t[n(517)]?.slideInterval||5e3)/1e3,...t[n(517)],optimizedHeight:t[n(480)],aspectRatio:t[n(514)]},o=rt.createSliderContainer(t,e,r,i,this.debug);o&&(s[n(582)]="",s[n(580)](o),this[n(506)]&&console[n(550)](n(532)+t.id+n(522)+e.length+n(572)+(t[n(480)]||"default")+")"))}async calculateOptimalContainerSize(t,e){const n=ft;if(!t.length)return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const s=(await Promise[n(568)](t[n(575)](t=>t.imageUrl)[n(530)](t=>this.loadImageDimensions(t[n(481)]))))[n(575)](t=>t.status===n(545)).map(t=>t[n(492)]);if(0===s[n(520)])return{width:n(523),height:this[n(557)](),aspectRatio:16/9};const i=this[n(511)](s),r=this[n(510)](s,e,i);return this[n(506)]&&console[n(550)](n(539)+e+"x"+r+n(498)+i+")"),{width:"100%",height:r+"px",aspectRatio:e/r}}catch(t){return console[n(535)](n(540),t),{width:n(523),height:this[n(557)](),aspectRatio:16/9}}}async[ft(499)](t,e){const n=ft;try{const s=document[n(560)](t[n(562)]),i=document[n(560)](t.id);if(!s||!i)return;const r=s[n(491)]()[n(547)]||300,o=await this[n(571)](e,r);i[n(528)][n(565)]=o[n(565)],t[n(480)]=o[n(565)],t[n(514)]=o[n(514)],this.debug&&console[n(550)](n(489)+e.length+n(493)+o[n(565)])}catch(t){console[n(535)]("Banner container optimization failed, using default size:",t)}}[ft(511)](t){const e=ft,n=t[e(530)](t=>t[e(547)]/t[e(565)]),s=new Map;n[e(554)](t=>{const n=e,i=(Math[n(497)](10*t)/10).toString();s[n(548)](i,(s[n(521)](i)||0)+1)});const i=Math[e(526)](...s[e(537)]()),r=t[e(520)];if(i/r>=.7)return e(519);const o=[16/9,4/3,1,1.5],a=n[e(575)](t=>o.some(n=>Math[e(578)](t-n)<.1))[e(520)];return e(a/r>=.5?482:552)}calculateOptimalHeight(t,e,n){const s=ft,i=t.map(t=>t.width/t.height);switch(n){case s(519):{const t=new Map;i[s(554)](e=>{const n=s,i=Math[n(497)](10*e)/10,r=i[n(555)](),o=t[n(521)](r);o?o.count++:t.set(r,{ratio:i,count:1})});const n=Array.from(t[s(537)]())[s(512)]((t,e)=>e[s(543)]>t.count?e:t);return Math[s(497)](e/n[s(551)])}case"common":{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:s(503)},{ratio:1,name:"1:1"},{ratio:1.5,name:"3:2"}],n=i.reduce((t,e)=>t+e,0)/i[s(520)],r=t[s(512)]((t,e)=>Math.abs(e[s(551)]-n)<Math.abs(t[s(551)]-n)?e:t);return this[s(506)]&&console.log("📊 Using standard ratio: "+r[s(505)]+s(531)+n.toFixed(2)+")"),Math[s(497)](e/r[s(551)])}case s(552):default:{const t=i.reduce((t,e)=>t+e,0)/i[s(520)];return Math.round(e/t)}}}loadImageDimensions(t){return new Promise((e,n)=>{const s=mt,i=new Image;i.onload=()=>{const t=mt;e({width:i.naturalWidth,height:i[t(524)]})},i.onerror=()=>{n(new Error(mt(559)+t))},i[s(525)]=t})}[ft(518)](t,e,n){const s=ft,i=e/n;Math.abs(i-1)<.1?(t.style[s(488)]=s(538),t.style[s(495)]=s(566)):i>1.3?(t.style[s(488)]=s(542),t.style[s(495)]=s(566),t[s(528)][s(513)]=s(563)):i<.7?(t[s(528)][s(488)]=s(538),t.style.objectPosition=s(566)):(t[s(528)].objectFit=s(538),t[s(528)][s(495)]=s(566)),this[s(506)]&&console.log(s(546)+t[s(528)][s(488)]+s(558)+i[s(501)](2))}async[ft(564)](t,e,n){const s=ft,i=document.createElement(s(485));i[s(528)][s(547)]=s(523),i.style.height=s(523),i[s(528)][s(536)]="block",i[s(528)][s(534)]=s(508),i[s(561)]=e[s(504)]||s(483),t[s(582)]=s(577);try{if(!e[s(481)])throw new Error(s(486));const r=await this[s(574)](e[s(481)]),o=t.getBoundingClientRect(),a=o[s(547)],c=o.height;this[s(506)]&&(console.log(s(544)+r[s(547)]+"x"+r[s(565)]),console[s(550)](s(490)+a+"x"+c));const d=r[s(547)]/r[s(565)],l=a/c;return this[s(518)](i,d,l),i[s(525)]=e[s(481)],t[s(582)]="",t[s(580)](i),tt[s(529)](i,e,n,()=>this[s(515)](),this[s(506)],"Banner"),this[s(506)]&&console[s(550)](s(569)+e._id),i}catch(r){return console[s(478)]("❌ Failed to load optimized banner image:",r),e[s(481)]&&(i[s(525)]=e.imageUrl,i[s(528)][s(488)]=s(538),i.style[s(495)]=s(566),t[s(582)]="",t[s(580)](i),tt[s(529)](i,e,n,()=>this[s(515)](),this[s(506)],s(579))),i}}}const vt=yt;function yt(t,e){const n=bt();return(yt=function(t,e){return n[t-=391]})(t,e)}function bt(){const t=["12995628ywTggk","5873211PovnSV","title","40rZbZWX","10243230oKJuMO","createTextAdStyles","34EInTze","40197BBzgbF","6531048zQcqTf","11etXYyq","36eQAyjl","459215staoNy","textContent","136179dqwXel","7mCqQzD"];return(bt=function(){return t})()}!function(){const t=yt,e=bt();for(;;)try{if(629837===-parseInt(t(395))/1*(parseInt(t(394))/2)+parseInt(t(401))/3*(parseInt(t(391))/4)+-parseInt(t(399))/5*(parseInt(t(398))/6)+parseInt(t(402))/7*(parseInt(t(396))/8)+parseInt(t(404))/9+parseInt(t(392))/10*(parseInt(t(397))/11)+-parseInt(t(403))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class wt{static[vt(393)](t=!1){return"\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n "}static setTextAdContent(t,e){const n=vt,s=e[n(400)]||e[n(405)]||"";t.textContent=s}}const kt=Et;function Et(t,e){const n=At();return(Et=function(t,e){return n[t-=394]})(t,e)}!function(){const t=Et,e=At();for(;;)try{if(448855===-parseInt(t(456))/1*(-parseInt(t(397))/2)+-parseInt(t(403))/3+-parseInt(t(400))/4+parseInt(t(416))/5*(-parseInt(t(395))/6)+-parseInt(t(457))/7+parseInt(t(430))/8+parseInt(t(447))/9*(parseInt(t(455))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class xt{static[kt(396)](t,e){const n=kt,s=document.createElement(n(445));return s[n(435)]=n(398)+String(t[n(469)])[n(412)](),s[n(428)](n(452),e._id),s[n(428)](n(405),t.id),s[n(451)][n(442)]=wt[n(421)](!0),wt.setTextAdContent(s,e),s}static[kt(399)](t,e,n,s,i=!1){const r=kt,o=t.height&&0!==t[r(473)]&&t.height!==r(461),a=document.createElement(r(445));a[r(435)]=r(448);const c={position:r(413),overflow:r(402),display:"block"};if(!o&&(c[r(473)]="auto",c[r(410)]=r(418)),t[r(449)]&&0!==t[r(449)]){let e;e=typeof t.width===r(414)&&(t.width[r(439)]("px")||t[r(449)][r(439)]("%"))?t[r(449)]:t[r(449)]+"px",c[r(449)]=e}if(t.height&&0!==t[r(473)]&&"auto"!==t.height&&o){let e;e="string"==typeof t.height?t[r(473)].includes("px")||t.height[r(439)]("%")?t[r(473)]:t[r(473)]+"px":t.height+"px",c[r(473)]=e}Object[r(394)](c)[r(471)](([t,e])=>{a[r(451)].setProperty(t,e)});const d=document[r(470)](r(445));d[r(435)]=r(458),d.style[r(442)]=r(426)+r(o?444:459)+"\n ";let l=null;const u=!t[r(449)]||0===t[r(449)],p=!t[r(473)]||0===t[r(473)]||void 0===t[r(473)]||t[r(473)]===r(461);if(u||p&&o){if(l=document.createElement(r(445)),l[r(451)].cssText=r(404),!u&&t[r(449)]){let e;e=typeof t[r(449)]===r(414)&&(t[r(449)][r(439)]("px")||t[r(449)][r(439)]("%"))?t.width:t[r(449)]+"px",l[r(451)].width=e,l.style[r(463)]=r(460)}document.body[r(425)](l);let n=0,s=0;e.forEach(e=>{const i=r,o=this[i(396)](t,e);l[i(425)](o);const a=o.getBoundingClientRect();a[i(449)]>n&&(n=a[i(449)]),a[i(473)]>s&&(s=a[i(473)]),l.removeChild(o)}),u&&n>0&&(a.style.width=n+"px"),p&&s>0&&o&&(a.style[r(473)]=s+"px"),document.body[r(408)](l)}const h=[];e.forEach((e,n)=>{const a=r,c=document.createElement(a(445));c[a(435)]=a(474);const l=a(o?434:0===n?413:434);c.style[a(442)]=a(401)+l+a(432)+(l===a(434)?"0":a(461))+a(420)+(l===a(434)?"0":"auto")+a(472)+a(o?444:464)+a(466)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(453))+a(465)+(0===n?"2":"1")+";\n ";const u=this[a(396)](t,e);tt[a(437)](u,e,t,s,i,a(417)),c[a(425)](u),d.appendChild(c),h[a(433)](c)});let f=0;const g=e[r(422)],m=1e3*(n?.[r(436)]||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(451)][a(431)]===a(413)&&(c[a(451)].position=a(434),c[a(451)].top="0",c.style[a(475)]="0"),d.style[a(431)]=a(413),d[a(451)][a(440)]="auto",d[a(451)][a(475)]="auto"),c[a(451)][a(411)]="0",c.style[a(427)]=a(423),c[a(451)][a(409)]="1",d.style.opacity="1",d[a(451)][a(427)]=a(462),d[a(451)][a(409)]="2",h[a(471)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(451)][s(411)]="0",t[s(451)].transform=s(406),t[s(451)][s(409)]="1",!o&&t[s(451)][s(431)]===s(413)&&(t[s(451)][s(431)]=s(434),t.style.top="0",t[s(451)][s(475)]="0"))}),f=n,X[a(441)](e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a[r(467)](r(419),()=>{clearInterval(v)}),a[r(467)](r(415),()=>{v=setInterval(()=>{I(f+1)},m)}),xt[r(454)](a,I,()=>f,g),a[r(425)](d),a}static[kt(454)](t,e,n,s){const i=kt;let r=0,o=0,a=!1;t[i(467)](i(446),t=>{const e=i;r=t[e(468)][0][e(429)],o=t.touches[0][e(450)],a=!0}),t.addEventListener(i(443),t=>{a&&t[i(407)]()}),t.addEventListener("touchend",t=>{const s=i;if(!a)return;a=!1;const c=t[s(424)][0][s(429)],d=t[s(424)][0].clientY,l=r-c,u=o-d;if(Math[s(438)](l)>Math[s(438)](u)&&Math[s(438)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function At(){const t=["1750080OxukBG","\n position: ","hidden","2117400kvFAqL","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","data-adstage-slot-id","translateY(20px)","preventDefault","removeChild","zIndex","minHeight","opacity","toLowerCase","relative","string","mouseleave","1009815HJJLmb","Text","fit-content","mouseenter",";\n left: ","createTextAdStyles","length","translateY(-20px)","changedTouches","appendChild","\n position: relative;\n width: 100%;\n ","transform","setAttribute","clientX","3605432iuPQoB","position",";\n top: ","push","absolute","className","autoSlideInterval","addClickEventForSlider","abs","includes","top","trackSlideViewable","cssText","touchmove","height: 100%;","div","touchstart","40077XXNdGR","adstage-fade-slider-wrapper","width","clientY","style","data-adstage-ad-id","20px","addTouchSupport","1930LhgYgD","89949PqYVqK","2278577BUXcpu","adstage-fade-slide-container","height: auto; min-height: fit-content;","normal","auto","translateY(0)","whiteSpace","height: auto;",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","addEventListener","touches","adType","createElement","forEach",";\n width: 100%;\n ","height","adstage-fade-slide","left","entries","6etMTrp","createSimpleAdElement","18oXqYqZ","adstage-ad adstage-","createTextTransitionContainer"];return(At=function(){return t})()}const St=Tt;!function(){const t=Tt,e=Rt();for(;;)try{if(460471===-parseInt(t(478))/1*(parseInt(t(486))/2)+parseInt(t(437))/3*(-parseInt(t(472))/4)+parseInt(t(475))/5+-parseInt(t(474))/6+parseInt(t(450))/7+parseInt(t(485))/8*(-parseInt(t(473))/9)+-parseInt(t(451))/10*(-parseInt(t(443))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct extends ht{constructor(e=!1,n){super(t.TEXT,e,n)}getDefaultHeight(){return Tt(467)}async renderAdElement(t,e){const n=Tt,s=document[n(483)](t.containerId);if(!s)return;const i=document.createElement("div");i[n(461)]=n(470);const r=t[n(469)],o=s[n(439)]||s;if(r)i.style[n(471)]=n(435),i[n(452)][n(448)]=String(r);else{const e=t[n(447)],s={width:e?.width,height:e?.height},{width:r,height:a}=this[n(456)](o,s,{debug:this[n(449)]});i[n(452)].width=r,i.style[n(448)]=a}const a=document[n(442)](n(484));a[n(461)]=n(464),a[n(452)][n(454)]=wt[n(466)](!1),wt[n(434)](a,e);const c=t.config?.maxLines;c&&typeof c===n(481)&&(a[n(452)][n(438)]="-webkit-box",a.style[n(468)]=String(c),a[n(452)][n(441)]=n(446),a[n(452)][n(480)]=n(479)),i[n(482)](a),tt[n(445)](i,e,t,()=>this[n(463)](),this[n(449)],"Text"),s[n(465)]="",s[n(482)](i),this[n(449)]&&console[n(476)](n(457)+e[n(444)])}async[St(436)](t,e){const n=St,s=document[n(483)](t[n(460)]);if(!s)throw new Error(n(458)+t[n(460)]);const i=this[n(463)](),r={autoSlideInterval:(t[n(447)]?.[n(462)]||5e3)/1e3,...t[n(447)],optimizedHeight:t[n(469)],aspectRatio:t[n(477)]},o=xt[n(453)](t,e,r,i,this.debug);o&&(s[n(465)]="",s[n(482)](o),this[n(449)]&&console[n(476)]("✨ Text transition created for slot: "+t.id+n(455)+e[n(459)]+n(440)))}}function Tt(t,e){const n=Rt();return(Tt=function(t,e){return n[t-=434]})(t,e)}function Rt(){const t=["style","createTextTransitionContainer","cssText"," with ","calculateAdSize","✨ Single text ad rendered: ","Container not found: ","length","containerId","className","slideInterval","createEventTrackingCallback","adstage-text-content","innerHTML","createTextAdStyles","60px","webkitLineClamp","optimizedHeight","adstage-ad adstage-text-ad","width","8vRWKYj","398718NKQPuf","2511072oCKMrh","3376145RqhIly","log","aspectRatio","2827jxYPKg","hidden","overflow","number","appendChild","getElementById","div","128DQKcaZ","566LWHljc","setTextAdContent","100%","renderMultipleAds","1331466LvLUUd","display","parentElement"," ads","webkitBoxOrient","createElement","253jhDyGe","_id","addClickEventForRenderer","vertical","config","height","debug","4371031NlVrrb","859060cEMhoW"];return(Rt=function(){return t})()}const Lt=Dt;function Dt(t,e){const n=Pt();return(Dt=function(t,e){return n[t-=179]})(t,e)}!function(){const t=Dt,e=Pt();for(;;)try{if(428728===-parseInt(t(207))/1+parseInt(t(215))/2+-parseInt(t(240))/3+-parseInt(t(250))/4*(parseInt(t(275))/5)+parseInt(t(270))/6+-parseInt(t(280))/7*(-parseInt(t(281))/8)+parseInt(t(271))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends ht{constructor(e=!1,n){super(t[Dt(182)],e,n)}getDefaultHeight(){return Dt(287)}async[Lt(253)](t,e){const n=Lt,s=document[n(218)](t[n(273)]);if(!s)return;const i=document[n(282)](n(205));i[n(255)]="adstage-video-container",i.style[n(192)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this[n(242)](i,e,t),s[n(263)]="",s[n(227)](i),this[n(212)]&&console[n(217)](n(267)+e[n(196)])}async[Lt(188)](t,e){const n=Lt,s=document[n(218)](t[n(273)]);if(!s)throw new Error(n(201)+t[n(273)]);if(e[n(183)]>0){const i=e[0],r=document[n(282)]("div");r.className=n(285),r[n(236)][n(192)]=n(241),this[n(242)](r,i,t),s[n(263)]="",s.appendChild(r);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(i[e(196)],t.id,o[e(247)])},100),this[n(212)]&&console[n(217)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+i[n(196)]+")")}else this.debug&&console[n(189)](n(292)+t.id)}renderVideoElementDirect(t,e,n){const s=Lt;t[s(236)][s(214)]="relative";const i=document[s(282)](s(239));i[s(236)][s(226)]=s(220),i[s(236)][s(199)]="100%",i[s(236)][s(185)]=s(288),i[s(257)]="metadata";const r=n.config;if(this[s(212)]&&console.log(s(276),r),i.controls=!1,i.autoplay=!1!==r?.autoplay,i[s(251)]=!0,i[s(284)]=!1!==r?.[s(284)],this.debug&&console[s(217)]("🎬 Final video settings:",{autoplay:i.autoplay,muted:i[s(251)],loop:i[s(284)],controls:i[s(209)]}),!1!==r?.[s(187)]&&i[s(249)](s(187),""),!0===r?.[s(209)]&&(i[s(209)]=!0,this[s(212)]&&console[s(217)](s(210))),r?.[s(278)])i[s(209)]=!1,i[s(236)][s(192)]+=s(208);else if(r?.customControls){if(i[s(209)]){const t=document[s(282)](s(236));t[s(274)]="\n video::-webkit-media-controls-play-button {\n display: "+(r[s(216)][s(261)]?s(279):s(262))+s(268)+(r[s(216)][s(203)]?"none":s(262))+s(234)+(r[s(216)][s(222)]?s(279):s(262))+s(260)+(r.customControls.hideRemainingTime?"none":s(262))+s(204)+(r.customControls[s(229)]?s(279):s(262))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(r[s(216)][s(289)]?s(279):s(262))+s(179)+(r[s(216)].hideFullscreenButton?s(279):s(262))+s(194),document[s(237)][s(227)](t)}}else if(i.controls){const t=document.createElement(s(236));t.id=s(290),t.textContent=s(197),!document[s(218)](s(290))&&document.head[s(227)](t)}this[s(212)]&&console.log(s(225),i[s(209)]?s(221):s(265));const o=document[s(282)](s(224));o.className=s(230),o.style[s(192)]=s(272),r?.hideControls&&(o[s(236)][s(228)]=s(279));const a=()=>{const t=s,e=t(200),n=t(259);o[t(263)]=i[t(251)]?e:n,o[t(206)]=i.muted?t(248):t(243)};if(a(),o[s(286)]("click",t=>{const e=s;t.stopPropagation(),i.muted=!i[e(251)],a(),this.debug&&console[e(217)](e(254)+(i[e(251)]?e(251):e(190)))}),o.addEventListener("mouseenter",()=>{const t=s;o.style[t(252)]=t(283),o[t(236)][t(195)]="scale(1.1)"}),o[s(286)](s(232),()=>{const t=s;o[t(236)][t(252)]=t(264),o.style[t(195)]=t(202)}),e[s(277)]){i.src=e[s(277)];const t=()=>{const t=s;i[t(184)]&&i[t(251)]&&i[t(238)]&&i.play()[t(256)](e=>{const n=t;this[n(212)]&&(console[n(189)]("🎬 Auto-play was prevented:",e),console[n(189)](n(181))),i[n(251)]=!0,i[n(213)]()[n(256)](t=>{const e=n;this[e(212)]&&console.error(e(266),t)})})};i[s(286)](s(233),()=>{const e=s;this.debug&&console[e(217)](e(245)),t()}),i[s(286)](s(219),()=>{const e=s;this[e(212)]&&console[e(217)](e(258)),t()}),i[s(286)](s(223),()=>{const e=s;this[e(212)]&&console[e(217)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=s;this[e(212)]&&console[e(217)](e(231)),t()},100)}else if(e[s(193)]){const n=document.createElement("img");return n[s(291)]=e[s(193)],n[s(236)][s(226)]=s(220),n[s(236)][s(199)]=s(220),n[s(236)][s(185)]="contain",n[s(180)]=e.title||"Video thumbnail",void t[s(227)](n)}tt[s(235)](i,e,n,()=>this[s(244)](),this[s(212)],"Video"),i.addEventListener(s(269),i=>{const r=s;if(console[r(269)](r(246),i),e.imageUrl){const s=document[r(282)](r(191));s[r(291)]=e[r(193)],s.style[r(226)]=r(220),s[r(236)][r(199)]="100%",s[r(236)][r(185)]=r(288),s.alt=e.title||r(198),tt[r(235)](s,e,n,()=>this[r(244)](),this.debug,r(186)),t[r(263)]="",t[r(227)](s)}}),t[s(227)](i),t[s(227)](o),this[s(212)]&&console[s(217)]("🎬 Video element created for ad: "+e._id+s(211)+i[s(184)]+", muted: "+i.muted+", loop: "+i[s(284)]+")")}}function Pt(){const t=["background","renderAdElement","🔊 Video mute toggled: ","className","catch","preload","🎬 Video can play, attempting autoplay...",'\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 '," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","hidePlayButton","block","innerHTML","rgba(0, 0, 0, 0.7)","disabled (default)","🎬 Autoplay completely failed:","🎬 Single video ad rendered: "," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","error","2046984TMRsjF","3688218QCuNrd","\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 ","containerId","textContent","18015wmOUDK","🎬 Video config received:","videoUrl","hideControls","none","494165tmVKls","8iQIPkN","createElement","rgba(0, 0, 0, 0.9)","loop","adstage-video-container","addEventListener","360px","contain","hideMuteButton","adstage-video-default-controls","src","⚠️ No video advertisements available for slot: "," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","alt","🎬 Trying muted autoplay fallback...","VIDEO","length","autoplay","objectFit","Video fallback","playsinline","renderMultipleAds","warn","unmuted","img","cssText","imageUrl"," !important;\n }\n ","transform","_id","\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 ","Video thumbnail","height",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ',"Container not found: ","scale(1)","hideProgressBar"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","div","title","657397GTMxUl","\n pointer-events: none;\n ","controls","🎬 User explicitly enabled controls, overriding default"," (autoplay: ","debug","play","position","1052440LxLUZq","customControls","log","getElementById","canplay","100%","enabled","hideCurrentTime","loadeddata","button","🎬 Video controls setting:","width","appendChild","display","hideVolumeSlider","adstage-video-mute-button","🎬 Initial autoplay attempt after timeout...","mouseleave","loadedmetadata"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","addClickEventForRenderer","style","head","paused","video","741732ETJtyq","\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 ","renderVideoElementDirect","Click to mute","createEventTrackingCallback","🎬 Video metadata loaded, attempting autoplay...","Video load failed:","VIEWABLE","Click to unmute","setAttribute","16eggmrB","muted"];return(Pt=function(){return t})()}const Ut=zt;function _t(){const t=["warn","log","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","appendChild","🏠 Single native ad rendered: ","linkUrl","200px","1270236NKEHpI","backgroundColor","50285LXNlSU","_blank","33753HoIAlE","Learn More","containerId","renderAdElement","⚠️ No native advertisements available for slot: ","advertisementEventTracker","7yCzYvB","cssText","adstage-ad adstage-native-ad","createElement","renderMultipleAds","img","addEventListener","debug","NATIVE","mouseleave","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","style","alt","116ROlPBB","textContent","imageUrl","27fbhLmt","Native click tracked for ad: ","_id","60nmohjW","className","title","706568pFzqrf","button","1145022xQacrm","mouseenter","4314160wpMftE","Native Advertisement","#3b82f6","\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 ","460beunst","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","#2563eb","\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 ad rendered (first of ","888559EuBZkk","length"];return(_t=function(){return t})()}function zt(t,e){const n=_t();return(zt=function(t,e){return n[t-=100]})(t,e)}!function(){const t=zt,e=_t();for(;;)try{if(839560===parseInt(t(131))/1+parseInt(t(109))/2*(-parseInt(t(144))/3)+parseInt(t(126))/4*(parseInt(t(142))/5)+parseInt(t(120))/6*(parseInt(t(150))/7)+parseInt(t(118))/8*(parseInt(t(112))/9)+-parseInt(t(122))/10+-parseInt(t(140))/11*(parseInt(t(115))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Mt extends ht{constructor(e=!1,n){super(t[zt(104)],e,n)}getDefaultHeight(){return zt(139)}async[Ut(147)](t,e){const n=Ut,s=document.getElementById(t[n(146)]);if(!s)return;const i=document[n(153)]("div");if(i[n(116)]=n(152),i[n(107)][n(151)]=n(125),e[n(117)]){const t=document.createElement("h3");t[n(110)]=e[n(117)],t[n(107)][n(151)]=n(106),i[n(136)](t)}if(e[n(110)]){const t=document[n(153)]("p");t.textContent=e[n(110)],t.style.cssText=n(135),i[n(136)](t)}if(e[n(111)]){const t=document[n(153)]("div");t[n(107)][n(151)]=n(127);const s=document[n(153)](n(101));s.src=e[n(111)],s[n(108)]=e.title||n(123),s[n(107)][n(151)]="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t[n(136)](s),i[n(136)](t)}if(e[n(138)]){const t=document[n(153)](n(119));t[n(110)]=n(145),t.style.cssText=n(129),t[n(102)]("click",()=>{const t=n;this[t(149)]&&console.log(t(113)+e[t(114)]),window.open(e[t(138)],t(143))}),t[n(102)](n(121),()=>{const e=n;t[e(107)].backgroundColor=e(128)}),t[n(102)](n(105),()=>{const e=n;t[e(107)][e(141)]=e(124)}),i[n(136)](t)}s.innerHTML="",s[n(136)](i),this[n(103)]&&console[n(134)](n(137)+e[n(114)])}async[Ut(100)](t,e){const n=Ut;e[n(132)]>0?(await this[n(147)](t,e[0]),this[n(103)]&&console[n(134)](n(130)+e[n(132)]+"): "+t.id)):this[n(103)]&&console[n(133)](n(148)+t.id)}}function Nt(t,e){const n=Vt();return(Nt=function(t,e){return n[t-=459]})(t,e)}const Ot=Nt;function Vt(){const t=["innerHTML","log","img","adstage-interstitial-overlay","9ICKWgI","containerId","keydown","advertisementEventTracker","400px","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","src","Get Started","#6b7280","open","🖼️ Interstitial ad rendered (first of ","Interstitial click tracked for ad: ","key","🖼️ Interstitial ad rendered: ","15tbtxjR","mouseleave","length","12oCepgZ","linkUrl","div","button","adstage-interstitial-styles","body","removeEventListener","cssText","parentNode","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","Interstitial Advertisement","color","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","click","\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 ","adstage-interstitial-content","#374151","): ","276132KioVJz","3458103ALoAKx","appendChild","closeInterstitial","imageUrl","2jchJPg","#e5e7eb","textContent","getDefaultHeight","debug","mouseenter","style","Escape","6634201BRlqad","backgroundColor","INTERSTITIAL","_blank","13291370csRMqR","\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 ","createElement","className","addEventListener","\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 ","⚠️ No interstitial advertisements available for slot: ","6SGywlK","warn","460850wmcJpk","🖼️ Interstitial ad closed","renderAdElement","renderMultipleAds","\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 ","target","_id","getElementById","7608024mMLswK","\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 ","#2563eb","19583311yAHxcp","title","removeChild"];return(Vt=function(){return t})()}!function(){const t=Nt,e=Vt();for(;;)try{if(725940===parseInt(t(514))/1+parseInt(t(493))/2*(-parseInt(t(489))/3)+parseInt(t(488))/4*(parseInt(t(467))/5)+parseInt(t(512))/6*(-parseInt(t(501))/7)+-parseInt(t(522))/8+parseInt(t(532))/9*(parseInt(t(505))/10)+parseInt(t(525))/11*(parseInt(t(470))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ft extends ht{constructor(e=!1,n){super(t[Nt(503)],e,n)}[Ot(496)](){return Ot(536)}async[Ot(516)](t,e){const n=Ot;if(!document[n(521)](t[n(533)]))return;const s=document[n(507)](n(472));s.className=n(531),s[n(499)][n(477)]=n(523);const i=document[n(507)](n(472));i[n(508)]=n(485),i.style[n(477)]=n(510);const r=document[n(507)]("button");if(r[n(528)]="×",r.style[n(477)]=n(484),r[n(509)]("click",()=>{this[n(491)](s)}),r[n(509)](n(498),()=>{const t=n;r.style[t(502)]=t(494),r.style[t(481)]=t(486)}),r.addEventListener(n(468),()=>{const t=n;r[t(499)][t(502)]="#f3f4f6",r[t(499)][t(481)]=t(461)}),e.imageUrl){const t=document[n(507)](n(530));t[n(459)]=e[n(492)],t.alt=e[n(526)]||n(480),t[n(499)][n(477)]=n(482),i.appendChild(t)}if(e[n(526)]){const t=document.createElement("h2");t[n(495)]=e[n(526)],t[n(499)][n(477)]=n(479),i[n(490)](t)}if(e.textContent){const t=document[n(507)]("p");t[n(495)]=e.textContent,t[n(499)][n(477)]=n(537),i.appendChild(t)}if(e[n(471)]){const t=document[n(507)](n(473));t[n(495)]=n(460),t.style[n(477)]=n(506),t[n(509)](n(483),()=>{const t=n;this[t(535)]&&console[t(529)](t(464)+e[t(520)]),window[t(462)](e.linkUrl,t(504)),this[t(491)](s)}),t[n(509)]("mouseenter",()=>{const e=n;t[e(499)][e(502)]=e(524)}),t[n(509)](n(468),()=>{t[n(499)].backgroundColor="#3b82f6"}),i[n(490)](t)}const o=t=>{const e=n;t[e(465)]===e(500)&&(this[e(491)](s),document[e(476)](e(534),o))};if(document[n(509)](n(534),o),s[n(509)](n(483),t=>{const e=n;t[e(519)]===s&&this[e(491)](s)}),!document.getElementById(n(474))){const t=document[n(507)](n(499));t.id=n(474),t[n(495)]=n(518),document.head[n(490)](t)}i[n(490)](r),s[n(490)](i),document[n(475)][n(490)](s),this[n(497)]&&console[n(529)](n(466)+e[n(520)])}async[Ot(517)](t,e){const n=Ot;e[n(469)]>0?(await this[n(516)](t,e[0]),this[n(497)]&&console[n(529)](n(463)+e[n(469)]+n(487)+t.id)):this.debug&&console[n(513)](n(511)+t.id)}[Ot(491)](t){const e=Ot;t[e(499)].animation="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(478)]&&t[n(478)][n(527)](t)},300),this.debug&&console[e(529)](e(515))}}const Kt=jt;function Ht(){const t=["_id","100%","setAttribute","objectFit","26205WJryXF"," renderers","appendChild","548YeWPuu","renderMultipleAds","58748CUPymq","renderAd","7621450DBOrdW","get","createPlaceholder","No advertisement to render","display","height","getDefaultHeight","log","set","padding","advertisementEventTracker","onerror","NATIVE","video","calculateAdSize","loadImageDimensions","getRenderer","width","block","size","adType","naturalHeight","data-adstage-ad-id","style","createElement","videoUrl","523503qjrvGa","textContent","TEXT","⚠️ Container optimization is only supported for BANNER ads, got: ","INTERSTITIAL","getDefaultHeightForAdType","renderFallback","1px dashed #ccc","Failed to load image: ","onload","36BYLYew","toLowerCase","#f9f9f9","naturalWidth","[AdRenderer] ","img","data-adstage-slot-id","renderers","debug","VIDEO","config","2255859PqlhnO","8yadxQe","2916366nvKYSH","border","imageUrl","className","optimizeContainerForBannerAds","div","advertisement","cover","renderAdElement","warn","calculateOptimalContainerSize","initializeRenderers","11847990PrZZgm","7qJhmCK","renderOptimizedBannerImage","backgroundColor"," Ad","adstage-ad adstage-","src","BANNER"];return(Ht=function(){return t})()}function jt(t,e){const n=Ht();return(jt=function(t,e){return n[t-=254]})(t,e)}!function(){const t=jt,e=Ht();for(;;)try{if(467265===parseInt(t(304))/1+-parseInt(t(276))/2*(parseInt(t(314))/3)+-parseInt(t(274))/4*(-parseInt(t(271))/5)+parseInt(t(327))/6*(-parseInt(t(260))/7)+parseInt(t(326))/8*(-parseInt(t(325))/9)+-parseInt(t(278))/10+parseInt(t(259))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Wt{constructor(t=!1,e){const n=jt;this[n(321)]=new Map,this[n(322)]=t,this[n(288)]=e||null,this[n(258)]()}initializeRenderers(){const e=jt;this[e(321)][e(286)](t[e(266)],new It(this[e(322)],this[e(288)])),this[e(321)][e(286)](t[e(306)],new Ct(this[e(322)],this[e(288)])),this.renderers[e(286)](t[e(323)],new Bt(this[e(322)],this[e(288)])),this.renderers[e(286)](t[e(290)],new Mt(this[e(322)],this.advertisementEventTracker)),this[e(321)][e(286)](t[e(308)],new Ft(this[e(322)],this[e(288)])),this[e(322)]&&console.log("🏭 AdRenderer factory initialized with "+this[e(321)][e(297)]+e(272))}createAdElement(e,n){const s=jt,i=this[s(294)](e[s(298)]),r=document.createElement(s(332));r[s(330)]=s(264)+String(e.adType)[s(315)](),r[s(269)](s(300),n[s(267)]),r[s(269)](s(320),e.id);const{width:o,height:a}=i.calculateAdSize(r,e[s(324)]||{},n);switch(r[s(301)][s(295)]=o,r[s(301)].height=a,r[s(301)][s(282)]=s(296),e[s(298)]){case t[s(266)]:if(n[s(329)]){const t=document[s(302)](s(319));t[s(265)]=n[s(329)],t[s(301)][s(295)]=s(268),t[s(301)].height=s(268),t.style[s(270)]=s(254),r.appendChild(t)}break;case t[s(323)]:if(n.videoUrl){const t=document[s(302)](s(291));t[s(265)]=n[s(303)],t[s(301)][s(295)]="100%",t.style[s(283)]=s(268),r[s(273)](t)}break;case t.TEXT:if(n.textContent){const t=document[s(302)](s(332));t[s(305)]=n[s(305)]||"",t[s(301)][s(287)]="8px",r[s(273)](t)}break;default:r[s(301)][s(328)]=s(311),r[s(301)][s(262)]=s(316),r[s(305)]=e.adType+s(263)}return r}[Kt(294)](t){const e=Kt,n=this[e(321)][e(279)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}createPlaceholder(t,e,n,s,i){const r=Kt;this[r(294)](n)[r(280)](t,e,s,i)}async[Kt(331)](e,n){const s=Kt;if(e.adType!==t.BANNER)return void(this[s(322)]&&console[s(256)](s(307)+e.adType));const i=this[s(294)](t.BANNER);await i[s(331)](e,n)}async renderAdSlider(t,e){const n=Kt,s=this[n(294)](t.adType);await s[n(275)](t,e)}async[Kt(277)](t){const e=Kt;if(!t[e(333)])throw new Error(e(281));const n=this[e(294)](t[e(298)]);await n[e(255)](t,t[e(333)]),t.isLoaded=!0}async[Kt(255)](t,e){const n=Kt,s=this[n(294)](t[n(298)]);await s[n(255)](t,e)}[Kt(310)](t){const e=Kt;this[e(294)](t[e(298)])[e(310)](t)}[Kt(309)](t){const e=Kt;return this[e(294)](t)[e(284)]()}[Kt(292)](t,e,n,s){return this[Kt(294)](e).calculateAdSize(t,n,s)}[Kt(293)](t){return new Promise((e,n)=>{const s=jt,i=new Image;i[s(313)]=()=>{const t=s;e({width:i[t(317)],height:i[t(299)]})},i[s(289)]=()=>{n(new Error(s(312)+t))},i[s(265)]=t})}async[Kt(261)](e,n,s){const i=Kt;if(s.adType!==t[i(266)])throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const r=this[i(294)](t[i(266)]);return await r[i(261)](e,n,s)}async calculateOptimalContainerSize(e,n,s){const i=Kt;if(s!==t[i(266)]){const t=this.getRenderer(s);return{width:i(268),height:t.getDefaultHeight(),aspectRatio:16/9}}const r=this[i(294)](t[i(266)]);return await r[i(257)](e,n)}log(t,...e){const n=Kt;this[n(322)]&&console[n(285)](n(318)+t,...e)}}const qt=Yt;function Jt(){const t=["ELEMENT_NODE","nodeType","removedNodes","advertisement","341268VIdeAm","❌ Failed to load ad for slot: ","warn","Failed to fetch ad data: ","New advertisement viewable tracked for slot:","destroy","viewabilityTracker","VIDEO","adstage-","❌ Failed to find element for viewability tracking: ","Ad slot not found: ","trackAdvertisementEvent","forEach","169fCRXqW"," (attempt ","onClick","handleViewableEvent","1767876NavOBQ","2bfJvaR","Ads module not initialized. Call AdStage.init() first.","language","toString","autoDestroy","Failed to refresh ad slot: ","7149070mhwqXi","renderFallback","adType","log","string","random","containerId","_id","height","광고 생성 중 오류 발생:","clear","_config","country","100%","createAdInternal","customControls","mutationObserver","9cSiGDv","disconnect","getAllSlots","native","🔍 Ad slot already cleaned up: ","debug"," ads for type: ","list","VIEWABLE","loadAdContentInBackground","config","270GoxTsJ","observe","muted","adRenderer","now","ms... (attempt ","fetchAdData","244293BplEoj","🚫 Advertisement not found with ID: ","refreshAdSlot","apiKey","destroyModule"," (element found)","createAd","style","status","getAttribute","API key not configured","advertisementEventTracker","GET","setupAutoCleanup","BANNER","🗑️ Ads module destroyed","hideControls","🔄 Retrying viewability tracking for slot: ","handleRemovedElement","interstitial","40648nhvYoF","delete","isLoaded","innerHTML","set","controls","startSimpleViewabilityTracking","create","playsinline","get","createAdWithRetry","from","data-adstage-slot-id","TEXT","📊 Advertisement event tracking enabled for slot: ","width","undefined","3743384WqvSlt","isReady","getConfig","json","setAttribute","🎯 Ads module initialized (sync mode) with auto-cleanup","[data-adstage-slot-id]","substr","slideInterval","Container not found: ","📊 Fetched specific ad with ID: ","getSlotById","_isReady","body",", filters:","maxLines","length","advertisements","error","auto-","deviceType","30UXcBqP","slots","adId","getElementById","autoSlide","renderAdElement"," attempts: ","default","🧹 Auto-cleanup: slot ","optimizeContainerForBannerAds","🎠 Slider will handle VIEWABLE events for "," ads automatically","🔄 Ad slot refreshed: ","ensureReady","append","createPlaceholder","video"," removed","459289lSOpYH","values","renderAdSlider","banner"," ads)","refresh","11MlkHIc"];return(Jt=function(){return t})()}function Yt(t,e){const n=Jt();return(Yt=function(t,e){return n[t-=166]})(t,e)}!function(){const t=Yt,e=Jt();for(;;)try{if(563919===parseInt(t(302))/1+parseInt(t(185))/2*(parseInt(t(167))/3)+parseInt(t(246))/4*(parseInt(t(219))/5)+-parseInt(t(284))/6*(-parseInt(t(226))/7)+-parseInt(t(263))/8*(-parseInt(t(208))/9)+-parseInt(t(191))/10*(-parseInt(t(308))/11)+-parseInt(t(184))/12*(parseInt(t(180))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gt{constructor(){const t=Yt;this[t(275)]=!1,this[t(202)]=null,this[t(285)]=new Map,this[t(237)]=null,this[t(222)]=null,this.mutationObserver=null}init(t){const e=Yt;this[e(202)]=t,this.advertisementEventTracker=new z(q.getBaseUrl(),t.apiKey,t[e(213)]||!1,this[e(285)]),this[e(222)]=new Wt(t[e(213)]||!1,this[e(237)]),this[e(239)](),this[e(275)]=!0,t[e(213)]&&console[e(194)](e(268))}[qt(264)](){return this[qt(275)]}[qt(265)](){return this._config}[qt(305)](e,n){const s=qt;this[s(297)]();const i={width:n?.[s(261)]||s(204),height:n?.height||"auto",autoSlide:n?.[s(288)]||!1,slideInterval:n?.[s(271)]||5e3,onClick:n?.onClick,adId:n?.[s(286)],language:n?.language,deviceType:n?.[s(283)],country:n?.country};return this[s(232)](e,t.BANNER,i)}text(e,n){const s=qt;this[s(297)]();const i={maxLines:n?.[s(278)]||3,style:n?.[s(233)]||s(291),onClick:n?.[s(182)],adId:n?.[s(286)],language:n?.[s(187)],deviceType:n?.deviceType,country:n?.country};return this[s(232)](e,t[s(259)],i)}[qt(300)](e,n){const s=qt;this[s(297)]();const i={width:n?.width||640,height:n?.[s(199)]||360,autoplay:void 0===n?.autoplay||n.autoplay,muted:void 0===n?.muted||n[s(221)],loop:void 0===n?.loop||n.loop,playsinline:!1!==n?.[s(254)],controls:void 0!==n?.[s(251)]&&n[s(251)],hideControls:n?.[s(242)]||!1,customControls:n?.[s(206)],autoSlide:!1,maxAds:1,onClick:n?.onClick,...n?.adId&&{adId:n[s(286)]}};return this[s(232)](e,t[s(174)],i)}[qt(211)](e,n){const s=qt;return this.ensureReady(),this[s(232)](e,t.NATIVE,n||{})}[qt(245)](e,n){const s=qt;return this[s(297)](),this[s(232)](e,t.INTERSTITIAL,n||{})}[qt(307)](t){const e=qt;this[e(297)]();const n=this[e(285)][e(255)](t);if(!n)throw new Error(e(177)+t);this[e(228)](n),this[e(202)]?.[e(213)]&&console[e(194)](e(296)+t)}[qt(172)](t){const e=qt;this.ensureReady();const n=this[e(285)][e(255)](t);if(!n)return void(this._config?.debug&&console[e(194)](e(212)+t));n[e(173)]&&n[e(173)][e(172)]();const s=document[e(287)](n[e(197)]);s&&(s[e(249)]=""),this[e(285)][e(247)](t),this[e(202)]?.[e(213)]&&console[e(194)]("🗑️ Ad slot destroyed: "+t)}[qt(210)](){const t=qt;return this.ensureReady(),Array[t(257)](this[t(285)][t(303)]())}[qt(274)](t){const e=qt;return this[e(297)](),this[e(285)].get(t)||null}[qt(232)](t,e,n){const s=qt;if(!this[s(202)]?.[s(229)])throw new Error(s(236));const i=s(175)+e+"-"+Date[s(223)]()+"-"+Math[s(196)]()[s(188)](36)[s(270)](2,9);return this[s(256)](t,e,n,i,0),i}async[qt(256)](t,e,n,s,i){const r=qt,o=[0,50,100,200,500];let a,c=null;if(typeof t===r(195)){if(a=t,c=document[r(287)](t),!c)return i<4?(this[r(202)]?.[r(213)]&&console[r(169)](r(272)+t+". Retrying in "+o[i+1]+r(224)+(i+1)+"/5)"),void setTimeout(()=>{this[r(256)](t,e,n,s,i+1)},o[i+1])):void console[r(281)]("Container not found after 5"+r(290)+t)}else c=t,a=c.id||r(282)+s,!c.id&&(c.id=a);try{this[r(205)](a,e,n,s,c)}catch(t){console[r(281)](r(200),t)}}createAdInternal(e,n,s,i,r){const o=qt;r[o(267)](o(258),i),this.adRenderer?.[o(299)](r,i,n,s,this[o(202)]);const a={id:i,containerId:e,adType:n,width:s[o(261)]||o(204),height:s.height||(n===t[o(259)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(225)](n,s).then(t=>t[0]||null),render:t=>this[o(222)]?.renderAdElement(a,t),refresh:async()=>this[o(228)](a),destroy:()=>this.destroy(i)};this[o(285)][o(250)](i,a),this[o(217)](a),this[o(237)]&&this[o(202)]?.[o(213)]&&console.log(o(260)+i)}async loadAdContentInBackground(e){const n=qt;try{const s=await this.fetchAdData(e[n(193)],e[n(218)]);if(!s||0===s[n(279)])return void this[n(222)]?.[n(192)](e);e.adType===t[n(240)]&&s[n(279)]>0&&await(this[n(222)]?.[n(293)](e,s)),s[n(279)]>1||e[n(218)]?.[n(288)]?(await(this[n(222)]?.[n(304)](e,s)),this._config?.[n(213)]&&console[n(194)](n(294)+s[n(279)]+n(295))):(e[n(166)]=s[0],await(this[n(222)]?.[n(289)](e,s[0])),this[n(252)](e,s[0])),e[n(248)]=!0,this[n(202)]?.debug&&console[n(194)]("✅ Ad loaded for slot: "+e.id+" ("+s[n(279)]+n(306))}catch(t){console[n(281)](n(168)+e.id,t),this[n(222)]?.[n(192)](e)}}[qt(252)](t,e){const n=(s=0)=>{const i=Yt,r=document.getElementById(t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this._config?.[i(213)]&&console[i(194)](i(243)+t.id+i(181)+(s+1)+")")):console[i(169)](i(176)+t.id));const o=new V(r,async()=>{const n=i;await this[n(183)](e,t)});t.viewabilityTracker=o,this[i(202)]?.[i(213)]&&console[i(194)]("🎯 Simple viewability tracking started for slot: "+t.id+i(231))};n()}async[qt(183)](t,e){const n=qt;try{this[n(237)]&&(await this[n(237)][n(178)](t[n(198)],e.id,o[n(216)]),this[n(202)]?.[n(213)]&&console[n(194)]("✅ Simple viewable impression tracked for ad "+t._id))}catch(t){console[n(281)]("❌ Failed to track viewable impression:",t)}}async[qt(225)](t,e){const n=qt;if(!this[n(202)]?.[n(229)])throw new Error(n(236));if(e[n(286)]){const t=""+q[n(280)].detail(e[n(286)]),s=await fetch(t,{method:"GET",headers:B.create(this._config.apiKey)});if(!s.ok){if(404===s[n(234)])return console[n(169)](n(227)+e[n(286)]),[];throw new Error(n(170)+s[n(234)])}const i=await s[n(266)]();return this._config?.debug&&console[n(194)](n(273)+e[n(286)],i),[i]}const s=new URLSearchParams;s[n(298)](n(193),t),e[n(187)]&&s[n(298)](n(187),e[n(187)]),e[n(283)]&&s[n(298)](n(283),e[n(283)]),e[n(203)]&&s.append(n(203),e.country);const i=q.advertisements[n(215)]()+"?"+s.toString(),r=await fetch(i,{method:n(238),headers:B[n(253)](this[n(202)][n(229)])});if(!r.ok)throw new Error(n(170)+r[n(234)]);const o=(await r[n(266)]())[n(280)]||[];return this._config?.[n(213)]&&console[n(194)]("📊 Fetched "+o[n(279)]+n(214)+t+n(277),{language:e.language,deviceType:e[n(283)],country:e[n(203)]}),o}async[qt(228)](t){const e=qt;try{const n=await this[e(225)](t[e(193)],t[e(218)]||{});n&&n[e(279)]>0&&(t.advertisement=n[0],await(this[e(222)]?.renderAd(t)),this[e(237)]&&console[e(194)](e(171),t.id))}catch(n){console.error(e(190)+t.id,n)}}[qt(297)](){const t=qt;if(!this._isReady)throw new Error(t(186))}[qt(239)](){const t=qt;"undefined"!=typeof window&&typeof document!==t(262)&&(this[t(207)]&&this.mutationObserver[t(209)](),this[t(207)]=new MutationObserver(e=>{const n=t;e[n(179)](t=>{const e=n;t[e(311)].forEach(t=>{const n=e;t[n(310)]===Node[n(309)]&&this.handleRemovedElement(t)})})}),this[t(207)][t(220)](document[t(276)],{childList:!0,subtree:!0}),this._config?.[t(213)]&&console[t(194)]("🔍 Auto-cleanup MutationObserver enabled"))}[qt(244)](t){const e=qt,n=t[e(235)](e(258));if(n)return void this[e(189)](n);t.querySelectorAll(e(269))[e(179)](t=>{const n=e,s=t[n(235)](n(258));s&&this[n(189)](s)})}[qt(189)](t){const e=qt,n=this[e(285)].get(t);if(n)try{n[e(173)]&&n[e(173)][e(172)](),this[e(285)][e(247)](t),this._config?.[e(213)]&&console.log(e(292)+t+e(301))}catch(n){this[e(202)]?.[e(213)]&&console.warn("Auto-cleanup failed for slot "+t+":",n)}}[qt(230)](){const t=qt,e=this[t(202)]?.[t(213)];this[t(207)]&&(this[t(207)][t(209)](),this[t(207)]=null),this[t(285)][t(201)](),this[t(237)]=null,this[t(222)]=null,this[t(275)]=!1,this._config=null,e&&console[t(194)](t(241))}}var Xt=Qt;function Qt(t,e){var n=$t();return(Qt=function(t,e){return n[t-=418]})(t,e)}!function(){for(var t=Qt,e=$t();;)try{if(319524===parseInt(t(421))/1*(parseInt(t(426))/2)+-parseInt(t(419))/3*(-parseInt(t(437))/4)+parseInt(t(442))/5*(-parseInt(t(439))/6)+-parseInt(t(444))/7+parseInt(t(425))/8*(parseInt(t(422))/9)+-parseInt(t(428))/10+-parseInt(t(427))/11*(parseInt(t(452))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){var t=Qt;this._isReady=!1,this[t(449)]=null,this[t(430)]=null}[Xt(441)](t){var e=Xt;this._config={timeout:3e4,debug:!1,modules:[e(432),e(450),e(429)],...t},t[e(438)]&&q[e(424)](t[e(438)]),this._isReady=!0,t.debug&&console[e(434)](e(423),{modules:this._config.modules,endpoint:q.getBaseUrl(),mode:e(447)})}[Xt(453)](){return this._isReady}[Xt(440)](){return this[Xt(449)]}[Xt(418)](){return this[Xt(430)]}[Xt(436)](){return q[Xt(446)]()}[Xt(445)](){var t=Xt;return this[t(449)]?.[t(443)]||!1}[Xt(451)](){var t=Xt;return this[t(449)]?.modules||[]}isModuleEnabled(t){var e=Xt;return this[e(451)]()[e(420)](t)}updateConfig(t){var e=Xt;if(!this[e(449)])throw new Error(e(433));this[e(449)]={...this._config,...t},this[e(445)]()&&console[e(434)](e(448),t)}getApiHeaders(){var t=Xt;if(!this[t(449)]?.[t(435)])throw new Error("API key not available");return B[t(431)](this[t(449)][t(435)])}}function $t(){var t=["_config","events","getEnabledModules","3780lQGQbS","isReady","getOrganizationInfo","45MAgZNu","includes","402691HVeMxG","1683AlJLvC","✅ Config module initialized (sync mode)","setBaseUrl","26456qgTxHV","2aDeTfx","66LJnBZC","4723120nJIszO","config","_organizationInfo","create","ads","Config module not initialized","log","apiKey","getApiEndpoint","68452RsqtIP","baseUrl","6OcrEbE","getConfig","init","732650omjkyl","debug","2362773NFPLWL","isDebugMode","getBaseUrl","development","🔄 Config updated"];return($t=function(){return t})()}const te=ee;function ee(t,e){const n=ne();return(ee=function(t,e){return n[t-=471]})(t,e)}function ne(){const t=["Desktop Web","getAutoDetectedDeviceInfo","435141TjNFbj","getViewportInfo","android","SSR","Android","platform","849107DGVvRj","language","9HUMEKQ","getUserDeviceInfo","ios","onLine","95EoZjWU","isMobile","getPlatform","other","width","6333544xJSlUc","iOS","mapPlatformForEvents","4082210uUPEBz","1529921aLUcxF","144104jveBrV","12JXAyqf","isBrowser","_userProvidedDeviceInfo","0x0","mobile","ko-KR","setDeviceProperty","height","30vmpnRv","Mobile Web","clearDeviceInfo","cookieEnabled","toLowerCase","9649390AqQCLI","web","test","Unknown"];return(ne=function(){return t})()}!function(){const t=ee,e=ne();for(;;)try{if(779514===parseInt(t(485))/1+-parseInt(t(487))/2*(parseInt(t(506))/3)+-parseInt(t(486))/4*(parseInt(t(476))/5)+parseInt(t(495))/6*(parseInt(t(512))/7)+parseInt(t(481))/8+-parseInt(t(472))/9*(parseInt(t(500))/10)+parseInt(t(484))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{static getDeviceInfo(){const t=ee;return{...se[t(505)](),...se[t(489)]}}static[te(505)](){const t=te;if(!v[t(488)]())return{category:t(479),platform:t(509),model:"SSR",osVersion:t(509)};const e=navigator.userAgent[t(499)]();let n="desktop";/tablet|ipad/[t(502)](e)?n="tablet":T[t(477)]()&&(n=t(491));const s=T[t(478)]();return{category:n,platform:se[t(483)](s),model:navigator.platform,osVersion:navigator.platform,deviceId:T.generateDeviceId()}}static setDeviceInfo(t){const e=te;se._userProvidedDeviceInfo={...se[e(489)],...t}}static[te(493)](t,e){se[te(489)][t]=e}static[te(497)](){se[te(489)]={}}static[te(473)](){return{...se[te(489)]}}static[te(483)](t){const e=te;switch(t){case e(474):return e(482);case e(508):return e(510);case e(501):return e(496);case"desktop":return e(504);default:return e(503)}}static getDetailedInfo(){const t=te;if(!v[t(488)]())return{userAgent:"SSR",language:t(492),platform:t(509),cookieEnabled:!1,onLine:!0,screenResolution:t(490),viewportSize:t(490)};const e=v[t(507)]();return{userAgent:navigator.userAgent,language:navigator[t(471)]||t(492),platform:navigator[t(511)],cookieEnabled:navigator[t(498)],onLine:navigator[t(475)],screenResolution:screen.width+"x"+screen[t(494)],viewportSize:e[t(480)]+"x"+e[t(494)]}}}se[te(489)]={};const ie=ae;function re(){const t=["191718LrdIJR","3229060jxFdGy","language","7003500NnmrkV","_userProperties","18693024qVwksr","DateTimeFormat","getUserInfo","isBrowser","getCurrentUserProperties","ko-KR","getBaseUserInfo","split","9sEFAkY","206006NBmcKW","extractCountryFromLanguage","clearUserProperties","583152UcaWWa","timeZone","setUserProperties","98612mkJhsm"];return(re=function(){return t})()}!function(){const t=ae,e=re();for(;;)try{if(730590===parseInt(t(311))/1+parseInt(t(297))/2*(-parseInt(t(310))/3)+parseInt(t(296))/4+-parseInt(t(298))/5+parseInt(t(293))/6+-parseInt(t(300))/7+parseInt(t(302))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[ie(304)](){const t=ie;return{...oe[t(308)](),...oe[t(301)]}}static[ie(308)](){const t=ie;if(!v[t(305)]())return{language:t(307),country:"KR"};const e=navigator[t(299)]||t(307);return{language:e,country:oe.extractCountryFromLanguage(e)}}static[ie(312)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ie(309)]("-")[0]]||"KR"}static[ie(295)](t){const e=ie;oe[e(301)]={...oe[e(301)],...t}}static setUserProperty(t,e){oe[ie(301)][t]=e}static[ie(313)](){oe[ie(301)]={}}static[ie(306)](){return{...oe[ie(301)]}}static estimateLocation(){const t=ie;if(!v[t(305)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl[t(303)]().resolvedOptions()[t(294)];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 ae(t,e){const n=re();return(ae=function(t,e){return n[t-=293]})(t,e)}oe[ie(301)]={};const ce=de;function de(t,e){const n=ue();return(de=function(t,e){return n[t-=416]})(t,e)}!function(){const t=de,e=ue();for(;;)try{if(549981===-parseInt(t(453))/1*(parseInt(t(422))/2)+-parseInt(t(433))/3*(parseInt(t(454))/4)+-parseInt(t(456))/5+-parseInt(t(443))/6*(parseInt(t(420))/7)+parseInt(t(440))/8*(parseInt(t(463))/9)+-parseInt(t(446))/10*(-parseInt(t(479))/11)+parseInt(t(447))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{static[ce(461)](){const t=ce;if(typeof window===t(429))return null;const e=new URLSearchParams(window.location.search),n={};let s=!1;const i=e.get(t(471));if(i)try{const e=decodeURIComponent(i),r=new URLSearchParams(e);for(const e of le.ALL_KEYS){const i=r[t(435)](e);i&&(n[e]=i,s=!0)}r.get(t(424))===t(441)&&(s=!0)}catch(e){console[t(480)]("Failed to parse adstage_referrer:",e)}for(const i of le[t(417)]){if(n[i])continue;const r=e[t(435)](i);r&&(n[i]=r,s=!0)}return s?(n.channel||(n[t(423)]?n[t(468)]=t(450):n[t(481)]?n[t(468)]=t(475):n[t(460)]?n[t(468)]=t(478):n[t(431)]?n[t(468)]="naver.searchad":n.liclid?n[t(468)]=t(459):n[t(472)]?n[t(468)]=t(455):n[t(427)]&&(n.channel="twitter.ads")),le[t(442)](n),n):null}static[ce(442)](t){const e=ce;if("undefined"!=typeof window)try{const n={...le[e(435)](),...t},s=JSON.stringify(n);try{sessionStorage.setItem(le[e(451)],s)}catch(t){}try{localStorage.setItem(le[e(451)],s)}catch(t){}}catch(t){console[e(480)](e(457),t)}}static[ce(435)](){const t=ce;if("undefined"==typeof window)return null;try{const e=sessionStorage?.getItem(le[t(451)]);if(e)return JSON[t(421)](e)}catch(t){}try{const e=localStorage?.[t(426)](le[t(451)]);if(e)return JSON[t(421)](e)}catch(t){}return null}static[ce(438)](){const t=ce;if(typeof window!==t(429)){try{sessionStorage?.[t(469)](le[t(451)])}catch(t){}try{localStorage?.[t(469)](le[t(451)])}catch(t){}}}static[ce(452)](){const t=ce,e=le[t(435)]();return null!==e&&Object[t(437)](e)[t(464)]>0}static hasClickId(){const t=le.get();return!!t&&le.CLICK_ID_KEYS.some(e=>t[e])}static shouldSendClickEvent(){const t=ce;if("undefined"==typeof window)return!1;const e=le.get();if(!e||!le.hasClickId())return!1;const n=e[t(423)]||e[t(481)]||e.ttclid||e.nclid||e.liclid||e[t(472)]||e.twclid;if(!n)return!1;return n!==sessionStorage.getItem("adstage_last_click_id")&&(sessionStorage[t(458)](t(436),n),!0)}static[ce(462)](){const t=ce;typeof window!==t(429)&&sessionStorage[t(458)](t(419),"true")}static isClickEventSent(){const t=ce;return typeof window!==t(429)&&sessionStorage.getItem(t(419))===t(441)}static toAttributionObject(){const t=ce,e=le.get();if(!e)return null;const n={};return e[t(423)]&&(n[t(423)]=e[t(423)]),e[t(481)]&&(n[t(481)]=e[t(481)]),e[t(460)]&&(n.ttclid=e.ttclid),e.nclid&&(n[t(431)]=e[t(431)]),e[t(468)]&&(n[t(468)]=e[t(468)]),e[t(416)]&&(n[t(416)]=e[t(416)]),e[t(474)]&&(n[t(477)]=e.campaign_id),e.ad_group&&(n[t(476)]=e.ad_group),e.ad_group_id&&(n[t(466)]=e[t(470)]),e[t(432)]&&(n.adCreative=e[t(432)]),e.creative_id&&(n[t(445)]=e[t(425)]),e[t(439)]&&(n.term=e[t(439)]),e.utm_source&&(n[t(449)]=e[t(449)]),e.utm_medium&&(n[t(482)]=e[t(482)]),e[t(473)]&&(n.utm_campaign=e[t(473)]),e.utm_content&&(n[t(465)]=e[t(465)]),e.utm_term&&(n.utm_term=e[t(448)]),Object[t(437)](n).length>0?n:null}}function ue(){const t=["150jMNHLJ","29203020XlSTVL","utm_term","utm_source","google.ads","STORAGE_KEY","hasParams","489138MgPNwR","49408JzWquJ","microsoft.ads","1661830tUecdV","Failed to store tracking params:","setItem","linkedin.ads","ttclid","captureFromUrl","markClickEventSent","9cgHFfO","length","utm_content","adGroupId","ad_group","channel","removeItem","ad_group_id","adstage_referrer","msclkid","utm_campaign","campaign_id","meta.ads","adGroup","campaignId","tiktok.ads","134255dvkyeg","warn","fbclid","utm_medium","campaign","ALL_KEYS","UTM_KEYS","adstage_click_event_sent","7227423EWQZAK","parse","2QMBDmB","gclid","adstage","creative_id","getItem","twclid","CAMPAIGN_KEYS","undefined","adstage_tracking_params","nclid","ad_creative","216wRufrf","CLICK_ID_KEYS","get","adstage_last_click_id","keys","clear","term","5413264irBKmN","true","store","6AWIcMg","liclid","creativeId"];return(ue=function(){return t})()}le[ce(451)]=ce(430),le[ce(434)]=[ce(423),ce(481),ce(460),"nclid",ce(444),ce(472),ce(427)],le[ce(428)]=[ce(416),"campaign_id",ce(467),"ad_group_id",ce(432),ce(425),ce(439)],le.UTM_KEYS=[ce(449),ce(482),ce(473),ce(465),"utm_term"],le[ce(417)]=[...le[ce(434)],...le[ce(428)],...le[ce(418)]];const pe=fe;function he(){const t=["setDeviceProperty","status","POST","📡 Request URL:","API key not configured for event tracking.","10FbNaPE","setItem","setDeviceInfo","apiKey","init","undefined","error","json","Event tracking failed: ","📱 Device info set:","clearDeviceInfo","📱 Device property set:","track","statusText","476IMdscy","📡 Attribution request URL:","debug","📦 Attribution request body:","11lnbIuh","4152BhOwDd","adstage_attribution_id","📱 User provided device info cleared","stringify","2144912dkbqci","isReady","warn","✅ Event tracked with attribution ID:","toAttributionObject","getItem","create","text","attributionId","trackWithAttributionId","events","API key not configured for attribution registration.","🔑 Request headers:","getCurrentUserProperties","application/json","registerAttribution","📊 Attribution included:","❌ Failed to register attribution:","❌ Failed to track event:","👤 User properties set:","810927KjGgsS","_config","❌ API Error Response:","Event data:","Events module not initialized. Call AdStage.init() first.","getUserInfo","_isReady","⏭️ No tracking parameters found, skipping attribution registration","setUserProperties","8058LDhpMr","getAttributionId","5464575ctsfhG","get","Attribution registration failed: ","1204YAAjdU","getConfig","sendEventToServer","📦 Request body:","✅ Event tracked:","getDeviceInfo","16633068JofCOM","log","2rOVOSw","getUserProperties","2931195LRFjHS"];return(he=function(){return t})()}function fe(t,e){const n=he();return(fe=function(t,e){return n[t-=334]})(t,e)}!function(){const t=fe,e=he();for(;;)try{if(505404===-parseInt(t(400))/1*(parseInt(t(349))/2)+-parseInt(t(336))/3*(-parseInt(t(341))/4)+-parseInt(t(351))/5+-parseInt(t(376))/6*(-parseInt(t(371))/7)+parseInt(t(380))/8+parseInt(t(338))/9*(-parseInt(t(357))/10)+parseInt(t(375))/11*(parseInt(t(347))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=fe;this[t(406)]=!1,this[t(401)]=null}[pe(361)](t){const e=pe;this[e(401)]=t,this[e(406)]=!0,t.debug&&console[e(348)]("📊 Events module initialized")}[pe(381)](){return this[pe(406)]}[pe(342)](){return this[pe(401)]}[pe(335)](t){const e=pe;oe[e(335)](t),this[e(401)]?.debug&&console[e(348)](e(399),t)}[pe(350)](){return oe[pe(393)]()}[pe(359)](t){const e=pe;se.setDeviceInfo(t),this[e(401)]?.[e(373)]&&console[e(348)](e(366),t)}[pe(352)](t,e){const n=pe;se[n(352)](t,e),this[n(401)]?.[n(373)]&&console[n(348)](n(368),t,e)}[pe(367)](){const t=pe;se[t(367)](),this[t(401)]?.debug&&console[t(348)](t(378))}getUserDeviceInfo(){return se.getUserDeviceInfo()}[pe(346)](){return se[pe(346)]()}getUserInfo(){return oe.getUserInfo()}[pe(393)](){return oe[pe(393)]()}async[pe(369)](t,e){const n=pe;if(this[n(406)])if(this[n(401)]?.[n(360)])try{const s=this[n(337)]();if(s){const i={eventName:t,sdkVersion:x(),device:se[n(346)](),user:oe[n(405)](),attributionId:s,params:e||{}};return await this.sendEventToServer(i),void(this[n(401)][n(373)]&&console[n(348)](n(383),t,s))}const i=le[n(384)](),r={eventName:t,sdkVersion:x(),device:se[n(346)](),user:oe.getUserInfo(),...i&&{attribution:i},params:e||{}};await this[n(343)](r),this[n(401)].debug&&(console[n(348)](n(345),t,e),i&&console[n(348)](n(396),i))}catch(s){console[n(363)](n(398),s),this[n(401)][n(373)]&&console.error(n(403),{eventName:t,properties:e})}else console[n(382)](n(356));else console[n(382)](n(404))}async[pe(395)](t){const e=pe;if(!this[e(406)])return console[e(382)]("Events module not initialized. Call AdStage.init() first."),null;if(!this[e(401)]?.[e(360)])return console.warn(e(391)),null;try{const n=le[e(339)]();if(!n||0===Object.keys(n).length)return this[e(401)].debug&&console[e(348)](e(334)),null;const s=await this.sendAttributionToServer({deviceId:t,referrerParams:n});if(this._config[e(373)]&&console[e(348)]("✅ Attribution registered:",s),s[e(388)]){try{localStorage[e(358)](e(377),s[e(388)])}catch(t){}try{sessionStorage.setItem(e(377),s[e(388)])}catch(t){}}return s}catch(t){return console[e(363)](e(397),t),null}}[pe(337)](){const t=pe;if(typeof window===t(362))return null;try{const e=sessionStorage[t(385)](t(377));if(e)return e}catch(t){}try{return localStorage[t(385)](t(377))}catch(t){}return null}async[pe(389)](t,e){return this[pe(369)](t,e)}async[pe(343)](t){const e=pe,n={...B[e(386)](this[e(401)][e(360)]),"Content-Type":e(394)};this[e(401)]?.[e(373)]&&(console[e(348)](e(392),n),console.log(e(355),q[e(390)][e(369)]()),console[e(348)](e(344),t));const s=await fetch(q.events[e(369)](),{method:"POST",headers:n,body:JSON[e(379)](t)});if(!s.ok){const t=await s[e(387)]();throw console[e(363)](e(402),t),new Error(e(365)+s[e(353)]+" "+s[e(370)])}}async sendAttributionToServer(t){const e=pe,n={...B[e(386)](this[e(401)][e(360)]),"Content-Type":"application/json"};this[e(401)]?.debug&&(console.log("🔑 Attribution request headers:",n),console[e(348)](e(372),q[e(390)][e(395)]()),console[e(348)](e(374),t));const s=await fetch(q[e(390)][e(395)](),{method:e(354),headers:n,body:JSON[e(379)](t)});if(!s.ok){const t=await s[e(387)]();throw console[e(363)]("❌ API Error Response:",t),new Error(e(340)+s.status+" "+s[e(370)])}return s[e(364)]()}}const me=ve;!function(){const t=ve,e=ye();for(;;)try{if(637664===-parseInt(t(319))/1*(parseInt(t(376))/2)+parseInt(t(384))/3*(parseInt(t(364))/4)+-parseInt(t(388))/5*(parseInt(t(302))/6)+-parseInt(t(338))/7*(parseInt(t(346))/8)+parseInt(t(360))/9+parseInt(t(361))/10*(parseInt(t(355))/11)+parseInt(t(336))/12*(-parseInt(t(337))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ie{constructor(){const t=ve;this[t(367)]=!1,this[t(315)]=null,this.config=new Zt,this[t(326)]=new Gt,this[t(332)]=new ge}static[me(374)](t){const e=me;!Ie[e(354)]&&(Ie[e(354)]=new Ie);const n=Ie.instance;if(!t[e(342)])throw new Error(e(350));n[e(315)]={timeout:3e4,debug:!1,modules:["ads","events",e(316)],...t},n[e(315)].baseUrl&&(q[e(304)](n[e(315)][e(303)]),t.debug&&console.log(e(381),n[e(315)][e(303)]));const s=n._config[e(390)]||["ads",e(332),e(316)];for(const t of s){const s=n[t];s&&typeof s[e(374)]===e(348)&&s.init(n[e(315)])}if(n[e(367)]=!0,"undefined"!=typeof window){const s=le[e(359)]();s&&t[e(368)]&&console[e(321)](e(393),s);const i=(()=>{const t=e;try{const e=new URLSearchParams(window[t(323)][t(308)]),n=new URLSearchParams((window[t(323)][t(351)]||"")[t(386)](/^#/,""));return e[t(314)](t(322))||n[t(314)](t(322))}catch{return null}})();if(i)try{localStorage[e(317)]("adstage_attribution_id",i),t[e(368)]&&console[e(321)]("🔗 Using attributionId from URL (attribution_id):",i)}catch(t){}const r=le[e(373)]();if(t.debug&&(console[e(321)]("🔍 Should send click event:",r),!r&&console[e(321)](e(391))),!i&&s&&le[e(387)]()){const s=(async()=>{const s=e;try{const e=n.generateDeviceId(),i=await n.events[s(356)](e);return i&&t[s(368)]&&console[s(321)](s(378),{attributionId:i[s(341)],channel:i[s(358)],campaign:i[s(385)],expiresAt:i[s(347)]}),i}catch(t){return console.error("❌ Failed to register attribution:",t),null}})();r&&s[e(318)](s=>{const i=e;try{const e=le[i(314)](),r=le[i(379)]();t.debug&&console[i(321)](i(313),{attributionId:s?.[i(341)],hasAttribution:!!s}),n[i(332)].track(i(310),{_autoGenerated:!0,_source:i(394),_timestamp:(new Date)[i(382)](),_platform:"web"}).then(()=>{const n=i;le[n(335)](),t[n(368)]&&console[n(321)](n(343),{attribution:r,trackingParams:e})})[i(352)](t=>{const e=i;console[e(345)](e(331),t)})}catch(t){console[i(345)](i(324),t)}})}else r&&setTimeout(()=>{const s=e;try{const e=le[s(314)](),i=le[s(379)]();n[s(332)].track("click",{_autoGenerated:!0,_source:s(394),_timestamp:(new Date).toISOString(),_platform:s(340)})[s(318)](()=>{const n=s;le[n(335)](),t.debug&&console[n(321)](n(343),{attribution:i,trackingParams:e})})[s(352)](t=>{const e=s;console[e(345)](e(331),t)})}catch(t){console[s(345)](s(324),t)}},100)}t[e(368)]&&console[e(321)](e(307),{version:e(339),modules:s,apiKey:t[e(342)][e(377)](0,8)+e(333),mode:e(320)})}static[me(365)](){const t=me;return Ie.instance?.[t(367)]||!1}static[me(383)](){const t=me;return Ie[t(354)]?.[t(315)]||null}static[me(357)](){const t=me;if(!Ie.instance)throw new Error(t(371));return Ie[t(354)]}static get[me(326)](){const t=me;try{return Ie[t(357)]()[t(326)]}catch(e){throw console[t(334)]("AdStage.ads accessed before initialization"),e}}static get[me(332)](){const t=me;try{return Ie[t(357)]()[t(332)]}catch(e){throw console[t(334)](t(362)),e}}static get[me(316)](){const t=me;try{return Ie.getInstance().config}catch(e){throw console[t(334)]("AdStage.config accessed before initialization"),e}}static[me(375)](){const t=me;Ie.instance&&(Ie.instance._isInitialized=!1,Ie[t(354)]._config=null)}generateDeviceId(){const t=me;if(typeof window===t(311))return t(389)+Math[t(363)]()[t(370)](36)[t(377)](2,15);const e=localStorage[t(353)](t(392));if(e)return e;const n=[navigator[t(312)],navigator[t(369)],screen[t(306)]+"x"+screen.height,(new Date).getTimezoneOffset(),navigator[t(309)]||0][t(349)]("|");let s=0;for(let e=0;e<n.length;e++){s=(s<<5)-s+n[t(305)](e),s&=s}const i="web-"+Math[t(330)](s)[t(370)](36)+"-"+Date[t(325)]()[t(370)](36);return localStorage[t(317)]("adstage_device_id",i),i}}function ve(t,e){const n=ye();return(ve=function(t,e){return n[t-=302]})(t,e)}function ye(){const t=["📊 Tracking parameters captured:","tracking_params","528CDcsWT","baseUrl","setBaseUrl","charCodeAt","width","🚀 AdStage SDK initialized (sync mode)","search","hardwareConcurrency","click","undefined","userAgent","🎯 Sending click event after attribution registration","get","_config","config","setItem","then","331686isthMZ","development","log","attribution_id","location","❌ Error in click event auto-tracking:","now","ads","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨",")의 viewable 추적 초기화됨","size","abs","❌ Failed to auto-track click event:","events","...","warn","markClickEventSent","722604nURpWC","26tRRfna","2657935JYMHDt","2.0.0","web","attributionId","apiKey","✅ Auto-tracked click event with tracking params:","from","error","8ZcPWXE","expiresAt","function","join","API key is required for AdStage initialization","hash","catch","getItem","instance","473VuJTDU","registerAttribution","getInstance","channel","captureFromUrl","10790334qpBiuG","78730ipWpyL","AdStage.events accessed before initialization","random","12FiwaEW","isReady","clear","_isInitialized","debug","language","toString","AdStage not initialized. Call AdStage.init() first.","📊 AdStage Debug: 현재 viewable 추적 상태","shouldSendClickEvent","init","reset","4rBNVaV","substring","✅ Attribution registered:","toAttributionObject","viewableTracker","🌐 API endpoint configured:","toISOString","getConfig","663846AtopBT","campaign","replace","hasClickId","22735fywZGB","server-","modules","⏭️ Skipping click event (duplicate or no click ID)","adstage_device_id"];return(ye=function(){return t})()}function be(t,e){var n=we();return(be=function(t,e){return n[t-=302]})(t,e)}function we(){var t=["events","resolve","58562pCflFD","AdStage not initialized. Call AdStage.init() first.","948NNdPEW","2774124UCWrng","153OPaRfU","1863960TawEyU","isReady","8080544JfBwxI","1011207jatRIc","track","warn","3918675vXwmGm","53560rvevXw","93PziDfG","getUserProperties"];return(we=function(){return t})()}Ie.debug={clearAllViewable:()=>{const t=me;dt[t(366)](),console[t(321)](t(327))},clearAdViewable:(t,e)=>{const n=me;dt.clearAdViewable(t,e),console[n(321)]("✅ AdStage Debug: 광고 "+t+"("+e+n(328))},getViewableStatus:()=>{const t=me;console[t(321)](t(372),{trackedCount:dt[t(380)][t(329)],trackedItems:Array[t(344)](dt[t(380)])})}},function(){for(var t=be,e=we();;)try{if(713578===-parseInt(t(312))/1+-parseInt(t(307))/2+parseInt(t(317))/3*(parseInt(t(316))/4)+-parseInt(t(315))/5+-parseInt(t(306))/6*(-parseInt(t(304))/7)+-parseInt(t(311))/8+parseInt(t(308))/9*(parseInt(t(309))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ke=h.createContext(null);function Ee(){const t=h.useContext(ke);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function xe(){var t=["9DudJph","30mNKtzH","1434867bCwAlG","1034635DYXkwW","1308rVjnnN","358810pThJmv","344718QfRqtI","7026912yGyHFz","171YcLALT","91360pwISXz","9235HOUSff"];return(xe=function(){return t})()}function Ae(t,e){var n=xe();return(Ae=function(t,e){return n[t-=481]})(t,e)}function Se(){const t=["434048ejERPR","50lrdHHw","25fpQFXA","6590166oELhld","1574176IfnRUX","config","7OQzfmZ","1439910nEILVG","9OUaqHO","2.0.0","4817sRnLtW","ads","180537pvmPAN","undefined","events","126402KSiChv"];return(Se=function(){return t})()}!function(){for(var t=Ae,e=xe();;)try{if(735656===parseInt(t(490))/1+-parseInt(t(481))/2*(parseInt(t(487))/3)+-parseInt(t(491))/4*(parseInt(t(486))/5)+parseInt(t(483))/6+-parseInt(t(489))/7+-parseInt(t(485))/8*(parseInt(t(484))/9)+parseInt(t(488))/10*(parseInt(t(482))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ce=Te;function Te(t,e){const n=Se();return(Te=function(t,e){return n[t-=209]})(t,e)}!function(){const t=Te,e=Se();for(;;)try{if(104742===parseInt(t(219))/1*(parseInt(t(210))/2)+-parseInt(t(221))/3+-parseInt(t(209))/4+-parseInt(t(211))/5*(parseInt(t(224))/6)+-parseInt(t(215))/7*(parseInt(t(213))/8)+-parseInt(t(217))/9*(parseInt(t(216))/10)+parseInt(t(212))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Re=Ce(218),Le=[Ce(220),Ce(223),Ce(214)];typeof window!==Ce(222)&&(window.AdStage=Ie),exports.AdStage=Ie,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[i,r]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&Ie.reset(),Ie.init(t),r(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),r(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:i,initialize:c,reset:()=>{try{Ie.reset(),s(!1),r(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(ke.Provider,{value:d,children:t})},exports.SDK_VERSION=Re,exports.SUPPORTED_MODULES=Le,exports.TrackingParamsModule=le,exports.getUserProperties=function(){var t=be;if(Ie[t(310)]())return Ie[t(302)][t(318)]();console[t(314)](t(305))},exports.setUserProperties=function(t){var e=be;Ie[e(310)]()?Ie.events.setUserProperties(t):console.warn(e(305))},exports.track=function(t,e){var n=be;return Ie[n(310)]()?Ie[n(302)][n(313)](t,e):(console[n(314)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(303)]())},exports.useAdStageContext=Ee,exports.useAdStageInstance=function(){const{isInitialized:t}=Ee();return t?Ie:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
|