1import{a as d}from"./chunk-UOEFDBHP.js";import{a as s}from"./chunk-FACNBY35.js";import{a as o}from"./chunk-RG4L74Y2.js";import{B as c}from"./chunk-VJGBCIFP.js";import"./chunk-XCPXRTXT.js";import"./chunk-XJLSI5BW.js";import"./chunk-ZOYOJ6FT.js";import"./chunk-6KHOHYTW.js";var i=class extends s{static _handleResizeMessage(e){if(!(e.data&&e.data.isRiddle2Event&&e.data.type==="HeightChanged"))return;let t=Array.prototype.find.call(document.querySelectorAll("lcl-riddle-embed iframe"),r=>r.contentWindow===e.source);t&&e.data.height&&d(t,e.data.height)}get _iframe(){return this._element.querySelector("iframe")}get _embedScriptPlaceholder(){return this._element.querySelector("script")}_init(){super._init(),this._isConsentRequired||this._activate()}_activate(){super._activate();let e=this._iframe,t;try{t=new URL(e.dataset.src)}catch{return}if(c()){let a=o();a&&t.searchParams.set("r_p",a)}e.src=t.toString();let r=this._embedScriptPlaceholder;if(r&&r.dataset.src){let a=document.createElement("script");a.src=r.dataset.src,r.replaceWith(a)}}};window.addEventListener("message",i._handleResizeMessage);export{i as default}; 2//# sourceMappingURL=riddle-embed-module-4G2LHHL6.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.