PageSourceSearch

https://dangma.vn/learn/_next/static/chunks/pages/preview/base-who-08-007f9a64c96dbfbd.js

js dangma.vn collected 2026-10-04 14:35:34 UTC 11,062 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5578,66587],{30705:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/preview/base-who-08",function(){return l(22368)}])},86571:function(e,t,l){"use strict";l.d(t,{V:function(){return i}});var n=l(85893),a=l(91791),r=l(25087);let i=e=>{var t,l,a;let{title:i,subTitle:c,typeTitle:d,titleBoxColor:v,titleBoxTextColor:m}=e,x=["type_1_revert","type_2_revert","type_3_revert","type_4_revert"].includes((null==d?void 0:null===(t=d.value)||void 0===t?void 0:t.type)||"");return(null==d?void 0:null===(l=d.value)||void 0===l?void 0:l.type)==="type_gradient"?(0,n.jsx)(r.ct,{color:v||["#00000"],text:(null==i?void 0:i.value)||"",textColor:m?[(null==m?void 0:m[0])||"#00000"]:["#00000"],subText:(null==c?void 0:c.value)||""}):(null==d?void 0:null===(a=d.value)||void 0===a?void 0:a.type)==="type_5"?(0,n.jsx)("h2",{className:"text-[1.8em] font-semibold uppercase max-[500px]:text-[5vw] max-[400px]:text-[6vw] text-balance",children:(0,n.jsx)(s,{title:i,subTitle:c})}):(0,n.jsxs)("h2",{className:"text-[1.8em] font-semibold uppercase max-[500px]:text-[5vw] max-[400px]:text-[6vw] text-balance",children:[x?(0,n.jsx)(u,{title:i,subTitle:c,typeTitle:d}):(0,n.jsx)(o,{title:i,subTitle:c,typeTitle:d}),(0,n.jsx)("br",{})]})},o=e=>{var t,l;let{title:a,subTitle:r,typeTitle:i}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c,{title:a,typeTitle:i})," ",!!(null==r?void 0:r.value)&&!(null==i?void 0:null===(t=i.value)||void 0===t?void 0:null===(l=t.type)||void 0===l?void 0:l.includes("type_4"))&&(0,n.jsx)("br",{})," ",!!(null==r?void 0:r.value)&&(null==r?void 0:r.value)]})},u=e=>{var t,l;let{title:a,subTitle:r,typeTitle:i}=e;return(0,n.jsxs)(n.Fragment,{children:[!!(null==a?void 0:a.value)&&(null==a?void 0:a.value)," ",!!(null==r?void 0:r.value)&&!(null==i?void 0:null===(t=i.value)||void 0===t?void 0:null===(l=t.type)||void 0===l?void 0:l.includes("type_4"))&&(0,n.jsx)("br",{})," ",(0,n.jsx)(c,{title:r,typeTitle:i})]})},c=e=>{var t,l,a,r;let{title:i,typeTitle:o}=e;return(null==i?void 0:i.value)?(null==o?void 0:null===(t=o.value)||void 0===t?void 0:null===(l=t.type)||void 0===l?void 0:l.includes("type_1"))?(0,n.jsx)("span",{className:"ln-[var(--title-box-text-color)] py-[2px]",children:null==i?void 0:i.value}):(0,n.jsxs)("span",{className:"relative inline-block px-[.4em] py-[.2em] border-[1px] border-[var(--title-box-border-color)] rounded-[.8rem] borderStyle-[var(--title-border-style)] bgln-[var(--title-box-color)]",children:[(0,n.jsx)("span",{className:"ln-[var(--title-box-text-color)] py-[2px]",children:null==i?void 0:i.value}),(null==o?void 0:null===(a=o.value)||void 0===a?void 0:null===(r=a.type)||void 0===r?void 0:r.includes("type_3"))&&(0,n.jsx)(d,{})]}):null},d=()=>(0,n.jsx)("span",{className:"absolute inset-[0] rounded-[.8rem] rotate-[5deg] -z-[1] opacity-[.5] -translate-x-[1rem] bgln-[var(--title-box-color)]"}),s=e=>{let{title:t,subTitle:l}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:null==t?void 0:t.value}),(0,n.jsx)("br",{}),(0,n.jsxs)("span",{className:"relative inline-block pb-[.2em]",children:[(0,n.jsx)("span",{className:"ln-[var(--title-box-text-color)]",children:null==l?void 0:l.value}),(0,n.jsx)("div",{className:"w-full absolute bottom-[0] left-[0] icon-mask",style:{"--c-icon":"var(--title-box-border-color)",maskSize:"100%",maskImage:"url(".concat(a.UB+"title-line-lamdep.png",")"),WebkitMaskImage:"url(".concat(a.UB+"title-line-lamdep.png",")")},children:(0,n.jsx)("img",{src:a.UB+"title-line-lamdep.png",alt:"",className:"w-full block opacity-[0]"})})]})]})}},59211:function(e,t,l){"use strict";l.d(t,{u:function(){return a}});var n=l(66587);let a={bg:n.$.generateItem.color({label:"m\xe0u nền",value:"#F3F1E5"}),colorText:n.$.generateItem.color({label:"M\xe0u chữ",value:"#3a3a3a"}),title:n.$.generateItem.text({label:"Ti\xeau đề",value:"LOREM IPSUM DOLOR"}),subTitle:n.$.generateItem.text({label:"Ti\xeau đề phụ",value:"LOREM IPSUM DOLOR SIT AMENT CONSECTERUE"}),typeTitle:n.$.generateItem.typeTitle({label:"Kiểu ti\xeau đề",method_render:"checkbox-images",value:{label:"Kiểu 5",type:"type_5",src:""}}),titleBoxColor:n.$.generateItem.colorLinear({label:"M\xe0u box ti\xeau đề",value:["#f41e92","#f41e"]}),titleBoxTextColor:n.$.generateItem.colorLinear({label:"M\xe0u chữ trong box ti\xeau đề",value:["#EE6983","#EE6983"]}),titleBoxBorderColor:n.$.generateItem.color({label:"M\xe0u border ti\xeau đề",value:"#EE6983"}),titleFirst:n.$.generateItem.text({label:"Ti\xeau đề phụ",value:"Lorem ipsum dolor sit amet:"}),titleSecond:n.$.generateItem.text({label:"Ti\xeau đề phụ",value:"LOREM IPSUM DOLOR"}),textUpDesc:n.$.generateItem.text({label:"Chữ tr\xean danh s\xe1ch m\xf4 tả",value:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}),specialDesc:n.$.generateItem.arrayText({label:"Danh s\xe1ch m\xf4 tả",value:["Lorem ipsum dolor sit amet, consectetur adipiscing elit","Lorem ipsum dolor sit amet, consectetur adipiscing elit","Lorem ipsum dolor sit amet, consectetur adipiscing elit","Lorem ipsum dolor sit amet, consectetur adipiscing elit"]}),listContent:{type:"list-item",label:"Danh s\xe1ch m\xf4 tả đặc biệt",value:[{name:"500+",des:"Lorem ipsum dolor sit amet consectetur"},{name:"500+",des:"Lorem ipsum dolor sit amet consectetur"},{name:"500+",des:"Lorem ipsum dolor sit amet consectetur"}]},img:n.$.generateItem.image({label:"Ảnh b\xean tr\xe1i",value:""}),colorTickBorder:n.$.generateItem.color({label:"M\xe0u viền icon check",value:"#FFC4C4"}
1),colorTickBackground:n.$.generateItem.colorLinear({label:"M\xe0u nền icon check",value:["#FFC4C4","#FFC4C4"]}),colorTick:n.$.generateItem.colorLinear({label:"M\xe0u  icon check",value:["#EE6983","#EE6983"]}),colorDecorImg:n.$.generateItem.color({label:"M\xe0u trang tr\xed dưới ảnh",value:"#526851"}),colorBoxList:n.$.generateItem.color({label:"M\xe0u nền box danh s\xe1ch",value:"#EE6983"}),colorBoxListText:n.$.generateItem.color({label:"M\xe0u chữ trong box danh s\xe1ch",value:"#FFFFFF"}),decorSeparate:n.$.generateItem.typeSeparate({label:"Chọn trang tr\xed ngăn c\xe1ch",method_render:"checkbox-images",value:{label:"",type:"",src:"",position:""}}),decorBackground:n.$.generateItem.decor({label:"Chọn trang tr\xed background",method_render:"checkbox-images"})}},66587:function(e,t,l){"use strict";function n(e){let{type:t="text",method_render:l="default",list_decor:n=[],label:a="Danh s\xe1ch nội dung",value:r,fieldConfig:i}=e;return{type:t,method_render:l,list_decor:n,label:a,...i?{fieldConfig:i}:{},value:r}}l.d(t,{$:function(){return a}});let a={generateHightLightText:function(e){let{label:t="Nội dung",prefix:l="",content:n="",suffix:a=""}=e;return{type:"hightlight",label:t,value:{prefix:{type:"text",label:"Chữ trước hightlight",value:l},content:{type:"text",label:"Chữ hightlight",value:n},suffix:{type:"text",label:"Chữ sau hightlight",value:a}}}},generateItem:{text:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"text",label:t,value:l})},image:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"image",label:t,value:l})},color:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"color",label:t,value:l})},colorLinear:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"linear-color",label:t,value:l})},block:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"block",label:t,value:l})},arrayText:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"array-text",label:t,value:l})},arrayItem:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"array-item",label:t,value:l})},arrayDynamicItem:function(e){let{label:t="Nội dung",fieldConfig:l,value:a}=e;return n({type:"array-item-dynamic",label:t,fieldConfig:l,value:a})},arrayMenu:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"array-menu",label:t,value:l})},arrayDesItem:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"array-item-des",label:t,value:l})},boolean:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"boolean",label:t,value:l})},faqs:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"faqs",label:t,value:l})},arrayImage:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"array-image",label:t,value:l})},arrayHightlight:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"array-hightlight",label:t,value:l})},arrayFeedback:function(e){let{label:t="Nội dung",value:l}=e;return n({type:"array-feedback",label:t,value:l})},typeLayout:function(e){let{label:t="Nội dung",method_render:l="default",value:a}=e;return n({type:"decor",label:t,value:a,method_render:l})},decor:function(e){let{label:t="Nội dung",value:l,list_decor:a,method_render:r="default"}=e;return n({type:"decor",label:t,list_decor:a,method_render:r,value:l})},typeTitle:function(e){let{label:t="Nội dung",value:l,method_render:a="default"}=e;return n({type:"type_title",label:t,method_render:a,value:l})},typeSeparate:function(e){let{label:t="Nội dung",value:l,method_render:a="default"}=e;return n({type:"type_separate",label:t,method_render:a,value:l})}}}},88994:function(e,t,l){"use strict";var n=l(21997),a=l(67294);let r=["pri","second"];t.Z=function(e,t,l){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;console.log("--> \uD83C\uDF40 ~ useSetLinkGoogleFont ~ prevContent",e,t,l);let[o,u]=(0,a.useState)(!1),c=e=>{let t="google-font-link-".concat(e.replace(/ /g,"+")),l=document.getElementById(t);if(!l){let a=(0,n.zG)(e);if(!a)return;(l=document.createElement("link")).id=t,l.rel="stylesheet",l.href=a,document.head.appendChild(l)}};return(0,a.useEffect)(()=>{var n;let a=null==e?void 0:null===(n=e.fontFamily)||void 0===n?void 0:n.value;if(a&&(null==a?void 0:a.length)>
10){a.forEach(e=>{c(e)});let r=a.reduce((e,t,l)=>(e["--font-".concat(i[l])]="".concat(t,", sans-serif"),e),{}),o=void 0!==t?document.querySelectorAll("main section"):null,d=document.documentElement;o&&void 0!==t&&(d=o[t]),l&&l.current&&(d=l.current),Object.entries(r).forEach((e,t)=>{let[l,n]=e;d&&(d.style.setProperty(l,n),0==t&&(d.style.fontFamily=n))}),u(!0)}},[e]),{loaded:o}}},94335:function(e,t,l){"use strict";l.d(t,{p:function(){return a}});var n=l(85893);let a=e=>{let{children:t}=e;return(0,n.jsx)("main",{className:"craftbeer can-scroll preview-page",children:t})}},22368:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(97938),r=l(59211),i=l(29134),o=l(88994),u=l(94335);let c=e=>{let{}=e,{sectionRef:t,prevContent:l}=(0,i.EK)("THEME-BASE-WHO-08",null);return(0,o.Z)(l),(0,n.jsx)("section",{ref:t,children:(0,n.jsx)(a.Oj,{contentWho08:l||r.u})})};c.Layout=u.p,t.default=c}},function(e){e.O(0,[80571,60296,15443,52917,36521,41664,68948,96236,48929,66465,72513,40928,74465,39584,29134,54631,25087,97938,49774,92888,40179],function(){return e(e.s=30705)}),_N_E=e.O()}]);

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.