PageSourceSearch

https://medspablueprint.ai/assets/applicability-U9oeH6y6.js

js medspablueprint.ai collected 2026-10-05 14:32:01 UTC 3,594 bytes, 1 lines download raw bytes

1var e=[`all`,`facial_skin`,`facial_structural`,`nose`,`ear`,`brow`,`hand`,`hair`,`body`,`breast`,`buttocks`,`intimate_health`,`surgical`,`wellness`,`dental`,`other`],t=new Set(e);function n(e){return typeof e==`string`&&t.has(e)}function r(e){if(!Array.isArray(e))return[];let t=[];for(let r of e)n(r)&&!t.includes(r)&&t.push(r);return t}var i={all:`Every treatment`,facial_skin:`Facial skin`,facial_structural:`Face shape & injectables`,nose:`Nose`,ear:`Ears`,brow:`Brows`,hand:`Hands`,hair:`Hair`,body:`Body`,breast:`Breast`,buttocks:`Buttocks`,intimate_health:`Intimate health`,surgical:`Surgery`,wellness:`Wellness`,dental:`Dental`,other:`Other`},a=[{category:null,assessment_profile:`full_facial_skin`,tags:[`facial_skin`]},{category:null,assessment_profile:`facial_structural`,tags:[`facial_structural`]},{category:null,assessment_profile:`body_zone`,tags:[`body`]},{category:null,assessment_profile:`none`,tags:[`other`]},{category:`Skin`,assessment_profile:null,tags:[`facial_skin`]},{category:`Injectable`,assessment_profile:null,tags:[`facial_structural`]},{category:`Surgical`,assessment_profile:null,tags:[`surgical`]},{category:`Body`,assessment_profile:null,tags:[`body`]},{category:`Surgical / Face`,assessment_profile:null,tags:[`facial_structural`,`surgical`]},{category:`Surgical / Body`,assessment_profile:null,tags:[`body`,`surgical`]},{category:`Surgical / Breast`,assessment_profile:null,tags:[`body`,`breast`,`surgical`]},{category:`Body / Contouring`,assessment_profile:null,tags:[`body`]},{category:`Wellness`,assessment_profile:null,tags:[`wellness`]},{category:`Dental`,assessment_profile:null,tags:[`dental`]},{category:`Hair`,assessment_profile:null,tags:[`hair`]},{category:`Brows`,assessment_profile:null,tags:[`brow`]},{category:`Intimate Health`,assessment_profile:null,tags:[`intimate_health`]},{category:`Breast`,assessment_profile:null,tags:[`body`,`breast`]},{category:`Skin / Lesion & Removal`,assessment_profile:`body_zone`,tags:[`body`]},{category:`Skin / Resurfacing`,assessment_profile:`body_zone`,tags:[`body`]},{category:`Injectable / Regenerative`,assessment_profile:`body_zone`,tags:[`body`]},{category:`Injectable / Dermal Filler`,assessment_profile:`body_zone`,tags:[`body`]},{category:`Injectable / PDO Threads`,assessment_profile:`body_zone`,tags:[`body`]},{category:`Injectable / Fat Reduction`,assessment_profile:`body_zone`,tags:[`body`]},{category:`Skin / Lesion & Removal`,assessment_profile:`none`,tags:[`other`]},{category:`Surgical / Face`,assessment_profile:`none`,tags:[`facial_structural`,`surgical`]}],o=4,s=1,c=2,l=[`surgical`];function u(e,t){if(!e)return 0;let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return!n||!r?0:n===r?o:r.startsWith(`${n} /`)?s:0}function d(e,t,n){let r=-1,i=-1/0,a=[];for(let o of n){let n=u(o.category,e);if(o.category&&n===0||!(!o.assessment_profile||o.assessment_profile===t))continue;let s=n+(o.assessment_profile?c:0),l=o.priority??0;if((s>r||s===r&&l>i)&&(r=s,i=l,a.length=0),s===r&&l===i)for(let e of o.tags)a.includes(e)||a.push(e)}return a}function f(e,t=a){if(!e)return[];let n=d(typeof e.category==`string`?e.category:``,typeof e.assessment_profile==`string`?e.assessment_profile:``,t),i=r(e.applicability_tags);if(i.length>0){let e=[...i];for(let t of l)n.includes(t)&&!e.includes(t)&&e.push(t);return e}return n.length>0?n:[`other`]}function p(e,t,n){if(e.treatment_id)return e.treatment_id===t;let i=r(e.applies_to);return i.length===0||i.includes(`all`)?!0:i.some(e=>n.includes(e))}function m(e,t,n,r=a){let i=f(t,r);return e.filter(e=>p(e,n,i))}export{f as i,i as n,m as r,e as t};

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.