You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
11 KiB
JavaScript
2 lines
11 KiB
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5986],{76027:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tag/[...slug]",function(){return e(5435)}])},39915:function(n,t,e){"use strict";e.d(t,{Z:function(){return f}});var i=e(7297),r=e(85893),a=(e(67294),e(87379)),o=e(45697),c=e.n(o),s=e(26349),l=e(11163),u={edit:"".concat("app.components.EditButton",".edit")},d=e(32143);function m(){var n=(0,i.Z)(["\n position: absolute;\n right: 5px;\n top: 5px;\n @media print {\n display: none;\n }\n"]);return m=function(){return n},n}var g=(0,a.default)(d.I4).withConfig({componentId:"sc-c841ec7-0"})(m()),p=function(n){var t=n.url;return"en"!==(0,l.useRouter)().locale?null:(0,r.jsx)(g,{href:t,children:(0,r.jsx)(s.Z,{index:u.edit})})};p.propTypes={url:c().string.isRequired};var f=p},42097:function(n,t,e){"use strict";var i=e(26042),r=e(69396),a=e(99534),o=e(85893),c=(e(67294),e(45697)),s=e.n(c),l=e(8293),u=function(n){var t=n.image,e=(0,a.Z)(n,["image"]);return t?t.video?(0,o.jsxs)("video",(0,r.Z)((0,i.Z)({style:{width:"100%",zIndex:5},controls:!0},e),{autoPlay:!0,loop:!0,children:[(0,o.jsx)("source",{src:t.video.original,type:t.video.mime_type}),"Your browser does not support HTML5 video."]})):t.image&&t.image.child||t.child?(0,o.jsx)(l.Ee,(0,i.Z)({image:t.image&&t.image.child||t.child},e)):(0,o.jsx)(l.Ee,(0,i.Z)({image:t.image||t},e)):null};u.propTypes={image:s().object.isRequired},t.Z=u},50205:function(n,t,e){"use strict";e.d(t,{Z:function(){return x}});var i=e(85893),r=e(67294),a=e(45697),o=e.n(a),c=e(9008),s=e.n(c),l=e(86492),u=e.n(l),d=e(11163),m=e(61590),g=e(78147),p={description:"".concat("app.components.SEOHeaders",".description")},f=function(n){var t=n.text,e=n.maxLength;if("string"!==typeof t)return null;var i=new RegExp("^(.{0,".concat(e-1,"}[a-z])[\\W]+"),"i"),r=t.match(i);return t.length>e&&r&&r.length>1?"".concat(r[1],"\u2026"):t},h=function(n){var t=function(n){var t=n.replace(/<[^>]+>/g,"");return u().decode(t)}(n);return{base:f({text:t,maxLength:140}),og:f({text:t,maxLength:65})}};function v(n){var t,e=n.description,a=n.title,o=void 0===a?null:a,c=n.image,l=void 0===c?{original:"/img/Original_Prusa_3D_printers.png"}:c,u=n.keywords,v=n.translations,x=(0,d.useRouter)(),j=(0,m.aF)().t,w=(0,r.useState)(null),y=w[0],b=w[1],k=g.L0?g.L4:"",Z=(0,r.useMemo)((function(){return function(n){var t="".concat(n?"".concat(n," | "):"").concat("Prusa Knowledge Base");return{base:t,twitter:f({text:t,maxLength:55})}}(o)}),[o]),_=(0,r.useMemo)((function(){return h(e||j(p.description,{pageTitle:o}))}),[e]),T=(null===v||void 0===v||null===(t=v.en)||void 0===t?void 0:t.slug)?"".concat("https://help.prusa3d.com").concat(x.asPath.replace(/\/[^\/]+?$/,"/".concat(v.en.slug))):"".concat("https://help.prusa3d.com").concat(x.asPath);return(0,r.useEffect)((function(){if(null===l||void 0===l?void 0:l.original){var n=new Image;n.onload=function(){b({w:n.width,h:n.height})},n.src=l.original}}),[l.original]),(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:Z.base}),Z.base?(0,i.jsx)("meta",{name:"subject",content:Z.base}):null,_.base?(0,i.jsx)("meta",{name:"description",content:_.base}):null,u?(0,i.jsx)("meta",{name:"keywords",content:u}):null,(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:url",content:"".concat("https://help.prusa3d.com").concat(x.asPath)}),Z.base?(0,i.jsx)("meta",{property:"og:title",content:Z.base}):null,(null===l||void 0===l?void 0:l.original)?(0,i.jsx)("meta",{property:"og:image",content:l.original}):null,y?(0,i.jsx)("meta",{property:"og:image:width",content:y.w}):null,y?(0,i.jsx)("meta",{property:"og:image:height",content:y.h}):null,_.og?(0,i.jsx)("meta",{property:"og:description",content:_.og}):null,(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:site",content:"@Prusa3D"}),Z.twitter?(0,i.jsx)("meta",{name:"twitter:title",content:Z.twitter}):null,_.base?(0,i.jsx)("meta",{name:"twitter:description",content:_.base}):null,Z.twitter?(0,i.jsx)("meta",{name:"twitter:image:alt",content:Z.twitter}):null,(null===l||void 0===l?void 0:l.original)?(0,i.jsx)("meta",{name:"twitter:image",content:l.original}):null,(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),(0,i.jsx)("link",{rel:"preload",href:"".concat(k,"/visuals/fonts/AtlasGrotesk-Regular.ttf"),as:"font",crossOrigin:"anonymous"}),(0,i.jsx)("link",{rel:"preload",href:"".concat(k,"/visuals/fonts/AtlasGrotesk-RegularItalic.ttf"),as:"font",crossOrigin:"anonymous"}),(0,i.jsx)("link",{rel:"preload",href:"".concat(k,"/visuals/fonts/AtlasGrotesk-Medium.ttf"),as:"font",crossOrigin:"anonymous"}),(0,i.jsx)("link",{rel:"preload",href:"".concat(k,"/visuals/fonts/AtlasGrotesk-Black.ttf"),as:"font",crossOrigin:"anonymous"}),(0,i.jsx)("link",{rel:"alternate",href:T,hrefLang:"x-default"},"x-default"),x.locales.map((function(n){var t=null===v||void 0===v?void 0:v[n];if(!t&&"ja"===n)return null;if(t&&1!=(null===t||void 0===t?void 0:t.translated))return null;var e="en"===n?"":"/".concat(n),r=t?x.asPath.replace(/\/[^\/]+?$/,"/".concat(t.slug)):x.asPath;return(0,i.jsx)("link",{rel:"alternate",href:"".concat("https://help.prusa3d.com").concat(e).concat(r),hrefLang:n},"".concat(n,"-").concat(r))}))]})}v.propTypes={title:o().string,description:o().string,image:o().object,keywords:o().string};var x=v},29059:function(n,t,e){"use strict";var i=e(85893),r=(e(67294),e(45697)),a=e.n(r),o={de:" (\xdcbersetzung in Arbeit)",es:" (Traducci\xf3n en desarrollo)",fr:" (Traduction en cours)",pl:" (T\u0142umaczenie w toku)",it:" (Traduzione in corso)",ja:" (\u9032\u884c\u4e2d\u306e\u7ffb\u8a33)",cs:" (P\u0159ekl\xe1d\xe1 se)"};function c(n){var t=n.status,e=n.language;return"en"===e||!t||0!==t.title&&0!==t.content?null:(0,i.jsx)("span",{style:{fontWeight:"normal",fontSize:"0.9em"},children:" ".concat(o[e])})}c.propTypes={status:a().object,language:a().string.isRequired},t.Z=c},40039:function(n,t,e){"use strict";e.d(t,{qt:function(){return u},tE:function(){return l}});var i=e(26042),r=e(7297),a=e(85893),o=(e(67294),e(45697)),c=e.n(o);function s(){var n=(0,r.Z)(["\n display: inline-block;\n vertical-align: middle;\n width: 20px;\n margin: 0 0.2em;\n"]);return s=function(){return n},n}e(87379).default.img.withConfig({componentId:"sc-90805cf5-0"})(s());var l=function(n){var t=n.width,e=void 0===t?24:t;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,fill:"currentColor",viewBox:"0 0 24 16",style:{verticalAlign:"middle",display:"inline-block",margin:"0 0.2em"},children:(0,a.jsx)("path",{className:"a",d:"M12,73.333A2.667,2.667,0,0,0,12,68c-.042,0-.078.01-.119.012a1.979,1.979,0,0,1-2.536,2.536c0,.042-.012.078-.012.119A2.667,2.667,0,0,0,12,73.333Zm11.855-1.942A13.364,13.364,0,0,0,12,64,13.366,13.366,0,0,0,.146,71.392a1.348,1.348,0,0,0,0,1.216A13.364,13.364,0,0,0,12,80a13.366,13.366,0,0,0,11.855-7.392,1.348,1.348,0,0,0,0-1.216ZM12,65.333a5.333,5.333,0,1,1-5.333,5.333A5.333,5.333,0,0,1,12,65.333Zm0,13.333A12.011,12.011,0,0,1,1.334,72a12.282,12.282,0,0,1,5.408-5.389,6.656,6.656,0,1,0,11.926,4.055,6.606,6.606,0,0,0-1.408-4.055A12.283,12.283,0,0,1,22.667,72,12.01,12.01,0,0,1,12,78.667Z",transform:"translate(0 -64)"})})};l.propTypes={width:c().number};var u=function(n){var t=n.width,e=void 0===t?20:t,r=n.style;return(0,a.jsx)("svg",{fill:"currentColor",width:e,viewBox:"0 0 511.626 511.627",style:(0,i.Z)({verticalAlign:"middle",display:"inline-block",margin:"0 0.2em"},r),children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M477.364,127.481c-22.839-28.072-53.864-50.248-93.072-66.522c-39.208-16.274-82.036-24.41-128.479-24.41 c-46.442,0-89.269,8.136-128.478,24.41c-39.209,16.274-70.233,38.446-93.074,66.522C11.419,155.555,0,186.15,0,219.269 c0,28.549,8.61,55.299,25.837,80.232c17.227,24.934,40.778,45.874,70.664,62.813c-2.096,7.611-4.57,14.842-7.426,21.7 c-2.855,6.851-5.424,12.467-7.708,16.847c-2.286,4.374-5.376,9.23-9.281,14.555c-3.899,5.332-6.849,9.093-8.848,11.283 c-1.997,2.19-5.28,5.801-9.851,10.848c-4.565,5.041-7.517,8.33-8.848,9.853c-0.193,0.097-0.953,0.948-2.285,2.574 c-1.331,1.615-1.999,2.419-1.999,2.419l-1.713,2.57c-0.953,1.42-1.381,2.327-1.287,2.703c0.096,0.384-0.094,1.335-0.57,2.854 c-0.477,1.526-0.428,2.669,0.142,3.429v0.287c0.762,3.234,2.283,5.853,4.567,7.851c2.284,1.992,4.858,2.991,7.71,2.991h1.429 c12.375-1.526,23.223-3.613,32.548-6.279c49.87-12.751,93.649-35.782,131.334-69.094c14.274,1.523,28.074,2.283,41.396,2.283 c46.442,0,89.271-8.135,128.479-24.414c39.208-16.276,70.233-38.444,93.072-66.517c22.843-28.072,34.263-58.67,34.263-91.789 C511.626,186.154,500.207,155.555,477.364,127.481z M445.244,292.075c-19.896,22.456-46.733,40.303-80.517,53.529 c-33.784,13.223-70.093,19.842-108.921,19.842c-11.609,0-23.98-0.76-37.113-2.286l-16.274-1.708l-12.277,10.852 c-23.408,20.558-49.582,36.829-78.513,48.821c8.754-15.414,15.416-31.785,19.986-49.102l7.708-27.412l-24.838-14.27 c-24.744-14.093-43.918-30.793-57.53-50.114c-13.61-19.315-20.412-39.638-20.412-60.954c0-26.077,9.945-50.343,29.834-72.803 c19.895-22.458,46.729-40.303,80.515-53.531c33.786-13.229,70.089-19.849,108.92-19.849c38.828,0,75.13,6.617,108.914,19.845 c33.783,13.229,60.62,31.073,80.517,53.531c19.89,22.46,29.834,46.727,29.834,72.802S465.133,269.615,445.244,292.075z"})})})};u.propTypes={width:c().number}},46907:function(n,t,e){"use strict";e.d(t,{rs:function(){return x},ZP:function(){return j}});var i=e(7297),r=e(85893),a=e(67294),o=e(87379),c=e(64487),s="app.containers.NotFoundPage",l={header:"".concat(s,".header"),main:"".concat(s,".main"),backToHomepage:"".concat(s,".backToHomepage")},u=e(26349),d=e(32143),m=e(41347);function g(){var n=(0,i.Z)(["\n min-height: 70vh;\n display: flex;\n padding-bottom: 3rem;\n flex-direction: column;\n align-items: center;\n text-align: center;\n justify-content: center;\n @media screen and (max-width: 48em) {\n min-height: calc(100vh - 286px);\n }\n"]);return g=function(){return n},n}function p(){var n=(0,i.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 80vh;\n"]);return p=function(){return n},n}var f=o.default.div.withConfig({componentId:"sc-e85abdc8-0"})(g()),h=o.default.div.withConfig({componentId:"sc-e85abdc8-1"})(p());function v(n){var t=n.userData;n.redirectAllowed;return(0,a.useEffect)((function(){c.eN({message:"Error 404 page",level:"error",tags:{statusCode:"404",user_email:(null===t||void 0===t?void 0:t.email)||"not logged in"}})}),[]),(0,r.jsx)("div",{children:(0,r.jsxs)(f,{children:[(0,r.jsx)("h1",{style:{fontSize:"5em",marginBottom:"0"},children:(0,r.jsx)(u.Z,{index:l.header})}),(0,r.jsx)(u.Z,{index:l.main}),(0,r.jsx)("br",{}),(0,r.jsx)(d.ZP,{variant:"big",href:"/",children:(0,r.jsx)(u.Z,{index:l.backToHomepage})})]})},"notFound")}var x=function(n){var t=n.globalState,e=t.isPreview,i=t.isLoggedIn,a=t.userData;return e||window.location.href.indexOf("preview=true")>-1?i?(0,r.jsx)(m.Z,{occupySpace:!0}):(0,r.jsx)(h,{children:(0,r.jsx)("h1",{children:"Not authorised."})}):(0,r.jsx)(v,{userData:a})},j=v}},function(n){n.O(0,[5726,5558,3959,3512,8329,7948,1375,6492,7070,5253,4560,5435,9774,2888,179],(function(){return t=76027,n(n.s=t);var t}));var t=n.O();_N_E=t}]);
|
|
//# sourceMappingURL=[...slug]-1f3bd7bf132f8245.js.map
|