1import{j as l}from"./jsx-runtime-esm-DgZK9P7c.js";import{b as f}from"./tabs-CHHObJJW.js";import{a as d}from"./index-Dhy1axWM.js";import"./index-CJZQOLKR.js";import"./Icon-Ime4wSjK.js";import"./_commonjsHelpers-CxYHiaSM.js";import"./index-AmsYr5ik.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"967abcd"},t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=(function(s){for(var e=1;e<arguments.length;e++){var r=arguments[e];if(r!=null)for(var o in r)r.hasOwnProperty(o)&&(s[o]=r[o])}return s})({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:noloco-ui":!0});var a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="41701ac0-6b8b-4346-9612-1bbfc3102188",t._sentryDebugIdIdentifier="sentry-dbid-41701ac0-6b8b-4346-9612-1bbfc3102188")}catch{}})();const u=t=>{if(!t)return{src:""};const a=t.match(/<iframe([^>]*)>/);if(!a)return{src:t};const s=a[0],e=/\s(\w+)(?:=["']([^"']*)["'])?/g;return Array.from(s.matchAll(e)).reduce((r,o)=>{const n=o[1],i=o[2]===void 0?"true":o[2];return r[n]=i,r},{})||{}},h=d.forwardRef(({className:t,isSelected:a,editorMode:s,fullScreen:e,source:r="https://example.com/",title:o,onClick:n},i)=>l.jsxs("div",{className:f(t,{relative:!e,"absolute bottom-0 left-0 right-0 top-0 bg-stone-50":e,"w-full max-w-full":!e}),ref:i,children:[!!r&&l.jsx("iframe",{...u(r),height:"100%",style:{},title:o,width:"100%"}),!a&&s&&l.jsx("div",{className:"absolute bottom-0 left-0 right-0 top-0 h-full w-full",onClick:n})]}));export{h as default};
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.