1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49],{55533:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>l});var n=t(37876),a=t(14232),r=t(84014);let l=({enabled:e,maxLength:s,value:t,onChange:l})=>{let[o,i]=(0,a.useState)(!1),c=(0,r.A)();return e?(0,n.jsxs)("div",{children:[(0,n.jsxs)("button",{onClick:()=>i(e=>!e),className:"flex w-full justify-between items-center",children:[(0,n.jsxs)("span",{className:"text-sm font-bold",children:[c("egift.personal-message.title"),(0,n.jsx)("span",{className:"font-normal opacity-60 ml-1",children:c("egift.personal-message.optional")})]}),(0,n.jsx)("svg",{className:`w-4 h-4 text-base-content/60 transition-transform duration-200 flex-shrink-0 ${o?"rotate-180":""}`,fill:"none",stroke:"currentColor",strokeWidth:2.5,viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),o&&(0,n.jsxs)("div",{className:"mt-3",children:[(0,n.jsx)("textarea",{value:t,onChange:e=>l(e.target.value),maxLength:s,rows:3,placeholder:c("egift.personal-message.placeholder"),className:"w-full rounded-[0.75rem] bg-base-200 border-none focus:ring-2 focus:ring-primary text-sm p-4 placeholder:text-base-content/40 resize-none"}),(0,n.jsxs)("p",{className:"text-right text-xs text-base-content/50 mt-1",children:[s-t.length," ",c("egift.personal-message.chars-remaining")]})]})]}):null}},76138:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/gifting/components/PersonalMessage",function(){return t(55533)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=76138)),_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.