PageSourceSearch

https://www.oralb.dk/_next/static/chunks/4155.e4b6dc2d1763aba5.js

js oralb.dk collected 2026-10-02 21:37:31 UTC 3,123 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4155],{54155:(t,n,e)=>{e.r(n),e.d(n,{default:()=>f});var o=e(37876),l=e(14232),i=e(95062),s=e.n(i),r=e(3711),c=e(92938),u=e(67684),d=e(45267),a=e(37639),p=e(52217),h=e(35969),m=e(68613),v=function(){function t(n){var e,o;(0,r._)(this,t),this.props=n,this.product=n.product,this.contents=n.contents||(null==(e=this.product)?void 0:e.contents)||[],this.contentIndex=n.contentIndex||0,this.promotions=n.promotions||(null==(o=this.product)?void 0:o.relatedPromotions)||[],this.promotionIndex=n.promotionIndex||0}return(0,c._)(t,[{key:"renderBlock",value:function(t,n,e){var o=p.A.getModule(t),i=o&&(void 0===o?"undefined":(0,d._)(o))==="object"&&o.default?o.default:o;if((0,a.Hy)(i))return l.createElement(i,n,e);console.info(m.F8.unsupportedModuleType+t)}},{key:"renderBlockFromDocument",value:function(t,n,e,o){var l,i,s,r=this.getDocument();if(null==r||null==(c=r.fields)?void 0:c.contentType){var c,d,a,p=r.fields.contentType,h=null==r||null==(d=r.fields)?void 0:d.name,v=null==r||null==(a=r.fields)?void 0:a.classNames,f=(0,u._)({name:h,document:r,className:v,onClickCallback:n,customEvent:e,key:h,index:o},t);return this.renderBlock(p,f,null)}console.error(m.F8.unsupportedBlockOnPage+(null==(s=this.props)||null==(i=s.page)||null==(l=i.fields)?void 0:l.name))}},{key:"renderChildBlocks",value:function(n,e,i){var s,r,c,u=this,d=this.getDocument();return(null==d||null==(s=d.fields)?void 0:s.blocks)?(0,o.jsx)(l.Fragment,{children:null==d||null==(c=d.fields)||null==(r=c.blocks)?void 0:r.map(function(o,l){if(u.isRenderable(o)){var s=(0,h.kS)((0,h.oN)(n)),r=u.reassignExtraAttributes(s,o);return new t({document:o,product:u.product,contents:u.contents,contentIndex:u.contentIndex,promotions:u.promotions,promotionIndex:u.promotionIndex}).renderBlockFromDocument(r,e,i,l)}})}):null}},{key:"getDocument",value:function(){var t=this.props.document;return null==t&&(t=this.props),t||(t={}),t}},{key:"isRenderable",value:function(t){var n,e;return(null==t||null==(n=t.fields)?void 0:n.contentType)=="promoBlock"?this.promotionIndex<this.promotions.length:(null==t||null==(e=t.fields)?void 0:e.contentType)!="richTextBlock"||this.contentIndex<this.contents.length}},{key:"reassignExtraAttributes",value:function(t,n){var e;return(null==n||null==(e=n.fields)?void 0:e.contentType)=="promoBlock"&&this.promotions.length>0&&(t.extraAttributes.promo=this.promotions[this.promotionIndex],this.promotionIndex<this.promotions.length&&this.promotionIndex++),"richTextBlock"==n.fields.contentType&&this.contents.length>0&&(t.extraAttributes.richTextBlock=this.contents[this.contentIndex],this.contentIndex<this.contents.length&&this.contentIndex++),t}}]),t}();function f(t){var n=t.extraAttributes||{},e=n.entity,l=new v({document:t.document,product:e}).renderChildBlocks({extraAttributes:n},t.onClickCallback,t.customEvent);return(0,o.jsx)("div",{className:"ob-product-legacy-body ".concat(t.className?t.className:""),children:l})}f.propTypes={className:s().string,extraAttributes:s().object,document:s().object,onClickCallback:s().func,customEvent:s().object}}}]);

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.