PageSourceSearch

https://no.diet/_next/static/chunks/1804.45150c01f3d6e96c.js

js no.diet collected 2026-10-02 00:10:42 UTC 10,041 bytes, 1 lines download raw bytes

1try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="dc04f450-5970-4caf-a088-ddca760f1fef",t._sentryDebugIdIdentifier="sentry-dbid-dc04f450-5970-4caf-a088-ddca760f1fef")}catch(t){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1804],{90201:function(t,e,r){"use strict";var i=r(35944);r(67294);var n=r(95774),o=r(10479),a=r.n(o),l=r(90512);e.Z=t=>{let{progress:e,isBigger:r}=t;return(0,i.BX)("div",{className:(0,l.Z)(a()["circular-progress-container"],{[a().bigger]:r}),children:[(0,i.tZ)(n.Ip,{className:(0,l.Z)(a()["circular-progressbar"]),value:e,text:"",styles:(0,n.y3)({pathTransitionDuration:.25,pathColor:"#F04E4C",trailColor:"#FDF0F0",strokeLinecap:"round"})}),(0,i.BX)("p",{className:(0,l.Z)(a()["circular-progress-text"]),children:[Math.round(e),"%"]})]})}},51804:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return b}});var i=r(35944),n=r(84410),o=r(67294),a=r(71955),l=r(13675),s=r.n(l),c=r(90201),u=r(48837),h=r.n(u),p=()=>(0,i.BX)("svg",{width:"97",height:"16",viewBox:"0 0 97 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.tZ)("rect",{width:"16",height:"16",transform:"translate(0.5)",fill:"#00B57A"}),(0,i.tZ)("path",{d:"M9.8916 6.67773H14.3896L10.751 9.32227L12.1406 13.5996L8.50195 10.9561L4.8623 13.5996L6.25293 9.32227L2.61328 6.67773H7.11133L8.50195 2.40039L9.8916 6.67773Z",fill:"white"}),(0,i.tZ)("rect",{width:"16",height:"16",transform:"translate(20.5)",fill:"#00B57A"}),(0,i.tZ)("path",{d:"M29.8916 6.67773H34.3896L30.751 9.32227L32.1406 13.5996L28.502 10.9561L24.8623 13.5996L26.2529 9.32227L22.6133 6.67773H27.1113L28.502 2.40039L29.8916 6.67773Z",fill:"white"}),(0,i.tZ)("rect",{width:"16",height:"16",transform:"translate(40.5)",fill:"#00B57A"}),(0,i.tZ)("path",{d:"M49.8916 6.67773H54.3896L50.751 9.32227L52.1406 13.5996L48.502 10.9561L44.8623 13.5996L46.2529 9.32227L42.6133 6.67773H47.1113L48.502 2.40039L49.8916 6.67773Z",fill:"white"}),(0,i.tZ)("rect",{width:"16",height:"16",transform:"translate(60.5)",fill:"#00B57A"}),(0,i.tZ)("path",{d:"M69.8916 6.67773H74.3896L70.751 9.32227L72.1406 13.5996L68.502 10.9561L64.8623 13.5996L66.2529 9.32227L62.6133 6.67773H67.1113L68.502 2.40039L69.8916 6.67773Z",fill:"white"}),(0,i.tZ)("rect",{width:"16",height:"16",transform:"translate(80.5)",fill:"#00B57A"}),(0,i.tZ)("path",{d:"M89.8916 6.67773H94.3896L90.751 9.32227L92.1406 13.5996L88.502 10.9561L84.8623 13.5996L86.2529 9.32227L82.6133 6.67773H87.1113L88.502 2.40039L89.8916 6.67773Z",fill:"white"})]}),d=r(1039),f=r(11171),g=r(90512),m=t=>{let e,{review:r,className:n,weightToUse:o}=t,{quiz_answers:l,currencyLocale:s}=(0,a.d)();e=(null==l?void 0:l.units_of_measure)?null==l?void 0:l.units_of_measure:["EN_US","US","en_us","us"].includes(s)?f.y.Imperial:f.y.Metric;let c=(0,d.lN)(null==r?void 0:r.kgConvert,e);return(0,i.tZ)("div",{className:(0,g.Z)(h().card,n),children:(0,i.BX)("div",{className:(0,g.Z)(h()["top-section"]),children:[(0,i.BX)("div",{className:(0,g.Z)(h()["top-inner-section"]),children:[(0,i.tZ)("p",{className:(0,g.Z)(h().title),children:r.title.replace("${kg}",o||c)}),(0,i.tZ)("p",{className:(0,g.Z)(h().name),children:r.time})]}),(0,i.BX)("div",{className:(0,g.Z)(h()["top-inner-section"]),children:[(0,i.tZ)(p,{}),(0,i.tZ)("p",{className:(0,g.Z)(h().name),children:r.name})]}),(0,i.tZ)("p",{className:h().review,children:r.review.replace("${kg}",o||c)})]})})},y=r(4289),_=r(37337),w=r(93809),b=t=>{let{question:e,onClick:r}=t,{theme:l}=(0,a.d)(),[u,h]=(0,o.useState)(0),[p,d]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{let t=0,e=n.cO/n.zk;h(0);let r=setInterval(()=>{h(Math.min((t+=1)/e*100,100)),t>=e&&(clearInterval(r),d(!1))},n.zk);return()=>{clearInterval(r)}},[]),(0,o.useEffect)(()=>{if(!p){let t=setTimeout(()=>{r()},1e3);return()=>clearTimeout(t)}},[p]),(0,i.BX)(y.xn2,{children:[(0,i.tZ)(k,{theme:l,children:e.label}),(0,i.tZ)(c.Z,{progress:u}),(0,i.BX)(v,{theme:l,children:[(0,i.tZ)(L,{theme:l,children:e.bottomTitle}
1),(0,i.tZ)(Z,{theme:l,children:e.bottomSubtitle})]}),(0,i.tZ)(m,{review:e.review,className:s().review})]},e.key)};let k=(0,_.Z)("p",{target:"eulk2l0"})("font-size:",t=>{let{theme:e}=t;return e.typography.h3.fontSize},";font-weight:",t=>{let{theme:e}=t;return e.typography.h3.fontWeight},";line-height:",t=>{let{theme:e}=t;return e.typography.h3.lineHeight},";text-align:center;color:",t=>{let{theme:e}=t;return e.colors.fg.primary},";margin-bottom:2.25rem;@media ",w.Mq,"{font-size:",t=>{let{theme:e}=t;return e.typography.h4.fontSize},";font-weight:",t=>{let{theme:e}=t;return e.typography.h4.fontWeight},";line-height:",t=>{let{theme:e}=t;return e.typography.h4.lineHeight},";margin-bottom:1.5rem;}"),v=(0,_.Z)("div",{target:"eulk2l2"})("display:flex;padding-top:0.75rem;flex-direction:column;align-items:center;gap:0.25rem;border-top:1px solid ",t=>{let{theme:e}=t;return e.colors.bdr.primary},";margin:2rem auto;@media ",w.Mq,"{margin:1.17rem auto 1.5rem;}"),L=(0,_.Z)("p",{target:"eulk2l3"})("font-size:",t=>{let{theme:e}=t;return e.typography.h4.fontSize},";font-weight:",t=>{let{theme:e}=t;return e.typography.h4.fontWeight},";line-height:",t=>{let{theme:e}=t;return e.typography.h4.lineHeight},";color:",t=>{let{theme:e}=t;return e.colors.fg.primary},";text-align:center;width:100%;"),Z=(0,_.Z)("p",{target:"eulk2l4"})("font-size:",t=>{let{theme:e}=t;return e.typography.bl400.fontSize},";font-weight:",t=>{let{theme:e}=t;return e.typography.bl400.fontWeight},";line-height:",t=>{let{theme:e}=t;return e.typography.bl400.lineHeight},";color:",t=>{let{theme:e}=t;return e.colors.fg.primary},";@media ",w.Mq,"{font-size:",t=>{let{theme:e}=t;return e.typography.bs400.fontSize},";font-weight:",t=>{let{theme:e}=t;return e.typography.bs400.fontWeight},";line-height:",t=>{let{theme:e}=t;return e.typography.bs400.lineHeight},";}")},84410:function(t,e,r){"use strict";r.d(e,{cO:function(){return i},eY:function(){return o},l8:function(){return a},zk:function(){return n}});let i=9e3,n=90,o=11e3,a=110},10479:function(t){t.exports={"circular-progress-container":"CircularProgressPercent_circular-progress-container__FiKu8","circular-progress-text":"CircularProgressPercent_circular-progress-text__Grqc7"}},48837:function(t){t.exports={card:"ReviewCard_card__bECe_","top-section":"ReviewCard_top-section__CxC4U","top-inner-section":"ReviewCard_top-inner-section__O5pfA",title:"ReviewCard_title___2SKJ",name:"ReviewCard_name__zo_hj",review:"ReviewCard_review__x8E14"}},13675:function(t){t.exports={title:"LoaderInfoReview_title__DTi3x",review:"LoaderInfoReview_review__ivpUw","bottom-section":"LoaderInfoReview_bottom-section__9MRuZ","bottom-title":"LoaderInfoReview_bottom-title__Uf00Z","bottom-subtitle":"LoaderInfoReview_bottom-subtitle__TjvY3"}},95774:function(t,e,r){"use strict";r.d(e,{Ip:function(){return a},y3:function(){return l}});var i=r(67294),n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function o(t){var e,r,n,o,a,l,s,c=t.className,u=t.counterClockwise,h=t.dashRatio,p=t.pathRadius,d=t.strokeWidth,f=t.style;return(0,i.createElement)("path",{className:c,style:Object.assign({},f,(r=(e={pathRadius:p,dashRatio:h,counterClockwise:u}).counterClockwise,o=(1-e.dashRatio)*(n=2*Math.PI*e.pathRadius),{strokeDasharray:n+"px "+n+"px",strokeDashoffset:(r?-o:o)+"px"})),d:"\n      M 50,50\n      m 0,-"+(l=(a={pathRadius:p,counterClockwise:u}).pathRadius)+"\n      a "+l+","+l+" "+(s=a.counterClockwise?1:0)+" 1 1 0,"+2*l+"\n      a "+l+","+l+" "+s+" 1 1 0,-"+2*l+"\n    ",strokeWidth:d,fillOpacity:0})}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return!function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},e.prototype.getPathRadius=function(){return 50-this.props.strokeWidth/2-this.getBackgroundPadding()},e.prototype.getPathRatio=function(){var t=this.props,e=t.value,r=t.minValue,i=t.maxValue;return(Math.min(Math.max(e,r),i)-r)/(i-r)},e.prototype.render=function(){var t=this.props,e=t.circleRatio,r=t.className,n=t.classes,a=t.counterClockwise,l=t.styles,s=t.strokeWidth,c=t.text,u=this.getPathRadius(),h=this.getPathRatio();return(0,i.createElement)("svg",{className:n.root+" "+r,style:l.root,viewBox:"0 0 100 100","data-test-id":"CircularProgressbar"},this.props.background?(0,i.createElement)("circle",{className:n.background,style:l.background,cx:50,cy:50,r:50}):null,(0,i.createElement)(o,{className:n.trail,counterClockwise:a,dashRatio:e,pathRadius:u,strokeWidth:s,style:l.trail}),(0,i.createElement)(o,{className:n.path,counterClockwise:a,dashRatio:h*e,pathRadius:u,strokeWidth:s,style:l.path}),c?(0,i.createElement)("text",{className:n.text,style:l.text,x:50,y:50},c):null)},e.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},e}(i.Component);function l(t){var e=t.rotation,r=t.strokeLinecap,i=t.textColor,n=t.textSize,o=t.pathColor,a=t.pathTransition,l=t.pathTransitionDuration,c=t.trailColor,u=t.backgroundColor,h=null==e?void 0:"rotate("+e+"turn)",p=null==e?void 0:"center center";return{root:{},path:s({stroke:o,strokeLinecap:r,transform:h,transformOrigin:p,transition:a,transitionDuration:null==l?void 0:l+"s"}),trail:s({stroke:c,strokeLinecap:r,transform:h,transformOrigin:p}),text:s({fill:i,fontSize:n}),background:s({fill:u})}}function s(t){return Object.keys(t).forEach(function(e){null==t[e]&&delete t[e]}),t}}
1}]);

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.