PageSourceSearch

https://www.werkstatt-verlag.de/_next/static/chunks/JSONLDVideo.2409b93d13485ca1.js

js werkstatt-verlag.de collected 2026-10-02 10:53:55 UTC 8,606 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8546,12349],{8951:(e,r,t)=>{t.d(r,{M:()=>l,d:()=>s});var n=t(6029),a=t(55729),i=t(48498),o=t(81278);let l=({domain:e,children:r})=>{let t=(0,o.useRouter)(),a=t?.query||{};return(0,n.jsx)(s.Provider,{value:{domain:e,queryParams:a,setQueryParams:(e,r=!1)=>{if(!t)return;let n=String(t.asPath).split("?").shift()+"?"+i.stringify({...t.query,...e,speakingUrl:void 0,categorySlug:void 0,boatSlug:void 0,tagSlug:void 0});t.push(n,void 0,{shallow:r})}},children:r})},s=(0,a.createContext)({domain:null,setQueryParams:()=>{},queryParams:{}})},16730:e=>{e.exports=function(e,r){for(var t={},n=Object.keys(e),a=Array.isArray(r),i=0;i<n.length;i++){var o=n[i],l=e[o];(a?-1!==r.indexOf(o):r(o,l,e))&&(t[o]=l)}return t}},35719:e=>{var r="%[a-f0-9]{2}",t=RegExp("("+r+")|([^%]+?)","gi"),n=RegExp("("+r+")+","gi");e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(r){return function(e){for(var r={"%FE%FF":"��","%FF%FE":"��"},a=n.exec(e);a;){try{r[a[0]]=decodeURIComponent(a[0])}catch(e){var i=function(e){try{return decodeURIComponent(e)}catch(a){for(var r=e.match(t)||[],n=1;n<r.length;n++)r=(e=(function e(r,t){try{return[decodeURIComponent(r.join(""))]}catch(e){}if(1===r.length)return r;t=t||1;var n=r.slice(0,t),a=r.slice(t);return Array.prototype.concat.call([],e(n),e(a))})(r,n).join("")).match(t)||[];return e}}(a[0]);i!==a[0]&&(r[a[0]]=i)}a=n.exec(e)}r["%C2"]="�";for(var o=Object.keys(r),l=0;l<o.length;l++){var s=o[l];e=e.replace(RegExp(s,"g"),r[s])}return e}(e)}}},42517:e=>{e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},46226:(e,r,t)=>{t.r(r),t.d(r,{VideoJSONLD:()=>c,getJsonLd:()=>s});var n=t(6029),a=t(95669),i=t.n(a),o=t(55729),l=t(8951);let s=(e,r="",t="de")=>{var n;if(!e)return JSON.stringify({});let a=e?.image?.src,i={"@context":"https://schema.org","@type":"VideoObject",name:e.title,description:((n=e.description)?String(n).replace(/(<([^>]+)>)/gi,"").trim():n)||e.title};a&&(i.thumbnailUrl=[a]);let o=(e=>{if(e){if("string"==typeof e&&/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(e))return`${e.replace(" ","T")}Z`;try{let r=new Date(e);if(!Number.isNaN(r.getTime()))return r.toISOString()}catch(e){}}})(e.publishedAt);o&&(i.uploadDate=o);let l=(e=>{let r=Number(e);if(!Number.isFinite(r)||r<=0)return;let t=Math.floor(r/3600),n=Math.floor(r%3600/60),a=Math.floor(r%60),i="PT";return t>0&&(i+=`${t}H`),n>0&&(i+=`${n}M`),(a>0||0===t&&0===n)&&(i+=`${a}S`),i})(e.duration);return l&&(i.duration=l),e.videoUrl&&(i.contentUrl=e.videoUrl),e.link&&(i.url=`${r}${e.link}`),t&&(i.inLanguage=t),Number.isFinite(Number(e.viewCount))&&Number(e.viewCount)>0&&(i.interactionStatistic={"@type":"InteractionCounter",interactionType:{"@type":"WatchAction"},userInteractionCount:Number(e.viewCount)}),JSON.stringify(i)},c=({video:e,locale:r})=>{let t=(0,o.useContext)(l.d);return e?.title?(0,n.jsx)(i(),{children:(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:s(e,t?.domain||"",r)}})}):null}},48498:(e,r,t)=>{let n=t(42517),a=t(35719),i=t(84893),o=t(16730),l=Symbol("encodeFragmentIdentifier");function s(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function c(e,r){return r.encode?r.strict?n(e):encodeURIComponent(e):e}function u(e,r){return r.decode?a(e):e}function p(e){let r=e.indexOf("#");return -1!==r&&(e=e.slice(0,r)),e}function f(e){let r=(e=p(e)).indexOf("?");return -1===r?"":e.slice(r+1)}function d(e,r){return r.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):r.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function y(e,r){s((r=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},r)).arrayFormatSeparator);let t=function(e){let r;switch(e.arrayFormat){case"index":return(e,t,n)=>{if(r=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!r){n[e]=t;return}void 0===n[e]&&(n[e]={}),n[e][r[1]]=t};case"bracket":return(e,t,n)=>{if(r=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),!r){n[e]=t;return}if(void 0===n[e]){n[e]=[t];return}n[e]=[].concat(n[e],t)};case"colon-list-separator":return(e,t,n)=>{if(r=/(:list)$/.exec(e),e=e.replace(/:list$/,""),!r){n[e]=t;return}if(void 0===n[e]){n[e]=[t];return}n[e]=[].concat(n[e],t)};case"comma":case"separator":return(r,t,n)=>{let a="string"==typeof t&&t.includes(e.arrayFormatSeparator),i="string"==typeof t&&!a&&u(t,e).includes(e.arrayFormatSeparator);t=i?u(t,e):t;let o=a||i?t.split(e.arrayFormatSeparator).map(r=>u(r,e)):null===t?t:u(t,e);n[r]=o};case"bracket-separator":return(r,t,n)=>{let a=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!a){n[r]=t?u(t,e):t;return}let i=null===t?[]:t.split(e.arrayFormatSeparator).map(r=>u(r,e));if(void 0===n[r]){n[r]=i;return}n[r]=[].concat(n[r],i)};default:return(e,r,t)=>{if(void 0===t[e]){t[e]=r;return}t[e]=[].concat(t[e],r)}}}(r),n=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return n;for(let a of e.split("&")){if(""===a)continue;let[e,o]=i(r.decode?a.replace(/\+/g," "):a,"=");o=void 0===o?null:["comma","separator","bracket-separator"].includes(r.arrayFormat)?o:u(o,r),t(u(e,r),o,n)}for(let e of Object.keys(n)){let t=n[e];if("object"==typeof t&&null!==t)for(let e of Object.keys(t))t[e]=d(t[e],r);else n[e]=d(t,r)}return!1===r.sort?n:(!0===r.sort?Object.keys(n).sort():Object.keys(n).sort(r.sort)).reduce((e,r)=>{let t=n[r];return t&&"object"==typeof t&&!Array.isArray(t)?e[r]=function e(r){return Array.isArray(r)?r.sort():"object"==typeof r?e(Object.keys(r)).sort((e,r)=>Number(e)-Number(r)).map(e=>r[e]):r}(t):e[r]=t,e},Object.create(null))}r.extract=f,r.parse=y,r.stringify=(e,r)=>{if(!e)return"";s((r=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},r)).arrayFormatSeparator);let t=t=>
1r.skipNull&&null==e[t]||r.skipEmptyString&&""===e[t],n=function(e){switch(e.arrayFormat){case"index":return r=>(t,n)=>{let a=t.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[c(r,e),"[",a,"]"].join("")]:[...t,[c(r,e),"[",c(a,e),"]=",c(n,e)].join("")]};case"bracket":return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[c(r,e),"[]"].join("")]:[...t,[c(r,e),"[]=",c(n,e)].join("")];case"colon-list-separator":return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[c(r,e),":list="].join("")]:[...t,[c(r,e),":list=",c(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let r="bracket-separator"===e.arrayFormat?"[]=":"=";return t=>(n,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?n:(a=null===a?"":a,0===n.length)?[[c(t,e),r,c(a,e)].join("")]:[[n,c(a,e)].join(e.arrayFormatSeparator)]}default:return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,c(r,e)]:[...t,[c(r,e),"=",c(n,e)].join("")]}}(r),a={};for(let r of Object.keys(e))t(r)||(a[r]=e[r]);let i=Object.keys(a);return!1!==r.sort&&i.sort(r.sort),i.map(t=>{let a=e[t];return void 0===a?"":null===a?c(t,r):Array.isArray(a)?0===a.length&&"bracket-separator"===r.arrayFormat?c(t,r)+"[]":a.reduce(n(t),[]).join("&"):c(t,r)+"="+c(a,r)}).filter(e=>e.length>0).join("&")},r.parseUrl=(e,r)=>{r=Object.assign({decode:!0},r);let[t,n]=i(e,"#");return Object.assign({url:t.split("?")[0]||"",query:y(f(e),r)},r&&r.parseFragmentIdentifier&&n?{fragmentIdentifier:u(n,r)}:{})},r.stringifyUrl=(e,t)=>{var n;let a,i;t=Object.assign({encode:!0,strict:!0,[l]:!0},t);let o=p(e.url).split("?")[0]||"",s=r.extract(e.url),u=Object.assign(r.parse(s,{sort:!1}),e.query),f=r.stringify(u,t);f&&(f=`?${f}`);let d=(n=e.url,a="",-1!==(i=n.indexOf("#"))&&(a=n.slice(i)),a);return e.fragmentIdentifier&&(d=`#${t[l]?c(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${o}${f}${d}`},r.pick=(e,t,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[l]:!1},n);let{url:a,query:i,fragmentIdentifier:s}=r.parseUrl(e,n);return r.stringifyUrl({url:a,query:o(i,t),fragmentIdentifier:s},n)},r.exclude=(e,t,n)=>{let a=Array.isArray(t)?e=>!t.includes(e):(e,r)=>!t(e,r);return r.pick(e,a,n)}},84893:e=>{e.exports=(e,r)=>{if("string"!=typeof e||"string"!=typeof r)throw TypeError("Expected the arguments to be of type `string`");if(""===r)return[e];let t=e.indexOf(r);return -1===t?[e]:[e.slice(0,t),e.slice(t+r.length)]}}}]);

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.