docusaurus/assets/js/e0076717.4afd119a.js
2024-04-18 17:26:56 +02:00

1 line
No EOL
3.1 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[28564],{12827:(e,r,s)=>{s.r(r),s.d(r,{default:()=>d});var t=s(24246),n=(s(27378),s(88613)),o=s(52615),i=s(13381);function d(){return(0,t.jsx)(n.Z,{children:(0,t.jsxs)("div",{style:{padding:10},children:[(0,t.jsx)(o.Z,{as:"h1",children:"Test Embeds"}),(0,t.jsxs)("div",{style:{display:"flex",flexWrap:"wrap"},children:[(0,t.jsx)(i.Z,{url:"/?docusaurus-theme=light"}),(0,t.jsx)(i.Z,{url:"/?docusaurus-theme=dark"}),(0,t.jsx)(i.Z,{url:"/?docusaurus-theme=unexpected-value"}),(0,t.jsx)(i.Z,{url:"/"}),(0,t.jsx)(i.Z,{url:"https://docusaurus.io/"}),(0,t.jsx)(i.Z,{url:"https://tutorial.docusaurus.io/"})]})]})})}},13381:(e,r,s)=>{s.d(r,{Z:()=>o});var t=s(24246),n=(s(27378),s(6698));function o({url:e}){return(0,t.jsx)("div",{style:{padding:10},children:(0,t.jsx)(n.Z,{url:e,style:{minWidth:"min(100%,45vw)",width:800,maxWidth:"100%",overflow:"hidden"},bodyStyle:{padding:0},children:(0,t.jsx)("iframe",{src:e,title:e,style:{display:"block",width:"100%",height:300}})})})}},6698:(e,r,s)=>{s.d(r,{Z:()=>a});var t=s(24246),n=(s(27378),s(40624));const o={browserWindow:"browserWindow_my1Q",browserWindowHeader:"browserWindowHeader_jXSR",row:"row_KZDM",buttons:"buttons_uHc7",right:"right_oyze",browserWindowAddressBar:"browserWindowAddressBar_Pd8y",dot:"dot_giz1",browserWindowMenuIcon:"browserWindowMenuIcon_Vhuh",bar:"bar_rrRL",browserWindowBody:"browserWindowBody_Idgs"};function i(e,r,s){return r in e?Object.defineProperty(e,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[r]=s,e}function d(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{},t=Object.keys(s);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(s).filter((function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})))),t.forEach((function(r){i(e,r,s[r])}))}return e}function c(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),s.push.apply(s,t)}return s}(Object(r)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))})),e}function a({children:e,minHeight:r,url:s="http://localhost:3000",style:i,bodyStyle:a}){return(0,t.jsxs)("div",{className:o.browserWindow,style:c(d({},i),{minHeight:r}),children:[(0,t.jsxs)("div",{className:o.browserWindowHeader,children:[(0,t.jsxs)("div",{className:o.buttons,children:[(0,t.jsx)("span",{className:o.dot,style:{background:"#f25f58"}}),(0,t.jsx)("span",{className:o.dot,style:{background:"#fbbe3c"}}),(0,t.jsx)("span",{className:o.dot,style:{background:"#58cb42"}})]}),(0,t.jsx)("div",{className:(0,n.Z)(o.browserWindowAddressBar,"text--truncate"),children:s}),(0,t.jsx)("div",{className:o.browserWindowMenuIcon,children:(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:o.bar}),(0,t.jsx)("span",{className:o.bar}),(0,t.jsx)("span",{className:o.bar})]})})]}),(0,t.jsx)("div",{className:o.browserWindowBody,style:a,children:e})]})}}}]);