PageSourceSearch

https://yuanlinhaveawalk.com/_next/static/chunks/68839-a960140d7201c2b2.js

js yuanlinhaveawalk.com collected 2026-09-26 09:51:49 UTC 26,338 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[68839],{59046:(e,i,t)=>{t.d(i,{A:()=>m,K:()=>c});var l=t(2445),r=t(27006),o=t(25505),n=t(96540),a=t(4589),d=t(75024),s=t(1771);let c=(0,n.createContext)({play:()=>{},pause:()=>{},currentIndex:0}),u=["dotInside","ratio","scrollbarWidth"],p=(0,o.default)(r.Box,{shouldForwardProp:e=>!u.includes(e),target:"eox0ee20"})(".slick-slider{",e=>{let{scrollbarWidth:i=0}=e;return"\n  --slick-slide-width: calc(min(var(--chakra-sizes-container-xs), calc(100vw - ".concat(i,"px)) - var(--chakra-space-4) * 2);\n  ")},";}.slick-dots{",e=>{let{isMobile:i}=e;return i&&"\n      display: flex !important;\n      overflow: hidden;\n      justify-content: center;\n      align-items: center;\n    "}," ",e=>{let{dotInside:i,ratio:t}=e;return i&&"\n    bottom: auto;\n    top: ".concat(t?"calc(var(--slick-slide-width) * 1 / ".concat(t,")"):"100%",";\n  ")},";li{",e=>{let{isMobile:i}=e;return"\n        width: ".concat(i?"9px":"18px",";\n\n        button {\n          background: transparent;\n          width: 0;\n          height: 0;\n          padding: ").concat(i?"3px":"4px",";\n          border-radius: 50%;\n          border: 2px solid var(--chakra-colors-custom-primary);\n\n          &::before {\n            content: '';\n          }\n        }\n      ")},"}li.slick-active{button{background:var(--chakra-colors-custom-primary);}}}.slick-prev,.slick-next{top:",e=>{let{ratio:i,isDesktop:t}=e;return i?"calc(var(--slick-slide-width) * 0.5 / ".concat(t?.65*i:i,")"):"50%"},";transform:translateY(-50%);}.slick-prev{left:20px;z-index:1;&:before{color:var(--chakra-colors-gray-800);opacity:1;}}.slick-next{right:20px;&:before{color:var(--chakra-colors-gray-800);opacity:1;}}"),m=e=>{let{children:i,dotInside:t,ratio:o,beforeChange:u,dots:m,isDesktop:h,lazyLoad:b=null,autoplay:g,onBeforeChange:f=(e,i)=>{},onAfterChange:v=e=>{},...x}=e,[k,w]=(0,n.useState)(0),y=(0,d.y)(),{isDragging:A}=(0,n.useContext)(s.A),Y=(0,n.useRef)(),[I,C]=(0,n.useState)(0),{isHeadlessChrome:S}=(0,r.useTheme)();(0,n.useEffect)(()=>{var e,i;A?null===(e=Y.current)||void 0===e||e.slickPause():null===(i=Y.current)||void 0===i||i.slickPlay()},[A]),(0,n.useEffect)(()=>{let e=setTimeout(()=>{C(y)},5e3);return()=>clearTimeout(e)},[y]);let z=!!i[k+1],[P]=(0,r.useMediaQuery)("(max-width: 480px)");return(0,l.FD)(r.Box,{pos:"relative",children:[z&&(0,l.Y)(r.Box,{pos:"absolute",opacity:"0",pointerEvents:"none",overflow:"hidden",children:(0,n.cloneElement)(i[k+1],{isPreview:x.isPreview,isPreload:!0})}),(0,l.Y)(p,{dotInside:t,ratio:o,pb:!t&&m&&6,mb:!m&&-1.5,scrollbarWidth:I,isDesktop:h,isMobile:P,children:(0,l.Y)(c.Provider,{value:{play:()=>{var e;return null===(e=Y.current)||void 0===e?void 0:e.slickPlay()},pause:()=>{var e;return null===(e=Y.current)||void 0===e?void 0:e.slickPause()},currentIndex:k},children:(0,l.Y)(a.A,{ref:Y,dots:!!m,infinite:!0,arrows:!0,autoplay:g&&!S,slidesToShow:1,slidesToScroll:1,lazyLoad:b,beforeChange:(e,i)=>{"function"==typeof u&&u(e,i),f(e,i),w(i)},afterChange:e=>{v(e)},...x,children:i})})})]})}},1771:(e,i,t)=>{t.d(i,{A:()=>l});let l=(0,t(96540).createContext)({isDragging:!1})},80442:(e,i,t)=>{t.d(i,{A:()=>a});var l=t(2445),r=t(27006),o=t(85960);t(96540);let n=(0,o.P)(r.Box),a=e=>{let{children:i,scale:t=1.2,tapScale:r=.9,duration:o=.8,...a}=e;return(0,l.Y)(n,{whileHover:{scale:t,transition:{duration:.1}},whileTap:{scale:r,transition:{duration:.1}},...a,children:i})}},80888:(e,i,t)=>{t.d(i,{A:()=>G});var l=t(2445),r=t(27006),o=t(96540),n=t(6442),a=t(51216),d=t(98523),s=t(44995),c=t(64846),u=t(78459),p=t(42088),m=t(80442),h=t(55828),b=t(61951);let g={x:2,y:2},f=async e=>{let i=()=>{let i=document.createElement("canvas");if(i.width=e.width,i.height=e.height,!e.width)return"black";let t=i.getContext("2d");t.clearRect(0,0,e.width,e.height),t.drawImage(e,0,0);let l=Math.ceil(e.width*g.x/100),r=Math.ceil(e.height*(100-g.y)/100-24),{data:o}=t.getImageData(l,r,e.width-l,e.height-r),n=o.length/4,a=[,,,].fill(0);for(let e=0;e<o.length;e+=4)a[0]+=o[e]/n,a[1]+=o[e+1]/n,a[2]+=o[e+2]/n;return new b.q({r:a[0],g:a[1],b:a[2]}).getBrightness()>192?"black":"white"};return e.complete?i():new Promise(t=>{e.onload=()=>{t(i())}})};
1var v=t(41012),x=t(83128),k=t(61005),w=t(79651),y=t(80449),A=t(50589),Y=t(97551),I=t.n(Y),C=t(49785),S=t(33644);let z=/[\u3105-\u3129\u02CA\u02C7\u02CB\u02D9]+/g,P={double:40,banner:60,square:60},B=(e,i)=>"".concat((null==P?void 0:P[e])-5*i,"px"),T=(e,i,t,l)=>{let r=I()(e.split("\n"),e=>e.length),o=document.createElement("canvas").getContext("2d");o.font="".concat(B(t,i)," ").concat(l);let{width:n}=o.measureText(r);return n},M=(0,r.forwardRef)((e,i)=>{let{variant:t,children:o,textLevel:n,watermarkTextColor:a,watermarkStyles:d,isOnBoarding:s,type:c}=e,u=B(c,n);return(0,l.Y)(r.Box,{minH:"solid"===t&&"49px",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",ref:i,children:(0,l.Y)(r.Text,{fontSize:u,fontWeight:"bold"===d||s?900:500,color:null!=a?a:"blocks.bg",textAlign:"center",whiteSpace:"pre",children:(0,l.Y)(p.A,{children:o})})})}),R=e=>(null==e?void 0:e.split("\n").length)||0,E=e=>{let{boxWidth:i,children:t,textLevel:n,name:a,...d}=e,s=(0,r.useToken)("fonts","body"),c=(0,C.xW)(),u=(0,o.useMemo)(()=>("string"==typeof t?t.replace(z,"ㄅ"):t)||"",[t]),p=(0,S.A)(u),[m,h]=(0,o.useState)(n),[b]=(0,r.useMediaQuery)("(max-width: 375px)");return(0,o.useEffect)(()=>{if(i){let e=(null==p?void 0:p.length)>u.length||R(p)<R(u),t=n,l=T(u,t,d.type,s),r=e=>"double"===d.type?7===e:9===e,o=b?.7:.88;if(e)for(;l<i*o&&t;)l=T(u,--t,d.type,s);for(;l>.7*i&&!r(t);)l=T(u,++t,d.type,s);(null==c?void 0:c.setValue)&&c.setValue("".concat(a,".textLevel"),t),h(t)}},[i,u,s,a,d.type]),(0,l.Y)(M,{...d,textLevel:m,children:t})},O=e=>{let{isPreview:i,...t}=e,r=t.textLevel?+t.textLevel:0;return i?(0,l.Y)(E,{...t,textLevel:r}):(0,l.Y)(M,{...t,textLevel:r})},D={white:"rgba(0,0,0,0.8)",black:"rgba(255,255,255,0.8)"},_=e=>{let{bg:i,icon:t,label:o,align:n="left",inFrame:a}=e,{blocks:d}=(0,r.useTheme)(),[s]=(0,r.useToken)("colors",[i||"primary.500"]),c=(0,x.A)(s);return(0,l.Y)(r.Box,{position:"absolute",top:a?7:4,[n]:a?7:5,children:(0,l.FD)(r.Tag,{bg:i||"primary.500",color:c,rounded:"full",size:"lg",border:"1px solid",borderColor:(null==d?void 0:d.tagBorderColor)||"currentColor",fontSize:"12.5px",children:[t&&(0,l.Y)(r.TagLeftIcon,{as:e=>(0,l.Y)(A.A,{src:t,...e})}),(0,l.Y)(r.TagLabel,{children:(0,l.Y)(p.A,{children:o})})]})})},F=e=>{let{src:i,onClose:t,ratio:o,isOpen:n,unoptimized:a}=e;return(0,l.FD)(r.Modal,{isOpen:n,onClose:t,isCentered:!0,display:"flex",justifyContent:"center",size:"3xl",allowPinchZoom:!0,returnFocusOnClose:!1,children:[(0,l.Y)(r.ModalOverlay,{}),(0,l.FD)(r.ModalContent,{cursor:"zoom-out",bg:"blocks.bg",children:[(0,l.Y)(r.ModalCloseButton,{size:"lg",color:"white",top:"-10",right:"0"}),(0,l.Y)(u.Ay,{src:i,onClick:t,size:"lg",ratio:o,borderRadius:"2xl",overflow:"hidden",unoptimized:a})]})]})},L=e=>{let{padding:i,variant:t,color:a,children:d,align:s}=e,{locale:u}=(0,n.A)(),p=(0,o.useMemo)(()=>"string"==typeof d?(0,w.A)(d):d,[d]),m=(0,o.useMemo)(()=>"frame"===t?"blocks.text":"solid"===t?"primary.readable":"gradient"===t?a:"white"===a?"black":"white",[a,t]),h="gradient"===t&&D[a],b="en"===u?4:3.5,g=(0,o.useMemo)(()=>"solid"===t?"primary.500":"frame"===t?"blocks.bg":void 0,[t]);return(0,l.Y)(r.Box,{position:"absolute",left:h&&i||"0",bottom:h&&i||"0",right:h&&i||"0",backgroundImage:h&&"linear-gradient(transparent, ".concat(D[a]," 90%)"),bg:g,px:i&&"frame"!==t?+i+b:b,pt:"2.5",pb:"frame"===t?3:2.5,minH:"solid"===t&&"41px",borderBottomRadius:"md",children:(0,l.Y)(c.A,{maxLine:2,w:"100%",pl:1.5,whiteSpace:"pre-wrap",content:p,fontSize:"en"===u?"md":"12.5px",fontWeight:"500",color:m,align:s,noTooltip:!0,mb:"0",children:p})})},W=e=>{var i;let t=null==e?void 0:e.startsWith("neon");return void 0===e?"primary.500":t?"neon.".concat(e.split(".")[1],".500"):"".concat(e,".").concat(null===(i=h.A[e])||void 0===i?void 0:i.base)},G=e=>{var i;let{src:t,alt:n,data:c,tag:p,theme:h,ratio:b=1,textAlign:g,isSmall:x,isEditing:w,isPreview:A,isPreload:Y,frame:I,variant:C="gradient",id:S,linkId:z,blockId:P,profileId:B,profileName:T,blockVariant:M,isSingle:R,align:E,itemMap:D,type:G,zoomIn:H,autoplay:N,watermark:j,watermarkTextColor:q,watermarkStyles:V,textLevel:Q,index:Z,isOnBoarding:K,customPlaceHolder:X,unoptimized:J,priority:U,onClick:$,sizes:ee,...ei}=e,[et,{width:el}
1]=(0,a.A)(),er=(0,v.A)(B,P,S,z),eo=(0,k.A)("click"),[en,ea]=(0,o.useState)("white"),{borderRadiusStyles:ed}=(0,r.useTheme)(),es=(0,o.useRef)(),{isOpen:ec,onOpen:eu,onClose:ep}=(0,r.useDisclosure)(),em=!J&&"gradient"===C&&es.current,eh=()=>{if(em&&"gradient"===C){let e=es.current.querySelector("img");try{f(e).then(ea)}catch(e){console.error(e)}}};(0,d.A)(()=>{eh()},[C]);let eb="watermark"===C,eg=(null==j?void 0:j.bgOption)==="color"&&"watermark"===C,ef=A||(null==c?void 0:c.mode)!=="internal",ev=(I||"frame"===C)&&"4",ex="outline"===M,ek=(0,o.useMemo)(()=>[T,null!=n?n:null==c?void 0:c.text].filter(Boolean).join(" "),[T,n,null==c?void 0:c.text]);if(!t&&!eb&&!A&&!w)return null;let ew=(null==j?void 0:j.imageMode)==="bright",ey=eb?O:L,eA=""===c.text,eY=null===(i=c.theme)||void 0===i?void 0:i.startsWith("#"),eI="gradient"===C,eC=c&&c.url&&!w&&((null==c?void 0:c.mode)==="internal"?null==c?void 0:c.url:(0,y.A)(null==c?void 0:c.url)),eS=eC?s.A:r.Box,ez=w||N&&!R;return(0,o.createElement)(ez?r.Box:m.A,ez?{}:{scale:1.05,tapScale:1},(0,l.Y)(r.Box,{ref:et,onClick:c.url||w?null:eu,pos:"relative",cursor:(eA||!eb)&&!c.url&&!!t&&!w&&!eg&&"zoom-in",mb:K?0:1,px:!R&&!K&&2,...ei,children:(0,l.Y)(r.Box,{bg:eb&&eg?eY?c.theme:"".concat(W(c.theme)):eI?"":"blocks.bg",borderRadius:null==ed?void 0:ed.outer,overflow:"hidden",transform:"translateZ(0)",textAlign:null!=g?g:x&&"center",boxShadow:"dropShadow"===M?"block":!ex&&"md",className:"block-item",border:ex&&"2px solid",borderColor:ex&&"blockOutline",padding:ev,children:(0,l.FD)(eS,{ref:w||A?void 0:er,...eC?{isExternal:ef,href:eC,isRef:null==c?void 0:c.isRef}:{},onClick:()=>!w&&!A&&eo(B,P,S,z),children:[(0,l.Y)(u.Ay,{m:ex&&"-1px",src:t,sx:eb&&({bright:{filter:"brightness(1)"},dark:{filter:"brightness(0.5)"},default:{},blur:{filter:"blur(2px)"}})[null==j?void 0:j.imageMode],ratio:b,alt:ek,ref:es,onLoadingComplete:eh,size:x?"md":"xl",sizes:ee,isEditing:w,isPreview:A,borderRadius:null==ed?void 0:ed.inner,overflow:"hidden",visibility:eg?"hidden":"visible",isWaterColor:eg,customPlaceHolder:X,unoptimized:J,priority:U,crossOrigin:em?"Anonymous":void 0}),((null==c?void 0:c.text)||"solid"===C||eb)&&(0,l.Y)(ey,{color:en,variant:C,padding:ev,align:E,lineHeight:"normal",boxWidth:el,watermarkTextColor:q,type:G,isPreview:A&&!Y,name:"items[".concat(Z,"]"),textLevel:Q,watermarkStyles:V,isOnBoarding:K,borderRadiusStyles:ed,children:c.text}),!c.url&&!!t&&!eg&&(0,l.Y)(l.FK,{children:(eA||!eb)&&(0,l.Y)(F,{src:t,inFrame:!!ev,isEditing:w,onOpen:eu,onClose:ep,isOpen:ec,ratio:b,alt:ek,unoptimized:J,borderRadiusStyles:ed})}),(null==p?void 0:p.label)&&!eb&&(0,l.Y)(_,{...p,inFrame:!!ev}),ew&&(0,l.Y)(r.Box,{w:"full",h:"full",bg:"white",pos:"absolute",top:"0",opacity:.5,borderRadius:null==ed?void 0:ed.outer})]})})}))}},38505:(e,i,t)=>{t.d(i,{A:()=>x});var l=t(2445),r=t(36287),o=t(65319),n=t(55378),a=t.n(n),d=t(47091),s=t.n(d),c=t(14953),u=t.n(c),p=t(5556),m=t.n(p),h=t(59576),b=t(59046
1),g=t(80888);let f=u()(()=>Promise.all([t.e(19883),t.e(28505),t.e(64065),t.e(99624),t.e(60426)]).then(t.bind(t,60426)),{loadableGenerated:{webpack:()=>[60426]}}),v=e=>{let{items:i,variant:t,links:n,ratio:d=1,perRow:c=1,isPreview:u,isEditing:p,autoplay:m=!0,autoplaySpeed:v=10,id:x,profileId:k,profileName:w,impressions:y,clicks:A,blockVariant:Y,dotsVisible:I=!0,watermark:C,isOnBoarding:S,type:z,unoptimized:P,priority:B,isDesktop:T,sizes:M}=e,R="watermark"===t&&(null==C?void 0:C.bgOption)==="color",E=u||p,O=i.filter(e=>e.image||R),D=s()(R?i:O),_=c>1||1===s()(E?i:O),F=a()(u?i:O,(e,i)=>{let{image:r,alt:o,id:a,itemId:s,linkId:h,styles:b,tag:v,watermarkStyles:I,textGradient:T,textSolid:R,frame:E,align:O,watermarkTextColor:D,textLevel:F,...L}=e,W={...u&&L["linkId-editor"]||(null==n?void 0:n[h]),text:L.text,theme:L.theme},G=(0,l.Y)(g.A,{src:r,alt:o,tag:v,data:W,frame:E,ratio:d,variant:t,id:s||a,linkId:h,blockId:x,profileId:k,profileName:w,isSmall:c>1,isEditing:p,isPreview:u,blockVariant:Y,isSingle:_,align:O,autoplay:m,watermark:C,isOnBoarding:S,watermarkTextColor:D,textLevel:F,type:z,watermarkStyles:I,index:i,unoptimized:P,priority:_?B:0===i&&B,sizes:M},s||a);return p?(0,l.Y)(f,{linkId:h,compact:c>1,blockId:x,profileId:k,itemId:s||a,impressions:y,clicks:A,px:!_&&"2",children:G},s||i):G});return(D>0||E)&&(0,l.Y)(r.az,{width:"full",as:"section",children:_?(0,l.Y)(o.r,{c
1olumns:c,spacing:"1em",children:F}):(0,l.Y)(r.az,{as:b.A,ratio:d,autoplay:m,autoplaySpeed:1e3*v,dots:(0,h.A)(I),mx:!_&&"-2",pauseOnHover:!1,isDesktop:T,isPreview:u,lazyLoad:"progressive",children:F},String(m))})};v.propTypes={items:m().arrayOf(m().shape({image:m().oneOfType([m().string,m().object]),text:m().string,linkId:m().string,itemId:m().oneOfType([m().string,m().number])}))};let x=v},4809:(e,i,t)=>{t.d(i,{A:()=>y});var l=t(2445),r=t(27006),o=t(5556),n=t.n(o),a=t(96540),d=t(54476),s=t(8548),c=t(78459),u=t(42088),p=t(41012),m=t(61005),h=t(80442),b=t(28422);let g={transparent:"transparent",dark:"rgba(0%, 0%, 0%, 0.5)",white:"rgba(100%, 100%, 100%, 0.5)"},f={sm:16,md:20,lg:24,xl:30},v={sm:20,md:24,lg:28,xl:34},x={sm:1.5,md:1.5,lg:2,xl:2.5},k={sm:2.5,md:2.5,lg:3,xl:3.5},w=e=>{let{icon:i,image:t,fill:o,id:n,profileId:w,linkId:y,blockId:A,shouldCollect:Y,blockVariant:I,children:C,withImage:S,isPreview:z,isEditing:P,description:B,animation:T,withDesc:M,unoptimized:R,size:E,buttonMode:O,backgroundVariant:D,isDesktop:_,...F}=e,L=(0,a.useRef)(),W=(0,d.A)(L,{root:null,rootMargin:"0px",threshold:.33}),{button:G,borderRadiusStyles:H}=(0,r.useTheme)(),N=!!(S&&(z||t)),j=!!(M||S||i),q=(0,a.useMemo)(()=>{let e=()=>_?"".concat(M?k[E]+.5:k[E],"rem"):"".concat(M?x[E]+.5:x[E],"rem");return S?(0,l.Y)(c.Ay,{borderRadius:"sm",compact:!0,isPreview:z,src:t,ratio:1,width:"4rem",boxShadow:"md",size:"xs",alt:C,unoptimized:R}):i?(0,l.Y)(b.A,{width:e(),height:e(),icon:i}):null},[i,t,S,z,j,C,E,P,M,_]),V=(0,p.A)(w,A,n,y),Q=(0,m.A)("click"),Z="outline"===I,K=(0,r.useMergeRefs)(V,L);return(0,l.Y)(h.A,{scale:1.03,tapScale:1,children:(0,l.FD)(s.A,{minHeight:N?"5.25rem":M?"4.5rem":"3rem",w:"full",fontWeight:"600",colorScheme:"primary",ref:Y?K:L,borderRadius:null==H?void 0:H.outer,...F,variant:(null==G?void 0:G.variant)||(o?"solid":"outline"),bg:o?null:g[O],boxShadow:"dropShadow"===I?"block":!Z&&"sm",className:"block-item ".concat((null==W?void 0:W.isIntersecting)&&!P?["animate__animated","animate__infinite",T&&"none"!==T?"animate__".concat(T):"","shakeX"===T?"animate__slow":"","pulse"===T?"animate__fast":""].join(" "):""),borderColor:Z?"blockOutline":void 0,whiteSpace:"normal",height:"auto",textAlign:"center",py:_?({sm:4,md:4,lg:6,xl:N?10:8})[E]:({sm:2,md:2,lg:3,xl:N?5:4})[E],px:j?12:void 0,pl:N&&24,lineHeight:"1.5",iconSpacing:N?3:2,fontSize:"".concat(_?v[E]:M?f[E]+4:f[E],"px"),onClick:()=>{Y&&Q(w,A,n,y)},overflow:"hidden",position:"relative",children:[q&&j&&(0,l.Y)(r.Box,{position:"absolute",left:S?2:4,top:"50%",pt:!S&&2,transform:"translateY(-50%)",borderRadius:null==H?void 0:H.inner,overflow:"hidden",children:q}),(0,l.FD)(r.Box,{as:"span",position:"relative",children:[(0,l.Y)(u.A,{children:C}),B&&(0,l.Y)(r.Text,{as:"span",fontWeight:400,fontSize:"sm",display:"block",children:(0,l.Y)(u.A,{children:B})})]})]})})};w.prototype={icon:n().string,fill:n().bool,id:n().string,profileId:n().string};let y=w},90940:(e,i,t)=>{t.d(i,{A:()=>U});var l=t(2445),r=t(14953),o=t.n(r),n=t(64319),a=t(27006),d=t(55378),s=t.n(d),c=t(47091),u=t.n(c),p=t(96540),m=t(77037),h=t(8548),b=t(59046),g=t(78459),f=t(41012),v=t(61005),x=t(80449),k=t(33898);let w=o()(()=>Promise.all([t.e(19883),t.e(28505),t.e(64065),t.e(99624),t.e(60426)]).then(t.bind(t,60426)),{loadableGenerated:{webpack:()=>[60426]}}),y=e=>{let{url:i,children:t,isEditing:r,isPreview:o,mode:n,onClick:a,isRef:d}=e;return(0,l.Y)(h.A,{justifyContent:"space-between",href:!r&&("internal"===n?i:(0,x.A)(i)),isRef:d,isExternal:o||"internal"!==n,variant:"ghost",rightIcon:(0,l.Y)(m.X6T,{}),w:"full",rounded:0,px:"6",py:"1em",height:"auto",colorScheme:"primary",onClick:a,children:t})},A=e=>{var i;let{id:t,item:r,links:o,isPreview:n,isEditing:d,isList:s,profileId:c,impressions:u,clicks:p,blockVariant:m,statsRef:h,profileName:b}=e,x="outline"===m,A=r.cta&&(n&&r["linkId-editor"]||(null==o?void 0:o[r.linkId])),Y=(0,f.A)(c,t,r.itemId,r.linkId),I=(0,v.A)("click"),C=(0,l.FD)(a.Box,{bg:"blocks.bg",color:"blocks.text",rounded:"md",boxShadow:"dropShadow"===m?"block":!x&&"md",border:x&&"2px solid",borderColor:x&&"blockOutline",overflow:"hidden",ref:d||n?void 0:Y,children:[(0,l.Y)(g.Ay,{src:r.image,alt:(null==r?void 0:r.alt)||b,isPreview:n,isEditing:d,ratio:1,size:"md"}),s&&(0,l.Y)(a.Box,{height:"8"}),A&&(0,l.Y)(y,{isEditing:d,...A,onClick:()=>!d&&!n&&I(c,t,r.itemId,r.linkId),children:r.text}),r.description&&(0,l.Y)(a.Box,{px:"6",pt:"2",pb:"4",children:(0,l.Y)(k.A,{children:r.description})})]});return d?(0,l.Y)(w,{linkId:r.linkId,blockId:t,profileId:c,itemId:null!==(i=r.itemId)&&void 0!==i?i:r.id,impressions:u,clicks:p,collectionName:"
1collections",statsRef:h,children:C}):C};var Y=t(38505),I=t(29199),C=t(36287),S=t(45915),z=t(44995),P=t(42088),B=t(80442);let T=o()(()=>Promise.all([t.e(19883),t.e(28505),t.e(64065),t.e(99624),t.e(60426)]).then(t.bind(t,60426)),{loadableGenerated:{webpack:()=>[60426]}}),M=e=>{let i=Math.round(688/e),t="calc((100vw - ".concat(32*e,"px - 32px) / ").concat(e,")");return"(max-width: 480px) ".concat(t,", ").concat(i,"px")},R=e=>{let{isEditing:i,isPreview:t,src:r,alt:o,data:n,ratio:d,variant:s,profileId:c,blockId:u,id:m,linkId:h,label:b,blockVariant:k,profileName:w,priority:y,sizes:A}=e,Y=(0,f.A)(c,u,m,h),C=(0,v.A)("click"),S=t||(null==n?void 0:n.mode)!=="internal",T=S||!/undefined/.test(null==n?void 0:n.url),M="outline"===k,R=(0,p.useMemo)(()=>[w,null!=o?o:b].filter(Boolean).join(" "),[w,o,b]),E=(0,l.Y)(B.A,{scale:1.04,tapScale:1,children:(0,l.FD)(I.Q,{rounded:"square"===s?"md":"full",overflow:"hidden",boxShadow:"dropShadow"===k?"block":!M&&"md",ref:i||t?void 0:Y,className:"block-item",border:M&&"2px solid",borderColor:M&&"blockOutline",transform:"translateZ(0)",children:[(0,l.Y)(g.Ay,{src:r,alt:R,ratio:d,sizes:A,priority:y,isEditing:i,isPreview:t,compact:!0,borderRadius:"square"===s?"md":"full",m:M?"-1px":void 0}),!i&&n&&n.url&&T&&(0,l.Y)(z.A,{href:(null==n?void 0:n.mode)==="internal"?n.url:(0,x.A)(n.url),isExternal:S,isRef:null==n?void 0:n.isRef,lineHeight:"0",fontSize:"0",height:"0",display:"block",onClick:()=>!i&&!t&&C(c,u,m,h),position:"static",className:"chakra-linkbox__overlay",_before:{content:'""',display:"block",top:0,left:0,position:"absolute",zIndex:0,width:"100%",height:"100%"},children:b})]})});return r||i||t?b?(0,l.Y)(a.Tooltip,{shouldWrapChildren:!0,label:(0,l.Y)(P.A,{children:b}),children:E}):E:null};var E=t(83450),O=t(5556),D=t.n(O),_=t(6442),F=t(86913),L=t(4809);let W=o()(()=>Promise.all([t.e(19883),t.e(28505),t.e(64065),t.e(99624),t.e(60426)]).then(t.bind(t,60426)),{loadableGenerated:{webpack:()=>[60426]}}),G=e=>{let{items:i=[],links:t,fill:r,withImage:o,withDescription:n,isEditing:a,isPreview:d,profileId:c,id:u,impressions:p,clicks:m,blockVariant:h,unoptimized:b,size:g="sm",buttonMode:f,backgroundVariant:v,isDesktop:k}=e,w=(0,_.A)();return(0,l.Y)(C.az,{width:"full",as:"section",children:(0,l.Y)(E.B,{spacing:"1em",children:s()(i,(e,i)=>{var s,y,A;let Y=null==t?void 0:t[e.linkId];d&&e["linkId-editor"]&&(Y=e["linkId-editor"]);let I=(0,F.A)(n),C=(0,l.Y)(L.A,{icon:e.icon,image:e.image,withImage:(0,F.A)(o),href:!a&&((null==Y?void 0:Y.mode)==="internal"?null==Y?void 0:Y.url:(0,x.A)(null==Y?void 0:Y.url)),isRef:null==Y?void 0:Y.isRef,isExternal:d||(null==Y?void 0:Y.mode)!=="internal",fill:r,id:null!==(s=e.itemId)&&void 0!==s?s:e.id,linkId:e.linkId,blockId:u,profileId:c,shouldCollect:!d&&!a,blockVariant:h,isPreview:d,isEditing:a,description:I&&e.description,withDesc:I,animation:e.animation,unoptimized:b,size:g,buttonMode:f,backgroundVariant:v,isDesktop:k,children:e.text||a&&!e.description&&w.formatMessage({defaultMessage:"點擊編輯文字",id:"admin.shared.blocks_list.點擊編輯文字"})},i);return e.text||!I||e.description||d||a?a?(0,l.Y)(W,{linkId:e.linkId,blockId:u,profileId:c,itemId:null!==(y=e.itemId)&&void 0!==y?y:e.id,impressions:p,clicks:m,children:C},null!==(A=e.id)&&void 0!==A?A:i):C:null})})})};G.propTypes={items:D().arrayOf(D().shape({id:D().oneOfType([D().string,D().number]),text:D().string,icon:D().string,linkId:D().string,itemId:D().oneOfType([D().string,D().number])}))};var H=t(53935);let N=o()(()=>Promise.all([t.e(59324),t.e(56126),t.e(73262)]).then(t.bind(t,56126)),{loadableGenerated:{webpack:()=>[56126]}}),j=o()(()=>t.e(22384).then(t.bind(t,22384)),{loadableGenerated:{webpack:()=>[22384]}}),q=o()(()=>Promise.all([t.e(90715),t.e(21089)]).then(t.bind(t,21089)),{loadableGenerated:{webpack:()=>[21089]}}),V=o()(()=>Promise.all([t.e(19883),t.e(28505),t.e(43465),t.e(69735),t.e(53958),t.e(92535),t.e(63596),t.e(65354),t.e(42419),t.e(92893),t.e(80971),t.e(97042),t.e(37500),t.e(46661),t.e(87627),t.e(20821),t.e(31833),t.e(64065),t.e(99624),t.e(96323),t.e(77381),t.e(90585),t.e(47533),t.e(5244),t.e(85701),t.e(57716),t.e(71511),t.e(59324),t.e(87583),t.e(66428),t.e(10907),t.e(94708),t.e(82122),t.e(46438),t.e(71086),t.e(24005),t.e(95005),t.e(87260),t.e(64190),t.e(43184),t.e(70789),t.e(92556),t.e(65581),t.e(62919),t.e(72982),t.e(41898)]).then(t.bind(t,25007)),{loadableGenerated:{webpack:()=>[25007]}}),Q=o()(()=>Promise.all([t.e(97925),t.e(59324),t.e(72100),t.e(25864)]).then(t.bind(t,25864)),{loadableGenerated:{webpack:()=>[25864]}}),Z=o()(()=>Promise.all([t.e(43465),t.e(87583),t.e(2555)]).then(t.bind(t,2555)),{loadableGenerated:{webpack:()=>[2555]}}),K=o()(()=>Promise.all([t.e(19883),t.e(28505),t.e(42419),t.e(64065),t.e(99624),t.e(59324),t.e(51291),t.e(54994)]).then(t.bind(t,54994)),{loadableGenerated:{webpack:()=>[54994]}}),X=o()(()=>Promise.all([t.e(19883),t.e(28505),t.e(69735),t.e(92535),t.e(64065),t.e(99624),t.e(5244),t.e(85701),t.e(59324),t.e(88605),t.e(95005),t.e(56126),t.e(1306)]).then(t.bind(t,95506)),{loadableGenerated:{webpack:()=>[95506]}}),J=o()(()=>Promise.all([t.e(37500),t.e(77381),t.e(59324),t.e(97508)]).then(t.bind(t,97508)),{loadableGenerated:{webpack:()=>[97508]}}),U={list:G,square:Y.A,double:e=>(0,l.Y)(Y.A,{perRow:2,sizes:"(max-width: 768px) 50vw, 360px",...e}),doubleSquare:e=>(0,l.Y)(Y.A,{perRow:2,sizes:"(max-width: 768px) 50vw, 360px",...e}),collection:e=>{let{items:i,isEditing:t,isPreview:r,links:o,profileId:n,impressions:d,clicks:c,id:p="",blockVariant:m,statsRef:h,profileName:g}=e,[f]=p.split("."),v=u()(i)>1,x=s()(i,(e,i)=>e?(0,l.Y)(A,{item:e,isEditing:t,isPreview:r,links:o,isList:v,id:f,profileId:n,impressions:d,clicks:c,blockVariant:m,statsRef:h,profileName:g},i):null);return(0,l.Y)(a.Box,{w:"full",as:"section",children:v?(0,l.Y)(b.A,{ratio:1,dotInside:!0,children:x}):x})},notion:Q,grid:e=>{let{items:i,links:t,variant:r,ratio:o=1,perRow:n=4,isPreview:a,isEditing:d,id:c,profileId:u,profileName:m,impressions:h,clicks:b,blockVariant:g,priority:f}=e,v=(0,p.useMemo)(()=>M(n),[n]);return(0,l.Y)(C.az,{width:"full",as:"section",children:(0,l.Y)(S.s,{flexWrap:"wrap",m:"-1",justifyContent:"center",children:s()(i,(e,i)=>{var s,p;let{image:x,alt:k,linkId:w,label:y,...A}=e,Y=(0,l.Y)(R,{src:x,alt:k,data:a&&A["linkId-editor"]||(null==t?void 0:t[w]),isEditing:d,isPreview:a,ratio:o,blockId:c,profileId:u,profileName:m,linkId:w,variant:r,label:y,id:null!==(s=A.itemId)&&void 0!==s?s:A.id,blockVariant:g,sizes:v,priority:f});return(0,l.Y)(C.az,{width:"".concat(100/n,"%"),p:"4",sx:{"& > span":{display:"block"}},children:d?(0,l.Y)(T,{linkId:A.linkId,blockId:c,profileId:u,itemId:null!==(p=A.itemId)&&void 0!==p?p:A.id,impressions:h,clicks:b,compact:!0,direction:"column",children:Y}):Y},i)})})})},banner:e=>(0,l.Y)(Y.A,{ratio:2,sizes:"(max-width: 768px) 100vw, 720px",...e}),player:N,audio:N,title:e=>{let{text:i,color:t,align:r="center",size:o="md",styles:n=[],textOptions:d,richText:c,headerFill:u,isPreview:p,isEditing:m}=e,h=s()(n),b=(0,H.A)(t),g=(0,_.A)(),f="text"===d||void 0===d,v="transparent"===u,{borderRadiusStyles:x}=(0,a.useTheme)();return(0,l.Y)(a.Heading,{fontFamily:"inherit",textAlign:f&&r,color:f?b||"custom.primary":"blocks.text",size:f&&o,my:m&&4,fontWeight:f&&h.includes("bold")?"bold":"normal",fontStyle:f&&h.includes("italic")?"italic":"normal",textDecoration:f&&h.includes("underline")?"underline":"none",lineHeight:1.5,whiteSpace:"pre-wrap",children:f?(0,l.Y)(P.A,{children:i||(p||m)&&g.formatMessage({defaultMessage:"編輯標題文字",id:"admin.shared.Title.編輯標題文字"})}
1):(0,l.Y)(a.Box,{p:"3",px:"5",bg:!v&&"blocks.bg",boxShadow:!v&&"sm",borderRadius:null==x?void 0:x.outer,zIndex:-1,children:(0,l.Y)(k.A,{children:c||(p||m)&&g.formatMessage({defaultMessage:"編輯段落文字",id:"admin.shared.Title.編輯段落文字"})})})})},divider:e=>{let{variant:i="solid",color:t="custom.primary",borderWidth:r="2px",isEditing:o}=e,n="square"===i;return(0,l.Y)(a.Box,{my:o&&4,w:n?"97%":"full",borderBottom:"".concat(r," ").concat(i),border:n&&"".concat(r," solid"),borderColor:n&&t,h:n&&"0.5em",borderBottomColor:t,boxSizing:"content-box"})},"mailing-list":X,integrations:j,businessCard:Z,youtube:N,vimeo:N,tiktok:N,twitch:N,spotify:N,applePodcast:N,twitter:j,instagram:j,kofi:j,patreon:j,coffee:j,gumroad:j,figma:j,github:j,behance:j,fanbox:j,teachify:j,webtoon:j,gCalendar:j,calendly:j,contact:G,support:G,pages:G,"google-ads":n.A,products:V,profit:K,comments:J,limitedTimeEvent:q}},71884:(e,i,t)=>{t.d(i,{A:()=>s});var l=t(55378),r=t.n(l),o=t(58156),n=t.n(o),a=t(56449),d=t.n(a);function s(e,i){return e?(d()(e)?e:r()(e)).reduce((e,t,l)=>(e[void 0===i?l:n()(t,i)]={...t,originalIndex:l},e),{}):{}}},53935:(e,i,t)=>{t.d(i,{A:()=>o});var l=t(55828),r=t(49115);let o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(null==e?void 0:e.startsWith("#"))return e;let[i,t]=e.split("."),o=t?{base:r.A.colors[i][t][400]}:l.A[e];return(i=>{let t=null==o?void 0:o[i];return"number"==typeof t?r.A.colors[e][t]:t})("base")}}}]);

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.