1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[790],{8076:function(e,t,r){"use strict";var n=r(5893),o=r(4184),l=r.n(o),i=r(7294),a=r(3750),c=r(1485),s=r(1537),u=r(9977),f=r(5675),h=r(9017);t.Z=function(e){var t=e.text,r=e.subText,o=e.color,d=e.image,m=e.altText,x=e.type,p=e.id,g=(0,i.useState)(!1),b=g[0],y=g[1],v=(0,i.useRef)(null),w=(0,c.Z)("md",(0,i.useContext)(s.J));return(0,n.jsxs)("div",{className:l()("p-5","gap-3","w-full","flex","flex-col","md:flex-row","items-center"),style:{backgroundColor:o},children:[d&&(0,n.jsx)(f.default,{unoptimized:!0,src:d,alt:m,className:"object-cover",width:100,height:100}),(0,n.jsxs)("div",{className:l()("flex","justify-center","gap-8","mx-5",{"w-full":!w}),children:[(0,n.jsxs)("h1",{className:l()("text-white","text-4xl","font-bold","line-clamp-3","pb-[0.1em]"),style:{wordBreak:"break-word"},children:[t,r&&(0,n.jsx)("span",{className:l()("block","text-base","mt-1.5"),children:r})]}),(0,n.jsxs)("div",{className:l()("flex","items-center","hover:cursor-pointer","select-none"),children:[(0,n.jsx)("div",{ref:v,children:(0,n.jsx)(a.Dqf,{onClick:function(){return y(!b)},style:{width:"1.5rem",height:"1.5rem",color:"white"}})}),(0,n.jsx)(u.Z,{buttonRef:v,isOpen:b,iconColor:o})]}),(0,n.jsx)("div",{className:l()("flex","items-center","hover:cursor-pointer","select-none"),children:x&&p&&d&&(0,n.jsx)(h.Z,{type:x,favorite:{id:p,image:d,name:t},style:{width:"1.5rem",height:"1.5rem",color:"white"}})})]})]})}},9017:function(e,t,r){"use strict";var n=r(5893),o=r(1296),l=r.n(o),i=r(1163),a=r(7294),c=r(3750),s=r(982),u=r(1377),f=r(5169);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){h(e,t,r[t])}))}return e}t.Z=function(e){var t=e.type,r=e.favorite,o=e.style,h=(0,u.aC)(),m=h.favorites,x=h.toggleFavorite,p=h.isAuthenticated,g=(0,i.useRouter)(),b=!!m&&(0,f.D)(t,r.id,m),y=(0,a.useState)(b),v=y[0],w=y[1];(0,a.useEffect)((function(){w(b)}),[b]);var j=(0,s.qD)().isApp,S=(0,a.useCallback)(l()((function(){return x(t,r)}),400),[t,r,x]);return v?(0,n.jsx)(c.kRm,{className:"cursor-pointer flex-shrink-0",onClick:function(e){if(e.preventDefault(),!p&&!j)return g.push("/logga-in");j&&!p?window.parent.postMessage("ft-login","*"):(w(!1),S())},style:d({width:14,height:14},o)}):(0,n.jsx)(c.RrZ,{className:"cursor-pointer flex-shrink-0",onClick:function(e){if(e.preventDefault(),!p&&!j)return g.push("/logga-in");j&&!p?window.parent.postMessage("ft-login","*"):(w(!0),S())},style:d({width:14,height:14},o)})}},8270:function(e,t,r){"use strict";r.d(t,{n:function(){return n}});var n,o=r(5893),l=r(4184),i=r.n(l),a=r(5675),c=r(1664),s=(r(7294),r(2219));!function(e){e[e.left=0]="left",e[e.right=1]="right",e[e.top=2]="top",e[e.bottom=3]="bottom"}(n||(n={}));t.Z=function(e){var t,r,l=e.src,u=e.text,f=e.alt,h=e.imageStyle,d=e.textStyle,m=e.layout,x=void 0===m?n.left:m,p=e.link,g=e.breakWord,b=void 0!==g&&g,y=null!==(t={left:"flex-row",right:"flex-row-reverse",top:"flex-col",bottom:"flex-col-reverse"}[n[x]])&&void 0!==t?t:"";return r=(0,o.jsxs)("div",{className:i()("flex","items-center",{"hover:cursor-pointer":p},{"hover:underline":p},y),children:[l&&(0,o.jsx)("div",{className:i()("relative",h),children:(0,o.jsx)(a.default,{unoptimized:!0,layout:"fill",src:l,alt:f,className:"object-cover",sizes:(0,s.G)({mobile:"15vw",tablet:"15vw",desktop:"15vw"})})}),(0,o.jsx)("span",{style:{wordBreak:b?"break-word":"initial"},className:i()({"ml-2":l&&x===n.left},{"mr-2":l&&x===n.right},d),children:u})]}),p?(0,o.jsx)(c.default,{href:p,passHref:!0,children:(0,o.jsx)("a",{children:r})}):(0,o.jsx)(o.Fragment,{children:r})}},9977:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(5893),o=r(4184),l=r.n(o),i=r(7294),a=r(1485),c=r(1537),s=r(5434),u=function(e){var t=e.urlPrefix,r=e.className,o=e.children,a=(0,i.useState)(""),c=a[0],s=a[1];return(0,i.useEffect)((function(){s(window.location.href)})),(0,n.jsx)("div",{className:l()(r),children:(0,n.jsx)("a",{href:"".concat(t).concat(encodeURIComponent(c)),target:"_blank",rel:"noreferrer",children:o})})},f=function(e){var t=e.color,r={height:"30px",width:"30px"};return t&&(r.color=t),(0,n.jsx)(u,{className:l()("text-green"),urlPrefix:"mailto:?subject=".concat(encodeURI("Detta m\xe5ste du se!"),"&body="),children:(0,n.jsx)(s.F8X,{style:r})})},h=r(3750),d=function(e){var t=e.color,r={height:"30px",width:"30px"};return t&&(r.color=t),(0,n.jsx)(u,{className:l()("text-indigo-900"),urlPrefix:"https://www.facebook.com/sharer/sharer.php?u=",children:(0,n.jsx)(h.k1O,{style:r})})},m=function(e){var t=e.color,r={height:"30px",width:"30px"};return t&&(r.color=t),(0,n.jsx)(u,{className:l()("text-blue"),urlPrefix:"https://twitter.com/intent/tweet?text=",children:(0,n.jsx)(h.meP,{style:r})})}
1,x=r(6366);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(l.push(n.value),!t||l.length!==t);i=!0);}catch(c){a=!0,o=c}finally{try{i||null==r.return||r.return()}finally{if(a)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var b=function(e){var t=e.style,r=e.onCopy,o=g((0,x.Z)(),2),a=(o[0],o[1]),c=(0,i.useState)(!1),u=c[0],f=c[1];return(0,i.useEffect)((function(){u&&setTimeout((function(){return f(!1)}),900)}),[u]),(0,n.jsx)("div",{onClick:function(){a(r()),f(!u)},className:l()("relative",{"animate-ping":u}),children:(0,n.jsx)(s.vlz,{style:t})})},y=function(e){var t=e.color,r={height:"30px",width:"30px"};return t&&(r.color=t),(0,n.jsx)(b,{onCopy:function(){return window.location.href},style:r})},v=function(e){var t=e.color,r={height:"30px",width:"30px"};return t&&(r.color=t),(0,n.jsx)(u,{className:l()("text-blue"),urlPrefix:"https://api.whatsapp.com/send?text=",children:(0,n.jsx)(h.RGt,{style:r})})};function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){w(e,t,r[t])}))}return e}var S=function(e,t){return e?{transform:"scaleY(1) translateX(-50%)",left:t?"auto":"50%",opacity:1}:{transform:"scaleY(0) translateX(-50%)",left:t?"auto":"50%",opacity:0}
1},k=function(e){var t=(0,a.Z)("md",(0,i.useContext)(c.J));return(0,n.jsx)("div",{className:l()("translate-y-7","z-10",w({},"absolute left-0 right-0",!t)),children:(0,n.jsxs)("div",{className:l()("absolute","bg-gray-100","ease-in","duration-100","py-3","px-5","gap-8","flex","justify-evenly","items-center","drop-shadow-lg"),style:j({transitionProperty:"transform, opacity",transformOrigin:"top",backgroundColor:e.backgroundColor||void 0},S(e.isOpen,t)),children:[(0,n.jsx)(d,{color:e.iconColor||"black"}),(0,n.jsx)(m,{color:e.iconColor||"black"}),(0,n.jsx)(f,{color:e.iconColor||"black"}),(0,n.jsx)(v,{color:e.iconColor||"black"}),(0,n.jsx)(y,{color:e.iconColor||"black"})]})})}},4952:function(e,t,r){"use strict";var n=r(5893),o=r(4184),l=r.n(o),i=(r(7294),r(3007)),a=r.n(i);t.Z=function(e){var t=e.children,r=e.minWidth,o=e.useCellSpacing,i=void 0===o||o,c=e.useRowSpacing,s=void 0===c||c,u=e.overflowScroll,f=void 0===u||u;return(0,n.jsx)("div",{className:l()({"overflow-x-auto":f}),children:(0,n.jsx)("table",{style:{minWidth:"".concat(r,"px")},className:l()("w-full","h-10","md:text-sm",i&&a().cellSpacing,s&&a().rowSpacing),children:t})})}},7747:function(e,t,r){"use strict";var n=r(5893),o=r(4184),l=r.n(o),i=(r(7294),r(3007)),a=r.n(i);t.Z=function(e){var t=e.children,r=e.rowHeight,o=void 0===r?"md":r,i=e.alternateRowColor,c=void 0===i||i,s=e.style,u={lg:a().rowHeightLg,md:a().rowHeightMd,sm:a().rowHeightSm,xs:a().rowHeightXs};return(0,n.jsx)("tbody",{className:l()(c&&a().alternateRowColor,u[o]),style:s,children:t})}},4116:function(e,t,r){"use strict";var n=r(5893),o=r(4184),l=r.n(o);r(7294);t.Z=function(e){var t=e.headers;return(0,n.jsx)("thead",{className:l()("h-10","leading-7"),children:(0,n.jsx)("tr",{className:l()("bg-black-lightest","border-b-2","border-gray-300","border-l-3"),children:t.map((function(e,t){return"object"===typeof e?(0,n.jsx)("th",{className:l()(["align-bottom","text-left","pb-1","font-semibold"]),style:e.style||{},children:e.text},"".concat(e.text,"-").concat(t)):(0,n.jsx)("th",{className:l()("align-bottom","text-left","pb-1","font-semibold"),children:e},"".concat(e,"-").concat(t))}))})})}},3007:function(e){e.exports={alternateRowColor:"tableStyle_alternateRowColor___RnbI",cellSpacing:"tableStyle_cellSpacing__fghLr",rowSpacing:"tableStyle_rowSpacing__Sw2C_",rowHeightLg:"tableStyle_rowHeightLg__R5gPj",rowHeightMd:"tableStyle_rowHeightMd__avqWj",rowHeightSm:"tableStyle_rowHeightSm__c412m",rowHeightXs:"tableStyle_rowHeightXs__o7lE_"}}}]);
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.