1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33592],{533:(e,r,l)=>{l.d(r,{ZB:()=>o,g4:()=>i,oM:()=>n,qR:()=>s});var a=l(47115),t=l(3736);function n(e){var r,l;return null!=(l=null!=(r=e.client_id)?r:e.user_id)?l:null}function i(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function s(e){var r,l,a;return{service_type_slug:null!=(r=e.service_type_slug)?r:null,service_subtype_slug:null!=(l=e.service_subtype_slug)?l:null,service_payload:null!=(a=e.service_payload)?a:null,service:void 0!==e.service_display_color&&null!==e.service_display_color?{display_color:e.service_display_color}:null}}function o(e){var r,l,n,i;let s=(i=e.service_type_slug,(0,t.P_)(i)?i:"tattoo"),o=(null==(r=e.service_subtype_slug)?void 0:r.trim())||null,c=(0,a.g1)({slug:s,subtype:o,payload:e.service_payload}),d=(0,a.z4)(s);return{serviceTypeSlug:s,serviceSubtypeSlug:o,primaryServiceLabel:d,secondaryServiceLabel:c===d?null:c,summaryLine:c,displayColor:null!=(n=null==(l=e.service)?void 0:l.display_color)?n:null}}},50859:(e,r,l)=>{l.d(r,{A:()=>a});let a=(0,l(71847).A)("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},65521:(e,r,l)=>{l.d(r,{o:()=>s});var a=l(95155),t=l(20017),n=l(7220),i=l(35235);function s(e){let{items:r,ariaLabel:l,triggerClassName:s="",testId:o}=e;return(0,a.jsxs)(n.rI,{children:[(0,a.jsx)(n.ty,{asChild:!0,children:(0,a.jsx)("button",{type:"button",className:"flex min-h-[44px] min-w-[44px] items-center justify-center rounded-lg border border-gray-300 bg-white p-2 text-gray-700 hover:bg-gray-50 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 ".concat(s),"aria-label":l,"data-testid":o,children:(0,a.jsx)(t.A,{className:"".concat(i.xuV," shrink-0 pointer-events-none"),"aria-hidden":"true"})})}),(0,a.jsx)(n.SQ,{align:"end",children:r.map((e,r)=>"type"in e&&"separator"===e.type?(0,a.jsx)("div",{className:"my-1 h-px bg-gray-200 dark:bg-gray-700"},"separator-".concat(r)):(0,a.jsxs)(n._2,{onClick:e.onClick,disabled:e.disabled,"aria-label":e.ariaLabel,"data-testid":e.testId,className:"flex items-center gap-2 ".concat(e.isDestructive?"text-error-600 hover:bg-error-50 hover:text-error-700 dark:text-error-500 dark:hover:bg-error-950/20 dark:hover:text-error-400":""," ").concat(e.disabled?"cursor-not-allowed opacity-50":""),children:[e.icon&&(0,a.jsx)("span",{className:"shrink-0",children:e.icon}),(0,a.jsx)("span",{children:e.label})]},"".concat(e.label,"-").concat(r)))})]})}},99578:(e,r,l)=>{l.d(r,{m:()=>m});var a=l(95155),t=l(85151),n=l(90516),i=l(92423),s=l(91861),o=l(93775),c=l(47115),d=l(10233),u=l(3736),p=l(25016);let y={menuItemId:"Menu item",description:"Description"},b=Object.fromEntries(u.Ui.map(e=>[e,Object.fromEntries(d.p[e].map(e=>[e.key,e.label]))])),v=[{key:"placement",label:"Placement"},{key:"size",label:"Size"},{key:"style",label:"Style"},{key:"color_scheme",label:"Color scheme"}];function g(e){return null==e||""===e}function m(e){let{serviceTypeSlug:r,servicePayload:l,legacyTattooFields:d,fieldLabels:u,className:m}=e,h=null!=r?r:"tattoo",_=(0,c.z4)(h),f="tattoo"===h?v.map(e=>{var r,a;let{key:t,label:n}=e,i=null!=(r=null==d?void 0:d[t])?r:function(e,r){if(!(null===e||"object"!=typeof e||Array.isArray(e))&&Object.hasOwn(e,r))return e[r]}(l,t);return{key:t,label:null!=(a=null==u?void 0:u[t])?a:n,value:"size"===t&&"string"==typeof i?(0,o.J1)(i):i}}):null===l||"object"!=typeof l||Array.isArray(l)?[]:Object.entries(l).map(e=>{var r,l;let[a,t]=e;return{key:a,label:(null==u?void 0:u[a])?u[a]:null!=(l=null!=(r=b[h][a])?r:y[a])?l:function(e){let r=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().toLowerCase();return r.length>0?r.charAt(0).toUpperCase()+r.slice(1):e}(a),value:t}});return 0===f.length?(0,a.jsx)("p",{className:(0,p.cn)(t.e2,n.Vo,m),children:"No service details captured"}):(0,a.jsx)("dl",{role:"group","aria-label":"".concat(_," service details"),className:(0,p.cn)(t.e2,"divide-y divide-gray-200 dark:divide-gray-700",m),children:f.map(e=>{let r=g(e.value);return(0,a.jsxs)("div",{className:"grid grid-cols-2 items-baseline gap-4 py-2 first:pt-0 last:pb-0",children:[(0,a.jsx)("dt",{className:(0,p.cn)(i.mz,"min-w-0 break-words"),children:e.label}),(0,a.jsx)("dd",{className:(0,p.cn)("min-w-0 break-words text-right text-sm font-semibold",r?s.Uo:n.JC),children:function e(r){return g(r)?"N
1ot specified":"boolean"==typeof r?r?"Yes":"No":"string"==typeof r||"number"==typeof r?String(r):Array.isArray(r)?r.map(r=>e(r)).join(", "):JSON.stringify(r)}(e.value)})]},e.key)})})}}}]);
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.