PageSourceSearch

https://www.rabensjogren.se/static/js/YoutubeModule.a7824f9d.chunk.js

js rabensjogren.se collected 2026-09-24 09:37:45 UTC 2,626 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4114],{69789:function(t,e,i){var n,r=i(95764),l=i(81034),s=i(99500),u=(i(30969),i(39455)),a=i(85255),o=i(433),c=i(37574),d=["children"],p=(0,a.Z)(o.Z)(n||(n=(0,s.Z)(["\n    & > * {\n        grid-column: span 12;\n        "," {\n            grid-column: 2 / span 10;\n        }\n        "," {\n            grid-column: 4 / span 6;\n        }\n    }\n"])),u.aE.md,u.aE.xl);e.Z=function(t){var e=t.children,i=(0,l.Z)(t,d);return(0,c.jsx)(p,(0,r.Z)((0,r.Z)({},i),{},{children:e}))}},74517:function(t,e,i){i.r(e),i.d(e,{default:function(){return h}});var n=i(99500),r=i(85255);function l(t){return t.includes("?")&&(t=t.split("?")[0]),t.includes("/")&&(t=t.split("/")[0]),t.includes("&")&&(t=t.split("&")[0]),t}var s,u,a,o=i(51194),c=i(69789),d=i(37574),p=(0,r.Z)("iframe")(s||(s=(0,n.Z)(["\n    width: 100%;\n    height: 100%;\n"]))),v=(0,r.Z)("div")(u||(u=(0,n.Z)(["\n    width: 400px;\n    height: 100%;\n"]))),f=(0,r.Z)("div")(a||(a=(0,n.Z)(["\n    display: flex;\n    justify-content: center;
1\n"]))),h=function(t){var e=t.data,i=null===e||void 0===e?void 0:e.container_id,n=null===e||void 0===e?void 0:e.source,r=function(t){var e=t;e=(e=(e=e.replace("-nocookie","")).replace(/#t=.*$/,"")).replace(/^https?:\/\//,"");var i=/youtube:\/\/|youtu\.be\/|y2u\.be\//g;if(i.test(e))return l(e.split(i)[1]);var n=/\/shorts\//g;if(n.test(e))return l(e.split(n)[1]);var r=/v=|vi=/g;if(r.test(e))return l(e.split(r)[1].split("&")[0]);var s=/\/v\/|\/vi\/|\/watch\//g;if(s.test(e))return l(e.split(s)[1]);var u=/\/an_webp\//g;if(u.test(e))return l(e.split(u)[1]);var a=/\/e\//g;if(a.test(e))return l(e.split(a)[1]);var o=/\/embed\//g;if(o.test(e))return l(e.split(o)[1]);if(!/\/user\/([a-zA-Z\d]*)$/g.test(e)){if(/\/user\/(?!.*videos)/g.test(e))return l(e.split("/").pop());var c=/\/attribution_link\?.*v%3D([^%&]*)(%26|&|$)/;if(c.test(e))return l(e.match(c)[1]);var d=/\/live\//g;if(d.test(e))return l(e.split(d)[1])}}(n),s="https://www.youtube.com/embed/".concat(r),u=null===n||void 0===n?void 0:n.includes("/shorts/");return e&&n&&r?(0,d.jsx)(c.Z,{id:i,m:"80px 0",children:u?(0,d.jsx)(f,{children:(0,d.jsx)(v,{children:(0,d.jsx)(o.Z,{ratio:9/16,children:(0,d.jsx)(p,{allowFullScreen:!0,id:"youtube-".concat(r),src:s,className:"ifrm",allow:"autoplay; encrypted-media",title:"Youtube shorts video"})})})}):(0,d.jsx)(o.Z,{ratio:16/9,children:(0,d.jsx)(p,{allowFullScreen:!0,id:"youtube-".concat(r),src:s,className:"ifrm",allow:"autoplay; encrypted-media",title:"Youtube video"})})}):null}}}]);
2//# sourceMappingURL=YoutubeModule.a7824f9d.chunk.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.