LWR.define('@view/home/labels', [], function() { return ["Minimize chat window","Close chat window","End conversation","Chat","Hello, ask me anything.","Transferring...","Transfer canceled","New participant","Participant left","Conversation ended","Minimize the chat window","Close the message window","Confirm {0}","Open messaging menu","Close messaging menu","Request Chat Transcript","Start Conversation","Use a valid email format.","This field is required.","None","I accept","Loading...","Today","You ended the conversation at","{0} joined","{0} left","Sent","Delivered","Read","This conversation ended. Close the chat window and start a new one.","sent {0} at {1}","Select a menu item","Placeholder","Transfer requested at","Transfer request failed at","Wait and try later.","Select a quick reply","{0} is typing...","Bot is responding...","Not sent","Loading new messages...","Loading...","Agents are not available. Try again later.","{0} says...","Resend","We\u0027re connecting you to an agent. Your estimated wait time is {0} minute.","We\u0027re connecting you to an agent. Your estimated wait time is {0} minutes.","Yesterday","$Label.EmbeddedMessagingConversationState.ReconnectInProgress does not exist.","$Label.EmbeddedMessagingConversationState.ReconnectInProgressAssistiveText does not exist.","{0} sent an unsupported message type.","9+","Scroll the latest messages into view.","Scroll the latest messages into view ({0} unread).","Scroll the latest messages into view (9+ unread).","Attach file","Attach icon","Sending file...","Download file","Download-arrow icon","Add up to 5 attachments.","Unsupported file type: {0}. Try again.","These files exceed the {1} MB limit: {0}. Try again.","Attached files","Don\u0027t send file {0}","The attachment is in preview until you press send the Send Message icon.","Type your message...","Start a new chat...","Send message","Press enter to send","Send message","Insert emoji","Emoji keyboard","Chat message","If you navigate, you may lose your chat session.","Expand the chat window","Close the chat notification","Got it","Chat Ended","Participant joined","Participant left","New message","New messages","Session ended. Start a new chat...","Transfer requested","Transfer canceled","Expand the text","Expand the message window","Reconnecting...","Open Secure Form","Secure Form is unavailable","Submitting form…","We couldn\u0027t submit the form.","Form was submitted.","Select one","Select all that apply","Select a date","Enter text","Enter a value.","Enter the correct input format.","Next","Back","Submit","Secure Forms Progress Bar","Next button in unavailable","Back button is unavailable","Submit button is unavailable","Leave this form?","After leaving the form, you can open it again in the messaging window. However, your progress isn\u0027t saved.","Leave Form","Stay on Form","Select a value.","Chat with an Agent","Enlarged image preview","Close window","Downloading chat transcript...","Transcript was downloaded.","Something went wrong.","Close","Post-Chat URL","Post-Chat Page","Back to chat","Back to chat","Leave current page?","After you leave this page, you can\u0027t return to it.","Yes, Leave Page","Cancel","Previous","Next","Carousel of options","required","Select an Option","{0} Help Info","Help","Enter a valid value.","Enter a valid numeric value.","Invalid Format","The number is too high.","The number is too low.","Your entry isn\u0027t a valid increment.","Your entry is too long.","Your entry is too short.","You have entered an invalid format.","Complete this field.","You must select at least one choice from this set.","Selected Options:","Press delete or backspace to remove","Loading","Clear Selection","Choose a color. Current color: ","Active","Inactive","Clear","Loading","Increase number","Decrease number","Date","Value must be {0} or earlier.","Value must be {0} or later.","Time","Complete this field with format {0}.","{0} (Use format {1})","Your entry does not match the allowed format {0}.","Select a date after {0}","Select a date before {0}","Select a date between {0} and {1}","Select a date for {0}","Format: {0}","Format: ","Date picker: ","Next Month","Previous Month","Today","Pick a Year","None Selected","Cancel","Custom","Default","Done","B","Blue","Use arrow keys to select a saturation and brightness, on an x and y axis.","Enter a valid hexadecimal value.","G","Green","Hex","Select Hue","R","Red","Or drop files","Upload Files","Progress","Progress Bar","Activities","Jack-o-lantern","Christmas tree","Fireworks","Sparkler","Sparkles","Balloon","Party popper","Confetti ball","Tanabata tree","Pine decoration","Japanese dolls","Carp streamer","Wind chime","Moon-viewing ceremony","Ribbon","Wrapped gift","Ticket","Trophy","Soccer ball","Baseball","Basketball","American football","Rugby football","Tennis","Pool 8-ball","Bowling","Direct hit","Flag in hole","Fishing pole","Running shirt","Skis","Video game","Game die","Spade suit","Heart suit","Diamond suit","Club suit","Joker","Mahjong red dragon","Flower playing cards","Animals \u0026 Nature","Monkey face","Monkey","Dog face","Dog","Poodle","Wolf face","Cat face","Cat","Tiger face","Tiger","Leopard","Horse face","Horse","Cow face","Ox","Water buffalo","Cow","Pig face","Pig","Boar","Pig nose","Ram","Sheep","Goat","Camel","Two-hump camel","Elephant","Mouse face","Mouse","Rat","Hamster face","Rabbit face","Rabbit","Bear face","Koala","Panda face","Paw prints","Chicken","Rooster","Hatching chick","Baby chick","Front-facing baby chick","Bird","Penguin","Frog face","Crocodile","Turtle","Snake","Dragon face","Dragon","Spouting whale","Whale","Dolphin","Fish","Tropical fish","Blowfish","Octopus","Spiral shell","Snail","Bug","Ant","Honeybee","Lady beetle","Bouquet","Cherry blossom","White flower","Rose","Hibiscus","Sunflower","Blossom","Tulip","Seedling","Evergreen tree","Deciduous tree","Palm tree","Cactus","Sheaf of rice","Herb","Four-leaf clover","Maple leaf","Fallen leaf","Leaf fluttering in wind","Flags","Chequered flag","Triangular flag","Crossed flags","United Arab Emirates","Austria","Australia","Belgium","Brazil","Canada","Switzerland","Chile","China","Colombia","Germany","Denmark","Spain","Finland","France","United Kingdom","Hong Kong Sar China","Indonesia","Ireland","Israel","India","Italy","Japan","South Korea","Macau Sar China","Mexico","Malaysia","Netherlands","Norway","New Zealand","Philippines","Poland","Puerto Rico","Portugal","Russia","Saudi Arabia","Sweden","Singapore","Turkey","United States","Vietnam","South Africa","Food \u0026 Drink","Grapes","Melon","Watermelon","Tangerine","Lemon","Banana","Pineapple","Red apple","Green apple","Pear","Peach","Cherries","Strawberry","Tomato","Eggplant","Ear of corn","Mushroom","Chestnut","Bread","Meat on bone","Poultry leg","Hamburger","French fries","Pizza","Cooking","Pot of food","Bento box","Rice cracker","Rice ball","Cooked rice","Curry rice","Steaming bowl","Spaghetti","Roasted sweet potato","Oden","Sushi","Fried shrimp","Fish cake with swirl","Dango","Soft ice cream","Shaved ice","Ice cream","Doughnut","Cookie","Birthday cake","Shortcake","Chocolate bar","Candy","Lollipop","Custard","Honey pot","Baby bottle","Hot beverage","Teacup without handle","Sake","Wine glass","Cocktail glass","Tropical drink","Beer mug","Clinking beer mugs","Fork and knife","Kitchen knife","Objects","Muted speaker","Speaker low volume","Speaker medium volume","Speaker high volume","Loudspeaker","Megaphone","Postal horn","Bell","Bell with slash","Musical score","Musical note","Musical notes","Microphone","Headphone","Radio","Saxophone","Guitar","Musical keyboard","Trumpet","Violin","Mobile phone","Mobile phone with arrow","Telephone","Telephone receiver","Pager","Fax machine","Battery","Electric plug","Laptop computer","Computer disk","Floppy disk","Optical disk","Dvd","Movie camera","Clapper board","Television","Camera","Video camera","Videocassette","Left-pointing magnifying glass","Right-pointing magnifying glass","Microscope","Telescope","Satellite antenna","Light bulb","Flashlight","Red paper lantern","Notebook with decorative cover","Closed book","Open book","Green book","Blue book","Orange book","Books","Notebook","Ledger","Page with curl","Scroll","Page facing up","Newspaper","Bookmark tabs","Bookmark","Money bag","Yen banknote","Dollar banknote","Euro banknote","Pound banknote","Money with wings","Credit card","Chart increasing with yen","Currency exchange","Heavy dollar sign","Envelope","Email","Incoming envelope","Envelope with arrow","Outbox tray","Inbox tray","Package","Closed mailbox with raised flag","Closed mailbox with lowered flag","Open mailbox with raised flag","Open mailbox with lowered flag","Postbox","Pencil","Black nib","Memo","Briefcase","File folder","Open file folder","Calendar","Tear-off calendar","Card index","Chart increasing","Chart decreasing","Bar chart","Clipboard","Pushpin","Round pushpin","Paperclip","Straight ruler","Triangular ruler","Scissors","Locked","Unlocked","Locked with pen","Locked with key","Key","Hammer","Pistol","Wrench","Nut and bolt","Link","Syringe","Pill","Cigarette","Moai","Crystal ball","Smileys \u0026 People","Grinning face","Grinning face with smiling eyes","Face with tears of joy","Smiling face with open mouth","Smiling face with open mouth smiling eyes","Smiling face with open mouth cold sweat","Smiling face with open mouth closed eyes","Winking face","Smiling face with smiling eyes","Face savoring delicious food","Smiling face with sunglasses","Smiling face with heart eyes","Face blowing a kiss","Kissing face","Kissing face with smiling eyes","Kissing face with closed eyes","Slightly smiling face","Neutral face","Expressionless face","Face without mouth","Smirking face","Persevering face","Disappointed but relieved face","Face with open mouth","Hushed face","Sleepy face","Tired face","Sleeping face","Relieved face","Face with stuck out tongue","Face with stuck out tongue winking eye","Face with stuck out tongue closed eyes","Unamused face","Face with cold sweat","Pensive face","Confused face","Astonished face","Confounded face","Disappointed face","Worried face","Face with steam from nose","Crying face","Loudly crying face","Frowning face with open mouth","Anguished face","Fearful face","Weary face","Grimacing face","Face with open mouth cold sweat","Face screaming in fear","Flushed face","Dizzy face","Pouting face","Angry face","Smiling face with halo","Face with medical mask","Smiling face with horns","Angry face with horns","Ogre","Goblin","Skull","Ghost","Alien","Alien monster","Pile of poo","Smiling cat face with open mouth","Grinning cat face with smiling eyes","Cat face with tears of joy","Smiling cat face with heart eyes","Cat face with wry smile","Kissing cat face with closed eyes","Weary cat face","Crying cat face","Pouting cat face","See no evil monkey","Hear no evil monkey","Speak no evil monkey","Boy","Girl","Man","Woman","Old man","Old woman","Baby","Baby angel","Police officer","Guard","Construction worker","Person wearing turban","Blond haired person","Santa claus","Princess","Bride with veil","Man with Chinese cap","Person frowning","Person pouting","Person gesturing no","Person gesturing ok","Person tipping hand","Person raising hand","Person bowing","Person getting massage","Person getting haircut","Person walking","Person running","Woman dancing","People with bunny ears partying","Bust in silhouette","Busts in silhouette","Horse racing","Snowboarder","Person surfing","Person rowing boat","Person swimming","Person biking","Person mountain biking","Man and woman holding hands","Two men holding hands","Two women holding hands","Kiss","Couple with heart","Family","Flexed biceps","Backhand index pointing left","Backhand index pointing right","Index pointing up","Backhand index pointing up","Backhand index pointing down","Victory hand","Raised hand","Ok hand","Thumbs up","Thumbs down","Raised fist","Oncoming fist","Waving hand","Clapping hands","Open hands","Raising hands","Folded hands","Nail polish","Ear","Nose","Footprints","Eyes","Tongue","Mouth","Kiss mark","Heart with arrow","Red heart","Beating heart","Broken heart","Two hearts","Sparkling heart","Growing heart","Blue heart","Green heart","Yellow heart","Purple heart","Heart with ribbon","Revolving hearts","Heart decoration","Love letter","Zzz","Anger symbol","Bomb","Collision","Sweat droplets","Dashing away","Dizzy","Speech balloon","Thought balloon","Glasses","Necktie","Tee-shirt","Jeans","Dress","Kimono","Bikini","Woman\u0027s clothes","Purse","Handbag","Clutch bag","School backpack","Man\u0027s shoe","Running shoe","High-heeled shoe","Woman\u0027s boot","Woman\u0027s sandal","Crown","Woman\u0027s hat","Top hat","Graduation cap","Lipstick","Ring","Gemstone","Symbols","ATM sign","Litter in bin sign","Potable water","Wheelchair symbol","Men\u0027s room","Women\u0027s room","Restroom","Baby symbol","Water closet","Passport control","Customs","Baggage claim","Left luggage","Warning","Children crossing","No entry","Prohibited","No bicycles","No smoking","No littering","Non-potable water","No pedestrians","No mobile phones","No one under eighteen","Up arrow","Up right arrow","Right arrow","Down right arrow","Down arrow","Down left arrow","Left arrow","Up left arrow","Up down arrow","Left right arrow","Right arrow curving left","Left arrow curving right","Right arrow curving up","Right arrow curving down","Clockwise vertical arrows","Anticlockwise arrows button","Back arrow","End arrow","On arrow","Soon arrow","Top arrow","Dotted six-pointed star","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn","Aquarius","Pisces","Ophiuchus","Shuffle tracks button","Repeat button","Repeat single button","Play button","Fast-forward button","Reverse button","Fast-reverse button","Fast-up button","Down button","Fast-down button","Cinema","Dim button","Bright button","Antenna bars","Vibration mode","Mobile phone off","Recycling symbol","Name badge","Japanese symbol for beginner","Trident emblem","Heavy large circle","White heavy check mark","Ballot box with check","Heavy check mark","Heavy multiplication x","Cross mark","Cross mark button","Heavy plus sign","Heavy minus sign","Heavy division sign","Curly loop","Double curly loop","Part alternation mark","Eight-spoked asterisk","Eight pointed star","Sparkle","Double exclamation mark","Exclamation question mark","Question mark","White question mark","White exclamation mark","Exclamation mark","Wavy dash","Copyright","Registered","Trademark","Keycap","Keycap 0","Keycap 1","Keycap 2","Keycap 3","Keycap 4","Keycap 5","Keycap 6","Keycap 7","Keycap 8","Keycap 9","Keycap 10","Hundred points","Input latin uppercase","Input latin lowercase","Input numbers","Input symbols","Input latin letters","A button blood type","Ab button blood type","B button blood type","Cl button","Cool button","Free button","Information","Id button","Circled m","New button","Ng button","O button blood type","Ok button","P button","SOS button","Up button","Vs button","Japanese here button","Japanese service charge button","Japanese monthly amount button","Japanese not free of charge button","Japanese reserved button","Japanese bargain button","Japanese discount button","Japanese free of charge button","Japanese prohibited button","Japanese acceptable button","Japanese application button","Japanese passing grade button","Japanese vacancy button","Japanese congratulations button","Japanese secret button","Japanese open for business button","Japanese no vacancy button","Black small square","White small square","White medium square","Black medium square","White medium small square","Black medium small square","Black large square","White large square","Large orange diamond","Large blue diamond","Small orange diamond","Small blue diamond","Red triangle pointed up","Red triangle pointed down","Diamond with a dot","Radio button","Black square button","White square button","White circle","Black circle","Red circle","Blue circle","Travel \u0026 Places","Globe showing Europe Africa","Globe showing Americas","Globe showing Asia Australia","Globe with meridians","Map of Japan","Volcano","Mount Fuji","House","House with garden","Office building","Japanese post office","Post office","Hospital","Bank","Hotel","Love hotel","Convenience store","School","Department store","Factory","Japanese castle","Castle","Wedding","Tokyo tower","Statue of Liberty","Church","Fountain","Tent","Foggy","Night with stars","Sunrise over mountains","Sunrise","Cityscape at dusk","Sunset","Bridge at night","Hot springs","Milky Way","Carousel horse","Ferris wheel","Roller coaster","Barber pole","Circus tent","Performing arts","Artist palette","Slot machine","Locomotive","Railway car","High-speed train","High speed train with bullet nose","Train","Metro","Light rail","Station","Tram","Monorail","Mountain railway","Tram car","Bus","Oncoming bus","Trolleybus","Minibus","Ambulance","Fire engine","Police car","Oncoming police car","Taxi","Oncoming taxi","Automobile","Oncoming automobile","Sport utility vehicle","Delivery truck","Articulated lorry","Tractor","Bicycle","Bus stop","Fuel pump","Police car light","Horizontal traffic light","Vertical traffic light","Construction","Anchor","Sailboat","Speedboat","Ship","Airplane","Seat","Helicopter","Suspension railway","Mountain cableway","Aerial tramway","Rocket","Door","Toilet","Shower","Person taking bath","Bathtub","Hourglass","Hourglass with flowing sand","Watch","Alarm clock","Twelve o\u0027clock","Twelve thirty","One o\u0027clock","One thirty","Two\u0027o\u0027clock","Two\u0027thirty","Three o\u0027clock","Three thirty","Four o\u0027clock","Four thirty","Five o\u0027clock","Five thirty","Six o\u0027clock","Six thirty","Seven o\u0027clock","Seven thirty","Eight o\u0027clock","Eight thirty","Nine o\u0027clock","Nine thirty","Ten o\u0027clock","Ten thirty","Eleven o\u0027clock","Eleven thirty","New moon","Waxing crescent moon","First quarter moon","Waxing gibbous moon","Full moon","Waning gibbous moon","Last quarter moon","Waning crescent moon","Crescent moon","New moon face","First quarter moon with face","Last quarter moon with face","Sun","Full moon with face","Sun with face","White medium star","Glowing star","Shooting star","Cloud","Sun behind cloud","Cyclone","Rainbow","Closed umbrella","Umbrella with rain drops","High voltage","Snowflake","Snowman without snow","Fire","Droplet","Water wave"]; });(function() { LWR.define("experience/utilsInternal",["exports"],function(e){const t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=Function.prototype.toString,o=r.call(Object);function i(e){return"function"==typeof e}function c(e){return"object"==typeof e&&null!==e}function s(e){return i(e)||c(e)}function u(e){return t.call(e)}function a(e){if(!c(e)||"[object Object]"!==u(e))return!1;const t=Object.getPrototypeOf(Object(e));if(null===t)return!0;const s=n.call(t,"constructor")&&t.constructor;return i(s)&&s instanceof s&&r.call(s)===o}function l(e){return null==e}const f="#REF:$";function p(e,t){return e.localeCompare(t)}function y(e,t,n,r,o=f){if(!c(e))return e;const i=e;return n.has(i)?e:(n.set(i,o),Array.isArray(i)?i.map((e,i)=>{const c=`${o}[${String(i)}]`;return y(e,t,n,r,c)}):a(e)?Object.keys(e).sort(t).reduce((i,c)=>{const s=`${o}.${c}`;return i[c]=y(e[c],t,n,r,s),i},{}):e)}function d(e,t=[],n="#REF:$"){if(c(e)&&!Object.isFrozen(e)){const r=e;if("undefined"==typeof window&&!a(r)&&!Array.isArray(r)){const e=`unsupported type '${u(r)}' found at '${n}'`;t.push(new Error(e))}Object.freeze(r);for(const e of Object.keys(r))d(r[e],t,`${n}.${e}`)}const r=Object.create(null);return Object.defineProperty(r,"value",{enumerable:!0,value:e}),Object.defineProperty(r,"errors",{enumerable:!0,value:t}),r}const b=new WeakSet;function h(e,t){try{const n=Reflect.get(e,t);Reflect.defineProperty(e,t,{enumerable:!0,get:()=>"object"==typeof n&&null!==n?g(n):n})}catch{}}function g(e){if("object"!=typeof e||null===e||b.has(e))return e;if(b.add(e),Object.isFrozen(e)){const t=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));for(const[n,r]of Object.entries(e))Reflect.set(t,n,"object"==typeof r&&null!==r?g(r):r);return Object.freeze(t)}for(const t of Object.keys(e))h(e,t);return Object.freeze(e)}function m(e,t,n){const r=n=>String.prototype.split.call(t,n).filter(Boolean).reduce((e,t)=>null!=e?e[t]:e,e),o=r(/[,[\]]+?/)||r(/[,[\].]+?/);return void 0===o||o===e?n:o}function j(){const e=[],t=[],n=new WeakMap,r="#REF:$";function o(e,o){const i=String(e),s=n.get(this),u=s?s+(Array.isArray(this)?`[${i}]`:"."+i):Array.isArray(this)?`[${i}]`:i;if(!c(o)||o!==Object(o))return void 0===o?(t.push(u),"#REF:undefined"):o;const a=o;if(n.has(a)){const e=n.get(a);return e?`${r}${"["===e[0]?"":"."}${e}`:r}return n.set(a,u),a}return o.errors=()=>e,o.pathsUndefined=()=>t,o}function v(){const e=new Map,t="#REF:$";function n(t,n){const r=e.get(t);let o=t.substring(6);0===o.indexOf(".")&&(o=o.substring(1));const i=o?m(n,o):n;for(const e of r)e.value[e.key]=i;e.delete(t)}return function(r,o){if("string"==typeof o&&0===o.indexOf(t))return e.has(o)||e.set(o,[]),e.get(o).push({value:this,key:r}),o;if(!c(o)||o!==Object(o))return"string"==typeof o&&"#REF:undefined"===o?void 0:o;if(""===r){const t=this[""];for(const r of e.keys())n(r,t)}return o}}const O="#REF:$";function w(e,t,n,r,o=O){if(e===t)return!0;if(null==e||null==t||"object"!=typeof e||"object"!=typeof t)return e!=e&&t!=t;if(n.has(e))return n.get(e)===t;if(n.set(e,t),Array.isArray(e)){const i=e.length;if(!Array.isArray(t)||i!==t.length)return!1;for(let c=i;0!=c--;){const i=`${o}[${String(c)}]`;if(!w(e.at(c),t.at(c),n,r,i))return!1}return!0}if(a(e)){const i=Reflect.ownKeys(e),c=i.length;if(!a(t)||c!==Reflect.ownKeys(t).length)return!1;for(let s=c;0!=s--;){const c=i.at(s),u=`${o}.${String(c)}`;if(!Reflect.has(t,c)||!w(Reflect.get(e,c),Reflect.get(t,c),n,r,u))return!1}return!0}return!1}const A=function(){let e=0;return()=>i(crypto?.randomUUID)?crypto.randomUUID():i(crypto?.getRandomValues)?[1e7,1e3,4e3,8e3,1e11].join("-").replace(/[018]/g,e=>(Number(e)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>Number(e)/4).toString(16)):String(++e)}();const R=new WeakMap,$=new WeakMap,k=new WeakMap;function S(e){return!!R.has(e)&&(clearTimeout(R.get(e)),$.has(e)&&clearTimeout($.get(e)),R.delete(e),$.delete(e),k.delete(e),!0)}const P=Symbol(),F=["connect","disconnect","update"];function D(e,t){const n=Reflect.get(e,t),r={...e};Reflect.deleteProperty(r,t);return["function"==typeof n||void 0===n?n:()=>Boolean(n),r]}function E(e,t,n){let r=0;const o=[],i=[...e];for(;;){let e=0,c=!0;for(let o=r;o<i.length;o++){const s=t*e+i[o];i[o]=Math.floor(s/n),e=s%n,c&&(i[o]?c=!1:r=o)}if(o.unshift(e),c)return o}}const T="0123456789abcdefghijklmnopqrstuvwxyz",M=[...T].reduce((e,t,n)=>(e[t]=n,e),{});e.CONDITION=P,e.base36Decode=function(e){if(!e)return e;const t=E([...e].map(e=>{const t=M[e];if(void 0===t)throw new TypeError(`Invalid base 36 digit: ${e}`);return t}),36,256);return(new TextDecoder).decode(new Uint8Array(t))},e.base36Encode=function(e){return e?E((new TextEncoder).encode(e),256,36).map(e=>T[e]).join(""):e},e.baseConvert=E,e.circularRefReplacer=j,e.circularRefReviver=v,e.clearDebounceTimeout=S,e.createConditionalAdapter=function(e,t,n){const r=arguments.length;let o,c;if(r>2){if(void 0!==t&&!Array.isArray(t))throw new TypeError(`[utils] traps need to be an array; '${typeof t}' given`);if(void 0!==n&&!i(n))throw new TypeError(`[utils] callback needs to be a function; '${typeof n}' given`);o=t,c=n}else if(r>1){const e=Array.isArray(t),n=i(t);if(void 0!==t&&!e&&!n)throw new TypeError(`[utils] second parameter either needs to define traps via an array, or a callback function; '${typeof t}' given`);o=e?t:void 0,c=n?t:void 0}const s=Symbol(),u=Symbol();class a extends e{[u](e){const t=this[s].last??this[s].default;return t?.(e,this)??!0}constructor(...e){super(...e),this[s]={default:c,last:c};const t=this,n=new Set(Array.isArray(o)&&o.length>0?o.filter(e=>!F.includes(e)):[]);for(const e of n){const n=Reflect.get(this,e);i(n)&&Reflect.defineProperty(this,e,{enumerable:!0,writable:!1,configurable:!1,value:function(...r){if(t[u](e))return n?.apply(this,r)}})}}update(e,t){let n,r;if(Reflect.has(e,P)){const[o,i]=D(e,P);n=i,r=t,this[s].last=o}else if(t&&Reflect.has(t,"value")){const[o,i]=D(t.value,P);r={...t,value:i},n=e,this[s].last=o}else this[s].last=void 0,n=e,r=t;!Array.isArray(o)||Array.isArray(o)&&(0===o.length||o.includes("update"))?this[u]("update")&&super.update(n,r):super.update(n,r)}}return a.contextSchema={value:"required"},a},e.dateAdd=function(e,t){if(e instanceof Date){const n=new Date(e);return"number"==typeof t?.years&&n.setFullYear(n.getFullYear()+t.years),"number"==typeof t?.months&&n.setMonth(n.getMonth()+t.months),"number"==typeof t?.days&&n.setDate(n.getDate()+t.days),n}},e.dateSubtract=function(e,t){if(e instanceof Date){const n=new Date(e);return"number"==typeof t?.years&&n.setFullYear(n.getFullYear()-t.years),"number"==typeof t?.months&&n.setMonth(n.getMonth()-t.months),"number"==typeof t?.days&&n.setDate(n.getDate()-t.days),n}},e.debounce=function(e,t=0){let n,r,o=[];function i(){const{promise:t,resolve:c,reject:s}=n;if(k.has(t)){const e=setTimeout(i.bind(this),k.get(t));return $.set(t,e),void k.delete(t)}const u=o;r=void 0,o=[];try{const r=e.apply(this,u[u.length-1]);Promise.resolve(r).then(c,s).finally(()=>{n=void 0,R.delete(t),$.delete(t),k.delete(t)})}catch(e){s(e)}}return function(...e){n?S(n.promise):n=function(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}(),o.push(e),r=setTimeout(i.bind(this),t);const{promise:c}=n;return R.set(c,r),c}},e.deepClone=function(e){const t=(e,t)=>{const n=Object.create(null);return Object.defineProperty(n,"value",{enumerable:!0,value:e}),Object.defineProperty(n,"errors",{enumerable:!0,value:t}),n};if(!s(e))return t("symbol"==typeof e?Symbol.prototype.valueOf.call(e):e,[]);const n=j(),r=JSON.parse(JSON.stringify(e,n),v()),o=n.pathsUndefined();for(const e of o){e.split(".").reduce((e,t)=>{if(a(e))return!Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=void 0),e[t]},r)}return t(r,n.errors())},e.deepEqual=function(e,t){const n=[],r=w(e,t,new WeakMap,n),o=Object.create(null);return Object.defineProperty(o,"value",{enumerable:!0,value:r}),Object.defineProperty(o,"errors",{enumerable:!0,value:n}),o},e.deepFreeze=function(e){return d(e)},e.deepSort=function(e,t){const n=new WeakMap,r=[],o=y(e,i(t)?t:p,n,r),c=Object.create(null);return Object.defineProperty(c,"value",{enumerable:!0,value:o}),Object.defineProperty(c,"errors",{enumerable:!0,value:r}),c},e.empty=function(e){if(Array.isArray(e))return 0===e.length;switch(typeof e){case"string":return""===e.toString();case"boolean":case"number":case"function":return!1;case"object":return 0===Object.keys(e??{}).length;default:return null==e}},e.extendDebouncedTimeout=function(e,t=0){return!!R.has(e)&&(k.set(e,t),!0)},e.get=m,e.getCookie=function(e){return globalThis.document?.cookie.split(";").map(e=>e.trim().split("=")).filter(([t])=>t.startsWith(e)).map(([,e])=>e)[0]},e.getObjectTag=u,e.isBlank=function(e){return l(e)||"string"!=typeof e||0===e.trim().length},e.isFunction=i,e.isInteger=e=>Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.isNil=l,e.isObject=s,e.isObjectLike=c,e.isPlainObject=a,e.isPromiseLike=function(e){return c(e)&&"function"==typeof e.then},e.readonly=g,e.uuidValidate=function(e){return"string"==typeof e&&/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test(e)},e.uuidv4=A,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("experience/utils",["exports","experience/utilsInternal"],function(e,t){Object.defineProperty(e,"clearDebounceTimeout",{enumerable:!0,get:function(){return t.clearDebounceTimeout}}),Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return t.debounce}}),Object.defineProperty(e,"empty",{enumerable:!0,get:function(){return t.empty}}),Object.defineProperty(e,"extendDebouncedTimeout",{enumerable:!0,get:function(){return t.extendDebouncedTimeout}}),Object.defineProperty(e,"get",{enumerable:!0,get:function(){return t.get}}),Object.defineProperty(e,"getObjectTag",{enumerable:!0,get:function(){return t.getObjectTag}}),Object.defineProperty(e,"isBlank",{enumerable:!0,get:function(){return t.isBlank}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return t.isFunction}}),Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return t.isInteger}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return t.isNil}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return t.isObject}}),Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return t.isObjectLike}}),Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return t.isPlainObject}}),Object.defineProperty(e,"isPromiseLike",{enumerable:!0,get:function(){return t.isPromiseLike}}),Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("experience/dataProvider",["exports","lwc","experience/dataLayerObject","experience/utils"],function(e,t,r,n){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(r);const s=[];function c(e,t,r,n){const{k:o,c:c,i:i,s:d,f:l}=e;return l([t.hasDataLayerObjects?i(t.dataLayerObjects,function(e){return c("experience-data-layer-object",a.default,{props:{scriptDataAttributes:e.attributes,customObject:e.customObject},key:o(0,e.id)})}):s,d("",{key:1,slotData:t.dataProxyContext},s,r)])}var i=t.registerTemplate(c);c.slots=[""],c.renderMode="light",c.stylesheets=[],c.stylesheetToken="lwc-1cva0bnnf5d",c.legacyStylesheetToken="experience-dataProvider_dataProvider",t.freezeTemplate(c);const d="sfdc__dataprovider_action";class l extends CustomEvent{constructor(e,t,r){const o={onSuccess:n.isFunction(r)?r:n.isPlainObject(r)&&n.isFunction(r.onSuccess)?r.onSuccess:void 0,onError:n.isFunction(r)?r:n.isPlainObject(r)&&n.isFunction(r.onError)?r.onError:void 0};super(d,{bubbles:!0,cancelable:!0,composed:!0,detail:{type:e,payload:t,options:o}})}}const u=new WeakMap;function f(e){return function e(t){if(n.isFunction(t)&&t.constructor===D.constructor)return!0;const r=null!=t?Object.getPrototypeOf(t):null;return null!=r&&e(r)}(e)}function p(e){return function(e){const t=[];return function e(r,n){n&&t.push(r);const o=null!=r?Object.getPrototypeOf(r):null;f(o)&&e(o,!0)}(e,f(e)),t.reverse()}(e).reduce((e,t)=>{if(u.has(t)){const r=u.get(t);return{...e,...r}}return e},{})}const h=Symbol("handleDataProviderActionEventField"),v=Symbol("handleDataProviderActionEvent"),y=Symbol(),b=Symbol();class g extends t.LightningElement{wireConnectedState({connected:e}){e?this.addEventListener(d,this[h]):this.removeEventListener(d,this[h])}get sfdcData(){return this._sfdcData}set sfdcData(e){this._sfdcData=e}get dataProxyContext(){return{[y]:this.getData(),[b]:this}}hasData(e){return!0}updateComponents(){}getData(){return this.sfdcData}get hasDataLayerObjects(){return!!this.dataLayerObjects&&this.dataLayerObjects.length>0}constructor(){super(),this[h]=this[v].bind(this),this.sfdcFields=[],this.sfdcIsPreviewMode=!1,this.sfdcType=void 0,this.sfdcExpressionKey=void 0,this.sfdcIsViewLevelDataProvider=!1,this.generatedTemplate=void 0,this._sfdcData=void 0,this.dataLayerObjects=void 0,this._sfdcData={}}[v](e){if(e.defaultPrevented)return;const{detail:t,target:r}=e,{type:o,payload:a,options:s}=t,c=p(Object.getPrototypeOf(this).constructor);if(Reflect.has(c,o)){e.preventDefault(),e.stopPropagation();const t=n.isFunction(s.onSuccess),i=n.isFunction(s.onError);try{const e=c[o].call(this,a,this,r);e instanceof Promise?e.then(e=>(t&&s.onSuccess?.call(void 0,e,!0),e),e=>{i&&s.onError?.call(void 0,e,!1)}):t&&s.onSuccess?.call(void 0,e,!0)}catch(e){i&&s.onError?.call(void 0,e,!1)}}}}g.renderMode="light",g.preloadData=void 0,t.registerDecorators(g,{publicProps:{sfdcFields:{config:0},sfdcIsPreviewMode:{config:0},sfdcType:{config:0},sfdcExpressionKey:{config:0},sfdcIsViewLevelDataProvider:{config:0},generatedTemplate:{config:0},sfdcData:{config:3}},publicMethods:["hasData","updateComponents","getData"],track:{_sfdcData:1},wire:{wireConnectedState:{adapter:class{constructor(e){this.dataCallback=e}update(){}connect(){this.dataCallback({connected:!0})}disconnect(){this.dataCallback({connected:!1})}},method:1,config:function(e){return{}}}},fields:["dataLayerObjects"]});const D=t.registerComponent(g,{tmpl:i,sel:"experience-data-provider",apiVersion:62});e.DataProviderActionEvent=l,e.SFDC_DATA_ATTRIBUTE=y,e.SFDC_PROVIDER_ATTRIBUTE=b,e.default=D,e.registerAction=function(e,t,r){if(!f(e))throw new TypeError("[dataProvider] parameter 'ctor' needs to be a DataProvider constructor");if("string"!=typeof t)throw new TypeError("[dataProvider] parameter 'type' needs to be a string");if(!n.isFunction(r))throw new TypeError("[dataProvider] parameter 'handler' needs to be a function");u.has(e)||u.set(e,{});const o=u.get(e);if(Reflect.has(o,t))throw new TypeError(`[dataProvider] a handler has already been registered for action type '${t}'`);o[t]=r},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("dxp_data_provider/dataProxy",["exports","lwc","experience/dataProvider"],function(t,e,a){class r extends e.LightningElement{constructor(...t){super(...t),this.routerContainerView=void 0,this.routeParams=void 0,this.attributes={},this._sfdcData=void 0,this.generated=void 0,this.html=void 0}get generatedTemplate(){return this.generated}set generatedTemplate(t){this.generated=t,this.html=t.html,this.attributes=this.evaluateAttributes(t.attributes),this.updateComponents()}get sfdcData(){return this._sfdcData}set sfdcData(t){this._sfdcData=t,this.updateComponents()}hasData(t){return function(t,e){return t?.[a.SFDC_PROVIDER_ATTRIBUTE]?.hasData?.(e)??!0}(this.sfdcData,t)}getData(){return t=this.sfdcData,t?.[a.SFDC_DATA_ATTRIBUTE]??t;var t}updateComponents(){this.generatedTemplate&&(this.attributes=this.evaluateAttributes(this.generatedTemplate.attributes))}connectedCallback(){this.updateComponents()}evaluateAttributes(t){return"function"==typeof t?t(this):{}}render(){return this.html}}r.renderMode="light",e.registerDecorators(r,{publicProps:{routerContainerView:{config:0},routeParams:{config:0},generatedTemplate:{config:3},sfdcData:{config:3}},publicMethods:["hasData","getData","updateComponents"],track:{attributes:1,_sfdcData:1},fields:["generated","html"]});const s=e.registerComponent(r,{tmpl:void 0,sel:"dxp_data_provider-data-proxy",apiVersion:62});t.default=s,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('@salesforce/community/Id', [], function() { return "0DBVV000000046r4AA"; });LWR.define('@salesforce/community/basePath', ['@app/basePath'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@salesforce/site/activeLanguages', [], function() { return [{"label":"English (US)","code":"en-US","default":true}]; });LWR.define('@luvio/lwc-bindings', ['force/luvioLwcBindings'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@luvio/runtime', ['force/luvioRuntimeWebruntime'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("experience/uri",["exports"],function(e){function n(e){return encodeURIComponent(e).replace(/[!'()~]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())}function t(e){const t="object"==typeof e&&null!=e?e:{};return"URLSearchParams"in globalThis?new URLSearchParams(t).toString():Object.keys(t).map(e=>n(e)+"="+n(t[e])).join("&")}e.composeQueryString=t,e.composeUri=function(e,n){const o="string"==typeof e?e:"",r=t(n);if(r){const e=-1!==o.indexOf("?")?"&":"?";return`${o}${e}${r}`}return o},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("experience/coercion",["exports"],function(e){function r(e){return function(e){return"number"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Number]"===Object.prototype.toString.call(e)}(e)&&e!==+e}e.coerceBooleanProperty=function(e){return null!=e&&"false"!==`${e}`.toLowerCase()},e.coerceNumberProperty=function(e,r=0){return function(e){return!isNaN(parseFloat(String(e)))&&!isNaN(Number(e))}(e)?Number(e):r},e.coerceStringProperty=function(e,n){const t=null==e||r(e)?"":e.toString();return t.length>0?t:n},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("experience/serializeError",["exports","lwc"],function(e,r){const o=[EvalError,RangeError,ReferenceError,SyntaxError,TypeError,URIError,globalThis.DOMException,globalThis.AssertionError,globalThis.SystemError].filter(Boolean).map(e=>[e.name,e]),t=new Map(o),n=r.registerComponent(t,{tmpl:void 0,sel:"experience-serialize-error",apiVersion:62});class s extends Error{constructor(e){super(s._prepareSuperMessage(e)),this.name="NonError"}static _prepareSuperMessage(e){try{return JSON.stringify(e)}catch{return String(e)}}}r.registerDecorators(s,{fields:["name"]});const i=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0},{property:"cause",enumerable:!1}],a=Symbol(".toJSON was called"),u=e=>n.get(e)??Error,c=({from:e,seen:r,to:o,forceEnumerable:t,maxDepth:n,depth:s,useToJSON:p,serialize:l})=>{if(!o)if(Array.isArray(e))o=[];else if(!l&&f(e)){o=new(u(e.name))}else o={};if(r.push(e),s>=n)return o;if(p&&"function"==typeof e.toJSON&&!0!==e[a])return(e=>{e[a]=!0;const r=e.toJSON();return delete e[a],r})(e);const m=e=>c({from:e,seen:[...r],forceEnumerable:t,maxDepth:n,depth:s,useToJSON:p,serialize:l});for(const[t,n]of Object.entries(e))"function"==typeof Buffer&&Buffer.isBuffer(n)?o[t]="[object Buffer]":null===n||"object"!=typeof n||"function"!=typeof n.pipe?"function"!=typeof n&&(n&&"object"==typeof n?r.includes(e[t])?o[t]="[Circular]":(s++,o[t]=m(e[t])):o[t]=n):o[t]="[object Stream]";for(const{property:r,enumerable:n}of i)void 0!==e[r]&&null!==e[r]&&Object.defineProperty(o,r,{value:f(e[r])?m(e[r]):e[r],enumerable:!!t||n,configurable:!0,writable:!0});return o};function f(e){return Boolean(e)&&"object"==typeof e&&"name"in e&&"message"in e&&"stack"in e}e.deserializeError=function(e,r={}){const{maxDepth:o=Number.POSITIVE_INFINITY}=r;if(e instanceof Error)return e;if(function(e){return Boolean(e)&&"object"==typeof e&&"message"in e&&!Array.isArray(e)}(e)){const r=u(e.name);return c({from:e,seen:[],to:new r,maxDepth:o,depth:0,serialize:!1})}return new s(e)},e.registerErrorConstructor=function(e,r){n.set(e,r)},e.serializeError=function(e,r={}){const{maxDepth:o=Number.POSITIVE_INFINITY,useToJSON:t=!0}=r;return"object"==typeof e&&null!==e?c({from:e,seen:[],forceEnumerable:!0,maxDepth:o,depth:0,useToJSON:t,serialize:!0}):"function"==typeof e?`[Function: ${e.name??"anonymous"}]`:e},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("experience/data",["exports","experience/utils","lwc","experience/coercion","experience/serializeError","transport","experience/uri"],function(e,t,r,n,s,o,c){const i="Aborted";class a extends Error{constructor(e){super(n.coerceStringProperty(e,i)),this.name="AbortError"}}r.registerDecorators(a,{fields:["name"]}),s.registerErrorConstructor("AbortError",a);const u=Symbol("abort"),l=Symbol("abortSignal"),f=new WeakMap;class p extends Promise{static from(e){return e instanceof p?e:e instanceof Promise||"function"==typeof e.catch?new p((t,r)=>e.then(t).catch(r)):new p((t,r)=>e.then(t,r))}static connect(e,t){const r=f.get(e),n=f.get(t),{controller:s}=r,{controller:o}=n,{signal:c}=s,{signal:i}=o;if(c===i)return;n.parent=r;const a=(e,t)=>{!e.reason&&(e.reason=t.reason)};if(i.aborted&&!c.aborted)a(r,n),s.abort();else if(c.aborted&&!i.aborted)a(n,r),o.abort();else{const e=()=>{i.removeEventListener("abort",e),i.aborted||(a(n,r),o.abort())},t=()=>{i.removeEventListener("abort",t),c.aborted||(a(r,n),s.abort())};c.addEventListener("abort",e),i.addEventListener("abort",t)}}constructor(e){const t=new AbortController,{signal:r}=t;let n=!1;const s=e=>{f.get(this).reason=e||i,t.abort()};super((t,o)=>{const c=()=>{r.removeEventListener("abort",c);const e=f.get(this);let t=!!e.isHandled,s=e.parent;for(;s;)t=t||!!s.isHandled,s=s.parent;if(e.isHandled=!0,!n&&!t){n=!0;const t=e.reason;o(new a(t instanceof Error?t.message:t))}};r.addEventListener("abort",c),e(e=>{!n&&!r.aborted&&t(e),n=!0},e=>{!n&&!r.aborted&&o(e),n=!0},s,r)}),this[u]=void 0,this[l]=void 0,f.set(this,{controller:t}),this[u]=s.bind(null),this[l]=r}_wrapHandler(e){return t.isFunction(e)?t=>{let r=e(t);if(r instanceof p)p.connect(this,r);else if(r instanceof Promise){const e=r=p.from(r);p.connect(this,e)}if(this[l].aborted){const e=f.get(this).reason;throw new a(e instanceof Error?e.message:e)}return r}:e}then(e,t){const r=p.from(super.then(this._wrapHandler(e),this._wrapHandler(t)));return p.connect(this,r),r}catch(e){const t=p.from(super.catch(this._wrapHandler(e)));return p.connect(this,t),t}finally(e){const t=p.from(super.finally(this._wrapHandler(e)));return p.connect(this,t),t}}class h{constructor(e,t){this.response=e,this.data=t}}function d(e,t){const r=new h(e,t);return Object.freeze(r),r}const b=["opaque","opaqueredirect"];async function m(e){const[t,r]=e instanceof h?[e.response,e.data]:[e,e];if(t instanceof Response&&!t.ok&&!b.includes(t.type))throw await r;return r}function g(e){let r,n,s,c;const i=new p((e,t,o,i)=>{r=e,n=t,s=o,c=i});let a=!1;c.addEventListener("abort",()=>a=!0);return e((e,s)=>{const u=e instanceof Request,l=s&&"object"==typeof s?{...s,signal:c}:{signal:c},f=u?{...e.clone(),...l}:l,p=u?e.url:e;return a||function(e,r,n){let s={...r};delete s.interceptRequest,delete s.interceptResponse;let c=m;if(r&&t.isFunction(r.interceptResponse)){const{interceptResponse:n}=r;c=r=>{const o=n(r,e,s);return t.isPromiseLike(o)?Promise.resolve(o).then(m):m(o)}}const i=({url:t,requestInit:r}={})=>(r&&"object"==typeof r&&(s={...r,signal:n},delete s.interceptRequest,delete s.interceptResponse),o.fetch(t||e,s).then(c));if(r&&t.isFunction(r.interceptRequest)){const{interceptRequest:n}=r,o=n(e,s);return t.isPromiseLike(o)?Promise.resolve(o).then(i):i(o)}return i()}(p,f,c).then(e=>!a&&r(e)).catch(e=>!a&&n(e)),i},s,c),i}const y=(e,t)=>({url:e,requestInit:{method:"GET",credentials:"same-origin",headers:{"Content-Type":"application/json;charset=UTF-8"},...t&&"object"==typeof t?t:{}}});function R(e){return(t,r,n)=>{if(t instanceof Response){const{headers:s,status:o}=t,c=s.get("content-type");if("string"==typeof c&&c.includes("application/json")){const c=s.has("content-length")&&"chunked"!==s.get("transfer-encoding")?Number(s.get("content-length")):-1;if(204===o||0===c)return null;return d(t,e(t,r,n))}}return t}}const E=R(e=>e.ok?e.json():e);function j(e){const r=e&&"object"==typeof e?{...e}:{};return t.isFunction(r.interceptRequest)||(r.interceptRequest=y),t.isFunction(r.interceptResponse)||(r.interceptResponse=E),r}function w(e,t="string"){return null===e||("array"===t?void 0===e||Array.isArray(e):["undefined",t].includes(typeof e))}function A(e){return null!==e&&"object"==typeof e&&Reflect.has(e,"message")&&Reflect.has(e,"type")&&w(e?.message)&&w(e?.type)&&w(e?.arguments,"object")}function v(e){return e?Reflect.ownKeys(e).reduce((t,r)=>("string"==typeof r&&Reflect.set(t,r,Reflect.get(e,r)),t),{}):{}}function P({message:e,type:t,arguments:r}){return{message:e??"",type:t??"",arguments:v(r)}}function q(e){return Array.isArray(e)?e.reduce((e,t)=>(A(t)&&e.push(P(t)),e),[]):A(e)?[P(e)]:[]}function L(e){return e.find(e=>e.message.length>0)?.message??""}function F(e){if(function(e){return null!==e&&"object"==typeof e&&Reflect.has(e,"status")&&Reflect.has(e,"errors")&&w(e?.status,"number")&&w(e?.errors,"array")}(e)){const{status:t,errors:r}=e;return{status:t??null,errors:q(r)}}return{status:null,errors:q(e)}}class O extends Error{constructor(e){super(),this.name="FetchError",this.errors=[],this.status=null;let{status:t,errors:r}=F(e);this.status=t,this.errors=r,this.message=L(r),Object.defineProperty(this,"errors",{enumerable:!0,configurable:!1,get:()=>r,set(e){r=q(e),this.message=L(r)}}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!1,get:()=>t,set(e){t="number"==typeof e?e:null}})}}function x(e){function t(e){return"string"==typeof e||null==e}return null!==e&&"object"==typeof e&&Reflect.has(e,"message")&&Reflect.has(e,"errorCode")&&t(e?.message)&&t(e?.errorCode)}function S(e){if(e&&"object"==typeof e&&(Reflect.has(e,"url")||Reflect.has(e,"body"))){const{url:t="",body:r}=e,n=r instanceof URLSearchParams?Object.fromEntries(r.entries()):r instanceof FormData?function(e){const t={};for(const[r,n]of e)"string"==typeof n&&(t[r]=n);return t}(r.entries()):{};try{const{searchParams:e}=new URL(t);return{...n,...Object.fromEntries(e.entries())}}catch{return n}}return{}}function C({message:e,errorCode:t},r){return{type:t??"",message:e??"",arguments:S(r)}}function H(e,t){return Array.isArray(e)?e.reduce((e,r)=>(x(r)&&e.push(C(r,t)),e),[]):x(e)?[C(e,t)]:[]}r.registerDecorators(O,{fields:["name","errors","status"]}),s.registerErrorConstructor("FetchError",O);const _=R((e,t,r)=>e.ok?e.json():e.json().then(n=>{throw new O({status:e.status,errors:H(n,{...r,url:t})})}));Object.defineProperty(e,"composeQueryString",{enumerable:!0,get:function(){return c.composeQueryString}}),Object.defineProperty(e,"composeUri",{enumerable:!0,get:function(){return c.composeUri}}),e.ABORT=u,e.ABORT_SIGNAL=l,e.AbortError=a,e.AbortablePromise=p,e.FetchError=O,e.connectApiResponseInterceptor=_,e.createFetchResponse=d,e.createResponseInterceptor=R,e.defaultRequestInterceptor=y,e.defaultResponseInterceptor=E,e.fetchAbortable=g,e.fetchService=function(e,t){return g((r,n,s)=>{if("function"==typeof e){e((e,t)=>r(e,j(t)),n,s)}else r(e,j(t))})},e.transformConnectApiErrorResponse=H,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("experience/config",["exports"],function(e){e.currentRelease={currentRelease:"252",apiVersion:"v62.0"},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("experience/seoPropertiesApiInternal",["exports","lwc","@luvio/runtime","experience/data","experience/uri","experience/config"],function(e,r,t,n,o,i){const s="experience",c="SeoProperties",a=new t.OpaqueRepresentationType(s,c,36e5,e=>{const{fields:r}=e,t=r?r.split(",").sort():[];return`${s}::${c}:${e.communityId}:${e.recordId}:${t}`}),p=i.currentRelease.apiVersion;class d extends t.TypeRegistryCachePolicyCommand{constructor(...e){super(...e),this.returnTypeNamespace=s,this.returnTypeName=c}buildKeyConfig(){return this.config}buildKeyConfigFromInstance(){return this.config}get configJsonSchema(){return{type:"object",properties:{communityId:{type:"string"},recordId:{type:"string"},fields:{type:"string"}},required:["communityId","recordId"],additionalProperties:!1}}fetch(){const{communityId:e,recordId:r,fields:t}=this.config,i=`/services/data/${p}/connect/communities/${e}/seo/properties/${r}`,s=t?{fields:t}:{};return this.convertFetchResponseToData(n.fetchService(o.composeUri(i,s)))}async convertFetchResponseToData(e){try{return{data:await e,errors:[]}}catch(e){const r=[];return e instanceof Error?r.push(e):e instanceof Response&&r.push(new Error(`${e.statusText}`)),{data:void 0,errors:r}}}}r.registerDecorators(d,{fields:["returnTypeNamespace","returnTypeName"]}),e.GetSeoPropertiesRegistryCachePolicyCommand=d,e.seoPropertiesRepresentationType=a,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("force/luvioRegistry",["exports"],function(i){const t=[],e=[];function n(i){t.push(i),e.forEach(t=>i(t))}i.findRegistrations=function(i){return e.filter(t=>t.id===i)},i.forEachRegistration=n,i.register=function(i){e.push(i),t.forEach(t=>t(i))},i.withRegistration=function(i,t){n(e=>{e.id===i&&t(e)})},Object.defineProperty(i,"__esModule",{value:!0})});
})();LWR.define('@luvio/registry', ['force/luvioRegistry'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("experience/luvioRuntime",["exports","@luvio/registry"],function(e,i){e.registerAdapter=function(e){i.register({id:"commandModule",runtimeDependencies:{cacheInclusionPolicy:!0,cachePolicies:!0,defaultCachePolicyName:!0,keySubscriptionService:!0,metadataRepository:!0,store:!0,typeRegistry:!0},setCommandRuntime:e})},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("experience/seoPropertiesApi",["exports","@luvio/lwc-bindings","experience/luvioRuntime","experience/seoPropertiesApiInternal"],function(e,r,t,i){e.getSeoProperties=void 0,t.registerAdapter(t=>(t.typeRegistry.register(i.seoPropertiesRepresentationType),{getSeoProperties:e.getSeoProperties=class extends r.CommandWireAdapterConstructor{getCommand(){return new i.GetSeoPropertiesRegistryCachePolicyCommand(this.config,{},t)}}})),Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("community_builder/seoAssistant",["exports","lwc","experience/seoPropertiesApi","lightning/navigation","@salesforce/community/Id","@salesforce/community/basePath","@salesforce/site/activeLanguages","@salesforce/i18n/lang"],function(e,t,n,r,i,s,o,a){function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=c(i),l=c(s),u=c(o),p=c(a);var g=[function(e,t,n){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: none;}"}];const h=[];function f(e,t,n,r){return h}var m=t.registerTemplate(f);f.renderMode="light",f.stylesheets=[],f.stylesheetToken="lwc-67g9kuprkgf",f.legacyStylesheetToken="community_builder-seoAssistant_seoAssistant",g&&f.stylesheets.push.apply(f.stylesheets,g),t.freezeTemplate(f);const y=new RegExp("\\{!(Record|Content)[\\.\\w:]+\\}","g"),T=new RegExp("\\{!(Record|Content)\\.|\\}","g"),w=new RegExp("\\{!(Record|Content)\\._Title\\}","g"),R=new RegExp("\\{!(Record|Content)\\._Object\\}","g"),b=new RegExp("'","g"),P=new RegExp('"',"g");function v(e,t,n){const r=function(e,t){const n={};t.title&&(n.title=C(e,t.title,!1));t.description&&(n.description=C(e,t.description,!0));t.customHeadTags&&(n.customHeadTags=function(e){const t=function(e){return(new DOMParser).parseFromString(e,"text/html")}(e);let n={};if(t){let e=[],r=[],i=[];Array.from(t.querySelectorAll("head meta, head link, head script")).forEach(t=>{const n={};(function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n]);return t})(t.attributes).filter(e=>e&&e.name&&e.value).map(e=>n[e.name]=e.value),"META"===t.tagName?e.push(n):"SCRIPT"===t.tagName?(n.innerHTML=t.innerHTML,i.push(n)):r.push(n)}),n.meta=e,n.link=r,n.script=i}return n}(C(e,t.customHeadTags,!0)));return n}(e,t);var i;r.title&&(document.title=r.title),r.description&&function(e){const t=_("meta",{name:"description",content:e});document.head.appendChild(t)}(r.description),r.customHeadTags&&(i=r.customHeadTags,Object.entries(i).forEach(([e,t])=>{t.forEach(t=>{const n=_(e,t);document.head.appendChild(n)})})),function(e={},t){const n=t.basePath,r=window.location.pathname,i=window.location.origin,s=t.activeLanguageCode;if(1===t.activeLanguages.length)return;let o=r;""!==n&&r.includes(n)&&(o=r.split(n)[1]);t.activeLanguages.forEach(t=>{const r=t.code;let a=e[function(e){return e.replace("-","_")}(r)];if(""!==a){if(!a){let e;if(n.endsWith("/"+s)){const i=new RegExp(`/${s}$`),o=t.default?"":"/"+r;e=n.replace(i,o)}else e=r===s||t.default?n:`${n}/${r}`;a=`${i}${e}${o}`,""===e&&"/"===o&&(a=i)}E(r.toLowerCase(),a),!0===t.default&&E("x-default",a)}})}(e.hrefLangUrls,n),function(e){if(!e)return;const t=document.createElement("link");t.setAttribute("rel","canonical"),t.setAttribute("href",e),t.setAttribute("data-owner","setSEOProperties"),document.head.appendChild(t)}(e.canonicalUrl),function(e){if(!1!==e)return;const t=_("meta",{name:"robots",content:"noindex,nofollow"});document.head.appendChild(t)}(e.isSeoIndexed)}function E(e,t){const n=_("link",{rel:"alternate",hreflang:e,href:t});document.head.appendChild(n)}function _(e,t){const n=document.createElement(e);return Object.entries(t).forEach(([e,t])=>{"innerHTML"===e?n.innerHTML=t:n.setAttribute(e,t)}),n.setAttribute("data-owner","setSEOProperties"),n}function A(){document.head.querySelectorAll("head [data-owner=setSEOProperties]").forEach(e=>e.parentNode.removeChild(e))}function C(e,t,n){return!t||!Object.keys(e).length>0||(t=H(t=(t=t.replace(w,e.recordName)).replace(R,e.objectName),e.fields,n,!1),e.complexFields&&(t=H(t,e.complexFields,!1,!0))),t}function H(e,t,n,r){return Object.entries(t).filter(([e])=>e).forEach(([t,i])=>{const s=i&&r?new RegExp(`\\"\\{!(Record|Content)\\.${t}\\}\\"`,"g"):new RegExp(`\\{!(Record|Content)\\.${t}\\}`,"g");if(i)if(n&&!function(e){return"Body.sfdc_cms:seoProperties.headTags"===e}(t)){const t=i.replace(b,"&apos;").replace(P,"&quot;");e=e.replace(s,t)}else e=e.replace(s,i);else e=e.replace(s,"")}),e}class S extends t.LightningElement{constructor(...e){super(...e),this._pageTitle=void 0,this._description=void 0,this._customHeadTags=void 0,this.recordId=void 0,this.queryKey=void 0,this.queryFields=void 0,this.needRecord=!1,this.recordData={}}get pageTitle(){return this._pageTitle}set pageTitle(e){this._pageTitle=e,this.getFieldsAndSetProperties()}get description(){return this._description}set description(e){this._description=e,this.getFieldsAndSetProperties()}get customHeadTags(){return this._customHeadTags}set customHeadTags(e){this._customHeadTags=e,this.getFieldsAndSetProperties()}connectedCallback(){"undefined"!=typeof window&&this.getFieldsAndSetProperties()}disconnectedCallback(){"undefined"!=typeof window&&A()}wiredPageRef(e){if(e){const t=e.attributes;t.recordId?this.queryKey=t.recordId:t.urlAlias&&(this.queryKey=t.urlAlias)}}wiredRecordSeoProperties({error:e,data:t}){this.needRecord&&t?(Object.assign(this.recordData,t),this.getFieldsAndSetProperties()):e&&(this.error=e)}getFieldsAndSetProperties(){const e=function(e,t,n){const r=[e,t,n].filter(e=>e&&e.search(y)>-1).flatMap(e=>e.match(y).map(e=>e.replace(T,"")));return{needRecord:r.length>0,queryFields:Array.from(new Set(r.filter(e=>!e.startsWith("_")))).join()}}(this.pageTitle,this.description,this.customHeadTags);this.needRecord=e.needRecord,this.queryFields=e.queryFields;const t={basePath:l.default,activeLanguageCode:p.default,activeLanguages:u.default};"undefined"!=typeof window&&(this.needRecord?0!==Object.entries(this.recordData).length&&(A(),v(this.recordData,this.getUnresolvedProperties(),t)):(A(),v({},this.getUnresolvedProperties(),t)))}getUnresolvedProperties(){const e={};return e.title=this.pageTitle,e.description=this.description,e.customHeadTags=this.customHeadTags,e}}S.renderMode="light",t.registerDecorators(S,{publicProps:{pageTitle:{config:3},description:{config:3},customHeadTags:{config:3},recordId:{config:0}},track:{queryKey:1,queryFields:1},wire:{wiredPageRef:{adapter:r.CurrentPageReference,method:1,config:function(e){return{}}},wiredRecordSeoProperties:{adapter:n.getSeoProperties,dynamic:["recordId","fields"],method:1,config:function(e){return{communityId:d.default,recordId:e.queryKey,fields:e.queryFields}}}},fields:["_pageTitle","_description","_customHeadTags","needRecord","recordData"]});const x=t.registerComponent(S,{tmpl:m,sel:"community_builder-seo-assistant",apiVersion:62});e.default=x,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("dxp_data_provider/userDataProvider",["exports","@salesforce/loader","lwc","experience/dataLayerObject","experience/dataProvider"],function(e,t,s,r,a){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=i(r),o=i(a);const u=[];function c(e,t,s,r){const{c:a,s:i}=e;return[a("experience-data-layer-object",d.default,{props:{scriptDataAttributes:t.dataAttributes,customObject:t.userDataLayer},key:0}),i("",{key:1,slotData:t.dataProxyContext},u,s)]}var n=s.registerTemplate(c);c.slots=[""],c.renderMode="light",c.stylesheets=[],c.stylesheetToken="lwc-1qlnuek0fto",c.legacyStylesheetToken="dxp_data_provider-userDataProvider_userDataProvider",s.freezeTemplate(c);class l extends o.default{constructor(...e){super(...e),this.sfdcExpressionKey=void 0,this.childData=void 0,this.userId=void 0,this.isGuest=void 0}triggerAsyncImports(){void 0===this.isGuest&&t.load("@salesforce/user/isGuest").then(e=>{this.isGuest=e.default,!1===this.isGuest&&t.load("@salesforce/user/Id").then(e=>{this.userId=e.default})})}get sfdcData(){return{userId:this.userId,isGuest:this.isGuest,...this.childData}}hasData(e){return this.isGuest||void 0!==this.sfdcData[e]}get userDataLayer(){return{crmId:this.userId,attributes:{isGuest:this.isGuest}}}get dataAttributes(){return{providerType:"user"}}connectedCallback(){this.triggerAsyncImports()}render(){return n}}l.renderMode="light",s.registerDecorators(l,{publicProps:{sfdcExpressionKey:{config:0},childData:{config:0}},publicMethods:["hasData"],fields:["userId","isGuest"]});const p=s.registerComponent(l,{tmpl:n,sel:"dxp_data_provider-user-data-provider",apiVersion:62});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("community_layout/hiddenRegion",["exports","lwc"],function(e,t){var n=[function(e,t,n){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: none;}"}];const s={attrs:{name:"sfdcHiddenRegion"},key:0},o=[];function i(e,t,n,i){const{s:d}=e;return[d("sfdcHiddenRegion",s,o,n)]}var d=t.registerTemplate(i);i.slots=["sfdcHiddenRegion"],i.renderMode="light",i.stylesheets=[],i.stylesheetToken="lwc-6c79d8rptei",i.legacyStylesheetToken="community_layout-hiddenRegion_hiddenRegion",n&&i.stylesheets.push.apply(i.stylesheets,n),t.freezeTemplate(i);class l extends t.LightningElement{}l.renderMode="light";const r=t.registerComponent(l,{tmpl:d,sel:"community_layout-hidden-region",apiVersion:62});e.default=r,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("embeddedMessaging/eventStorePrivate",["exports","lwc"],function(e,t){const r=t.registerComponent(class{constructor(){this.eventHandlerMap={}}assignHandler(e,t){if(!e)throw new Error(`Expected an eventName parameter with a string value. Instead received ${e}.`);if(!t)throw new Error(`Expected an eventHandler parameter with a function value. Instead received ${t}.`);if("function"!=typeof t)throw new Error("The event handler function parameter passed to assignHandler was not of type 'function'.");this.eventHandlerMap[e]||(this.eventHandlerMap[e]=[]),this.eventHandlerMap[e].map(String).includes(t.toString())||this.eventHandlerMap[e].push(t)}dispatchEvent(e,t){if(!e)throw new Error(`Expected an eventName parameter with a string value. Instead received ${e}.`);if(!t)throw new Error(`Expected an eventData parameter to be an object. Instead received ${t}.`);try{Object.prototype.hasOwnProperty.call(this.eventHandlerMap,e)&&this.eventHandlerMap[e].forEach(e=>{e(t)})}catch(t){throw new Error("Error thrown while invoking handler for "+e+": "+t)}}getEventHandlerMap(){return this.eventHandlerMap}clearHandlersForEvent(e){if(!e)throw new Error("The event name parameter passed to assignHandler is "+e+".");delete this.eventHandlerMap[e]}clearEventHandlerMap(){this.eventHandlerMap={}}},{tmpl:void 0,sel:"embeddedMessaging-event-store-private",apiVersion:62});e.default=r,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/eventStorePrivate', ['embeddedMessaging/eventStorePrivate'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/globalEventStore",["exports","embeddedMessaging/eventStorePrivate"],function(e,t){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=n(t);const a=new E.default,i=new E.default,r=new E.default,d=new E.default;e.FORM_EVENTS={FOOTER_NEXT_BUTTON_CLICKED:"footernextbuttonclick",FOOTER_PREV_BUTTON_CLICKED:"footerbackbuttonclick",FOOTER_NEXT_BUTTON_KEYDOWN:"footernextbuttonkeydown",FOOTER_BACK_BUTTON_KEYDOWN:"footerbackbuttonkeydown",FOOTER_DISABLE_PREV_BUTTON:"footerdisablepreviousbutton",FOOTER_ENABLE_PREV_BUTTON:"footerenablepreviousbutton",FOOTER_DISABLE_NEXT_BUTTON:"footerdisablenextbutton",FOOTER_ENABLE_NEXT_BUTTON:"footerenablenextbutton",SECURE_FORM_SUBMIT:"secureformsubmit",FIELD_CHANGE:"fieldchange",SHOW_CLOSE_CONFIRMATION_DIALOG:"showcloseconfirmationdialog",FOCUS_ON_LAST_FOCUSABLE_ELEMENT:"focusonlastfocusableelement"},e.GLOBAL_EVENTS={},e.HEADER_EVENTS={JWT_EXPIRED:"chatheaderjwtexpired",CLEAR_NOTIFICATION:"chatheaderclearnotification",CLICK_OUTSIDE_HEADER:"chatheaderclickoutside",SEND_TRANSCRIPT_SUCCESS:"chatheadersendtranscriptsuccess",SEND_TRANSCRIPT_ERROR:"chatheadersendtranscripterror"},e.MINIMIZED_EVENTS={PARTICIPANT_JOINED:"chatminimizedparticipantjoined",PARTICIPANT_LEFT:"chatminimizedparticipantleft",TRANSFER_INITIATED:"chatminimizedtransferrequested",TRANSFER_TERMINATED:"chatminimizedtransferfailed",TRANSFER_COMPLETED:"chatminimizedtransfercompleted",NEW_UNSEEN_MESSAGES:"chatminimizednewunseenmessages",CLEAR_NOTIFICATIONS:"chatminimizedclearnotifications",JWT_EXPIRED:"chatminimizedjwtexpired",JWT_FETCH_FAILURE:"EMBEDDED_MESSAGING_JWT_RETRIEVAL_FAILURE_EVENT",RECONNECT_IN_PROGRESS:"reconnectinprogress",RECONNECT_ENDED:"reconnectended"},e.assignChatHeaderHandler=(e,t)=>{a.assignHandler(e,t)},e.assignChatMinimizedHandler=(e,t)=>{r.assignHandler(e,t)},e.assignFormEventHandler=(e,t)=>{i.assignHandler(e,t)},e.assignHandler=(e,t)=>{d.assignHandler(e,t)},e.clearEventHandlerMap=()=>{d.clearEventHandlerMap()},e.clearHandlersForEvent=e=>{d.clearHandlersForEvent(e)},e.clearHandlersForFormEvent=e=>i.clearHandlersForEvent(e),e.dispatchChatHeaderEvent=(e,t)=>a.dispatchEvent(e,t),e.dispatchChatMinimizedEvent=(e,t)=>r.dispatchEvent(e,t),e.dispatchEvent=(e,t)=>d.dispatchEvent(e,t),e.dispatchFormEvent=(e,t)=>i.dispatchEvent(e,t),e.getEventHandlerMap=()=>d.getEventHandlerMap(),Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/globalEventStore', ['embeddedMessaging/globalEventStore'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/brandingUtils",["exports"],function(e){const a={PRIMARY_COLOR:{name:"--primaryColor",default:"#1A1B1E"},SECONDARY_COLOR:{name:"--secondaryColor",default:"#005290"},CONTRAST_PRIMARY_COLOR:{name:"--contrastPrimaryColor",default:"#333333"},HEADER_COLOR:{name:"--headerColor",default:"#1A1B1E"},HEADER_ALTERNATE_COLOR:{name:"--headerAlternateColor",default:"#C23934"},HEADER_TEXT_COLOR:{name:"--headerTextColor",default:"#FFFFFF"},FONT:{name:"--font",default:"Arial, sans-serif"},AGENT_AVATAR_IMAGE:{name:"--avatarImage",default:null},LOGO_IMAGE:{name:"--logoImage",default:null},BOT_AVATAR_IMAGE:{name:"--botImage",default:null},BASE_FONT_SIZE:{name:"--baseFontSize",default:"medium"}},t={agentAvatarImage:{value:null},logoImage:{value:null},botAvatarImage:{value:null}},n={Arial:"sans-serif","Salesforce Sans":"sans-serif",Georgia:"serif","Palatino Linotype":"serif","Times New Roman":"serif","Arial Black":"sans-serif","Comic Sans MS":"cursive",Impact:"fantasy","Lucida Sans Unicode":"sans-serif",Tacoma:"sans-serif","Trebuchet MS":"sans-serif",Verdana:"sans-serif","Courier New":"monospace","Lucida Console":"monospace",customFont:"sans-serif"},r=e=>/[^A-Za-z-]+/.test(e),o=e=>getComputedStyle(document.documentElement).getPropertyValue(e.name)?getComputedStyle(document.documentElement).getPropertyValue(e.name):e.default,s=(e,a)=>{if(!e)throw new Error(`Cannot set branding value. Expected tokenName to be defined but received: ${e}.`);a?document.documentElement.style.setProperty("--"+e,a):document.documentElement.style.setProperty("--"+e,null)};e.BRANDING_TOKENS=a,e.computeStyle=o,e.createCustomCSSProperties=e=>{let a="";for(const o of e)switch(o&&!o.hasOwnProperty("v")&&(o.v=null),o.n){case"baseFontSize":s(o.n,o.v.toLowerCase());break;case"font":a=o.v+", "+n[o.v],void 0===n[o.v]&&r(o.v)?a=`'${o.v}', `+n.customFont:void 0!==n[o.v]||r(o.v)?void 0!==n[o.v]&&r(o.v)&&(a=`'${o.v}', `+n[o.v]):a=o.v+", "+n.customFont,s(o.n,a);break;case"avatarImage":t.agentAvatarImage.value=o.v;break;case"logoImage":t.logoImage.value=o.v;break;case"botImage":t.botAvatarImage.value=o.v;break;default:s(o.n,o.v)}},e.getBrandingValue=e=>{switch(e){case a.PRIMARY_COLOR.name:return o(a.PRIMARY_COLOR);case a.SECONDARY_COLOR.name:return o(a.SECONDARY_COLOR);case a.CONTRAST_PRIMARY_COLOR.name:return o(a.CONTRAST_PRIMARY_COLOR);case a.HEADER_COLOR.name:return o(a.HEADER_COLOR);case a.HEADER_ALTERNATE_COLOR.name:return o(a.HEADER_ALTERNATE_COLOR);case a.HEADER_TEXT_COLOR.name:return o(a.HEADER_TEXT_COLOR);case a.FONT.name:return o(a.FONT);case a.AGENT_AVATAR_IMAGE.name:return t.agentAvatarImage.value;case a.LOGO_IMAGE.name:return t.logoImage.value;case a.BOT_AVATAR_IMAGE.name:return t.botAvatarImage.value;case a.BASE_FONT_SIZE.name:return o(a.BASE_FONT_SIZE)}return""},e.setBrandingValue=s,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/brandingUtils', ['embeddedMessaging/brandingUtils'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("o11y_schema/sf_embeddedMessaging",["exports"],function(e){e.currentStateSchema={namespace:"sf.embeddedMessaging",name:"CurrentState",pbjsSchema:{nested:{sf:{nested:{embeddedMessaging:{nested:{CurrentState:{oneofs:{_convEntryId:{oneof:["convEntryId"]}},fields:{convId:{id:4,type:"string"},method:{id:2,type:"string"},jwtClaims:{id:7,type:"string"},stateMessage:{id:3,type:"string"},hostUrl:{id:8,type:"string"},convType:{id:6,type:"string"},configDev:{id:1,type:"string"},convEntryId:{options:{proto3_optional:!0},id:5,type:"string"}}}}}}}}}},e.failureEventSchema={namespace:"sf.embeddedMessaging",name:"FailureEvent",pbjsSchema:{nested:{sf:{nested:{embeddedMessaging:{nested:{FailureEvent:{oneofs:{_convEntryId:{oneof:["convEntryId"]}},fields:{convId:{id:4,type:"string"},method:{id:2,type:"string"},errCode:{id:5,type:"uint32"},jwtClaims:{id:8,type:"string"},hostUrl:{id:9,type:"string"},convType:{id:7,type:"string"},errMessage:{id:3,type:"string"},configDev:{id:1,type:"string"},convEntryId:{options:{proto3_optional:!0},id:6,type:"string"}}}}}}}}}},e.interactionEventSchema={namespace:"sf.embeddedMessaging",name:"InteractionEvent",pbjsSchema:{nested:{sf:{nested:{embeddedMessaging:{nested:{InteractionEvent:{fields:{convId:{id:5,type:"string"},op:{id:4,type:"string"},method:{id:2,type:"string"},feature:{id:3,type:"string"},fileSize:{id:6,type:"uint32"},jwtClaims:{id:9,type:"string"},fileMimeType:{id:7,type:"string"},hostUrl:{id:10,type:"string"},convType:{id:8,type:"string"},configDev:{id:1,type:"string"}}}}}}}}}},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("embeddedMessaging/constants",["exports"],function(e){const E={TITLE_ITEM:"TitleItem"};function T(e){return t(e),e.title}function t(e){if(!e||!e.title)throw new Error(`Expected title to be defined but received: ${e.title}`);if(!e.itemType||!e.itemType.length||e.itemType!==E.TITLE_ITEM)throw new Error(`Expected item type to be a ${E.TITLE_ITEM} but received: ${e.itemType}`)}const I={TITLE_OPTION_ITEM:"TitleOptionItem",TITLE_LINK_ITEM:"TitleLinkItem"};function _(e){if(!e||!e.titleItem)throw new Error(`Expected title item to be defined but received: ${e.titleItem}`);if(!e.itemType||!e.itemType.length||e.itemType!==I.TITLE_OPTION_ITEM)throw new Error(`Expected item type to be a ${I.TITLE_OPTION_ITEM} but received: ${e.itemType}`)}const N={TEXT_VALUE:"TextValue"};e.ACCESS_TOKEN_PATH="/accessToken",e.ATTACHMENT_UPLOAD_RESULT_TYPE={PENDING:"PendingAttachmentUploadResult",COMPLETED:"CompletedAttachmentUploadResult",ERROR:"ErrorAttachmentUploadResult"},e.AT_LEAST_ONE_NON_WHITESPACE_CHAR_REGEX="^((\\s)*(\\S)+(\\s)*)+$",e.AUTH_MODE={AUTH:"Auth",UNAUTH:"UnAuth",EXP_SITE_AUTH:"ExperienceSiteAuth"},e.CLIENT_SESSION_ID_JWT_CLAIM="clientSessionId",e.ConversationEntryProperties={CONVERSATION_ID:"conversationId",MESSAGE_ID:"messageId",CONTENT:"content",MESSAGE_TYPE:"messageType",ENTRY_TYPE:"entryType",SENDER:"sender",ACTOR_NAME:"actorName",ACTOR_TYPE:"actorType",TRANSCRIPTED_TIMESTAMP:"transcriptedTimestamp",MESSAGE_REASON:"messageReason"},e.ConversationMessageDirectionality={INBOUND:"inbound",OUTBOUND:"outbound",SYSTEM:"system"},e.ConversationStatus={NOT_STARTED_CONVERSATION:"NOT_STARTED",OPENED_CONVERSATION:"OPEN",CLOSED_CONVERSATION:"CLOSED"},e.DATE_TIMESTAMP_FORMAT={weekday:"short",month:"short",day:"numeric"},e.DAY_THRESHOLD_MILLISECONDS=864e5,e.DEFAULT_IMAGE_URL="/_slds/images/illustrations/empty-states/desertSmall.svg",e.DisplayTypes={AUTO_OVERLAY:"AutoOverlay"},e.EMAIL_VALIDATION_REGEX="\\S+@\\S+\\.\\S+",e.EntryTypes={CONVERSATION_MESSAGE:"Message",PARTICIPANT_CHANGED:"ParticipantChanged",ROUTING_RESULT:"RoutingResult",TYPING_STARTED_INDICATOR:"TypingStartedIndicator",TYPING_STOPPED_INDICATOR:"TypingStoppedIndicator",DELIVERY_ACKNOWLEDGEMENT:"DeliveryAcknowledgement",READ_ACKNOWLEDGEMENT:"ReadAcknowledgement"},e.EventTypes={CONVERSATION_MESSAGE:"CONVERSATION_MESSAGE",CONVERSATION_PARTICIPANT_CHANGED:"CONVERSATION_PARTICIPANT_CHANGED",CONVERSATION_DELIVERY_ACKNOWLEDGEMENT:"CONVERSATION_DELIVERY_ACKNOWLEDGEMENT",CONVERSATION_READ_ACKNOWLEDGEMENT:"CONVERSATION_READ_ACKNOWLEDGEMENT",CONVERSATION_ROUTING_RESULT:"CONVERSATION_ROUTING_RESULT",CONVERSATION_CLOSE_CONVERSATION:"CONVERSATION_CLOSE_CONVERSATION",CONVERSATION_TYPING_STARTED_INDICATOR:"CONVERSATION_TYPING_STARTED_INDICATOR",CONVERSATION_TYPING_STOPPED_INDICATOR:"CONVERSATION_TYPING_STOPPED_INDICATOR",CONVERSATION_PING:"ping"},e.FILE_ATTACHMENT_ICON_TYPES={image:"doctype:image",pdf:"doctype:pdf",xml:"doctype:xml",audio:"doctype:audio",video:"doctype:video"},e.FILE_PREVIEW_IFRAME_NAME="embeddedMessagingFilePreviewFrame",e.FormDisplayContext={CONVERSATION:"Conversation",SESSION:"Session"},e.FormFieldTypes={TEXT:"Text",EMAIL:"Email",PHONE:"Phone",NUMBER:"Number",CHECKBOX:"Checkbox",CHOICELIST:"ChoiceList"},e.FormInputType={SELECT_INPUT:"SelectInput",SELECT_NAVIGATION_INPUT:"SelectNavigationInput",OPTION_PICKER_INPUT:"OptionPickerInput",DATE_PICKER_INPUT:"DatePickerInput",TEXT_INPUT:"TextInput"},e.FormMessageState={INITIAL:"Initial",INACTIVE:"Inactive",PENDING:"Pending",SUCCESS:"Success",ERROR:"Error"},e.FormResultType={FORM_RECORDS_RESULT:"FormRecordsResult",FORM_ERROR_RESULT:"FormErrorResult",FORM_PENDING_RESULT:"FormPendingResult"},e.FormTypes={PRE_CHAT:"PreChat",SECURE_FORM:"SecureForm"},e.FormValueType={TEXT_VALUE:"TextValue",BOOLEAN_VALUE:"BooleanValue",INTEGER_VALUE:"IntegerValue",DOUBLE_VALUE:"DoubleValue",URL_VALUE:"UrlValue",DATE_VALUE:"DateValue",DATETIME_VALUE:"DateTimeValue"},e.FormatTypes={TEXT:"Text",BUTTONS:"Buttons",QUICK_REPLIES:"QuickReplies",CAROUSELS:"Carousel",SELECTIONS:"Selections",ATTACHMENTS:"Attachments",RICH_LINK:"RichLink",WEB_VIEW:"WebView",INPUTS:"Inputs",RESULT:"Result"},e.GET_CONVERSATION_ENTRIES_LIMIT=50,e.GetConversationEntriesQueryDirection={FROM_START:"FromStart",FROM_END:"FromEnd"},e.HOST_EVENT={ON_EMBEDDED_MESSAGE_READ:"onEmbeddedMessageRead",ON_EMBEDDED_MESSAGING_CONVERSATION_ROUTED:"onEmbeddedMessagingConversationRouted",ON_EMBEDDED_MESSAGE_DELIVERED:"onEmbeddedMessageDelivered",ON_EMBEDDED_MESSAGING_CONVERSATION_PARTICIPANT_CHANGED:"onEmbeddedMessagingConversationParticipantChanged",ON_EMBEDDED_MESSAGING_CONVERSATION_CLOSED:"onEmbeddedMessagingConversationClosed",ON_EMBEDDED_MESSAGING_PRECHAT_LOADED:"onEmbeddedMessagingPreChatLoaded",ON_EMBEDDED_MESSAGE_SENT:"onEmbeddedMessageSent",ON_EMBEDDED_MESSAGING_PRECHAT_SUBMITTED_EVENT_NAME:"onEmbeddedMessagingPreChatSubmitted",ON_EMBEDDED_MESSAGEING_CONVERSATION_OPENED_EVENT_NAME:"onEmbeddedMessagingConversationOpened"},e.HTTP_ERROR_CODE_MISSING_SESSION=417,e.ID_TOKEN_TYPE={JWT:"JWT"},e.InputElementType={URL:"url",NUMBER:"number",PHONE:"tel",EMAIL:"email"},e.InputValueType={SINGLE_INPUT_VALUE:"SingleInputValue",SELECTED_OPTIONS_INPUT_VALUE:"SelectedOptionsInputValue"},e.MessageReason={AUTOMATED_RESPONSE:"AutomatedResponse",CONSENT:"Consent"},e.MessageTypes={STATIC_CONTENT_MESSAGE:"StaticContentMessage",CHOICES_MESSAGE:"ChoicesMessage",CHOICES_RESPONSE_MESSAGE:"ChoicesResponseMessage",FORM_MESSAGE:"FormMessage",FORM_RESPONSE_MESSAGE:"FormResponseMessage"},e.PING_TIMEOUT_MS=6e4,e.PRECHAT_DISPLAY_EVENT_DETAIL_NAME="prechatDisplay",e.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE={CONVERSATION:"Conversation",SESSION:"Session"},e.ParticipantChangedOperations={ADD:"add",REMOVE:"remove"},e.ParticipantRoles={ENDUSER:"EndUser",AGENT:"Agent",CHATBOT:"Chatbot",SYSTEM:"System",ROUTER:"Router",SUPERVISOR:"Supervisor"},e.RoutingFailureTypes={NO_ERROR:"None",UNKNOWN_ERROR:"Unknown",SUBMISSION_ERROR:"SubmissionError",ROUTING_ERROR:"RoutingError",CANCELLED:"Cancelled"},e.RoutingStatus={ROUTED:"ROUTED",NEEDS_ROUTING:"NEEDS_ROUTING",INITIAL:"INITIAL",TRANSFER:"TRANSFER"},e.RoutingTypes={INITIAL:"Initial",TRANSFER:"Transfer"},e.SET_IDENTITY_TOKEN_TIMEOUT_IN_MS=3e4,e.SSE_TOO_MANY_RETRIES="Too many attempts to subscribe to server-sent event source.",e.STANDARD_EMAIL_FIELD_MAX_LENGTH=80,e.STORAGE_KEYS={IS_MINIMIZED:"IS_MINIMIZED",FAILED_OUTBOUND_MESSAGE_ENTRIES:"FAILED_MESSAGES",SCROLL_POSITION:"SCROLL_POSITION",JWT:"JWT",IS_POSTCHAT_DISPLAYED:"IS_POSTCHAT_DISPLAYED",CONVERSATION_BUTTON_CLICK_TIME:"CONVERSATION_BUTTON_CLICK_TIME",PRECHAT_SUBMIT_TIME:"PRECHAT_SUBMIT_TIME",INPUT_FOOTER_RENDER_TIME:"INPUT_FOOTER_RENDER_TIME"},e.SseStatus={NOT_STARTED_SSE:"NOT_STARTED",OPENED_SSE:"OPEN",BLOCKED_SSE:"BLOCKED",CLOSED_SSE:"CLOSED"},e.TextInputContentType={NAME:"Name",PHONE:"TelephoneNumber",EMAIL:"EmailAddress",URL:"URL"},e.TextInputKeyboardType={URL:"URL",NUMBER:"NumberPad",PHONE:"PhonePad",EMAIL:"EmailAddress",DECIMAL:"DecimalPad"},e.TextInputType={SINGLE_LINE:"Singleline",MULTI_LINE:"Multiline"},e.TitleInteractionItemTypes=I,e.TitleItemTypes=E,e.ValueTypes=N,e.WEEKDAY_TIMESTAMP_FORMAT={weekday:"long"},e.WEEK_THRESHOLD_MILLISECONDS=5184e5,e.capabilitiesVersion="248",e.createTitleOptionItem=function(e){const T=e.title||e.titleItem.title;return{title:T,itemType:I.TITLE_OPTION_ITEM,titleItem:{itemType:E.TITLE_ITEM,title:T}}},e.getOptionTitle=function(e){return _(e),T(e.titleItem)},e.getTextValue=function(e){return function(e){if(!e||!e.textValue)throw new Error(`Expected text value to be defined but received: ${e.textValue}`);if(!e.valueType.length||e.valueType!==N.TEXT_VALUE)throw new Error(`Expected value type to be a ${N.TEXT_VALUE} but received: ${e.valueType}`)}(e),e.textValue},e.getTitle=T,e.getValueType=function(e){return function(e){if(!e||!e.valueType)throw new Error(`Expected value type to be defined but received: ${e.valueType}`);if(!e.valueType.length||"string"!=typeof e.valueType)throw new Error("Expected value type to be a string but received: "+typeof e.valueType)}(e),e.valueType},e.validateTitleItem=t,e.validateTitleOptionItem=_,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/constants', ['embeddedMessaging/constants'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/common",["exports","embeddedMessaging/constants","embeddedMessaging/globalEventStore","o11y/client","o11y_schema/sf_embeddedMessaging"],function(e,E,t,n,r){function _(e){return void 0===e||null==e}function o(e){return"boolean"==typeof e&&!isNaN(e)}function i(e){return"number"==typeof e&&!isNaN(e)}function a(e){return"string"==typeof e&&e.trim().length>0}function S(e){return"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&Object.keys(e).length>0}function s(e){return!!(Array.isArray(e)&&e.length>0)}function T(e){return"function"==typeof e}let N=!1;function I(e,E,t){(t||N)&&window&&window.console&&window.console[e]&&window.console[e]("[Embedded Messaging] "+(Array.isArray(E)?E.join(", "):E))}function A(e){I("log",`${e}`)}function D(e){I("warn",e?`Warning: ${e}`:"Unspecified warning.")}function M(e){I("error",e?`${e}`:"Unspecified error.")}const c={validateAuthMode(e){if(!Object.values(E.AUTH_MODE).includes(e))throw new Error(`${e} is not a valid AUTH_MODE enum value`)},validateJwtExpiry(e){let E,t;try{return E=this.parseJWT(e),t=Math.floor(Date.now()/1e3)<E.exp,t||A(`JWT has expired at ${new Date(1e3*E.exp).toString()}`),t}catch(e){return!1}},parseJWT(e){const E=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),t=decodeURIComponent(window.atob(E).split("").map(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""));return JSON.parse(t)},getAuthMode(e){let E=null;try{E=e.embeddedServiceMessagingChannel.authMode}catch(e){M(`Failed to retrieve auth mode flag: ${e.message}`)}return E},isUserVerificationEnabled(e){const t=this.getAuthMode(e);return t===E.AUTH_MODE.AUTH||t===E.AUTH_MODE.EXP_SITE_AUTH},getUserEnvironmentDetails(){const e=[navigator.platform,navigator.userAgent,navigator.appVersion,navigator.vendor,window.opera].join(" ");return{os:this.matchItem(e,[{name:"Windows Phone",value:"Windows Phone",version:"OS"},{name:"Windows",value:"Win",version:"NT"},{name:"iPhone",value:"iPhone",version:"OS"},{name:"iPad",value:"iPad",version:"OS"},{name:"Kindle",value:"Silk",version:"Silk"},{name:"Android",value:"Android",version:"Android"},{name:"PlayBook",value:"PlayBook",version:"OS"},{name:"BlackBerry",value:"BlackBerry",version:"/"},{name:"Macintosh",value:"Mac",version:"OS X"},{name:"Linux",value:"Linux",version:"rv"},{name:"Palm",value:"Palm",version:"PalmOS"}]),browser:this.matchItem(e,[{name:"Edge",value:"Edg",version:"Edg"},{name:"Chrome",value:"Chrome",version:"Chrome"},{name:"Firefox",value:"Firefox",version:"Firefox"},{name:"Safari",value:"Safari",version:"Version"},{name:"Internet Explorer",value:"MSIE",version:"MSIE"},{name:"Opera",value:"Opera",version:"Opera"},{name:"BlackBerry",value:"CLDC",version:"CLDC"},{name:"Mozilla",value:"Mozilla",version:"Mozilla"}])}},matchItem(e,E){let t,n,r,_,o,i=0,a=0;for(i=0;i<E.length;i+=1)if(t=new RegExp(E[i].value,"i"),r=t.test(e),r){if(n=new RegExp(E[i].version+"[- /:;]([\\d._]+)","i"),_=e.match(n),o="",_&&_[1]&&(_=_[1]),_)for(_=_.split(/[._]+/),a=0;a<_.length;a+=1)o+=0===a?_[a]+".":_[a];else o="0";return{name:E[i].name,version:parseFloat(o)}}return{name:"unknown",version:0}},getDeviceInfoAsQueryParams(){let e="";const E=this.getUserEnvironmentDetails();return E&&(e=new URLSearchParams({os:E.os.name,osVersion:E.os.version,browser:E.browser.name,browserVersion:E.browser.version}).toString()),e}},l={HTTP:"http:",HTTPS:"https:",FULL_HTTP:"http://",FULL_HTTPS:"https://",EMAIL:"mailto:"};const d="RTL";let R;const O={setHtmlDirection(e){R&&D("htmlDirection has been previously set by the client"),R=e},isHtmlDirectionRTL:()=>R===d};let p,m,g,G,u;class C{static setClientSessionId(e){u=e}static setConversationId(e){G=e}}C.initializeLoggingUtil=e=>{p=c.getAuthMode(e)||"",m=e.hostUrl,g=e.name,G=e.conversationId},C.logInteraction=(e,t,_,o)=>{try{const i=n.getInstrumentation(_);e&&e.type&&"click"===e.type&&i.domEvent(e,t,r.interactionEventSchema,{configDev:g||o.configDev,method:o.method,feature:o.feature?o.feature:e.target.id.includes("-")?e.target.id.substr(0,e.target.id.lastIndexOf("-")):e.target.id,op:e.type,convId:G||o.convId,fileSize:o.fileSize,fileMimeType:o.fileMimeType,convType:p||o.convType,hostUrl:m||o.hostUrl,...u&&{jwtClaims:JSON.stringify({[E.CLIENT_SESSION_ID_JWT_CLAIM]:u})}})}catch(e){M(`Something went wrong in executing O11y domEvent API from ${o.method}: ${e}`)}},C.logCurrentState=(e,t)=>{try{n.getInstrumentation(e).log(r.currentStateSchema,{configDev:g||t.configDev,method:t.method,stateMessage:t.stateMessage,convId:G||t.convId,convEntryId:t.convEntryId,convType:p||t.convType,hostUrl:m||t.hostUrl,...u&&{jwtClaims:JSON.stringify({[E.CLIENT_SESSION_ID_JWT_CLAIM]:u})}})}catch(e){M(`Something went wrong in executing O11y log API from ${t.method}: ${e}`)}},C.logError=(e,t,_)=>{try{n.getInstrumentation(t).error(e,r.failureEventSchema,{configDev:g||_.configDev,method:_.method,errMessage:_.errMessage,convId:G||_.convId,errCode:_.errCode,convEntryId:_.convEntryId,convType:p||_.convType,hostUrl:m||_.hostUrl,...u&&{jwtClaims:JSON.stringify({[E.CLIENT_SESSION_ID_JWT_CLAIM]:u})}})}catch(e){M(`Something went wrong in executing O11y error API from ${_.method}: ${e}`)}},C.logActivity=(e,E,t)=>{try{return n.getInstrumentation(e).activityAsync(E,t)}catch(e){return M(`Something went wrong in executing O11y activity API from ${E}.`),t}};const P={EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_CLOSED_EVENT:"conversationstatuschangeclosed",EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_OPENED_EVENT:"conversationstatuschangeopened",EMBEDDED_MESSAGING_CHAT_HEADER_BACK_BUTTON_CLICK_EVENT:"chatheaderbackbuttonclick",EMBEDDED_MESSAGING_MAXIMIZE_EVENT:"maximize",EMBEDDED_MESSAGING_MINIMIZED_NOTIFICATION_DISMISS:"minimizednotificationdismiss",UNSEEN_MESSAGE_NOTIFICATION_CLICKED:"unseenmessagenotificationdismiss",APP_LOADED_EVENT_NAME:"ESW_APP_LOADED",APP_MINIMIZE_EVENT_NAME:"ESW_APP_MINIMIZE",APP_MAXIMIZE_EVENT_NAME:"ESW_APP_MAXIMIZE",EMBEDDED_MESSAGING_SET_JWT_EVENT_NAME:"ESW_SET_JWT_EVENT",EMBEDDED_MESSAGING_CLEAR_WEBSTORAGE_EVENT_NAME:"ESW_CLEAR_WEBSTORAGE_EVENT",EMBEDDED_MESSAGING_APP_READY_EVENT_NAME:"ESW_APP_READY_EVENT",EMBEDDED_MESSAGING_SET_CONFIG_EVENT_NAME:"ESW_SET_CONFIG_EVENT",EMBEDDED_MESSAGING_FORM_SUBMIT:"formsubmit",EMBEDDED_MESSAGING_PRECHAT_SUBMIT:"prechatsubmit",APP_RESET_INITIAL_STATE_EVENT_NAME:"ESW_APP_RESET_INITIAL_STATE",EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR:"inappserviceerror",EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY:"createconversationentry",EMBEDDED_MESSAGING_DOWNLOAD_FILE:"ESW_DOWNLOAD_FILE",EMBEDDED_MESSAGING_SCROLL_STATE_UPDATE:"scrollstateupdate",EMBEDDED_MESSAGING_END_USER_SENT_MESSAGE:"endusersentmessage",EMBEDDED_MESSAGING_CONVERSATION_ENTRY_ADDED:"conversationentryadded",EMBEDDED_MESSAGING_CONVERSATION_ENTRY_UPDATED:"conversationentryupdated",EMBEDDED_MESSAGING_ACKNOWLEDGEMENT_UPDATE:"acknowledgementupdate",EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_UPDATE:"announcementupdate",EMBEDDED_MESSAGING_UPDATE_WEBSTORAGE_FAILEDMESSAGES_EVENT_NAME:"ESW_SET_WEBSTORAGE_FAILEDMESSAGES_EVENT",EMBEDDED_MESSAGING_CLEAN_UP_WEBSTORAGE_FAILEDMESSAGES_EVENT_NAME:"ESW_CLEAN_UP_WEBSTORAGE_FAILEDMESSAGES_EVENT",EMBEDDED_MESSAGING_UNSEEN_NOTIFICATION_ANIMATION_END:"unseenNotificationAnimationEnd",EMBEDDED_MESSAGING_STORE_RESTORE_MESSAGE_AREA_SCROLL_POSITION:"storerestoremessageareascrollposition",EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT:"trapfocustofirst",EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT:"trapfocustolast",EMBEDDED_MESSAGING_MAXIMIZE_RESIZING_COMPLETED_EVENT:"ESW_APP_MAXIMIZATION_RESIZING_COMPLETED",EMBEDDED_MESSAGING_MINIMIZE_RESIZING_COMPLETED_EVENT:"ESW_APP_MINIMIZATION_RESIZING_COMPLETED",EMBEDDED_MESSAGING_UPDATE_TITLE_NOTIFICATION:"ESW_APP_UPDATE_TITLE_NOTIFICATION",EMBEDDED_MESSAGING_SHOW_FULL_SIZE_FILE_PREVIEW_EVENT:"ESW_SHOW_FULL_SIZE_FILE_PREVIEW",EMBEDDED_MESSAGING_INITIALIZE_FILE_PREVIEW_FRAME:"ESW_INITIALIZE_FILE_PREVIEW_FRAME",EMBEDDED_MESSAGING_RESEND_FAILED_MESSAGE:"ESW_RESEND_FAILED_MESSAGE",APP_REQUEST_HIDDEN_PRECHAT_FIELDS_EVENT_NAME:"ESW_APP_SEND_HIDDEN_PRECHAT_FIELDS",APP_RECEIVE_HIDDEN_PRECHAT_FIELDS_EVENT_NAME:"ESW_APP_RECEIVE_HIDDEN_PRECHAT_FIELDS",EMBEDDED_MESSAGING_SET_CONVERSATION_DATA_EVENT_NAME:"EMBEDDED_MESSAGING_SET_CONVERSATION_DATA_EVENT",APP_REQUEST_AUTORESPONSE_PARAMETERS_EVENT_NAME:"ESW_APP_SEND_AUTORESPONSE_PARAMETERS",APP_RECEIVE_AUTORESPONSE_PARAMETER_EVENT_NAME:"ESW_APP_RECEIVE_AUTORESPONSE_PARAMETERS",APP_PRECHAT_SUBMIT:"ESW_APP_PRECHAT_SUBMIT",EMBEDDED_MESSAGING_LINK_MESSAGE_RERENDER_EVENT:"EMBEDDED_MESSAGING_LINK_MESSAGE_RERENDER",EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED_EVENT:"EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED",EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED_EVENT:"EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED",EMBEDDED_MESSAGING_SSE_TOO_MANY_RETRIES_EVENT:"EMBEDDED_MESSAGING_SSE_TOO_MANY_RETRIES",APP_INIT_ERROR_EVENT_NAME:"ESW_APP_INITIALIZATION_ERROR",EMBEDDED_MESSAGING_FORM_MESSAGE_CLICK_EVENT:"embeddedmessagingformmessageclick",EMBEDDED_MESSAGING_CLOSE_CONFIRMATION:"CLOSE_CONFIRMATION_DIALOG",EMBEDDED_MESSAGING_DIALOG_CONFIRM_BUTTON_CLICK:"confirmbuttonclick",EMBEDDED_MESSAGING_DIALOG_CANCEL_BUTTON_CLICK:"cancelbuttonclick",EMBEDDED_MESSAGING_SHOW_MINIMIZED_NOTIFICATION_EVENT:"EMBEDDED_MESSAGING_SHOW_MINIMIZED_NOTIFICATION_EVENT",APP_SHOW_MINIMIZED_STATE_NOTIFICATION:"ESW_APP_SHOW_MINIMIZED_STATE_NOTIFICATION",EMBEDDED_MESSAGING_PUSH_PARENT_FRAME_LOGS:"EMBEDDED_MESSAGING_PUSH_PARENT_FRAME_LOGS",EMBEDDED_MESSAGING_PUSH_VISIBLE_PRECHAT_FIELDS:"EMBEDDED_MESSAGING_PUSH_VISIBLE_PRECHAT_FIELDS",EMBEDDED_MESSAGING_SHOW_NOTIFICATION:"shownotification",EMBEDDED_MESSAGING_CLEAR_NOTIFICATION:"clearnotification",EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT:"EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_EVENT",EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_SUCCESS:"EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_SUCCESS_EVENT",EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_ERROR:"EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_ERROR_EVENT",EMBEDDED_MESSAGING_PRECHAT_STATE_INITIAL_RENDER:"EMBEDDED_MESSAGING_PRECHAT_STATE_INITIAL_RENDER",EMBEDDED_MESSAGING_CLOSE_EMOJI_KEYBOARD:"EMBEDDED_MESSAGING_CLOSE_EMOJI_KEYBOARD",EMBEDDED_MESSAGING_APP_AFTER_REFRESH:"EMBEDDED_MESSAGING_APP_AFTER_REFRESH",EMBEDDED_MESSAGING_DISPATCH_EVENT_TO_HOST:"EMBEDDED_MESSAGING_DISPATCH_EVENT_TO_HOST",EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_REQUEST_EVENT_NAME:"EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_REQUEST",EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_RESPONSE_EVENT_NAME:"EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_RESPONSE"},f={isSafari:()=>navigator.userAgent&&-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome"),isElementVisible:(e,E)=>{if(e&&E){const t=e.offsetTop,n=t+e.clientHeight,r=E.scrollTop,_=r+E.clientHeight;return r<t&&_>n}return!1},unwrapProxy:e=>Array.isArray(e)?e:JSON.parse(JSON.stringify(e||{})||"[]"),waitForFrame:e=>{window.requestAnimationFrame(e)},sendPostMessageToOrigin:(e,E,t)=>{if("string"!=typeof E)throw new Error(`Expected a string to use as message param in post message, instead received ${E}.`);if("string"!=typeof e||e.length<1)throw new Error(`Unable to send post message to parent window because origin value is invalid. Current value is: ${e}.`);window.parent.postMessage({method:E,...t&&{data:t}},e)},dispatchEventToHost(e,E){if("string"!=typeof e||e.length<1)throw new Error("eventName param cannot be undefined or empty");this.sendPostMessageToOrigin(f.getParentWindowUrl(),P.EMBEDDED_MESSAGING_DISPATCH_EVENT_TO_HOST,{eventName:e,eventDetails:E})},sendPostMessageToFilePreviewFrame:(e,t,n)=>{if("string"!=typeof t)throw new Error(`Expected a string to use as message param in post message, instead received ${t}.`);if("string"!=typeof e||e.length<1)throw new Error(`Unable to send post message to file preview iframe because origin value is invalid. Current value is: ${e}.`);window.parent&&window.parent.frames&&window.parent.frames.length&&window.parent.frames[E.FILE_PREVIEW_IFRAME_NAME].postMessage({method:t,...n&&{data:n}},e)},replacePlaceholdersInString:(e,E)=>{let t=e;for(const e in E)e&&(t=t.replace(e,E[e]));return t},uuid:()=>{const e="0123456789abcdef",E=new Uint32Array(32);crypto.getRandomValues(E);let t="";for(let n=0;n<32;n++)8!==n&&12!==n&&16!==n&&20!==n||(t+="-"),t+=12===n?"4":e.charAt(16===n?3&E[n]|8:15&E[n]);return t},isDesktop:()=>-1===navigator.userAgent.indexOf("Mobi"),isIOSChrome:()=>navigator.userAgent.match("CriOS"),isMobilePublisherApp:()=>navigator.userAgent.includes("CommunityHybridContainer")||navigator.userAgent.includes("playgroundcommunity"),isEmpty:e=>e&&0===Object.keys(e).length,isSameDay(e,E){const t=new Date(e),n=new Date(E);return t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear()},handleWindowEvents(e,E){let t,n;try{if(_(e&&e.data))throw new Error(`Expected to receive a valid message event, instead received ${e}.`);if(t=e.data.method?e.data.method:void 0,n=e.data.data?e.data.data:void 0,f.getParentWindowUrl()&&0===f.getParentWindowUrl().indexOf(e.origin)&&E&&S(E)&&E.hasOwnProperty(t)&&T(E[t])){(0,E[t])(n)}}catch(e){M(`Failed to handle a message event from the parent page for the event ${t}.`)}},querySelectItem(e,E){const t=e.parentNode;if(!t||!t.children||t.children.length<1)return null;const n=Array.prototype.indexOf.call(t.children,e);if(n<0)return null;const r=t.children.length,_=t.children[((n+E)%r+r)%r];return _&&_.children&&_.children.length>0&&_.firstChild?_.firstChild:null},getEpochTimesDiffInSeconds(e,E){try{if(isNaN(e))throw new Error(`[getEpochTimesDiffInSeconds] Expected a valid start-time, instead received ${e}`);if(isNaN(E))throw new Error(`[getEpochTimesDiffInSeconds] Expected a valid end-time, instead received ${E}`);if(e>E)throw new Error(`[getEpochTimesDiffInSeconds] start-time: ${e} is after end-time: ${E}`);return((E-e)/1e3).toFixed(3)}catch(t){throw new Error(`[getEpochTimesDiffInSeconds] Something went wrong while calculating Epoch time difference in seconds between start-time: ${e} and end-time: ${E}`)}},getClientSessionIdJwtClaim(e){try{const t=c.parseJWT(e)||{};return t[E.CLIENT_SESSION_ID_JWT_CLAIM]||""}catch(e){throw new Error(`Something went wrong while extracting clientSessionId claim from the JWT: ${e}`)}},getParentWindowUrl:()=>document.referrer&&""!==document.referrer?document.referrer:document.location.ancestorOrigins[0],encodeRFC5987FileName(e){if("string"!=typeof e)return M(`Expected file name to be a valid string to encode, instead received ${e}.`),"";try{return encodeURIComponent(e).replace(/['()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`).replace(/%(7C|60|5E)/g,(e,E)=>String.fromCharCode(parseInt(E,16)))}catch(E){return M(`Something went wrong while encoding the filename: ${e} per RFC5987 encoding standards: ${E}`),""}}};let y=!0;let v;const h={createStaticContentTextEntry(e,n,r){t.dispatchEvent(P.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:n,content:{...r&&{inReplyToMessageId:r},messageType:E.MessageTypes.STATIC_CONTENT_MESSAGE,staticContent:{formatType:E.FormatTypes.TEXT,text:e}},messageType:E.MessageTypes.STATIC_CONTENT_MESSAGE,entryType:E.EntryTypes.CONVERSATION_MESSAGE,sender:{role:E.ParticipantRoles.ENDUSER},actorType:E.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})},createStaticContentAttachmentsEntry(e,n){if(!n||"object"!=typeof n)throw new Error(`Failed to create a conversation entry. Expected an attachment type of Object but received: ${n}`);t.dispatchEvent(P.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:e,content:{messageType:E.MessageTypes.STATIC_CONTENT_MESSAGE,staticContent:{attachments:[{id:f.uuid(),mimeType:n.type,name:n.name}],formatType:E.FormatTypes.ATTACHMENTS,text:""}},messageType:E.MessageTypes.STATIC_CONTENT_MESSAGE,entryType:E.EntryTypes.CONVERSATION_MESSAGE,sender:{role:E.ParticipantRoles.ENDUSER},actorType:E.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})},createChoicesResponseSelectionsEntry(e,n,r){const _=e.optionIdentifier,o=E.getOptionTitle(e);t.dispatchEvent(P.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:n,content:{...r&&{inReplyToMessageId:r},messageType:E.MessageTypes.CHOICES_RESPONSE_MESSAGE,choicesResponse:{formatType:E.FormatTypes.SELECTIONS,selectedOptions:[{optionIdentifier:_,itemType:E.TitleInteractionItemTypes.TITLE_OPTION_ITEM,titleItem:{itemType:E.TitleItemTypes.TITLE_ITEM,title:o}}]}},messageType:E.MessageTypes.CHOICES_RESPONSE_MESSAGE,entryType:E.EntryTypes.CONVERSATION_MESSAGE,sender:{role:E.ParticipantRoles.ENDUSER},actorType:E.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})},createFormResponseErrorMessageEntry(e,n,r){t.dispatchEvent(P.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:n,content:{...r&&{inReplyToMessageId:r},messageType:E.MessageTypes.FORM_RESPONSE_MESSAGE,formResponse:{formatType:E.FormatTypes.RESULT,result:{resultType:E.FormResultType.FORM_ERROR_RESULT,...e&&{errors:e}}}},messageType:E.MessageTypes.FORM_RESPONSE_MESSAGE,entryType:E.EntryTypes.CONVERSATION_MESSAGE,sender:{role:E.ParticipantRoles.ENDUSER},actorType:E.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})},createFormResponsePendingMessageEntry(e,n){t.dispatchEvent(P.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:e,content:{...n&&{inReplyToMessageId:n},messageType:E.MessageTypes.FORM_RESPONSE_MESSAGE,formResponse:{formatType:E.FormatTypes.RESULT,result:{resultType:E.FormResultType.FORM_PENDING_RESULT}}},messageType:E.MessageTypes.FORM_RESPONSE_MESSAGE,entryType:E.EntryTypes.CONVERSATION_MESSAGE,sender:{role:E.ParticipantRoles.ENDUSER},actorType:E.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})}};e.ALLOWED_URL_PROTOCOLS=l,e.AUTORESPONSE_URL_PLACEHOLDER_REGEX=/\{\{(.*?)\}\}/g,e.DOMAIN_REGEX=/^(?:https?:\/\/)?(?:[^@/\n]+@)?(?:www.)?([^:/?\n]+)/,e.HYPERLINK_REGEX=/(?:[\p{L}\p{N}_\-+.'$%&=?^]{1,64}@(?:[\p{L}\p{N}_-]){1,255}(?:\.[\p{L}\p{N}_-]{1,255}){1,10})|(?:(?:(?:https?|ftp):\/\/(?:[\p{L}\p{N}_\-|=%~#/+@.,;:?!']|&){0,2047}(?:[().\p{L}\p{N}_=/+#-])[^\s().<>,;[\]'"]))|(?:([a-zà-ÿ0-9](?:[-a-z0-9]{0,62}[a-zà-ÿ0-9])?\.)+(?:AI|AU|BE|BR|BIZ|CA|CN|CO|COM|DE|EDU|FM|FR|GOV|IM|IN|INFO|INT|IO|JOBS|JP|LY|ME|MIL|MOBI|NAME|NET|ORG|PRO|RU|SH|SITE|TEL|TRAVEL|TV|UK|US|XYZ)(?!@(?:[a-z0-9](?:[-a-z0-9]{0,62}[a-z0-9])?\.)+(?:AI|AU|BE|BR|BIZ|CA|CN|CO|COM|DE|EDU|FM|FR|GOV|IM|IN|INFO|INT|IO|JOBS|JP|LY|ME|MIL|MOBI|NAME|NET|ORG|PRO|RU|SH|SITE|TEL|TRAVEL|TV|UK|US|XYZ))(?:\/[\p{L}\p{N}_\-=?/.&;:%~,+@#]{0,2048}(?:[\p{L}\p{N}_=/+#-]|\([^\s()]*\)))?(?:$|(?=\.$)|(?=\.\s)|(?=[^\p{L}\p{N}_.])))/gimu,e.KEY_CODES={ENTER:"Enter",TAB:"Tab",SPACE:" ",ESCAPE:"Escape",UP:"ArrowUp",DOWN:"ArrowDown"},e.LoggingUtil=C,e.MARKDOWN_LINK_REGEX=/\[([^\]]+)\]\((.*?)\)(?=[^\s)]*\s|[^\s)]*$)/g,e.NOTIFICATION_TYPES={INFO:"info",SUCCESS:"success",ERROR:"error"},e.NUMBER_VALIDATION_REGEX="^[0-9.]*$",e.PHONE_NUMBER_VALIDATION_REGEX="^[0-9\\(\\)+-.\\s]*$",e.SLDS_ICON={CLOSE:"utility:close",MENU:"utility:threedots_vertical",INFO:"utility:info",SUCCESS:"utility:success",ERROR:"utility:error"},e.URL_VALIDATION_REGEX="\\S+\\.\\S+",e.authEvent={EMBEDDED_MESSAGING_CLEAR_USER_SESSION_EVENT_NAME:"EMBEDDED_MESSAGING_CLEAR_USER_SESSION_EVENT",EMBEDDED_MESSAGING_AUTHENTICATED_JWT_EXPIRED_EVENT_NAME:"EMBEDDED_MESSAGING_AUTHENTICATED_JWT_EXPIRED_EVENT",EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME:"EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT",EMBEDDED_MESSAGING_SET_IDENTITY_TOKEN_EVENT_NAME:"EMBEDDED_MESSAGING_SET_IDENTITY_TOKEN_EVENT"},e.authUtil=c,e.createConversationEntryUtil=h,e.error=M,e.events=P,e.getEnableUserInputForConversationWithBotFromConfig=()=>y,e.getLanguage=()=>v,e.isArray=s,e.isBoolean=o,e.isFunction=T,e.isNullOrUndefined=_,e.isNumber=i,e.isObject=S,e.isString=a,e.log=A,e.rtlUtil=O,e.setDevMode=function(e){N=e},e.setEnableUserInputForConversationWithBotFromConfig=e=>{y=e},e.setLanguage=e=>{v=e},e.util=f,e.validateArray=function(e){if(!s(e))throw new Error(`Expected value to be an Array, but received: ${e||typeof e}`);return e},e.validateBoolean=function(e){if(!o(e))throw new Error(`Expected value to be a 'boolean' but received: ${e||typeof e}`);return e},e.validateFunction=function(e){if(!T(e))throw new Error(`Expected value to be a 'function', but received: ${e||typeof e}`);return e},e.validateNotNullOrUndefined=function(e){if(_(e))throw new Error(`Expected value to be defined and non-null but received: ${e||typeof e}`);return e},e.validateNumber=function(e){if(!i(e))throw new Error(`Expected value to be a 'number' but received: ${e||typeof e}`);return e},e.validateObject=function(e){if(!S(e))throw new Error(`Expected value to be an 'object', but received: ${e||typeof e}`);return e},e.validateString=function(e){if(!a(e))throw new Error(`Expected value to be a 'string', but received: ${e||typeof e}`);return e},e.validateURL=function(e){let E;if(!a(e))throw new Error(`Expected value to be a 'string', but received: ${e||typeof e}`);try{if(E=new URL(e),E.protocol!==l.HTTP&&E.protocol!==l.HTTPS)throw new Error(`URL protocol ${E.protocol} is not allowlisted.`)}catch(E){throw new Error(`URL ${e} failed validation. ${E}`)}return E},e.warning=D,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/common', ['embeddedMessaging/common'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/webStorageUtils",["exports","embeddedMessaging/common"],function(e,t){const o="EmbeddedMessaging-WebStorageUtils";let a;e.storageKey=void 0;const s=()=>{try{if(window.localStorage.getItem("test"),window.localStorage&&"object"==typeof window.localStorage)return!0}catch{return t.log("localStorage not available"),!1}return!1},r=()=>{try{if(window.sessionStorage.getItem("test"),window.sessionStorage&&"object"==typeof window.sessionStorage)return!0}catch{return t.log("sessionStorage not available"),!1}return!1},g=(e=!1)=>s()&&e?localStorage:r()?sessionStorage:void 0;e.clearWebStorage=()=>{s()&&localStorage.removeItem(e.storageKey),r()&&sessionStorage.removeItem(e.storageKey),t.util.sendPostMessageToOrigin(t.util.getParentWindowUrl(),t.events.EMBEDDED_MESSAGING_CLEAR_WEBSTORAGE_EVENT_NAME),t.log("web storage cleared"),t.LoggingUtil.logCurrentState(o,{method:"clearWebStorage",stateMessage:"Cleared the web storage."})},e.getItemInPayloadByKey=(e,t)=>{let o;if(e){o=(JSON.parse(e)||{})[t]}return o},e.getItemInWebStorageByKey=(t,o=!0)=>{let a;const s=g(o);if(s){a=(s.getItem(e.storageKey)&&JSON.parse(s.getItem(e.storageKey))||{})[t]}return a},e.initializeWebStorage=g=>{a=g,e.storageKey=`${a}_WEB_STORAGE`;const i=JSON.stringify({});s()&&!localStorage.getItem(e.storageKey)&&localStorage.setItem(e.storageKey,i),r()&&!sessionStorage.getItem(e.storageKey)&&sessionStorage.setItem(e.storageKey,i),t.log("web storage initialized"),t.LoggingUtil.logCurrentState(o,{method:"initializeWebStorage",stateMessage:"Initialized the web storage."})},e.isLocalStorageAvailable=s,e.isSessionStorageAvailable=r,e.removeItemInWebStorage=o=>{if(s()&&localStorage.getItem(e.storageKey)){const t=JSON.parse(localStorage.getItem(e.storageKey))||{};delete t[o],localStorage.setItem(e.storageKey,JSON.stringify(t))}if(r()&&sessionStorage.getItem(e.storageKey)){const t=JSON.parse(sessionStorage.getItem(e.storageKey))||{};delete t[o],sessionStorage.setItem(e.storageKey,JSON.stringify(t))}t.log(`${o} removed from web storage`)},e.setItemInWebStorage=(o,a,s=!0)=>{const r=g(s);if(r){const g=r.getItem(e.storageKey)&&JSON.parse(r.getItem(e.storageKey))||{};g[o]=a,r.setItem(e.storageKey,JSON.stringify(g)),t.log(`${o} set in ${s?"localStorage":"sessionStorage"}`)}},Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/webStorageUtils', ['embeddedMessaging/webStorageUtils'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/sldsCommon",["exports"],function(e){var d=[function(e,d,a){var o=e?"["+e+"]":"",r=e?"["+e+"-host]":"";return["*",o,",",o,"::before,",o,"::after {box-sizing: border-box;}",d?":host([data-render-mode='shadow']) h1"+o+",:host([data-render-mode='shadow']) h2"+o+",:host([data-render-mode='shadow']) h3"+o+",:host([data-render-mode='shadow']) h4"+o+",:host([data-render-mode='shadow']) h5"+o+",:host([data-render-mode='shadow']) h6":r+"[data-render-mode='shadow'] h1"+o+","+r+"[data-render-mode='shadow'] h2"+o+","+r+"[data-render-mode='shadow'] h3"+o+","+r+"[data-render-mode='shadow'] h4"+o+","+r+"[data-render-mode='shadow'] h5"+o+","+r+"[data-render-mode='shadow'] h6",o," {font-weight: var(--sds-s-heading-font-weight, inherit);margin-block-start: var(\n --sds-s-heading-spacing-block-start,\n var(--sds-s-heading-spacing-block)\n );margin-block-end: var(\n --sds-s-heading-spacing-block-end,\n var(--sds-s-heading-spacing-block)\n );font-size: 1em;}",d?":host([data-render-mode='shadow']) a":r+"[data-render-mode='shadow'] a",o," {color: var(--slds-s-link-color);text-decoration: var(--_slds-g-font-decoration, none);transition: color 0.1s linear;background-color: transparent;}",d?":host([data-render-mode='shadow']) a:active"+o+",:host([data-render-mode='shadow']) a:hover":r+"[data-render-mode='shadow'] a:active"+o+","+r+"[data-render-mode='shadow'] a:hover",o," {outline: 0;}",d?":host([data-render-mode='shadow']) a:hover"+o+",:host([data-render-mode='shadow']) a:focus":r+"[data-render-mode='shadow'] a:hover"+o+","+r+"[data-render-mode='shadow'] a:focus",o," {text-decoration: var(--_slds-g-font-decoration-hover, underline);color: var(\n --slds-g-link-color-hover,\n var(--slds-g-color-brand-base-30, #014486)\n );}",d?":host([data-render-mode='shadow']) a:active":r+"[data-render-mode='shadow'] a:active",o," {color: var(\n --slds-g-link-color-active,\n var(--slds-g-color-brand-base-30, #014486)\n );}",d?":host([data-render-mode='shadow']) a:focus-visible":r+"[data-render-mode='shadow'] a:focus-visible",o," {outline-color: var(\n --_slds-g-color-outline,\n var(--slds-g-color-brand-base-50, #0176d3)\n );}",d?":host([data-render-mode='shadow']) a:focus":r+"[data-render-mode='shadow'] a:focus",o," {box-shadow: var(--_slds-g-shadow);border-color: var(--_slds-g-color-border);border-width: var(--_slds-g-sizing-border);border-style: var(--_slds-g-style-border);outline: var(--_slds-g-font-decoration-hover);}",d?":host([data-render-mode='shadow']) a"+o+",:host([data-render-mode='shadow']) button":r+"[data-render-mode='shadow'] a"+o+","+r+"[data-render-mode='shadow'] button",o," {cursor: pointer;}",d?":host([data-render-mode='shadow']) p":r+"[data-render-mode='shadow'] p",o," {margin-block-start: var(\n --sds-s-content-spacing-block-start,\n var(--sds-s-content-spacing-block, 0)\n );margin-block-end: var(\n --sds-s-content-spacing-block-end,\n var(--sds-s-content-spacing-block, 0)\n );margin-inline-start: 0;margin-inline-end: 0;padding-block-start: 0;padding-block-end: 0;padding-inline-start: 0;padding-inline-end: 0;}",d?":host([data-render-mode='shadow']) ol"+o+",:host([data-render-mode='shadow']) ul":r+"[data-render-mode='shadow'] ol"+o+","+r+"[data-render-mode='shadow'] ul",o," {list-style: none;padding: 0;margin-block-start: var(\n --sds-s-content-spacing-block-start,\n var(--sds-s-content-spacing-block)\n );margin-block-end: var(\n --sds-s-content-spacing-block-end,\n var(--sds-s-content-spacing-block)\n );}",d?":host([data-render-mode='shadow']) button"+o+",:host([data-render-mode='shadow']) [type='button']"+o+",:host([data-render-mode='shadow']) [type='reset']"+o+",:host([data-render-mode='shadow']) [type='submit']":r+"[data-render-mode='shadow'] button"+o+","+r+"[data-render-mode='shadow'] [type='button']"+o+","+r+"[data-render-mode='shadow'] [type='reset']"+o+","+r+"[data-render-mode='shadow'] [type='submit']",o," {-webkit-appearance: button;appearance: button;cursor: pointer;}",d?":host([data-render-mode='shadow']) [type='search']":r+"[data-render-mode='shadow'] [type='search']",o," {-webkit-appearance: textfield;outline-offset: -2px;}",d?":host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-decoration,:host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-cancel-button,:host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-results-button,:host([data-render-mode='shadow']) [type='search']":r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-decoration,"+r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-cancel-button,"+r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-results-button,"+r+"[data-render-mode='shadow'] [type='search']",o,"::-webkit-search-results-decoration {display: none;}",d?":host([data-render-mode='shadow']) select":r+"[data-render-mode='shadow'] select",o," {color: inherit;font: inherit;margin: 0;}",d?":host([data-render-mode='shadow']) input:focus"+o+",:host([data-render-mode='shadow']) button:focus"+o+",:host([data-render-mode='shadow']) select:focus"+o+",:host([data-render-mode='shadow']) textarea:focus":r+"[data-render-mode='shadow'] input:focus"+o+","+r+"[data-render-mode='shadow'] button:focus"+o+","+r+"[data-render-mode='shadow'] select:focus"+o+","+r+"[data-render-mode='shadow'] textarea:focus",o," {outline-offset: 0;}",o,"::-moz-focus-inner {border-style: none;padding: 0;}",o,"::-webkit-search-decoration {-webkit-appearance: none;}",o,"::-webkit-file-upload-button {-webkit-appearance: button;font: inherit;}:-moz-focusring",o," {outline: 1px dotted ButtonText;}:-moz-ui-invalid",o," {box-shadow: none;}",d?":host([data-render-mode='shadow']) code"+o+",:host([data-render-mode='shadow']) kbd"+o+",:host([data-render-mode='shadow']) samp"+o+",:host([data-render-mode='shadow']) pre":r+"[data-render-mode='shadow'] code"+o+","+r+"[data-render-mode='shadow'] kbd"+o+","+r+"[data-render-mode='shadow'] samp"+o+","+r+"[data-render-mode='shadow'] pre",o," {font-family: var(\n --sds-g-font-family-monospace,\n Consolas,\n Menlo,\n Monaco,\n Courier,\n monospace,\n monospace\n );font-size: var(--sds-g-font-size-base, 0.875rem, 1rem);}",d?":host([data-render-mode='shadow']) img"+o+",:host([data-render-mode='shadow']) [type='image']":r+"[data-render-mode='shadow'] img"+o+","+r+"[data-render-mode='shadow'] [type='image']",o," {max-width: 100%;height: auto;border: 0;vertical-align: middle;}",d?":host([data-render-mode='shadow']) iframe":r+"[data-render-mode='shadow'] iframe",o," {border-style: none;}",d?":host([data-render-mode='shadow']) svg:not([fill])":r+"[data-render-mode='shadow'] svg:not([fill])",o," {fill: currentColor;}",d?":host([data-render-mode='shadow']) abbr[title]":r+"[data-render-mode='shadow'] abbr[title]",o," {text-decoration: none;cursor: help;}",d?":host([data-render-mode='shadow']) table":r+"[data-render-mode='shadow'] table",o," {border-collapse: collapse;border-spacing: 0;border: 0;width: 100%;}",d?":host([data-render-mode='shadow']) hr":r+"[data-render-mode='shadow'] hr",o," {display: block;margin: var(--sds-g-spacing-6, 2rem, 2rem) 0;border-top: var(--sds-g-sizing-border-1, 1px, 1px) solid\n var(--slds-g-color-border-base-1, #c9c9c9);height: var(--sds-g-sizing-border-1, 1px, 1px);clear: both;box-sizing: content-box;border: 0;padding: 0;}",d?":host([data-render-mode='shadow']) abbr[title]":r+"[data-render-mode='shadow'] abbr[title]",o," {border-bottom: var(--sds-g-sizing-border-1, 1px, 1px) dotted;text-decoration: none;border: 0;cursor: help;}",d?":host([data-render-mode='shadow']) caption"+o+",:host([data-render-mode='shadow']) th"+o+",:host([data-render-mode='shadow']) td":r+"[data-render-mode='shadow'] caption"+o+","+r+"[data-render-mode='shadow'] th"+o+","+r+"[data-render-mode='shadow'] td",o," {text-align: left;}",d?":host([data-render-mode='shadow']) td"+o+",:host([data-render-mode='shadow']) th":r+"[data-render-mode='shadow'] td"+o+","+r+"[data-render-mode='shadow'] th",o," {padding: 0;}",d?":host([data-render-mode='shadow']) dl":r+"[data-render-mode='shadow'] dl",o," {margin: 0;padding: 0;}",d?":host([data-render-mode='shadow']) dd":r+"[data-render-mode='shadow'] dd",o," {margin: 0;}",d?":host([data-render-mode='shadow']) pre":r+"[data-render-mode='shadow'] pre",o," {overflow: auto;}",d?":host([data-render-mode='shadow']) mark":r+"[data-render-mode='shadow'] mark",o," {background-color: #ff0;color: #000;}",d?":host([data-render-mode='shadow']) small":r+"[data-render-mode='shadow'] small",o," {font-size: 80%;}",d?":host([data-render-mode='shadow']) sub"+o+",:host([data-render-mode='shadow']) sup":r+"[data-render-mode='shadow'] sub"+o+","+r+"[data-render-mode='shadow'] sup",o," {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}",d?":host([data-render-mode='shadow']) sup":r+"[data-render-mode='shadow'] sup",o," {top: -0.5em;}",d?":host([data-render-mode='shadow']) sub":r+"[data-render-mode='shadow'] sub",o," {bottom: -0.25em;}",d?":host([data-render-mode='shadow']) b"+o+",:host([data-render-mode='shadow']) strong"+o+",:host([data-render-mode='shadow']) dfn":r+"[data-render-mode='shadow'] b"+o+","+r+"[data-render-mode='shadow'] strong"+o+","+r+"[data-render-mode='shadow'] dfn",o," {font-weight: var(--sds-g-font-weight-7, 700, 700);}",d?":host([data-render-mode='shadow']) b"+o+",:host([data-render-mode='shadow']) strong":r+"[data-render-mode='shadow'] b"+o+","+r+"[data-render-mode='shadow'] strong",o," {font-weight: var(--sds-g-font-weight-bold, bold, bold);}[data-f6-region].f6-highlight",o," {position: relative;}[data-f6-region].f6-highlight",o,"::after {width: 100%;height: 100%;content: '';outline: rgb(94, 158, 214) 3px solid;outline-offset: -3px;position: absolute;top: 0;left: 0;z-index: 9999;}"].join("")}];e.default=d,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/shadowBaseClassPrivate",["exports","lwc"],function(e,t){const s=[];function a(e,t,a,n){return s}var n=t.registerTemplate(a);a.stylesheets=[],a.stylesheetToken="lwc-758d5qnnql0",a.legacyStylesheetToken="lightning-shadowBaseClassPrivate_shadowBaseClassPrivate",t.freezeTemplate(a);class l extends t.LightningElement{connectedCallback(){this.template.synthetic||this.setAttribute("data-render-mode","shadow")}}const i=t.registerComponent(l,{tmpl:n,sel:"lightning-shadow-base-class-private",apiVersion:62});e.default=i,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/i18n/locale', [], function() { return "en-US"; });(function() { LWR.define("lightning/iso8601Utils",["exports"],function(t){const n=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d[:]?\d\d)|Z)?)?)?)?$/i,e=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d[:]?\d\d)|Z)?$/i,i=/(Z|([+-])(\d{2})[:]?(\d{2}))$/i;function r(t){if(!function(t){if("string"!=typeof t)return!1;return e.test(t)}(t))return!1;return s(`2018-09-09T${d(t)}Z`)}function d(t){return"string"==typeof t?t.split(i)[0]:t}function s(t){const n=Date.parse(t);return isFinite(n)}t.STANDARD_DATE_FORMAT="YYYY-MM-DD",t.STANDARD_TIME_FORMAT="HH:mm:ss.SSS",t.TIME_SEPARATOR="T",t.isValidISODateTimeString=function(t){return function(t){if("string"!=typeof t)return!1;return n.test(t)}(t)&&s(t)},t.isValidISOTimeString=r,t.padMilliseconds=function(t){if("string"==typeof t&&(s(t)||r(t))){const n=t.indexOf(".");let e=t.search(i);if(-1===e&&(e=t.length),-1!==n){const i=t.substring(n+1,e);let r=i;if(i.length>3)r=r.substring(0,3);else if(i.length<3){r=`${r}${"0".repeat(3-i.length)}`}return`${t.substring(0,n)}.${r}${t.substring(e)}`}}return t},t.removeTimeZoneSuffix=d,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/utilsPrivate",["exports","@salesforce/client/formFactor","@salesforce/i18n/locale","lightning/iso8601Utils","lwc"],function(e,t,n,r,i){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(t),a=o(n);const u="undefined"!=typeof window;const c=["activeDescendant","atomic","autoComplete","busy","checked","colCount","colIndex","colSpan","controls","current","describedAt","describedBy","description","details","disabled","dropEffect","errorMessage","expanded","flowTo","grabbed","hasPopup","hidden","invalid","keyShortcuts","label","labelledBy","level","live","modal","multiLine","multiSelectable","orientation","owns","placeholder","posInSet","pressed","readOnly","relevant","required","roleDescription","rowCount","rowIndex","rowSpan","selected","setSize","sort","valueMax","valueMin","valueNow","valueText"],l=(e,t="default")=>{const n=e?e.length:0;if(0===n)throw new Error("List of aria properties is required");const r={};if("default"===t){for(let t=0;t<n;t+=1){const n=e[t],i=n.toUpperCase();r[i]||(r[i]=`aria-${n.toLowerCase()}`)}return r}for(let t=0;t<n;t+=1){const n=e[t],i=`aria-${n.toLowerCase()}`;if(!r[i]){const e=`aria${n[0].toUpperCase()}${n.slice(1)}`;r[i]=e}}return r},f=l(c),d=l(c,"cc");let m=null;const p="($1) $2-$3",A=/^\d{10}$/,h=/(\d{3})(\d{3})(\d{4})/,g=/^1\d{10}$/,w=/1(\d{3})(\d{3})(\d{4})$/;const y=/^(\/+|\.+|ftp|http(s?):\/\/)/i;function S(e){return y.test(e)}function N(e){const t=u?window.location.protocol:"https:";return S(e)?e:`${t}//${e}`}const E="javascript:void(0)",M=/^(?:\w+script|data):/i,b=/&#(\w+)(^\w|;)?/g,C=/&(newline|tab);/gi,T=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;const O="((?:(?:https?|ftp):\\/\\/(?:[\\w\\-\\|=%~#\\/+*@\\.,;:\\?!']|&){0,2047}(?:[\\(\\)\\.\\w=\\/+#-]*)[^\\s()\\.<>,;\\[\\]`'\"])|(?:\\b(?:[a-z0-9](?:[-a-z0-9]{0,62}[a-z0-9])?\\.)+(?:AC|AD|AE|AERO|AF|AG|AI|AL|AM|AN|AO|AQ|AR|ARPA|AS|ASIA|AT|AU|AW|AX|AZ|BA|BB|BD|BE|BF|BG|BH|BI|BIZ|BJ|BM|BN|BO|BR|BS|BT|BV|BW|BY|BZ|CA|CAT|CC|CD|CF|CG|CH|CI|CK|CL|CM|CN|CO|COM|COOP|CR|CU|CV|CX|CY|CZ|DE|DJ|DK|DM|DO|DZ|EC|EDU|EE|EG|ER|ES|ET|EU|FI|FJ|FK|FM|FO|FR|GA|GB|GD|GE|GF|GG|GH|GI|GL|GM|GN|GOV|GP|GQ|GR|GS|GT|GU|GW|GY|HK|HM|HN|HR|HT|HU|ID|IE|IL|IM|IN|INFO|INT|IO|IQ|IR|IS|IT|JE|JM|JO|JOBS|JP|KE|KG|KH|KI|KM|KN|KP|KR|KW|KY|KZ|LA|LB|LC|LI|LK|LR|LS|LT|LU|LV|LY|MA|MC|MD|ME|MG|MH|MIL|MK|ML|MM|MN|MO|MOBI|MP|MQ|MR|MS|MT|MU|MUSEUM|MV|MW|MX|MY|MZ|NA|NAME|NC|NE|NET|NF|NG|NI|NL|NO|NP|NR|NU|NZ|OM|ORG|PA|PE|PF|PG|PH|PK|PL|PM|PN|PR|PRO|PS|PT|PW|PY|QA|RE|RO|RS|RU|RW|SA|SB|SC|SD|SE|SG|SH|SI|SJ|SK|SL|SM|SN|SO|SR|ST|SU|SV|SY|SZ|TC|TD|TEL|TF|TG|TH|TJ|TK|TL|TM|TN|TO|TP|TR|TRAVEL|TT|TV|TW|TZ|UA|UG|UK|US|UY|UZ|VA|VC|VE|VG|VI|VN|VU|WF|WS|XN--0ZWM56D|XN--11B5BS3A9AJ6G|XN--80AKHBYKNJ4F|XN--9T4B11YI5A|XN--DEBA0AD|XN--FIQS8S|XN--FIQZ9S|XN--G6W251D|XN--HGBK6AJ7F53BBA|XN--HLCJ6AYA9ESC7A|XN--J6W193G|XN--JXALPDLP|XN--KGBECHTV|XN--KPRW13D|XN--KPRY57D|XN--MGBAAM7A8H|XN--MGBERP4A5D4AR|XN--P1AI|XN--WGBH1C|XN--ZCKZAH|YE|YT|ZA|ZM|ZW)(?!@(?:[a-z0-9](?:[-a-z0-9]{0,62}[a-z0-9])?\\.)+(?:AC|AD|AE|AERO|AF|AG|AI|AL|AM|AN|AO|AQ|AR|ARPA|AS|ASIA|AT|AU|AW|AX|AZ|BA|BB|BD|BE|BF|BG|BH|BI|BIZ|BJ|BM|BN|BO|BR|BS|BT|BV|BW|BY|BZ|CA|CAT|CC|CD|CF|CG|CH|CI|CK|CL|CM|CN|CO|COM|COOP|CR|CU|CV|CX|CY|CZ|DE|DJ|DK|DM|DO|DZ|EC|EDU|EE|EG|ER|ES|ET|EU|FI|FJ|FK|FM|FO|FR|GA|GB|GD|GE|GF|GG|GH|GI|GL|GM|GN|GOV|GP|GQ|GR|GS|GT|GU|GW|GY|HK|HM|HN|HR|HT|HU|ID|IE|IL|IM|IN|INFO|INT|IO|IQ|IR|IS|IT|JE|JM|JO|JOBS|JP|KE|KG|KH|KI|KM|KN|KP|KR|KW|KY|KZ|LA|LB|LC|LI|LK|LR|LS|LT|LU|LV|LY|MA|MC|MD|ME|MG|MH|MIL|MK|ML|MM|MN|MO|MOBI|MP|MQ|MR|MS|MT|MU|MUSEUM|MV|MW|MX|MY|MZ|NA|NAME|NC|NE|NET|NF|NG|NI|NL|NO|NP|NR|NU|NZ|OM|ORG|PA|PE|PF|PG|PH|PK|PL|PM|PN|PR|PRO|PS|PT|PW|PY|QA|RE|RO|RS|RU|RW|SA|SB|SC|SD|SE|SG|SH|SI|SJ|SK|SL|SM|SN|SO|SR|ST|SU|SV|SY|SZ|TC|TD|TEL|TF|TG|TH|TJ|TK|TL|TM|TN|TO|TP|TR|TRAVEL|TT|TV|TW|TZ|UA|UG|UK|US|UY|UZ|VA|VC|VE|VG|VI|VN|VU|WF|WS|XN--0ZWM56D|XN--11B5BS3A9AJ6G|XN--80AKHBYKNJ4F|XN--9T4B11YI5A|XN--DEBA0AD|XN--FIQS8S|XN--FIQZ9S|XN--G6W251D|XN--HGBK6AJ7F53BBA|XN--HLCJ6AYA9ESC7A|XN--J6W193G|XN--JXALPDLP|XN--KGBECHTV|XN--KPRW13D|XN--KPRY57D|XN--MGBAAM7A8H|XN--MGBERP4A5D4AR|XN--P1AI|XN--WGBH1C|XN--ZCKZAH|YE|YT|ZA|ZM|ZW))(?:/[\\w\\-=?/.&;:%~,+@#*]{0,2048}(?:[\\w=/+#-]|\\([^\\s()]*\\)))?(?:$|(?=\\.$)|(?=\\.\\s)|(?=[^\\w\\.]))))",I="([\\w-\\.\\+_']{1,64}@(?:[\\w-]){1,255}(?:\\.[\\w-]{1,255}){1,10})",B="(\r\n|\r|\n)",D=function(e){return N(e)},L=function(e){return`mailto:${e}`};const R=Array.prototype.slice;const G=e=>{if(Number.isNaN(e)||null==e||""===e||Array.isArray(e))return!0;const t=Number(e);return Number.isNaN(t)};const v={};const P=u&&function(e){return/Trident.*rv[ :]*11\./.test(e.userAgent)}(navigator),F=u&&function(e){return/Chrome/.test(e.userAgent)&&/Google Inc/.test(e.vendor)}(navigator),K=u&&function(e){return/^((?!chrome|android).)*safari/i.test(e.userAgent)}(navigator);const U=new Set(["www.youtube.com","www.youtube-nocookie.com","www.youtube.ca","www.youtube.jp","www.youtube.com.br","www.youtube.co.uk","www.youtube.nl","www.youtube.pl","www.youtube.es","www.youtube.ie","www.youtube.fr","player.vimeo.com","play.vidyard.com","players.brightcove.net","bcove.video","player.cloudinary.com","fast.wistia.net","i1.adis.ws","s1.adis.ws","scormanywhere.secure.force.com","appiniummastertrial.secure.force.com","embed.app.guidde.com","cdnapisec.kaltura.com"]);const H=new RegExp(`(${B})|${O}|${I}`,"gi"),V=new RegExp(`${O}|${I}`,"gi"),X=new RegExp(`^${I}$`,"gi"),x=new RegExp(B,"gi");function Z(e){return{isText:!0,value:e}}function $(e){return{isNewline:!0,key:e}}function k(e,t,n){return!n&&e.match(x)?$(t):e.match(X)?function(e,t){return{isLink:!0,value:e,href:L(e),key:`${e}-${t}`}}(e,t):function(e,t){return{isLink:!0,value:e,href:D(e),key:`${e}-${t}`}}(e,t)}const W=new Set(["type","attributes","state"]);const J=u&&(({userAgent:e})=>/(macintosh|macintel|macppc|mac68k|macos)/i.test(e))(navigator),Y=u&&(({userAgent:e})=>/(win32|win64|windows)/i.test(e))(navigator),_=u&&(({userAgent:e})=>/(iphone|ipad|ipod)/i.test(e))(navigator),j=u&&(({userAgent:e})=>/android/i.test(e))(navigator),z=["1","2","3","4","5","6"];const q=180,Q=90;function ee(e){return null!=e&&""!==e&&(isFinite(e)||r.isValidISODateTimeString(e))}function te(e){return null!=e&&""!==e&&isFinite(e)&&Math.abs(e)<=Q}function ne(e){return null!=e&&""!==e&&isFinite(e)&&Math.abs(e)<=q}function re(e){const t={weekday:e.weekday,era:e.era,year:e.year,month:e.month,day:e.day,hour:e.hour,hourCycle:void 0,hour12:void 0,minute:e.minute,second:e.second,timeZoneName:e.timeZoneName,timeZone:e.timeZone},{hour12:n}=e;return e._hour12Set&&(!1===n?t.hourCycle="h23":t.hour12=n),t}const ie=/^#[0-9abcdef]{6}$/i;const oe=i.registerComponent(class{constructor(){this._observers=[]}subscribe(e){const t=e=>this._observers=this._observers.filter(t=>t!==e);return this._observers.push(e),()=>t(e)}notify(e){this._observers.forEach(t=>t(e))}},{tmpl:void 0,sel:"lightning-utils-private",apiVersion:62}),se=/^LIGHTNING/i,ae=/-\w/g;function ue(e){return e[1].toUpperCase()}function ce(e){return null==e}function le(e){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value")}const fe={FIRST:"first",MIDDLE:"middle",LAST:"last",ONLY:"only"};const{hasOwn:de}=Object,{hasOwnProperty:me}=Object.prototype,pe="function"==typeof de?de:function(e,t){return me.call(e,t)};e.ARIA=f,e.ARIA_TO_CAMEL=d,e.ArraySlice=R,e.BUTTON_GROUP_ORDER=fe,e.EventEmitter=class{constructor(){this.registry={}}on(e,t){return this.registry[e]=this.registry[e]||[],this.registry[e].push(t),this}once(e,t){const n=function(){t.apply(null,arguments),this.removeListener(e,n)}.bind(this);return this.on(e,n),this}emit(e){const t=this.registry[e];let n=0;if(t){const e=Array.prototype.slice.call(arguments,1);for(let r=0,{length:i}=t;r<i;r+=1)n+=1,t[r].apply(null,e)}return n>0}removeListener(e,t){const n=this.registry[e];if(n)for(let e=0,r=n.length;e<r;e+=1)if(n[e]===t)return n.splice(e,1),this;return this}},e.FALLBACK_URL=E,e.Observable=oe,e.VALID_HEADING_LEVELS=z,e.animationFrame=function(){return new Promise(e=>{window.requestAnimationFrame(e)})},e.arraysEqual=function e(t,n){if(!t||!n)return!1;if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(t[r]instanceof Array&&n[r]instanceof Array){if(!e(t[r],n[r]))return!1}else if(t[r]!==n[r])return!1;return!0},e.assert=function(e,t){},e.buttonGroupOrderClass=function(e){return{[fe.FIRST]:"slds-button_first",[fe.MIDDLE]:"slds-button_middle",[fe.LAST]:"slds-button_last",[fe.ONLY]:"single-button"}[e]},e.classListMutation=function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n[r];r<i;r+=1){const i=n[r];"string"==typeof i&&i.length>0&&(t[i]?e.add(i):e.remove(i))}},e.classSetToString=function(e){let t="";const n=Object.keys(e);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r];e[i]&&(t+=(t.length?" ":"")+i)}return t},e.computeAriaInvalid=function(e,t,n){return void 0!==n?n:null!=t&&""!==t&&!!e||void 0},e.createEmailHref=L,e.createHttpHref=D,e.decorateInputForDragon=function(e){const t=le(e);Object.defineProperty(e,"value",{set(e){t.set.call(this,e),this.dispatchEvent(new CustomEvent("input"))},get:t.get,enumerable:!0,configurable:!0})},e.deepCopy=function e(t){if(Object(t)!==t)return t;if(t instanceof Set)return new Set(t);if(t instanceof Date)return new Date(t);if("function"==typeof t)return t.bind({});if(Array.isArray(t)){const n=[],r=t.length;for(let i=0;i<r;i++)n.push(e(t[i]));return n}const n=Object.create({});let r=Object.keys(t);t instanceof Error&&(r=Object.getOwnPropertyNames(t));const i=r.length;for(let o=0;o<i;o++){const i=r[o];n[i]=e(t[i])}return n},e.emailRegexString=I,e.escapeHTML=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},e.getRealDOMId=function(e){return"string"==typeof e?e.length>0?e:null:"object"==typeof e&&null!==e?e.getAttribute("id"):null},e.getShadowActiveElement=function(){let e=document.activeElement;for(;e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e},e.getShadowActiveElements=function(){let e=document.activeElement;const t=[];for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)t.push(e),e=e.shadowRoot.activeElement;return e&&t.push(e),t},e.getZIndexBaseline=function(){const e=u?(window.getComputedStyle(document.documentElement)||document.documentElement.style).getPropertyValue("--lwc-zIndexModal"):9e3,t=parseInt(e,10);return isNaN(t)?9100:t+100},e.guid=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},e.hasAnimation=function(){if(u){if(!window.matchMedia)return!0;const e=window.matchMedia("(prefers-reduced-motion: reduce)");return!(!e||e.matches)}return!1},e.hasOnlyAllowedVideoIframes=function(e){if(e&&e.indexOf("<iframe")>-1){const t=(new DOMParser).parseFromString(e,"text/html"),n=Array.prototype.slice.call(t.querySelectorAll("iframe"));return n.length>0&&!n.some(e=>!function(e){const t=document.createElement("a");if(t.href=e,"https:"!==t.protocol)return!1;if("vimeo.com"===t.hostname){const e=/^\/showcase\/\d+\/embed$/;return null!==t.pathname.match(e)}if("www.my.salesforce-sites.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.my\.salesforce-sites\.com$/))return!0;if(t.hostname.match(/^[\w-]+\.sandbox\.my\.salesforce-sites\.com$/))return!0;if("www.lightning.force.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.lightning\.force\.com$/))return!0;if(t.hostname.match(/^[\w-]+\.sandbox\.lightning\.force\.com$/))return!0;if("www.my.site.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.my\.site\.com$/))return!0;if(t.hostname.match(/^[\w-]+\.sandbox\.my\.site\.com$/))return!0;return U.has(t.hostname)}(e.src))}return!1},e.hasOwn=pe,e.hasOwnProperties=function(e){for(let t in e)if(pe(e,t))return!0;return!1},e.isAbsoluteUrl=S,e.isAndroidOS=j,e.isAriaDescriptionSupported=function(){if(null!==m)return m;const e="test ability to set";try{const t=document.createElement("span");t.ariaDescription=e;const n=t.getAttribute(f.DESCRIPTION);m=e===n}catch(e){m=!1}return m},e.isBubblingFocusEvent=function(e){return e instanceof FocusEvent&&["focus","blur"].includes(e.type)},e.isCSR=u,e.isChrome=F,e.isDesktopBrowser=function(){return"Large"===s.default},e.isHeadingLevelValid=function(e){return("string"==typeof e||"number"==typeof e)&&z.includes(e.toString())},e.isIE11=P,e.isMacOS=J,e.isNativeComponent=function(e){return e?.template&&!e.template.synthetic},e.isNotUndefinedOrNull=function(e){return!ce(e)},e.isRTL=function(){return u&&"rtl"===document.dir},e.isSafari=K,e.isShiftMetaOrControlKey=function(e){return e.shiftKey||e.metaKey||e.ctrlKey},e.isTextIgnoreRTL=function(e){return"string"==typeof e&&""!==e&&ie.test(e)},e.isUndefinedOrNull=ce,e.isValidDate=ee,e.isValidLatitude=te,e.isValidLongitude=ne,e.isValidPageReference=function(e){return e&&e.type&&"string"==typeof e.type&&e.attributes&&"object"==typeof e.attributes&&Object.keys(e).every(e=>W.has(e))},e.isValidPhone=function(e){return"string"==typeof e&&""!==e},e.isWindowsOS=Y,e.isiOS=_,e.keyCodes={tab:9,backspace:8,enter:13,escape:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46,shift:16},e.makeAbsoluteUrl=N,e.makeEverythingExceptElementInert=function(e){const t=[];let n=e,r=n.parentNode.host||n.parentNode;for(;null!=r;)if(r.nodeType===Node.ELEMENT_NODE){let e=r.firstChild;for(null===e&&r.shadowRoot&&(e=r.shadowRoot.firstChild);null!==e;)e.nodeType===Node.ELEMENT_NODE&&e!==n&&"head"!==e.localName&&(t.push({node:e,ariaHidden:e.ariaHidden}),e.ariaHidden=!0),e=e.nextSibling;n=r,r=r.parentNode}else r=r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r.parentNode;return t},e.newLineRegexString=B,e.normalizeAriaAttribute=function(e){let t=Array.isArray(e)?e:[e];return t=t.map(e=>"string"==typeof e?e.replace(/\s+/g," ").trim():"").filter(e=>!!e),t.length>0?t.join(" "):null},e.normalizeArray=function(e){return Array.isArray(e)?e:[]},e.normalizeBoolean=function(e){return"string"==typeof e||!!e},e.normalizeKeyValue=function(e){switch(e){case"Spacebar":return" ";case"Esc":return"Escape";case"Del":return"Delete";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Up":return"ArrowUp";default:return e}},e.normalizeNumber=function(e,t={}){const{fallbackValue:n,minValue:r,maxValue:i}=t,o="number"==typeof n&&n||void 0;return G(e)||!G(e)&&e<r||!G(e)&&e>i?o:1*e},e.normalizeString=function(e,t={}){const{fallbackValue:n="",validValues:r,toLowerCase:i=!0}=t;let o="string"==typeof e&&e.trim()||"";return o=i?o.toLowerCase():o,r&&-1===r.indexOf(o)&&(o=n),o},e.observePosition=function(e,t=5,n,r){const i=e.getBoundingClientRect(),o=i.left,s=i.top,a=n.left,u=n.top,c=Math.abs(o-a),l=Math.abs(s-u);(c>=t||l>=t)&&r()},e.parseToFormattedLinkifiedParts=function(e,t=!1){const n=[],r=t?V:H;let i,o=0;for(;null!==(i=r.exec(e));){let s=i[0];const a=s&&s.endsWith("&quot");i.index>0&&n.push(Z(e.slice(0,i.index))),a&&(s=s.slice(0,s.lastIndexOf("&quot"))),n.push(k(s,o,t)),a&&n.push(Z("&quot")),e=e.substring(r.lastIndex),r.lastIndex=0,o+=1}return null!=e&&""!==e&&n.push(Z(e)),n},e.parseToFormattedParts=function(e){return e.split(x).map((e,t)=>t%2==0?Z(e):$(t))},e.raf=function(e){let t=!1;return function(n){t||requestAnimationFrame(()=>{e.call(this,n),t=!1}),t=!0}},e.reflectAttribute=function(e,t,n){e&&("string"==typeof n?e.setAttribute(t,n):!0===n?e.setAttribute(t,""):n?console.warn(`Invalid attribute value for "${t}": ${n}`):e.removeAttribute(t))},e.restoreInertness=function(e){for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t],{node:r}=n;r&&(r.ariaHidden=n.ariaHidden)}},e.runActionOnBufferedTypedCharacters=function(e,t){const n=e.key;if(n&&n.length>1)return;v._clearBufferId&&clearTimeout(v._clearBufferId),v._keyBuffer=v._keyBuffer||[],v._keyBuffer.push(n),t(v._keyBuffer.join("").toLowerCase()),v._clearBufferId=setTimeout(()=>{v._keyBuffer=[]},700)},e.sanitizeURL=function(e){if(e){return(t=e,t.replace(b,(e,t)=>String.fromCharCode(t))).replace(C,"").replace(T,"").trim().match(M)?E:e}var t;return E},e.setDecoratedDragonInputValueWithoutEvent=function(e,t){return le(e).set.call(e,t)},e.synchronizeAttrs=function(e,t){e&&(se.test(e.tagName)?function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r],o=t[i];e[i.replace(ae,ue)]=o||null}}(e,t):function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r],o=t[i];o?e.setAttribute(i,o):e.removeAttribute(i)}}(e,t))},e.tagRegexString="(<a[\\s]+[^>]+[^/]>[\\s\\S]*?</a>|<a[\\s]+[^>]+/>|<i?frame[\\s]+[^>]+[^/]>[\\s\\S]*?</i?frame>|<i?frame[\\s]+[^>]+/>|<area[\\s]+[^>]+[^/]>[\\s\\S]*?</area>|<area[\\s]+[^>]+/>|<link[\\s]+[^>]+[^/]>[\\s\\S]*?</link>|<link[\\s]+[^>]+/>|<img[\\s]+[^>]+[^/]>[\\s\\S]*?</img>|<img[\\s]+[^>]+>|<form[\\s]+[^>]+[^/]>[\\s\\S]*?</form>|<form[\\s]+[^>]+/>|<body[\\s]+[^>]+[^/]>[\\s\\S]*?</body>|<body[\\s]+[^>]+/>|<head[\\s]+[^>]+[^/]>[\\s\\S]*?</head>|<head[\\s]+[^>]+/>|<input[\\s]+[^>]+[^/]>[\\s\\S]*?</input>|<input[\\s]+[^>]+/>|<button[\\s]+[^>]+[^/]>[\\s\\S]*?</button>|<button[\\s]+[^>]+/>|<blockquote[\\s]+[^>]+[^/]>[\\s\\S]*?</blockquote>|<blockquote[\\s]+[^>]+/>|<q[\\s]+[^>]+[^/]>[\\s\\S]*?</q>|<q[\\s]+[^>]+/>|<del[\\s]+[^>]+[^/]>[\\s\\S]*?</del>|<del[\\s]+[^>]+/>|<ins[\\s]+[^>]+[^/]>[\\s\\S]*?</ins>|<ins[\\s]+[^>]+/>)",e.timeout=function(e){return new Promise(t=>{setTimeout(t,e)})},e.toDateTimeFormatOptions=re,e.toFormattedDate=function(e,t){const{value:n}=e;if(ee(n)){const r=t(re(e)).format(n);if(r)return r}return console.warn(`<lightning-formatted-date-time> The value attribute accepts either a Date object, a timestamp, or a valid ISO8601 formatted string with timezone offset. but we are getting the ${typeof n} value "${n}" instead.`),""},e.toFormattedLocation=function(e){const{latitude:t,longitude:n}=e;return te(t)&&ne(n)?`${t}, ${n}`:(console.warn("<lightning-formatted-location> expects latitude in range [-90.0, 90.0], longitude in range [-180.0, 180.0]."),"")},e.toFormattedNumber=function(e,t){const{value:n}=e;if(null!=n&&""!==n&&isFinite(n)){const{formatStyle:r}=e,i={style:r,currency:e.currencyCode,currencyDisplay:e.currencyDisplayAs,minimumIntegerDigits:e.minimumIntegerDigits,minimumFractionDigits:e.minimumFractionDigits,maximumFractionDigits:e.maximumFractionDigits,minimumSignificantDigits:e.minimumSignificantDigits,maximumSignificantDigits:e.maximumSignificantDigits},o=String(n);let s=o;return"percent-fixed"===r&&(i.style="percent",s=parseFloat(n)/100,o.indexOf(".")>0&&o.indexOf("e")<0&&(s=s.toFixed(o.split(".")[1].length+2))),t(i).format(s)}return""},e.toNorthAmericanPhoneNumber=function(e,t){return function(e){const t=function(e){if(!e)return null;const[,t]=e.split("-");return t}(e);if("US"===t||"CA"===t)return!0;return!1}(t||a.default)?A.test(e)?e.replace(h,p):g.test(e)?e.replace(w,p):e||"":e},e.updateAriaInvalidOnElement=function(e,t){t?e.setAttribute("aria-invalid",!0):e.removeAttribute("aria-invalid")},e.urlRegexString=O,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/ariaObserver",["exports","lwc","lightning/utilsPrivate"],function(e,t,o){const n="\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0,0,0,0);\n  border: 0;\n";let i=!1;const r=[];function s(){const e=[...r].sort((e,t)=>e.priority-t.priority);r.length=0,i=!1,e.forEach(({callback:e})=>e())}function a(e,t){r.push({callback:t,priority:e}),i||(i=!0,Promise.resolve().then(s))}function l(e){if(e.shadowRoot)return e.shadowRoot.childNodes;if("function"==typeof e.assignedNodes){const t=e.assignedNodes();return t.length?t:e.childNodes}return e.childNodes}function d(e){if("function"!=typeof e.assignedNodes&&e.assignedSlot&&e.assignedSlot.parentElement)return e.assignedSlot.parentElement;if(e.parentElement)return e.parentElement;const t=e.getRootNode();return t!==document?t.host:null}function c(e,t){let o=e;for(;null!=o;)if(o=d(o),o===t)return!0;return!1}class h{constructor(e){this._observers=[],this._callbacks=[];const t=[],o=e=>{if(!(e=>t.some(t=>t.contains(e)))(e)){t.push(e);const o=new MutationObserver(()=>this._mutationCallback());o.observe(e,{subtree:!0,attributes:!0,childList:!0,characterData:!0}),this._observers.push(o)}l(e).forEach(e=>o(e))};o(e)}onMutation(e){this._callbacks.push(e)}_mutationCallback(){a(0,()=>this._callbacks.forEach(e=>e()))}disconnect(){this._observers.forEach(e=>e.disconnect()),this._observers=void 0,this._callbacks=void 0}}function u(e){const t={},{attributes:o}=e;for(let e=0;e<o.length;e++){const n=o[e];t[n.name]=n.value}return t}const f=new WeakMap;function p(e){let t=f.get(e);return t||(t="shadow-aria-"+Math.floor(1e9*Math.random()).toString(16),f.set(e,t)),t}const m=new Set(["a","audio","button","details","input","select","summary","textarea","video"]);const g=["display","visibility"];function v(e,t,o){const n=new Map,i=(e,t)=>{const r=function(e,t){if(e.nodeType===Node.TEXT_NODE)return t&&t.nodeType===Node.TEXT_NODE?(t.textContent!==e.textContent&&(t.textContent=e.textContent),t):e.cloneNode();if(e.nodeType!==Node.ELEMENT_NODE)return document.createComment("shadow-aria-deleted");let o,n,{tagName:i}=e;if(["style","link","script"].includes(i.toLowerCase()))return document.createComment("shadow-aria-deleted");(i.includes("-")||"slot"===i.toLowerCase())&&(i="div"),t&&t.nodeType===Node.ELEMENT_NODE&&t.tagName.toLowerCase()===i.toLowerCase()?(n=t,o=u(n)):n=document.createElement(i);const r=Object.fromEntries([...Object.entries(u(e))].filter(([e])=>e.toLowerCase().startsWith("aria-")||"role"===e.toLowerCase())),s=getComputedStyle(e);let a="";var l,d;return g.forEach(e=>a+=`${e}:${s[e]};`),"contents"!==s?.display&&(r.id=p(e)),r.style=a,m.has(i.toLowerCase())&&(r.tabindex="-1"),Object.entries(r).forEach(([e,t])=>{o&&o[e]===t||n.setAttribute(e,t)}),o&&Object.keys(o).forEach(e=>{e in r||n.removeAttribute(e)}),d=e,(l=n)&&d&&function(e,t){e.addEventListener("focus",e=>{e.preventDefault(),e.stopImmediatePropagation(),t.dispatchEvent(new e.constructor(e.type,e)),t.focus()})}(l,d),n}(e,t);if(r.nodeType===Node.COMMENT_NODE)return r;o.has(e)&&n.set(e,r);const s=l(e);if(t&&t.childNodes.length===s.length)for(let e=0;e<s.length;e++){const o=t.childNodes[e],n=s[e],r=i(n,o);r!==o&&t.replaceChild(r,o)}else{if(t)for(;t.childNodes.length;)t.childNodes[t.childNodes.length-1].remove();s.forEach(e=>{const t=i(e,null);r.appendChild(t)})}return r};return{mirroredNode:i(e,t),trackedNodesToMirroredNodes:n}}function N(e,t,o){const n=t.map(e=>e.getAttribute("id")),i=function(e){if(!e)return[];return e.trim().split(/\s+/)}(e.getAttribute(o)),r=n.filter(e=>!i.includes(e)),s=i.filter(e=>!n.includes(e));return e.setAttribute(o,n.join(" ")),{linkedNodeIds:r,unlinkedNodeIds:s}}const b=["aria-activedescendant","aria-errormessage"],y=new WeakMap,E=[];function w(e,t){const o=function(e){let t=y.get(e);if(!t){const o=document.createElement("div");o.setAttribute("class","aria-element-reflection-mirror"),o.setAttribute("style",n);(e.body||e).appendChild(o),t={redundantChildNodes:new Set,nodesToMirroredNodes:new Map,mirrorRoot:o},y.set(e,t)}return t}(e);!function(e,t){const{redundantChildNodes:o,nodesToMirroredNodes:n,mirrorRoot:i}=e;t.redundantChildNodes.forEach(e=>o.add(e));const r=new Set(t.relationships.map(({toNodes:e})=>e).flat().filter(Boolean).filter(e=>!o.has(e)));r.forEach(e=>{const t=new Set([...o,e]),{node:r=null,usage:s=0}=n.get(e)||{},{mirroredNode:a,trackedNodesToMirroredNodes:l}=v(e,r,t);a!==r&&(r&&i.removeChild(r),i.appendChild(a)),l.forEach((e,t)=>n.set(t,{node:e,usage:s}))})}(o,t),function(e,t){const{nodesToMirroredNodes:o}=e;t.relationships.forEach(t=>{const{fromNode:n,toNodes:i,relationship:r,track:s,signal:a,mirrorOnly:l}=t;if(i?.length){if(!l){const t=i.map(e=>o.get(e).node),{linkedNodeIds:l,unlinkedNodeIds:d}=N(n,t,r);C(e,d,l),s&&function(e,t,o){t.forEach(t=>{const n=new h(t);n.onMutation(()=>{!function(e,t){k({fromNode:e,toNodes:t,mirrorOnly:!0})}(e,[t])}),o&&o.addEventListener("abort",()=>{n.disconnect()})})}(n,i,a)}}else{const{unlinkedNodeIds:t}=N(n,[],r);C(e,t),n.removeAttribute(r)}})}(o,t)}function C(e,t,o=[]){const{nodesToMirroredNodes:n,mirrorRoot:i}=e;n.forEach((e,r)=>{o.includes(e.node.id)?e.usage++:t.includes(e.node.id)&&--e.usage<=0&&(n.delete(r),e.node.parentElement===i&&i.removeChild(e.node))})}function M(){const e=function(e){const t=new Map;return e.forEach(e=>{const{fromNode:o}=e,n=o.getRootNode();let i=t.get(n);i||(i={relationships:[],redundantChildNodes:new Set},t.set(n,i)),i.relationships.push(e)}),t.forEach(e=>{const{relationships:t,redundantChildNodes:o}=e,n=t.map(e=>e.toNodes).flat();for(let e=0;e<n.length;e++)for(let t=e+1;t<n.length;t++){const i=n[e],r=n[t];i&&r&&e!==t&&(c(i,r)?o.add(i):c(r,i)&&o.add(r))}}),t}(E);E.length=0,e.forEach((e,t)=>w(t,e))}function k(e){E.push(e),a(1,M)}function I(e,t,o,n={}){const{track:i,signal:r}=n;t=function(e,t){return Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length>1&&b.includes(t)&&(console.warn(`Multiple targets passed to aria relationship "${t}". This API only accepts a single target. Ignoring elements beyond the first one.`),e=e.slice(0,1)),e}(t,o),k({fromNode:e,toNodes:t,relationship:o,track:i,signal:r})}const O=[["aria-controls",{ariaReflection:"ariaControlsElements",polyfill:function(e,t,o){I(e,t,"aria-controls",o)}}],["aria-labelledby",{ariaReflection:"ariaLabelledByElements",polyfill:function(e,t,o){I(e,t,"aria-labelledby",o)}}],["aria-describedby",{ariaReflection:"ariaDescribedByElements",polyfill:function(e,t,o){I(e,t,"aria-describedby",o)}}],["aria-errormessage",{ariaReflection:"ariaErrorMessageElements",polyfill:function(e,t,o){I(e,t,"aria-errormessage",o)}}],["aria-activedescendant",{ariaReflection:"ariaActiveDescendantElement",polyfill:function(e,t,o){I(e,t,"aria-activedescendant",o)}}],["aria-details",{ariaReflection:"ariaDetailsElements",polyfill:function(e,t,o){I(e,t,"aria-details",o)}}]],R=new Map(O);let A;function S(e,t){return"string"!=typeof t||""===t?[]:_(t).map(t=>e.querySelector(`[id*="${t}"]`)).filter(e=>!!e)}function _(e){return e?(e+"").trim().split(/\s+/):[]}o.isCSR&&(A=[...R.values()].every(({ariaReflection:e})=>e in Element.prototype));const T=t.registerComponent(class{constructor(e){this.component=e,this.template=e.template,this.isNativeShadow=o.isNativeComponent(e),this.state={},this.liveIds={},this.guid=o.guid(),this.placeholderContainer=null,this.ariaReflectionMap=new Map,this.nodeMap=new Map}connectLiveIdRef(e,t){const o=(e+"").trim().split(/\s+/).map(e=>`[id*="${e}"]`).join(",");let n;this.liveIds[e]?this.liveIds[e].callbacks.push(t):(n={refs:e,selector:o,callbacks:[t]},this.liveIds[e]=n)}connect({attribute:e,targetSelector:t,targetNode:o,relatedNodeIds:n,relatedNodes:i}){this.state[e]=this.state[e]||{};const r=this.state[e];r.targetNode=o,r.targetSelector=t,r.relatedNodes=(Array.isArray(i)?i:[i]).filter(Boolean),r.relatedNodeIds=Array.isArray(n)?n.join(" "):n,this.component.isConnected&&this.privateUpdate(e)}sync(e){if(null!=e&&(this.isNativeShadow=e),!this.component.isConnected)throw new Error("Invalid sync invocation. It can only be invoked during renderedCallback().");this.root||(this.root=this.template&&this.template.host?this.template.host.getRootNode():null),this.privateUpdateLiveIds();for(const e in this.state)Object.prototype.hasOwnProperty.call(this.state,e)&&this.privateUpdate(e)}get privateIsMoRequired(){return this.isNativeShadow||0!==Object.keys(this.liveIds).length}get root(){return this._root}set root(e){this._root=e,this._root&&this.privateIsMoRequired&&this.privateCreateMutationObserver()}privateUpdate(e){const{targetSelector:t,targetNode:o=this.template.querySelector(t),relatedNodeIds:n,relatedNodes:i}=this.state[e];if(!o)return;const r=R.get(e);if(!r)throw new Error(`${e} is not supported by AriaObserver. Supported attributes: ${Array.from(R.keys())}`);if(this.isNativeShadow){const t=[...i,...S(this.root,n)];A?o[r.ariaReflection]=i:r.polyfill(o,t,e);const s=o.getRootNode();for(let e=0;e<t.length;e++)this.privateAddNestedReferences(s,t[e])}else{const t=[..._(n),...i.map(e=>e.id)].join(" ");t?o.setAttribute(e,t):o.removeAttribute(e)}}privateExtractCorrectElements(e="",t){const o=`(${e.split(/\s/g).join("|")})`,n=new RegExp(`^${o}(-[0-9]+)$`);return[...t].filter(e=>n.test(e.id))}privateCreateMutationObserver(){this.disconnect(),this.mo=new MutationObserver(()=>{this.component.isConnected&&this.sync()}),this.mo.observe(this.root,{characterData:!0,childList:!0,subtree:!0})}privateExtractIds(e){return e.map(e=>e.getAttribute("id")).join(" ")}privateUpdateLiveIds(){const e=this.template&&this.template.host?this.template.host.getRootNode():null;if(e)for(const t in this.liveIds)if(Object.prototype.hasOwnProperty.call(this.liveIds,t)){const o=this.liveIds[t];if(!o.elements||!o.elements.length){const n=_(t);try{const t=[...e.querySelectorAll(o.selector)];o.elements=t.sort((e,t)=>{const o=e.getAttribute("id")?.replace(/-[0-9]+$/g,""),i=t.getAttribute("id")?.replace(/-[0-9]+$/g,"");return n.indexOf(o)-n.indexOf(i)})}catch(e){return void(e instanceof DOMException&&console.warn(`lightning/ariaObserver could not find elements to connect live IDs due to an invalid id selector.\n\n${e}`))}}const n=this.privateExtractCorrectElements(o.refs,o.elements),i=this.privateExtractIds(n);if(i.length&&i!==o.ids){for(let e=0;e<o.callbacks.length;e++)o.callbacks[e](i);o.ids=i}}}privateAddNestedReferences(e,t){for(let o=0;o<O.length;o++){const[n,{polyfill:i}]=O[o],r=t.getAttribute(n);if(r){let o=this.nodeMap.get(t);if(!o){let i=this.ariaReflectionMap.get(e);i||(i=e.querySelector(".aria-element-reflection-mirror"),this.ariaReflectionMap.set(e,i)),i&&(o=i.querySelector(`[${n}='${r}']`),this.nodeMap.set(t,o))}if(o){i(o,S(this.root,r),n)}}}}disconnect(){this.mo&&(this.mo.disconnect(),this.mo=void 0)}},{tmpl:void 0,sel:"lightning-aria-observer",apiVersion:62});e.default=T,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/utils",["exports"],function(t){function e(t,e){if("string"==typeof e){const n=e.trim().split(/\s+/);for(let e=0,{length:r}=n;e<r;e+=1)t[n[e]]=!0;return t}return Object.assign(t,e)}const n=Object.defineProperties(Object.create(null),{add:{value(t){return e(this,t)}},invert:{value(){const t=Object.keys(this);for(let e=0,{length:n}=t;e<n;e+=1){const n=t[e];this[n]=!this[n]}return this}},toString:{value(){let t="";const e=Object.keys(this);for(let n=0,{length:r}=e;n<r;n+=1){const r=e[n];this[r]&&(t+=(t.length?" ":"")+r)}return t}}});const r=/input|select|textarea|button|object/;function i(t){const e=t.tagName.toLowerCase();return!!("a"===e&&t.href||!t.disabled&&r.test(e))&&function(t){if("hidden"===window.getComputedStyle(t).visibility)return!1;const{width:e,height:n}=t.getBoundingClientRect();return e>0||n>0}(t)}function o(t){return"enable"===t.dataset.navigation||t.tabIndex>=0&&i(t)}t.classSet=function(t){return e(Object.create(n),t)},t.formatLabel=function(t){const e=Array.prototype.slice.call(arguments,1);let n=e;return Array.isArray(e[0])&&([n]=e),t.replace(/{(\d+)}/g,(t,e)=>{const r=n[e];return null!=r?r:""})},t.queryFocusable=function(t){const e=t.querySelectorAll("*"),n=[];for(let t=0,{length:r}=e;t<r;t+=1){const r=e[t];o(r)&&n.push(r)}return n},Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveButton",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utils","lightning/ariaObserver"],function(i,a,e,t,r,s){function l(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var n=l(e),o=l(s);const d=[];function u(i,a,e,t){return d}var g=a.registerTemplate(u);u.stylesheets=[],u.stylesheetToken="lwc-50rp014c9i6",u.legacyStylesheetToken="lightning-primitiveButton_primitiveButton",a.freezeTemplate(u);const c="button",h="role";class A extends n.default{set disabled(i){this.originalDisabledValue=i,this.state.disabled=t.normalizeBoolean(i)}get disabled(){return this.state.disabled}set ariaLabelledBy(i){this.originalAriaLabelledBy=i,this.ariaObserver.connect({targetSelector:"button",attribute:"aria-labelledby",relatedNodeIds:i})}get ariaLabelledBy(){return this.originalAriaLabelledBy}set ariaDescribedBy(i){this.originalAriaDescribedBy=i,this.ariaObserver.connect({targetSelector:"button",attribute:"aria-describedby",relatedNodeIds:i})}get ariaDescribedBy(){return this.originalAriaDescribedBy}set ariaControls(i){this.originalAriaControls=i,this.setAttribute("aria-controls",i),this.setHostRoleAttribute(c)}get ariaControls(){return this.originalAriaControls}set ariaOwns(i){this.originalAriaOwns=i,this.setAttribute("aria-owns",i),this.setHostRoleAttribute(c)}get ariaOwns(){return this.originalAriaOwns}set ariaDetails(i){this.originalAriaDetails=i,this.setAttribute("aria-details",i),this.setHostRoleAttribute(c)}get ariaDetails(){return this.originalAriaDetails}set ariaFlowTo(i){this.originalAriaFlowTo=i,this.setAttribute("aria-flowto",i),this.setHostRoleAttribute(c)}get ariaFlowTo(){return this.originalAriaFlowTo}get ariaExpanded(){return this.originalAriaExpanded}set ariaExpanded(i){this.originalAriaExpanded=i,this.state.ariaExpanded=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get computedAriaExpanded(){return this.state.ariaExpanded}set ariaPressed(i){this.originalAriaPressed=i,this.state.ariaPressed=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaPressed(){return this.originalAriaPressed}get computedAriaPressed(){return this.state.ariaPressed}set ariaHidden(i){this.originalAriaHidden=i,this.state.ariaHidden=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaHidden(){return this.originalAriaHidden}get computedAriaHidden(){return this.state.ariaHidden}set ariaHasPopup(i){this.originalAriaHasPopup=i,this.state.ariaHasPopup=t.normalizeString(i,{fallbackValue:null,validValues:["true","dialog","menu","listbox","tree","grid"]})}get ariaHasPopup(){return this.originalAriaHasPopup}get computedAriaHasPopup(){return this.state.ariaHasPopup}set ariaRelevant(i){this.originalAriaRelevant=i,this.state.ariaRelevant=t.normalizeString(i,{fallbackValue:null,validValues:["additions","removals","text","all"]})}get ariaRelevant(){return this.originalAriaRelevant}get computedAriaRelevant(){return this.state.ariaRelevant}set ariaLive(i){this.originalAriaLive=i,this.state.ariaLive=t.normalizeString(i,{fallbackValue:null,validValues:["polite","assertive","off"]})}get ariaLive(){return this.originalAriaLive}get computedAriaLive(){return this.state.ariaLive}set ariaAtomic(i){this.originalAriaAtomic=i,this.state.ariaAtomic=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaAtomic(){return this.originalAriaAtomic}get computedAriaAtomic(){return this.state.ariaAtomic}set ariaBusy(i){this.originalAriaBusy=i,this.state.ariaBusy=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaBusy(){return this.originalAriaBusy}get computedAriaBusy(){return this.state.ariaBusy}get computedButtonClass(){const i=r.classSet("slds-button");return i.add(t.buttonGroupOrderClass(this.groupOrder)),i.toString()}focus(){}constructor(){super(),this._initialized=!1,this.state={ariaAtomic:null,ariaBusy:null,ariaControls:null,ariaDetails:null,ariaDescribedBy:null,ariaExpanded:null,ariaFlowTo:null,ariaHasPopup:null,ariaHidden:null,ariaLabelledBy:null,ariaLive:null,ariaOwns:null,ariaPressed:null,ariaRelevant:null,disabled:!1},this.originalAriaAtomic=void 0,this.originalAriaBusy=void 0,this.originalAriaControls=void 0,this.originalAriaDetails=void 0,this.originalAriaDescribedBy=void 0,this.originalAriaExpanded=void 0,this.originalAriaFlowTo=void 0,this.originalAriaHasPopup=void 0,this.originalAriaHidden=void 0,this.originalAriaLabelledBy=void 0,this.originalAriaLive=void 0,this.originalAriaOwns=void 0,this.originalAriaPressed=void 0,this.originalAriaRelevant=void 0,this.originalDisabledValue=void 0,this.accessKey=void 0,this.title=void 0,this.ariaLabel=void 0,this.ariaCurrent=void 0,this.ariaKeyShortcuts=void 0,this.groupOrder="",this.ariaObserver=new o.default(this),t.isIE11&&t.isCSR&&this.template.addEventListener("click",i=>{this.disabled&&i.stopImmediatePropagation()})}connectedCallback(){super.connectedCallback(),this.ariaObserver||(this.ariaObserver=new o.default(this))}renderedCallback(){this.isConnected&&this.ariaObserver.sync()}disconnectedCallback(){this.ariaObserver&&(this.ariaObserver.disconnect(),this.ariaObserver=void 0)}setHostRoleAttribute(i){let a=this.getAttribute(h)||i;this.setAttribute(h,a)}}a.registerDecorators(A,{publicProps:{disabled:{config:3},accessKey:{config:0},title:{config:0},ariaLabel:{config:0},ariaLabelledBy:{config:3},ariaDescribedBy:{config:3},ariaControls:{config:3},ariaOwns:{config:3},ariaDetails:{config:3},ariaFlowTo:{config:3},ariaExpanded:{config:3},ariaPressed:{config:3},ariaHidden:{config:3},ariaCurrent:{config:0},ariaKeyShortcuts:{config:0},ariaHasPopup:{config:3},ariaRelevant:{config:3},ariaLive:{config:3},ariaAtomic:{config:3},ariaBusy:{config:3},groupOrder:{config:0}},publicMethods:["focus"],track:{state:1},fields:["_initialized","originalAriaAtomic","originalAriaBusy","originalAriaControls","originalAriaDetails","originalAriaDescribedBy","originalAriaExpanded","originalAriaFlowTo","originalAriaHasPopup","originalAriaHidden","originalAriaLabelledBy","originalAriaLive","originalAriaOwns","originalAriaPressed","originalAriaRelevant","originalDisabledValue"]});const b=a.registerComponent(A,{tmpl:g,sel:"lightning-primitive-button",apiVersion:62});i.default=b,Object.defineProperty(i,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveBubble",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils"],function(t,e,i,s){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var l=n(i);var o=[[function(t,e,i){return".fix-popover_tooltip_alignment"+(t?"["+t+"]":"")+" {min-width: inherit;}"}],function(){return""}];const a={part:"overlay"},r={"slds-popover__body":!0},d={lwc:{dom:"manual"}};function h(t,e,i,s){const{ncls:n,b:l,h:o}=t,{_m0:h,_m1:c}=s;return[o("div",{className:n(e.computedPopoverClass),attrs:a,key:0,on:{transitionend:h||(s._m0=l(e.handleTransitionEnd))}},[o("div",{classMap:r,context:d,key:1,on:{mouseleave:c||(s._m1=l(e.handleMouseLeave))}})])]}var c=e.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-5fnnbdvmu3k",h.legacyStylesheetToken="lightning-primitiveBubble_primitiveBubble",o&&h.stylesheets.push.apply(h.stylesheets,o),e.freezeTemplate(h);const b={horizontal:"left",vertical:"bottom"},u="1rem",p="absolute",v="0",g="0";class m extends l.default{constructor(...t){super(...t),this.state={visible:!1,hidden:!0,contentId:""},this.disableVisibilityChangeOnLeave=void 0}get contentId(){return this.state.contentId}set contentId(t){this.state.contentId=t,this.state.inDOM&&this.divEl.setAttribute("id",this.state.contentId)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tooltip"),this.setAttribute("aria-hidden",!0),this.setAttribute("class","slds-scope"),this.state.inDOM=!0}disconnectedCallback(){this.state.inDOM=!1}renderedCallback(){this.setContentManually(),this.setIdManually(),this.createInvisibleDivManually()}set content(t){this.state.content=t,this.state.inDOM&&this.setContentManually()}get content(){return this.state.content||""}get align(){return this.state.align||b}set align(t){this.state.align=t}get visible(){return this.state.visible}set visible(t){this.state.visible=t,this.state.visible&&(this.state.hidden=!1),this.state.hidden?this.setAttribute("aria-hidden",!0):this.removeAttribute("aria-hidden")}handleTransitionEnd(){this.state.visible||(this.state.hidden=!0,this.setAttribute("aria-hidden",!0))}setIdManually(){this.setAttribute("id",this.state.contentId)}setContentManually(){this.template.querySelector(".slds-popover__body").textContent=this.state.content}createInvisibleDivManually(){if(this.state.visible){const t=this.template.querySelector(".slds-popover"),e=this.template.querySelector(".slds-popover__body"),i=document.createElement("div"),{vertical:s}=this.align;let n=null;window&&t&&e&&(n=window.getComputedStyle(t),i.style.width=n.getPropertyValue("width"),i.style.top="bottom"===s?Math.max(32,t.offsetHeight)+"px":"-1rem"),i.style.height=u,i.style.position=p,i.style.left=v,i.style.marginLeft=g,e.appendChild(i)}}get computedPopoverClass(){const t=s.classSet("slds-popover").add("slds-popover_tooltip").add("fix-popover_tooltip_alignment");t.add({"slds-rise-from-ground":this.visible,"slds-fall-into-ground":!this.visible,"slds-hide":this.state.hidden});const{horizontal:e,vertical:i}=this.align;return t.add({"slds-nubbin_top-left":"left"===e&&"top"===i,"slds-nubbin_top-right":"right"===e&&"top"===i,"slds-nubbin_bottom-left":"left"===e&&"bottom"===i,"slds-nubbin_bottom-right":"right"===e&&"bottom"===i,"slds-nubbin_bottom":"center"===e&&"bottom"===i,"slds-nubbin_top":"center"===e&&"top"===i,"slds-nubbin_left":"left"===e&&"center"===i,"slds-nubbin_right":"right"===e&&"center"===i}),t.toString()}handleMouseLeave(){this.disableVisibilityChangeOnLeave||(this.visible=!1)}}e.registerDecorators(m,{publicProps:{disableVisibilityChangeOnLeave:{config:0},contentId:{config:3},content:{config:3},align:{config:3},visible:{config:3}},track:{state:1}});const y=e.registerComponent(m,{tmpl:c,sel:"lightning-primitive-bubble",apiVersion:62});t.default=y,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('@salesforce/i18n/dir', [], function() { return "ltr"; });(function() { LWR.define("lightning/positionLibrary",["exports","lightning/utilsPrivate","@salesforce/i18n/dir"],function(t,e,i){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=o(i);const s="data-position-id";const r=new class{get window(){return this._window||(this._window=window,this.window.getComputedStyle||(this.window.getComputedStyle=t=>t.style)),this._window}mockWindow(t){this._window=t}get documentElement(){return e.assert(this.window.document,"Missing window.document"),this.window.document.documentElement}get MutationObserver(){return this.window.MutationObserver}isWindow(t){return t&&"[object Window]"===t.toString()}};function h(t){return t&&11===t.nodeType}function l(t,e,i){if(!t||t===e||t===document.body)return null;try{const o=r.window.getComputedStyle(t);return o?i(o)?t:l(h(t.parentNode)?t.parentNode.host:t.parentNode,e,i):null}catch(t){return null}}function a(t){return t===r.window||(!(h(t.parentNode)||!t.parentNode||!t.parentNode.tagName||"BODY"!==t.parentNode.tagName.toUpperCase())||(h(t.parentNode)&&t.parentNode.host?a(t.parentNode.host):!!t.parentNode&&a(t.parentNode)))}function d(t){return t.nodeType&&(1===t.nodeType||11===t.nodeType)}let c=1e6;function p(t){const e="lgcp-"+c++;return t.setAttribute(s,e),t=document.querySelector(`[${s}="${e}"]`)||t}function u(t,e,i,o,s){const h=e.isInside||!s&&(a=o,d=r.window,l(a,d,t=>"hidden"===t["overflow-x"]||"hidden"===t["overflow-y"]));var a,d;return t.style.position=h?"fixed":"absolute",t.style.zIndex=i||0,t.style.left="rtl"===n.default?"99999px":"-9999px",t.style.right="auto",t.style.top="0px",{element:t,overlay:e}}function f(t){return t&&function(t){return"px"===t.slice(-2)}(t)?parseFloat(t):0}const g={Center:"center",Middle:"middle",Right:"right",Left:"left",Bottom:"bottom",Top:"top",Default:"default"},m={top:g.Top,bottom:g.Bottom,center:g.Middle},b={left:g.Left,right:g.Right,center:g.Center},w={left:g.Right,right:g.Left,top:g.Bottom,bottom:g.Top,center:g.Center,default:g.Right};function v(t){if(t)return t.getBoundingClientRect();const e={width:r.window.innerWidth||document.body.clientWidth||0,height:r.window.innerHeight||document.body.clientHeight||0,top:0,left:0};return e.bottom=e.height,e.right=e.width,e}function y(t,i){return e.normalizeString(t,{fallbackValue:i||g.Default,validValues:[g.Center,g.Right,g.Left,g.Bottom,g.Top,g.Middle,g.Default]})}function _(t){return t=y(t,g.Left),w[t]}class x{constructor(t,e,i,o){this.pad=t||0,this.boxDirections=e||{left:!0,right:!0},this.transformX=i||function(){},this.transformY=o||function(){}}transform(){}}const L={center:(t,e)=>Math.floor(t+.5*e.width),right:(t,e)=>t+e.width,left:t=>t,bottom:(t,e)=>t+e.height},O={top:class extends x{transform(t,e){return{top:Math.floor(this.transformY(t.top,t,e)+this.pad)}}},bottom:class extends x{transform(t,e){return{top:Math.floor(this.transformY(t.top,t,e)-e.height-this.pad)}}},center:class extends x{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)-.5*e.width)}}},middle:class extends x{transform(t,e){return{top:Math.floor(.5*(2*t.top+t.height-e.height))}}},left:class extends x{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)+this.pad)}}},right:class extends x{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)-e.width-this.pad)}}},below:class extends x{transform(t,e){const i=t.top+t.height+this.pad;return e.top<i?{top:i}:{}}},"bounding box":class extends x{transform(t,e){const i={};return this.boxDirections.top&&e.top<t.top+this.pad&&(i.top=t.top+this.pad),this.boxDirections.left&&e.left<t.left+this.pad&&(i.left=t.left+this.pad),this.boxDirections.right&&e.left+e.width>t.left+t.width-this.pad&&(i.left=t.left+t.width-e.width-this.pad),this.boxDirections.bottom&&e.top+e.height>t.top+t.height-this.pad&&(i.top=t.top+t.height-e.height-this.pad),i}},"shrinking box":class extends x{transform(t,e){const i={};return this.boxDirections.top&&e.top<t.top+this.pad&&(i.top=t.top+this.pad,i.height=Math.max(e.height-(i.top-e.top),36)),this.boxDirections.left&&e.left<t.left+this.pad&&(i.left=t.left+this.pad,i.width=Math.max(e.width-(i.left-e.left),36)),this.boxDirections.right&&e.left+e.width>t.left+t.width-this.pad&&(i.right=t.left+t.width-this.pad,i.width=Math.max(i.right-(i.left||e.left),36)),this.boxDirections.bottom&&e.top+e.height>t.top+t.height-this.pad&&(i.bottom=t.top+t.height-this.pad,i.height=Math.max(i.bottom-(i.top||e.top),36)),i}},"inverse bounding box":class extends x{transform(t,e){const i={};return this.boxDirections.left&&t.left-this.pad<e.left&&(i.left=t.left-this.pad),this.boxDirections.right&&e.left+e.width<t.left+t.width+this.pad&&(i.left=t.width+this.pad-e.width+t.left),this.boxDirections.top&&t.top<e.top+this.pad&&(i.top=t.top-this.pad),this.boxDirections.bottom&&e.top+e.height<t.top+t.height+this.pad&&(i.top=t.height+this.pad-e.height+t.top),i}},default:x};function D(t){return L[t]||L.left}class C{type(t){return this._type=t,this}align(t,e){return this._transformX=D(t),this._transformY=D(e),this}pad(t){return this._pad=parseInt(t,10),this}boxDirections(t){return this._boxDirections=t,this}build(){return new(O[this._type]?O[this._type]:O[g.Default])(this._pad||0,this._boxDirections||{},this._transformX||D(g.left),this._transformY||D(g.left))}}class I{constructor(t,e){const{target:i,element:o,pad:n,boxDirections:s}=e,{horizontal:r,vertical:h}=e.targetAlign;this._element=o,this._targetElement=i,this.destroyed=!1,this._transformer=(new C).type(t).align(r,h).pad(n).boxDirections(s).build()}detach(){this._disabled=!0}attach(){this._disabled=!1}computeDisplacement(){return this._disabled||(this._targetElement.refresh(),this._element.refresh(),this._pendingBox=this._transformer.transform(this._targetElement,this._element)),this}computePosition(){const t=this._element;return this._disabled||Object.keys(this._pendingBox).forEach(e=>{t.setDirection(e,this._pendingBox[e])}),this}destroy(){this._element.release(),this._targetElement.release(),this._disabled=!0,this.destroyed=!0}}class M{constructor(t,e){if(this.id=e,this.width=0,this.height=0,this.left=0,this.top=0,this.right=0,this.bottom=0,this._dirty=!1,this._node=null,this._releaseCb=null,!t)throw new Error("Element missing");r.isWindow(t)&&(t=r.window),this._node=t,this.setupObserver(),this.refresh()}setupObserver(){r.MutationObserver&&!this._node.isObserved&&(this._observer=new r.MutationObserver(this.refresh.bind(this)),r.isWindow(this._node)||(this._observer.observe(this._node,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),this._node.isObserved=!0))}setReleaseCallback(t,e){const i=e||this;this._releaseCb=t.bind(i)}checkNodeIsInDom(){return!!a(this._node)}refresh(){const t=r.window;if(!this.isDirty()){if(!this.checkNodeIsInDom())return this.release();let e,i,o,n;if(void 0!==t.pageYOffset?(o=t.pageYOffset,n=t.pageXOffset):(o=t.scrollY,n=t.scrollX),r.isWindow(this._node))e={},this.width=r.documentElement.clientWidth,this.height=r.documentElement.clientHeight,this.left=n,this.top=o,this.right=r.documentElement.clientWidth+n,this.bottom=r.documentElement.clientHeight;else{for(i in this._node.offsetHeight,e=this._node.getBoundingClientRect(),e)this[i]=Math.floor(e[i]);this.top=Math.floor(this.top+o),this.bottom=Math.floor(this.top+e.height),this.left=Math.floor(this.left+n),this.right=Math.floor(this.left+e.width)}this._dirty=!1}return this._dirty}getNode(){return this._node}isDirty(){return this._dirty}bake(){const t=r.window,e=this._node.getBoundingClientRect(),i=t.getComputedStyle(this._node)||this._node.style,o=void 0!==t.pageYOffset,n=o?t.pageYOffset:t.scrollY,s=o?t.pageXOffset:t.scrollX,h=i.left.match(/auto|fixed/)?"0":f(i.left),l=i.top.match(/auto|fixed/)?"0":f(i.top),a=e.top-(this.top<e.top?f(i.marginBottom):-1*f(i.marginTop)),d=this.top<a?f(i.marginBottom):-1*f(i.marginTop);let c=Math.round(this.left-(e.left+s));const p=Math.round(this.top-(e.top+d+n)),u=t.innerWidth||document.body.clientWidth;let g=parseInt(i.right,10);h+c+parseInt(i.width,10)>u&&g<=0&&(g=g<0?-g:c,this._node.style.right=-g+"px",c=0),this._node.style.left=`${h+c}px`,this._node.style.top=`${l+p}px`,this._restoreSize&&(void 0===this.originalHeight&&(this.originalHeight=this._node.style.height),void 0===this.originalWidth&&(this.originalWidth=this._node.style.width),this._node.style.width=`${this.width}px`,this._node.style.height=`${this.height}px`),this._dirty=!1}setDirection(t,e){this[t]=e,this._dirty=!0,"height"!==t&&"width"!==t||(this._restoreSize=!0)}release(){this._restoreSize&&(this._node.style.width=this.originalWidth,this._node.style.height=this.originalHeight,this._removeMinHeight&&(this._node.style.minHeight="")),this._releaseCb&&this._releaseCb(this),this._observer&&(this._observer.disconnect(),this._observer=null)}querySelectorAll(t){return this._node.querySelectorAll(t)}}const A=new class{constructor(){this.proxyCache={}}get count(){return Object.keys(this.proxyCache).length}releaseOrphanProxies(){for(const t in this.proxyCache)this.proxyCache[t].el.checkNodeIsInDom()||this.proxyCache[t].el.release()}bakeOff(){for(const t in this.proxyCache)this.proxyCache[t].el.isDirty()&&this.proxyCache[t].el.bake()}getReferenceCount(t){const e=t.id;return e&&this.proxyCache[e]?this.proxyCache[e].refCount:0}release(t){const e=this.proxyCache[t.id];e&&--e.refCount,e&&e.refCount<=0&&delete this.proxyCache[t.id]}reset(){this.proxyCache={}}create(t){let i="window";if(r.isWindow(t)||(i=t?t.getAttribute(s):null,e.assert(i&&t.nodeType&&(1!==t.nodeType||11!==t.nodeType),`Element Proxy requires an element and has property ${s}`)),this.proxyCache[i])return this.proxyCache[i].refCount++,this.proxyCache[i].el;const o=new M(t,i);var n;return o.setReleaseCallback(S,o),this.proxyCache[i]={el:o,refCount:1},(n=0,new Promise(t=>{setTimeout(()=>{t()},n)})).then(()=>{this.releaseOrphanProxies()}),this.proxyCache[i].el}};function S(t){return A.release(t)}function E(t){return A.create(t)}const N=new class{constructor(){this.callbacks=[],this.repositionScheduled=!1,this._constraints=[],this.timeoutId=0,this.lastIndex=e.getZIndexBaseline(),this.eventsBound=!1}get nextIndex(){return this.lastIndex++}get constraints(){return this._constraints}set constraints(t){this._constraints=this._constraints.concat(t)}dispatchRepositionCallbacks(){for(;this.callbacks.length>0;)this.callbacks.shift()()}add(t){return"function"==typeof t&&(this.callbacks.push(t),!0)}scheduleReposition(t){0===this.timeoutId&&(this.timeoutId=setTimeout(()=>{this.reposition(t)},10))}reposition(t){"function"==typeof t&&this.callbacks.push(t),clearTimeout(this.timeoutId),this.timeoutId=0,this.repositionScheduled||(requestAnimationFrame(()=>{this.repositionScheduled=!1,this._constraints=this._constraints.filter(t=>!t.destroyed&&(t.computeDisplacement().computePosition(),!0)),A.bakeOff(),this.dispatchRepositionCallbacks()}),this.repositionScheduled=!0)}get repositioning(){return this._reposition||(this._reposition=this.scheduleReposition.bind(this)),this._reposition}bindEvents(){this.eventsBound||(window.addEventListener("resize",this.repositioning),window.addEventListener("scroll",this.repositioning),this.eventsBound=!0)}detachEvents(){window.removeEventListener("resize",this.repositioning),window.removeEventListener("scroll",this.repositioning),this.eventsBound=!1}rebase(t){this.lastIndex<=t&&(this.lastIndex=t+1)}};function P(t){N.scheduleReposition(t)}function k(t){N.reposition(t)}function z(t){return N.rebase(t)}class B{constructor(t,e,i,o){this.config=t,this.constraintList=e,this.scrollableParent=i,this.observer=o}disable(){this.constraintList.forEach(t=>{t.detach()})}enable(){this.constraintList.forEach(t=>{t.attach()})}destroy(){for(this.config.removeListeners&&(this.config.removeListeners(),this.config.removeListeners=void 0);this.constraintList.length>0;)this.constraintList.pop().destroy();if(this.config.appendToBody&&this.config.element){const t=document.querySelector(`[${s}="${this.config.element.getAttribute(s)}"]`);t&&t.parentNode.removeChild(t)}this.observer&&(this.observer.disconnect(),this.observer=null)}reposition(){return new Promise(t=>{k(()=>{t()})})}}const T={NONE:"none",MODAL:"uiModal",DIALOG:"lightning-dialog",POPOVER:"lightning-popover",PANEL:"uiPanel",SLDSMODAL:"slds-modal"};function R(t){if(!t)return{isInside:!1,type:null,overlay:null};const e=function(t){return t.localName===T.DIALOG?T.DIALOG:t.localName===T.POPOVER?T.POPOVER:t.classList&&t.classList.contains(T.MODAL)?T.MODAL:t.classList&&t.classList.contains(T.PANEL)?T.PANEL:t.classList&&t.classList.contains(T.SLDSMODAL)?T.SLDSMODAL:T.NONE}(t);return e!==T.NONE?{isInside:!0,type:e,overlay:t}:t.parentNode?R(h(t.parentNode)?t.parentNode.host:t.parentNode):{isInside:!1,type:null,overlay:null}}class W{constructor(t){this._element=t,this._detection=R(this._element)||{isInside:!1,overlay:null}}get isInsideModal(){return this.isInside&&(this._detection.type===T.MODAL||this._detection.type===T.DIALOG||this._detection.type===T.SLDSMODAL)}get isInside(){return this._detection.isInside}get overlay(){return this._detection.overlay}}const H="1.875rem";function Y(t,e,i){N.bindEvents();let o=(a=t.target,n="TEXTAREA"===a.tagName?h(a.parentNode)?a.parentNode.host:a.parentNode:a,s=r.window,l(n,s,t=>{const e=t["overflow-y"];return"auto"===e||"scroll"===e}));var n,s,a;!o&&i&&(o=function(t){var e;for(let i=0;i<t.length;i++){let o=t[i];if(o instanceof HTMLElement&&("auto"===(e=r.window.getComputedStyle(o)["overflow-y"])||"scroll"===e))return o}return null}(i));const d=function(t,e){e.align=e.align||{},e.targetAlign=e.targetAlign||{};const i=function(t,e,i,o){const n=v(t),s=v(),r=e.getBoundingClientRect(),h=i.getBoundingClientRect(),l=void 0!==r.height?r.height:r.bottom-r.top,a=void 0!==r.width?r.width:r.right-r.left;let d=!1;"rtl"===document.dir&&(d=o,o=!1);let c=h.top-n.top-l,p=n.height-h.bottom-l,u=c>=0||null==t&&p<0&&c>p,f=p>=0||c<0&&p>c,g=!1;g=t?h.right-n.left>=a&&h.left+a>(d?h.right:n.width):h.right>=a&&h.left+a>(d?h.right:n.width);let m=!1;m=t?h.left+a<=n.right&&h.right-n.left-a<(o?h.left:0):h.left+a<=n.width&&h.right-a<(o?h.left:0);const b=n.width-h.left,w=h.right;return m||g||!t?!m&&!g&&b<a&&w<a&&(g=w>b,m=w<b):(g=(h.right-n.left>=a||h.right>=a)&&h.left+a>(d?h.right:n.width),m=(h.left+a<=n.right||h.left+a<=s.width)&&h.right-a<(o?h.left:0)),!u&&!f&&t&&e.style&&"fixed"===e.style.position&&(u=h.top-s.top-l>0,f=s.height-h.bottom-l>0),{shouldAlignToLeft:m,shouldAlignToRight:g,hasSpaceAbove:u,hasSpaceBelow:f,centerOverflow:{left:h.left-.5*a<0,right:h.right+.5*a>n.width,top:h.top-.5*l<0,bottom:h.bottom+.5*l>n.height}}}(e.overlay.isInside?null:t,e.element,e.target,e.leftAsBoundary),{align:o,targetAlign:n}=function(t,e){const i={horizontal:t.align.horizontal,vertical:t.align.vertical},o={horizontal:t.targetAlign.horizontal,vertical:t.targetAlign.vertical};"rtl"===document.dir&&(i.horizontal=_(i.horizontal),o.horizontal=_(o.horizontal));let n=!1;(function(t){return t.autoFlip||t.autoFlipVertical})(t)&&(i.vertical===g.Bottom?n=!e.hasSpaceAbove&&e.hasSpaceBelow:i.vertical===g.Top?n=e.hasSpaceAbove&&!e.hasSpaceBelow:i.vertical===g.Center&&(e.centerOverflow.top&&!e.centerOverflow.bottom?i.vertical=o.vertical=g.Top:e.centerOverflow.bottom&&!e.centerOverflow.top&&(i.vertical=o.vertical=g.Bottom)));let s=!1;(function(t){return t.autoFlip||t.autoFlipHorizontal})(t)&&(i.horizontal===g.Left?s=e.shouldAlignToRight&&!e.shouldAlignToLeft:i.horizontal===g.Right?s=e.shouldAlignToLeft&&!e.shouldAlignToRight:i.horizontal===g.Center&&(e.centerOverflow.left&&!e.centerOverflow.right?i.horizontal=o.horizontal=g.Left:e.centerOverflow.right&&!e.centerOverflow.left&&(i.horizontal=o.horizontal=g.Right)));return{align:{horizontal:s?_(i.horizontal):y(i.horizontal,g.Left),vertical:n?_(i.vertical):y(i.vertical,g.Top)},targetAlign:{horizontal:s?_(o.horizontal):y(o.horizontal,g.Left),vertical:n?_(o.vertical):y(o.vertical,g.Bottom)}}}(e,i);!e.isInsideModal||i.hasSpaceAbove||i.hasSpaceBelow||(e.scrollableParentBound=!0);return{target:e.target,element:e.element,align:o,targetAlign:n,alignWidth:e.alignWidth,scrollableParentBound:e.scrollableParentBound,keepInViewport:e.keepInViewport,pad:e.pad,padTop:e.padTop,padLeft:e.padLeft,autoShrink:{height:e.autoShrink||e.autoShrinkHeight,width:e.autoShrink||e.autoShrinkWidth},minHeight:e.minHeight||H}}(o,t);d.alignWidth&&"fixed"===d.element.style.position&&(d.element.style.width=d.target.getBoundingClientRect().width+"px");const c=[],u=function(t,e){const i=t.element;let o=null;return r.MutationObserver&&!i.isObserved&&(o=new r.MutationObserver(()=>{}),o.observe(i,{attributes:!0,subtree:!0,childList:!0}),i.isObserved=!0),e&&(e.addEventListener("scroll",P),t.removeListeners=()=>{e.removeEventListener("scroll",P)}),o}(d,o);d.appendToBody&&document.body.appendChild(d.element),d.element=E(d.element),d.target=E(d.target);const f=Object.assign({},d);void 0!==f.padLeft&&(f.pad=f.padLeft);const w=Object.assign({},d);var x;void 0!==w.padTop&&(w.pad=w.padTop),c.push(new I((x=y(x=d.align.horizontal,g.Left),b[x]),f)),c.push(new I(function(t){return t=y(t,g.Left),m[t]}(d.align.vertical),w));const L=d.autoShrink.height||d.autoShrink.width;if(d.scrollableParentBound&&o){const t=p(o),e={element:d.element,enabled:d.enabled,target:E(t),align:{},targetAlign:{},pad:3,boxDirections:{top:!0,bottom:!0,left:!0,right:!0}};if(L){const t=e.element.getNode().style;t.minHeight||(t.minHeight=d.minHeight,e.element._removeMinHeight=!0),e.boxDirections={top:!!d.autoShrink.height,bottom:!!d.autoShrink.height,left:!!d.autoShrink.width,right:!!d.autoShrink.width},c.push(new I("shrinking box",e))}else c.push(new I("bounding box",e))}var O;return d.keepInViewport&&c.push(new I("bounding box",{element:d.element,enabled:d.enabled,target:E(window),align:{},targetAlign:{},pad:3,boxDirections:{top:!0,bottom:!0,left:!0,right:!0}})),O=c,N.constraints=O,e||k(),new B(d,c,o,u)}function X(t,e){return e&&"string"==typeof e?t.querySelector(e):e&&"function"==typeof e?e():e}function U(t,i,o){e.assert(t,"Root is undefined or missing"),e.assert(i,"Config is undefined or missing");const n=p(t),s=X(n,i.target),h=X(n,i.element);if(!s||!h)return null;i.target=p(s),i.element=p(h);const l=new W(i.element);if(i.isInsideModal=l.isInsideModal,i.isInsideModal&&l.overlay){z(parseInt(l.overlay.style.zIndex,10))}const a=new W(i.target);if(a.isInsideModal&&a.overlay){z(parseInt(a.overlay.style.zIndex,10))}const c=u(i.element,l,N.nextIndex,i.target,i.alignWidth);i.element=c.element,i.overlay=c.overlay,function(t){e.assert(t.element&&d(t.element),"Element is undefined or missing, or not a Dom Node"),e.assert(t.target&&(r.isWindow(t.target)||d(t.target)),"Target is undefined or missing")}(i);const f=Y(i,o);return t.dispatchEvent(new CustomEvent("privatescrollablecontainer",{composed:!0,bubbles:!0,detail:{callback:t=>{var e=Y(i,o,t);f.config.align.horizontal=e.config.align.horizontal,f.config.align.vertical=e.config.align.vertical}}})),f}function V(t){t&&t.destroy()}t.AutoPosition=class{constructor(t){this._autoPositionUpdater=null,this._root=t}start(t){return new Promise(t=>{requestAnimationFrame(()=>t())}).then(()=>{let e=Promise.resolve();return this._autoPositionUpdater?e=e.then(()=>this._autoPositionUpdater.reposition()):this._autoPositionUpdater=U(this._root,t),e.then(()=>this._autoPositionUpdater)})}stop(){return this._autoPositionUpdater&&(V(this._autoPositionUpdater),this._autoPositionUpdater=null),Promise.resolve()}},t.Direction=g,t.startPositioning=U,t.stopPositioning=V,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/tooltipLibrary",["exports","lwc","lightning/positionLibrary","lightning/utilsPrivate","lightning/primitiveBubble","lightning/ariaObserver"],function(i,e,t,s,n,o){function r(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var h=r(n),a=r(o);const l="salesforce-lightning-tooltip-bubble",d=`${l}_${s.guid()}`;function c(){return null!=window.ResizeObserver}let u,_;function g(){return u||(u=e.createElement("lightning-primitive-bubble",{is:h.default}),u.contentId=d,u.style.position="absolute",u.style.minWidth="75px",u.disableVisibilityChangeOnLeave=!0),u}const v={Info:"info",Toggle:"toggle"};Object.defineProperty(i,"Direction",{enumerable:!0,get:function(){return t.Direction}}),i.BUBBLE_PREFIX=l,i.Tooltip=class{constructor(i,e){if(this._autoPosition=null,this._disabled=!0,this._initialized=!1,this._visible=!1,this._isFocusEvent=!1,this._initialResize=!0,this._ariaObserver=null,this._config={},s.assert(e.target,"target for tooltip is undefined or missing"),this.value=i,this._root=e.root,this._target=e.target,this._config={...e},this._config.align=e.align||{},this._config.targetAlign=e.targetAlign||{},this._config.disableAriaDescribedBy=e.disableAriaDescribedBy||!1,this._type=s.normalizeString(e.type,{fallbackValue:v.Info,validValues:Object.values(v)}),this._element=e.element,s.isCSR&&!this._element){this._element=g;const i=g();null===i.parentNode&&document.body.appendChild(i)}this.handleDocumentTouch=this.handleDocumentTouch.bind(this),this.handleEscape=this.handleEscape.bind(this),this.hide=this.hide.bind(this)}detach(){this._disabled=!0}attach(){this._disabled=!1}initialize(){const i=this._target();if(!this._initialized&&i){if(this._type===v.Toggle)this.addToggleListeners();else this.addInfoListeners();this._config.disableAriaDescribedBy||(this._ariaObserver=new a.default(this._root),this._ariaObserver.connect({attribute:"aria-describedby",targetNode:this._target(),relatedNodes:this._element()})),this._initialized=!0}}disconnect(){this._ariaObserver&&this._ariaObserver.disconnect()}addInfoListeners(){const i=this._target();!this._initialized&&i&&(["mouseenter","focus"].forEach(e=>i.addEventListener(e,()=>this.show())),["mouseleave","blur","click","keydown"].forEach(e=>i.addEventListener(e,i=>{this._visible&&(this.hideIfNotSelfCover(i),"Escape"===i.key&&i.stopPropagation())})))}hideIfNotSelfCover(i){if(!this._visible)return;const e=this._element();if("mouseleave"===i.type&&i.clientX&&i.clientY)try{const t="top"===e.align.vertical?1:0;if((document.elementFromPoint?document.elementFromPoint(i.clientX,i.clientY+t):null)===this._element())return void(c()||this.startPositioning())}catch(i){}this.hide()}handleDocumentTouch(){this._visible&&this.hide()}addToggleListeners(){const i=this._target();!this._initialized&&i&&(i.addEventListener("touchstart",i=>{i.stopPropagation(),this.toggle()}),["mouseenter","focus"].forEach(e=>i.addEventListener(e,i=>this.show(i))),["mouseleave","blur"].forEach(e=>i.addEventListener(e,i=>this.hideIfNotSelfCover(i))),i.addEventListener("keydown",i=>{"Escape"===i.key&&this._visible&&(this.hideIfNotSelfCover(i),i.stopPropagation())}))}handleEscape(i){"Escape"===i.key&&this._isFocusEvent&&(i.stopPropagation(),this.hideIfNotSelfCover(i))}get resizeObserver(){return this._resizeObserver||(this._resizeObserver=this._buildResizeObserver(()=>{if(this._visible&&this._autoPosition){const i=this._element();if(_!==this)return void this.hide(!1);this.startPositioning().then(()=>{this._initialResize&&(i.addEventListener("mouseleave",this.hide),this._initialResize=!1)})}})),this._resizeObserver}show(i){if(this._disabled||this._visible)return;_&&_!==this&&_._visible&&_.hide(!1),_=this,this._isFocusEvent=i&&"focus"===i.type,this._visible=!0,this._initialResize=!0;const e=this._element();e.visible=this._visible,e.content=this._value,this._ariaObserver&&this._root&&this._root.isConnected&&this._ariaObserver.sync(),this.startPositioning(),document.addEventListener("keydown",this.handleEscape),document.addEventListener("touchstart",this.handleDocumentTouch),this.resizeObserver.observe(e)}hide(i=!0){this._visible=!1;const e=this._element();i&&(e.visible=this._visible),this.stopPositioning(),document.removeEventListener("touchstart",this.handleDocumentTouch),document.removeEventListener("keydown",this.handleEscape),e.removeEventListener("mouseleave",this.hide),this.resizeObserver.unobserve(e),_=null}toggle(){this._visible?this.hide():this.show()}get value(){return this._value}set value(i){this._value=i,this._disabled=!i}get initialized(){return this._initialized}get visible(){return this._visible}startPositioning(){this._autoPosition||(this._autoPosition=new t.AutoPosition(this._root));const i={horizontal:this._config.align.horizontal||t.Direction.Left,vertical:this._config.align.vertical||t.Direction.Bottom},e={horizontal:this._config.targetAlign.horizontal||t.Direction.Left,vertical:this._config.targetAlign.vertical||t.Direction.Top},s=.5*this._target().getBoundingClientRect().width-24;return this._autoPosition.start({target:this._target,element:this._element,align:i,targetAlign:e,autoFlip:!0,padTop:16,padLeft:s}).then(i=>{if(i){const e=this._element();e.align=i.config.align,e.visible=this._visible}})}stopPositioning(){this._autoPosition&&this._autoPosition.stop()}_buildResizeObserver(i){return c()?new ResizeObserver(i):{observe(){},unobserve(){}}}},i.TooltipType=v,Object.defineProperty(i,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/iconUtils",["exports","lightning/configProvider"],function(r,e){const t={standard:{header_discounts:"rgb(92, 92, 92)",contact:"rgb(150, 2, 199)",prep_flow:"rgb(255, 83, 138)",crypto_transaction:"rgb(255, 93, 45)",multi_select_checkbox:"rgb(147, 147, 147)",work_order:"rgb(6, 165, 154)",post:"rgb(27, 150, 255)",global_constant:"rgb(16, 124, 173)",change_request:"rgb(5, 103, 100)",indicator_performance_period:"rgb(3, 45, 96)",data_cloud:"rgb(90, 27, 169)",carousel:"rgb(59, 167, 85)",account_score:"rgb(88, 103, 232)",work_contract:"rgb(27, 150, 255)",impact_strategy_assignment:"rgb(6, 165, 154)",resource_skill:"rgb(59, 167, 85)",system_and_global_variable:"rgb(16, 124, 173)",segments:"rgb(255, 93, 45)",account_info:"rgb(88, 103, 232)",prompt_builder:"rgb(47, 44, 183)",goals:"rgb(27, 150, 255)",tour_check:"rgb(144, 80, 233)",adjust_value:"rgb(59, 167, 85)",case_wrap_up:"rgb(255, 93, 45)",investment_account:"rgb(59, 167, 85)",store:"rgb(57, 101, 71)",slider:"rgb(147, 147, 147)",output:"rgb(16, 124, 173)",medication_ingredient:"rgb(6, 165, 154)",store_group:"rgb(27, 150, 255)",all:"rgb(16, 124, 173)",service_territory_policy:"rgb(27, 150, 255)",slack_conversations:"rgb(72, 26, 84)",picklist_choice:"rgb(16, 124, 173)",choice:"rgb(16, 124, 173)",funding_requirement:"rgb(57, 101, 71)",your_account:"rgb(1, 68, 134)",app:"rgb(255, 93, 45)",default:"rgb(147, 147, 147)",case_milestone:"rgb(255, 93, 45)",operation_plan:"rgb(90, 27, 169)",today:"rgb(255, 83, 138)",buyer_account:"rgb(57, 101, 71)",lead_list:"rgb(255, 93, 45)",list_rate:"rgb(57, 101, 71)",work_plan_template:"rgb(6, 165, 154)",tableau:"rgb(15, 30, 60)",shift:"rgb(255, 83, 138)",people_score:"rgb(88, 103, 232)",product_item_transaction:"rgb(255, 93, 45)",person_language:"rgb(6, 165, 154)",apex:"rgb(16, 124, 173)",reply_text:"rgb(255, 83, 138)",answer_private:"rgb(255, 93, 45)",immunization:"rgb(255, 83, 138)",asset_downtime_period:"rgb(16, 124, 173)","opportunity_contact role":"rgb(88, 103, 232)",retail_banking_console:"rgb(6, 165, 154)",channel_program_members:"rgb(6, 165, 154)",apps_admin:"rgb(88, 103, 232)",metric_definition:"rgb(16, 124, 173)",datadotcom:"rgb(27, 150, 255)",settings:"rgb(57, 101, 71)",network_contract:"rgb(59, 167, 85)",crypto_transaction_envelope_item:"rgb(16, 124, 173)",product_item:"rgb(27, 150, 255)",metrics:"rgb(27, 150, 255)",topic2:"rgb(27, 150, 255)",partner_fund_allocation:"rgb(6, 165, 154)",care_request_reviewer:"rgb(59, 167, 85)",indicator_definition:"rgb(3, 45, 96)",crypto_transaction_envelope_change_snapshot:"rgb(203, 101, 255)",operation_plan_step_execution:"rgb(90, 27, 169)",approval:"rgb(59, 167, 85)",work_queue:"rgb(16, 124, 173)",iot_orchestrations:"rgb(16, 124, 173)",visualforce_page:"rgb(255, 93, 45)",person_account:"rgb(88, 103, 232)",entity:"rgb(255, 93, 45)",dynamic_highlights_panel:"rgb(59, 167, 85)",service_territory_location:"rgb(88, 103, 232)",qualifications:"rgb(57, 101, 71)",document_preview:"rgb(182, 5, 84)",tax_treatment:"rgb(57, 101, 71)",entitlement_policy:"rgb(57, 101, 71)",form:"rgb(59, 167, 85)",query_editor:"rgb(126, 38, 0)",visualization:"rgb(27, 150, 255)",products:"rgb(90, 27, 169)",prompt:"rgb(6, 165, 154)",order_item:"rgb(27, 150, 255)",read_receipts:"rgb(59, 167, 85)",javascript_button:"rgb(255, 93, 45)",maintenance_asset:"rgb(16, 124, 173)",work_plan_rule:"rgb(6, 165, 154)",loop:"rgb(255, 93, 45)",portal_roles_and_subordinates:"rgb(27, 150, 255)",work_capacity_limit:"rgb(16, 124, 173)",employee_organization:"rgb(27, 150, 255)",workforce_engagement:"rgb(182, 5, 84)",constant:"rgb(16, 124, 173)",marketing_actions:"rgb(59, 167, 85)",case_transcript:"rgb(255, 93, 45)",list_fee:"rgb(47, 44, 183)",timesheet_entry:"rgb(59, 167, 85)",key_dates:"rgb(27, 150, 255)",multi_picklist:"rgb(147, 147, 147)",facility_bed:"rgb(255, 83, 138)",product_workspace:"rgb(57, 101, 71)",visit_templates:"rgb(27, 150, 255)",restriction_policy:"rgb(27, 150, 255)",task:"rgb(59, 167, 85)",scheduling_workspace_territory:"rgb(255, 83, 138)",answer_best:"rgb(255, 93, 45)",attach:"rgb(144, 80, 233)",asset_action:"rgb(16, 124, 173)",section:"rgb(147, 147, 147)",service_request:"rgb(27, 150, 255)",orders:"rgb(27, 150, 255)",propagation_policy:"rgb(27, 150, 255)",budget:"rgb(16, 124, 173)",report_type:"rgb(59, 167, 85)",past_chat:"rgb(255, 93, 45)",crypto_transaction_envelope_change_log:"rgb(8, 73, 104)",feedback:"rgb(27, 150, 255)",action_list_component:"rgb(16, 124, 173)",opportunity_splits:"rgb(255, 93, 45)",location_permit:"rgb(6, 165, 154)",app_form_product_participant:"rgb(126, 38, 0)",messaging_user:"rgb(6, 165, 154)",filter_criteria:"rgb(16, 124, 173)",tax_policy:"rgb(57, 101, 71)",trailhead:"rgb(3, 45, 96)",entitlements:"rgb(144, 80, 233)",checkout:"rgb(57, 101, 71)",formula:"rgb(16, 124, 173)",case_log_a_call:"rgb(255, 93, 45)",shift_pattern_entry:"rgb(255, 83, 138)",thanks_loading:"rgb(147, 147, 147)",job_family:"rgb(27, 150, 255)",service_appointment_capacity_usage:"rgb(16, 124, 173)",inbox:"rgb(16, 124, 173)",channel_program_levels:"rgb(6, 165, 154)",letterhead:"rgb(27, 150, 255)",promotions_workspace:"rgb(57, 101, 71)",nft_settings:"rgb(255, 83, 138)",asset_hierarchy:"rgb(16, 124, 173)",email_chatter:"rgb(255, 93, 45)",custody_chain_entry:"rgb(6, 165, 154)",document_reference:"rgb(16, 124, 173)",announcement:"rgb(27, 150, 255)",field_sales:"rgb(144, 80, 233)",bot:"rgb(16, 124, 173)",macros:"rgb(6, 165, 154)",dashboard_ea:"rgb(88, 103, 232)",job_profile:"rgb(255, 83, 138)",steps:"rgb(16, 124, 173)",snippet_alt:"rgb(16, 124, 173)",asset_relationship:"rgb(255, 93, 45)",high_velocity_sales:"rgb(6, 165, 154)",brand:"rgb(88, 103, 232)",historical_adherence:"rgb(6, 165, 154)",visits:"rgb(27, 150, 255)",einstein_replies:"rgb(255, 83, 138)",coaching:"rgb(255, 83, 138)",record_lookup:"rgb(255, 83, 138)",product_service_campaign_item:"rgb(16, 124, 173)",scheduling_constraint:"rgb(255, 83, 138)",lightning_component:"rgb(147, 147, 147)",search:"rgb(27, 150, 255)",connected_apps:"rgb(88, 103, 232)",swarm_request:"rgb(255, 83, 138)",work_type_group:"rgb(16, 124, 173)",education:"rgb(27, 150, 255)",work_type:"rgb(16, 124, 173)",travel_mode:"rgb(59, 167, 85)",environment_hub:"rgb(16, 124, 173)",identifier:"rgb(255, 93, 45)",cms:"rgb(59, 167, 85)",call_coaching:"rgb(27, 150, 255)",salesforce_cms:"rgb(16, 124, 173)",price_sheet:"rgb(59, 167, 85)",thanks:"rgb(255, 83, 138)",service_territory_member:"rgb(88, 103, 232)",work_forecast:"rgb(255, 93, 45)",crypto_product_category_wallet_role:"rgb(5, 103, 100)",program_cohort_member:"rgb(27, 150, 255)",holiday_operating_hours:"rgb(27, 150, 255)",uploaded_model:"rgb(6, 165, 154)",user_role:"rgb(59, 167, 85)",observation_component:"rgb(88, 103, 232)",orchestrator:"rgb(16, 124, 173)",work_capacity_usage:"rgb(16, 124, 173)",record_create:"rgb(255, 83, 138)",campaign_members:"rgb(255, 93, 45)",retail_banking:"rgb(6, 165, 154)",product_service_campaign:"rgb(16, 124, 173)",portal_roles:"rgb(255, 93, 45)",operation_plan_step:"rgb(90, 27, 169)",calibration:"rgb(6, 165, 154)",answer_public:"rgb(255, 93, 45)",robot:"rgb(47, 44, 183)",display_text:"rgb(147, 147, 147)",product_consumed_state:"rgb(6, 165, 154)",budget_category_value:"rgb(27, 150, 255)",scheduling_workspace:"rgb(255, 83, 138)",unmatched:"rgb(27, 150, 255)",partners:"rgb(6, 165, 154)",email_iq:"rgb(88, 103, 232)",mulesoft:"rgb(27, 150, 255)",service_crew:"rgb(255, 93, 45)",payment_gateway:"rgb(5, 103, 100)",voice_call:"rgb(59, 167, 85)",cancel_checkout:"rgb(147, 147, 147)",asset_warranty:"rgb(16, 124, 173)",resource_capacity:"rgb(59, 167, 85)",repeaters:"rgb(6, 165, 154)",setup_modal:"rgb(16, 124, 173)",channel_programs:"rgb(6, 165, 154)",quip:"rgb(255, 93, 45)",quip_sheet:"rgb(59, 167, 85)",timeslot:"rgb(255, 93, 45)",live_chat:"rgb(255, 93, 45)",service_request_detail:"rgb(6, 165, 154)",med_rec_statement_recommendation:"rgb(88, 103, 232)",job_position:"rgb(27, 150, 255)",sobject_collection:"rgb(16, 124, 173)",user:"rgb(16, 124, 173)",client:"rgb(6, 165, 154)",screen:"rgb(27, 150, 255)",portal:"rgb(59, 167, 85)",partner_fund_request:"rgb(6, 165, 154)",asset_audit:"rgb(144, 80, 233)",resource_preference:"rgb(59, 167, 85)",record_consent:"rgb(255, 83, 138)",first_non_empty:"rgb(255, 83, 138)",rate_adjustment:"rgb(182, 5, 84)",impact_strategy:"rgb(6, 165, 154)",customer_360:"rgb(3, 45, 96)",employee_job:"rgb(27, 150, 255)",resource_absence:"rgb(59, 167, 85)",registered_model:"rgb(59, 167, 85)",panel_detail:"rgb(8, 73, 104)",text_template:"rgb(16, 124, 173)",entitlement_template:"rgb(88, 103, 232)",lightning_usage:"rgb(88, 103, 232)",volume_discounts:"rgb(255, 93, 45)",indicator_result:"rgb(3, 45, 96)",product_transfer_state:"rgb(255, 93, 45)",medication_dispense:"rgb(27, 150, 255)",entitlement:"rgb(88, 103, 232)",empty:"rgb(147, 147, 147)",text:"rgb(147, 147, 147)",delegated_account:"rgb(57, 101, 71)",fulfillment_order:"rgb(147, 147, 147)",case_email:"rgb(255, 93, 45)",account:"rgb(88, 103, 232)",coupon_codes:"rgb(57, 101, 71)",assignment:"rgb(255, 93, 45)",wealth_management_console:"rgb(6, 165, 154)",task2:"rgb(59, 167, 85)",patient_medication_dosage:"rgb(6, 165, 154)",code_playground:"rgb(16, 124, 173)",social:"rgb(255, 83, 138)",endorsement:"rgb(88, 103, 232)",folder:"rgb(88, 103, 232)",service_crew_member:"rgb(88, 103, 232)",variation_attribute_setup:"rgb(57, 101, 71)",real_time:"rgb(255, 93, 45)",connect_wallet:"rgb(182, 5, 84)",flow:"rgb(16, 124, 173)",recipe:"rgb(16, 124, 173)",expense_report_entry:"rgb(47, 44, 183)",employee:"rgb(27, 150, 255)",omni_supervisor:"rgb(88, 103, 232)",capacity_plan:"rgb(255, 83, 138)",asset_object:"rgb(16, 124, 173)",product:"rgb(144, 80, 233)",crypto_transaction_envelope:"rgb(5, 103, 100)",topic:"rgb(27, 150, 255)",product_required:"rgb(255, 83, 138)",dynamic_record_choice:"rgb(16, 124, 173)",aggregation_policy:"rgb(27, 150, 255)",warranty_term:"rgb(16, 124, 173)",process:"rgb(16, 124, 173)",swarm_session:"rgb(255, 83, 138)",people:"rgb(6, 165, 154)",medication:"rgb(59, 167, 85)",reward:"rgb(255, 83, 138)",employee_contact:"rgb(27, 150, 255)",bundle_policy:"rgb(27, 150, 255)",performance:"rgb(255, 93, 45)",promotions:"rgb(57, 101, 71)",case_comment:"rgb(255, 93, 45)",price_book_entries:"rgb(57, 101, 71)",sales_channel:"rgb(16, 124, 173)",apex_plugin:"rgb(16, 124, 173)",party_profile:"rgb(90, 27, 169)",campaign:"rgb(144, 80, 233)",contact_request:"rgb(255, 93, 45)",business_hours:"rgb(59, 167, 85)",metric:"rgb(6, 165, 154)",evernote:"rgb(59, 167, 85)",variation_products:"rgb(57, 101, 71)",program_cohort:"rgb(27, 150, 255)",trailhead_alt:"rgb(3, 45, 96)",service_territory:"rgb(88, 103, 232)",customer_lifecycle_analytics:"rgb(88, 103, 232)",code_set:"rgb(16, 124, 173)",case:"rgb(255, 83, 138)",slack:"rgb(74, 21, 75)",currency:"rgb(147, 147, 147)",record:"rgb(59, 167, 85)",code_set_bundle:"rgb(16, 124, 173)",queue:"rgb(16, 124, 173)",schedule_objective:"rgb(16, 124, 173)",contract_line_item:"rgb(59, 167, 85)",skill_entity:"rgb(88, 103, 232)",funding_award_adjustment:"rgb(27, 150, 255)",skill:"rgb(255, 93, 45)",operating_hours:"rgb(27, 150, 255)",crypto_product:"rgb(144, 80, 233)",taxonomy:"rgb(27, 150, 255)",operation_plan_request:"rgb(90, 27, 169)",custom:"rgb(147, 147, 147)",related_list:"rgb(6, 165, 154)",bot_training:"rgb(16, 124, 173)",case_change_status:"rgb(255, 93, 45)",insurance_console:"rgb(6, 165, 154)",dashboard_component:"rgb(88, 103, 232)",incident:"rgb(182, 5, 84)",contract:"rgb(57, 101, 71)",policy:"rgb(6, 165, 154)",sobject:"rgb(147, 147, 147)",whatsapp:"rgb(59, 167, 85)",sales_cadence_target:"rgb(16, 124, 173)",photo:"rgb(147, 147, 147)",apps:"rgb(27, 150, 255)",timesheet:"rgb(88, 103, 232)",drafts:"rgb(27, 150, 255)",outcome:"rgb(255, 93, 45)",discounts:"rgb(57, 101, 71)",work_order_item:"rgb(27, 150, 255)",pricebook:"rgb(144, 80, 233)",scan_card:"rgb(255, 93, 45)",note:"rgb(182, 5, 84)",serialized_product_transaction:"rgb(27, 150, 255)",shift_pattern:"rgb(255, 83, 138)",buyer_group:"rgb(57, 101, 71)",price_adjustment_schedule:"rgb(255, 83, 138)",product_quantity_rules:"rgb(57, 101, 71)",medication_reconciliation:"rgb(16, 124, 173)",procedure:"rgb(27, 150, 255)",opportunity:"rgb(255, 93, 45)",news:"rgb(88, 103, 232)",sort_policy:"rgb(27, 150, 255)",display_rich_text:"rgb(147, 147, 147)",strategy:"rgb(59, 167, 85)",time_period:"rgb(3, 45, 96)",call_history:"rgb(255, 93, 45)",webcart:"rgb(57, 101, 71)",serialized_product:"rgb(27, 150, 255)",tax_rate:"rgb(57, 101, 71)",report:"rgb(6, 165, 154)",customer_workspace:"rgb(57, 101, 71)",groups:"rgb(27, 150, 255)",data_model:"rgb(255, 83, 138)",dashboard:"rgb(47, 44, 183)",generic_loading:"rgb(147, 147, 147)",number_input:"rgb(147, 147, 147)",toggle:"rgb(147, 147, 147)",address:"rgb(59, 167, 85)",price_books:"rgb(57, 101, 71)",entity_milestone:"rgb(255, 93, 45)",contract_line_outcome:"rgb(57, 101, 71)",wealth_management:"rgb(6, 165, 154)",customers:"rgb(6, 165, 154)",disclosure_and_compliance:"rgb(6, 165, 154)",workspace:"rgb(255, 93, 45)",story:"rgb(16, 124, 173)",service_appointment:"rgb(88, 103, 232)",maintenance_plan:"rgb(16, 124, 173)",contract_line_outcome_data:"rgb(57, 101, 71)",data_integration_hub:"rgb(16, 124, 173)",person_name:"rgb(88, 103, 232)",work_plan_template_entry:"rgb(6, 165, 154)",hierarchy:"rgb(6, 165, 154)",custom_component_task:"rgb(88, 103, 232)",partner_marketing_budget:"rgb(6, 165, 154)",asset_action_source:"rgb(16, 124, 173)",skill_requirement:"rgb(255, 93, 45)",filter_criteria_rule:"rgb(16, 124, 173)",no_code_model:"rgb(27, 150, 255)",location:"rgb(59, 167, 85)",promotion_tiers:"rgb(57, 101, 71)",radio_button:"rgb(147, 147, 147)",avatar_loading:"rgb(147, 147, 147)",article:"rgb(255, 93, 45)",custody_entry_verification:"rgb(6, 165, 154)",learner_program:"rgb(255, 93, 45)",invocable_action:"rgb(16, 124, 173)",device:"rgb(88, 103, 232)",app_form_participant:"rgb(5, 103, 100)",proposition:"rgb(27, 150, 255)",snippets:"rgb(6, 165, 154)",customer_portal_users:"rgb(27, 150, 255)",cost_model:"rgb(3, 45, 96)",path_experiment:"rgb(221, 122, 1)",actions_and_buttons:"rgb(255, 93, 45)",record_update:"rgb(255, 83, 138)",shift_type:"rgb(255, 83, 138)",water:"rgb(88, 103, 232)",log_a_call:"rgb(6, 165, 154)",crypto_wallet:"rgb(57, 101, 71)",crypto_wallet_group:"rgb(16, 124, 173)",quotes:"rgb(59, 167, 85)",data_governance:"rgb(57, 101, 71)",question_feed:"rgb(255, 93, 45)",attribute_based_pricing:"rgb(182, 5, 84)",walkthroughs:"rgb(6, 165, 154)",kanban:"rgb(27, 150, 255)",work_plan:"rgb(6, 165, 154)",shift_template:"rgb(255, 83, 138)",merge:"rgb(255, 93, 45)",expense:"rgb(47, 44, 183)",dataset:"rgb(144, 80, 233)",work_summary:"rgb(182, 5, 84)",shift_preference:"rgb(255, 83, 138)",product_consumed:"rgb(6, 165, 154)",canvas:"rgb(147, 147, 147)",bundles_pricing:"rgb(27, 150, 255)",forecasts:"rgb(59, 167, 85)",relationship:"rgb(27, 150, 255)",tour:"rgb(144, 80, 233)",service_resource:"rgb(88, 103, 232)",filter:"rgb(47, 44, 183)",sales_path:"rgb(16, 124, 173)",shift_scheduling_operation:"rgb(255, 83, 138)",data_graph:"rgb(6, 165, 154)",data_lake_objects:"rgb(90, 27, 169)",events:"rgb(27, 150, 255)",data_mapping:"rgb(3, 45, 96)",sms:"rgb(59, 167, 85)",impact_outcome:"rgb(6, 165, 154)",rtc_presence:"rgb(6, 165, 154)",avatar:"rgb(27, 150, 255)",record_delete:"rgb(255, 83, 138)",solution:"rgb(59, 167, 85)",nft_studio:"rgb(88, 103, 232)",manual_discounts:"rgb(16, 124, 173)",agent_home:"rgb(3, 45, 96)",linked:"rgb(6, 165, 154)",partner_fund_claim:"rgb(6, 165, 154)",individual:"rgb(27, 150, 255)",custom_notification:"rgb(27, 150, 255)",contract_payment:"rgb(144, 80, 233)",date_input:"rgb(147, 147, 147)",catalog:"rgb(57, 101, 71)",template:"rgb(27, 150, 255)",activation_target:"rgb(203, 101, 255)",selling_model:"rgb(144, 80, 233)",shipment:"rgb(88, 103, 232)",budget_allocation:"rgb(16, 124, 173)",custody_override:"rgb(6, 165, 154)",record_signature_task:"rgb(255, 83, 138)",event:"rgb(203, 101, 255)",insurance:"rgb(6, 165, 154)",live_chat_visitor:"rgb(255, 93, 45)",textarea:"rgb(147, 147, 147)",work_step:"rgb(6, 165, 154)",picklist_type:"rgb(147, 147, 147)",survey:"rgb(16, 124, 173)",operation_plan_execution:"rgb(90, 27, 169)",link:"rgb(27, 150, 255)",messaging_session:"rgb(6, 165, 154)",video:"rgb(144, 80, 233)",list_email:"rgb(147, 147, 147)",med_rec_recommendation:"rgb(6, 165, 154)",crypto_wallet_group_item:"rgb(144, 80, 233)",recycle_bin:"rgb(27, 150, 255)",document:"rgb(147, 147, 147)",product_transfer:"rgb(255, 93, 45)",instore_locations:"rgb(16, 124, 173)",recent:"rgb(27, 150, 255)",practitioner_role:"rgb(255, 83, 138)",password:"rgb(147, 147, 147)",datashare_target:"rgb(255, 83, 138)",expense_report:"rgb(47, 44, 183)",branch_merge:"rgb(255, 83, 138)",ai_accelerator_card:"rgb(16, 124, 173)",insights:"rgb(203, 101, 255)",budget_period:"rgb(150, 2, 199)",market:"rgb(57, 101, 71)",dropbox:"rgb(27, 150, 255)",unified_health_score:"rgb(88, 103, 232)",bill_of_materials:"rgb(255, 93, 45)",calculated_insights:"rgb(27, 150, 255)",employee_job_position:"rgb(27, 150, 255)",file:"rgb(147, 147, 147)",outcome_activity:"rgb(6, 165, 154)",currency_input:"rgb(147, 147, 147)",data_transforms:"rgb(88, 103, 232)",variable:"rgb(16, 124, 173)",team_member:"rgb(255, 93, 45)",pricing_workspace:"rgb(57, 101, 71)",agent_session:"rgb(255, 93, 45)",guidance_center:"rgb(88, 103, 232)",crypto_category_wallet_group:"rgb(182, 5, 84)",group_loading:"rgb(147, 147, 147)",lead:"rgb(27, 150, 255)",email:"rgb(147, 147, 147)",service_contract:"rgb(88, 103, 232)",decision:"rgb(255, 93, 45)",promotion_segments:"rgb(57, 101, 71)",duration_downscale:"rgb(27, 150, 255)",snippet:"rgb(88, 103, 232)",entitlement_process:"rgb(88, 103, 232)",price_adjustment_matrix:"rgb(6, 165, 154)",contact_list:"rgb(88, 103, 232)",planogram:"rgb(27, 150, 255)",activations:"rgb(144, 80, 233)",scheduling_policy:"rgb(255, 83, 138)",channel_program_history:"rgb(6, 165, 154)",question_best:"rgb(255, 93, 45)",omni_channel:"rgb(16, 124, 173)",collection_variable:"rgb(16, 124, 173)",indicator_assignment:"rgb(3, 45, 96)",procedure_detail:"rgb(6, 165, 154)",sales_value:"rgb(27, 150, 255)",knowledge:"rgb(203, 101, 255)",datashares:"rgb(150, 2, 199)",date_time:"rgb(147, 147, 147)",category:"rgb(57, 101, 71)",maintenance_work_rule:"rgb(16, 124, 173)",data_streams:"rgb(255, 83, 138)",textbox:"rgb(147, 147, 147)",lead_insights:"rgb(27, 150, 255)",waits:"rgb(255, 93, 45)",concur:"rgb(6, 165, 154)",feed:"rgb(27, 150, 255)",sort:"rgb(47, 44, 183)",messaging_conversation:"rgb(6, 165, 154)",service_report:"rgb(88, 103, 232)",iot_context:"rgb(16, 124, 173)",price_adjustment_tier:"rgb(3, 45, 96)",asset_state_period:"rgb(16, 124, 173)",call:"rgb(255, 93, 45)",collection:"rgb(255, 93, 45)",stage:"rgb(255, 93, 45)",sales_cadence:"rgb(16, 124, 173)",product_request_line_item:"rgb(59, 167, 85)",return_order_line_item:"rgb(6, 165, 154)",chart:"rgb(6, 165, 154)",customer:"rgb(57, 101, 71)",buyer_group_qualifier:"rgb(57, 101, 71)",quick_text:"rgb(27, 150, 255)",home:"rgb(255, 83, 138)",sossession:"rgb(16, 124, 173)",digital_verification_config:"rgb(47, 44, 183)",aggregate:"rgb(27, 150, 255)",bundle_config:"rgb(27, 150, 255)",title_party:"rgb(5, 103, 100)",employee_asset:"rgb(27, 150, 255)",process_exception:"rgb(255, 93, 45)",product_warranty_term:"rgb(144, 80, 233)",problem:"rgb(255, 93, 45)",stage_collection:"rgb(255, 93, 45)",product_request:"rgb(59, 167, 85)",logging:"rgb(16, 124, 173)",digital_verification_config_group:"rgb(47, 44, 183)",assigned_resource:"rgb(59, 167, 85)",return_order:"rgb(6, 165, 154)",poll:"rgb(27, 150, 255)",household:"rgb(6, 165, 154)",work_step_template:"rgb(6, 165, 154)",medication_statement:"rgb(27, 150, 255)",labels:"rgb(59, 167, 85)"},custom:{custom110:"rgb(242, 139, 0)",custom100:"rgb(225, 93, 118)",custom111:"rgb(242, 139, 0)",custom1:"rgb(255, 123, 132)",custom101:"rgb(242, 139, 0)",custom112:"rgb(242, 139, 0)",custom2:"rgb(207, 208, 92)",custom102:"rgb(242, 139, 0)",custom113:"rgb(242, 139, 0)",custom90:"rgb(34, 164, 138)",custom3:"rgb(236, 180, 108)",custom103:"rgb(242, 139, 0)",custom80:"rgb(101, 154, 213)",custom91:"rgb(191, 123, 102)",custom4:"rgb(225, 217, 81)",custom104:"rgb(242, 139, 0)",custom70:"rgb(231, 105, 180)",custom81:"rgb(218, 98, 127)",custom92:"rgb(81, 126, 130)",custom5:"rgb(159, 219, 102)",custom105:"rgb(242, 139, 0)",custom60:"rgb(191, 90, 136)",custom71:"rgb(227, 110, 227)",custom82:"rgb(209, 91, 151)",custom93:"rgb(144, 77, 76)",custom6:"rgb(84, 196, 115)",custom106:"rgb(242, 139, 0)",custom50:"rgb(73, 188, 211)",custom61:"rgb(245, 115, 118)",custom72:"rgb(141, 155, 251)",custom83:"rgb(231, 128, 111)",custom94:"rgb(67, 156, 186)",custom7:"rgb(106, 137, 229)",custom107:"rgb(242, 139, 0)",custom40:"rgb(131, 199, 94)",custom51:"rgb(216, 199, 96)",custom62:"rgb(107, 146, 220)",custom73:"rgb(103, 158, 240)",custom84:"rgb(246, 112, 123)",custom95:"rgb(139, 207, 106)",custom8:"rgb(80, 206, 185)",custom108:"rgb(242, 139, 0)",custom30:"rgb(245, 159, 113)",custom41:"rgb(67, 181, 181)",custom52:"rgb(238, 142, 111)",custom63:"rgb(124, 207, 96)",custom74:"rgb(65, 200, 160)",custom85:"rgb(242, 104, 145)",custom96:"rgb(109, 157, 227)",custom9:"rgb(107, 158, 226)",custom109:"rgb(242, 139, 0)",custom20:"rgb(72, 199, 200)",custom31:"rgb(235, 104, 127)",custom42:"rgb(207, 208, 91)",custom53:"rgb(243, 110, 131)",custom64:"rgb(97, 143, 216)",custom75:"rgb(205, 159, 101)",custom86:"rgb(226, 96, 171)",custom97:"rgb(221, 96, 133)",custom10:"rgb(100, 136, 227)",custom21:"rgb(138, 122, 237)",custom32:"rgb(56, 195, 147)",custom43:"rgb(127, 147, 249)",custom54:"rgb(234, 112, 177)",custom65:"rgb(242, 121, 171)",custom76:"rgb(219, 109, 122)",custom87:"rgb(216, 118, 229)",custom98:"rgb(225, 190, 92)",custom11:"rgb(135, 132, 234)",custom22:"rgb(139, 133, 249)",custom33:"rgb(151, 207, 93)",custom44:"rgb(200, 202, 88)",custom55:"rgb(214, 110, 224)",custom66:"rgb(216, 190, 95)",custom77:"rgb(181, 93, 91)",custom88:"rgb(153, 111, 230)",custom99:"rgb(240, 133, 110)",custom12:"rgb(220, 113, 209)",custom23:"rgb(176, 112, 230)",custom34:"rgb(213, 138, 106)",custom45:"rgb(217, 88, 121)",custom56:"rgb(113, 141, 235)",custom67:"rgb(248, 125, 118)",custom78:"rgb(90, 149, 221)",custom89:"rgb(62, 153, 190)",custom13:"rgb(223, 97, 132)",custom24:"rgb(229, 103, 152)",custom35:"rgb(233, 99, 126)",custom46:"rgb(103, 165, 231)",custom57:"rgb(90, 156, 221)",custom68:"rgb(242, 105, 121)",custom79:"rgb(142, 211, 99)",custom14:"rgb(60, 194, 179)",custom25:"rgb(228, 111, 190)",custom36:"rgb(212, 114, 212)",custom47:"rgb(95, 204, 100)",custom58:"rgb(52, 181, 157)",custom69:"rgb(237, 99, 135)",custom15:"rgb(247, 126, 117)",custom26:"rgb(118, 152, 240)",custom37:"rgb(140, 137, 242)",custom48:"rgb(239, 105, 127)",custom59:"rgb(227, 208, 103)",custom16:"rgb(233, 175, 103)",custom27:"rgb(90, 176, 210)",custom38:"rgb(83, 182, 215)",custom49:"rgb(226, 92, 128)",custom17:"rgb(172, 211, 96)",custom28:"rgb(137, 192, 89)",custom39:"rgb(79, 190, 117)",custom18:"rgb(77, 202, 118)",custom29:"rgb(189, 210, 95)",custom19:"rgb(58, 190, 177)"},action:{new_custom18:"rgb(59, 167, 85)",new_custom29:"rgb(59, 167, 85)",edit_groups:"rgb(6, 165, 154)",new_custom9:"rgb(27, 150, 255)",log_a_call:"rgb(6, 165, 154)",new_custom19:"rgb(6, 165, 154)",filter:"rgb(255, 83, 138)",user_activation:"rgb(16, 124, 173)",opportunity_competitor:"rgb(255, 93, 45)",canvas:"rgb(16, 124, 173)",change_record_type:"rgb(16, 124, 173)",new_notebook:"rgb(255, 93, 45)",docusign:"rgb(27, 150, 255)",share_link:"rgb(88, 103, 232)",add_file:"rgb(88, 103, 232)",edit_relationship:"rgb(6, 165, 154)",notebook:"rgb(255, 93, 45)",new_lead:"rgb(255, 93, 45)",new_custom_object:"rgb(59, 167, 85)",new_account:"rgb(88, 103, 232)",question_post_action:"rgb(59, 167, 85)",share_file:"rgb(147, 147, 147)",default_custom_object:"rgb(16, 124, 173)",opportunity_team_member:"rgb(255, 93, 45)",add_photo_video:"rgb(6, 165, 154)",sort:"rgb(59, 167, 85)",call:"rgb(6, 165, 154)",concur:"rgb(6, 165, 154)",reject:"rgb(6, 165, 154)",share_poll:"rgb(27, 150, 255)",scan_enabled:"rgb(27, 150, 255)",following:"rgb(59, 167, 85)",defer:"rgb(255, 83, 138)",opportunity_line_item:"rgb(255, 93, 45)",social_post:"rgb(255, 83, 138)",share_post:"rgb(27, 150, 255)",view_relationship:"rgb(27, 150, 255)",adjust_value:"rgb(59, 167, 85)",upload:"rgb(16, 124, 173)",remove_relationship:"rgb(255, 83, 138)",freeze_user:"rgb(16, 124, 173)",new_person_account:"rgb(88, 103, 232)",bug:"rgb(255, 83, 138)",apex:"rgb(92, 92, 92)",new_opportunity:"rgb(255, 93, 45)",fallback:"rgb(88, 103, 232)",dial_in:"rgb(88, 103, 232)",approval:"rgb(6, 165, 154)",change_owner:"rgb(16, 124, 173)",new_task:"rgb(59, 167, 85)",priority:"rgb(255, 93, 45)",remove:"rgb(16, 124, 173)",web_link:"rgb(27, 150, 255)",leave_group:"rgb(255, 93, 45)",manage_perm_sets:"rgb(16, 124, 173)",close:"rgb(255, 83, 138)",google_news:"rgb(255, 83, 138)",announcement:"rgb(255, 93, 45)",back:"rgb(6, 165, 154)",new_custom90:"rgb(6, 165, 154)",download:"rgb(16, 124, 173)",new_custom80:"rgb(27, 150, 255)",new_custom91:"rgb(147, 147, 147)",search:"rgb(27, 150, 255)",new_event:"rgb(255, 83, 138)",new_custom70:"rgb(255, 83, 138)",new_custom81:"rgb(255, 83, 138)",new_custom92:"rgb(5, 103, 100)",refresh:"rgb(16, 124, 173)",share_thanks:"rgb(255, 83, 138)",update:"rgb(16, 124, 173)",email:"rgb(16, 124, 173)",join_group:"rgb(88, 103, 232)",new_custom60:"rgb(255, 83, 138)",new_custom71:"rgb(203, 101, 255)",new_custom82:"rgb(255, 83, 138)",new_custom93:"rgb(92, 92, 92)",edit:"rgb(6, 165, 154)",quote:"rgb(59, 167, 85)",dropbox:"rgb(27, 150, 255)",description:"rgb(59, 167, 85)",map:"rgb(27, 150, 255)",user:"rgb(27, 150, 255)",reset_password:"rgb(16, 124, 173)",new_custom50:"rgb(27, 150, 255)",new_custom61:"rgb(255, 83, 138)",new_custom72:"rgb(88, 103, 232)",new_custom83:"rgb(255, 83, 138)",new_custom94:"rgb(6, 165, 154)",clone:"rgb(27, 150, 255)",script:"rgb(16, 124, 173)",delete:"rgb(255, 83, 138)",new_custom40:"rgb(59, 167, 85)",new_custom51:"rgb(255, 93, 45)",new_custom62:"rgb(88, 103, 232)",new_custom73:"rgb(27, 150, 255)",new_custom84:"rgb(255, 83, 138)",new_custom95:"rgb(59, 167, 85)",scan_disabled:"rgb(147, 147, 147)",share:"rgb(16, 124, 173)",new_custom30:"rgb(255, 93, 45)",new_custom41:"rgb(6, 165, 154)",new_custom52:"rgb(255, 83, 138)",new_custom63:"rgb(59, 167, 85)",new_custom74:"rgb(6, 165, 154)",new_custom85:"rgb(255, 83, 138)",new_custom96:"rgb(27, 150, 255)",log_event:"rgb(27, 150, 255)",new_group:"rgb(27, 150, 255)",new_custom20:"rgb(6, 165, 154)",new_custom31:"rgb(255, 83, 138)",new_custom42:"rgb(59, 167, 85)",info:"rgb(16, 124, 173)",new_custom53:"rgb(255, 83, 138)",new_custom64:"rgb(88, 103, 232)",new_custom75:"rgb(147, 147, 147)",new_custom86:"rgb(255, 83, 138)",flow:"rgb(16, 124, 173)",new_custom97:"rgb(255, 83, 138)",submit_for_approval:"rgb(59, 167, 85)",new:"rgb(27, 150, 255)",new_campaign:"rgb(255, 93, 45)",new_custom10:"rgb(88, 103, 232)",new_custom21:"rgb(88, 103, 232)",new_custom32:"rgb(6, 165, 154)",new_custom43:"rgb(88, 103, 232)",new_custom54:"rgb(255, 83, 138)",new_custom65:"rgb(255, 83, 138)",new_custom76:"rgb(255, 83, 138)",new_custom87:"rgb(203, 101, 255)",new_custom98:"rgb(255, 93, 45)",new_case:"rgb(255, 93, 45)",new_custom100:"rgb(255, 83, 138)",new_custom1:"rgb(255, 83, 138)",new_contact:"rgb(144, 80, 233)",office_365:"rgb(255, 93, 45)",new_custom11:"rgb(88, 103, 232)",new_custom22:"rgb(88, 103, 232)",new_custom33:"rgb(59, 167, 85)",new_custom44:"rgb(59, 167, 85)",new_custom55:"rgb(203, 101, 255)",new_custom66:"rgb(255, 93, 45)",new_custom77:"rgb(255, 83, 138)",new_custom88:"rgb(144, 80, 233)",new_custom99:"rgb(255, 83, 138)",add_contact:"rgb(144, 80, 233)",evernote:"rgb(59, 167, 85)",new_custom2:"rgb(59, 167, 85)",lead_convert:"rgb(255, 93, 45)",new_custom12:"rgb(203, 101, 255)",new_custom23:"rgb(203, 101, 255)",new_custom34:"rgb(255, 93, 45)",new_custom45:"rgb(255, 83, 138)",new_custom56:"rgb(88, 103, 232)",new_custom67:"rgb(255, 83, 138)",recall:"rgb(8, 73, 104)",new_custom78:"rgb(27, 150, 255)",new_custom89:"rgb(16, 124, 173)",follow:"rgb(27, 150, 255)",record:"rgb(59, 167, 85)",new_custom3:"rgb(255, 93, 45)",new_note:"rgb(255, 93, 45)",new_custom13:"rgb(255, 83, 138)",new_custom24:"rgb(255, 83, 138)",new_custom35:"rgb(255, 83, 138)",new_custom46:"rgb(27, 150, 255)",new_custom57:"rgb(27, 150, 255)",new_custom68:"rgb(255, 83, 138)",new_custom79:"rgb(59, 167, 85)",new_child_case:"rgb(255, 93, 45)",new_custom4:"rgb(255, 93, 45)",new_custom14:"rgb(6, 165, 154)",new_custom25:"rgb(255, 83, 138)",new_custom36:"rgb(203, 101, 255)",new_custom47:"rgb(59, 167, 85)",new_custom58:"rgb(6, 165, 154)",new_custom69:"rgb(255, 83, 138)",new_custom5:"rgb(59, 167, 85)",goal:"rgb(27, 150, 255)",new_custom15:"rgb(255, 83, 138)",new_custom26:"rgb(88, 103, 232)",new_custom37:"rgb(88, 103, 232)",new_custom48:"rgb(255, 83, 138)",new_custom59:"rgb(255, 93, 45)",new_custom6:"rgb(59, 167, 85)",log_this_event:"rgb(255, 83, 138)",new_custom16:"rgb(255, 93, 45)",new_custom27:"rgb(27, 150, 255)",new_custom38:"rgb(27, 150, 255)",new_custom49:"rgb(255, 83, 138)",new_custom7:"rgb(88, 103, 232)",more:"rgb(27, 150, 255)",add_relationship:"rgb(27, 150, 255)",new_custom17:"rgb(59, 167, 85)",new_custom28:"rgb(59, 167, 85)",new_custom39:"rgb(59, 167, 85)",password_unlock:"rgb(16, 124, 173)",check:"rgb(16, 124, 173)",update_status:"rgb(6, 165, 154)",preview:"rgb(88, 103, 232)",new_custom8:"rgb(6, 165, 154)"}};const g=/^([a-zA-Z]+):([a-zA-Z]\w*)$/,b=/_/g;let o;const s=Object.assign(Object.create(null),{action:"lightning.actionSprite",custom:"lightning.customSprite",doctype:"lightning.doctypeSprite",standard:"lightning.standardSprite",utility:"lightning.utilitySprite"}),c=Object.assign(Object.create(null),{action:"lightning.actionSpriteRtl",custom:"lightning.customSpriteRtl",doctype:"lightning.doctypeSpriteRtl",standard:"lightning.standardSpriteRtl",utility:"lightning.utilitySpriteRtl"}),n=Object.assign(Object.create(null),{"lightning.actionSprite":"/assets/icons/action-sprite/svg/symbols.svg","lightning.actionSpriteRtl":"/assets/icons/action-sprite/svg/symbols.svg","lightning.customSprite":"/assets/icons/custom-sprite/svg/symbols.svg","lightning.customSpriteRtl":"/assets/icons/custom-sprite/svg/symbols.svg","lightning.doctypeSprite":"/assets/icons/doctype-sprite/svg/symbols.svg","lightning.doctypeSpriteRtl":"/assets/icons/doctype-sprite/svg/symbols.svg","lightning.standardSprite":"/assets/icons/standard-sprite/svg/symbols.svg","lightning.standardSpriteRtl":"/assets/icons/standard-sprite/svg/symbols.svg","lightning.utilitySprite":"/assets/icons/utility-sprite/svg/symbols.svg","lightning.utilitySpriteRtl":"/assets/icons/utility-sprite/svg/symbols.svg"}),a=(r,t)=>{const g="rtl"===t?c:s;return e.getToken(g[r])||((r,e)=>n[e[r]])(r,g)},_=r=>e=>{const t=g.exec(e);return t?t[r]:""},i=_(1),u=_(2),m=r=>g.test(r);r.computeSldsClass=r=>{if(m(r)){return`slds-icon-${i(r)}-${u(r).replace(b,"-")}`}return""},r.getCategory=i,r.getIconColor=r=>{if(m(r)){const e=i(r),g=u(r);return t[e]&&t[e][g]||null}return null},r.getIconPath=(r,t="ltr")=>{if(o=void 0!==o?o:e.getPathPrefix(),m(r)){const e=a(i(r),t);if(e)return`${o}${e}#${u(r)}`}return""},r.getName=u,r.isValidName=m,r.polyfill=function(){},Object.defineProperty(r,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveIcon",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/iconUtils","@salesforce/i18n/dir","@salesforce/loader"],function(t,e,i,a,s,n,r,l){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=c(i),u=c(r);var d=[function(){return""}];const h=e.parseFragment`<svg${"c0"} focusable="false"${"a0:data-key"} aria-hidden="true" part="icon"${2}><use${"a1:xlink:href"}${3}/></svg>`;function g(t,i,a,s){const{ncls:n,fid:r,sp:l,st:c}=t;return[c(h,1,[l(0,{className:n(i.computedClass),attrs:{"data-key":i.name}},null),l(1,{attrs:{"xlink:href":e.sanitizeAttribute("use","http://www.w3.org/2000/svg","xlink:href",r(i.href))}},null)])]}var m=e.registerTemplate(g);g.stylesheets=[],g.stylesheetToken="lwc-25f9lgh55ct",g.legacyStylesheetToken="lightning-primitiveIcon_primitiveIcon",d&&g.stylesheets.push.apply(g.stylesheets,d),e.freezeTemplate(g);const f={},p={};function v(t,e){const i=y(t,e);if(f[i])return f[i];const a=async function(t,e){if("rtl"===t)switch(e){case"utility":{const{default:t}=await l.load("lightning/iconSvgTemplatesUtilityRtl");return t}case"action":{const{default:t}=await l.load("lightning/iconSvgTemplatesActionRtl");return t}case"standard":{const{default:t}=await l.load("lightning/iconSvgTemplatesStandardRtl");return t}case"doctype":{const{default:t}=await l.load("lightning/iconSvgTemplatesDoctypeRtl");return t}case"custom":{const{default:t}=await l.load("lightning/iconSvgTemplatesCustomRtl");return t}default:return null}else switch(e){case"utility":{const{default:t}=await l.load("lightning/iconSvgTemplatesUtility");return t}case"action":{const{default:t}=await l.load("lightning/iconSvgTemplatesAction");return t}case"standard":{const{default:t}=await l.load("lightning/iconSvgTemplatesStandard");return t}case"doctype":{const{default:t}=await l.load("lightning/iconSvgTemplatesDoctype");return t}case"custom":{const{default:t}=await l.load("lightning/iconSvgTemplatesCustom");return t}default:return null}}(t,e);return a.then(t=>{p[i]=t,delete f[i]}).catch(()=>{delete f[i]}),f[i]=a,a}function y(t,e){return`${e}${t}`}class _ extends o.default{constructor(...t){super(...t),this.src=void 0,this.svgClass=void 0,this._size="medium",this._variant="",this._iconLibrary=null,this._iconName=null}get size(){return this._size}set size(t){this._size=t,this.setAttribute("size",this.normalizeSize(this._size))}get variant(){return this._variant}set variant(t){this._variant=t,this.setAttribute("variant",this.normalizeVariant(this._variant))}get iconName(){return this._iconName}set iconName(t){t!==this._iconName&&(this._iconName=t,this.requestIconTemplates())}get category(){if(n.isValidName(this._iconName)){const[t]=this._iconName.split(":");return t}return null}get isReady(){return!!this._iconLibrary}async requestIconTemplates(){if(function(t,e){const i=y(t,e);return!!p[i]}(u.default,this.category))this._iconLibrary=function(t,e){const i=y(t,e);return p[i]||null}(u.default,this.category);else if(this.category)try{this._iconLibrary=null,s.isCSR&&(this._iconLibrary=await v(u.default,this.category))}catch(t){console.warn(`<lightning-primitive-icon> failed to dynamically import icon templates for ${this.category}: ${t.message}`)}}renderedCallback(){(this.isReady||this.iconName!==this.prevIconName)&&(this.prevIconName=this.iconName)}render(){if(this.isReady&&!this.src){const t=this.iconName;if(n.isValidName(t)){const[e,i]=t.split(":"),a=this._iconLibrary[`${e}_${i}`];if(a)return a}}return m}get href(){return this.src||""}get name(){return n.getName(this.iconName)}normalizeSize(t){return s.normalizeString(t,{fallbackValue:"medium",validValues:["xx-small","x-small","small","medium","large"]})}normalizeVariant(t){return s.normalizeString(t,{fallbackValue:"",validValues:["bare","error","inverse","warning","success"]})}get computedClass(){const t=a.classSet(this.svgClass);switch("bare"!==this._variant&&t.add("slds-icon"),this._variant){case"error":t.add("slds-icon-text-error");break;case"warning":t.add("slds-icon-text-warning");break;case"success":t.add("slds-icon-text-success");break;case"inverse":case"bare":break;default:this.src||t.add("slds-icon-text-default")}return"medium"!==this._size&&t.add(`slds-icon_${this._size}`),t.toString()}}_.validationOptOut=["class"],_.stylesheets=[d],e.registerDecorators(_,{publicProps:{src:{config:0},svgClass:{config:0},size:{config:3},variant:{config:3},iconName:{config:3}},fields:["_size","_variant","_iconLibrary","_iconName"]});const w=e.registerComponent(_,{tmpl:m,sel:"lightning-primitive-icon",apiVersion:62});t.default=w,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("interop/buttonIcon",["exports","lwc","lightning/primitiveIcon","lightning/utils","lightning/utilsPrivate","lightning/tooltipLibrary","lightning/primitiveButton"],function(t,e,i,a,s,n,l){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=o(i),c=o(l);var d=[function(){return""}];const u=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,p={exportparts:"icon"};function h(t,e,i,a){const{ncls:s,ti:n,b:l,c:o,d:c,sp:d,st:h,h:b}=t,{_m0:m,_m1:v}=a;return[b("button",{className:s(e.computedButtonClass),attrs:{disabled:e.disabled?"":null,name:e.name,title:e.computedTitle,accesskey:e.accessKey,type:e.normalizedType,value:e.value,"aria-label":e.ariaLabel,"aria-expanded":e.computedAriaExpanded,"aria-live":e.computedAriaLive,"aria-atomic":e.computedAriaAtomic,"aria-haspopup":e.computedAriaHasPopup,part:"button button-icon",tabindex:n(e.tabIndex)},key:0,on:{focus:m||(a._m0=l(e.handleFocus)),blur:v||(a._m1=l(e.handleBlur))}},[o("lightning-primitive-icon",r.default,{attrs:p,props:{iconName:e.iconName,svgClass:e.computedIconClass,variant:"bare"},key:1}),e.alternativeText?h(u,3,[d(1,null,c(e.alternativeText))]):null])]}var b=e.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-485vfn4rmof",h.legacyStylesheetToken="interop-buttonIcon_buttonIcon",d&&h.stylesheets.push.apply(h.stylesheets,d),e.freezeTemplate(h);const m="medium",v="border",_="button",g=Symbol("relatedTarget");class f extends c.default{constructor(...t){super(...t),this.name=void 0,this.value=void 0,this.tabIndex=void 0,this._variant=v,this.iconName=void 0,this.iconClass=void 0,this._size=m,this.type=_,this.alternativeText=void 0,this.tooltipType=n.TooltipType.Info,this.disableAlternativeTextTitle=!1,this._tooltip=null,this.tooltipValue=null,this.rendered=!1}get variant(){return this._originalVariant}set variant(t){this._originalVariant=t,this._variant=this.normalizeVariant(t),this.setAttribute("variant",this._variant)}get size(){return this._originalSize}set size(t){this._originalSize=t,this._size=this.normalizeSize(t),this.setAttribute("size",this._size)}get tooltip(){return this._tooltip?this._tooltip.value:void 0}set tooltip(t){this.tooltipValue=t,this._tooltip?this._tooltip.value=t:t&&this.rendered&&this.createTooltip(t)}createTooltip(t){this._tooltip=new n.Tooltip(t,{root:this,target:()=>this.template.querySelector("button"),type:this.tooltipType}),this._tooltip.initialize()}render(){return b}get computedTitle(){return this.title?this.title:this.disableAlternativeTextTitle?null:this.alternativeText}normalizeVariant(t){return s.normalizeString(t,{fallbackValue:v,validValues:["bare","brand","container","border","border-filled","bare-inverse","border-inverse"]})}get normalizedType(){return s.normalizeString(this.type,{fallbackValue:_,validValues:["button","reset","submit"]})}normalizeSize(t){return s.normalizeString(t,{fallbackValue:m,validValues:["xx-small","x-small","small","medium","large"]})}get variantBase(){return this._variant.split("-")[0]}get variantModifier(){return this._variant.split("-")[1]||""}get computedButtonClass(){const t=a.classSet(super.computedButtonClass),e="bare"===this.variantBase;if(t.add("slds-button_icon"),!e)switch(this._size){case"small":t.add("slds-button_icon-small");break;case"x-small":t.add("slds-button_icon-x-small");break;case"xx-small":t.add("slds-button_icon-xx-small");break;case"large":console.warn('<lightning-button-icon> The non-bare variants of buttonIcon do not support a size value of "large". Supported values include "xx-small", "x-small", "small", and "medium". Falling back to size value "medium".')}return t.add({"slds-button_icon-bare":e,"slds-button_icon-container":"container"===this._variant,"slds-button_icon-border":"border"===this._variant,"slds-button_icon-border-filled":"border-filled"===this._variant,"slds-button_icon-border-inverse":"border-inverse"===this._variant,"slds-button_icon-inverse":"bare-inverse"===this._variant,"slds-button_icon-brand":"brand"===this._variant}).toString()}get computedIconClass(){const t="bare"===this.variantBase,e=this.iconClass||"",i=a.classSet("slds-button__icon");if(i.add(e),t)switch(this._size){case"large":i.add("slds-button__icon_large");break;case"small":i.add("slds-button__icon_small");break;case"xx-small":console.warn('<lightning-button-icon> The bare variant of buttonIcon does not support a size value of "xx-small". Supported values include "x-small", "small", "medium", and "large". The default is "medium".');case"x-small":i.add("slds-button__icon_x-small")}return i.toString()}handleFocus(t){t.stopPropagation(),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(t){this.dispatchEvent(new CustomEvent("blur",{detail:{[g]:t.relatedTarget}}))}focus(){this._connected&&this.template.querySelector("button").focus()}click(){this._connected&&this.template.querySelector("button").click()}connectedCallback(){super.connectedCallback(),this._connected=!0}renderedCallback(){super.renderedCallback(),this.tooltipValue&&!this._tooltip&&this.createTooltip(this.tooltipValue),this.template.host.style.pointerEvents=this.disabled?"none":"",this.rendered=!0}disconnectedCallback(){super.disconnectedCallback(),this._connected=!1,this.rendered=!1,this._tooltip&&this._tooltip.disconnect()}}f.delegatesFocus=!0,e.registerDecorators(f,{publicProps:{name:{config:0},value:{config:0},tabIndex:{config:0},variant:{config:3},iconName:{config:0},iconClass:{config:0},size:{config:3},type:{config:0},alternativeText:{config:0},tooltipType:{config:0},disableAlternativeTextTitle:{config:0},tooltip:{config:3}},publicMethods:["focus","click"],fields:["_variant","_size","_tooltip","tooltipValue","rendered"]});const x=e.registerComponent(f,{tmpl:b,sel:"interop-button-icon",apiVersion:62});t.default=x,t.relatedTarget=g,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('lightning/buttonIcon', ['interop/buttonIcon'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.Minimize', ['@view/home/labels'], m => m[0]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.Close', ['@view/home/labels'], m => m[1]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.CloseConversation', ['@view/home/labels'], m => m[2]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.DefaultHeaderText', ['@view/home/labels'], m => m[3]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.HeaderGreetingAnnouncement', ['@view/home/labels'], m => m[4]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.TransferRequestSuccessHeaderAnnouncement', ['@view/home/labels'], m => m[5]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.TransferRequestFailureHeaderAnnouncement', ['@view/home/labels'], m => m[6]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.AgentJoinAnnouncement', ['@view/home/labels'], m => m[7]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.AgentLeaveAnnouncement', ['@view/home/labels'], m => m[8]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.JWTExpiredAnnouncement', ['@view/home/labels'], m => m[9]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.MinimizeButtonAssistiveText', ['@view/home/labels'], m => m[10]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.CloseButtonAssistiveText', ['@view/home/labels'], m => m[11]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.ConfirmationDialogMenuItemAssistiveText', ['@view/home/labels'], m => m[12]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.MenuButtonAssistiveText', ['@view/home/labels'], m => m[13]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.CloseMenuButtonAssistiveText', ['@view/home/labels'], m => m[14]);LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.RequestTranscriptMenuOption', ['@view/home/labels'], m => m[15]);LWR.define('@salesforce/label/EmbeddedMessagingPrechat.PrechatStateSubmitButton', ['@view/home/labels'], m => m[16]);LWR.define('@salesforce/label/EmbeddedMessagingPrechat.InvalidEmailFormFieldError', ['@view/home/labels'], m => m[17]);LWR.define('@salesforce/label/EmbeddedMessagingPrechat.RequiredFormFieldError', ['@view/home/labels'], m => m[18]);LWR.define('@salesforce/label/EmbeddedMessagingPrechat.PrechatChoiceListValueNone', ['@view/home/labels'], m => m[19]);LWR.define('@salesforce/label/EmbeddedMessagingPrechat.PrechatTermsAndConditionsAcknowledgement', ['@view/home/labels'], m => m[20]);LWR.define('@salesforce/label/EmbeddedMessagingPrechat.PrechatSubmitButtonLoading', ['@view/home/labels'], m => m[21]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.StartBookendText', ['@view/home/labels'], m => m[22]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.EndBookendText', ['@view/home/labels'], m => m[23]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ParticipantJoinText', ['@view/home/labels'], m => m[24]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ParticipantLeaveText', ['@view/home/labels'], m => m[25]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.Sent', ['@view/home/labels'], m => m[26]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.Delivered', ['@view/home/labels'], m => m[27]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.Read', ['@view/home/labels'], m => m[28]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ExpiredJWT', ['@view/home/labels'], m => m[29]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChatMessageMetadataAssistiveText', ['@view/home/labels'], m => m[30]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChoicesMenuMessageAssistiveText', ['@view/home/labels'], m => m[31]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChoicesSelectionResponsePlaceholderText', ['@view/home/labels'], m => m[32]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.TransferRequestSuccessSystemMessage', ['@view/home/labels'], m => m[33]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.TransferRequestFailureSystemMessage', ['@view/home/labels'], m => m[34]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.TransferRequestTryAgainSystemMessage', ['@view/home/labels'], m => m[35]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChoicesButtonsMessageAssistiveText', ['@view/home/labels'], m => m[36]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.AgentTypingIndicatorAssistiveText', ['@view/home/labels'], m => m[37]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChatbotTypingIndicatorAssistiveText', ['@view/home/labels'], m => m[38]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.NotSent', ['@view/home/labels'], m => m[39]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.FetchMoreEntriesSpinnerAssistiveText', ['@view/home/labels'], m => m[40]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.SpinnerDefaultAssistiveText', ['@view/home/labels'], m => m[41]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.NotRoutedToAgentRoutingResult', ['@view/home/labels'], m => m[42]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.TitleNotificationSenderDisplayName', ['@view/home/labels'], m => m[43]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.MessageResendButtonText', ['@view/home/labels'], m => m[44]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.EstimatedWaitTimeInMinute', ['@view/home/labels'], m => m[45]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.EstimatedWaitTimeInMinutes', ['@view/home/labels'], m => m[46]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.Yesterday', ['@view/home/labels'], m => m[47]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ReconnectInProgress', ['@view/home/labels'], m => m[48]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ReconnectInProgressAssistiveText', ['@view/home/labels'], m => m[49]);LWR.define('@salesforce/label/EmbeddedMessagingConversationState.UnsupportedMessageTypeText', ['@view/home/labels'], m => m[50]);LWR.define('@salesforce/label/EmbeddedMessagingUnseenMessageNotification.NinePlusUnseenMessageCount', ['@view/home/labels'], m => m[51]);LWR.define('@salesforce/label/EmbeddedMessagingUnseenMessageNotification.ZeroUnseenMessagesAssistiveText', ['@view/home/labels'], m => m[52]);LWR.define('@salesforce/label/EmbeddedMessagingUnseenMessageNotification.UnseenMessagesAssistiveText', ['@view/home/labels'], m => m[53]);LWR.define('@salesforce/label/EmbeddedMessagingUnseenMessageNotification.NinePlusUnseenMessagesAssistiveText', ['@view/home/labels'], m => m[54]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.SelectFileAttachmentButtonTitle', ['@view/home/labels'], m => m[55]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.SelectFileAttachmentButtonAssistiveText', ['@view/home/labels'], m => m[56]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.FileSendingText', ['@view/home/labels'], m => m[57]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.DownloadFileButtonTitle', ['@view/home/labels'], m => m[58]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.DownloadFileButtonAssistiveText', ['@view/home/labels'], m => m[59]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.MaximumNumberOfFilesAllowedErrorText', ['@view/home/labels'], m => m[60]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.UnsupportedFileTypeErrorText', ['@view/home/labels'], m => m[61]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.FileExceededSizeLimitErrorText', ['@view/home/labels'], m => m[62]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.AttachedFilesAssistiveText', ['@view/home/labels'], m => m[63]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.RemoveAttachmentButtonAssistiveText', ['@view/home/labels'], m => m[64]);LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.SendFileAttachmentAssistiveText', ['@view/home/labels'], m => m[65]);LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaPlaceHolder', ['@view/home/labels'], m => m[66]);LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaPlaceholderEndUserOnlyParticipant', ['@view/home/labels'], m => m[67]);LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterSendButton', ['@view/home/labels'], m => m[68]);LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaAssistiveText', ['@view/home/labels'], m => m[69]);LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterSendButtonAssistiveText', ['@view/home/labels'], m => m[70]);LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterEmojiButtonAssistiveText', ['@view/home/labels'], m => m[71]);LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterEmojiKeyboardAssistiveText', ['@view/home/labels'], m => m[72]);LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaAssistiveLabelText', ['@view/home/labels'], m => m[73]);LWR.define('@salesforce/label/EmbeddedMessagingSessionContinuity.BeforeUnloadWarningMessage', ['@view/home/labels'], m => m[74]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedButtonAssistiveText', ['@view/home/labels'], m => m[75]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedNotificationDismissButtonAssistiveText', ['@view/home/labels'], m => m[76]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.NotificationDismissButtonText', ['@view/home/labels'], m => m[77]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.ConversationEndedMinimizedText', ['@view/home/labels'], m => m[78]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.ParticipantJoinedText', ['@view/home/labels'], m => m[79]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.ParticipantLeftText', ['@view/home/labels'], m => m[80]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.NewMessageText', ['@view/home/labels'], m => m[81]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MultipleNewMessagesText', ['@view/home/labels'], m => m[82]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.JwtExpiredText', ['@view/home/labels'], m => m[83]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.TransferInitiatedText', ['@view/home/labels'], m => m[84]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.TransferFailedText', ['@view/home/labels'], m => m[85]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedNotificationAssistiveText', ['@view/home/labels'], m => m[86]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedStateAssistiveText', ['@view/home/labels'], m => m[87]);LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedReconnectInProgress', ['@view/home/labels'], m => m[88]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonInitialStateAssistiveText', ['@view/home/labels'], m => m[89]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonInactiveStateAssistiveText', ['@view/home/labels'], m => m[90]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonPendingStateTitle', ['@view/home/labels'], m => m[91]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonErrorResponseStateTitle', ['@view/home/labels'], m => m[92]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonSuccessResponseStateTitle', ['@view/home/labels'], m => m[93]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.OptionSelectInputSingleSelectInstruction', ['@view/home/labels'], m => m[94]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.OptionSelectInputMultipleSelectInstruction', ['@view/home/labels'], m => m[95]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.DatePickerInputSelectInstruction', ['@view/home/labels'], m => m[96]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.TextInputSelectInstruction', ['@view/home/labels'], m => m[97]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.RequiredInputMissing', ['@view/home/labels'], m => m[98]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.RegexPatternMismatch', ['@view/home/labels'], m => m[99]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.NextButtonLabel', ['@view/home/labels'], m => m[100]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.BackButtonLabel', ['@view/home/labels'], m => m[101]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.SubmitButtonLabel', ['@view/home/labels'], m => m[102]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.ProgressBarAssistiveText', ['@view/home/labels'], m => m[103]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.NextButtonDisabledAssistiveText', ['@view/home/labels'], m => m[104]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.BackButtonDisabledAssistiveText', ['@view/home/labels'], m => m[105]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.SubmitButtonDisabledAssistiveText', ['@view/home/labels'], m => m[106]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationDialogTitleText', ['@view/home/labels'], m => m[107]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationDialogBodyText', ['@view/home/labels'], m => m[108]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationConfirmButtonLabel', ['@view/home/labels'], m => m[109]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationCancelButtonLabel', ['@view/home/labels'], m => m[110]);LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.RequiredSelectInputMissing', ['@view/home/labels'], m => m[111]);LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.MessagingIframeTitle', ['@view/home/labels'], m => m[112]);LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.FilePreviewIframeTitle', ['@view/home/labels'], m => m[113]);LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.FilePreviewIframeCloseButtonTitle', ['@view/home/labels'], m => m[114]);LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadInProgressNotification', ['@view/home/labels'], m => m[115]);LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadSuccessNotification', ['@view/home/labels'], m => m[116]);LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadErrorNotification', ['@view/home/labels'], m => m[117]);LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.CloseNotification', ['@view/home/labels'], m => m[118]);LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatFrameTitle', ['@view/home/labels'], m => m[119]);LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderText', ['@view/home/labels'], m => m[120]);LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderBackButtonTitle', ['@view/home/labels'], m => m[121]);LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderBackButtonAssistiveText', ['@view/home/labels'], m => m[122]);LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogTitleText', ['@view/home/labels'], m => m[123]);LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogBodyText', ['@view/home/labels'], m => m[124]);LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogConfirmButton', ['@view/home/labels'], m => m[125]);LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogCancelButton', ['@view/home/labels'], m => m[126]);LWR.define('@salesforce/label/EmbeddedMessagingCarousels.PreviousCardButtonAssistiveText', ['@view/home/labels'], m => m[127]);LWR.define('@salesforce/label/EmbeddedMessagingCarousels.NextCardButtonAssistiveText', ['@view/home/labels'], m => m[128]);LWR.define('@salesforce/label/EmbeddedMessagingCarousels.CarouselDescriptionAssistiveText', ['@view/home/labels'], m => m[129]);(function() { LWR.define("embeddedMessaging/labelUtils",["exports","@salesforce/label/EmbeddedMessagingChatHeader.Minimize","@salesforce/label/EmbeddedMessagingChatHeader.Close","@salesforce/label/EmbeddedMessagingChatHeader.CloseConversation","@salesforce/label/EmbeddedMessagingChatHeader.DefaultHeaderText","@salesforce/label/EmbeddedMessagingChatHeader.HeaderGreetingAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.TransferRequestSuccessHeaderAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.TransferRequestFailureHeaderAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.AgentJoinAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.AgentLeaveAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.JWTExpiredAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.MinimizeButtonAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.CloseButtonAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.ConfirmationDialogMenuItemAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.MenuButtonAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.CloseMenuButtonAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.RequestTranscriptMenuOption","@salesforce/label/EmbeddedMessagingPrechat.PrechatStateSubmitButton","@salesforce/label/EmbeddedMessagingPrechat.InvalidEmailFormFieldError","@salesforce/label/EmbeddedMessagingPrechat.RequiredFormFieldError","@salesforce/label/EmbeddedMessagingPrechat.PrechatChoiceListValueNone","@salesforce/label/EmbeddedMessagingPrechat.PrechatTermsAndConditionsAcknowledgement","@salesforce/label/EmbeddedMessagingPrechat.PrechatSubmitButtonLoading","@salesforce/label/EmbeddedMessagingConversationState.StartBookendText","@salesforce/label/EmbeddedMessagingConversationState.EndBookendText","@salesforce/label/EmbeddedMessagingConversationState.ParticipantJoinText","@salesforce/label/EmbeddedMessagingConversationState.ParticipantLeaveText","@salesforce/label/EmbeddedMessagingConversationState.Sent","@salesforce/label/EmbeddedMessagingConversationState.Delivered","@salesforce/label/EmbeddedMessagingConversationState.Read","@salesforce/label/EmbeddedMessagingConversationState.ExpiredJWT","@salesforce/label/EmbeddedMessagingConversationState.ChatMessageMetadataAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.ChoicesMenuMessageAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.ChoicesSelectionResponsePlaceholderText","@salesforce/label/EmbeddedMessagingConversationState.TransferRequestSuccessSystemMessage","@salesforce/label/EmbeddedMessagingConversationState.TransferRequestFailureSystemMessage","@salesforce/label/EmbeddedMessagingConversationState.TransferRequestTryAgainSystemMessage","@salesforce/label/EmbeddedMessagingConversationState.ChoicesButtonsMessageAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.AgentTypingIndicatorAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.ChatbotTypingIndicatorAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.NotSent","@salesforce/label/EmbeddedMessagingConversationState.FetchMoreEntriesSpinnerAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.SpinnerDefaultAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.NotRoutedToAgentRoutingResult","@salesforce/label/EmbeddedMessagingConversationState.TitleNotificationSenderDisplayName","@salesforce/label/EmbeddedMessagingConversationState.MessageResendButtonText","@salesforce/label/EmbeddedMessagingConversationState.EstimatedWaitTimeInMinute","@salesforce/label/EmbeddedMessagingConversationState.EstimatedWaitTimeInMinutes","@salesforce/label/EmbeddedMessagingConversationState.Yesterday","@salesforce/label/EmbeddedMessagingConversationState.ReconnectInProgress","@salesforce/label/EmbeddedMessagingConversationState.ReconnectInProgressAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.UnsupportedMessageTypeText","@salesforce/label/EmbeddedMessagingUnseenMessageNotification.NinePlusUnseenMessageCount","@salesforce/label/EmbeddedMessagingUnseenMessageNotification.ZeroUnseenMessagesAssistiveText","@salesforce/label/EmbeddedMessagingUnseenMessageNotification.UnseenMessagesAssistiveText","@salesforce/label/EmbeddedMessagingUnseenMessageNotification.NinePlusUnseenMessagesAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.SelectFileAttachmentButtonTitle","@salesforce/label/EmbeddedMessagingFileAttachments.SelectFileAttachmentButtonAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.FileSendingText","@salesforce/label/EmbeddedMessagingFileAttachments.DownloadFileButtonTitle","@salesforce/label/EmbeddedMessagingFileAttachments.DownloadFileButtonAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.MaximumNumberOfFilesAllowedErrorText","@salesforce/label/EmbeddedMessagingFileAttachments.UnsupportedFileTypeErrorText","@salesforce/label/EmbeddedMessagingFileAttachments.FileExceededSizeLimitErrorText","@salesforce/label/EmbeddedMessagingFileAttachments.AttachedFilesAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.RemoveAttachmentButtonAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.SendFileAttachmentAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaPlaceHolder","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaPlaceholderEndUserOnlyParticipant","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterSendButton","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterSendButtonAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterEmojiButtonAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterEmojiKeyboardAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaAssistiveLabelText","@salesforce/label/EmbeddedMessagingSessionContinuity.BeforeUnloadWarningMessage","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedButtonAssistiveText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedNotificationDismissButtonAssistiveText","@salesforce/label/EmbeddedMessagingMinimizedState.NotificationDismissButtonText","@salesforce/label/EmbeddedMessagingMinimizedState.ConversationEndedMinimizedText","@salesforce/label/EmbeddedMessagingMinimizedState.ParticipantJoinedText","@salesforce/label/EmbeddedMessagingMinimizedState.ParticipantLeftText","@salesforce/label/EmbeddedMessagingMinimizedState.NewMessageText","@salesforce/label/EmbeddedMessagingMinimizedState.MultipleNewMessagesText","@salesforce/label/EmbeddedMessagingMinimizedState.JwtExpiredText","@salesforce/label/EmbeddedMessagingMinimizedState.TransferInitiatedText","@salesforce/label/EmbeddedMessagingMinimizedState.TransferFailedText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedNotificationAssistiveText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedStateAssistiveText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedReconnectInProgress","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonInitialStateAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonInactiveStateAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonPendingStateTitle","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonErrorResponseStateTitle","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonSuccessResponseStateTitle","@salesforce/label/EmbeddedMessagingSecureForm.OptionSelectInputSingleSelectInstruction","@salesforce/label/EmbeddedMessagingSecureForm.OptionSelectInputMultipleSelectInstruction","@salesforce/label/EmbeddedMessagingSecureForm.DatePickerInputSelectInstruction","@salesforce/label/EmbeddedMessagingSecureForm.TextInputSelectInstruction","@salesforce/label/EmbeddedMessagingSecureForm.RequiredInputMissing","@salesforce/label/EmbeddedMessagingSecureForm.RegexPatternMismatch","@salesforce/label/EmbeddedMessagingSecureForm.NextButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.BackButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.SubmitButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.ProgressBarAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.NextButtonDisabledAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.BackButtonDisabledAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.SubmitButtonDisabledAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationDialogTitleText","@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationDialogBodyText","@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationConfirmButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationCancelButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.RequiredSelectInputMissing","@salesforce/label/EmbeddedMessagingIframesAndContents.MessagingIframeTitle","@salesforce/label/EmbeddedMessagingIframesAndContents.FilePreviewIframeTitle","@salesforce/label/EmbeddedMessagingIframesAndContents.FilePreviewIframeCloseButtonTitle","@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadInProgressNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadSuccessNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadErrorNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.CloseNotification","@salesforce/label/EmbeddedMessagingPostchat.PostchatFrameTitle","@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderText","@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderBackButtonTitle","@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderBackButtonAssistiveText","@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogTitleText","@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogBodyText","@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogConfirmButton","@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogCancelButton","@salesforce/label/EmbeddedMessagingCarousels.PreviousCardButtonAssistiveText","@salesforce/label/EmbeddedMessagingCarousels.NextCardButtonAssistiveText","@salesforce/label/EmbeddedMessagingCarousels.CarouselDescriptionAssistiveText","embeddedMessaging/common"],function(e,t,s,a,i,n,d,l,o,r,g,u,c,f,m,b,M,T,E,x,S,A,v,C,F,h,p,B,P,I,N,D,R,y,w,z,H,L,U,q,k,O,J,W,j,$,V,G,K,Y,Z,_,Q,X,ee,te,se,ae,ie,ne,de,le,oe,re,ge,ue,ce,fe,me,be,Me,Te,Ee,xe,Se,Ae,ve,Ce,Fe,he,pe,Be,Pe,Ie,Ne,De,Re,ye,we,ze,He,Le,Ue,qe,ke,Oe,Je,We,je,$e,Ve,Ge,Ke,Ye,Ze,_e,Qe,Xe,et,tt,st,at,it,nt,dt,lt,ot,rt,gt,ut,ct,ft,mt,bt,Mt,Tt,Et,xt,St,At,vt,Ct){function Ft(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var ht=Ft(t),pt=Ft(s),Bt=Ft(a),Pt=Ft(i),It=Ft(n),Nt=Ft(d),Dt=Ft(l),Rt=Ft(o),yt=Ft(r),wt=Ft(g),zt=Ft(u),Ht=Ft(c),Lt=Ft(f),Ut=Ft(m),qt=Ft(b),kt=Ft(M),Ot=Ft(T),Jt=Ft(E),Wt=Ft(x),jt=Ft(S),$t=Ft(A),Vt=Ft(v),Gt=Ft(C),Kt=Ft(F),Yt=Ft(h),Zt=Ft(p),_t=Ft(B),Qt=Ft(P),Xt=Ft(I),es=Ft(N),ts=Ft(D),ss=Ft(R),as=Ft(y),is=Ft(w),ns=Ft(z),ds=Ft(H),ls=Ft(L),os=Ft(U),rs=Ft(q),gs=Ft(k),us=Ft(O),cs=Ft(J),fs=Ft(W),ms=Ft(j),bs=Ft($),Ms=Ft(V),Ts=Ft(G),Es=Ft(K),xs=Ft(Y),Ss=Ft(Z),As=Ft(_),vs=Ft(Q),Cs=Ft(X),Fs=Ft(ee),hs=Ft(te),ps=Ft(se),Bs=Ft(ae),Ps=Ft(ie),Is=Ft(ne),Ns=Ft(de),Ds=Ft(le),Rs=Ft(oe),ys=Ft(re),ws=Ft(ge),zs=Ft(ue),Hs=Ft(ce),Ls=Ft(fe),Us=Ft(me),qs=Ft(be),ks=Ft(Me),Os=Ft(Te),Js=Ft(Ee),Ws=Ft(xe),js=Ft(Se),$s=Ft(Ae),Vs=Ft(ve),Gs=Ft(Ce),Ks=Ft(Fe),Ys=Ft(he),Zs=Ft(pe),_s=Ft(Be),Qs=Ft(Pe),Xs=Ft(Ie),ea=Ft(Ne),ta=Ft(De),sa=Ft(Re),aa=Ft(ye),ia=Ft(we),na=Ft(ze),da=Ft(He),la=Ft(Le),oa=Ft(Ue),ra=Ft(qe),ga=Ft(ke),ua=Ft(Oe),ca=Ft(Je),fa=Ft(We),ma=Ft(je),ba=Ft($e),Ma=Ft(Ve),Ta=Ft(Ge),Ea=Ft(Ke),xa=Ft(Ye),Sa=Ft(Ze),Aa=Ft(_e),va=Ft(Qe),Ca=Ft(Xe),Fa=Ft(et),ha=Ft(tt),pa=Ft(st),Ba=Ft(at),Pa=Ft(it),Ia=Ft(nt),Na=Ft(dt),Da=Ft(lt),Ra=Ft(ot),ya=Ft(rt),wa=Ft(gt),za=Ft(ut),Ha=Ft(ct),La=Ft(ft),Ua=Ft(mt),qa=Ft(bt),ka=Ft(Mt),Oa=Ft(Tt),Ja=Ft(Et),Wa=Ft(xt),ja=Ft(St),$a=Ft(At),Va=Ft(vt);const Ga={EmbeddedMessagingChatHeader:{DefaultHeaderText:Pt.default,Minimize:ht.default,Close:pt.default,CloseConversation:Bt.default,HeaderGreetingAnnouncement:It.default,TransferRequestSuccessHeaderAnnouncement:Nt.default,TransferRequestFailureHeaderAnnouncement:Dt.default,AgentJoinAnnouncement:Rt.default,AgentLeaveAnnouncement:yt.default,JWTExpiredAnnouncement:wt.default,MinimizeButtonAssistiveText:zt.default,CloseButtonAssistiveText:Ht.default,ConfirmationDialogMenuItemAssistiveText:Lt.default,MenuButtonAssistiveText:Ut.default,CloseMenuButtonAssistiveText:qt.default,RequestTranscriptMenuOption:kt.default},EmbeddedMessagingMinimizedState:{MinimizedButtonAssistiveText:Vs.default,MinimizedNotificationDismissButtonAssistiveText:Gs.default,NotificationDismissButtonText:Ks.default,ConversationEndedMinimizedText:Ys.default,ParticipantJoinedText:Zs.default,ParticipantLeftText:_s.default,NewMessageText:Qs.default,MultipleNewMessagesText:Xs.default,JwtExpiredText:ea.default,TransferInitiatedText:ta.default,TransferFailedText:sa.default,MinimizedNotificationAssistiveText:aa.default,MinimizedStateAssistiveText:ia.default,MinimizedReconnectInProgress:na.default},EmbeddedMessagingUnseenMessageNotification:{NinePlusUnseenMessageCount:vs.default,ZeroUnseenMessagesAssistiveText:Cs.default,UnseenMessagesAssistiveText:Fs.default,NinePlusUnseenMessagesAssistiveText:hs.default},EmbeddedMessagingInputFooter:{InputFooterTextAreaPlaceHolder:Ls.default,InputFooterTextAreaPlaceholderEndUserOnlyParticipant:Us.default,InputFooterSendButton:qs.default,InputFooterTextAreaAssistiveText:ks.default,InputFooterSendButtonAssistiveText:Os.default,InputFooterEmojiButtonAssistiveText:Js.default,InputFooterEmojiKeyboardAssistiveText:Ws.default,InputFooterTextAreaAssistiveLabelText:js.default},EmbeddedMessagingSessionContinuity:{BeforeUnloadWarningMessage:$s.default},EmbeddedMessagingConversationState:{StartBookendText:Gt.default,EndBookendText:Kt.default,ChatMessageMetadataAssistiveText:ts.default,ParticipantJoinText:Yt.default,ParticipantLeaveText:Zt.default,ExpiredJWT:es.default,Sent:_t.default,Delivered:Qt.default,Read:Xt.default,ChoicesMenuMessageAssistiveText:ss.default,ChoicesSelectionResponsePlaceholderText:as.default,TransferRequestSuccessSystemMessage:is.default,TransferRequestFailureSystemMessage:ns.default,TransferRequestTryAgainSystemMessage:ds.default,ChoicesButtonsMessageAssistiveText:ls.default,AgentTypingIndicatorAssistiveText:os.default,ChatbotTypingIndicatorAssistiveText:rs.default,NotSent:gs.default,FetchMoreEntriesSpinnerAssistiveText:us.default,SpinnerDefaultAssistiveText:cs.default,NotRoutedToAgentRoutingResult:fs.default,TitleNotificationSenderDisplayName:ms.default,MessageResendButtonText:bs.default,EstimatedWaitTimeInMinute:Ms.default,EstimatedWaitTimeInMinutes:Ts.default,Yesterday:Es.default,ReconnectInProgress:xs.default,ReconnectInProgressAssistiveText:Ss.default,UnsupportedMessageTypeText:As.default},EmbeddedMessagingPrechat:{PrechatStateSubmitButton:Ot.default,InvalidEmailFormFieldError:Jt.default,RequiredFormFieldError:Wt.default,PrechatChoiceListValueNone:jt.default,PrechatTermsAndConditionsAcknowledgement:$t.default,PrechatSubmitButtonLoading:Vt.default},EmbeddedMessagingFileAttachments:{FileSendingText:Ps.default,DownloadFileButtonTitle:Is.default,SelectFileAttachmentButtonTitle:ps.default,RemoveAttachmentButtonAssistiveText:zs.default,DownloadFileButtonAssistiveText:Ns.default,SelectFileAttachmentButtonAssistiveText:Bs.default,AttachedFilesAssistiveText:ws.default,MaximumNumberOfFilesAllowedErrorText:Ds.default,UnsupportedFileTypeErrorText:Rs.default,FileExceededSizeLimitErrorText:ys.default,SendFileAttachmentAssistiveText:Hs.default},EmbeddedMessagingIframesAndContents:{MessagingIframeTitle:Ia.default,FilePreviewIframeTitle:Na.default,FilePreviewIframeCloseButtonTitle:Da.default,DownloadInProgressNotification:Ra.default,DownloadSuccessNotification:ya.default,DownloadErrorNotification:wa.default,CloseNotification:za.default},EmbeddedMessagingPostchat:{PostchatFrameTitle:Ha.default,PostchatHeaderText:La.default,PostchatHeaderBackButtonTitle:Ua.default,PostchatHeaderBackButtonAssistiveText:qa.default,PostchatConfirmationDialogTitleText:ka.default,PostchatConfirmationDialogBodyText:Oa.default,PostchatConfirmationDialogConfirmButton:Ja.default,PostchatConfirmationDialogCancelButton:Wa.default},EmbeddedMessagingSecureForm:{FormButtonInitialStateAssistiveText:da.default,FormButtonInactiveStateAssistiveText:la.default,FormButtonPendingStateTitle:oa.default,FormButtonErrorResponseStateTitle:ra.default,FormButtonSuccessResponseStateTitle:ga.default,OptionSelectInputSingleSelectInstruction:ua.default,OptionSelectInputMultipleSelectInstruction:ca.default,DatePickerInputSelectInstruction:fa.default,TextInputSelectInstruction:ma.default,RequiredInputMissing:ba.default,RegexPatternMismatch:Ma.default,NextButtonLabel:Ta.default,BackButtonLabel:Ea.default,SubmitButtonLabel:xa.default,ProgressBarAssistiveText:Sa.default,NextButtonDisabledAssistiveText:Aa.default,BackButtonDisabledAssistiveText:va.default,SubmitButtonDisabledAssistiveText:Ca.default,CloseConfirmationDialogTitleText:Fa.default,CloseConfirmationDialogBodyText:ha.default,CloseConfirmationConfirmButtonLabel:pa.default,CloseConfirmationCancelButtonLabel:Ba.default,RequiredSelectInputMissing:Pa.default},EmbeddedMessagingCarousels:{PreviousCardButtonAssistiveText:ja.default,NextCardButtonAssistiveText:$a.default,CarouselDescriptionAssistiveText:Va.default}},Ka={},Ya=e=>{try{for(const t of e){if(Ka.hasOwnProperty(t.sectionName)||(Ka[t.sectionName]={}),!t.labelName)throw new Error("Expected a label name");Ka[t.sectionName][t.labelName]=t.labelValue}}catch(e){throw new Error("Error processing Embedded Messaging labels: "+e)}};e.getLabel=(e,t)=>{let s="";if(!e||"string"!=typeof e)throw new Error(`Expected a valid label section name string, instead received ${e}.`);if(!t||"string"!=typeof t)throw new Error(`Expected a valid label name string, instead received ${t}.`);try{s=Ka.hasOwnProperty(e)&&Ka[e].hasOwnProperty(t)?Ka[e][t]:Ga[e][t]}catch(s){Ct.error(`Error getting Embedded Messaging label ${t} from ${e}: ${s}`)}return s},e.setLabelsData=(e,t)=>{Ya(e||[]),Ya(t||[])},Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/labelUtils', ['embeddedMessaging/labelUtils'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/icons",["exports"],function(c){c.defaultIcons={MINIMIZED_CHAT_ICON:"M50 0c27.614 0 50 20.52 50 45.833S77.614 91.667 50 91.667c-8.458 0-16.425-1.925-23.409-5.323-13.33 6.973-21.083 9.839-23.258 8.595-2.064-1.18.114-8.436 6.534-21.767C3.667 65.54 0 56.08 0 45.833 0 20.52 22.386 0 50 0zm4.583 61.667H22.917a2.917 2.917 0 000 5.833h31.666a2.917 2.917 0 000-5.833zm12.5-15.834H22.917a2.917 2.917 0 000 5.834h44.166a2.917 2.917 0 000-5.834zM79.583 30H22.917a2.917 2.917 0 000 5.833h56.666a2.917 2.917 0 000-5.833z",MINIMIZED_FAILURE_NOTIFICATION_ICON:"M48.858093 0C21.7425024 0 .1314694 19.98.1314694 44.649306c0 7.747245 2.2426541 15.086898 5.9124473 21.611034.6116211 1.019313.815517 2.242422.4077585 3.465864L.1314694 87.055857c-.61163209 1.631034 1.01938859 3.057939 2.65040927 2.650347L20.315331 82.978272c1.0194129-.407925 2.2426551-.204129 3.4659306.407592C31.120848 87.463449 39.887739 89.91 49.266018 89.91 75.97395 89.706204 97.78878 69.93 97.78878 45.056898 97.584984 19.98 75.770154 0 48.858093 0ZM48.285 64.935c-2.8305 0-4.995-2.1645-4.995-4.995 0-2.8305 2.1645-4.995 4.995-4.995 2.8305 0 4.995 2.1645 4.995 4.995 0 2.8305-2.1645 4.995-4.995 4.995Zm3.33-13.32c.999 0 1.665-.666 1.665-1.665V28.305c0-.999-.666-1.665-1.665-1.665h-6.66c-.999 0-1.665.666-1.665 1.665V49.95c0 .999.666 1.665 1.665 1.665h6.66Z",MINIMIZED_PARTICIPANT_JOINED_ICON:"M41.5841574 70.896255c0-5.6295 1.8764166-12.093 4.7954166-17.097 3.5445-6.255 7.506-8.757 10.6335-13.344 5.2125-7.7145 6.255-18.765 2.919-27.105-3.336-8.5485-11.259-13.55248666-20.4329166-13.34398657-9.174.20849991-16.68 5.83798657-19.599 14.38648657-3.336 9.3825-1.8765 20.6415 5.6295 27.7305 3.1275 2.919 6.0465 7.506 4.3785 11.8845-1.4595 4.17-6.4635 6.0465-10.008 7.7145-8.1315 3.5445-17.93101251 8.5485-19.59901293 18.1395-1.66799958 7.923 3.75300042 16.0545 12.30151293 16.0545H48.047574c1.668 0 2.7105-2.085 1.668-3.336-5.2125-6.0465-8.1314166-13.761-8.1314166-21.684Zm33.3599166-25.02c-13.761 0-25.02 11.259-25.02 25.02s11.259 25.02 25.02 25.02 25.02-11.259 25.02-25.02-11.259-25.02-25.02-25.02Zm12.7185 27.105c0 1.251-1.0425 2.085-2.2935 2.085h-6.0465v6.255c0 1.251-1.0425 2.085-2.2935 2.085h-4.17c-1.251 0-1.8765-.834-1.8765-2.085v-6.255h-6.4635c-1.251 0-1.8765-.834-1.8765-2.085v-4.17c0-1.251.6255-2.085 1.8765-2.085h6.4635v-6.255c0-1.251.6255-2.085 1.8765-2.085h4.17c1.251 0 2.2935.834 2.2935 2.085v6.255h6.0465c1.251 0 2.2935.834 2.2935 2.085v4.17Z",MINIMIZED_PARTICIPANT_LEFT_ICON:"M44.98602 73.80615c0-5.535 1.845-11.89 4.715-16.81 3.485-6.15 7.38-8.61 10.455-13.12 5.125-7.585 6.15-18.45 2.87-26.65-3.28-8.405-11.07-13.3249877-20.09-13.12-9.019918.205-16.399918 5.74-19.269918 14.145-3.28 9.225-1.845 20.295 5.535 27.265 3.075 2.87 5.945 7.38 4.305 11.685-1.435 4.1-6.355 5.945-9.84 7.585-7.995 3.485-17.63 8.405-19.27 17.835-1.6400123 7.79 3.69 15.785 12.095 15.785H51.34102c1.64 0 2.665-2.05 1.64-3.28-5.125-5.945-7.995-13.53-7.995-21.32Zm15.40534-17.39507c9.56694-9.56694 25.22238-9.56694 34.78973 0 9.56694 9.56735 9.56694 25.22279 0 34.78973-9.56735 9.56735-25.22279 9.56735-34.78973 0-9.56735-9.56694-9.56735-25.22238 0-34.78973Zm3.02211 19.56643c0 1.45181.96801 2.66172 2.41982 2.66172h24.19615c1.45181 0 2.41941-1.20991 2.41941-2.66172v-4.83923c0-1.45181-.9676-2.17751-2.41941-2.17751H65.83329c-1.45181 0-2.41982.7257-2.41982 2.17751v4.83923Z",MINIMIZED_TRANSFER_ICON:"M48.858426 0C21.742569 0 .13154965 19.98.13154965 44.649306c0 7.747245 2.24265377 15.086898 5.91243365 21.611034.6116544 1.019313.815517 2.242422.4077585 3.465864L.13154965 87.055857c-.61163242 1.631034 1.01938826 3.057939 2.65040894 2.650347l17.53347231-6.727932c1.0193796-.407925 2.2426551-.204129 3.4659306.407592C31.1209479 87.463449 39.887739 89.91 49.266018 89.91 75.97395 89.706204 97.78878 69.93 97.78878 45.056898 97.584984 19.98 75.770154 0 48.858426 0Zm26.802837 15.7534641h-3.650346c-.973359 0-1.82484.8517141-1.82484 1.8251064v8.5171077c0 1.0950705-1.216782 1.8251064-1.947051.9733923-5.718609-6.327-13.870449-9.6121782-22.752891-8.7604641-3.1635.2433564-6.205122 1.2167487-9.003654 2.6768205-1.460205.7300359-2.920077 1.58175-4.1368923 2.5551423-.8517141.6083577-.9733923 1.9467513-.2433564 2.7984654l2.5550757 2.5551423c.608391.6083577 1.58175.7300359 2.312019.2433231 1.459872-.973359 3.041622-1.8250731 4.74525-2.555109.729936-.2433564 1.58175-.4867128 2.433231-.7300359 7.665327-1.4601051 14.966019 1.58175 19.102878 6.5703231 1.459872 1.7034948.364968 2.7983988-.851814 2.7983988h-8.517141c-.973359 0-1.946718.851814-1.946718 1.825173v3.650346c0 .973359.973359 1.82484 1.946718 1.82484h22.1445c.851814 0 1.460205-.729936 1.460205-1.58175V17.5785705c0-.9733923-.851814-1.8251064-1.825173-1.8251064ZM62.033904 58.825782c.729936-.729936 1.825173-.729936 2.555109 0l2.433564 2.555109c.729936.608391.729936 1.825173 0 2.555109-1.946718 1.946718-4.258737 3.650346-6.935391 4.988673-2.798532 1.459872-5.840154 2.433564-9.003654 2.676654-8.882442.851814-17.15616-2.433231-22.7530242-8.760231-.7300359-.851814-1.9467846-.121878-1.9467846.973359v8.517141c0 .973359-.8517141 1.82484-1.8250731 1.82484h-3.6502128c-.973359 0-1.8250731-.851481-1.8250731-1.82484V48.970314c0-.851814.7300359-1.58175 1.58175-1.58175H42.809481c.973359 0 1.825173.851481 1.825173 1.825173v3.650013c0 .973359-.851814 1.825173-1.825173 1.825173H34.29234c-1.2165822 0-2.3116527 1.094904-.851481 2.798532 4.136859 4.98834 11.437218 8.030295 19.102545 6.57009.851814-.24309 1.703628-.486513 2.433564-.729936 2.676654-.973359 5.110218-2.555109 7.056936-4.501827Z",MINIMIZED_NEW_MESSAGES_ICON:"M48.41793 0C21.546624 0 .13028532 19.8.13028532 44.24706c0 7.67745 2.22244968 14.95098 5.85918168 21.41634.606111 1.01013.80817 2.22222.404085 3.43464L.13028532 86.27157c-.60612222 1.61634 1.01020458 3.03039 2.62653138 2.62647L20.13231 82.23072c1.010229-.40425 2.222451-.20229 3.434706.40392C30.84048 86.67549 39.52839 89.1 48.82218 89.1 75.2895 88.89804 96.9078 69.3 96.9078 44.65098 96.70584 19.8 75.08754 0 48.41793 0Z",MINIMIZED_RECONNECT_IN_PROGRESS_ICON:"M30.77 52.883v-5.77c0-1.538-1.347-2.885-2.885-2.885H6.73c-1.539 0-2.885 1.347-2.885 2.885v5.77c0 1.538 1.346 2.885 2.885 2.885h21.154c1.538 0 2.884-1.347 2.884-2.885Zm3.653 8.655c-1.154-1.154-2.884-1.154-4.038 0l-15 15c-1.154 1.154-1.154 2.885 0 4.04l4.038 4.038c1.154 1.154 2.885 1.154 4.039 0l15-15.001c1.154-1.154 1.154-2.885 0-4.038l-4.039-4.04Zm31.154-23.079c1.154 1.154 2.884 1.154 4.038 0l15-15c1.154-1.154 1.154-2.885 0-4.039l-4.038-4.038c-1.154-1.154-2.885-1.154-4.039 0l-15 14.808c-1.154 1.154-1.154 2.885 0 4.038l4.039 4.231ZM23.462 15.382c-1.154-1.154-2.885-1.154-4.039 0l-4.038 4.038c-1.154 1.154-1.154 2.885 0 4.039l15 15c1.154 1.154 2.884 1.154 4.038 0l4.039-4.038c1.154-1.154 1.154-2.885 0-4.039l-15-15Zm46.346 46.156c-1.154-1.154-2.885-1.154-4.039 0l-4.23 4.039c-1.155 1.153-1.155 2.884 0 4.038l15 15c1.153 1.155 2.884 1.155 4.038 0l4.038-4.038c1.154-1.154 1.154-2.885 0-4.039l-14.807-15ZM52.885 69.23h-5.77c-1.538 0-2.884 1.346-2.884 2.884V93.27c0 1.538 1.346 2.885 2.884 2.885h5.77c1.538 0 2.884-1.346 2.884-2.885V72.114c0-1.538-1.346-2.884-2.884-2.884Zm40.383-25.002H72.114c-1.538 0-2.884 1.347-2.884 2.885v5.77c0 1.538 1.346 2.885 2.884 2.885h21.154c1.539 0 2.885-1.347 2.885-2.885v-5.77c0-1.538-1.346-2.885-2.885-2.885ZM52.885 3.846h-5.77c-1.538 0-2.884 1.346-2.884 2.885v21.155c0 1.538 1.346 2.884 2.884 2.884h5.77c1.538 0 2.884-1.346 2.884-2.884V6.73c0-1.539-1.346-2.885-2.884-2.885Z",PAPER_CLIP_ICON:"M33.846 70.577c1.154 1.154 2.885.961 4.039 0l19.23-19.23c1.347-1.347 3.654-1.54 5.385 0 1.73 1.538 1.538 4.23 0 5.768l-23.654 23.27c-5.192 5.192-13.846 5.192-19.038 0l-.193-.193c-5.192-5.192-5.192-13.846 0-19.038l41.731-41.73c5.192-5.193 13.846-5.193 19.039 0l.192.191c5.192 5.193 5.192 13.847 0 19.039l-.192.192c-.962.962-1.154 2.308-.385 3.462 1.154 2.115 2.115 4.423 2.692 6.73.385 1.539 2.116 1.924 3.27.962 1.538-1.538 2.884-3.077 2.884-3.077 9.808-9.808 9.808-25.77 0-35.577h-.384c-9.808-9.808-25.77-9.808-35.577 0L11.154 52.885c-9.808 9.807-9.808 25.769 0 35.577l.384.384a24.955 24.955 0 0035.385 0L70.77 65.192c6.154-6.154 5.962-16.154-.384-22.307-6.154-5.962-16.154-5.577-22.116.577L29.423 62.308c-1.154 1.154-1.154 3.077 0 4.23l4.423 4.039z",CANCEL_ATTACHMENT_ICON:"M59.615 48.846l25-25.192c1.154-1.154 1.154-2.885 0-4.039l-3.846-4.038c-1.154-1.154-2.884-1.154-4.038 0L51.538 40.769c-.769.77-1.923.77-2.692 0L23.654 15.385c-1.154-1.154-2.885-1.154-4.039 0l-4.038 4.038c-1.154 1.154-1.154 2.885 0 4.039l25.192 25.192c.77.77.77 1.923 0 2.692L15.385 76.731c-1.154 1.154-1.154 2.884 0 4.038l4.038 4.039c1.154 1.154 2.885 1.154 4.039 0l25.192-25.193c.77-.769 1.923-.769 2.692 0l25.192 25.193c1.154 1.154 2.885 1.154 4.039 0l4.038-4.039c1.154-1.154 1.154-2.884 0-4.038l-25-25.193c-.769-.769-.769-1.923 0-2.692z",ATTACHMENT_ICON:{FILE_ICON:"M14.167 0C10 0 6.25 3.333 6.25 7.917v84.166C6.25 96.25 10 100 14.167 100h71.666c4.167 0 7.917-3.75 7.917-7.917V31.667L64.167 0h-50z",FILE_ICON_FOLD:"M64.167 0v22.917c0 2.5 1.666 8.75 9.583 8.75h20L64.167 0z",FILE_ICON_PAPER_CLIP:"M47.917 65c1.666-2.083 1.666-5 0-6.667s-4.584-1.666-6.667 0L27.083 72.5c-1.666 2.083-1.666 5 0 6.667s4.584 1.666 6.25 0l8.75-8.75c.834-.417.834-1.25 0-2.084s-1.25-.416-1.666 0L35 74.167c-.833.833-2.083.833-2.917 0-.833-.834-.833-2.084 0-2.917l5.417-5.417c2.083-2.083 5.417-2.083 7.5 0s2.083 5.417 0 7.084l-8.75 9.166C32.917 85 27.5 85 24.167 82.083c-3.334-3.333-3.334-8.75 0-12.083L38.75 55.417c3.333-3.334 8.333-3.334 11.667 0 3.333 3.333 3.333 8.75 0 12.083l-1.25 1.667c0-1.667-.417-2.917-1.667-4.167l.417-.417z"},ATTACHMENT_ERROR_ICON:"M98.846 81.73L54.808 10.578c-2.308-3.846-7.308-3.846-9.616 0L1.154 81.73c-2.692 4.423 0 10.577 4.808 10.577h88.076c4.808 0 7.693-6.154 4.808-10.577zM50 76.924c-3.27 0-5.77-2.5-5.77-5.77s2.5-5.768 5.77-5.768 5.77 2.5 5.77 5.769-2.5 5.77-5.77 5.77zm5.77-17.308c0 1.154-.77 1.923-1.924 1.923h-7.692c-1.154 0-1.923-.769-1.923-1.923v-25c0-1.153.769-1.923 1.923-1.923h7.692c1.154 0 1.923.77 1.923 1.923v25z"},Object.defineProperty(c,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/icons', ['embeddedMessaging/icons'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/fileAttachmentFooter",["exports","lwc","lightning/buttonIcon","embeddedMessaging/icons","embeddedMessaging/common","embeddedMessaging/labelUtils","embeddedMessaging/constants"],function(t,e,l,n,i,a,s){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=o(l);var r=[function(t,e,l){var n=t?"["+t+"]":"";return(e?":host {":(t?"["+t+"-host]":"")+" {")+"display: inline-flex;}.fileAttachmentButton"+n+" {height: 40px;width: 25px;padding: 0 0 0.25rem;margin: 0;border: 0;background: transparent;pointer-events: all;cursor: pointer;}.fileAttachmentButton"+n+" {bottom: 0.25rem;}.paperClipIconSvg"+n+" {transform: scale(1.5);fill: var(--secondaryColor, #005290);}"}];const d=e.parseFragment`<div class="slds-file-selector slds-file-selector_files${0}"${2}><input type="file" class="fileAttachmentButtonInput slds-file-selector__input slds-assistive-text${0}"${"a1:id"}${"a1:accept"} multiple${2}><label class="slds-file-selector__body fileAttachmentButtonLabel${0}"${"a2:for"}${2}><span class="fileAttachmentButton slds-file-selector__button slds-button slds-button_neutral${0}"${"a3:title"}${2}><svg aria-hidden="true" viewBox="0 0 100 100" class="slds-button__icon paperClipIconSvg${0}"${2}><path${"a5:d"}${3}/></svg><span class="slds-assistive-text${0}"${2}>${"t7"}</span></span></label></div>`,p={classMap:{"slds-form-element__control":!0},key:0},h={fileAttachmentButton:!0};function m(t,e,l,n){const{b:i,gid:a,d:s,sp:o,st:r,c:m,h:u}=t,{_m0:g}=n;return[e.attachedFile?null:u("div",p,[e.isDisabled?null:r(d,2,[o(1,{on:{change:g||(n._m0=i(e.handleFileSelection))},attrs:{id:a("fileAttachmentButtonInput"),accept:e.allowedFileTypes}},null),o(2,{attrs:{for:a("fileAttachmentButtonInput")}},null),o(3,{attrs:{title:e.labels.AttachmentButtonTitle}},null),o(5,{attrs:{d:e.paperClipIcon}},null),o(7,null,s(e.labels.AttachmentButtonTitle))]),e.isDisabled?m("lightning-button-icon",c.default,{classMap:h,props:{type:"button",alternativeText:e.labels.AttachmentButtonTitlecx,iconName:"utility:attach",size:"large",variant:"bare",disabled:!0},key:3}):null])]}var u=e.registerTemplate(m);let g;m.stylesheets=[],m.stylesheetToken="lwc-5son0s0achq",m.legacyStylesheetToken="embeddedMessaging-fileAttachmentFooter_fileAttachmentFooter",r&&m.stylesheets.push.apply(m.stylesheets,r),e.freezeTemplate(m);const f=()=>"image/png, image/jpeg, image/jpg, image/bmp, image/gif, image/tiff, application/pdf",A=5242880;class b extends e.LightningElement{constructor(...t){super(...t),this.configuration=void 0,this.attachedFile=void 0,this.labels={},this.paperClipIcon=n.defaultIcons.PAPER_CLIP_ICON,this.validAttachments=void 0,this.invalidAttachments=void 0,this.isDisabled=void 0}connectedCallback(){this.handleLabels()}handleLabels(){this.labels.AttachmentButtonTitle=a.getLabel("EmbeddedMessagingFileAttachments","SelectFileAttachmentButtonTitle"),this.labels.AttachmentButtonAssistiveText=a.getLabel("EmbeddedMessagingFileAttachments","SelectFileAttachmentButtonAssistiveText")}handleFileSelection(t){const e=this.configuration.attachments.maxFileSize||A,l=[...i.util.unwrapProxy(this.validAttachments)],n=[...i.util.unwrapProxy(this.invalidAttachments)];let a;if(t&&(t.preventDefault(),t.target&&t.target.files)){if(a=[...t.target.files],this.getFileAttachmentInput().value=null,a&&a.length)for(let t=0;t<a.length;t++)this.allowedFileTypes.includes(a[t].type)&&a[t].size<=e&&!(l.length>=5)?!l.filter(e=>e.name===a[t].name).length>0&&l.push(a[t]):!n.filter(e=>e.name===a[t].name).length>0&&n.push(a[t]);this.dispatchEvent(new CustomEvent("fileattachmentselected",{detail:{...l.length>0&&{validAttachments:l},...n.length>0&&{invalidAttachments:n}}}))}}getAttachmentButton(){return this.template&&this.template.querySelector(".fileAttachmentButtonLabel > .fileAttachmentButton")?this.template.querySelector(".fileAttachmentButtonLabel > .fileAttachmentButton"):void 0}getFileAttachmentInput(){return this.template&&this.template.querySelector(".fileAttachmentButtonInput")?this.template.querySelector(".fileAttachmentButtonInput"):void 0}get allowedFileTypes(){return"image/png, image/jpeg, image/jpg, image/bmp, image/gif, image/tiff, application/pdf"}}e.registerDecorators(b,{publicProps:{configuration:{config:0},attachedFile:{config:0},validAttachments:{config:0},invalidAttachments:{config:0},isDisabled:{config:0}},track:{labels:1},fields:["paperClipIcon"]});const v=e.registerComponent(b,{tmpl:u,sel:"embeddedMessaging-file-attachment-footer",apiVersion:62});t.MAX_FILE_UPLOAD_SIZE=A,t.MAX_NUMBER_ATTACHMENTS_ALLOWED=5,t.allowEndUserFileAttachments=t=>t&&t.attachments&&t.attachments.endUserToAgent&&!t.attachments.endUserToAgentOnRequest,t.allowedFileTypes=f,t.default=v,t.getImageCompressionOptions=()=>g,t.getSizeinMegaByte=t=>{if(t)return(t/1048576).toFixed(0)},t.getSupportedFileType=t=>{let e;try{if(t){if(e=t.split("/"),Object.prototype.hasOwnProperty.call(s.FILE_ATTACHMENT_ICON_TYPES,e[0]))return s.FILE_ATTACHMENT_ICON_TYPES[e[0]];if(Object.prototype.hasOwnProperty.call(s.FILE_ATTACHMENT_ICON_TYPES,e[1]))return s.FILE_ATTACHMENT_ICON_TYPES[e[1]]}}catch(t){i.error(`Something went wrong while looking up the supported file type: ${t}`)}},t.setImageCompressionOptions=t=>{g=Object.assign({},t)},Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/fileAttachmentFooter', ['embeddedMessaging/fileAttachmentFooter'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/inAppService",["exports","lwc","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/globalEventStore","embeddedMessaging/fileAttachmentFooter","embeddedMessaging/webStorageUtils"],function(e,t,r,n,i,o,a){const s=t.registerComponent(class{constructor(e,t,n,i){this.endpoint=e,this.apiPrefix=t,this.apiVersion=n,this.authMode=Object.values(r.AUTH_MODE).includes(i)?i:null}setEndpoint(e){try{this.validateString(e),this.endpoint=e}catch(e){throw new Error(e)}}getEndpoint(){return this.endpoint}setApiPrefix(e){try{this.validateString(e),this.apiPrefix=e}catch(e){throw new Error(e)}}getApiPrefix(){return this.apiPrefix}setApiVersion(e){try{this.validateString(e),this.apiVersion=e}catch(e){throw new Error(e)}}getApiVersion(){return this.apiVersion}setJwt(e){try{this.validateString(e),this.jwt=e}catch(e){throw new Error(e)}}getJwt(){return this.jwt}clearJwt(){this.jwt=void 0}setAuthMode(e){try{n.authUtil.validateAuthMode(e),this.authMode=e}catch(e){throw new Error(e)}}getAuthMode(){return this.authMode}getFullApiPath(e){return[this.endpoint,this.apiPrefix,this.apiVersion,e].filter(e=>"string"==typeof e).join("/")}validateString(e){if("string"!=typeof e)throw new Error(`Expected string type, but received: ${e}.`);if(e.trim().length<1)throw new Error(`Expected a string of length greater than 0, but received: ${e}.`)}},{tmpl:void 0,sel:"embeddedMessaging-in-app-service",apiVersion:62}),c="EmbeddedMessaging-EventSourceService";let l,u;const d=()=>u,h=(e,t)=>{if("object"!=typeof l)throw new Error(`Expected EventSource object to be a valid object, but received: ${l}`);if("string"!=typeof e||!e.length)throw new Error(`Expected a valid string to either add or remove event listeners, but received: ${e}`);Object.entries(t).forEach(t=>{const[r,n]=t;if("string"!=typeof r)throw new Error(`Expected event listener name parameter to be a valid string, but received: ${r}.`);if(r.trim().length<1)throw new Error(`Expected event listener name parameter to be a string with length greater than 0, but received: ${r}.`);if("function"!=typeof n)throw new Error(`Expected event listener handler parameter to be a function, but received: ${n}.`);l[e](r,n)})},g=(t,o)=>{let s,u=0,g=1;if("string"!=typeof t||!t.length)throw new Error(`Expected full API path parameter to be a valid string, but received: ${t}.`);if("object"!=typeof o)throw new Error(`Expected event listener map parameter to be a valid object map, but received: ${o}.`);const p=(f,v)=>{const m=()=>{clearTimeout(s),s=null,i.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED_EVENT,{})};try{l=new window.EventSourcePolyfill(t,{headers:{Authorization:"Bearer "+e.inAppService.getJwt(),"X-Org-ID":Te(),"Last-Event-ID":d()},heartbeatTimeout:9e4}),l.onopen=()=>{u=0,g=1,h("addEventListener",o),m(),f()},l.onerror=e=>{try{n.LoggingUtil.logError(e,c,{method:"resolveEventSource",stateMessage:"Error in event source"})}catch(e){n.log(`Something went wrong in logging the event source error with O11y - attempt ${u}.`)}const t=(e=>e&&e.data&&e.data.includes("RegistryValueReplacedException")&&e.data.includes("A newer value has arrived, so this one is disposed"))(e);if(s||t||(s=setTimeout(()=>i.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED_EVENT,{}),2500)),h("removeEventListener",o),l.close(),e&&"number"==typeof e.status)v(e);else if(t)v(e.data);else if(u<10){u++,setTimeout(()=>p(f,v),1e3*g),g=Math.min(2*g,60);try{n.LoggingUtil.logCurrentState(c,{method:"resolveEventSource",stateMessage:`Attempting to reconnect to the event source - attempt ${u}.`})}catch(e){n.log(`Something went wrong in logging the event source reconnect attempts with O11y - attempt ${u}.`)}}else a.clearWebStorage(),m(),setTimeout(()=>i.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_TOO_MANY_RETRIES_EVENT,{detail:{error:r.SSE_TOO_MANY_RETRIES}}),1350),v(r.SSE_TOO_MANY_RETRIES)}}catch(e){v(e)}};return new Promise(p)};function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function m(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(this,arguments)}function y(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var w,b={exports:{}};w=b,"undefined"!=typeof window&&function(e){var t=e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype,r=e.Blob&&function(){try{return Boolean(new Blob)}catch(e){return!1}}(),n=r&&e.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(e){return!1}}(),i=e.BlobBuilder||e.WebKitBlobBuilder||e.MozBlobBuilder||e.MSBlobBuilder,o=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,a=(r||i)&&e.atob&&e.ArrayBuffer&&e.Uint8Array&&function(e){var t,a,s,c,l,u,d,h,g;if(!(t=e.match(o)))throw new Error("invalid data URI");for(a=t[2]?t[1]:"text/plain"+(t[3]||";charset=US-ASCII"),s=!!t[4],c=e.slice(t[0].length),l=s?atob(c):decodeURIComponent(c),u=new ArrayBuffer(l.length),d=new Uint8Array(u),h=0;h<l.length;h+=1)d[h]=l.charCodeAt(h);return r?new Blob([n?d:u],{type:a}):((g=new i).append(u),g.getBlob(a))};e.HTMLCanvasElement&&!t.toBlob&&(t.mozGetAsFile?t.toBlob=function(e,r,n){var i=this;setTimeout(function(){n&&t.toDataURL&&a?e(a(i.toDataURL(r,n))):e(i.mozGetAsFile("blob",r))})}:t.toDataURL&&a&&(t.msToBlob?t.toBlob=function(e,r,n){var i=this;setTimeout(function(){(r&&"image/png"!==r||n)&&t.toDataURL&&a?e(a(i.toDataURL(r,n))):e(i.msToBlob(r))})}:t.toBlob=function(e,t,r){var n=this;setTimeout(function(){e(a(n.toDataURL(t,r)))})})),w.exports?w.exports=a:e.dataURLtoBlob=a}(window);var A=b.exports,S={strict:!0,checkOrientation:!0,retainExif:!1,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,resize:"none",quality:.8,mimeType:"auto",convertTypes:["image/png"],convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},T="undefined"!=typeof window&&void 0!==window.document?window:{},M=function(e){return e>0&&e<1/0},O=Array.prototype.slice;function R(e){return Array.from?Array.from(e):O.call(e)}var D=/^image\/.+$/;function U(e){return D.test(e)}var P=String.fromCharCode;var j=T.btoa;function I(e,t){for(var r=[],n=new Uint8Array(e);n.length>0;)r.push(P.apply(null,R(n.subarray(0,8192)))),n=n.subarray(8192);return"data:".concat(t,";base64,").concat(j(r.join("")))}function _(e){var t,r=new DataView(e);try{var n,i,o;if(255===r.getUint8(0)&&216===r.getUint8(1))for(var a=r.byteLength,s=2;s+1<a;){if(255===r.getUint8(s)&&225===r.getUint8(s+1)){i=s;break}s+=1}if(i){var c=i+10;if("Exif"===function(e,t,r){var n,i="";for(r+=t,n=t;n<r;n+=1)i+=P(e.getUint8(n));return i}(r,i+4,4)){var l=r.getUint16(c);if(((n=18761===l)||19789===l)&&42===r.getUint16(c+2,n)){var u=r.getUint32(c+4,n);u>=8&&(o=c+u)}}}if(o){var d,h,g=r.getUint16(o,n);for(h=0;h<g;h+=1)if(d=o+12*h+2,274===r.getUint16(d,n)){d+=8,t=r.getUint16(d,n),r.setUint16(d,1,n);break}}}catch(e){t=1}return t}var N=/\.\d*(?:0|9){12}\d*$/;function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return N.test(e)?Math.round(e*t)/t:e}function x(e){var t=e.aspectRatio,r=e.height,n=e.width,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",o=M(n),a=M(r);if(o&&a){var s=r*t;("contain"===i||"none"===i)&&s>n||"cover"===i&&s<n?r=n/t:n=r*t}else o?r=n/t:a&&(n=r*t);return{width:n,height:r}}var F=T.ArrayBuffer,B=T.FileReader,k=T.URL||T.webkitURL,L=/\.\w+$/,$=T.Compressor,J=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.file=t,this.exif=[],this.image=new Image,this.options=f(f({},S),r),this.aborted=!1,this.result=null,this.init()}var t,r,n;return t=e,n=[{key:"noConflict",value:function(){return window.Compressor=$,e}},{key:"setDefaults",value:function(e){E(S,e)}}],(r=[{key:"init",value:function(){var e=this,t=this.file,r=this.options;if(n=t,"undefined"!=typeof Blob&&(n instanceof Blob||"[object Blob]"===Object.prototype.toString.call(n))){var n,i=t.type;if(U(i))if(k&&B){F||(r.checkOrientation=!1,r.retainExif=!1);var o="image/jpeg"===i,a=o&&r.checkOrientation,s=o&&r.retainExif;if(!k||a||s){var c=new B;this.reader=c,c.onload=function(r){var n=r.target.result,o={},c=1;a&&(c=_(n))>1&&E(o,function(e){var t=0,r=1,n=1;switch(e){case 2:r=-1;break;case 3:t=-180;break;case 4:n=-1;break;case 5:t=90,n=-1;break;case 6:t=90;break;case 7:t=90,r=-1;break;case 8:t=-90}return{rotate:t,scaleX:r,scaleY:n}}(c)),s&&(e.exif=function(e){for(var t=R(new Uint8Array(e)),r=t.length,n=[],i=0;i+3<r;){var o=t[i],a=t[i+1];if(255===o&&218===a)break;if(255===o&&216===a)i+=2;else{var s=i+(256*t[i+2]+t[i+3])+2,c=t.slice(i,s);n.push(c),i=s}}return n.reduce(function(e,t){return 255===t[0]&&225===t[1]?e.concat(t):e},[])}(n)),o.url=a||s?!k||c>1?I(n,i):k.createObjectURL(t):n,e.load(o)},c.onabort=function(){e.fail(new Error("Aborted to read the image with FileReader."))},c.onerror=function(){e.fail(new Error("Failed to read the image with FileReader."))},c.onloadend=function(){e.reader=null},a||s?c.readAsArrayBuffer(t):c.readAsDataURL(t)}else this.load({url:k.createObjectURL(t)})}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(e){var t=this,r=this.file,n=this.image;n.onload=function(){t.draw(f(f({},e),{},{naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight}))},n.onabort=function(){t.fail(new Error("Aborted to load the image."))},n.onerror=function(){t.fail(new Error("Failed to load the image."))},T.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(T.navigator.userAgent)&&(n.crossOrigin="anonymous"),n.alt=r.name,n.src=e.url}},{key:"draw",value:function(e){var t=this,r=e.naturalWidth,n=e.naturalHeight,i=e.rotate,o=void 0===i?0:i,a=e.scaleX,s=void 0===a?1:a,c=e.scaleY,l=void 0===c?1:c,u=this.file,d=this.image,h=this.options,g=document.createElement("canvas"),p=g.getContext("2d"),f=Math.abs(o)%180==90,v=("contain"===h.resize||"cover"===h.resize)&&M(h.width)&&M(h.height),m=Math.max(h.maxWidth,0)||1/0,E=Math.max(h.maxHeight,0)||1/0,y=Math.max(h.minWidth,0)||0,w=Math.max(h.minHeight,0)||0,b=r/n,S=h.width,T=h.height;if(f){var O=[E,m];m=O[0],E=O[1];var D=[w,y];y=D[0],w=D[1];var P=[T,S];S=P[0],T=P[1]}v&&(b=S/T);var j=x({aspectRatio:b,width:m,height:E},"contain");m=j.width,E=j.height;var _=x({aspectRatio:b,width:y,height:w},"cover");if(y=_.width,w=_.height,v){var N=x({aspectRatio:b,width:S,height:T},h.resize);S=N.width,T=N.height}else{var F=x({aspectRatio:b,width:S,height:T}),k=F.width;S=void 0===k?r:k;var L=F.height;T=void 0===L?n:L}var $=-(S=Math.floor(C(Math.min(Math.max(S,y),m))))/2,J=-(T=Math.floor(C(Math.min(Math.max(T,w),E))))/2,H=S,q=T,G=[];if(v){var W,z,V,X,Y=x({aspectRatio:b,width:r,height:n},{contain:"cover",cover:"contain"}[h.resize]);V=Y.width,X=Y.height,W=(r-V)/2,z=(n-X)/2,G.push(W,z,V,X)}if(G.push($,J,H,q),f){var K=[T,S];S=K[0],T=K[1]}g.width=S,g.height=T,U(h.mimeType)||(h.mimeType=u.type);var Q="transparent";u.size>h.convertSize&&h.convertTypes.indexOf(h.mimeType)>=0&&(h.mimeType="image/jpeg");var Z="image/jpeg"===h.mimeType;if(Z&&(Q="#fff"),p.fillStyle=Q,p.fillRect(0,0,S,T),h.beforeDraw&&h.beforeDraw.call(this,p,g),!this.aborted&&(p.save(),p.translate(S/2,T/2),p.rotate(o*Math.PI/180),p.scale(s,l),p.drawImage.apply(p,[d].concat(G)),p.restore(),h.drew&&h.drew.call(this,p,g),!this.aborted)){var ee=function(e){if(!t.aborted){var i=function(e){return t.done({naturalWidth:r,naturalHeight:n,result:e})};if(e&&Z&&h.retainExif&&t.exif&&t.exif.length>0){var o=function(e){return i(A(I(function(e,t){var r=R(new Uint8Array(e));if(255!==r[2]||224!==r[3])return e;var n=256*r[4]+r[5],i=[255,216].concat(t,r.slice(4+n));return new Uint8Array(i)}(e,t.exif),h.mimeType)))};if(e.arrayBuffer)e.arrayBuffer().then(o).catch(function(){t.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))});else{var a=new B;t.reader=a,a.onload=function(e){var t=e.target;o(t.result)},a.onabort=function(){t.fail(new Error("Aborted to read the compressed image with FileReader."))},a.onerror=function(){t.fail(new Error("Failed to read the compressed image with FileReader."))},a.onloadend=function(){t.reader=null},a.readAsArrayBuffer(e)}}else i(e)}};g.toBlob?g.toBlob(ee,h.mimeType,h.quality):ee(A(g.toDataURL(h.mimeType,h.quality)))}}},{key:"done",value:function(e){var t,r,n=e.naturalWidth,i=e.naturalHeight,o=e.result,a=this.file,s=this.image,c=this.options;if(k&&0===s.src.indexOf("blob:")&&k.revokeObjectURL(s.src),o)if(c.strict&&!c.retainExif&&o.size>a.size&&c.mimeType===a.type&&!(c.width>n||c.height>i||c.minWidth>n||c.minHeight>i||c.maxWidth<n||c.maxHeight<i))o=a;else{var l=new Date;o.lastModified=l.getTime(),o.lastModifiedDate=l,o.name=a.name,o.name&&o.type!==a.type&&(o.name=o.name.replace(L,(t=o.type,"jpeg"===(r=U(t)?t.substr(6):"")&&(r="jpg"),".".concat(r))))}else o=a;this.result=o,c.success&&c.success.call(this,o)}},{key:"fail",value:function(e){var t=this.options;if(!t.error)throw e;t.error.call(this,e)}},{key:"abort",value:function(){this.aborted||(this.aborted=!0,this.reader?this.reader.abort():this.image.complete?this.fail(new Error("The compression process has been aborted.")):(this.image.onload=null,this.image.onabort()))}}])&&v(t.prototype,r),n&&v(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();const H="POST",q="DELETE",G="cors",W="/authorization",z="/message",V="/queries",X="/entry",Y="/entries",K="/conversation",Q="/status",Z="/file",ee="/deliveryAcknowledgeEntries",te="/readAcknowledgeEntry",re="/session",ne=W+"/authenticated"+r.ACCESS_TOKEN_PATH,ie=V+K,oe=V+K,ae=[r.EntryTypes.CONVERSATION_MESSAGE,r.EntryTypes.PARTICIPANT_CHANGED,r.EntryTypes.ROUTING_RESULT],se=r.MessageTypes.STATIC_CONTENT_MESSAGE,ce=r.FormatTypes.TEXT,le=r.MessageTypes.CHOICES_RESPONSE_MESSAGE,ue=r.MessageTypes.FORM_RESPONSE_MESSAGE,de=r.FormatTypes.INPUTS,he=r.FormatTypes.SELECTIONS,ge=r.GetConversationEntriesQueryDirection.FROM_END,pe="EmbeddedMessaging-MessagingService",fe=(t,r,i,o,a,s=t)=>{const c=o||{"Content-Type":"application/json",...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()}},l=t.includes(Z)?a:a?JSON.stringify(a):void 0;return n.LoggingUtil.logActivity(pe,`${s}Activity`,e=>fetch(t,{method:r,mode:i,headers:c,...l&&{body:l}}).then(async t=>{e._stopPerfTime||e.stop();const r=n.util.getEpochTimesDiffInSeconds(e.getStartPerfTime(),e.getStopPerfTime());if(n.LoggingUtil.logCurrentState(pe,{method:"sendFetchRequest",stateMessage:`${s} took ${r} seconds and returned with the status code ${t.status}`}),!t.ok){let e;try{e=Object.assign(t,await t.json())}catch(r){e=Object.assign(t,{message:`Error reading the body stream of error object: ${t}`})}throw e}return t}))},ve=(t,o,s,c,l,u,d=o)=>{if(!t||!t.status||t.status>=500&&t.status<=599)return n.LoggingUtil.logError("FetchRequestFailure",pe,{method:"handleSendFetchRequestError",errMessage:`Something went wrong in ${d}: ${t&&t.message?t.message:JSON.stringify(Object.assign({},t,{status:t.status,statusText:t.statusText,type:t.type}))}. Re-trying the request.`,...t&&t.status&&{errCode:t.status}}),fe(o,s,c,l,u,d).catch(e=>{throw n.LoggingUtil.logError("FetchRequestFailure",pe,{method:"handleSendFetchRequestError",errMessage:`${d} request failed again: ${e&&e.message?e.message:JSON.stringify(Object.assign({},e,{status:e.status,statusText:e.statusText,type:e.type}))}.`,...e&e.status&&{errCode:e.status}}),e});if(401===t.status){if(n.LoggingUtil.logError("FetchRequestFailure",pe,{method:"handleSendFetchRequestError",errMessage:`Something went wrong in ${d}: ${t&&t.message?t.message:JSON.stringify(Object.assign({},t,{status:t.status,statusText:t.statusText,type:t.type}))}. Attempting to renew JWT.`,...t&&t.status&&{errCode:t.status}}),e.inAppService.getAuthMode()===r.AUTH_MODE.UNAUTH)throw a.clearWebStorage(),t;if(e.inAppService.getAuthMode()===r.AUTH_MODE.AUTH||e.inAppService.getAuthMode()===r.AUTH_MODE.EXP_SITE_AUTH)return Se()&&n.authUtil.validateJwtExpiry(Se())||e.inAppService.getAuthMode()===r.AUTH_MODE.EXP_SITE_AUTH?new Promise(e=>{i.dispatchEvent(n.authEvent.EMBEDDED_MESSAGING_AUTHENTICATED_JWT_EXPIRED_EVENT_NAME,{pendingRequest:{apiPath:o,method:s,mode:c,requestHeaders:l,requestBody:u},pendingRequestPromiseResolve:e})}):new Promise(e=>{i.dispatchEvent(n.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME,{pendingRequest:{apiPath:o,method:s,mode:c,requestHeaders:l,requestBody:u,resolve:e}})})}throw n.LoggingUtil.logError("FetchRequestFailure",pe,{method:"handleSendFetchRequestError",errMessage:`Something went wrong in ${d}: ${t&&t.message?t.message:JSON.stringify(Object.assign({},t,{status:t.status,statusText:t.statusText,type:t.type}))}`,...t&&t.status&&{errCode:t.status}}),t},me=(e,t,r,n,i,o)=>fe(e,t,r,n,i,o).catch(a=>ve(a,e,t,r,n,i,o));let Ee,ye,we,be,Ae;e.inAppService=void 0;const Se=()=>Ae,Te=()=>Ee,Me=()=>ye,Oe=()=>we;e.closeConversation=t=>{const r=e.inAppService.getFullApiPath().concat([K,"/"+t].join(""));return me(r,q,G,null,null,"closeConversation")},e.closeEventSource=()=>new Promise((e,t)=>{try{l&&l.close(),e()}catch(e){t(e)}}),e.endSession=t=>{const r=Oe();if(n.LoggingUtil.logCurrentState(pe,{method:"endSession",stateMessage:`endSession api invoked for ES Developer Name: ${r} and conversationId: ${t}.`}),"string"!=typeof r||!r.length||"string"!=typeof t||!t.length){const e=`Unable to end the messaging session. Expected valid ES Developer Name associated with the current conversation and conversationId, instead received ES Developer Name: ${r} and conversationId: ${t}`;return n.LoggingUtil.logError("endSession error",pe,{method:"endSession",errMessage:e}),Promise.reject(e)}const i=e.inAppService.getFullApiPath().concat([K,"/"+t,re,"?",`esDeveloperName=${r}`].join(""));return me(i,q,G,null,null,"endSession")},e.getAuthMode=()=>e.inAppService.getAuthMode(),e.getAuthenticatedJwt=()=>{const t=Te(),o=Me(),a=Se(),s=n.authUtil.getDeviceInfoAsQueryParams()?e.inAppService.getFullApiPath().concat(ne,"?",n.authUtil.getDeviceInfoAsQueryParams()):e.inAppService.getFullApiPath().concat(ne),c=H,l=G,u={"Content-Type":"application/json"},d={orgId:t,developerName:o,capabilitiesVersion:r.capabilitiesVersion,authorizationType:r.ID_TOKEN_TYPE.JWT,customerIdentityToken:a},h="getAuthenticatedJwt";return a&&n.authUtil.validateJwtExpiry(a)?fe(s,c,l,u,d,h).then(e=>{if(!e.ok)throw e;return e.json()}).catch(e=>ve(e,s,c,l,u,d,h)):new Promise(e=>{i.dispatchEvent(n.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME,{pendingRequest:{apiPath:s,method:c,mode:l,requestHeaders:u,requestBody:d,resolve:e}})}).then(e=>{if(!e.ok)throw e;return e.json()})},e.getChannelAddressIdentifier=()=>be,e.getContinuityJwt=()=>{const t=e.inAppService.getFullApiPath().concat(W,"/continuityAccessToken");return me(t,"GET",G,null,null,"getContinuityJwt").then(e=>{if(!e.ok)throw e;return e.json()})},e.getConversationEntries=(t,r,n,i,o)=>{const a=e.inAppService.getFullApiPath().concat([ie,"/"+t,Y].join(""));return me(a,H,G,null,{direction:o||ge,entryTypeFilter:ae,...r&&{limit:r},...n&&{endTimestamp:n},...i&&{startTimestamp:i}},"getConversationEntries").then(e=>e.json()).then(e=>{const r=[];if("object"!=typeof e)throw new Error(`Expected to receive JSON response, instead received ${e}.`);if(!Array.isArray(e.conversationEntries))throw new Error(`Expected entries to be an Array, instead was: ${e.conversationEntries}.`);return e.conversationEntries.forEach(e=>{r.push({conversationId:t,conversationEntry:e})}),r})},e.getConversationRoutingStatus=t=>{const r=e.inAppService.getFullApiPath().concat([oe,"/"+t,Q].join(""));return me(r,"GET",G,null,null,"getConversationRoutingStatus").then(e=>e.json())},e.getDeveloperName=Me,e.getDeveloperNameAssociatedWithCurrentConversation=Oe,e.getIdentityToken=Se,e.getJwt=()=>e.inAppService.getJwt(),e.getLastEventId=d,e.getOrgId=Te,e.handleSendFetchRequestError=ve,e.revokeJwt=()=>{const t=e.inAppService.getFullApiPath().concat(W,"/revokeToken"),r=e.inAppService.getJwt();return r&&n.authUtil.validateJwtExpiry(r)?me(t,H,G,null,null,"revokeJwt"):Promise.resolve()},e.sendChoicesResponseMessage=(t,r,n,i,o,a)=>{const s=e.inAppService.getFullApiPath().concat([K,"/"+t,z].join(""));return me(s,H,G,null,{id:n,messageType:le,inReplyToMessageId:i,...o&&{isNewMessagingSession:o},...a&&{routingAttributes:a},choicesResponse:{formatType:he,selectedOptions:[{optionIdentifier:r}]}},"sendChoicesResponseMessage")},e.sendDeliveryAcknowledgement=(t,r)=>{const n=e.inAppService.getFullApiPath().concat([K,"/"+t,ee].join(""));return me(n,H,G,null,{acks:[{conversationEntryId:r}]},"sendDeliveryAcknowledgement")},e.sendFetchRequest=fe,e.sendFileAttachment=(t,r,i,a,s,c,l)=>{const u=e.inAppService.getFullApiPath().concat([K,"/"+t,Z].join("")),d="boundary_string_"+Date.now().toString();let h;const g=new FileReader;return new Promise((e,t)=>{const i=o.getImageCompressionOptions();if(r.type.toLowerCase().startsWith("image")&&i){const e={...i,success(e){g.readAsDataURL(e)},error(e){n.error("Error compressing image, ",e),g.readAsDataURL(r)}};new J(r,e)}else g.readAsDataURL(r);g.onload=()=>{e(g.result)},g.onerror=e=>t(e)}).then(t=>{const o=JSON.stringify({id:i,fileId:n.util.uuid(),...a&&{message:a},...s&&{inReplyToMessageId:s},...c&&{isNewMessagingSession:c},...l&&{routingAttributes:l}}),u=n.util.encodeRFC5987FileName(r.name),g="--"+d+'\r\nContent-Disposition: form-data; name="messageEntry";\r\nContent-Type: application/json\r\n\r\n'+o+"\r\n\r\n--"+d+"\r\nContent-Type: application/octet-stream\r\n"+`Content-Disposition: form-data; name="fileData"; filename=${u}; filename*=UTF-8''${u}\r\n\r\n`,p=`\r\n\r\n--${d}--`,f=window.atob(t.replace(/^data:.*?\/.*?;base64,/,"")),v=new Array(f.length);for(let e=0;e<f.length;e++)v[e]=f.charCodeAt(e);const m=new Uint8Array(v),E=g.length+m.byteLength+p.length,y=new Uint8Array(E);let w;for(w=0;w<g.length;w++)y[w]=255&g.charCodeAt(w);for(let e=0;e<m.byteLength;w++,e++)y[w]=m[e];for(let e=0;e<p.length;w++,e++)y[w]=255&p.charCodeAt(e);h={method:H,headers:{"Content-Type":`multipart/form-data; boundary="${d}"`,...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()}},body:y.buffer}}).then(()=>me(u,H,G,h.headers,h.body,"sendFileAttachment")).catch(e=>{throw e})},e.sendFormResponseMessage=(t,r,n,i,o,a)=>{const s=e.inAppService.getFullApiPath().concat([K,"/"+t,z].join(""));return me(s,H,G,null,{id:n,messageType:ue,inReplyToMessageId:i,...o&&{isNewMessagingSession:o},...a&&{routingAttributes:a},formResponse:{formatType:de,...r&&{inputValues:r}}},"sendFormResponseMessage")},e.sendReadAcknowledgement=(t,r)=>{const n=e.inAppService.getFullApiPath().concat([K,"/"+t,te].join(""));return me(n,H,G,null,{conversationEntryId:r},"sendReadAcknowledgement")},e.sendTextMessage=(t,r,n,i,o,a)=>{const s=e.inAppService.getFullApiPath().concat([K,"/"+t,z].join(""));return me(s,H,G,null,{id:n,messageType:se,staticContent:{formatType:ce,text:r},...i&&{inReplyToMessageId:i},...o&&{isNewMessagingSession:o},...a&&{routingAttributes:a}},"sendTextMessage")},e.sendTypingIndicator=(t,r)=>{const i=e.inAppService.getFullApiPath().concat([K,"/"+t,X].join(""));return me(i,H,G,null,{entryType:r,id:n.util.uuid()},"sendTypingIndicator")},e.setAuthMode=t=>{e.inAppService.setAuthMode(t)},e.setChannelAddressIdentifier=e=>{be=e},e.setDeveloperName=e=>{ye=e},e.setDeveloperNameAssociatedWithCurrentConversation=e=>{we=e},e.setIdentityToken=e=>{Ae=e},e.setJwt=t=>{e.inAppService.setJwt(t)},e.setLastEventId=e=>{u=e},e.setOrgId=e=>{Ee=e},e.setScrtServiceData=(t,r,n,i)=>{e.inAppService=new s(t,r,n,i)},e.subscribeToEventSource=t=>new Promise((r,n)=>{try{g(e.inAppService.getEndpoint().concat(`/eventrouter/v1/sse?_ts=${Date.now()}`),t).then(r,e=>{n(e)}).catch(e=>{n(e)})}catch(e){n(e)}}),Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/inAppService', ['embeddedMessaging/inAppService'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/minimizedState",["exports","lwc","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/icons","embeddedMessaging/constants","embeddedMessaging/labelUtils"],function(e,i,t,s,n,a,o){var l=[function(e,i,t){var s=e?"["+e+"]":"",n=e?"-"+e:"";return".minimizedNotification"+s+" {display: block;position: fixed;pointer-events: all;text-decoration: none;overflow: visible;cursor: pointer;bottom: 77px;right: 3px;min-width: 200px;max-width: 275px;min-height: 120px;height: auto;padding: 6px 6px;color: var(--slds-g-color-neutral-base-10, #000000);background: var(--slds-g-color-neutral-base-100, #ffffff);background-color: var(--slds-g-color-neutral-base-100, #ffffff);border: 1px solid var(--slds-g-color-neutral-base-90, #dedede);border-radius: 3px;box-shadow: 2px 2px 5px 0 var(--slds-g-color-palette-neutral-20, rgba(45, 45, 45, 0.50));outline: 0;align-items: center;justify-content: flex-end;flex-direction: row;flex-wrap: wrap;}.minimizedButton"+s+"::-moz-focus-inner,.minimizedNotification"+s+"::-moz-focus-inner,.dismissButton"+s+"::-moz-focus-inner {border: 0;outline: 0;outline-style: none;-moz-outline-style: none;}.dismissButton.hide"+s+",.minimizedNotification.hide"+s+" {display: none;}.minimizedTextWrapper"+s+" {width: 165px;position: relative;margin: 12px;display: flex;align-items: flex-start;align-self: flex-start;flex: 1 1 auto;flex-wrap: wrap;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}.minimizedTextWrapper"+s+" > .minimizedText"+s+" {overflow: hidden;white-space: normal;text-overflow: ellipsis;text-align: left;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}.dismissButton"+s+" {color: var(--slds-g-color-brand-base-30, #005290);background-color: var(--slds-g-color-neutral-base-100, #ffffff);border: none;cursor: pointer;text-align: center;font-weight: 500;position: fixed;bottom: 86px;right: 15px;width: 70px;overflow: hidden;text-overflow: ellipsis;border-radius: 3px;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .dismissButton"+s+" {left: 15px;right: 0;}.dismissButton:focus"+s+" {outline: 0;box-shadow: 0 0 3px var(--secondaryColor, #005290);}.dismissButtonText"+s+" {text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}.minimizedButtonWrapper"+s+" {display: block;position: fixed;background: transparent;overflow: visible;font-family: sans-serif;top: 0;left: 0;}.minimizedButtonWrapper"+s+" .minimizedButton"+s+" {background-color: var(--headerColor, var(--lwc-brandContrast, #1A1B1E));color: var(--slds-g-color-neutral-base-100, #ffffff);outline: 0;border: none;cursor: pointer;text-align: center;overflow: hidden;pointer-events: all;cursor: pointer;border-radius: 50%;box-shadow: 2px 2px 5px 0 var(--slds-g-color-palette-neutral-20, rgba(45, 45, 45, 0.50));position: fixed;bottom: 3px;right: 3px;width: 56px;height: 56px;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .minimizedButtonWrapper"+s+" .minimizedButton"+s+" {right: 0;left: 3px;}.minimizedButton:focus"+s+" {box-shadow: 0 0 3px 3px var(--secondaryColor, #005290);outline: 0;}.minimizedButton"+s+' div[class="minimizedButtonIconContainer"]'+s+" {display: inline-block;vertical-align: middle;max-width: 100%;max-height: 100%;position: relative;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .minimizedButton"+s+' div[class="minimizedButtonIconContainer"]'+s+" {margin-right: 1.6rem;transform: scaleX(-1);left: 25px;}.minimizedButton"+s+' div[class="minimizedButtonIconContainer"]'+s+" > svg.minimizedButtonIconChat"+s+" {width: 100%;height: 100%;max-height: 30px;max-width: 30px;fill: var(--slds-g-color-neutral-base-100, #ffffff);transform: scale(1) translate(13px, 1px);overflow: visible;}.minimizedButton"+s+' div[class="minimizedButtonIconContainer"]'+s+" > span.unseenMessageCountText"+s+" {color: var(--headerColor, var(--lwc-brandContrast, #1A1B1E));position: absolute;font-weight: bold;left: 80%;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .minimizedButton"+s+' div[class="minimizedButtonIconContainer"]'+s+" > span.unseenMessageCountText"+s+" {transform: scaleX(-1);}.minimizedButton"+s+' div[class="minimizedButtonIconContainer"]'+s+" > span.nine-plus"+s+" {left: 65%;}.spinning"+s+" {animation: spin"+n+" 2.5s infinite linear;}@keyframes spin"+n+" {from {transform: scale(1) translate(13px, 1px) rotate(0deg);}to {transform: scale(1) translate(13px, 1px) rotate(360deg);}}"}];const d=i.parseFragment`<div${"c0"}${"a0:id"}${2}><div class="minimizedTextWrapper${0}"${"a1:id"}${2}><span role="status" class="minimizedText${0}"${"a2:title"}${"a2:id"}${2}>${"t3"}</span><span class="slds-assistive-text${0}"${2}>${"t5"}</span></div></div>`,r=i.parseFragment`<button${"c0"}${"a0:aria-describedby"}${"a0:id"}${2}><span class="dismissButtonText${0}"${"a1:title"}${"a1:id"}${2}>${"t2"}</span><span class="slds-assistive-text${0}"${"a3:id"}${2}>${"t4"}</span></button>`,E=i.parseFragment`<svg aria-hidden="true" viewBox="0 0 100 100"${"c0"}${2}><path${"a1:fill"} fill-rule="evenodd" clip-rule="evenodd"${"a1:d"}${3}/></svg>`,m=i.parseFragment`<span${"c0"}${"a0:id"}${2}>${"t1"}<span class="slds-assistive-text${0}"${2}>${"t3"}</span></span>`,I={classMap:{minimizedButtonWrapper:!0},key:4},M={"slds-button":!0,minimizedButton:!0},u={minimizedButtonIconContainer:!0};function N(e,i,t,s){const{ncls:n,gid:a,b:o,d:l,sp:N,st:c,h:g}=e,{_m0:T,_m1:h,_m2:p,_m3:f,_m4:x,_m5:b,_m6:v}=s;return[c(d,1,[N(0,{on:{click:h||(s._m1=o(i.handleMaximization))},className:n(i.generateMinimizedNotificationClass),attrs:{id:a("minimizedNotificationArea")}},null),N(1,{attrs:{id:a("minimizedNotificationTextWrapper")}},null),N(2,{attrs:{title:i.minimizedText,id:a("minimizedNotificationText")}},null),N(3,null,l(i.minimizedText)),N(5,null,l(i.labels.MinimizedNotificationAssistiveText))]),c(r,3,[N(0,{on:{click:x||(s._m4=o(i.onDismissButtonClick)),keydown:b||(s._m5=o(i.onDismissButtonKeyPress))},className:n(i.generateDismissButtonClass),attrs:{"aria-describedby":a("dismissButton-help"),id:a("minimizedNotificationDismissButton")}},null),N(1,{attrs:{title:i.labels.NotificationDismissButtonText,id:a("minimizedNotificationDismissButtonText")}},null),N(2,null,l(i.labels.NotificationDismissButtonText)),N(3,{attrs:{id:a("dismissButton-help")}},null),N(4,null,l(i.labels.MinimizedNotificationDismissButtonAssistiveText))]),g("div",I,[g("button",{classMap:M,attrs:{title:i.labels.MinimizedButtonAssistiveText,"aria-label":i.labels.MinimizedButtonAssistiveText,id:a("minimizedButton")},key:5,on:{click:v||(s._m6=o(i.handleMaximization))}},[g("div",{classMap:u,attrs:{id:a("minimizedButtonIconContainer")},key:6},[c(E,8,[N(0,{className:n(i.getMinimizedButtonIconChatClassName)},null),N(1,{attrs:{fill:i.generateMinimizedChatIconSvgFillColor,d:i.getMinimizedChatIcon}},null)]),i.shouldDisplayUnseenMessageCount?c(m,10,[N(0,{className:n(i.getUnseenMessageCountTextClassName),attrs:{id:a("minimizedButtonUnseenMessageCountText")}},null),N(1,null,l(i.getUnseenMessageCountText)),N(3,null,l(i.getUnseenMessageCountText))]):null])])])]}var c=i.registerTemplate(N);N.stylesheets=[],N.stylesheetToken="lwc-2tu55qmbbaf",N.legacyStylesheetToken="embeddedMessaging-minimizedState_minimizedState",l&&N.stylesheets.push.apply(N.stylesheets,l),i.freezeTemplate(N);const g="EmbeddedMessaging-MinimizedState";class T extends i.LightningElement{constructor(...e){super(...e),this.isDismissed=!1,this.configuration=void 0,this.labels={},this.conversationStatus=void 0,this.unseenMessageCount=0,this.latestEvent=void 0,this.isMinimized=void 0}get isMinimizedNotificationDismissed(){return this.isDismissed}get shouldDisplayMinimizedNotification(){return this.conversationStatus===a.ConversationStatus.OPENED_CONVERSATION&&!this.isMinimizedNotificationDismissed&&void 0!==this.latestEvent}get getMinimizedChatIcon(){return this.latestEvent===t.MINIMIZED_EVENTS.PARTICIPANT_JOINED?n.defaultIcons.MINIMIZED_PARTICIPANT_JOINED_ICON:this.latestEvent===t.MINIMIZED_EVENTS.PARTICIPANT_LEFT?n.defaultIcons.MINIMIZED_PARTICIPANT_LEFT_ICON:this.latestEvent===t.MINIMIZED_EVENTS.TRANSFER_INITIATED?n.defaultIcons.MINIMIZED_TRANSFER_ICON:this.latestEvent===t.MINIMIZED_EVENTS.TRANSFER_TERMINATED||this.latestEvent===t.MINIMIZED_EVENTS.JWT_EXPIRED?n.defaultIcons.MINIMIZED_FAILURE_NOTIFICATION_ICON:this.latestEvent===t.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES?n.defaultIcons.MINIMIZED_NEW_MESSAGES_ICON:this.latestEvent===t.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS?n.defaultIcons.MINIMIZED_RECONNECT_IN_PROGRESS_ICON:n.defaultIcons.MINIMIZED_CHAT_ICON}get minimizedText(){return this.isConversationClosed()?this.latestEvent===t.MINIMIZED_EVENTS.JWT_EXPIRED?this.labels.JwtExpiredText:this.labels.ConversationEndedMinimizedText:this.latestEvent===t.MINIMIZED_EVENTS.PARTICIPANT_JOINED?this.labels.ParticipantJoinedText:this.latestEvent===t.MINIMIZED_EVENTS.PARTICIPANT_LEFT?this.labels.ParticipantLeftText:this.latestEvent===t.MINIMIZED_EVENTS.TRANSFER_INITIATED?this.labels.TransferInitiatedText:this.latestEvent===t.MINIMIZED_EVENTS.TRANSFER_TERMINATED?this.labels.TransferFailedText:this.latestEvent===t.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES?1===this.unseenMessageCount?this.labels.NewMessageText:this.labels.MultipleNewMessagesText:this.latestEvent===t.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS?this.labels.MinimizedReconnectInProgress:""}get shouldDisplayUnseenMessageCount(){return this.latestEvent===t.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES}get getUnseenMessageCountText(){return this.unseenMessageCount>9?"9+":this.unseenMessageCount}get getUnseenMessageCountTextClassName(){return this.unseenMessageCount>9?"unseenMessageCountText nine-plus":"unseenMessageCountText"}get getMinimizedButtonIconChatClassName(){const e="slds-button__icon minimizedButtonIconChat";return this.latestEvent===t.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS?`${e} spinning`:e}get generateMinimizedNotificationClass(){return"minimizedNotification"+(this.shouldDisplayMinimizedNotification?"":" hide")}get generateDismissButtonClass(){return"dismissButton"+(this.shouldDisplayMinimizedNotification?"":" hide")}get isMinimizedButtonFocusable(){return this.isMinimized?0:-1}get generateMinimizedChatIconSvgFillColor(){if(!this.configuration.hasConversationButtonColorContrastMetA11yThreshold)return"#1A1B1E"}connectedCallback(){this.assignHandlers(),this.handleLabels()}renderedCallback(){this.shouldDisplayMinimizedNotification&&t.dispatchEvent(s.events.EMBEDDED_MESSAGING_SHOW_MINIMIZED_NOTIFICATION_EVENT,{})}assignHandlers(){t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.PARTICIPANT_JOINED,()=>{this.isMinimized&&(this.latestEvent=t.MINIMIZED_EVENTS.PARTICIPANT_JOINED)}),t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.PARTICIPANT_LEFT,()=>{this.isMinimized&&(this.latestEvent=t.MINIMIZED_EVENTS.PARTICIPANT_LEFT)}),t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.TRANSFER_INITIATED,()=>{this.latestEvent=t.MINIMIZED_EVENTS.TRANSFER_INITIATED}),t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.TRANSFER_COMPLETED,()=>{this.latestEvent===t.MINIMIZED_EVENTS.TRANSFER_INITIATED&&(this.latestEvent=void 0)}),t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES,()=>{this.isMinimized&&(this.unseenMessageCount++,this.latestEvent=t.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES)}),t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.CLEAR_NOTIFICATIONS,()=>{this.unseenMessageCount=0,this.latestEvent!==t.MINIMIZED_EVENTS.TRANSFER_INITIATED&&this.latestEvent!==t.MINIMIZED_EVENTS.JWT_EXPIRED&&this.latestEvent!==t.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS&&(this.latestEvent=void 0)}),t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.JWT_EXPIRED,()=>{this.latestEvent=t.MINIMIZED_EVENTS.JWT_EXPIRED}),t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS,()=>{this.latestEvent=t.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS}),t.assignChatMinimizedHandler(t.MINIMIZED_EVENTS.RECONNECT_ENDED,()=>{this.latestEvent===t.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS&&(this.latestEvent=void 0)})}handleLabels(){this.labels.MinimizedButtonAssistiveText=o.getLabel("EmbeddedMessagingMinimizedState","MinimizedButtonAssistiveText"),this.labels.MinimizedNotificationDismissButtonAssistiveText=o.getLabel("EmbeddedMessagingMinimizedState","MinimizedNotificationDismissButtonAssistiveText"),this.labels.NotificationDismissButtonText=o.getLabel("EmbeddedMessagingMinimizedState","NotificationDismissButtonText"),this.labels.ConversationEndedMinimizedText=o.getLabel("EmbeddedMessagingMinimizedState","ConversationEndedMinimizedText"),this.labels.ParticipantJoinedText=o.getLabel("EmbeddedMessagingMinimizedState","ParticipantJoinedText"),this.labels.ParticipantLeftText=o.getLabel("EmbeddedMessagingMinimizedState","ParticipantLeftText"),this.labels.NewMessageText=o.getLabel("EmbeddedMessagingMinimizedState","NewMessageText"),this.labels.MultipleNewMessagesText=o.getLabel("EmbeddedMessagingMinimizedState","MultipleNewMessagesText"),this.labels.JwtExpiredText=o.getLabel("EmbeddedMessagingMinimizedState","JwtExpiredText"),this.labels.TransferInitiatedText=o.getLabel("EmbeddedMessagingMinimizedState","TransferInitiatedText"),this.labels.TransferFailedText=o.getLabel("EmbeddedMessagingMinimizedState","TransferFailedText"),this.labels.MinimizedNotificationAssistiveText=o.getLabel("EmbeddedMessagingMinimizedState","MinimizedNotificationAssistiveText"),this.labels.MinimizedStateAssistiveText=o.getLabel("EmbeddedMessagingMinimizedState","MinimizedStateAssistiveText"),this.labels.MinimizedReconnectInProgress=o.getLabel("EmbeddedMessagingMinimizedState","MinimizedReconnectInProgress")}handleMaximization(e){t.dispatchEvent(s.events.EMBEDDED_MESSAGING_MAXIMIZE_EVENT,{bubbles:!0}),s.LoggingUtil.logInteraction(e,this,g,{method:"handleMaximization"})}isConversationClosed(){return this.conversationStatus&&this.conversationStatus===a.ConversationStatus.CLOSED_CONVERSATION}onDismissButtonKeyPress(e){e.key!==s.KEY_CODES.ENTER&&e.key!==s.KEY_CODES.SPACE||(e.preventDefault(),this.onDismissButtonClick())}onDismissButtonClick(e){this.isDismissed=!0,t.dispatchEvent(s.events.EMBEDDED_MESSAGING_MINIMIZED_NOTIFICATION_DISMISS,{bubbles:!0}),this.setFocusOnMinimizedButton(),s.LoggingUtil.logInteraction(e,this,g,{method:"onDismissButtonClick"})}setFocusOnMinimizedButton(){s.util.waitForFrame(()=>{const e=this.querySelectMinimizedButton();e&&e.focus()})}querySelectMinimizedButton(){return this.template.querySelector("button.minimizedButton")}}i.registerDecorators(T,{publicProps:{configuration:{config:0},isMinimizedNotificationDismissed:{config:1},conversationStatus:{config:0},isMinimized:{config:0},shouldDisplayMinimizedNotification:{config:1}},publicMethods:["setFocusOnMinimizedButton"],track:{labels:1,unseenMessageCount:1,latestEvent:1},fields:["isDismissed"]});const h=i.registerComponent(T,{tmpl:c,sel:"embeddedMessaging-minimized-state",apiVersion:62});e.default=h,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/minimizedState', ['embeddedMessaging/minimizedState'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/countdownTimer",["exports","lwc"],function(i,e){const t=e.registerComponent(class{constructor(i,e,t){this._timer=void 0,this._finished=void 0,this._endTimerCallback=void 0,this._durationInMillis=void 0,this._lastReceivedTimestamp=void 0,this._timer=null,this._finished=!1,this._endTimerCallback=i,this._durationInMillis=e,this._lastReceivedTimestamp=t}start(){this.clear(),this._finished=!1,this._timer=setTimeout(()=>{this._finished=!0,this._endTimerCallback(),this.clear()},this._durationInMillis)}clear(){this._timer&&clearTimeout(this._timer)}reset(i){i<this._lastReceivedTimestamp||(this._lastReceivedTimestamp=i,this._finished&&(this._timer=void 0),this.start())}},{tmpl:void 0,sel:"embeddedMessaging-countdown-timer",apiVersion:62});i.default=t,Object.defineProperty(i,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/countdownTimer', ['embeddedMessaging/countdownTimer'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightningsnapin/eventStore",["exports","embeddedMessaging/eventStorePrivate"],function(e,d){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const s=new(n(d).default);e.MESSAGING_EVENT={BACK_BUTTON_CLICK:"embeddedmessaging_chatheaderbackbuttonclick",MINIMIZE_BUTTON_CLICK:"embeddedmessaging_minimizebuttonclick",CLOSE_CONVERSATION:"embeddedmessaging_closeconversation",CLOSE_CONTAINER:"embeddedmessaging_closecontainer",TOGGLE_BACK_BUTTON:"embeddedmessaging_chatheadertogglebackbutton",MENU_ITEM_SELECTED:"embeddedmessaging_menuitemselected",PARTICIPANT_JOINED:"embeddedmessaging_chatheaderparticipantjoined",PARTICIPANT_LEFT:"embeddedmessaging_chatheaderparticipantleft",UPDATE_HEADER_TEXT:"embeddedmessaging_chatheadertextupdate",REQUEST_TRANSCRIPT:"embeddedmessaging_requesttranscript",TRANSFER_INITIATED:"embeddedmessaging_transferrequested",TRANSFER_TERMINATED:"embeddedmessaging_transferfailed",TRANSFER_COMPLETED:"embeddedmessaging_transfercompleted",RECONNECT_IN_PROGRESS:"embeddedmessaging_reconnectinprogress",RECONNECT_ENDED:"embeddedmessaging_reconnectended"},e.assignMessagingEventHandler=(e,d)=>{s.assignHandler(e,d)},e.dispatchMessagingEvent=(e,d)=>s.dispatchEvent(e,d),Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/sldsUtilsThemes",["exports"],function(e){var s=[function(e,s,r){var a=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(s?':host([data-render-mode="shadow"]) .slds-theme_default'+a+",:host([data-interactive-dialog]) .slds-theme_default":o+'[data-render-mode="shadow"] .slds-theme_default'+a+","+o+"[data-interactive-dialog] .slds-theme_default")+a+" {background-color: var(--slds-g-color-neutral-base-100, #fff);color: var(--slds-g-color-neutral-base-10, #181818);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_shade'+a+",:host([data-interactive-dialog]) .slds-theme_shade":o+'[data-render-mode="shadow"] .slds-theme_shade'+a+","+o+"[data-interactive-dialog] .slds-theme_shade")+a+" {background-color: var(--slds-g-color-neutral-base-95, #f3f3f3);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_inverse'+a+",:host([data-interactive-dialog]) .slds-theme_inverse":o+'[data-render-mode="shadow"] .slds-theme_inverse'+a+","+o+"[data-interactive-dialog] .slds-theme_inverse")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-brand-base-10, #001639);border-color: var(--slds-g-color-brand-base-10, #001639);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_alt-inverse'+a+",:host([data-interactive-dialog]) .slds-theme_alt-inverse":o+'[data-render-mode="shadow"] .slds-theme_alt-inverse'+a+","+o+"[data-interactive-dialog] .slds-theme_alt-inverse")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-brand-base-20, #032d60);border-color: var(--slds-g-color-brand-base-20, #032d60);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_success'+a+",:host([data-interactive-dialog]) .slds-theme_success":o+'[data-render-mode="shadow"] .slds-theme_success'+a+","+o+"[data-interactive-dialog] .slds-theme_success")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-success-base-50, #2e844a);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(--slds-g-color-neutral-100-opacity-50, rgb(255 255 255 / 50%));--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_info'+a+",:host([data-interactive-dialog]) .slds-theme_info":o+'[data-render-mode="shadow"] .slds-theme_info'+a+","+o+"[data-interactive-dialog] .slds-theme_info")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-neutral-base-50, #747474);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(--slds-g-color-neutral-100-opacity-50, rgb(255 255 255 / 50%));--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning'+a+",:host([data-interactive-dialog]) .slds-theme_warning":o+'[data-render-mode="shadow"] .slds-theme_warning'+a+","+o+"[data-interactive-dialog] .slds-theme_warning")+a+" {background-color: var(--slds-g-color-warning-base-60, #fe9339);color: var(--slds-g-color-neutral-base-10, #181818);--slds-g-link-color: var(--slds-g-color-neutral-base-10, #181818);--slds-g-link-color-active: var(--slds-g-color-neutral-base-30, #514f4d);--slds-g-link-color-hover: var(--slds-g-color-neutral-base-10, #181818);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;--_slds-g-shadow: 0 0 3px var(--slds--g-color-neutral-base-30, #514f4d);--_slds-g-style-border: solid;--_slds-g-sizing-border: var(--sds-g-sizing-border-1);--_slds-g-color-border: var(--slds-g-color-neutral-base-30, #514f4d);--_slds-g-color-outline: transparent;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" "+a+"::part(button) {color: var(--slds-g-color-on-warning-1);text-decoration: underline;--slds-c-icon-color-foreground: var(--slds-g-color-on-warning-1);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" ::part(button):hover"+a+" {color: color-mix(in oklab, currentColor, transparent 25%);--slds-c-icon-color-foreground: color-mix(in oklab, var(--slds-g-color-on-warning-1), transparent 25%);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" ::part(button):focus"+a+" {color: var(--slds-g-color-neutral-base-30, #514f4d);box-shadow: 0 0 3px var(--slds-g-color-neutral-base-30, #514f4d);border: 1px solid var(--slds-g-color-neutral-base-30, #514f4d);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" ::part(button):active"+a+" {color: var(--slds-g-color-neutral-base-50, #706e6b);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" "+a+"::part(boundary) {--slds-c-icon-color-foreground: var(--slds-g-color-neutral-base-30, #514f4d);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_error'+a+",:host([data-interactive-dialog]) .slds-theme_error":o+'[data-render-mode="shadow"] .slds-theme_error'+a+","+o+"[data-interactive-dialog] .slds-theme_error")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-error-base-40, #ea001e);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(--slds-g-color-neutral-100-opacity-50, rgb(255 255 255 / 50%));--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_offline'+a+",:host([data-interactive-dialog]) .slds-theme_offline":o+'[data-render-mode="shadow"] .slds-theme_offline'+a+","+o+"[data-interactive-dialog] .slds-theme_offline")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-neutral-base-30, #444);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_alert-texture'+a+",:host([data-interactive-dialog]) .slds-theme_alert-texture":o+'[data-render-mode="shadow"] .slds-theme_alert-texture'+a+","+o+"[data-interactive-dialog] .slds-theme_alert-texture")+a+" {background-image: linear-gradient(45deg, rgb(0 0 0 / 2.5%) 25%, transparent 25%, transparent 50%, rgb(0 0 0 / 2.5%) 50%, rgb(0 0 0 / 2.5%) 75%, transparent 75%, transparent);background-size: 64px 64px;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_inverse-text'+a+",:host([data-interactive-dialog]) .slds-theme_inverse-text":o+'[data-render-mode="shadow"] .slds-theme_inverse-text'+a+","+o+"[data-interactive-dialog] .slds-theme_inverse-text")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);}"}];e.default=s,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/routingService",["exports","@salesforce/client/formFactor","lightning/utilsPrivate"],function(e,t,n){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(t);const o="Small";const s="lightningroutingservicegetlinkinfo",a=new WeakMap,u={standard:"standard_webPage"};function l(e,t){return new Promise((n,r)=>{const i=new CustomEvent(s,{detail:{stateRef:t,callback:(e,t)=>{e?r(e):n(t)}},bubbles:!0,composed:!0,cancelable:!0});e.dispatchEvent(i)})}e.LinkInfo=class{constructor(e,t){this.url=e,this.dispatcher=t,Object.freeze(this)}},e.getLinkInfo=l,e.hasLinkProvider=function(e){let{parentNode:t}=e;for(;t;){if(a.has(t))return!0;t=t.parentNode}return!1},e.isLinkProvider=function(e){return a.has(e)},e.registerLinkProvider=function(e,t){let n=a.get(e);void 0===n&&(n=new Set,a.set(e,n)),n.add(t),e.addEventListener(s,t)},e.unregisterLinkProvider=function(e,t){let n=a.get(e);n&&(n.delete(t),n.size||a.delete(e)),e.removeEventListener(s,t)},e.updateRawLinkInfo=function(e,{url:t,target:r}){return null==t&&console.error("url must be specified"),n.isCSR&&function(e,t){return!e||"_self"===e||t===o&&"_blank"===e||"_top"===e&&window.top===window||"_parent"===e&&window.parent===window}(r,i.default)?l(e,{stateType:u.standard,attributes:{url:t,target:r}}):new Promise(e=>{e({url:t,dispatcher:()=>{}})})},e.urlTypes=u,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/formattedRichText",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/purifyLib","lightning/routingService","lightning/utilsPrivate"],function(e,t,i,n,a,r){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(i),c=l(n);var o=[function(){return""}];const d={attrs:{part:"formatted-rich-text"},context:{lwc:{dom:"manual"}},key:0};function h(e,t,i,n){const{h:a}=e;return[a("span",d)]}var p=t.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-4nfn2rc40ch",h.legacyStylesheetToken="lightning-formattedRichText_formattedRichText",o&&h.stylesheets.push.apply(h.stylesheets,o),t.freezeTemplate(h);const u=Object.freeze(["a","abbr","acronym","address","b","br","big","blockquote","caption","cite","code","col","colgroup","del","div","dl","dd","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","ol","mark","p","param","pre","q","s","samp","small","span","strong","sub","sup","table","tbody","td","tfoot","th","thead","tr","tt","u","ul","var","strike","font"]),f=Object.freeze(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","coords","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","name","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","rows","rowspan","spellcheck","scope","selected","shape","size","span","srclang","start","src","step","style","summary","tabindex","target","title","type","usemap","valign","value","width","xmlns","data-fileid"]),m=Object.freeze(["ftp","ftps","http","https","mailto","tel","callto","cid","xmpp","ciscotel","navision"]).join("|"),g=new RegExp(`^(?:(?:${m}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"),k=Object.freeze({ALLOWED_TAGS:u,ALLOWED_ATTR:f,ALLOWED_URI_REGEXP:g,ALLOW_UNKNOWN_PROTOCOLS:!1});class b extends s.default{constructor(...e){super(...e),this.initialRender=!0,this._value="",this._disableLinkify=!1,this.connected=!1,this.clean=!1}get disableLinkify(){return this._disableLinkify}set disableLinkify(e){this._disableLinkify=r.normalizeBoolean(e),this.renderRichText()}get value(){return this._value}set value(e){this._value=null==e?"":String(e),this.renderRichText()}renderedCallback(){this.initialRender&&(this.renderRichText(),this.initialRender=!1)}connectedCallback(){super.connectedCallback(),this.classList.add("slds-rich-text-editor__output"),this.connected=!0}disconnectedCallback(){this.removeLinkClickListeners(),this.connected=!1}handleClick(e){const t=e.currentTarget;if(null==t)return;const i=t.target,n=t.href;a.updateRawLinkInfo(this,{url:n,target:i}).then(i=>{t.href=i.url,i.dispatcher(e)})}sanitize(e){if(!e)return this.clean=!0,e;let t;this.clean=!1;let i=k;r.hasOnlyAllowedVideoIframes(e)&&(i={...k,ALLOWED_TAGS:k.ALLOWED_TAGS.concat(["iframe"]),ALLOWED_ATTR:k.ALLOWED_ATTR.concat(["allowfullscreen"])});try{t=c.default(e,i),this.clean=!0}catch(i){console.warn("<lightning-formatted-rich-text> Exception caught when attempting to sanitize: ",i),t=e,this.clean=!1}return t}renderRichText(){if(this.connected){const e=this.sanitize(this.value),t=this.container;if(this.clean)t.innerHTML=e;else{const i=document.createTextNode(e);for(;t.hasChildNodes();)t.removeChild(t.lastChild);t.appendChild(i)}this.disableLinkify||function(e){const t=new RegExp(`^${r.urlRegexString}/?$`,"i"),i=new RegExp(`^${r.emailRegexString}$`,"i"),n=[],a=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(;a.nextNode();){const e=a.currentNode,l=a.currentNode.parentNode;if("A"===l.nodeName)continue;const s=a.currentNode.nodeValue.split(/(&quot;|;|["']?\s+["']?|["'])/g),c=document.createDocumentFragment();let o=!1;s.forEach((e,n)=>{if(n%2==0)if(e.match(t)){const t=document.createElement("a");t.href=r.createHttpHref(e),t.target="_blank",t.rel="noopener",t.appendChild(document.createTextNode(e)),c.appendChild(t),o=!0}else if(e.match(i)){const t=document.createElement("a");t.href=r.createEmailHref(e),t.appendChild(document.createTextNode(e)),c.appendChild(t),o=!0}else e&&c.appendChild(document.createTextNode(e));else e&&c.appendChild(document.createTextNode(e))}),o&&n.push({parent:l,fragment:c,currentNode:e})}n.forEach(({parent:e,fragment:t,currentNode:i})=>{e.replaceChild(t,i)})}(t),this.addLinkClickListeners()}}addLinkClickListeners(){this.links.forEach(e=>{e.addEventListener("click",this.handleClick.bind(this))})}removeLinkClickListeners(){this.links.forEach(e=>{e.removeEventListener("click",this.handleClick.bind(this))})}get links(){return this.container?[...this.container.querySelectorAll("a")]:[]}get container(){return this.template.querySelector("span")}}b.validationOptOut=["class"],t.registerDecorators(b,{publicProps:{disableLinkify:{config:3},value:{config:3}},fields:["initialRender","_value","_disableLinkify","connected","clean"]});const L=t.registerComponent(b,{tmpl:p,sel:"lightning-formatted-rich-text",apiVersion:62});e.default=L,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/label/LightningControl.required', ['@view/home/labels'], m => m[130]);LWR.define('@salesforce/label/LightningCombobox.placeholder', ['@view/home/labels'], m => m[131]);LWR.define('@salesforce/label/LightningInput.helptextAlternativeText', ['@view/home/labels'], m => m[132]);LWR.define('@salesforce/label/LightningHelptext.buttonAlternativeText', ['@view/home/labels'], m => m[133]);(function() { LWR.define("lightning/helptext",["exports","lwc","lightning/buttonIcon","@salesforce/label/LightningHelptext.buttonAlternativeText","lightning/shadowBaseClassPrivate","lightning/iconUtils","lightning/utilsPrivate"],function(t,e,n,i,a,s,o){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var l=r(n),c=r(i),u=r(a);var g=[function(){return""},function(t,e,n){return(e?":host(.modal_header) .slds-form-element__icon":(t?"["+t+"-host]":"")+".modal_header .slds-form-element__icon")+(t?"["+t+"]":"")+" {padding-top: unset;padding-left: var(--slds-g-sizing-2);}"}];const h={classMap:{"slds-form-element__icon":!0},attrs:{part:"help-text"},key:0};function d(t,e,n,i){const{ti:a,c:s,h:o}=t;return[o("div",h,[s("lightning-button-icon",l.default,{props:{iconName:e.iconName,iconClass:e.computedIconClass,variant:e.computedButtonVariant,alternativeText:e.alternativeText,disableAlternativeTextTitle:!0,tooltip:e.content,tabIndex:a(e.tabIndex),tooltipType:"toggle"},key:1})])]}var p=e.registerTemplate(d);d.stylesheets=[],d.stylesheetToken="lwc-287jov2qseb",d.legacyStylesheetToken="lightning-helptext_helptext",g&&d.stylesheets.push.apply(d.stylesheets,g),e.freezeTemplate(d);const f=c.default,m="utility:info",v="bare";class x extends u.default{constructor(...t){super(...t),this.state={iconName:m,iconVariant:v,alternativeText:f},this.content=void 0,this.tabIndex=void 0}get iconName(){return s.isValidName(this.state.iconName)?this.state.iconName:m}set iconName(t){this.state.iconName=t}get iconVariant(){return o.normalizeString(this.state.iconVariant,{fallbackValue:v,validValues:["bare","error","inverse","warning"]})}set iconVariant(t){this.state.iconVariant=t}get alternativeText(){return this.state.alternativeText}set alternativeText(t){t&&"string"==typeof t&&""!==t.trim()?this.state.alternativeText=t:console.warn(`<lightning-helptext> Invalid alternativeText value: ${t}`)}focus(){this.template.querySelector("lightning-button-icon").focus()}get computedButtonVariant(){return"inverse"===this.iconVariant?"bare-inverse":"bare"}get computedIconClass(){switch(this.iconVariant){case"error":return"slds-icon-text-error";case"warning":return"slds-icon-text-warning";default:return""}}}e.registerDecorators(x,{publicProps:{content:{config:0},tabIndex:{config:0},iconName:{config:3},iconVariant:{config:3},alternativeText:{config:3}},publicMethods:["focus"],track:{state:1}});const b=e.registerComponent(x,{tmpl:p,sel:"lightning-helptext",apiVersion:62});t.default=b,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('@salesforce/label/LightningErrorMessage.validityBadInput', ['@view/home/labels'], m => m[134]);LWR.define('@salesforce/label/LightningErrorMessage.validityBadNumericInput', ['@view/home/labels'], m => m[135]);LWR.define('@salesforce/label/LightningErrorMessage.validityPatternMismatch', ['@view/home/labels'], m => m[136]);LWR.define('@salesforce/label/LightningErrorMessage.validityRangeOverflow', ['@view/home/labels'], m => m[137]);LWR.define('@salesforce/label/LightningErrorMessage.validityRangeUnderflow', ['@view/home/labels'], m => m[138]);LWR.define('@salesforce/label/LightningErrorMessage.validityStepMismatch', ['@view/home/labels'], m => m[139]);LWR.define('@salesforce/label/LightningErrorMessage.validityTooLong', ['@view/home/labels'], m => m[140]);LWR.define('@salesforce/label/LightningErrorMessage.validityTooShort', ['@view/home/labels'], m => m[141]);LWR.define('@salesforce/label/LightningErrorMessage.validityTypeMismatch', ['@view/home/labels'], m => m[142]);LWR.define('@salesforce/label/LightningErrorMessage.validityValueMissing', ['@view/home/labels'], m => m[143]);LWR.define('@salesforce/label/LightningErrorMessage.validitySelectAtleastOne', ['@view/home/labels'], m => m[144]);(function() { LWR.define("lightning/inputUtils",["exports","lightning/utilsPrivate","@salesforce/label/LightningErrorMessage.validityBadInput","@salesforce/label/LightningErrorMessage.validityBadNumericInput","@salesforce/label/LightningErrorMessage.validityPatternMismatch","@salesforce/label/LightningErrorMessage.validityRangeOverflow","@salesforce/label/LightningErrorMessage.validityRangeUnderflow","@salesforce/label/LightningErrorMessage.validityStepMismatch","@salesforce/label/LightningErrorMessage.validityTooLong","@salesforce/label/LightningErrorMessage.validityTooShort","@salesforce/label/LightningErrorMessage.validityTypeMismatch","@salesforce/label/LightningErrorMessage.validityValueMissing","@salesforce/label/LightningErrorMessage.validitySelectAtleastOne"],function(t,e,i,n,s,r,a,o,u,l,c,h,p){function d(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var g=d(i),m=d(n),f=d(s),v=d(r),_=d(a),y=d(o),b=d(u),M=d(l),E=d(c),A=d(h),I=d(p);let L=0;function C(t,e,i){const n=i||{};let s,r=n.leading;return function(){const i=Array.prototype.slice.apply(arguments);r&&(t.apply(this,i),r=!1),clearTimeout(s),s=setTimeout(function(){t.apply(this,i),r=n.leading},e)}}const V=["customError","badInput","badNumericInput","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort","typeMismatch","valueMissing","selectAtleastOneValue"],S={badInput:g.default,customError:g.default,badNumericInput:m.default,patternMismatch:f.default,rangeOverflow:v.default,rangeUnderflow:_.default,stepMismatch:y.default,tooLong:b.default,tooShort:M.default,typeMismatch:E.default,valueMissing:A.default,selectAtleastOneValue:I.default};function w(t,e){const i=t[e];return"function"==typeof i?i():"boolean"==typeof i&&i}function O(t){return Object.freeze((e=t,new class{get valueMissing(){return w(e,"valueMissing")}get typeMismatch(){return w(e,"typeMismatch")}get patternMismatch(){return w(e,"patternMismatch")}get tooLong(){return w(e,"tooLong")}get tooShort(){return w(e,"tooShort")}get rangeUnderflow(){return w(e,"rangeUnderflow")}get rangeOverflow(){return w(e,"rangeOverflow")}get stepMismatch(){return w(e,"stepMismatch")}get customError(){return w(e,"customError")}get badInput(){return w(e,"badInput")}get badNumericInput(){return w(e,"badNumericInput")}get selectAtleastOneValue(){return w(e,"validitySelectAtleastOneValue")}get valid(){return!(this.valueMissing||this.typeMismatch||this.patternMismatch||this.tooLong||this.tooShort||this.rangeUnderflow||this.rangeOverflow||this.stepMismatch||this.customError||this.badInput||this.badNumericInput||this.selectAtleastOneValue)}}));var e}function N(t,e){const i=function(t){let e;return t&&!1===t.valid&&(e="badInput",V.some(i=>!0===t[i]&&(e=i,!0))),e}(t);return i?e[i]?e[i]:S[i]:""}class T{constructor(t,i){e.assert("function"==typeof t),this._inputComponentProvider=t,this._constraintsProvider=Object.assign({},i),this._constraintsProvider.customError||(this._constraintsProvider.customError=()=>"string"==typeof this._customValidityMessage&&""!==this._customValidityMessage)}get validity(){return this._constraint||(this._constraint=O(this._constraintsProvider)),this._constraint}checkValidity(){const t=this.validity.valid;return t||this.inputComponent&&this.inputComponent.dispatchEvent(new CustomEvent("invalid",{cancellable:!0})),t}reportValidity(t){const i=this.checkValidity();return this.inputComponent&&(this.inputComponent.classList.toggle("slds-has-error",!i),e.reflectAttribute(this.inputComponent,"invalid",!i),t&&t(this.validationMessage)),i}setCustomValidity(t){this._customValidityMessage=t}get validationMessage(){return N(this.validity,{customError:this._customValidityMessage,badInput:this.inputComponent.messageWhenBadInput,badNumericInput:this.inputComponent.messageWhenBadInput,patternMismatch:this.inputComponent.messageWhenPatternMismatch,rangeOverflow:this.inputComponent.messageWhenRangeOverflow,rangeUnderflow:this.inputComponent.messageWhenRangeUnderflow,stepMismatch:this.inputComponent.messageWhenStepMismatch,tooShort:this.inputComponent.messageWhenTooShort,tooLong:this.inputComponent.messageWhenTooLong,typeMismatch:this.inputComponent.messageWhenTypeMismatch,valueMissing:this.inputComponent.messageWhenValueMissing,selectAtleastOneValue:this.inputComponent.messageWhenValueMissing})}get inputComponent(){return this._inputComponentElement||(this._inputComponentElement=this._inputComponentProvider()),this._inputComponentElement}}const D={STANDARD:"standard",LABEL_HIDDEN:"label-hidden",LABEL_STACKED:"label-stacked",LABEL_INLINE:"label-inline"};function R(t){const e=`${t}`;return""===e||null===e.match(/@\S*@/)&&(null===e.match(/[\s,]+/)&&null!==e.match(/^\S+@\S+$/))}t.FieldConstraintApi=T,t.FieldConstraintApiWithProxyInput=class{constructor(t,e={},i="input"){this._inputComponent=t,this._overrides=e,this._proxyInput=document.createElement(i)}setInputAttributes(t){return this._attributes=t,this._attributeUpdater=e=>{t&&("string"==typeof e?this._setAttribute(e,t[e]()):e.forEach(e=>{this._setAttribute(e,t[e]())}))},this._attributeUpdater}get validity(){return this._constraintApi.validity}checkValidity(){return this._constraintApi.checkValidity()}reportValidity(t){return this._constraintApi.reportValidity(t)}setCustomValidity(t){this._constraintApi.setCustomValidity(t),this._proxyInput.setCustomValidity(t)}get validationMessage(){return this._constraintApi.validationMessage}_setAttribute(t,e){if(null!=e&&!1!==e)if("value"===t){if("file"===this._proxyInput.type)return;this._proxyInput.value=e}else this._proxyInput.setAttribute(t,e);else this._removeAttribute(t)}_removeAttribute(t){this._proxyInput.removeAttribute(t)}get _constraintApi(){if(!this._privateConstraintApi){this._updateAllAttributes();const t=t=>{const e=this._overrides[t],i=this._proxyInput.hasAttribute("disabled")||this._proxyInput.hasAttribute("readonly");return"function"==typeof e?!i&&e():!i&&this._proxyInput.validity[t]},e=V.reduce((e,i)=>(e[i]=t.bind(this,i),e),{});this._privateConstraintApi=new T(this._inputComponent,e)}return this._privateConstraintApi}_updateAllAttributes(){this._attributes&&Object.entries(this._attributes).forEach(([t,e])=>{this._setAttribute(t,e())})}},t.InteractingState=class{constructor(t){const i=t&&t.duration>=0?t.duration:2e3;this.eventemitter=new e.EventEmitter,this._interacting=!1,this._debouncedLeave=C(this.leave.bind(this),i),this._debounceInteraction=t&&t.debounceInteraction,this._interactedRecently=!1,this._debounceInteraction&&(this._debouncedEmitLeave=C(()=>{this._interacting||(this._interactedRecently=!1,this.eventemitter.emit("leave"))},200),this._debouncedEmitEnter=()=>{this._interactedRecently||(this._interactedRecently=!0,this.eventemitter.emit("enter"))})}isInteracting(){return this._interacting}enter(){this._interacting||(this._interacting=!0,this._debounceInteraction?this._debouncedEmitEnter():this.eventemitter.emit("enter"))}onenter(t){this.eventemitter.on("enter",t)}leave(){this._interacting&&(this._interacting=!1,this._debounceInteraction?this._debouncedEmitLeave():this.eventemitter.emit("leave"))}onleave(t){this.eventemitter.on("leave",t)}interacting(){this.enter(),this._debouncedLeave()}},t.VARIANT=D,t.buildSyntheticValidity=O,t.debounce=C,t.generateUniqueId=function(t="input"){return L++,`${t}-${L}`},t.getErrorMessage=N,t.isEmptyObject=function(t){if(null==t||"object"!=typeof t)return!1;for(const e in t)return!1;return!0},t.isEmptyString=function(t){return null==t||"string"==typeof t&&""===t.trim()},t.isValidEmail=R,t.isValidMultipleEmails=function(t){const e=`${t}`;if(""===e)return!0;if(null!==e.match(/,\s*,/))return!1;const i=e.split(/\s*,\s*/g);for(let t=0;t<i.length;t++)if(!R(i[t]))return!1;return!0},t.normalizeInput=function(t){return"number"==typeof t||"string"==typeof t?String(t):""},t.normalizeVariant=function(t){return e.normalizeString(t,{fallbackValue:D.STANDARD,validValues:[D.STANDARD,D.LABEL_HIDDEN,D.LABEL_STACKED,D.LABEL_INLINE]})},Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('@salesforce/label/LightningCombobox.ariaSelectedOptions', ['@view/home/labels'], m => m[145]);LWR.define('@salesforce/label/LightningCombobox.deselectOptionKeyboard', ['@view/home/labels'], m => m[146]);LWR.define('@salesforce/label/LightningCombobox.loadingText', ['@view/home/labels'], m => m[147]);LWR.define('@salesforce/label/LightningCombobox.pillCloseButtonAlternativeText', ['@view/home/labels'], m => m[148]);(function() { LWR.define("lightning/icon",["exports","lwc","lightning/primitiveIcon","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/iconUtils"],function(t,e,i,s,n,a){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=r(i),o=r(s);var l=[function(){return""}];const u=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,h={part:"boundary"},d={exportparts:"icon"};function g(t,e,i,s){const{c:n,d:a,sp:r,st:o,h:l}=t;return[l("span",{style:e.iconBgColorStyle,attrs:h,key:0},[n("lightning-primitive-icon",c.default,{attrs:d,props:{iconName:e._iconName,size:e.size,variant:e.variant,src:e._src},key:1}),e.alternativeText?o(u,3,[r(1,null,a(e.alternativeText))]):null])]}var m=e.registerTemplate(g);g.stylesheets=[],g.stylesheetToken="lwc-4897l11qtae",g.legacyStylesheetToken="lightning-icon_icon",l&&g.stylesheets.push.apply(g.stylesheets,l),e.freezeTemplate(g);class p extends o.default{constructor(...t){super(...t),this._src=void 0,this._privateIconName=void 0,this._iconName=void 0,this._size=void 0,this._variant=void 0,this.alternativeText=void 0}get src(){return this.privateSrc}set src(t){this.privateSrc=t,t||this.updateIconName(this.iconName),t&&n.isIE11?this.setDefault():this._src=t}get iconName(){return this._privateIconName}set iconName(t){this._privateIconName=t,this.src||this.updateIconName(t)}updateIconName(t){if(t===this._iconName)return;const e={};if(void 0!==this._iconName){const t=a.computeSldsClass(this._iconName);Object.assign(e,{[t]:!1})}if(a.isValidName(t)){const i="action"===a.getCategory(t),s=a.computeSldsClass(t);Object.assign(e,{"slds-icon_container_circle":i,[s]:!0}),this._iconName=t,this.setAttribute("icon-name",t)}else console.warn(`<lightning-icon> Invalid icon name ${t}`),Object.assign(e,{"slds-icon_container_circle":!1}),this._iconName=void 0,this.removeAttribute("icon-name");n.classListMutation(this.classList,e)}get size(){return n.normalizeString(this._size,{fallbackValue:"medium",validValues:["xx-small","x-small","small","medium","large"]})}set size(t){this._size=t}get variant(){return t=this._variant,e=this._iconName,"bare"===t&&(t="inverse"),"utility"===a.getCategory(e)?n.normalizeString(t,{fallbackValue:"",validValues:["error","inverse","warning","success"]}):"inverse";var t,e}set variant(t){this._variant=t}connectedCallback(){super.connectedCallback(),this.classList.add("slds-icon_container")}renderedCallback(){this.template.host.hasAttribute("data-input-pill-search-icon")&&n.reflectAttribute(this.template.querySelector("lightning-primitive-icon"),"data-input-pill-search-primicon",!0)}setDefault(){this._src=void 0,this.updateIconName("standard:default")}get iconBgColorStyle(){const t=this.iconName;if(a.isValidName(t)){const e="--sds-c-icon-color-background",i="--slds-c-icon-color-background",s="transparent",n=a.getIconColor(t);return`${e}: var(${i}, ${n||s})`}return null}}p.validationOptOut=["class"],e.registerDecorators(p,{publicProps:{alternativeText:{config:0},src:{config:3},iconName:{config:3},size:{config:3},variant:{config:3}},fields:["_src","_privateIconName","_iconName","_size","_variant"]});const v=e.registerComponent(p,{tmpl:m,sel:"lightning-icon",apiVersion:62});t.default=v,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/sldsMediaObject",["exports"],function(i){var s=[function(i,s,e){var d=i?"["+i+"]":"";return".slds-media"+d+" {display: flex;align-items: flex-start;}.slds-media__figure"+d+" {flex-shrink: 0;margin-inline-end: var(--slds-g-spacing-3);}.slds-media__figure_fixed-width"+d+" {min-width: var(--slds-g-sizing-10);}.slds-media__body"+d+" {flex: 1;min-width: 0;}.slds-media__body"+d+",.slds-media__body"+d+"> :last-child"+d+" {margin-block-end: 0;}.slds-media-body-iefix"+d+" {flex-shrink: 0;flex-basis: auto;}.slds-media_small"+d+" .slds-media__figure"+d+" {margin-inline-end: var(--slds-g-spacing-1);}.slds-media_small"+d+" .slds-media__figure_reverse"+d+" {margin-inline-start: var(--slds-g-spacing-1);}.slds-media_large"+d+" .slds-media__figure"+d+" {margin-inline-end: var(--slds-g-spacing-5);}.slds-media_large"+d+" .slds-media__figure_reverse"+d+" {margin-inline-start: var(--slds-g-spacing-5);}.slds-media_inline"+d+" .slds-media__body"+d+" {flex: 0 1 auto;}.slds-media_center"+d+" {align-items: center;}.slds-media__figure_reverse"+d+" {margin-block: 0;margin-inline-start: var(--slds-g-spacing-3);margin-inline-end: 0;}@media (width <= 48em) {.slds-media_responsive"+d+" {display: block;}.slds-media_responsive"+d+" .slds-media__figure"+d+" {margin-block: 0;margin-inline-start: var(--slds-g-spacing-3);margin-inline-end: 0;}}"}];i.default=s,Object.defineProperty(i,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/baseComboboxFormattedText",["exports","lwc","lightning/shadowBaseClassPrivate"],function(t,e,s){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=r(s);const o=e.parseFragment`<strong${3}>${"t1"}</strong>`,n=[];function i(t,e,s,r){const{k:a,d:i,sp:l,st:h,t:g,i:x,f:u}=t;return u([e.hasParts?x(e.text,function(t){return[t.part.highlight?h(o,a(1,t.key),[l(1,null,i(t.part.text))]):null,t.part.highlight?null:g(i(t.part.text))]}):n,e.hasParts?null:g(i(e.text))])}var l=e.registerTemplate(i);i.stylesheets=[],i.stylesheetToken="lwc-2bf7evhq2m0",i.legacyStylesheetToken="lightning-baseComboboxFormattedText_baseComboboxFormattedText",e.freezeTemplate(i);class h extends a.default{constructor(...t){super(...t),this._text="",this.hasParts=void 0}get text(){return this._text}set text(t){this.hasParts=Array.isArray(t)&&t.length>0,this.hasParts?this._text=t.map((t,e)=>({part:t,key:e})):this._text=t}}e.registerDecorators(h,{publicProps:{text:{config:3}},track:{_text:1,hasParts:1}});const g=e.registerComponent(h,{tmpl:l,sel:"lightning-base-combobox-formatted-text",apiVersion:62});t.default=g,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/baseComboboxItem",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/icon","lightning/baseComboboxFormattedText"],function(t,e,s,i,l){function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=a(s),o=a(i),r=a(l);var c=[function(){return""}];const m=e.parseFragment`<span class="slds-truncate${0}"${"a0:title"}${2}>${"t1"}</span>`,h=e.parseFragment`<span class="slds-truncate${0}"${"a0:title"}${2}>${"t1"}</span>`,u={classMap:{"slds-media__figure":!0,"slds-listbox__option-icon":!0},key:0},g={classMap:{"slds-media__body":!0},key:2},p={classMap:{"slds-listbox__option-text":!0,"slds-listbox__option-text_entity":!0},key:3},x={"slds-truncate":!0},d={classMap:{"slds-listbox__option-meta":!0,"slds-listbox__option-meta_entity":!0},key:7},b={classMap:{"slds-media__figure":!0,"slds-media__figure_reverse":!0},key:11};function y(t,e,s,i){const{c:l,h:a,d:n,sp:c,st:y}=t;return[a("span",u,[e.item.iconName?l("lightning-icon",o.default,{props:{size:e.iconSize,alternativeText:e.item.iconAlternativeText,iconName:e.item.iconName},key:1}):null]),a("span",g,[a("span",p,[e.textHasParts?null:y(m,5,[c(0,{attrs:{title:e.item.text}},null),c(1,null,n(e.item.text))]),e.textHasParts?l("lightning-base-combobox-formatted-text",r.default,{classMap:x,props:{title:e.text,text:e.item.text},key:6}):null]),e.hasSubText?a("span",d,[e.subTextHasParts?null:y(h,9,[c(0,{attrs:{title:e.item.subText}},null),c(1,null,n(e.item.subText))]),e.subTextHasParts?l("lightning-base-combobox-formatted-text",r.default,{classMap:x,props:{title:e.subText,text:e.item.subText},key:10}):null]):null]),e.item.rightIconName?a("span",b,[l("lightning-icon",o.default,{props:{size:e.rightIconSize,alternativeText:e.item.rightIconAlternativeText,iconName:e.item.rightIconName},key:12})]):null]}var _=e.registerTemplate(y);y.stylesheets=[],y.stylesheetToken="lwc-3povdhm22r3",y.legacyStylesheetToken="lightning-baseComboboxItem_card",c&&y.stylesheets.push.apply(y.stylesheets,c),e.freezeTemplate(y);var T=[function(){return""}];const f=e.parseFragment`<span class="slds-truncate${0}"${"a0:title"}${2}>${"t1"}</span>`,k={classMap:{"slds-media__figure":!0,"slds-listbox__option-icon":!0},key:0},v={classMap:{"slds-media__body":!0},key:2},H={"slds-truncate":!0};function M(t,e,s,i){const{c:l,h:a,d:n,sp:c,st:m}=t;return[a("span",k,[e.item.iconName?l("lightning-icon",o.default,{props:{alternativeText:e.item.iconAlternativeText,iconName:e.item.iconName,size:"x-small"},key:1}):null]),a("span",v,[e.textHasParts?null:m(f,4,[c(0,{attrs:{title:e.item.text}},null),c(1,null,n(e.item.text))]),e.textHasParts?l("lightning-base-combobox-formatted-text",r.default,{classMap:H,props:{text:e.item.text,title:e.text},key:5}):null])]}var $=e.registerTemplate(M);M.stylesheets=[],M.stylesheetToken="lwc-7co8ha3nedg",M.legacyStylesheetToken="lightning-baseComboboxItem_inline",T&&M.stylesheets.push.apply(M.stylesheets,T),e.freezeTemplate(M);class z extends n.default{constructor(...t){super(...t),this.item={}}connectedCallback(){super.connectedCallback(),this.item.selectable&&this.setAttribute("aria-selected","false"),"option-inline"===this.item.type?this.classList.add("slds-media_small","slds-listbox__option_plain"):this.classList.add("slds-listbox__option_entity")}get textHasParts(){const t=this.item.text;return t&&Array.isArray(t)&&t.length>0}get subTextHasParts(){const t=this.item.subText;return t&&Array.isArray(t)&&t.length>0}render(){return"option-card"===this.item.type?_:$}highlight(){this.toggleHighlight(!0)}removeHighlight(){this.toggleHighlight(!1)}toggleHighlight(t){this.item.selectable&&(this.setAttribute("aria-selected",t?"true":"false"),this.classList.toggle("slds-has-focus",t))}partsToText(t){return t&&Array.isArray(t)&&t.length>0?t.map(t=>t.text).join(""):t}get rightIconSize(){return this.item.rightIconSize||"small"}get iconSize(){return this.item.iconSize||"small"}get text(){return this.partsToText(this.item.text)}get subText(){return this.partsToText(this.item.subText)}get hasSubText(){const t=this.item.subText;return t&&t.length>0}}e.registerDecorators(z,{publicProps:{item:{config:0}},publicMethods:["highlight","removeHighlight"]});const A=e.registerComponent(z,{tmpl:void 0,sel:"lightning-base-combobox-item",apiVersion:62});t.default=A,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/sldsUtilsAlignment",["exports"],function(e){var t=[function(e,t,n){return(t?":host([data-render-mode='shadow']) .slds-align_absolute-center":(e?"["+e+"-host]":"")+"[data-render-mode='shadow'] .slds-align_absolute-center")+(e?"["+e+"]":"")+" {display: flex;justify-content: center;align-content: center;align-items: center;margin: auto;}"}];e.default=t,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/spinner",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate"],function(t,e,i,a,s){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=n(i);var l=[function(){return""}];const o=e.parseFragment`<div part="backdrop"${3}></div>`,d=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,p=e.parseFragment`<div part="dot-a" class="slds-spinner__dot-a${0}"${2}></div>`,c=e.parseFragment`<div part="dot-b" class="slds-spinner__dot-b${0}"${2}></div>`,h={role:"status",part:"spinner"};function v(t,e,i,a){const{st:s,ncls:n,d:r,sp:l,h:v}=t;return[s(o,1),v("div",{className:n(e.computedClass),attrs:h,key:2},[e.validAlternativeText?s(d,4,[l(1,null,r(e._altText))]):null,s(p,6),s(c,8)])]}var u=e.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-47dd688sbro",v.legacyStylesheetToken="lightning-spinner_spinner",l&&v.stylesheets.push.apply(v.stylesheets,l),e.freezeTemplate(v);const g="medium",_="base";class m extends r.default{constructor(...t){super(...t),this.alternativeText=void 0,this._originalSize=g,this._privateSize=g,this._originalVariant=void 0,this._privateVariant=_,this._altText=null}get size(){return this._originalSize}set size(t){this._originalSize=t,this._privateSize=this.normalizeSize(t),this.setAttribute("size",this._privateSize)}get variant(){return this._originalVariant}set variant(t){this._originalVariant=t,this._privateVariant=this.normalizeVariant(t),this._privateVariant!==_&&this.setAttribute("variant",this._privateVariant)}connectedCallback(){super.connectedCallback(),this.classList.add("slds-spinner_container"),s.isCSR&&(this.template.addEventListener("mousewheel",this.stopScrolling),this.template.addEventListener("touchmove",this.stopScrolling))}renderedCallback(){setTimeout(()=>{this._altText=this.alternativeText},0)}normalizeVariant(t){return s.normalizeString(t,{fallbackValue:_,validValues:["base","brand","inverse"]})}normalizeSize(t){return s.normalizeString(t,{fallbackValue:g,validValues:["xx-small","x-small","small","medium","large"]})}get computedClass(){const t=a.classSet("slds-spinner");return this._privateVariant!==_&&t.add(`slds-spinner_${this._privateVariant}`),t.add(`slds-spinner_${this._privateSize}`),t.toString()}get validAlternativeText(){const t=s.isCSR&&!!this.alternativeText;return t||console.warn("<lightning-spinner> The alternativeText attribute should not be empty. Please add a description of what is causing the wait."),t}stopScrolling(t){t.preventDefault()}}m.validationOptOut=["class"],e.registerDecorators(m,{publicProps:{alternativeText:{config:0},size:{config:3},variant:{config:3}},fields:["_originalSize","_privateSize","_originalVariant","_privateVariant","_altText"]});const z=e.registerComponent(m,{tmpl:u,sel:"lightning-spinner",apiVersion:62});t.default=z,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/baseCombobox",["exports","lwc","lightning/icon","lightning/primitiveIcon","lightning/baseComboboxItem","lightning/spinner","@salesforce/label/LightningCombobox.ariaSelectedOptions","@salesforce/label/LightningCombobox.deselectOptionKeyboard","@salesforce/label/LightningCombobox.loadingText","@salesforce/label/LightningCombobox.pillCloseButtonAlternativeText","@salesforce/label/LightningCombobox.placeholder","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utils","lightning/positionLibrary","lightning/inputUtils","lightning/ariaObserver"],function(t,e,i,n,s,o,l,a,r,d,p,h,c,u,m,g,b){function _(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var w=_(i),v=_(n),I=_(s),f=_(o),A=_(l),D=_(a),y=_(r),x=_(d),E=_(p),O=_(h),C=_(b);var T=[[function(t,e,i){var n=t?"["+t+"]":"";return".slds-inline-logo"+n+" {height: 1rem;margin-top: 1rem;margin-bottom: 1rem;}input[aria-readonly='true']"+n+" {caret-color: transparent;}button:disabled"+n+",[type='button']:disabled"+n+" {cursor: not-allowed;}.fix-slds-input_faux"+n+" {line-height: max(1.875rem, calc(1.2em - 2px));}"}],function(){return""}];const k=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,N=e.parseFragment`<div role="status" class="slds-spinner slds-spinner_brand slds-spinner_x-small slds-input__spinner${0}"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span><div class="slds-spinner__dot-a${0}"${2}></div><div class="slds-spinner__dot-b${0}"${2}></div></div>`,P=e.parseFragment`<li role="presentation" class="slds-listbox__item${0}"${2}><div class="slds-media slds-listbox__option slds-listbox__option_plain slds-media_small${0}" role="presentation"${2}><h3 role="presentation"${"a2:title"} class="slds-listbox__option-header${0}"${2}>${"t3"}</h3></div></li>`,B=e.parseFragment`<div class="slds-align_absolute-center${0}"${2}><img${"a1:src"} class="slds-inline-logo${0}"${"a1:alt"}${"a1:title"}${2}></div>`,V={classMap:{"slds-combobox_container":!0},key:0},S={role:"none"},L={"slds-icon_container":!0,"slds-combobox__input-entity-icon":!0},R={"data-input-pill-search-icon":""},H={attrs:{part:"input-text"},key:4},M={attrs:{part:"input-container"},key:5},$={classMap:{"slds-truncate":!0},key:8},q={classMap:{"slds-input__icon-group":!0,"slds-input__icon-group_right":!0},key:9},F={"slds-button":!0,"slds-button_icon":!0,"slds-input__icon":!0,"slds-input__icon_right":!0},U={props:{iconName:"utility:close",variant:"bare",svgClass:"slds-button__icon"},key:11},z={classMap:{"slds-input__icon-group":!0,"slds-input__icon-group_right":!0},key:14},K={"slds-input__icon":!0,"slds-input__icon_right":!0},W={"slds-media":!0,"slds-listbox__option":!0,"slds-media_center":!0},j={"slds-listbox__item":!0},G={role:"presentation"},J={classMap:{"slds-listbox__item":!0,"slds-spinner_inline":!0},attrs:{role:"option"},key:25},Q={classMap:{"slds-align_absolute-center":!0,"slds-p-top_medium":!0,"slds-p-bottom_medium":!0},key:26},X=[];function Y(t,e,i,n){const{ncls:s,b:o,c:l,gid:a,h:r,d:d,t:p,sp:h,st:c,k:u,i:m,f:g}=t,{_m0:b,_m1:_,_m2:A,_m3:D,_m4:y,_m5:x,_m6:E,_m7:O,_m8:C,_m9:T,_m10:Y,_m11:Z,_m12:tt,_m13:et,_m14:it,_m15:nt,_m16:st,_m17:ot,_m18:lt}=n;return[r("div",V,[r("div",{className:s(e.computedDropdownTriggerClass),key:1,on:{click:b||(n._m0=o(e.handleTriggerClick))}},[r("div",{className:s(e.computedFormElementClass),attrs:S,key:2},[e.hasInputPill?l("lightning-icon",w.default,{classMap:L,attrs:R,props:{iconName:e.inputPill.iconName,alternativeText:e.inputPill.iconAlternativeText,size:"x-small"},key:3}):null,e.isUserInputDisabled?null:r("div",H,[r("div",M,[r("input",{className:s(e.computedInputClass),attrs:{id:a("combobox-input"),type:"text",role:e.customRole,accesskey:e.accessKey,"aria-expanded":e.computedAriaExpanded,"aria-haspopup":e.customAriaHasPopup,required:e.required?"":null,readonly:e._inputAriaReadOnly?"":null,autocomplete:e.autocomplete,"data-value":e.computedInputValue,name:e.name,placeholder:e.computedPlaceholder,maxlength:e.inputMaxlength,disabled:e.disabled?"":null,"aria-disabled":e.computedAriaDisabled,"aria-readonly":e._inputAriaReadOnly,"aria-autocomplete":e.computedAriaAutocomplete,"aria-owns":a("dropdown-element"),"aria-label":e.inputLabel,part:"input"},props:{value:e.computedInputValue},key:6,on:{focus:_||(n._m1=o(e.handleFocus)),select:A||(n._m2=o(e.handleInputSelect)),change:D||(n._m3=o(e.handleTextChange)),input:y||(n._m4=o(e.handleInput)),keydown:x||(n._m5=o(e.handleInputKeyDown)),click:E||(n._m6=o(e.handleInputClick)),blur:O||(n._m7=o(e.handleBlur))}})])]),e.isUserInputDisabled?r("button",{className:s(e.computedInputClass),attrs:{id:a("combobox-button"),type:"button","aria-expanded":e.computedAriaExpanded,"aria-haspopup":e.customAriaHasPopup,name:e.name,role:e.customRole,"data-value":e.computedInputValue,disabled:e.disabled?"":null,"aria-disabled":e.disabled,"aria-label":e.inputLabel,"aria-required":e.required},key:7,on:{focus:C||(n._m8=o(e.handleFocus)),keydown:T||(n._m9=o(e.handleInputKeyDown)),blur:Y||(n._m10=o(e.handleBlur))}},[r("span",$,[e.computedInputValue?p(d(e.computedInputValue)):null,e.computedInputValue?null:p(d(e.computedPlaceholder))])]):null,e.isCloseVisible?r("div",q,[r("button",{classMap:F,attrs:{type:"button",title:e.i18n.pillCloseButtonAlternativeText},key:10,on:{click:Z||(n._m11=o(e.handlePillRemove))}},[l("lightning-primitive-icon",v.default,U),c(k,13,[h(1,null,d(e.i18n.pillCloseButtonAlternativeText))])])]):null,e.hasInputPill?null:r("div",z,[e.showInputActivityIndicator?c(N,16,[h(2,null,d(e.i18n.loadingText))]):null,e.inputIconName?l("lightning-icon",w.default,{classMap:K,props:{alternativeText:e.inputIconAlternativeText,iconName:e.inputIconName,size:e.inputIconSize},key:17}):null])]),r("div",{className:s(e.computedDropdownClass),attrs:{id:a("dropdown-element"),"data-dropdown-element":"",role:"listbox",part:"dropdown overlay","aria-label":e.inputLabel},key:18,on:{scroll:tt||(n._m12=o(e.handleListboxScroll)),mousedown:et||(n._m13=o(e.handleDropdownMouseDown)),mouseup:it||(n._m14=o(e.handleDropdownMouseUp)),mouseleave:nt||(n._m15=o(e.handleDropdownMouseLeave)),click:st||(n._m16=o(e.handleOptionClick))}},e._hasDropdownOpened?g([m(e._items,function(t){return[t.items?null:l("lightning-base-combobox-item",I.default,{classMap:W,attrs:{"data-item-id":t.id,exportparts:"option","data-value":t.value},props:{role:"option",item:t,id:a(t.id),ariaChecked:t.checked},key:u(19,t.value),on:{mouseenter:ot||(n._m17=o(e.handleOptionMouseEnter))}}),t.items?r("ul",{attrs:{role:"group","aria-label":t.label},key:u(20,t.label)},g([t.label?c(P,22,[h(2,{attrs:{title:t.label}},null),h(3,null,d(t.label))]):null,m(t.items,function(t){return r("li",{classMap:j,attrs:G,key:u(23,t.value)},[l("lightning-base-combobox-item",I.default,{classMap:W,attrs:{"data-item-id":t.id,"data-value":t.value},props:{role:"option",item:t,id:a(t.id),ariaChecked:t.checked},key:24,on:{mouseenter:lt||(n._m18=o(e.handleOptionMouseEnter))}})])})])):null]}),e.showDropdownActivityIndicator?r("div",J,[r("div",Q,[l("lightning-spinner",f.default,{props:{size:"x-small",alternativeText:e.i18n.loadingText},key:27})])]):null,e.showAttribution?c(B,29,[h(1,{attrs:{src:e.attributionLogoUrl,alt:e.attributionLogoAssistiveText,title:e.attributionLogoAssistiveText}},null)]):null]):X)])])]}var Z=e.registerTemplate(Y);function tt(t){t.preventDefault(),t.stopPropagation()}function et({event:t,currentIndex:e,dropdownInterface:i}){tt(t),i.isDropdownVisible()||i.openDropdownIfNotEmpty();i.getTotalOptions()>0&&requestAnimationFrame(()=>{let n=0;n="PageUp"===t.key?Math.max(e-10,0):Math.min(e+10,i.getTotalOptions()-1),i.highlightOptionWithIndex(n)})}function it({event:t,dropdownInterface:e}){e.isInputReadOnly()&&(tt(t),e.isDropdownVisible()||e.openDropdownIfNotEmpty(),e.getTotalOptions()>0&&requestAnimationFrame(()=>{const i="Home"===t.key?0:e.getTotalOptions()-1;e.highlightOptionWithIndex(i)}))}function nt({event:t,currentIndex:e,dropdownInterface:i}){tt(t),i.isDropdownVisible()||i.openDropdownIfNotEmpty();const n="Up"===t.key||"ArrowUp"===t.key;let s;e>=0?(s=n?e-1:e+1,s>=i.getTotalOptions()?s=0:s<0&&(s=i.getTotalOptions()-1)):s=n?i.getTotalOptions()-1:0,i.getTotalOptions()>0&&requestAnimationFrame(()=>{i.highlightOptionWithIndex(s)})}function st({event:t,dropdownInterface:e}){e.isDropdownVisible()&&(t.stopPropagation(),e.closeDropdown())}function ot({event:t,dropdownInterface:e}){e.shouldPreventInputDeletion()&&t.preventDefault(),e.isDropdownVisible()||e.openDropdownIfNotEmpty()}Y.stylesheets=[],Y.stylesheetToken="lwc-4kb6kaqheak",Y.legacyStylesheetToken="lightning-baseCombobox_baseCombobox",T&&Y.stylesheets.push.apply(Y.stylesheets,T),e.freezeTemplate(Y);const lt={Enter:function({event:t,currentIndex:e,dropdownInterface:i}){tt(t),i.isDropdownVisible()&&e>=0?i.selectByIndex(e):i.openDropdownIfNotEmpty()},PageUp:et,PageDown:et,Home:it,End:it,Down:nt,Up:nt,ArrowUp:nt,ArrowDown:nt,Esc:st,Escape:st,Tab:function({event:t,dropdownInterface:e,currentIndex:i}){e.isDropdownVisible()&&i>=0&&(t.stopPropagation(),e.closeDropdown(),e.selectByIndex(i))},Backspace:ot,Delete:ot},at=["Enter","PageUp","PageDown","Home","End","Down","Up","ArrowUp","ArrowDown","Esc","Escape","Tab"],rt=({event:t,dropdownInterface:e})=>{var i;i=t.key,at.includes(i)?e.setEditingMode(!1):e.setEditingMode(!0)};function dt({event:t,currentIndex:e,dropdownInterface:i}){const n={event:t,currentIndex:e,dropdownInterface:i};lt[t.key]?lt[t.key](n):function({event:t,currentIndex:e,dropdownInterface:i}){t.key&&t.key.length>1||(i.isDropdownVisible()||i.openDropdownIfNotEmpty(),i.isInputReadOnly()&&(t.preventDefault(),requestAnimationFrame(()=>c.runActionOnBufferedTypedCharacters(t,i.highlightOptionWithText.bind(this,e||0)))))}(n),rt(n)}class pt{constructor(t){this.dispatchEvent=t.dispatchEvent.bind(t)}dispatchPillRemove(t){this.dispatchEvent(new CustomEvent("pillremove",{detail:{item:t}}))}dispatchEndReached(){this.dispatchEvent(new CustomEvent("endreached"))}dispatchFocus(){this.dispatchEvent(new CustomEvent("focus"))}dispatchBlur(){this.dispatchEvent(new CustomEvent("blur"))}dispatchTextInput(t){this.dispatchEvent(new CustomEvent("textinput",{detail:{text:t}}))}dispatchTextChange(t){this.dispatchEvent(new CustomEvent("textchange",{detail:{text:t}}))}dispatchSelect(t){this.dispatchEvent(new CustomEvent("select",{detail:{value:t}}))}dispatchDropdownOpen(){this.dispatchEvent(new CustomEvent("dropdownopen"))}dispatchDropdownOpenRequest(){this.dispatchEvent(new CustomEvent("dropdownopenrequest"))}}const ht={ariaSelectedOptions:A.default,deselectOptionKeyboard:D.default,pillCloseButtonAlternativeText:x.default,loadingText:y.default,placeholder:E.default},ct=".slds-combobox__input",ut=`${ct}.slds-input_faux`,mt="aria-label",gt="aria-activedescendant",bt="aria-invalid";class _t extends O.default{get autocomplete(){return this._autocomplete}set autocomplete(t){this._autocomplete=t||"off"}constructor(){super(),this.inputText="",this.inputIconName="utility:down",this.inputIconSize="x-small",this.inputIconAlternativeText=void 0,this.inputMaxlength=void 0,this.showInputActivityIndicator=!1,this.required=!1,this.placeholder=ht.placeholder,this.inputLabel=void 0,this.customRole="combobox",this.customAriaHasPopup="listbox",this.accessKey=void 0,this.name=void 0,this.inputPill=void 0,this.attributionLogoUrl=void 0,this.attributionLogoAssistiveText=void 0,this._showDropdownActivityIndicator=!1,this._items=[],this._disabled=!1,this._dropdownVisible=!1,this._hasDropdownOpened=!1,this._highlightedOptionElementId=null,this._variant=void 0,this._dropdownHeight="standard",this._readonly=!1,this._logoLoaded=!1,this._inputDescribedBy=[],this._inputAriaControls=void 0,this._inputAriaDetails=void 0,this._activeElementDomId=void 0,this._autocomplete="off",this._dropdownAlignment="left",this.originDisableDefaultHighlight=void 0,this.privateDisableDefaultHighlight=void 0,this._editingMode=!1,this._connected=!1,this.ariaObserver=null,this.ariaDisabled=void 0,this._events=new pt(this),this.setupAriaObserverIfAbsent()}renderedCallback(){this.dispatchEvent(new CustomEvent("ready",{detail:{id:this.inputId,name:this.name}})),this.syncAriaObserver(),this.synchronizeA11y(),c.reflectAttribute(this,"data-input-pill",this.hasInputPill),c.reflectAttribute(this.template.querySelector("lightning-primitive-icon"),"data-input-pill-close-primicon",this.isCloseVisible),c.reflectAttribute(this.template.querySelector("slds-combobox__input-entity-icon"),"data-input-pill-search-icon",this.hasInputPill)}connectedCallback(){super.connectedCallback(),this.setupAriaObserverIfAbsent(),c.isCSR&&this.overrideDropdownAlignment(),this.classList.add("slds-combobox_container"),this._connected=!0,this._keyboardInterface=this.dropdownKeyboardInterface()}disconnectedCallback(){this._connected=!1,this._listBoxElementCache=void 0,this.removeAriaObserver()}setupAriaObserverIfAbsent(){this.ariaObserver||(this.ariaObserver=new C.default(this))}removeAriaObserver(){this.ariaObserver&&this.ariaObserver.disconnect&&(this.ariaObserver.disconnect(),this.ariaObserver=null)}get dropdownAlignment(){return this._dropdownAlignment}set dropdownAlignment(t){this._dropdownAlignment=t}get inputControlsElement(){return this._inputAriaControls}set inputControlsElement(t){this._inputAriaControls=t,this.connectAriaControls()}get inputDetailsElements(){return this._inputAriaDetails}set inputDetailsElements(t){this._inputAriaDetails=t,this.connectAriaAttribute({attribute:"aria-details",relatedNodeIds:t})}syncAriaObserver(){this.setupAriaObserverIfAbsent();const t=this.ariaObserver&&this.ariaObserver.sync;this.isConnected&&t&&this.ariaObserver.sync()}connectAriaControls(){this.connectAriaAttribute({attribute:"aria-controls",relatedNodeIds:this._inputAriaControls,relatedNodes:this.dropdownElement})}connectAriaAttribute(t){if(this.setupAriaObserverIfAbsent(),this.ariaObserver&&this.ariaObserver.connect){const e=Array.isArray(t.relatedNodeIds)?t.relatedNodeIds.map(t=>c.getRealDOMId(t)).join(" "):c.getRealDOMId(t.relatedNodeIds);this.ariaObserver.connect({...t,targetSelector:ct,relatedNodeIds:e})}}get ariaErrorMessageElements(){return this._ariaErrorMessageElements}set ariaErrorMessageElements(t){this._ariaErrorMessageElements=t,this.connectAriaDescribedByElements()}get inputDescribedByElements(){return this._inputDescribedBy}set inputDescribedByElements(t){this._inputDescribedBy=t,this.connectAriaDescribedByElements()}connectAriaDescribedByElements(){this.connectAriaAttribute({attribute:"aria-describedby",relatedNodeIds:this._inputDescribedBy,relatedNodes:this.ariaErrorMessageElements})}get inputLabelledByElement(){return this._inputLabelledBy}set inputLabelledByElement(t){this._inputLabelledBy=t,this.connectAriaAttribute({attribute:"aria-labelledby",relatedNodeIds:t})}get rootAriaNode(){return this.ariaObserver.root}set rootAriaNode(t){this.setupAriaObserverIfAbsent(),this.ariaObserver&&(this.ariaObserver.root=t)}get inputId(){return c.getRealDOMId(this.inputElement)}get dropdownHeight(){return this._dropdownHeight}set dropdownHeight(t){this._dropdownHeight=c.normalizeString(t,{fallbackValue:"standard",validValues:["standard","small"]})}get showDropdownActivityIndicator(){return this._showDropdownActivityIndicator}set showDropdownActivityIndicator(t){this._showDropdownActivityIndicator=c.normalizeBoolean(t),this._connected&&(this._showDropdownActivityIndicator?this._shouldOpenDropDown&&this.openDropdownIfNotEmpty():this._dropdownVisible&&this.isDropdownEmpty&&this.closeDropdown())}get computedAriaDisabled(){return!("true"!==this.ariaDisabled&&!this.disabled)}get disabled(){return this._disabled}set disabled(t){this._disabled=c.normalizeBoolean(t),c.reflectAttribute(this,"disabled",this._disabled),this._disabled&&this._dropdownVisible&&this.closeDropdown()}get readOnly(){return this._readonly}set readOnly(t){this._readonly=c.normalizeBoolean(t),this._readonly&&this._dropdownVisible&&this.closeDropdown()}get variant(){return this._variant||g.VARIANT.STANDARD}set variant(t){this._variant=c.normalizeString(t,{fallbackValue:g.VARIANT.STANDARD,validValues:[g.VARIANT.STANDARD,g.VARIANT.LABEL_INLINE,g.VARIANT.LABEL_STACKED,g.VARIANT.LABEL_HIDDEN,"lookup"]})}get items(){return this._unprocessedItems}set items(t=[]){this._unprocessedItems=t,this.updateItems(t),this._connected&&(this._hasDropdownOpened&&(this.updateItems(t),this._dropdownVisible&&(this.isDropdownEmpty?this.closeDropdown():(this.highlightDefaultItem(),this.startDropdownAutoPositioning()))),this._shouldOpenDropDown&&this.openDropdownIfNotEmpty())}get disableDefaultHighlight(){return this.originDisableDefaultHighlight}set disableDefaultHighlight(t){this.originDisableDefaultHighlight=t,this.privateDisableDefaultHighlight=c.normalizeBoolean(t)}highlightInputText(){this._connected&&requestAnimationFrame(()=>{const{inputElement:t}=this;t.setSelectionRange(0,t.value.length)})}get showAttribution(){return this.attributionLogoUrl}focus(){this._connected&&this.inputElement.focus()}focusAndOpenDropdownIfNotEmpty(){this._connected&&(this._inputHasFocus||this.focus(),this.openDropdownIfNotEmpty())}blur(){this._connected&&this.inputElement.blur()}synchronizeA11y(){const t=this.inputElement;t&&(c.synchronizeAttrs(t,{[mt]:this.inputLabel,[bt]:this.computedAriaInvalid,[gt]:this.computedAriaActiveDescendant}),this.isConnected&&this.connectAriaControls())}itemId(t){return this.inputId+"-"+t}itemIndexFromId(t){return parseInt(t.substring(t.lastIndexOf("-")+1),10)}processItem(t){const e={};return e.type=t.type,e.iconName=t.iconName,e.iconSize=t.iconSize,e.iconAlternativeText=t.iconAlternativeText,e.rightIconName=t.rightIconName,e.rightIconSize=t.rightIconSize,e.rightIconAlternativeText=t.rightIconAlternativeText,e.text=t.text,e.subText=t.subText,e.value=t.value,e.checked=t.checked||!1,e.selectable=["option-card","option-inline"].indexOf(t.type)>=0,e.selectable&&(e.index=this._selectableItems,e.id=this.itemId(e.index),this._selectableItems+=1,t.highlight&&(this._highlightedItemIndex=e.index)),e}get isAutocompleteEnabled(){return this.autocomplete&&"off"!==this.autocomplete}get isStandardOrLabelVariant(){return[g.VARIANT.STANDARD,g.VARIANT.LABEL_INLINE,g.VARIANT.LABEL_STACKED,g.VARIANT.LABEL_HIDDEN].includes(this.variant)}get isDefaultReadOnlyTypes(){return this.isStandardOrLabelVariant||this.hasInputPill}get isUserInputDisabled(){return this.isStandardOrLabelVariant&&!this.isAutocompleteEnabled}get _inputAriaReadOnly(){return!(!this._dropdownVisible||!this.isStandardOrLabelVariant)||(this._readonly||!this.isAutocompleteEnabled&&this.isDefaultReadOnlyTypes)}get computedAriaActiveDescendant(){return this.isUserInputDisabled||!this._editingMode?this._activeElementDomId:void 0}get computedAriaAutocomplete(){return this.hasInputPill?null:this._inputAriaReadOnly?"none":"list"}get computedPlaceholder(){return this.hasInputPill?this.inputPill.label:this.placeholder}get computedInputValue(){return this.hasInputPill?this.inputPill.label:this.inputText}handleListboxScroll(t){t.stopPropagation();const e=t.target,i=e.getBoundingClientRect().height,n=e.scrollHeight-i;e.scrollTop+20>=n&&this._events.dispatchEndReached()}get listboxElement(){return this._listBoxElementCache||(this._listBoxElementCache=this.template.querySelector('[role="listbox"]')),this._listBoxElementCache}get computedUniqueElementId(){return this.inputId}get dropdownElement(){return c.isCSR?this.template.querySelector("[data-dropdown-element]"):null}get i18n(){return ht}get computedDropdownTriggerClass(){return u.classSet("slds-combobox slds-dropdown-trigger slds-dropdown-trigger_click").add({"slds-is-open":this._dropdownVisible}).toString()}get computedDropdownClass(){const t=this.dropdownAlignment;let e="";return this._dropdownVisible&&("standard"===this.dropdownHeight?e=window.innerHeight<=834?"slds-dropdown_length-with-icon-7":"slds-dropdown_length-with-icon-10":"small"===this.dropdownHeight&&(e="slds-dropdown_length-with-icon-5")),u.classSet(`slds-listbox slds-listbox_vertical slds-dropdown slds-dropdown_fluid ${e}`).add({"slds-dropdown_left":"left"===t||"auto"===t,"slds-dropdown_center":"center"===t,"slds-dropdown_right":"right"===t,"slds-dropdown_bottom":"bottom-center"===t,"slds-dropdown_bottom slds-dropdown_right slds-dropdown_bottom-right":"bottom-right"===t,"slds-dropdown_bottom slds-dropdown_left slds-dropdown_bottom-left":"bottom-left"===t}).toString()}get computedInputClass(){const t=u.classSet("slds-combobox__input");return t.add({"slds-input_faux":this.isUserInputDisabled,"fix-slds-input_faux":this.isUserInputDisabled,"slds-input":!this.isUserInputDisabled,"slds-is-disabled":this.disabled,"slds-combobox__input-value":this.computedInputValue,"slds-input-has-icon_group-right":!this.computedInputValue&&this.showInputActivityIndicator}),t.toString()}get _shouldOpenDropDown(){return!this.dropdownDisabled&&this._inputHasFocus&&this._requestedDropdownOpen}get dropdownDisabled(){return this.readOnly||this.disabled}handleOptionClick(t){t.target.hasAttribute("aria-selected")&&(t.stopPropagation(),t.preventDefault(),this.selectOptionAndCloseDropdown(t.target))}handleOptionMouseEnter(t){t.target.hasAttribute("aria-selected")&&(this._editingMode=!1,this.highlightOption(t.target))}handleDropdownMouseLeave(){this.removeHighlight(),this._inputHasFocus||this.closeDropdown()}handleTriggerClick(t){t.stopPropagation(),this.allowBlur(),this.dropdownDisabled||this.hasInputPill||(this._inputAriaReadOnly&&this._dropdownVisible?this.closeDropdown():this.openDropdownIfNotEmpty(),this.inputElement.focus())}handlePillKeyDown(t){this.dropdownDisabled||"Delete"!==t.key&&"Del"!==t.key&&"Backspace"!==t.key||this.handlePillRemove()}handleInputKeyDown(t){this.dropdownDisabled||t.isComposing||229===t.keyCode||t.ctrlKey||t.altKey||(this.hasInputPill?this.handlePillKeyDown(t):dt({event:t,currentIndex:this.getCurrentHighlightedOptionIndex(),dropdownInterface:this._keyboardInterface}))}handleInputClick(){this.dispatchEvent(new CustomEvent("inputclick"))}handleTextChange(t){const e=t.target.value;if(this.variant===g.VARIANT.STANDARD){let t;const i=this._unprocessedItems.find(t=>t.value===e);if(t=i,!i){t=this._unprocessedItems.find(t=>t.value&&t.text===e)}t&&this._events.dispatchSelect(t.value)}else this._events.dispatchTextChange(e)}handleFocus(){this._inputHasFocus=!0,this._events.dispatchFocus()}handleInput(t){this.hasInputPill||this._events.dispatchTextInput(t.target.value)}handleBlur(){this._inputHasFocus=!1,this._cancelBlur||(this.closeDropdown(),this._events.dispatchBlur())}handleDropdownMouseDown(t){0===t.button&&this.cancelBlur()}handleDropdownMouseUp(){this.allowBlur()}highlightOption(t){this.removeHighlight(),t&&(t.highlight(),this._highlightedOptionElement=t,this._highlightedOptionElementId=t.getAttribute("data-item-id"),this._activeElementDomId=t.id),this.synchronizeA11y()}highlightOptionAndScrollIntoView(t){0!==this._selectableItems.length&&t&&(this.highlightOption(t),function(t,e){const i=e.getBoundingClientRect(),n=t.getBoundingClientRect();n.top<i.top?t.offsetTop+n.height<i.height?e.scrollTop=0:e.scrollTop=t.offsetTop:n.bottom>i.bottom&&(e.scrollTop+=n.bottom-i.bottom)}(t,this.listboxElement))}removeHighlight(){const t=this._highlightedOptionElement;t&&(t.removeHighlight(),this._highlightedOptionElement=null,this._highlightedOptionElementId=null,this._activeElementDomId=null)}selectOptionAndCloseDropdown(t){this.closeDropdown(),this.inputElement.focus();const e=t.getAttribute("data-value");this._events.dispatchSelect(e)}handleInputSelect(t){t.stopPropagation()}openDropdownIfNotEmpty(){if(this._dropdownVisible)return;(!Array.isArray(this.items)||0===this.items.length)&&!this._requestedDropdownOpen&&this._events.dispatchDropdownOpenRequest(),this.isDropdownEmpty?this._requestedDropdownOpen=!0:(this._hasDropdownOpened||(this._unprocessedItems&&this.updateItems(this._unprocessedItems),this._hasDropdownOpened=!0),this._requestedDropdownOpen=!1,this._dropdownVisible=!0,this.startDropdownAutoPositioning(),this.highlightDefaultItem(),this._events.dispatchDropdownOpen())}closeDropdown(){this._dropdownVisible&&(this.stopDropdownPositioning(),this.removeHighlight(),this._dropdownVisible=!1)}findOptionElementByIndex(t){return this.template.querySelector(`[data-item-id="${this.itemId(t)}"]`)}allowBlur(){this._cancelBlur=!1}cancelBlur(){this._cancelBlur=!0}getCurrentHighlightedOptionIndex(){return this._highlightedOptionElementId&&this._highlightedOptionElementId.length>0?this.itemIndexFromId(this._highlightedOptionElementId):-1}get inputElement(){return c.isCSR?this.template.querySelector(ct):null}startDropdownAutoPositioning(){if("auto"!==this.dropdownAlignment)return;this._autoPosition||(this._autoPosition=new m.AutoPosition(this));const t=this.isUserInputDisabled?ut:'[part~="input-text"]';this._autoPosition.start({target:()=>this.template.querySelector(t),element:()=>this.template.querySelector("div.slds-dropdown"),align:{horizontal:m.Direction.Left,vertical:m.Direction.Top},targetAlign:{horizontal:m.Direction.Left,vertical:m.Direction.Bottom},autoFlip:!0,alignWidth:!0,autoShrinkHeight:!0,minHeight:this._selectableItems<3?"2.25rem":"6.75rem",keepInViewport:!0})}stopDropdownPositioning(){this._autoPosition&&this._autoPosition.stop()}get hasInputPill(){return this.inputPill&&Object.keys(this.inputPill).length>0}get isCloseVisible(){return!this.disabled&&this.hasInputPill}handlePillRemove(){this.inputElement.focus(),this._events.dispatchPillRemove(this.inputPill)}get computedFormElementClass(){const t=this.hasInputPill&&this.inputPill.iconName;return u.classSet("slds-combobox__form-element slds-input-has-icon").add({"slds-input-has-icon_right":!t,"slds-input-has-icon_left-right":t}).toString()}get computedAriaExpanded(){return this._dropdownVisible?"true":"false"}updateItems(t){t&&(c.assert(Array.isArray(t),'"items" must be an array'),this._selectableItems=0,this._highlightedItemIndex=0,this._items=t.map(t=>{if(t.items){const e={label:t.label};return e.items=t.items.map(t=>this.processItem(t)),e}return this.processItem(t)}))}highlightDefaultItem(){this.removeHighlight(),this.privateDisableDefaultHighlight||this._editingMode||requestAnimationFrame(()=>{this.highlightOptionAndScrollIntoView(this.findOptionElementByIndex(this._highlightedItemIndex))})}get isDropdownEmpty(){return!(this.showDropdownActivityIndicator||Array.isArray(this.items)&&0!==this.items.length)}dropdownKeyboardInterface(){const t=this;return{getTotalOptions:()=>t._selectableItems,selectByIndex(e){t.selectOptionAndCloseDropdown(t.findOptionElementByIndex(e))},highlightOptionWithIndex(e){t.highlightOptionAndScrollIntoView(t.findOptionElementByIndex(e))},isInputReadOnly:()=>t._inputAriaReadOnly,shouldPreventInputDeletion:()=>t.isAutocompleteEnabled&&t.isDefaultReadOnlyTypes,highlightOptionWithText(e,i){for(let n=e+1;n<t._items.length;n++){const e=t._items[n];if(e.selectable&&e.text&&0===e.text.toLowerCase().indexOf(i.toLowerCase()))return void t.highlightOptionAndScrollIntoView(t.findOptionElementByIndex(n))}for(let n=0;n<e;n++){const e=t._items[n];if(e.selectable&&e.text&&0===e.text.toLowerCase().indexOf(i.toLowerCase()))return void t.highlightOptionAndScrollIntoView(t.findOptionElementByIndex(n))}},isDropdownVisible:()=>t._dropdownVisible,openDropdownIfNotEmpty(){t.openDropdownIfNotEmpty()},closeDropdown(){t.closeDropdown()},setEditingMode(e){t._editingMode=e,e&&(t._activeElementDomId=null),t.synchronizeA11y()}}}get computedAriaInvalid(){const t=this.template.host.getAttribute("data-aria-invalid");return c.computeAriaInvalid(t,!0)}isShadowRoot(t){return t&&11===t.nodeType}parentNodeContainsClass(t,e){let i=t;for(;i.parentNode;)if(i=this.isShadowRoot(i.parentNode)?i.parentNode.host:i.parentNode,i.classList&&i.classList.contains(e))return!0;return!1}overrideDropdownAlignment(){this.parentNodeContainsClass(this.template.host,"slds-modal")&&(this._dropdownAlignment="auto")}}_t.delegatesFocus=!0,_t.validationOptOut=["class"],e.registerDecorators(_t,{publicProps:{autocomplete:{config:3},inputText:{config:0},inputIconName:{config:0},inputIconSize:{config:0},inputIconAlternativeText:{config:0},inputMaxlength:{config:0},showInputActivityIndicator:{config:0},required:{config:0},placeholder:{config:0},inputLabel:{config:0},customRole:{config:0},customAriaHasPopup:{config:0},accessKey:{config:0},name:{config:0},inputPill:{config:0},attributionLogoUrl:{config:0},attributionLogoAssistiveText:{config:0},dropdownAlignment:{config:3},inputControlsElement:{config:3},inputDetailsElements:{config:3},ariaErrorMessageElements:{config:3},inputDescribedByElements:{config:3},inputLabelledByElement:{config:3},rootAriaNode:{config:3},dropdownHeight:{config:3},showDropdownActivityIndicator:{config:3},ariaDisabled:{config:0},computedAriaDisabled:{config:1},disabled:{config:3},readOnly:{config:3},variant:{config:3},items:{config:3},disableDefaultHighlight:{config:3}},publicMethods:["highlightInputText","focus","focusAndOpenDropdownIfNotEmpty","blur"],track:{_items:1},fields:["_showDropdownActivityIndicator","_disabled","_dropdownVisible","_hasDropdownOpened","_highlightedOptionElementId","_variant","_dropdownHeight","_readonly","_logoLoaded","_inputDescribedBy","_inputAriaControls","_inputAriaDetails","_activeElementDomId","_autocomplete","_dropdownAlignment","originDisableDefaultHighlight","privateDisableDefaultHighlight","_editingMode","_connected","ariaObserver"]});const wt=e.registerComponent(_t,{tmpl:Z,sel:"lightning-base-combobox",apiVersion:62});t.default=wt,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/sldsGenAiUtils",["exports"],function(e){var n=[function(e,n,t){return(n?':host([class*="gen-ai-enabled"]) {':(e?"["+e+"-host]":"")+'[class*="gen-ai-enabled"] {')+"padding: 0;margin-bottom: 0;}"}];e.default=n,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/combobox",["exports","lwc","lightning/sldsGenAiUtils","lightning/helptext","lightning/baseCombobox","@salesforce/label/LightningControl.required","@salesforce/label/LightningCombobox.placeholder","@salesforce/label/LightningInput.helptextAlternativeText","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/inputUtils"],function(e,t,i,s,l,a,n,o,r,d,c,h){function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=p(i),m=p(s),b=p(l),g=p(a),_=p(n),v=p(o),f=p(r);var y=[[function(e,t,i){var s=e?"["+e+"-host]":"";return(t?":host {":s+" {")+"display: block;}"+(t?":host.slds-has-error {":s+".slds-has-error {")+"--slds-c-input-color-border: var(--slds-g-color-error-base-40, #ea001e);--slds-c-input-shadow: var(--slds-g-color-error-base-40, #ea001e) 0 0 0 1px inset;--slds-c-input-color-background: var(--slds-c-input-color-background, var(--sds-c-input-color-background, var(--slds-g-color-neutral-base-100, #fff)));--slds-c-input-text-color: var(--slds-c-input-text-color, var(--sds-c-input-text-color, var(--slds-g-color-neutral-base-10, #747474)));}.slds-assistive-text"+(e?"["+e+"]":"")+" {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}"}],function(){return""},u.default];const x=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,L=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,A={attrs:{part:"combobox"},key:0},V={classMap:{"slds-form-element__control":!0},key:5},B={exportparts:"dropdown, option"},C={"slds-form-element__help":!0};function I(e,t,i,s){const{ncls:l,b:a,sp:n,st:o,d:r,t:d,h:c,c:h,gid:p}=e,{_m0:u,_m1:g,_m2:_,_m3:v,_m4:f,_m5:y}=s;return[c("div",A,[c("label",{className:l(t.computedLabelClass),key:1,on:{click:u||(s._m0=a(t.handleLabelClicked))}},[t.required?o(x,3,[n(0,{attrs:{title:t.i18n.required}},null)]):null,d(r(t.label))]),t._fieldLevelHelp?h("lightning-helptext",m.default,{props:{content:t._fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:4}):null,c("div",V,[h("lightning-base-combobox",b.default,{attrs:B,props:{name:t.name,autocomplete:t.autocomplete,rootAriaNode:t.templateRootNode,required:t.required,disabled:t.disabled,placeholder:t.placeholder,items:t._items,inputText:t._selectedLabel,inputLabel:t.label,inputIconSize:"xx-small",inputIconName:"utility:down",showDropdownActivityIndicator:t.spinnerActive,dropdownAlignment:t.dropdownAlignment,variant:t.variant},key:6,on:{dropdownopen:g||(s._m1=a(t.handleDropdownOpen)),focus:_||(s._m2=a(t.handleFocus)),blur:v||(s._m3=a(t.handleBlur)),ready:f||(s._m4=a(t.handleComboboxReady)),select:y||(s._m5=a(t.handleSelect))}})]),c("div",{classMap:C,attrs:{id:p("help-text"),"data-help-text":"",role:"status"},key:7},[t._helpMessage?o(L,9,[n(1,null,r(t.label))]):null,d(r(t._helpMessage))])])]}var S=t.registerTemplate(I);I.stylesheets=[],I.stylesheetToken="lwc-24on3e8rogg",I.legacyStylesheetToken="lightning-combobox_combobox",y&&I.stylesheets.push.apply(I.stylesheets,y),t.freezeTemplate(I);const w={required:g.default,placeholder:_.default,helpTextAlternativeText:v.default};class k extends f.default{constructor(...e){super(...e),this._ariaLabelledBy="",this._ariaDescribedBy="",this._fieldLevelHelp="",this._selectedLabel="",this._disabled=!1,this._readOnly=!1,this._spinnerActive=!1,this._required=!1,this._variant=void 0,this._helpMessage=void 0,this._labelForId=void 0,this._items=[],this.autocomplete=void 0,this.label=void 0,this.dropdownAlignment="left",this.placeholder=w.placeholder,this.messageWhenValueMissing=void 0,this.name=void 0}renderedCallback(){this.synchronizeA11y()}connectedCallback(){super.connectedCallback(),this._isNativeShadow=c.isNativeComponent(this),this.classList.add("slds-form-element"),this.updateClassList(),this.interactingState=new h.InteractingState,this.interactingState.onleave(()=>this.showHelpMessageIfInvalid()),this.connected=!0,this._items=this.generateItems(this.options),this.options&&void 0!==this.selectedValue&&this.updateSelectedOptions()}updateClassList(){c.classListMutation(this.classList,{"slds-form-element_stacked":this.variant===h.VARIANT.LABEL_STACKED,"slds-form-element_horizontal":this.variant===h.VARIANT.LABEL_INLINE})}disconnectedCallback(){this.connected=!1}get ariaLabelledBy(){return this._ariaLabelledBy}set ariaLabelledBy(e){this._ariaLabelledBy=e}get ariaDescribedBy(){return this._ariaDescribedBy}set ariaDescribedBy(e){this._ariaDescribedBy=e}get fieldLevelHelp(){return this._fieldLevelHelp}set fieldLevelHelp(e){this._fieldLevelHelp=e}get variant(){return this._variant||h.VARIANT.STANDARD}set variant(e){this._variant=h.normalizeVariant(e),this.updateClassList(),c.reflectAttribute(this,"variant",this._variant)}get value(){return this.selectedValue}set value(e){e!==this.selectedValue&&(this.selectedValue=e,this.connected&&this.options&&this.updateSelectedOptions())}get options(){return this._options||[]}set options(e){this._options=c.normalizeArray(e),this.connected&&(this._items=this.generateItems(this._options),this.updateSelectedOptions())}get disabled(){return this._disabled||this._readOnly||!1}set disabled(e){this._disabled=c.normalizeBoolean(e)}get readOnly(){return this.disabled}set readOnly(e){this._readOnly=c.normalizeBoolean(e)}get required(){return this._required}set required(e){this._required=c.normalizeBoolean(e)}get spinnerActive(){return this._spinnerActive}set spinnerActive(e){this._spinnerActive=c.normalizeBoolean(e)}focus(){this.connected&&this.getBaseComboboxElement().focus()}blur(){this.connected&&this.getBaseComboboxElement().blur()}get validity(){return this._constraint.validity}checkValidity(){return this._constraint.checkValidity()}reportValidity(){return this._constraint.reportValidity(e=>{c.reflectAttribute(this.template.querySelector("lightning-base-combobox"),"invalid",!this.checkValidity()),this._helpMessage=e})}setCustomValidity(e){this._constraint.setCustomValidity(e)}showHelpMessageIfInvalid(){this.reportValidity()}handleComboboxReady(e){this._labelForId=e.detail.id}handleLabelClicked(){if(this._isNativeShadow){const e=this.getBaseComboboxElement();e.blur(),setTimeout(()=>{e.focusAndOpenDropdownIfNotEmpty()},50)}}synchronizeA11y(){c.synchronizeAttrs(this.template.querySelector("label"),{for:this._labelForId});const e=this.template.querySelector("lightning-base-combobox");e.inputLabelledByElement=this.ariaLabelledBy,e.inputDescribedByElements=this.ariaDescribedBy,e.ariaErrorMessageElements=this.ariaErrorMessageElements}get templateRootNode(){return c.isCSR?this.template.host.getRootNode():null}get i18n(){return w}get isLabelHidden(){return this.variant===h.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return d.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get ariaErrorMessageElements(){return this._helpMessage?this.template.querySelector("[data-help-text]"):null}handleSelect(e){e.detail.value!==this.selectedValue&&(this.selectedValue=e.detail.value,this.updateSelectedOptions(),this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:this.selectedValue}})))}handleFocus(){this.interactingState.enter(),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(){this.interactingState.leave(),this.dispatchEvent(new CustomEvent("blur"))}handleDropdownOpen(){this.dispatchEvent(new CustomEvent("open"))}updateSelectedOptions(){this.updateSelectedLabelFromValue(this.selectedValue),this.markOptionSelectedFromValue(this.selectedValue)}markOptionSelectedFromValue(e){if(this._items){const t=this._items.find(t=>t.value===e);this._selectedItem&&(this._selectedItem.checked=!1,this._selectedItem.iconName=void 0,this._selectedItem.highlight=!1),this._selectedItem=t,t&&(t.iconName="utility:check",this._selectedItem.highlight=!0,this._selectedItem.checked=!0),this._items=this._items.slice()}}updateSelectedLabelFromValue(e){this._selectedLabel=this.getOptionLabelByValue(e)}getOptionLabelByValue(e){const t=this.options.find(t=>t.value===e);return t?t.label:""}generateItems(e){return e.map(e=>({type:e.description?"option-card":"option-inline",text:e.label,subText:e.description,highlight:this.value===e.value,iconSize:"x-small",value:e.value}))}getBaseComboboxElement(){return this.template.querySelector("lightning-base-combobox")}get _constraint(){return this._constraintApi||(this._constraintApi=new h.FieldConstraintApi(()=>this,{valueMissing:()=>!this.disabled&&this.required&&h.isEmptyString(this.selectedValue)})),this._constraintApi}get helptextAlternativeText(){return d.formatLabel(w.helpTextAlternativeText,this.label)}}k.delegatesFocus=!0,k.validationOptOut=["class"],t.registerDecorators(k,{publicProps:{autocomplete:{config:0},label:{config:0},dropdownAlignment:{config:0},placeholder:{config:0},messageWhenValueMissing:{config:0},name:{config:0},ariaLabelledBy:{config:3},ariaDescribedBy:{config:3},fieldLevelHelp:{config:3},variant:{config:3},value:{config:3},options:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},spinnerActive:{config:3},validity:{config:1}},publicMethods:["focus","blur","checkValidity","reportValidity","setCustomValidity","showHelpMessageIfInvalid"],track:{_items:1},fields:["_ariaLabelledBy","_ariaDescribedBy","_fieldLevelHelp","_selectedLabel","_disabled","_readOnly","_spinnerActive","_required","_variant","_helpMessage","_labelForId"]});const E=t.registerComponent(k,{tmpl:S,sel:"lightning-combobox",apiVersion:62});e.default=E,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/label/LightningColorPicker.a11yTriggerText', ['@view/home/labels'], m => m[149]);LWR.define('@salesforce/label/LightningControl.activeCapitalized', ['@view/home/labels'], m => m[150]);LWR.define('@salesforce/label/LightningControl.inactiveCapitalized', ['@view/home/labels'], m => m[151]);LWR.define('@salesforce/label/LightningControl.clear', ['@view/home/labels'], m => m[152]);LWR.define('@salesforce/label/LightningControl.loading', ['@view/home/labels'], m => m[153]);LWR.define('@salesforce/label/LightningInputNumber.incrementCounter', ['@view/home/labels'], m => m[154]);LWR.define('@salesforce/label/LightningInputNumber.decrementCounter', ['@view/home/labels'], m => m[155]);(function() { LWR.define("@salesforce/i18n/timeZone",["exports","lwc"],function(e,t){const o=Intl.DateTimeFormat().resolvedOptions().timeZone,i=t.registerComponent(o,{tmpl:void 0,sel:"@salesforce-mg0gxt27b8l1hrutfi3p",apiVersion:62});e.default=i,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/label/LightningDateTimePicker.dateLabel', ['@view/home/labels'], m => m[156]);LWR.define('@salesforce/label/LightningDateTimePicker.rangeOverflow', ['@view/home/labels'], m => m[157]);LWR.define('@salesforce/label/LightningDateTimePicker.rangeUnderflow', ['@view/home/labels'], m => m[158]);LWR.define('@salesforce/label/LightningDateTimePicker.timeLabel', ['@view/home/labels'], m => m[159]);LWR.define('@salesforce/label/LightningDateTimePicker.valueMissingWithDateFormat', ['@view/home/labels'], m => m[160]);LWR.define('@salesforce/label/LightningDateTimePicker.customErrorWithDateFormat', ['@view/home/labels'], m => m[161]);(function() { LWR.define("@salesforce/i18n/dateTime.shortDateFormat",["exports"],function(e){e.default="M/d/yyyy",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/dateTime.mediumDateFormat",["exports"],function(e){e.default="MMM d, yyyy",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/dateTime.longDateFormat",["exports"],function(e){e.default="MMMM d, yyyy",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/dateTime.shortTimeFormat",["exports"],function(e){e.default="h:mm a",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/dateTime.mediumTimeFormat",["exports"],function(e){e.default="h:mm:ss a",Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/i18n/currency', [], function() { return "USD"; });(function() { LWR.define("@salesforce/i18n/number.numberFormat",["exports"],function(e){e.default="#,##0.###",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.percentFormat",["exports"],function(e){e.default="#,##0%",Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/i18n/number.currencyFormat', [], function() { return "¤#,##0.00;(¤#,##0.00)"; });(function() { LWR.define("lightning/i18nCldrOptions",["exports"],function(e){var r=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var a=Object.create(null);e.default=function(e){if("string"!=typeof e)throw new TypeError;var c=a[e];return c||(c=a[e]={},e.replace(r,function(e){return function(e,r){switch(e.charAt(0)){case"G":r.era=["short","short","short","long","narrow"][e.length-1];break;case"y":case"Y":case"u":case"U":case"r":r.year=2===e.length?"2-digit":"numeric";break;case"Q":case"q":r.quarter=["numeric","2-digit","short","long","narrow"][e.length-1];break;case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][e.length-1];break;case"w":r.week=2===e.length?"2-digit":"numeric";break;case"W":r.week="numeric";break;case"d":r.day=2===e.length?"2-digit":"numeric";break;case"D":case"F":case"g":r.day="numeric";break;case"E":r.weekday=["short","short","short","long","narrow","short"][e.length-1];break;case"e":r.weekday=["numeric","2-digit","short","long","narrow","short"][e.length-1];break;case"c":r.weekday=["numeric",void 0,"short","long","narrow","short"][e.length-1];break;case"a":case"b":case"B":r.hour12=!0;break;case"h":r.hourCycle="h12",r.hour12=!0,r.hour=2===e.length?"2-digit":"numeric";break;case"H":r.hourCycle="h23",r.hour12=!1,r.hour=2===e.length?"2-digit":"numeric";break;case"k":r.hourCycle="h24",r.hour12=!1,r.hour=2===e.length?"2-digit":"numeric";break;case"K":r.hourCycle="h11",r.hour12=!0,r.hour=2===e.length?"2-digit":"numeric";break;case"m":r.minute=2===e.length?"2-digit":"numeric";break;case"s":r.second=2===e.length?"2-digit":"numeric";break;case"S":case"A":r.second="numeric";break;case"z":case"Z":case"O":case"v":case"V":case"X":case"x":r.timeZoneName=e.length<4?"short":"long"}}(e,c),""}),c)},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/common.digits",["exports"],function(a){a.default={bhks:"𑱐𑱑𑱒𑱓𑱔𑱕𑱖𑱗𑱘𑱙",talu:"᧐᧑᧒᧓᧔᧕᧖᧗᧘᧙",guru:"੦੧੨੩੪੫੬੭੮੯",arabext:"۰۱۲۳۴۵۶۷۸۹",gujr:"૦૧૨૩૪૫૬૭૮૯",mathdbl:"𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡",fullwide:"０１２３４５６７８９",telu:"౦౧౨౩౪౫౬౭౮౯",mathmono:"𝟶𝟷𝟸𝟹𝟺𝟻𝟼𝟽𝟾𝟿",gong:"𑶠𑶡𑶢𑶣𑶤𑶥𑶦𑶧𑶨𑶩",beng:"০১২৩৪৫৬৭৮৯",knda:"೦೧೨೩೪೫೬೭೮೯",java:"꧐꧑꧒꧓꧔꧕꧖꧗꧘꧙",modi:"𑙐𑙑𑙒𑙓𑙔𑙕𑙖𑙗𑙘𑙙",gonm:"𑵐𑵑𑵒𑵓𑵔𑵕𑵖𑵗𑵘𑵙",segment:"🯰🯱🯲🯳🯴🯵🯶🯷🯸🯹",latn:"0123456789",lepc:"᱀᱁᱂᱃᱄᱅᱆᱇᱈᱉",orya:"୦୧୨୩୪୫୬୭୮୯",takr:"𑛀𑛁𑛂𑛃𑛄𑛅𑛆𑛇𑛈𑛉",sinh:"෦෧෨෩෪෫෬෭෮෯",laoo:"໐໑໒໓໔໕໖໗໘໙",thai:"๐๑๒๓๔๕๖๗๘๙",mymrtlng:"꧰꧱꧲꧳꧴꧵꧶꧷꧸꧹",sund:"᮰᮱᮲᮳᮴᮵᮶᮷᮸᮹",olck:"᱐᱑᱒᱓᱔᱕᱖᱗᱘᱙",tibt:"༠༡༢༣༤༥༦༧༨༩",hmnp:"𞅀𞅁𞅂𞅃𞅄𞅅𞅆𞅇𞅈𞅉",mtei:"꯰꯱꯲꯳꯴꯵꯶꯷꯸꯹",sind:"𑋰𑋱𑋲𑋳𑋴𑋵𑋶𑋷𑋸𑋹",vaii:"꘠꘡꘢꘣꘤꘥꘦꘧꘨꘩",mymrshan:"႐႑႒႓႔႕႖႗႘႙",tamldec:"௦௧௨௩௪௫௬௭௮௯",sora:"𑃰𑃱𑃲𑃳𑃴𑃵𑃶𑃷𑃸𑃹",arab:"٠١٢٣٤٥٦٧٨٩",diak:"𑥐𑥑𑥒𑥓𑥔𑥕𑥖𑥗𑥘𑥙",mlym:"൦൧൨൩൪൫൬൭൮൯",deva:"०१२३४५६७८९",hanidec:"〇一二三四五六七八九",adlm:"𞥐𞥑𞥒𞥓𞥔𞥕𞥖𞥗𞥘𞥙",rohg:"𐴰𐴱𐴲𐴳𐴴𐴵𐴶𐴷𐴸𐴹",osma:"𐒠𐒡𐒢𐒣𐒤𐒥𐒦𐒧𐒨𐒩",hmng:"𖭐𖭑𖭒𖭓𖭔𖭕𖭖𖭗𖭘𖭙",wara:"𑣠𑣡𑣢𑣣𑣤𑣥𑣦𑣧𑣨𑣩",bali:"᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙",brah:"𑁦𑁧𑁨𑁩𑁪𑁫𑁬𑁭𑁮𑁯",lana:"᪀᪁᪂᪃᪄᪅᪆᪇᪈᪉",tirh:"𑓐𑓑𑓒𑓓𑓔𑓕𑓖𑓗𑓘𑓙",saur:"꣐꣑꣒꣓꣔꣕꣖꣗꣘꣙",limb:"᥆᥇᥈᥉᥊᥋᥌᥍᥎᥏",kali:"꤀꤁꤂꤃꤄꤅꤆꤇꤈꤉",mymr:"၀၁၂၃၄၅၆၇၈၉",wcho:"𞋰𞋱𞋲𞋳𞋴𞋵𞋶𞋷𞋸𞋹",mathsans:"𝟢𝟣𝟤𝟥𝟦𝟧𝟨𝟩𝟪𝟫",ahom:"𑜰𑜱𑜲𑜳𑜴𑜵𑜶𑜷𑜸𑜹",mong:"᠐᠑᠒᠓᠔᠕᠖᠗᠘᠙",cakm:"𑄶𑄷𑄸𑄹𑄺𑄻𑄼𑄽𑄾𑄿",nkoo:"߀߁߂߃߄߅߆߇߈߉",khmr:"០១២៣៤៥៦៧៨៩",newa:"𑑐𑑑𑑒𑑓𑑔𑑕𑑖𑑗𑑘𑑙",shrd:"𑇐𑇑𑇒𑇓𑇔𑇕𑇖𑇗𑇘𑇙",mathsanb:"𝟬𝟭𝟮𝟯𝟰𝟱𝟲𝟳𝟴𝟵",lanatham:"᪐᪑᪒᪓᪔᪕᪖᪗᪘᪙",mroo:"𖩠𖩡𖩢𖩣𖩤𖩥𖩦𖩧𖩨𖩩",mathbold:"𝟎𝟏𝟐𝟑𝟒𝟓𝟔𝟕𝟖𝟗",tnsa:"𖫀𖫁𖫂𖫃𖫄𖫅𖫆𖫇𖫈𖫉",cham:"꩐꩑꩒꩓꩔꩕꩖꩗꩘꩙"},Object.defineProperty(a,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/common.calendarData",["exports"],function(t){t.default={buddhist:{calendarSystem:"solar",eras:{0:{_start:"-542-01-01"}}},"ethiopic-amete-alem":{eras:{0:{_end:"-5492-08-29"}}},generic:{},gregorian:{calendarSystem:"solar",eras:{0:{_end:"0-12-31"},1:{_start:"1-01-01"}}},indian:{eras:{0:{_start:"79-01-01"}}},japanese:{calendarSystem:"solar",eras:{0:{_start:"645-6-19"},1:{_start:"650-2-15"},2:{_start:"672-1-1"},3:{_start:"686-7-20"},4:{_start:"701-3-21"},5:{_start:"704-5-10"},6:{_start:"708-1-11"},7:{_start:"715-9-2"},8:{_start:"717-11-17"},9:{_start:"724-2-4"},10:{_start:"729-8-5"},11:{_start:"749-4-14"},12:{_start:"749-7-2"},13:{_start:"757-8-18"},14:{_start:"765-1-7"},15:{_start:"767-8-16"},16:{_start:"770-10-1"},17:{_start:"781-1-1"},18:{_start:"782-8-19"},19:{_start:"806-5-18"},20:{_start:"810-9-19"},21:{_start:"824-1-5"},22:{_start:"834-1-3"},23:{_start:"848-6-13"},24:{_start:"851-4-28"},25:{_start:"854-11-30"},26:{_start:"857-2-21"},27:{_start:"859-4-15"},28:{_start:"877-4-16"},29:{_start:"885-2-21"},30:{_start:"889-4-27"},31:{_start:"898-4-26"},32:{_start:"901-7-15"},33:{_start:"923-4-11"},34:{_start:"931-4-26"},35:{_start:"938-5-22"},36:{_start:"947-4-22"},37:{_start:"957-10-27"},38:{_start:"961-2-16"},39:{_start:"964-7-10"},40:{_start:"968-8-13"},41:{_start:"970-3-25"},42:{_start:"973-12-20"},43:{_start:"976-7-13"},44:{_start:"978-11-29"},45:{_start:"983-4-15"},46:{_start:"985-4-27"},47:{_start:"987-4-5"},48:{_start:"989-8-8"},49:{_start:"990-11-7"},50:{_start:"995-2-22"},51:{_start:"999-1-13"},52:{_start:"1004-7-20"},53:{_start:"1012-12-25"},54:{_start:"1017-4-23"},55:{_start:"1021-2-2"},56:{_start:"1024-7-13"},57:{_start:"1028-7-25"},58:{_start:"1037-4-21"},59:{_start:"1040-11-10"},60:{_start:"1044-11-24"},61:{_start:"1046-4-14"},62:{_start:"1053-1-11"},63:{_start:"1058-8-29"},64:{_start:"1065-8-2"},65:{_start:"1069-4-13"},66:{_start:"1074-8-23"},67:{_start:"1077-11-17"},68:{_start:"1081-2-10"},69:{_start:"1084-2-7"},70:{_start:"1087-4-7"},71:{_start:"1094-12-15"},72:{_start:"1096-12-17"},73:{_start:"1097-11-21"},74:{_start:"1099-8-28"},75:{_start:"1104-2-10"},76:{_start:"1106-4-9"},77:{_start:"1108-8-3"},78:{_start:"1110-7-13"},79:{_start:"1113-7-13"},80:{_start:"1118-4-3"},81:{_start:"1120-4-10"},82:{_start:"1124-4-3"},83:{_start:"1126-1-22"},84:{_start:"1131-1-29"},85:{_start:"1132-8-11"},86:{_start:"1135-4-27"},87:{_start:"1141-7-10"},88:{_start:"1142-4-28"},89:{_start:"1144-2-23"},90:{_start:"1145-7-22"},91:{_start:"1151-1-26"},92:{_start:"1154-10-28"},93:{_start:"1156-4-27"},94:{_start:"1159-4-20"},95:{_start:"1160-1-10"},96:{_start:"1161-9-4"},97:{_start:"1163-3-29"},98:{_start:"1165-6-5"},99:{_start:"1166-8-27"},100:{_start:"1169-4-8"},101:{_start:"1171-4-21"},102:{_start:"1175-7-28"},103:{_start:"1177-8-4"},104:{_start:"1181-7-14"},105:{_start:"1182-5-27"},106:{_start:"1184-4-16"},107:{_start:"1185-8-14"},108:{_start:"1190-4-11"},109:{_start:"1199-4-27"},110:{_start:"1201-2-13"},111:{_start:"1204-2-20"},112:{_start:"1206-4-27"},113:{_start:"1207-10-25"},114:{_start:"1211-3-9"},115:{_start:"1213-12-6"},116:{_start:"1219-4-12"},117:{_start:"1222-4-13"},118:{_start:"1224-11-20"},119:{_start:"1225-4-20"},120:{_start:"1227-12-10"},121:{_start:"1229-3-5"},122:{_start:"1232-4-2"},123:{_start:"1233-4-15"},124:{_start:"1234-11-5"},125:{_start:"1235-9-19"},126:{_start:"1238-11-23"},127:{_start:"1239-2-7"},128:{_start:"1240-7-16"},129:{_start:"1243-2-26"},130:{_start:"1247-2-28"},131:{_start:"1249-3-18"},132:{_start:"1256-10-5"},133:{_start:"1257-3-14"},134:{_start:"1259-3-26"},135:{_start:"1260-4-13"},136:{_start:"1261-2-20"},137:{_start:"1264-2-28"},138:{_start:"1275-4-25"},139:{_start:"1278-2-29"},140:{_start:"1288-4-28"},141:{_start:"1293-8-5"},142:{_start:"1299-4-25"},143:{_start:"1302-11-21"},144:{_start:"1303-8-5"},145:{_start:"1306-12-14"},146:{_start:"1308-10-9"},147:{_start:"1311-4-28"},148:{_start:"1312-3-20"},149:{_start:"1317-2-3"},150:{_start:"1319-4-28"},151:{_start:"1321-2-23"},152:{_start:"1324-12-9"},153:{_start:"1326-4-26"},154:{_start:"1329-8-29"},155:{_start:"1331-8-9"},156:{_start:"1334-1-29"},157:{_start:"1336-2-29"},158:{_start:"1340-4-28"},159:{_start:"1346-12-8"},160:{_start:"1370-7-24"},161:{_start:"1372-4-1"},162:{_start:"1375-5-27"},163:{_start:"1379-3-22"},164:{_start:"1381-2-10"},165:{_start:"1384-4-28"},166:{_start:"1387-8-22"},167:{_start:"1387-8-23"},168:{_start:"1389-2-9"},169:{_start:"1390-3-26"},170:{_start:"1394-7-5"},171:{_start:"1428-4-27"},172:{_start:"1429-9-5"},173:{_start:"1441-2-17"},174:{_start:"1444-2-5"},175:{_start:"1449-7-28"},176:{_start:"1452-7-25"},177:{_start:"1455-7-25"},178:{_start:"1457-9-28"},179:{_start:"1460-12-21"},180:{_start:"1466-2-28"},181:{_start:"1467-3-3"},182:{_start:"1469-4-28"},183:{_start:"1487-7-29"},184:{_start:"1489-8-21"},185:{_start:"1492-7-19"},186:{_start:"1501-2-29"},187:{_start:"1504-2-30"},188:{_start:"1521-8-23"},189:{_start:"1528-8-20"},190:{_start:"1532-7-29"},191:{_start:"1555-10-23"},192:{_start:"1558-2-28"},193:{_start:"1570-4-23"},194:{_start:"1573-7-28"},195:{_start:"1592-12-8"},196:{_start:"1596-10-27"},197:{_start:"1615-7-13"},198:{_start:"1624-2-30"},199:{_start:"1644-12-16"},200:{_start:"1648-2-15"},201:{_start:"1652-9-18"},202:{_start:"1655-4-13"},203:{_start:"1658-7-23"},204:{_start:"1661-4-25"},205:{_start:"1673-9-21"},206:{_start:"1681-9-29"},207:{_start:"1684-2-21"},208:{_start:"1688-9-30"},209:{_start:"1704-3-13"},210:{_start:"1711-4-25"},211:{_start:"1716-6-22"},212:{_start:"1736-4-28"},213:{_start:"1741-2-27"},214:{_start:"1744-2-21"},215:{_start:"1748-7-12"},216:{_start:"1751-10-27"},217:{_start:"1764-6-2"},218:{_start:"1772-11-16"},219:{_start:"1781-4-2"},220:{_start:"1789-1-25"},221:{_start:"1801-2-5"},222:{_start:"1804-2-11"},223:{_start:"1818-4-22"},224:{_start:"1830-12-10"},225:{_start:"1844-12-2"},226:{_start:"1848-2-28"},227:{_start:"1854-11-27"},228:{_start:"1860-3-18"},229:{_start:"1861-2-19"},230:{_start:"1864-2-20"},231:{_start:"1865-4-7"},232:{_start:"1868-9-8"},233:{_start:"1912-7-30"},234:{_start:"1926-12-25"},235:{_start:"1989-1-8"},236:{_start:"2019-5-1"}}},persian:{calendarSystem:"solar",eras:{0:{_start:"622-01-01"}}},roc:{eras:{0:{_end:"1911-12-31"},1:{_start:"1912-01-01"}}}},Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/defaultCalendar",["exports"],function(e){e.default="gregorian",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/defaultNumberingSystem",["exports"],function(e){e.default="latn",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/calendarData",["exports"],function(n){n.default={gregorian:{dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},days:{format:{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}},"stand-alone":{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}}},eras:{eraNames:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},eraAbbr:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},eraNarrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}},months:{format:{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}},"stand-alone":{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}}},quarters:{format:{abbreviated:{1:"Q1",2:"Q2",3:"Q3",4:"Q4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1st quarter",2:"2nd quarter",3:"3rd quarter",4:"4th quarter"}},"stand-alone":{abbreviated:{1:"Q1",2:"Q2",3:"Q3",4:"Q4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1st quarter",2:"2nd quarter",3:"3rd quarter",4:"4th quarter"}}}}},Object.defineProperty(n,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.decimalSeparator",["exports"],function(e){e.default=".",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.groupingSeparator",["exports"],function(e){e.default=",",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.percentSign",["exports"],function(e){e.default="%",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.plusSign",["exports"],function(e){e.default="+",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.minusSign",["exports"],function(e){e.default="-",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.exponentialSign",["exports"],function(e){e.default="E",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.superscriptingExponentSign",["exports"],function(e){e.default="×",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.perMilleSign",["exports"],function(e){e.default="‰",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.infinity",["exports"],function(e){e.default="∞",Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@salesforce/i18n/number.nan",["exports"],function(e){e.default="�",Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/i18n/number.currencySymbol', [], function() { return "$"; });(function() { LWR.define("lightning/i18nService",["exports","@salesforce/i18n/common.digits","@salesforce/i18n/common.calendarData","@salesforce/i18n/defaultCalendar","@salesforce/i18n/defaultNumberingSystem","@salesforce/i18n/calendarData","@salesforce/i18n/number.decimalSeparator","@salesforce/i18n/number.groupingSeparator","@salesforce/i18n/number.percentSign","@salesforce/i18n/number.plusSign","@salesforce/i18n/number.minusSign","@salesforce/i18n/number.exponentialSign","@salesforce/i18n/number.superscriptingExponentSign","@salesforce/i18n/number.perMilleSign","@salesforce/i18n/number.infinity","@salesforce/i18n/number.nan","@salesforce/i18n/number.currencySymbol"],function(e,t,n,r,s,a,i,o,c,u,l,h,m,f,g,d,p){function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var y=b(t),w=b(n),S=b(r),E=b(s),k=b(a),v=b(i),D=b(o),N=b(c),M=b(u),x=b(l),T=b(h),U=b(m),C=b(f),G=b(g),O=b(d),F=b(p);function I(e){const t=typeof e;if("string"===t||"number"===t||"boolean"===t||"undefined"===t)return e;if("object"===t){if(Array.isArray(e)){const t=[];for(const n of e)t.push(I(n));return t}{const t={},n=Object.getOwnPropertyNames(e).sort();for(const r of n){const n=I(e[r]);void 0!==n&&(t[r]=n)}return t}}}class L{constructor(){this.map=new Map}has(e){const t=this.normalize(e);return this.map.has(t)}get(e){const t=this.normalize(e);return this.map.get(t)}set(e,t){const n=this.normalize(e);return this.map.set(n,t),this}clear(){return this.map.clear()}normalize(e){const t=I(e);return JSON.stringify(t)}}const P=new Map;function Z(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const j={gregory:"gregorian"};const A=/^([-]?[0-9]+)-([0-9]{1,2})-([0-9]{1,2})$/;function z(e){if(e&&A.test(e)){const t=e.match(A);return{year:parseInt(t[0],10),month:parseInt(t[0],10),day:parseInt(t[0],10)}}}function $(e,t){return function(e,t){const n=[];return[...e].forEach(e=>{const r=t.indexOf(e);r>=0&&n.push(r)}),n.reverse()}(e,Array.from(t)).reduce((e,t,n)=>e+t*10**n,0)}function R(e,t=""){return function(e,t=""){return e.length>1&&e.reduce((e,t,n,r)=>0===n||e&&t.codePointAt(0)-r[n-1].codePointAt(0)==1,!1)?"["+[e[0],e[e.length-1]].join("-")+Z(t)+"]":"["+e.join("")+Z(t)+"]"}(Array.from(e),t)}let W;const _=/(\d+).(\d+).(\d+),?\s+(\d+).(\d+)(.(\d+))?/,B=1,H=3,K=4,Y=new Map;function Q(e){const t=e.replace(/[\u200E\u200F]/g,"");return[].slice.call(_.exec(t),1).map(Math.floor)}function X(e,t){Y.has(e)||Y.set(e,new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}));const n=Y.get(e);return function(e,t){let n=e[B]-t[B];return n>15&&(n=-1),n<-15&&(n=1),60*(24*n+(e[H]-t[H]))+(e[K]-t[K])}(Q((W||(W=new Intl.DateTimeFormat("en-US",{timeZone:"UTC",hourCycle:"h23",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"})),W).format(t)),Q(n.format(t)))}function q(e){return 1===e||3===e||5===e||7===e||8===e||10===e||12===e}function J(e){return 4===e||6===e||9===e||11===e}function V(e,t,n){return function(e){return q(e)||J(e)||2===e}(e)&&Number.isInteger(t)&&t>=1&&(t<=30&&J(e)||t<=31&&q(e)||n&&2===e&&t<=29||!n&&2===e&&t<=28)}class ee{constructor(e){this.year=0,this.month=1,this.day=1,this.hour=0,this.minute=0,this.second=0,this.millisecond=0,this.timeZone=e}clear(){this.year=0,this.month=1,this.day=1,this.hour=0,this.minute=0,this.second=0,this.millisecond=0}getDate(e=2e3){this.year<100&&this.year>=0&&(this.year+=e);const t=new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond);if(this.timeZone){const e=t.getTimezoneOffset()-X(this.timeZone,t);if(0!==Math.floor(e)){return new Date(t.getTime()-60*e*1e3)}}return t}}function te(e,t){switch(e){case"a":case"aa":case"aaa":return t.dayPeriods.format.abbreviated;case"aaaa":return t.dayPeriods.format.wide;case"aaaaa":return t.dayPeriods.format.narrow;case"G":return t.eras.eraAbbr;case"GGGG":return t.eras.eraNames;case"GGGGG":return t.eras.eraNarrow;case"MMM":return t.months.format.abbreviated;case"MMMM":return t.months.format.wide;case"MMMMM":return t.months.format.narrow;case"EEEE":return t.days.format.wide;case"EEEEE":return t.days.format.narrow;case"EEEEEE":return t.days.format.abbreviated;default:return{}}}function ne(e){switch(e.type){case"y":case"d":case"K":case"H":case"h":case"k":case"m":case"s":case"S":case"A":case"Q":return 2===e.length?2:0;case"M":case"e":case"c":switch(e.length){case 1:return 0;case 2:return 2;default:return-1}}return-1}const re=new Map;function se(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&e[n]===t)return n}const ae=["1","2","3","4","5","6","7","8","9","10","11","12"];class ie{constructor(e){const t={commonDigits:y.default,commonCalendarData:w.default,defaultCalendar:S.default,defaultNumberingSystem:E.default,calendarData:k.default};var n;this.calendarType=e.calendar?(n=e.calendar,Object.prototype.hasOwnProperty.call(j,n)?j[n]:n):t.defaultCalendar;const r=e.numberingSystem?e.numberingSystem:t.defaultNumberingSystem,s=e.timeZone?e.timeZone:void 0;e.numberingSystem=r,e.timeZone=s,this.options=e,this.digits=t.commonDigits[r],this.commonCalendarData=t.commonCalendarData[this.calendarType],this.calendarData=t.calendarData[this.calendarType],this.expr=function(e,t,n){const r=function(e){const t=[..."GyYQqM<wWdDFEecabBhHKkmsSAxXOvVXxZz"],n=[];let r=!1,s=!1;return[...e].forEach(e=>{const a=t.indexOf(e)>=0?e:void 0;let i=!1;if(void 0===a&&"'"===e||!s||(r=!r),void 0===a||r)"'"!==e||s?(i=!0,s=!1):s=!0;else{if(n.length>0&&n[n.length-1].type===a){let e=n[n.length-1].length;e=void 0===e?1:e+1,n[n.length-1].length=e}else void 0!==a&&n.push({type:a,length:1});s=!1}if(i)if(n.length>0&&void 0===n[n.length-1].type){let t=n[n.length-1].text;t=void 0===t?e:t+e,n[n.length-1].text=t}else n.push({text:e})}),n}(e),s=[],a=R(t);let i="^[\\s]*";for(let e=0;e<r.length;e++){const t=r[e];if(void 0!==t.text&&""!==t.text)i+="("+Z(t.text)+")",s.push(t);else if(void 0!==t.type){const e=t.type.repeat(t.length),r=ne(t);if(-1===r){if("z"===e)i+="([^\\s]+)";else{const t=te(e,n);i+="("+Object.keys(t).map(e=>Z(t[e])).join("|")+")"}s.push(t)}else 0===r?(i+="("+a+"+)",s.push(t)):r>0&&(i+="("+a+"{1,"+r+"})",s.push(t))}}return i+="[\\s]*$",re.has(i)||re.set(i,new RegExp(i)),{regexp:re.get(i),groups:s}}(this.options.pattern,this.digits,this.calendarData)}parse(e){const t=e.match(this.expr.regexp);if(!t||t.length<=this.expr.groups.length)throw new Error("Invalid date: '"+e+"' for pattern: '"+this.options.pattern+"'");const n=new ee(this.options.timeZone);let r,s;if(n.clear(),this.expr.groups.forEach((e,a)=>{if(void 0===e.type)return;const i=t[a+1];if(ne(e)>=0)switch(e.type){case"y":n.year=$(i,this.digits);break;case"M":n.month=$(i,this.digits);break;case"d":n.day=$(i,this.digits);break;case"K":case"H":case"h":case"k":n.hour=$(i,this.digits);break;case"m":n.minute=$(i,this.digits);break;case"s":n.second=$(i,this.digits);break;case"A":n.millisecond=$(i,this.digits)}else{const t=function(e,t,n){const r=t.type.repeat(t.length);switch(t.type){case"G":switch(r){case"G":return se(n.eras.eraNames,e);case"GGGG":return se(n.eras.eraNarrow,e);case"GGGGG":return se(n.eras.eraAbbr,e)}break;case"M":case"L":switch(r){case"MMM":return se(n.months.format.abbreviated,e);case"MMMM":return se(n.months.format.wide,e);case"MMMMM":return se(n.months.format.narrow,e);case"LLL":return se(n.months["stand-alone"].short,e);case"LLLL":return se(n.months["stand-alone"].wide,e);case"LLLLL":return se(n.months["stand-alone"].narrow,e)}break;case"a":case"b":case"B":if(t.length>=1&&t.length<=3)return se(n.dayPeriods.format.abbreviated,e);if(4===t.length)return se(n.dayPeriods.format.wide,e);if(5===t.length)return se(n.dayPeriods.format.narrow,e);break;case"E":case"e":case"c":switch(r){case"E":case"EE":case"EEE":case"eee":case"ccc":case"EEEEE":case"eeeee":case"ccccc":return se(n.days.format.abbreviated,e);case"EEEE":case"eeee":case"cccc":return se(n.days.format.wide,e);case"EEEEEE":case"eeeeee":case"cccccc":return se(n.days.format.short,e)}}}(i,e,this.calendarData);if(t)switch(e.type){case"G":r=parseInt(t,10);break;case"M":case"L":n.month=ae.indexOf(t)+1;break;case"a":case"b":case"B":s=t}}}),void 0!==r&&r>=0){const e=function(e,t,n,r,s="gregorian",a){if("gregorian"===s)return 0===e?-t:t;if(a&&"solar"===a.calendarSystem&&a.eras){const n=Object.keys(a.eras).sort().map(e=>a.eras[e]);(e>=n.length||e<0)&&(e=n.length-1);const r=n[e],s=t>0?t-1:t<0?t+1:0;if(r._end){const e=z(r._end);if(!e)return;return e.year-s}if(r._start){const e=z(r._start);if(!e)return;return e.year+s}}else if(a&&"solar"!==a.calendarSystem&&a.eras)return t}(r,n.year,n.month,n.day,this.calendarType,this.commonCalendarData);void 0!==e&&(n.year=e)}if(void 0!==s)switch(s){case"am":case"morning1":case"morning2":break;case"pm":case"afternoon1":case"afternoon2":case"evening1":case"night1":n.hour>=0&&n.hour<12&&(n.hour+=12);break;case"midnight":12===n.hour&&(n.hour=0)}return n.getDate()}}const oe=new L;const ce=new Map;const ue=new Map;function le(e,t=!1,n,r,s,a){const i=[];let o=0,c=0;const u=[],l=e.indexOf("E"),h=l>0?e.slice(0,l):e.slice(0),m=h.indexOf("."),f=m>=0?h.slice(0,m):h.slice(0);let g=0,d=!1,p=!1,b=!1;const y=[];if([...f].forEach(e=>y.push(e)),y.reverse(),[...y].forEach(e=>{switch(e){case".":break;case"+":p=!0,i.push({token:"plusSign"});break;case"-":b=!0,i.push({token:"minusSign"});break;case"%":i.push({token:"percentSign"});break;case"¤":i.push({token:"currencySign"});break;case"0":c++;case"#":g++,d||(i.push({token:"integer"}),d=!0);break;case",":u.push(g),g=0;break;default:i.push({token:"string",value:e})}}),i.reverse(),m>=0){i.push({token:"decimalSign"});const e=h.slice(m);let t=!1;[...e].forEach(e=>{switch(e){case".":break;case"+":p=!0,i.push({token:"plusSign"});break;case"-":b=!0,i.push({token:"minusSign"});break;case"%":i.push({token:"percentSign"});break;case"¤":i.push({token:"currencySign"});break;case"0":o++;case"#":t||(i.push({token:"fraction"}),t=!0);break;case",":break;default:i.push({token:"string",value:e})}})}let w="";for(let e=0;e<i.length;e++){const t=i[e];switch(t.token){case"integer":w+="("+R(n,u.length>0?r.group:"")+"+)";break;case"fraction":w+="("+R(n,u.length>0?r.group:"")+"+)",(a||m>0&&o<=0)&&(w+="?");break;case"decimalSign":w+="("+Z(r.decimal)+")",(a||m>0&&o<=0)&&(w+="?");break;case"plusSign":w+="("+Z(r.plusSign)+")?";break;case"minusSign":w+="("+Z(r.minusSign)+")?";break;case"percentSign":w+="("+Z(r.percentSign)+")?";break;case"currencySign":w+="("+Z(s)+")?";break;case"string":void 0!==t.value&&(/^\s+$/.test(t.value)?w+="(\\s+)"+(a?"?":""):w+="("+Z(t.value)+")")}}t||(p||b?p?b||(w="("+Z(r.minusSign)+")?"+w,i.unshift({token:"minusSign"})):(w="("+Z(r.plusSign)+")?"+w,i.unshift({token:"plusSign"})):(w="("+Z(r.plusSign)+"|"+Z(r.minusSign)+")?"+w,i.unshift({token:"plusOrMinusSign"})));return{expr:new RegExp(w),groups:i,isNegative:t,minIntegerDigits:c,minFractionalDigits:o}}function he(e,t=!1,n,r,s,a){if(!t&&r){const t=he(e,!0,n,r,s,a);if(!isNaN(t))return t}const i=t&&r?r:n,o=e.match(i.expr);if(!o)return NaN;let c=!1,u=!1,l=!1,h="",m="";const f=new RegExp(Z(a.group),"g");for(let e=0;e<i.groups.length;e++){const t=i.groups[e];l=l||"percentSign"===t.token;const n=o[e+1];if(n)switch(t.token){case"integer":h+=$(n.replace(f,""),s);break;case"fraction":m+=$(n.replace(f,""),s);break;case"plusSign":u=!0;break;case"minusSign":c=!0;break;case"plusOrMinusSign":switch(n){case a.plusSign:u=!0;break;case a.minusSign:c=!0}}}if(c&&u)throw new Error("String has both plus and minus sign");let g=NaN;if(h.replace(/\b0+\B/,""),l){m=h.slice(-2).padStart(2,"0")+m,h=h.slice(0,-2).padStart(1,"0");let e=(c?"-":"")+h;""!==m&&(e+="."+m),g=Number.parseFloat(e)}else{let e=(c?"-":"")+h;void 0===i.minFractionalDigits||void 0!==i.minFractionalDigits&&i.minFractionalDigits<=0&&""===m?g=Number.parseInt(e):(""!==m&&(e+="."+m),g=Number.parseFloat(e))}return t&&r?-g:g}class me{constructor(e){const t={commonDigits:y.default,defaultNumberingSystem:E.default,currencySymbol:F.default,symbols:{decimal:v.default,group:D.default,percentSign:N.default,plusSign:M.default,minusSign:x.default,exponential:T.default,superScriptingExponent:U.default,perMille:C.default,infinity:G.default,nan:O.default}};e.numberingSystem=e.numberingSystem?e.numberingSystem:t.defaultNumberingSystem,this.options=e,this.digits=t.commonDigits[e.numberingSystem],this.symbols=t.symbols,this.currencySymbol=t.currencySymbol,this.lenient=!(!1===e.lenient);const n=function(e,t,n,r,s){const a=e.split(";");return a.length>=2?{positive:le(a[0],!1,t,n,r,s),negative:le(a[1],!0,t,n,r,s)}:{positive:le(e,!1,t,n,r,s)}}(this.options.pattern,this.digits,this.symbols,this.currencySymbol,this.lenient);this.positiveExpr=n.positive,this.negativeExpr=n.negative}parse(e){return he(e,!0,this.positiveExpr,this.negativeExpr,this.digits,this.symbols)}}const fe=new L;const ge=/^[\s]*(((-|\+)?([0-9]{4})[-]?|--)(([0-9]{2})|([0-9]{2})[-]?([0-9]{2})|(W([0-9]{2})([-]?([0-9]))?)|[-]?([0-9]{3})))(T([0-9]{2})([:]?([0-9]{2})([:]?([0-9]{2})(\.([0-9]{3}))?)?)?(Z|(-|\+)([0-9]{2})([:]?([0-9]{2})?)?)?)?[\s]*$/,de=2,pe=de+1,be=de+2,ye=be+1,we=ye+1,Se=ye+2,Ee=ye+4,ke=ye+8,ve=ye+9,De=ve+2,Ne=ve+4,Me=ve+6,xe=ve+8,Te=ve+11,Ue=/^[\s]*(([0-9]{2})([:]?([0-9]{2})([:]?([0-9]{2})(\.([0-9]{3}))?)?)?(Z|(-|\+)([0-9]{2})([:]?([0-9]{2})?)?)?)[\s]*$/,Ce=1,Ge=Ce+2,Oe=Ce+4,Fe=Ce+6,Ie=Ce+8,Le=Ce+11;function Pe(e){if(e&&ge.test(e))return function(e){const t=e.match(ge);if(t){let n,r,s=!0,a=!1;t[be]&&(n=Number(t[be]),t[pe]&&"-"===t[pe]&&(n=-n),a=a||t[de].endsWith("-"));let i=1,o=1;if(void 0!==n&&t[ye]){if(r=29===new Date(Date.UTC(n,1,29,0,0,0,0)).getUTCDate(),a=a||t[ye].indexOf("-")>=0,t[we]){if(!t[de].endsWith("-"))throw new Error("Unparseable date '"+e+"'");i=Number(t[we]),o=1,s=!1}else if(t[Se])i=Number(t[Se]),o=Number(t[Se+1]);else if(t[Ee]){const r=Number(t[Ee+1]);let a=1;if(t[Ee+2]?a=Number(t[Ee+3]):s=!1,!function(e){return Number.isInteger(e)&&e>=1&&e<=53}(r)||!function(e){return Number.isInteger(e)&&e>=1&&e<=7}(a))throw new Error("Unparseable date '"+e+"'");const c=new Date(Date.UTC(n,0,1,0,0,0,0)).getUTCDay(),u=2===c||3===c||4===c?n-1:n,l=2===c||3===c||4===c?12:1,h=2===c||3===c||4===c?33-c:(9-c)%7,m=new Date(Date.UTC(u,l-1,h+7*(r-1)+(a-1),0,0,0,0));n=m.getUTCFullYear(),i=m.getUTCMonth()+1,o=m.getUTCDate()}else if(t[ke]){const s=Number(t[ke]);if(!function(e,t){return Number.isInteger(e)&&e>=1&&(t&&e<=366||!t&&e<=365)}(s,r))throw new Error("Unparseable date '"+e+"'");const a=new Date(Date.UTC(n,0,s,0,0,0,0));i=a.getUTCMonth()+1,o=a.getUTCDate()}}else{if(void 0!==n||!t[ye]||!t[Se])throw new Error("Unparseable date '"+e+"'");n=2e3,i=Number(t[Se]),o=Number(t[Se+1]),r=29===new Date(Date.UTC(n,1,29,0,0,0,0)).getUTCDate(),s=!1,a=a||t[ye].indexOf("-")>=0}if(!V(i,o,r))throw new Error("Unparseable date '"+e+"'");let c=0,u=0,l=0,h=0,m=!1,f=!0;if(void 0!==t[ve]){if(!s)throw new Error("Unparseable date '"+e+"'");if(c=Number(t[ve+1]),t[De]&&(u=Number(t[De+1]),m=m||t[De].startsWith(":"),f=!1),void 0!==t[Ne]&&(l=Number(t[Ne+1]),m=m||t[Ne].startsWith(":"),f=!1),void 0!==t[Me]&&(h=Number(t[Me+1])),void 0!==t[xe]&&"Z"!==t[xe]){let e=60*Number(t[xe+2]);void 0!==t[Te]&&(e+=Number(t[Te+1])),"+"===t[xe+1]&&(e=-e),u+=e}if(a!==m&&!f)throw new Error("Unparseable date '"+e+"'")}const g=Date.UTC(n,i-1,o,c,u,l,h);return new Date(g)}throw new Error("Unparseable date '"+e+"'")}(e);if(e&&Ue.test(e))return function(e){const t=e.match(Ue);if(t){let e=0,n=0,r=0,s=0;if(void 0!==t[Ce]&&(e=Number(t[Ce+1]),t[Ge]&&(n=Number(t[Ge+1])),void 0!==t[Oe]&&(r=Number(t[Oe+1])),void 0!==t[Fe]&&(s=Number(t[Fe+1])),void 0!==t[Ie]&&"Z"!==t[Ie])){let e=60*Number(t[Ie+2]);void 0!==t[Le]&&(e+=Number(t[Le+1])),"+"===t[Ie+1]&&(e=-e),n+=e}const a=new Date,i=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),e,n,r,s);return new Date(i)}throw new Error("Unparseable date '"+e+"'")}(e);throw new Error("Unparseable date '"+e+"'")}const Ze=new class{constructor(){}parse(e){return Pe(e)}};e.clearCache=function(){P.clear(),oe.clear(),ce.clear(),ue.clear(),fe.clear()},e.getDateTimeCLDRParser=function(e){return oe.has(e)||oe.set(e,new ie(e)),oe.get(e)},e.getDateTimeFormat=function(e="en-US",t={}){if(P.has(e)||P.set(e,new L),!P.get(e).has(t)){const n=new Intl.DateTimeFormat(e,t);P.get(e).set(t,n)}return P.get(e).get(t)},e.getDateTimeISO8601Parser=function(){return Ze},e.getNumberFormat=function(e="en-US",t={}){return ue.has(e)||ue.set(e,new L),ue.get(e).has(t)||ue.get(e).set(t,new Intl.NumberFormat(e,t)),ue.get(e).get(t)},e.getNumberParser=function(e){return fe.has(e)||fe.set(e,new me(e)),fe.get(e)},e.getRelativeTimeFormat=function(e="en-US",t={}){return ce.has(e)||ce.set(e,new L),ce.get(e).has(t)||ce.get(e).set(t,new Intl.RelativeTimeFormat(e,t)),ce.get(e).get(t)},Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/internationalizationLibrary",["exports","@salesforce/i18n/currency","@salesforce/i18n/locale","lightning/i18nService","@salesforce/i18n/number.numberFormat","@salesforce/i18n/number.percentFormat","@salesforce/i18n/number.currencyFormat","lightning/configProvider","lightning/iso8601Utils","lightning/utilsPrivate","@salesforce/i18n/dateTime.mediumDateFormat","lightning/i18nCldrOptions","@salesforce/i18n/dateTime.shortDateFormat","@salesforce/i18n/dateTime.longDateFormat","@salesforce/i18n/dateTime.shortTimeFormat","@salesforce/i18n/dateTime.mediumTimeFormat","@salesforce/i18n/lang"],function(e,t,n,r,i,a,o,u,s,f,l,c,m,A,S,p,d){function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var C=g(t),h=g(n),T=g(i),K=g(a),Z=g(o),y=g(l),_=g(c),b=g(m),F=g(A),L=g(S),I=g(p),D=g(d);function O(e){let t=function(e,t){if("object"!=typeof e||!e)return e;let n=e[Symbol.toPrimitive];if(void 0!==n){let r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(let n=0;n<t.length;n++){let r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,O(r.key),r)}}function v(e,t,n){return t&&M(e.prototype,t),n&&M(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t){let n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);let n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);let t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}let r,i=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){let e=n.next();return i=e.done,e},e:function(e){a=!0,r=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw r}}}}let E={AE:{fmt:"%A%n%S%n%K",require:"ASK",input:"ASK"},AL:{fmt:"%A%n%Z%n%C%n%K",require:"AZCK",input:"AZCK"},EC:{_ref:"AL"},MU:{_ref:"AL"},OM:{_ref:"AL"},AM:{fmt:"%A%n%Z%n%C%n%S%n%K",require:"AZK",input:"AZK"},AR:{fmt:"%A%n%Z %C%n%S%n%K",require:"AZCSK",input:"AZCSK"},CL:{_ref:"AR"},CV:{_ref:"AR"},MY:{_ref:"AR"},UZ:{_ref:"AR"},AT:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},BA:{_ref:"AT"},BG:{_ref:"AT"},CH:{_ref:"AT"},CY:{_ref:"AT"},DE:{_ref:"AT"},DK:{_ref:"AT"},DO:{_ref:"AT"},DZ:{_ref:"AT"},EE:{_ref:"AT"},ET:{_ref:"AT"},FR:{_ref:"AT"},GE:{_ref:"AT"},GL:{_ref:"AT"},GR:{_ref:"AT"},IL:{_ref:"AT"},KW:{_ref:"AT"},LA:{_ref:"AT"},LR:{_ref:"AT"},IS:{_ref:"AT"},MA:{_ref:"AT"},MG:{_ref:"AT"},MK:{_ref:"AT"},MZ:{_ref:"AT"},NL:{_ref:"AT"},NO:{_ref:"AT"},PL:{_ref:"AT"},PT:{_ref:"AT"},PY:{_ref:"AT"},RO:{_ref:"AT"},RS:{_ref:"AT"},SK:{_ref:"AT"},TJ:{_ref:"AT"},TN:{_ref:"AT"},TZ:{_ref:"AT"},WF:{_ref:"AT"},AU:{fmt:"%A%n%C %S %Z%n%K",require:"ACSZK",input:"ACSZK"},CA:{_ref:"AU"},AZ:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},AF:{fmt:"%A%n%C%n%Z%n%K",require:"ACZK",input:"ACZK"},FK:{_ref:"AF"},GB:{fmt:"%A%n%C%n%S%n%Z%n%K",require:"ACZK",input:"ACSZK"},KE:{_ref:"AF"},LK:{_ref:"AF"},ZA:{_ref:"AF"},SH:{_ref:"AF"},SZ:{_ref:"AF"},US:{fmt:"%A%n%C, %S %Z%n%K",require:"ACSZK",input:"ACSZK"},BB:{_ref:"US"},BS:{_ref:"US"},SO:{_ref:"US"},ES:{fmt:"%A%n%Z %C %S%n%K",require:"AZCSK",input:"AZCSK"},IT:{_ref:"ES"},UY:{_ref:"ES"},ID:{fmt:"%A%n%C%n%S %Z%n%K",require:"ACSZK",input:"ACSZK"},IE:{_ref:"ID"},TH:{_ref:"ID"},VN:{_ref:"ID"},HU:{fmt:"%C%n%A%n%Z%n%K",require:"CAZK",input:"CAZK"},BH:{fmt:"%A%n%C %Z%n%K",require:"ACZK",input:"ACZK"},BM:{_ref:"BH"},BN:{_ref:"BH"},BT:{_ref:"BH"},KH:{_ref:"BH"},LB:{_ref:"BH"},JO:{_ref:"BH"},MT:{_ref:"BH"},NP:{_ref:"BH"},NZ:{_ref:"BH"},SA:{_ref:"BH"},BD:{fmt:"%A%n%C - %Z%n%K",require:"ACZK",input:"ACZK"},BR:{fmt:"%A%n%C-%S%n%Z%n%K",require:"ACSZK",input:"ACSZK"},CN:{fmt:"%K%n%S %C%n%A%n%Z",require:"KCAZ",input:"KSCAZ"},HK:{fmt:"%K%S%C%n%A%n%Z",require:"KCA",input:"KSCAZ"},CO:{fmt:"%A%n%C, %S, %Z%n%K",require:"ACSZK",input:"ACSZK"},CR:{fmt:"%A%n%S, %C%n%Z%n%K",require:"ACSZK",input:"ASCZK"},EG:{fmt:"%A%n%C%n%S%n%Z%n%K",require:"ACSZK",input:"ACSZK"},RU:{_ref:"EG"},UA:{_ref:"EG"},FI:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},GT:{fmt:"%A%n%Z-%C%n%K",require:"AZCK",input:"AZCK"},HN:{fmt:"%A%n%C, %S%n%Z%n%K",require:"ACSZK",input:"ACSZK"},IQ:{_ref:"HN"},HR:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},HT:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},IN:{fmt:"%A%n%C %Z%n%S%n%K",require:"ACZSK",input:"ACZSK"},NG:{_ref:"IN"},PE:{_ref:"IN"},IR:{fmt:"%S%n%C%n%A%n%Z%n%K",require:"SCAZK",input:"SCAZK"},JM:{fmt:"%A%n%C%n%S%n%K",require:"ACSK",input:"ACSK"},PA:{_ref:"JM"},SC:{_ref:"JM"},SR:{_ref:"JM"},JP:{fmt:"%K%n"+String.fromCharCode(12306)+"%Z%n%S %C%n%A",require:"KZCA",input:"KZSCA"},EN_JP:{fmt:"%A%n%C %S%n%Z %K",require:"ACSZK",input:"ACSZK"},KG:{fmt:"%Z %C%n%A%n%S%n%K",require:"ZCAK",input:"ZCAK"},KR:{fmt:"%S %C%n%A%n%Z%n%K",require:"SCAZK",input:"SCAZK"},KY:{fmt:"%A%n%S %Z%n%K",require:"ASZK",input:"ASZK"},KZ:{fmt:"%Z%n%S%n%C%n%A%n%K",require:"ZSCAK",input:"ZSCAK"},LT:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},LV:{fmt:"%A%n%C, %Z%n%K",require:"ACZK",input:"ACZK"},MM:{_ref:"LV"},MC:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},MD:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},MW:{fmt:"%A%n%C%n%K",require:"ACK",input:"ACK"},MX:{fmt:"%A%n%Z %C, %S%n%K",require:"AZCSK",input:"AZCSK"},NI:{fmt:"%A%n%Z%n%C, %S%n%K",require:"AZCSK",input:"AZCSK"},PG:{fmt:"%A%n%C %Z %S%n%K",require:"ACZSK",input:"ACZSK"},PH:{fmt:"%A, %C%n%Z %S%n%K",require:"ACZSK",input:"ACZSK"},PK:{fmt:"%A%n%C-%Z%n%K",require:"ACZK",input:"ACZK"},PR:{fmt:"%A%n%C %Z%n%K",require:"ACZK",input:"ACZK"},SE:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},SG:{fmt:"%A%n%C %Z%n%S%n%K",require:"AZK",input:"AZK"},SI:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},SV:{fmt:"%A%n%Z-%C%n%S%n%K",require:"AZCSK",input:"AZCSK"},TR:{fmt:"%A%n%Z %C/%S%n%K",require:"AZCK",input:"AZCK"},TW:{fmt:"%K%n%Z%n%S %C%n%A",require:"KZSCA",input:"KZSCA"},VE:{fmt:"%A%n%C %Z, %S%n%K",require:"ACZSK",input:"ACZSK"}},U={languageCode:{af:"ZA",am:"ET",ar:"AE",bg:"BG",bn:"BD",bs:"BA",ca:"ES",cs:"CZ",cy:"GB",da:"DK",de:"DE",el:"GR",es:"ES",et:"EE",eu:"ES",fa:"IR",fi:"FI",fr:"FR",ga:"IE",gu:"IN",haw:"US",hi:"IN",hmn:"US",hr:"HR",ht:"HT",hu:"HU",hy:"AM",in:"ID",is:"IS",it:"IT",iw:"IL",ja:"JP",ji:"IL",ka:"GE",kk:"KZ",kl:"GL",km:"KH",kn:"IN",ko:"KR",lb:"LU",lt:"LT",lv:"LV",mi:"NZ",mk:"MK",ml:"IN",mr:"IN",ms:"MY",mt:"MT",my:"MM",nl:"NL",no:"NO",pa:"IN",pl:"PL",pt:"PT",rm:"CH",ro:"RO",ru:"RU",sh:"RS",sk:"SK",sl:"SL",sm:"WS",sq:"AL",sr:"RS",sv:"SE",sw:"ZA",ta:"IN",te:"IN",th:"TH",tl:"PH",tr:"TR",uk:"UA",ur:"IN",vi:"VN",xh:"ZA",zh:"CN",zu:"ZA"}};var z=Object.freeze({A:Symbol("Address Lines"),C:Symbol("City"),S:Symbol("State"),K:Symbol("Country"),Z:Symbol("Zip Code"),n:Symbol("New Line"),fromPlaceHolder:function(e){switch(e){case"A":return z.A;case"C":return z.C;case"S":return z.S;case"K":return z.K;case"Z":return z.Z;case"n":return z.n}return null},getPlaceHolder:function(e){switch(e){case z.A:return"A";case z.C:return"C";case z.S:return"S";case z.K:return"K";case z.Z:return"Z";case z.n:return"n"}return null},getData:function(e,t){if(t)switch(e){case z.A:return t.address;case z.C:return t.city;case z.S:return t.state;case z.K:return t.country;case z.Z:return t.zipCode;case z.n:return t.newLine}return null}});let j=Object.freeze({DATA:Symbol("data"),STRING:Symbol("string"),NEWLINE:Symbol("newline"),GROUP:Symbol("group")}),q=function(){function e(t,n,r){N(this,e),this.type=t,this.string=n,this.pattern=r}return v(e,null,[{key:"string",value:function(t){return new e(j.STRING,t)}},{key:"data",value:function(t){return new e(j.DATA,void 0,t)}},{key:"newLine",value:function(){return new e(j.NEWLINE)}}]),e}(),H=v(function e(t,n){N(this,e),this.pattern=t,this.start=n});function P(e,t,n,r,i){let a=[];for(let o=r;o<=i;o++){let u=e[o];if(u&&u.type==j.DATA){let u="",s=o;for(let n=o;n<=i;n++){let r=e[n];if(!r||r.type!=j.DATA)break;let i=z.getData(r.pattern,t);i&&(u+=i,s=n)}let f=u&&u.length>0,l=!1;if(o-1>=r){let i=e[o-1];if(i&&i.type==j.STRING&&i.string){for(let n=o-2;n>=r;n--){let r=e[n];if(r&&r.type==j.DATA){if(z.getData(r.pattern,t)){l=!0;break}}else r&&r.type==j.STRING&&(i=r)}(!n||l&&f||o-1==r&&f)&&a.push(i.string)}}if(f&&a.push(u),o=s,o+1==i){let t=e[o+1];t&&t.type==j.STRING&&t.string&&(!n||f||l)&&a.push(t.string),o+=1}}}return a.join("").trim()}let k={format:function(e,t,n,r){r=!1!==r,n=n||"\n";let i=[];return function(e,t){let n=e.start;if(e.pattern){let r=e.pattern.length;for(;e.start<r;)if(n=e.pattern.indexOf("%",n),n>=0&&n+1<r){let r=e.pattern.substring(n+1,n+2);switch(r){case"n":n-e.start>0&&t.push(q.string(e.pattern.substring(e.start,n))),t.push(q.newLine()),e.start=n+2,n=e.start;break;default:{let i=z.fromPlaceHolder(r);i?(n-e.start>0&&t.push(q.string(e.pattern.substring(e.start,n))),t.push(q.data(i)),e.start=n+2,n=e.start):(e.start=n+2,n=e.start);break}}}else e.start<r&&t.push(q.string(e.pattern.substring(e.start))),e.start=r}}(new H(t,0),i),function(e,t,n,r){let i=[],a=-1;for(let n=0;n<e.length;n++){let o=!1,u=!1;if(e[n].type===j.NEWLINE?a>=0?(o=!0,u=!0):r||(i.push(""),n+1==e.length&&i.push("")):(a=a<0?n:a,o=n+1==e.length||o),o){let o=P(e,t,r,a,u?n-1:n);r&&!o||i.push(o),!r&&u&&n+1==e.length&&i.push(""),a=-1}}return i.join(n)}(i,e,n,r)}},x=["CN","HK","TW","JP","KR","KP"],V=["zh","ja","ko"],G={getAddressInfoForCountry:function(e,t){let n=this.getCountryFromLocale(e,t);if(E[n]){let e=Object.freeze(Object.assign({},E[n]));return Object.freeze({address:e})}return{}},getAddressFormat:function(e,t){let n=this.getCountryFromLocale(e,t);return E[n]?E[n].fmt:""},getAddressInputOrder:function(e,t){e&&"en"==e.toLowerCase()&&t&&"HK"==t.toUpperCase()&&(e="en",t="US");let n=this.getCountryFromLocale(e,t);return E[n]?E[n].input:""},getAddressInputOrderAllField:function(e,t){e&&"en"==e.toLowerCase()&&t&&"HK"==t.toUpperCase()&&(e="en",t="US");let n=this.getCountryFromLocale(e,t);if(E[n]){let e=E[n].input;return-1===e.indexOf("S")&&(e=e.replace("K","SK")),-1===e.indexOf("C")&&(e=e.replace("S","CS")),-1===e.indexOf("Z")&&(e=e.replace("C","ZC")),e}return""},getAddressRequireFields:function(e,t){let n=this.getCountryFromLocale(e,t);return E[n]?E[n].require:""},formatAddressAllFields:function(e,t,n,r){let i=this.getCountryFromLocale(e,t,n);if(E[i]){let e=E[i].fmt;return n.zipCode&&-1===e.indexOf("%Z")&&(e=e.replace("%K","%Z %K")),n.city&&-1===e.indexOf("%C")&&(e=e.replace("%K","%C %K")),n.state&&-1===e.indexOf("%S")&&(e=e.replace("%K","%S %K")),this.buildAddressLines(e,n,r,!0)}return""},formatAddress:function(e,t,n,r){let i=this.getCountryFromLocale(e,t,n);return E[i]?this.buildAddressLines(E[i].fmt,n,r,!0):""},buildAddressLines:function(e,t,n,r){return k.format(t,e,n,r)},followReferences:function(e,t){return e[t]&&e[t]._ref?this.followReferences(e,e[t]._ref):t},containsHanScript:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!(!t||!Array.isArray(t))&&t.some(function(e){if(!e)return!1;let t,n=R(e);try{for(n.s();!(t=n.n()).done;){let e=t.value.codePointAt(0);if(11904<=e&&e<=12031||13056<=e&&e<=13311||65072<=e&&e<=65103||63744<=e&&e<=64255||194560<=e&&e<=195103||12288<=e&&e<=12351||19968<=e&&e<=40959||13312<=e&&e<=19903||131072<=e&&e<=173791||173824<=e&&e<=177983||177984<=e&&e<=178207||178208<=e&&e<=183983||183984<=e&&e<=191471||12800<=e&&e<=13055||12736<=e&&e<=12783||12544<=e&&e<=12591||12704<=e&&e<=12735||12032<=e&&e<=12255||12272<=e&&e<=12287||65280<=e&&e<=65519||12352<=e&&e<=12447||12448<=e&&e<=12543||12784<=e&&e<=12799||110592<=e&&e<=110847||110848<=e&&e<=110895||4352<=e&&e<=4607||44032<=e&&e<=55215||12592<=e&&e<=12687||43360<=e&&e<=43391||55216<=e&&e<=55295)return!0}}catch(e){n.e(e)}finally{n.f()}return!1})},getCountryFromLocale:function(e,t,n){if(n){let r=!t&&V.indexOf(e.toLowerCase())>=0||t&&x.indexOf(t.toUpperCase())>=0;if((!(!t&&"ja"==e.toLowerCase()||t&&"JP"==t.toUpperCase())||!this.containsHanScript(n.address,n.city,n.state,n.country))&&r&&!this.containsHanScript(n.address))return this.getCountryFromLocale(e,"EN_"+t)}let r=t;return"uz"==e&&r&&"latn"==r.toLowerCase()&&(r="UZ"),!r&&U.languageCode[e]&&(r=U.languageCode[e]),r=this.followReferences(E,r),r&&E[r]?r:"US"},getFallback:function(e,t,n){return this.getCountryFromLocale(e,t)}};var B={DEFAULT:{short_f:"%F %L",medium_f:"%F %M %L",long_f:"%S %F %M %L %X %I",input:"SFMLXI"},vi:{short_f:"%L %F",medium_f:"%L %M %F",long_f:"%L %M %F %X %I",input:"SLFMXI"},vi_VN:{_ref:"vi"},hu:{short_f:"%L %F",medium_f:"%L %F",long_f:"%L %F %M %X %I",input:"SLFMXI"},hu_HU:{_ref:"hu"},ja:{short_f:"%L %F",medium_f:"%L %M %F",long_f:"%L %M %F %X %I",input:"SLMFXI"},ja_JP:{_ref:"ja"},ko:{_ref:"ja"},ko_KR:{_ref:"ja"},zh:{_ref:"ja"},zh_CN:{_ref:"ja"},zh_CN_PINYIN:{_ref:"ja"},zh_CN_STROKE:{_ref:"ja"},zh_HK:{_ref:"ja"},zh_HK_STROKE:{_ref:"ja"},zh_MO:{_ref:"ja"},zh_SG:{_ref:"ja"},zh_TW:{_ref:"ja"},zh_TW_STROKE:{_ref:"ja"}},$={SALUTATION:Symbol("Salutation"),FIRST:Symbol("First Name"),MIDDLE:Symbol("Middle Name"),LAST:Symbol("Last Name"),SUFFIX:Symbol("Suffix"),INFORMAL:Symbol("Informal Name")},W=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var J=function e(t){X(this,e),this.parts=Object.freeze(t),Object.freeze(this)},Y=function e(t){X(this,e),this.field=t,this.type="field",Object.freeze(this)},Q=function e(t){X(this,e),this.type="text",this.text=t,Object.freeze(this)},ee=Object.freeze({SALUTATION:new Y($.SALUTATION),FIRST:new Y($.FIRST),MIDDLE:new Y($.MIDDLE),LAST:new Y($.LAST),SUFFIX:new Y($.SUFFIX),INFORMAL:new Y($.INFORMAL)}),te=new(function(){function e(){X(this,e)}return W(e,[{key:"parse",value:function(e){for(var t=[],n="",r=0;r<e.length;r+=1)if("%"===e[r]){if(r+=1,n.length>0&&(t.push(Object.freeze(new Q(n))),n=""),r>=e.length)throw new Error("Unexpected end of format. Symbol at "+(r-1)+" should be followed by a valid field code");switch(e[r]){case"S":t.push(ee.SALUTATION);break;case"F":t.push(ee.FIRST);break;case"M":t.push(ee.MIDDLE);break;case"L":t.push(ee.LAST);break;case"X":t.push(ee.SUFFIX);break;case"I":t.push(ee.INFORMAL)}}else n+=e[r];return n.length>0&&t.push(new Q(n)),new J(t)}}]),e}()),ne={getNameInfoForLocale:function(e){var t=this.getFallback(e);if(B[t]){var n=Object.freeze(Object.assign({},B[t]));return Object.freeze({name:n})}},getNameFormatPatternMedium:function(e){var t=this.getFallback(e);if(B[t])return B[t].medium_f},getNameFormatPatternShort:function(e){var t=this.getFallback(e);if(B[t])return B[t].short_f},getNameFormatPatternLong:function(e){var t=this.getFallback(e);if(B[t])return B[t].long_f},getNameInputOrder:function(e){var t=this.getFallback(e);if(B[t])return B[t].input},formatNameShort:function(e,t){var n=this.getFallback(e);if(B[n])return this.buildName(B[n].short_f,t)},formatNameMedium:function(e,t){var n=this.getFallback(e);if(B[n])return this.buildName(B[n].medium_f,t)},formatNameLong:function(e,t){var n=this.getFallback(e);if(B[n])return this.buildName(B[n].long_f,t)},buildName:function(e,t){for(var n=te.parse(e),r=[],i=0;i<n.parts.length;i++){var a=n.parts[i];"text"===a.type?r.push(a.text):"field"===a.type&&(a.field===$.SALUTATION?r.push(t.salutation||""):a.field===$.FIRST?r.push(t.first||""):a.field===$.MIDDLE?r.push(t.middle||""):a.field===$.LAST?r.push(t.last||""):a.field===$.SUFFIX?r.push(t.suffix||""):a.field===$.INFORMAL&&r.push(t.informal||""))}return r.join("").trim().replace(/  /g," ")},followReferences:function(e){return B[e]&&B[e]._ref?this.followReferences(B[e]._ref):e},getFallback:function(e){var t=this.followReferences(e);return B[t]?t:"DEFAULT"}};const re={DECIMAL:"decimal",CURRENCY:"currency",PERCENT:"percent"},ie="symbol",ae="name",oe=15,ue=/0+$/;function se(e){return parseInt(e,10)}function fe(e,t){!function(e,t){const n=function(e){return e.split(";")[0].split(".")[1]||""}(e),r=n.replace(/[^0]/g,"").length,i=n.replace(/[^0#]/g,"").length,a=se(t.minimumFractionDigits),o=se(t.maximumFractionDigits);isFinite(t.minimumFractionDigits)||(t.minimumFractionDigits=Math.min(r,isNaN(o)?r:o)),(!isFinite(t.maximumFractionDigits)||o<a)&&(t.maximumFractionDigits=Math.max(i,isNaN(a)?i:a))}(e,t);const n=function(e){const{minimumFractionDigits:t,maximumFractionDigits:n}=e;return"."+"0".repeat(t)+"#".repeat(n-t)}(t);return le(e,n)}function le(e,t){if(!t)return e;if(e.indexOf(";")>0){const[n,r]=e.split(";");return`${le(n,t)};${le(r,t)}`}if(e.indexOf(".")>0)return e.replace(/\.(0|#)*/,t);const n=Math.max(e.lastIndexOf("0"),e.lastIndexOf("#"))+1;return[e.slice(0,n),t,e.slice(n)].join("")}function ce(e){const t=e.currencyDisplay||ie;return t===ie||t===ae?function(e,t){const n={style:re.CURRENCY,currency:e,minimumFractionDigits:0};return t&&(n.currencyDisplay=t),r.getNumberFormat(h.default,n).format(2).replace(/2/g,"")}(e.currency,t):e.currency}const me=e=>{const t=(e=>e.style===re.CURRENCY?Z.default:e.style===re.PERCENT?K.default:T.default)(e);let n=fe(t,e);return n=function(e,t){const n=t.minimumIntegerDigits,r=function(e){const t=e.match(/,[#0]*\./);return t?t[0].length-2:0}(e);return n?n<=r?e.replace(/,[#0]*\./,","+"#".repeat(r-n)+"0".repeat(n)+"."):e.replace(/[#0]*\./,"0".repeat(n-r)+","+"0".repeat(r)+"."):e}(n,e),(e=>!e.currency||C.default===e.currency)(e)||(n=function(e,t,n){const r=String.fromCharCode(164);return n.currencyDisplay===ae?e.replace(r,"")+t:e.replace(r,t)}(n,ce(e),e)),n};function Ae(e){return u.getLocalizationService().formatDateTimeUTC(e)}function Se(e,t,n){return u.getLocalizationService().formatDate(e,t,n)}function pe(e,t,n){return u.getLocalizationService().formatDateUTC(e,t,n)}function de(e,t){return u.getLocalizationService().formatTime(e,t)}function ge(e){return u.getLocalizationService().parseDateTimeUTC(e)}function Ce(e){return u.getLocalizationService().parseDateTimeISO8601(e)}function he(e,t,n){return u.getLocalizationService().parseDateTime(e,t,n)}function Te(e,t){let n=null;return u.getLocalizationService().UTCToWallTime(e,t,e=>{n=e}),n}function Ke(e,t){let n=null;return u.getLocalizationService().WallTimeToUTC(e,t,e=>{n=e}),n}function Ze(e){return u.getLocalizationService().translateToOtherCalendar(e)}function ye(e){return u.getLocalizationService().translateFromOtherCalendar(e)}function _e(e,t,n){if(!e)return null;if(!t)return s.isValidISOTimeString(e)?Ce(e):null;const r=e.replace(/(\d)([AaPp][Mm])/g,"$1 $2"),i=t.replace(/(\b|[^h])h{2}(?!h)/g,"$1h").replace(/(\b|[^H])H{2}(?!H)/g,"$1H").replace(/(\b|[^m])m{2}(?!m)/g,"$1m").replace(/\s*A/g," A").trim(),a=[i];a.push(i.replace("m","m:s"),i.replace("m","m:s.S"),i.replace("m","m:s.SS"),i.replace("m","m:s.SSS")),a.reverse();for(let e=0;e<a.length;e++){const t=he(r,a[e],n);if(t)return t}return null}function be(e){const t=me(e);return{format:e=>function(e){return u.getLocalizationService().getNumberFormat(e)}(t).format(e)}}const Fe=f.isCSR&&window.$A?.localizationService,Le=e=>`datetime component: The value attribute accepts a valid ISO8601 formatted string with timezone offset. but we are getting the ${typeof e} value "${e}" instead.`;const Ie={weekday:{short:"EEE, ",narrow:"EEE, ",long:"EEEE, "},month:{short:"MMM ",narrow:"MMM ",numeric:"MMM ","2-digit":"MMM ",long:"MMMM "},day:{numeric:"d, ","2-digit":"dd, "},year:{numeric:"yyyy ","2-digit":"yy "},hour:{numeric12:"h",numeric24:"H","2-digit12":"hh","2-digit24":"HH"},minute:{numeric:"mm","2-digit":"mm"},second:{numeric:"ss","2-digit":"ss"},timeZoneName:{short:"[GMT]Z",long:"[GMT]Z"}},De=[","," ",":"];const Oe=e=>{const t=[];!function(e,t){const n=t.weekday;void 0!==Ie.weekday[n]&&e.push(Ie.weekday[n])}(t,e),function(e,t){const n=t.month;void 0!==Ie.month[n]&&e.push(Ie.month[n])}(t,e),function(e,t){const n=t.day;void 0!==Ie.day[n]&&e.push(Ie.day[n])}(t,e),function(e,t){const n=t.year;void 0!==Ie.year[n]&&e.push(Ie.year[n])}(t,e),function(e,t){const n=t.hour,r=t.minute,i=t.second;let a=!1,o=!1;"numeric"!==n&&"2-digit"!==n||(a=!0,!1===t.hour12?"numeric"===n?e.push(Ie.hour.numeric24):e.push(Ie.hour["2-digit24"]):"numeric"===n?e.push(Ie.hour.numeric12):e.push(Ie.hour["2-digit12"]),void 0!==Ie.minute[r]?e.push(":"):void 0!==Ie.second[i]&&(o=!0)),void 0!==Ie.minute[r]&&(a=!0,e.push(Ie.minute[r]),void 0!==Ie.second[i]&&e.push(":")),void 0===Ie.second[i]||o||(a=!0,e.push(Ie.second[i])),a&&e.push(" a "),o&&e.push("[(sec]: "+Ie.second[i]+"[)]")}(t,e),function(e,t){const n=t.timeZoneName;void 0!==Ie.timeZoneName[n]&&("UTC"===t.timeZone?e.push("[GMT]"):e.push(Ie.timeZoneName[n]))}(t,e);let n=t.join("");return De.forEach(e=>{n.lastIndexOf(e)===n.length-1&&(n=n.slice(0,-1))}),n},Ne="yyyy-MM-dd'T'hh:mm:ss.SSS'Z'",Me="latn",ve={timeZone:"UTC"},we=e=>"string"==typeof e?e.trim():e,Re=e=>{const t=we(e);return s.padMilliseconds(t)};function Ee(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())}function Ue(e){return Ee(e)?`${e.getFullYear()}-${Pe(e.getMonth()+1)}-${Pe(e.getDate())}`:null}function ze(e){return Ee(e)?`${Pe(e.getHours())}:${Pe(e.getMinutes())}:${Pe(e.getSeconds())}.${ke(e.getMilliseconds())}`:null}function je(e){return Ee(e)?`${Pe(e.getUTCHours())}:${Pe(e.getUTCMinutes())}:${Pe(e.getUTCSeconds())}.${ke(e.getUTCMilliseconds())}`:null}function qe(e,t,n){const i=function(e,t,n){const i=r.getDateTimeCLDRParser({pattern:Ne,timeZone:t,numberingSystem:Me}).parse(e.toISOString()),a=n?e.getTimezoneOffset():0;return e.getTime()-e.getMilliseconds()+60*a*1e3-i}(e,t,n),a=e.getTime()+i;return new Date(a)}function He(e){const t=new Date;return Fe?(t.setTime(t.getTime()+60*t.getTimezoneOffset()*1e3),Te(t,e)):qe(t,e,!0)}function Pe(e){return Number(e)<10?"0"+e:e}function ke(e){const t=Number(e);return t<10?"00"+e:t<100?"0"+e:e}const xe="date",Ve="time",Ge={SHORT:"short",MEDIUM:"medium",LONG:"long"},Be={[xe]:{[Ge.SHORT]:b.default,[Ge.MEDIUM]:y.default,[Ge.LONG]:F.default,default:y.default},[Ve]:{[Ge.SHORT]:L.default,[Ge.MEDIUM]:I.default,[Ge.LONG]:I.default,default:L.default}},$e=(e,t,n)=>{let r=Be[e][t];return r||(r=Be[e].default),Fe||n?r:_.default(r)},We=(e,t)=>$e(xe,e,t),Xe=(e,t)=>$e(Ve,e,t);function Je(e,t){const n=we(e),i=We(t,!0);let a;try{n&&(a=Fe?ye(he(n,i,!0)):r.getDateTimeCLDRParser({pattern:i}).parse(n))}catch(e){return null}return a?Ue(a):null}function Ye(e,t){const n=we(e),i=Xe(t,!0);let a;try{n&&(a=Fe?_e(n,i||I.default,!0):r.getDateTimeCLDRParser({pattern:i}).parse(n))}catch(e){return null}return a?ze(a):null}const Qe=(e,t)=>{const n=Object.values(Ge);let r=null,i=null;for(let a=0;a<n.length;a++)if(r=e(t,n[a]),r){i=n[a];break}return{value:r,style:i}};function et(e){try{return function(e){if(e&&!Ee(e)&&isFinite(e))return new Date(parseInt(e,10));if(e&&!Ee(e)){const t=s.padMilliseconds(e);return r.getDateTimeISO8601Parser().parse(t)}return e}(e)}catch(t){return console.warn(`'${e}' does not follow a supported date format. Please use either a timestamp, ISO8601 string, or Date object to avoid risking inconsistencies and breakages.`),new Date(e)}}const tt=function(){try{Intl.DateTimeFormat("en-US",{timeZone:"America/Los_Angeles"})}catch(e){return!1}return!0}();function nt(e){const t=rt(e)?null:Oe(e),{timeZone:n}=e;return{format:e=>{if(s.isValidISODateTimeString(e)&&e.indexOf(s.TIME_SEPARATOR)<0)return Se(e);const r=et(e);return Ee(r)?("UTC"===n&&r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3),function(e,t,n){return pe(Te(Ze(e),n),t)}(r,t,n)):""}}}function rt(e){const t={hour12:!0,hourCycle:!0,timeZone:!0,timeZoneName:!0};return!Object.keys(e).some(n=>void 0!==e[n]&&!t[n])}const it=[h.default,"en-us"],at={};function ot(e,t){const n=e.format(t);return n.replace(/[\u200E\u200F]/g,"")}e.addressFormat=G,e.dateTimeFormat=function(e){const t=e||{};return function(e){const{timeZone:t}=e,n=t&&"UTC"!==t;return!(!Fe||!(rt(e)||!tt&&n))}(t)?nt(t):(rt(t)&&(e=Object.assign(t,_.default(y.default))),{format:t=>r.getDateTimeFormat(h.default,e).format(et(t))})},e.formatDate=Se,e.formatDateTimeUTC=Ae,e.formatDateUTC=pe,e.formatTime=de,e.fromLocalizedDigits=function(e){return u.getLocalizationService().translateFromLocalizedDigits(e)},e.fromOtherCalendar=ye,e.getCurrentDateString=function(){return Ue(He())},e.getCurrentTimeString=function(e){const t=He(e);return`${Pe(t.getHours())}:${Pe(t.getMinutes())}`},e.getDateFormatFromStyle=We,e.getISODateString=Ue,e.getISOTimeString=ze,e.getMonthNames=function(e){const t=e||D.default,n=at[t];if(n&&n.months)return n.months;const r=[t,...it],i=new Intl.DateTimeFormat(r,{month:"long"}),a=[];for(let e=0;e<=11;e++){const t=new Date(1970,e,4);a.push({fullName:ot(i,t)})}return at[t]||(at[t]={}),at[t].months=a,a},e.getNameOfWeekdays=function(e){const t=e||D.default,n="pt-PT"===t?"pt":t,r=at[n];if(r&&r.weekdays)return r.weekdays;const i=[n,...it],a=new Intl.DateTimeFormat(i,{weekday:"long",timeZone:"UTC"}),o=new Intl.DateTimeFormat(i,{weekday:"short",timeZone:"UTC"}),u=[];for(let e=0;e<=6;e++){const t=new Date(Date.UTC(1970,0,4+e));u.push({fullName:ot(a,t),shortName:ot(o,t)})}return at[n]||(at[n]={}),at[n].weekdays=u,u},e.getTimeFormatFromStyle=Xe,e.isAfter=function(e,t,n){return u.getLocalizationService().isAfter(e,t,n)},e.isAuraL10NAvailable=Fe,e.isBefore=function(e,t,n){return u.getLocalizationService().isBefore(e,t,n)},e.nameFormat=ne,e.normalizeFormattedDateTime=function(e,t){const n=we(e);let i;try{if(n)if(Fe){const e=ge(n);e&&(i=Ke(e,t))}else{const e=r.getDateTimeISO8601Parser().parse(n);i=r.getDateTimeCLDRParser({pattern:Ne,timeZone:t,numberingSystem:Me}).parse(e.toISOString())}}catch(e){return null}return i?i.toISOString():null},e.normalizeISODate=function(e,t){const n=We(t),i=(e=>"string"==typeof e?e.split(s.TIME_SEPARATOR)[0]:e)(Re(e));let a,o;if(i){const t=s.isValidISODateTimeString(i);if(f.isCSR)f.assert(t,Le(e));else if(!t)return{isoValue:null,displayValue:""};try{if(Fe){a=he(i,s.STANDARD_DATE_FORMAT);o=Se(Ze(a),n)}else{a=r.getDateTimeISO8601Parser().parse(i);const e=Object.assign({},ve,n);o=r.getDateTimeFormat(h.default,e).format(a)}}catch(e){console.warn(e.message),a=null}}return a?{isoValue:i,displayValue:o}:{isoValue:null,displayValue:e||""}},e.normalizeISODateTime=function(e,t){const n=Re(e);let i,a;if(n){const o=s.isValidISODateTimeString(n);if(f.isCSR)f.assert(o,Le(e));else if(!o)return{isoValue:null,displayValue:""};try{if(Fe){const e=Ce(n);e&&(i=Te(e,t),a=Ae(i))}else{i=qe(r.getDateTimeISO8601Parser().parse(n),t);const e=_.default(y.default),o=_.default(I.default),u=Object.assign({},ve,e,o);a=r.getDateTimeFormat(h.default,u).format(i)}}catch(e){console.warn(e.message),i=null}}return i?{isoValue:s.removeTimeZoneSuffix(i.toISOString()),displayValue:a}:{isoValue:null,displayValue:e||""}},e.normalizeISOTime=function(e,t){const n=Xe(t),i=Re(s.removeTimeZoneSuffix(e));let a,o,u;if(i){const t=s.isValidISOTimeString(i);if(f.isCSR)f.assert(t,Le(e));else if(!t)return{isoValue:null,parsedValue:null,displayValue:""};try{if(Fe)a=_e(i),o=de(a,n),u=ze;else{a=r.getDateTimeISO8601Parser().parse(i);const e=Object.assign({},ve,n);o=r.getDateTimeFormat(h.default,e).format(a),u=je}}catch(e){console.warn(e.message),a=null}}return a?((e=>"string"==typeof e&&(-1!==e.indexOf("+")||-1!==e.indexOf("-")))(e)&&console.warn("lightning-formatted-time does not support non-UTC time zones and will ignore any time zone offsets."),{isoValue:u(a),parsedValue:a,displayValue:o}):{isoValue:null,parsedValue:null,displayValue:e||""}},e.numberFormat=function(e){const t={currency:e.currency||C.default},n=Object.assign({},e,t);return{format:e=>{const t=Fe&&e&&function(e){const t=e.toString(),[n,r]=t.split(".");return n.length+(r?r.replace(ue,"").length:0)>=oe}(e);return(t?be(n):r.getNumberFormat(h.default,n)).format(e)}}},e.parseDateTime=he,e.parseDateTimeUTC=ge,e.parseFormattedDate=e=>Qe(Je,e),e.parseFormattedTime=e=>Qe(Ye,e),e.parseTime=_e,e.relativeFormat=function(){return{format:e=>{const t=Date.now(),n=Number(e);f.assert(isFinite(n),`RelativeFormat: The value attribute accepts either a Date object or a timestamp, but we are getting the ${typeof e} value "${e}" instead.`);const r=function(e,t){return u.getLocalizationService().duration(e,t)}((n-t)/6e4,"minutes");return function(e,t){return u.getLocalizationService().displayDuration(e,t)}(r,!0)}}},e.syncUTCToWallTime=Te,e.syncWallTimeToUTC=Ke,e.toDate=et,e.toLocalizedDigits=function(e){return u.getLocalizationService().translateToLocalizedDigits(e)},e.toOtherCalendar=Ze,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/label/LightningDateTimePicker.invalidDate', ['@view/home/labels'], m => m[162]);LWR.define('@salesforce/label/LightningDateTimePicker.minRangeMessage', ['@view/home/labels'], m => m[163]);LWR.define('@salesforce/label/LightningDateTimePicker.maxRangeMessage', ['@view/home/labels'], m => m[164]);LWR.define('@salesforce/label/LightningDateTimePicker.minAndMaxRangeMessage', ['@view/home/labels'], m => m[165]);LWR.define('@salesforce/label/LightningDateTimePicker.selectDateFor', ['@view/home/labels'], m => m[166]);LWR.define('@salesforce/label/LightningDateTimePicker.dateFormatExampleText', ['@view/home/labels'], m => m[167]);LWR.define('@salesforce/label/LightningDateTimePicker.dateFormatExampleTextTemp', ['@view/home/labels'], m => m[168]);LWR.define('@salesforce/label/LightningDateTimePicker.ariaLabelMonth', ['@view/home/labels'], m => m[169]);LWR.define('@salesforce/label/LightningDateTimePicker.nextMonth', ['@view/home/labels'], m => m[170]);LWR.define('@salesforce/label/LightningDateTimePicker.previousMonth', ['@view/home/labels'], m => m[171]);LWR.define('@salesforce/label/LightningDateTimePicker.today', ['@view/home/labels'], m => m[172]);LWR.define('@salesforce/label/LightningDateTimePicker.yearSelector', ['@view/home/labels'], m => m[173]);LWR.define('@salesforce/i18n/firstDayOfWeek', [], function() { return 1; });(function() { LWR.define("@salesforce/i18n/showJapaneseCalendar",["exports"],function(e){e.default=!1,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/focusUtils",["exports","lightning/tooltipLibrary"],function(t,e){const n=/^input$|^select$|^textarea$|^a$|^button$/;function o(t,e){if(!t)return;if(t.nodeType===Node.ELEMENT_NODE){if(t.hasAttribute("inert"))return;if(function(t){return"IFRAME"===t.tagName||t instanceof HTMLIFrameElement}(t))return void(t.contentDocument?o(t.contentDocument,e):e&&e(t));if(e&&e(t),t.shadowRoot)return void o(t.shadowRoot,e);if("slot"===t.localName){const n=t.assignedNodes({flatten:!0});for(let t=0;t<n.length;t++)o(n[t],e);return}}let n=t.firstChild;for(;null!==n;)o(n,e),n=n.nextSibling}const r=["button","select","textarea","input"],i=["a","select","textarea","input","button","iframe","object","area","frame"];const u=t=>"tooltip"===t.getAttribute("role"),c=t=>t.classList.contains("ignore-autofocus"),a=t=>{const n="button"===t.tagName.toLowerCase(),o=t.getAttribute("aria-describedby"),r=!!o&&0===String(o).indexOf(e.BUBBLE_PREFIX);return n&&r},s=t=>{if(!t)return!1;return![u(t),a(t),c(t)].some(t=>!0===t)};t.filterTooltips=function(t){return t&&Array.isArray(t)&&t.length>0?t.filter(s):[]},t.findAllFocusableNodes=function(t){const e=[];return o(t,t=>{n.test(t.tagName.toLowerCase())&&e.push(t)}),e},t.findAllTabbableElements=function(t){const e=[];return o(t,n=>{try{(function({element:t,rootContainer:e}){const n=t.localName;if("input"===n&&"hidden"===n.type)return!1;const o=t.getAttribute("tabindex");if("-1"===o)return!1;if(t.disabled&&r.includes(t.localName))return!1;const u="0"===o||0===t.tabIndex&&i.includes(t.localName);return u&&function(t){const{width:e,height:n}=t.getBoundingClientRect();return(e>0||n>0)&&"hidden"!==getComputedStyle(t).visibility}(t)&&function({element:t,rootContainer:e}){const n=e.getRootNode(),o=t.ownerDocument;let r=t.getRootNode();for(;r!==n&&r!==o;){const t=r.host;if("-1"===t.getAttribute("tabindex"))return!1;r=t&&t.getRootNode()}return!0}({element:t,rootContainer:e})})({element:n,rootContainer:t})&&e.push(n)}catch(t){console.warn(t)}}),e},t.getElementWithFocus=function(){let t=document.activeElement;for(;t;)if(t.shadowRoot){let e=t.shadowRoot.activeElement;if(!e)return t;t=e}else{if(!t.contentDocument)return t;{let e=t.contentDocument.activeElement;if(!e)return t;t=e}}},t.returnFocusToElement=function(t){const e=document.body.contains(t);if(t){if(e)return t.focus(),!0;const n=function(t){let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof DocumentFragment?e.parentNode.host:e.parentNode}return!1}(t);if(n)return t.focus(),!0}return!1},Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/focusTrap",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/focusUtils"],function(e,t,s,n){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(s);var a=[function(e,t,s){var n=e?"["+e+"]":"";return"div[data-start]"+n+",div[data-end]"+n+" {position: fixed;top: 1rem;left: 1rem;}"}];const u=t.parseFragment`<div${"a0:tabindex"} data-start${3}></div>`,d=t.parseFragment`<div${"a0:tabindex"} data-end${3}></div>`,l=[];function r(e,t,s,n){const{ti:i,b:o,sp:a,st:r,s:c}=e,{_m0:_,_m1:h,_m2:f,_m3:m,_m4:p,_m5:g}=n;return[r(u,1,[a(0,{on:{focus:h||(n._m1=o(t._focusLastElement))},attrs:{tabindex:i(t._bookendTabIndex)}},null)]),c("",{key:2,on:{focusin:f||(n._m2=o(t._handleFocusIn)),focusout:m||(n._m3=o(t._handleFocusOut))}},l,s),r(d,4,[a(0,{on:{focus:g||(n._m5=o(t._focusFirstElement))},attrs:{tabindex:i(t._bookendTabIndex)}},null)])]}var c=t.registerTemplate(r);r.slots=[""],r.stylesheets=[],r.stylesheetToken="lwc-654o76jjrnk",r.legacyStylesheetToken="lightning-focusTrap_focusTrap",a&&r.stylesheets.push.apply(r.stylesheets,a),t.freezeTemplate(r);class _ extends o.default{constructor(...e){super(...e),this._startNode=void 0,this._endNode=void 0,this._focused=!1,this._initialized=!1,this._pendingFocusOut=!1}renderedCallback(){this._initialized||(this._initialized=!0,this._startNode=this.template.querySelector("[data-start]"),this._endNode=this.template.querySelector("[data-end]"))}focus(){this._focused||this._focusFirstElement()}get _bookendTabIndex(){return this._focused?"0":"-1"}_handleFocusIn(){this._pendingFocusOut&&(this._pendingFocusOut=!1),this._focused=!0}_handleFocusOut(){this._pendingFocusOut=!0,requestAnimationFrame(()=>{this._pendingFocusOut&&(this._focused=!1)})}_moveFocusTo(e){const t=this._getFocusableElements();if(t.length>0){let s;"last"===e?s=t[t.length-1]:"first"===e&&(s=t[0]),s.focus()}}_focusFirstElement(){this._moveFocusTo("first")}_focusLastElement(){this._moveFocusTo("last")}_getFocusableElements(){return n.findAllTabbableElements(this.template.querySelector("slot"))}}t.registerDecorators(_,{publicMethods:["focus"],fields:["_startNode","_endNode","_focused","_initialized","_pendingFocusOut"]});const h=t.registerComponent(_,{tmpl:c,sel:"lightning-focus-trap",apiVersion:62});e.default=h,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("interop/select",["exports","lwc","lightning/helptext","@salesforce/label/LightningControl.required","@salesforce/label/LightningInput.helptextAlternativeText","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/inputUtils","lightning/ariaObserver"],function(e,t,s,i,l,a,r,n,d,o){function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=h(s),u=h(i),p=h(l),g=h(a),v=h(o);var _=[function(){return""}];const b=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,m=t.parseFragment`<option disabled${"a0:value"}${3}>${"t1"}</option>`,y=t.parseFragment`<option${"a0:value"}${3}>${"t1"}</option>`,f=t.parseFragment`<div aria-live="assertive" class="slds-form-element__help${0}" data-help-message${"a0:id"}${2}>${"t1"}</div>`,L={classMap:{"slds-form-element__control":!0},key:4},A={classMap:{"slds-select_container":!0},key:5},B={"slds-select":!0};function C(e,t,s,i){const{ncls:l,gid:a,sp:r,st:n,d:d,t:o,h:h,c:u,b:p,k:g,i:v}=e,{_m0:_,_m1:C,_m2:V}=i;return[h("label",{className:l(t.computedLabelClass),attrs:{for:a("select"),part:"select-label"},key:0},[t.required?n(b,2,[r(0,{attrs:{title:t.i18n.required}},null)]):null,o(d(t.label))]),t.fieldLevelHelp?u("lightning-helptext",c.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:3}):null,h("div",L,[h("div",A,[h("select",{classMap:B,attrs:{autocomplete:t.autocomplete,disabled:t.disabled?"":null,id:a("select"),multiple:t.multiple?"":null,name:t.name,required:t.required?"":null,accesskey:t.accessKey,size:t.size,"aria-invalid":t.computedAriaInvalid,part:"select"},key:6,on:{blur:_||(i._m0=p(t.handleBlur)),change:C||(i._m1=p(t.handleChange)),focus:V||(i._m2=p(t.handleFocus))}},v(t.options,function(e){return[e.disabled?n(m,g(8,e.value),[r(0,{attrs:{value:e.value}},null),r(1,null,d(e.label))]):null,e.disabled?null:n(y,g(10,e.value),[r(0,{attrs:{value:e.value}},null),r(1,null,d(e.label))])]}))])]),t._helpMessage?n(f,12,[r(0,{attrs:{id:a("help-message")}},null),r(1,null,d(t._helpMessage))]):null]}var V=t.registerTemplate(C);C.stylesheets=[],C.stylesheetToken="lwc-184g1ot50fv",C.legacyStylesheetToken="interop-select_select",_&&C.stylesheets.push.apply(C.stylesheets,_),t.freezeTemplate(C);const M={required:u.default,helpTextAlternativeText:p.default};class E extends g.default{constructor(){super(),this.label=void 0,this.name=void 0,this.messageWhenValueMissing=void 0,this.accessKey=void 0,this.autocomplete=void 0,this._options=[],this._helpMessage="",this._selectedValue=void 0,this._variant=void 0,this._required=!1,this._disabled=!1,this._multiple=!1,this._fieldLevelHelp=void 0,this._size=void 0,this._ariaDescribedBy="",this._ariaLabelledBy="",this._helpMessageChanged=!1,this.ariaObserver=null,this.ariaObserver=new v.default(this),this._isNativeShadow=n.isNativeComponent(this)}connectedCallback(){super.connectedCallback(),this.ariaObserver||(this.ariaObserver=new v.default(this)),this._connected=!0,this.classList.add("slds-form-element"),this.updateClassList(),this.interactingState=new d.InteractingState,this.interactingState.onleave(()=>this.reportValidity())}renderedCallback(){this.isConnected&&this.ariaObserver.sync(this._isNativeShadow),this._rendered||(this.connectAriaDescribedBy(),this.connectAriaLabelledBy(),this._rendered=!0),this.options&&void 0!==this._selectedValue&&this.selectOptionsByValue(this._selectedValue),this._helpMessageChanged&&(this.connectAriaDescribedBy(),this._helpMessageChanged=!1)}disconnectedCallback(){this._connected=!1,this.ariaObserver&&this.ariaObserver.disconnect&&(this.ariaObserver.disconnect(),this.ariaObserver=null)}get computedAriaInvalid(){return!!this._helpMessage||void 0}get fieldLevelHelp(){return this._fieldLevelHelp}set fieldLevelHelp(e){this._fieldLevelHelp=e}get variant(){return this._variant||d.VARIANT.STANDARD}set variant(e){this._variant=d.normalizeVariant(e),this.updateClassList(),n.reflectAttribute(this,"variant",this._variant)}get multiple(){return this._multiple}set multiple(e){this._multiple=n.normalizeBoolean(e),n.reflectAttribute(this,"multiple",this._multiple)}get size(){return this.multiple?void 0===this._size?"4":this._size:null}set size(e){this._size=e}get required(){return this._required}set required(e){this._required=n.normalizeBoolean(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=n.normalizeBoolean(e)}get value(){return this._selectedValue}set value(e){this._selectedValue=e,this.isConnected&&this.selectOptionsByValue(e)}get options(){return this._options}set options(e){this._options=e,this.isConnected&&e&&this.selectOptionsByValue(this._selectedValue)}get ariaDescribedBy(){return this._ariaDescribedBy}set ariaDescribedBy(e){this._ariaDescribedBy=e,this.connectAriaDescribedBy()}get ariaLabelledBy(){return this._ariaLabelledBy}set ariaLabelledBy(e){this._ariaLabelledBy=e,this.connectAriaLabelledBy()}updateClassList(){n.classListMutation(this.classList,{"slds-form-element_stacked":this.variant===d.VARIANT.LABEL_STACKED,"slds-form-element_horizontal":this.variant===d.VARIANT.LABEL_INLINE})}focus(){this.isConnected&&this.selectElement.focus()}blur(){this.isConnected&&this.selectElement.blur()}get validity(){return this._constraint.validity}checkValidity(){return this._constraint.checkValidity()}setCustomValidity(e){this._constraint.setCustomValidity(e),this.customErrorMessage=e}reportValidity(){return this._constraint.reportValidity(e=>{this._helpMessage=e,this._helpMessageChanged=!0})}showHelpMessageIfInvalid(){const e=this.validity;e.valid?(this._helpMessage="",this.classList.remove("slds-has-error")):(this.classList.add("slds-has-error"),this._helpMessage=d.getErrorMessage(e,{valueMissing:this.messageWhenValueMissing,customError:this.customErrorMessage}),this._helpMessageChanged=!0)}get i18n(){return M}get selectElement(){return this.template.querySelector("select")}get isLabelHidden(){return this.variant===d.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return r.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get _constraint(){return this._constraintApi||(this._constraintApi=new d.FieldConstraintApi(()=>this,{valueMissing:()=>{const e=this.multiple&&(!this.value||0===this.value.length);return!this.disabled&&this.required&&(d.isEmptyString(this.value)||e)}})),this._constraintApi}handleChange(e){e.preventDefault(),e.stopPropagation(),this._selectedValue=this.getSelectedOptionValues(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:this._selectedValue}}))}handleFocus(){this.interactingState.enter(),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(){this.interactingState.leave(),this.dispatchEvent(new CustomEvent("blur"))}connectAriaDescribedBy(){n.isCSR&&this.ariaObserver.connect({targetSelector:"select",attribute:"aria-describedby",relatedNodeIds:this.ariaDescribedBy,relatedNodes:this.template.querySelector("[data-help-message]")})}connectAriaLabelledBy(){n.isCSR&&this.ariaObserver.connect({targetSelector:"select",attribute:"aria-labelledby",relatedNodeIds:this.ariaLabelledBy})}selectOptionsByValue(e){if(this.multiple){if(Array.isArray(e)){this.template.querySelectorAll("option").forEach(t=>{t.selected=e.includes(t.value)})}}else this.selectElement.value=e}getSelectedOptionValues(){if(this.multiple){const e=this.template.querySelectorAll("option");return Array.prototype.reduce.call(e,(e,t)=>(t.selected&&e.push(t.value),e),[])}return this.selectElement.value}get helptextAlternativeText(){return r.formatLabel(M.helpTextAlternativeText,this.label)}}E.delegatesFocus=!0,E.validationOptOut=["class"],t.registerDecorators(E,{publicProps:{label:{config:0},name:{config:0},messageWhenValueMissing:{config:0},accessKey:{config:0},autocomplete:{config:0},fieldLevelHelp:{config:3},variant:{config:3},multiple:{config:3},size:{config:3},required:{config:3},disabled:{config:3},value:{config:3},options:{config:3},ariaDescribedBy:{config:3},ariaLabelledBy:{config:3},validity:{config:1}},publicMethods:["focus","blur","checkValidity","setCustomValidity","reportValidity","showHelpMessageIfInvalid"],track:{_options:1},fields:["_helpMessage","_selectedValue","_variant","_required","_disabled","_multiple","_fieldLevelHelp","_size","_ariaDescribedBy","_ariaLabelledBy","_helpMessageChanged","ariaObserver"]});const S=t.registerComponent(E,{tmpl:V,sel:"interop-select",apiVersion:62});e.default=S,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('lightning/select', ['interop/select'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/calendar",["exports","lwc","lightning/buttonIcon","lightning/select","lightning/focusTrap","@salesforce/label/LightningDateTimePicker.ariaLabelMonth","@salesforce/label/LightningDateTimePicker.nextMonth","@salesforce/label/LightningDateTimePicker.previousMonth","@salesforce/label/LightningDateTimePicker.today","@salesforce/label/LightningDateTimePicker.yearSelector","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/inputUtils","@salesforce/i18n/firstDayOfWeek","@salesforce/i18n/lang","@salesforce/i18n/showJapaneseCalendar","lightning/internationalizationLibrary","lightning/iso8601Utils"],function(e,t,a,s,n,l,r,i,o,d,c,h,u,g,D,m,p,f,y){function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var k=b(a),C=b(s),M=b(n),v=b(l),S=b(r),I=b(i),T=b(o),_=b(d),x=b(c),Y=b(D),F=b(m),w=b(p);var A=[[function(e,t,a){return(a?"":'[dir="rtl"]')+" .slds-dropdown_left"+(a?":dir(rtl)":"")+(e?"["+e+"]":"")+" {left: 0;right: auto;}"}],function(){return""}];const $=t.parseFragment`<h2 aria-atomic="false" aria-live="polite" class="slds-align-middle${0}"${"a0:id"}${"a0:data-index"}${2}>${"t1"}</h2>`,L=t.parseFragment`<th${"a0:id"} scope="col"${3}><abbr${"a1:title"}${3}>${"t2"}</abbr></th>`,E=t.parseFragment`<td role="gridcell"${"a0:aria-selected"}${"a0:aria-current"}${"c0"}${"a0:tabindex"}${"a0:data-value"}${"a0:aria-label"}${2}><span class="slds-day${0}" tabindex="-1" role="button"${2}>${"t2"}</span></td>`,N=t.parseFragment`<button name="today" type="button" class="slds-button slds-align_absolute-center slds-text-link${0}"${2}>${"t1"}</button>`,P={"slds-datepicker":!0,"slds-dropdown":!0,"slds-dropdown_left":!0},O={key:1},W={classMap:{"slds-datepicker__filter":!0,"slds-grid":!0},key:2},q={classMap:{"slds-datepicker__filter_month":!0,"slds-grid":!0,"slds-grid_align-spread":!0,"slds-grow":!0},key:3},B={classMap:{"slds-align-middle":!0},key:4},K={classMap:{"slds-align-middle":!0},key:8},R={classMap:{"slds-shrink-none":!0},key:10},V={classMap:{"slds-datepicker__month":!0},attrs:{role:"grid"},key:12},z={key:13};function U(e,t,a,s){const{b:n,c:l,h:r,gid:i,d:o,sp:d,st:c,k:h,i:u,ncls:g,ti:D}=e,{_m0:m,_m1:p,_m2:f,_m3:y,_m4:b,_m5:v,_m6:S,_m7:I}=s;return[r("div",{classMap:P,attrs:{"aria-hidden":"false","aria-label":t.computedAriaLabel,role:"dialog",tabindex:"-1",part:"overlay dropdown calendar"},key:0},[l("lightning-focus-trap",M.default,O,[r("div",W,[r("div",q,[r("div",B,[l("lightning-button-icon",k.default,{props:{iconName:t.previousMonthIconName,variant:"container",alternativeText:t.i18n.previousMonth},key:5,on:{click:m||(s._m0=n(t.goToPreviousMonth))}})]),c($,7,[d(0,{attrs:{id:i("month-title"),"data-index":t.monthIndex}},null),d(1,null,o(t.computedMonthTitle))]),r("div",K,[l("lightning-button-icon",k.default,{props:{iconName:t.nextMonthIconName,variant:"container",alternativeText:t.i18n.nextMonth},key:9,on:{click:p||(s._m1=n(t.goToNextMonth))}})])]),r("div",R,[l("lightning-select",C.default,{props:{value:t.calendarYear,label:t.i18n.yearSelector,variant:"label-hidden",options:t.computedYearList},key:11,on:{change:f||(s._m2=n(t.handleYearChange)),click:y||(s._m3=n(t.handleYearSelectClick))}})])]),r("table",V,[r("thead",z,[r("tr",{attrs:{id:i("weekdays-element")},key:14},u(t.computedWeekdayLabels,function(e){return c(L,h(16,e.fullName),[d(0,{attrs:{id:i(e.fullName)}},null),d(1,{attrs:{title:e.fullName}},null),d(2,null,o(e.shortName))])}))]),r("tbody",{key:17,on:{keydown:b||(s._m4=n(t.handleCalendarKeyDown))}},u(t.computedMonth,function(e,a){return r("tr",{key:h(18,e.id)},u(e.days,function(e){return c(E,h(20,e.dateValue),[d(0,{className:g(e.className),attrs:{"aria-selected":e.isSelected,"aria-current":e.ariaCurrent,tabindex:D(e.tabIndex),"data-value":e.dateValue,"aria-label":e.dateValue}},null),d(1,{on:{click:v||(s._m5=n(t.handleDateClick))}},null),d(2,null,o(e.dayInMonth))])}))}))]),c(N,22,[d(0,{on:{click:I||(s._m7=n(t.handleTodayClick))}},null),d(1,null,o(t.i18n.today))])])])]}var j=t.registerTemplate(U);function J(e){e.preventDefault(),e.stopPropagation()}U.stylesheets=[],U.stylesheetToken="lwc-71geokdeko1",U.legacyStylesheetToken="lightning-calendar_calendar",A&&U.stylesheets.push.apply(U.stylesheets,A),t.freezeTemplate(U);const H={ariaLabelMonth:v.default,nextMonth:S.default,previousMonth:I.default,today:T.default,yearSelector:_.default},G={},Q=[{key:"R",year:2019,label:"令和"},{key:"H",year:1989,label:"平成"},{key:"S",year:1926,label:"昭和"},{key:"T",year:1912,label:"大正"},{key:"M",year:1868,label:"明治"}];class X extends x.default{get value(){return this.selectedDate}set value(e){const t="string"==typeof e?e.split(y.TIME_SEPARATOR)[0]:e;if(t!==this.selectedDate){if(this.selectedDate=t,!this._connected)return;const e=this.parseDate(t);e?this.selectDate(e):(this.selectedDate=null,this.renderToday())}}constructor(){super(),this.calendarYear=null,this.calendarMonth=null,this.min=void 0,this.max=void 0,this.uniqueId=g.generateUniqueId()}renderedCallback(){this.dispatchEvent(new CustomEvent("ready"))}connectedCallback(){super.connectedCallback(),this._connected=!0,this.todayDate=f.getCurrentDateString();const e=this.getSelectedDate()||this.getTodaysDate();this.renderCalendar(e),this.keyboardInterface=this.calendarKeyboardInterface()}disconnectedCallback(){this._connected=!1}focus(){requestAnimationFrame(()=>{const e=this.getFocusableDateCell();e&&e.focus()})}get i18n(){return H}get computedAriaLabel(){const e=this.getCalendarDate().getMonth();return H.ariaLabelMonth+f.getMonthNames()[e].fullName}get computedMonthTitle(){const e=this.getCalendarDate().getMonth();return f.getMonthNames()[e].fullName}get computedWeekdayLabels(){const e=f.getNameOfWeekdays(),t=this.getFirstDayOfWeek(),a=[];for(let s=t;s<e.length;s++)a.push(e[s]);for(let s=0;s<t;s++)a.push(e[s]);return a}get computedSelectElementId(){return this.uniqueId+"-select"}get computedWeekdaysElementId(){return this.uniqueId+"-weekdays"}get computedMonthTitleId(){return this.uniqueId+"-month"}get computedYearList(){const e=new Date,t=e.getFullYear(),a=this.parseDate(this.min),s=this.parseDate(this.max),n=a?a.getFullYear():t-100,l=s?s.getFullYear():t+100,r=[];for(let t=n;t<=l;t++)r.push({label:this.getYearDisplayValue(e,t),value:t});return r}get monthIndex(){return this.getCalendarDate().getMonth()}get hostDirection(){let e;return u.isCSR&&(e=window.getComputedStyle(this.template.host)),e?e.direction.toLowerCase():"ltr"}get previousMonthIconName(){return"ltr"===this.hostDirection?"utility:left":"utility:right"}get nextMonthIconName(){return"ltr"===this.hostDirection?"utility:right":"utility:left"}getJapaneseCalendarYear(e){const t=(e,t)=>t?e.key:e.label;let a="ja"!==F.default;for(let s=0;s<Q.length;s++){if(e<Q[s].year)continue;let n=t(Q[s],a)+(e-Q[s].year+1);if(e===Q[s].year&&s<Q.length-1){let l=Q[s+1];n+="/"+t(l,a)+(e-l.year+1)}return n}return null}getYearDisplayValue(e,t){e.setFullYear(t);let a=f.toLocalizedDigits(String(f.toOtherCalendar(e).getFullYear()));if(w.default){let e=this.getJapaneseCalendarYear(t);e&&(a+=" ("+e+")")}return a}get computedMonth(){if(!this._connected)return[];const e=this.getSelectedDate(),t=this.getCalendarDate(),a=this.getCalendarCacheKey(t,e);if(a in G)return G[a];const s=this.getTodaysDate(),n={selectedDate:e,renderDate:t,focusableDate:this.getInitialFocusDate(s,e,t),todayDate:s,minDate:this.parseDate(this.min),maxDate:this.parseDate(this.max)},l=[],r=this.getCalendarStartDate(t);for(let e=0;e<6;e++){const t={id:e,days:[]};for(let e=0;e<7;e++){const e=this.getDateCellAttributes(r,n);t.days.push(e),r.setDate(r.getDate()+1)}l.push(t)}return G[a]=l,l}getDateCellAttributes(e,t){const a=!this.dateInCalendar(e,t.renderDate)||!this.isBetween(e,t.minDate,t.maxDate),s=this.isSame(e,t.selectedDate),n=this.isSame(e,t.todayDate),l=!!n&&"date",r=!!this.isSame(e,t.focusableDate)&&"0",i=h.classSet().add({"slds-is-today":n,"slds-is-selected":s,"slds-day_adjacent-month":a}).toString()||void 0;return{dayInMonth:f.toLocalizedDigits(String(e.getDate())),dateValue:this.formatDate(e),isSelected:s?"true":"false",className:i,tabIndex:r,ariaCurrent:l}}dispatchSelectEvent(){this.dispatchEvent(new CustomEvent("select",{composed:!0,bubbles:!0,cancelable:!0,detail:{value:this.selectedDate}}))}dateInCalendar(e,t){const a=t||this.getCalendarDate();return e.getMonth()===a.getMonth()&&e.getFullYear()===a.getFullYear()}getInitialFocusDate(e,t,a){return t&&this.dateInCalendar(t,a)?t:this.dateInCalendar(e,a)?e:new Date(a.getFullYear(),a.getMonth(),1)}getTodaysDate(){return this.todayDate?this.parseDate(this.todayDate):new Date}getSelectedDate(){return this.parseDate(this.selectedDate)}getCalendarDate(){return this.calendarYear?new Date(this.calendarYear,this.calendarMonth,1):this.getTodaysDate()}getCalendarStartDate(e){const t=new Date(e.getFullYear(),e.getMonth(),1);return this.getStartOfWeek(t)}getStartOfWeek(e){const t=this.getFirstDayOfWeek();let a=e.getDay();for(;a!==t;)e.setDate(e.getDate()-1),a=e.getDay();return e}getFirstDayOfWeek(){return Y.default-1}selectDate(e){if(this.dateInCalendar(e)){const t=this.getElementByDate(this.formatDate(e));this.selectDateInCalendar(t)}else this.renderCalendar(e)}selectDateInCalendar(e){this.selectedDate=e.getAttribute("data-value"),this.removeCurrentlySelectedDateAttributes(),this.addSelectedDateAttributes(e)}selectDateInCalendarAndDispatchSelect(e){this.selectDateInCalendar(e),this.dispatchSelectEvent()}getElementByDate(e){return this.template.querySelector(`td[data-value='${e}']`)}getFocusableDateCell(){return this.template.querySelector("td[tabIndex='0']")}unfocusDateCell(e){e&&e.removeAttribute("tabIndex")}focusDateCell(e){e&&(e.setAttribute("tabIndex",0),e.focus())}focusElementByDate(e){requestAnimationFrame(()=>{const t=this.getElementByDate(this.formatDate(e));t&&(this.unfocusDateCell(this.getFocusableDateCell()),this.focusDateCell(t))})}renderCalendar(e){this.calendarMonth=e.getMonth(),this.calendarYear=e.getFullYear()}renderToday(){const e=this.getTodaysDate();if(this.dateInCalendar(e)){this.removeCurrentlySelectedDateAttributes(),this.unfocusDateCell(this.getFocusableDateCell());this.getElementByDate(this.todayDate).setAttribute("tabIndex",0)}else this.renderCalendar(e)}removeCurrentlySelectedDateAttributes(){const e=this.template.querySelector("td[class*='slds-is-selected']");e&&(e.classList.remove("slds-is-selected"),e.setAttribute("aria-selected","false")),this.unfocusDateCell(this.getFocusableDateCell())}addSelectedDateAttributes(e){this.focusDateCell(e),e.classList.add("slds-is-selected"),e.setAttribute("aria-selected","true")}handleCalendarKeyDown(e){const t=e.target.getAttribute("data-value");!function(e,t,a){const s=e.target;switch(u.normalizeKeyValue(e.key)){case"ArrowUp":J(e),t.setDate(t.getDate()-7),a.focusDate(t);break;case"ArrowDown":J(e),t.setDate(t.getDate()+7),a.focusDate(t);break;case"ArrowRight":J(e),u.isRTL()?t.setDate(t.getDate()-1):t.setDate(t.getDate()+1),a.focusDate(t);break;case"ArrowLeft":J(e),u.isRTL()?t.setDate(t.getDate()+1):t.setDate(t.getDate()-1),a.focusDate(t);break;case"Enter":case" ":J(e),a.selectDate(s);break;case"PageUp":J(e),e.altKey?t.setFullYear(t.getFullYear()-1):t.setMonth(t.getMonth()-1),a.focusDate(t);break;case"PageDown":J(e),e.altKey?t.setFullYear(t.getFullYear()+1):t.setMonth(t.getMonth()+1),a.focusDate(t);break;case"Home":{J(e);const s=a.getStartOfWeek(t);a.focusDate(s);break}case"End":{J(e);const s=a.getStartOfWeek(t);s.setDate(s.getDate()+6),a.focusDate(s);break}}}(e,this.parseDate(t),this.keyboardInterface)}handleDateClick(e){e.stopPropagation();const t=e.target.parentElement;this.selectDateInCalendarAndDispatchSelect(t)}handleTodayClick(e){e.stopPropagation(),this.selectedDate=this.todayDate,this.selectDate(this.getTodaysDate()),this.dispatchSelectEvent()}handleYearSelectClick(e){e.stopPropagation()}handleYearChange(e){e.stopPropagation();const t=e.target.value;this.calendarYear!==t&&(this.calendarYear=t)}goToNextMonth(e){e.stopPropagation();const t=this.getCalendarDate();t.setMonth(t.getMonth()+1),this.renderCalendar(t)}goToPreviousMonth(e){e.stopPropagation();const t=this.getCalendarDate();t.setMonth(t.getMonth()-1),this.renderCalendar(t)}calendarKeyboardInterface(){const e=this;return{focusDate(t){e.dateInCalendar(t)||e.renderCalendar(t),e.focusElementByDate(t)},getStartOfWeek:t=>e.getStartOfWeek(t),selectDate(t){e.selectDateInCalendarAndDispatchSelect(t)}}}formatDate(e){return f.getISODateString(e)}parseDate(e){return f.parseDateTime(e,y.STANDARD_DATE_FORMAT,!0)}isSame(e,t){return!(!e||!t)&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())}isBetween(e,t,a){let s=!0,n=!0;return a&&(s=f.isBefore(e,a,"day")||this.isSame(e,a)),t&&(n=f.isAfter(e,t,"day")||this.isSame(e,t)),s&&n}getCalendarCacheKey(e,t){let a=e.getFullYear()+"-"+e.getMonth();return a+=this.min?"min"+this.min:"",a+=this.max?"max"+this.max:"",t&&this.dateInCalendar(t,e)&&(a+="_"+t.getDate()),a}}t.registerDecorators(X,{publicProps:{min:{config:0},max:{config:0},value:{config:3}},publicMethods:["focus"],track:{calendarYear:1,calendarMonth:1}});const Z=t.registerComponent(X,{tmpl:j,sel:"lightning-calendar",apiVersion:62});e.default=Z,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/datepicker",["exports","lwc","lightning/helptext","lightning/buttonIcon","lightning/calendar","@salesforce/label/LightningDateTimePicker.invalidDate","@salesforce/label/LightningDateTimePicker.rangeOverflow","@salesforce/label/LightningDateTimePicker.rangeUnderflow","@salesforce/label/LightningDateTimePicker.minRangeMessage","@salesforce/label/LightningDateTimePicker.maxRangeMessage","@salesforce/label/LightningDateTimePicker.minAndMaxRangeMessage","@salesforce/label/LightningControl.required","@salesforce/label/LightningDateTimePicker.valueMissingWithDateFormat","@salesforce/label/LightningDateTimePicker.customErrorWithDateFormat","@salesforce/label/LightningDateTimePicker.selectDateFor","@salesforce/label/LightningInput.helptextAlternativeText","@salesforce/label/LightningDateTimePicker.dateFormatExampleText","@salesforce/label/LightningDateTimePicker.dateFormatExampleTextTemp","lightning/shadowBaseClassPrivate","lightning/internationalizationLibrary","lightning/positionLibrary","lightning/utils","lightning/utilsPrivate","lightning/inputUtils","lightning/ariaObserver"],function(e,t,a,i,s,r,l,n,o,d,h,u,c,g,m,p,_,b,f,y,v,D,M,E,x){function I(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var L=I(a),V=I(i),C=I(s),F=I(r),A=I(l),O=I(n),k=I(o),S=I(d),T=I(h),w=I(u),B=I(c),R=I(g),W=I(m),q=I(p),P=I(_),z=I(b),N=I(f),$=I(x);var H=[function(){return""}];const K=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,U=t.parseFragment`<span${"a0:id"} data-range-message class="slds-assistive-text${0}"${2}>${"t1"}</span>`,j=t.parseFragment`<div${"a0:id"} data-date-format${"c0"}${2}>${"t1"}</div>`,G=t.parseFragment`<div${"a0:id"} data-error-message${"c0"} aria-live="polite"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`,J={classMap:{"slds-dropdown-trigger":!0,"slds-dropdown-trigger_click":!0,"slds-size_1-of-1":!0},attrs:{role:"group",part:"input-text"},key:0},Q={classMap:{"slds-form-element__control":!0,"slds-input-has-icon":!0,"slds-input-has-icon_right":!0},attrs:{part:"input-container"},key:7},X={"slds-input":!0},Y={"slds-input__icon":!0,"slds-input__icon_right":!0};function Z(e,t,a,i){const{ncls:s,gid:r,sp:l,st:n,d:o,t:d,h:h,c:u,b:c}=e,{_m0:g,_m1:m,_m2:p,_m3:_,_m4:b,_m5:f,_m6:y,_m7:v,_m8:D,_m9:M,_m10:E,_m11:x,_m12:I,_m13:F,_m14:A}=i;return[h("div",J,[t.hasExternalLabel?null:h("label",{className:s(t.computedLabelClass),attrs:{for:r("input"),part:"label"},key:1},[t.required?n(K,3,[l(0,{attrs:{title:t.i18n.required}},null)]):null,d(o(t.label))]),t.hasExternalLabel?null:t.fieldLevelHelp?u("lightning-helptext",L.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:4}):null,t.isRangeMessageVisible?n(U,6,[l(0,{attrs:{id:r("range-message")}},null),l(1,null,o(t.rangeMessage))]):null,h("div",Q,[h("input",{classMap:X,attrs:{type:"text",id:r("input"),part:"input",name:t.name,accesskey:t.accessKey,placeholder:t.placeholder,"aria-invalid":t.computedAriaInvalid,"aria-label":t.ariaLabel,"aria-disabled":t.ariaDisabled,required:t.required?"":null,readonly:t.readOnly?"":null,disabled:t.disabled?"":null,autocomplete:t.autocomplete},props:{value:t.displayValue},key:8,on:{input:g||(i._m0=c(t.handleInput)),change:m||(i._m1=c(t.handleInputChange)),focusin:p||(i._m2=c(t.onFocusIn)),focusout:_||(i._m3=c(t.handleInputBlur)),keydown:b||(i._m4=c(t.handleInputKeydown)),click:f||(i._m5=c(t.handleInputClick))}}),u("lightning-button-icon",V.default,{classMap:Y,props:{iconName:"utility:event",variant:"bare",disabled:t.computedIconDisabledState,title:t.computedSelectDateLabel,alternativeText:t.computedSelectDateLabel},key:9,on:{click:y||(i._m6=c(t.handleDatePickerIconClick)),keydown:v||(i._m7=c(t.handleDatePickerIconKeyDown)),focusin:D||(i._m8=c(t.onFocusIn)),focusout:M||(i._m9=c(t.onFocusOut))}}),t.isCalendarVisible?u("lightning-calendar",C.default,{props:{value:t.value,min:t.min,max:t.max},key:10,on:{select:E||(i._m10=c(t.handleDateSelect)),ready:x||(i._m11=c(t.startPositioning)),keydown:I||(i._m12=c(t.handleCalendarKeyDown)),focusin:F||(i._m13=c(t.onFocusIn)),focusout:A||(i._m14=c(t.onFocusOut))}}):null])]),t.computedShowDateFormat?n(j,12,[l(0,{className:s(t.computedClassFormatText),attrs:{id:r("fmt-text")}},null),l(1,null,o(t.dateFormatText))]):null,t.errorMessage?n(G,14,[l(0,{className:s(t.computedClassErrorMessage),attrs:{id:r("error-message")}},null),l(2,null,o(t.label)),l(3,null,o(t.errorMessage))]):null]}var ee=t.registerTemplate(Z);function te(e,t){t.isCalendarVisible()&&"Escape"===M.normalizeKeyValue(e.key)&&(ae(e),t.hideCalendar())}function ae(e){e.preventDefault(),e.stopPropagation()}Z.stylesheets=[],Z.stylesheetToken="lwc-2fb3f2nu4or",Z.legacyStylesheetToken="lightning-datepicker_datepicker",H&&Z.stylesheets.push.apply(Z.stylesheets,H),t.freezeTemplate(Z);const ie={invalidDate:F.default,rangeOverflow:A.default,rangeUnderflow:O.default,minRangeMessage:k.default,maxRangeMessage:S.default,minAndMaxRangeMessage:T.default,required:w.default,selectDateFor:W.default,helpTextAlternativeText:q.default,valueMissingWithDateFormat:B.default,customErrorWithDateFormat:R.default,dateFormatExampleText:P.default,dateFormatExampleTextTemp:z.default},se="aria-label",re="aria-disabled",le="aria-invalid",ne="short",oe="medium",de="long";class he extends N.default{get rootAriaNode(){return this.ariaObserver?this.ariaObserver.root:null}set rootAriaNode(e){this.ariaObserver&&(this.ariaObserver.root=e)}setNormalisedIsoDateMin(){const e=y.normalizeISODate(this._userMinValue,this._dateStyle);e.isoValue&&(this._min=e.isoValue,this._displayMin=e.displayValue)}get min(){return this._min}set min(e){this._min=e,this._displayMin=e,this._userMinValue=e,this.setNormalisedIsoDateMin()}setNormalisedIsoDateMax(){const e=y.normalizeISODate(this._userMaxValue,this._dateStyle);e.isoValue&&(this._max=e.isoValue,this._displayMax=e.displayValue)}get max(){return this._max}set max(e){this._max=e,this._displayMax=e,this._userMaxValue=e,this.setNormalisedIsoDateMax()}get messageWhenValueMissing(){return this._messageWhenValueMissing?D.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenValueMissing,this.dateFormatExample):D.formatLabel(this.i18n.valueMissingWithDateFormat,this.dateFormatExample)}set messageWhenValueMissing(e){this._messageWhenValueMissing=e}get messageWhenBadInput(){return this._messageWhenBadInput?D.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenBadInput,this.dateFormatExample):D.formatLabel(this.i18n.invalidDate,this.dateFormatExample)}set messageWhenBadInput(e){this._messageWhenBadInput=e}get messageWhenRangeOverflow(){return this._messageWhenRangeOverflow?D.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenRangeOverflow,this.dateFormatExample):D.formatLabel(this.i18n.rangeOverflow,this._displayMax)}set messageWhenRangeOverflow(e){this._messageWhenRangeOverflow=e}get messageWhenRangeUnderflow(){return this._messageWhenRangeUnderflow?D.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenRangeUnderflow,this.dateFormatExample):D.formatLabel(this.i18n.rangeUnderflow,this._displayMin)}set messageWhenRangeUnderflow(e){this._messageWhenRangeUnderflow=e}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.synchronizeA11y()}get ariaDisabled(){return this._ariaDisabled}set ariaDisabled(e){this._ariaDisabled=e,this.synchronizeA11y()}set ariaLabelledByElement(e){this._ariaLabelledBy=e,this.ariaObserver&&this.ariaObserver.connect({attribute:"aria-labelledby",targetSelector:"input",relatedNodeIds:M.getRealDOMId(this._ariaLabelledBy)})}get ariaLabelledByElement(){return this._ariaLabelledBy}set ariaControlsElement(e){this._ariaControls=e,this.ariaObserver&&this.ariaObserver.connect({attribute:"aria-controls",targetSelector:"input",relatedNodeIds:M.getRealDOMId(this.ariaControlsElement)})}get ariaControlsElement(){return this._ariaControls}set ariaDetailsElements(e){this._ariaDetails=e,this.ariaObserver&&this.ariaObserver.connect({attribute:"aria-details",targetSelector:"input",relatedNodeIds:M.getRealDOMId(this.ariaDetailsElements)})}get ariaDetailsElements(){return this._ariaDetails}set ariaDescribedByElements(e){Array.isArray(e)?this._ariaDescribedBy=e:this._ariaDescribedBy=[e],this.connectAriaDescribedBy()}get ariaDescribedByElements(){return this._ariaDescribedBy}get ariaErrorMessageElement(){return this._ariaErrorMessageElement}set ariaErrorMessageElement(e){this._ariaErrorMessageElement=e,this.connectAriaDescribedBy()}synchronizeA11y(){if(!this._rendered)return;const e=this.template.querySelector("input");if(!e)return;M.synchronizeAttrs(e,{[se]:this._ariaLabel,[re]:this._ariaDisabled,[le]:this.computedAriaInvalid});this.template.querySelector("lightning-button-icon").ariaDescribedBy=this.computedDatepickerButtonAriaDescribedby,this.isConnected&&(this.connectAriaDescribedBy(),this.ariaObserver.sync())}renderedCallback(){this._rendered=!0,this.synchronizeA11y()}get value(){return this._value}set value(e){const t=y.normalizeISODate(e,this.dateStyle);this._value=t.isoValue,this._displayValue=t.displayValue}get disabled(){return this._disabled}set disabled(e){this._disabled=M.normalizeBoolean(e),M.reflectAttribute(this,"disabled",this._disabled)}get readOnly(){return this._readonly}set readOnly(e){this._readonly=M.normalizeBoolean(e),M.reflectAttribute(this,"readonly",this._readonly)}get required(){return this._required}set required(e){this._required=M.normalizeBoolean(e)}set fieldLevelHelp(e){this._fieldLevelHelp=e}get fieldLevelHelp(){return this._fieldLevelHelp}get variant(){return this._variant||E.VARIANT.STANDARD}set variant(e){this._variant=E.normalizeVariant(e),M.reflectAttribute(this,"variant",e)}focus(){this.connected&&this.inputElement.focus()}blur(){this.connected&&this.inputElement.blur()}showHelpMessage(e){e?(this.classList.add("slds-has-error"),this._errorMessage=e):(this.classList.remove("slds-has-error"),this._errorMessage="")}hasBadInput(){return!!this._displayValue&&null===this._value}get dateStyle(){return this._dateStyle}set dateStyle(e){this._dateStyle=M.normalizeString(e,{fallbackValue:oe,validValues:[ne,oe,de]});const t=y.normalizeISODate(this._value,this._dateStyle);this._displayValue=t.displayValue,this.setNormalisedIsoDateMax(),this.setNormalisedIsoDateMin()}constructor(){super(),this._disabled=!1,this._readonly=!1,this._required=!1,this._value=null,this._calendarVisible=!1,this._displayValue=null,this._errorMessage="",this._fieldLevelHelp=void 0,this._variant=void 0,this.accessKey=void 0,this._min=void 0,this._max=void 0,this._messageWhenValueMissing=void 0,this._userMaxValue=void 0,this._userMinValue=void 0,this._displayMin=void 0,this._displayMax=void 0,this._dateStyle=oe,this._focused=void 0,this.label=void 0,this.name=void 0,this.placeholder=void 0,this.externalErrorMessage=void 0,this.autocomplete="off",this._ariaLabelledBy=void 0,this._ariaControls=void 0,this._ariaDetails=void 0,this._ariaDescribedBy=[],this.uniqueId=E.generateUniqueId(),this.ariaObserver=new $.default(this)}connectedCallback(){super.connectedCallback(),this.connected=!0,this.ariaObserver||(this.ariaObserver=new $.default(this)),this.keyboardInterface=this.datepickerKeyboardInterface()}disconnectedCallback(){this.connected=!1,this._rendered=!1,this.ariaObserver&&(this.ariaObserver.disconnect(),this.ariaObserver=void 0)}get computedClassFormatText(){return D.classSet("slds-form-element__help").add({"slds-assistive-text":!this._focused})}get computedShowDateFormat(){return!this.errorMessage&&!this.externalErrorMessage}get dateFormatExample(){return y.normalizeISODate("2024-12-31",this.dateStyle).displayValue}get dateFormatText(){return this.i18n.dateFormatExampleTextTemp+this.dateFormatExample}get i18n(){return ie}get isLabelHidden(){return this.variant===E.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return D.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get errorMessageElement(){return this.template.querySelector("[data-error-message]")}get rangeMessageElement(){return this.template.querySelector("[data-range-message]")}get dateFormatElement(){return this.template.querySelector("[data-date-format]")}get computedUniqueRangeMessageElementId(){const e=this.template.querySelector("[data-range-message]");return M.getRealDOMId(e)}get isRangeMessageVisible(){return this.min||this.max}get isCalendarVisible(){return this._calendarVisible}get displayValue(){return this._displayValue}get computedClassErrorMessage(){return"slds-form-element__help "+(this.errorMessage?"slds-show":"slds-hide")}get errorMessage(){return this._errorMessage}get computedIconDisabledState(){return this.disabled||this.readOnly}get ariaDescribedByElementsInternal(){const e=[this.ariaErrorMessageElement];return this.errorMessage?e.push(this.errorMessageElement):e.push(this.dateFormatElement),this.isRangeMessageVisible&&e.push(this.rangeMessageElement),e}get computedAriaDescribedby(){const e=[];return this._ariaDescribedBy.forEach(t=>{const a=M.getRealDOMId(t);a&&e.push(a)}),M.normalizeAriaAttribute(e)}connectAriaDescribedBy(){this.ariaObserver&&this._rendered&&this.ariaObserver.connect({attribute:"aria-describedby",targetSelector:"input",relatedNodeIds:this.computedAriaDescribedby,relatedNodes:this.ariaDescribedByElementsInternal})}get computedDatepickerButtonAriaDescribedby(){return this.isRangeMessageVisible?this.computedUniqueRangeMessageElementId:""}get computedSelectDateLabel(){return D.formatLabel(this.i18n.selectDateFor,this.label)}get rangeMessage(){return this.min&&!this.max?D.formatLabel(this.i18n.minRangeMessage,this._displayMin):this.max&&!this.min?D.formatLabel(this.i18n.maxRangeMessage,this._displayMax):this.min&&this.max?D.formatLabel(this.i18n.minAndMaxRangeMessage,this._displayMin,this._displayMax):""}handleInputChange(e){e.stopPropagation(),this._displayValue=e.currentTarget.value,this._value=y.parseFormattedDate(this._displayValue).value,this.dispatchChangeEvent()}handleInput(){this._displayValue=this.inputElement.value,M.isIE11&&void 0!==this.placeholder||this.hideCalendarAndFocusTrigger()}handleInputBlur(){if(null!==this._value){const e=y.normalizeISODate(this._value,this.dateStyle);this._displayValue=e.displayValue}this.onFocusOut()}handleInputClick(e){this.readOnly||(this.calendarTrigger=e.target,this.showCalendar())}onFocusIn(){this._pendingFocusOut&&(this._pendingFocusOut=!1),this._focused||this.dispatchEvent(new CustomEvent("focus")),this._focused=!0}onFocusOut(){this._pendingFocusOut=!0,requestAnimationFrame(()=>{this._pendingFocusOut&&(this._focused=!1,this.hideCalendar(),this.dispatchEvent(new CustomEvent("blur")))})}handleDatePickerIconClick(e){this.readOnly||this.disabled||(this.calendarTrigger=e.target,this.showAndFocusCalendar())}handleInputKeydown(e){this.calendarTrigger=e.target,te(e,this.keyboardInterface)}handleDatePickerIconKeyDown(e){this.calendarTrigger=e.target,function(e,t){switch(M.normalizeKeyValue(e.key)){case"Enter":case" ":ae(e),t.showCalendar();break;case"Escape":ae(e),t.hideCalendar()}}(e,this.keyboardInterface)}handleCalendarKeyDown(e){te(e,this.keyboardInterface)}handleDateSelect(e){e.stopPropagation(),this._value=e.detail.value,this._displayValue=y.normalizeISODate(this._value,this.dateStyle).displayValue,this.hideCalendarAndFocusTrigger(),this.dispatchChangeEvent()}showAndFocusCalendar(){this.showCalendar(),requestAnimationFrame(()=>{this.focusCalendar()})}hideCalendarAndFocusTrigger(){this.hideCalendar(),this.calendarTrigger&&(this.calendarTrigger===this.calendarButtonElement?this.inputElement.focus():this.calendarTrigger.focus())}focusCalendar(){const e=this.template.querySelector("lightning-calendar");e&&e.focus()}startPositioning(){this._relationship?this._relationship.reposition():this._relationship=v.startPositioning(this,{target:()=>this.template.querySelector("div.slds-form-element__control"),element:()=>this.template.querySelector("lightning-calendar").shadowRoot.querySelector("div"),align:{horizontal:v.Direction.Right,vertical:v.Direction.Top},targetAlign:{horizontal:v.Direction.Right,vertical:v.Direction.Bottom},autoFlip:!0,leftAsBoundary:!0})}stopPositioning(){this._relationship&&(v.stopPositioning(this._relationship),this._relationship=null)}showCalendar(){this.isCalendarVisible||(this.rootElement.classList.add("slds-is-open"),this._calendarVisible=!0)}hideCalendar(){this.isCalendarVisible&&(this.rootElement.classList.remove("slds-is-open"),this.stopPositioning(),this._calendarVisible=!1)}get rootElement(){return this.template.querySelector("div")}get inputElement(){return this.template.querySelector("input")}get calendarButtonElement(){return this.template.querySelector("lightning-button-icon")}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:this._value}}))}datepickerKeyboardInterface(){const e=this;return{showCalendar(){e.showAndFocusCalendar()},hideCalendar(){e.hideCalendarAndFocusTrigger()},isCalendarVisible:()=>e.isCalendarVisible}}get hasExternalLabel(){return this.variant===E.VARIANT.LABEL_HIDDEN&&this.ariaLabelledByElement&&this.ariaLabelledByElement.length}get computedAriaInvalid(){const e=(M.isCSR?this.template.host.getAttribute("data-aria-invalid"):null)||this._errorMessage;return M.computeAriaInvalid(e,this.hasBadInput()||"")}get helptextAlternativeText(){return D.formatLabel(ie.helpTextAlternativeText,this.label)}}t.registerDecorators(he,{publicProps:{accessKey:{config:0},label:{config:0},name:{config:0},placeholder:{config:0},externalErrorMessage:{config:0},autocomplete:{config:0},rootAriaNode:{config:3},min:{config:3},max:{config:3},messageWhenValueMissing:{config:3},messageWhenBadInput:{config:3},messageWhenRangeOverflow:{config:3},messageWhenRangeUnderflow:{config:3},ariaLabel:{config:3},ariaDisabled:{config:3},ariaLabelledByElement:{config:3},ariaControlsElement:{config:3},ariaDetailsElements:{config:3},ariaDescribedByElements:{config:3},ariaErrorMessageElement:{config:3},value:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},fieldLevelHelp:{config:3},variant:{config:3},dateStyle:{config:3}},publicMethods:["focus","blur","showHelpMessage","hasBadInput"],track:{_disabled:1,_readonly:1,_required:1,_value:1,_calendarVisible:1,_displayValue:1,_errorMessage:1,_fieldLevelHelp:1,_variant:1},fields:["_min","_max","_messageWhenValueMissing","_userMaxValue","_userMinValue","_displayMin","_displayMax","_dateStyle","_focused","_ariaLabelledBy","_ariaControls","_ariaDetails","_ariaDescribedBy"]});const ue=t.registerComponent(he,{tmpl:ee,sel:"lightning-datepicker",apiVersion:62});e.default=ue,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/timepicker",["exports","lwc","lightning/helptext","lightning/baseCombobox","@salesforce/label/LightningDateTimePicker.invalidDate","@salesforce/label/LightningDateTimePicker.rangeOverflow","@salesforce/label/LightningDateTimePicker.rangeUnderflow","@salesforce/label/LightningControl.required","@salesforce/label/LightningInput.helptextAlternativeText","lightning/shadowBaseClassPrivate","lightning/internationalizationLibrary","lightning/utils","lightning/iso8601Utils","lightning/utilsPrivate","lightning/inputUtils"],function(e,t,i,s,a,l,n,r,o,d,h,m,u,c,g){function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=p(i),b=p(s),v=p(a),f=p(l),y=p(n),L=p(r),E=p(o),x=p(d);var T=[function(){return""}];const S=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,I=t.parseFragment`<div${"a0:id"} data-error-message${"c0"} aria-live="polite"${2}>${"t1"}</div>`,A={classMap:{"slds-form-element__control":!0},key:4};function D(e,t,i,s){const{ncls:a,sp:l,st:n,d:r,t:o,h:d,c:h,b:m,gid:u}=e,{_m0:c,_m1:g,_m2:p,_m3:v,_m4:f,_m5:y,_m6:L}=s;return[t.hasExternalLabel?null:d("label",{className:a(t.computedLabelClass),key:0},[t.required?n(S,2,[l(0,{attrs:{title:t.i18n.required}},null)]):null,o(r(t.label))]),t.hasExternalLabel?null:t.fieldLevelHelp?h("lightning-helptext",_.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:3}):null,d("div",A,[h("lightning-base-combobox",b.default,{attrs:{"data-aria-invalid":t.computedAriaInvalid},props:{part:"input-container",ariaDisabled:t.ariaDisabled,autocomplete:t.autocomplete,accessKey:t.accessKey,dropdownHeight:"small",name:t.name,variant:"lookup",placeholder:t.placeholder,disabled:t.disabled,readOnly:t.readOnly,required:t.required,items:t.items,inputText:t.displayValue,inputIconName:"utility:clock",inputLabel:t.comboboxLabel,inputControlsElement:t.ariaControlsElement,inputDetailsElements:t.ariaDetailsElements,inputLabelledByElement:t.ariaLabelledByElement,dropdownAlignment:"auto",rootAriaNode:t.rootAriaNode,inputDescribedByElements:t.ariaDescribedByElements,ariaErrorMessageElements:t.ariaErrorMessageElements},key:5,on:{ready:c||(s._m0=m(t.handleReady)),textchange:g||(s._m1=m(t.handleInputChange)),textinput:p||(s._m2=m(t.handleTextInput)),dropdownopenrequest:v||(s._m3=m(t.handleDropdownOpenRequest)),focus:f||(s._m4=m(t.handleFocus)),blur:y||(s._m5=m(t.handleBlur)),select:L||(s._m6=m(t.handleTimeSelect))}})]),n(I,7,[l(0,{className:a(t.computedClass),attrs:{id:u("error-message")}},null),l(1,null,r(t._errorMessage))])]}var B=t.registerTemplate(D);D.stylesheets=[],D.stylesheetToken="lwc-2onco8hrliv",D.legacyStylesheetToken="lightning-timepicker_timepicker",T&&D.stylesheets.push.apply(D.stylesheets,T),t.freezeTemplate(D);const w={invalidDate:v.default,rangeOverflow:f.default,rangeUnderflow:y.default,required:L.default,helpTextAlternativeText:E.default},C="short",V="medium",O="long";class M extends x.default{constructor(...e){super(...e),this._disabled=!1,this._required=!1,this._displayValue=null,this._value=null,this._min=void 0,this._max=void 0,this._items=[],this._fieldLevelHelp=void 0,this._variant="lookup",this._mainInputId=void 0,this._errorMessage=void 0,this._readonly=!0,this._describedByElements=[],this.rootAriaNode=void 0,this.autocomplete="off",this.ariaLabelledByElement=void 0,this.ariaControlsElement=void 0,this.ariaDetailsElements=void 0,this.ariaLabel=void 0,this.ariaDisabled=void 0,this.label=void 0,this.name=void 0,this.placeholder="",this.accessKey=void 0,this.messageWhenValueMissing=void 0,this._ariaDescribedByElements=void 0,this._timeStyle=C,this.ariaErrorMessageElement=void 0}get comboboxComponent(){return this.template.querySelector("lightning-base-combobox")}get messageWhenBadInput(){return this._messageWhenBadInput||m.formatLabel(w.invalidDate,h.getTimeFormatFromStyle(this.timeStyle,!0))}set messageWhenBadInput(e){this._messageWhenBadInput=e}get messageWhenRangeOverflow(){return this._messageWhenRangeOverflow||m.formatLabel(w.rangeOverflow,h.normalizeISOTime(this.max,this.timeStyle).isoValue)}set messageWhenRangeOverflow(e){this._messageWhenRangeOverflow=e}get messageWhenRangeUnderflow(){return this._messageWhenRangeUnderflow||m.formatLabel(w.rangeUnderflow,h.normalizeISOTime(this.min,this.timeStyle).isoValue)}set messageWhenRangeUnderflow(e){this._messageWhenRangeUnderflow=e}set ariaDescribedByElements(e){Array.isArray(e)?this._ariaDescribedByElements=e:this.ariaDescribedByElements=[e]}get ariaDescribedByElements(){return this._ariaDescribedByElements}get value(){return this._value}set value(e){const t=u.removeTimeZoneSuffix(e),i=h.normalizeISOTime(t,this.timeStyle);this._value=i.isoValue,this._displayValue=i.displayValue}get disabled(){return this._disabled}set disabled(e){this._disabled=c.normalizeBoolean(e)}get readOnly(){return this._readonly}set readOnly(e){this._readonly=c.normalizeBoolean(e),this._readonly&&(this._variant=g.VARIANT.STANDARD)}get required(){return this._required}set required(e){this._required=c.normalizeBoolean(e)}hasBadInput(){return!!this._displayValue&&null===this._value}showHelpMessage(e){e?(this.classList.add("slds-has-error"),this._errorMessage=e):(this.classList.remove("slds-has-error"),this._errorMessage="")}set fieldLevelHelp(e){this._fieldLevelHelp=e}get fieldLevelHelp(){return this._fieldLevelHelp}get variant(){return this._variant||g.VARIANT.STANDARD}set variant(e){this._variant=g.normalizeVariant(e),c.reflectAttribute(this,"variant",this._variant)}get max(){return this._max}set max(e){this._max=e,this.connected&&this.rebuildAndUpdateTimeList()}get min(){return this._min}set min(e){this._min=e,this.connected&&this.rebuildAndUpdateTimeList()}focus(){this.connected&&this.getCombobox().focus()}blur(){this.connected&&this.getCombobox().blur()}get timeStyle(){return this._timeStyle}set timeStyle(e){this._timeStyle=c.normalizeString(e,{fallbackValue:C,validValues:[C,V,O]});const t=h.normalizeISOTime(this._value,this._timeStyle);this._displayValue=t.displayValue}connectedCallback(){super.connectedCallback(),this._isNativeShadow=c.isNativeComponent(this),this.connected=!0}disconnectedCallback(){this.connected=!1}get ariaErrorMessageElements(){const e=[this.ariaErrorMessageElement];return this._errorMessage&&e.push(this.template.querySelector("[data-error-message]")),e}synchronizeA11y(){const e=this.template.querySelector("label");c.synchronizeAttrs(e,{for:this._mainInputId})}renderedCallback(){this.synchronizeA11y()}get comboboxLabel(){return this.ariaLabel||this.ariaLabelledByElement||!this._isNativeShadow?this.ariaLabel:this.label}get displayValue(){return this._displayValue}get items(){return this._items}get i18n(){return w}get isLabelHidden(){return this.variant===g.VARIANT.LABEL_HIDDEN}get computedClass(){return"slds-form-element__help "+(this._errorMessage?"slds-show":"slds-hide")}get computedLabelClass(){return m.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}handleReady(e){this._mainInputId=e.detail.id}buildTimeList(){const e=[],t=h.normalizeISOTime(this.min,C).parsedValue,i=t?t.getHours():0,s=h.normalizeISOTime(this.max,C).parsedValue,a=s?s.getHours()+1:24,l=new Date;for(let n=i;n<a;n++)for(let i=0;i<60;i+=15){if(l.setHours(n,i),l.setSeconds(0,0),this.isBeforeMinTime(l,t))continue;if(this.isAfterMaxTime(l,s))break;const a=h.getISOTimeString(l),r=h.normalizeISOTime(a,C);e.push({type:"option-inline",text:r.displayValue,value:a})}return e}get timeList(){if(this._timeList||(this._timeList=this.buildTimeList()),!this._value)return this._timeList;const e=function(e,t){const i=h.parseTime(e);if(!i)return null;i.setSeconds(0,0);let s=i.getHours(),a=i.getMinutes();const l=a%t,n=Math.floor(a/t);0!==l&&(a=(l<t/2?n:n+1)*t,a>=60&&(23===s?a-=t:(a=0,s++)),i.setHours(s),i.setMinutes(a));return h.getISOTimeString(i)}(this._value,15);return this._timeList.map(t=>{const i=Object.assign({},t);return t.value===this._value?(i.iconName="utility:check",i.checked=!0):i.checked=!1,t.value===e&&(i.highlight=!0),i})}rebuildAndUpdateTimeList(){this._timeList=null,this._items=this.timeList}getCombobox(){return this.template.querySelector("lightning-base-combobox")}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleInputChange(e){e.preventDefault(),e.stopPropagation(),this._displayValue=e.detail.text;const{value:t,style:i}=h.parseFormattedTime(this._displayValue);this._value=t,i&&(this._timeStyle=i),this._items=this.timeList,this.dispatchChangeEvent()}handleTextInput(e){e.preventDefault(),e.stopPropagation(),this._displayValue=e.detail.text}handleTimeSelect(e){e.stopPropagation(),e.detail&&(this._value=e.detail.value,this._displayValue=h.normalizeISOTime(this._value,this.timeStyle).displayValue,this._items=this.timeList,this.dispatchChangeEvent())}handleDropdownOpenRequest(){this._items=this.timeList}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:this._value}}))}isBeforeMinTime(e,t){const i=t||h.normalizeISOTime(this.min,C);return!!i&&h.isBefore(e,i,"minute")}isAfterMaxTime(e,t){const i=t||h.normalizeISOTime(this.max,C);return!!i&&h.isAfter(e,i,"minute")}get hasExternalLabel(){return this.variant===g.VARIANT.LABEL_HIDDEN&&this.ariaLabelledByElement&&this.ariaLabelledByElement.length}get computedAriaInvalid(){const e=(c.isCSR?this.template.host.getAttribute("data-aria-invalid"):null)||this._errorMessage;return c.computeAriaInvalid(e,this.value)}get helptextAlternativeText(){return m.formatLabel(w.helpTextAlternativeText,this.label)}}M.delegatesFocus=!0,t.registerDecorators(M,{publicProps:{rootAriaNode:{config:0},autocomplete:{config:0},ariaLabelledByElement:{config:0},ariaControlsElement:{config:0},ariaDetailsElements:{config:0},ariaLabel:{config:0},ariaDisabled:{config:0},label:{config:0},name:{config:0},placeholder:{config:0},accessKey:{config:0},comboboxComponent:{config:1},messageWhenValueMissing:{config:0},messageWhenBadInput:{config:3},messageWhenRangeOverflow:{config:3},messageWhenRangeUnderflow:{config:3},ariaDescribedByElements:{config:3},value:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},fieldLevelHelp:{config:3},variant:{config:3},max:{config:3},min:{config:3},timeStyle:{config:3},ariaErrorMessageElement:{config:0}},publicMethods:["hasBadInput","showHelpMessage","focus","blur"],track:{_disabled:1,_required:1,_displayValue:1,_value:1,_min:1,_max:1,_items:1,_fieldLevelHelp:1,_variant:1,_mainInputId:1,_errorMessage:1,_readonly:1,_describedByElements:1},fields:["_ariaDescribedByElements","_timeStyle"]});const k=t.registerComponent(M,{tmpl:B,sel:"lightning-timepicker",apiVersion:62});e.default=k,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/datetimepicker",["exports","lwc","lightning/helptext","lightning/datepicker","lightning/timepicker","@salesforce/label/LightningDateTimePicker.dateLabel","@salesforce/label/LightningDateTimePicker.rangeOverflow","@salesforce/label/LightningDateTimePicker.rangeUnderflow","@salesforce/label/LightningDateTimePicker.timeLabel","@salesforce/label/LightningInput.helptextAlternativeText","@salesforce/label/LightningDateTimePicker.valueMissingWithDateFormat","@salesforce/label/LightningDateTimePicker.customErrorWithDateFormat","@salesforce/i18n/timeZone","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/internationalizationLibrary","lightning/iso8601Utils","lightning/inputUtils"],function(e,t,i,a,s,r,l,n,o,h,d,m,u,c,g,p,_,f,v){function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var A=b(i),y=b(a),D=b(s),T=b(r),M=b(l),V=b(n),k=b(o),L=b(h),E=b(d),B=b(m),I=b(u),x=b(c);var z=[function(){return""}];const F=t.parseFragment`<legend${"c0"}${2}>${"t1"}</legend>`,W=t.parseFragment`<div data-error-message${"a0:id"}${"c0"} aria-live="polite"${2}>${"t1"}</div>`,C={classMap:{"slds-form":!0},attrs:{tabindex:"-1"},key:0},S={classMap:{"slds-form-element":!0,"slds-form-element_compound":!0},key:1},w={classMap:{"slds-form-element__control":!0},key:5},R={classMap:{"slds-form-element__group":!0},key:6},O={classMap:{"slds-form-element__row":!0},key:7},H={"slds-form-element":!0};function q(e,t,i,a){const{ncls:s,d:r,sp:l,st:n,c:o,b:h,h:d,gid:m}=e,{_m0:u,_m1:c,_m2:g,_m3:p,_m4:_,_m5:f}=a;return[d("div",C,[d("fieldset",S,[t.hasExternalLabel?null:n(F,3,[l(0,{className:s(t.computedLabelClass)},null),l(1,null,r(t.label))]),t.hasExternalLabel?null:t.fieldLevelHelp?o("lightning-helptext",A.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:4}):null,d("div",w,[d("div",R,[d("div",O,[o("lightning-datepicker",y.default,{classMap:H,attrs:{"data-aria-invalid":t.computedDateAriaInvalid},props:{autocomplete:t.autocomplete,accessKey:t.dateAccessKey,min:t.dateMin,max:t.dateMax,label:t.i18n.date,name:t.name,placeholder:t.placeholder,readOnly:t.readOnly,disabled:t.disabled,dateStyle:t.dateStyle,required:t.required,ariaErrorMessageElement:t.errorMessageElement,ariaDisabled:t.ariaDisabled,variant:t.childVariant,rootAriaNode:t.rootAriaNode,externalErrorMessage:t.customErrorMessage},key:8,on:{focus:u||(a._m0=h(t.handleDatepickerFocus)),blur:c||(a._m1=h(t.handleDatepickerBlur)),change:g||(a._m2=h(t.handleDateChange))}}),o("lightning-timepicker",D.default,{classMap:H,attrs:{"data-aria-invalid":t.computedTimeAriaInvalid},props:{autocomplete:t.autocomplete,accessKey:t.timeAccessKey,label:t.i18n.time,name:t.name,timeStyle:t.timeStyle,placeholder:t.placeholder,readOnly:t.readOnly,required:t.required,disabled:t.disabled,ariaErrorMessageElement:t.errorMessageElement,ariaDisabled:t.ariaDisabled,variant:t.childVariant,rootAriaNode:t.rootAriaNode},key:9,on:{focus:p||(a._m3=h(t.handleTimepickerFocus)),blur:_||(a._m4=h(t.handleTimepickerBlur)),change:f||(a._m5=h(t.handleTimeChange))}})])])]),n(W,11,[l(0,{className:s(t.computedClass),attrs:{id:m("errormessage")}},null),l(1,null,r(t.customErrorMessage))])])])]}var N=t.registerTemplate(q);q.stylesheets=[],q.stylesheetToken="lwc-326m1b941ni",q.legacyStylesheetToken="lightning-datetimepicker_datetimepicker",z&&q.stylesheets.push.apply(q.stylesheets,z),t.freezeTemplate(q);const P={date:T.default,rangeOverflow:M.default,rangeUnderflow:V.default,time:k.default,helpTextAlternativeText:L.default,valueMissingWithDateFormat:E.default,customErrorWithDateFormat:B.default};class U extends x.default{set timeAriaControls(e){this._timeAriaControls=e,this.synchronizeA11y()}get timeAriaControls(){return this._timeAriaControls}set timeAriaDetails(e){this._timeAriaDetails=e,this.synchronizeA11y()}get timeAriaDetails(){return this._timeAriaDetails}set timeAriaLabelledBy(e){this._timeAriaLabelledBy=e,this.synchronizeA11y()}get timeAriaLabelledBy(){return this._timeAriaLabelledBy}set timeAriaDescribedBy(e){this._timeAriaDescribedBy=e,this.synchronizeA11y()}get timeAriaDescribedBy(){return this._timeAriaDescribedBy}get messageWhenValueMissing(){return this._messageWhenValueMissing?g.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenValueMissing,this.dateFormatExample):g.formatLabel(this.i18n.valueMissingWithDateFormat,this.dateFormatExample)}set messageWhenValueMissing(e){this._messageWhenValueMissing=e}get messageWhenBadInput(){return this._messageWhenBadInput?g.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenBadInput,this.dateFormatExample):this.hasBadDateInput?this.getDatepicker().messageWhenBadInput:this.hasBadTimeInput?this.getTimepicker().messageWhenBadInput:null}set messageWhenBadInput(e){this._messageWhenBadInput=e}get messageWhenRangeOverflow(){return this._messageWhenRangeOverflow?g.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenRangeOverflow,this.dateFormatExample):g.formatLabel(P.rangeOverflow,this.formattedMax)}set messageWhenRangeOverflow(e){this._messageWhenRangeOverflow=e}get messageWhenRangeUnderflow(){return this._messageWhenRangeUnderflow?g.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenRangeUnderflow,this.dateFormatExample):g.formatLabel(P.rangeUnderflow,this.formattedMin)}set messageWhenRangeUnderflow(e){this._messageWhenRangeUnderflow=e}get max(){return this.maxValue}set max(e){this.maxValue=e,this.calculateFormattedMaxValue()}get min(){return this.minValue}set min(e){this.minValue=e,this.calculateFormattedMinValue()}get value(){return this._value}set value(e){this.connected?this.setDateAndTimeValues(e):this._initialValue=e}get timezone(){return this._timezone}set timezone(e){this._timezone=e,this.connected&&this.updateValuesForTimezone()}get normalizedTimezone(){return this.timezone?this.timezone:_.isAuraL10NAvailable?I.default:Intl.DateTimeFormat().resolvedOptions().timeZone}get disabled(){return this._disabled}set disabled(e){this._disabled=p.normalizeBoolean(e)}get readOnly(){return this._readonly}set readOnly(e){this._readonly=p.normalizeBoolean(e)}get required(){return this._required}set required(e){this._required=p.normalizeBoolean(e)}set fieldLevelHelp(e){this._fieldLevelHelp=e}get fieldLevelHelp(){return this._fieldLevelHelp}get variant(){return this._variant||v.VARIANT.STANDARD}set variant(e){this._variant=v.normalizeVariant(e),p.reflectAttribute(this,"variant",this._variant)}get childVariant(){return this._variant===v.VARIANT.LABEL_HIDDEN?this._variant:v.VARIANT.STANDARD}focus(){this.connected&&this.getDatepicker().focus()}blur(){this.connected&&(this.getDatepicker().blur(),this.getTimepicker().blur())}hasBadInput(){return this.connected&&(this.hasBadDateInput||this.hasBadTimeInput)}get hasBadDateInput(){return this.getDatepicker()?.hasBadInput()}get hasMissingDateTimeInput(){return this.required&&(!this._dateValue||!this._timeValue)}get hasBadTimeInput(){const e=this.getTimepicker()?.hasBadInput();return this.required&&this._dateValue&&!this._timeValue||e}showHelpMessage(e){if(this.connected)if(e){if(this.hasMissingDateTimeInput&&(this.clearHelpMessage(),p.reflectAttribute(this.getDatepicker(),"invalid",!0),p.reflectAttribute(this.getTimeCombobox(),"invalid",!0)),this.hasBadDateInput&&!this._messageWhenBadInput)return this.clearHelpMessage(),p.reflectAttribute(this.getDatepicker(),"invalid",this.hasBadDateInput),void this.getDatepicker().showHelpMessage(e);if(this.hasBadTimeInput&&!this._messageWhenBadInput)return this.clearHelpMessage(),p.reflectAttribute(this.getTimepicker(),"invalid",this.hasBadTimeInput),p.reflectAttribute(this.getTimeCombobox(),"invalid",!0),void this.getTimepicker().showHelpMessage(e);this.classList.add("slds-has-error"),this._customErrorMessage=e}else this.clearHelpMessage()}clearHelpMessage(){this.classList.remove("slds-has-error"),this._customErrorMessage="",this.getDatepicker().showHelpMessage(""),this.getDatepicker().removeAttribute("invalid"),this.getTimepicker().showHelpMessage(""),this.getTimepicker().removeAttribute("invalid"),this.getTimeCombobox().removeAttribute("invalid")}get isLabelHidden(){return this.variant===v.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return g.classSet("slds-form-element__legend slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get dateFormatExample(){return _.normalizeISODate("2024-12-31",this.dateStyle).displayValue}get i18n(){return P}get customErrorMessage(){return this._customErrorMessage}get dateMin(){return this._dateMin}get dateMax(){return this._dateMax}get computedClass(){return"slds-form-element__help "+(this._customErrorMessage?"slds-show":"slds-hide")}get errorMessageElement(){return p.isCSR?this.template.querySelector("[data-error-message]"):null}get hasExternalLabel(){return this.variant===v.VARIANT.LABEL_HIDDEN&&this.timeAriaLabelledBy&&this.timeAriaLabelledBy.length&&this.dateAriaLabelledBy&&this.dateAriaLabelledBy.length}constructor(){super(),this._rendered=!1,this._messageWhenValueMissing=void 0,this.connected=!1,this._disabled=!1,this._readonly=!1,this._required=!1,this._fieldLevelHelp=void 0,this._variant=void 0,this._value=null,this._customErrorMessage="",this._timezone=null,this._dateMin=void 0,this._dateMax=void 0,this.label=void 0,this.name=void 0,this.placeholder="",this.dateStyle=void 0,this.timeStyle=void 0,this.timeAriaLabel=void 0,this.ariaDisabled=void 0,this.rootAriaNode=void 0,this.autocomplete="off",this.dateAriaControls=void 0,this.dateAriaDetails=void 0,this.dateAriaLabel=void 0,this.dateAriaLabelledBy=void 0,this.dateAriaDescribedBy=void 0,this.dateAccessKey=void 0,this.timeAccessKey=void 0,this.uniqueId=v.generateUniqueId()}synchronizeA11y(){if(!p.isCSR)return;const e=this.template.querySelector("lightning-datepicker"),t=this.template.querySelector("lightning-timepicker");e&&p.synchronizeAttrs(e,{ariaLabelledByElement:this.dateAriaLabelledBy,ariaDescribedByElements:this.dateAriaDescribedBy,ariaControlsElement:this.dateAriaControls,ariaDetailsElements:this.dateAriaDetails,"aria-label":this.dateAriaLabel}),t&&p.synchronizeAttrs(t,{ariaLabelledByElement:this.timeAriaLabelledBy,ariaDescribedByElements:this.timeAriaDescribedBy,ariaControlsElement:this.timeAriaControls,ariaDetailsElements:this.timeAriaDetails,"aria-label":this.timeAriaLabel})}connectedCallback(){super.connectedCallback(),this.connected=!0,this.updateValuesForTimezone(this._initialValue),this.interactingState=new v.InteractingState({debounceInteraction:!0}),this.interactingState.onenter(()=>{this.dispatchEvent(new CustomEvent("focus"))}),this.interactingState.onleave(()=>{this.dispatchEvent(new CustomEvent("blur"))})}renderedCallback(){this._rendered=!0,this.updateValuesForTimezone(this.value),this.synchronizeA11y()}disconnectedCallback(){this._rendered=!1,this.connected=!1}getTimepicker(){return this._rendered?this.template.querySelector("lightning-timepicker"):null}getTimeCombobox(){return this._rendered?this.getTimepicker().shadowRoot.querySelector("lightning-base-combobox"):null}getDatepicker(){return this._rendered?this.template.querySelector("lightning-datepicker"):null}handleDatepickerFocus(){this._dateFocus=!0,this.interactingState.enter()}handleTimepickerFocus(){this._timeFocus=!0,this.interactingState.enter()}handleDatepickerBlur(){this._dateFocus=!1,this._timeFocus||this.interactingState.leave()}handleTimepickerBlur(){this._timeFocus=!1,this._dateFocus||this.interactingState.leave()}handleDateChange(e){e.stopPropagation(),e.detail&&(this._dateValue=e.detail.value,this._dateValue&&(this._timeValue=this._timeValue||_.getCurrentTimeString(this.normalizedTimezone),this.setTimepickerValue(this._timeValue)),this.updateValue())}handleTimeChange(e){e.stopPropagation(),e.detail&&(this._timeValue=e.detail.value,this.updateValue())}updateValue(){const e=this._dateValue,t=this._timeValue;if(e&&t){const i=e+f.TIME_SEPARATOR+t;this._value=_.normalizeFormattedDateTime(i,this.normalizedTimezone),this.dispatchChangeEvent()}else e||(this._value=null,this.dispatchChangeEvent())}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:this._value}}))}updateValuesForTimezone(e){this.setDateAndTimeValues(e||this._value),this.calculateFormattedMinValue(),this.calculateFormattedMaxValue()}setDateAndTimeValues(e){const t=_.normalizeISODateTime(e,this.normalizedTimezone).isoValue;if(t&&e.indexOf(f.TIME_SEPARATOR)<0)return this._dateValue=e,this._value=this._dateValue,void this.setDatepickerValue(e);const i=this.separateDateTime(t);this._dateValue=i&&i[0],this._timeValue=i&&i[1],this._value=e,this.setDatepickerValue(this._dateValue),this.setTimepickerValue(this._timeValue)}setDatepickerValue(e){const t=this.getDatepicker();t&&(t.value=e)}setTimepickerValue(e){const t=this.getTimepicker();t&&(t.value=e)}calculateFormattedMinValue(){if(!this.min)return;const e=_.normalizeISODateTime(this.min,this.normalizedTimezone);this._dateMin=this.separateDateTime(e.isoValue)[0],this.formattedMin=e.displayValue}calculateFormattedMaxValue(){if(!this.max)return;const e=_.normalizeISODateTime(this.max,this.normalizedTimezone);this._dateMax=this.separateDateTime(e.isoValue)[0],this.formattedMax=e.displayValue}separateDateTime(e){return"string"==typeof e?e.split(f.TIME_SEPARATOR):null}get computedDateAriaInvalid(){return p.computeAriaInvalid(this._customErrorMessage,this._dateValue)}get computedTimeAriaInvalid(){return p.computeAriaInvalid(this._customErrorMessage,this._timeValue)}get helptextAlternativeText(){return g.formatLabel(P.helpTextAlternativeText,this.label)}}U.delegatesFocus=!0,t.registerDecorators(U,{publicProps:{label:{config:0},name:{config:0},placeholder:{config:0},dateStyle:{config:0},timeStyle:{config:0},timeAriaLabel:{config:0},ariaDisabled:{config:0},rootAriaNode:{config:0},autocomplete:{config:0},timeAriaControls:{config:3},timeAriaDetails:{config:3},timeAriaLabelledBy:{config:3},timeAriaDescribedBy:{config:3},dateAriaControls:{config:0},dateAriaDetails:{config:0},dateAriaLabel:{config:0},dateAriaLabelledBy:{config:0},dateAriaDescribedBy:{config:0},dateAccessKey:{config:0},timeAccessKey:{config:0},messageWhenValueMissing:{config:3},messageWhenBadInput:{config:3},messageWhenRangeOverflow:{config:3},messageWhenRangeUnderflow:{config:3},max:{config:3},min:{config:3},value:{config:3},timezone:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},fieldLevelHelp:{config:3},variant:{config:3}},publicMethods:["focus","blur","hasBadInput","showHelpMessage"],track:{_disabled:1,_readonly:1,_required:1,_fieldLevelHelp:1,_variant:1,_value:1,_customErrorMessage:1,_timezone:1,_dateMin:1,_dateMax:1},fields:["_rendered","_messageWhenValueMissing","connected"]});const K=t.registerComponent(U,{tmpl:N,sel:"lightning-datetimepicker",apiVersion:62});e.default=K,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/numberUtils",["exports","@salesforce/i18n/number.groupingSeparator","@salesforce/i18n/number.decimalSeparator","lightning/internationalizationLibrary","lightning/inputUtils","lightning/utilsPrivate"],function(t,e,n,i,r,o){function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var s=a(e),l=a(n);const c=new RegExp("^[-+0-9kKmMbBtTeE.,٠-٩۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-෯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꧰-꧹꩐-꩙꯰-꯹]$"),u={k:3,m:6,b:9,t:12},m=["k","m","b","t"],f=["+","-"];function g(t,e){if(null==t||0===t.length)return"";const n=e?e.decimalSeparator:l.default,r=e?e.groupSeparator:s.default;let o=t.split(r).join("");return"."!==n&&(o=o.replace(n,".")),d(function(t){const e=t.indexOf(".");if(0===e||1===e){const n=t.charAt(0);"+"!==n&&"-"!==n&&"."!==n||(t=t.substring(0,e)+"0"+t.substring(e))}return t}(i.fromLocalizedDigits(o)))}function p(t){const e=t.toLowerCase().trim(),n=m.join(""),i=new RegExp(`([${n}])`,"g"),r=e.match(i);if(r&&r.length>1)return!1;const o=new RegExp(`[${n}]$`);return null!==e.match(o)&&e.length>1}function d(t){if(!p(t))return t;let e=t.toLowerCase().trim();const n=e.charAt(e.length-1);if(e=e.substring(0,e.length-1),isNaN(e))return t;const i=e.split(".");let r=0;i.length>1&&(r=i[1].length);const o=u[n],a=Math.max(0,r-o);return parseFloat(e*Math.pow(10,o)).toFixed(a)}t.calculateFractionDigitsFromStep=function(t){let e;if(t){const n=String(t).toLowerCase();if("any"!==n){let t=0;if(n.indexOf(".")>=0&&n.indexOf("e")<0){const e=n.split(".")[1];parseInt(e,10)>0&&(t=e.length)}else if(n.indexOf("e-")>0){const e=n.split("e-"),i=e[0].split(".")[1],r=e[1],o=i?i.length:0;t=parseInt(r,10)+o}e=t}}return e},t.expandShortcuts=d,t.formatNumber=function(t,e){if(r.isEmptyString(t))return"";let n=t,o=t;const a=e.style,s={style:a};if(s.minimumFractionDigits=e.minimumFractionDigits,s.maximumFractionDigits=e.maximumFractionDigits,"percent-fixed"===a){s.style="percent";const t=o.toString(),e=parseFloat(o)/100;o=t.indexOf(".")>0&&t.indexOf("e")<0?e.toFixed(t.split(".")[1].length+2):e}try{n=i.numberFormat(s).format(o)||""}catch(t){}return n},t.fromIsoDecimal=function(t){return i.toLocalizedDigits(t.replace(".",l.default))},t.getDecimalPlaces=function(t){const e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0},t.hasValidNumberShortcut=p,t.hasValidNumberSymbol=function(t){const e=f.join(""),n=new RegExp(`[${e}]`);return!!t.match(n)},t.increaseNumberByStep=function({value:t,increment:e,step:n,fractionDigits:i}){const r=""===t||null==t?"0":t,o=parseFloat(n);let a;if(isNaN(o))a=parseFloat(r)+e;else{const t=e*o;a=parseFloat(r)+t}return a.toFixed(i)},t.isValidNumber=function(t){return!isNaN(g(t))},t.isValidNumberCharacter=function(t){return c.test(t)},t.stringifyNumber=function(t){const e="string"==typeof t?Number(t):t;return void 0===o.normalizeNumber(e)?"":String(t)},t.toIsoDecimal=function(t){const e=g(t);return isNaN(e)?"":e},t.transformLocalizedNumberToIsoDecimal=g,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveInputRadio",["exports","lwc","lightning/utils","lightning/inputUtils","lightning/utilsPrivate","lightning/shadowBaseClassPrivate"],function(e,i,a,t,s,l){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=n(l);const r=i.parseFragment`<div class="slds-form-element__control${0}"${2}><span class="slds-radio${0}"${2}><input type="radio"${"a2:id"}${"a2:aria-keyshortcuts"}${"a2:aria-disabled"}${"a2:aria-roledescription"}${"a2:aria-invalid"}${"a2:accesskey"}${"a2:name"}${"a2:required"}${"a2:readonly"}${"a2:disabled"}${"a2:aria-label"}${3}><label${"a3:for"} class="slds-radio__label${0}"${2}><span class="slds-radio_faux${0}"${2}></span><span${"c5"}${2}>${"t6"}</span></label></span></div>`,c=i.parseFragment`<div${"a0:id"} class="slds-form-element__help${0}" data-help-message part="help-text" role="status"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`;function o(e,i,a,t){const{b:s,gid:l,ncls:n,d:d,sp:o,st:h}=e,{_m0:u,_m1:p,_m2:g}=t;return[h(r,1,[o(2,{on:{blur:u||(t._m0=s(i.handleBlur)),focus:p||(t._m1=s(i.handleFocus)),change:g||(t._m2=s(i.handleChange))},attrs:{id:l("radio"),"aria-keyshortcuts":i.ariaKeyShortcuts,"aria-disabled":i.ariaDisabled,"aria-roledescription":i.ariaRoleDescription,"aria-invalid":i.ariaInvalid,accesskey:i.accessKey,name:i.name,required:i.required?"":null,readonly:i.readOnly?"":null,disabled:i.disabled?"":null,"aria-label":i.ariaLabel}},null),o(3,{attrs:{for:l("radio")}},null),o(5,{className:n(i.computedLabelClass)},null),o(6,null,d(i.label))]),i.helpMessage?h(c,3,[o(0,{attrs:{id:l("help-message")}},null),o(2,null,d(i.label)),o(3,null,d(i.helpMessage))]):null]}var h=i.registerTemplate(o);o.stylesheets=[],o.stylesheetToken="lwc-4943usg6b6",o.legacyStylesheetToken="lightning-primitiveInputRadio_primitiveInputRadio",i.freezeTemplate(o);class u extends d.default{constructor(...e){super(...e),this.variant=void 0,this.ariaInvalid=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.accessKey=void 0,this.name=void 0,this.required=void 0,this.readOnly=void 0,this.disabled=void 0,this.label=void 0,this.ariaLabel=void 0,this.helpMessage=void 0}get checked(){return this._checked}set checked(e){this._setChecked(e)}get ariaDescribedByElements(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}get inputElement(){if(!this._cachedInputElement){let e=this.template.querySelector("input");this._cachedInputElement=e}return this._cachedInputElement}get isLabelHidden(){return this.variant===t.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return a.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}_setChecked(e){e=Boolean(e),this._checked=e,this.rendered&&this.inputElement.checked!==this._checked&&(this.inputElement.checked=this._checked)}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleChange(e){this._setChecked(e.target.checked);const i=new CustomEvent("change",{bubbles:!0,composed:!0,detail:{checked:e.target.checked}});this.dispatchEvent(i)}connectedCallback(){super.connectedCallback(),this._isNativeShadow=s.isNativeComponent(this)}renderedCallback(){this.rendered||(this.inputElement.checked=this.checked),this.rendered=!0}disconnectedCallback(){this._cachedInputElement=void 0,this.rendered=!1}}i.registerDecorators(u,{publicProps:{variant:{config:0},ariaInvalid:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},accessKey:{config:0},name:{config:0},required:{config:0},readOnly:{config:0},disabled:{config:0},label:{config:0},ariaLabel:{config:0},helpMessage:{config:0},checked:{config:3},ariaDescribedByElements:{config:1},isNativeShadow:{config:1},inputElement:{config:1}}});const p=i.registerComponent(u,{tmpl:h,sel:"lightning-primitive-input-radio",apiVersion:62});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/label/LightningColorPicker.a11yDefaultText', ['@view/home/labels'], m => m[174]);LWR.define('@salesforce/label/LightningColorPicker.cancelButton', ['@view/home/labels'], m => m[175]);LWR.define('@salesforce/label/LightningColorPickerPanel.customTab', ['@view/home/labels'], m => m[176]);LWR.define('@salesforce/label/LightningColorPickerPanel.defaultTab', ['@view/home/labels'], m => m[177]);LWR.define('@salesforce/label/LightningColorPicker.doneButton', ['@view/home/labels'], m => m[178]);(function() { LWR.define("interop/button",["exports","lwc","lightning/primitiveIcon","lightning/utils","lightning/utilsPrivate","lightning/primitiveButton"],function(t,e,n,i,s,o){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=r(n),l=r(o);var c=[function(){return""}];function u(t,e,n,i){const{ncls:s,ti:o,b:r,c:l,d:c,t:u,h:d}=t,{_m0:h,_m1:m,_m2:p}=i;return[d("button",{className:s(e.computedButtonClass),attrs:{disabled:e.disabled?"":null,"aria-disabled":e.disabled,name:e.name,accesskey:e.accessKey,title:e.title,type:e.normalizedType,value:e.value,"aria-atomic":e.computedAriaAtomic,"aria-busy":e.computedAriaBusy,"aria-label":e.ariaLabel,"aria-expanded":e.computedAriaExpanded,"aria-haspopup":e.computedAriaHasPopup,"aria-live":e.computedAriaLive,"aria-pressed":e.computedAriaPressed,"aria-relevant":e.computedAriaRelevant,part:"button",tabindex:o(e.tabIndex)},key:0,on:{focus:h||(i._m0=r(e.handleButtonFocus)),blur:m||(i._m1=r(e.handleButtonBlur)),click:p||(i._m2=r(e.handleButtonClick))}},[e.showIconLeft?l("lightning-primitive-icon",a.default,{props:{part:"start",iconName:e.iconName,svgClass:e.computedIconClass,variant:"bare"},key:1}):null,u(c(e.label)),e.showIconRight?l("lightning-primitive-icon",a.default,{props:{part:"end",iconName:e.iconName,svgClass:e.computedIconClass,variant:"bare"},key:2}):null])]}var d=e.registerTemplate(u);u.stylesheets=[],u.stylesheetToken="lwc-40a585din3p",u.legacyStylesheetToken="interop-button_button",c&&u.stylesheets.push.apply(u.stylesheets,c),e.freezeTemplate(u);const h="slds-kx-is-animating-from-click",m={Underline:"underline",Ripple:"ripple"},p={base:{"kx-scope":"button","kx-type":m.Underline},neutral:{"kx-scope":"button-neutral","kx-type":m.Ripple},brand:{"kx-scope":"button-brand","kx-type":m.Ripple},"brand-outline":{"kx-scope":"button-outline","kx-type":m.Ripple},destructive:{"kx-scope":"button-filled","kx-type":m.Ripple},"destructive-text":{"kx-scope":"button-outline","kx-type":m.Ripple},inverse:{"kx-scope":"button-outline","kx-type":m.Ripple},success:{"kx-scope":"button-filled","kx-type":m.Ripple}};function b(t){if(!t)return console.warn("getKineticsAttributes: variant is required"),[];const e=[],n=p[t];return Object.keys(n).forEach(t=>{e.push({name:t,value:n[t]})}),e}const f={},v={},g={},_={};function k(t){const e=t.getAttribute("kx-scope"),n=e?e.match(/^(\w+)/):null;return n?n[1]:""}function y(t){if(!t)return;const{offsetX:e,offsetY:n}=t;_.current={offsetX:e,offsetY:n}}function x(t){const{target:e}=t;z(e)}function z(t,e){const n=t.getAttribute("kx-type");function i(){!function(t){const e=function(t){if(A)return A;return A=function(){t.classList.remove(h),t.removeEventListener("animationend",A)},A}(t);t.removeEventListener("animationend",e),t.classList.remove(h),t.offsetWidth,t.addEventListener("animationend",e),t.classList.add(h)}(t)}e||(n!==m.Underline&&t.addEventListener("click",i),t.addEventListener("mouseleave",function e(){window.cancelAnimationFrame(v.current),t.removeEventListener("mousemove",y),t.removeEventListener("click",i),t.removeEventListener("mouseleave",e),setTimeout(()=>{!function(t){if(!t)return;const e=k(t);t.style.removeProperty(`--slds-kx-${e}-pointer-position-x`),t.style.removeProperty(`--slds-kx-${e}-pointer-position-y`)}(t)},250)}),t.addEventListener("mousemove",y)),void 0!==f.current&&(!function(t){if(!_||!_.current||_.current===g.current)return;const{offsetX:e,offsetY:n}=_.current,i=k(t);t.style.setProperty(`--slds-kx-${i}-pointer-position-x`,`${e}px`),t.getAttribute("kx-type")!==m.Underline&&t.style.setProperty(`--slds-kx-${i}-pointer-position-y`,`${n}px`)}(t),g.current=_.current),f.current=e,v.current=window.requestAnimationFrame(e=>{z(t,e)})}let A;class V extends l.default{constructor(...t){super(...t),this._normalizedVariant="neutral",this._stretch=!1,this.name=void 0,this.value=void 0,this.label=void 0,this.tabIndex=void 0,this.iconName=void 0,this.iconPosition="left",this._originalStretch=!1,this._normalizedStretch=!1,this.type="button",this._disableAnimation=!1}get variant(){return this.originalVariant}set variant(t){this.originalVariant=t,this._normalizedVariant=s.normalizeString(t,{fallbackValue:"neutral",validValues:["base","neutral","brand","brand-outline","destructive","destructive-text","inverse","success"]}),s.reflectAttribute(this,"variant",this._normalizedVariant)}get stretch(){return this._originalStretch}set stretch(t){this._originalStretch=t,this._normalizedStretch=s.normalizeBoolean(t),s.reflectAttribute(this,"stretch",this._normalizedStretch)}get disableAnimation(){return this._disableAnimation}set disableAnimation(t){this._disableAnimation=s.normalizeBoolean(t)}render(){return d}get computedButtonClass(){return i.classSet(super.computedButtonClass).add({"slds-button_neutral":"neutral"===this._normalizedVariant,"slds-button_brand":"brand"===this._normalizedVariant,"slds-button_outline-brand":"brand-outline"===this._normalizedVariant,"slds-button_destructive":"destructive"===this._normalizedVariant,"slds-button_text-destructive":"destructive-text"===this._normalizedVariant,"slds-button_inverse":"inverse"===this._normalizedVariant,"slds-button_success":"success"===this._normalizedVariant,"slds-button_stretch":this.stretch}).toString()}get normalizedType(){return s.normalizeString(this.type,{fallbackValue:"button",validValues:["button","reset","submit"]})}get normalizedIconPosition(){return s.normalizeString(this.iconPosition,{fallbackValue:"left",validValues:["left","right"]})}get showIconLeft(){return this.iconName&&"left"===this.normalizedIconPosition}get showIconRight(){return this.iconName&&"right"===this.normalizedIconPosition}get computedIconClass(){return i.classSet("slds-button__icon").add({"slds-button__icon_left":"left"===this.normalizedIconPosition,"slds-button__icon_right":"right"===this.normalizedIconPosition}).toString()}handleButtonFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleButtonBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleButtonClick(){if(!this.template.synthetic&&"submit"===this.normalizedType){const t=this.template.host.closest("form");t&&t.requestSubmit()}}focus(){this._connected&&this.button.focus()}click(){this._connected&&this.button.click()}get button(){return s.isCSR?this.template.querySelector("button"):null}connectedCallback(){super.connectedCallback(),this.template.synthetic||this.setAttribute("data-render-mode","shadow"),this._connected||(s.reflectAttribute(this,"variant",this._normalizedVariant),this._connected=!0)}renderedCallback(){if(super.renderedCallback(),this.template.host.style.pointerEvents=this.disabled?"none":"",this.disabled||!s.hasAnimation()||this._disableAnimation){b(this._normalizedVariant).forEach(({name:t})=>{this.button.removeAttribute(t)})}else{b(this._normalizedVariant).forEach(({name:t,value:e})=>{this.button.setAttribute(t,e)}),(t=this.button)&&t.addEventListener("mouseenter",x)}var t}disconnectedCallback(){super.disconnectedCallback(),this._connected=!1}}V.delegatesFocus=!0,e.registerDecorators(V,{publicProps:{name:{config:0},value:{config:0},label:{config:0},tabIndex:{config:0},variant:{config:3},iconName:{config:0},iconPosition:{config:0},stretch:{config:3},type:{config:0},disableAnimation:{config:3}},publicMethods:["focus","click"],fields:["_normalizedVariant","_stretch","_originalStretch","_normalizedStretch","_disableAnimation"]});const C=e.registerComponent(V,{tmpl:d,sel:"interop-button",apiVersion:62});V.interopMap={exposeNativeEvent:{click:!0,focus:!0,blur:!0}},t.default=C,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('lightning/button', ['interop/button'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@salesforce/label/LightningColorPicker.bInput', ['@view/home/labels'], m => m[179]);LWR.define('@salesforce/label/LightningColorPicker.blueAbbr', ['@view/home/labels'], m => m[180]);LWR.define('@salesforce/label/LightningColorPicker.colorPickerInstructions', ['@view/home/labels'], m => m[181]);LWR.define('@salesforce/label/LightningColorPicker.errorMessage', ['@view/home/labels'], m => m[182]);LWR.define('@salesforce/label/LightningColorPicker.gInput', ['@view/home/labels'], m => m[183]);LWR.define('@salesforce/label/LightningColorPicker.greenAbbr', ['@view/home/labels'], m => m[184]);LWR.define('@salesforce/label/LightningColorPicker.hexLabel', ['@view/home/labels'], m => m[185]);LWR.define('@salesforce/label/LightningColorPicker.hueInput', ['@view/home/labels'], m => m[186]);LWR.define('@salesforce/label/LightningColorPicker.rInput', ['@view/home/labels'], m => m[187]);LWR.define('@salesforce/label/LightningColorPicker.redAbbr', ['@view/home/labels'], m => m[188]);(function() { LWR.define("lightning/colorPickerCustom",["exports","lwc","@salesforce/label/LightningColorPicker.bInput","@salesforce/label/LightningColorPicker.blueAbbr","@salesforce/label/LightningColorPicker.colorPickerInstructions","@salesforce/label/LightningColorPicker.errorMessage","@salesforce/label/LightningColorPicker.gInput","@salesforce/label/LightningColorPicker.greenAbbr","@salesforce/label/LightningColorPicker.hexLabel","@salesforce/label/LightningColorPicker.hueInput","@salesforce/label/LightningColorPicker.rInput","@salesforce/label/LightningColorPicker.redAbbr","@salesforce/client/formFactor","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/inputUtils"],function(e,t,s,r,a,n,i,o,l,c,u,h,d,p,g,m){function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=b(s),v=b(r),f=b(a),y=b(n),C=b(i),x=b(o),w=b(l),$=b(c),k=b(u),P=b(h),M=b(d),A=b(p);var F=[function(){return""}];const L=t.parseFragment`<p${"a0:id"} class="slds-assistive-text${0}"${2}>${"t1"}</p>`,R=t.parseFragment`<div class="slds-m-bottom_small${0}" data-id="color-gradient"${"s0"}${2}><canvas${"a1:width"}${"a1:height"}${3}></canvas><a data-id="color-anchor" href="javascript:void(0)" class="slds-color-picker__range-indicator${0}" style="position: absolute; display: inline;" aria-live="assertive" aria-atomic="true"${"a2:aria-describedby"}${2}><span class="slds-assistive-text${0}"${2}>${"t4"}</span></a></div>`,I=t.parseFragment`<label class="slds-assistive-text${0}"${"a0:for"}${2}>${"t1"}</label>`,S=t.parseFragment`<span class="slds-swatch${0}" data-id="color-preview"${"s0"}${2}><span class="slds-assistive-text${0}" aria-hidden="true"${2}>${"t2"}</span></span>`,E=t.parseFragment`<label part="label" class="slds-form-element__label${0}"${"a0:for"}${2}>${"t1"}</label>`,D=t.parseFragment`<label part="label" class="slds-form-element__label${0}"${"a0:for"}${2}><abbr${"a1:title"}${3}>${"t2"}</abbr></label>`,T=t.parseFragment`<label part="label" class="slds-form-element__label${0}"${"a0:for"}${2}><abbr${"a1:title"}${3}>${"t2"}</abbr></label>`,q=t.parseFragment`<label part="label" class="slds-form-element__label${0}"${"a0:for"}${2}><abbr${"a1:title"}${3}>${"t2"}</abbr></label>`,G=t.parseFragment`<div class="slds-form-element__help${0}" aria-live="assertive"${2}>${"t1"}</div>`,V={classMap:{"slds-color-picker__custom":!0},attrs:{part:"color-picker-custom"},key:0},B={classMap:{"slds-color-picker__hue-and-preview":!0},key:5},U={"slds-color-picker__hue-slider":!0},z={classMap:{"slds-color-picker__custom-inputs":!0},key:11},j={classMap:{"slds-form-element":!0,"slds-color-picker__input-custom-hex":!0},attrs:{part:"input-text"},key:12},K={classMap:{"slds-form-element__control":!0},attrs:{part:"input-container"},key:15},H={"slds-input":!0},N={classMap:{"slds-form-element":!0},attrs:{part:"input-text"},key:17},W={classMap:{"slds-form-element__control":!0},attrs:{part:"input-container"},key:20},O={classMap:{"slds-form-element":!0},attrs:{part:"input-text"},key:22},X={classMap:{"slds-form-element__control":!0},attrs:{part:"input-container"},key:25},Y={classMap:{"slds-form-element":!0},attrs:{part:"input-text"},key:27},J={classMap:{"slds-form-element__control":!0},attrs:{part:"input-container"},key:30};function Q(e,t,s,r){const{gid:a,d:n,sp:i,st:o,b:l,h:c}=e,{_m0:u,_m1:h,_m2:d,_m3:p,_m4:g,_m5:m,_m6:b,_m7:_,_m8:v,_m9:f,_m10:y}=r;return[c("div",V,[o(L,2,[i(0,{attrs:{id:a("color-picker-instructions")}},null),i(1,null,n(t.i18n.colorPickerInstructions))]),o(R,4,[i(0,{on:{mousedown:h||(r._m1=l(t.handleMouseDown))},style:t.gradientStyle},null),i(1,{attrs:{width:t.canvasRect.x,height:t.canvasRect.y}},null),i(2,{on:{mousedrag:d||(r._m2=l(t.handlePreventDefault)),mousedown:p||(r._m3=l(t.handlePreventDefault)),keydown:g||(r._m4=l(t.handleKeydown))},attrs:{"aria-describedby":a("color-picker-instructions")}},null),i(4,null,n(t._hex))]),c("div",B,[o(I,7,[i(0,{attrs:{for:a("rainbow")}},null),i(1,null,n(t.i18n.hueInput))]),c("input",{classMap:U,attrs:{"data-id":"hue-slider",type:"range",min:"0",max:"360",id:a("rainbow")},props:{value:t._hueValue},key:8,on:{mousedown:m||(r._m5=l(t.handleDrag)),change:b||(r._m6=l(t.onChange))}}),o(S,10,[i(0,{style:t.thumbnailStyle},null),i(2,null,n(t._hex))])]),c("div",z,[c("div",j,[o(E,14,[i(0,{attrs:{for:a("input")}},null),i(1,null,n(t.i18n.hexLabel))]),c("div",K,[c("input",{classMap:H,attrs:{"data-primary-input":"",type:"text",id:a("input"),part:"input",minlength:"4",maxlength:"7",pattern:"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",placeholder:"#FFFFFF"},props:{value:t._hex},key:16,on:{change:_||(r._m7=l(t.handleHexChange))}})])]),c("div",N,[o(D,19,[i(0,{attrs:{for:a("red")}},null),i(1,{attrs:{title:t.i18n.redAbbr}},null),i(2,null,n(t.i18n.rInput))]),c("div",W,[c("input",{classMap:H,attrs:{type:"text",id:a("red"),"data-color-name":"red",part:"input",placeholder:"255"},props:{value:t._rgb.red},key:21,on:{change:v||(r._m8=l(t.handleRgbChange))}})])]),c("div",O,[o(T,24,[i(0,{attrs:{for:a("green")}},null),i(1,{attrs:{title:t.i18n.greenAbbr}},null),i(2,null,n(t.i18n.gInput))]),c("div",X,[c("input",{classMap:H,attrs:{type:"text",id:a("green"),"data-color-name":"green",part:"input",placeholder:"255"},props:{value:t._rgb.green},key:26,on:{change:f||(r._m9=l(t.handleRgbChange))}})])]),c("div",Y,[o(q,29,[i(0,{attrs:{for:a("blue")}},null),i(1,{attrs:{title:t.i18n.blueAbbr}},null),i(2,null,n(t.i18n.bInput))]),c("div",J,[c("input",{classMap:H,attrs:{type:"text",id:a("blue"),"data-color-name":"blue",part:"input",placeholder:"255"},props:{value:t._rgb.blue},key:31,on:{change:y||(r._m10=l(t.handleRgbChange))}})])])]),t._errorMessage?o(G,33,[i(1,null,n(t._errorMessage))]):null])]}var Z=t.registerTemplate(Q);function ee(e){Array.isArray(e)&&e.length>0&&(e=e[0]),e&&e.length<=6&&"#"!==e.charAt(0)&&(e="#"+e);return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e)||(e="#000000"),4===e.length&&(e="#"+e.charAt(1)+e.charAt(1)+e.charAt(2)+e.charAt(2)+e.charAt(3)+e.charAt(3)),e}function te(e){const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(ee(e));return t?{red:parseInt(t[1],16),green:parseInt(t[2],16),blue:parseInt(t[3],16)}:null}function se(e){const t=e.red,s=e.green,r=e.blue;return a=(t<<16|s<<8|r).toString(16).toUpperCase(),new Array(7-a.length).join("0")+a;var a}function re(e){const t=e.red/255,s=e.green/255,r=e.blue/255,a=Math.max(t,s,r),n=Math.min(t,s,r);let i=(a+n)/2,o=0,l=0;if(a!==n)if(o=i<.5?(a-n)/(a+n):(a-n)/(2-a-n),t===a){l=(s-r)/(a-n)}else if(s===a){l=2+(r-t)/(a-n)}else{l=4+(t-s)/(a-n)}i*=100,o*=100,l*=60,l<0&&(l+=360);return{hue:l,saturation:o,lightness:i}}function ae(e,t){const s=function(e){const t=e.red/255,s=e.green/255,r=e.blue/255,a=Math.max(t,s,r),n=Math.min(t,s,r),i=a-n,o=0===a?0:i/a,l=a;let c,u,h;if(a===n)c=0;else{switch(a){case t:u=s-r,h=u/i,c=h+(s<r?6:0);break;case s:u=r-t,h=u/i,c=h+2;break;case r:u=t-s,h=u/i,c=h+4}c/=6}return{hue:360*c,saturation:100*o,brightness:100*l}}(e),r=s.saturation/100,a=s.brightness/100;return{x:t.x*r,y:t.y*(1-a)}}Q.stylesheets=[],Q.stylesheetToken="lwc-5mnumbh5e5i",Q.legacyStylesheetToken="lightning-colorPickerCustom_colorPickerCustom",F&&Q.stylesheets.push.apply(Q.stylesheets,F),t.freezeTemplate(Q);const ne={bInput:_.default,blueAbbr:v.default,colorPickerInstructions:f.default,errorMessage:y.default,gInput:C.default,greenAbbr:x.default,hexLabel:w.default,hueInput:$.default,rInput:k.default,redAbbr:P.default},ie={x:198,y:80};class oe extends A.default{constructor(){super(),this._hueValue=null,this._rgb={red:"86",green:"121",blue:"192"},this._hex="#5679C0",this._errorMessage=null,this._currentColor=null,this._initialized=!1,this.uniqueId=m.generateUniqueId()}renderedCallback(){this._initialized||(requestAnimationFrame(()=>{"Large"!==M.default?requestAnimationFrame(()=>this.focus()):this.focus()}),this.gradient(),this.handleUpdateAnchor(),this._initialized=!0)}get currentColor(){return this._currentColor}set currentColor(e){const t=ee(e);if(this._currentColor=e,this._hex=t,this._rgb=te(t),this._canvas){const e=re(this._rgb).hue,t=this.rgbToPosition(this._rgb),s=`#${se(this._rgb)}`;this.updateRainbow(e),this.setCanvasColor(e),this.setCanvasCursor(t.x,t.y),this.updateSelectedColor(s)}}focus(){this.anchorElement.focus()}get i18n(){return ne}get thumbnailStyle(){return`background: ${this._hex||"hsl(220, 46%, 55%)"};`}get gradientStyle(){return"position: relative;"}get canvasRect(){return ie}get anchorElement(){return this.template.querySelector('*[data-id="color-anchor"]')}get thumbnailElement(){return this.template.querySelector('*[data-id="color-preview"]')}get gradientElement(){return this.template.querySelector('*[data-id="color-gradient"]')}handlePreventDefault(e){e.preventDefault()}selectColor(e){this.dispatchEvent(new CustomEvent("updatecolor",{bubbles:!0,composed:!0,cancelable:!0,detail:{color:e.target.innerText}}))}handleMouseDown(e){e.preventDefault(),this.onMouseDrag(e,!0)}handleDrag(e){this.onMouseDrag(e,!1)}onChange(){this.rainbowCursor()}parseAndLimit(e){let t=e;return!e||parseInt(e,10)<0||isNaN(e)?t=0:parseInt(e,10)>255&&(t=255),t}handleRgbChange(e){const t=e.currentTarget,s=this.parseAndLimit(t.value);t.value=s;const r=t.getAttribute("data-color-name");"red"===r?this._rgb.red=s:"green"===r?this._rgb.green=s:"blue"===r&&(this._rgb.blue=s);const a=this._rgb,n=re(a).hue,i=this.rgbToPosition(a),o=`#${se(a)}`;this.updateRainbow(n),this.setCanvasColor(n),this.setCanvasCursor(i.x,i.y),this.updateSelectedColor(o)}handleHexChange(e){if(e.srcElement.validity.valid){const t=ee(e.target.value);this.classList.remove("slds-has-error"),this._errorMessage=null;const s=te(t);this._rgb=s;const r=re(s).hue,a=this.rgbToPosition(s);this.updateRainbow(r),this.setCanvasColor(r),this.setCanvasCursor(a.x,a.y),this.updateSelectedColor(t)}else e.srcElement.classList.add("slds-has-error"),this._errorMessage=m.getErrorMessage(e.srcElement.validity,{patternMismatch:this.i18n.errorMessage})}updateSelectedColor(e){this.template.querySelector("[data-primary-input]").classList.remove("slds-has-error"),this._errorMessage=null,this._hex=e,this.dispatchEvent(new CustomEvent("updateselectedcolor",{bubbles:!0,composed:!0,cancelable:!0,detail:{color:e}}))}onMouseDrag(e,t){const s=this;let r=!1;t?this.getColorFromGradient(e):this.rainbowCursor(),this._mousedown&&this._mousemove&&this._mouseup||(s._mousedown=function(){r=!0,this._cursorActive=!0},s._mouseup=function(){r=!1,this._cursorActive=!1,window.removeEventListener("mousedown",s._mousedown),window.removeEventListener("mouseup",s._mouseup),window.removeEventListener("mousemove",s._mousemove),s._mousedown=null,s._mouseup=null,s._mousemove=null},s._mousemove=function(e){r&&t?s.getColorFromGradient(e):r&&s.rainbowCursor()},window.addEventListener("mousedown",s._mousedown),window.addEventListener("mouseup",s._mouseup),window.addEventListener("mousemove",s._mousemove))}gradient(){const e=re(this._rgb).hue;this.canvasContext(),this.setCanvasColor(e),this.updateRainbow(e)}getColorFromGradient(e){let t;if("keydown"===e.type&&"Tab"!==e.key)t=this.gradientCursorPositionFromKeydown(e);else{if("mousedown"!==e.type&&"mousemove"!==e.type)return;t=this.gradientCursorPosition(e)}const s=t.x,r=t.y;this.setCanvasColor(this._hueValue),this.setRGBValues(s,r)}rainbowCursor(){const e=this.template.querySelector('*[data-id="hue-slider"]'),t=this._cachePosition||this.rgbToPosition(this._rgb);this.setCanvasColor(e.value),this.setRGBValues(t.x,t.y),this.updateRainbow(e.value)}updateRainbow(e){this._hueValue=e}handleUpdateAnchor(){const e=this._cachePosition||this.rgbToPosition(this._rgb),t=this.anchorElement,s=t.offsetWidth/2,r=e.x-s+5,a=e.y-s-5,n=r/this._canvas.width*100,i=a/this._canvas.height*100;t.style.left=`${n}%`,t.style.top=`${i}%`}gradientCursorPosition(e){const t=this._canvas.getBoundingClientRect();let s=e.clientX-t.left,r=e.clientY-t.top;return s>t.width&&(s=t.width-1),s<0&&(s=0),r>t.height&&(r=t.height),r<0&&(r=0),this._cachePosition={x:s,y:r},{x:s,y:r}}gradientCursorPositionFromKeydown(e){e.preventDefault();const t=this._canvas.getBoundingClientRect(),s=e.keyCode;let r,a;this._cachePosition||(this._cachePosition=this.rgbToPosition(this._rgb));const n={};n[g.keyCodes.left]={x:-1,y:0},n[g.keyCodes.up]={x:0,y:-1},n[g.keyCodes.right]={x:1,y:0},n[g.keyCodes.down]={x:0,y:1};const i=n[s]?n[s]:{x:0,y:0};return r=this._cachePosition.x+i.x,a=this._cachePosition.y+i.y,r>t.width&&(r=t.width-1),r<0&&(r=0),a>t.height&&(a=t.height),a<0&&(a=0),this._cachePosition={x:r,y:a},{x:r,y:a}}setRGBValues(e,t){const s=this._canvasCtx.getImageData(e,t,1,1).data,r={red:s[0],green:s[1],blue:s[2]},a=`#${se(r)}`;this._rgb=r,this.updateSelectedColor(a),this.handleUpdateAnchor()}setCanvasColor(e){const t=this._canvasCtx,s=t.createLinearGradient(1,0,this.canvasRect.x-1,0);s.addColorStop(0,"rgb(255,255,255)"),s.addColorStop(1,"hsl("+e+", 100%, 50%)"),t.fillStyle=s,t.fillRect(0,0,this.canvasRect.x,this.canvasRect.y);const r=t.createLinearGradient(0,1,0,this.canvasRect.y);r.addColorStop(0,"rgba(0,0,0,0)"),r.addColorStop(1,"rgb(0,0,0)"),t.fillStyle=r,t.fillRect(0,0,this.canvasRect.x,this.canvasRect.y)}setCanvasCursor(e,t){const s=e,r=t,a=this.anchorElement,n=a.offsetWidth/2;t=r-n-5;const i=(e=s-n+5)/this._canvas.width*100,o=t/this._canvas.height*100;a.style.left=`${i}%`,a.style.top=`${o}%`}canvasContext(){this._canvas=this.template.querySelector("canvas"),this._canvasCtx=this._canvas.getContext("2d"),this._cursorActive=!1}handleKeydown(e){this.getColorFromGradient(e)}rgbToPosition(e){return ae(e,this.canvasRect)}}t.registerDecorators(oe,{publicProps:{currentColor:{config:3}},publicMethods:["focus"],track:{_hueValue:1,_rgb:1,_hex:1,_errorMessage:1,_currentColor:1},fields:["_initialized"]});const le=t.registerComponent(oe,{tmpl:Z,sel:"lightning-color-picker-custom",apiVersion:62});e.default=le,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/colorPickerPanel",["exports","lwc","lightning/colorPickerCustom","lightning/button","@salesforce/label/LightningColorPicker.cancelButton","@salesforce/label/LightningColorPickerPanel.customTab","@salesforce/label/LightningColorPickerPanel.defaultTab","@salesforce/label/LightningColorPicker.doneButton","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate"],function(e,t,o,l,s,r,n,a,i,c,d){function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=u(o),p=u(l),C=u(s),g=u(r),f=u(n),b=u(a),m=u(i);var _=[[function(e,t,o){var l=e?"["+e+"]":"";return(t?":host:not([data-render-mode]) .fix-slds-color-picker__selector-footer":(e?"["+e+"-host]":"")+":not([data-render-mode]) .fix-slds-color-picker__selector-footer")+l+" > lightning-button"+l+" {flex: 1;}"}],function(){return""}];const k={"slds-popover":!0,"slds-color-picker__selector":!0,"slds-show":!0,"slds-is-absolute":!0},v={"slds-popover__body":!0},y={classMap:{"slds-popover__footer":!0},key:3},T={classMap:{"slds-color-picker__selector-footer":!0,"fix-slds-color-picker__selector-footer":!0},key:4},P={"slds-m-left_x-small":!0};function S(e,t,o,l){const{gid:s,b:r,c:n,h:a}=e,{_m0:i,_m1:c,_m2:d,_m3:u}=l;return[a("section",{classMap:k,attrs:{role:"dialog","aria-label":"Choose a color","aria-describedby":s("dialog-body-id")},key:0,on:{updateselectedcolor:i||(l._m0=r(t.handleUpdateSelectedColor)),keydown:c||(l._m1=r(t.handleKeydown))}},[a("div",{classMap:v,attrs:{tabindex:"0",id:s("dialog-body-id")},key:1},[n("lightning-color-picker-custom",h.default,{props:{currentColor:t.currentColor},key:2})]),a("footer",y,[a("div",T,[n("lightning-button",p.default,{props:{label:t.i18n.cancelButton,name:"cancel",stretch:!0},key:5,on:{click:d||(l._m2=r(t.handleCancelClick))}}),n("lightning-button",p.default,{classMap:P,props:{variant:"brand",label:t.i18n.doneButton,name:"done",stretch:!0},key:6,on:{click:u||(l._m3=r(t.handleDoneClick))}})])])])]}var D=t.registerTemplate(S);S.stylesheets=[],S.stylesheetToken="lwc-40plt1npuv1",S.legacyStylesheetToken="lightning-colorPickerPanel_colorPickerPanel",_&&S.stylesheets.push.apply(S.stylesheets,_),t.freezeTemplate(S);const w={cancelButton:C.default,customTab:g.default,defaultTab:f.default,doneButton:b.default};class x extends m.default{constructor(...e){super(...e),this.currentColor=void 0,this._isCustomTabActive=!1,this._selectedColor=null}connectedCallback(){super.connectedCallback(),this._selectedColor=this.currentColor||"#000000"}get i18n(){return w}get computedClassDefault(){return c.classSet({"slds-tabs_default__item":!0,"slds-is-active":!this._isCustomTabActive}).toString()}get computedClassCustom(){return c.classSet({"slds-tabs_default__item":!0,"slds-is-active":this._isCustomTabActive}).toString()}get ariaSelectedDefault(){return!this._isCustomTabActive.toString()}get ariaSelectedCustom(){return this._isCustomTabActive.toString()}handleTabChange(e){e.preventDefault();const t=e.currentTarget;t.classList.contains("slds-is-active")||(this._isCustomTabActive=t.title!==w.defaultTab)}handleUpdateSelectedColor(e){this._selectedColor=e.detail.color}dispatchUpdateColorEventWithColor(e){this.dispatchEvent(new CustomEvent("updatecolor",{composed:!0,bubbles:!0,detail:{color:e}}))}handleDoneClick(){this.dispatchUpdateColorEventWithColor(this._selectedColor)}handleCancelClick(){this.dispatchUpdateColorEventWithColor(this.currentColor)}handleKeydown(e){e.keyCode===d.keyCodes.escape?(e.preventDefault(),this.dispatchUpdateColorEventWithColor(this.currentColor)):e.shiftKey&&e.keyCode===d.keyCodes.tab&&"color-anchor"===e.srcElement.dataset.id?(e.preventDefault(),this.template.querySelector('button[name="done"]').focus()):e.shiftKey||e.keyCode!==d.keyCodes.tab||"done"!==e.srcElement.name||(e.preventDefault(),this.template.querySelector("lightning-color-picker-custom").focus())}}t.registerDecorators(x,{publicProps:{currentColor:{config:0}},track:{_isCustomTabActive:1,_selectedColor:1}});const E=t.registerComponent(x,{tmpl:D,sel:"lightning-color-picker-panel",apiVersion:62});e.default=E,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveColorpickerButton",["exports","lwc","lightning/primitiveIcon","lightning/colorPickerPanel","@salesforce/label/LightningColorPicker.a11yTriggerText","@salesforce/label/LightningColorPicker.a11yDefaultText","lightning/shadowBaseClassPrivate","lightning/positionLibrary","lightning/utilsPrivate"],function(t,e,i,o,s,l,n,r,a){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=c(i),p=c(o),d=c(s),g=c(l),h=c(n);var b=[function(){return""}];const P=e.parseFragment`<span class="slds-swatch${0}" data-id="thumbnail"${"s0"}${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span></span>`,v=e.parseFragment`<span class="slds-assistive-text a11y-color-value${0}"${2}>${"t1"}</span>`,k={"slds-button":!0,"slds-color-picker__summary-button":!0,"slds-button_icon":!0,"slds-button_icon-more":!0},_={props:{iconName:"utility:down",svgClass:"slds-button__icon slds-button__icon_small",variant:"bare"},key:3},f={"color-picker-panel":!0};function m(t,e,i,o){const{b:s,d:l,sp:n,st:r,c:a,h:c}=t,{_m0:d,_m1:g}=o;return[c("button",{classMap:k,attrs:{type:"button",part:"color-picker-button",disabled:e.disabled?"":null,"aria-disabled":e.ariaDisabled},key:0,on:{click:d||(o._m0=s(e.handleColorPickerToggleClick))}},[r(P,2,[n(0,{style:e.colorInputStyle},null),n(2,null,l(e.i18n.a11yTriggerText))]),a("lightning-primitive-icon",u.default,_),r(v,5,[n(1,null,l(e.assistiveValue))])]),e._isColorPickerPanelOpen?a("lightning-color-picker-panel",p.default,{classMap:f,props:{currentColor:e.value},key:6,on:{updatecolor:g||(o._m1=s(e.handleUpdateColorEvent))}}):null]}var y=e.registerTemplate(m);m.stylesheets=[],m.stylesheetToken="lwc-1ob50kcdi1r",m.legacyStylesheetToken="lightning-primitiveColorpickerButton_primitiveColorpickerButton",b&&m.stylesheets.push.apply(m.stylesheets,b),e.freezeTemplate(m);const C={a11yTriggerText:d.default,a11yDefaultText:g.default};class T extends h.default{constructor(...t){super(...t),this._isColorPickerPanelOpen=!1,this._value="",this._disabled=!1,this.ariaDisabled=void 0}get value(){return this._value}set value(t){this._value=t}get assistiveValue(){return this.value?this.value:this.i18n.a11yDefaultText}get disabled(){return this._disabled}set disabled(t){this._disabled=a.normalizeBoolean(t),a.reflectAttribute(this,"disabled",this.disabled)}focus(){const t=this.template.querySelector("button");return t&&t.focus()}blur(){const t=this.template.querySelector("button");return t&&t.blur()}get colorInputStyle(){return`background: ${this.value||"#5679C0"};`}handleColorPickerToggleClick(t){t.preventDefault(),this._isColorPickerPanelOpen=!this._isColorPickerPanelOpen,this._isColorPickerPanelOpen?this.startColorPickerPositioning():this.stopColorPickerPositioning()}startColorPickerPositioning(){this._autoPosition||(this._autoPosition=new r.AutoPosition(this)),this._autoPosition.start({target:()=>this.template.querySelector("button.slds-color-picker__summary-button"),element:()=>this.template.querySelector("lightning-color-picker-panel").shadowRoot.querySelector("section"),align:{horizontal:r.Direction.Left,vertical:r.Direction.Top},targetAlign:{horizontal:r.Direction.Left,vertical:r.Direction.Bottom},autoFlip:!0})}stopColorPickerPositioning(){this._autoPosition&&this._autoPosition.stop()}handleUpdateColorEvent(t){t.stopPropagation();const e=t.detail;this._isColorPickerPanelOpen=!1,this.stopColorPickerPositioning(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}get i18n(){return C}}T.delegatesFocus=!0,e.registerDecorators(T,{publicProps:{ariaDisabled:{config:0},value:{config:3},assistiveValue:{config:1},disabled:{config:3}},publicMethods:["focus","blur"],track:{_isColorPickerPanelOpen:1,_value:1,_disabled:1}});const D=e.registerComponent(T,{tmpl:y,sel:"lightning-primitive-colorpicker-button",apiVersion:62});t.default=D,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveInputColor",["exports","lwc","lightning/helptext","lightning/primitiveColorpickerButton","lightning/shadowBaseClassPrivate","lightning/utils","lightning/inputUtils","lightning/utilsPrivate"],function(e,t,i,a,l,s,n,r){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=o(i),d=o(a),c=o(l);var u=[function(){return""}];const p=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,v=t.parseFragment`<div class="slds-color-picker__summary-input${0}" part="input-container"${2}><input type="text"${"a1:id"} class="slds-input${0}" part="input"${"a1:name"}${"a1:autocomplete"}${"a1:accesskey"}${"a1:aria-label"}${"a1:aria-invalid"}${"a1:aria-keyshortcuts"}${"a1:aria-disabled"}${"a1:disabled"} minlength="4" maxlength="7"${"a1:placeholder"}${"a1:pattern"}${2}></div>`,m=t.parseFragment`<div${"a0:id"} class="slds-form-element__help${0}" data-help-message part="help-text" role="status"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`,g={classMap:{"slds-color-picker":!0},attrs:{part:"color-picker"},key:0},b={classMap:{"slds-form-element":!0,"slds-color-picker__summary":!0},key:1},f={classMap:{"slds-form-element__control":!0},attrs:{part:"input-text"},key:6};function _(e,t,i,a){const{ncls:l,gid:s,sp:n,st:r,d:o,t:c,h:u,c:_,b:E}=e,{_m0:y,_m1:C,_m2:k,_m3:$,_m4:x,_m5:I,_m6:S}=a;return[u("div",g,[u("div",b,[t.hasExternalLabel?null:u("label",{className:l(t.computedColorLabelClass),attrs:{for:s("color")},key:2},[t.required?r(p,4,[n(0,{attrs:{title:t.required}},null)]):null,c(o(t.label))]),t.hasExternalLabel?null:t.fieldLevelHelp?_("lightning-helptext",h.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:5}):null,u("div",f,[_("lightning-primitive-colorpicker-button",d.default,{props:{value:t.value,disabled:t.disabled,ariaDisabled:t.ariaDisabled},key:7,on:{blur:y||(a._m0=E(t.handleBlur)),focus:C||(a._m1=E(t.handleFocus)),change:k||(a._m2=E(t.handleColorChange))}}),r(v,9,[n(1,{on:{blur:$||(a._m3=E(t.handleBlur)),focus:x||(a._m4=E(t.handleFocus)),change:I||(a._m5=E(t.handleChange)),input:S||(a._m6=E(t.handleInput))},attrs:{id:s("color"),name:t.name,autocomplete:t.autocomplete,accesskey:t.accessKey,"aria-label":t.ariaLabel,"aria-invalid":t.ariaInvalid,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,disabled:t.disabled?"":null,placeholder:t.placeholder,pattern:t.pattern}},null)])])])]),t.helpMessage?r(m,11,[n(0,{attrs:{id:s("help-message")}},null),n(2,null,o(t.label)),n(3,null,o(t.helpMessage))]):null]}var E=t.registerTemplate(_);_.stylesheets=[],_.stylesheetToken="lwc-3oouck6ago4",_.legacyStylesheetToken="lightning-primitiveInputColor_primitiveInputColor",u&&_.stylesheets.push.apply(_.stylesheets,u),t.freezeTemplate(_);class y extends c.default{constructor(...e){super(...e),this.hasExternalLabel=void 0,this.required=void 0,this.accessKey=void 0,this.label=void 0,this.fieldLevelHelp=void 0,this.helptextAlternativeText=void 0,this.helpMessage=void 0,this.disabled=void 0,this.name=void 0,this.autocomplete=void 0,this.ariaLabel=void 0,this.ariaInvalid=void 0,this.ariaDisabled=void 0,this.ariaKeyShortcuts=void 0,this.placeholder=void 0,this.pattern=void 0,this.variant=void 0,this._value="",this.rendered=!1,this.initialValueSet=!1}focus(){this.rendered&&this.inputElement.focus()}get value(){return this._value}set value(e){this._value=this.normalizeInput(e),this.rendered&&this.inputElement.value!==this._value&&this.setInputValue(this._value)}get inputElement(){if(!this.cachedInputElement){let e=this.template.querySelector("input");this.cachedInputElement=e}return this.cachedInputElement}get describedByElements(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}connectedCallback(){super.connectedCallback(),this._isNativeShadow=r.isNativeComponent(this)}disconnectedCallback(){this.rendered=!1,this.initialValueSet=!1,this.cachedInputElement=void 0}renderedCallback(){this.rendered=!0,this.initialValueSet||(this.inputElement.value=this._value,this.initialValueSet=!0),r.reflectAttribute(this,"disabled",this.disabled),r.reflectAttribute(this,"invalid",!!this.helpMessage),r.reflectAttribute(this,"variant",this.variant)}get computedColorLabelClass(){return s.classSet("slds-form-element__label slds-color-picker__summary-label").add({"slds-assistive-text":this.isLabelHidden})}get isLabelHidden(){return this.variant===n.VARIANT.LABEL_HIDDEN}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleChange(e){e.stopPropagation(),this.dispatchCommitEvent(),this.dispatchChangeEvent()}handleColorChange(e){const t=e.detail.color;t!==this.inputElement.value&&(this.setInputValue(t),this._value=t,this.focus(),this.dispatchChangeEventWithDetail({value:t}),this.dispatchCommitEvent()),this.template.querySelector("lightning-primitive-colorpicker-button").focus()}handleInput(e){e.stopPropagation(),this.dispatchChangeEvent()}dispatchChangeEventWithDetail(e){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:e}))}dispatchChangeEvent(){const e={value:this.inputElement.value};this._value=e.value,this.dispatchChangeEventWithDetail(e)}dispatchCommitEvent(){this.dispatchEvent(new CustomEvent("commit"))}setInputValue(e){this.inputElement.value=e}normalizeInput(e){return"number"==typeof e||"string"==typeof e?String(e):""}}t.registerDecorators(y,{publicProps:{hasExternalLabel:{config:0},required:{config:0},accessKey:{config:0},label:{config:0},fieldLevelHelp:{config:0},helptextAlternativeText:{config:0},helpMessage:{config:0},disabled:{config:0},name:{config:0},autocomplete:{config:0},ariaLabel:{config:0},ariaInvalid:{config:0},ariaDisabled:{config:0},ariaKeyShortcuts:{config:0},placeholder:{config:0},pattern:{config:0},variant:{config:0},value:{config:3},inputElement:{config:1},describedByElements:{config:1},isNativeShadow:{config:1}},publicMethods:["focus"],fields:["_value","rendered","initialValueSet"]});const C=t.registerComponent(y,{tmpl:E,sel:"lightning-primitive-input-color",apiVersion:62});e.default=C,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveInputCheckboxButton",["exports","lwc","lightning/sldsCommon","lightning/utilsPrivate","lightning/shadowBaseClassPrivate"],function(e,t,a,s,o){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(a),d=r(o);var n=[function(e,t,a){var s=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?':host([data-render-mode="shadow"]) [part="faux-button"]':o+'[data-render-mode="shadow"] [part="faux-button"]')+s+" {width: var(--slds-g-sizing-9);height: var(--slds-g-sizing-9);display: inline-flex;align-items: center;justify-content: center;border-radius: var(--slds-g-radius-border-2);border: var(--slds-g-sizing-border-1) solid var(--slds-c-inputcheckboxbutton-color-border, var(--slds-g-color-border-2));background-color: var(--slds-c-inputcheckboxbutton-color-background, var(--slds-g-color-surface-container-1));cursor: pointer;position: relative;}"+(t?':host([data-render-mode="shadow"]) [part="faux-button"]'+s+'::before,:host([data-render-mode="shadow"]) [part="faux-button"]':o+'[data-render-mode="shadow"] [part="faux-button"]'+s+"::before,"+o+'[data-render-mode="shadow"] [part="faux-button"]')+s+'::after {content: "";position: absolute;inset: 0;height: calc(var(--slds-g-sizing-9) * 0.875 / 2);width: calc(var(--slds-g-sizing-9) * 0.125 / 2);margin: auto;background-color: var(--slds-c-inputcheckboxbutton-mark-color-foreground, var(--slds-g-color-accent-2));}'+(t?':host([data-render-mode="shadow"]) [part="faux-button"]':o+'[data-render-mode="shadow"] [part="faux-button"]')+s+"::after {height: calc(var(--slds-g-sizing-9) * 0.125 / 2);width: calc(var(--slds-g-sizing-9) * 0.875 / 2);}"+(t?':host([data-render-mode="shadow"]:focus-within) [part="faux-button"]':o+':focus-within[data-render-mode="shadow"] [part="faux-button"]')+s+" {box-shadow: 0 0 var(--slds-g-sizing-border-3) var(--slds-g-color-accent-2);--slds-c-inputcheckboxbutton-color-border: var(--slds-g-color-border-accent-1);--slds-c-inputcheckboxbutton-color-border-checked: var(--slds-g-color-border-accent-1);}"+(t?':host([data-render-mode="shadow"]) [part="faux-button"]:hover':o+'[data-render-mode="shadow"] [part="faux-button"]:hover')+s+" {--slds-c-inputcheckboxbutton-color-background: var(--slds-g-color-surface-container-2);--slds-c-inputcheckboxbutton-color-background-checked: var(--slds-g-color-accent-container-2);}"+(t?':host([data-render-mode="shadow"][disabled]) [part="faux-button"]':o+'[disabled][data-render-mode="shadow"] [part="faux-button"]')+s+" {cursor: default;--slds-c-inputcheckboxbutton-color-border: var(--slds-g-color-border-disabled-1);--slds-c-inputcheckboxbutton-color-background: var(--slds-g-color-disabled-container-1);--slds-c-inputcheckboxbutton-mark-color-foreground: var(--slds-g-color-on-disabled-1);--slds-c-inputcheckboxbutton-color-border-checked: var(--slds-g-color-border-disabled-1);--slds-c-inputcheckboxbutton-color-background-checked: var(--slds-g-color-disabled-container-2);--slds-c-inputcheckboxbutton-mark-color-foreground-checked: var(--slds-g-color-on-disabled-2);}"+(t?':host([data-render-mode="shadow"][checked]) [part="faux-button"]':o+'[checked][data-render-mode="shadow"] [part="faux-button"]')+s+" {--slds-c-inputcheckboxbutton-color-border: var(--slds-c-inputcheckboxbutton-color-border-checked, transparent);--slds-c-inputcheckboxbutton-color-background: var(--slds-c-inputcheckboxbutton-color-background-checked, var(--slds-g-color-accent-container-2));--slds-c-inputcheckboxbutton-mark-color-foreground: var(--slds-c-inputcheckboxbutton-mark-color-foreground-checked, var(--slds-g-color-on-accent-1));}"+(t?':host([data-render-mode="shadow"][checked]) [part="faux-button"]':o+'[checked][data-render-mode="shadow"] [part="faux-button"]')+s+"::before {left: calc(var(--slds-g-sizing-9) * 0.3125 / 2);width: calc(var(--slds-g-sizing-9) * 0.125 / 2);height: calc(var(--slds-g-sizing-9) / 2);transform: rotate(40deg);}"+(t?':host([data-render-mode="shadow"][checked]) [part="faux-button"]':o+'[checked][data-render-mode="shadow"] [part="faux-button"]')+s+"::after {top: calc(var(--slds-g-sizing-9) * 0.3125 / 2);left: calc(var(--slds-g-sizing-9) * -0.625 / 2);width: calc(var(--slds-g-sizing-9) * 0.5625 / 2);height: calc(var(--slds-g-sizing-9) * 0.125 / 2);transform: rotate(40deg);}"+(t?":host([data-render-mode=\"shadow\"]) [part='help-text']":o+"[data-render-mode=\"shadow\"] [part='help-text']")+s+" {font-size: var(--slds-g-font-scale-neg-3);padding-block-start: 0.125rem;}"+(t?":host([data-render-mode=\"shadow\"][invalid]) [part='help-text']":o+"[invalid][data-render-mode=\"shadow\"] [part='help-text']")+s+" {color: var(--slds-g-color-error-base-50);}"+(t?':host([data-render-mode="shadow"]) .slds-assistive-text':o+'[data-render-mode="shadow"] .slds-assistive-text')+s+" {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}"}];var c=[[i.default,n],function(){return""}];const l=t.parseFragment`<div class="slds-checkbox_add-button${0}" part="input-checkbox-button"${2}><input type="checkbox"${"a1:id"}${"a1:aria-label"}${"a1:aria-keyshortcuts"}${"a1:aria-disabled"}${"a1:aria-roledescription"}${"a1:aria-invalid"}${"a1:accesskey"} class="slds-assistive-text${0}"${"a1:name"}${"a1:required"}${"a1:readonly"}${"a1:disabled"} part="checkbox"${2}><label${"a2:for"} class="slds-checkbox_faux${0}" part="faux-button"${2}><span class="slds-assistive-text${0}" part="label"${2}>${"t4"}</span></label></div>`,h=t.parseFragment`<div${"a0:id"} class="slds-form-element__help${0}" data-help-message part="help-text" role="status"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`;function u(e,t,a,s){const{b:o,gid:r,d:i,sp:d,st:n}=e,{_m0:c,_m1:u,_m2:b,_m3:p}=s;return[n(l,1,[d(1,{on:{blur:c||(s._m0=o(t.handleBlur)),focus:u||(s._m1=o(t.handleFocus)),change:b||(s._m2=o(t.handleChange)),click:p||(s._m3=o(t.handleClick))},attrs:{id:r("checkbox-button"),"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-invalid":t.ariaInvalid,accesskey:t.accessKey,name:t.name,required:t.required?"":null,readonly:t.readOnly?"":null,disabled:t.disabled?"":null}},null),d(2,{attrs:{for:r("checkbox-button")}},null),d(4,null,i(t.label))]),t._helpMessage?n(h,3,[d(0,{attrs:{id:r("help-message")}},null),d(2,null,i(t.label)),d(3,null,i(t._helpMessage))]):null]}var b=t.registerTemplate(u);u.stylesheets=[],u.stylesheetToken="lwc-49ug9a33g5f",u.legacyStylesheetToken="lightning-primitiveInputCheckboxButton_primitiveInputCheckboxButton",c&&u.stylesheets.push.apply(u.stylesheets,c),t.freezeTemplate(u);class p extends d.default{constructor(...e){super(...e),this.ariaLabel=void 0,this.ariaInvalid=void 0,this.accessKey=void 0,this.name=void 0,this.required=void 0,this.readOnly=void 0,this.label=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this._checked=!1,this._disabled=!1,this._helpMessage="",this.rendered=!1,this.initialValueSet=!1}get checked(){return this.initialValueSet?this.inputElement.checked:this._checked}set checked(e){this._checked=s.normalizeBoolean(e),this.rendered&&(this.inputElement.checked=this._checked),s.reflectAttribute(this,"checked",this.checked)}get disabled(){return this._disabled}set disabled(e){this._disabled=s.normalizeBoolean(e),s.reflectAttribute(this,"disabled",this.disabled)}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,s.reflectAttribute(this,"invalid",!!e)}get inputElement(){if(!this.cachedInputElement){let e=this.template.querySelector("input");this.cachedInputElement=e}return this.cachedInputElement}get ariaDescribedByElements(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}connectedCallback(){super.connectedCallback(),this._isNativeShadow=s.isNativeComponent(this)}disconnectedCallback(){this.cachedInputElement=void 0,this.initialValueSet=!1,this.rendered=!1}renderedCallback(){this.rendered=!0,this.initialValueSet||(this.inputElement.checked=this._checked,this.initialValueSet=!0)}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleChange(e){e.stopPropagation(),this.dispatchCommitEvent(),this.dispatchChangeEvent()}handleClick(){null===this.template.activeElement&&this.template.querySelector("[type='checkbox']").focus()}dispatchChangeEventWithDetail(e){this.dispatchEvent(new CustomEvent("change",{composed:!0,detail:e}))}dispatchChangeEvent(){const e={};this._checked=this.inputElement.checked,s.reflectAttribute(this,"checked",this._checked),e.checked=this._checked,this.dispatchChangeEventWithDetail(e)}dispatchCommitEvent(){this.dispatchEvent(new CustomEvent("commit"))}setInputValue(e){this.inputElement.value=e}normalizeInput(e){return"number"==typeof e||"string"==typeof e?String(e):""}}t.registerDecorators(p,{publicProps:{ariaLabel:{config:0},ariaInvalid:{config:0},accessKey:{config:0},name:{config:0},required:{config:0},readOnly:{config:0},label:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},checked:{config:3},disabled:{config:3},helpMessage:{config:3},inputElement:{config:1},ariaDescribedByElements:{config:1},isNativeShadow:{config:1}},fields:["_checked","_disabled","_helpMessage","rendered","initialValueSet"]});const g=t.registerComponent(p,{tmpl:b,sel:"lightning-primitive-input-checkbox-button",apiVersion:62});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('@salesforce/label/LightningInputFile.bodyText', ['@view/home/labels'], m => m[189]);LWR.define('@salesforce/label/LightningInputFile.buttonLabel', ['@view/home/labels'], m => m[190]);(function() { LWR.define("interop/primitiveFileDroppableZone",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utilsPrivate"],function(e,t,i,s){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=l(i);var r=[function(e,t,i){return"slot"+(e?"["+e+"]":"")+" {display: inline-block;}"}];const n={key:0},o=[];function d(e,t,i,s){const{s:l}=e;return[l("",n,o,i)]}var p=t.registerTemplate(d);d.slots=[""],d.stylesheets=[],d.stylesheetToken="lwc-7gt6355bheb",d.legacyStylesheetToken="interop-primitiveFileDroppableZone_primitiveFileDroppableZone",r&&d.stylesheets.push.apply(d.stylesheets,r),t.freezeTemplate(d);class h extends a.default{get disabled(){return this._disabled||!1}set disabled(e){this._disabled=s.normalizeBoolean(e)}get multiple(){return this._multiple||!1}set multiple(e){this._multiple=s.normalizeBoolean(e)}constructor(){super(),this._disabled=void 0,this._multiple=void 0,s.isCSR&&(this.template.addEventListener("dragover",this.allowDrop.bind(this)),this.template.addEventListener("dragleave",this.handleDragLeave.bind(this)),this.template.addEventListener("drop",this.handleOnDrop.bind(this)))}connectedCallback(){this.classList.add("slds-file-selector__dropzone")}setDragOver(e){this.classList.toggle("slds-has-drag-over",e)}handleDragLeave(){this.setDragOver(!1)}handleOnDrop(e){e.preventDefault(),this.setDragOver(!1),this.disabled?e.stopPropagation():this.meetsMultipleCriteria(e)||e.stopPropagation()}allowDrop(e){e.preventDefault(),this.disabled||this.setDragOver(!0)}meetsMultipleCriteria(e){return!(e.dataTransfer.files.length>1&&!this.multiple)}}h.validationOptOut=["class"],t.registerDecorators(h,{publicProps:{disabled:{config:3},multiple:{config:3}},track:{_disabled:1,_multiple:1}});const u=t.registerComponent(h,{tmpl:p,sel:"interop-primitive-file-droppable-zone",apiVersion:62});e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('lightning/primitiveFileDroppableZone', ['interop/primitiveFileDroppableZone'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/primitiveInputFile",["exports","lwc","lightning/primitiveIcon","lightning/primitiveFileDroppableZone","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","@salesforce/label/LightningControl.required","@salesforce/label/LightningInputFile.bodyText","@salesforce/label/LightningInputFile.buttonLabel"],function(e,i,t,l,a,s,n,r,o){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=d(t),u=d(l),p=d(a),h=d(n),f=d(r),g=d(o);var m=[function(){return""}];const b=i.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,v=i.parseFragment`<input type="file"${"a0:id"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-invalid"}${"a0:accesskey"} class="slds-file-selector__input slds-assistive-text${0}"${"a0:accept"}${"a0:multiple"}${"a0:name"}${"a0:required"}${"a0:readonly"}${"a0:disabled"} part="input"${2}>`,_=i.parseFragment`<span class="slds-file-selector__text slds-medium-show${0}"${2}>${"t1"}</span>`,y=i.parseFragment`<div${"a0:id"} class="slds-form-element__help${0}" data-help-message part="help-text" role="status"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`,$={classMap:{"slds-form-element__control":!0},key:3},F={"slds-file-selector":!0,"slds-file-selector_files":!0},C={part:"file-selector"},k={"slds-file-selector__body":!0},E={classMap:{"slds-file-selector__button":!0,"slds-button":!0,"slds-button_neutral":!0},attrs:{part:"button"},key:9},q={props:{iconName:"utility:upload",variant:"bare",svgClass:"slds-button__icon slds-button__icon_left"},key:10};function M(e,i,t,l){const{gid:a,ncls:s,sp:n,st:r,d:o,t:d,h:p,b:h,c:f}=e,{_m0:g,_m1:m,_m2:M,_m3:w,_m4:D,_m5:S,_m6:B,_m7:L,_m8:x}=l;return[p("span",{className:s(i.labelClass),attrs:{id:a("form-label"),"data-form-label":""},key:0},[i.required?r(b,2,[n(0,{attrs:{title:i.i18n.required}},null)]):null,d(o(i.label))]),p("div",$,[p("div",{classMap:F,attrs:C,key:4,on:{drop:g||(l._m0=h(i.handleDropFiles))}},[f("lightning-primitive-file-droppable-zone",u.default,{props:{multiple:i.multiple,disabled:i.disabled},key:5},[r(v,7,[n(0,{on:{blur:S||(l._m5=h(i.handleBlur)),focus:B||(l._m6=h(i.handleFocus)),click:L||(l._m7=h(i.handleFileClick)),change:x||(l._m8=h(i.handleChange))},attrs:{id:a("input-file"),"aria-label":i.ariaLabel,"aria-keyshortcuts":i.ariaKeyShortcuts,"aria-disabled":i.ariaDisabled,"aria-roledescription":i.ariaRoleDescription,"aria-invalid":i.ariaInvalid,accesskey:i.accessKey,accept:i.accept,multiple:i.multiple?"":null,name:i.name,required:i.required?"":null,readonly:i.readOnly?"":null,disabled:i.disabled?"":null}},null)]),p("label",{classMap:k,attrs:{id:a("file-selector-label"),"data-file-selector-label":"",for:a("input-file"),"aria-hidden":"true"},key:8},[p("span",E,[f("lightning-primitive-icon",c.default,q),d(o(i.i18n.inputFileButtonLabel))]),r(_,12,[n(1,null,o(i.i18n.inputFileBodyText))])])])])]),i._helpMessage?r(y,14,[n(0,{attrs:{id:a("help-message")}},null),n(2,null,o(i.label)),n(3,null,o(i._helpMessage))]):null]}var w=i.registerTemplate(M);M.stylesheets=[],M.stylesheetToken="lwc-24ep20h9ret",M.legacyStylesheetToken="lightning-primitiveInputFile_primitiveInputFile",m&&M.stylesheets.push.apply(M.stylesheets,m),i.freezeTemplate(M);const D={required:h.default,inputFileBodyText:f.default,inputFileButtonLabel:g.default};class S extends p.default{constructor(...e){super(...e),this._files=null,this._helpMessage="",this.accept=void 0,this.accessKey=void 0,this.ariaInvalid=void 0,this.disabled=void 0,this.label=void 0,this.labelClass=void 0,this.multiple=void 0,this.name=void 0,this.readOnly=void 0,this.required=void 0,this.ariaLabel=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0}get files(){return this._files}get inputElement(){return this.template.querySelector("input")}get ariaDescribedByElements(){return this.template.querySelector("[data-help-message]")}get ariaLabelledByElements(){return[this.template.querySelector("[data-form-label]"),this.template.querySelector("[data-file-selector-label]")]}get isNativeShadow(){return this._isNativeShadow}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,s.reflectAttribute(this,"invalid",!!e)}get variant(){return this._variant}set variant(e){this._variant=e,s.reflectAttribute(this,"variant",e)}get i18n(){return D}handleDropFiles(e){this._files=e.dataTransfer&&e.dataTransfer.files,this.dispatchEvent(new CustomEvent("change")),this.dispatchEvent(new CustomEvent("reportvalidity"))}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleFileClick(){this.inputElement.value=null}handleChange(){this._files=this.inputElement.files,this.dispatchEvent(new CustomEvent("change"))}connectedCallback(){super.connectedCallback(),this._isNativeShadow=s.isNativeComponent(this)}}i.registerDecorators(S,{publicProps:{accept:{config:0},accessKey:{config:0},ariaInvalid:{config:0},disabled:{config:0},label:{config:0},labelClass:{config:0},multiple:{config:0},name:{config:0},readOnly:{config:0},required:{config:0},ariaLabel:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},files:{config:1},inputElement:{config:1},ariaDescribedByElements:{config:1},ariaLabelledByElements:{config:1},isNativeShadow:{config:1},helpMessage:{config:3},variant:{config:3}},fields:["_files","_helpMessage"]});const B=i.registerComponent(S,{tmpl:w,sel:"lightning-primitive-input-file",apiVersion:62});e.default=B,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveInputSimple",["exports","lwc","lightning/helptext","lightning/primitiveIcon","lightning/shadowBaseClassPrivate","@salesforce/label/LightningControl.required","@salesforce/label/LightningControl.clear","@salesforce/label/LightningControl.loading","lightning/internationalizationLibrary","lightning/numberUtils","lightning/inputUtils","lightning/utilsPrivate"],function(e,t,i,s,a,n,l,r,o,h,u,p){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=d(i),m=d(s),g=d(a),v=d(n),_=d(l),b=d(r);var y=[[function(e,t,i){return(i?"":'[dir="rtl"]')+' input[type="tel"]'+(i?":dir(rtl)":"")+(e?"["+e+"]":"")+" {direction: ltr;text-align: right;unicode-bidi: embed;}"}],function(){return""}];const f=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,E=t.parseFragment`<input${"a0:accesskey"}${"a0:aria-haspopup"}${"a0:aria-invalid"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-autocomplete"}${"a0:aria-expanded"}${"a0:autocomplete"} class="slds-input${0}"${"a0:disabled"}${"a0:id"}${"a0:inputmode"}${"a0:max"}${"a0:maxlength"}${"a0:min"}${"a0:minlength"}${"a0:name"}${"a0:role"} part="input"${"a0:pattern"}${"a0:placeholder"}${"a0:required"}${"a0:readonly"}${"a0:step"}${"a0:type"}${2}>`,T=t.parseFragment`<div role="status" class="slds-spinner slds-spinner_brand slds-spinner_x-small slds-input__spinner${0}"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span><div class="slds-spinner__dot-a${0}"${2}></div><div class="slds-spinner__dot-b${0}"${2}></div></div>`,D=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,S=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,C={attrs:{part:"input-text"},ref:"container",key:0},V={attrs:{name:"label-end"},key:4},w=[],N={props:{iconName:"utility:search",variant:"bare",svgClass:"slds-input__icon slds-input__icon_left slds-icon-text-default"},key:9},$={classMap:{"slds-input__icon-group":!0,"slds-input__icon-group_right":!0},key:10},x={"slds-input__icon":!0,"slds-input__icon_right":!0,"slds-button":!0,"slds-button_icon":!0},I={"data-element-id":"searchClear"},M={props:{iconName:"utility:clear",variant:"bare",svgClass:"slds-button__icon"},key:14},F={"slds-form-element__help":!0};function R(e,t,i,s){const{ncls:a,gid:n,sp:l,st:r,d:o,t:h,s:u,h:p,c:d,b:g}=e,{_m0:v,_m1:_,_m2:b,_m3:y,_m4:R,_m5:k,_m6:L,_m7:P,_m8:A,_m9:z,_m10:O,_m11:q}=s;return[p("div",C,[t.hasExternalLabel?null:p("label",{className:a(t.computedLabelClass),attrs:{for:n("input"),part:"label"},key:1},[t.required?r(f,3,[l(0,{attrs:{title:t.i18n.required}},null)]):null,h(o(t.label)),u("label-end",V,w,i)]),t.hasExternalLabel?null:t.fieldLevelHelp?d("lightning-helptext",c.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:5}):null,p("div",{className:a(t.computedFormElementClass),attrs:{part:"input-container",type:t.internalType},key:6},[r(E,8,[l(0,{on:{blur:k||(s._m5=g(t.handleBlur)),change:L||(s._m6=g(t.handleChange)),focus:P||(s._m7=g(t.handleFocus)),input:A||(s._m8=g(t.handleInput)),keydown:z||(s._m9=g(t.handleKeyDown))},attrs:{accesskey:t.accessKey,"aria-haspopup":t.ariaHasPopup,"aria-invalid":t.ariaInvalid,"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-autocomplete":t.ariaAutoComplete,"aria-expanded":t.ariaExpanded,autocomplete:t.autocomplete,disabled:t.disabled?"":null,id:n("input"),inputmode:t.inputMode,max:t.max,maxlength:t.maxLength,min:t.min,minlength:t.minLength,name:t.name,role:t.role,pattern:t.pattern,placeholder:t.placeholder,required:t.required?"":null,readonly:t.readOnly?"":null,step:t.step,type:t.internalType}},null)]),t.isTypeSearch?d("lightning-primitive-icon",m.default,N):null,t.isTypeSearch?p("div",$,[t.isLoading?r(T,12,[l(2,null,o(t.i18n.loading))]):null,t.showClearButton?p("button",{classMap:x,attrs:I,key:13,on:{blur:O||(s._m10=g(t.handleBlur)),click:q||(s._m11=g(t.clearAndSetFocusOnInput))}},[d("lightning-primitive-icon",m.default,M),r(D,16,[l(1,null,o(t.i18n.clear))])]):null]):null])]),p("div",{classMap:F,attrs:{id:n("help-message"),"data-help-message":"",part:"help-text",role:"status"},key:17},[t._helpMessage?r(S,19,[l(1,null,o(t.label))]):null,t._helpMessage?h(o(t._helpMessage)):null])]}var k=t.registerTemplate(R);function L(e){return o.normalizeISOTime(e,"short").isoValue||""}function P(e,t){e.setSelectionRange(t._selectionStartCached,t._selectionEndCached),t.clearCache()}R.slots=["label-end"],R.hasRefs=!0,R.stylesheets=[],R.stylesheetToken="lwc-enmikoh2qu",R.legacyStylesheetToken="lightning-primitiveInputSimple_primitiveInputSimple",y&&R.stylesheets.push.apply(R.stylesheets,y),t.freezeTemplate(R);class A{constructor(){this._selectionStartCached=null,this._selectionEndCached=null}_cacheSelectionRange(e,t){"number"==typeof e&&"number"==typeof t&&(this._selectionStartCached=e,this._selectionEndCached=t)}clearCache(){this._selectionStartCached=null,this._selectionEndCached=null}hasSelection(e){return null!==e.selectionStart&&e.selectionStart!==e.selectionEnd}isCached(){return null!==this._selectionStartCached&&null!==this._selectionEndCached}preserve(e){!this.hasSelection(e)&&this.isCached()||this.hasSelection(e)&&this._cacheSelectionRange(e.selectionStart,e.selectionEnd)}restore(e){if(!this.isCached())return Promise.resolve();if(p.isSafari)return p.timeout(0).then(()=>{this.isCached()&&e&&P(e,this)});if(p.isIE11){const t=e.value.length;return e.setSelectionRange(t,t),Promise.resolve()}return P(e,this),Promise.resolve()}}const z={required:v.default,clear:_.default,loading:b.default},O=["decimal","percent","percent-fixed","currency"],q=O[0];class B extends g.default{getHelpMessageElement(){return this.template.querySelector("[data-help-message]")}get ariaDescribedByElements(){return this.getHelpMessageElement()}get ariaErrorMessageElements(){return this.getHelpMessageElement()}get isNativeShadow(){return this._isNativeShadow}get type(){return this._type}set type(e){const t=p.normalizeString(e);this._type=t,this._rendered&&(this._initialValueSet=!1,this.isTypeNumber&&this.updateNumberValue(this._value))}get formatter(){return this._formatter}set formatter(e){this._formatter=p.normalizeString(e,{fallbackValue:q,validValues:O}),this.updateInputDisplayValueIfTypeNumber()}get formatFractionDigits(){return this._formatFractionDigits}set formatFractionDigits(e){this._formatFractionDigits=e,this._rendered&&this.isTypeNumber&&this.setInputValue(this.displayedValue)}get step(){return this._step}set step(e){this._step=e,this._rendered&&this.isTypeNumber&&!this._showRawNumber&&this.inputElement&&this.setInputValue(this.displayedValue)}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,p.reflectAttribute(this,"invalid",!!e)}get value(){return this._value}set value(e){const t=this._value;this._value=function(e){return"number"==typeof e||"string"==typeof e?String(e):""}(e),this._rendered&&(this.validity.badInput,this.isTypeNumber&&(this._value=h.stringifyNumber(e),this._value!==t&&this.updateNumberValue(e)),this.reflectPopulatedState())}get inputElement(){if(!this.cachedInputElement){let e=this.template.querySelector("input");this.cachedInputElement=e}return this.cachedInputElement}getDisplayedValue(){return this.isTypeNumber?1===this.inputElement.value.length&&h.hasValidNumberSymbol(this.inputElement.value)?this.inputElement.value:this._showRawNumber||!this.validity.valid?(h.hasValidNumberShortcut(this._numberRawValue)&&h.isValidNumber(this._numberRawValue)&&(this._numberRawValue=h.fromIsoDecimal(this._value)),this._numberRawValue):h.formatNumber(this._value,this.buildFormatNumberOptions(this.formatter)):this.isTypeMobileDate||this.isTypeMobileDateTime||this.isTypeMobileTime?this.normalizeDateTimeString(this._value):this._value}getNumberRawValue(){return this._numberRawValue}handleFocus(e){e.stopPropagation(),this._rendered&&this.isTypeNumber&&(this._showRawNumber=!0,this._selectionCache.preserve(this.inputElement),this.inputElement.value=this.displayedValue,this._selectionCache.restore(this.inputElement)),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(e){e.stopPropagation(),this.validity.valid&&(this._showRawNumber=!1),this.dispatchEvent(new CustomEvent("blur"))}handleKeyDown(e){if(this.isTypeNumber){if(!(e.metaKey||e.ctrlKey)&&!this.readOnly&&e.key){const t=p.normalizeKeyValue(e.key);1!==t.length||h.isValidNumberCharacter(t)||e.preventDefault(),"ArrowUp"===t?(e.preventDefault(),this.numberStepUpAndDispatchEvents(1)):"ArrowDown"===t&&(e.preventDefault(),this.numberStepUpAndDispatchEvents(-1))}}}handleInput(e){e.stopPropagation(),this.isTypeNumber&&(this._numberRawValue=this.inputElement.value),this.value!==e.target.value&&(this.dispatchChangeEvent(),this.reflectPopulatedState())}handleChange(e){e.stopPropagation(),this.dispatchCommitEvent(),this.value!==e.target.value&&this.dispatchChangeEvent()}handleSelect(){p.isSafari&&this._selectionCache.preserve(this.inputElement)}dispatchCommitEvent(){this.dispatchEvent(new CustomEvent("commit"))}dispatchChangeEvent(){const e={};var t,i;this.isTypeNumber?(this._numberRawValue=this.inputElement.value,e.value=h.toIsoDecimal(this.inputElement.value)):this.isTypeMobileDateTime?e.value=(t=this.inputElement.value,i=this.timezone,o.normalizeFormattedDateTime(t,i)||""):this.isTypeMobileTime?e.value=L(this.inputElement.value):e.value=this.inputElement.value,this._value=e.value,this.dispatchChangeEventWithDetail(e)}dispatchChangeEventWithDetail(e){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:e}))}get internalType(){return this.isTypeNumber||this.isTypeEmail?"text":this.type}get isTypeNumber(){return"number"===this.type}get isTypeEmail(){return"email"===this.type}get isTypeSearch(){return"search"===this.type}get isTypeText(){return"text"===this.type}get isTypeDate(){return"date"===this.type}get isTypeDateTime(){return"datetime"===this.type||"datetime-local"===this.type}get isTypeTime(){return"time"===this.type}get isTypeMobileDate(){return this.isTypeDate&&!p.isDesktopBrowser()}get isTypeMobileTime(){return this.isTypeTime&&!p.isDesktopBrowser()}get isTypeMobileDateTime(){return this.isTypeDateTime&&!p.isDesktopBrowser()}get showClearButton(){return this.isTypeSearch&&p.isNotUndefinedOrNull(this._value)&&""!==this._value}get inputMode(){return this.isTypeNumber?"decimal":this.isTypeEmail?"email":null}get displayedValue(){return this.isTypeNumber?this.getDisplayedValue():this.isTypeMobileTime||this.isTypeMobileDate||this.isTypeMobileDateTime?this.normalizeDateTimeString(this._value,this.timezone):this._value}normalizeDateTimeString(e){return this.isTypeDate?function(e){return o.normalizeISODate(e,"medium").isoValue||""}(e):this.isTypeTime?L(e):this.isTypeDateTime?function(e,t){return o.normalizeISODateTime(e,t).isoValue||""}(e,this.timezone):e}get i18n(){return z}get computedFormElementClass(){return this.isTypeSearch?"slds-form-element__control slds-grow slds-input-has-icon slds-input-has-icon_left-right":"slds-form-element__control slds-grow"}updateNumberValue(e){const t=h.stringifyNumber(e);this._value=t,this._numberRawValue=h.fromIsoDecimal(t)}numberStepUpAndDispatchEvents(e){this._readOnly||this._disabled||(this._value=h.increaseNumberByStep({value:this._value,step:this.step,increment:e,fractionDigits:this.buildFormatNumberOptions(this.formatter).minimumFractionDigits}),this._numberRawValue=h.fromIsoDecimal(this._value),this.setInputValue(this.displayedValue),this.dispatchChangeEvent(),this.dispatchCommitEvent())}buildFormatNumberOptions(e){const t={style:e};if(void 0!==this._formatFractionDigits)t.minimumFractionDigits=this._formatFractionDigits,t.maximumFractionDigits=this._formatFractionDigits;else{let i=h.calculateFractionDigitsFromStep(this._step);"percent"===e&&"number"==typeof i&&(i-=2,i<0&&(i=0)),t.minimumFractionDigits=i,t.maximumFractionDigits=i}return t}updateInputDisplayValueIfTypeNumber(){this._rendered&&this.isTypeNumber&&!this._showRawNumber&&this.inputElement&&this.setInputValue(this.displayedValue)}clearAndSetFocusOnInput(e){e.stopPropagation(),this.setInputValue(""),this._value="",this.inputElement.focus(),this.dispatchChangeEventWithDetail({value:this._value}),this.dispatchCommitEvent()}setInputValue(e){p.setDecoratedDragonInputValueWithoutEvent(this.inputElement,e),this.reflectPopulatedState()}reflectPopulatedState(){this.refs&&p.reflectAttribute(this.refs.container,"populated",!u.isEmptyString(this._value)||!u.isEmptyString(this._numberRawValue))}connectedCallback(){super.connectedCallback(),this.isTypeNumber&&this.updateNumberValue(this._value),this._isNativeShadow=p.isNativeComponent(this)}renderedCallback(){p.isSafari&&this.inputElement.addEventListener("select",this.handleSelect.bind(this)),!this._initialValueSet&&this.inputElement&&(this._rendered=!0,this.isTypeNumber&&(this._numberRawValue=h.fromIsoDecimal(this._value)),this.setInputValue(this.displayedValue),this._initialValueSet=!0),p.reflectAttribute(this,"variant",this.variant),p.reflectAttribute(this,"disabled",this.disabled),p.reflectAttribute(this,"readonly",this.readOnly)}constructor(){super(),this._type=void 0,this.hasExternalLabel=void 0,this.computedLabelClass=void 0,this.required=void 0,this.label=void 0,this.fieldLevelHelp=void 0,this.helptextAlternativeText=void 0,this.ariaHasPopup=void 0,this.accessKey=void 0,this.autocomplete=void 0,this.isLoading=void 0,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.pattern=void 0,this.placeholder=void 0,this.name=void 0,this.readOnly=void 0,this.disabled=void 0,this.variant=void 0,this.validity=void 0,this.ariaLabel=void 0,this.ariaInvalid=void 0,this.timezone=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.ariaExpanded=void 0,this.ariaAutoComplete=void 0,this.role=void 0,this._formatter=q,this._showRawNumber=!1,this._initialValueSet=!1,this._rendered=void 0,this._selectionCache=void 0,this._helpMessage=void 0,this._step=void 0,this._numberRawValue="",this._value="",this._selectionCache=new A}}t.registerDecorators(B,{publicProps:{hasExternalLabel:{config:0},computedLabelClass:{config:0},required:{config:0},label:{config:0},fieldLevelHelp:{config:0},helptextAlternativeText:{config:0},ariaHasPopup:{config:0},accessKey:{config:0},autocomplete:{config:0},isLoading:{config:0},max:{config:0},min:{config:0},maxLength:{config:0},minLength:{config:0},pattern:{config:0},placeholder:{config:0},name:{config:0},readOnly:{config:0},disabled:{config:0},variant:{config:0},validity:{config:0},ariaLabel:{config:0},ariaInvalid:{config:0},timezone:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},ariaExpanded:{config:0},ariaAutoComplete:{config:0},role:{config:0},ariaDescribedByElements:{config:1},ariaErrorMessageElements:{config:1},isNativeShadow:{config:1},type:{config:3},formatter:{config:3},formatFractionDigits:{config:3},step:{config:3},helpMessage:{config:3},value:{config:3},inputElement:{config:1}},publicMethods:["getDisplayedValue","getNumberRawValue"],fields:["_type","_formatter","_showRawNumber","_initialValueSet","_rendered","_selectionCache","_helpMessage","_step","_numberRawValue","_value"]});const K=t.registerComponent(B,{tmpl:k,sel:"lightning-primitive-input-simple",apiVersion:62});e.default=K,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveInputCheckbox",["exports","lwc","lightning/helptext","lightning/utils","lightning/inputUtils","@salesforce/label/LightningControl.required","lightning/shadowBaseClassPrivate","lightning/utilsPrivate"],function(e,t,a,i,l,s,n,r){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=d(a),h=d(s),o=d(n);var u=[function(){return""}];const p=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,b=t.parseFragment`<span${"c0"}${2}>${"t1"}</span>`,g=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,m=t.parseFragment`<input type="checkbox" part="checkbox"${"a0:id"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-invalid"}${"a0:accesskey"}${"a0:name"}${"a0:required"}${"a0:readonly"}${"a0:disabled"}${3}>`,v=t.parseFragment`<span part="indicator" class="slds-checkbox_faux${0}"${2}></span>`,f=t.parseFragment`<label${"a0:for"} part="label-container" class="slds-checkbox__label${0}"${2}><span part="indicator" class="slds-checkbox_faux${0}"${2}></span><span part="label"${"c2"}${2}>${"t3"}</span></label>`,k=t.parseFragment`<div${"a0:id"} class="slds-form-element__help${0}" data-help-message part="help-text" role="status"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`,_={"slds-checkbox__label":!0},x={classMap:{"slds-form-element__control":!0,"slds-grow":!0},key:6},$={part:"input-checkbox"};function y(e,t,a,i){const{gid:l,sp:s,st:n,ncls:r,d:d,h:h,c:o,b:u}=e,{_m0:y,_m1:C,_m2:S,_m3:E,_m4:L,_m5:A,_m6:q,_m7:I}=i;return[t.isStandardVariant?null:h("label",{classMap:_,attrs:{for:l("checkbox"),part:"label-container"},key:0},[t.required?n(p,2,[s(0,{attrs:{title:t.labelRequired}},null)]):null,n(b,4,[s(0,{className:r(t.computedLabelClass)},null),s(1,null,d(t.label))])]),t.isStandardVariant?null:t.fieldLevelHelp?o("lightning-helptext",c.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:5}):null,h("div",x,[h("span",{className:r(t.computedCheckboxClass),attrs:$,key:7},[t.isStandardVariant&&t.required?n(g,9,[s(0,{attrs:{title:t.labelRequired}},null)]):null,n(m,11,[s(0,{on:{blur:L||(i._m4=u(t.handleBlur)),focus:A||(i._m5=u(t.handleFocus)),change:q||(i._m6=u(t.handleChange)),click:I||(i._m7=u(t.handleClick))},attrs:{id:l("checkbox"),"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-invalid":t.ariaInvalid,accesskey:t.accessKey,name:t.name,required:t.required?"":null,readonly:t.readOnly?"":null,disabled:t.disabled?"":null}},null)]),t.isStandardVariant?null:n(v,13),t.isStandardVariant?n(f,15,[s(0,{attrs:{for:l("checkbox")}},null),s(2,{className:r(t.computedLabelClass)},null),s(3,null,d(t.label))]):null,t.isStandardVariant&&t.fieldLevelHelp?o("lightning-helptext",c.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:16}):null])]),t.helpMessage?n(k,18,[s(0,{attrs:{id:l("help-message")}},null),s(2,null,d(t.label)),s(3,null,d(t.helpMessage))]):null]}var C=t.registerTemplate(y);y.stylesheets=[],y.stylesheetToken="lwc-16hle61jt7i",y.legacyStylesheetToken="lightning-primitiveInputCheckbox_primitiveInputCheckbox",u&&y.stylesheets.push.apply(y.stylesheets,u),t.freezeTemplate(y);class S extends o.default{constructor(...e){super(...e),this.required=void 0,this.readOnly=void 0,this.label=void 0,this.labelHidden=void 0,this.helptextAlternativeText=void 0,this.fieldLevelHelp=void 0,this.ariaInvalid=void 0,this.ariaLabel=void 0,this.accessKey=void 0,this.name=void 0,this.disabled=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.labelRequired=h.default,this._helpMessage=void 0}get checked(){return this._checked}set checked(e){this._setChecked(e)}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,r.reflectAttribute(this,"invalid",!!e)}get variant(){return this._variant}set variant(e){this._variant=e,r.reflectAttribute(this,"variant",e)}get inputElement(){if(!this.cachedInputElement){let e=this.template.querySelector("input");this.cachedInputElement=e}return this.cachedInputElement}get describedByElements(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}get isStandardVariant(){return this.variant===l.VARIANT.STANDARD||this.variant===l.VARIANT.LABEL_HIDDEN}get isLabelHidden(){return this.variant===l.VARIANT.LABEL_HIDDEN}get computedCheckboxClass(){return i.classSet("slds-checkbox").add({"slds-checkbox_standalone":!this.isStandardVariant}).toString()}get computedLabelClass(){return i.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}_setChecked(e){e=Boolean(e),this._checked=e,r.reflectAttribute(this,"checked",this.checked),this.rendered&&this.inputElement.checked!==e&&(this.inputElement.checked=this._checked)}handleChange(e){this._setChecked(e.target.checked);const t=new CustomEvent("change",{detail:{composed:!0,bubbles:!0,checked:e.target.checked}});this.dispatchEvent(t)}handleClick(){null===this.template.activeElement&&this.template.querySelector("[type='checkbox']").focus()}connectedCallback(){super.connectedCallback(),this._isNativeShadow=r.isNativeComponent(this)}renderedCallback(){this.rendered||(this.inputElement.checked=this.checked),r.reflectAttribute(this,"disabled",this.disabled),this.rendered=!0}disconnectedCallback(){this.cachedInputElement=void 0,this.rendered=!1}}t.registerDecorators(S,{publicProps:{required:{config:0},readOnly:{config:0},label:{config:0},labelHidden:{config:0},helptextAlternativeText:{config:0},fieldLevelHelp:{config:0},ariaInvalid:{config:0},ariaLabel:{config:0},accessKey:{config:0},name:{config:0},disabled:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},checked:{config:3},helpMessage:{config:3},variant:{config:3},inputElement:{config:1},describedByElements:{config:1},isNativeShadow:{config:1}},fields:["labelRequired","_helpMessage"]});const E=t.registerComponent(S,{tmpl:C,sel:"lightning-primitive-input-checkbox",apiVersion:62});e.default=E,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/primitiveInputToggle",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/inputUtils","@salesforce/label/LightningControl.required"],function(e,t,a,i,s,l){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(a),c=n(l);var o=[function(){return""}];const d=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,h=t.parseFragment`<span${"c0"}${2}>${"t1"}</span>`,g=t.parseFragment`<input type="checkbox"${"a0:id"} part="checkbox"${"a0:accesskey"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-invalid"}${"a0:disabled"}${"a0:name"}${"a0:readonly"}${"a0:required"}${3}>`,u=t.parseFragment`<span${"a0:id"} data-toggle-description class="slds-checkbox_faux_container${0}"${2}><span class="slds-checkbox_faux${0}" part="indicator"${2}></span><span class="slds-checkbox_on${0}"${2}>${"t3"}</span><span class="slds-checkbox_off${0}"${2}>${"t5"}</span></span>`,p=t.parseFragment`<div${"a0:id"} class="slds-form-element__help${0}" data-help-message part="help-text" role="status"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`,m={classMap:{"slds-form-element__control":!0},key:0},v={"slds-checkbox_toggle":!0,"slds-grid":!0};function _(e,t,a,i){const{gid:s,sp:l,st:n,ncls:r,d:c,b:o,h:_}=e,{_m0:b,_m1:f,_m2:k,_m3:y,_m4:$,_m5:E,_m6:I,_m7:x}=i;return[_("div",m,[_("label",{classMap:v,attrs:{for:s("checkbox-toggle"),part:"checkbox-toggle"},key:1},[t.required?n(d,3,[l(0,{attrs:{title:t.labelRequired}},null)]):null,n(h,5,[l(0,{className:r(t.computedLabelClass)},null),l(1,null,c(t.label))]),n(g,7,[l(0,{on:{blur:$||(i._m4=o(t.handleBlur)),change:E||(i._m5=o(t.handleChange)),focus:I||(i._m6=o(t.handleFocus)),click:x||(i._m7=o(t.handleClick))},attrs:{id:s("checkbox-toggle"),accesskey:t.accessKey,"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-invalid":t.ariaInvalid,disabled:t.disabled?"":null,name:t.name,readonly:t.readOnly?"":null,required:t.required?"":null}},null)]),n(u,9,[l(0,{attrs:{id:s("toggle-description")}},null),l(3,null,c(t.messageToggleActive)),l(5,null,c(t.messageToggleInactive))])])]),t._helpMessage?n(p,11,[l(0,{attrs:{id:s("help-message")}},null),l(2,null,c(t.label)),l(3,null,c(t._helpMessage))]):null]}var b=t.registerTemplate(_);_.stylesheets=[],_.stylesheetToken="lwc-1fmklhh3ll6",_.legacyStylesheetToken="lightning-primitiveInputToggle_primitiveInputToggle",o&&_.stylesheets.push.apply(_.stylesheets,o),t.freezeTemplate(_);const f={required:c.default};class k extends r.default{constructor(...e){super(...e),this._checked=void 0,this._value="",this._ariaLabel=void 0,this._cachedInputElement=void 0,this._helpMessage="",this._messageToggleActive=void 0,this._messageToggleInactive=void 0,this.initialRender=!1,this.accessKey=void 0,this.disabled=void 0,this.label=void 0,this.name=void 0,this.readOnly=void 0,this.required=void 0,this.ariaInvalid=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.messageToggleActive=void 0,this.messageToggleInactive=void 0}get value(){return this._value}set value(e){this._value="number"==typeof e||"string"==typeof e?String(e):""}get checked(){return this.initialRender?this.inputElement.checked:this._checked}set checked(e){e=Boolean(e),this._checked=e,this.initialRender&&(this.inputElement.checked=this._checked)}get ariaDescribedByElements(){return[this.template.querySelector("[data-help-message]"),this.template.querySelector("data-toggle-description")]}get isNativeShadow(){return this._isNativeShadow}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=i.normalizeAriaAttribute(e)}get inputElement(){if(!this._cachedInputElement){let e=this.template.querySelector("input");this._cachedInputElement=e}return this._cachedInputElement}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,i.reflectAttribute(this,"invalid",Boolean(e))}get variant(){return this._variant}set variant(e){this._variant=e,i.reflectAttribute(this,"variant",e)}get computedLabelClass(){return this.variant===s.VARIANT.LABEL_HIDDEN?"slds-form-element__label slds-assistive-text":"slds-form-element__label"}get i18n(){return f}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleChange(e){this._checked=e.target.checked;const t=new CustomEvent("change",{detail:{checked:e.target.checked}});this.dispatchEvent(t)}handleClick(){null===this.template.activeElement&&this.template.querySelector("[type='checkbox']").focus()}connectedCallback(){super.connectedCallback(),this._isNativeShadow=i.isNativeComponent(this)}renderedCallback(){this.initialRender||(this.inputElement.checked=this.checked,this.inputElement.value=this._value,this.initialRender=!0)}disconnectedCallback(){this._cachedInputElement=void 0}}t.registerDecorators(k,{publicProps:{accessKey:{config:0},disabled:{config:0},label:{config:0},name:{config:0},readOnly:{config:0},required:{config:0},ariaInvalid:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},messageToggleActive:{config:0},messageToggleInactive:{config:0},value:{config:3},checked:{config:3},ariaDescribedByElements:{config:1},isNativeShadow:{config:1},ariaLabel:{config:3},inputElement:{config:1},helpMessage:{config:3},variant:{config:3}},fields:["_checked","_value","_ariaLabel","_cachedInputElement","_helpMessage","_messageToggleActive","_messageToggleInactive","initialRender"]});const y=t.registerComponent(k,{tmpl:b,sel:"lightning-primitive-input-toggle",apiVersion:62});e.default=y,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/input",["exports","lwc","lightning/sldsGenAiUtils","lightning/primitiveInputSimple","lightning/primitiveInputToggle","lightning/primitiveInputCheckbox","lightning/primitiveInputCheckboxButton","lightning/primitiveInputRadio","lightning/primitiveInputFile","lightning/primitiveInputColor","lightning/datepicker","lightning/timepicker","lightning/datetimepicker","@salesforce/label/LightningColorPicker.a11yTriggerText","@salesforce/label/LightningControl.activeCapitalized","@salesforce/label/LightningControl.inactiveCapitalized","@salesforce/label/LightningControl.required","@salesforce/label/LightningControl.clear","@salesforce/label/LightningControl.loading","@salesforce/label/LightningInputNumber.incrementCounter","@salesforce/label/LightningInputNumber.decrementCounter","@salesforce/label/LightningInput.helptextAlternativeText","@salesforce/i18n/timeZone","@salesforce/client/formFactor","lightning/utils","lightning/utilsPrivate","lightning/ariaObserver","lightning/internationalizationLibrary","lightning/numberUtils","lightning/inputUtils","lightning/shadowBaseClassPrivate"],function(e,t,i,a,s,r,n,l,o,h,d,p,c,m,u,g,_,y,b,v,A,f,T,D,C,L,k,x,I,E,B){function S(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var M=S(i),N=S(a),R=S(s),V=S(r),O=S(n),w=S(l),P=S(o),q=S(h),z=S(d),W=S(p),F=S(c),H=S(m),K=S(u),U=S(g),$=S(_),j=S(y),G=S(b),Z=S(v),J=S(A),Q=S(f),X=S(T),Y=S(D),ee=S(k),te=S(B);var ie=[[function(e,t,i){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: block;}"+(i?"":'[dir="rtl"]')+' input[type="tel"]'+(i?":dir(rtl)":"")+(e?"["+e+"]":"")+" {direction: ltr;text-align: right;unicode-bidi: embed;}"}],function(){return""},M.default];const ae=t.parseFragment`<div${"a0:id"}${"c0"} data-help-message part="help-text" role="status"${2}>${"t1"}</div>`,se={exportparts:"input-text, input-container, input"},re={slotAssignment:"label-end",attrs:{name:"label-end"},key:1},ne=[],le={exportparts:"indicator"},oe={exportparts:"button"};function he(e,t,i,a){const{b:s,s:r,c:n,gid:l,ncls:o,d:h,sp:d,st:p}=e,{_m0:c,_m1:m,_m2:u,_m3:g,_m4:_,_m5:y,_m6:b,_m7:v,_m8:A,_m9:f,_m10:T,_m11:D,_m12:C,_m13:L,_m14:k,_m15:x,_m16:I,_m17:E,_m18:B,_m19:S,_m20:M,_m21:H,_m22:K,_m23:U,_m24:$,_m25:j,_m26:G,_m27:Z,_m28:J,_m29:Q,_m30:X,_m31:Y,_m32:ee}=a;return[t.isTypeSimple?n("lightning-primitive-input-simple",N.default,{attrs:se,props:{accessKey:t.accesskey,ariaHasPopup:t.ariaHasPopup,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,ariaLabel:t.computedAriaLabel,ariaExpanded:t.ariaExpanded,ariaAutoComplete:t.ariaAutoComplete,autocomplete:t.autocomplete,computedLabelClass:t.computedLabelClass,disabled:t.disabled,fieldLevelHelp:t.fieldLevelHelp,formatter:t.formatter,formatFractionDigits:t.formatFractionDigits,hasExternalLabel:t.hasExternalLabel,helptextAlternativeText:t.helptextAlternativeText,helpMessage:t._helpMessage,isLoading:t.isLoading,label:t.label,max:t.normalizedMax,maxLength:t.maxLength,min:t.normalizedMin,minLength:t.minLength,name:t.name,pattern:t.pattern,placeholder:t.placeholder,readOnly:t.readOnly,required:t.required,role:t.role,step:t.step,type:t.type,timezone:t.timezone,variant:t.variant,value:t.value,validity:t.validity},key:0,on:{blur:c||(a._m0=s(t.handleBlur)),focus:m||(a._m1=s(t.handleFocus)),change:u||(a._m2=s(t.handlePrimitiveInputChange)),commit:g||(a._m3=s(t.handleCommit))}},[r("label-end",re,ne,i)]):null,t.isTypeToggle?n("lightning-primitive-input-toggle",R.default,{attrs:le,props:{accessKey:t.accesskey,ariaLabel:t.computedAriaLabel,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,checked:t.checked,disabled:t.disabled,helpMessage:t._helpMessage,label:t.label,messageToggleActive:t.messageToggleActive,messageToggleInactive:t.messageToggleInactive,name:t.name,readOnly:t.readOnly,required:t.required,value:t.value,variant:t.variant},key:2,on:{blur:_||(a._m4=s(t.handleBlur)),change:y||(a._m5=s(t.handleChange)),focus:b||(a._m6=s(t.handleFocus))}}):null,t.isTypeCheckbox?n("lightning-primitive-input-checkbox",V.default,{attrs:le,props:{accessKey:t.accesskey,ariaLabel:t.computedAriaLabel,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,checked:t.checked,disabled:t.disabled,fieldLevelHelp:t.fieldLevelHelp,helpMessage:t._helpMessage,helptextAlternativeText:t.helptextAlternativeText,label:t.label,labelHidden:t.labelHidden,name:t.name,readOnly:t.readOnly,required:t.required,variant:t.variant},key:3,on:{blur:v||(a._m7=s(t.handleBlur)),change:A||(a._m8=s(t.handleChange)),focus:f||(a._m9=s(t.handleFocus))}}):null,t.isTypeCheckboxButton?n("lightning-primitive-input-checkbox-button",O.default,{props:{label:t.label,ariaLabel:t.ariaLabel,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,required:t.required,accessKey:t.accesskey,disabled:t.disabled,name:t.name,readOnly:t.readOnly,checked:t.checked,helpMessage:t._helpMessage},key:4,on:{blur:T||(a._m10=s(t.handleBlur)),focus:D||(a._m11=s(t.handleFocus)),change:C||(a._m12=s(t.handleChange))}}):null,t.isTypeRadio?n("lightning-primitive-input-radio",w.default,{attrs:le,props:{accessKey:t.accesskey,ariaInvalid:t.computedAriaInvalid,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaLabel:t.ariaLabel,disabled:t.disabled,helpMessage:t._helpMessage,label:t.label,name:t.name,required:t.required,readOnly:t.readOnly,variant:t.variant},key:5,on:{blur:L||(a._m13=s(t.handleBlur)),change:k||(a._m14=s(t.handleChange)),focus:x||(a._m15=s(t.handleFocus))}}):null,t.isTypeFile?n("lightning-primitive-input-file",P.default,{attrs:oe,props:{accept:t.accept,accessKey:t.accesskey,ariaInvalid:t.computedAriaInvalid,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaLabel:t.computedAriaLabel,disabled:t.disabled,helpMessage:t._helpMessage,label:t.label,labelClass:t.computedLabelClass,multiple:t.multiple,name:t.name,readOnly:t.readOnly,required:t.required,variant:t.variant},key:6,on:{reportvalidity:I||(a._m16=s(t.reportValidity)),blur:E||(a._m17=s(t.handleBlur)),focus:B||(a._m18=s(t.handleFocus)),change:S||(a._m19=s(t.handlePrimitiveInputFileChange))}}):null,t.isTypeColor?n("lightning-primitive-input-color",q.default,{props:{label:t.label,fieldLevelHelp:t.fieldLevelHelp,helpMessage:t._helpMessage,helptextAlternativeText:t.helptextAlternativeText,hasExternalLabel:t.hasExternalLabel,required:t.required,accessKey:t.accesskey,disabled:t.disabled,name:t.name,autocomplete:t.autocomplete,placeholder:t.placeholder,pattern:t.pattern,ariaLabel:t.ariaLabel,ariaInvalid:t.computedAriaInvalid,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,value:t.value,variant:t.variant},key:7,on:{blur:M||(a._m20=s(t.handleBlur)),commit:H||(a._m21=s(t.handleCommit)),focus:K||(a._m22=s(t.handleFocus)),change:U||(a._m23=s(t.handlePrimitiveInputChange))}}):null,t.isTypeDesktopDate?n("lightning-datepicker",z.default,{props:{max:t.max,min:t.min,label:t.label,name:t.name,accessKey:t.accesskey,variant:t.variant,ariaLabel:t.ariaLabel,ariaDisabled:t.ariaDisabled,dateStyle:t.dateStyle,placeholder:t.placeholder,required:t.required,readOnly:t.readOnly,fieldLevelHelp:t.fieldLevelHelp,autocomplete:t.autocomplete,messageWhenBadInput:t.messageWhenBadInput,messageWhenValueMissing:t.messageWhenValueMissing,messageWhenRangeOverflow:t.messageWhenRangeOverflow,messageWhenRangeUnderflow:t.messageWhenRangeUnderflow,disabled:t.disabled,rootAriaNode:t.templateRootNode},key:8,on:{change:$||(a._m24=s(t.handleChange)),blur:j||(a._m25=s(t.handleBlur)),focus:G||(a._m26=s(t.handleFocus))}}):null,t.isTypeDesktopTime?n("lightning-timepicker",W.default,{props:{max:t.max,min:t.min,label:t.label,name:t.name,accessKey:t.accesskey,ariaLabel:t.ariaLabel,ariaDisabled:t.ariaDisabled,variant:t.variant,timeStyle:t.timeStyle,placeholder:t.placeholder,required:t.required,readOnly:t.readOnly,autocomplete:t.autocomplete,fieldLevelHelp:t.fieldLevelHelp,messageWhenBadInput:t.messageWhenBadInput,messageWhenValueMissing:t.messageWhenValueMissing,messageWhenRangeOverflow:t.messageWhenRangeOverflow,messageWhenRangeUnderflow:t.messageWhenRangeUnderflow,disabled:t.disabled,rootAriaNode:t.templateRootNode},key:9,on:{change:Z||(a._m27=s(t.handleChange)),blur:J||(a._m28=s(t.handleBlur)),focus:Q||(a._m29=s(t.handleFocus))}}):null,t.isTypeDesktopDateTime?n("lightning-datetimepicker",F.default,{props:{dateAriaControls:t.dateAriaControls,dateAriaLabel:t.dateAriaLabel,dateAriaLabelledBy:t.dateAriaLabelledBy,dateAriaDescribedBy:t.dateAriaDescribedBy,dateAriaDetails:t.dateAriaDetails,ariaDisabled:t.ariaDisabled,dateStyle:t.dateStyle,timeStyle:t.timeStyle,dateAccessKey:t.dateAccessKey,timeAccessKey:t.timeAccessKey,timeAriaControls:t.timeAriaControls,timeAriaLabel:t.timeAriaLabel,timeAriaLabelledBy:t.timeAriaLabelledBy,timeAriaDescribedBy:t.timeAriaDescribedBy,timeAriaDetails:t.timeAriaDetails,max:t.max,min:t.min,timezone:t.timezone,label:t.label,name:t.name,variant:t.variant,placeholder:t.placeholder,required:t.required,readOnly:t.readOnly,fieldLevelHelp:t.fieldLevelHelp,autocomplete:t.autocomplete,messageWhenBadInput:t.messageWhenBadInput,messageWhenValueMissing:t.messageWhenValueMissing,messageWhenRangeOverflow:t.messageWhenRangeOverflow,messageWhenRangeUnderflow:t.messageWhenRangeUnderflow,disabled:t.disabled,rootAriaNode:t.templateRootNode},key:10,on:{change:X||(a._m30=s(t.handleChange)),blur:Y||(a._m31=s(t.handleBlur)),focus:ee||(a._m32=s(t.handleFocus))}}):null,t.shouldShowHelpMessage?p(ae,12,[d(0,{className:o(t.computedHelpMessageClass),attrs:{id:l("help-message")}},null),d(1,null,h(t._helpMessage))]):null]}var de=t.registerTemplate(he);function pe(e){return x.normalizeISOTime(e,"short").isoValue||""}he.slots=["label-end"],he.stylesheets=[],he.stylesheetToken="lwc-66unc5l95ad",he.legacyStylesheetToken="lightning-input_input",ie&&he.stylesheets.push.apply(he.stylesheets,ie),t.freezeTemplate(he);const ce={a11yTriggerText:H.default,messageToggleActive:K.default,messageToggleInactive:U.default,numberIncrementCounter:Z.default,numberDecrementCounter:J.default,required:$.default,clear:j.default,loading:G.default,helpTextAlternativeText:Q.default},me="aria-label",ue="aria-labelledby",ge="aria-describedby",_e="aria-errormessage",ye=["checkbox","checkbox-button","date","datetime","time","email","file","password","search","tel","url","number","text","radio","toggle","color","range","datetime-local","month","week"];class be extends te.default{get autocomplete(){return this.isAutoCompleteSupported?this._autocomplete:this.isTypeDate||this.isTypeDateTime||this.isTypeTime?"off":void 0}set autocomplete(e){this._autocomplete=e}constructor(){super(),this.placeholder=void 0,this.name=void 0,this.label=void 0,this.messageWhenBadInput=void 0,this.messageWhenPatternMismatch=void 0,this.messageWhenRangeOverflow=void 0,this.messageWhenRangeUnderflow=void 0,this.messageWhenStepMismatch=void 0,this.messageWhenTooShort=void 0,this.messageWhenTooLong=void 0,this.messageWhenTypeMismatch=void 0,this.messageWhenValueMissing=void 0,this.messageToggleActive=ce.messageToggleActive,this.messageToggleInactive=ce.messageToggleInactive,this.ariaLabel=void 0,this.dateStyle=void 0,this.timeStyle=void 0,this.dateAriaLabel=void 0,this.timeAriaLabel=void 0,this.dateAccessKey=void 0,this.timeAccessKey=void 0,this._timeAriaDescribedBy=void 0,this._timeAriaLabelledBy=void 0,this._timeAriaControls=void 0,this._dateAriaControls=void 0,this._timeAriaDetails=void 0,this._dateAriaDetails=void 0,this._dateAriaDescribedBy=void 0,this._dateAriaLabelledBy=void 0,this._value="",this._type="text",this._pattern=void 0,this._max=void 0,this._min=void 0,this._step=void 0,this._disabled=!1,this._readOnly=!1,this._required=!1,this._checked=!1,this._isLoading=!1,this._multiple=!1,this._timezone=!1,this._helpMessage=null,this._isColorPickerPanelOpen=!1,this._fieldLevelHelp=void 0,this._accesskey=void 0,this._maxLength=void 0,this._minLength=void 0,this._accept=void 0,this._variant=void 0,this._ariaInvalid=void 0,this._autocomplete=void 0,this._shouldShowHelpMessage=!0,this._helpMessageChanged=!1,this._formatter="decimal",this._initialValueSet=!1,this._rendered=void 0,this.formatFractionDigits=void 0,this.ariaHasPopup=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.ariaExpanded=void 0,this.ariaAutoComplete=void 0,this.ariaObserver=new ee.default(this),this._isNativeShadow=L.isNativeComponent(this)}connectedCallback(){this.ariaObserver||(this.ariaObserver=new ee.default(this)),this.classList.add("slds-form-element"),this.updateClassListForVariant(),this.validateRequiredAttributes(),this.interactingState=new E.InteractingState,this.interactingState.onleave(()=>this.reportValidity())}disconnectedCallback(){this._rendered=!1,this._initialValueSet=!1,this._cachedInputElement=void 0,this.cachedPrimitiveComponent=void 0,this.ariaObserver&&(this.ariaObserver.disconnect(),this.ariaObserver=void 0)}renderedCallback(){this.isConnected&&(this.ariaObserver.sync(this.isNativeShadow),this._helpMessageChanged&&(this.connectAriaDescribedBy(),this.connectAriaErrorMessage(),this._helpMessageChanged=!1),this._rendered||(this.connectAriaDescribedBy(),this.connectAriaErrorMessage(),this.connectAriaLabelledBy(),this.connectAriaControls(),this.connectAriaDetails())),!this._initialValueSet&&this._inputElement&&(this._rendered=!0,this._setInputValue(this._displayedValue),this.isTypeCheckable&&(this._inputElement.checked=this._checked),this._initialValueSet=!0),this._synchronizeA11y()}get timeAriaControls(){return this._timeAriaControls}set timeAriaControls(e){this._timeAriaControls=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaControls=e})}get timeAriaDetails(){return this._timeAriaDetails}set timeAriaDetails(e){this._timeAriaDetails=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaDetails=e})}get dateAriaLabelledBy(){return this._dateAriaLabelledBy}set dateAriaLabelledBy(e){this._dateAriaLabelledBy=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaLabelledBy=e})}get timeAriaLabelledBy(){return this._timeAriaLabelledBy}set timeAriaLabelledBy(e){this._timeAriaLabelledBy=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaLabelledBy=e})}get timeAriaDescribedBy(){return this._timeAriaDescribedBy}set timeAriaDescribedBy(e){this._timeAriaDescribedBy=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaDescribedBy=e})}get dateAriaControls(){return this._dateAriaControls}set dateAriaControls(e){this._dateAriaControls=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaControls=e})}get dateAriaDetails(){return this._dateAriaDetails}set dateAriaDetails(e){this._dateAriaDetails=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaDetails=e})}get dateAriaDescribedBy(){return this._dateAriaDescribedBy}set dateAriaDescribedBy(e){this._dateAriaDescribedBy=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaDescribedBy=e})}get ariaControls(){return this._ariaControls}set ariaControls(e){this._ariaControls=e,this._rendered&&this.connectAriaControls()}get ariaDetails(){return this._ariaControls}set ariaDetails(e){this._ariaDetails=e,this._rendered&&this.connectAriaDetails()}get ariaLabelledBy(){return this._rendered&&this.isNativeShadow?this._inputElement.getAttribute(ue):this._ariaLabelledBy}set ariaLabelledBy(e){this._ariaLabelledBy=e,this._rendered&&this.connectAriaLabelledBy()}get ariaDescribedBy(){return this._rendered&&this.isNativeShadow?this._inputElement.getAttribute(ge):this._ariaDescribedBy}set ariaDescribedBy(e){this._ariaDescribedBy=e,this._rendered&&this.connectAriaDescribedBy()}get ariaErrorMessage(){return this._rendered&&this.isNativeShadow?this._inputElement.getAttribute(_e):this._ariaErrorMessage}set ariaErrorMessage(e){this._ariaErrorMessage=e,this._rendered&&this.connectAriaErrorMessage()}get isNativeShadow(){return this._primitiveComponent?.isNativeShadow||this._isNativeShadow}connectAriaLabelledBy(){this._primitiveComponent&&this.ariaObserver.connect({attribute:ue,targetNode:this._inputElement,relatedNodes:this._primitiveComponent.ariaLabelledByElements,relatedNodeIds:this._ariaLabelledBy})}connectAriaDescribedBy(){this._primitiveComponent&&this.ariaObserver.connect({attribute:ge,targetNode:this._inputElement,relatedNodes:this._primitiveComponent.ariaDescribedByElements,relatedNodeIds:this._ariaDescribedBy})}connectAriaErrorMessage(){this._primitiveComponent&&this.ariaObserver.connect({attribute:_e,targetNode:this._inputElement,relatedNodes:this._primitiveComponent.ariaErrorMessageElements,relatedNodeIds:this._ariaErrorMessage})}connectAriaControls(){this._primitiveComponent&&this.ariaObserver.connect({attribute:"aria-controls",targetNode:this._inputElement,relatedNodeIds:this._ariaControls})}connectAriaDetails(){this._primitiveComponent&&this.ariaObserver.connect({attribute:"aria-details",targetNode:this._inputElement,relatedNodeIds:this._ariaDetails})}get ariaInvalid(){return this._ariaInvalid}set ariaInvalid(e){let t=void 0===e?void 0:L.normalizeBoolean(e);this._ariaInvalid=t}get formatter(){return this.isTypeNumber&&this._primitiveComponent?this._primitiveComponent.formatter:this._formatter}set formatter(e){this._formatter=e,this.isTypeNumber&&this._primitiveComponent&&(this._primitiveComponent.formatter=this._formatter)}get type(){return this._type}set type(e){const t=this.isTypeSimple,i=L.normalizeString(e);this._type="datetime"===i?"datetime-local":i,this._validateType(i)||(this._type="text"),t&&this.isTypeSimple||(this._primitiveComponentRefreshNeeded=!0),t&&this.isTypeSimple||(this._primitiveComponentRefreshNeeded=!0),this._primitiveComponentRefreshNeeded=!0,this._inputElementRefreshNeeded=!0,this._rendered&&(this._initialValueSet=!1,this.connectAriaLabelledBy(),this.connectAriaDescribedBy(),this.connectAriaErrorMessage(),this.connectAriaControls(),this.connectAriaDetails()),this._updateProxyInputAttributes(["type","value","max","min","required","pattern"])}get isLoading(){return this._isLoading}set isLoading(e){this._isLoading=L.normalizeBoolean(e)}get pattern(){return this.isTypeColor?"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$":this._pattern}set pattern(e){this._pattern=e,this._updateProxyInputAttributes("pattern")}get maxLength(){return this._maxLength}set maxLength(e){this._maxLength=e,this._updateProxyInputAttributes("maxlength")}get accept(){return this._accept}set accept(e){this._accept=e,this._updateProxyInputAttributes("accept")}get minLength(){return this._minLength}set minLength(e){this._minLength=e,this._updateProxyInputAttributes("minlength")}get max(){return this._max}set max(e){this._max=e,this._updateProxyInputAttributes("max")}get min(){return this._min}set min(e){this._min=e,this._updateProxyInputAttributes("min")}get step(){return this.isTypeDateTime||this.isTypeTime?"any":this._step}set step(e){"string"==typeof e&&"any"===e.toLowerCase()?this._step="any":this._step=L.isUndefinedOrNull(e)||isNaN(e)?void 0:String(e),this._updateProxyInputAttributes("step")}get checked(){const e=this._inputElement;return this.isTypeCheckable&&this._initialValueSet&&e?e.checked:this._checked}set checked(e){if(this._checked=L.normalizeBoolean(e),this._rendered){const e=this.isTypeCheckbox?this._primitiveComponent:this._inputElement;e&&(e.checked=this._checked)}this._updateProxyInputAttributes("checked"),L.reflectAttribute(this,"checked",this._checked)}get multiple(){return this._multiple}set multiple(e){this._multiple=L.normalizeBoolean(e),this._updateProxyInputAttributes("multiple")}get value(){if(this.isTypeSimple&&this._rendered){const e=this._primitiveComponent;if(e)return e.value}return this._value}set value(e){if(!this.isTypeFile){if(this._value=E.normalizeInput(e),this.isTypeSimple){const e=this._primitiveComponent;e&&(e.value=this._value)}this._rendered&&this._inputElement.value!==this._displayedValue&&this._setInputValue(this._displayedValue),this._updateProxyInputAttributes("value")}}get variant(){return this._variant||E.VARIANT.STANDARD}set variant(e){this._variant=E.normalizeVariant(e),this.updateClassListForVariant(),L.reflectAttribute(this,"variant",this._variant)}get disabled(){return this._disabled}set disabled(e){this._disabled=L.normalizeBoolean(e),this._updateProxyInputAttributes("disabled"),L.reflectAttribute(this,"disabled",this.disabled)}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=L.normalizeBoolean(e),this._updateProxyInputAttributes("readonly"),L.reflectAttribute(this,"readonly",this.readOnly)}get required(){return this._required}set required(e){this._required=L.normalizeBoolean(e),this._updateProxyInputAttributes("required")}get timezone(){return this._timezone||X.default}set timezone(e){this._timezone=e,this._updateProxyInputAttributes(["value","max","min"])}get fieldLevelHelp(){return this._fieldLevelHelp}set fieldLevelHelp(e){this._fieldLevelHelp=e}get accessKey(){return this._accesskey}set accessKey(e){this._accesskey=e}get files(){return this.isTypeFile?this._primitiveComponent.files:null}get validity(){return this._constraint.validity}get selectionStart(){if(this._inputElement&&"selectionStart"in this._inputElement)return this._inputElement.selectionStart}set selectionStart(e){this._inputElement&&"selectionStart"in this._inputElement&&(this._inputElement.selectionStart=e)}get selectionEnd(){if(this._inputElement&&"selectionEnd"in this._inputElement)return this._inputElement.selectionEnd}set selectionEnd(e){this._inputElement&&"selectionEnd"in this._inputElement&&(this._inputElement.selectionEnd=e)}get role(){return this._role}set role(e){"combobox"===e?this._role="combobox":console.warn("<lightning-input> The role attribute value is invalid. Options are: 'combobox'")}checkValidity(){return this._constraint.checkValidity()}setCustomValidity(e){this._constraint.setCustomValidity(e)}reportValidity(){return this._constraint.reportValidity(e=>{this.isTypeDesktopTime&&L.reflectAttribute(this._inputElement.comboboxComponent,"invalid",!this.checkValidity()),!this._rendered||this.isNativeInput?(this._rendered&&this.isTypePrimitiveInput&&(this._shouldShowHelpMessage=!1,this._helpMessageChanged=!0),this._helpMessage=e):this._inputElement.showHelpMessage(e)})}showHelpMessageIfInvalid(){this.reportValidity()}focus(){this._rendered&&this._inputElement.focus()}blur(){this._rendered&&this._inputElement.blur()}get primitiveSelector(){return this.isTypeSimple?"lightning-primitive-input-simple":this.isTypeCheckboxButton?"lightning-primitive-input-checkbox-button":this.isTypeToggle?"lightning-primitive-input-toggle":this.isTypeColor?"lightning-primitive-input-color":this.isTypeCheckbox?"lightning-primitive-input-checkbox":this.isTypeRadio?"lightning-primitive-input-radio":this.isTypeFile?"lightning-primitive-input-file":null}get shouldShowHelpMessage(){return this._shouldShowHelpMessage&&this._helpMessage}get isTypePrimitiveInput(){return this.isTypeSimple||this.isTypeCheckboxButton||this.isTypeCheckbox||this.isTypeToggle||this.isTypeColor||this.isTypeRadio||this.isTypeFile}get isTypeNumber(){return"number"===this.type}get isTypeTelephone(){return"tel"===this.type}get isTypeUrl(){return"url"===this.type}get isTypeEmail(){return"email"===this.type}get isTypeCheckable(){return this.isTypeCheckbox||this.isTypeCheckboxButton||this.isTypeRadio||this.isTypeToggle}get isTypeToggle(){return"toggle"===this.type}get isTypeText(){return"text"===this.type}get isTypeCheckbox(){return"checkbox"===this.type}get isTypeRadio(){return"radio"===this.type}get isTypeCheckboxButton(){return"checkbox-button"===this.type}get isTypeFile(){return"file"===this.type}get isTypeColor(){return"color"===this.type}get isTypeDate(){return"date"===this.type}get isTypeDateTime(){return"datetime"===this.type||"datetime-local"===this.type}get isTypeTime(){return"time"===this.type}get isTypeSearch(){return"search"===this.type}get isTypeMobileDate(){return this.isTypeDate&&!this._isDesktopBrowser()}get isTypeDesktopDate(){return this.isTypeDate&&this._isDesktopBrowser()}get isTypeMobileDateTime(){return this.isTypeDateTime&&!this._isDesktopBrowser()}get isTypeDesktopDateTime(){return this.isTypeDateTime&&this._isDesktopBrowser()}get isTypeMobileTime(){return this.isTypeTime&&!this._isDesktopBrowser()}get isTypeDesktopTime(){return this.isTypeTime&&this._isDesktopBrowser()}get isTypeSimple(){const e=this.type;return"text"===e||"number"===e||"email"===e||"tel"===e||"url"===e||"search"===e||"password"===e||"range"===e||"month"===e||"week"===e||!e||!this._isDesktopBrowser()&&("date"===e||"time"===e||"datetime"===e||"datetime-local"===e)}get isNativeInput(){return!(this.isTypeDesktopDate||this.isTypeDesktopDateTime||this.isTypeDesktopTime)}get _primitiveComponent(){return this.cachedPrimitiveComponent&&!this._primitiveComponentRefreshNeeded||!L.isCSR||(this.cachedPrimitiveComponent=this.template.querySelector(this.primitiveSelector),this._primitiveComponentRefreshNeeded=!1),this.cachedPrimitiveComponent}get computedAriaLabel(){const e=[];return this.isTypeMobileDateTime&&(e.push(this.dateAriaLabel),e.push(this.timeAriaLabel)),this.ariaLabel&&e.push(this.ariaLabel),L.normalizeAriaAttribute(e)}get computedAriaInvalid(){return L.computeAriaInvalid(this._helpMessage,this.value,this.ariaInvalid)}get isLabelHidden(){return this.variant===E.VARIANT.LABEL_HIDDEN}get isLabelStacked(){return this.variant===E.VARIANT.LABEL_STACKED}get accesskey(){return this._accesskey}get i18n(){return ce}get computedLabelClass(){const e=C.classSet("slds-form-element__label");return this.isTypeCheckable||this.isTypeFile||(this.isTypeToggle?e.add("slds-m-bottom_none"):e.add("slds-no-flex")),e.add({"slds-assistive-text":this.isLabelHidden}).toString()}get normalizedMax(){return this._normalizeDateTimeString(this.max)}get normalizedMin(){return this._normalizeDateTimeString(this.min)}get _inputElement(){if(L.isCSR&&(!this._cachedInputElement||this._inputElementRefreshNeeded)){let e;if(this._inputDragonDecorated=!1,this.isTypeDesktopDate)e=this.template.querySelector("lightning-datepicker");else if(this.isTypeDesktopDateTime)e=this.template.querySelector("lightning-datetimepicker");else if(this.isTypeDesktopTime)e=this.template.querySelector("lightning-timepicker");else{const t=this._primitiveComponent;t?.inputElement&&(e=t.inputElement,this._inputDragonDecorated=!0,L.decorateInputForDragon(e))}e&&(this._inputElementRefreshNeeded=!1,this._cachedInputElement=e)}return this._cachedInputElement}get _inputTypeForValidity(){let e="text";return this.isTypeSimple?e=this.isTypeEmail?"text":this.isTypeNumber?"number":this.type:this.isTypeCheckable?e=this.isTypeRadio?"radio":"checkbox":this.isTypeFile?e="file":this.isTypeDateTime?e="datetime-local":this.isTypeTime?e="time":this.isTypeDate&&(e="date"),e}get _displayedValue(){if(this.isTypeNumber||this.isTypeMobileDate||this.isTypeMobileDateTime||this.isTypeMobileTime){return this._primitiveComponent.getDisplayedValue()}return this._value}get isStandardVariant(){return this.variant===E.VARIANT.STANDARD||this.variant===E.VARIANT.LABEL_HIDDEN}get _ignoreRequired(){return this.isTypeFile&&this._required&&this.files&&this.files.length}get _constraint(){if(!L.isCSR)return{};if(!this._constraintApi){const e={badInput:()=>!!this._rendered&&(this.isNativeInput?this._inputElement.validity.badInput:this._inputElement.hasBadInput()),badNumericInput:()=>!!this.isTypeNumber&&!I.isValidNumber(this._primitiveComponent?.getNumberRawValue()),tooLong:()=>this.isNativeInput&&!this.isTypeNumber&&this._rendered&&this._inputElement.validity.tooLong,tooShort:()=>this.isNativeInput&&!this.isTypeNumber&&this._rendered&&this._inputElement.validity.tooShort,patternMismatch:()=>this.isNativeInput&&this._rendered&&this._inputElement.validity.patternMismatch};this.isTypeEmail&&(e.typeMismatch=()=>this._multiple?!E.isValidMultipleEmails(this.value):!E.isValidEmail(this.value)),(this.isTypeDesktopDateTime||this.isTypeDesktopTime||this.isTypeDesktopDate)&&(e.rangeOverflow=()=>{const e=this.isTypeDesktopTime?pe(this.max):this.max;return x.isAfter(this.value,e)},e.rangeUnderflow=()=>{const e=this.isTypeDesktopTime?pe(this.min):this.min;return x.isBefore(this.value,e)},e.stepMismatch=()=>!1),this.isIE11&&(e.stepMismatch=()=>!1),this._constraintApi=new E.FieldConstraintApiWithProxyInput(()=>this.isNativeInput?this:this._inputElement,e),this._constraintApiProxyInputUpdater=this._constraintApi.setInputAttributes({type:()=>this._inputTypeForValidity,value:()=>this._normalizeDateTimeString(this.value),checked:()=>this.checked,maxlength:()=>this.maxLength,minlength:()=>this.minLength,pattern:()=>this.pattern,max:()=>this.normalizedMax,min:()=>this.normalizedMin,step:()=>this.step,accept:()=>this.accept,multiple:()=>this.multiple,disabled:()=>this.disabled,readonly:()=>this.readOnly,required:()=>this.required&&!this._ignoreRequired})}return this._constraintApi}get hasExternalLabel(){return this.variant===E.VARIANT.LABEL_HIDDEN&&this.ariaLabelledBy&&this.ariaLabelledBy.length}get helptextAlternativeText(){return C.formatLabel(ce.helpTextAlternativeText,this.label)}get isAutoCompleteSupported(){return this.isTypeTelephone||this.isTypeUrl||this.isTypeSearch||this.isTypeEmail||this.isTypeText}get templateRootNode(){return L.isCSR?this.template.host.getRootNode():null}handleFocus(e){L.isBubblingFocusEvent(e)?e.stopPropagation():(this.interactingState.enter(),this.isTypeColor&&(this._isColorPickerPanelOpen=!1),this.dispatchEvent(new CustomEvent("focus")))}handleBlur(e){L.isBubblingFocusEvent(e)?e.stopPropagation():(this.interactingState.leave(),this._rendered&&this.isTypeNumber&&this._setInputValue(this._displayedValue),e.relatedTarget&&this.template.contains(e.relatedTarget)||this.dispatchEvent(new CustomEvent("blur")))}handleCheckboxClick(){null===this.template.activeElement&&this.template.querySelector("[type='checkbox']").focus()}handleChange(e){e.stopPropagation(),this._dispatchCommitEvent(),this._dispatchChangeEvent()}handleCommit(){this._dispatchCommitEvent()}handlePrimitiveInputFileChange(){this._dispatchCommitEvent();const e={files:this.files,value:this._inputElement.value};this._updateProxyInputAttributes("required"),this._updateValueAndValidityAttribute(e.value),this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:e}))}handlePrimitiveInputChange(e){this.interactingState.enter(),this._updateValueAndValidityAttribute(e.detail.value)}_dispatchCommitEvent(){this.dispatchEvent(new CustomEvent("commit"))}_dispatchChangeEventWithDetail(e){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:e}))}_validateType(e){if(ye.includes(e))return!0;const t=`<lightning-input> The type attribute value "${e}" is invalid.`;return L.assert("hidden"!==e,`${t} Use a regular <input type="hidden"> instead.`),L.assert("submit"!==e&&"reset"!==e&&"image"!==e&&"button"!==e,`${t} Use <lightning:button> instead.`),this.isTypeRadio&&L.assert(!this.required,"<lightning-input> The required attribute is not supported on radio inputs directly. It should be implemented at the radio group level."),"phone"===e?console.warn(`${t} Please use <lightning-input type="tel"> instead. Defaulting to text type.`):"week"===e||"month"===e?console.warn(`${t} Please use <lightning-combobox> and/or <lightning-input type="number"> instead to avoid inconsistencies and breakages across browsers.`):console.warn(`${t} Defaulting to text type.`),!1}validateRequiredAttributes(){const{label:e}=this;L.assert("string"==typeof e&&e.length,`<lightning-input> The required label attribute value "${e}" is invalid.`)}_setInputValue(e){this._inputDragonDecorated?L.setDecoratedDragonInputValueWithoutEvent(this._inputElement,e):this._inputElement.value=e}_dispatchChangeEvent(){this.interactingState.enter();const e={};var t,i;this.isTypeCheckable&&(this._updateCheckedAndValidityAttribute(this._inputElement.checked),e.checked=this._checked),this.isTypeCheckable||(this.isTypeNumber||(e.value=this._inputElement.value),this.isTypeMobileDateTime?e.value=(t=e.value,i=this.timezone,x.normalizeFormattedDateTime(t,i)||""):this.isTypeMobileTime&&(e.value=pe(e.value)),this._updateValueAndValidityAttribute(e.value)),this._dispatchChangeEventWithDetail(e)}_isDesktopBrowser(){return"Large"===Y.default}_updateValueAndValidityAttribute(e){this._value=e,this._updateProxyInputAttributes("value")}_updateCheckedAndValidityAttribute(e){this._checked=e,this._updateProxyInputAttributes("checked"),L.reflectAttribute(this,"checked",this._checked)}_updateProxyInputAttributes(e){this._constraintApiProxyInputUpdater&&this._constraintApiProxyInputUpdater(e)}updateClassListForVariant(){L.classListMutation(this.classList,{"slds-form-element_stacked":this.variant===E.VARIANT.LABEL_STACKED,"slds-form-element_horizontal":this.variant===E.VARIANT.LABEL_INLINE})}_normalizeDateTimeString(e){let t=e;return this.isTypeDate?t=function(e){return x.normalizeISODate(e,"medium").isoValue||""}(e):this.isTypeTime?t=pe(e):this.isTypeDateTime&&(t=function(e,t){return x.normalizeISODateTime(e,t).isoValue||""}(e,this.timezone)),t}_updateDateOrTimePickerA11y(e){L.synchronizeAttrs(e,{ariaLabelledByElement:this._ariaLabelledBy,ariaDescribedByElements:this._ariaDescribedBy,ariaErrorMessageElements:this._ariaErrorMessage,ariaControlsElement:this._ariaControls,ariaDetailsElements:this._ariaDetails,[me]:this.computedAriaLabel})}_updateDateTimePickerA11y(e){L.synchronizeAttrs(e,{dateAriaLabelledBy:this.dateAriaLabelledBy,dateAriaDescribedBy:this.dateAriaDescribedBy,dateAriaControls:this.dateAriaControls,dateAriaLabel:this.dateAriaLabel,dateAriaDetails:this.dateAriaDetails,timeAriaLabelledBy:this.timeAriaLabelledBy,timeAriaDescribedBy:this.timeAriaDescribedBy,timeAriaControls:this.timeAriaControls,timeAriaLabel:this.timeAriaLabel,timeAriaDetails:this.timeAriaDetails})}_synchronizeA11y(){const e=this.template.querySelector("lightning-datepicker"),t=this.template.querySelector("lightning-timepicker"),i=this.template.querySelector("lightning-datetimepicker");e?this._updateDateOrTimePickerA11y(e):t?this._updateDateOrTimePickerA11y(t):i&&this._updateDateTimePickerA11y(i)}}be.validationOptOut=["class"],t.registerDecorators(be,{publicProps:{placeholder:{config:0},name:{config:0},label:{config:0},messageWhenBadInput:{config:0},messageWhenPatternMismatch:{config:0},messageWhenRangeOverflow:{config:0},messageWhenRangeUnderflow:{config:0},messageWhenStepMismatch:{config:0},messageWhenTooShort:{config:0},messageWhenTooLong:{config:0},messageWhenTypeMismatch:{config:0},messageWhenValueMissing:{config:0},messageToggleActive:{config:0},messageToggleInactive:{config:0},ariaLabel:{config:0},autocomplete:{config:3},dateStyle:{config:0},timeStyle:{config:0},dateAriaLabel:{config:0},timeAriaLabel:{config:0},dateAccessKey:{config:0},timeAccessKey:{config:0},formatFractionDigits:{config:0},timeAriaControls:{config:3},timeAriaDetails:{config:3},dateAriaLabelledBy:{config:3},timeAriaLabelledBy:{config:3},timeAriaDescribedBy:{config:3},dateAriaControls:{config:3},dateAriaDetails:{config:3},dateAriaDescribedBy:{config:3},ariaControls:{config:3},ariaDetails:{config:3},ariaLabelledBy:{config:3},ariaDescribedBy:{config:3},ariaErrorMessage:{config:3},ariaInvalid:{config:3},ariaHasPopup:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},ariaExpanded:{config:0},ariaAutoComplete:{config:0},formatter:{config:3},type:{config:3},isLoading:{config:3},pattern:{config:3},maxLength:{config:3},accept:{config:3},minLength:{config:3},max:{config:3},min:{config:3},step:{config:3},checked:{config:3},multiple:{config:3},value:{config:3},variant:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},timezone:{config:3},fieldLevelHelp:{config:3},accessKey:{config:3},files:{config:1},validity:{config:1},selectionStart:{config:3},selectionEnd:{config:3},role:{config:3}},publicMethods:["checkValidity","setCustomValidity","reportValidity","showHelpMessageIfInvalid","focus","blur"],track:{_timeAriaDescribedBy:1,_timeAriaLabelledBy:1,_timeAriaControls:1,_dateAriaControls:1,_timeAriaDetails:1,_dateAriaDetails:1,_dateAriaDescribedBy:1,_dateAriaLabelledBy:1,_value:1,_type:1,_pattern:1,_max:1,_min:1,_step:1,_disabled:1,_readOnly:1,_required:1,_checked:1,_isLoading:1,_multiple:1,_timezone:1,_helpMessage:1,_isColorPickerPanelOpen:1,_fieldLevelHelp:1,_accesskey:1,_maxLength:1,_minLength:1,_accept:1,_variant:1,_ariaInvalid:1,_autocomplete:1},fields:["_shouldShowHelpMessage","_helpMessageChanged","_formatter","_initialValueSet","_rendered"]});const ve=t.registerComponent(be,{tmpl:de,sel:"lightning-input",apiVersion:62});be.interopMap={exposeNativeEvent:{change:!0,focus:!0,blur:!0}},e.default=ve,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("embeddedMessaging/formField",["exports","lwc","lightning/input","lightning/combobox","embeddedMessaging/constants","embeddedMessaging/labelUtils"],function(e,i,t,l,s,a){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(t),r=n(l);var d=[function(e,i,t){var l=e?"["+e+"]":"";return(i?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;flex: 0 1 auto;--lwc-heightInput: 2.625em;--lwc-colorTextLabel: var(--contrastPrimaryColor, #333333);--sds-c-input-text-color: var(--contrastPrimaryColor, #333333);--lwc-formLabelFontSize: 0.75em;--sds-c-input-color-border:var(--slds-g-color-neutral-base-60, #939393);--sds-c-input-color-border-focus: var(--secondaryColor, #005290);--sds-c-input-shadow-focus: 0 0 .25rem var(--secondaryColor, #005290);}.hidden-component"+l+" {border: none;background: transparent!important;pointer-events: none;height: 0;}.hidden-component:focus"+l+" {outline: 1px solid var(--secondaryColor, #005290);}"}];const u=i.parseFragment`<span class="hidden-component${0}" tabindex="0"${"a0:aria-label"}${2}></span>`,h={"slds-p-bottom_small":!0};function p(e,i,t,l){const{c:s,b:a,sp:n,st:d}=e,{_m0:p,_m1:c,_m2:m}=l;return[i.isTypeText?s("lightning-input",o.default,{classMap:h,props:{type:"text",label:i.displayLabel,name:i.autoCompleteFieldName,autocomplete:i.autoCompleteValue,value:i.initialValue,maxLength:i.fieldInfo.maxLength,messageWhenPatternMismatch:i.labels.RequiredFormFieldError,messageWhenValueMissing:i.labels.RequiredFormFieldError,pattern:i.validInputPattern,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:""},key:0}):null,i.isTypeEmail?s("lightning-input",o.default,{classMap:h,props:{type:"email",label:i.displayLabel,name:i.autoCompleteFieldName,autocomplete:i.autoCompleteValue,value:i.initialValue,maxLength:i.fieldInfo.maxLength,messageWhenPatternMismatch:i.labels.InvalidEmailFormFieldError,messageWhenValueMissing:i.labels.RequiredFormFieldError,pattern:i.validEmailPattern,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:""},key:1}):null,i.isTypePhone?s("lightning-input",o.default,{classMap:h,props:{type:"tel",label:i.displayLabel,name:i.autoCompleteFieldName,autocomplete:i.autoCompleteValue,value:i.initialValue,maxLength:i.fieldInfo.maxLength,messageWhenPatternMismatch:i.labels.RequiredFormFieldError,messageWhenValueMissing:i.labels.RequiredFormFieldError,pattern:i.validInputPattern,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:""},key:2}):null,i.isTypeNumber?s("lightning-input",o.default,{classMap:h,props:{type:"number",label:i.displayLabel,name:i.autoCompleteFieldName,autocomplete:i.autoCompleteValue,value:i.initialValue,max:i.maxNumber,messageWhenValueMissing:i.labels.RequiredFormFieldError,min:i.minNumber,required:i.fieldInfo.required,disabled:i.isFieldDisabled,step:"any",title:""},key:3}):null,i.isTypeCheckbox&&i.initialValue?s("lightning-input",o.default,{classMap:h,props:{type:"checkbox",label:i.displayLabel,messageWhenValueMissing:i.labels.RequiredFormFieldError,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:"",checked:!0},key:4,on:{change:p||(l._m0=a(i.handleCheckboxChange))}}):null,i.isTypeCheckbox?i.initialValue?null:s("lightning-input",o.default,{classMap:h,props:{type:"checkbox",label:i.displayLabel,messageWhenValueMissing:i.labels.RequiredFormFieldError,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:""},key:5,on:{change:c||(l._m1=a(i.handleCheckboxChange))}}):null,i.isTypeChoiceList?s("lightning-combobox",r.default,{classMap:h,props:{autocomplete:"on",label:i.displayLabel,options:i.choiceListOptions,value:i.initialValue,messageWhenValueMissing:i.labels.RequiredFormFieldError,required:i.fieldInfo.required,disabled:i.isFieldDisabled},key:6,on:{change:m||(l._m2=a(i.handleChoiceListChange))}}):null,i.isFieldDisabled?d(u,8,[n(0,{attrs:{"aria-label":i.disabledFieldAriaLabel}},null)]):null]}var c=i.registerTemplate(p);p.stylesheets=[],p.stylesheetToken="lwc-2chgdk50gj4",p.legacyStylesheetToken="embeddedMessaging-formField_formField",d&&p.stylesheets.push.apply(p.stylesheets,d),i.freezeTemplate(p);class m extends i.LightningElement{constructor(...e){super(...e),this.fieldInfo={},this.labels={},this.lightningComponent=void 0,this.initialRender=!0,this.choiceListValue="",this.choiceListOptions=void 0}get autoCompleteValue(){switch(this.fieldInfo.type){case s.FormFieldTypes.TEXT:return"_firstName"===this.name?"given-name":"_lastName"===this.name?"family-name":"on";case s.FormFieldTypes.EMAIL:return"email";case s.FormFieldTypes.PHONE:return"tel";default:return"on"}}get autoCompleteFieldName(){switch(this.fieldInfo.type){case s.FormFieldTypes.TEXT:case s.FormFieldTypes.EMAIL:return this.name.replace("_","");case s.FormFieldTypes.PHONE:return"tel";default:return this.name}}get initialValue(){return this.isTypeChoiceList?this.fieldInfo.value?this.fieldInfo.value:this.choiceListValue:this.fieldInfo.value||""}get isFieldDisabled(){return"boolean"==typeof this.fieldInfo.isEditableByEndUser&&!this.fieldInfo.isEditableByEndUser}get isTypeText(){return this.fieldInfo.type===s.FormFieldTypes.TEXT}get isTypeEmail(){return this.fieldInfo.type===s.FormFieldTypes.EMAIL}get isTypePhone(){return this.fieldInfo.type===s.FormFieldTypes.PHONE}get isTypeNumber(){return this.fieldInfo.type===s.FormFieldTypes.NUMBER}get isTypeCheckbox(){return this.fieldInfo.type===s.FormFieldTypes.CHECKBOX}get isTypeChoiceList(){return this.fieldInfo.type===s.FormFieldTypes.CHOICELIST}get displayLabel(){return(this.fieldInfo.labels||{}).display||""}get validInputPattern(){return this.fieldInfo.required?s.AT_LEAST_ONE_NON_WHITESPACE_CHAR_REGEX:"(.*?)"}get validEmailPattern(){return s.EMAIL_VALIDATION_REGEX}get maxNumber(){return 999999999999999999n}get minNumber(){return-999999999999999999n}get name(){return this.fieldInfo.name}get value(){let e="";return this.lightningComponent&&(e=this.isTypeCheckbox?this.lightningComponent.checked:this.lightningComponent.value),e}get disabledFieldAriaLabel(){return`The ${this.displayLabel} field is set to ${this.value}. You can’t edit this field.`}initializeChoiceList(){const e=[];let i="";const t=[...this.fieldInfo.choiceListValues];t.sort((e,i)=>e.order-i.order),e.push({label:this.labels.PrechatChoiceListValueNone,value:""});for(const l of t)l.isDefaultValue&&(!i||l.label<i)&&(i=l.label,this.choiceListValue=l.choiceListValueName),e.push({label:l.label,value:l.choiceListValueName});this.choiceListOptions=e}handleChoiceListChange(e){e&&e.detail&&e.detail.value&&(this.choiceListValue=e.detail.value)}handleCheckboxChange(e){e&&e.target&&e.target.reportValidity()}connectedCallback(){this.handleLabels(),this.applyStyling(),this.isTypeChoiceList&&this.initializeChoiceList()}renderedCallback(){this.initialRender&&(this.initialRender=!1,this.lightningComponent=this.querySelectLightningComponent())}handleLabels(){this.labels.InvalidEmailFormFieldError=a.getLabel("EmbeddedMessagingPrechat","InvalidEmailFormFieldError"),this.labels.RequiredFormFieldError=a.getLabel("EmbeddedMessagingPrechat","RequiredFormFieldError"),this.labels.PrechatChoiceListValueNone=a.getLabel("EmbeddedMessagingPrechat","PrechatChoiceListValueNone")}reportValidity(){return!!this.lightningComponent&&this.lightningComponent.reportValidity()}focus(){this.lightningComponent&&this.lightningComponent.focus()}querySelectLightningComponent(){return this.isTypeChoiceList?this.template.querySelector("lightning-combobox"):this.template.querySelector("lightning-input")}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule(".slds-combobox__input:focus { border-color: var(--sds-c-input-color-border-focus, #005290); -webkit box shadow: 0 0 3px #005290; box-shadow: var(--sds-c-input-color-shadow-focus, #005290);}",0),e.sheet.insertRule("input[readonly][role=combobox]:focus { border-color: var(--sds-c-input-color-border-focus, #005290); -webkit box shadow: 0 0 3px #005290; box-shadow: var(--sds-c-input-color-shadow-focus, #005290);}",0),e.sheet.insertRule(".slds-dropdown { font-size: var(--baseFontSize, medium) }",0))}}i.registerDecorators(m,{publicProps:{fieldInfo:{config:0},name:{config:1},value:{config:1}},publicMethods:["reportValidity","focus"],track:{labels:1},fields:["lightningComponent","initialRender","choiceListValue","choiceListOptions"]});const g=i.registerComponent(m,{tmpl:c,sel:"embeddedMessaging-form-field",apiVersion:62});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/formField', ['embeddedMessaging/formField'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/form",["exports","lwc","embeddedmessaging/formField","lightning/formattedRichText","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/globalEventStore","embeddedMessaging/labelUtils","embeddedMessaging/webStorageUtils"],function(e,t,i,s,n,o,d,l,r){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=a(i),u=a(s);var c=[function(e,t,i){var s=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;flex: 1 1 auto;overflow: hidden;--lwc-colorTextLabel: var(--contrastPrimaryColor, #333333);}.form-content"+s+" {display: flex;flex-direction: column;flex: 1 1 auto;overflow-y: auto;overflow-x: hidden;}.form-footer"+s+" {flex: 0 1 auto;text-align: center;}.submit-button"+s+" {height: 48px;min-height: 48px;background: var(--secondaryColor, #005290);font-family: var(--font, Arial, sans-serif);font-size: var(--baseFontSize, medium);border: none;}.submit-button:focus"+s+" {outline: none;box-shadow: 0 0 3px 0 var(--secondaryColor, #005290);text-shadow: none;text-decoration: underline;text-decoration-color: var(--slds-g-color-neutral-base-100, #ffffff);}.termsAndConditionsText"+s+" {padding-bottom: 0.5rem;font-size: 0.8rem;}.termsAndConditionsAcknowledgement"+s+" {height: 44px;}.noPrechatFieldsPresent"+s+" {border-top: 1px solid var(--slds-g-color-neutral-base-60, #939393);position: absolute;width: 100%;bottom: 72px;left: 0;}.submit-button-text"+s+' {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}.submit-button[aria-disabled="true"]'+s+" {opacity: 0.8;cursor: not-allowed;}"}];const b=t.parseFragment`<div class="form-footer slds-p-around_medium${0}"${2}><button class="submit-button slds-button slds-button_brand slds-button_stretch${0}"${"a1:title"}${"a1:id"}${2}><span class="submit-button-text${0}"${"a2:id"}${2}>${"t3"}</span></button></div>`,f={classMap:{"form-content":!0,"slds-p-around_medium":!0},key:0},h={classMap:{termsAndConditionsText:!0},key:3},g={classMap:{termsAndConditionsAcknowledgement:!0},key:5};function p(e,t,i,s){const{k:n,c:o,i:d,ncls:l,h:r,f:a,b:c,gid:p,d:S,sp:y,st:C}=e,{_m0:E,_m1:A}=s;return[r("div",f,a([d(t.fields,function(e){return o("embeddedmessaging-form-field",m.default,{props:{fieldInfo:e},key:n(1,e.name)})}),t.isTermsAndConditionsEnabled?r("div",{className:l(t.generateTermsAndConditionsClassName),key:2},[r("div",h,[o("lightning-formatted-rich-text",u.default,{props:{value:t.termsAndConditionsText},key:4})]),t.isTermsAndConditionsRequired?r("div",g,[o("embeddedmessaging-form-field",m.default,{props:{fieldInfo:t.termsAndConditionsRequiredFieldInfo},key:6})]):null]):null])),C(b,8,[y(1,{on:{keydown:E||(s._m0=c(t.onSubmitButtonKeyDown)),click:A||(s._m1=c(t.handleSubmit))},attrs:{title:t.submitButtonLabel,id:p("formSubmitButton")}},null),y(2,{attrs:{id:p("formSubmitButtonText")}},null),y(3,null,S(t.submitButtonLabel))])]}var S=t.registerTemplate(p);p.stylesheets=[],p.stylesheetToken="lwc-5rpe7iq4pvm",p.legacyStylesheetToken="embeddedMessaging-form_form",c&&p.stylesheets.push.apply(p.stylesheets,c),t.freezeTemplate(p);class y extends t.LightningElement{constructor(...e){super(...e),this.labels={},this.submitLabel="",this.choiceListConfig={},this.termsAndConditions={},this._fields=[],this.formSubmitted=!1,this.fieldElements=[],this._initialRender=!0}get fields(){return n.util.isEmpty(this.choiceListConfig)||(this._fields=this.addChoiceListValues()),this._fields.sort((e,t)=>e.order-t.order)}set fields(e){this._fields=JSON.parse(JSON.stringify(e))}addChoiceListValues(){for(const e of this._fields)if(e.type===o.FormFieldTypes.CHOICELIST){const t=this.choiceListConfig.choiceList.find(t=>t.choiceListId===e.choiceListId)||{};e.choiceListValues=t.choiceListValues||[]}return this._fields}get submitButtonLabel(){return this.formSubmitted?this.labels.PrechatSubmitButtonLoadingLabel:this.submitLabel}connectedCallback(){this.handleLabels()}renderedCallback(){this._initialRender&&(this._initialRender=!1,this.fieldElements=this.querySelectFields(),this.fieldElements[0]&&n.util.waitForFrame(()=>{this.fieldElements[0].focus();const e=this.querySelectFormAreaElement();e&&(e.scrollTop=0)}))}handleLabels(){this.labels.termsAndConditionsAcknowledgementLabel=l.getLabel("EmbeddedMessagingPrechat","PrechatTermsAndConditionsAcknowledgement"),this.labels.PrechatSubmitButtonLoadingLabel=l.getLabel("EmbeddedMessagingPrechat","PrechatSubmitButtonLoading")}handleSubmit(e){const t={};if(!this.formSubmitted&&this.reportValidity()){for(const e of this.fieldElements)t[e.name]=e.value;this.dispatchEvent(new CustomEvent(n.events.EMBEDDED_MESSAGING_FORM_SUBMIT,{detail:{value:t}})),r.setItemInWebStorage(o.STORAGE_KEYS.PRECHAT_SUBMIT_TIME,Date.now()),n.LoggingUtil.logInteraction(e,this,"EmbeddedMessaging-PrechatForm",{method:"handleSubmit"}),this.formSubmitted=!0,this.disableSubmitButton()}}reportValidity(){let e,t=!0;for(const i of this.fieldElements)i.reportValidity()||(t=!1,void 0===e&&(e=i));return t||void 0===e||e.focus(),t}disableSubmitButton(){const e=this.querySelectSubmitButton();e&&e.setAttribute("aria-disabled","true")}get isTermsAndConditionsEnabled(){return Boolean(this.termsAndConditions.isTermsAndConditionsEnabled)}get isTermsAndConditionsRequired(){return Boolean(this.termsAndConditions.isTermsAndConditionsRequired)}get generateTermsAndConditionsClassName(){let e="termsAndConditions";return e+=0===this._fields.length?" slds-p-around_medium noPrechatFieldsPresent":"",e}get termsAndConditionsText(){const e=this.termsAndConditions.label;return e?e.replace(n.MARKDOWN_LINK_REGEX,'<a href="$2" target="_blank">$1</a>'):""}get termsAndConditionsRequiredFieldInfo(){return{name:"_termsAndConditionsAcknowledgementField",required:!0,type:o.FormFieldTypes.CHECKBOX,labels:{display:this.labels.termsAndConditionsAcknowledgementLabel}}}setFocusOnSubmitButton(){n.util.waitForFrame(()=>{const e=this.querySelectSubmitButton();e&&e.focus()})}onSubmitButtonKeyDown(e){e.key!==n.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),d.dispatchEvent(n.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}querySelectFields(){return this.template.querySelectorAll("embeddedmessaging-form-field")}querySelectFormAreaElement(){return this.template.querySelector(".form-content")}querySelectSubmitButton(){return this.template&&this.template.querySelector("button.submit-button")?this.template.querySelector("button.submit-button"):void 0}}t.registerDecorators(y,{publicProps:{submitLabel:{config:0},choiceListConfig:{config:0},termsAndConditions:{config:0},fields:{config:3}},publicMethods:["setFocusOnSubmitButton"],track:{labels:1},fields:["_fields","formSubmitted","fieldElements","_initialRender"]});const C=t.registerComponent(y,{tmpl:S,sel:"embeddedMessaging-form",apiVersion:62});e.default=C,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/form', ['embeddedMessaging/form'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/prechatState",["exports","lwc","embeddedmessaging/form","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/labelUtils","embeddedMessaging/globalEventStore"],function(e,t,i,a,s,n,r){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=o(i);var d=[function(e,t,i){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;flex: 1 1 auto;overflow: hidden;background: var(--slds-g-color-neutral-base-100, #ffffff);}"}];function c(e,t,i,a){const{b:s,c:n}=e,{_m0:r}=a;return[n("embeddedmessaging-form",l.default,{props:{fields:t.fields,choiceListConfig:t.choiceListConfig,termsAndConditions:t.termsAndConditions,submitLabel:t.labels.PrechatStateSubmitButton},key:0,on:{formsubmit:r||(a._m0=s(t.handleFormSubmit))}})]}var h=t.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-cd7kpa9m50",c.legacyStylesheetToken="embeddedMessaging-prechatState_prechatState",d&&c.stylesheets.push.apply(c.stylesheets,d),t.freezeTemplate(c);const m="EmbeddedMessaging-PrechatState";class g extends t.LightningElement{constructor(...e){super(...e),this.configuration={},this.labels={},this.initialRender=!0,this.prechatStateInitialRenderTime=void 0,this.conversationStatus=void 0,this.handleMessageEvents=e=>{a.util.handleWindowEvents(e,{[a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT]:this.setFocusOnLastFocusableElement.bind(this)})}}get fields(){return((this.configuration.forms||[]).find(e=>e.formType===s.FormTypes.PRE_CHAT)||{}).formFields||[]}get choiceListConfig(){return this.configuration.choiceListConfig||{}}get termsAndConditions(){return this.configuration.termsAndConditions||{}}connectedCallback(){window.addEventListener("message",this.handleMessageEvents),this.assignHandlers(),this.handleLabels()}renderedCallback(){this.initialRender&&(this.prechatStateInitialRenderTime=Date.now(),r.dispatchEvent(a.events.EMBEDDED_MESSAGING_PRECHAT_STATE_INITIAL_RENDER,{}),this.initialRender=!1)}disconnectedCallback(){window.removeEventListener("message",this.handleMessageEvents),r.clearHandlersForEvent(a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT)}assignHandlers(){r.assignHandler(a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,this.setFocusOnLastFocusableElement.bind(this))}handleFormSubmit(e){let t={};e&&e.detail&&(t=this.formatPrechatFields(e.detail.value)),this.dispatchEvent(new CustomEvent(a.events.EMBEDDED_MESSAGING_PRECHAT_SUBMIT,{detail:{value:t}}))}formatPrechatFields(e){const t={};e=e||{};for(const i of this.fields)i.name in e&&(t[i.name]=String(e[i.name]));return t}handleLabels(){this.labels.PrechatStateSubmitButton=n.getLabel("EmbeddedMessagingPrechat","PrechatStateSubmitButton")}setFocusOnLastFocusableElement(){const e=this.template.querySelector("embeddedmessaging-form");e&&e.setFocusOnSubmitButton()}logPrechatAvailabilityTime(e){let t;const i=this.prechatStateInitialRenderTime,s=e;try{a.isNumber(s)?a.isNumber(i)?(t=a.util.getEpochTimesDiffInSeconds(s,i),a.LoggingUtil.logCurrentState(m,{method:"logPrechatRenderTime",stateMessage:`[Pre-Chat Availability Time] Pre-Chat Availability Time when Conversation Status: ${this.conversationStatus} is ${t} seconds`})):a.LoggingUtil.logError("Pre-Chat Availability Time",m,{method:"logPrechatRenderTime",errMessage:`[Pre-Chat Availability Time] Unable to calculate Pre-Chat Availability Time when Conversation Status: ${this.conversationStatus} - Expected valid numerical Pre-Chat state render time, instead received: ${e}`}):a.LoggingUtil.logError("Pre-Chat Availability Time",m,{method:"logPrechatRenderTime",errMessage:`[Pre-Chat Availability Time] Unable to calculate Pre-Chat Availability Time when Conversation Status: ${this.conversationStatus} - Expected valid numerical Pre-Chat state initiator time, instead received: ${e}`})}catch(e){a.LoggingUtil.logError(e,m,{method:"logPrechatRenderTime",errMessage:`[Pre-Chat Availability Time] Something went wrong while calculating Pre-Chat Availability Time when Conversation Status: ${this.conversationStatus} with Pre-Chat state initiator time: ${s} and Pre-Chat state render time: ${i}`})}this.prechatStateInitialRenderTime=void 0}}t.registerDecorators(g,{publicProps:{configuration:{config:0},conversationStatus:{config:0}},publicMethods:["formatPrechatFields","logPrechatAvailabilityTime"],track:{labels:1},fields:["initialRender","prechatStateInitialRenderTime","handleMessageEvents"]});const u=t.registerComponent(g,{tmpl:h,sel:"embeddedMessaging-prechat-state",apiVersion:62});e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/prechatState', ['embeddedMessaging/prechatState'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/participant",["exports","lwc","embeddedMessaging/constants","embeddedMessaging/common"],function(t,e,n,r){function i(t){return t.role===n.ParticipantRoles.AGENT}function a(t){return t.role===n.ParticipantRoles.CHATBOT}function o(t){return t.role===n.ParticipantRoles.ROUTER}function s(t){return Array.isArray(r.util.unwrapProxy(t))?r.util.unwrapProxy(t):[]}function u(t){return s(t).filter(t=>i(t)||a(t))}function c(t){return s(t).filter(t=>i(t))}function p(t){return s(t).filter(t=>a(t))}function l(t){return u(s(t)).length}const g=e.registerComponent(class{constructor(t,e,n,r){this.role=t,this.subject=e,this.appType=n,this.displayName=r}getRole(){return this.role}getSubject(){return this.subject}getAppType(){return this.appType}getDisplayName(){return this.displayName}},{tmpl:void 0,sel:"embeddedMessaging-participant",apiVersion:62});t.default=g,t.getAgentOrBotParticipantCount=l,t.getAgentOrBotParticipants=u,t.getAgentParticipantCount=function(t){return c(s(t)).length},t.getAgentParticipants=c,t.getBotParticipantCount=function(t){return p(s(t)).length},t.getBotParticipants=p,t.isAgentParticipant=i,t.isBotParticipant=a,t.isBotParticipantPresent=function(t){return s(t).filter(t=>a(t)).length>0},t.isConferenceMode=function(t){return l(s(t))>1},t.isEndUserOnlyParticipant=function(t){return 0===s(t).filter(t=>i(t)||a(t)||o(t)).length},t.isEndUserParticipant=function(t){return t.role===n.ParticipantRoles.ENDUSER},t.isRouterParticipant=o,t.isRouterParticipantPresent=function(t){return s(t).filter(t=>o(t)).length>0},t.isSupervisorParticipant=function(t){return t.role===n.ParticipantRoles.SUPERVISOR},t.isSystemParticipant=function(t){return t.role===n.ParticipantRoles.SYSTEM},Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/participant', ['embeddedMessaging/participant'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@salesforce/label/LightningProgressBar.progress', ['@view/home/labels'], m => m[191]);LWR.define('@salesforce/label/LightningProgressBar.progressBar', ['@view/home/labels'], m => m[192]);(function() { LWR.define("lightning/progressBar",["exports","lwc","@salesforce/label/LightningProgressBar.progress","@salesforce/label/LightningProgressBar.progressBar","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/internationalizationLibrary"],function(e,a,r,s,t,i,l,n){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(r),g=o(s),p=o(t);var c=[function(){return""}];const d=a.parseFragment`<div${"c0"} part="progress-bar" aria-valuemin="0" aria-valuemax="100"${"a0:aria-valuenow"}${"a0:aria-busy"} role="progressbar"${"a0:aria-label"}${2}><span class="slds-progress-bar__value${0}"${"s1"}${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span></span></div>`;function v(e,a,r,s){const{ncls:t,d:i,sp:l,st:n}=e;return[n(d,1,[l(0,{className:t(a.computedClass),attrs:{"aria-valuenow":a.percentValue,"aria-busy":a.ariaBusy,"aria-label":a.computeAriaLabel}},null),l(1,{style:a.computedStyle},null),l(3,null,i(a.assistiveText))])]}var h=a.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-6fe1vtge1h4",v.legacyStylesheetToken="lightning-progressBar_progressBar",c&&v.stylesheets.push.apply(v.stylesheets,c),a.freezeTemplate(v);const b={progress:u.default,progressBar:g.default},f="medium",m="base";class y extends p.default{constructor(...e){super(...e),this.privateVariant=m,this.privateSize=f,this.value=0,this.ariaLabel=void 0}get variant(){return this.privateVariant}set variant(e){this.privateVariant=l.normalizeString(e,{fallbackValue:m,validValues:["base","circular"]})}get size(){return this.privateSize}set size(e){this.privateSize=l.normalizeString(e,{fallbackValue:f,validValues:["x-small","small","medium","large"]})}get ariaBusy(){const e=this.percentValue;return e>0&&e<100?"true":null}get computedClass(){const{size:e,variant:a}=this,r=i.classSet("slds-progress-bar");return r.add(`slds-progress-bar_${e}`),"circular"===a&&r.add("slds-progress-bar_circular"),r.toString()}get percentValue(){const{value:e}=this;return!e||e<=0?0:e>=100?100:Math.round(e)}get computedStyle(){return`width: ${this.percentValue}%;`}get assistiveText(){const e=n.numberFormat({style:"percent"}).format(this.percentValue/100);return`${b.progress} ${e}`}get computeAriaLabel(){return l.isUndefinedOrNull(this.ariaLabel)?b.progressBar:this.ariaLabel}}a.registerDecorators(y,{publicProps:{value:{config:0},ariaLabel:{config:0},variant:{config:3},size:{config:3}},track:{privateVariant:1,privateSize:1}});const $=a.registerComponent(y,{tmpl:h,sel:"lightning-progress-bar",apiVersion:62});e.default=$,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("embeddedMessaging/formFooter",["exports","lwc","lightning/progressBar","embeddedMessaging/labelUtils","embeddedMessaging/globalEventStore","embeddedMessaging/common"],function(e,t,o,r,s,n){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(o);var i=[function(e,t,o){var r=e?"["+e+"]":"";return".form-footer-button"+r+" {padding: 0.25rem 1rem;text-align: center;vertical-align: middle;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;transition: border .15s linear;border-style: solid;border-width: var(--sds-c-button-sizing-border, 1px);border-radius: var(--sds-c-button-radius-border, 0.25rem);margin: 0.5rem;}.form-footer-button:not([disabled]):hover"+r+" {background-color: var(--sds-c-button-brand-color-background-hover,#014486);border-color: var(--sds-c-button-brand-color-border-hover,#014486);color: var(--sds-c-button-brand-text-color-hover,#fff);}.form-footer-button.previous"+r+" {background: var(--slds-g-color-neutral-base-100, #FFFFFF);color: var(--secondaryColor, #005290);}.form-footer-button.next"+r+" {background: var(--secondaryColor, #005290);color: var(--slds-g-color-neutral-base-100, #FFFFFF);}.form-footer-button:focus"+r+" {outline: none;box-shadow: 0 0 3px 0 var(--secondaryColor, #005290);text-shadow: none;text-decoration: underline;}.form-footer-button[disabled]"+r+" {opacity: 0.8;cursor: not-allowed;}lightning-progress-bar"+r+" {flex-grow: 2;}"}];const u=t.parseFragment`<button class="form-footer-button previous${0}"${"a0:disabled"}${2}><span${"a1:title"}${3}>${"t2"}</span></button>`,d=t.parseFragment`<button class="form-footer-button next${0}"${"a0:disabled"}${2}><span${"a1:title"}${3}>${"t2"}</span></button>`;function b(e,t,o,r){const{b:s,d:n,sp:a,st:i,c:b}=e,{_m0:c,_m1:g,_m2:m,_m3:p,_m4:h,_m5:v,_m6:f,_m7:B}=r;return[t.isPaginated?i(u,1,[a(0,{on:{click:m||(r._m2=s(t.handlePreviousButtonClick)),keydown:p||(r._m3=s(t.handlePreviousButtonKeyChange))},attrs:{disabled:t.disablePreviousButton?"":null}},null),a(1,{attrs:{title:t.previousButtonLabel}},null),a(2,null,n(t.previousButtonLabel))]):null,t.isPaginated?b("lightning-progress-bar",l.default,{props:{value:t.progress,size:"large",variant:"circular",ariaLabel:t.progressBarAssistiveText},key:2}):null,t.isPaginated?i(d,4,[a(0,{on:{click:f||(r._m6=s(t.handleNextButtonClick)),keydown:B||(r._m7=s(t.handleNextButtonKeyChange))},attrs:{disabled:t.disableNextButton?"":null}},null),a(1,{attrs:{title:t.nextButtonLabel}},null),a(2,null,n(t.nextButtonLabel))]):null]}var c=t.registerTemplate(b);b.stylesheets=[],b.stylesheetToken="lwc-2jdu41oevl8",b.legacyStylesheetToken="embeddedMessaging-formFooter_formFooter",i&&b.stylesheets.push.apply(b.stylesheets,i),t.freezeTemplate(b);const g="EmbeddedMessaging-FormFooter";class m extends t.LightningElement{constructor(...e){super(...e),this.labels={},this.fieldInfo=void 0,this.progress=0,this.disablePreviousButton=void 0,this.disableNextButton=void 0}get isPaginated(){return!0}get previousButtonLabel(){return this.labels.previousButtonLabel}get nextButtonLabel(){return this.fieldInfo.submitForm?this.labels.submitButtonLabel:this.labels.nextButtonLabel}get progressBarAssistiveText(){return this.labels.progressBarAssistiveText}handleLabels(){this.labels.nextButtonLabel=r.getLabel("EmbeddedMessagingSecureForm","NextButtonLabel"),this.labels.previousButtonLabel=r.getLabel("EmbeddedMessagingSecureForm","BackButtonLabel"),this.labels.submitButtonLabel=r.getLabel("EmbeddedMessagingSecureForm","SubmitButtonLabel"),this.labels.progressBarAssistiveText=r.getLabel("EmbeddedMessagingSecureForm","ProgressBarAssistiveText")}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule(".slds-progress-bar__value { background: var(--secondaryColor, #005290); border-right: 1.5px solid var(--contrastPrimaryColor, #333333) }",0),e.sheet.insertRule(".slds-progress-bar { border: 2px solid var(--contrastPrimaryColor, #333333); }",0))}handlePreviousButtonClick(e){e&&(e.preventDefault(),e.stopPropagation(),s.dispatchFormEvent(s.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED,{}),n.LoggingUtil.logInteraction(e,this,g,{method:"handlePreviousButtonClick",feature:"form-footer-button previous"}))}handleNextButtonClick(e){e&&(e.preventDefault(),e.stopPropagation(),s.dispatchFormEvent(s.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED,{nextSectionInputId:this.fieldInfo.nextSectionInputId,submitForm:Boolean(this.fieldInfo.submitForm)}),n.LoggingUtil.logInteraction(e,this,g,{method:"handleNextButtonClick",feature:"form-footer-button next"}))}handlePreviousButtonKeyChange(e){e.key===n.KEY_CODES.TAB&&!e.shiftKey&&this.disableNextButton&&(e.preventDefault(),s.dispatchEvent(n.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}handleNextButtonKeyChange(e){e.key!==n.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),s.dispatchEvent(n.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}querySelectPreviousButton(){return this.template&&this.template.querySelector("button.previous")?this.template.querySelector("button.previous"):void 0}querySelectNextButton(){return this.template&&this.template.querySelector("button.next")?this.template.querySelector("button.next"):void 0}setFocusOnNextButton(){n.util.waitForFrame(()=>{const e=this.querySelectNextButton();e&&e.focus()})}setFocusOnPreviousButton(){n.util.waitForFrame(()=>{const e=this.querySelectPreviousButton();e&&e.focus()})}connectedCallback(){this.handleLabels(),this.applyStyling()}}t.registerDecorators(m,{publicProps:{isPaginated:{config:1},fieldInfo:{config:0},progress:{config:0},disablePreviousButton:{config:0},disableNextButton:{config:0}},publicMethods:["setFocusOnNextButton","setFocusOnPreviousButton"],track:{labels:1}});const p=t.registerComponent(m,{tmpl:c,sel:"embeddedMessaging-form-footer",apiVersion:62});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/formFooter', ['embeddedMessaging/formFooter'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/touchScrollLibrary",["exports","lightning/utilsPrivate","@salesforce/client/formFactor"],function(t,e,i){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=r(i);function o(t){return t.touches?t.touches[0].screenY:t.screenY}function c(t){var e=t.scrollHeight>t.offsetHeight,i=t.scrollWidth>t.offsetWidth;return e||i}function l(t){return 0===t.scrollTop}function s(t){return t.scrollHeight-t.scrollTop===t.offsetHeight||t.scrollHeight-t.scrollTop===t.clientHeight}function a(t){t.cancelScrolling=!0,t.preventBounce=!1}class u{static isMobile(){return"Large"!==n.default}constructor(t){this._initialized=!1,this._startY=null,e.assert(t,"a non-empty target is required for TouchScroller to add touch listeners to"),this._target=t,this.initialize()}initialize(){!this._initialized&&this._target&&(u.isMobile()&&(this._target.addEventListener("touchstart",t=>this.handleTouchStart(t)),this._target.addEventListener("touchmove",t=>this.handleTouchMove(t))),this._initialized=!0)}handleTouchStart(t){this._startY=o(t)}handleTouchMove(t){var e=t.currentTarget,i=t.target;if(function(t){return"INPUT"===t.tagName&&"range"===t.type}(i))return void a(t);const r=c(e),n=function(t){return"TEXTAREA"===t.tagName}(i)&&c(i);if(n||r){const r=o(t);let c=this._startY<r&&l(e),u=this._startY>r&&s(e);n&&!t.preventBounce&&(c=c&&l(i),u=u&&s(i)),c||u?function(t){t.cancelScrolling=!1,t.preventBounce=!0}(t):a(t)}}}t.TouchScroller=u,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("lightning/textarea",["exports","lwc","lightning/sldsGenAiUtils","lightning/helptext","@salesforce/label/LightningControl.required","@salesforce/label/LightningInput.helptextAlternativeText","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/inputUtils","lightning/touchScrollLibrary","lightning/ariaObserver"],function(e,t,i,a,s,n,l,r,h,d,o,u){function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=c(i),p=c(a),_=c(s),v=c(n),m=c(l),b=c(u);var y=[[function(e,t,i){return(t?":host,textarea":(e?"["+e+"-host]":"")+",textarea")+(e?"["+e+"]":"")+" {display: block;}"}],function(){return""},g.default];const f=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,L=t.parseFragment`<div class="slds-form-element__control slds-grow textarea-container${0}"${2}><textarea${"a1:id"} class="slds-textarea${0}"${"a1:aria-invalid"}${"a1:autocomplete"}${"a1:readonly"}${"a1:disabled"}${"a1:name"}${"a1:maxlength"}${"a1:minlength"}${"a1:placeholder"}${"a1:required"}${"a1:accesskey"} part="textarea"${2}>${"t2"}</textarea></div>`,x=t.parseFragment`<div${"a0:id"} data-help-message class="slds-form-element__help${0}" aria-live="assertive"${2}>${"t1"}</div>`,A={attrs:{name:"label-end"},key:3},I=[];function B(e,t,i,a){const{ncls:s,gid:n,sp:l,st:r,d:h,t:d,s:o,h:u,c:c,b:g}=e,{_m0:_,_m1:v,_m2:m,_m3:b}=a;return[u("label",{className:s(t.computedLabelClass),attrs:{for:n("input")},key:0},[t.required?r(f,2,[l(0,{attrs:{title:t.i18n.required}},null)]):null,d(h(t.label)),o("label-end",A,I,i)]),t.fieldLevelHelp?c("lightning-helptext",p.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:4}):null,r(L,6,[l(1,{on:{input:_||(a._m0=g(t.handleInput)),change:v||(a._m1=g(t.handleChange)),focus:m||(a._m2=g(t.handleFocus)),blur:b||(a._m3=g(t.handleBlur))},attrs:{id:n("input"),"aria-invalid":t.computedAriaInvalid,autocomplete:t.autocomplete,readonly:t.readOnly?"":null,disabled:t.disabled?"":null,name:t.name,maxlength:t.maxLength,minlength:t.minLength,placeholder:t.placeholder,required:t.required?"":null,accesskey:t.accessKey}},null),l(2,null,h(t._defaultValue))]),t._helpMessage?r(x,8,[l(0,{attrs:{id:n("help-message")}},null),l(1,null,h(t._helpMessage))]):null]}var C=t.registerTemplate(B);B.slots=["label-end"],B.stylesheets=[],B.stylesheetToken="lwc-2c0jakuf71q",B.legacyStylesheetToken="lightning-textarea_textarea",y&&B.stylesheets.push.apply(B.stylesheets,y),t.freezeTemplate(B);const E={required:_.default,helpTextAlternativeText:v.default};class S extends m.default{get ariaDescribedBy(){return this._ariaDescribedBy}set ariaDescribedBy(e){this._ariaDescribedBy=e,this.connectAriaDescribedBy()}get ariaLabelledBy(){return this._ariaLabelledBy}set ariaLabelledBy(e){this._ariaLabelledBy=e,this.connectAriaLabelledBy()}get maxLength(){return this._maxLength}set maxLength(e){this._maxLength=e,this._updateProxyInputAttributes("maxlength")}get minLength(){return this._minLength}set minLength(e){this._minLength=e,this._updateProxyInputAttributes("minlength")}get value(){return this._value}set value(e){this._value!==e&&(this._value=e||"",this._connected?this._setInputValue(this._value):this._defaultValue=this._value),this._updateProxyInputAttributes("value")}get disabled(){return this._disabled}set disabled(e){this._disabled=h.normalizeBoolean(e),this._updateProxyInputAttributes("disabled")}get fieldLevelHelp(){return this._fieldLevelHelp}set fieldLevelHelp(e){this._fieldLevelHelp=e}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=h.normalizeBoolean(e),this._updateProxyInputAttributes("readonly")}get required(){return this._required}set required(e){this._required=h.normalizeBoolean(e),this._updateProxyInputAttributes("required")}get variant(){return this._variant||d.VARIANT.STANDARD}set variant(e){this._variant=d.normalizeVariant(e),h.reflectAttribute(this,"variant",this._variant),this.updateHostClassList()}get validity(){return this._constraint.validity}checkValidity(){return this._constraint.checkValidity()}reportValidity(){return this._constraint.reportValidity(e=>{this._helpMessage=e,this._helpMessageChanged=!0})}setCustomValidity(e){this._constraint.setCustomValidity(e)}showHelpMessageIfInvalid(){this.reportValidity()}focus(){this._connected&&this.inputElement.focus()}blur(){this._connected&&this.inputElement.blur()}setRangeText(){this._connected&&(this.inputElement.setRangeText.apply(this.inputElement,arguments),this.value=this.inputElement.value)}get isLabelHidden(){return this.variant===d.VARIANT.LABEL_HIDDEN}get i18n(){return E}get computedLabelClass(){return r.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get inputElement(){return this._inputElement||(this._inputElement=h.isCSR?this.template.querySelector("textarea"):null,h.decorateInputForDragon(this._inputElement)),this._inputElement}get _constraint(){return this._constraintApi||(this._constraintApi=new d.FieldConstraintApiWithProxyInput(()=>this,{valueMissing:()=>this._required&&d.isEmptyString(this._value),tooShort:()=>this._connected&&this.inputElement.validity.tooShort,tooLong:()=>this._connected&&this.inputElement.validity.tooLong},"textarea"),this._constraintApiProxyInputUpdater=this._constraint.setInputAttributes({value:()=>this.value,maxlength:()=>this.maxLength,minlength:()=>this.minLength,disabled:()=>this.disabled,readonly:()=>this.readOnly,required:()=>this.required})),this._constraintApi}get computedAriaInvalid(){return h.computeAriaInvalid(this._helpMessage,this.value)}get helptextAlternativeText(){return r.formatLabel(E.helpTextAlternativeText,this.label)}constructor(){super(),this._maxLength=void 0,this._minLength=void 0,this._defaultValue="",this._disabled=!1,this._required=!1,this._readOnly=!1,this._variant=void 0,this._helpMessage=void 0,this._fieldLevelHelp=void 0,this._ariaDescribedBy="",this._ariaLabelledBy="",this._helpMessageChanged=!1,this.ariaObserver=null,this.autocomplete=void 0,this.label=void 0,this.placeholder=void 0,this.name=void 0,this.messageWhenBadInput=void 0,this.messageWhenTooShort=void 0,this.messageWhenTooLong=void 0,this.messageWhenValueMissing=void 0,this.accessKey=void 0,this.ariaObserver=new b.default(this),this._isNativeShadow=h.isNativeComponent(this)}connectedCallback(){super.connectedCallback(),this.ariaObserver||(this.ariaObserver=new b.default(this)),this.updateHostClassList(),this._connected=!0,this.interactingState=new d.InteractingState,this.interactingState.onleave(()=>this.showHelpMessageIfInvalid())}renderedCallback(){if(this.isConnected&&this.ariaObserver.sync(this._isNativeShadow),!this._rendered){this.connectAriaDescribedBy(),this.connectAriaLabelledBy(),this._rendered=!0,this._setInputValue(this._defaultValue);const e=this.template.querySelector(".textarea-container");this.touchScroller=new o.TouchScroller(e)}this._helpMessageChanged&&(this.connectAriaDescribedBy(),this._helpMessageChanged=!1)}disconnectedCallback(){this._connected=!1,this.ariaObserver&&this.ariaObserver.disconnect&&(this.ariaObserver.disconnect(),this.ariaObserver=null)}handleFocus(){this.interactingState.enter(),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(){this.interactingState.leave(),this.dispatchEvent(new CustomEvent("blur"))}handleChange(e){e.stopPropagation()}handleInput(e){e.stopPropagation(),this._connected&&this._value!==e.target.value&&(this.interactingState.interacting(),this._value=this.inputElement.value,this._updateProxyInputAttributes("value"),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:this._value}})))}connectAriaDescribedBy(){const e=h.isCSR?this.template.querySelector("[data-help-message]"):null;this.ariaObserver.connect({targetSelector:"textarea",attribute:"aria-describedby",relatedNodeIds:this.ariaDescribedBy,relatedNodes:e})}connectAriaLabelledBy(){this.ariaObserver.connect({targetSelector:"textarea",attribute:"aria-labelledby",relatedNodeIds:this.ariaLabelledBy})}_setInputValue(e){h.setDecoratedDragonInputValueWithoutEvent(this.inputElement,e)}_updateProxyInputAttributes(e){this._constraintApiProxyInputUpdater&&this._constraintApiProxyInputUpdater(e)}updateHostClassList(){h.classListMutation(this.classList,{"slds-form-element":!0,"slds-form-element_stacked":this.variant===d.VARIANT.LABEL_STACKED,"slds-form-element_horizontal":this.variant===d.VARIANT.LABEL_INLINE})}}S.delegatesFocus=!0,S.validationOptOut=["class"],t.registerDecorators(S,{publicProps:{autocomplete:{config:0},label:{config:0},placeholder:{config:0},name:{config:0},messageWhenBadInput:{config:0},messageWhenTooShort:{config:0},messageWhenTooLong:{config:0},messageWhenValueMissing:{config:0},accessKey:{config:0},ariaDescribedBy:{config:3},ariaLabelledBy:{config:3},maxLength:{config:3},minLength:{config:3},value:{config:3},disabled:{config:3},fieldLevelHelp:{config:3},readOnly:{config:3},required:{config:3},variant:{config:3},validity:{config:1}},publicMethods:["checkValidity","reportValidity","setCustomValidity","showHelpMessageIfInvalid","focus","blur","setRangeText"],track:{_maxLength:1,_minLength:1,_defaultValue:1,_disabled:1,_required:1,_readOnly:1,_variant:1,_helpMessage:1,_fieldLevelHelp:1},fields:["_ariaDescribedBy","_ariaLabelledBy","_helpMessageChanged","ariaObserver"]});const V=t.registerComponent(S,{tmpl:C,sel:"lightning-textarea",apiVersion:62});S.interopMap={exposeNativeEvent:{change:!0,focus:!0,blur:!0}},e.default=V,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("embeddedMessaging/secureFormField",["exports","lwc","lightning/input","lightning/textarea","lightning/icon","embeddedMessaging/labelUtils","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/globalEventStore"],function(e,t,i,n,l,s,r,a,o){function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=u(i),d=u(n),c=u(l);var h=[function(e,t,i){var n=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"--sds-c-input-color-border-focus: var(--secondaryColor, #005290);--sds-c-input-shadow-focus: var(--secondaryColor, #005290);--sds-c-textarea-color-border-focus: var(--secondaryColor, #005290);--sds-c-textarea-shadow-focus: var(--secondaryColor, #005290);}.textAreaCharacterIndicator"+n+"{font-size: 0.75rem;color: var(--contrastPrimaryColor, #333333);text-align: right;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+".textAreaCharacterIndicator"+n+"{font-size: 0.75rem;color: var(--contrastPrimaryColor, #333333);text-align: left;}.option"+n+"{width: 100%;display: flex;height: 2.5em;color: var(--contrastPrimaryColor, #333333);justify-content: space-between;}.option:focus"+n+"{box-shadow: 0 0 3px 0 var(—secondaryColor, #005290);}.selectOption"+n+'{padding-top: 0.5rem;}[aria-checked="true"]'+n+" {border: 2px solid var(--secondaryColor, #005290);background-image: linear-gradient(to bottom left, var(--secondaryColor, #005290) 50%, transparent 50%);background-size: 15% 60%;background-repeat: no-repeat;background-position: top right;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+'[aria-checked="true"]'+n+' {background-image: linear-gradient(to bottom right, var(--secondaryColor, #005290) 50%, transparent 50%);background-position: top left;}[aria-checked="false"]'+n+" {border: 1px solid var(--slds-g-color-neutral-base-60, #939393);}.selectedIconWrapper"+n+"{margin-right: -0.75rem;padding-bottom: 1.5rem;position: unset;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+".selectedIconWrapper"+n+"{margin-right: 0;margin-left: -0.75rem;}.optionSelectInputText"+n+"{padding-top: 0.5rem;padding-bottom: 0.25rem;font-size: 0.8rem;}.optionSelectInputRequiredError"+n+"{padding-top: 0.25rem;font-size: 0.75rem;color: red;}.requiredAsterisk"+n+"{font-size: 0.8rem;color: red;padding-right: 0.1rem;}"}];const I=t.parseFragment`<p${"a0:id"}${3}>${"t1"}</p>`,g=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,f=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,S=t.parseFragment`<div${"a0:id"} class="textAreaCharacterIndicator${0}"${2}>${"t1"}</div>`,m=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,T=t.parseFragment`<span class="requiredAsterisk${0}"${2}>*</span>`,E=t.parseFragment`<span${"a0:value"}${3}>${"t1"}</span>`,F=t.parseFragment`<div class="optionSelectInputRequiredError${0}"${2}>${"t1"}</div>`,O={classMap:{"form-content":!0},key:0},y={"secure-forms-text-input":!0},b={optionSelectInputText:!0},x={"secure-forms-option-select-input":!0},_={selectOption:!0},M={"slds-button":!0,"slds-p-around_medium":!0,option:!0},k={classMap:{selectedIconWrapper:!0,"slds-is-fixed":!0},props:{iconName:"utility:check",size:"xx-small"},key:22},v={attrs:{role:"status"},key:23};function C(e,t,i,n){const{gid:l,d:s,sp:r,st:a,b:o,c:u,t:h,h:C,k:N,i:V}=e,{_m0:R,_m1:A,_m2:L,_m3:D,_m4:P,_m5:q,_m6:B,_m7:w,_m8:U,_m9:K,_m10:$,_m11:H}=n;return[C("div",O,[a(I,2,[r(0,{attrs:{id:l("inputFieldTitle")}},null),r(1,null,s(t.inputFieldTitle))]),t.isTextInput&&t.isTextInputSingleLine?u("lightning-input",p.default,{classMap:y,props:{type:"text",label:t.inputFieldHintText,maxLength:t.inputFieldMaxLength,pattern:t.inputFieldRegEx,messageWhenPatternMismatch:t.labels.regexPatternMismatch,required:t.isFieldRequired,messageWhenValueMissing:t.labels.requiredInputMissing,placeholder:t.inputFieldPlaceholderText,value:t.fieldValue,title:t.inputFieldHintText,ariaLabel:t.inputFieldTitle},key:3,on:{blur:R||(n._m0=o(t.handleLightningInputValidation)),change:A||(n._m1=o(t.handleLightningInputValidation)),keydown:L||(n._m2=o(t.handleInputKeyDown))}},[a(g,5,[r(1,null,s(t.inputFieldHintText))])]):null,t.isTextInput?t.isTextInputSingleLine?null:u("lightning-textarea",d.default,{classMap:y,props:{placeholder:t.inputFieldPlaceholderText,value:t.fieldValue,label:t.inputFieldHintText,maxLength:t.inputFieldMaxLength,required:t.isFieldRequired,messageWhenValueMissing:t.labels.requiredInputMissing,title:t.inputFieldHintText,ariaLabel:t.inputFieldTitle,ariaDescribedBy:l("characterIndicator")},key:6,on:{blur:D||(n._m3=o(t.handleTextAreaChange)),change:P||(n._m4=o(t.handleTextAreaChange)),keydown:q||(n._m5=o(t.handleInputKeyDown))}},[a(f,8,[r(1,null,s(t.inputFieldHintText))])]):null,t.isTextInput?t.isTextInputSingleLine?null:a(S,10,[r(0,{attrs:{id:l("characterIndicator")}},null),r(1,null,s(t.textAreaCharacterIndicatorText))]):null,t.datePickerInputType?u("lightning-input",p.default,{props:{type:t.datePickerInputType,required:t.isFieldRequired,messageWhenValueMissing:t.labels.requiredInputMissing,messageWhenPatternMismatch:t.labels.regexPatternMismatch,label:t.inputFieldHintText,value:t.inputFieldStartDate,min:t.inputFieldMinDate,max:t.inputFieldMaxDate,title:t.inputFieldHintText,ariaLabel:t.inputFieldTitle},key:11,on:{blur:B||(n._m6=o(t.handleLightningInputValidation)),change:w||(n._m7=o(t.handleLightningInputValidation)),keydown:U||(n._m8=o(t.handleInputKeyDown))}},[a(m,13,[r(1,null,s(t.inputFieldHintText))])]):null,t.isOptionSelectInput?C("label",{classMap:b,attrs:{id:l("optionSelectInputText"),"aria-describedby":l("inputFieldTitle")},key:14},[t.isFieldRequired?a(T,16):null,h(s(t.optionSelectInputText))]):null,t.isOptionSelectInput?C("div",{classMap:x,attrs:{role:"group","aria-label":t.optionSelectInputText},key:17},V(t.inputSelectOptions,function(e){return C("div",{classMap:_,key:N(18,e.optionIdentifier)},[C("button",{classMap:M,attrs:{role:t.optionType,value:e.optionIdentifier,"aria-checked":e.ariaIsChecked,tabindex:"-1"},key:19,on:{click:K||(n._m9=o(t.onOptionsClick)),keydown:$||(n._m10=o(t.onOptionsKeyDown)),blur:H||(n._m11=o(t.onOptionsBlur))}},[a(E,21,[r(0,{attrs:{value:e.optionIdentifier}},null),r(1,null,s(e.titleItem.title))]),e.isSelected?u("lightning-icon",c.default,k):null])])})):null,t.isOptionSelectInput?C("div",v,[t.inputSelectOptionsShowErrorMessage?a(F,25,[r(1,null,s(t.labels.RequiredSelectInputMissing))]):null]):null])]}var N=t.registerTemplate(C);C.stylesheets=[],C.stylesheetToken="lwc-637s2o1u6af",C.legacyStylesheetToken="embeddedMessaging-secureFormField_secureFormField",h&&C.stylesheets.push.apply(C.stylesheets,h),t.freezeTemplate(C);class V extends t.LightningElement{constructor(...e){super(...e),this.labels={},this.fieldType=void 0,this.fieldInfo={},this.fieldValue=void 0,this.disablePreviousButton=void 0,this.disableNextButton=void 0,this.inputSelectOptions=[],this.inputSelectOptionsValue=[],this.initialFieldRender=!0,this.inputSelectOptionsShowErrorMessage=!1,this.setFocusOnFirstSelectOption=!1,this.previousIndex=0,this.textAreaCharacterCount=0}get isTextInput(){return this.fieldInfo.input.inputType===r.FormInputType.TEXT_INPUT}get inputFieldTitle(){return this.fieldInfo.input&&this.fieldInfo.input.label&&this.fieldInfo.input.label.title?this.fieldInfo.input.label.title:""}get inputFieldHintText(){let e=this.labels.textInputSelect;return this.datePickerInputType&&(e=this.labels.datetimeInputSelect),this.fieldInfo.input&&this.fieldInfo.input.hintText&&this.fieldInfo.input.hintText||e}get isFieldRequired(){return!!this.fieldInfo.input&&Boolean(this.fieldInfo.input.required)}get textInputType(){if(this.fieldInfo.input&&this.fieldInfo.input.keyboardType)switch(this.fieldInfo.input.keyboardType){case r.TextInputKeyboardType.NUMBER:return r.InputElementType.NUMBER;case r.TextInputKeyboardType.PHONE:return r.InputElementType.PHONE;case r.TextInputKeyboardType.EMAIL:return r.InputElementType.EMAIL}return"text"}get isTextInputSingleLine(){return!this.fieldInfo.input||!this.fieldInfo.input.textInputType||"Singleline"===this.fieldInfo.input.textInputType}get isTextInputURL(){return this.fieldInfo.input&&this.fieldInfo.input.keyboardType&&this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.URL}get isTextInputEmail(){return this.fieldInfo.input&&this.fieldInfo.input.keyboardType&&this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.EMAIL}get isTextInputNumber(){return this.fieldInfo.input&&this.fieldInfo.input.keyboardType&&(this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.NUMBER||this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.DECIMAL)}get isTextInputPhone(){return this.fieldInfo.input&&this.fieldInfo.input.keyboardType&&this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.PHONE}get inputFieldPlaceholderText(){return this.fieldInfo.input&&this.fieldInfo.input.placeholder?this.fieldInfo.input.placeholder:""}get inputFieldRegEx(){return this.fieldInfo.input&&this.fieldInfo.input.regEx?this.fieldInfo.input.regEx:this.isTextInputURL?a.URL_VALIDATION_REGEX:this.isTextInputEmail?r.EMAIL_VALIDATION_REGEX:this.isTextInputNumber?a.NUMBER_VALIDATION_REGEX:this.isTextInputPhone?a.PHONE_NUMBER_VALIDATION_REGEX:this.isFieldRequired?r.AT_LEAST_ONE_NON_WHITESPACE_CHAR_REGEX:void 0}get inputFieldMaxLength(){if(this.fieldInfo.input&&this.fieldInfo.input.maximumCharacterCount)return this.fieldInfo.input.maximumCharacterCount}get textAreaCharacterIndicatorText(){return this.inputFieldMaxLength?this.textAreaCharacterCount.toString()+"/"+this.inputFieldMaxLength.toString():""}handleInputKeyDown(e){e&&e.key===a.KEY_CODES.TAB&&!e.shiftKey&&this.disablePreviousButton&&this.disableNextButton&&(e.preventDefault(),o.dispatchEvent(a.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}handleTextAreaChange(e){e&&e.detail&&(e.detail.value?this.textAreaCharacterCount=e.detail.value.length:this.textAreaCharacterCount=0),this.handleLightningInputValidation()}handleLightningInputValidation(){if(this.isTextInput||this.datePickerInputType){const e=this.querySelectInputField();e&&(e.checkValidity()?(e.setAttribute("aria-invalid",!1),o.dispatchFormEvent(o.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON,{})):(e.setAttribute("aria-invalid",!0),o.dispatchFormEvent(o.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON,{})))}}get isDatepickerInput(){return this.fieldInfo.input.inputType===r.FormInputType.DATE_PICKER_INPUT}get datePickerInputType(){if(this.isDatepickerInput)return"string"==typeof this.fieldInfo.input.dateFormat?this.fieldInfo.input.dateFormat.includes("T")?"datetime":"date":"datetime"}get inputFieldMaxDate(){if(this.fieldInfo.input&&this.fieldInfo.input.maximumDate)return this.fieldInfo.input.maximumDate}get inputFieldMinDate(){if(this.fieldInfo.input&&this.fieldInfo.input.minimumDate)return this.fieldInfo.input.minimumDate}get inputFieldStartDate(){return this.fieldValue?this.fieldValue:this.fieldInfo.input&&this.fieldInfo.input.startDate?this.fieldInfo.input.startDate:""}get isOptionPickerInput(){return this.fieldInfo.input.inputType===r.FormInputType.OPTION_PICKER_INPUT}get isSelectInput(){return this.fieldInfo.input.inputType===r.FormInputType.SELECT_INPUT}get isOptionSelectInput(){return this.isOptionPickerInput||this.isSelectInput}get isOptionSelectInputMultipleSelection(){return Boolean(this.fieldInfo.input.multipleSelection)}get optionSelectInputText(){return this.isOptionSelectInputMultipleSelection?this.labels.optionSelectInputMultipleSelect:this.labels.optionSelectInputSingleSelect}get optionType(){return this.isOptionSelectInputMultipleSelection?"checkbox":"radio"}initializeSelectOptions(){let e;const t=this.isOptionPickerInput&&!this.fieldValue,i=this.fieldInfo.input.selectedOptionIndex?this.fieldInfo.input.selectedOptionIndex-1:0;this.inputSelectOptions=[],this.inputSelectOptionsValue=[],this.fieldValue&&Array.isArray(this.fieldValue)&&this.fieldValue.forEach(e=>{this.inputSelectOptionsValue.push(e.optionIdentifier)}),this.fieldInfo.input.optionItems.forEach((n,l)=>{this.inputSelectOptions.push({...n}),e=this.inputSelectOptions[l],this.inputSelectOptionsValue.includes(n.optionIdentifier)?(e.isSelected=!0,e.ariaIsChecked=String(e.isSelected)):t&&l===i?(e.isSelected=!0,e.ariaIsChecked=String(e.isSelected),this.inputSelectOptionsValue.push(n.optionIdentifier)):(e.isSelected=!1,e.ariaIsChecked=String(e.isSelected))}),this.setFocusOnFirstSelectOption=!0}onOptionsClick(e){let t;e&&(e.preventDefault(),e.target&&e.target.getAttribute("value")&&(t=e.target.getAttribute("value"),this.isOptionSelectInputMultipleSelection?this.handleMultipleSelectOptionClick(t):this.handleSingleSelectOptionClick(t)),this.isSelectInput&&this.isFieldRequired&&this.handleSelectInputValidation())}onOptionsKeyDown(e){e&&(e.key===a.KEY_CODES.ENTER||e.key===a.KEY_CODES.SPACE?(e.preventDefault(),e.currentTarget.click()):e.key===a.KEY_CODES.DOWN?(e.preventDefault(),e.currentTarget.setAttribute("tabindex",-1),this.setFocusOnNextOption(e.currentTarget.parentElement)):e.key===a.KEY_CODES.UP?(e.preventDefault(),e.currentTarget.setAttribute("tabindex",-1),this.setFocusOnPreviousOption(e.currentTarget.parentElement)):e.key===a.KEY_CODES.TAB&&!e.shiftKey&&this.disablePreviousButton&&this.disableNextButton&&(e.preventDefault(),o.dispatchEvent(a.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0})))}handleSingleSelectOptionClick(e){let t,i;const n=this.inputSelectOptions.find(t=>t.optionIdentifier===e);n.isSelected?this.isSelectInput&&(n.isSelected=!1,n.ariaIsChecked=String(n.isSelected),this.inputSelectOptionsValue.pop()):(1===this.inputSelectOptionsValue.length&&(t=this.inputSelectOptionsValue.pop(),i=this.inputSelectOptions.find(e=>e.optionIdentifier===t),i.isSelected=!1,i.ariaIsChecked=String(i.isSelected)),n.isSelected=!0,n.ariaIsChecked=String(n.isSelected),this.inputSelectOptionsValue.push(e))}handleMultipleSelectOptionClick(e){const t=this.inputSelectOptions.find(t=>t.optionIdentifier===e);t.isSelected?(this.isSelectInput||this.isOptionPickerInput&&this.inputSelectOptionsValue.length>1)&&(t.isSelected=!1,t.ariaIsChecked=String(t.isSelected),this.inputSelectOptionsValue.splice(this.inputSelectOptionsValue.indexOf(e),1)):(t.isSelected=!0,t.ariaIsChecked=String(t.isSelected),this.inputSelectOptionsValue.push(e))}optionSelectValue(){let e;const t=[];return this.inputSelectOptionsValue.forEach(i=>{e=this.inputSelectOptions.find(e=>e.optionIdentifier===i),t.push({optionTitle:{itemType:e.titleItem.itemType,title:e.titleItem.title},optionIdentifier:e.optionIdentifier})}),t}onOptionsBlur(){this.isSelectInput&&this.isFieldRequired&&this.handleSelectInputValidation()}handleSelectInputValidation(){0===this.inputSelectOptionsValue.length?(this.inputSelectOptionsShowErrorMessage=!0,o.dispatchFormEvent(o.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON,{})):(this.inputSelectOptionsShowErrorMessage=!1,o.dispatchFormEvent(o.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON,{}))}selectOptionsRendered(){const e=this.queryFirstSelectOption();return e&&e.value===this.inputSelectOptions[0].optionIdentifier}setFocusOnNextOption(e){const t=a.util.querySelectItem(e,1);t&&(t.removeAttribute("tabindex"),this.setFocusOnElement(t))}setFocusOnPreviousOption(e){const t=a.util.querySelectItem(e,-1);t&&(t.removeAttribute("tabindex"),this.setFocusOnElement(t))}connectedCallback(){this.handleLabels(),this.applyStyling(),o.assignFormEventHandler(o.FORM_EVENTS.FIELD_CHANGE,this.newFormField.bind(this))}renderedCallback(){this.initialFieldRender&&(this.initialFieldRender=!1,this.isOptionSelectInput?(this.inputSelectOptionsShowErrorMessage=!1,this.setFocusOnFirstSelectOption=!1,this.initializeSelectOptions()):(!this.isTextInputSingleLine&&this.fieldValue&&(this.textAreaCharacterCount=this.fieldValue.length),this.setFocusOnField()),this.handleInitialFieldValidation(),this.previousIndex=this.fieldInfo.input.id),this.setFocusOnFirstSelectOption&&this.selectOptionsRendered()&&(this.setFocusOnField(),this.setFocusOnFirstSelectOption=!1)}disconnectedCallback(){o.clearHandlersForFormEvent(o.FORM_EVENTS.FIELD_CHANGE)}handleInitialFieldValidation(){this.isFieldRequired?this.isSelectInput&&0===this.inputSelectOptionsValue.length?o.dispatchFormEvent(o.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON,{}):this.handleLightningInputValidation():o.dispatchFormEvent(o.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON,{}),this.previousIndex>this.fieldInfo.input.id&&this.lightingInputStylingFieldValidation()}lightingInputStylingFieldValidation(){if(this.isTextInput||this.datePickerInputType){const e=this.querySelectInputField();e&&e.reportValidity()}}newFormField(){this.initialFieldRender=!0}setFocusOnElement(e){a.util.waitForFrame(()=>{e&&e.focus()})}setFocusOnField(){if(this.isOptionSelectInput){const e=this.queryFirstSelectOption();e&&(e.removeAttribute("tabindex"),this.setFocusOnElement(e))}else this.setFocusOnElement(this.querySelectInputField())}get value(){let e,t="";return this.isOptionSelectInput?t=this.optionSelectValue():(e=this.querySelectInputField(),e&&(t=this.querySelectInputField.value)),t}querySelectInputField(){return this.isTextInput?this.template.querySelector(".secure-forms-text-input"):this.template.querySelector("lightning-input")}queryFirstSelectOption(){return this.template&&this.template.querySelector("button:first-child")?this.template.querySelector("button:first-child"):void 0}handleLabels(){this.labels.optionSelectInputSingleSelect=s.getLabel("EmbeddedMessagingSecureForm","OptionSelectInputSingleSelectInstruction"),this.labels.optionSelectInputMultipleSelect=s.getLabel("EmbeddedMessagingSecureForm","OptionSelectInputMultipleSelectInstruction"),this.labels.textInputSelect=s.getLabel("EmbeddedMessagingSecureForm","TextInputSelectInstruction"),this.labels.datetimeInputSelect=s.getLabel("EmbeddedMessagingSecureForm","DatePickerInputSelectInstruction"),this.labels.requiredInputMissing=s.getLabel("EmbeddedMessagingSecureForm","RequiredInputMissing"),this.labels.regexPatternMismatch=s.getLabel("EmbeddedMessagingSecureForm","RegexPatternMismatch"),this.labels.RequiredSelectInputMissing=s.getLabel("EmbeddedMessagingSecureForm","RequiredSelectInputMissing")}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule(".slds-icon-text-default { fill: var(--slds-g-color-neutral-base-100, #ffffff); }",0),e.sheet.insertRule(".slds-textarea { max-height: 20rem; }",0))}}t.registerDecorators(V,{publicProps:{fieldType:{config:0},fieldInfo:{config:0},fieldValue:{config:0},disablePreviousButton:{config:0},disableNextButton:{config:0},isTextInput:{config:1},inputFieldTitle:{config:1},textInputType:{config:1},isDatepickerInput:{config:1},datePickerInputType:{config:1},value:{config:1}},publicMethods:["setFocusOnField","querySelectInputField"],track:{labels:1,inputSelectOptions:1},fields:["inputSelectOptionsValue","initialFieldRender","inputSelectOptionsShowErrorMessage","setFocusOnFirstSelectOption","previousIndex","textAreaCharacterCount"]});const R=t.registerComponent(V,{tmpl:N,sel:"embeddedMessaging-secure-form-field",apiVersion:62});e.default=R,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/secureFormField', ['embeddedMessaging/secureFormField'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/confirmationDialog",["exports","lwc","embeddedMessaging/common","embeddedMessaging/globalEventStore"],function(t,e,o,n){var i=[function(t,e,o){var n=t?"["+t+"]":"";return(e?":host {":(t?"["+t+"-host]":"")+" {")+"font-family: var(--font, Arial, sans-serif);font-size: var(--baseFontSize, medium);position: absolute;width: 100%;}.confirmation-dialog"+n+" {display: flex;flex-direction: column;flex: 1 1 auto;text-align: center;align-content: stretch;justify-content: center;height: calc(100vh - 50px);background: var(--slds-g-color-neutral-base-100, #FFFFFF);}.confirmation-dialog-content"+n+" {display: flex;flex-direction: column;flex: 1 1 auto;justify-content: center;text-align: center;padding: 0 24px;}h3.confirmation-dialog-title"+n+" {margin: 0 0 4px;font-size: 1.125em;font-weight: 700;line-height: 27px;}span.confirmation-dialog-body"+n+" {margin: 4px 0 0;font-size: 0.75em;font-weight: 400;line-height: 21px;}.confirmation-dialog-footer"+n+" {display: flex;flex-direction: column;flex: 0 1 auto;padding: 0 24px 16px;box-sizing: border-box;}.confirmation-dialog-button"+n+" {min-height: 2rem;border: none;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;border-radius: 22px;border: var(--secondaryColor, #005290) 1px solid;}.confirmation-dialog-button:focus"+n+" {outline: none;box-shadow: 0 0 3px 0 var(--secondaryColor, #005290);text-shadow: none;text-decoration: underline;text-decoration-color: var(--slds-g-color-neutral-base-100, #FFFFFF);}.confirmButton"+n+" {background: var(--secondaryColor, #005290);color: var(--slds-g-color-neutral-base-100, #FFFFFF);}.cancelButton"+n+" {background: var(--slds-g-color-neutral-base-100, #FFFFFF);color: var(--secondaryColor, #005290);}"}];const l=e.parseFragment`<div class="confirmation-dialog${0}"${2}><div class="confirmation-dialog-content${0}"${2}><h3 class="confirmation-dialog-title${0}" tabindex="-1"${2}>${"t3"}</h3><span class="confirmation-dialog-body${0}"${2}>${"t5"}</span></div><div class="confirmation-dialog-footer${0}"${2}><button class="confirmButton confirmation-dialog-button slds-m-vertical_xx-small${0}"${"a7:title"}${"a7:label"}${2}>${"t8"}</button><button class="cancelButton confirmation-dialog-button slds-m-vertical_xx-small${0}"${"a9:title"}${"a9:label"}${2}>${"t10"}</button></div></div>`;function a(t,e,o,n){const{d:i,b:a,sp:s,st:c}=t,{_m0:r,_m1:d,_m2:u}=n;return[c(l,1,[s(3,null,i(e.dialogTitleText)),s(5,null,i(e.dialogBodyText)),s(7,{on:{click:r||(n._m0=a(e.onConfirmButtonClick))},attrs:{title:e.confirmButtonLabel,label:e.confirmButtonLabel}},null),s(8,null,i(e.confirmButtonLabel)),s(9,{on:{click:d||(n._m1=a(e.onCancelButtonClick)),keydown:u||(n._m2=a(e.onCancelButtonKeyChange))},attrs:{title:e.cancelButtonLabel,label:e.cancelButtonLabel}},null),s(10,null,i(e.cancelButtonLabel))])]}var s=e.registerTemplate(a);a.stylesheets=[],a.stylesheetToken="lwc-ba1utdh9ro",a.legacyStylesheetToken="embeddedMessaging-confirmationDialog_confirmationDialog",i&&a.stylesheets.push.apply(a.stylesheets,i),e.freezeTemplate(a);const c="EmbeddedMessaging-ConfirmationDialog";class r extends e.LightningElement{constructor(...t){super(...t),this.dialogTitleText=void 0,this.dialogBodyText=void 0,this.confirmButtonLabel=void 0,this.cancelButtonLabel=void 0,this._initialRender=!0}onConfirmButtonClick(t){this.dispatchEvent(new CustomEvent(o.events.EMBEDDED_MESSAGING_DIALOG_CONFIRM_BUTTON_CLICK)),o.LoggingUtil.logInteraction(t,this,c,{method:"onConfirmButtonClick",feature:"confirmButton confirmation-dialog-button"})}onCancelButtonClick(t){this.dispatchEvent(new CustomEvent(o.events.EMBEDDED_MESSAGING_DIALOG_CANCEL_BUTTON_CLICK)),o.LoggingUtil.logInteraction(t,this,c,{method:"onCancelButtonClick",feature:"cancelButton confirmation-dialog-button"})}onCancelButtonKeyChange(t){t.key!==o.KEY_CODES.TAB||t.shiftKey||(t.preventDefault(),n.dispatchEvent(o.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}renderedCallback(){this._initialRender&&(this._initialRender=!1,this.setFocusOnDialogTitle())}setFocusOnElement(t){o.util.waitForFrame(()=>{t&&t.focus()})}setFocusOnDialogTitle(){const t=this.querySelectDialogTitle();t&&this.setFocusOnElement(t)}setFocusOnCancelButton(){const t=this.querySelectCancelButton();t&&this.setFocusOnElement(t)}querySelectDialogTitle(){return this.template&&this.template.querySelector(".confirmation-dialog-title")?this.template.querySelector(".confirmation-dialog-title"):void 0}querySelectCancelButton(){return this.template&&this.template.querySelector("button.cancelButton")?this.template.querySelector("button.cancelButton"):void 0}}e.registerDecorators(r,{publicProps:{dialogTitleText:{config:0},dialogBodyText:{config:0},confirmButtonLabel:{config:0},cancelButtonLabel:{config:0}},publicMethods:["setFocusOnCancelButton"],fields:["_initialRender"]});const d=e.registerComponent(r,{tmpl:s,sel:"embeddedMessaging-confirmation-dialog",apiVersion:62});t.default=d,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/confirmationDialog', ['embeddedMessaging/confirmationDialog'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/secureForm",["exports","lwc","embeddedmessaging/secureFormField","embeddedmessaging/formFooter","embeddedmessaging/confirmationDialog","embeddedMessaging/labelUtils","embeddedMessaging/constants","embeddedMessaging/globalEventStore","embeddedMessaging/common","lightningsnapin/eventStore"],function(e,t,n,i,s,o,l,r,u,a){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=d(n),T=d(i),c=d(s);var m=[function(e,t,n){var i=e?"["+e+"]":"";return"embeddedmessaging-form-footer"+i+" {border: 5px;height: 80px;display: flex;flex-direction: row;justify-content: space-evenly;align-items: center;background-color: #F3F3F3;}.secureForm.confirmationDialog"+i+" {display: none;}"}];const p={classMap:{"form-content":!0,"slds-p-around_medium":!0},key:0};function h(e,t,n,i){const{ncls:s,c:o,h:l,b:r}=e,{_m0:u,_m1:a}=i;return[l("div",p,[o("embeddedmessaging-secure-form-field",E.default,{className:s(t.generateSecureFormClass),props:{fieldType:t.currentFieldInputType,fieldInfo:t.currentFormField,fieldValue:t.currentInputValue.inputValue,disablePreviousButton:t.shouldDisablePreviousButton,disableNextButton:t.shouldDisableNextButton},key:1})]),o("embeddedmessaging-form-footer",T.default,{className:s(t.generateSecureFormClass),props:{fieldInfo:t.currentFormField,progress:t.progress,disablePreviousButton:t.shouldDisablePreviousButton,disableNextButton:t.shouldDisableNextButton},key:2}),t.shouldShowConfirmationDialog?o("embeddedmessaging-confirmation-dialog",c.default,{props:{dialogTitleText:t.labels.DialogTitleText,dialogBodyText:t.labels.DialogBodyText,confirmButtonLabel:t.labels.ConfirmButtonLabel,cancelButtonLabel:t.labels.CancelButtonLabel},key:3,on:{confirmbuttonclick:u||(i._m0=r(t.onCloseConfirmationDialogConfirm)),cancelbuttonclick:a||(i._m1=r(t.onCloseConfirmationDialogCancel))}}):null]}var F=t.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-1101b9cvjdn",h.legacyStylesheetToken="embeddedMessaging-secureForm_secureForm",m&&h.stylesheets.push.apply(h.stylesheets,m),t.freezeTemplate(h);const _=t.registerComponent(class{constructor(e,t,n,i,s){switch(this._inputValueType=void 0,this._inputId=void 0,this._inputLabel=void 0,this._inputValue=void 0,this._valueType=void 0,this._inputId=t,this._inputLabel=n,this._inputValue=s,this._valueType=i,e){case l.FormInputType.SELECT_NAVIGATION_INPUT:case l.FormInputType.SELECT_INPUT:case l.FormInputType.OPTION_PICKER_INPUT:this._inputValueType=l.InputValueType.SELECTED_OPTIONS_INPUT_VALUE;break;case l.FormInputType.DATE_PICKER_INPUT:case l.FormInputType.TEXT_INPUT:default:this._inputValueType=l.InputValueType.SINGLE_INPUT_VALUE}}get inputValueType(){return this._inputValueType}get inputId(){return this._inputId}get inputLabel(){return this._inputLabel}get inputValue(){return this._inputValue}set inputValue(e){this._inputValue=e}get valueType(){return this._valueType}get isNonEmpty(){return this.inputValueType===l.InputValueType.SINGLE_INPUT_VALUE?"string"==typeof this.inputValue&&""!==this.inputValue:this.inputValueType===l.InputValueType.SELECTED_OPTIONS_INPUT_VALUE&&(Array.isArray(this.inputValue)&&this.inputValue.length>0)}toJsonObject(){const e={inputValueType:this.inputValueType,inputId:this.inputId};return e.inputlabel={itemType:l.TitleItemTypes.TITLE_ITEM,title:this.inputLabel},this.inputValueType===l.InputValueType.SINGLE_INPUT_VALUE?(e.value={valueType:this.valueType},e.value[this.valueType.charAt(0).toLowerCase()+this.valueType.slice(1)]=this.inputValue):this.inputValueType===l.InputValueType.SELECTED_OPTIONS_INPUT_VALUE&&(e.selectedOptions=this.inputValue),e}},{tmpl:void 0,sel:"embeddedMessaging-secure-form",apiVersion:62});class I extends t.LightningElement{constructor(...e){super(...e),this.labels={},this.formTitle=void 0,this.formInputData=void 0,this._currentFieldIndex=0,this._currentFormField={},this.formValues=[],this.shouldDisablePreviousButton=!1,this.shouldDisableNextButton=!1,this.shouldShowConfirmationDialog=!1}get currentFieldIndex(){return this._currentFieldIndex}set currentFieldIndex(e){this._currentFieldIndex=e,r.clearHandlersForFormEvent(r.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED),r.clearHandlersForFormEvent(r.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED),r.assignFormEventHandler(r.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED,this.onPreviousButtonClick.bind(this)),r.assignFormEventHandler(r.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED,this.onNextButtonClick.bind(this))}get currentFormField(){return this.formInputData[this.currentFieldIndex]}get currentInputValue(){return this.formValues[this.currentFieldIndex]?this.formValues[this.currentFieldIndex]:""}set currentInputValue(e){this.formValues[this.currentFieldIndex]=e}get currentFieldInputType(){return this.currentFormField.input.inputType}get generateSecureFormClass(){let e="secureForm";return this.shouldShowConfirmationDialog&&(e+=" confirmationDialog"),e}currentFieldValueType(){const e=this.querySelectFormFieldElement();switch(this.currentFieldInputType){case l.FormInputType.DATE_PICKER_INPUT:return e&&"datetime"===e.datePickerInputType?l.FormValueType.DATETIME_VALUE:l.FormValueType.DATE_VALUE;case l.FormInputType.TEXT_INPUT:switch(e.textInputType){case l.InputElementType.URL:return l.FormValueType.URL_VALUE;case l.InputElementType.NUMBER:return l.FormValueType.DOUBLE_VALUE;case l.InputElementType.PHONE:case l.InputElementType.EMAIL:default:return l.FormValueType.TEXT_VALUE}case l.FormInputType.SELECT_NAVIGATION_INPUT:case l.FormInputType.SELECT_INPUT:case l.FormInputType.OPTION_PICKER_INPUT:default:return null}}get progress(){return(this.currentFieldIndex+1)/this.formInputData.length*100}connectedCallback(){this.handleLabels(),r.assignFormEventHandler(r.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED,this.onPreviousButtonClick.bind(this)),r.assignFormEventHandler(r.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED,this.onNextButtonClick.bind(this)),r.assignFormEventHandler(r.FORM_EVENTS.FOOTER_DISABLE_PREV_BUTTON,this.disablePreviousButton.bind(this)),r.assignFormEventHandler(r.FORM_EVENTS.FOOTER_ENABLE_PREV_BUTTON,this.enablePreviousButton.bind(this)),r.assignFormEventHandler(r.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON,this.disableNextButton.bind(this)),r.assignFormEventHandler(r.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON,this.enableNextButton.bind(this)),r.assignFormEventHandler(r.FORM_EVENTS.SHOW_CLOSE_CONFIRMATION_DIALOG,this.onHeaderBackButtonClick.bind(this)),r.assignFormEventHandler(r.FORM_EVENTS.FOCUS_ON_LAST_FOCUSABLE_ELEMENT,this.setFocusOnLastFocusableElement.bind(this))}renderedCallback(){a.dispatchMessagingEvent(a.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!0}),a.dispatchMessagingEvent(a.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:this.formTitle}),0===this.currentFieldIndex?this.disablePreviousButton():this.enablePreviousButton()}disconnectedCallback(){r.clearHandlersForFormEvent(r.FORM_EVENTS.FOOTER_DISABLE_PREV_BUTTON),r.clearHandlersForFormEvent(r.FORM_EVENTS.FOOTER_ENABLE_PREV_BUTTON),r.clearHandlersForFormEvent(r.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON),r.clearHandlersForFormEvent(r.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON),r.clearHandlersForFormEvent(r.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED),r.clearHandlersForFormEvent(r.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED),r.clearHandlersForFormEvent(r.FORM_EVENTS.FOCUS_ON_LAST_FOCUSABLE_ELEMENT),r.clearHandlersForFormEvent(r.FORM_EVENTS.SHOW_CLOSE_CONFIRMATION_DIALOG)}setFocusOnLastFocusableElement(){const e=this.querySelectFormFieldElement(),t=this.querySelectFormFooterElement(),n=this.querySelectConfirmationDialogElement();this.shouldShowConfirmationDialog?n&&n.setFocusOnCancelButton():t&&!this.shouldDisableNextButton?t.setFocusOnNextButton():t&&!this.shouldDisablePreviousButton?t.setFocusOnPreviousButton():e&&e.setFocusOnField()}onPreviousButtonClick(){this.setCurrentInputValue(),this.shouldDisablePreviousButton||(this.currentFieldIndex=this.formInputData.findIndex(e=>e.nextSectionInputId===this.formInputData[this.currentFieldIndex].input.id),r.dispatchFormEvent(r.FORM_EVENTS.FIELD_CHANGE,{}))}onNextButtonClick(e){const t=this.querySelectFormFieldElement();if(t&&(t.isTextInput||t.isDatepickerInput)){const e=t?t.querySelectInputField():null;if(!e)return;if(!e.checkValidity())return e.reportValidity(),void(this.shouldDisableNextButton=!0);this.shouldDisableNextButton=!1}if(this.setCurrentInputValue(),!this.shouldDisableNextButton)if(e&&Boolean(e.submitForm)){const e=this.formValues.filter(e=>e.isNonEmpty).map(e=>e.toJsonObject());r.dispatchFormEvent(r.FORM_EVENTS.SECURE_FORM_SUBMIT,{inputValues:e}),u.LoggingUtil.logCurrentState("EmbeddedMessaging-SecureForm",{method:"onNextButtonClick",stateMessage:"Secure form submitted."}),a.dispatchMessagingEvent(a.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!1}),a.dispatchMessagingEvent(a.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:o.getLabel("EmbeddedMessagingChatHeader","DefaultHeaderText")})}else e&&e.nextSectionInputId&&(this.currentFieldIndex=this.formInputData.findIndex(t=>t.input.id===e.nextSectionInputId),r.dispatchFormEvent(r.FORM_EVENTS.FIELD_CHANGE,{}))}onHeaderBackButtonClick(){this.shouldShowConfirmationDialog=!this.shouldShowConfirmationDialog}onCloseConfirmationDialogCancel(){this.shouldShowConfirmationDialog=!1}onCloseConfirmationDialogConfirm(){r.dispatchEvent(u.events.EMBEDDED_MESSAGING_CLOSE_CONFIRMATION,{}),this.shouldShowConfirmationDialog=!1}setCurrentInputValue(){const e=this.querySelectFormFieldElement();let t,n=null,i=null;if(this.currentFormField&&e){switch(e.fieldType){case l.FormInputType.DATE_PICKER_INPUT:case l.FormInputType.TEXT_INPUT:t=e.querySelectInputField(),n=t?t.value:null,i=this.currentFieldValueType(),t.value="";break;case l.FormInputType.SELECT_INPUT:case l.FormInputType.SELECT_NAVIGATION_INPUT:case l.FormInputType.OPTION_PICKER_INPUT:n=e.value,i=this.currentFieldValueType()}this.currentInputValue=new _(e.fieldType,this.currentFormField.input.id,e.inputFieldTitle,i,n)}}disablePreviousButton(){this.shouldDisablePreviousButton=!0}enablePreviousButton(){this.shouldDisablePreviousButton=!1}disableNextButton(){this.shouldDisableNextButton=!0}enableNextButton(){this.shouldDisableNextButton=!1}querySelectFormFieldElement(){return this.template.querySelector("embeddedmessaging-secure-form-field")}querySelectFormFooterElement(){return this.template.querySelector("embeddedmessaging-form-footer")}querySelectConfirmationDialogElement(){return this.template.querySelector("embeddedmessaging-confirmation-dialog")}handleLabels(){this.labels.DialogTitleText=o.getLabel("EmbeddedMessagingSecureForm","CloseConfirmationDialogTitleText"),this.labels.DialogBodyText=o.getLabel("EmbeddedMessagingSecureForm","CloseConfirmationDialogBodyText"),this.labels.ConfirmButtonLabel=o.getLabel("EmbeddedMessagingSecureForm","CloseConfirmationConfirmButtonLabel"),this.labels.CancelButtonLabel=o.getLabel("EmbeddedMessagingSecureForm","CloseConfirmationCancelButtonLabel")}}t.registerDecorators(I,{publicProps:{formTitle:{config:0},formInputData:{config:0},formValues:{config:0}},track:{labels:1},fields:["_currentFieldIndex","_currentFormField","shouldDisablePreviousButton","shouldDisableNextButton","shouldShowConfirmationDialog"]});const g=t.registerComponent(I,{tmpl:F,sel:"embeddedMessaging-secure-form",apiVersion:62});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/secureForm', ['embeddedMessaging/secureForm'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntry",["exports","lwc","embeddedMessaging/constants","embeddedMessaging/common"],function(e,t,s,r){function i(e){const t={};return Object.values(s.ConversationEntryProperties).forEach(s=>{t[s]=e&&e[s]?e[s]:void 0}),t}function n(e){try{r.validateString(e)}catch(t){r.error(`conversationId ${e} is not valid. ${t}`)}}function a(e){try{r.validateString(e)}catch(t){r.error(`messageId ${e} is not valid. ${t}`)}}function o(e){try{r.validateObject(e)}catch(t){r.error(`content ${JSON.stringify(e)} is not valid. ${t}`)}}function d(e){try{r.validateString(e)}catch(t){r.error(`messageType ${e} is not valid. ${t}`)}}function c(e){try{r.validateString(e)}catch(t){r.error(`entryType ${e} is not valid. ${t}`)}}function p(e){try{r.validateObject(e)}catch(t){r.error(`sender ${JSON.stringify(e)} is not valid. ${t}`)}}function y(e){try{r.validateString(e)}catch(t){r.error(`actorName ${e} is not valid. ${t}`)}}function h(e){try{r.validateString(e)}catch(t){r.error(`actorType ${e} is not valid. ${t}`)}}function m(e){try{r.validateNumber(e)}catch(t){r.error(`transcriptedTimestamp ${e} is not valid. ${t}`)}}const v="EmbeddedMessaging-ConversationEntryItem";class g{constructor(e,t,s,r,i,n,a,o,d){this._conversationId=void 0,this._messageId=void 0,this._content=void 0,this._messageType=void 0,this._entryType=void 0,this._sender=void 0,this._actorName=void 0,this._actorType=void 0,this._transcriptedTimestamp=void 0,this._isDelivered=!1,this._deliveryAcknowledgementTimestamp=void 0,this._shouldShowTimeStamp=!1,this._isFauxLastInGroup=!1,this._conversationId=e,this._messageId=t,this._content=s,this._messageType=r,this._entryType=i,this._sender=n,this._actorName=a,this._actorType=o,this._transcriptedTimestamp=d}get conversationId(){return this._conversationId}set conversationId(e){this._conversationId=e}get messageId(){return this._messageId}set messageId(e){this._messageId=e}get content(){return this._content}set content(e){this._content=e}get messageType(){return this._messageType}set messageType(e){this._messageType=e}get entryType(){return this._entryType}set entryType(e){this._entryType=e}get sender(){return this._sender}set sender(e){this._sender=e}get actorName(){return this._actorName}set actorName(e){this._actorName=e}get actorType(){return this._actorType}set actorType(e){this._actorType=e}get transcriptedTimestamp(){return this._transcriptedTimestamp}set transcriptedTimestamp(e){this._transcriptedTimestamp=e}get isDelivered(){return this._isDelivered}set isDelivered(e){this._isDelivered=e}get deliveryAcknowledgementTimestamp(){return this._deliveryAcknowledgementTimestamp}set deliveryAcknowledgementTimestamp(e){this._deliveryAcknowledgementTimestamp=e}get shouldShowTimeStamp(){return this._shouldShowTimeStamp}set shouldShowTimeStamp(e){this._shouldShowTimeStamp=e}get isFauxLastInGroup(){return this._isFauxLastInGroup}set isFauxLastInGroup(e){this._isFauxLastInGroup=e}get contentPayload(){return this.content}get isConversationMessage(){return this.entryType===s.EntryTypes.CONVERSATION_MESSAGE}get isChatMessage(){return this.isConversationMessage&&!this.isSystemEvent||this.messageReason===s.MessageReason.AUTOMATED_RESPONSE&&this.messageType===s.MessageTypes.STATIC_CONTENT_MESSAGE&&this.content.staticContent.formatType===s.FormatTypes.WEB_VIEW&&this.content.staticContent.displayType!==s.DisplayTypes.AUTO_OVERLAY}get isMessageOutbound(){return this.isChatMessage&&this.actorType===s.ParticipantRoles.ENDUSER}get isSystemEvent(){return this.actorType===s.ParticipantRoles.SYSTEM}validate(){n(this.conversationId),this.actorType&&this.isUnsupportedMessageType&&(this.isMessageOutbound?r.LoggingUtil.logError("Unsupported message type",v,{method:"validate",errMessage:`User tried to send a message of unsupported or unrecognized type, with entryType: ${this.entryType} ; messageType: ${this.messageType} ; formatType: ${this.formatType}.`,convId:this.conversationId,convEntryId:this.messageId}):r.LoggingUtil.logError("Unsupported message type",v,{method:"validate",errMessage:`Received a message of unsupported or unrecognized type from ${this.actorType}, with entryType: ${this.entryType} ; messageType: ${this.messageType} ; formatType: ${this.formatType}.`,convId:this.conversationId,convEntryId:this.messageId}))}static populateConversationEntryObject(e){return i(e)}static createConversationEntry(e){return new g(e.conversationId,e.messageId,e.content,e.messageType,e.entryType,e.sender,e.actorName,e.actorType,e.transcriptedTimestamp)}}const T=t.registerComponent(g,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry",apiVersion:62});e.createConversationEntryObject=i,e.default=T,e.validateActorName=y,e.validateActorType=h,e.validateContent=o,e.validateConversationEntryProperties=function(e,t){const i=[];if(Object.values(s.ConversationEntryProperties).forEach(t=>{try{const i=e[t];switch(t){case s.ConversationEntryProperties.CONVERSATION_ID:n(i);break;case s.ConversationEntryProperties.MESSAGE_ID:a(i);break;case s.ConversationEntryProperties.CONTENT:o(i);break;case s.ConversationEntryProperties.MESSAGE_TYPE:d(i);break;case s.ConversationEntryProperties.ENTRY_TYPE:c(i);break;case s.ConversationEntryProperties.SENDER:p(i);break;case s.ConversationEntryProperties.ACTOR_NAME:y(i);break;case s.ConversationEntryProperties.ACTOR_TYPE:h(i);break;case s.ConversationEntryProperties.TRANSCRIPTED_TIMESTAMP:m(i);break;case s.ConversationEntryProperties.MESSAGE_REASON:break;default:r.warning(`Unable to validate unknown conversation entry property: ${t}`)}}catch(e){i.push(`${t} failed validation: ${e}`)}}),i.forEach(e=>{r.error(e)}),i.length&&t)throw new Error("Error validating conversation entry properties!")},e.validateConversationId=n,e.validateEntryType=c,e.validateMessageId=a,e.validateMessageType=d,e.validateSender=p,e.validateTranscriptedTimestamp=m,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationEntry', ['embeddedMessaging/conversationEntry'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryMessage",["exports","lwc","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(e,t,s,i,n,a){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=o(s);function l(e){try{n.validateString(e)}catch(t){n.error(`text message ${e} is not valid. ${t}`)}}function c(e){try{n.validateObject(e),n.validateString(e.name)}catch(t){n.error(`text message ${JSON.stringify(e)} is not valid. ${t}`)}}function h(e){try{for(const t of e)n.validateString(t.optionIdentifier),n.validateString(i.getOptionTitle(t))}catch(t){n.error(`choices message ${JSON.stringify(e)} is not valid. ${t}`)}}function d(e){try{n.validateObject(e),n.validateString(e.optionIdentifier)}catch(t){n.error(`selections message ${JSON.stringify(e)} is not valid. ${t}`)}}function m(e){try{n.validateObject(e),n.validateString(i.getTitle(e))}catch(t){n.error(`form title ${e} is not valid. ${t}`)}}function u(e){try{n.validateArray(e),0===e.length&&n.error("form must contain at least one section");for(const t of e){const e=t.sectionType,s=t.input;n.validateString(e),n.validateObject(s),n.validateString(i.getTitle(s.label)),n.validateString(s.inputType)}}catch(t){n.error(`form selections ${e} is not valid. ${t}`)}}class g extends r.default{constructor(e,t,s,i,a,o,r,l,c,h=null){super(e,t,s,i,a,o,r,l,c),this._messageReason=void 0,this._isLastInGroup=void 0,this._hasSendFailed=!1,this._isServerSentEntry=!1,this._isSent=!1,this._isRead=!1,this._readAcknowledgementTimestamp=void 0,this._inReplyToMessageId=void 0,this._isSelectedOrRepliedTo=!1,this._formState=void 0,h&&n.isString(h)&&(this._messageReason=h),super.validate()}get messageReason(){return this._messageReason}set messageReason(e){this._messageReason=e}get isLastInGroup(){return this._isLastInGroup}set isLastInGroup(e){this._isLastInGroup=e}get hasSendFailed(){return this._hasSendFailed}set hasSendFailed(e){this._hasSendFailed=e}get isServerSentEntry(){return this._isServerSentEntry}set isServerSentEntry(e){this._isServerSentEntry=e}get isSent(){return this._isSent}set isSent(e){this._isSent=e}get isRead(){return this._isRead}set isRead(e){this._isRead=e}get readAcknowledgementTimestamp(){return this._readAcknowledgementTimestamp}set readAcknowledgementTimestamp(e){this._readAcknowledgementTimestamp=e}get inReplyToMessageId(){return this._inReplyToMessageId}set inReplyToMessageId(e){this._inReplyToMessageId=e}get isSelectedOrRepliedTo(){return this._isSelectedOrRepliedTo}set isSelectedOrRepliedTo(e){this._isSelectedOrRepliedTo=e}get contentPayload(){switch(this.messageType){case i.MessageTypes.STATIC_CONTENT_MESSAGE:return this.content&&this.content.staticContent?this.content.staticContent:null;case i.MessageTypes.CHOICES_MESSAGE:return this.content&&this.content.choices?this.content.choices:null;case i.MessageTypes.CHOICES_RESPONSE_MESSAGE:return this.content&&this.content.choicesResponse?this.content.choicesResponse:null;case i.MessageTypes.FORM_MESSAGE:return this.content&&this.content.form?this.content.form:null;case i.MessageTypes.FORM_RESPONSE_MESSAGE:return this.content&&this.content.formResponse?this.content.formResponse:null;default:return n.error(`Unable to retrieve content payload for unrecognized message type: ${this.messageType}`),null}}get formatType(){return this.contentPayload&&this.contentPayload.formatType?this.contentPayload.formatType:null}get displayType(){return this.contentPayload&&this.contentPayload.displayType?this.contentPayload.displayType:null}get isMessageOutbound(){return this.isConversationMessage&&this.actorType===i.ParticipantRoles.ENDUSER}get isStaticContentMessage(){return this.isChatMessage&&this.messageType===i.MessageTypes.STATIC_CONTENT_MESSAGE}get isStaticText(){return this.isStaticContentMessage&&this.formatType===i.FormatTypes.TEXT}get staticTextContent(){return this.isStaticText&&this.contentPayload&&this.contentPayload.text?this.contentPayload.text:null}get parsedStaticTextContent(){return this.isStaticText&&this.contentPayload&&this.contentPayload.text?this.parseStaticText(this.contentPayload.text):[]}parseStaticText(e){const t=[];if(!e)return t;let s=n.HYPERLINK_REGEX.exec(e),i=0,a=0,o="";for(;null!==s;){const r=s[0];s.index!==i&&t.push({id:a++,isAnchor:!1,text:e.substring(i,s.index)}),-1!==r.indexOf("@")?t.push({id:a++,isAnchor:!0,url:n.ALLOWED_URL_PROTOCOLS.EMAIL+r,text:r}):(o=r.startsWith(n.ALLOWED_URL_PROTOCOLS.FULL_HTTP)||r.startsWith(n.ALLOWED_URL_PROTOCOLS.FULL_HTTPS)?r:n.ALLOWED_URL_PROTOCOLS.FULL_HTTPS+r,t.push({id:a++,isAnchor:!0,url:o,text:r})),i=s.index+r.length,s=n.HYPERLINK_REGEX.exec(e)}return i!==e.length&&t.push({id:a++,isAnchor:!1,text:e.substring(i,e.length)}),t}get isAttachments(){return this.isStaticContentMessage&&this.formatType===i.FormatTypes.ATTACHMENTS}get attachments(){return this.isAttachments&&this.contentPayload&&this.contentPayload.attachments&&this.contentPayload.attachments.length?this.contentPayload.attachments:[]}get attachmentPayload(){return this.isAttachments&&this.contentPayload&&this.contentPayload.attachments&&this.contentPayload.attachments.length?this.contentPayload.attachments[0]:null}get attachmentDownloadURL(){return this.attachmentPayload&&this.attachmentPayload.url?this.attachmentPayload.url:null}get attachmentName(){return this.attachmentPayload&&this.attachmentPayload.name?this.attachmentPayload.name:""}get staticTextInAttachmentsEntry(){return this.isAttachments&&this.contentPayload&&this.contentPayload.text?this.contentPayload.text:null}get isRichLink(){return this.isChatMessage&&this.messageType===i.MessageTypes.STATIC_CONTENT_MESSAGE&&this.content&&this.content.staticContent&&this.content.staticContent.formatType&&this.content.staticContent.formatType===i.FormatTypes.RICH_LINK}get linkItem(){return this.isRichLink&&this.content.staticContent.linkItem?this.content.staticContent.linkItem:null}get linkImageItem(){return this.isRichLink&&this.content.staticContent.image?this.content.staticContent.image:null}get linkTitle(){return this.linkItem&&this.linkItem.titleItem&&this.linkItem.titleItem.title&&this.linkItem.titleItem.title.length?this.linkItem.titleItem.title:null}get linkUrl(){return this.linkItem&&this.linkItem.url&&this.linkItem.url.length?this.linkItem.url:null}get linkImageUrl(){return this.linkImageItem&&this.linkImageItem.assetUrl&&this.linkImageItem.assetUrl.length?this.linkImageItem.assetUrl:null}get isChoices(){return this.isChatMessage&&this.messageType===i.MessageTypes.CHOICES_MESSAGE}get isChoicesButtons(){return this.isChoices&&this.formatType===i.FormatTypes.QUICK_REPLIES}get isChoicesMenu(){return this.isChoices&&this.formatType===i.FormatTypes.BUTTONS}get choices(){return(this.isChoicesButtons||this.isChoicesMenu)&&this.contentPayload&&this.contentPayload.optionItems?this.contentPayload.optionItems:null}get choicesText(){return(this.isChoicesButtons||this.isChoicesMenu)&&this.contentPayload&&this.contentPayload.text?this.contentPayload.text:null}get isChoicesCarousel(){return this.isChoices&&this.formatType===i.FormatTypes.CAROUSELS}get choicesCarouselOptions(){return this.isChoicesCarousel&&this.contentPayload&&this.contentPayload.items?this.contentPayload.items:null}get choicesCarouselImages(){return this.isChoicesCarousel&&this.contentPayload&&this.contentPayload.images?this.contentPayload.images:null}get isChoicesResponse(){return this.isChatMessage&&this.messageType===i.MessageTypes.CHOICES_RESPONSE_MESSAGE&&this.formatType===i.FormatTypes.SELECTIONS}get choicesResponseSelection(){return this.isChoicesResponse&&this.contentPayload&&this.contentPayload.selectedOptions&&this.contentPayload.selectedOptions.length?this.contentPayload.selectedOptions[0]:null}get isAutomatedResponse(){return this.messageReason===i.MessageReason.AUTOMATED_RESPONSE||this.messageReason===i.MessageReason.CONSENT}get isAutomatedResponseStaticText(){return this.isAutomatedResponse&&this.messageType===i.MessageTypes.STATIC_CONTENT_MESSAGE&&this.formatType===i.FormatTypes.TEXT}get automatedResponseText(){return this.isAutomatedResponseStaticText&&this.contentPayload&&this.contentPayload.text?this.contentPayload.text:null}get isAutomatedResponseWebView(){return this.isAutomatedResponse&&this.messageType===i.MessageTypes.STATIC_CONTENT_MESSAGE&&this.formatType===i.FormatTypes.WEB_VIEW}get isWebViewAutoOverlay(){return this.isAutomatedResponseWebView&&this.displayType===i.DisplayTypes.AUTO_OVERLAY}get isWebViewChatMessage(){return this.isAutomatedResponseWebView&&this.displayType!==i.DisplayTypes.AUTO_OVERLAY}get webViewTitle(){return(this.isWebViewAutoOverlay||this.isWebViewChatMessage)&&this.contentPayload&&this.contentPayload.title?this.contentPayload.title:null}get webViewURL(){return(this.isWebViewAutoOverlay||this.isWebViewChatMessage)&&this.contentPayload&&this.contentPayload.url?this.contentPayload.url:null}get webViewParameters(){return(this.isWebViewAutoOverlay||this.isWebViewChatMessage)&&this.contentPayload&&this.contentPayload.parameters?this.contentPayload.parameters:null}get isForm(){return this.messageType===i.MessageTypes.FORM_MESSAGE&&this.formatType===i.FormatTypes.INPUTS}get isFormResponseResult(){return this.messageType===i.MessageTypes.FORM_RESPONSE_MESSAGE&&this.formatType===i.FormatTypes.RESULT&&this.contentPayload.result}get isFormRecordsResult(){return this.formResponseResult.resultType===i.FormResultType.FORM_RECORDS_RESULT}get isFormErrorResult(){return this.formResponseResult.resultType===i.FormResultType.FORM_ERROR_RESULT}get isFormPendingResult(){return this.formResponseResult.resultType===i.FormResultType.FORM_PENDING_RESULT}get form(){return this.isForm?this.contentPayload:null}get formResponseResult(){return this.isFormResponseResult?this.contentPayload.result:null}set formResponseResult(e){"object"==typeof this.contentPayload&&(this.contentPayload.result=e)}get formTitle(){switch(this.formState){case i.FormMessageState.INITIAL:return this.contentPayload.formTitle&&this.contentPayload.formTitle.title?this.contentPayload.formTitle.title:"";case i.FormMessageState.ERROR:return a.getLabel("EmbeddedMessagingSecureForm","FormButtonErrorResponseStateTitle");case i.FormMessageState.SUCCESS:return a.getLabel("EmbeddedMessagingSecureForm","FormButtonSuccessResponseStateTitle");case i.FormMessageState.PENDING:return a.getLabel("EmbeddedMessagingSecureForm","FormButtonPendingStateTitle");default:return""}}get formSections(){return this.isForm&&this.form.sections?this.form.sections:null}get formState(){if(this.isForm)return i.FormMessageState.INITIAL;if(this.isFormResponseResult){if(this.isFormRecordsResult)return i.FormMessageState.SUCCESS;if(this.isFormErrorResult)return i.FormMessageState.ERROR;if(this.isFormPendingResult)return i.FormMessageState.PENDING}}set formState(e){Object.values(i.FormMessageState).includes(e)?this._formState=e:n.error(`Attempting to set invalid form state: ${e}`)}get isUnsupportedMessageType(){return!(this.isStaticContentMessage||this.isChoices||this.isChoicesResponse||this.isForm||this.isFormResponseResult||this.isAutomatedResponse||this.isSystemEvent)}validate(){try{switch(!0){case this.isStaticText:l(this.staticTextContent);break;case this.isAttachments:c(this.attachmentPayload);break;case this.isRichLink:break;case this.isChoicesMenu:case this.isChoicesButtons:h(this.choices);break;case this.isChoicesCarousel:break;case this.isChoicesResponse:d(this.choicesResponseSelection);break;case this.isAutomatedResponseStaticText:!function(e){try{n.validateString(e)}catch(t){n.error(`automated response text message ${e} is not valid. ${t}`)}}(this.automatedResponseText);break;case this.isWebViewAutoOverlay:case this.isWebViewChatMessage:!function(e){try{n.validateObject(e),n.validateString(i.getTitle(e))}catch(t){n.error(`automated response web view title ${e} is not valid. ${t}`)}}(this.webViewTitle),function(e){try{n.validateString(e)}catch(t){n.error(`automated response web view url ${e} is not valid. ${t}`)}}(this.webViewURL),this.webViewParameters&&function(e){try{n.validateArray(e);for(const t of e)n.validateString(t.name),n.validateObject(t.value)}catch(t){n.error(`automated response web view parameters ${e} are not valid. ${t}`)}}(this.webViewParameters);break;case this.isForm:m(this.formTitle),u(this.formSections);break;case this.isFormResponseResult:!function(e){try{n.validateObject(e),n.validateString(e.resultType),Object.values(i.FormResultType).includes(e.resultType)||n.error(`form result type ${e.resultType} is not valid.`),i.FormResultType.FORM_RECORDS_RESULT===e.resultType?n.validateArray(e.records):i.FormResultType.FORM_ERROR_RESULT===e.resultType&&n.validateArray(e.errors)}catch(t){n.error(`form response result ${e} is not valid. ${t}`)}}(this.formResponseResult);break;default:n.warning(`Unable to validate unrecognized message format type: ${this.formatType}`)}}catch(e){n.error(`Error validating conversation entry properties: ${e}`)}}static populateConversationEntryObject(e){const t=JSON.parse(e.conversationEntry.entryPayload);return r.default.populateConversationEntryObject({conversationId:e.conversationId,messageId:e.conversationEntry.identifier,content:t.abstractMessage,messageType:t.abstractMessage.messageType,entryType:t.entryType,sender:e.conversationEntry.sender,actorName:e.conversationEntry.senderDisplayName?e.conversationEntry.senderDisplayName:e.conversationEntry.sender.role,actorType:e.conversationEntry.sender.role,transcriptedTimestamp:e.conversationEntry.transcriptedTimestamp,messageReason:t.messageReason})}static createConversationEntry(e){return new g(e.conversationId,e.messageId,e.content,e.messageType,e.entryType,e.sender,e.actorName,e.actorType,e.transcriptedTimestamp,e.messageReason)}}t.registerDecorators(g,{fields:["_messageReason","_isLastInGroup","_hasSendFailed","_isServerSentEntry","_isSent","_isRead","_readAcknowledgementTimestamp","_inReplyToMessageId","_isSelectedOrRepliedTo","_formState"]});const y=t.registerComponent(g,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-message",apiVersion:62});e.default=y,e.validateAttachmentsMessage=c,e.validateChoicesMessage=h,e.validateFormSections=u,e.validateFormTitle=m,e.validateSelectionsMessage=d,e.validateTextMessage=l,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationEntryMessage', ['embeddedMessaging/conversationEntryMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/fileAttachmentDefaultIcon",["exports","lwc","embeddedMessaging/icons"],function(e,t,n){const a=t.parseFragment`<svg aria-hidden="true" viewBox="0 0 100 100" class="slds-icon defaultAttachmentIconSvg${0}"${2}><path${"a1:d"} fill="#49c9a7"${3}/><path${"a2:d"} opacity=".5"${3}/><path${"a3:d"}${3}/></svg>`;function s(e,t,n,s){const{sp:l,st:c}=e;return[c(a,1,[l(1,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON}},null),l(2,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON_FOLD}},null),l(3,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON_PAPER_CLIP}},null)])]}var l=t.registerTemplate(s);s.stylesheets=[],s.stylesheetToken="lwc-24jmji5rfqp",s.legacyStylesheetToken="embeddedMessaging-fileAttachmentDefaultIcon_fileAttachmentDefaultIcon",t.freezeTemplate(s);class c extends t.LightningElement{constructor(...e){super(...e),this.defaultAttachmentIcon=n.defaultIcons.ATTACHMENT_ICON}}t.registerDecorators(c,{fields:["defaultAttachmentIcon"]});const d=t.registerComponent(c,{tmpl:l,sel:"embeddedMessaging-file-attachment-default-icon",apiVersion:62});e.default=d,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/fileAttachmentDefaultIcon', ['embeddedMessaging/fileAttachmentDefaultIcon'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiCategorizedViewer",["exports","lwc"],function(e,t){var o=[function(e,t,o){var i=e?"["+e+"]":"";return"button"+i+",button:focus"+i+" {border: none;background: none;outline: none;}.viewer"+i+" {overflow-y: scroll;overflow-x: hidden;max-height: 7.4rem;user-select: none;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;}.category-emojis"+i+" {display: flex;flex-direction: row;flex-wrap: wrap;}.emoji-entity"+i+" {flex-basis: 12.5%;font-size: var(--baseFontSize, medium);text-decoration: none;cursor: pointer;text-align: center;padding-top: var(--lwc-spacingXxxSmall);border-radius: 5px;text-indent: 0;}button:focus"+i+",.emoji-entity:focus"+i+" {border-radius: 5px;background-color: var(--secondaryColor, #005290);}"}];const i=t.parseFragment`<h2 class="slds-text-heading_x-small slds-m-bottom_xx-small slds-text-title_caps emoji-category-text${0}"${2}>${"t1"}</h2>`,a=t.parseFragment`<span class="emoji-entity${0}"${"a0:title"} role="gridcell" tabindex="0"${2}><button tabindex="-1"${3}>${"t2"}</button></span>`,s=t.parseFragment`<span class="emoji-entity${0}"${"a0:title"} role="gridcell" tabindex="-1"${2}><button tabindex="-1"${3}>${"t2"}</button></span>`,r={viewer:!0},n={category:!0,"slds-p-vertical_x-small":!0,"slds-p-horizontal_small":!0},l={classMap:{"category-emojis":!0},attrs:{role:"row"},key:5};function c(e,t,o,c){const{b:m,k:d,d:g,sp:h,st:y,i:u,h:p}=e,{_m0:f,_m1:x,_m2:j}=c;return[p("div",{classMap:r,key:0,on:{click:f||(c._m0=m(t.handleClick)),keydown:x||(c._m1=m(t.handleKeyDown)),scroll:j||(c._m2=m(t.handleCategoryScroll))}},u(t.normalizedCategories,function(e){return p("section",{classMap:n,attrs:{"data-name":e.displayName},key:d(1,e.displayName)},[y(i,3,[h(1,null,g(e.displayName))]),p("div",{attrs:{role:"grid","aria-label":e.displayName},key:4},[p("div",l,u(e.emojis,function(e,t,o,i){const r={value:e,index:t,first:o,last:i};return[r.first?y(a,d(7,r.value.display),[h(0,{attrs:{title:r.value.description}},null),h(2,null,g(r.value.display))]):null,r.first?null:y(s,d(9,r.value.display),[h(0,{attrs:{title:r.value.description}},null),h(2,null,g(r.value.display))])]}))])])}))]}var m=t.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-o95ec9u45j",c.legacyStylesheetToken="embeddedMessaging-emojiCategorizedViewer_emojiCategorizedViewer",o&&c.stylesheets.push.apply(c.stylesheets,o),t.freezeTemplate(c);const d=Object.freeze(Object.assign(Object.create(null),{Down:1,Left:2,Right:3,Up:4}));class g{constructor(e,t){this._emojiMap=void 0,this._categories=Array.from(e),this._maximumEmojisPerRow=t}move(e,t){let o;this._ensureEmojiMapInitialized();const i=this._emojiMap.get(e);if(void 0!==i)switch(t){case d.Left:o=this._getEmojiToLeft(i);break;case d.Right:o=this._getEmojiToRight(i);break;case d.Up:o=this._getEmojiAbove(i);break;case d.Down:o=this._getEmojiBelow(i)}return o}_getEmojiToRight(e){let t;const o=e.emojiIndex+1;return o<e.category.emojis.length&&(t={categoryIndex:e.categoryIndex,emojiIndex:o}),t}_getEmojiToLeft(e){let t;const o=e.emojiIndex-1;return o>=0&&(t={categoryIndex:e.categoryIndex,emojiIndex:o}),t}_getEmojiAbove(e){let t;const o=e.emojiIndex-this._maximumEmojisPerRow;if(o>=0)t={categoryIndex:e.categoryIndex,emojiIndex:o};else if(e.categoryIndex>0){const o=e.categoryIndex-1,i=this._categories[o].emojis,a=e.emojiIndex%this._maximumEmojisPerRow;let s=i.length%this._maximumEmojisPerRow-1;s<0&&(s=this._maximumEmojisPerRow-1);let r=i.length-1;(0===s||a<=s)&&(r-=s-a),t={categoryIndex:o,emojiIndex:r}}return t}_getEmojiBelow(e){let t;const o=e.emojiIndex+this._maximumEmojisPerRow;if(o<e.category.emojis.length)t={categoryIndex:e.categoryIndex,emojiIndex:o};else if(e.categoryIndex+1<this._categories.length){const o=e.categoryIndex+1,i=this._categories[o].emojis,a=e.emojiIndex%this._maximumEmojisPerRow;let s=i.length-1;a<i.length&&(s=a),t={categoryIndex:o,emojiIndex:s}}return t}_ensureEmojiMapInitialized(){void 0===this._emojiMap&&(this._emojiMap=new Map,this._categories.forEach((e,t)=>{e.emojis.forEach((o,i)=>{this._emojiMap.set(o.display,{category:e,categoryIndex:t,emojiIndex:i})})}))}}const h=new Map([["ArrowUp",d.Up],["ArrowDown",d.Down],["ArrowLeft",d.Left],["ArrowRight",d.Right]]);class y extends t.LightningElement{constructor(...e){super(...e),this._activeCategoryName=void 0,this._categories=void 0,this.keyboardNavigator=new g([],8)}get categories(){return this._categories}set categories(e){const t=this._categories!==e;this._categories=e,t&&(this.keyboardNavigator=new g(this._categories,8),this.focus())}get activeCategoryName(){return this._activeCategoryName}set activeCategoryName(e){const t=this.activeCategoryName!==e;this._activeCategoryName=e,t&&this.focus()}focus(){const e=this._activeCategoryName,t=this.template.querySelector(`.category[data-name="${e}"]`);if(t){this.template.querySelector(".viewer").scrollTop=t.offsetTop;const o=this.template.querySelector(`.category[data-name="${e}"] .emoji-entity:first-child`);o&&o.focus()}}get normalizedCategories(){return this.categories||[]}handleCategoryScroll(e){const t=function(e){const t=Array.from(e.querySelectorAll(".category")),o=e.scrollTop+.6*e.clientHeight;let i;return t.reverse().some(e=>{let t=!1;return o>=e.offsetTop&&(i=e.dataset.name,t=!0),t}),i}(e.target);this._activeCategoryName!==t&&(this._activeCategoryName=t,this.notifyOfActiveCategoryChange(t))}handleClick(e){let t=e.target;"BUTTON"===e.target.tagName&&(t=e.target.parentNode),t.classList.contains("emoji-entity")&&this.notifyOfEmojiSelection(e.target.textContent,e.target.title)}handleKeyDown(e){if("Enter"===e.key)e.preventDefault(),this.handleClick(e);else if(h.has(e.code)){e.preventDefault();const t=e.target.textContent,o=h.get(e.code),i=this.keyboardNavigator.move(t,o);void 0!==i&&this.template.querySelector(`.category:nth-child(${i.categoryIndex+1}) .emoji-entity:nth-child(${i.emojiIndex+1})`).focus()}}notifyOfActiveCategoryChange(e){this.dispatchEvent(new CustomEvent("activecategorychanged",{bubbles:!0,composed:!0,detail:{name:e}}))}notifyOfEmojiSelection(e,t){this.dispatchEvent(new CustomEvent("emojiselected",{bubbles:!0,composed:!0,detail:{emoji:e,description:t}}))}}t.registerDecorators(y,{publicProps:{categories:{config:3},activeCategoryName:{config:3}},publicMethods:["focus"],fields:["_activeCategoryName","_categories","keyboardNavigator"]});const u=t.registerComponent(y,{tmpl:m,sel:"embeddedMessaging-emoji-categorized-viewer",apiVersion:62});e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/emojiCategorizedViewer', ['embeddedMessaging/emojiCategorizedViewer'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@salesforce/label/Emojis_Activities.activitiesCategory', ['@view/home/labels'], m => m[193]);LWR.define('@salesforce/label/Emojis_Activities.jackOLantern', ['@view/home/labels'], m => m[194]);LWR.define('@salesforce/label/Emojis_Activities.christmasTree', ['@view/home/labels'], m => m[195]);LWR.define('@salesforce/label/Emojis_Activities.fireworks', ['@view/home/labels'], m => m[196]);LWR.define('@salesforce/label/Emojis_Activities.sparkler', ['@view/home/labels'], m => m[197]);LWR.define('@salesforce/label/Emojis_Activities.sparkles', ['@view/home/labels'], m => m[198]);LWR.define('@salesforce/label/Emojis_Activities.balloon', ['@view/home/labels'], m => m[199]);LWR.define('@salesforce/label/Emojis_Activities.partyPopper', ['@view/home/labels'], m => m[200]);LWR.define('@salesforce/label/Emojis_Activities.confettiBall', ['@view/home/labels'], m => m[201]);LWR.define('@salesforce/label/Emojis_Activities.tanabataTree', ['@view/home/labels'], m => m[202]);LWR.define('@salesforce/label/Emojis_Activities.pineDecoration', ['@view/home/labels'], m => m[203]);LWR.define('@salesforce/label/Emojis_Activities.japaneseDolls', ['@view/home/labels'], m => m[204]);LWR.define('@salesforce/label/Emojis_Activities.carpStreamer', ['@view/home/labels'], m => m[205]);LWR.define('@salesforce/label/Emojis_Activities.windChime', ['@view/home/labels'], m => m[206]);LWR.define('@salesforce/label/Emojis_Activities.moonViewingCeremony', ['@view/home/labels'], m => m[207]);LWR.define('@salesforce/label/Emojis_Activities.ribbon', ['@view/home/labels'], m => m[208]);LWR.define('@salesforce/label/Emojis_Activities.wrappedGift', ['@view/home/labels'], m => m[209]);LWR.define('@salesforce/label/Emojis_Activities.ticket', ['@view/home/labels'], m => m[210]);LWR.define('@salesforce/label/Emojis_Activities.trophy', ['@view/home/labels'], m => m[211]);LWR.define('@salesforce/label/Emojis_Activities.soccerBall', ['@view/home/labels'], m => m[212]);LWR.define('@salesforce/label/Emojis_Activities.baseball', ['@view/home/labels'], m => m[213]);LWR.define('@salesforce/label/Emojis_Activities.basketball', ['@view/home/labels'], m => m[214]);LWR.define('@salesforce/label/Emojis_Activities.americanFootball', ['@view/home/labels'], m => m[215]);LWR.define('@salesforce/label/Emojis_Activities.rugbyFootball', ['@view/home/labels'], m => m[216]);LWR.define('@salesforce/label/Emojis_Activities.tennis', ['@view/home/labels'], m => m[217]);LWR.define('@salesforce/label/Emojis_Activities.pool8Ball', ['@view/home/labels'], m => m[218]);LWR.define('@salesforce/label/Emojis_Activities.bowling', ['@view/home/labels'], m => m[219]);LWR.define('@salesforce/label/Emojis_Activities.directHit', ['@view/home/labels'], m => m[220]);LWR.define('@salesforce/label/Emojis_Activities.flagInHole', ['@view/home/labels'], m => m[221]);LWR.define('@salesforce/label/Emojis_Activities.fishingPole', ['@view/home/labels'], m => m[222]);LWR.define('@salesforce/label/Emojis_Activities.runningShirt', ['@view/home/labels'], m => m[223]);LWR.define('@salesforce/label/Emojis_Activities.skis', ['@view/home/labels'], m => m[224]);LWR.define('@salesforce/label/Emojis_Activities.videoGame', ['@view/home/labels'], m => m[225]);LWR.define('@salesforce/label/Emojis_Activities.gameDie', ['@view/home/labels'], m => m[226]);LWR.define('@salesforce/label/Emojis_Activities.spadeSuit', ['@view/home/labels'], m => m[227]);LWR.define('@salesforce/label/Emojis_Activities.heartSuit', ['@view/home/labels'], m => m[228]);LWR.define('@salesforce/label/Emojis_Activities.diamondSuit', ['@view/home/labels'], m => m[229]);LWR.define('@salesforce/label/Emojis_Activities.clubSuit', ['@view/home/labels'], m => m[230]);LWR.define('@salesforce/label/Emojis_Activities.joker', ['@view/home/labels'], m => m[231]);LWR.define('@salesforce/label/Emojis_Activities.mahjongRedDragon', ['@view/home/labels'], m => m[232]);LWR.define('@salesforce/label/Emojis_Activities.flowerPlayingCards', ['@view/home/labels'], m => m[233]);LWR.define('@salesforce/label/Emojis_AnimalsNature.animalsNatureCategory', ['@view/home/labels'], m => m[234]);LWR.define('@salesforce/label/Emojis_AnimalsNature.monkeyFace', ['@view/home/labels'], m => m[235]);LWR.define('@salesforce/label/Emojis_AnimalsNature.monkey', ['@view/home/labels'], m => m[236]);LWR.define('@salesforce/label/Emojis_AnimalsNature.dogFace', ['@view/home/labels'], m => m[237]);LWR.define('@salesforce/label/Emojis_AnimalsNature.dog', ['@view/home/labels'], m => m[238]);LWR.define('@salesforce/label/Emojis_AnimalsNature.poodle', ['@view/home/labels'], m => m[239]);LWR.define('@salesforce/label/Emojis_AnimalsNature.wolfFace', ['@view/home/labels'], m => m[240]);LWR.define('@salesforce/label/Emojis_AnimalsNature.catFace', ['@view/home/labels'], m => m[241]);LWR.define('@salesforce/label/Emojis_AnimalsNature.cat', ['@view/home/labels'], m => m[242]);LWR.define('@salesforce/label/Emojis_AnimalsNature.tigerFace', ['@view/home/labels'], m => m[243]);LWR.define('@salesforce/label/Emojis_AnimalsNature.tiger', ['@view/home/labels'], m => m[244]);LWR.define('@salesforce/label/Emojis_AnimalsNature.leopard', ['@view/home/labels'], m => m[245]);LWR.define('@salesforce/label/Emojis_AnimalsNature.horseFace', ['@view/home/labels'], m => m[246]);LWR.define('@salesforce/label/Emojis_AnimalsNature.horse', ['@view/home/labels'], m => m[247]);LWR.define('@salesforce/label/Emojis_AnimalsNature.cowFace', ['@view/home/labels'], m => m[248]);LWR.define('@salesforce/label/Emojis_AnimalsNature.ox', ['@view/home/labels'], m => m[249]);LWR.define('@salesforce/label/Emojis_AnimalsNature.waterBuffalo', ['@view/home/labels'], m => m[250]);LWR.define('@salesforce/label/Emojis_AnimalsNature.cow', ['@view/home/labels'], m => m[251]);LWR.define('@salesforce/label/Emojis_AnimalsNature.pigFace', ['@view/home/labels'], m => m[252]);LWR.define('@salesforce/label/Emojis_AnimalsNature.pig', ['@view/home/labels'], m => m[253]);LWR.define('@salesforce/label/Emojis_AnimalsNature.boar', ['@view/home/labels'], m => m[254]);LWR.define('@salesforce/label/Emojis_AnimalsNature.pigNose', ['@view/home/labels'], m => m[255]);LWR.define('@salesforce/label/Emojis_AnimalsNature.ram', ['@view/home/labels'], m => m[256]);LWR.define('@salesforce/label/Emojis_AnimalsNature.sheep', ['@view/home/labels'], m => m[257]);LWR.define('@salesforce/label/Emojis_AnimalsNature.goat', ['@view/home/labels'], m => m[258]);LWR.define('@salesforce/label/Emojis_AnimalsNature.camel', ['@view/home/labels'], m => m[259]);LWR.define('@salesforce/label/Emojis_AnimalsNature.twoHumpCamel', ['@view/home/labels'], m => m[260]);LWR.define('@salesforce/label/Emojis_AnimalsNature.elephant', ['@view/home/labels'], m => m[261]);LWR.define('@salesforce/label/Emojis_AnimalsNature.mouseFace', ['@view/home/labels'], m => m[262]);LWR.define('@salesforce/label/Emojis_AnimalsNature.mouse', ['@view/home/labels'], m => m[263]);LWR.define('@salesforce/label/Emojis_AnimalsNature.rat', ['@view/home/labels'], m => m[264]);LWR.define('@salesforce/label/Emojis_AnimalsNature.hamsterFace', ['@view/home/labels'], m => m[265]);LWR.define('@salesforce/label/Emojis_AnimalsNature.rabbitFace', ['@view/home/labels'], m => m[266]);LWR.define('@salesforce/label/Emojis_AnimalsNature.rabbit', ['@view/home/labels'], m => m[267]);LWR.define('@salesforce/label/Emojis_AnimalsNature.bearFace', ['@view/home/labels'], m => m[268]);LWR.define('@salesforce/label/Emojis_AnimalsNature.koala', ['@view/home/labels'], m => m[269]);LWR.define('@salesforce/label/Emojis_AnimalsNature.pandaFace', ['@view/home/labels'], m => m[270]);LWR.define('@salesforce/label/Emojis_AnimalsNature.pawPrints', ['@view/home/labels'], m => m[271]);LWR.define('@salesforce/label/Emojis_AnimalsNature.chicken', ['@view/home/labels'], m => m[272]);LWR.define('@salesforce/label/Emojis_AnimalsNature.rooster', ['@view/home/labels'], m => m[273]);LWR.define('@salesforce/label/Emojis_AnimalsNature.hatchingChick', ['@view/home/labels'], m => m[274]);LWR.define('@salesforce/label/Emojis_AnimalsNature.babyChick', ['@view/home/labels'], m => m[275]);LWR.define('@salesforce/label/Emojis_AnimalsNature.frontFacingBabyChick', ['@view/home/labels'], m => m[276]);LWR.define('@salesforce/label/Emojis_AnimalsNature.bird', ['@view/home/labels'], m => m[277]);LWR.define('@salesforce/label/Emojis_AnimalsNature.penguin', ['@view/home/labels'], m => m[278]);LWR.define('@salesforce/label/Emojis_AnimalsNature.frogFace', ['@view/home/labels'], m => m[279]);LWR.define('@salesforce/label/Emojis_AnimalsNature.crocodile', ['@view/home/labels'], m => m[280]);LWR.define('@salesforce/label/Emojis_AnimalsNature.turtle', ['@view/home/labels'], m => m[281]);LWR.define('@salesforce/label/Emojis_AnimalsNature.snake', ['@view/home/labels'], m => m[282]);LWR.define('@salesforce/label/Emojis_AnimalsNature.dragonFace', ['@view/home/labels'], m => m[283]);LWR.define('@salesforce/label/Emojis_AnimalsNature.dragon', ['@view/home/labels'], m => m[284]);LWR.define('@salesforce/label/Emojis_AnimalsNature.spoutingWhale', ['@view/home/labels'], m => m[285]);LWR.define('@salesforce/label/Emojis_AnimalsNature.whale', ['@view/home/labels'], m => m[286]);LWR.define('@salesforce/label/Emojis_AnimalsNature.dolphin', ['@view/home/labels'], m => m[287]);LWR.define('@salesforce/label/Emojis_AnimalsNature.fish', ['@view/home/labels'], m => m[288]);LWR.define('@salesforce/label/Emojis_AnimalsNature.tropicalFish', ['@view/home/labels'], m => m[289]);LWR.define('@salesforce/label/Emojis_AnimalsNature.blowfish', ['@view/home/labels'], m => m[290]);LWR.define('@salesforce/label/Emojis_AnimalsNature.octopus', ['@view/home/labels'], m => m[291]);LWR.define('@salesforce/label/Emojis_AnimalsNature.spiralShell', ['@view/home/labels'], m => m[292]);LWR.define('@salesforce/label/Emojis_AnimalsNature.snail', ['@view/home/labels'], m => m[293]);LWR.define('@salesforce/label/Emojis_AnimalsNature.bug', ['@view/home/labels'], m => m[294]);LWR.define('@salesforce/label/Emojis_AnimalsNature.ant', ['@view/home/labels'], m => m[295]);LWR.define('@salesforce/label/Emojis_AnimalsNature.honeybee', ['@view/home/labels'], m => m[296]);LWR.define('@salesforce/label/Emojis_AnimalsNature.ladyBeetle', ['@view/home/labels'], m => m[297]);LWR.define('@salesforce/label/Emojis_AnimalsNature.bouquet', ['@view/home/labels'], m => m[298]);LWR.define('@salesforce/label/Emojis_AnimalsNature.cherryBlossom', ['@view/home/labels'], m => m[299]);LWR.define('@salesforce/label/Emojis_AnimalsNature.whiteFlower', ['@view/home/labels'], m => m[300]);LWR.define('@salesforce/label/Emojis_AnimalsNature.rose', ['@view/home/labels'], m => m[301]);LWR.define('@salesforce/label/Emojis_AnimalsNature.hibiscus', ['@view/home/labels'], m => m[302]);LWR.define('@salesforce/label/Emojis_AnimalsNature.sunflower', ['@view/home/labels'], m => m[303]);LWR.define('@salesforce/label/Emojis_AnimalsNature.blossom', ['@view/home/labels'], m => m[304]);LWR.define('@salesforce/label/Emojis_AnimalsNature.tulip', ['@view/home/labels'], m => m[305]);LWR.define('@salesforce/label/Emojis_AnimalsNature.seedling', ['@view/home/labels'], m => m[306]);LWR.define('@salesforce/label/Emojis_AnimalsNature.evergreenTree', ['@view/home/labels'], m => m[307]);LWR.define('@salesforce/label/Emojis_AnimalsNature.deciduousTree', ['@view/home/labels'], m => m[308]);LWR.define('@salesforce/label/Emojis_AnimalsNature.palmTree', ['@view/home/labels'], m => m[309]);LWR.define('@salesforce/label/Emojis_AnimalsNature.cactus', ['@view/home/labels'], m => m[310]);LWR.define('@salesforce/label/Emojis_AnimalsNature.sheafOfRice', ['@view/home/labels'], m => m[311]);LWR.define('@salesforce/label/Emojis_AnimalsNature.herb', ['@view/home/labels'], m => m[312]);LWR.define('@salesforce/label/Emojis_AnimalsNature.fourLeafClover', ['@view/home/labels'], m => m[313]);LWR.define('@salesforce/label/Emojis_AnimalsNature.mapleLeaf', ['@view/home/labels'], m => m[314]);LWR.define('@salesforce/label/Emojis_AnimalsNature.fallenLeaf', ['@view/home/labels'], m => m[315]);LWR.define('@salesforce/label/Emojis_AnimalsNature.leafFlutteringInWind', ['@view/home/labels'], m => m[316]);LWR.define('@salesforce/label/Emojis_Flags.flagsCategory', ['@view/home/labels'], m => m[317]);LWR.define('@salesforce/label/Emojis_Flags.chequeredFlag', ['@view/home/labels'], m => m[318]);LWR.define('@salesforce/label/Emojis_Flags.triangularFlag', ['@view/home/labels'], m => m[319]);LWR.define('@salesforce/label/Emojis_Flags.crossedFlags', ['@view/home/labels'], m => m[320]);LWR.define('@salesforce/label/Emojis_Flags.unitedArabEmirates', ['@view/home/labels'], m => m[321]);LWR.define('@salesforce/label/Emojis_Flags.austria', ['@view/home/labels'], m => m[322]);LWR.define('@salesforce/label/Emojis_Flags.australia', ['@view/home/labels'], m => m[323]);LWR.define('@salesforce/label/Emojis_Flags.belgium', ['@view/home/labels'], m => m[324]);LWR.define('@salesforce/label/Emojis_Flags.brazil', ['@view/home/labels'], m => m[325]);LWR.define('@salesforce/label/Emojis_Flags.canada', ['@view/home/labels'], m => m[326]);LWR.define('@salesforce/label/Emojis_Flags.switzerland', ['@view/home/labels'], m => m[327]);LWR.define('@salesforce/label/Emojis_Flags.chile', ['@view/home/labels'], m => m[328]);LWR.define('@salesforce/label/Emojis_Flags.china', ['@view/home/labels'], m => m[329]);LWR.define('@salesforce/label/Emojis_Flags.colombia', ['@view/home/labels'], m => m[330]);LWR.define('@salesforce/label/Emojis_Flags.germany', ['@view/home/labels'], m => m[331]);LWR.define('@salesforce/label/Emojis_Flags.denmark', ['@view/home/labels'], m => m[332]);LWR.define('@salesforce/label/Emojis_Flags.spain', ['@view/home/labels'], m => m[333]);LWR.define('@salesforce/label/Emojis_Flags.finland', ['@view/home/labels'], m => m[334]);LWR.define('@salesforce/label/Emojis_Flags.france', ['@view/home/labels'], m => m[335]);LWR.define('@salesforce/label/Emojis_Flags.unitedKingdom', ['@view/home/labels'], m => m[336]);LWR.define('@salesforce/label/Emojis_Flags.hongKongSarChina', ['@view/home/labels'], m => m[337]);LWR.define('@salesforce/label/Emojis_Flags.indonesia', ['@view/home/labels'], m => m[338]);LWR.define('@salesforce/label/Emojis_Flags.ireland', ['@view/home/labels'], m => m[339]);LWR.define('@salesforce/label/Emojis_Flags.israel', ['@view/home/labels'], m => m[340]);LWR.define('@salesforce/label/Emojis_Flags.india', ['@view/home/labels'], m => m[341]);LWR.define('@salesforce/label/Emojis_Flags.italy', ['@view/home/labels'], m => m[342]);LWR.define('@salesforce/label/Emojis_Flags.japan', ['@view/home/labels'], m => m[343]);LWR.define('@salesforce/label/Emojis_Flags.southKorea', ['@view/home/labels'], m => m[344]);LWR.define('@salesforce/label/Emojis_Flags.macauSarChina', ['@view/home/labels'], m => m[345]);LWR.define('@salesforce/label/Emojis_Flags.mexico', ['@view/home/labels'], m => m[346]);LWR.define('@salesforce/label/Emojis_Flags.malaysia', ['@view/home/labels'], m => m[347]);LWR.define('@salesforce/label/Emojis_Flags.netherlands', ['@view/home/labels'], m => m[348]);LWR.define('@salesforce/label/Emojis_Flags.norway', ['@view/home/labels'], m => m[349]);LWR.define('@salesforce/label/Emojis_Flags.newZealand', ['@view/home/labels'], m => m[350]);LWR.define('@salesforce/label/Emojis_Flags.philippines', ['@view/home/labels'], m => m[351]);LWR.define('@salesforce/label/Emojis_Flags.poland', ['@view/home/labels'], m => m[352]);LWR.define('@salesforce/label/Emojis_Flags.puertoRico', ['@view/home/labels'], m => m[353]);LWR.define('@salesforce/label/Emojis_Flags.portugal', ['@view/home/labels'], m => m[354]);LWR.define('@salesforce/label/Emojis_Flags.russia', ['@view/home/labels'], m => m[355]);LWR.define('@salesforce/label/Emojis_Flags.saudiArabia', ['@view/home/labels'], m => m[356]);LWR.define('@salesforce/label/Emojis_Flags.sweden', ['@view/home/labels'], m => m[357]);LWR.define('@salesforce/label/Emojis_Flags.singapore', ['@view/home/labels'], m => m[358]);LWR.define('@salesforce/label/Emojis_Flags.turkey', ['@view/home/labels'], m => m[359]);LWR.define('@salesforce/label/Emojis_Flags.unitedStates', ['@view/home/labels'], m => m[360]);LWR.define('@salesforce/label/Emojis_Flags.vietnam', ['@view/home/labels'], m => m[361]);LWR.define('@salesforce/label/Emojis_Flags.southAfrica', ['@view/home/labels'], m => m[362]);LWR.define('@salesforce/label/Emojis_FoodDrink.foodDrinkCategory', ['@view/home/labels'], m => m[363]);LWR.define('@salesforce/label/Emojis_FoodDrink.grapes', ['@view/home/labels'], m => m[364]);LWR.define('@salesforce/label/Emojis_FoodDrink.melon', ['@view/home/labels'], m => m[365]);LWR.define('@salesforce/label/Emojis_FoodDrink.watermelon', ['@view/home/labels'], m => m[366]);LWR.define('@salesforce/label/Emojis_FoodDrink.tangerine', ['@view/home/labels'], m => m[367]);LWR.define('@salesforce/label/Emojis_FoodDrink.lemon', ['@view/home/labels'], m => m[368]);LWR.define('@salesforce/label/Emojis_FoodDrink.banana', ['@view/home/labels'], m => m[369]);LWR.define('@salesforce/label/Emojis_FoodDrink.pineapple', ['@view/home/labels'], m => m[370]);LWR.define('@salesforce/label/Emojis_FoodDrink.redApple', ['@view/home/labels'], m => m[371]);LWR.define('@salesforce/label/Emojis_FoodDrink.greenApple', ['@view/home/labels'], m => m[372]);LWR.define('@salesforce/label/Emojis_FoodDrink.pear', ['@view/home/labels'], m => m[373]);LWR.define('@salesforce/label/Emojis_FoodDrink.peach', ['@view/home/labels'], m => m[374]);LWR.define('@salesforce/label/Emojis_FoodDrink.cherries', ['@view/home/labels'], m => m[375]);LWR.define('@salesforce/label/Emojis_FoodDrink.strawberry', ['@view/home/labels'], m => m[376]);LWR.define('@salesforce/label/Emojis_FoodDrink.tomato', ['@view/home/labels'], m => m[377]);LWR.define('@salesforce/label/Emojis_FoodDrink.eggplant', ['@view/home/labels'], m => m[378]);LWR.define('@salesforce/label/Emojis_FoodDrink.earOfCorn', ['@view/home/labels'], m => m[379]);LWR.define('@salesforce/label/Emojis_FoodDrink.mushroom', ['@view/home/labels'], m => m[380]);LWR.define('@salesforce/label/Emojis_FoodDrink.chestnut', ['@view/home/labels'], m => m[381]);LWR.define('@salesforce/label/Emojis_FoodDrink.bread', ['@view/home/labels'], m => m[382]);LWR.define('@salesforce/label/Emojis_FoodDrink.meatOnBone', ['@view/home/labels'], m => m[383]);LWR.define('@salesforce/label/Emojis_FoodDrink.poultryLeg', ['@view/home/labels'], m => m[384]);LWR.define('@salesforce/label/Emojis_FoodDrink.hamburger', ['@view/home/labels'], m => m[385]);LWR.define('@salesforce/label/Emojis_FoodDrink.frenchFries', ['@view/home/labels'], m => m[386]);LWR.define('@salesforce/label/Emojis_FoodDrink.pizza', ['@view/home/labels'], m => m[387]);LWR.define('@salesforce/label/Emojis_FoodDrink.cooking', ['@view/home/labels'], m => m[388]);LWR.define('@salesforce/label/Emojis_FoodDrink.potOfFood', ['@view/home/labels'], m => m[389]);LWR.define('@salesforce/label/Emojis_FoodDrink.bentoBox', ['@view/home/labels'], m => m[390]);LWR.define('@salesforce/label/Emojis_FoodDrink.riceCracker', ['@view/home/labels'], m => m[391]);LWR.define('@salesforce/label/Emojis_FoodDrink.riceBall', ['@view/home/labels'], m => m[392]);LWR.define('@salesforce/label/Emojis_FoodDrink.cookedRice', ['@view/home/labels'], m => m[393]);LWR.define('@salesforce/label/Emojis_FoodDrink.curryRice', ['@view/home/labels'], m => m[394]);LWR.define('@salesforce/label/Emojis_FoodDrink.steamingBowl', ['@view/home/labels'], m => m[395]);LWR.define('@salesforce/label/Emojis_FoodDrink.spaghetti', ['@view/home/labels'], m => m[396]);LWR.define('@salesforce/label/Emojis_FoodDrink.roastedSweetPotato', ['@view/home/labels'], m => m[397]);LWR.define('@salesforce/label/Emojis_FoodDrink.oden', ['@view/home/labels'], m => m[398]);LWR.define('@salesforce/label/Emojis_FoodDrink.sushi', ['@view/home/labels'], m => m[399]);LWR.define('@salesforce/label/Emojis_FoodDrink.friedShrimp', ['@view/home/labels'], m => m[400]);LWR.define('@salesforce/label/Emojis_FoodDrink.fishCakeWithSwirl', ['@view/home/labels'], m => m[401]);LWR.define('@salesforce/label/Emojis_FoodDrink.dango', ['@view/home/labels'], m => m[402]);LWR.define('@salesforce/label/Emojis_FoodDrink.softIceCream', ['@view/home/labels'], m => m[403]);LWR.define('@salesforce/label/Emojis_FoodDrink.shavedIce', ['@view/home/labels'], m => m[404]);LWR.define('@salesforce/label/Emojis_FoodDrink.iceCream', ['@view/home/labels'], m => m[405]);LWR.define('@salesforce/label/Emojis_FoodDrink.doughnut', ['@view/home/labels'], m => m[406]);LWR.define('@salesforce/label/Emojis_FoodDrink.cookie', ['@view/home/labels'], m => m[407]);LWR.define('@salesforce/label/Emojis_FoodDrink.birthdayCake', ['@view/home/labels'], m => m[408]);LWR.define('@salesforce/label/Emojis_FoodDrink.shortcake', ['@view/home/labels'], m => m[409]);LWR.define('@salesforce/label/Emojis_FoodDrink.chocolateBar', ['@view/home/labels'], m => m[410]);LWR.define('@salesforce/label/Emojis_FoodDrink.candy', ['@view/home/labels'], m => m[411]);LWR.define('@salesforce/label/Emojis_FoodDrink.lollipop', ['@view/home/labels'], m => m[412]);LWR.define('@salesforce/label/Emojis_FoodDrink.custard', ['@view/home/labels'], m => m[413]);LWR.define('@salesforce/label/Emojis_FoodDrink.honeyPot', ['@view/home/labels'], m => m[414]);LWR.define('@salesforce/label/Emojis_FoodDrink.babyBottle', ['@view/home/labels'], m => m[415]);LWR.define('@salesforce/label/Emojis_FoodDrink.hotBeverage', ['@view/home/labels'], m => m[416]);LWR.define('@salesforce/label/Emojis_FoodDrink.teacupWithoutHandle', ['@view/home/labels'], m => m[417]);LWR.define('@salesforce/label/Emojis_FoodDrink.sake', ['@view/home/labels'], m => m[418]);LWR.define('@salesforce/label/Emojis_FoodDrink.wineGlass', ['@view/home/labels'], m => m[419]);LWR.define('@salesforce/label/Emojis_FoodDrink.cocktailGlass', ['@view/home/labels'], m => m[420]);LWR.define('@salesforce/label/Emojis_FoodDrink.tropicalDrink', ['@view/home/labels'], m => m[421]);LWR.define('@salesforce/label/Emojis_FoodDrink.beerMug', ['@view/home/labels'], m => m[422]);LWR.define('@salesforce/label/Emojis_FoodDrink.clinkingBeerMugs', ['@view/home/labels'], m => m[423]);LWR.define('@salesforce/label/Emojis_FoodDrink.forkAndKnife', ['@view/home/labels'], m => m[424]);LWR.define('@salesforce/label/Emojis_FoodDrink.kitchenKnife', ['@view/home/labels'], m => m[425]);LWR.define('@salesforce/label/Emojis_Objects.objectsCategory', ['@view/home/labels'], m => m[426]);LWR.define('@salesforce/label/Emojis_Objects.mutedSpeaker', ['@view/home/labels'], m => m[427]);LWR.define('@salesforce/label/Emojis_Objects.speakerLowVolume', ['@view/home/labels'], m => m[428]);LWR.define('@salesforce/label/Emojis_Objects.speakerMediumVolume', ['@view/home/labels'], m => m[429]);LWR.define('@salesforce/label/Emojis_Objects.speakerHighVolume', ['@view/home/labels'], m => m[430]);LWR.define('@salesforce/label/Emojis_Objects.loudspeaker', ['@view/home/labels'], m => m[431]);LWR.define('@salesforce/label/Emojis_Objects.megaphone', ['@view/home/labels'], m => m[432]);LWR.define('@salesforce/label/Emojis_Objects.postalHorn', ['@view/home/labels'], m => m[433]);LWR.define('@salesforce/label/Emojis_Objects.bell', ['@view/home/labels'], m => m[434]);LWR.define('@salesforce/label/Emojis_Objects.bellWithSlash', ['@view/home/labels'], m => m[435]);LWR.define('@salesforce/label/Emojis_Objects.musicalScore', ['@view/home/labels'], m => m[436]);LWR.define('@salesforce/label/Emojis_Objects.musicalNote', ['@view/home/labels'], m => m[437]);LWR.define('@salesforce/label/Emojis_Objects.musicalNotes', ['@view/home/labels'], m => m[438]);LWR.define('@salesforce/label/Emojis_Objects.microphone', ['@view/home/labels'], m => m[439]);LWR.define('@salesforce/label/Emojis_Objects.headphone', ['@view/home/labels'], m => m[440]);LWR.define('@salesforce/label/Emojis_Objects.radio', ['@view/home/labels'], m => m[441]);LWR.define('@salesforce/label/Emojis_Objects.saxophone', ['@view/home/labels'], m => m[442]);LWR.define('@salesforce/label/Emojis_Objects.guitar', ['@view/home/labels'], m => m[443]);LWR.define('@salesforce/label/Emojis_Objects.musicalKeyboard', ['@view/home/labels'], m => m[444]);LWR.define('@salesforce/label/Emojis_Objects.trumpet', ['@view/home/labels'], m => m[445]);LWR.define('@salesforce/label/Emojis_Objects.violin', ['@view/home/labels'], m => m[446]);LWR.define('@salesforce/label/Emojis_Objects.mobilePhone', ['@view/home/labels'], m => m[447]);LWR.define('@salesforce/label/Emojis_Objects.mobilePhoneWithArrow', ['@view/home/labels'], m => m[448]);LWR.define('@salesforce/label/Emojis_Objects.telephone', ['@view/home/labels'], m => m[449]);LWR.define('@salesforce/label/Emojis_Objects.telephoneReceiver', ['@view/home/labels'], m => m[450]);LWR.define('@salesforce/label/Emojis_Objects.pager', ['@view/home/labels'], m => m[451]);LWR.define('@salesforce/label/Emojis_Objects.faxMachine', ['@view/home/labels'], m => m[452]);LWR.define('@salesforce/label/Emojis_Objects.battery', ['@view/home/labels'], m => m[453]);LWR.define('@salesforce/label/Emojis_Objects.electricPlug', ['@view/home/labels'], m => m[454]);LWR.define('@salesforce/label/Emojis_Objects.laptopComputer', ['@view/home/labels'], m => m[455]);LWR.define('@salesforce/label/Emojis_Objects.computerDisk', ['@view/home/labels'], m => m[456]);LWR.define('@salesforce/label/Emojis_Objects.floppyDisk', ['@view/home/labels'], m => m[457]);LWR.define('@salesforce/label/Emojis_Objects.opticalDisk', ['@view/home/labels'], m => m[458]);LWR.define('@salesforce/label/Emojis_Objects.dvd', ['@view/home/labels'], m => m[459]);LWR.define('@salesforce/label/Emojis_Objects.movieCamera', ['@view/home/labels'], m => m[460]);LWR.define('@salesforce/label/Emojis_Objects.clapperBoard', ['@view/home/labels'], m => m[461]);LWR.define('@salesforce/label/Emojis_Objects.television', ['@view/home/labels'], m => m[462]);LWR.define('@salesforce/label/Emojis_Objects.camera', ['@view/home/labels'], m => m[463]);LWR.define('@salesforce/label/Emojis_Objects.videoCamera', ['@view/home/labels'], m => m[464]);LWR.define('@salesforce/label/Emojis_Objects.videocassette', ['@view/home/labels'], m => m[465]);LWR.define('@salesforce/label/Emojis_Objects.leftPointingMagnifyingGlass', ['@view/home/labels'], m => m[466]);LWR.define('@salesforce/label/Emojis_Objects.rightPointingMagnifyingGlass', ['@view/home/labels'], m => m[467]);LWR.define('@salesforce/label/Emojis_Objects.microscope', ['@view/home/labels'], m => m[468]);LWR.define('@salesforce/label/Emojis_Objects.telescope', ['@view/home/labels'], m => m[469]);LWR.define('@salesforce/label/Emojis_Objects.satelliteAntenna', ['@view/home/labels'], m => m[470]);LWR.define('@salesforce/label/Emojis_Objects.lightBulb', ['@view/home/labels'], m => m[471]);LWR.define('@salesforce/label/Emojis_Objects.flashlight', ['@view/home/labels'], m => m[472]);LWR.define('@salesforce/label/Emojis_Objects.redPaperLantern', ['@view/home/labels'], m => m[473]);LWR.define('@salesforce/label/Emojis_Objects.notebookWithDecorativeCover', ['@view/home/labels'], m => m[474]);LWR.define('@salesforce/label/Emojis_Objects.closedBook', ['@view/home/labels'], m => m[475]);LWR.define('@salesforce/label/Emojis_Objects.openBook', ['@view/home/labels'], m => m[476]);LWR.define('@salesforce/label/Emojis_Objects.greenBook', ['@view/home/labels'], m => m[477]);LWR.define('@salesforce/label/Emojis_Objects.blueBook', ['@view/home/labels'], m => m[478]);LWR.define('@salesforce/label/Emojis_Objects.orangeBook', ['@view/home/labels'], m => m[479]);LWR.define('@salesforce/label/Emojis_Objects.books', ['@view/home/labels'], m => m[480]);LWR.define('@salesforce/label/Emojis_Objects.notebook', ['@view/home/labels'], m => m[481]);LWR.define('@salesforce/label/Emojis_Objects.ledger', ['@view/home/labels'], m => m[482]);LWR.define('@salesforce/label/Emojis_Objects.pageWithCurl', ['@view/home/labels'], m => m[483]);LWR.define('@salesforce/label/Emojis_Objects.scroll', ['@view/home/labels'], m => m[484]);LWR.define('@salesforce/label/Emojis_Objects.pageFacingUp', ['@view/home/labels'], m => m[485]);LWR.define('@salesforce/label/Emojis_Objects.newspaper', ['@view/home/labels'], m => m[486]);LWR.define('@salesforce/label/Emojis_Objects.bookmarkTabs', ['@view/home/labels'], m => m[487]);LWR.define('@salesforce/label/Emojis_Objects.bookmark', ['@view/home/labels'], m => m[488]);LWR.define('@salesforce/label/Emojis_Objects.moneyBag', ['@view/home/labels'], m => m[489]);LWR.define('@salesforce/label/Emojis_Objects.yenBanknote', ['@view/home/labels'], m => m[490]);LWR.define('@salesforce/label/Emojis_Objects.dollarBanknote', ['@view/home/labels'], m => m[491]);LWR.define('@salesforce/label/Emojis_Objects.euroBanknote', ['@view/home/labels'], m => m[492]);LWR.define('@salesforce/label/Emojis_Objects.poundBanknote', ['@view/home/labels'], m => m[493]);LWR.define('@salesforce/label/Emojis_Objects.moneyWithWings', ['@view/home/labels'], m => m[494]);LWR.define('@salesforce/label/Emojis_Objects.creditCard', ['@view/home/labels'], m => m[495]);LWR.define('@salesforce/label/Emojis_Objects.chartIncreasingWithYen', ['@view/home/labels'], m => m[496]);LWR.define('@salesforce/label/Emojis_Objects.currencyExchange', ['@view/home/labels'], m => m[497]);LWR.define('@salesforce/label/Emojis_Objects.heavyDollarSign', ['@view/home/labels'], m => m[498]);LWR.define('@salesforce/label/Emojis_Objects.envelope', ['@view/home/labels'], m => m[499]);LWR.define('@salesforce/label/Emojis_Objects.eMail', ['@view/home/labels'], m => m[500]);LWR.define('@salesforce/label/Emojis_Objects.incomingEnvelope', ['@view/home/labels'], m => m[501]);LWR.define('@salesforce/label/Emojis_Objects.envelopeWithArrow', ['@view/home/labels'], m => m[502]);LWR.define('@salesforce/label/Emojis_Objects.outboxTray', ['@view/home/labels'], m => m[503]);LWR.define('@salesforce/label/Emojis_Objects.inboxTray', ['@view/home/labels'], m => m[504]);LWR.define('@salesforce/label/Emojis_Objects.mailPackage', ['@view/home/labels'], m => m[505]);LWR.define('@salesforce/label/Emojis_Objects.closedMailboxWithRaisedFlag', ['@view/home/labels'], m => m[506]);LWR.define('@salesforce/label/Emojis_Objects.closedMailboxWithLoweredFlag', ['@view/home/labels'], m => m[507]);LWR.define('@salesforce/label/Emojis_Objects.openMailboxWithRaisedFlag', ['@view/home/labels'], m => m[508]);LWR.define('@salesforce/label/Emojis_Objects.openMailboxWithLoweredFlag', ['@view/home/labels'], m => m[509]);LWR.define('@salesforce/label/Emojis_Objects.postbox', ['@view/home/labels'], m => m[510]);LWR.define('@salesforce/label/Emojis_Objects.pencil', ['@view/home/labels'], m => m[511]);LWR.define('@salesforce/label/Emojis_Objects.blackNib', ['@view/home/labels'], m => m[512]);LWR.define('@salesforce/label/Emojis_Objects.memo', ['@view/home/labels'], m => m[513]);LWR.define('@salesforce/label/Emojis_Objects.briefcase', ['@view/home/labels'], m => m[514]);LWR.define('@salesforce/label/Emojis_Objects.fileFolder', ['@view/home/labels'], m => m[515]);LWR.define('@salesforce/label/Emojis_Objects.openFileFolder', ['@view/home/labels'], m => m[516]);LWR.define('@salesforce/label/Emojis_Objects.calendar', ['@view/home/labels'], m => m[517]);LWR.define('@salesforce/label/Emojis_Objects.tearOffCalendar', ['@view/home/labels'], m => m[518]);LWR.define('@salesforce/label/Emojis_Objects.cardIndex', ['@view/home/labels'], m => m[519]);LWR.define('@salesforce/label/Emojis_Objects.chartIncreasing', ['@view/home/labels'], m => m[520]);LWR.define('@salesforce/label/Emojis_Objects.chartDecreasing', ['@view/home/labels'], m => m[521]);LWR.define('@salesforce/label/Emojis_Objects.barChart', ['@view/home/labels'], m => m[522]);LWR.define('@salesforce/label/Emojis_Objects.clipboard', ['@view/home/labels'], m => m[523]);LWR.define('@salesforce/label/Emojis_Objects.pushpin', ['@view/home/labels'], m => m[524]);LWR.define('@salesforce/label/Emojis_Objects.roundPushpin', ['@view/home/labels'], m => m[525]);LWR.define('@salesforce/label/Emojis_Objects.paperclip', ['@view/home/labels'], m => m[526]);LWR.define('@salesforce/label/Emojis_Objects.straightRuler', ['@view/home/labels'], m => m[527]);LWR.define('@salesforce/label/Emojis_Objects.triangularRuler', ['@view/home/labels'], m => m[528]);LWR.define('@salesforce/label/Emojis_Objects.scissors', ['@view/home/labels'], m => m[529]);LWR.define('@salesforce/label/Emojis_Objects.locked', ['@view/home/labels'], m => m[530]);LWR.define('@salesforce/label/Emojis_Objects.unlocked', ['@view/home/labels'], m => m[531]);LWR.define('@salesforce/label/Emojis_Objects.lockedWithPen', ['@view/home/labels'], m => m[532]);LWR.define('@salesforce/label/Emojis_Objects.lockedWithKey', ['@view/home/labels'], m => m[533]);LWR.define('@salesforce/label/Emojis_Objects.key', ['@view/home/labels'], m => m[534]);LWR.define('@salesforce/label/Emojis_Objects.hammer', ['@view/home/labels'], m => m[535]);LWR.define('@salesforce/label/Emojis_Objects.pistol', ['@view/home/labels'], m => m[536]);LWR.define('@salesforce/label/Emojis_Objects.wrench', ['@view/home/labels'], m => m[537]);LWR.define('@salesforce/label/Emojis_Objects.nutAndBolt', ['@view/home/labels'], m => m[538]);LWR.define('@salesforce/label/Emojis_Objects.link', ['@view/home/labels'], m => m[539]);LWR.define('@salesforce/label/Emojis_Objects.syringe', ['@view/home/labels'], m => m[540]);LWR.define('@salesforce/label/Emojis_Objects.pill', ['@view/home/labels'], m => m[541]);LWR.define('@salesforce/label/Emojis_Objects.cigarette', ['@view/home/labels'], m => m[542]);LWR.define('@salesforce/label/Emojis_Objects.moai', ['@view/home/labels'], m => m[543]);LWR.define('@salesforce/label/Emojis_Objects.crystalBall', ['@view/home/labels'], m => m[544]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smileysPeopleCategory', ['@view/home/labels'], m => m[545]);LWR.define('@salesforce/label/Emojis_SmileysPeople.grinningFace', ['@view/home/labels'], m => m[546]);LWR.define('@salesforce/label/Emojis_SmileysPeople.grinningFaceWithSmilingEyes', ['@view/home/labels'], m => m[547]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithTearsOfJoy', ['@view/home/labels'], m => m[548]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouth', ['@view/home/labels'], m => m[549]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthSmilingEyes', ['@view/home/labels'], m => m[550]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthColdSweat', ['@view/home/labels'], m => m[551]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthClosedEyes', ['@view/home/labels'], m => m[552]);LWR.define('@salesforce/label/Emojis_SmileysPeople.winkingFace', ['@view/home/labels'], m => m[553]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithSmilingEyes', ['@view/home/labels'], m => m[554]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceSavoringDeliciousFood', ['@view/home/labels'], m => m[555]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithSunglasses', ['@view/home/labels'], m => m[556]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHeartEyes', ['@view/home/labels'], m => m[557]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceBlowingAKiss', ['@view/home/labels'], m => m[558]);LWR.define('@salesforce/label/Emojis_SmileysPeople.kissingFace', ['@view/home/labels'], m => m[559]);LWR.define('@salesforce/label/Emojis_SmileysPeople.kissingFaceWithSmilingEyes', ['@view/home/labels'], m => m[560]);LWR.define('@salesforce/label/Emojis_SmileysPeople.kissingFaceWithClosedEyes', ['@view/home/labels'], m => m[561]);LWR.define('@salesforce/label/Emojis_SmileysPeople.slightlySmilingFace', ['@view/home/labels'], m => m[562]);LWR.define('@salesforce/label/Emojis_SmileysPeople.neutralFace', ['@view/home/labels'], m => m[563]);LWR.define('@salesforce/label/Emojis_SmileysPeople.expressionlessFace', ['@view/home/labels'], m => m[564]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithoutMouth', ['@view/home/labels'], m => m[565]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smirkingFace', ['@view/home/labels'], m => m[566]);LWR.define('@salesforce/label/Emojis_SmileysPeople.perseveringFace', ['@view/home/labels'], m => m[567]);LWR.define('@salesforce/label/Emojis_SmileysPeople.disappointedButRelievedFace', ['@view/home/labels'], m => m[568]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithOpenMouth', ['@view/home/labels'], m => m[569]);LWR.define('@salesforce/label/Emojis_SmileysPeople.hushedFace', ['@view/home/labels'], m => m[570]);LWR.define('@salesforce/label/Emojis_SmileysPeople.sleepyFace', ['@view/home/labels'], m => m[571]);LWR.define('@salesforce/label/Emojis_SmileysPeople.tiredFace', ['@view/home/labels'], m => m[572]);LWR.define('@salesforce/label/Emojis_SmileysPeople.sleepingFace', ['@view/home/labels'], m => m[573]);LWR.define('@salesforce/label/Emojis_SmileysPeople.relievedFace', ['@view/home/labels'], m => m[574]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongue', ['@view/home/labels'], m => m[575]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongueWinkingEye', ['@view/home/labels'], m => m[576]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongueClosedEyes', ['@view/home/labels'], m => m[577]);LWR.define('@salesforce/label/Emojis_SmileysPeople.unamusedFace', ['@view/home/labels'], m => m[578]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithColdSweat', ['@view/home/labels'], m => m[579]);LWR.define('@salesforce/label/Emojis_SmileysPeople.pensiveFace', ['@view/home/labels'], m => m[580]);LWR.define('@salesforce/label/Emojis_SmileysPeople.confusedFace', ['@view/home/labels'], m => m[581]);LWR.define('@salesforce/label/Emojis_SmileysPeople.astonishedFace', ['@view/home/labels'], m => m[582]);LWR.define('@salesforce/label/Emojis_SmileysPeople.confoundedFace', ['@view/home/labels'], m => m[583]);LWR.define('@salesforce/label/Emojis_SmileysPeople.disappointedFace', ['@view/home/labels'], m => m[584]);LWR.define('@salesforce/label/Emojis_SmileysPeople.worriedFace', ['@view/home/labels'], m => m[585]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithSteamFromNose', ['@view/home/labels'], m => m[586]);LWR.define('@salesforce/label/Emojis_SmileysPeople.cryingFace', ['@view/home/labels'], m => m[587]);LWR.define('@salesforce/label/Emojis_SmileysPeople.loudlyCryingFace', ['@view/home/labels'], m => m[588]);LWR.define('@salesforce/label/Emojis_SmileysPeople.frowningFaceWithOpenMouth', ['@view/home/labels'], m => m[589]);LWR.define('@salesforce/label/Emojis_SmileysPeople.anguishedFace', ['@view/home/labels'], m => m[590]);LWR.define('@salesforce/label/Emojis_SmileysPeople.fearfulFace', ['@view/home/labels'], m => m[591]);LWR.define('@salesforce/label/Emojis_SmileysPeople.wearyFace', ['@view/home/labels'], m => m[592]);LWR.define('@salesforce/label/Emojis_SmileysPeople.grimacingFace', ['@view/home/labels'], m => m[593]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithOpenMouthColdSweat', ['@view/home/labels'], m => m[594]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceScreamingInFear', ['@view/home/labels'], m => m[595]);LWR.define('@salesforce/label/Emojis_SmileysPeople.flushedFace', ['@view/home/labels'], m => m[596]);LWR.define('@salesforce/label/Emojis_SmileysPeople.dizzyFace', ['@view/home/labels'], m => m[597]);LWR.define('@salesforce/label/Emojis_SmileysPeople.poutingFace', ['@view/home/labels'], m => m[598]);LWR.define('@salesforce/label/Emojis_SmileysPeople.angryFace', ['@view/home/labels'], m => m[599]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHalo', ['@view/home/labels'], m => m[600]);LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithMedicalMask', ['@view/home/labels'], m => m[601]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHorns', ['@view/home/labels'], m => m[602]);LWR.define('@salesforce/label/Emojis_SmileysPeople.angryFaceWithHorns', ['@view/home/labels'], m => m[603]);LWR.define('@salesforce/label/Emojis_SmileysPeople.ogre', ['@view/home/labels'], m => m[604]);LWR.define('@salesforce/label/Emojis_SmileysPeople.goblin', ['@view/home/labels'], m => m[605]);LWR.define('@salesforce/label/Emojis_SmileysPeople.skull', ['@view/home/labels'], m => m[606]);LWR.define('@salesforce/label/Emojis_SmileysPeople.ghost', ['@view/home/labels'], m => m[607]);LWR.define('@salesforce/label/Emojis_SmileysPeople.alien', ['@view/home/labels'], m => m[608]);LWR.define('@salesforce/label/Emojis_SmileysPeople.alienMonster', ['@view/home/labels'], m => m[609]);LWR.define('@salesforce/label/Emojis_SmileysPeople.pileOfPoo', ['@view/home/labels'], m => m[610]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingCatFaceWithOpenMouth', ['@view/home/labels'], m => m[611]);LWR.define('@salesforce/label/Emojis_SmileysPeople.grinningCatFaceWithSmilingEyes', ['@view/home/labels'], m => m[612]);LWR.define('@salesforce/label/Emojis_SmileysPeople.catFaceWithTearsOfJoy', ['@view/home/labels'], m => m[613]);LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingCatFaceWithHeartEyes', ['@view/home/labels'], m => m[614]);LWR.define('@salesforce/label/Emojis_SmileysPeople.catFaceWithWrySmile', ['@view/home/labels'], m => m[615]);LWR.define('@salesforce/label/Emojis_SmileysPeople.kissingCatFaceWithClosedEyes', ['@view/home/labels'], m => m[616]);LWR.define('@salesforce/label/Emojis_SmileysPeople.wearyCatFace', ['@view/home/labels'], m => m[617]);LWR.define('@salesforce/label/Emojis_SmileysPeople.cryingCatFace', ['@view/home/labels'], m => m[618]);LWR.define('@salesforce/label/Emojis_SmileysPeople.poutingCatFace', ['@view/home/labels'], m => m[619]);LWR.define('@salesforce/label/Emojis_SmileysPeople.seeNoEvilMonkey', ['@view/home/labels'], m => m[620]);LWR.define('@salesforce/label/Emojis_SmileysPeople.hearNoEvilMonkey', ['@view/home/labels'], m => m[621]);LWR.define('@salesforce/label/Emojis_SmileysPeople.speakNoEvilMonkey', ['@view/home/labels'], m => m[622]);LWR.define('@salesforce/label/Emojis_SmileysPeople.boy', ['@view/home/labels'], m => m[623]);LWR.define('@salesforce/label/Emojis_SmileysPeople.girl', ['@view/home/labels'], m => m[624]);LWR.define('@salesforce/label/Emojis_SmileysPeople.man', ['@view/home/labels'], m => m[625]);LWR.define('@salesforce/label/Emojis_SmileysPeople.woman', ['@view/home/labels'], m => m[626]);LWR.define('@salesforce/label/Emojis_SmileysPeople.oldMan', ['@view/home/labels'], m => m[627]);LWR.define('@salesforce/label/Emojis_SmileysPeople.oldWoman', ['@view/home/labels'], m => m[628]);LWR.define('@salesforce/label/Emojis_SmileysPeople.baby', ['@view/home/labels'], m => m[629]);LWR.define('@salesforce/label/Emojis_SmileysPeople.babyAngel', ['@view/home/labels'], m => m[630]);LWR.define('@salesforce/label/Emojis_SmileysPeople.policeOfficer', ['@view/home/labels'], m => m[631]);LWR.define('@salesforce/label/Emojis_SmileysPeople.guard', ['@view/home/labels'], m => m[632]);LWR.define('@salesforce/label/Emojis_SmileysPeople.constructionWorker', ['@view/home/labels'], m => m[633]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personWearingTurban', ['@view/home/labels'], m => m[634]);LWR.define('@salesforce/label/Emojis_SmileysPeople.blondHairedPerson', ['@view/home/labels'], m => m[635]);LWR.define('@salesforce/label/Emojis_SmileysPeople.santaClaus', ['@view/home/labels'], m => m[636]);LWR.define('@salesforce/label/Emojis_SmileysPeople.princess', ['@view/home/labels'], m => m[637]);LWR.define('@salesforce/label/Emojis_SmileysPeople.brideWithVeil', ['@view/home/labels'], m => m[638]);LWR.define('@salesforce/label/Emojis_SmileysPeople.manWithChineseCap', ['@view/home/labels'], m => m[639]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personFrowning', ['@view/home/labels'], m => m[640]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personPouting', ['@view/home/labels'], m => m[641]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personGesturingNo', ['@view/home/labels'], m => m[642]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personGesturingOk', ['@view/home/labels'], m => m[643]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personTippingHand', ['@view/home/labels'], m => m[644]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personRaisingHand', ['@view/home/labels'], m => m[645]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personBowing', ['@view/home/labels'], m => m[646]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personGettingMassage', ['@view/home/labels'], m => m[647]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personGettingHaircut', ['@view/home/labels'], m => m[648]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personWalking', ['@view/home/labels'], m => m[649]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personRunning', ['@view/home/labels'], m => m[650]);LWR.define('@salesforce/label/Emojis_SmileysPeople.womanDancing', ['@view/home/labels'], m => m[651]);LWR.define('@salesforce/label/Emojis_SmileysPeople.peopleWithBunnyEarsPartying', ['@view/home/labels'], m => m[652]);LWR.define('@salesforce/label/Emojis_SmileysPeople.bustInSilhouette', ['@view/home/labels'], m => m[653]);LWR.define('@salesforce/label/Emojis_SmileysPeople.bustsInSilhouette', ['@view/home/labels'], m => m[654]);LWR.define('@salesforce/label/Emojis_SmileysPeople.horseRacing', ['@view/home/labels'], m => m[655]);LWR.define('@salesforce/label/Emojis_SmileysPeople.snowboarder', ['@view/home/labels'], m => m[656]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personSurfing', ['@view/home/labels'], m => m[657]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personRowingBoat', ['@view/home/labels'], m => m[658]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personSwimming', ['@view/home/labels'], m => m[659]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personBiking', ['@view/home/labels'], m => m[660]);LWR.define('@salesforce/label/Emojis_SmileysPeople.personMountainBiking', ['@view/home/labels'], m => m[661]);LWR.define('@salesforce/label/Emojis_SmileysPeople.manAndWomanHoldingHands', ['@view/home/labels'], m => m[662]);LWR.define('@salesforce/label/Emojis_SmileysPeople.twoMenHoldingHands', ['@view/home/labels'], m => m[663]);LWR.define('@salesforce/label/Emojis_SmileysPeople.twoWomenHoldingHands', ['@view/home/labels'], m => m[664]);LWR.define('@salesforce/label/Emojis_SmileysPeople.kiss', ['@view/home/labels'], m => m[665]);LWR.define('@salesforce/label/Emojis_SmileysPeople.coupleWithHeart', ['@view/home/labels'], m => m[666]);LWR.define('@salesforce/label/Emojis_SmileysPeople.family', ['@view/home/labels'], m => m[667]);LWR.define('@salesforce/label/Emojis_SmileysPeople.flexedBiceps', ['@view/home/labels'], m => m[668]);LWR.define('@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingLeft', ['@view/home/labels'], m => m[669]);LWR.define('@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingRight', ['@view/home/labels'], m => m[670]);LWR.define('@salesforce/label/Emojis_SmileysPeople.indexPointingUp', ['@view/home/labels'], m => m[671]);LWR.define('@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingUp', ['@view/home/labels'], m => m[672]);LWR.define('@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingDown', ['@view/home/labels'], m => m[673]);LWR.define('@salesforce/label/Emojis_SmileysPeople.victoryHand', ['@view/home/labels'], m => m[674]);LWR.define('@salesforce/label/Emojis_SmileysPeople.raisedHand', ['@view/home/labels'], m => m[675]);LWR.define('@salesforce/label/Emojis_SmileysPeople.okHand', ['@view/home/labels'], m => m[676]);LWR.define('@salesforce/label/Emojis_SmileysPeople.thumbsUp', ['@view/home/labels'], m => m[677]);LWR.define('@salesforce/label/Emojis_SmileysPeople.thumbsDown', ['@view/home/labels'], m => m[678]);LWR.define('@salesforce/label/Emojis_SmileysPeople.raisedFist', ['@view/home/labels'], m => m[679]);LWR.define('@salesforce/label/Emojis_SmileysPeople.oncomingFist', ['@view/home/labels'], m => m[680]);LWR.define('@salesforce/label/Emojis_SmileysPeople.wavingHand', ['@view/home/labels'], m => m[681]);LWR.define('@salesforce/label/Emojis_SmileysPeople.clappingHands', ['@view/home/labels'], m => m[682]);LWR.define('@salesforce/label/Emojis_SmileysPeople.openHands', ['@view/home/labels'], m => m[683]);LWR.define('@salesforce/label/Emojis_SmileysPeople.raisingHands', ['@view/home/labels'], m => m[684]);LWR.define('@salesforce/label/Emojis_SmileysPeople.foldedHands', ['@view/home/labels'], m => m[685]);LWR.define('@salesforce/label/Emojis_SmileysPeople.nailPolish', ['@view/home/labels'], m => m[686]);LWR.define('@salesforce/label/Emojis_SmileysPeople.ear', ['@view/home/labels'], m => m[687]);LWR.define('@salesforce/label/Emojis_SmileysPeople.nose', ['@view/home/labels'], m => m[688]);LWR.define('@salesforce/label/Emojis_SmileysPeople.footprints', ['@view/home/labels'], m => m[689]);LWR.define('@salesforce/label/Emojis_SmileysPeople.eyes', ['@view/home/labels'], m => m[690]);LWR.define('@salesforce/label/Emojis_SmileysPeople.tongue', ['@view/home/labels'], m => m[691]);LWR.define('@salesforce/label/Emojis_SmileysPeople.mouth', ['@view/home/labels'], m => m[692]);LWR.define('@salesforce/label/Emojis_SmileysPeople.kissMark', ['@view/home/labels'], m => m[693]);LWR.define('@salesforce/label/Emojis_SmileysPeople.heartWithArrow', ['@view/home/labels'], m => m[694]);LWR.define('@salesforce/label/Emojis_SmileysPeople.redHeart', ['@view/home/labels'], m => m[695]);LWR.define('@salesforce/label/Emojis_SmileysPeople.beatingHeart', ['@view/home/labels'], m => m[696]);LWR.define('@salesforce/label/Emojis_SmileysPeople.brokenHeart', ['@view/home/labels'], m => m[697]);LWR.define('@salesforce/label/Emojis_SmileysPeople.twoHearts', ['@view/home/labels'], m => m[698]);LWR.define('@salesforce/label/Emojis_SmileysPeople.sparklingHeart', ['@view/home/labels'], m => m[699]);LWR.define('@salesforce/label/Emojis_SmileysPeople.growingHeart', ['@view/home/labels'], m => m[700]);LWR.define('@salesforce/label/Emojis_SmileysPeople.blueHeart', ['@view/home/labels'], m => m[701]);LWR.define('@salesforce/label/Emojis_SmileysPeople.greenHeart', ['@view/home/labels'], m => m[702]);LWR.define('@salesforce/label/Emojis_SmileysPeople.yellowHeart', ['@view/home/labels'], m => m[703]);LWR.define('@salesforce/label/Emojis_SmileysPeople.purpleHeart', ['@view/home/labels'], m => m[704]);LWR.define('@salesforce/label/Emojis_SmileysPeople.heartWithRibbon', ['@view/home/labels'], m => m[705]);LWR.define('@salesforce/label/Emojis_SmileysPeople.revolvingHearts', ['@view/home/labels'], m => m[706]);LWR.define('@salesforce/label/Emojis_SmileysPeople.heartDecoration', ['@view/home/labels'], m => m[707]);LWR.define('@salesforce/label/Emojis_SmileysPeople.loveLetter', ['@view/home/labels'], m => m[708]);LWR.define('@salesforce/label/Emojis_SmileysPeople.zzz', ['@view/home/labels'], m => m[709]);LWR.define('@salesforce/label/Emojis_SmileysPeople.angerSymbol', ['@view/home/labels'], m => m[710]);LWR.define('@salesforce/label/Emojis_SmileysPeople.bomb', ['@view/home/labels'], m => m[711]);LWR.define('@salesforce/label/Emojis_SmileysPeople.collision', ['@view/home/labels'], m => m[712]);LWR.define('@salesforce/label/Emojis_SmileysPeople.sweatDroplets', ['@view/home/labels'], m => m[713]);LWR.define('@salesforce/label/Emojis_SmileysPeople.dashingAway', ['@view/home/labels'], m => m[714]);LWR.define('@salesforce/label/Emojis_SmileysPeople.dizzy', ['@view/home/labels'], m => m[715]);LWR.define('@salesforce/label/Emojis_SmileysPeople.speechBalloon', ['@view/home/labels'], m => m[716]);LWR.define('@salesforce/label/Emojis_SmileysPeople.thoughtBalloon', ['@view/home/labels'], m => m[717]);LWR.define('@salesforce/label/Emojis_SmileysPeople.glasses', ['@view/home/labels'], m => m[718]);LWR.define('@salesforce/label/Emojis_SmileysPeople.necktie', ['@view/home/labels'], m => m[719]);LWR.define('@salesforce/label/Emojis_SmileysPeople.tShirt', ['@view/home/labels'], m => m[720]);LWR.define('@salesforce/label/Emojis_SmileysPeople.jeans', ['@view/home/labels'], m => m[721]);LWR.define('@salesforce/label/Emojis_SmileysPeople.dress', ['@view/home/labels'], m => m[722]);LWR.define('@salesforce/label/Emojis_SmileysPeople.kimono', ['@view/home/labels'], m => m[723]);LWR.define('@salesforce/label/Emojis_SmileysPeople.bikini', ['@view/home/labels'], m => m[724]);LWR.define('@salesforce/label/Emojis_SmileysPeople.womansClothes', ['@view/home/labels'], m => m[725]);LWR.define('@salesforce/label/Emojis_SmileysPeople.purse', ['@view/home/labels'], m => m[726]);LWR.define('@salesforce/label/Emojis_SmileysPeople.handbag', ['@view/home/labels'], m => m[727]);LWR.define('@salesforce/label/Emojis_SmileysPeople.clutchBag', ['@view/home/labels'], m => m[728]);LWR.define('@salesforce/label/Emojis_SmileysPeople.schoolBackpack', ['@view/home/labels'], m => m[729]);LWR.define('@salesforce/label/Emojis_SmileysPeople.mansShoe', ['@view/home/labels'], m => m[730]);LWR.define('@salesforce/label/Emojis_SmileysPeople.runningShoe', ['@view/home/labels'], m => m[731]);LWR.define('@salesforce/label/Emojis_SmileysPeople.highHeeledShoe', ['@view/home/labels'], m => m[732]);LWR.define('@salesforce/label/Emojis_SmileysPeople.womansBoot', ['@view/home/labels'], m => m[733]);LWR.define('@salesforce/label/Emojis_SmileysPeople.womansSandal', ['@view/home/labels'], m => m[734]);LWR.define('@salesforce/label/Emojis_SmileysPeople.crown', ['@view/home/labels'], m => m[735]);LWR.define('@salesforce/label/Emojis_SmileysPeople.womansHat', ['@view/home/labels'], m => m[736]);LWR.define('@salesforce/label/Emojis_SmileysPeople.topHat', ['@view/home/labels'], m => m[737]);LWR.define('@salesforce/label/Emojis_SmileysPeople.graduationCap', ['@view/home/labels'], m => m[738]);LWR.define('@salesforce/label/Emojis_SmileysPeople.lipstick', ['@view/home/labels'], m => m[739]);LWR.define('@salesforce/label/Emojis_SmileysPeople.ring', ['@view/home/labels'], m => m[740]);LWR.define('@salesforce/label/Emojis_SmileysPeople.gemStone', ['@view/home/labels'], m => m[741]);LWR.define('@salesforce/label/Emojis_Symbols.symbolsCategory', ['@view/home/labels'], m => m[742]);LWR.define('@salesforce/label/Emojis_Symbols.atmSign', ['@view/home/labels'], m => m[743]);LWR.define('@salesforce/label/Emojis_Symbols.litterInBinSign', ['@view/home/labels'], m => m[744]);LWR.define('@salesforce/label/Emojis_Symbols.potableWater', ['@view/home/labels'], m => m[745]);LWR.define('@salesforce/label/Emojis_Symbols.wheelchairSymbol', ['@view/home/labels'], m => m[746]);LWR.define('@salesforce/label/Emojis_Symbols.mensRoom', ['@view/home/labels'], m => m[747]);LWR.define('@salesforce/label/Emojis_Symbols.womensRoom', ['@view/home/labels'], m => m[748]);LWR.define('@salesforce/label/Emojis_Symbols.restroom', ['@view/home/labels'], m => m[749]);LWR.define('@salesforce/label/Emojis_Symbols.babySymbol', ['@view/home/labels'], m => m[750]);LWR.define('@salesforce/label/Emojis_Symbols.waterCloset', ['@view/home/labels'], m => m[751]);LWR.define('@salesforce/label/Emojis_Symbols.passportControl', ['@view/home/labels'], m => m[752]);LWR.define('@salesforce/label/Emojis_Symbols.customs', ['@view/home/labels'], m => m[753]);LWR.define('@salesforce/label/Emojis_Symbols.baggageClaim', ['@view/home/labels'], m => m[754]);LWR.define('@salesforce/label/Emojis_Symbols.leftLuggage', ['@view/home/labels'], m => m[755]);LWR.define('@salesforce/label/Emojis_Symbols.warning', ['@view/home/labels'], m => m[756]);LWR.define('@salesforce/label/Emojis_Symbols.childrenCrossing', ['@view/home/labels'], m => m[757]);LWR.define('@salesforce/label/Emojis_Symbols.noEntry', ['@view/home/labels'], m => m[758]);LWR.define('@salesforce/label/Emojis_Symbols.prohibited', ['@view/home/labels'], m => m[759]);LWR.define('@salesforce/label/Emojis_Symbols.noBicycles', ['@view/home/labels'], m => m[760]);LWR.define('@salesforce/label/Emojis_Symbols.noSmoking', ['@view/home/labels'], m => m[761]);LWR.define('@salesforce/label/Emojis_Symbols.noLittering', ['@view/home/labels'], m => m[762]);LWR.define('@salesforce/label/Emojis_Symbols.nonPotableWater', ['@view/home/labels'], m => m[763]);LWR.define('@salesforce/label/Emojis_Symbols.noPedestrians', ['@view/home/labels'], m => m[764]);LWR.define('@salesforce/label/Emojis_Symbols.noMobilePhones', ['@view/home/labels'], m => m[765]);LWR.define('@salesforce/label/Emojis_Symbols.noOneUnderEighteen', ['@view/home/labels'], m => m[766]);LWR.define('@salesforce/label/Emojis_Symbols.upArrow', ['@view/home/labels'], m => m[767]);LWR.define('@salesforce/label/Emojis_Symbols.upRightArrow', ['@view/home/labels'], m => m[768]);LWR.define('@salesforce/label/Emojis_Symbols.rightArrow', ['@view/home/labels'], m => m[769]);LWR.define('@salesforce/label/Emojis_Symbols.downRightArrow', ['@view/home/labels'], m => m[770]);LWR.define('@salesforce/label/Emojis_Symbols.downArrow', ['@view/home/labels'], m => m[771]);LWR.define('@salesforce/label/Emojis_Symbols.downLeftArrow', ['@view/home/labels'], m => m[772]);LWR.define('@salesforce/label/Emojis_Symbols.leftArrow', ['@view/home/labels'], m => m[773]);LWR.define('@salesforce/label/Emojis_Symbols.upLeftArrow', ['@view/home/labels'], m => m[774]);LWR.define('@salesforce/label/Emojis_Symbols.upDownArrow', ['@view/home/labels'], m => m[775]);LWR.define('@salesforce/label/Emojis_Symbols.leftRightArrow', ['@view/home/labels'], m => m[776]);LWR.define('@salesforce/label/Emojis_Symbols.rightArrowCurvingLeft', ['@view/home/labels'], m => m[777]);LWR.define('@salesforce/label/Emojis_Symbols.leftArrowCurvingRight', ['@view/home/labels'], m => m[778]);LWR.define('@salesforce/label/Emojis_Symbols.rightArrowCurvingUp', ['@view/home/labels'], m => m[779]);LWR.define('@salesforce/label/Emojis_Symbols.rightArrowCurvingDown', ['@view/home/labels'], m => m[780]);LWR.define('@salesforce/label/Emojis_Symbols.clockwiseVerticalArrows', ['@view/home/labels'], m => m[781]);LWR.define('@salesforce/label/Emojis_Symbols.anticlockwiseArrowsButton', ['@view/home/labels'], m => m[782]);LWR.define('@salesforce/label/Emojis_Symbols.backArrow', ['@view/home/labels'], m => m[783]);LWR.define('@salesforce/label/Emojis_Symbols.endArrow', ['@view/home/labels'], m => m[784]);LWR.define('@salesforce/label/Emojis_Symbols.onArrow', ['@view/home/labels'], m => m[785]);LWR.define('@salesforce/label/Emojis_Symbols.soonArrow', ['@view/home/labels'], m => m[786]);LWR.define('@salesforce/label/Emojis_Symbols.topArrow', ['@view/home/labels'], m => m[787]);LWR.define('@salesforce/label/Emojis_Symbols.dottedSixPointedStar', ['@view/home/labels'], m => m[788]);LWR.define('@salesforce/label/Emojis_Symbols.aries', ['@view/home/labels'], m => m[789]);LWR.define('@salesforce/label/Emojis_Symbols.taurus', ['@view/home/labels'], m => m[790]);LWR.define('@salesforce/label/Emojis_Symbols.gemini', ['@view/home/labels'], m => m[791]);LWR.define('@salesforce/label/Emojis_Symbols.cancer', ['@view/home/labels'], m => m[792]);LWR.define('@salesforce/label/Emojis_Symbols.leo', ['@view/home/labels'], m => m[793]);LWR.define('@salesforce/label/Emojis_Symbols.virgo', ['@view/home/labels'], m => m[794]);LWR.define('@salesforce/label/Emojis_Symbols.libra', ['@view/home/labels'], m => m[795]);LWR.define('@salesforce/label/Emojis_Symbols.scorpio', ['@view/home/labels'], m => m[796]);LWR.define('@salesforce/label/Emojis_Symbols.sagittarius', ['@view/home/labels'], m => m[797]);LWR.define('@salesforce/label/Emojis_Symbols.capricorn', ['@view/home/labels'], m => m[798]);LWR.define('@salesforce/label/Emojis_Symbols.aquarius', ['@view/home/labels'], m => m[799]);LWR.define('@salesforce/label/Emojis_Symbols.pisces', ['@view/home/labels'], m => m[800]);LWR.define('@salesforce/label/Emojis_Symbols.ophiuchus', ['@view/home/labels'], m => m[801]);LWR.define('@salesforce/label/Emojis_Symbols.shuffleTracksButton', ['@view/home/labels'], m => m[802]);LWR.define('@salesforce/label/Emojis_Symbols.repeatButton', ['@view/home/labels'], m => m[803]);LWR.define('@salesforce/label/Emojis_Symbols.repeatSingleButton', ['@view/home/labels'], m => m[804]);LWR.define('@salesforce/label/Emojis_Symbols.playButton', ['@view/home/labels'], m => m[805]);LWR.define('@salesforce/label/Emojis_Symbols.fastForwardButton', ['@view/home/labels'], m => m[806]);LWR.define('@salesforce/label/Emojis_Symbols.reverseButton', ['@view/home/labels'], m => m[807]);LWR.define('@salesforce/label/Emojis_Symbols.fastReverseButton', ['@view/home/labels'], m => m[808]);LWR.define('@salesforce/label/Emojis_Symbols.fastUpButton', ['@view/home/labels'], m => m[809]);LWR.define('@salesforce/label/Emojis_Symbols.downButton', ['@view/home/labels'], m => m[810]);LWR.define('@salesforce/label/Emojis_Symbols.fastDownButton', ['@view/home/labels'], m => m[811]);LWR.define('@salesforce/label/Emojis_Symbols.cinema', ['@view/home/labels'], m => m[812]);LWR.define('@salesforce/label/Emojis_Symbols.dimButton', ['@view/home/labels'], m => m[813]);LWR.define('@salesforce/label/Emojis_Symbols.brightButton', ['@view/home/labels'], m => m[814]);LWR.define('@salesforce/label/Emojis_Symbols.antennaBars', ['@view/home/labels'], m => m[815]);LWR.define('@salesforce/label/Emojis_Symbols.vibrationMode', ['@view/home/labels'], m => m[816]);LWR.define('@salesforce/label/Emojis_Symbols.mobilePhoneOff', ['@view/home/labels'], m => m[817]);LWR.define('@salesforce/label/Emojis_Symbols.recyclingSymbol', ['@view/home/labels'], m => m[818]);LWR.define('@salesforce/label/Emojis_Symbols.nameBadge', ['@view/home/labels'], m => m[819]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseSymbolForBeginner', ['@view/home/labels'], m => m[820]);LWR.define('@salesforce/label/Emojis_Symbols.tridentEmblem', ['@view/home/labels'], m => m[821]);LWR.define('@salesforce/label/Emojis_Symbols.heavyLargeCircle', ['@view/home/labels'], m => m[822]);LWR.define('@salesforce/label/Emojis_Symbols.whiteHeavyCheckMark', ['@view/home/labels'], m => m[823]);LWR.define('@salesforce/label/Emojis_Symbols.ballotBoxWithCheck', ['@view/home/labels'], m => m[824]);LWR.define('@salesforce/label/Emojis_Symbols.heavyCheckMark', ['@view/home/labels'], m => m[825]);LWR.define('@salesforce/label/Emojis_Symbols.heavyMultiplicationX', ['@view/home/labels'], m => m[826]);LWR.define('@salesforce/label/Emojis_Symbols.crossMark', ['@view/home/labels'], m => m[827]);LWR.define('@salesforce/label/Emojis_Symbols.crossMarkButton', ['@view/home/labels'], m => m[828]);LWR.define('@salesforce/label/Emojis_Symbols.heavyPlusSign', ['@view/home/labels'], m => m[829]);LWR.define('@salesforce/label/Emojis_Symbols.heavyMinusSign', ['@view/home/labels'], m => m[830]);LWR.define('@salesforce/label/Emojis_Symbols.heavyDivisionSign', ['@view/home/labels'], m => m[831]);LWR.define('@salesforce/label/Emojis_Symbols.curlyLoop', ['@view/home/labels'], m => m[832]);LWR.define('@salesforce/label/Emojis_Symbols.doubleCurlyLoop', ['@view/home/labels'], m => m[833]);LWR.define('@salesforce/label/Emojis_Symbols.partAlternationMark', ['@view/home/labels'], m => m[834]);LWR.define('@salesforce/label/Emojis_Symbols.eightSpokedAsterisk', ['@view/home/labels'], m => m[835]);LWR.define('@salesforce/label/Emojis_Symbols.eightPointedStar', ['@view/home/labels'], m => m[836]);LWR.define('@salesforce/label/Emojis_Symbols.sparkle', ['@view/home/labels'], m => m[837]);LWR.define('@salesforce/label/Emojis_Symbols.doubleExclamationMark', ['@view/home/labels'], m => m[838]);LWR.define('@salesforce/label/Emojis_Symbols.exclamationQuestionMark', ['@view/home/labels'], m => m[839]);LWR.define('@salesforce/label/Emojis_Symbols.questionMark', ['@view/home/labels'], m => m[840]);LWR.define('@salesforce/label/Emojis_Symbols.whiteQuestionMark', ['@view/home/labels'], m => m[841]);LWR.define('@salesforce/label/Emojis_Symbols.whiteExclamationMark', ['@view/home/labels'], m => m[842]);LWR.define('@salesforce/label/Emojis_Symbols.exclamationMark', ['@view/home/labels'], m => m[843]);LWR.define('@salesforce/label/Emojis_Symbols.wavyDash', ['@view/home/labels'], m => m[844]);LWR.define('@salesforce/label/Emojis_Symbols.copyright', ['@view/home/labels'], m => m[845]);LWR.define('@salesforce/label/Emojis_Symbols.registered', ['@view/home/labels'], m => m[846]);LWR.define('@salesforce/label/Emojis_Symbols.tradeMark', ['@view/home/labels'], m => m[847]);LWR.define('@salesforce/label/Emojis_Symbols.keycap', ['@view/home/labels'], m => m[848]);LWR.define('@salesforce/label/Emojis_Symbols.keycap0', ['@view/home/labels'], m => m[849]);LWR.define('@salesforce/label/Emojis_Symbols.keycap1', ['@view/home/labels'], m => m[850]);LWR.define('@salesforce/label/Emojis_Symbols.keycap2', ['@view/home/labels'], m => m[851]);LWR.define('@salesforce/label/Emojis_Symbols.keycap3', ['@view/home/labels'], m => m[852]);LWR.define('@salesforce/label/Emojis_Symbols.keycap4', ['@view/home/labels'], m => m[853]);LWR.define('@salesforce/label/Emojis_Symbols.keycap5', ['@view/home/labels'], m => m[854]);LWR.define('@salesforce/label/Emojis_Symbols.keycap6', ['@view/home/labels'], m => m[855]);LWR.define('@salesforce/label/Emojis_Symbols.keycap7', ['@view/home/labels'], m => m[856]);LWR.define('@salesforce/label/Emojis_Symbols.keycap8', ['@view/home/labels'], m => m[857]);LWR.define('@salesforce/label/Emojis_Symbols.keycap9', ['@view/home/labels'], m => m[858]);LWR.define('@salesforce/label/Emojis_Symbols.keycap10', ['@view/home/labels'], m => m[859]);LWR.define('@salesforce/label/Emojis_Symbols.hundredPoints', ['@view/home/labels'], m => m[860]);LWR.define('@salesforce/label/Emojis_Symbols.inputLatinUppercase', ['@view/home/labels'], m => m[861]);LWR.define('@salesforce/label/Emojis_Symbols.inputLatinLowercase', ['@view/home/labels'], m => m[862]);LWR.define('@salesforce/label/Emojis_Symbols.inputNumbers', ['@view/home/labels'], m => m[863]);LWR.define('@salesforce/label/Emojis_Symbols.inputSymbols', ['@view/home/labels'], m => m[864]);LWR.define('@salesforce/label/Emojis_Symbols.inputLatinLetters', ['@view/home/labels'], m => m[865]);LWR.define('@salesforce/label/Emojis_Symbols.aButtonBloodType', ['@view/home/labels'], m => m[866]);LWR.define('@salesforce/label/Emojis_Symbols.abButtonBloodType', ['@view/home/labels'], m => m[867]);LWR.define('@salesforce/label/Emojis_Symbols.bButtonBloodType', ['@view/home/labels'], m => m[868]);LWR.define('@salesforce/label/Emojis_Symbols.clButton', ['@view/home/labels'], m => m[869]);LWR.define('@salesforce/label/Emojis_Symbols.coolButton', ['@view/home/labels'], m => m[870]);LWR.define('@salesforce/label/Emojis_Symbols.freeButton', ['@view/home/labels'], m => m[871]);LWR.define('@salesforce/label/Emojis_Symbols.information', ['@view/home/labels'], m => m[872]);LWR.define('@salesforce/label/Emojis_Symbols.idButton', ['@view/home/labels'], m => m[873]);LWR.define('@salesforce/label/Emojis_Symbols.circledM', ['@view/home/labels'], m => m[874]);LWR.define('@salesforce/label/Emojis_Symbols.newButton', ['@view/home/labels'], m => m[875]);LWR.define('@salesforce/label/Emojis_Symbols.ngButton', ['@view/home/labels'], m => m[876]);LWR.define('@salesforce/label/Emojis_Symbols.oButtonBloodType', ['@view/home/labels'], m => m[877]);LWR.define('@salesforce/label/Emojis_Symbols.okButton', ['@view/home/labels'], m => m[878]);LWR.define('@salesforce/label/Emojis_Symbols.pButton', ['@view/home/labels'], m => m[879]);LWR.define('@salesforce/label/Emojis_Symbols.sosButton', ['@view/home/labels'], m => m[880]);LWR.define('@salesforce/label/Emojis_Symbols.upButton', ['@view/home/labels'], m => m[881]);LWR.define('@salesforce/label/Emojis_Symbols.vsButton', ['@view/home/labels'], m => m[882]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseHereButton', ['@view/home/labels'], m => m[883]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseServiceChargeButton', ['@view/home/labels'], m => m[884]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseMonthlyAmountButton', ['@view/home/labels'], m => m[885]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseNotFreeOfChargeButton', ['@view/home/labels'], m => m[886]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseReservedButton', ['@view/home/labels'], m => m[887]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseBargainButton', ['@view/home/labels'], m => m[888]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseDiscountButton', ['@view/home/labels'], m => m[889]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseFreeOfChargeButton', ['@view/home/labels'], m => m[890]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseProhibitedButton', ['@view/home/labels'], m => m[891]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseAcceptableButton', ['@view/home/labels'], m => m[892]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseApplicationButton', ['@view/home/labels'], m => m[893]);LWR.define('@salesforce/label/Emojis_Symbols.japanesePassingGradeButton', ['@view/home/labels'], m => m[894]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseVacancyButton', ['@view/home/labels'], m => m[895]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseCongratulationsButton', ['@view/home/labels'], m => m[896]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseSecretButton', ['@view/home/labels'], m => m[897]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseOpenForBusinessButton', ['@view/home/labels'], m => m[898]);LWR.define('@salesforce/label/Emojis_Symbols.japaneseNoVacancyButton', ['@view/home/labels'], m => m[899]);LWR.define('@salesforce/label/Emojis_Symbols.blackSmallSquare', ['@view/home/labels'], m => m[900]);LWR.define('@salesforce/label/Emojis_Symbols.whiteSmallSquare', ['@view/home/labels'], m => m[901]);LWR.define('@salesforce/label/Emojis_Symbols.whiteMediumSquare', ['@view/home/labels'], m => m[902]);LWR.define('@salesforce/label/Emojis_Symbols.blackMediumSquare', ['@view/home/labels'], m => m[903]);LWR.define('@salesforce/label/Emojis_Symbols.whiteMediumSmallSquare', ['@view/home/labels'], m => m[904]);LWR.define('@salesforce/label/Emojis_Symbols.blackMediumSmallSquare', ['@view/home/labels'], m => m[905]);LWR.define('@salesforce/label/Emojis_Symbols.blackLargeSquare', ['@view/home/labels'], m => m[906]);LWR.define('@salesforce/label/Emojis_Symbols.whiteLargeSquare', ['@view/home/labels'], m => m[907]);LWR.define('@salesforce/label/Emojis_Symbols.largeOrangeDiamond', ['@view/home/labels'], m => m[908]);LWR.define('@salesforce/label/Emojis_Symbols.largeBlueDiamond', ['@view/home/labels'], m => m[909]);LWR.define('@salesforce/label/Emojis_Symbols.smallOrangeDiamond', ['@view/home/labels'], m => m[910]);LWR.define('@salesforce/label/Emojis_Symbols.smallBlueDiamond', ['@view/home/labels'], m => m[911]);LWR.define('@salesforce/label/Emojis_Symbols.redTrianglePointedUp', ['@view/home/labels'], m => m[912]);LWR.define('@salesforce/label/Emojis_Symbols.redTrianglePointedDown', ['@view/home/labels'], m => m[913]);LWR.define('@salesforce/label/Emojis_Symbols.diamondWithADot', ['@view/home/labels'], m => m[914]);LWR.define('@salesforce/label/Emojis_Symbols.radioButton', ['@view/home/labels'], m => m[915]);LWR.define('@salesforce/label/Emojis_Symbols.blackSquareButton', ['@view/home/labels'], m => m[916]);LWR.define('@salesforce/label/Emojis_Symbols.whiteSquareButton', ['@view/home/labels'], m => m[917]);LWR.define('@salesforce/label/Emojis_Symbols.whiteCircle', ['@view/home/labels'], m => m[918]);LWR.define('@salesforce/label/Emojis_Symbols.blackCircle', ['@view/home/labels'], m => m[919]);LWR.define('@salesforce/label/Emojis_Symbols.redCircle', ['@view/home/labels'], m => m[920]);LWR.define('@salesforce/label/Emojis_Symbols.blueCircle', ['@view/home/labels'], m => m[921]);LWR.define('@salesforce/label/Emojis_TravelPlaces.travelPlacesCategory', ['@view/home/labels'], m => m[922]);LWR.define('@salesforce/label/Emojis_TravelPlaces.globeShowingEuropeAfrica', ['@view/home/labels'], m => m[923]);LWR.define('@salesforce/label/Emojis_TravelPlaces.globeShowingAmericas', ['@view/home/labels'], m => m[924]);LWR.define('@salesforce/label/Emojis_TravelPlaces.globeShowingAsiaAustralia', ['@view/home/labels'], m => m[925]);LWR.define('@salesforce/label/Emojis_TravelPlaces.globeWithMeridians', ['@view/home/labels'], m => m[926]);LWR.define('@salesforce/label/Emojis_TravelPlaces.mapOfJapan', ['@view/home/labels'], m => m[927]);LWR.define('@salesforce/label/Emojis_TravelPlaces.volcano', ['@view/home/labels'], m => m[928]);LWR.define('@salesforce/label/Emojis_TravelPlaces.mountFuji', ['@view/home/labels'], m => m[929]);LWR.define('@salesforce/label/Emojis_TravelPlaces.house', ['@view/home/labels'], m => m[930]);LWR.define('@salesforce/label/Emojis_TravelPlaces.houseWithGarden', ['@view/home/labels'], m => m[931]);LWR.define('@salesforce/label/Emojis_TravelPlaces.officeBuilding', ['@view/home/labels'], m => m[932]);LWR.define('@salesforce/label/Emojis_TravelPlaces.japanesePostOffice', ['@view/home/labels'], m => m[933]);LWR.define('@salesforce/label/Emojis_TravelPlaces.postOffice', ['@view/home/labels'], m => m[934]);LWR.define('@salesforce/label/Emojis_TravelPlaces.hospital', ['@view/home/labels'], m => m[935]);LWR.define('@salesforce/label/Emojis_TravelPlaces.bank', ['@view/home/labels'], m => m[936]);LWR.define('@salesforce/label/Emojis_TravelPlaces.hotel', ['@view/home/labels'], m => m[937]);LWR.define('@salesforce/label/Emojis_TravelPlaces.loveHotel', ['@view/home/labels'], m => m[938]);LWR.define('@salesforce/label/Emojis_TravelPlaces.convenienceStore', ['@view/home/labels'], m => m[939]);LWR.define('@salesforce/label/Emojis_TravelPlaces.school', ['@view/home/labels'], m => m[940]);LWR.define('@salesforce/label/Emojis_TravelPlaces.departmentStore', ['@view/home/labels'], m => m[941]);LWR.define('@salesforce/label/Emojis_TravelPlaces.factory', ['@view/home/labels'], m => m[942]);LWR.define('@salesforce/label/Emojis_TravelPlaces.japaneseCastle', ['@view/home/labels'], m => m[943]);LWR.define('@salesforce/label/Emojis_TravelPlaces.castle', ['@view/home/labels'], m => m[944]);LWR.define('@salesforce/label/Emojis_TravelPlaces.wedding', ['@view/home/labels'], m => m[945]);LWR.define('@salesforce/label/Emojis_TravelPlaces.tokyoTower', ['@view/home/labels'], m => m[946]);LWR.define('@salesforce/label/Emojis_TravelPlaces.statueOfLiberty', ['@view/home/labels'], m => m[947]);LWR.define('@salesforce/label/Emojis_TravelPlaces.church', ['@view/home/labels'], m => m[948]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fountain', ['@view/home/labels'], m => m[949]);LWR.define('@salesforce/label/Emojis_TravelPlaces.tent', ['@view/home/labels'], m => m[950]);LWR.define('@salesforce/label/Emojis_TravelPlaces.foggy', ['@view/home/labels'], m => m[951]);LWR.define('@salesforce/label/Emojis_TravelPlaces.nightWithStars', ['@view/home/labels'], m => m[952]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sunriseOverMountains', ['@view/home/labels'], m => m[953]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sunrise', ['@view/home/labels'], m => m[954]);LWR.define('@salesforce/label/Emojis_TravelPlaces.cityscapeAtDusk', ['@view/home/labels'], m => m[955]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sunset', ['@view/home/labels'], m => m[956]);LWR.define('@salesforce/label/Emojis_TravelPlaces.bridgeAtNight', ['@view/home/labels'], m => m[957]);LWR.define('@salesforce/label/Emojis_TravelPlaces.hotSprings', ['@view/home/labels'], m => m[958]);LWR.define('@salesforce/label/Emojis_TravelPlaces.milkyWay', ['@view/home/labels'], m => m[959]);LWR.define('@salesforce/label/Emojis_TravelPlaces.carouselHorse', ['@view/home/labels'], m => m[960]);LWR.define('@salesforce/label/Emojis_TravelPlaces.ferrisWheel', ['@view/home/labels'], m => m[961]);LWR.define('@salesforce/label/Emojis_TravelPlaces.rollerCoaster', ['@view/home/labels'], m => m[962]);LWR.define('@salesforce/label/Emojis_TravelPlaces.barberPole', ['@view/home/labels'], m => m[963]);LWR.define('@salesforce/label/Emojis_TravelPlaces.circusTent', ['@view/home/labels'], m => m[964]);LWR.define('@salesforce/label/Emojis_TravelPlaces.performingArts', ['@view/home/labels'], m => m[965]);LWR.define('@salesforce/label/Emojis_TravelPlaces.artistPalette', ['@view/home/labels'], m => m[966]);LWR.define('@salesforce/label/Emojis_TravelPlaces.slotMachine', ['@view/home/labels'], m => m[967]);LWR.define('@salesforce/label/Emojis_TravelPlaces.locomotive', ['@view/home/labels'], m => m[968]);LWR.define('@salesforce/label/Emojis_TravelPlaces.railwayCar', ['@view/home/labels'], m => m[969]);LWR.define('@salesforce/label/Emojis_TravelPlaces.highSpeedTrain', ['@view/home/labels'], m => m[970]);LWR.define('@salesforce/label/Emojis_TravelPlaces.highSpeedTrainWithBulletNose', ['@view/home/labels'], m => m[971]);LWR.define('@salesforce/label/Emojis_TravelPlaces.train', ['@view/home/labels'], m => m[972]);LWR.define('@salesforce/label/Emojis_TravelPlaces.metro', ['@view/home/labels'], m => m[973]);LWR.define('@salesforce/label/Emojis_TravelPlaces.lightRail', ['@view/home/labels'], m => m[974]);LWR.define('@salesforce/label/Emojis_TravelPlaces.station', ['@view/home/labels'], m => m[975]);LWR.define('@salesforce/label/Emojis_TravelPlaces.tram', ['@view/home/labels'], m => m[976]);LWR.define('@salesforce/label/Emojis_TravelPlaces.monorail', ['@view/home/labels'], m => m[977]);LWR.define('@salesforce/label/Emojis_TravelPlaces.mountainRailway', ['@view/home/labels'], m => m[978]);LWR.define('@salesforce/label/Emojis_TravelPlaces.tramCar', ['@view/home/labels'], m => m[979]);LWR.define('@salesforce/label/Emojis_TravelPlaces.bus', ['@view/home/labels'], m => m[980]);LWR.define('@salesforce/label/Emojis_TravelPlaces.oncomingBus', ['@view/home/labels'], m => m[981]);LWR.define('@salesforce/label/Emojis_TravelPlaces.trolleybus', ['@view/home/labels'], m => m[982]);LWR.define('@salesforce/label/Emojis_TravelPlaces.minibus', ['@view/home/labels'], m => m[983]);LWR.define('@salesforce/label/Emojis_TravelPlaces.ambulance', ['@view/home/labels'], m => m[984]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fireEngine', ['@view/home/labels'], m => m[985]);LWR.define('@salesforce/label/Emojis_TravelPlaces.policeCar', ['@view/home/labels'], m => m[986]);LWR.define('@salesforce/label/Emojis_TravelPlaces.oncomingPoliceCar', ['@view/home/labels'], m => m[987]);LWR.define('@salesforce/label/Emojis_TravelPlaces.taxi', ['@view/home/labels'], m => m[988]);LWR.define('@salesforce/label/Emojis_TravelPlaces.oncomingTaxi', ['@view/home/labels'], m => m[989]);LWR.define('@salesforce/label/Emojis_TravelPlaces.automobile', ['@view/home/labels'], m => m[990]);LWR.define('@salesforce/label/Emojis_TravelPlaces.oncomingAutomobile', ['@view/home/labels'], m => m[991]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sportUtilityVehicle', ['@view/home/labels'], m => m[992]);LWR.define('@salesforce/label/Emojis_TravelPlaces.deliveryTruck', ['@view/home/labels'], m => m[993]);LWR.define('@salesforce/label/Emojis_TravelPlaces.articulatedLorry', ['@view/home/labels'], m => m[994]);LWR.define('@salesforce/label/Emojis_TravelPlaces.tractor', ['@view/home/labels'], m => m[995]);LWR.define('@salesforce/label/Emojis_TravelPlaces.bicycle', ['@view/home/labels'], m => m[996]);LWR.define('@salesforce/label/Emojis_TravelPlaces.busStop', ['@view/home/labels'], m => m[997]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fuelPump', ['@view/home/labels'], m => m[998]);LWR.define('@salesforce/label/Emojis_TravelPlaces.policeCarLight', ['@view/home/labels'], m => m[999]);LWR.define('@salesforce/label/Emojis_TravelPlaces.horizontalTrafficLight', ['@view/home/labels'], m => m[1000]);LWR.define('@salesforce/label/Emojis_TravelPlaces.verticalTrafficLight', ['@view/home/labels'], m => m[1001]);LWR.define('@salesforce/label/Emojis_TravelPlaces.construction', ['@view/home/labels'], m => m[1002]);LWR.define('@salesforce/label/Emojis_TravelPlaces.anchor', ['@view/home/labels'], m => m[1003]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sailboat', ['@view/home/labels'], m => m[1004]);LWR.define('@salesforce/label/Emojis_TravelPlaces.speedboat', ['@view/home/labels'], m => m[1005]);LWR.define('@salesforce/label/Emojis_TravelPlaces.ship', ['@view/home/labels'], m => m[1006]);LWR.define('@salesforce/label/Emojis_TravelPlaces.airplane', ['@view/home/labels'], m => m[1007]);LWR.define('@salesforce/label/Emojis_TravelPlaces.seat', ['@view/home/labels'], m => m[1008]);LWR.define('@salesforce/label/Emojis_TravelPlaces.helicopter', ['@view/home/labels'], m => m[1009]);LWR.define('@salesforce/label/Emojis_TravelPlaces.suspensionRailway', ['@view/home/labels'], m => m[1010]);LWR.define('@salesforce/label/Emojis_TravelPlaces.mountainCableway', ['@view/home/labels'], m => m[1011]);LWR.define('@salesforce/label/Emojis_TravelPlaces.aerialTramway', ['@view/home/labels'], m => m[1012]);LWR.define('@salesforce/label/Emojis_TravelPlaces.rocket', ['@view/home/labels'], m => m[1013]);LWR.define('@salesforce/label/Emojis_TravelPlaces.door', ['@view/home/labels'], m => m[1014]);LWR.define('@salesforce/label/Emojis_TravelPlaces.toilet', ['@view/home/labels'], m => m[1015]);LWR.define('@salesforce/label/Emojis_TravelPlaces.shower', ['@view/home/labels'], m => m[1016]);LWR.define('@salesforce/label/Emojis_TravelPlaces.personTakingBath', ['@view/home/labels'], m => m[1017]);LWR.define('@salesforce/label/Emojis_TravelPlaces.bathtub', ['@view/home/labels'], m => m[1018]);LWR.define('@salesforce/label/Emojis_TravelPlaces.hourglass', ['@view/home/labels'], m => m[1019]);LWR.define('@salesforce/label/Emojis_TravelPlaces.hourglassWithFlowingSand', ['@view/home/labels'], m => m[1020]);LWR.define('@salesforce/label/Emojis_TravelPlaces.watch', ['@view/home/labels'], m => m[1021]);LWR.define('@salesforce/label/Emojis_TravelPlaces.alarmClock', ['@view/home/labels'], m => m[1022]);LWR.define('@salesforce/label/Emojis_TravelPlaces.twelveOClock', ['@view/home/labels'], m => m[1023]);LWR.define('@salesforce/label/Emojis_TravelPlaces.twelveThirty', ['@view/home/labels'], m => m[1024]);LWR.define('@salesforce/label/Emojis_TravelPlaces.oneOClock', ['@view/home/labels'], m => m[1025]);LWR.define('@salesforce/label/Emojis_TravelPlaces.oneThirty', ['@view/home/labels'], m => m[1026]);LWR.define('@salesforce/label/Emojis_TravelPlaces.twoOClock', ['@view/home/labels'], m => m[1027]);LWR.define('@salesforce/label/Emojis_TravelPlaces.twoThirty', ['@view/home/labels'], m => m[1028]);LWR.define('@salesforce/label/Emojis_TravelPlaces.threeOClock', ['@view/home/labels'], m => m[1029]);LWR.define('@salesforce/label/Emojis_TravelPlaces.threeThirty', ['@view/home/labels'], m => m[1030]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fourOClock', ['@view/home/labels'], m => m[1031]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fourThirty', ['@view/home/labels'], m => m[1032]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fiveOClock', ['@view/home/labels'], m => m[1033]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fiveThirty', ['@view/home/labels'], m => m[1034]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sixOClock', ['@view/home/labels'], m => m[1035]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sixThirty', ['@view/home/labels'], m => m[1036]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sevenOClock', ['@view/home/labels'], m => m[1037]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sevenThirty', ['@view/home/labels'], m => m[1038]);LWR.define('@salesforce/label/Emojis_TravelPlaces.eightOClock', ['@view/home/labels'], m => m[1039]);LWR.define('@salesforce/label/Emojis_TravelPlaces.eightThirty', ['@view/home/labels'], m => m[1040]);LWR.define('@salesforce/label/Emojis_TravelPlaces.nineOClock', ['@view/home/labels'], m => m[1041]);LWR.define('@salesforce/label/Emojis_TravelPlaces.nineThirty', ['@view/home/labels'], m => m[1042]);LWR.define('@salesforce/label/Emojis_TravelPlaces.tenOClock', ['@view/home/labels'], m => m[1043]);LWR.define('@salesforce/label/Emojis_TravelPlaces.tenThirty', ['@view/home/labels'], m => m[1044]);LWR.define('@salesforce/label/Emojis_TravelPlaces.elevenOClock', ['@view/home/labels'], m => m[1045]);LWR.define('@salesforce/label/Emojis_TravelPlaces.elevenThirty', ['@view/home/labels'], m => m[1046]);LWR.define('@salesforce/label/Emojis_TravelPlaces.newMoon', ['@view/home/labels'], m => m[1047]);LWR.define('@salesforce/label/Emojis_TravelPlaces.waxingCrescentMoon', ['@view/home/labels'], m => m[1048]);LWR.define('@salesforce/label/Emojis_TravelPlaces.firstQuarterMoon', ['@view/home/labels'], m => m[1049]);LWR.define('@salesforce/label/Emojis_TravelPlaces.waxingGibbousMoon', ['@view/home/labels'], m => m[1050]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fullMoon', ['@view/home/labels'], m => m[1051]);LWR.define('@salesforce/label/Emojis_TravelPlaces.waningGibbousMoon', ['@view/home/labels'], m => m[1052]);LWR.define('@salesforce/label/Emojis_TravelPlaces.lastQuarterMoon', ['@view/home/labels'], m => m[1053]);LWR.define('@salesforce/label/Emojis_TravelPlaces.waningCrescentMoon', ['@view/home/labels'], m => m[1054]);LWR.define('@salesforce/label/Emojis_TravelPlaces.crescentMoon', ['@view/home/labels'], m => m[1055]);LWR.define('@salesforce/label/Emojis_TravelPlaces.newMoonFace', ['@view/home/labels'], m => m[1056]);LWR.define('@salesforce/label/Emojis_TravelPlaces.firstQuarterMoonWithFace', ['@view/home/labels'], m => m[1057]);LWR.define('@salesforce/label/Emojis_TravelPlaces.lastQuarterMoonWithFace', ['@view/home/labels'], m => m[1058]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sun', ['@view/home/labels'], m => m[1059]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fullMoonWithFace', ['@view/home/labels'], m => m[1060]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sunWithFace', ['@view/home/labels'], m => m[1061]);LWR.define('@salesforce/label/Emojis_TravelPlaces.whiteMediumStar', ['@view/home/labels'], m => m[1062]);LWR.define('@salesforce/label/Emojis_TravelPlaces.glowingStar', ['@view/home/labels'], m => m[1063]);LWR.define('@salesforce/label/Emojis_TravelPlaces.shootingStar', ['@view/home/labels'], m => m[1064]);LWR.define('@salesforce/label/Emojis_TravelPlaces.cloud', ['@view/home/labels'], m => m[1065]);LWR.define('@salesforce/label/Emojis_TravelPlaces.sunBehindCloud', ['@view/home/labels'], m => m[1066]);LWR.define('@salesforce/label/Emojis_TravelPlaces.cyclone', ['@view/home/labels'], m => m[1067]);LWR.define('@salesforce/label/Emojis_TravelPlaces.rainbow', ['@view/home/labels'], m => m[1068]);LWR.define('@salesforce/label/Emojis_TravelPlaces.closedUmbrella', ['@view/home/labels'], m => m[1069]);LWR.define('@salesforce/label/Emojis_TravelPlaces.umbrellaWithRainDrops', ['@view/home/labels'], m => m[1070]);LWR.define('@salesforce/label/Emojis_TravelPlaces.highVoltage', ['@view/home/labels'], m => m[1071]);LWR.define('@salesforce/label/Emojis_TravelPlaces.snowflake', ['@view/home/labels'], m => m[1072]);LWR.define('@salesforce/label/Emojis_TravelPlaces.snowmanWithoutSnow', ['@view/home/labels'], m => m[1073]);LWR.define('@salesforce/label/Emojis_TravelPlaces.fire', ['@view/home/labels'], m => m[1074]);LWR.define('@salesforce/label/Emojis_TravelPlaces.droplet', ['@view/home/labels'], m => m[1075]);LWR.define('@salesforce/label/Emojis_TravelPlaces.waterWave', ['@view/home/labels'], m => m[1076]);(function() { LWR.define("embeddedMessaging/emojiLabels",["exports","lwc","@salesforce/label/Emojis_SmileysPeople.smileysPeopleCategory","@salesforce/label/Emojis_SmileysPeople.grinningFace","@salesforce/label/Emojis_SmileysPeople.grinningFaceWithSmilingEyes","@salesforce/label/Emojis_SmileysPeople.faceWithTearsOfJoy","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouth","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthSmilingEyes","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthColdSweat","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthClosedEyes","@salesforce/label/Emojis_SmileysPeople.winkingFace","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithSmilingEyes","@salesforce/label/Emojis_SmileysPeople.faceSavoringDeliciousFood","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithSunglasses","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHeartEyes","@salesforce/label/Emojis_SmileysPeople.faceBlowingAKiss","@salesforce/label/Emojis_SmileysPeople.kissingFace","@salesforce/label/Emojis_SmileysPeople.kissingFaceWithSmilingEyes","@salesforce/label/Emojis_SmileysPeople.kissingFaceWithClosedEyes","@salesforce/label/Emojis_SmileysPeople.slightlySmilingFace","@salesforce/label/Emojis_SmileysPeople.neutralFace","@salesforce/label/Emojis_SmileysPeople.expressionlessFace","@salesforce/label/Emojis_SmileysPeople.faceWithoutMouth","@salesforce/label/Emojis_SmileysPeople.smirkingFace","@salesforce/label/Emojis_SmileysPeople.perseveringFace","@salesforce/label/Emojis_SmileysPeople.disappointedButRelievedFace","@salesforce/label/Emojis_SmileysPeople.faceWithOpenMouth","@salesforce/label/Emojis_SmileysPeople.hushedFace","@salesforce/label/Emojis_SmileysPeople.sleepyFace","@salesforce/label/Emojis_SmileysPeople.tiredFace","@salesforce/label/Emojis_SmileysPeople.sleepingFace","@salesforce/label/Emojis_SmileysPeople.relievedFace","@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongue","@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongueWinkingEye","@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongueClosedEyes","@salesforce/label/Emojis_SmileysPeople.unamusedFace","@salesforce/label/Emojis_SmileysPeople.faceWithColdSweat","@salesforce/label/Emojis_SmileysPeople.pensiveFace","@salesforce/label/Emojis_SmileysPeople.confusedFace","@salesforce/label/Emojis_SmileysPeople.astonishedFace","@salesforce/label/Emojis_SmileysPeople.confoundedFace","@salesforce/label/Emojis_SmileysPeople.disappointedFace","@salesforce/label/Emojis_SmileysPeople.worriedFace","@salesforce/label/Emojis_SmileysPeople.faceWithSteamFromNose","@salesforce/label/Emojis_SmileysPeople.cryingFace","@salesforce/label/Emojis_SmileysPeople.loudlyCryingFace","@salesforce/label/Emojis_SmileysPeople.frowningFaceWithOpenMouth","@salesforce/label/Emojis_SmileysPeople.anguishedFace","@salesforce/label/Emojis_SmileysPeople.fearfulFace","@salesforce/label/Emojis_SmileysPeople.wearyFace","@salesforce/label/Emojis_SmileysPeople.grimacingFace","@salesforce/label/Emojis_SmileysPeople.faceWithOpenMouthColdSweat","@salesforce/label/Emojis_SmileysPeople.faceScreamingInFear","@salesforce/label/Emojis_SmileysPeople.flushedFace","@salesforce/label/Emojis_SmileysPeople.dizzyFace","@salesforce/label/Emojis_SmileysPeople.poutingFace","@salesforce/label/Emojis_SmileysPeople.angryFace","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHalo","@salesforce/label/Emojis_SmileysPeople.faceWithMedicalMask","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHorns","@salesforce/label/Emojis_SmileysPeople.angryFaceWithHorns","@salesforce/label/Emojis_SmileysPeople.ogre","@salesforce/label/Emojis_SmileysPeople.goblin","@salesforce/label/Emojis_SmileysPeople.skull","@salesforce/label/Emojis_SmileysPeople.ghost","@salesforce/label/Emojis_SmileysPeople.alien","@salesforce/label/Emojis_SmileysPeople.alienMonster","@salesforce/label/Emojis_SmileysPeople.pileOfPoo","@salesforce/label/Emojis_SmileysPeople.smilingCatFaceWithOpenMouth","@salesforce/label/Emojis_SmileysPeople.grinningCatFaceWithSmilingEyes","@salesforce/label/Emojis_SmileysPeople.catFaceWithTearsOfJoy","@salesforce/label/Emojis_SmileysPeople.smilingCatFaceWithHeartEyes","@salesforce/label/Emojis_SmileysPeople.catFaceWithWrySmile","@salesforce/label/Emojis_SmileysPeople.kissingCatFaceWithClosedEyes","@salesforce/label/Emojis_SmileysPeople.wearyCatFace","@salesforce/label/Emojis_SmileysPeople.cryingCatFace","@salesforce/label/Emojis_SmileysPeople.poutingCatFace","@salesforce/label/Emojis_SmileysPeople.seeNoEvilMonkey","@salesforce/label/Emojis_SmileysPeople.hearNoEvilMonkey","@salesforce/label/Emojis_SmileysPeople.speakNoEvilMonkey","@salesforce/label/Emojis_SmileysPeople.boy","@salesforce/label/Emojis_SmileysPeople.girl","@salesforce/label/Emojis_SmileysPeople.man","@salesforce/label/Emojis_SmileysPeople.woman","@salesforce/label/Emojis_SmileysPeople.oldMan","@salesforce/label/Emojis_SmileysPeople.oldWoman","@salesforce/label/Emojis_SmileysPeople.baby","@salesforce/label/Emojis_SmileysPeople.babyAngel","@salesforce/label/Emojis_SmileysPeople.policeOfficer","@salesforce/label/Emojis_SmileysPeople.guard","@salesforce/label/Emojis_SmileysPeople.constructionWorker","@salesforce/label/Emojis_SmileysPeople.personWearingTurban","@salesforce/label/Emojis_SmileysPeople.blondHairedPerson","@salesforce/label/Emojis_SmileysPeople.santaClaus","@salesforce/label/Emojis_SmileysPeople.princess","@salesforce/label/Emojis_SmileysPeople.brideWithVeil","@salesforce/label/Emojis_SmileysPeople.manWithChineseCap","@salesforce/label/Emojis_SmileysPeople.personFrowning","@salesforce/label/Emojis_SmileysPeople.personPouting","@salesforce/label/Emojis_SmileysPeople.personGesturingNo","@salesforce/label/Emojis_SmileysPeople.personGesturingOk","@salesforce/label/Emojis_SmileysPeople.personTippingHand","@salesforce/label/Emojis_SmileysPeople.personRaisingHand","@salesforce/label/Emojis_SmileysPeople.personBowing","@salesforce/label/Emojis_SmileysPeople.personGettingMassage","@salesforce/label/Emojis_SmileysPeople.personGettingHaircut","@salesforce/label/Emojis_SmileysPeople.personWalking","@salesforce/label/Emojis_SmileysPeople.personRunning","@salesforce/label/Emojis_SmileysPeople.womanDancing","@salesforce/label/Emojis_SmileysPeople.peopleWithBunnyEarsPartying","@salesforce/label/Emojis_SmileysPeople.bustInSilhouette","@salesforce/label/Emojis_SmileysPeople.bustsInSilhouette","@salesforce/label/Emojis_SmileysPeople.horseRacing","@salesforce/label/Emojis_SmileysPeople.snowboarder","@salesforce/label/Emojis_SmileysPeople.personSurfing","@salesforce/label/Emojis_SmileysPeople.personRowingBoat","@salesforce/label/Emojis_SmileysPeople.personSwimming","@salesforce/label/Emojis_SmileysPeople.personBiking","@salesforce/label/Emojis_SmileysPeople.personMountainBiking","@salesforce/label/Emojis_SmileysPeople.manAndWomanHoldingHands","@salesforce/label/Emojis_SmileysPeople.twoMenHoldingHands","@salesforce/label/Emojis_SmileysPeople.twoWomenHoldingHands","@salesforce/label/Emojis_SmileysPeople.kiss","@salesforce/label/Emojis_SmileysPeople.coupleWithHeart","@salesforce/label/Emojis_SmileysPeople.family","@salesforce/label/Emojis_SmileysPeople.flexedBiceps","@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingLeft","@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingRight","@salesforce/label/Emojis_SmileysPeople.indexPointingUp","@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingUp","@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingDown","@salesforce/label/Emojis_SmileysPeople.victoryHand","@salesforce/label/Emojis_SmileysPeople.raisedHand","@salesforce/label/Emojis_SmileysPeople.okHand","@salesforce/label/Emojis_SmileysPeople.thumbsUp","@salesforce/label/Emojis_SmileysPeople.thumbsDown","@salesforce/label/Emojis_SmileysPeople.raisedFist","@salesforce/label/Emojis_SmileysPeople.oncomingFist","@salesforce/label/Emojis_SmileysPeople.wavingHand","@salesforce/label/Emojis_SmileysPeople.clappingHands","@salesforce/label/Emojis_SmileysPeople.openHands","@salesforce/label/Emojis_SmileysPeople.raisingHands","@salesforce/label/Emojis_SmileysPeople.foldedHands","@salesforce/label/Emojis_SmileysPeople.nailPolish","@salesforce/label/Emojis_SmileysPeople.ear","@salesforce/label/Emojis_SmileysPeople.nose","@salesforce/label/Emojis_SmileysPeople.footprints","@salesforce/label/Emojis_SmileysPeople.eyes","@salesforce/label/Emojis_SmileysPeople.tongue","@salesforce/label/Emojis_SmileysPeople.mouth","@salesforce/label/Emojis_SmileysPeople.kissMark","@salesforce/label/Emojis_SmileysPeople.heartWithArrow","@salesforce/label/Emojis_SmileysPeople.redHeart","@salesforce/label/Emojis_SmileysPeople.beatingHeart","@salesforce/label/Emojis_SmileysPeople.brokenHeart","@salesforce/label/Emojis_SmileysPeople.twoHearts","@salesforce/label/Emojis_SmileysPeople.sparklingHeart","@salesforce/label/Emojis_SmileysPeople.growingHeart","@salesforce/label/Emojis_SmileysPeople.blueHeart","@salesforce/label/Emojis_SmileysPeople.greenHeart","@salesforce/label/Emojis_SmileysPeople.yellowHeart","@salesforce/label/Emojis_SmileysPeople.purpleHeart","@salesforce/label/Emojis_SmileysPeople.heartWithRibbon","@salesforce/label/Emojis_SmileysPeople.revolvingHearts","@salesforce/label/Emojis_SmileysPeople.heartDecoration","@salesforce/label/Emojis_SmileysPeople.loveLetter","@salesforce/label/Emojis_SmileysPeople.zzz","@salesforce/label/Emojis_SmileysPeople.angerSymbol","@salesforce/label/Emojis_SmileysPeople.bomb","@salesforce/label/Emojis_SmileysPeople.collision","@salesforce/label/Emojis_SmileysPeople.sweatDroplets","@salesforce/label/Emojis_SmileysPeople.dashingAway","@salesforce/label/Emojis_SmileysPeople.dizzy","@salesforce/label/Emojis_SmileysPeople.speechBalloon","@salesforce/label/Emojis_SmileysPeople.thoughtBalloon","@salesforce/label/Emojis_SmileysPeople.glasses","@salesforce/label/Emojis_SmileysPeople.necktie","@salesforce/label/Emojis_SmileysPeople.tShirt","@salesforce/label/Emojis_SmileysPeople.jeans","@salesforce/label/Emojis_SmileysPeople.dress","@salesforce/label/Emojis_SmileysPeople.kimono","@salesforce/label/Emojis_SmileysPeople.bikini","@salesforce/label/Emojis_SmileysPeople.womansClothes","@salesforce/label/Emojis_SmileysPeople.purse","@salesforce/label/Emojis_SmileysPeople.handbag","@salesforce/label/Emojis_SmileysPeople.clutchBag","@salesforce/label/Emojis_SmileysPeople.schoolBackpack","@salesforce/label/Emojis_SmileysPeople.mansShoe","@salesforce/label/Emojis_SmileysPeople.runningShoe","@salesforce/label/Emojis_SmileysPeople.highHeeledShoe","@salesforce/label/Emojis_SmileysPeople.womansBoot","@salesforce/label/Emojis_SmileysPeople.womansSandal","@salesforce/label/Emojis_SmileysPeople.crown","@salesforce/label/Emojis_SmileysPeople.womansHat","@salesforce/label/Emojis_SmileysPeople.topHat","@salesforce/label/Emojis_SmileysPeople.graduationCap","@salesforce/label/Emojis_SmileysPeople.lipstick","@salesforce/label/Emojis_SmileysPeople.ring","@salesforce/label/Emojis_SmileysPeople.gemStone","@salesforce/label/Emojis_AnimalsNature.animalsNatureCategory","@salesforce/label/Emojis_AnimalsNature.monkeyFace","@salesforce/label/Emojis_AnimalsNature.monkey","@salesforce/label/Emojis_AnimalsNature.dogFace","@salesforce/label/Emojis_AnimalsNature.dog","@salesforce/label/Emojis_AnimalsNature.poodle","@salesforce/label/Emojis_AnimalsNature.wolfFace","@salesforce/label/Emojis_AnimalsNature.catFace","@salesforce/label/Emojis_AnimalsNature.cat","@salesforce/label/Emojis_AnimalsNature.tigerFace","@salesforce/label/Emojis_AnimalsNature.tiger","@salesforce/label/Emojis_AnimalsNature.leopard","@salesforce/label/Emojis_AnimalsNature.horseFace","@salesforce/label/Emojis_AnimalsNature.horse","@salesforce/label/Emojis_AnimalsNature.cowFace","@salesforce/label/Emojis_AnimalsNature.ox","@salesforce/label/Emojis_AnimalsNature.waterBuffalo","@salesforce/label/Emojis_AnimalsNature.cow","@salesforce/label/Emojis_AnimalsNature.pigFace","@salesforce/label/Emojis_AnimalsNature.pig","@salesforce/label/Emojis_AnimalsNature.boar","@salesforce/label/Emojis_AnimalsNature.pigNose","@salesforce/label/Emojis_AnimalsNature.ram","@salesforce/label/Emojis_AnimalsNature.sheep","@salesforce/label/Emojis_AnimalsNature.goat","@salesforce/label/Emojis_AnimalsNature.camel","@salesforce/label/Emojis_AnimalsNature.twoHumpCamel","@salesforce/label/Emojis_AnimalsNature.elephant","@salesforce/label/Emojis_AnimalsNature.mouseFace","@salesforce/label/Emojis_AnimalsNature.mouse","@salesforce/label/Emojis_AnimalsNature.rat","@salesforce/label/Emojis_AnimalsNature.hamsterFace","@salesforce/label/Emojis_AnimalsNature.rabbitFace","@salesforce/label/Emojis_AnimalsNature.rabbit","@salesforce/label/Emojis_AnimalsNature.bearFace","@salesforce/label/Emojis_AnimalsNature.koala","@salesforce/label/Emojis_AnimalsNature.pandaFace","@salesforce/label/Emojis_AnimalsNature.pawPrints","@salesforce/label/Emojis_AnimalsNature.chicken","@salesforce/label/Emojis_AnimalsNature.rooster","@salesforce/label/Emojis_AnimalsNature.hatchingChick","@salesforce/label/Emojis_AnimalsNature.babyChick","@salesforce/label/Emojis_AnimalsNature.frontFacingBabyChick","@salesforce/label/Emojis_AnimalsNature.bird","@salesforce/label/Emojis_AnimalsNature.penguin","@salesforce/label/Emojis_AnimalsNature.frogFace","@salesforce/label/Emojis_AnimalsNature.crocodile","@salesforce/label/Emojis_AnimalsNature.turtle","@salesforce/label/Emojis_AnimalsNature.snake","@salesforce/label/Emojis_AnimalsNature.dragonFace","@salesforce/label/Emojis_AnimalsNature.dragon","@salesforce/label/Emojis_AnimalsNature.spoutingWhale","@salesforce/label/Emojis_AnimalsNature.whale","@salesforce/label/Emojis_AnimalsNature.dolphin","@salesforce/label/Emojis_AnimalsNature.fish","@salesforce/label/Emojis_AnimalsNature.tropicalFish","@salesforce/label/Emojis_AnimalsNature.blowfish","@salesforce/label/Emojis_AnimalsNature.octopus","@salesforce/label/Emojis_AnimalsNature.spiralShell","@salesforce/label/Emojis_AnimalsNature.snail","@salesforce/label/Emojis_AnimalsNature.bug","@salesforce/label/Emojis_AnimalsNature.ant","@salesforce/label/Emojis_AnimalsNature.honeybee","@salesforce/label/Emojis_AnimalsNature.ladyBeetle","@salesforce/label/Emojis_AnimalsNature.bouquet","@salesforce/label/Emojis_AnimalsNature.cherryBlossom","@salesforce/label/Emojis_AnimalsNature.whiteFlower","@salesforce/label/Emojis_AnimalsNature.rose","@salesforce/label/Emojis_AnimalsNature.hibiscus","@salesforce/label/Emojis_AnimalsNature.sunflower","@salesforce/label/Emojis_AnimalsNature.blossom","@salesforce/label/Emojis_AnimalsNature.tulip","@salesforce/label/Emojis_AnimalsNature.seedling","@salesforce/label/Emojis_AnimalsNature.evergreenTree","@salesforce/label/Emojis_AnimalsNature.deciduousTree","@salesforce/label/Emojis_AnimalsNature.palmTree","@salesforce/label/Emojis_AnimalsNature.cactus","@salesforce/label/Emojis_AnimalsNature.sheafOfRice","@salesforce/label/Emojis_AnimalsNature.herb","@salesforce/label/Emojis_AnimalsNature.fourLeafClover","@salesforce/label/Emojis_AnimalsNature.mapleLeaf","@salesforce/label/Emojis_AnimalsNature.fallenLeaf","@salesforce/label/Emojis_AnimalsNature.leafFlutteringInWind","@salesforce/label/Emojis_FoodDrink.foodDrinkCategory","@salesforce/label/Emojis_FoodDrink.grapes","@salesforce/label/Emojis_FoodDrink.melon","@salesforce/label/Emojis_FoodDrink.watermelon","@salesforce/label/Emojis_FoodDrink.tangerine","@salesforce/label/Emojis_FoodDrink.lemon","@salesforce/label/Emojis_FoodDrink.banana","@salesforce/label/Emojis_FoodDrink.pineapple","@salesforce/label/Emojis_FoodDrink.redApple","@salesforce/label/Emojis_FoodDrink.greenApple","@salesforce/label/Emojis_FoodDrink.pear","@salesforce/label/Emojis_FoodDrink.peach","@salesforce/label/Emojis_FoodDrink.cherries","@salesforce/label/Emojis_FoodDrink.strawberry","@salesforce/label/Emojis_FoodDrink.tomato","@salesforce/label/Emojis_FoodDrink.eggplant","@salesforce/label/Emojis_FoodDrink.earOfCorn","@salesforce/label/Emojis_FoodDrink.mushroom","@salesforce/label/Emojis_FoodDrink.chestnut","@salesforce/label/Emojis_FoodDrink.bread","@salesforce/label/Emojis_FoodDrink.meatOnBone","@salesforce/label/Emojis_FoodDrink.poultryLeg","@salesforce/label/Emojis_FoodDrink.hamburger","@salesforce/label/Emojis_FoodDrink.frenchFries","@salesforce/label/Emojis_FoodDrink.pizza","@salesforce/label/Emojis_FoodDrink.cooking","@salesforce/label/Emojis_FoodDrink.potOfFood","@salesforce/label/Emojis_FoodDrink.bentoBox","@salesforce/label/Emojis_FoodDrink.riceCracker","@salesforce/label/Emojis_FoodDrink.riceBall","@salesforce/label/Emojis_FoodDrink.cookedRice","@salesforce/label/Emojis_FoodDrink.curryRice","@salesforce/label/Emojis_FoodDrink.steamingBowl","@salesforce/label/Emojis_FoodDrink.spaghetti","@salesforce/label/Emojis_FoodDrink.roastedSweetPotato","@salesforce/label/Emojis_FoodDrink.oden","@salesforce/label/Emojis_FoodDrink.sushi","@salesforce/label/Emojis_FoodDrink.friedShrimp","@salesforce/label/Emojis_FoodDrink.fishCakeWithSwirl","@salesforce/label/Emojis_FoodDrink.dango","@salesforce/label/Emojis_FoodDrink.softIceCream","@salesforce/label/Emojis_FoodDrink.shavedIce","@salesforce/label/Emojis_FoodDrink.iceCream","@salesforce/label/Emojis_FoodDrink.doughnut","@salesforce/label/Emojis_FoodDrink.cookie","@salesforce/label/Emojis_FoodDrink.birthdayCake","@salesforce/label/Emojis_FoodDrink.shortcake","@salesforce/label/Emojis_FoodDrink.chocolateBar","@salesforce/label/Emojis_FoodDrink.candy","@salesforce/label/Emojis_FoodDrink.lollipop","@salesforce/label/Emojis_FoodDrink.custard","@salesforce/label/Emojis_FoodDrink.honeyPot","@salesforce/label/Emojis_FoodDrink.babyBottle","@salesforce/label/Emojis_FoodDrink.hotBeverage","@salesforce/label/Emojis_FoodDrink.teacupWithoutHandle","@salesforce/label/Emojis_FoodDrink.sake","@salesforce/label/Emojis_FoodDrink.wineGlass","@salesforce/label/Emojis_FoodDrink.cocktailGlass","@salesforce/label/Emojis_FoodDrink.tropicalDrink","@salesforce/label/Emojis_FoodDrink.beerMug","@salesforce/label/Emojis_FoodDrink.clinkingBeerMugs","@salesforce/label/Emojis_FoodDrink.forkAndKnife","@salesforce/label/Emojis_FoodDrink.kitchenKnife","@salesforce/label/Emojis_TravelPlaces.travelPlacesCategory","@salesforce/label/Emojis_TravelPlaces.globeShowingEuropeAfrica","@salesforce/label/Emojis_TravelPlaces.globeShowingAmericas","@salesforce/label/Emojis_TravelPlaces.globeShowingAsiaAustralia","@salesforce/label/Emojis_TravelPlaces.globeWithMeridians","@salesforce/label/Emojis_TravelPlaces.mapOfJapan","@salesforce/label/Emojis_TravelPlaces.volcano","@salesforce/label/Emojis_TravelPlaces.mountFuji","@salesforce/label/Emojis_TravelPlaces.house","@salesforce/label/Emojis_TravelPlaces.houseWithGarden","@salesforce/label/Emojis_TravelPlaces.officeBuilding","@salesforce/label/Emojis_TravelPlaces.japanesePostOffice","@salesforce/label/Emojis_TravelPlaces.postOffice","@salesforce/label/Emojis_TravelPlaces.hospital","@salesforce/label/Emojis_TravelPlaces.bank","@salesforce/label/Emojis_TravelPlaces.hotel","@salesforce/label/Emojis_TravelPlaces.loveHotel","@salesforce/label/Emojis_TravelPlaces.convenienceStore","@salesforce/label/Emojis_TravelPlaces.school","@salesforce/label/Emojis_TravelPlaces.departmentStore","@salesforce/label/Emojis_TravelPlaces.factory","@salesforce/label/Emojis_TravelPlaces.japaneseCastle","@salesforce/label/Emojis_TravelPlaces.castle","@salesforce/label/Emojis_TravelPlaces.wedding","@salesforce/label/Emojis_TravelPlaces.tokyoTower","@salesforce/label/Emojis_TravelPlaces.statueOfLiberty","@salesforce/label/Emojis_TravelPlaces.church","@salesforce/label/Emojis_TravelPlaces.fountain","@salesforce/label/Emojis_TravelPlaces.tent","@salesforce/label/Emojis_TravelPlaces.foggy","@salesforce/label/Emojis_TravelPlaces.nightWithStars","@salesforce/label/Emojis_TravelPlaces.sunriseOverMountains","@salesforce/label/Emojis_TravelPlaces.sunrise","@salesforce/label/Emojis_TravelPlaces.cityscapeAtDusk","@salesforce/label/Emojis_TravelPlaces.sunset","@salesforce/label/Emojis_TravelPlaces.bridgeAtNight","@salesforce/label/Emojis_TravelPlaces.hotSprings","@salesforce/label/Emojis_TravelPlaces.milkyWay","@salesforce/label/Emojis_TravelPlaces.carouselHorse","@salesforce/label/Emojis_TravelPlaces.ferrisWheel","@salesforce/label/Emojis_TravelPlaces.rollerCoaster","@salesforce/label/Emojis_TravelPlaces.barberPole","@salesforce/label/Emojis_TravelPlaces.circusTent","@salesforce/label/Emojis_TravelPlaces.performingArts","@salesforce/label/Emojis_TravelPlaces.artistPalette","@salesforce/label/Emojis_TravelPlaces.slotMachine","@salesforce/label/Emojis_TravelPlaces.locomotive","@salesforce/label/Emojis_TravelPlaces.railwayCar","@salesforce/label/Emojis_TravelPlaces.highSpeedTrain","@salesforce/label/Emojis_TravelPlaces.highSpeedTrainWithBulletNose","@salesforce/label/Emojis_TravelPlaces.train","@salesforce/label/Emojis_TravelPlaces.metro","@salesforce/label/Emojis_TravelPlaces.lightRail","@salesforce/label/Emojis_TravelPlaces.station","@salesforce/label/Emojis_TravelPlaces.tram","@salesforce/label/Emojis_TravelPlaces.monorail","@salesforce/label/Emojis_TravelPlaces.mountainRailway","@salesforce/label/Emojis_TravelPlaces.tramCar","@salesforce/label/Emojis_TravelPlaces.bus","@salesforce/label/Emojis_TravelPlaces.oncomingBus","@salesforce/label/Emojis_TravelPlaces.trolleybus","@salesforce/label/Emojis_TravelPlaces.minibus","@salesforce/label/Emojis_TravelPlaces.ambulance","@salesforce/label/Emojis_TravelPlaces.fireEngine","@salesforce/label/Emojis_TravelPlaces.policeCar","@salesforce/label/Emojis_TravelPlaces.oncomingPoliceCar","@salesforce/label/Emojis_TravelPlaces.taxi","@salesforce/label/Emojis_TravelPlaces.oncomingTaxi","@salesforce/label/Emojis_TravelPlaces.automobile","@salesforce/label/Emojis_TravelPlaces.oncomingAutomobile","@salesforce/label/Emojis_TravelPlaces.sportUtilityVehicle","@salesforce/label/Emojis_TravelPlaces.deliveryTruck","@salesforce/label/Emojis_TravelPlaces.articulatedLorry","@salesforce/label/Emojis_TravelPlaces.tractor","@salesforce/label/Emojis_TravelPlaces.bicycle","@salesforce/label/Emojis_TravelPlaces.busStop","@salesforce/label/Emojis_TravelPlaces.fuelPump","@salesforce/label/Emojis_TravelPlaces.policeCarLight","@salesforce/label/Emojis_TravelPlaces.horizontalTrafficLight","@salesforce/label/Emojis_TravelPlaces.verticalTrafficLight","@salesforce/label/Emojis_TravelPlaces.construction","@salesforce/label/Emojis_TravelPlaces.anchor","@salesforce/label/Emojis_TravelPlaces.sailboat","@salesforce/label/Emojis_TravelPlaces.speedboat","@salesforce/label/Emojis_TravelPlaces.ship","@salesforce/label/Emojis_TravelPlaces.airplane","@salesforce/label/Emojis_TravelPlaces.seat","@salesforce/label/Emojis_TravelPlaces.helicopter","@salesforce/label/Emojis_TravelPlaces.suspensionRailway","@salesforce/label/Emojis_TravelPlaces.mountainCableway","@salesforce/label/Emojis_TravelPlaces.aerialTramway","@salesforce/label/Emojis_TravelPlaces.rocket","@salesforce/label/Emojis_TravelPlaces.door","@salesforce/label/Emojis_TravelPlaces.toilet","@salesforce/label/Emojis_TravelPlaces.shower","@salesforce/label/Emojis_TravelPlaces.personTakingBath","@salesforce/label/Emojis_TravelPlaces.bathtub","@salesforce/label/Emojis_TravelPlaces.hourglass","@salesforce/label/Emojis_TravelPlaces.hourglassWithFlowingSand","@salesforce/label/Emojis_TravelPlaces.watch","@salesforce/label/Emojis_TravelPlaces.alarmClock","@salesforce/label/Emojis_TravelPlaces.twelveOClock","@salesforce/label/Emojis_TravelPlaces.twelveThirty","@salesforce/label/Emojis_TravelPlaces.oneOClock","@salesforce/label/Emojis_TravelPlaces.oneThirty","@salesforce/label/Emojis_TravelPlaces.twoOClock","@salesforce/label/Emojis_TravelPlaces.twoThirty","@salesforce/label/Emojis_TravelPlaces.threeOClock","@salesforce/label/Emojis_TravelPlaces.threeThirty","@salesforce/label/Emojis_TravelPlaces.fourOClock","@salesforce/label/Emojis_TravelPlaces.fourThirty","@salesforce/label/Emojis_TravelPlaces.fiveOClock","@salesforce/label/Emojis_TravelPlaces.fiveThirty","@salesforce/label/Emojis_TravelPlaces.sixOClock","@salesforce/label/Emojis_TravelPlaces.sixThirty","@salesforce/label/Emojis_TravelPlaces.sevenOClock","@salesforce/label/Emojis_TravelPlaces.sevenThirty","@salesforce/label/Emojis_TravelPlaces.eightOClock","@salesforce/label/Emojis_TravelPlaces.eightThirty","@salesforce/label/Emojis_TravelPlaces.nineOClock","@salesforce/label/Emojis_TravelPlaces.nineThirty","@salesforce/label/Emojis_TravelPlaces.tenOClock","@salesforce/label/Emojis_TravelPlaces.tenThirty","@salesforce/label/Emojis_TravelPlaces.elevenOClock","@salesforce/label/Emojis_TravelPlaces.elevenThirty","@salesforce/label/Emojis_TravelPlaces.newMoon","@salesforce/label/Emojis_TravelPlaces.waxingCrescentMoon","@salesforce/label/Emojis_TravelPlaces.firstQuarterMoon","@salesforce/label/Emojis_TravelPlaces.waxingGibbousMoon","@salesforce/label/Emojis_TravelPlaces.fullMoon","@salesforce/label/Emojis_TravelPlaces.waningGibbousMoon","@salesforce/label/Emojis_TravelPlaces.lastQuarterMoon","@salesforce/label/Emojis_TravelPlaces.waningCrescentMoon","@salesforce/label/Emojis_TravelPlaces.crescentMoon","@salesforce/label/Emojis_TravelPlaces.newMoonFace","@salesforce/label/Emojis_TravelPlaces.firstQuarterMoonWithFace","@salesforce/label/Emojis_TravelPlaces.lastQuarterMoonWithFace","@salesforce/label/Emojis_TravelPlaces.sun","@salesforce/label/Emojis_TravelPlaces.fullMoonWithFace","@salesforce/label/Emojis_TravelPlaces.sunWithFace","@salesforce/label/Emojis_TravelPlaces.whiteMediumStar","@salesforce/label/Emojis_TravelPlaces.glowingStar","@salesforce/label/Emojis_TravelPlaces.shootingStar","@salesforce/label/Emojis_TravelPlaces.cloud","@salesforce/label/Emojis_TravelPlaces.sunBehindCloud","@salesforce/label/Emojis_TravelPlaces.cyclone","@salesforce/label/Emojis_TravelPlaces.rainbow","@salesforce/label/Emojis_TravelPlaces.closedUmbrella","@salesforce/label/Emojis_TravelPlaces.umbrellaWithRainDrops","@salesforce/label/Emojis_TravelPlaces.highVoltage","@salesforce/label/Emojis_TravelPlaces.snowflake","@salesforce/label/Emojis_TravelPlaces.snowmanWithoutSnow","@salesforce/label/Emojis_TravelPlaces.fire","@salesforce/label/Emojis_TravelPlaces.droplet","@salesforce/label/Emojis_TravelPlaces.waterWave","@salesforce/label/Emojis_Activities.activitiesCategory","@salesforce/label/Emojis_Activities.jackOLantern","@salesforce/label/Emojis_Activities.christmasTree","@salesforce/label/Emojis_Activities.fireworks","@salesforce/label/Emojis_Activities.sparkler","@salesforce/label/Emojis_Activities.sparkles","@salesforce/label/Emojis_Activities.balloon","@salesforce/label/Emojis_Activities.partyPopper","@salesforce/label/Emojis_Activities.confettiBall","@salesforce/label/Emojis_Activities.tanabataTree","@salesforce/label/Emojis_Activities.pineDecoration","@salesforce/label/Emojis_Activities.japaneseDolls","@salesforce/label/Emojis_Activities.carpStreamer","@salesforce/label/Emojis_Activities.windChime","@salesforce/label/Emojis_Activities.moonViewingCeremony","@salesforce/label/Emojis_Activities.ribbon","@salesforce/label/Emojis_Activities.wrappedGift","@salesforce/label/Emojis_Activities.ticket","@salesforce/label/Emojis_Activities.trophy","@salesforce/label/Emojis_Activities.soccerBall","@salesforce/label/Emojis_Activities.baseball","@salesforce/label/Emojis_Activities.basketball","@salesforce/label/Emojis_Activities.americanFootball","@salesforce/label/Emojis_Activities.rugbyFootball","@salesforce/label/Emojis_Activities.tennis","@salesforce/label/Emojis_Activities.pool8Ball","@salesforce/label/Emojis_Activities.bowling","@salesforce/label/Emojis_Activities.directHit","@salesforce/label/Emojis_Activities.flagInHole","@salesforce/label/Emojis_Activities.fishingPole","@salesforce/label/Emojis_Activities.runningShirt","@salesforce/label/Emojis_Activities.skis","@salesforce/label/Emojis_Activities.videoGame","@salesforce/label/Emojis_Activities.gameDie","@salesforce/label/Emojis_Activities.spadeSuit","@salesforce/label/Emojis_Activities.heartSuit","@salesforce/label/Emojis_Activities.diamondSuit","@salesforce/label/Emojis_Activities.clubSuit","@salesforce/label/Emojis_Activities.joker","@salesforce/label/Emojis_Activities.mahjongRedDragon","@salesforce/label/Emojis_Activities.flowerPlayingCards","@salesforce/label/Emojis_Objects.objectsCategory","@salesforce/label/Emojis_Objects.mutedSpeaker","@salesforce/label/Emojis_Objects.speakerLowVolume","@salesforce/label/Emojis_Objects.speakerMediumVolume","@salesforce/label/Emojis_Objects.speakerHighVolume","@salesforce/label/Emojis_Objects.loudspeaker","@salesforce/label/Emojis_Objects.megaphone","@salesforce/label/Emojis_Objects.postalHorn","@salesforce/label/Emojis_Objects.bell","@salesforce/label/Emojis_Objects.bellWithSlash","@salesforce/label/Emojis_Objects.musicalScore","@salesforce/label/Emojis_Objects.musicalNote","@salesforce/label/Emojis_Objects.musicalNotes","@salesforce/label/Emojis_Objects.microphone","@salesforce/label/Emojis_Objects.headphone","@salesforce/label/Emojis_Objects.radio","@salesforce/label/Emojis_Objects.saxophone","@salesforce/label/Emojis_Objects.guitar","@salesforce/label/Emojis_Objects.musicalKeyboard","@salesforce/label/Emojis_Objects.trumpet","@salesforce/label/Emojis_Objects.violin","@salesforce/label/Emojis_Objects.mobilePhone","@salesforce/label/Emojis_Objects.mobilePhoneWithArrow","@salesforce/label/Emojis_Objects.telephone","@salesforce/label/Emojis_Objects.telephoneReceiver","@salesforce/label/Emojis_Objects.pager","@salesforce/label/Emojis_Objects.faxMachine","@salesforce/label/Emojis_Objects.battery","@salesforce/label/Emojis_Objects.electricPlug","@salesforce/label/Emojis_Objects.laptopComputer","@salesforce/label/Emojis_Objects.computerDisk","@salesforce/label/Emojis_Objects.floppyDisk","@salesforce/label/Emojis_Objects.opticalDisk","@salesforce/label/Emojis_Objects.dvd","@salesforce/label/Emojis_Objects.movieCamera","@salesforce/label/Emojis_Objects.clapperBoard","@salesforce/label/Emojis_Objects.television","@salesforce/label/Emojis_Objects.camera","@salesforce/label/Emojis_Objects.videoCamera","@salesforce/label/Emojis_Objects.videocassette","@salesforce/label/Emojis_Objects.leftPointingMagnifyingGlass","@salesforce/label/Emojis_Objects.rightPointingMagnifyingGlass","@salesforce/label/Emojis_Objects.microscope","@salesforce/label/Emojis_Objects.telescope","@salesforce/label/Emojis_Objects.satelliteAntenna","@salesforce/label/Emojis_Objects.lightBulb","@salesforce/label/Emojis_Objects.flashlight","@salesforce/label/Emojis_Objects.redPaperLantern","@salesforce/label/Emojis_Objects.notebookWithDecorativeCover","@salesforce/label/Emojis_Objects.closedBook","@salesforce/label/Emojis_Objects.openBook","@salesforce/label/Emojis_Objects.greenBook","@salesforce/label/Emojis_Objects.blueBook","@salesforce/label/Emojis_Objects.orangeBook","@salesforce/label/Emojis_Objects.books","@salesforce/label/Emojis_Objects.notebook","@salesforce/label/Emojis_Objects.ledger","@salesforce/label/Emojis_Objects.pageWithCurl","@salesforce/label/Emojis_Objects.scroll","@salesforce/label/Emojis_Objects.pageFacingUp","@salesforce/label/Emojis_Objects.newspaper","@salesforce/label/Emojis_Objects.bookmarkTabs","@salesforce/label/Emojis_Objects.bookmark","@salesforce/label/Emojis_Objects.moneyBag","@salesforce/label/Emojis_Objects.yenBanknote","@salesforce/label/Emojis_Objects.dollarBanknote","@salesforce/label/Emojis_Objects.euroBanknote","@salesforce/label/Emojis_Objects.poundBanknote","@salesforce/label/Emojis_Objects.moneyWithWings","@salesforce/label/Emojis_Objects.creditCard","@salesforce/label/Emojis_Objects.chartIncreasingWithYen","@salesforce/label/Emojis_Objects.currencyExchange","@salesforce/label/Emojis_Objects.heavyDollarSign","@salesforce/label/Emojis_Objects.envelope","@salesforce/label/Emojis_Objects.eMail","@salesforce/label/Emojis_Objects.incomingEnvelope","@salesforce/label/Emojis_Objects.envelopeWithArrow","@salesforce/label/Emojis_Objects.outboxTray","@salesforce/label/Emojis_Objects.inboxTray","@salesforce/label/Emojis_Objects.mailPackage","@salesforce/label/Emojis_Objects.closedMailboxWithRaisedFlag","@salesforce/label/Emojis_Objects.closedMailboxWithLoweredFlag","@salesforce/label/Emojis_Objects.openMailboxWithRaisedFlag","@salesforce/label/Emojis_Objects.openMailboxWithLoweredFlag","@salesforce/label/Emojis_Objects.postbox","@salesforce/label/Emojis_Objects.pencil","@salesforce/label/Emojis_Objects.blackNib","@salesforce/label/Emojis_Objects.memo","@salesforce/label/Emojis_Objects.briefcase","@salesforce/label/Emojis_Objects.fileFolder","@salesforce/label/Emojis_Objects.openFileFolder","@salesforce/label/Emojis_Objects.calendar","@salesforce/label/Emojis_Objects.tearOffCalendar","@salesforce/label/Emojis_Objects.cardIndex","@salesforce/label/Emojis_Objects.chartIncreasing","@salesforce/label/Emojis_Objects.chartDecreasing","@salesforce/label/Emojis_Objects.barChart","@salesforce/label/Emojis_Objects.clipboard","@salesforce/label/Emojis_Objects.pushpin","@salesforce/label/Emojis_Objects.roundPushpin","@salesforce/label/Emojis_Objects.paperclip","@salesforce/label/Emojis_Objects.straightRuler","@salesforce/label/Emojis_Objects.triangularRuler","@salesforce/label/Emojis_Objects.scissors","@salesforce/label/Emojis_Objects.locked","@salesforce/label/Emojis_Objects.unlocked","@salesforce/label/Emojis_Objects.lockedWithPen","@salesforce/label/Emojis_Objects.lockedWithKey","@salesforce/label/Emojis_Objects.key","@salesforce/label/Emojis_Objects.hammer","@salesforce/label/Emojis_Objects.pistol","@salesforce/label/Emojis_Objects.wrench","@salesforce/label/Emojis_Objects.nutAndBolt","@salesforce/label/Emojis_Objects.link","@salesforce/label/Emojis_Objects.syringe","@salesforce/label/Emojis_Objects.pill","@salesforce/label/Emojis_Objects.cigarette","@salesforce/label/Emojis_Objects.moai","@salesforce/label/Emojis_Objects.crystalBall","@salesforce/label/Emojis_Symbols.symbolsCategory","@salesforce/label/Emojis_Symbols.atmSign","@salesforce/label/Emojis_Symbols.litterInBinSign","@salesforce/label/Emojis_Symbols.potableWater","@salesforce/label/Emojis_Symbols.wheelchairSymbol","@salesforce/label/Emojis_Symbols.mensRoom","@salesforce/label/Emojis_Symbols.womensRoom","@salesforce/label/Emojis_Symbols.restroom","@salesforce/label/Emojis_Symbols.babySymbol","@salesforce/label/Emojis_Symbols.waterCloset","@salesforce/label/Emojis_Symbols.passportControl","@salesforce/label/Emojis_Symbols.customs","@salesforce/label/Emojis_Symbols.baggageClaim","@salesforce/label/Emojis_Symbols.leftLuggage","@salesforce/label/Emojis_Symbols.warning","@salesforce/label/Emojis_Symbols.childrenCrossing","@salesforce/label/Emojis_Symbols.noEntry","@salesforce/label/Emojis_Symbols.prohibited","@salesforce/label/Emojis_Symbols.noBicycles","@salesforce/label/Emojis_Symbols.noSmoking","@salesforce/label/Emojis_Symbols.noLittering","@salesforce/label/Emojis_Symbols.nonPotableWater","@salesforce/label/Emojis_Symbols.noPedestrians","@salesforce/label/Emojis_Symbols.noMobilePhones","@salesforce/label/Emojis_Symbols.noOneUnderEighteen","@salesforce/label/Emojis_Symbols.upArrow","@salesforce/label/Emojis_Symbols.upRightArrow","@salesforce/label/Emojis_Symbols.rightArrow","@salesforce/label/Emojis_Symbols.downRightArrow","@salesforce/label/Emojis_Symbols.downArrow","@salesforce/label/Emojis_Symbols.downLeftArrow","@salesforce/label/Emojis_Symbols.leftArrow","@salesforce/label/Emojis_Symbols.upLeftArrow","@salesforce/label/Emojis_Symbols.upDownArrow","@salesforce/label/Emojis_Symbols.leftRightArrow","@salesforce/label/Emojis_Symbols.rightArrowCurvingLeft","@salesforce/label/Emojis_Symbols.leftArrowCurvingRight","@salesforce/label/Emojis_Symbols.rightArrowCurvingUp","@salesforce/label/Emojis_Symbols.rightArrowCurvingDown","@salesforce/label/Emojis_Symbols.clockwiseVerticalArrows","@salesforce/label/Emojis_Symbols.anticlockwiseArrowsButton","@salesforce/label/Emojis_Symbols.backArrow","@salesforce/label/Emojis_Symbols.endArrow","@salesforce/label/Emojis_Symbols.onArrow","@salesforce/label/Emojis_Symbols.soonArrow","@salesforce/label/Emojis_Symbols.topArrow","@salesforce/label/Emojis_Symbols.dottedSixPointedStar","@salesforce/label/Emojis_Symbols.aries","@salesforce/label/Emojis_Symbols.taurus","@salesforce/label/Emojis_Symbols.gemini","@salesforce/label/Emojis_Symbols.cancer","@salesforce/label/Emojis_Symbols.leo","@salesforce/label/Emojis_Symbols.virgo","@salesforce/label/Emojis_Symbols.libra","@salesforce/label/Emojis_Symbols.scorpio","@salesforce/label/Emojis_Symbols.sagittarius","@salesforce/label/Emojis_Symbols.capricorn","@salesforce/label/Emojis_Symbols.aquarius","@salesforce/label/Emojis_Symbols.pisces","@salesforce/label/Emojis_Symbols.ophiuchus","@salesforce/label/Emojis_Symbols.shuffleTracksButton","@salesforce/label/Emojis_Symbols.repeatButton","@salesforce/label/Emojis_Symbols.repeatSingleButton","@salesforce/label/Emojis_Symbols.playButton","@salesforce/label/Emojis_Symbols.fastForwardButton","@salesforce/label/Emojis_Symbols.reverseButton","@salesforce/label/Emojis_Symbols.fastReverseButton","@salesforce/label/Emojis_Symbols.fastUpButton","@salesforce/label/Emojis_Symbols.downButton","@salesforce/label/Emojis_Symbols.fastDownButton","@salesforce/label/Emojis_Symbols.cinema","@salesforce/label/Emojis_Symbols.dimButton","@salesforce/label/Emojis_Symbols.brightButton","@salesforce/label/Emojis_Symbols.antennaBars","@salesforce/label/Emojis_Symbols.vibrationMode","@salesforce/label/Emojis_Symbols.mobilePhoneOff","@salesforce/label/Emojis_Symbols.recyclingSymbol","@salesforce/label/Emojis_Symbols.nameBadge","@salesforce/label/Emojis_Symbols.japaneseSymbolForBeginner","@salesforce/label/Emojis_Symbols.tridentEmblem","@salesforce/label/Emojis_Symbols.heavyLargeCircle","@salesforce/label/Emojis_Symbols.whiteHeavyCheckMark","@salesforce/label/Emojis_Symbols.ballotBoxWithCheck","@salesforce/label/Emojis_Symbols.heavyCheckMark","@salesforce/label/Emojis_Symbols.heavyMultiplicationX","@salesforce/label/Emojis_Symbols.crossMark","@salesforce/label/Emojis_Symbols.crossMarkButton","@salesforce/label/Emojis_Symbols.heavyPlusSign","@salesforce/label/Emojis_Symbols.heavyMinusSign","@salesforce/label/Emojis_Symbols.heavyDivisionSign","@salesforce/label/Emojis_Symbols.curlyLoop","@salesforce/label/Emojis_Symbols.doubleCurlyLoop","@salesforce/label/Emojis_Symbols.partAlternationMark","@salesforce/label/Emojis_Symbols.eightSpokedAsterisk","@salesforce/label/Emojis_Symbols.eightPointedStar","@salesforce/label/Emojis_Symbols.sparkle","@salesforce/label/Emojis_Symbols.doubleExclamationMark","@salesforce/label/Emojis_Symbols.exclamationQuestionMark","@salesforce/label/Emojis_Symbols.questionMark","@salesforce/label/Emojis_Symbols.whiteQuestionMark","@salesforce/label/Emojis_Symbols.whiteExclamationMark","@salesforce/label/Emojis_Symbols.exclamationMark","@salesforce/label/Emojis_Symbols.wavyDash","@salesforce/label/Emojis_Symbols.copyright","@salesforce/label/Emojis_Symbols.registered","@salesforce/label/Emojis_Symbols.tradeMark","@salesforce/label/Emojis_Symbols.keycap","@salesforce/label/Emojis_Symbols.keycap0","@salesforce/label/Emojis_Symbols.keycap1","@salesforce/label/Emojis_Symbols.keycap2","@salesforce/label/Emojis_Symbols.keycap3","@salesforce/label/Emojis_Symbols.keycap4","@salesforce/label/Emojis_Symbols.keycap5","@salesforce/label/Emojis_Symbols.keycap6","@salesforce/label/Emojis_Symbols.keycap7","@salesforce/label/Emojis_Symbols.keycap8","@salesforce/label/Emojis_Symbols.keycap9","@salesforce/label/Emojis_Symbols.keycap10","@salesforce/label/Emojis_Symbols.hundredPoints","@salesforce/label/Emojis_Symbols.inputLatinUppercase","@salesforce/label/Emojis_Symbols.inputLatinLowercase","@salesforce/label/Emojis_Symbols.inputNumbers","@salesforce/label/Emojis_Symbols.inputSymbols","@salesforce/label/Emojis_Symbols.inputLatinLetters","@salesforce/label/Emojis_Symbols.aButtonBloodType","@salesforce/label/Emojis_Symbols.abButtonBloodType","@salesforce/label/Emojis_Symbols.bButtonBloodType","@salesforce/label/Emojis_Symbols.clButton","@salesforce/label/Emojis_Symbols.coolButton","@salesforce/label/Emojis_Symbols.freeButton","@salesforce/label/Emojis_Symbols.information","@salesforce/label/Emojis_Symbols.idButton","@salesforce/label/Emojis_Symbols.circledM","@salesforce/label/Emojis_Symbols.newButton","@salesforce/label/Emojis_Symbols.ngButton","@salesforce/label/Emojis_Symbols.oButtonBloodType","@salesforce/label/Emojis_Symbols.okButton","@salesforce/label/Emojis_Symbols.pButton","@salesforce/label/Emojis_Symbols.sosButton","@salesforce/label/Emojis_Symbols.upButton","@salesforce/label/Emojis_Symbols.vsButton","@salesforce/label/Emojis_Symbols.japaneseHereButton","@salesforce/label/Emojis_Symbols.japaneseServiceChargeButton","@salesforce/label/Emojis_Symbols.japaneseMonthlyAmountButton","@salesforce/label/Emojis_Symbols.japaneseNotFreeOfChargeButton","@salesforce/label/Emojis_Symbols.japaneseReservedButton","@salesforce/label/Emojis_Symbols.japaneseBargainButton","@salesforce/label/Emojis_Symbols.japaneseDiscountButton","@salesforce/label/Emojis_Symbols.japaneseFreeOfChargeButton","@salesforce/label/Emojis_Symbols.japaneseProhibitedButton","@salesforce/label/Emojis_Symbols.japaneseAcceptableButton","@salesforce/label/Emojis_Symbols.japaneseApplicationButton","@salesforce/label/Emojis_Symbols.japanesePassingGradeButton","@salesforce/label/Emojis_Symbols.japaneseVacancyButton","@salesforce/label/Emojis_Symbols.japaneseCongratulationsButton","@salesforce/label/Emojis_Symbols.japaneseSecretButton","@salesforce/label/Emojis_Symbols.japaneseOpenForBusinessButton","@salesforce/label/Emojis_Symbols.japaneseNoVacancyButton","@salesforce/label/Emojis_Symbols.blackSmallSquare","@salesforce/label/Emojis_Symbols.whiteSmallSquare","@salesforce/label/Emojis_Symbols.whiteMediumSquare","@salesforce/label/Emojis_Symbols.blackMediumSquare","@salesforce/label/Emojis_Symbols.whiteMediumSmallSquare","@salesforce/label/Emojis_Symbols.blackMediumSmallSquare","@salesforce/label/Emojis_Symbols.blackLargeSquare","@salesforce/label/Emojis_Symbols.whiteLargeSquare","@salesforce/label/Emojis_Symbols.largeOrangeDiamond","@salesforce/label/Emojis_Symbols.largeBlueDiamond","@salesforce/label/Emojis_Symbols.smallOrangeDiamond","@salesforce/label/Emojis_Symbols.smallBlueDiamond","@salesforce/label/Emojis_Symbols.redTrianglePointedUp","@salesforce/label/Emojis_Symbols.redTrianglePointedDown","@salesforce/label/Emojis_Symbols.diamondWithADot","@salesforce/label/Emojis_Symbols.radioButton","@salesforce/label/Emojis_Symbols.blackSquareButton","@salesforce/label/Emojis_Symbols.whiteSquareButton","@salesforce/label/Emojis_Symbols.whiteCircle","@salesforce/label/Emojis_Symbols.blackCircle","@salesforce/label/Emojis_Symbols.redCircle","@salesforce/label/Emojis_Symbols.blueCircle","@salesforce/label/Emojis_Flags.flagsCategory","@salesforce/label/Emojis_Flags.chequeredFlag","@salesforce/label/Emojis_Flags.triangularFlag","@salesforce/label/Emojis_Flags.crossedFlags","@salesforce/label/Emojis_Flags.unitedArabEmirates","@salesforce/label/Emojis_Flags.austria","@salesforce/label/Emojis_Flags.australia","@salesforce/label/Emojis_Flags.belgium","@salesforce/label/Emojis_Flags.brazil","@salesforce/label/Emojis_Flags.canada","@salesforce/label/Emojis_Flags.switzerland","@salesforce/label/Emojis_Flags.chile","@salesforce/label/Emojis_Flags.china","@salesforce/label/Emojis_Flags.colombia","@salesforce/label/Emojis_Flags.germany","@salesforce/label/Emojis_Flags.denmark","@salesforce/label/Emojis_Flags.spain","@salesforce/label/Emojis_Flags.finland","@salesforce/label/Emojis_Flags.france","@salesforce/label/Emojis_Flags.unitedKingdom","@salesforce/label/Emojis_Flags.hongKongSarChina","@salesforce/label/Emojis_Flags.indonesia","@salesforce/label/Emojis_Flags.ireland","@salesforce/label/Emojis_Flags.israel","@salesforce/label/Emojis_Flags.india","@salesforce/label/Emojis_Flags.italy","@salesforce/label/Emojis_Flags.japan","@salesforce/label/Emojis_Flags.southKorea","@salesforce/label/Emojis_Flags.macauSarChina","@salesforce/label/Emojis_Flags.mexico","@salesforce/label/Emojis_Flags.malaysia","@salesforce/label/Emojis_Flags.netherlands","@salesforce/label/Emojis_Flags.norway","@salesforce/label/Emojis_Flags.newZealand","@salesforce/label/Emojis_Flags.philippines","@salesforce/label/Emojis_Flags.poland","@salesforce/label/Emojis_Flags.puertoRico","@salesforce/label/Emojis_Flags.portugal","@salesforce/label/Emojis_Flags.russia","@salesforce/label/Emojis_Flags.saudiArabia","@salesforce/label/Emojis_Flags.sweden","@salesforce/label/Emojis_Flags.singapore","@salesforce/label/Emojis_Flags.turkey","@salesforce/label/Emojis_Flags.unitedStates","@salesforce/label/Emojis_Flags.vietnam","@salesforce/label/Emojis_Flags.southAfrica"],function(e,l,a,s,o,i,t,r,f,c,m,n,u,b,d,j,E,_,p,y,g,h,S,P,k,v,F,w,T,A,B,O,C,W,M,D,N,H,x,L,R,I,q,G,z,U,V,K,Q,J,X,Y,Z,$,ee,le,ae,se,oe,ie,te,re,fe,ce,me,ne,ue,be,de,je,Ee,_e,pe,ye,ge,he,Se,Pe,ke,ve,Fe,we,Te,Ae,Be,Oe,Ce,We,Me,De,Ne,He,xe,Le,Re,Ie,qe,Ge,ze,Ue,Ve,Ke,Qe,Je,Xe,Ye,Ze,$e,el,ll,al,sl,ol,il,tl,rl,fl,cl,ml,nl,ul,bl,dl,jl,El,_l,pl,yl,gl,hl,Sl,Pl,kl,vl,Fl,wl,Tl,Al,Bl,Ol,Cl,Wl,Ml,Dl,Nl,Hl,xl,Ll,Rl,Il,ql,Gl,zl,Ul,Vl,Kl,Ql,Jl,Xl,Yl,Zl,$l,ea,la,aa,sa,oa,ia,ta,ra,fa,ca,ma,na,ua,ba,da,ja,Ea,_a,pa,ya,ga,ha,Sa,Pa,ka,va,Fa,wa,Ta,Aa,Ba,Oa,Ca,Wa,Ma,Da,Na,Ha,xa,La,Ra,Ia,qa,Ga,za,Ua,Va,Ka,Qa,Ja,Xa,Ya,Za,$a,es,ls,as,ss,os,is,ts,rs,fs,cs,ms,ns,us,bs,ds,js,Es,_s,ps,ys,gs,hs,Ss,Ps,ks,vs,Fs,ws,Ts,As,Bs,Os,Cs,Ws,Ms,Ds,Ns,Hs,xs,Ls,Rs,Is,qs,Gs,zs,Us,Vs,Ks,Qs,Js,Xs,Ys,Zs,$s,eo,lo,ao,so,oo,io,to,ro,fo,co,mo,no,uo,bo,jo,Eo,_o,po,yo,go,ho,So,Po,ko,vo,Fo,wo,To,Ao,Bo,Oo,Co,Wo,Mo,Do,No,Ho,xo,Lo,Ro,Io,qo,Go,zo,Uo,Vo,Ko,Qo,Jo,Xo,Yo,Zo,$o,ei,li,ai,si,oi,ii,ti,ri,fi,ci,mi,ni,ui,bi,di,ji,Ei,_i,pi,yi,gi,hi,Si,Pi,ki,vi,Fi,wi,Ti,Ai,Bi,Oi,Ci,Wi,Mi,Di,Ni,Hi,xi,Li,Ri,Ii,qi,Gi,zi,Ui,Vi,Ki,Qi,Ji,Xi,Yi,Zi,$i,et,lt,at,st,ot,it,tt,rt,ft,ct,mt,nt,ut,bt,dt,jt,Et,_t,pt,yt,gt,ht,St,Pt,kt,vt,Ft,wt,Tt,At,Bt,Ot,Ct,Wt,Mt,Dt,Nt,Ht,xt,Lt,Rt,It,qt,Gt,zt,Ut,Vt,Kt,Qt,Jt,Xt,Yt,Zt,$t,er,lr,ar,sr,or,ir,tr,rr,fr,cr,mr,nr,ur,br,dr,jr,Er,_r,pr,yr,gr,hr,Sr,Pr,kr,vr,Fr,wr,Tr,Ar,Br,Or,Cr,Wr,Mr,Dr,Nr,Hr,xr,Lr,Rr,Ir,qr,Gr,zr,Ur,Vr,Kr,Qr,Jr,Xr,Yr,Zr,$r,ef,lf,af,sf,of,tf,rf,ff,cf,mf,nf,uf,bf,df,jf,Ef,_f,pf,yf,gf,hf,Sf,Pf,kf,vf,Ff,wf,Tf,Af,Bf,Of,Cf,Wf,Mf,Df,Nf,Hf,xf,Lf,Rf,If,qf,Gf,zf,Uf,Vf,Kf,Qf,Jf,Xf,Yf,Zf,$f,ec,lc,ac,sc,oc,ic,tc,rc,fc,cc,mc,nc,uc,bc,dc,jc,Ec,_c,pc,yc,gc,hc,Sc,Pc,kc,vc,Fc,wc,Tc,Ac,Bc,Oc,Cc,Wc,Mc,Dc,Nc,Hc,xc,Lc,Rc,Ic,qc,Gc,zc,Uc,Vc,Kc,Qc,Jc,Xc,Yc,Zc,$c,em,lm,am,sm,om,im,tm,rm,fm,cm,mm,nm,um,bm,dm,jm,Em,_m,pm,ym,gm,hm,Sm,Pm,km,vm,Fm,wm,Tm,Am,Bm,Om,Cm,Wm,Mm,Dm,Nm,Hm,xm,Lm,Rm,Im,qm,Gm,zm,Um,Vm,Km,Qm,Jm,Xm,Ym,Zm,$m,en,ln,an,sn,on,tn,rn,fn,cn,mn,nn,un,bn,dn,jn,En,_n,pn,yn,gn,hn,Sn,Pn,kn,vn,Fn,wn,Tn,An,Bn,On,Cn,Wn,Mn,Dn,Nn,Hn,xn,Ln,Rn,In,qn,Gn,zn,Un,Vn,Kn,Qn,Jn,Xn,Yn,Zn,$n,eu,lu,au,su,ou,iu,tu,ru,fu,cu,mu,nu,uu,bu,du,ju,Eu,_u,pu,yu,gu,hu,Su,Pu,ku,vu,Fu,wu,Tu,Au,Bu,Ou,Cu,Wu,Mu,Du,Nu,Hu,xu,Lu,Ru,Iu,qu,Gu,zu,Uu,Vu,Ku,Qu,Ju,Xu,Yu,Zu,$u,eb,lb,ab,sb,ob,ib,tb,rb,fb,cb,mb,nb,ub,bb,db,jb,Eb,_b,pb,yb,gb,hb,Sb,Pb,kb,vb,Fb,wb,Tb,Ab,Bb,Ob,Cb,Wb,Mb,Db,Nb,Hb,xb,Lb,Rb,Ib,qb,Gb,zb,Ub,Vb,Kb,Qb,Jb,Xb,Yb,Zb,$b,ed,ld,ad,sd,od,id,td,rd,fd,cd,md,nd,ud,bd,dd,jd,Ed,_d,pd,yd,gd,hd,Sd,Pd,kd,vd,Fd,wd,Td,Ad,Bd,Od,Cd,Wd,Md,Dd,Nd,Hd,xd,Ld,Rd,Id,qd,Gd,zd,Ud,Vd,Kd,Qd,Jd,Xd,Yd,Zd,$d,ej,lj,aj,sj,oj,ij,tj,rj,fj,cj,mj,nj,uj,bj,dj,jj,Ej,_j,pj,yj,gj,hj,Sj,Pj,kj){function vj(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Fj=vj(a),wj=vj(s),Tj=vj(o),Aj=vj(i),Bj=vj(t),Oj=vj(r),Cj=vj(f),Wj=vj(c),Mj=vj(m),Dj=vj(n),Nj=vj(u),Hj=vj(b),xj=vj(d),Lj=vj(j),Rj=vj(E),Ij=vj(_),qj=vj(p),Gj=vj(y),zj=vj(g),Uj=vj(h),Vj=vj(S),Kj=vj(P),Qj=vj(k),Jj=vj(v),Xj=vj(F),Yj=vj(w),Zj=vj(T),$j=vj(A),eE=vj(B),lE=vj(O),aE=vj(C),sE=vj(W),oE=vj(M),iE=vj(D),tE=vj(N),rE=vj(H),fE=vj(x),cE=vj(L),mE=vj(R),nE=vj(I),uE=vj(q),bE=vj(G),dE=vj(z),jE=vj(U),EE=vj(V),_E=vj(K),pE=vj(Q),yE=vj(J),gE=vj(X),hE=vj(Y),SE=vj(Z),PE=vj($),kE=vj(ee),vE=vj(le),FE=vj(ae),wE=vj(se),TE=vj(oe),AE=vj(ie),BE=vj(te),OE=vj(re),CE=vj(fe),WE=vj(ce),ME=vj(me),DE=vj(ne),NE=vj(ue),HE=vj(be),xE=vj(de),LE=vj(je),RE=vj(Ee),IE=vj(_e),qE=vj(pe),GE=vj(ye),zE=vj(ge),UE=vj(he),VE=vj(Se),KE=vj(Pe),QE=vj(ke),JE=vj(ve),XE=vj(Fe),YE=vj(we),ZE=vj(Te),$E=vj(Ae),e_=vj(Be),l_=vj(Oe),a_=vj(Ce),s_=vj(We),o_=vj(Me),i_=vj(De),t_=vj(Ne),r_=vj(He),f_=vj(xe),c_=vj(Le),m_=vj(Re),n_=vj(Ie),u_=vj(qe),b_=vj(Ge),d_=vj(ze),j_=vj(Ue),E_=vj(Ve),__=vj(Ke),p_=vj(Qe),y_=vj(Je),g_=vj(Xe),h_=vj(Ye),S_=vj(Ze),P_=vj($e),k_=vj(el),v_=vj(ll),F_=vj(al),w_=vj(sl),T_=vj(ol),A_=vj(il),B_=vj(tl),O_=vj(rl),C_=vj(fl),W_=vj(cl),M_=vj(ml),D_=vj(nl),N_=vj(ul),H_=vj(bl),x_=vj(dl),L_=vj(jl),R_=vj(El),I_=vj(_l),q_=vj(pl),G_=vj(yl),z_=vj(gl),U_=vj(hl),V_=vj(Sl),K_=vj(Pl),Q_=vj(kl),J_=vj(vl),X_=vj(Fl),Y_=vj(wl),Z_=vj(Tl),$_=vj(Al),ep=vj(Bl),lp=vj(Ol),ap=vj(Cl),sp=vj(Wl),op=vj(Ml),ip=vj(Dl),tp=vj(Nl),rp=vj(Hl),fp=vj(xl),cp=vj(Ll),mp=vj(Rl),np=vj(Il),up=vj(ql),bp=vj(Gl),dp=vj(zl),jp=vj(Ul),Ep=vj(Vl),_p=vj(Kl),pp=vj(Ql),yp=vj(Jl),gp=vj(Xl),hp=vj(Yl),Sp=vj(Zl),Pp=vj($l),kp=vj(ea),vp=vj(la),Fp=vj(aa),wp=vj(sa),Tp=vj(oa),Ap=vj(ia),Bp=vj(ta),Op=vj(ra),Cp=vj(fa),Wp=vj(ca),Mp=vj(ma),Dp=vj(na),Np=vj(ua),Hp=vj(ba),xp=vj(da),Lp=vj(ja),Rp=vj(Ea),Ip=vj(_a),qp=vj(pa),Gp=vj(ya),zp=vj(ga),Up=vj(ha),Vp=vj(Sa),Kp=vj(Pa),Qp=vj(ka),Jp=vj(va),Xp=vj(Fa),Yp=vj(wa),Zp=vj(Ta),$p=vj(Aa),ey=vj(Ba),ly=vj(Oa),ay=vj(Ca),sy=vj(Wa),oy=vj(Ma),iy=vj(Da),ty=vj(Na),ry=vj(Ha),fy=vj(xa),cy=vj(La),my=vj(Ra),ny=vj(Ia),uy=vj(qa),by=vj(Ga),dy=vj(za),jy=vj(Ua),Ey=vj(Va),_y=vj(Ka),py=vj(Qa),yy=vj(Ja),gy=vj(Xa),hy=vj(Ya),Sy=vj(Za),Py=vj($a),ky=vj(es),vy=vj(ls),Fy=vj(as),wy=vj(ss),Ty=vj(os),Ay=vj(is),By=vj(ts),Oy=vj(rs),Cy=vj(fs),Wy=vj(cs),My=vj(ms),Dy=vj(ns),Ny=vj(us),Hy=vj(bs),xy=vj(ds),Ly=vj(js),Ry=vj(Es),Iy=vj(_s),qy=vj(ps),Gy=vj(ys),zy=vj(gs),Uy=vj(hs),Vy=vj(Ss),Ky=vj(Ps),Qy=vj(ks),Jy=vj(vs),Xy=vj(Fs),Yy=vj(ws),Zy=vj(Ts),$y=vj(As),eg=vj(Bs),lg=vj(Os),ag=vj(Cs),sg=vj(Ws),og=vj(Ms),ig=vj(Ds),tg=vj(Ns),rg=vj(Hs),fg=vj(xs),cg=vj(Ls),mg=vj(Rs),ng=vj(Is),ug=vj(qs),bg=vj(Gs),dg=vj(zs),jg=vj(Us),Eg=vj(Vs),_g=vj(Ks),pg=vj(Qs),yg=vj(Js),gg=vj(Xs),hg=vj(Ys),Sg=vj(Zs),Pg=vj($s),kg=vj(eo),vg=vj(lo),Fg=vj(ao),wg=vj(so),Tg=vj(oo),Ag=vj(io),Bg=vj(to),Og=vj(ro),Cg=vj(fo),Wg=vj(co),Mg=vj(mo),Dg=vj(no),Ng=vj(uo),Hg=vj(bo),xg=vj(jo),Lg=vj(Eo),Rg=vj(_o),Ig=vj(po),qg=vj(yo),Gg=vj(go),zg=vj(ho),Ug=vj(So),Vg=vj(Po),Kg=vj(ko),Qg=vj(vo),Jg=vj(Fo),Xg=vj(wo),Yg=vj(To),Zg=vj(Ao),$g=vj(Bo),eh=vj(Oo),lh=vj(Co),ah=vj(Wo),sh=vj(Mo),oh=vj(Do),ih=vj(No),th=vj(Ho),rh=vj(xo),fh=vj(Lo),ch=vj(Ro),mh=vj(Io),nh=vj(qo),uh=vj(Go),bh=vj(zo),dh=vj(Uo),jh=vj(Vo),Eh=vj(Ko),_h=vj(Qo),ph=vj(Jo),yh=vj(Xo),gh=vj(Yo),hh=vj(Zo),Sh=vj($o),Ph=vj(ei),kh=vj(li),vh=vj(ai),Fh=vj(si),wh=vj(oi),Th=vj(ii),Ah=vj(ti),Bh=vj(ri),Oh=vj(fi),Ch=vj(ci),Wh=vj(mi),Mh=vj(ni),Dh=vj(ui),Nh=vj(bi),Hh=vj(di),xh=vj(ji),Lh=vj(Ei),Rh=vj(_i),Ih=vj(pi),qh=vj(yi),Gh=vj(gi),zh=vj(hi),Uh=vj(Si),Vh=vj(Pi),Kh=vj(ki),Qh=vj(vi),Jh=vj(Fi),Xh=vj(wi),Yh=vj(Ti),Zh=vj(Ai),$h=vj(Bi),eS=vj(Oi),lS=vj(Ci),aS=vj(Wi),sS=vj(Mi),oS=vj(Di),iS=vj(Ni),tS=vj(Hi),rS=vj(xi),fS=vj(Li),cS=vj(Ri),mS=vj(Ii),nS=vj(qi),uS=vj(Gi),bS=vj(zi),dS=vj(Ui),jS=vj(Vi),ES=vj(Ki),_S=vj(Qi),pS=vj(Ji),yS=vj(Xi),gS=vj(Yi),hS=vj(Zi),SS=vj($i),PS=vj(et),kS=vj(lt),vS=vj(at),FS=vj(st),wS=vj(ot),TS=vj(it),AS=vj(tt),BS=vj(rt),OS=vj(ft),CS=vj(ct),WS=vj(mt),MS=vj(nt),DS=vj(ut),NS=vj(bt),HS=vj(dt),xS=vj(jt),LS=vj(Et),RS=vj(_t),IS=vj(pt),qS=vj(yt),GS=vj(gt),zS=vj(ht),US=vj(St),VS=vj(Pt),KS=vj(kt),QS=vj(vt),JS=vj(Ft),XS=vj(wt),YS=vj(Tt),ZS=vj(At),$S=vj(Bt),eP=vj(Ot),lP=vj(Ct),aP=vj(Wt),sP=vj(Mt),oP=vj(Dt),iP=vj(Nt),tP=vj(Ht),rP=vj(xt),fP=vj(Lt),cP=vj(Rt),mP=vj(It),nP=vj(qt),uP=vj(Gt),bP=vj(zt),dP=vj(Ut),jP=vj(Vt),EP=vj(Kt),_P=vj(Qt),pP=vj(Jt),yP=vj(Xt),gP=vj(Yt),hP=vj(Zt),SP=vj($t),PP=vj(er),kP=vj(lr),vP=vj(ar),FP=vj(sr),wP=vj(or),TP=vj(ir),AP=vj(tr),BP=vj(rr),OP=vj(fr),CP=vj(cr),WP=vj(mr),MP=vj(nr),DP=vj(ur),NP=vj(br),HP=vj(dr),xP=vj(jr),LP=vj(Er),RP=vj(_r),IP=vj(pr),qP=vj(yr),GP=vj(gr),zP=vj(hr),UP=vj(Sr),VP=vj(Pr),KP=vj(kr),QP=vj(vr),JP=vj(Fr),XP=vj(wr),YP=vj(Tr),ZP=vj(Ar),$P=vj(Br),ek=vj(Or),lk=vj(Cr),ak=vj(Wr),sk=vj(Mr),ok=vj(Dr),ik=vj(Nr),tk=vj(Hr),rk=vj(xr),fk=vj(Lr),ck=vj(Rr),mk=vj(Ir),nk=vj(qr),uk=vj(Gr),bk=vj(zr),dk=vj(Ur),jk=vj(Vr),Ek=vj(Kr),_k=vj(Qr),pk=vj(Jr),yk=vj(Xr),gk=vj(Yr),hk=vj(Zr),Sk=vj($r),Pk=vj(ef),kk=vj(lf),vk=vj(af),Fk=vj(sf),wk=vj(of),Tk=vj(tf),Ak=vj(rf),Bk=vj(ff),Ok=vj(cf),Ck=vj(mf),Wk=vj(nf),Mk=vj(uf),Dk=vj(bf),Nk=vj(df),Hk=vj(jf),xk=vj(Ef),Lk=vj(_f),Rk=vj(pf),Ik=vj(yf),qk=vj(gf),Gk=vj(hf),zk=vj(Sf),Uk=vj(Pf),Vk=vj(kf),Kk=vj(vf),Qk=vj(Ff),Jk=vj(wf),Xk=vj(Tf),Yk=vj(Af),Zk=vj(Bf),$k=vj(Of),ev=vj(Cf),lv=vj(Wf),av=vj(Mf),sv=vj(Df),ov=vj(Nf),iv=vj(Hf),tv=vj(xf),rv=vj(Lf),fv=vj(Rf),cv=vj(If),mv=vj(qf),nv=vj(Gf),uv=vj(zf),bv=vj(Uf),dv=vj(Vf),jv=vj(Kf),Ev=vj(Qf),_v=vj(Jf),pv=vj(Xf),yv=vj(Yf),gv=vj(Zf),hv=vj($f),Sv=vj(ec),Pv=vj(lc),kv=vj(ac),vv=vj(sc),Fv=vj(oc),wv=vj(ic),Tv=vj(tc),Av=vj(rc),Bv=vj(fc),Ov=vj(cc),Cv=vj(mc),Wv=vj(nc),Mv=vj(uc),Dv=vj(bc),Nv=vj(dc),Hv=vj(jc),xv=vj(Ec),Lv=vj(_c),Rv=vj(pc),Iv=vj(yc),qv=vj(gc),Gv=vj(hc),zv=vj(Sc),Uv=vj(Pc),Vv=vj(kc),Kv=vj(vc),Qv=vj(Fc),Jv=vj(wc),Xv=vj(Tc),Yv=vj(Ac),Zv=vj(Bc),$v=vj(Oc),eF=vj(Cc),lF=vj(Wc),aF=vj(Mc),sF=vj(Dc),oF=vj(Nc),iF=vj(Hc),tF=vj(xc),rF=vj(Lc),fF=vj(Rc),cF=vj(Ic),mF=vj(qc),nF=vj(Gc),uF=vj(zc),bF=vj(Uc),dF=vj(Vc),jF=vj(Kc),EF=vj(Qc),_F=vj(Jc),pF=vj(Xc),yF=vj(Yc),gF=vj(Zc),hF=vj($c),SF=vj(em),PF=vj(lm),kF=vj(am),vF=vj(sm),FF=vj(om),wF=vj(im),TF=vj(tm),AF=vj(rm),BF=vj(fm),OF=vj(cm),CF=vj(mm),WF=vj(nm),MF=vj(um),DF=vj(bm),NF=vj(dm),HF=vj(jm),xF=vj(Em),LF=vj(_m),RF=vj(pm),IF=vj(ym),qF=vj(gm),GF=vj(hm),zF=vj(Sm),UF=vj(Pm),VF=vj(km),KF=vj(vm),QF=vj(Fm),JF=vj(wm),XF=vj(Tm),YF=vj(Am),ZF=vj(Bm),$F=vj(Om),ew=vj(Cm),lw=vj(Wm),aw=vj(Mm),sw=vj(Dm),ow=vj(Nm),iw=vj(Hm),tw=vj(xm),rw=vj(Lm),fw=vj(Rm),cw=vj(Im),mw=vj(qm),nw=vj(Gm),uw=vj(zm),bw=vj(Um),dw=vj(Vm),jw=vj(Km),Ew=vj(Qm),_w=vj(Jm),pw=vj(Xm),yw=vj(Ym),gw=vj(Zm),hw=vj($m),Sw=vj(en),Pw=vj(ln),kw=vj(an),vw=vj(sn),Fw=vj(on),ww=vj(tn),Tw=vj(rn),Aw=vj(fn),Bw=vj(cn),Ow=vj(mn),Cw=vj(nn),Ww=vj(un),Mw=vj(bn),Dw=vj(dn),Nw=vj(jn),Hw=vj(En),xw=vj(_n),Lw=vj(pn),Rw=vj(yn),Iw=vj(gn),qw=vj(hn),Gw=vj(Sn),zw=vj(Pn),Uw=vj(kn),Vw=vj(vn),Kw=vj(Fn),Qw=vj(wn),Jw=vj(Tn),Xw=vj(An),Yw=vj(Bn),Zw=vj(On),$w=vj(Cn),eT=vj(Wn),lT=vj(Mn),aT=vj(Dn),sT=vj(Nn),oT=vj(Hn),iT=vj(xn),tT=vj(Ln),rT=vj(Rn),fT=vj(In),cT=vj(qn),mT=vj(Gn),nT=vj(zn),uT=vj(Un),bT=vj(Vn),dT=vj(Kn),jT=vj(Qn),ET=vj(Jn),_T=vj(Xn),pT=vj(Yn),yT=vj(Zn),gT=vj($n),hT=vj(eu),ST=vj(lu),PT=vj(au),kT=vj(su),vT=vj(ou),FT=vj(iu),wT=vj(tu),TT=vj(ru),AT=vj(fu),BT=vj(cu),OT=vj(mu),CT=vj(nu),WT=vj(uu),MT=vj(bu),DT=vj(du),NT=vj(ju),HT=vj(Eu),xT=vj(_u),LT=vj(pu),RT=vj(yu),IT=vj(gu),qT=vj(hu),GT=vj(Su),zT=vj(Pu),UT=vj(ku),VT=vj(vu),KT=vj(Fu),QT=vj(wu),JT=vj(Tu),XT=vj(Au),YT=vj(Bu),ZT=vj(Ou),$T=vj(Cu),eA=vj(Wu),lA=vj(Mu),aA=vj(Du),sA=vj(Nu),oA=vj(Hu),iA=vj(xu),tA=vj(Lu),rA=vj(Ru),fA=vj(Iu),cA=vj(qu),mA=vj(Gu),nA=vj(zu),uA=vj(Uu),bA=vj(Vu),dA=vj(Ku),jA=vj(Qu),EA=vj(Ju),_A=vj(Xu),pA=vj(Yu),yA=vj(Zu),gA=vj($u),hA=vj(eb),SA=vj(lb),PA=vj(ab),kA=vj(sb),vA=vj(ob),FA=vj(ib),wA=vj(tb),TA=vj(rb),AA=vj(fb),BA=vj(cb),OA=vj(mb),CA=vj(nb),WA=vj(ub),MA=vj(bb),DA=vj(db),NA=vj(jb),HA=vj(Eb),xA=vj(_b),LA=vj(pb),RA=vj(yb),IA=vj(gb),qA=vj(hb),GA=vj(Sb),zA=vj(Pb),UA=vj(kb),VA=vj(vb),KA=vj(Fb),QA=vj(wb),JA=vj(Tb),XA=vj(Ab),YA=vj(Bb),ZA=vj(Ob),$A=vj(Cb),eB=vj(Wb),lB=vj(Mb),aB=vj(Db),sB=vj(Nb),oB=vj(Hb),iB=vj(xb),tB=vj(Lb),rB=vj(Rb),fB=vj(Ib),cB=vj(qb),mB=vj(Gb),nB=vj(zb),uB=vj(Ub),bB=vj(Vb),dB=vj(Kb),jB=vj(Qb),EB=vj(Jb),_B=vj(Xb),pB=vj(Yb),yB=vj(Zb),gB=vj($b),hB=vj(ed),SB=vj(ld),PB=vj(ad),kB=vj(sd),vB=vj(od),FB=vj(id),wB=vj(td),TB=vj(rd),AB=vj(fd),BB=vj(cd),OB=vj(md),CB=vj(nd),WB=vj(ud),MB=vj(bd),DB=vj(dd),NB=vj(jd),HB=vj(Ed),xB=vj(_d),LB=vj(pd),RB=vj(yd),IB=vj(gd),qB=vj(hd),GB=vj(Sd),zB=vj(Pd),UB=vj(kd),VB=vj(vd),KB=vj(Fd),QB=vj(wd),JB=vj(Td),XB=vj(Ad),YB=vj(Bd),ZB=vj(Od),$B=vj(Cd),eO=vj(Wd),lO=vj(Md),aO=vj(Dd),sO=vj(Nd),oO=vj(Hd),iO=vj(xd),tO=vj(Ld),rO=vj(Rd),fO=vj(Id),cO=vj(qd),mO=vj(Gd),nO=vj(zd),uO=vj(Ud),bO=vj(Vd),dO=vj(Kd),jO=vj(Qd),EO=vj(Jd),_O=vj(Xd),pO=vj(Yd),yO=vj(Zd),gO=vj($d),hO=vj(ej),SO=vj(lj),PO=vj(aj),kO=vj(sj),vO=vj(oj),FO=vj(ij),wO=vj(tj),TO=vj(rj),AO=vj(fj),BO=vj(cj),OO=vj(mj),CO=vj(nj),WO=vj(uj),MO=vj(bj),DO=vj(dj),NO=vj(jj),HO=vj(Ej),xO=vj(_j),LO=vj(pj),RO=vj(yj),IO=vj(gj),qO=vj(hj),GO=vj(Sj),zO=vj(Pj),UO=vj(kj),VO={smileysPeopleCategory:Fj.default,grinningFace:wj.default,grinningFaceWithSmilingEyes:Tj.default,faceWithTearsOfJoy:Aj.default,smilingFaceWithOpenMouth:Bj.default,smilingFaceWithOpenMouthSmilingEyes:Oj.default,smilingFaceWithOpenMouthColdSweat:Cj.default,smilingFaceWithOpenMouthClosedEyes:Wj.default,winkingFace:Mj.default,smilingFaceWithSmilingEyes:Dj.default,faceSavoringDeliciousFood:Nj.default,smilingFaceWithSunglasses:Hj.default,smilingFaceWithHeartEyes:xj.default,faceBlowingAKiss:Lj.default,kissingFace:Rj.default,kissingFaceWithSmilingEyes:Ij.default,kissingFaceWithClosedEyes:qj.default,slightlySmilingFace:Gj.default,neutralFace:zj.default,expressionlessFace:Uj.default,faceWithoutMouth:Vj.default,smirkingFace:Kj.default,perseveringFace:Qj.default,disappointedButRelievedFace:Jj.default,faceWithOpenMouth:Xj.default,hushedFace:Yj.default,sleepyFace:Zj.default,tiredFace:$j.default,sleepingFace:eE.default,relievedFace:lE.default,faceWithStuckOutTongue:aE.default,faceWithStuckOutTongueWinkingEye:sE.default,faceWithStuckOutTongueClosedEyes:oE.default,unamusedFace:iE.default,faceWithColdSweat:tE.default,pensiveFace:rE.default,confusedFace:fE.default,astonishedFace:cE.default,confoundedFace:mE.default,disappointedFace:nE.default,worriedFace:uE.default,faceWithSteamFromNose:bE.default,cryingFace:dE.default,loudlyCryingFace:jE.default,frowningFaceWithOpenMouth:EE.default,anguishedFace:_E.default,fearfulFace:pE.default,wearyFace:yE.default,grimacingFace:gE.default,faceWithOpenMouthColdSweat:hE.default,faceScreamingInFear:SE.default,flushedFace:PE.default,dizzyFace:kE.default,poutingFace:vE.default,angryFace:FE.default,smilingFaceWithHalo:wE.default,faceWithMedicalMask:TE.default,smilingFaceWithHorns:AE.default,angryFaceWithHorns:BE.default,ogre:OE.default,goblin:CE.default,skull:WE.default,ghost:ME.default,alien:DE.default,alienMonster:NE.default,pileOfPoo:HE.default,smilingCatFaceWithOpenMouth:xE.default,grinningCatFaceWithSmilingEyes:LE.default,catFaceWithTearsOfJoy:RE.default,smilingCatFaceWithHeartEyes:IE.default,catFaceWithWrySmile:qE.default,kissingCatFaceWithClosedEyes:GE.default,wearyCatFace:zE.default,cryingCatFace:UE.default,poutingCatFace:VE.default,seeNoEvilMonkey:KE.default,hearNoEvilMonkey:QE.default,speakNoEvilMonkey:JE.default,boy:XE.default,girl:YE.default,man:ZE.default,woman:$E.default,oldMan:e_.default,oldWoman:l_.default,baby:a_.default,babyAngel:s_.default,policeOfficer:o_.default,guard:i_.default,constructionWorker:t_.default,personWearingTurban:r_.default,blondHairedPerson:f_.default,santaClaus:c_.default,princess:m_.default,brideWithVeil:n_.default,manWithChineseCap:u_.default,personFrowning:b_.default,personPouting:d_.default,personGesturingNo:j_.default,personGesturingOk:E_.default,personTippingHand:__.default,personRaisingHand:p_.default,personBowing:y_.default,personGettingMassage:g_.default,personGettingHaircut:h_.default,personWalking:S_.default,personRunning:P_.default,womanDancing:k_.default,peopleWithBunnyEarsPartying:v_.default,bustInSilhouette:F_.default,bustsInSilhouette:w_.default,horseRacing:T_.default,snowboarder:A_.default,personSurfing:B_.default,personRowingBoat:O_.default,personSwimming:C_.default,personBiking:W_.default,personMountainBiking:M_.default,manAndWomanHoldingHands:D_.default,twoMenHoldingHands:N_.default,twoWomenHoldingHands:H_.default,kiss:x_.default,coupleWithHeart:L_.default,family:R_.default,flexedBiceps:I_.default,backhandIndexPointingLeft:q_.default,backhandIndexPointingRight:G_.default,indexPointingUp:z_.default,backhandIndexPointingUp:U_.default,backhandIndexPointingDown:V_.default,victoryHand:K_.default,raisedHand:Q_.default,okHand:J_.default,thumbsUp:X_.default,thumbsDown:Y_.default,raisedFist:Z_.default,oncomingFist:$_.default,wavingHand:ep.default,clappingHands:lp.default,openHands:ap.default,raisingHands:sp.default,foldedHands:op.default,nailPolish:ip.default,ear:tp.default,nose:rp.default,footprints:fp.default,eyes:cp.default,tongue:mp.default,mouth:np.default,kissMark:up.default,heartWithArrow:bp.default,redHeart:dp.default,beatingHeart:jp.default,brokenHeart:Ep.default,twoHearts:_p.default,sparklingHeart:pp.default,growingHeart:yp.default,blueHeart:gp.default,greenHeart:hp.default,yellowHeart:Sp.default,purpleHeart:Pp.default,heartWithRibbon:kp.default,revolvingHearts:vp.default,heartDecoration:Fp.default,loveLetter:wp.default,zzz:Tp.default,angerSymbol:Ap.default,bomb:Bp.default,collision:Op.default,sweatDroplets:Cp.default,dashingAway:Wp.default,dizzy:Mp.default,speechBalloon:Dp.default,thoughtBalloon:Np.default,glasses:Hp.default,necktie:xp.default,tShirt:Lp.default,jeans:Rp.default,dress:Ip.default,kimono:qp.default,bikini:Gp.default,womansClothes:zp.default,purse:Up.default,handbag:Vp.default,clutchBag:Kp.default,schoolBackpack:Qp.default,mansShoe:Jp.default,runningShoe:Xp.default,highHeeledShoe:Yp.default,womansBoot:Zp.default,womansSandal:$p.default,crown:ey.default,womansHat:ly.default,topHat:ay.default,graduationCap:sy.default,lipstick:oy.default,ring:iy.default,gemStone:ty.default},KO={animalsNatureCategory:ry.default,monkeyFace:fy.default,monkey:cy.default,dogFace:my.default,dog:ny.default,poodle:uy.default,wolfFace:by.default,catFace:dy.default,cat:jy.default,tigerFace:Ey.default,tiger:_y.default,leopard:py.default,horseFace:yy.default,horse:gy.default,cowFace:hy.default,ox:Sy.default,waterBuffalo:Py.default,cow:ky.default,pigFace:vy.default,pig:Fy.default,boar:wy.default,pigNose:Ty.default,ram:Ay.default,sheep:By.default,goat:Oy.default,camel:Cy.default,twoHumpCamel:Wy.default,elephant:My.default,mouseFace:Dy.default,mouse:Ny.default,rat:Hy.default,hamsterFace:xy.default,rabbitFace:Ly.default,rabbit:Ry.default,bearFace:Iy.default,koala:qy.default,pandaFace:Gy.default,pawPrints:zy.default,chicken:Uy.default,rooster:Vy.default,hatchingChick:Ky.default,babyChick:Qy.default,frontFacingBabyChick:Jy.default,bird:Xy.default,penguin:Yy.default,frogFace:Zy.default,crocodile:$y.default,turtle:eg.default,snake:lg.default,dragonFace:ag.default,dragon:sg.default,spoutingWhale:og.default,whale:ig.default,dolphin:tg.default,fish:rg.default,tropicalFish:fg.default,blowfish:cg.default,octopus:mg.default,spiralShell:ng.default,snail:ug.default,bug:bg.default,ant:dg.default,honeybee:jg.default,ladyBeetle:Eg.default,bouquet:_g.default,cherryBlossom:pg.default,whiteFlower:yg.default,rose:gg.default,hibiscus:hg.default,sunflower:Sg.default,blossom:Pg.default,tulip:kg.default,seedling:vg.default,evergreenTree:Fg.default,deciduousTree:wg.default,palmTree:Tg.default,cactus:Ag.default,sheafOfRice:Bg.default,herb:Og.default,fourLeafClover:Cg.default,mapleLeaf:Wg.default,fallenLeaf:Mg.default,leafFlutteringInWind:Dg.default},QO={foodDrinkCategory:Ng.default,grapes:Hg.default,melon:xg.default,watermelon:Lg.default,tangerine:Rg.default,lemon:Ig.default,banana:qg.default,pineapple:Gg.default,redApple:zg.default,greenApple:Ug.default,pear:Vg.default,peach:Kg.default,cherries:Qg.default,strawberry:Jg.default,tomato:Xg.default,eggplant:Yg.default,earOfCorn:Zg.default,mushroom:$g.default,chestnut:eh.default,bread:lh.default,meatOnBone:ah.default,poultryLeg:sh.default,hamburger:oh.default,frenchFries:ih.default,pizza:th.default,cooking:rh.default,potOfFood:fh.default,bentoBox:ch.default,riceCracker:mh.default,riceBall:nh.default,cookedRice:uh.default,curryRice:bh.default,steamingBowl:dh.default,spaghetti:jh.default,roastedSweetPotato:Eh.default,oden:_h.default,sushi:ph.default,friedShrimp:yh.default,fishCakeWithSwirl:gh.default,dango:hh.default,softIceCream:Sh.default,shavedIce:Ph.default,iceCream:kh.default,doughnut:vh.default,cookie:Fh.default,birthdayCake:wh.default,shortcake:Th.default,chocolateBar:Ah.default,candy:Bh.default,lollipop:Oh.default,custard:Ch.default,honeyPot:Wh.default,babyBottle:Mh.default,hotBeverage:Dh.default,teacupWithoutHandle:Nh.default,sake:Hh.default,wineGlass:xh.default,cocktailGlass:Lh.default,tropicalDrink:Rh.default,beerMug:Ih.default,clinkingBeerMugs:qh.default,forkAndKnife:Gh.default,kitchenKnife:zh.default},JO={travelPlacesCategory:Uh.default,globeShowingEuropeAfrica:Vh.default,globeShowingAmericas:Kh.default,globeShowingAsiaAustralia:Qh.default,globeWithMeridians:Jh.default,mapOfJapan:Xh.default,volcano:Yh.default,mountFuji:Zh.default,house:$h.default,houseWithGarden:eS.default,officeBuilding:lS.default,japanesePostOffice:aS.default,postOffice:sS.default,hospital:oS.default,bank:iS.default,hotel:tS.default,loveHotel:rS.default,convenienceStore:fS.default,school:cS.default,departmentStore:mS.default,factory:nS.default,japaneseCastle:uS.default,castle:bS.default,wedding:dS.default,tokyoTower:jS.default,statueOfLiberty:ES.default,church:_S.default,fountain:pS.default,tent:yS.default,foggy:gS.default,nightWithStars:hS.default,sunriseOverMountains:SS.default,sunrise:PS.default,cityscapeAtDusk:kS.default,sunset:vS.default,bridgeAtNight:FS.default,hotSprings:wS.default,milkyWay:TS.default,carouselHorse:AS.default,ferrisWheel:BS.default,rollerCoaster:OS.default,barberPole:CS.default,circusTent:WS.default,performingArts:MS.default,artistPalette:DS.default,slotMachine:NS.default,locomotive:HS.default,railwayCar:xS.default,highSpeedTrain:LS.default,highSpeedTrainWithBulletNose:RS.default,train:IS.default,metro:qS.default,lightRail:GS.default,station:zS.default,tram:US.default,monorail:VS.default,mountainRailway:KS.default,tramCar:QS.default,bus:JS.default,oncomingBus:XS.default,trolleybus:YS.default,minibus:ZS.default,ambulance:$S.default,fireEngine:eP.default,policeCar:lP.default,oncomingPoliceCar:aP.default,taxi:sP.default,oncomingTaxi:oP.default,automobile:iP.default,oncomingAutomobile:tP.default,sportUtilityVehicle:rP.default,deliveryTruck:fP.default,articulatedLorry:cP.default,tractor:mP.default,bicycle:nP.default,busStop:uP.default,fuelPump:bP.default,policeCarLight:dP.default,horizontalTrafficLight:jP.default,verticalTrafficLight:EP.default,construction:_P.default,anchor:pP.default,sailboat:yP.default,speedboat:gP.default,ship:hP.default,airplane:SP.default,seat:PP.default,helicopter:kP.default,suspensionRailway:vP.default,mountainCableway:FP.default,aerialTramway:wP.default,rocket:TP.default,door:AP.default,toilet:BP.default,shower:OP.default,personTakingBath:CP.default,bathtub:WP.default,hourglass:MP.default,hourglassWithFlowingSand:DP.default,watch:NP.default,alarmClock:HP.default,twelveOClock:xP.default,twelveThirty:LP.default,oneOClock:RP.default,oneThirty:IP.default,twoOClock:qP.default,twoThirty:GP.default,threeOClock:zP.default,threeThirty:UP.default,fourOClock:VP.default,fourThirty:KP.default,fiveOClock:QP.default,fiveThirty:JP.default,sixOClock:XP.default,sixThirty:YP.default,sevenOClock:ZP.default,sevenThirty:$P.default,eightOClock:ek.default,eightThirty:lk.default,nineOClock:ak.default,nineThirty:sk.default,tenOClock:ok.default,tenThirty:ik.default,elevenOClock:tk.default,elevenThirty:rk.default,newMoon:fk.default,waxingCrescentMoon:ck.default,firstQuarterMoon:mk.default,waxingGibbousMoon:nk.default,fullMoon:uk.default,waningGibbousMoon:bk.default,lastQuarterMoon:dk.default,waningCrescentMoon:jk.default,crescentMoon:Ek.default,newMoonFace:_k.default,firstQuarterMoonWithFace:pk.default,lastQuarterMoonWithFace:yk.default,sun:gk.default,fullMoonWithFace:hk.default,sunWithFace:Sk.default,whiteMediumStar:Pk.default,glowingStar:kk.default,shootingStar:vk.default,cloud:Fk.default,sunBehindCloud:wk.default,cyclone:Tk.default,rainbow:Ak.default,closedUmbrella:Bk.default,umbrellaWithRainDrops:Ok.default,highVoltage:Ck.default,snowflake:Wk.default,snowmanWithoutSnow:Mk.default,fire:Dk.default,droplet:Nk.default,waterWave:Hk.default},XO={activitiesCategory:xk.default,jackOLantern:Lk.default,christmasTree:Rk.default,fireworks:Ik.default,sparkler:qk.default,sparkles:Gk.default,balloon:zk.default,partyPopper:Uk.default,confettiBall:Vk.default,tanabataTree:Kk.default,pineDecoration:Qk.default,japaneseDolls:Jk.default,carpStreamer:Xk.default,windChime:Yk.default,moonViewingCeremony:Zk.default,ribbon:$k.default,wrappedGift:ev.default,ticket:lv.default,trophy:av.default,soccerBall:sv.default,baseball:ov.default,basketball:iv.default,americanFootball:tv.default,rugbyFootball:rv.default,tennis:fv.default,pool8Ball:cv.default,bowling:mv.default,directHit:nv.default,flagInHole:uv.default,fishingPole:bv.default,runningShirt:dv.default,skis:jv.default,videoGame:Ev.default,gameDie:_v.default,spadeSuit:pv.default,heartSuit:yv.default,diamondSuit:gv.default,clubSuit:hv.default,joker:Sv.default,mahjongRedDragon:Pv.default,flowerPlayingCards:kv.default},YO={objectsCategory:vv.default,mutedSpeaker:Fv.default,speakerLowVolume:wv.default,speakerMediumVolume:Tv.default,speakerHighVolume:Av.default,loudspeaker:Bv.default,megaphone:Ov.default,postalHorn:Cv.default,bell:Wv.default,bellWithSlash:Mv.default,musicalScore:Dv.default,musicalNote:Nv.default,musicalNotes:Hv.default,microphone:xv.default,headphone:Lv.default,radio:Rv.default,saxophone:Iv.default,guitar:qv.default,musicalKeyboard:Gv.default,trumpet:zv.default,violin:Uv.default,mobilePhone:Vv.default,mobilePhoneWithArrow:Kv.default,telephone:Qv.default,telephoneReceiver:Jv.default,pager:Xv.default,faxMachine:Yv.default,battery:Zv.default,electricPlug:$v.default,laptopComputer:eF.default,computerDisk:lF.default,floppyDisk:aF.default,opticalDisk:sF.default,dvd:oF.default,movieCamera:iF.default,clapperBoard:tF.default,television:rF.default,camera:fF.default,videoCamera:cF.default,videocassette:mF.default,leftPointingMagnifyingGlass:nF.default,rightPointingMagnifyingGlass:uF.default,microscope:bF.default,telescope:dF.default,satelliteAntenna:jF.default,lightBulb:EF.default,flashlight:_F.default,redPaperLantern:pF.default,notebookWithDecorativeCover:yF.default,closedBook:gF.default,openBook:hF.default,greenBook:SF.default,blueBook:PF.default,orangeBook:kF.default,books:vF.default,notebook:FF.default,ledger:wF.default,pageWithCurl:TF.default,scroll:AF.default,pageFacingUp:BF.default,newspaper:OF.default,bookmarkTabs:CF.default,bookmark:WF.default,moneyBag:MF.default,yenBanknote:DF.default,dollarBanknote:NF.default,euroBanknote:HF.default,poundBanknote:xF.default,moneyWithWings:LF.default,creditCard:RF.default,chartIncreasingWithYen:IF.default,currencyExchange:qF.default,heavyDollarSign:GF.default,envelope:zF.default,eMail:UF.default,incomingEnvelope:VF.default,envelopeWithArrow:KF.default,outboxTray:QF.default,inboxTray:JF.default,mailPackage:XF.default,closedMailboxWithRaisedFlag:YF.default,closedMailboxWithLoweredFlag:ZF.default,openMailboxWithRaisedFlag:$F.default,openMailboxWithLoweredFlag:ew.default,postbox:lw.default,pencil:aw.default,blackNib:sw.default,memo:ow.default,briefcase:iw.default,fileFolder:tw.default,openFileFolder:rw.default,calendar:fw.default,tearOffCalendar:cw.default,cardIndex:mw.default,chartIncreasing:nw.default,chartDecreasing:uw.default,barChart:bw.default,clipboard:dw.default,pushpin:jw.default,roundPushpin:Ew.default,paperclip:_w.default,straightRuler:pw.default,triangularRuler:yw.default,scissors:gw.default,locked:hw.default,unlocked:Sw.default,lockedWithPen:Pw.default,lockedWithKey:kw.default,key:vw.default,hammer:Fw.default,pistol:ww.default,wrench:Tw.default,nutAndBolt:Aw.default,link:Bw.default,syringe:Ow.default,pill:Cw.default,cigarette:Ww.default,moai:Mw.default,crystalBall:Dw.default},ZO={symbolsCategory:Nw.default,atmSign:Hw.default,litterInBinSign:xw.default,potableWater:Lw.default,wheelchairSymbol:Rw.default,mensRoom:Iw.default,womensRoom:qw.default,restroom:Gw.default,babySymbol:zw.default,waterCloset:Uw.default,passportControl:Vw.default,customs:Kw.default,baggageClaim:Qw.default,leftLuggage:Jw.default,warning:Xw.default,childrenCrossing:Yw.default,noEntry:Zw.default,prohibited:$w.default,noBicycles:eT.default,noSmoking:lT.default,noLittering:aT.default,nonPotableWater:sT.default,noPedestrians:oT.default,noMobilePhones:iT.default,noOneUnderEighteen:tT.default,upArrow:rT.default,upRightArrow:fT.default,rightArrow:cT.default,downRightArrow:mT.default,downArrow:nT.default,downLeftArrow:uT.default,leftArrow:bT.default,upLeftArrow:dT.default,upDownArrow:jT.default,leftRightArrow:ET.default,rightArrowCurvingLeft:_T.default,leftArrowCurvingRight:pT.default,rightArrowCurvingUp:yT.default,rightArrowCurvingDown:gT.default,clockwiseVerticalArrows:hT.default,anticlockwiseArrowsButton:ST.default,backArrow:PT.default,endArrow:kT.default,onArrow:vT.default,soonArrow:FT.default,topArrow:wT.default,dottedSixPointedStar:TT.default,aries:AT.default,taurus:BT.default,gemini:OT.default,cancer:CT.default,leo:WT.default,virgo:MT.default,libra:DT.default,scorpio:NT.default,sagittarius:HT.default,capricorn:xT.default,aquarius:LT.default,pisces:RT.default,ophiuchus:IT.default,shuffleTracksButton:qT.default,repeatButton:GT.default,repeatSingleButton:zT.default,playButton:UT.default,fastForwardButton:VT.default,reverseButton:KT.default,fastReverseButton:QT.default,fastUpButton:JT.default,downButton:XT.default,fastDownButton:YT.default,cinema:ZT.default,dimButton:$T.default,brightButton:eA.default,antennaBars:lA.default,vibrationMode:aA.default,mobilePhoneOff:sA.default,recyclingSymbol:oA.default,nameBadge:iA.default,japaneseSymbolForBeginner:tA.default,tridentEmblem:rA.default,heavyLargeCircle:fA.default,whiteHeavyCheckMark:cA.default,ballotBoxWithCheck:mA.default,heavyCheckMark:nA.default,heavyMultiplicationX:uA.default,crossMark:bA.default,crossMarkButton:dA.default,heavyPlusSign:jA.default,heavyMinusSign:EA.default,heavyDivisionSign:_A.default,curlyLoop:pA.default,doubleCurlyLoop:yA.default,partAlternationMark:gA.default,eightSpokedAsterisk:hA.default,eightPointedStar:SA.default,sparkle:PA.default,doubleExclamationMark:kA.default,exclamationQuestionMark:vA.default,questionMark:FA.default,whiteQuestionMark:wA.default,whiteExclamationMark:TA.default,exclamationMark:AA.default,wavyDash:BA.default,copyright:OA.default,registered:CA.default,tradeMark:WA.default,keycap:MA.default,keycap0:DA.default,keycap1:NA.default,keycap2:HA.default,keycap3:xA.default,keycap4:LA.default,keycap5:RA.default,keycap6:IA.default,keycap7:qA.default,keycap8:GA.default,keycap9:zA.default,keycap10:UA.default,hundredPoints:VA.default,inputLatinUppercase:KA.default,inputLatinLowercase:QA.default,inputNumbers:JA.default,inputSymbols:XA.default,inputLatinLetters:YA.default,aButtonBloodType:ZA.default,abButtonBloodType:$A.default,bButtonBloodType:eB.default,clButton:lB.default,coolButton:aB.default,freeButton:sB.default,information:oB.default,idButton:iB.default,circledM:tB.default,newButton:rB.default,ngButton:fB.default,oButtonBloodType:cB.default,okButton:mB.default,pButton:nB.default,sosButton:uB.default,upButton:bB.default,vsButton:dB.default,japaneseHereButton:jB.default,japaneseServiceChargeButton:EB.default,japaneseMonthlyAmountButton:_B.default,japaneseNotFreeOfChargeButton:pB.default,japaneseReservedButton:yB.default,japaneseBargainButton:gB.default,japaneseDiscountButton:hB.default,japaneseFreeOfChargeButton:SB.default,japaneseProhibitedButton:PB.default,japaneseAcceptableButton:kB.default,japaneseApplicationButton:vB.default,japanesePassingGradeButton:FB.default,japaneseVacancyButton:wB.default,japaneseCongratulationsButton:TB.default,japaneseSecretButton:AB.default,japaneseOpenForBusinessButton:BB.default,japaneseNoVacancyButton:OB.default,blackSmallSquare:CB.default,whiteSmallSquare:WB.default,whiteMediumSquare:MB.default,blackMediumSquare:DB.default,whiteMediumSmallSquare:NB.default,blackMediumSmallSquare:HB.default,blackLargeSquare:xB.default,whiteLargeSquare:LB.default,largeOrangeDiamond:RB.default,largeBlueDiamond:IB.default,smallOrangeDiamond:qB.default,smallBlueDiamond:GB.default,redTrianglePointedUp:zB.default,redTrianglePointedDown:UB.default,diamondWithADot:VB.default,radioButton:KB.default,blackSquareButton:QB.default,whiteSquareButton:JB.default,whiteCircle:XB.default,blackCircle:YB.default,redCircle:ZB.default,blueCircle:$B.default},$O={flagsCategory:eO.default,chequeredFlag:lO.default,triangularFlag:aO.default,crossedFlags:sO.default,unitedArabEmirates:oO.default,austria:iO.default,australia:tO.default,belgium:rO.default,brazil:fO.default,canada:cO.default,switzerland:mO.default,chile:nO.default,china:uO.default,colombia:bO.default,germany:dO.default,denmark:jO.default,spain:EO.default,finland:_O.default,france:pO.default,unitedKingdom:yO.default,hongKongSarChina:gO.default,indonesia:hO.default,ireland:SO.default,israel:PO.default,india:kO.default,italy:vO.default,japan:FO.default,southKorea:wO.default,macauSarChina:TO.default,mexico:AO.default,malaysia:BO.default,netherlands:OO.default,norway:CO.default,newZealand:WO.default,philippines:MO.default,poland:DO.default,puertoRico:NO.default,portugal:HO.default,russia:xO.default,saudiArabia:LO.default,sweden:RO.default,singapore:IO.default,turkey:qO.default,unitedStates:GO.default,vietnam:zO.default,southAfrica:UO.default};const eC=Object.assign({},VO,KO,QO,JO,XO,YO,ZO,$O),lC=l.registerComponent(eC,{tmpl:void 0,sel:"embeddedMessaging-emoji-labels",apiVersion:62});e.default=lC,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/emojiLabels', ['embeddedMessaging/emojiLabels'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiLibrary",["exports","lwc","embeddedMessaging/emojiLabels"],function(i,s,n){function e(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}const d=e(n).default,p=[(i=>({name:"smileys-people",displayName:i.smileysPeopleCategory,icon:"utility:smiley_and_people",emojis:[{display:"😀",description:i.grinningFace},{display:"😁",description:i.grinningFaceWithSmilingEyes},{display:"😂",description:i.faceWithTearsOfJoy},{display:"😃",description:i.smilingFaceWithOpenMouth},{display:"😄",description:i.smilingFaceWithOpenMouthSmilingEyes},{display:"😅",description:i.smilingFaceWithOpenMouthColdSweat},{display:"😆",description:i.smilingFaceWithOpenMouthClosedEyes},{display:"😉",description:i.winkingFace},{display:"😊",description:i.smilingFaceWithSmilingEyes},{display:"😋",description:i.faceSavoringDeliciousFood},{display:"😎",description:i.smilingFaceWithSunglasses},{display:"😍",description:i.smilingFaceWithHeartEyes},{display:"😘",description:i.faceBlowingAKiss},{display:"😗",description:i.kissingFace},{display:"😙",description:i.kissingFaceWithSmilingEyes},{display:"😚",description:i.kissingFaceWithClosedEyes},{display:"🙂",description:i.slightlySmilingFace},{display:"😐",description:i.neutralFace},{display:"😑",description:i.expressionlessFace},{display:"😶",description:i.faceWithoutMouth},{display:"😏",description:i.smirkingFace},{display:"😣",description:i.perseveringFace},{display:"😥",description:i.disappointedButRelievedFace},{display:"😮",description:i.faceWithOpenMouth},{display:"😯",description:i.hushedFace},{display:"😪",description:i.sleepyFace},{display:"😫",description:i.tiredFace},{display:"😴",description:i.sleepingFace},{display:"😌",description:i.relievedFace},{display:"😛",description:i.faceWithStuckOutTongue},{display:"😜",description:i.faceWithStuckOutTongueWinkingEye},{display:"😝",description:i.faceWithStuckOutTongueClosedEyes},{display:"😒",description:i.unamusedFace},{display:"😓",description:i.faceWithColdSweat},{display:"😔",description:i.pensiveFace},{display:"😕",description:i.confusedFace},{display:"😲",description:i.astonishedFace},{display:"😖",description:i.confoundedFace},{display:"😞",description:i.disappointedFace},{display:"😟",description:i.worriedFace},{display:"😤",description:i.faceWithSteamFromNose},{display:"😢",description:i.cryingFace},{display:"😭",description:i.loudlyCryingFace},{display:"😦",description:i.frowningFaceWithOpenMouth},{display:"😧",description:i.anguishedFace},{display:"😨",description:i.fearfulFace},{display:"😩",description:i.wearyFace},{display:"😬",description:i.grimacingFace},{display:"😰",description:i.faceWithOpenMouthColdSweat},{display:"😱",description:i.faceScreamingInFear},{display:"😳",description:i.flushedFace},{display:"😵",description:i.dizzyFace},{display:"😡",description:i.poutingFace},{display:"😠",description:i.angryFace},{display:"😇",description:i.smilingFaceWithHalo},{display:"😷",description:i.faceWithMedicalMask},{display:"😈",description:i.smilingFaceWithHorns},{display:"👿",description:i.angryFaceWithHorns},{display:"👹",description:i.ogre},{display:"👺",description:i.goblin},{display:"💀",description:i.skull},{display:"👻",description:i.ghost},{display:"👽",description:i.alien},{display:"👾",description:i.alienMonster},{display:"💩",description:i.pileOfPoo},{display:"😺",description:i.smilingCatFaceWithOpenMouth},{display:"😸",description:i.grinningCatFaceWithSmilingEyes},{display:"😹",description:i.catFaceWithTearsOfJoy},{display:"😻",description:i.smilingCatFaceWithHeartEyes},{display:"😼",description:i.catFaceWithWrySmile},{display:"😽",description:i.kissingCatFaceWithClosedEyes},{display:"🙀",description:i.wearyCatFace},{display:"😿",description:i.cryingCatFace},{display:"😾",description:i.poutingCatFace},{display:"🙈",description:i.seeNoEvilMonkey},{display:"🙉",description:i.hearNoEvilMonkey},{display:"🙊",description:i.speakNoEvilMonkey},{display:"👦",description:i.boy,options:[{display:"👦🏻",description:"boyLightSkinTone"},{display:"👦🏼",description:"boyMediumLightSkinTone"},{display:"👦🏽",description:"boyMediumSkinTone"},{display:"👦🏾",description:"boyMediumDarkSkinTone"},{display:"👦🏿",description:"boyDarkSkinTone"}]},{display:"👧",description:i.girl,options:[{display:"👧🏻",description:"girlLightSkinTone"},{display:"👧🏼",description:"girlMediumLightSkinTone"},{display:"👧🏽",description:"girlMediumSkinTone"},{display:"👧🏾",description:"girlMediumDarkSkinTone"},{display:"👧🏿",description:"girlDarkSkinTone"}]},{display:"👨",description:i.man,options:[{display:"👨🏻",description:"manLightSkinTone"},{display:"👨🏼",description:"manMediumLightSkinTone"},{display:"👨🏽",description:"manMediumSkinTone"},{display:"👨🏾",description:"manMediumDarkSkinTone"},{display:"👨🏿",description:"manDarkSkinTone"}]},{display:"👩",description:i.woman,options:[{display:"👩🏻",description:"womanLightSkinTone"},{display:"👩🏼",description:"womanMediumLightSkinTone"},{display:"👩🏽",description:"womanMediumSkinTone"},{display:"👩🏾",description:"womanMediumDarkSkinTone"},{display:"👩🏿",description:"womanDarkSkinTone"}]},{display:"👴",description:i.oldMan,options:[{display:"👴🏻",description:"oldManLightSkinTone"},{display:"👴🏼",description:"oldManMediumLightSkinTone"},{display:"👴🏽",description:"oldManMediumSkinTone"},{display:"👴🏾",description:"oldManMediumDarkSkinTone"},{display:"👴🏿",description:"oldManDarkSkinTone"}]},{display:"👵",description:i.oldWoman,options:[{display:"👵🏻",description:"oldWomanLightSkinTone"},{display:"👵🏼",description:"oldWomanMediumLightSkinTone"},{display:"👵🏽",description:"oldWomanMediumSkinTone"},{display:"👵🏾",description:"oldWomanMediumDarkSkinTone"},{display:"👵🏿",description:"oldWomanDarkSkinTone"}]},{display:"👶",description:i.baby,options:[{display:"👶🏻",description:"babyLightSkinTone"},{display:"👶🏼",description:"babyMediumLightSkinTone"},{display:"👶🏽",description:"babyMediumSkinTone"},{display:"👶🏾",description:"babyMediumDarkSkinTone"},{display:"👶🏿",description:"babyDarkSkinTone"}]},{display:"👼",description:i.babyAngel,options:[{display:"👼🏻",description:"babyAngelLightSkinTone"},{display:"👼🏼",description:"babyAngelMediumLightSkinTone"},{display:"👼🏽",description:"babyAngelMediumSkinTone"},{display:"👼🏾",description:"babyAngelMediumDarkSkinTone"},{display:"👼🏿",description:"babyAngelDarkSkinTone"}]},{display:"👮",description:i.policeOfficer,options:[{display:"👮🏻",description:"policeOfficerLightSkinTone"},{display:"👮🏼",description:"policeOfficerMediumLightSkinTone"},{display:"👮🏽",description:"policeOfficerMediumSkinTone"},{display:"👮🏾",description:"policeOfficerMediumDarkSkinTone"},{display:"👮🏿",description:"policeOfficerDarkSkinTone"}]},{display:"💂",description:i.guard,options:[{display:"💂🏻",description:"guardLightSkinTone"},{display:"💂🏼",description:"guardMediumLightSkinTone"},{display:"💂🏽",description:"guardMediumSkinTone"},{display:"💂🏾",description:"guardMediumDarkSkinTone"},{display:"💂🏿",description:"guardDarkSkinTone"}]},{display:"👷",description:i.constructionWorker,options:[{display:"👷🏻",description:"constructionWorkerLightSkinTone"},{display:"👷🏼",description:"constructionWorkerMediumLightSkinTone"},{display:"👷🏽",description:"constructionWorkerMediumSkinTone"},{display:"👷🏾",description:"constructionWorkerMediumDarkSkinTone"},{display:"👷🏿",description:"constructionWorkerDarkSkinTone"}]},{display:"👳",description:i.personWearingTurban,options:[{display:"👳🏻",description:"personWearingTurbanLightSkinTone"},{display:"👳🏼",description:"personWearingTurbanMediumLightSkinTone"},{display:"👳🏽",description:"personWearingTurbanMediumSkinTone"},{display:"👳🏾",description:"personWearingTurbanMediumDarkSkinTone"},{display:"👳🏿",description:"personWearingTurbanDarkSkinTone"}]},{display:"👱",description:i.blondHairedPerson,options:[{display:"👱🏻",description:"blondHairedPersonLightSkinTone"},{display:"👱🏼",description:"blondHairedPersonMediumLightSkinTone"},{display:"👱🏽",description:"blondHairedPersonMediumSkinTone"},{display:"👱🏾",description:"blondHairedPersonMediumDarkSkinTone"},{display:"👱🏿",description:"blondHairedPersonDarkSkinTone"}]},{display:"🎅",description:i.santaClaus,options:[{display:"🎅🏻",description:"santaClausLightSkinTone"},{display:"🎅🏼",description:"santaClausMediumLightSkinTone"},{display:"🎅🏽",description:"santaClausMediumSkinTone"},{display:"🎅🏾",description:"santaClausMediumDarkSkinTone"},{display:"🎅🏿",description:"santaClausDarkSkinTone"}]},{display:"👸",description:i.princess,options:[{display:"👸🏻",description:"princessLightSkinTone"},{display:"👸🏼",description:"princessMediumLightSkinTone"},{display:"👸🏽",description:"princessMediumSkinTone"},{display:"👸🏾",description:"princessMediumDarkSkinTone"},{display:"👸🏿",description:"princessDarkSkinTone"}]},{display:"👰",description:i.brideWithVeil,options:[{display:"👰🏻",description:"brideWithVeilLightSkinTone"},{display:"👰🏼",description:"brideWithVeilMediumLightSkinTone"},{display:"👰🏽",description:"brideWithVeilMediumSkinTone"},{display:"👰🏾",description:"brideWithVeilMediumDarkSkinTone"},{display:"👰🏿",description:"brideWithVeilDarkSkinTone"}]},{display:"👲",description:i.manWithChineseCap,options:[{display:"👲🏻",description:"manWithChineseCapLightSkinTone"},{display:"👲🏼",description:"manWithChineseCapMediumLightSkinTone"},{display:"👲🏽",description:"manWithChineseCapMediumSkinTone"},{display:"👲🏾",description:"manWithChineseCapMediumDarkSkinTone"},{display:"👲🏿",description:"manWithChineseCapDarkSkinTone"}]},{display:"🙍",description:i.personFrowning,options:[{display:"🙍🏻",description:"personFrowningLightSkinTone"},{display:"🙍🏼",description:"personFrowningMediumLightSkinTone"},{display:"🙍🏽",description:"personFrowningMediumSkinTone"},{display:"🙍🏾",description:"personFrowningMediumDarkSkinTone"},{display:"🙍🏿",description:"personFrowningDarkSkinTone"}]},{display:"🙎",description:i.personPouting,options:[{display:"🙎🏻",description:"personPoutingLightSkinTone"},{display:"🙎🏼",description:"personPoutingMediumLightSkinTone"},{display:"🙎🏽",description:"personPoutingMediumSkinTone"},{display:"🙎🏾",description:"personPoutingMediumDarkSkinTone"},{display:"🙎🏿",description:"personPoutingDarkSkinTone"}]},{display:"🙅",description:i.personGesturingNo,options:[{display:"🙅🏻",description:"personGesturingNoLightSkinTone"},{display:"🙅🏼",description:"personGesturingNoMediumLightSkinTone"},{display:"🙅🏽",description:"personGesturingNoMediumSkinTone"},{display:"🙅🏾",description:"personGesturingNoMediumDarkSkinTone"},{display:"🙅🏿",description:"personGesturingNoDarkSkinTone"}]},{display:"🙆",description:i.personGesturingOk,options:[{display:"🙆🏻",description:"personGesturingOkLightSkinTone"},{display:"🙆🏼",description:"personGesturingOkMediumLightSkinTone"},{display:"🙆🏽",description:"personGesturingOkMediumSkinTone"},{display:"🙆🏾",description:"personGesturingOkMediumDarkSkinTone"},{display:"🙆🏿",description:"personGesturingOkDarkSkinTone"}]},{display:"💁",description:i.personTippingHand,options:[{display:"💁🏻",description:"personTippingHandLightSkinTone"},{display:"💁🏼",description:"personTippingHandMediumLightSkinTone"},{display:"💁🏽",description:"personTippingHandMediumSkinTone"},{display:"💁🏾",description:"personTippingHandMediumDarkSkinTone"},{display:"💁🏿",description:"personTippingHandDarkSkinTone"}]},{display:"🙋",description:i.personRaisingHand,options:[{display:"🙋🏻",description:"personRaisingHandLightSkinTone"},{display:"🙋🏼",description:"personRaisingHandMediumLightSkinTone"},{display:"🙋🏽",description:"personRaisingHandMediumSkinTone"},{display:"🙋🏾",description:"personRaisingHandMediumDarkSkinTone"},{display:"🙋🏿",description:"personRaisingHandDarkSkinTone"}]},{display:"🙇",description:i.personBowing,options:[{display:"🙇🏻",description:"personBowingLightSkinTone"},{display:"🙇🏼",description:"personBowingMediumLightSkinTone"},{display:"🙇🏽",description:"personBowingMediumSkinTone"},{display:"🙇🏾",description:"personBowingMediumDarkSkinTone"},{display:"🙇🏿",description:"personBowingDarkSkinTone"}]},{display:"💆",description:i.personGettingMassage,options:[{display:"💆🏻",description:"personGettingMassageLightSkinTone"},{display:"💆🏼",description:"personGettingMassageMediumLightSkinTone"},{display:"💆🏽",description:"personGettingMassageMediumSkinTone"},{display:"💆🏾",description:"personGettingMassageMediumDarkSkinTone"},{display:"💆🏿",description:"personGettingMassageDarkSkinTone"}]},{display:"💇",description:i.personGettingHaircut,options:[{display:"💇🏻",description:"personGettingHaircutLightSkinTone"},{display:"💇🏼",description:"personGettingHaircutMediumLightSkinTone"},{display:"💇🏽",description:"personGettingHaircutMediumSkinTone"},{display:"💇🏾",description:"personGettingHaircutMediumDarkSkinTone"},{display:"💇🏿",description:"personGettingHaircutDarkSkinTone"}]},{display:"🚶",description:i.personWalking,options:[{display:"🚶🏻",description:"personWalkingLightSkinTone"},{display:"🚶🏼",description:"personWalkingMediumLightSkinTone"},{display:"🚶🏽",description:"personWalkingMediumSkinTone"},{display:"🚶🏾",description:"personWalkingMediumDarkSkinTone"},{display:"🚶🏿",description:"personWalkingDarkSkinTone"}]},{display:"🏃",description:i.personRunning,options:[{display:"🏃🏻",description:"personRunningLightSkinTone"},{display:"🏃🏼",description:"personRunningMediumLightSkinTone"},{display:"🏃🏽",description:"personRunningMediumSkinTone"},{display:"🏃🏾",description:"personRunningMediumDarkSkinTone"},{display:"🏃🏿",description:"personRunningDarkSkinTone"}]},{display:"💃",description:i.womanDancing,options:[{display:"💃🏻",description:"womanDancingLightSkinTone"},{display:"💃🏼",description:"womanDancingMediumLightSkinTone"},{display:"💃🏽",description:"womanDancingMediumSkinTone"},{display:"💃🏾",description:"womanDancingMediumDarkSkinTone"},{display:"💃🏿",description:"womanDancingDarkSkinTone"}]},{display:"👯",description:i.peopleWithBunnyEarsPartying},{display:"👤",description:i.bustInSilhouette},{display:"👥",description:i.bustsInSilhouette},{display:"🏇",description:i.horseRacing},{display:"🏂",description:i.snowboarder},{display:"🏄",description:i.personSurfing,options:[{display:"🏄🏻",description:"personSurfingLightSkinTone"},{display:"🏄🏼",description:"personSurfingMediumLightSkinTone"},{display:"🏄🏽",description:"personSurfingMediumSkinTone"},{display:"🏄🏾",description:"personSurfingMediumDarkSkinTone"},{display:"🏄🏿",description:"personSurfingDarkSkinTone"}]},{display:"🚣",description:i.personRowingBoat},{display:"🏊",description:i.personSwimming,options:[{display:"🏊🏻",description:"personSwimmingLightSkinTone"},{display:"🏊🏼",description:"personSwimmingMediumLightSkinTone"},{display:"🏊🏽",description:"personSwimmingMediumSkinTone"},{display:"🏊🏾",description:"personSwimmingMediumDarkSkinTone"},{display:"🏊🏿",description:"personSwimmingDarkSkinTone"}]},{display:"🚴",description:i.personBiking,options:[{display:"🚴🏻",description:"personBikingLightSkinTone"},{display:"🚴🏼",description:"personBikingMediumLightSkinTone"},{display:"🚴🏽",description:"personBikingMediumSkinTone"},{display:"🚴🏾",description:"personBikingMediumDarkSkinTone"},{display:"🚴🏿",description:"personBikingDarkSkinTone"}]},{display:"🚵",description:i.personMountainBiking,options:[{display:"🚵🏻",description:"personMountainBikingLightSkinTone"},{display:"🚵🏼",description:"personMountainBikingMediumLightSkinTone"},{display:"🚵🏽",description:"personMountainBikingMediumSkinTone"},{display:"🚵🏾",description:"personMountainBikingMediumDarkSkinTone"},{display:"🚵🏿",description:"personMountainBikingDarkSkinTone"}]},{display:"👫",description:i.manAndWomanHoldingHands},{display:"👬",description:i.twoMenHoldingHands},{display:"👭",description:i.twoWomenHoldingHands},{display:"💏",description:i.kiss},{display:"💑",description:i.coupleWithHeart},{display:"👪",description:i.family},{display:"💪",description:i.flexedBiceps,options:[{display:"💪🏻",description:"flexedBicepsLightSkinTone"},{display:"💪🏼",description:"flexedBicepsMediumLightSkinTone"},{display:"💪🏽",description:"flexedBicepsMediumSkinTone"},{display:"💪🏾",description:"flexedBicepsMediumDarkSkinTone"},{display:"💪🏿",description:"flexedBicepsDarkSkinTone"}]},{display:"👈",description:i.backhandIndexPointingLeft,options:[{display:"👈🏻",description:"backhandIndexPointingLeftLightSkinTone"},{display:"👈🏼",description:"backhandIndexPointingLeftMediumLightSkinTone"},{display:"👈🏽",description:"backhandIndexPointingLeftMediumSkinTone"},{display:"👈🏾",description:"backhandIndexPointingLeftMediumDarkSkinTone"},{display:"👈🏿",description:"backhandIndexPointingLeftDarkSkinTone"}]},{display:"👉",description:i.backhandIndexPointingRight,options:[{display:"👉🏻",description:"backhandIndexPointingRightLightSkinTone"},{display:"👉🏼",description:"backhandIndexPointingRightMediumLightSkinTone"},{display:"👉🏽",description:"backhandIndexPointingRightMediumSkinTone"},{display:"👉🏾",description:"backhandIndexPointingRightMediumDarkSkinTone"},{display:"👉🏿",description:"backhandIndexPointingRightDarkSkinTone"}]},{display:"☝️",description:i.indexPointingUp},{display:"👆",description:i.backhandIndexPointingUp,options:[{display:"👆🏻",description:"backhandIndexPointingUpLightSkinTone"},{display:"👆🏼",description:"backhandIndexPointingUpMediumLightSkinTone"},{display:"👆🏽",description:"backhandIndexPointingUpMediumSkinTone"},{display:"👆🏾",description:"backhandIndexPointingUpMediumDarkSkinTone"},{display:"👆🏿",description:"backhandIndexPointingUpDarkSkinTone"}]},{display:"👇",description:i.backhandIndexPointingDown,options:[{display:"👇🏻",description:"backhandIndexPointingDownLightSkinTone"},{display:"👇🏼",description:"backhandIndexPointingDownMediumLightSkinTone"},{display:"👇🏽",description:"backhandIndexPointingDownMediumSkinTone"},{display:"👇🏾",description:"backhandIndexPointingDownMediumDarkSkinTone"},{display:"👇🏿",description:"backhandIndexPointingDownDarkSkinTone"}]},{display:"✌️",description:i.victoryHand},{display:"✋",description:i.raisedHand},{display:"👌",description:i.okHand,options:[{display:"👌🏻",description:"okHandLightSkinTone"},{display:"👌🏼",description:"okHandMediumLightSkinTone"},{display:"👌🏽",description:"okHandMediumSkinTone"},{display:"👌🏾",description:"okHandMediumDarkSkinTone"},{display:"👌🏿",description:"okHandDarkSkinTone"}]},{display:"👍",description:i.thumbsUp,options:[{display:"👍🏻",description:"thumbsUpLightSkinTone"},{display:"👍🏼",description:"thumbsUpMediumLightSkinTone"},{display:"👍🏽",description:"thumbsUpMediumSkinTone"},{display:"👍🏾",description:"thumbsUpMediumDarkSkinTone"},{display:"👍🏿",description:"thumbsUpDarkSkinTone"}]},{display:"👎",description:i.thumbsDown,options:[{display:"👎🏻",description:"thumbsDownLightSkinTone"},{display:"👎🏼",description:"thumbsDownMediumLightSkinTone"},{display:"👎🏽",description:"thumbsDownMediumSkinTone"},{display:"👎🏾",description:"thumbsDownMediumDarkSkinTone"},{display:"👎🏿",description:"thumbsDownDarkSkinTone"}]},{display:"✊",description:i.raisedFist},{display:"👊",description:i.oncomingFist,options:[{display:"👊🏻",description:"oncomingFistLightSkinTone"},{display:"👊🏼",description:"oncomingFistMediumLightSkinTone"},{display:"👊🏽",description:"oncomingFistMediumSkinTone"},{display:"👊🏾",description:"oncomingFistMediumDarkSkinTone"},{display:"👊🏿",description:"oncomingFistDarkSkinTone"}]},{display:"👋",description:i.wavingHand,options:[{display:"👋🏻",description:"wavingHandLightSkinTone"},{display:"👋🏼",description:"wavingHandMediumLightSkinTone"},{display:"👋🏽",description:"wavingHandMediumSkinTone"},{display:"👋🏾",description:"wavingHandMediumDarkSkinTone"},{display:"👋🏿",description:"wavingHandDarkSkinTone"}]},{display:"👏",description:i.clappingHands,options:[{display:"👏🏻",description:"clappingHandsLightSkinTone"},{display:"👏🏼",description:"clappingHandsMediumLightSkinTone"},{display:"👏🏽",description:"clappingHandsMediumSkinTone"},{display:"👏🏾",description:"clappingHandsMediumDarkSkinTone"},{display:"👏🏿",description:"clappingHandsDarkSkinTone"}]},{display:"👐",description:i.openHands,options:[{display:"👐🏻",description:"openHandsLightSkinTone"},{display:"👐🏼",description:"openHandsMediumLightSkinTone"},{display:"👐🏽",description:"openHandsMediumSkinTone"},{display:"👐🏾",description:"openHandsMediumDarkSkinTone"},{display:"👐🏿",description:"openHandsDarkSkinTone"}]},{display:"🙌",description:i.raisingHands,options:[{display:"🙌🏻",description:"raisingHandsLightSkinTone"},{display:"🙌🏼",description:"raisingHandsMediumLightSkinTone"},{display:"🙌🏽",description:"raisingHandsMediumSkinTone"},{display:"🙌🏾",description:"raisingHandsMediumDarkSkinTone"},{display:"🙌🏿",description:"raisingHandsDarkSkinTone"}]},{display:"🙏",description:i.foldedHands,options:[{display:"🙏🏻",description:"foldedHandsLightSkinTone"},{display:"🙏🏼",description:"foldedHandsMediumLightSkinTone"},{display:"🙏🏽",description:"foldedHandsMediumSkinTone"},{display:"🙏🏾",description:"foldedHandsMediumDarkSkinTone"},{display:"🙏🏿",description:"foldedHandsDarkSkinTone"}]},{display:"💅",description:i.nailPolish,options:[{display:"💅🏻",description:"nailPolishLightSkinTone"},{display:"💅🏼",description:"nailPolishMediumLightSkinTone"},{display:"💅🏽",description:"nailPolishMediumSkinTone"},{display:"💅🏾",description:"nailPolishMediumDarkSkinTone"},{display:"💅🏿",description:"nailPolishDarkSkinTone"}]},{display:"👂",description:i.ear,options:[{display:"👂🏻",description:"earLightSkinTone"},{display:"👂🏼",description:"earMediumLightSkinTone"},{display:"👂🏽",description:"earMediumSkinTone"},{display:"👂🏾",description:"earMediumDarkSkinTone"},{display:"👂🏿",description:"earDarkSkinTone"}]},{display:"👃",description:i.nose,options:[{display:"👃🏻",description:"noseLightSkinTone"},{display:"👃🏼",description:"noseMediumLightSkinTone"},{display:"👃🏽",description:"noseMediumSkinTone"},{display:"👃🏾",description:"noseMediumDarkSkinTone"},{display:"👃🏿",description:"noseDarkSkinTone"}]},{display:"👣",description:i.footprints},{display:"👀",description:i.eyes},{display:"👅",description:i.tongue},{display:"👄",description:i.mouth},{display:"💋",description:i.kissMark},{display:"💘",description:i.heartWithArrow},{display:"❤️",description:i.redHeart},{display:"💓",description:i.beatingHeart},{display:"💔",description:i.brokenHeart},{display:"💕",description:i.twoHearts},{display:"💖",description:i.sparklingHeart},{display:"💗",description:i.growingHeart},{display:"💙",description:i.blueHeart},{display:"💚",description:i.greenHeart},{display:"💛",description:i.yellowHeart},{display:"💜",description:i.purpleHeart},{display:"💝",description:i.heartWithRibbon},{display:"💞",description:i.revolvingHearts},{display:"💟",description:i.heartDecoration},{display:"💌",description:i.loveLetter},{display:"💤",description:i.zzz},{display:"💢",description:i.angerSymbol},{display:"💣",description:i.bomb},{display:"💥",description:i.collision},{display:"💦",description:i.sweatDroplets},{display:"💨",description:i.dashingAway},{display:"💫",description:i.dizzy},{display:"💬",description:i.speechBalloon},{display:"💭",description:i.thoughtBalloon},{display:"👓",description:i.glasses},{display:"👔",description:i.necktie},{display:"👕",description:i.tShirt},{display:"👖",description:i.jeans},{display:"👗",description:i.dress},{display:"👘",description:i.kimono},{display:"👙",description:i.bikini},{display:"👚",description:i.womansClothes},{display:"👛",description:i.purse},{display:"👜",description:i.handbag},{display:"👝",description:i.clutchBag},{display:"🎒",description:i.schoolBackpack},{display:"👞",description:i.mansShoe},{display:"👟",description:i.runningShoe},{display:"👠",description:i.highHeeledShoe},{display:"👡",description:i.womansSandal},{display:"👢",description:i.womansBoot},{display:"👑",description:i.crown},{display:"👒",description:i.womansHat},{display:"🎩",description:i.topHat},{display:"🎓",description:i.graduationCap},{display:"💄",description:i.lipstick},{display:"💍",description:i.ring},{display:"💎",description:i.gemStone}]}))(d),(i=>({name:"animals-nature",displayName:i.animalsNatureCategory,icon:"utility:animal_and_nature",emojis:[{display:"🐵",description:i.monkeyFace},{display:"🐒",description:i.monkey},{display:"🐶",description:i.dogFace},{display:"🐕",description:i.dog},{display:"🐩",description:i.poodle},{display:"🐺",description:i.wolfFace},{display:"🐱",description:i.catFace},{display:"🐈",description:i.cat},{display:"🐯",description:i.tigerFace},{display:"🐅",description:i.tiger},{display:"🐆",description:i.leopard},{display:"🐴",description:i.horseFace},{display:"🐎",description:i.horse},{display:"🐮",description:i.cowFace},{display:"🐂",description:i.ox},{display:"🐃",description:i.waterBuffalo},{display:"🐄",description:i.cow},{display:"🐷",description:i.pigFace},{display:"🐖",description:i.pig},{display:"🐗",description:i.boar},{display:"🐽",description:i.pigNose},{display:"🐏",description:i.ram},{display:"🐑",description:i.sheep},{display:"🐐",description:i.goat},{display:"🐪",description:i.camel},{display:"🐫",description:i.twoHumpCamel},{display:"🐘",description:i.elephant},{display:"🐭",description:i.mouseFace},{display:"🐁",description:i.mouse},{display:"🐀",description:i.rat},{display:"🐹",description:i.hamsterFace},{display:"🐰",description:i.rabbitFace},{display:"🐇",description:i.rabbit},{display:"🐻",description:i.bearFace},{display:"🐨",description:i.koala},{display:"🐼",description:i.pandaFace},{display:"🐾",description:i.pawPrints},{display:"🐔",description:i.chicken},{display:"🐓",description:i.rooster},{display:"🐣",description:i.hatchingChick},{display:"🐤",description:i.babyChick},{display:"🐥",description:i.frontFacingBabyChick},{display:"🐦",description:i.bird},{display:"🐧",description:i.penguin},{display:"🐸",description:i.frogFace},{display:"🐊",description:i.crocodile},{display:"🐢",description:i.turtle},{display:"🐍",description:i.snake},{display:"🐲",description:i.dragonFace},{display:"🐉",description:i.dragon},{display:"🐳",description:i.spoutingWhale},{display:"🐋",description:i.whale},{display:"🐬",description:i.dolphin},{display:"🐟",description:i.fish},{display:"🐠",description:i.tropicalFish},{display:"🐡",description:i.blowfish},{display:"🐙",description:i.octopus},{display:"🐚",description:i.spiralShell},{display:"🐌",description:i.snail},{display:"🐛",description:i.bug},{display:"🐜",description:i.ant},{display:"🐝",description:i.honeybee},{display:"🐞",description:i.ladyBeetle},{display:"💐",description:i.bouquet},{display:"🌸",description:i.cherryBlossom},{display:"💮",description:i.whiteFlower},{display:"🌹",description:i.rose},{display:"🌺",description:i.hibiscus},{display:"🌻",description:i.sunflower},{display:"🌼",description:i.blossom},{display:"🌷",description:i.tulip},{display:"🌱",description:i.seedling},{display:"🌲",description:i.evergreenTree},{display:"🌳",description:i.deciduousTree},{display:"🌴",description:i.palmTree},{display:"🌵",description:i.cactus},{display:"🌾",description:i.sheafOfRice},{display:"🌿",description:i.herb},{display:"🍀",description:i.fourLeafClover},{display:"🍁",description:i.mapleLeaf},{display:"🍂",description:i.fallenLeaf},{display:"🍃",description:i.leafFlutteringInWind}]}))(d),(i=>({name:"food-drink",displayName:i.foodDrinkCategory,icon:"utility:food_and_drink",emojis:[{display:"🍇",description:i.grapes},{display:"🍈",description:i.melon},{display:"🍉",description:i.watermelon},{display:"🍊",description:i.tangerine},{display:"🍋",description:i.lemon},{display:"🍌",description:i.banana},{display:"🍍",description:i.pineapple},{display:"🍎",description:i.redApple},{display:"🍏",description:i.greenApple},{display:"🍐",description:i.pear},{display:"🍑",description:i.peach},{display:"🍒",description:i.cherries},{display:"🍓",description:i.strawberry},{display:"🍅",description:i.tomato},{display:"🍆",description:i.eggplant},{display:"🌽",description:i.earOfCorn},{display:"🍄",description:i.mushroom},{display:"🌰",description:i.chestnut},{display:"🍞",description:i.bread},{display:"🍖",description:i.meatOnBone},{display:"🍗",description:i.poultryLeg},{display:"🍔",description:i.hamburger},{display:"🍟",description:i.frenchFries},{display:"🍕",description:i.pizza},{display:"🍳",description:i.cooking},{display:"🍲",description:i.potOfFood},{display:"🍱",description:i.bentoBox},{display:"🍘",description:i.riceCracker},{display:"🍙",description:i.riceBall},{display:"🍚",description:i.cookedRice},{display:"🍛",description:i.curryRice},{display:"🍜",description:i.steamingBowl},{display:"🍝",description:i.spaghetti},{display:"🍠",description:i.roastedSweetPotato},{display:"🍢",description:i.oden},{display:"🍣",description:i.sushi},{display:"🍤",description:i.friedShrimp},{display:"🍥",description:i.fishCakeWithSwirl},{display:"🍡",description:i.dango},{display:"🍦",description:i.softIceCream},{display:"🍧",description:i.shavedIce},{display:"🍨",description:i.iceCream},{display:"🍩",description:i.doughnut},{display:"🍪",description:i.cookie},{display:"🎂",description:i.birthdayCake},{display:"🍰",description:i.shortcake},{display:"🍫",description:i.chocolateBar},{display:"🍬",description:i.candy},{display:"🍭",description:i.lollipop},{display:"🍮",description:i.custard},{display:"🍯",description:i.honeyPot},{display:"🍼",description:i.babyBottle},{display:"☕️",description:i.hotBeverage},{display:"🍵",description:i.teacupWithoutHandle},{display:"🍶",description:i.sake},{display:"🍷",description:i.wineGlass},{display:"🍸",description:i.cocktailGlass},{display:"🍹",description:i.tropicalDrink},{display:"🍺",description:i.beerMug},{display:"🍻",description:i.clinkingBeerMugs},{display:"🍴",description:i.forkAndKnife},{display:"🔪",description:i.kitchenKnife}]}))(d),(i=>({name:"travel-places",displayName:i.travelPlacesCategory,icon:"utility:travel_and_places",emojis:[{display:"🌍",description:i.globeShowingEuropeAfrica},{display:"🌎",description:i.globeShowingAmericas},{display:"🌏",description:i.globeShowingAsiaAustralia},{display:"🌐",description:i.globeWithMeridians},{display:"🗾",description:i.mapOfJapan},{display:"🌋",description:i.volcano},{display:"🗻",description:i.mountFuji},{display:"🏠",description:i.house},{display:"🏡",description:i.houseWithGarden},{display:"🏢",description:i.officeBuilding},{display:"🏣",description:i.japanesePostOffice},{display:"🏤",description:i.postOffice},{display:"🏥",description:i.hospital},{display:"🏦",description:i.bank},{display:"🏨",description:i.hotel},{display:"🏩",description:i.loveHotel},{display:"🏪",description:i.convenienceStore},{display:"🏫",description:i.school},{display:"🏬",description:i.departmentStore},{display:"🏭",description:i.factory},{display:"🏯",description:i.japaneseCastle},{display:"🏰",description:i.castle},{display:"💒",description:i.wedding},{display:"🗼",description:i.tokyoTower},{display:"🗽",description:i.statueOfLiberty},{display:"⛪",description:i.church},{display:"⛲",description:i.fountain},{display:"⛺",description:i.tent},{display:"🌁",description:i.foggy},{display:"🌃",description:i.nightWithStars},{display:"🌄",description:i.sunriseOverMountains},{display:"🌅",description:i.sunrise},{display:"🌆",description:i.cityscapeAtDusk},{display:"🌇",description:i.sunset},{display:"🌉",description:i.bridgeAtNight},{display:"♨️",description:i.hotSprings},{display:"🌌",description:i.milkyWay},{display:"🎠",description:i.carouselHorse},{display:"🎡",description:i.ferrisWheel},{display:"🎢",description:i.rollerCoaster},{display:"💈",description:i.barberPole},{display:"🎪",description:i.circusTent},{display:"🎭",description:i.performingArts},{display:"🎨",description:i.artistPalette},{display:"🎰",description:i.slotMachine},{display:"🚂",description:i.locomotive},{display:"🚃",description:i.railwayCar},{display:"🚄",description:i.highSpeedTrain},{display:"🚅",description:i.highSpeedTrainWithBulletNose},{display:"🚆",description:i.train},{display:"🚇",description:i.metro},{display:"🚈",description:i.lightRail},{display:"🚉",description:i.station},{display:"🚊",description:i.tram},{display:"🚝",description:i.monorail},{display:"🚞",description:i.mountainRailway},{display:"🚋",description:i.tramCar},{display:"🚌",description:i.bus},{display:"🚍",description:i.oncomingBus},{display:"🚎",description:i.trolleybus},{display:"🚐",description:i.minibus},{display:"🚑",description:i.ambulance},{display:"🚒",description:i.fireEngine},{display:"🚓",description:i.policeCar},{display:"🚔",description:i.oncomingPoliceCar},{display:"🚕",description:i.taxi},{display:"🚖",description:i.oncomingTaxi},{display:"🚗",description:i.automobile},{display:"🚘",description:i.oncomingAutomobile},{display:"🚙",description:i.sportUtilityVehicle},{display:"🚚",description:i.deliveryTruck},{display:"🚛",description:i.articulatedLorry},{display:"🚜",description:i.tractor},{display:"🚲",description:i.bicycle},{display:"🚏",description:i.busStop},{display:"⛽",description:i.fuelPump},{display:"🚨",description:i.policeCarLight},{display:"🚥",description:i.horizontalTrafficLight},{display:"🚦",description:i.verticalTrafficLight},{display:"🚧",description:i.construction},{display:"⚓️",description:i.anchor},{display:"⛵",description:i.sailboat},{display:"🚤",description:i.speedboat},{display:"🚢",description:i.ship},{display:"✈️",description:i.airplane},{display:"💺",description:i.seat},{display:"🚁",description:i.helicopter},{display:"🚟",description:i.suspensionRailway},{display:"🚠",description:i.mountainCableway},{display:"🚡",description:i.aerialTramway},{display:"🚀",description:i.rocket},{display:"🚪",description:i.door},{display:"🚽",description:i.toilet},{display:"🚿",description:i.shower},{display:"🛀",description:i.personTakingBath,options:[{display:"🛀🏻",description:"personTakingBathLightSkinTone"},{display:"🛀🏼",description:"personTakingBathMediumLightSkinTone"},{display:"🛀🏽",description:"personTakingBathMediumSkinTone"},{display:"🛀🏾",description:"personTakingBathMediumDarkSkinTone"},{display:"🛀🏿",description:"personTakingBathDarkSkinTone"}]},{display:"🛁",description:i.bathtub},{display:"⌛️",description:i.hourglass},{display:"⏳",description:i.hourglassWithFlowingSand},{display:"⌚️",description:i.watch},{display:"⏰",description:i.alarmClock},{display:"🕛",description:i.twelveOClock},{display:"🕧",description:i.twelveThirty},{display:"🕐",description:i.oneOClock},{display:"🕜",description:i.oneThirty},{display:"🕑",description:i.twoOClock},{display:"🕝",description:i.twoThirty},{display:"🕒",description:i.threeOClock},{display:"🕞",description:i.threeThirty},{display:"🕓",description:i.fourOClock},{display:"🕟",description:i.fourThirty},{display:"🕔",description:i.fiveOClock},{display:"🕠",description:i.fiveThirty},{display:"🕕",description:i.sixOClock},{display:"🕡",description:i.sixThirty},{display:"🕖",description:i.sevenOClock},{display:"🕢",description:i.sevenThirty},{display:"🕗",description:i.eightOClock},{display:"🕣",description:i.eightThirty},{display:"🕘",description:i.nineOClock},{display:"🕤",description:i.nineThirty},{display:"🕙",description:i.tenOClock},{display:"🕥",description:i.tenThirty},{display:"🕚",description:i.elevenOClock},{display:"🕦",description:i.elevenThirty},{display:"🌑",description:i.newMoon},{display:"🌒",description:i.waxingCrescentMoon},{display:"🌓",description:i.firstQuarterMoon},{display:"🌔",description:i.waxingGibbousMoon},{display:"🌕",description:i.fullMoon},{display:"🌖",description:i.waningGibbousMoon},{display:"🌗",description:i.lastQuarterMoon},{display:"🌘",description:i.waningCrescentMoon},{display:"🌙",description:i.crescentMoon},{display:"🌚",description:i.newMoonFace},{display:"🌛",description:i.firstQuarterMoonWithFace},{display:"🌜",description:i.lastQuarterMoonWithFace},{display:"☀️",description:i.sun},{display:"🌝",description:i.fullMoonWithFace},{display:"🌞",description:i.sunWithFace},{display:"⭐️",description:i.whiteMediumStar},{display:"🌟",description:i.glowingStar},{display:"🌠",description:i.shootingStar},{display:"☁️",description:i.cloud},{display:"⛅",description:i.sunBehindCloud},{display:"🌀",description:i.cyclone},{display:"🌈",description:i.rainbow},{display:"🌂",description:i.closedUmbrella},{display:"☔️",description:i.umbrellaWithRainDrops},{display:"⚡️",description:i.highVoltage},{display:"❄️",description:i.snowflake},{display:"⛄",description:i.snowmanWithoutSnow},{display:"🔥",description:i.fire},{display:"💧",description:i.droplet},{display:"🌊",description:i.waterWave}]}))(d),(i=>({name:"activities",displayName:i.activitiesCategory,icon:"utility:activity",emojis:[{display:"🎃",description:i.jackOLantern},{display:"🎄",description:i.christmasTree},{display:"🎆",description:i.fireworks},{display:"🎇",description:i.sparkler},{display:"✨",description:i.sparkles},{display:"🎈",description:i.balloon},{display:"🎉",description:i.partyPopper},{display:"🎊",description:i.confettiBall},{display:"🎋",description:i.tanabataTree},{display:"🎍",description:i.pineDecoration},{display:"🎎",description:i.japaneseDolls},{display:"🎏",description:i.carpStreamer},{display:"🎐",description:i.windChime},{display:"🎑",description:i.moonViewingCeremony},{display:"🎀",description:i.ribbon},{display:"🎁",description:i.wrappedGift},{display:"🎫",description:i.ticket},{display:"🏆",description:i.trophy},{display:"⚽",description:i.soccerBall},{display:"⚾️",description:i.baseball},{display:"🏀",description:i.basketball},{display:"🏈",description:i.americanFootball},{display:"🏉",description:i.rugbyFootball},{display:"🎾",description:i.tennis},{display:"🎱",description:i.pool8Ball},{display:"🎳",description:i.bowling},{display:"🎯",description:i.directHit},{display:"⛳",description:i.flagInHole},{display:"🎣",description:i.fishingPole},{display:"🎽",description:i.runningShirt},{display:"🎿",description:i.skis},{display:"🎮",description:i.videoGame},{display:"🎲",description:i.gameDie},{display:"♠️",description:i.spadeSuit},{display:"♥️",description:i.heartSuit},{display:"♦️",description:i.diamondSuit},{display:"♣️",description:i.clubSuit},{display:"🃏",description:i.joker},{display:"🀄",description:i.mahjongRedDragon},{display:"🎴",description:i.flowerPlayingCards}]}))(d),(i=>({name:"objects",displayName:i.objectsCategory,icon:"utility:light_bulb",emojis:[{display:"🔇",description:i.mutedSpeaker},{display:"🔈",description:i.speakerLowVolume},{display:"🔉",description:i.speakerMediumVolume},{display:"🔊",description:i.speakerHighVolume},{display:"📢",description:i.loudspeaker},{display:"📣",description:i.megaphone},{display:"📯",description:i.postalHorn},{display:"🔔",description:i.bell},{display:"🔕",description:i.bellWithSlash},{display:"🎼",description:i.musicalScore},{display:"🎵",description:i.musicalNote},{display:"🎶",description:i.musicalNotes},{display:"🎤",description:i.microphone},{display:"🎧",description:i.headphone},{display:"📻",description:i.radio},{display:"🎷",description:i.saxophone},{display:"🎸",description:i.guitar},{display:"🎹",description:i.musicalKeyboard},{display:"🎺",description:i.trumpet},{display:"🎻",description:i.violin},{display:"📱",description:i.mobilePhone},{display:"📲",description:i.mobilePhoneWithArrow},{display:"☎",description:i.telephone},{display:"📞",description:i.telephoneReceiver},{display:"📟",description:i.pager},{display:"📠",description:i.faxMachine},{display:"🔋",description:i.battery},{display:"🔌",description:i.electricPlug},{display:"💻",description:i.laptopComputer},{display:"💽",description:i.computerDisk},{display:"💾",description:i.floppyDisk},{display:"💿",description:i.opticalDisk},{display:"📀",description:i.dvd},{display:"🎥",description:i.movieCamera},{display:"🎬",description:i.clapperBoard},{display:"📺",description:i.television},{display:"📷",description:i.camera},{display:"📹",description:i.videoCamera},{display:"📼",description:i.videocassette},{display:"🔍",description:i.leftPointingMagnifyingGlass},{display:"🔎",description:i.rightPointingMagnifyingGlass},{display:"🔬",description:i.microscope},{display:"🔭",description:i.telescope},{display:"📡",description:i.satelliteAntenna},{display:"💡",description:i.lightBulb},{display:"🔦",description:i.flashlight},{display:"🏮",description:i.redPaperLantern},{display:"📔",description:i.notebookWithDecorativeCover},{display:"📕",description:i.closedBook},{display:"📖",description:i.openBook},{display:"📗",description:i.greenBook},{display:"📘",description:i.blueBook},{display:"📙",description:i.orangeBook},{display:"📚",description:i.books},{display:"📓",description:i.notebook},{display:"📒",description:i.ledger},{display:"📃",description:i.pageWithCurl},{display:"📜",description:i.scroll},{display:"📄",description:i.pageFacingUp},{display:"📰",description:i.newspaper},{display:"📑",description:i.bookmarkTabs},{display:"🔖",description:i.bookmark},{display:"💰",description:i.moneyBag},{display:"💴",description:i.yenBanknote},{display:"💵",description:i.dollarBanknote},{display:"💶",description:i.euroBanknote},{display:"💷",description:i.poundBanknote},{display:"💸",description:i.moneyWithWings},{display:"💳",description:i.creditCard},{display:"💹",description:i.chartIncreasingWithYen},{display:"💱",description:i.currencyExchange},{display:"💲",description:i.heavyDollarSign},{display:"✉️",description:i.envelope},{display:"📧",description:i.eMail},{display:"📨",description:i.incomingEnvelope},{display:"📩",description:i.envelopeWithArrow},{display:"📤",description:i.outboxTray},{display:"📥",description:i.inboxTray},{display:"📦",description:i.mailPackage},{display:"📫",description:i.closedMailboxWithRaisedFlag},{display:"📪",description:i.closedMailboxWithLoweredFlag},{display:"📬",description:i.openMailboxWithRaisedFlag},{display:"📭",description:i.openMailboxWithLoweredFlag},{display:"📮",description:i.postbox},{display:"✏️",description:i.pencil},{display:"✒️",description:i.blackNib},{display:"📝",description:i.memo},{display:"💼",description:i.briefcase},{display:"📁",description:i.fileFolder},{display:"📂",description:i.openFileFolder},{display:"📅",description:i.calendar},{display:"📆",description:i.tearOffCalendar},{display:"📇",description:i.cardIndex},{display:"📈",description:i.chartIncreasing},{display:"📉",description:i.chartDecreasing},{display:"📊",description:i.barChart},{display:"📋",description:i.clipboard},{display:"📌",description:i.pushpin},{display:"📍",description:i.roundPushpin},{display:"📎",description:i.paperclip},{display:"📏",description:i.straightRuler},{display:"📐",description:i.triangularRuler},{display:"✂️",description:i.scissors},{display:"🔒",description:i.locked},{display:"🔓",description:i.unlocked},{display:"🔏",description:i.lockedWithPen},{display:"🔐",description:i.lockedWithKey},{display:"🔑",description:i.key},{display:"🔨",description:i.hammer},{display:"🔫",description:i.pistol},{display:"🔧",description:i.wrench},{display:"🔩",description:i.nutAndBolt},{display:"🔗",description:i.link},{display:"💉",description:i.syringe},{display:"💊",description:i.pill},{display:"🚬",description:i.cigarette},{display:"🗿",description:i.moai},{display:"🔮",description:i.crystalBall}]}))(d),(i=>({name:"symbols",displayName:i.symbolsCategory,icon:"utility:symbols",emojis:[{display:"🏧",description:i.atmSign},{display:"🚮",description:i.litterInBinSign},{display:"🚰",description:i.potableWater},{display:"♿️",description:i.wheelchairSymbol},{display:"🚹",description:i.mensRoom},{display:"🚺",description:i.womensRoom},{display:"🚻",description:i.restroom},{display:"🚼",description:i.babySymbol},{display:"🚾",description:i.waterCloset},{display:"🛂",description:i.passportControl},{display:"🛃",description:i.customs},{display:"🛄",description:i.baggageClaim},{display:"🛅",description:i.leftLuggage},{display:"⚠️",description:i.warning},{display:"🚸",description:i.childrenCrossing},{display:"⛔",description:i.noEntry},{display:"🚫",description:i.prohibited},{display:"🚳",description:i.noBicycles},{display:"🚭",description:i.noSmoking},{display:"🚯",description:i.noLittering},{display:"🚱",description:i.nonPotableWater},{display:"🚷",description:i.noPedestrians},{display:"📵",description:i.noMobilePhones},{display:"🔞",description:i.noOneUnderEighteen},{display:"⬆️",description:i.upArrow},{display:"↗️",description:i.upRightArrow},{display:"➡️",description:i.rightArrow},{display:"↘️",description:i.downRightArrow},{display:"⬇️",description:i.downArrow},{display:"↙️",description:i.downLeftArrow},{display:"⬅️",description:i.leftArrow},{display:"↖️",description:i.upLeftArrow},{display:"↕️",description:i.upDownArrow},{display:"↔️",description:i.leftRightArrow},{display:"↩️",description:i.rightArrowCurvingLeft},{display:"↪️",description:i.leftArrowCurvingRight},{display:"⤴️",description:i.rightArrowCurvingUp},{display:"⤵️",description:i.rightArrowCurvingDown},{display:"🔃",description:i.clockwiseVerticalArrows},{display:"🔄",description:i.anticlockwiseArrowsButton},{display:"🔙",description:i.backArrow},{display:"🔚",description:i.endArrow},{display:"🔛",description:i.onArrow},{display:"🔜",description:i.soonArrow},{display:"🔝",description:i.topArrow},{display:"🔯",description:i.dottedSixPointedStar},{display:"♈",description:i.aries},{display:"♉",description:i.taurus},{display:"♊",description:i.gemini},{display:"♋",description:i.cancer},{display:"♌",description:i.leo},{display:"♍",description:i.virgo},{display:"♎",description:i.libra},{display:"♏",description:i.scorpio},{display:"♐",description:i.sagittarius},{display:"♑",description:i.capricorn},{display:"♒",description:i.aquarius},{display:"♓",description:i.pisces},{display:"⛎",description:i.ophiuchus},{display:"🔀",description:i.shuffleTracksButton},{display:"🔁",description:i.repeatButton},{display:"🔂",description:i.repeatSingleButton},{display:"▶️",description:i.playButton},{display:"⏩",description:i.fastForwardButton},{display:"◀️",description:i.reverseButton},{display:"⏪",description:i.fastReverseButton},{display:"🔼",description:i.upButton},{display:"⏫",description:i.fastUpButton},{display:"🔽",description:i.downButton},{display:"⏬",description:i.fastDownButton},{display:"🎦",description:i.cinema},{display:"🔅",description:i.dimButton},{display:"🔆",description:i.brightButton},{display:"📶",description:i.antennaBars},{display:"📳",description:i.vibrationMode},{display:"📴",description:i.mobilePhoneOff},{display:"♻️",description:i.recyclingSymbol},{display:"📛",description:i.nameBadge},{display:"🔰",description:i.japaneseSymbolForBeginner},{display:"🔱",description:i.tridentEmblem},{display:"⭕️",description:i.heavyLargeCircle},{display:"✅️",description:i.whiteHeavyCheckMark},{display:"☑️",description:i.ballotBoxWithCheck},{display:"✔️",description:i.heavyCheckMark},{display:"✖️",description:i.heavyMultiplicationX},{display:"❌️",description:i.crossMark},{display:"❎️",description:i.crossMarkButton},{display:"➕️",description:i.heavyPlusSign},{display:"➖️",description:i.heavyMinusSign},{display:"➗️",description:i.heavyDivisionSign},{display:"➰️",description:i.curlyLoop},{display:"➿️",description:i.doubleCurlyLoop},{display:"〽️",description:i.partAlternationMark},{display:"✳️",description:i.eightSpokedAsterisk},{display:"✴️",description:i.eightPointedStar},{display:"❇️",description:i.sparkle},{display:"‼️",description:i.doubleExclamationMark},{display:"⁉️",description:i.exclamationQuestionMark},{display:"❓️",description:i.questionMark},{display:"❔️",description:i.whiteQuestionMark},{display:"❕️",description:i.whiteExclamationMark},{display:"❗️",description:i.exclamationMark},{display:"〰️",description:i.wavyDash},{display:"©️",description:i.copyright},{display:"®️",description:i.registered},{display:"™️",description:i.tradeMark},{display:"#️⃣",description:i.keycap},{display:"0️⃣",description:i.keycap0},{display:"1️⃣",description:i.keycap1},{display:"2️⃣",description:i.keycap2},{display:"3️⃣",description:i.keycap3},{display:"4️⃣",description:i.keycap4},{display:"5️⃣",description:i.keycap5},{display:"6️⃣",description:i.keycap6},{display:"7️⃣",description:i.keycap7},{display:"8️⃣",description:i.keycap8},{display:"9️⃣",description:i.keycap9},{display:"🔟",description:i.keycap10},{display:"💯",description:i.hundredPoints},{display:"🔠",description:i.inputLatinUppercase},{display:"🔡",description:i.inputLatinLowercase},{display:"🔢",description:i.inputNumbers},{display:"🔣",description:i.inputSymbols},{display:"🔤",description:i.inputLatinLetters},{display:"🅰",description:i.aButtonBloodType},{display:"🆎",description:i.abButtonBloodType},{display:"🅱",description:i.bButtonBloodType},{display:"🆑",description:i.clButton},{display:"🆒",description:i.coolButton},{display:"🆓",description:i.freeButton},{display:"ℹ️",description:i.information},{display:"🆔",description:i.idButton},{display:"Ⓜ️",description:i.circledM},{display:"🆕",description:i.newButton},{display:"🆖",description:i.ngButton},{display:"🅾",description:i.oButtonBloodType},{display:"🆗",description:i.okButton},{display:"🅿",description:i.pButton},{display:"🆘",description:i.sosButton},{display:"🆙",description:i.upButton},{display:"🆚",description:i.vsButton},{display:"🈁",description:i.japaneseHereButton},{display:"🈂",description:i.japaneseServiceChargeButton},{display:"🈷",description:i.japaneseMonthlyAmountButton},{display:"🈶",description:i.japaneseNotFreeOfChargeButton},{display:"🈯",description:i.japaneseReservedButton},{display:"🉐",description:i.japaneseBargainButton},{display:"🈹",description:i.japaneseDiscountButton},{display:"🈚",description:i.japaneseFreeOfChargeButton},{display:"🈲",description:i.japaneseProhibitedButton},{display:"🉑",description:i.japaneseAcceptableButton},{display:"🈸",description:i.japaneseApplicationButton},{display:"🈴",description:i.japanesePassingGradeButton},{display:"🈳",description:i.japaneseVacancyButton},{display:"㊗",description:i.japaneseCongratulationsButton},{display:"㊙",description:i.japaneseSecretButton},{display:"🈺",description:i.japaneseOpenForBusinessButton},{display:"🈵",description:i.japaneseNoVacancyButton},{display:"▪️",description:i.blackSmallSquare},{display:"▫️",description:i.whiteSmallSquare},{display:"◻️",description:i.whiteMediumSquare},{display:"◼️",description:i.blackMediumSquare},{display:"◽️",description:i.whiteMediumSmallSquare},{display:"◾️",description:i.blackMediumSmallSquare},{display:"⬛️",description:i.blackLargeSquare},{display:"⬜️",description:i.whiteLargeSquare},{display:"🔶",description:i.largeOrangeDiamond},{display:"🔷",description:i.largeBlueDiamond},{display:"🔸",description:i.smallOrangeDiamond},{display:"🔹",description:i.smallBlueDiamond},{display:"🔺",description:i.redTrianglePointedUp},{display:"🔻",description:i.redTrianglePointedDown},{display:"💠",description:i.diamondWithADot},{display:"🔘",description:i.radioButton},{display:"🔲",description:i.blackSquareButton},{display:"🔳",description:i.whiteSquareButton},{display:"⚪",description:i.whiteCircle},{display:"⚫",description:i.blackCircle},{display:"🔴",description:i.redCircle},{display:"🔵",description:i.blueCircle}]}))(d),(i=>({name:"flags",displayName:i.flagsCategory,icon:"utility:priority",emojis:[{display:"🏁",description:i.chequeredFlag},{display:"🚩",description:i.triangularFlag},{display:"🎌",description:i.crossedFlags},{display:"🇦🇪",description:i.unitedArabEmirates},{display:"🇦🇹",description:i.austria},{display:"🇦🇺",description:i.australia},{display:"🇧🇪",description:i.belgium},{display:"🇧🇷",description:i.brazil},{display:"🇨🇦",description:i.canada},{display:"🇨🇭",description:i.switzerland},{display:"🇨🇱",description:i.chile},{display:"🇨🇳",description:i.china},{display:"🇨🇴",description:i.colombia},{display:"🇩🇪",description:i.germany},{display:"🇩🇰",description:i.denmark},{display:"🇪🇸",description:i.spain},{display:"🇫🇮",description:i.finland},{display:"🇫🇷",description:i.france},{display:"🇬🇧",description:i.unitedKingdom},{display:"🇭🇰",description:i.hongKongSarChina},{display:"🇮🇩",description:i.indonesia},{display:"🇮🇪",description:i.ireland},{display:"🇮🇱",description:i.israel},{display:"🇮🇳",description:i.india},{display:"🇮🇹",description:i.italy},{display:"🇯🇵",description:i.japan},{display:"🇰🇷",description:i.southKorea},{display:"🇲🇴",description:i.macauSarChina},{display:"🇲🇽",description:i.mexico},{display:"🇲🇾",description:i.malaysia},{display:"🇳🇱",description:i.netherlands},{display:"🇳🇴",description:i.norway},{display:"🇳🇿",description:i.newZealand},{display:"🇵🇭",description:i.philippines},{display:"🇵🇱",description:i.poland},{display:"🇵🇷",description:i.puertoRico},{display:"🇵🇹",description:i.portugal},{display:"🇷🇺",description:i.russia},{display:"🇸🇦",description:i.saudiArabia},{display:"🇸🇪",description:i.sweden},{display:"🇸🇬",description:i.singapore},{display:"🇹🇷",description:i.turkey},{display:"🇺🇸",description:i.unitedStates},{display:"🇻🇳",description:i.vietnam},{display:"🇿🇦",description:i.southAfrica}]}))(d)],o=s.registerComponent(p,{tmpl:void 0,sel:"embeddedMessaging-emoji-library",apiVersion:62});i.default=o,Object.defineProperty(i,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/emojiLibrary', ['embeddedMessaging/emojiLibrary'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiPrimitiveIcon",["exports","lwc","lightning/utils","lightning/iconUtils"],function(e,t,i,s){function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var s=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:function(){return e[i]}})}}),t.default=e,Object.freeze(t)}var a=n(s);var r=[function(e,t,i){return"@supports (-ms-ime-align: auto) {svg"+(e?"["+e+"]":"")+" {pointer-events: none;}}"}];const l=t.parseSVGFragment`<use${"a0:xlink:href"}${3}/>`;function o(e,i,s,n){const{ncls:a,fid:r,sp:o,st:c,h:d}=e;return[d("svg",{className:a(i.computedClass),attrs:{focusable:"false","data-key":i.name,"aria-hidden":"true"},key:0,svg:!0},[i.hasIcon?c(l,2,[o(0,{attrs:{"xlink:href":t.sanitizeAttribute("use","http://www.w3.org/2000/svg","xlink:href",r(i.href))}},null)]):null])]}var c=t.registerTemplate(o);function d(e,t={}){const{fallbackValue:i="",validValues:s}=t;let n="string"==typeof e&&e.trim()||"";return n=n.toLowerCase(),s&&-1===s.indexOf(n)&&(n=i),n}o.stylesheets=[],o.stylesheetToken="lwc-20plc5j81vs",o.legacyStylesheetToken="embeddedMessaging-emojiPrimitiveIcon_emojiPrimitiveIcon",r&&o.stylesheets.push.apply(o.stylesheets,r),t.freezeTemplate(o);class u extends t.LightningElement{constructor(...e){super(...e),this.iconName=void 0,this.svgClass=void 0,this.size="medium",this.variant=void 0}renderedCallback(){if(this.iconName!==this.prevIconName){this.prevIconName=this.iconName;const e=this.template.querySelector("svg");a.polyfill(e)}}get hasIcon(){return(this.href||"").length>0}get href(){return a.getIconPath(this.iconName)}get name(){return a.getName(this.iconName)}get normalizedSize(){return d(this.size,{fallbackValue:"medium",validValues:["xx-small","x-small","small","medium","large"]})}get normalizedVariant(){return d(this.variant,{fallbackValue:"",validValues:["bare","error","inverse","warning"]})}get computedClass(){const{normalizedSize:e,normalizedVariant:t}=this,s=i.classSet(this.svgClass);switch("bare"!==t&&s.add("slds-icon"),t){case"error":s.add("slds-icon-text-error");break;case"warning":s.add("slds-icon-text-warning");break;case"inverse":case"bare":break;default:s.add("slds-icon-text-default")}return"medium"!==e&&s.add(`slds-icon_${e}`),s.toString()}}t.registerDecorators(u,{publicProps:{iconName:{config:0},svgClass:{config:0},size:{config:0},variant:{config:0}}});const m=t.registerComponent(u,{tmpl:c,sel:"embeddedMessaging-emoji-primitive-icon",apiVersion:62});e.default=m,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/emojiPrimitiveIcon', ['embeddedMessaging/emojiPrimitiveIcon'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiCategory",["exports","lwc","embeddedmessaging/emojiPrimitiveIcon","embeddedMessaging/common"],function(e,t,s,o){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(s);var l=[function(e,t,s){var o=e?"["+e+"]":"",n=e?"["+e+"-host]":"";return(t?":host(.selected) button":n+".selected button")+o+" {color: var(--secondaryColor, #005290);}"+(t?":host:not(.selected) button":n+":not(.selected) button")+o+" {color: var(--slds-g-color-neutral-base-50, #6d6d70);transition: all 0.2s ease-in-out;}"+(t?":host:not(.selected):hover button"+o+",:host button:focus":n+":not(.selected):hover button"+o+","+n+" button:focus")+o+" {color: var(--secondaryColor, #005290);transform: scale(1.2);}button:focus"+o+" {outline: none;box-shadow: none;background-color: var(--slds-g-color-neutral-base-95, #f3f2f2);}"}];const c=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,i={"slds-button":!0,"slds-button--icon-bare":!0},r={"slds-button__icon":!0};function d(e,t,s,o){const{b:n,c:l,d:d,sp:u,st:m,h:b}=e,{_m0:g}=o;return[b("button",{classMap:i,attrs:{type:"button",title:t.name,role:"button","aria-pressed":t.ariaPressed,tabindex:"0",value:t.name},key:0,on:{click:g||(o._m0=n(t.handleClick))}},[l("embeddedmessaging-emoji-primitive-icon",a.default,{classMap:r,props:{iconName:t.icon,size:"x-small",variant:"bare"},key:1}),m(c,3,[u(1,null,d(t.name))])])]}var u=t.registerTemplate(d);d.stylesheets=[],d.stylesheetToken="lwc-k465glg1qo",d.legacyStylesheetToken="embeddedMessaging-emojiCategory_emojiCategory",l&&d.stylesheets.push.apply(d.stylesheets,l),t.freezeTemplate(d);const m="selected";class b extends t.LightningElement{constructor(...e){super(...e),this.icon=void 0,this._selected=!1,this.name=void 0}get selected(){return this._selected}set selected(e){this._selected=e,!0===e?this.classList.add(m):this.classList.remove(m)}get ariaPressed(){return this._selected.toString()}setFocusOnButton(){o.util.waitForFrame(()=>{const e=this.template.querySelector("button");e&&e.focus()})}handleClick(){this.selected||this.dispatchEvent(new CustomEvent("selectcategory",{bubbles:!0,cancelable:!0,composed:!0,detail:{name:this.name}}))}}t.registerDecorators(b,{publicProps:{icon:{config:0},selected:{config:3},name:{config:0}},publicMethods:["setFocusOnButton"],fields:["_selected"]});const g=t.registerComponent(b,{tmpl:u,sel:"embeddedMessaging-emoji-category",apiVersion:62});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/emojiCategory', ['embeddedMessaging/emojiCategory'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiCategorySelector",["exports","lwc","embeddedmessaging/emojiCategory"],function(e,t,o){function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(o);var r=[function(e,t,o){var s=e?"["+e+"]":"";return".categories"+s+" {display: flex;justify-content: space-between;padding-bottom: 0.5rem;padding-left: 1rem;padding-right: 1rem;padding-top: 0.3125rem;}embeddedmessaging-emoji-category"+s+" {padding-top: 0.3125rem;padding-bottom: 0.5rem;border-top: 0.125rem solid transparent;}embeddedmessaging-emoji-category.selected"+s+" {border-top: 0.125rem solid var(--secondaryColor, #005290);}"}];const i={categories:!0},d={"slds-p-horizontal_x-small":!0};function n(e,t,o,s){const{b:r,k:n,c:c,h:g,i:l}=e,{_m0:m}=s;return[g("ul",{classMap:i,key:0,on:{selectcategory:m||(s._m0=r(t.handleCategorySelection))}},l(t._categories,function(e){return g("li",{key:n(1,e.name)},[c("embeddedmessaging-emoji-category",a.default,{classMap:d,props:{name:e.name,icon:e.icon,selected:e.selected},key:2})])}))]}var c=t.registerTemplate(n);n.stylesheets=[],n.stylesheetToken="lwc-5qqot9878rj",n.legacyStylesheetToken="embeddedMessaging-emojiCategorySelector_emojiCategorySelector",r&&n.stylesheets.push.apply(n.stylesheets,r),t.freezeTemplate(n);class g extends t.LightningElement{constructor(...e){super(...e),this._categories=[],this.providedCategories=[]}get categories(){return this.providedCategories}set categories(e){this.providedCategories=e;const t=this.selectedCategoryName;this._categories=e.map(e=>({icon:e.icon,name:e.displayName,selected:e.displayName===t}))}get selectedCategoryName(){return this._categories.reduce((e,t)=>t.selected?t.name:e,void 0)}set selectedCategoryName(e){this.updateChildCategories(e)}handleCategorySelection(e){e.stopPropagation();const t=e.detail.name;this.selectCategoryAndNotify(t)}selectCategoryAndNotify(e){this.updateChildCategories(e),this.dispatchEvent(new CustomEvent("categoryselected",{bubbles:!0,composed:!0,detail:{categoryName:e}}))}updateChildCategories(e){this._categories.forEach(t=>{t.selected=t.name===e})}}t.registerDecorators(g,{publicProps:{categories:{config:3},selectedCategoryName:{config:3}},publicMethods:["selectCategoryAndNotify"],track:{_categories:1},fields:["providedCategories"]});const l=t.registerComponent(g,{tmpl:c,sel:"embeddedMessaging-emoji-category-selector",apiVersion:62});e.default=l,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/emojiCategorySelector', ['embeddedMessaging/emojiCategorySelector'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiPicker",["exports","lwc","embeddedmessaging/emojiCategorizedViewer","embeddedmessaging/emojiCategorySelector","embeddedMessaging/labelUtils","embeddedMessaging/emojiLibrary"],function(e,t,a,o,s,i){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=r(a),c=r(o),n=r(i);const l={"slds-popover__body":!0,"slds-p-around_none":!0},g={classMap:{"slds-popover__footer":!0,"slds-theme_shade":!0,"slds-p-around_none":!0},key:3},m={attrs:{"aria-label":"Emoji categories"},key:4};function y(e,t,a,o){const{gid:s,b:i,c:r,h:n}=e,{_m0:y,_m1:p}=o;return[n("div",{classMap:l,attrs:{"aria-describedby":s("emojiKeyboard")},key:0},[n("div",{attrs:{id:s("emojiKeyboard"),"aria-label":t.labels.InputFooterEmojiKeyboardAssistiveText},key:1},[r("embeddedmessaging-emoji-categorized-viewer",d.default,{props:{categories:t.state.emojiData,activeCategoryName:t.state.activeCategoryName},key:2,on:{activecategorychanged:y||(o._m0=i(t.handleActiveCategoryChange))}})])]),n("footer",g,[n("nav",m,[r("embeddedmessaging-emoji-category-selector",c.default,{props:{categories:t.state.emojiCategoriesAndIcons,selectedCategoryName:t.state.activeCategoryName},key:5,on:{categoryselected:p||(o._m1=i(t.handleCategorySelection))}})])])]}var p=t.registerTemplate(y);y.stylesheets=[],y.stylesheetToken="lwc-fhcli587ef",y.legacyStylesheetToken="embeddedMessaging-emojiPicker_emojiPicker",t.freezeTemplate(y);const b=n.default.map(e=>({displayName:e.displayName,icon:e.icon}));class u extends t.LightningElement{constructor(...e){super(...e),this.state={emojiData:n.default,emojiCategoriesAndIcons:b,activeCategoryName:b[0].displayName},this.labels={}}connectedCallback(){this.handleLabels()}handleLabels(){this.labels.InputFooterEmojiKeyboardAssistiveText=s.getLabel("EmbeddedMessagingInputFooter","InputFooterEmojiKeyboardAssistiveText")}focus(){this.viewer.focus()}reset(){this.state.activeCategoryName=b[0].displayName}handleActiveCategoryChange(e){e.stopPropagation();const t=e.detail.name;this.state.activeCategoryName=t}handleCategorySelection(e){e.stopPropagation();const t=e.detail.categoryName;this.state.activeCategoryName=t}get viewer(){return this.template.querySelector("embeddedmessaging-emoji-categorized-viewer")}get categorySelector(){return this.template.querySelector("embeddedmessaging-emoji-category-selector")}focusOnFirstCategory(){this.categorySelector&&this.categorySelector.selectCategoryAndNotify(b[0].displayName)}focusOnLastCategory(){const e=b.length-1;this.categorySelector&&this.categorySelector.selectCategoryAndNotify(b[e].displayName)}}t.registerDecorators(u,{publicMethods:["focus","reset","focusOnFirstCategory","focusOnLastCategory"],track:{state:1,labels:1}});const h=t.registerComponent(u,{tmpl:p,sel:"embeddedMessaging-emoji-picker",apiVersion:62});e.default=h,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/emojiPicker', ['embeddedMessaging/emojiPicker'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiContainer",["exports","lwc","lightning/buttonIcon","embeddedmessaging/emojiPicker","embeddedMessaging/labelUtils","embeddedMessaging/common","embeddedMessaging/globalEventStore"],function(e,t,i,o,s,n,r){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=l(i),m=l(o);var d=[function(e,t,i){var o=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: inline-flex;}.emojiKeyboard"+o+" {left: 0;bottom: 70px;margin: 0 10px 0 10px;width: fit-content;font-size: var(--baseFontSize, medium);}.slds-nubbin_bottom-left"+o+":before,.slds-nubbin_bottom-left"+o+":after {margin-left: 1.25rem;}.slds-nubbin_bottom-right"+o+":before,.slds-nubbin_bottom-right"+o+":after {margin-right: 1.35rem;}"}];const c={emojiButton:!0};function u(e,t,i,o){const{gid:s,b:n,c:r,ncls:l,h:d}=e,{_m0:u,_m1:b,_m2:h,_m3:g}=o;return[r("lightning-button-icon",a.default,{classMap:c,props:{type:"button",iconName:"utility:emoji",size:"large",variant:"bare",title:t.labels.InputFooterEmojiButtonAssistiveText,alternativeText:t.labels.InputFooterEmojiButtonAssistiveText,ariaHasPopup:t.isEmojiKeyboardOpen,id:s("emojiButton"),disabled:t.isDisabled},key:0,on:{mousedown:u||(o._m0=n(t.onEmojiButtonMouseDown)),click:b||(o._m1=n(t.onEmojiButtonClick))}}),d("div",{className:l(t.emojiPickerVisibility),key:1},[d("div",{className:l(t.emojiKeyboardClassName),attrs:{role:"dialog","aria-modal":"true","aria-label":t.labels.InputFooterEmojiKeyboardAssistiveText},key:2,on:{focusout:h||(o._m2=n(t.onEmojiContainerBlur))}},[r("embeddedmessaging-emoji-picker",m.default,{key:3,on:{keydown:g||(o._m3=n(t.onEmojiPickerKeyDown))}})])])]}var b=t.registerTemplate(u);u.stylesheets=[],u.stylesheetToken="lwc-4mv06f81l3v",u.legacyStylesheetToken="embeddedMessaging-emojiContainer_emojiContainer",d&&u.stylesheets.push.apply(u.stylesheets,d),t.freezeTemplate(u);class h extends t.LightningElement{constructor(...e){super(...e),this.isEmojiKeyboardOpen=!1,this.cancelClosePopover=!1,this.labels={},this.isDisabled=void 0}get emojiPickerVisibility(){let e;return e=this.isEmojiKeyboardOpen?"slds-show":"slds-hide",e}get emojiKeyboardClassName(){return n.rtlUtil.isHtmlDirectionRTL()?"emojiKeyboard slds-popover slds-is-absolute slds-nubbin_bottom-right":"emojiKeyboard slds-popover slds-is-absolute slds-nubbin_bottom-left"}connectedCallback(){this.assignHandlers(),this.handleLabels(),this.applyStyling()}assignHandlers(){r.assignHandler(n.events.EMBEDDED_MESSAGING_CLOSE_EMOJI_KEYBOARD,this.handleCloseEmojiPicker.bind(this))}handleLabels(){this.labels.InputFooterEmojiButtonAssistiveText=s.getLabel("EmbeddedMessagingInputFooter","InputFooterEmojiButtonAssistiveText"),this.labels.InputFooterEmojiKeyboardAssistiveText=s.getLabel("EmbeddedMessagingInputFooter","InputFooterEmojiKeyboardAssistiveText")}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&e.sheet.insertRule("embeddedmessaging-emoji-container button.slds-button_icon { color: var(--secondaryColor, #005290); }",0)}handleOpenEmojiPicker(){this.isEmojiKeyboardOpen=!0,this.setFocusOnEmojiPicker()}handleCloseEmojiPicker(){this.isEmojiKeyboardOpen&&(this.isEmojiKeyboardOpen=!1,this.setFocusOnEmojiButton())}onEmojiButtonMouseDown(){this.cancelClosePopover=!0}onEmojiButtonClick(e){this.isEmojiKeyboardOpen?this.handleCloseEmojiPicker():this.handleOpenEmojiPicker(),this.cancelClosePopover=!1,n.LoggingUtil.logInteraction(e,this,"EmbeddedMessaging-EmojiContainer",{method:"onEmojiButtonClick"})}onEmojiContainerBlur(e){const t=this.querySelectEmojiPickerContainer();this.cancelClosePopover||(e.relatedTarget&&e.relatedTarget.className.includes("emojiButton")?this.setFocusOnLastElement():e.relatedTarget&&e.relatedTarget.className.includes("embeddedMessagingInputFooterTextArea")?this.setFocusOnFirstElement():t.contains(e.relatedTarget)||this.handleCloseEmojiPicker())}onEmojiPickerKeyDown(e){e.key===n.KEY_CODES.ESCAPE&&(e.preventDefault(),this.handleCloseEmojiPicker())}querySelectEmojiButton(){return this.template&&this.template.querySelector("lightning-button-icon.emojiButton")?this.template.querySelector("lightning-button-icon.emojiButton"):void 0}querySelectEmojiPickerContainer(){return this.template&&this.template.querySelector("div.emojiKeyboard")?this.template.querySelector("div.emojiKeyboard"):void 0}querySelectEmojiPicker(){return this.template&&this.template.querySelector("embeddedmessaging-emoji-picker")?this.template.querySelector("embeddedmessaging-emoji-picker"):void 0}setFocusOnEmojiButton(){n.util.waitForFrame(()=>{const e=this.querySelectEmojiButton();e&&e.focus()})}setFocusOnEmojiPicker(){n.util.waitForFrame(()=>{const e=this.querySelectEmojiPicker();e&&(e.reset(),e.focus())})}setFocusOnFirstElement(){n.util.waitForFrame(()=>{const e=this.querySelectEmojiPicker();e&&e.focusOnFirstCategory()})}setFocusOnLastElement(){n.util.waitForFrame(()=>{const e=this.querySelectEmojiPicker();e&&e.focusOnLastCategory()})}}t.registerDecorators(h,{publicProps:{isDisabled:{config:0}},publicMethods:["handleCloseEmojiPicker"],track:{labels:1},fields:["isEmojiKeyboardOpen","cancelClosePopover"]});const g=t.registerComponent(h,{tmpl:b,sel:"embeddedMessaging-emoji-container",apiVersion:62});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/emojiContainer', ['embeddedMessaging/emojiContainer'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/inputFooter",["exports","lwc","lightning/icon","embeddedmessaging/fileAttachmentDefaultIcon","embeddedmessaging/fileAttachmentFooter","embeddedmessaging/emojiContainer","embeddedMessaging/common","embeddedMessaging/countdownTimer","embeddedMessaging/brandingUtils","embeddedMessaging/labelUtils","embeddedMessaging/globalEventStore","embeddedMessaging/constants","embeddedMessaging/participant","embeddedmessaging/inAppService","embeddedMessaging/fileAttachmentFooter","embeddedMessaging/webStorageUtils"],function(e,t,s,i,n,a,r,o,l,d,c,h,m,g,u,p){function T(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var A=T(s),E=T(i),v=T(n),b=T(a),x=T(o);var S=[function(e,t,s){var i=e?"["+e+"]":"",n=e?"-"+e:"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"height: inherit;width: 100%;--sds-c-textarea-color-border: var(--slds-g-color-neutral-base-60, #939393);--sds-c-pill-color-border: var(--slds-g-color-neutral-base-60, #939393);padding: 0 2px 0 2px;}textarea"+i+" {font-size: 0.875em;}.embeddedMessagingInputTextAreaWrapper"+i+" {width: inherit;height: inherit;background-color: var(--slds-g-color-neutral-base-100, #ffffff);border: none;box-shadow: none;flex-grow: 1;}.embeddedMessagingInputFooterTextArea"+i+" {width: 100%;resize: none;padding-right: 2.5rem;color: var(--contrastPrimaryColor, #333333);overflow-x: hidden;}"+(s?"":'[dir="rtl"]')+" "+(s?":dir(rtl)":"")+" .embeddedMessagingInputFooterTextArea"+i+" {padding-left: 2.5rem;padding-right: 0.5rem;}.embeddedMessagingInputFooterTextArea:focus"+i+" {box-shadow: none;border: 1px solid var(--secondaryColor, #005290);}.embeddedMessagingSendButtonWrapper"+i+" {max-width: 100%;right: 0;bottom: 1.25rem;}"+(s?"":'[dir="rtl"]')+" "+(s?":dir(rtl)":"")+" .embeddedMessagingSendButtonWrapper"+i+" {left: 1.5rem;right: inherit;transform: scaleX(-1);}.embeddedMessagingSendButtonWrapper:hover"+i+" {opacity: 0.6;outline: 0;transition-timing-function: ease-in-out;transition: all 0.2s;}.embeddedMessagingSendButton"+i+" {padding: 8px 0;}.fileAttachmentButtonWrapper"+i+",.emojiButtonWrapper"+i+" {height: 100%;padding: 1rem 0 1rem 0.75rem;display: flex;align-items: center;flex: 0 1 auto;margin-bottom: 0;}"+(s?"":'[dir="rtl"]')+" "+(s?":dir(rtl)":"")+" .fileAttachmentButtonWrapper"+i+","+(s?"":'[dir="rtl"]')+" "+(s?":dir(rtl)":"")+" .emojiButtonWrapper"+i+" {padding: 1rem 0.75rem 1rem 0;}.fileAttachmentButtonWrapper:hover"+i+",.emojiButtonWrapper:hover"+i+" {outline: 0;transition-timing-function: ease-in-out;transition: all 0.2s;}.attachmentsContainer"+i+" {position: relative;flex-grow: 1;border: none;padding-left: 1rem;background: transparent;}.attachmentPill"+i+" {max-width: 150px;}.removeAttachmentButton"+i+" {background: transparent;pointer-events: all;cursor: pointer;}.attachmentErrorsContainer"+i+" {height: inherit;width: 40px;transform: scale(0.65) translateY(3rem);}.attachmentErrorsContainer"+i+" {-webkit-animation: attachment-error-toast-fade-out"+n+" 5s linear forwards;animation: attachment-error-toast-fade-out"+n+" 5s linear forwards;}@keyframes attachment-error-toast-fade-out"+n+"{from {opacity :1;}to {opacity :0;}}@-webkit-keyframes attachment-error-toast-fade-out{from"+i+" {opacity :1;}to"+i+" {opacity :0;}}.attachmentErrorsToast"+i+" {background-color: white;border: 2px solid red;}.attachmentErrorsTextContainer"+i+" {color: red;}.attachmentErrorsText"+i+" {font-weight: bold;}.attachmentErrorsIconContainer"+i+" {position: absolute;top: 50%;transform: translateY(-50%);}.errorMessageTextItem"+i+" {margin-left: 0.75rem;}.errorMessageTextItemContainer"+i+" {padding-left: 10px;}.attachmentsDiv"+i+" {z-index: 999;}.footerItemsContainer"+i+" {width: inherit;display: flex;}"}];const y=t.parseFragment`<span class="slds-assistive-text${0}"${2}>Invalid attachment errors</span>`,I=t.parseFragment`<li class="slds-m-vertical_medium errorMessageTextItem${0}"${2}><div class="slds-notify__content attachmentErrorsTextContainer${0}"${2}><h3 class="slds-text-heading_small attachmentErrorsText${0}"${2}>${"t3"}</h3></div></li>`,f=t.parseFragment`<span class="slds-pill__label${0}"${"a0:title"}${2}>${"t1"}</span>`,M=t.parseFragment`<textarea class="embeddedMessagingInputFooterTextArea slds-textarea slds-p-around_x-small${0}"${"a0:placeholder"}${"a0:aria-label"}${"a0:aria-description"}${"a0:disabled"} rows="1"${2}></textarea>`,_=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,F={classMap:{"slds-notify_container":!0,"slds-is-relative":!0,attachmentErrorsContainer:!0},key:0},C={classMap:{"slds-p-around_none":!0,"slds-notify":!0,"slds-notify_toast":!0,"slds-theme_error":!0,attachmentErrorsToast:!0},attrs:{role:"status"},key:1},w={classMap:{"slds-m-left_medium":!0,"slds-icon_container":!0,"slds-icon-utility-error":!0,"slds-m-right_small":!0,"slds-no-flex":!0,"slds-align-top":!0,attachmentErrorsIconContainer:!0},key:4},R={props:{iconName:"utility:error",alternativeText:"error",size:"small"},key:5},N={classMap:{"slds-m-left_x-large":!0,errorMessageTextItemContainer:!0},key:6},O={classMap:{"slds-pill_container":!0,attachmentsContainer:!0,"slds-m-top_medium":!0},key:9},B={"slds-listbox":!0,"slds-listbox_horizontal":!0,attachmentPillsList:!0},D={"slds-listbox-item":!0,"slds-p-around_xx-small":!0,attachmentPill:!0},P={role:"presentation"},L={"slds-pill":!0,attachmentPill:!0},k={classMap:{"slds-icon_container":!0,"slds-icon-standard-account":!0,"slds-pill__icon_container":!0},key:13},U={key:14},V={"slds-icon_container":!0,"slds-pill__remove":!0,removeAttachmentButton:!0},W={classMap:{footerItemsContainer:!0},key:20},$={classMap:{fileAttachmentButtonWrapper:!0,"slds-form-element":!0,"slds-p-right_small":!0},key:21},j={classMap:{emojiButtonWrapper:!0,"slds-p-left_small":!0},key:23},K={classMap:{embeddedMessagingInputTextAreaWrapper:!0,"slds-p-around_small":!0},key:25},z={classMap:{embeddedMessagingSendButtonWrapper:!0,"slds-is-fixed":!0,"slds-m-right_large":!0},key:28},G={"slds-button":!0,"slds-button_icon":!0,embeddedMessagingSendButton:!0},Y={classMap:{sendButtonIcon:!0},props:{iconName:"utility:send",size:"small"},key:30};function q(e,t,s,i){const{st:n,c:a,h:r,k:o,d:l,sp:d,i:c,gid:h,b:m}=e,{_m0:g,_m1:u,_m2:p,_m3:T,_m4:x,_m5:S,_m6:q,_m7:H,_m8:X,_m9:J,_m10:Z}=i;return[t.showInvalidAttachmentErrors?r("div",F,[r("div",C,[n(y,3),r("span",w,[a("lightning-icon",A.default,R)]),r("ul",N,c(t.generateInvalidAttachmentErrorMessages,function(e){return n(I,o(8,e.id),[d(3,null,l(e.text))])}))])]):null,t.showValidFileAttachmentSelection?r("div",O,[r("ul",{classMap:B,attrs:{role:"listbox","aria-label":t.labels.AttachedFilesAssistiveText,"aria-orientation":"horizontal","aria-description":t.labels.SendFileAttachmentAssistiveText},key:10},c(t.validAttachmentsListMap,function(e){return r("li",{classMap:D,attrs:P,key:o(11,e.attachmentName)},[r("span",{classMap:L,attrs:{id:h(e.attachmentName),role:"option",tabindex:"0","aria-selected":"true"},key:12},[r("span",k,[e.attachmentIconType?null:a("embeddedmessaging-file-attachment-default-icon",E.default,U),e.attachmentIconType?a("lightning-icon",A.default,{props:{iconName:e.attachmentIconType},key:15}):null]),n(f,17,[d(0,{attrs:{title:e.attachmentName}},null),d(1,null,l(e.attachmentName))]),r("span",{classMap:V,attrs:{tabindex:"0",id:h("removeAttachmentButton"),role:"button"},key:18,on:{click:g||(i._m0=m(t.handleRemoveAttachment)),keypress:u||(i._m1=m(t.handleRemoveAttachment))}},[a("lightning-icon",A.default,{props:{iconName:"utility:close",size:"x-small",title:e.removeAttachmentAssistiveText,id:h("removeAttachmentButtonIcon")},key:19})])])])}))]):null,r("div",W,[t.showEndUserAttachments?r("div",$,[a("embeddedmessaging-file-attachment-footer",v.default,{props:{configuration:t.configuration,validAttachments:t.validAttachments,invalidAttachments:t.invalidAttachments,isDisabled:t.isDisabled},key:22,on:{fileattachmentselected:p||(i._m2=m(t.handleFileAttachmentSelection))}})]):null,t.showEmojiPickerButton?r("div",j,[a("embeddedmessaging-emoji-container",b.default,{props:{isDisabled:t.isDisabled},key:24})]):null,r("div",K,[t.showTextArea?n(M,27,[d(0,{on:{input:q||(i._m6=m(t.handleInputChange)),keydown:H||(i._m7=m(t.handleKeyChange)),click:X||(i._m8=m(t.handleTextareaClick))},attrs:{placeholder:t.textareaPlaceholderText,"aria-label":t.labels.InputFooterTextAreaAssistiveLabelText,"aria-description":t.labels.InputFooterTextAreaAssistiveText,disabled:t.isDisabled?"":null}},null)]):null,t.showSendButton?r("div",z,[r("button",{classMap:G,attrs:{title:t.labels.InputFooterSendButton,"aria-live":"off"},key:29,on:{click:J||(i._m9=m(t.handleSendButtonClick)),keydown:Z||(i._m10=m(t.handleSendButtonKeyChange))}},[a("lightning-icon",A.default,Y),n(_,32,[d(1,null,l(t.labels.InputFooterSendButtonAssistiveText))])])]):null])])]}var H=t.registerTemplate(q);q.stylesheets=[],q.stylesheetToken="lwc-64sju2rf0mv",q.legacyStylesheetToken="embeddedMessaging-inputFooter_inputFooter",S&&q.stylesheets.push.apply(q.stylesheets,S),t.freezeTemplate(q);const X="EmbeddedMessaging-InputFooter";class J extends t.LightningElement{constructor(...e){super(...e),this.configuration=void 0,this.isMessageContentValid=!1,this.conversationStatus=void 0,this.conversationId=void 0,this.isMessageSendInProgress=!1,this.typingIndicatorTimer=void 0,this.isAgentTyping=void 0,this.labels={},this.validAttachments=[],this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[],this._inReplyToMessageId=void 0,this.conversationParticipants=void 0,this.isDisabled=void 0,this.initialRender=!0,this._textAreaValue=void 0,this._isTextAreaToBeShown=!0}get textareaPlaceholderText(){return m.isEndUserOnlyParticipant(this.conversationParticipants)?this.labels.InputFooterTextAreaPlaceholderEndUserOnlyParticipant:this.isDisabled&&this.conversationStatus===h.ConversationStatus.OPENED_CONVERSATION&&m.isBotParticipantPresent(this.conversationParticipants)?this.labels.InputFooterTextAreaPlaceHolderAwaitingResponse:this.labels.InputFooterTextAreaPlaceHolder}setInputAsReplyToChoices(e){e&&(this._inReplyToMessageId=e)}clearInputAsReplyToChoices(){this._inReplyToMessageId=void 0}connectedCallback(){this.applyStyling(),this.handleLabels(),this.configuration.embeddedServiceMessagingChannel.showEmojiSelection&&this.addEventListener("emojiselected",this.handleInsertEmoji.bind(this))}renderedCallback(){if(this.setFocusOnTextArea(),this.initialRender){if(!p.getItemInWebStorageByKey(h.STORAGE_KEYS.INPUT_FOOTER_RENDER_TIME)){const e=Date.now();p.setItemInWebStorage(h.STORAGE_KEYS.INPUT_FOOTER_RENDER_TIME,e),this.logTimeToWidgetReady(e)}this.initialRender=!1}}disconnectedCallback(){this.configuration.embeddedServiceMessagingChannel.showEmojiSelection&&this.removeEventListener("emojiselected",this.handleInsertEmoji.bind(this))}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet.insertRule("embeddedmessaging-input-footer lightning-icon.sendButtonIcon, embeddedmessaging-input-footer svg.slds-icon-text-default { fill: "+l.getBrandingValue(l.BRANDING_TOKENS.SECONDARY_COLOR.name)+" }",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-button:focus { box-shadow: none; border: 1px solid var(--secondaryColor, #005290); }",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-pill:focus { box-shadow: none; border: 1px solid var(--secondaryColor, #005290); }",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-file-selector__input:focus~.slds-file-selector__body>.slds-file-selector__button { box-shadow: none; border: 1px solid var(--secondaryColor, #005290); }",0)}handleInputChange(){this.isMessageSendInProgress||(this.validateMessageContent(),this.resizeTextArea(),""!==this.inputTextAreaValue&&0!==this.inputTextAreaValue.length&&(this.typingIndicatorTimer?this.typingIndicatorTimer.reset(Date.now()):(this.handleSendTypingIndicator(h.EntryTypes.TYPING_STARTED_INDICATOR),this.typingIndicatorTimer=new x.default(()=>{this.handleSendTypingIndicator(h.EntryTypes.TYPING_STOPPED_INDICATOR),this.typingIndicatorTimer=void 0},5e3,Date.now()),this.typingIndicatorTimer.start())))}handleSendTypingIndicator(e){g.sendTypingIndicator(this.conversationId,e).catch(e=>{this.dispatchEvent(new CustomEvent(r.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e}}))})}sendMessage(){const e=r.util.uuid(),t=this._inReplyToMessageId||void 0,s=this.inputTextAreaValue;r.createConversationEntryUtil.createStaticContentTextEntry(s,e,t),this.clearMessageContent(),this.setFocusOnTextArea(),c.dispatchEvent(r.events.EMBEDDED_MESSAGING_END_USER_SENT_MESSAGE,{}),this.isMessageSendInProgress=!0,this.typingIndicatorTimer&&(this.typingIndicatorTimer.clear(),this.typingIndicatorTimer=void 0,this.handleSendTypingIndicator(h.EntryTypes.TYPING_STOPPED_INDICATOR)),this.validateMessageContent(),this.isMessageSendInProgress=!1,this.clearInputAsReplyToChoices(),g.sendTextMessage(this.conversationId,s,e,t).catch(t=>{this.dispatchEvent(new CustomEvent(r.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:t,entryId:e}}))})}sendFileAttachmentMessage(e){const t=r.util.uuid(),s=e;r.createConversationEntryUtil.createStaticContentAttachmentsEntry(t,s),g.sendFileAttachment(this.conversationId,s,t).catch(e=>{this.dispatchEvent(new CustomEvent(r.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:t,attachedFile:s}}))})}handleSendButtonClick(){this.isMessageContentValid&&this.sendMessage(),this.validAttachments.forEach(e=>{this.sendFileAttachmentMessage(e)}),this.validAttachments=[],this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[]}validateMessageContent(){this.isMessageContentValid=Boolean(this.inputTextAreaValue)&&0!==this.inputTextAreaValue.trim().length&&!this.isDisabled}handleTextareaClick(){c.dispatchEvent(r.events.EMBEDDED_MESSAGING_CLOSE_EMOJI_KEYBOARD,{}),this.setFocusOnTextArea()}handleKeyChange(e){if(!this.isMessageSendInProgress&&void 0!==e.key&&!e.isComposing){const t=this.configuration&&this.configuration.embeddedServiceMessagingChannel&&this.configuration.embeddedServiceMessagingChannel.startNewLineOnEnter;e.key===r.KEY_CODES.ENTER&&e.altKey?t?(e.preventDefault(),this.handleSendButtonClick()):this.insertNewLineForTextArea():e.key!==r.KEY_CODES.ENTER||e.altKey?e.key!==r.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),this.getSendButton()?this.setFocusOnSendButton():c.dispatchEvent(r.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0})):(e.preventDefault(),t?this.insertNewLineForTextArea():this.handleSendButtonClick())}}handleSendButtonKeyChange(e){e.key!==r.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),c.dispatchEvent(r.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}insertNewLineForTextArea(){const e=this.getInputTextArea(),t=e.selectionStart,s=e.selectionEnd;e.value=e.value.slice(0,e.selectionStart)+"\n"+e.value.slice(e.selectionStart),e.selectionStart=t+1,e.selectionEnd=s+1,this.resizeTextArea()}clearMessageContent(){this.getInputTextArea().value="",this.resizeTextArea()}resizeTextArea(){const e=this.getInputTextArea(),t=this.getInnerWidth(e,["padding-left","padding-right"]),s=this.getStringLength(e,t);e.style.overflow="",s<=t?e.rows="1":s<=2*t?e.rows="2":s<=3*t?e.rows="3":s<=4*t?e.rows="4":(e.rows="4",e.style.overflowY="scroll",e&&e.selectionStart===this.inputTextAreaValue.length&&(e.scrollTop=e.scrollHeight))}setFocusOnTextArea(){r.util.waitForFrame(()=>{const e=this.getInputTextArea();e&&e.focus()})}setFocusOnSendButton(){r.util.waitForFrame(()=>{const e=this.getSendButton();e&&e.focus()})}getInnerWidth(e,t){let s=0,i=0,n=0;return t.forEach(t=>{s+=parseInt(window.getComputedStyle(e)[t],10)}),i=parseInt(window.getComputedStyle(e).width,10),n=i-s,n}getLastLineValue(e){const t=e.pop();return t||" "}getStringLength(e,t){const s=window.getComputedStyle(e)["font-size"]+" "+window.getComputedStyle(e)["font-family"],i=document.createElement("canvas").getContext("2d"),n=this.inputTextAreaValue.split("\n"),a=n.length;if(i.font=s,1===a)return i.measureText(this.inputTextAreaValue).width;const r=this.getLastLineValue(n);return t*(a-1)+i.measureText(r).width}getInputTextArea(){return this.template&&this.template.querySelector("textarea")?this.template.querySelector("textarea"):void 0}get inputTextAreaValue(){const e=this.getInputTextArea();return e?e.value:""}set inputTextAreaValue(e){r.util.waitForFrame(()=>{const t=this.getInputTextArea();t&&(t.value=e,t.dispatchEvent(new CustomEvent("input"))),this.validateMessageContent()})}getSendButton(){return this.template&&this.template.querySelector(".embeddedMessagingSendButtonWrapper > .embeddedMessagingSendButton")?this.template.querySelector(".embeddedMessagingSendButtonWrapper > .embeddedMessagingSendButton"):void 0}handleLabels(){this.labels.InputFooterTextAreaPlaceHolder=d.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaPlaceHolder"),this.labels.InputFooterTextAreaPlaceholderEndUserOnlyParticipant=d.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaPlaceholderEndUserOnlyParticipant"),this.labels.InputFooterTextAreaPlaceHolderAwaitingResponse=d.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaPlaceHolderAwaitingResponse"),this.labels.InputFooterSendButton=d.getLabel("EmbeddedMessagingInputFooter","InputFooterSendButton"),this.labels.InputFooterTextAreaAssistiveText=d.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaAssistiveText"),this.labels.InputFooterSendButtonAssistiveText=d.getLabel("EmbeddedMessagingInputFooter","InputFooterSendButtonAssistiveText"),this.labels.InputFooterTextAreaAssistiveLabelText=d.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaAssistiveLabelText"),this.labels.MaximumNumberOfFilesAllowedErrorText=d.getLabel("EmbeddedMessagingFileAttachments","MaximumNumberOfFilesAllowedErrorText"),this.labels.UnsupportedFileTypeErrorText=d.getLabel("EmbeddedMessagingFileAttachments","UnsupportedFileTypeErrorText"),this.labels.FileExceededSizeLimitErrorText=d.getLabel("EmbeddedMessagingFileAttachments","FileExceededSizeLimitErrorText"),this.labels.RemoveAttachmentButtonAssistiveText=d.getLabel("EmbeddedMessagingFileAttachments","RemoveAttachmentButtonAssistiveText"),this.labels.AttachedFilesAssistiveText=d.getLabel("EmbeddedMessagingFileAttachments","AttachedFilesAssistiveText"),this.labels.SendFileAttachmentAssistiveText=d.getLabel("EmbeddedMessagingFileAttachments","SendFileAttachmentAssistiveText")}get showEndUserAttachments(){switch(this.conversationStatus){case h.ConversationStatus.OPENED_CONVERSATION:return u.allowEndUserFileAttachments(this.configuration);case h.ConversationStatus.NOT_STARTED_CONVERSATION:case h.ConversationStatus.CLOSED_CONVERSATION:default:return!1}}getFileAttachmentsComponent(){return this.template&&this.template.querySelector("embeddedmessaging-file-attachment-footer")?this.template.querySelector("embeddedmessaging-file-attachment-footer"):void 0}handleFileAttachmentSelection(e){this._textAreaValue=this.inputTextAreaValue,e&&e.detail&&(e.detail.validAttachments&&(this.validAttachments=e.detail.validAttachments,r.LoggingUtil.logCurrentState(X,{method:"handleFileAttachmentSelection",stateMessage:`${e.detail.validAttachments.length} valid files attached of type ${e.detail.validAttachments.map(({type:e})=>e)}.`})),e.detail.invalidAttachments&&(this.invalidAttachments=e.detail.invalidAttachments),this.validateMessageContent(),this.setFocusOnSendButton())}handleRemoveAttachment(e){const t=e&&e.currentTarget&&e.currentTarget.parentNode&&e.currentTarget.parentNode.childNodes[1]&&e.currentTarget.parentNode.childNodes[1].title?e.currentTarget.parentNode.childNodes[1].title:"";this.validAttachments=this.validAttachments.filter(e=>e.name!==t),r.LoggingUtil.logInteraction(e,this,X,{method:"handleRemoveAttachment"}),r.LoggingUtil.logCurrentState(X,{method:"handleRemoveAttachment",stateMessage:`Attachment of type ${t.substr(t.lastIndexOf("."))} removed.`})}get showValidFileAttachmentSelection(){return!(!u.allowEndUserFileAttachments(this.configuration)||!this.validAttachments.length)}get showInvalidAttachmentErrors(){return!(!u.allowEndUserFileAttachments(this.configuration)||!this.invalidAttachments.length)}get generateInvalidAttachmentErrorMessages(){const e=this.configuration.attachments.maxFileSize||u.MAX_FILE_UPLOAD_SIZE;let t="",s="";if(this.validAttachments.length+this.invalidAttachments.length>u.MAX_NUMBER_ATTACHMENTS_ALLOWED){const e={};return e.id=this.labels.MaximumNumberOfFilesAllowedErrorText,e.text=this.labels.MaximumNumberOfFilesAllowedErrorText,this.invalidAttachmentErrorMessages=[...this.invalidAttachmentErrorMessages,e],setTimeout(()=>{this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[]},5e3),this.invalidAttachmentErrorMessages}if(this.invalidAttachments.length){for(const i of this.invalidAttachments)this.allowedFileTypes.indexOf(i.type)<0&&(t?t+=`, ${i.name}`:t=i.name),i.size>e&&!t.includes(i.name)&&(s?s+=`, ${i.name}`:s=i.name);if(t){const e={"{0}":t};this.labels.UnsupportedFileTypeErrorText=r.util.replacePlaceholdersInString(d.getLabel("EmbeddedMessagingFileAttachments","UnsupportedFileTypeErrorText"),e);const s={};s.id=this.labels.UnsupportedFileTypeErrorText,s.text=this.labels.UnsupportedFileTypeErrorText,this.invalidAttachmentErrorMessages=[...this.invalidAttachmentErrorMessages,s]}if(s){const t={"{0}":s,"{1}":u.getSizeinMegaByte(e)};this.labels.FileExceededSizeLimitErrorText=r.util.replacePlaceholdersInString(d.getLabel("EmbeddedMessagingFileAttachments","FileExceededSizeLimitErrorText"),t);const i={};i.id=this.labels.FileExceededSizeLimitErrorText,i.text=this.labels.FileExceededSizeLimitErrorText,this.invalidAttachmentErrorMessages=[...this.invalidAttachmentErrorMessages,i]}return setTimeout(()=>{this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[],t="",s=""},5e3),this.invalidAttachmentErrorMessages}return[]}get allowedFileTypes(){return u.allowedFileTypes()}get validAttachmentsListMap(){const e=[];for(const t of this.validAttachments){const s={},i={"{0}":t.name};s.attachment=t,s.attachmentName=t.name,s.attachmentIconType=u.getSupportedFileType(t.type),s.removeAttachmentAssistiveText=r.util.replacePlaceholdersInString(d.getLabel("EmbeddedMessagingFileAttachments","RemoveAttachmentButtonAssistiveText"),i),e.push(s)}return e}get showTextArea(){return this._isTextAreaToBeShown||!this.showEndUserAttachments}set showTextArea(e){this._isTextAreaToBeShown=e}get showSendButton(){return(this.isMessageContentValid||this.validAttachments.length)&&this.conversationStatus===h.ConversationStatus.OPENED_CONVERSATION}get showEmojiPickerButton(){switch(this.conversationStatus){case h.ConversationStatus.OPENED_CONVERSATION:return this.configuration.embeddedServiceMessagingChannel.showEmojiSelection&&this.showTextArea;case h.ConversationStatus.NOT_STARTED_CONVERSATION:case h.ConversationStatus.CLOSED_CONVERSATION:default:return!1}}handleInsertEmoji(e){let t,s,i,n,a;this.isDisabled||e&&e.detail&&e.detail.emoji&&(e.stopPropagation(),a=e.detail.emoji,t=this.getInputTextArea(),t&&(s=this.inputTextAreaValue,i=t.selectionStart,n=t.selectionEnd,a.length&&"string"==typeof s&&"number"==typeof i&&"number"==typeof n?(this.inputTextAreaValue=s.substring(0,i)+a+s.substring(n,s.length),t.selectionStart=i+a.length,t.selectionEnd=n+a.length,r.util.waitForFrame(()=>{t&&(t.focus(),t.blur())})):r.warning("Unable to insert emoji "+a+" into chat."))),this.handleCloseEmojiKeyboard()}handleCloseEmojiKeyboard(){const e=this.querySelectEmojiPicker();e&&e.handleCloseEmojiPicker()}querySelectEmojiPicker(){return this.template&&this.template.querySelector("embeddedmessaging-emoji-container")?this.template.querySelector("embeddedmessaging-emoji-container"):void 0}logTimeToWidgetReady(e){const t=p.getItemInWebStorageByKey(h.STORAGE_KEYS.PRECHAT_SUBMIT_TIME)||p.getItemInWebStorageByKey(h.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME);try{if(isNaN(t))r.LoggingUtil.logError("Time To Widget Ready",X,{method:"logTimeToWidgetReady",errMessage:`[Time To Widget Ready] Unable to calculate Time To Widget Ready - Expected a valid numerical Input Footer initiator time, instead received: ${t}`});else if(isNaN(e))r.LoggingUtil.logError("Time To Widget Ready",X,{method:"logTimeToWidgetReady",errMessage:`[Time To Widget Ready] Unable to calculate Time To Widget Ready - Expected a valid numerical Input Footer render time, instead received: ${e}`});else{const s=r.util.getEpochTimesDiffInSeconds(t,e);r.LoggingUtil.logCurrentState(X,{method:"logTimeToWidgetReady",stateMessage:`[Time To Widget Ready] Time To Widget Ready is ${s} seconds`})}}catch(s){r.LoggingUtil.logError(s,X,{method:"logTimeToWidgetReady",errMessage:`[Time To Widget Ready] Something went wrong while calculating Time To Widget Ready with Input Footer initiator time: ${t} and Input Footer render time: ${e}`})}}}t.registerDecorators(J,{publicProps:{configuration:{config:0},conversationStatus:{config:0},conversationId:{config:0},isAgentTyping:{config:0},conversationParticipants:{config:0},isDisabled:{config:0}},publicMethods:["setInputAsReplyToChoices","clearInputAsReplyToChoices","handleInputChange","sendMessage","handleSendButtonClick","setFocusOnTextArea"],track:{labels:1},fields:["isMessageContentValid","isMessageSendInProgress","typingIndicatorTimer","validAttachments","invalidAttachments","invalidAttachmentErrorMessages","_inReplyToMessageId","initialRender","_textAreaValue","_isTextAreaToBeShown"]});const Z=t.registerComponent(J,{tmpl:H,sel:"embeddedMessaging-input-footer",apiVersion:62});e.default=Z,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/inputFooter', ['embeddedMessaging/inputFooter'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatWebViewOverlay",["exports","lwc","embeddedmessaging/confirmationDialog","embeddedMessaging/labelUtils","embeddedMessaging/common","lightningsnapin/eventStore","embeddedMessaging/constants"],function(e,t,o,a,i,n,l){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(o);var c=[function(e,t,o){var a=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"font-family: var(--font, Arial, sans-serif);font-size: var(--baseFontSize, medium);}.web-view-overlay"+a+",.web-view-overlay-frame"+a+",.web-view-overlay-confirmation-dialog"+a+" {display: flex;flex-direction: column;flex: 1 1 auto;text-align: center;align-content: stretch;justify-content: center;height: calc(100vh - 50px);width: 100%;background: var(--slds-g-color-neutral-base-100, #FFFFFF);}iframe.web-view-overlay-frame"+a+" {border: 0;}.confirmation-dialog-content"+a+" {display: flex;flex-direction: column;flex: 1 1 auto;justify-content: center;text-align: center;padding: 0 24px;}h3.confirmation-dialog-title"+a+" {margin: 0 0 4px;font-size: 1.125em;font-weight: 700;line-height: 27px;}span.confirmation-dialog-body"+a+" {margin: 4px 0 0;font-size: 0.75em;font-weight: 400;line-height: 21px;}.confirmation-dialog-footer"+a+" {flex: 0 1 auto;padding: 0 24px 16px;box-sizing: border-box;}.confirmation-dialog-button"+a+" {border-radius: 22px;}.confirmation-dialog-button"+a+" > button"+a+" {height: 48px;min-height: 48px;margin: 0 0 8px;border: none;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}.confirmation-dialog-button"+a+" > button:focus"+a+" {outline: none;box-shadow: 0 0 3px 0 var(--secondaryColor, #005290);text-shadow: none;text-decoration: underline;text-decoration-color: var(--slds-g-color-neutral-base-100, #FFFFFF);}.confirmButton"+a+" {background: var(--secondaryColor, #005290);color: var(--slds-g-color-neutral-base-100, #FFFFFF);}.cancelButton"+a+" {background: var(--slds-g-color-neutral-base-100, #FFFFFF);color: var(--secondaryColor, #005290);}"}];const d=t.parseFragment`<iframe class="web-view-overlay-frame${0}" name="messaging_postChatURL"${"a0:title"}${"a0:src"}${2}></iframe>`,g={classMap:{"web-view-overlay":!0},key:0};function m(e,t,o,a){const{sp:i,st:n,b:l,c:r,h:c}=e,{_m0:m,_m1:u}=a;return[c("div",g,[t.displayConfirmationDialog?null:n(d,2,[i(0,{attrs:{title:t.iframeTitle,src:t.url}},null)]),t.displayConfirmationDialog?r("embeddedmessaging-confirmation-dialog",s.default,{props:{dialogTitleText:t.labels.DialogTitleText,dialogBodyText:t.labels.DialogBodyText,confirmButtonLabel:t.labels.ConfirmButtonLabel,cancelButtonLabel:t.labels.CancelButtonLabel},key:3,on:{confirmbuttonclick:m||(a._m0=l(t.onConfirmButtonClick)),cancelbuttonclick:u||(a._m1=l(t.onCancelButtonClick))}}):null])]}var u=t.registerTemplate(m);m.stylesheets=[],m.stylesheetToken="lwc-6vgef9us112",m.legacyStylesheetToken="embeddedMessaging-chatWebViewOverlay_chatWebViewOverlay",c&&m.stylesheets.push.apply(m.stylesheets,c),t.freezeTemplate(m);const f="http:",b="https:",h=e=>{let t;if(!i.isString(e))throw new Error(`Expected value to be a 'string', but received: ${e||typeof e}`);try{if(t=new URL(e),t.protocol!==f&&t.protocol!==b)throw new Error(`URL protocol ${t.protocol} is not allowlisted.`)}catch(t){throw new Error(`URL ${e} failed validation. ${t}`)}return t},p="EmbeddedMessaging-ChatWebViewOverlay",v="toggleoverlay";class y extends t.LightningElement{constructor(...e){super(...e),this.url=void 0,this.title=void 0,this.iframeTitle=void 0,this.labels={},this.displayConfirmationDialog=void 0}connectedCallback(){this.handleLabels(),this.iframeTitle=this.title||this.labels.OverlayTitle}renderedCallback(){n.dispatchMessagingEvent(n.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!this.displayConfirmationDialog})}handleLabels(){this.labels.OverlayTitle=a.getLabel("EmbeddedMessagingPostchat","PostchatFrameTitle"),this.labels.DialogTitleText=a.getLabel("EmbeddedMessagingPostchat","PostchatConfirmationDialogTitleText"),this.labels.DialogBodyText=a.getLabel("EmbeddedMessagingPostchat","PostchatConfirmationDialogBodyText"),this.labels.ConfirmButtonLabel=a.getLabel("EmbeddedMessagingPostchat","PostchatConfirmationDialogConfirmButton"),this.labels.CancelButtonLabel=a.getLabel("EmbeddedMessagingPostchat","PostchatConfirmationDialogCancelButton")}hideWebViewOverlay(){this.dispatchEvent(new CustomEvent(v,{detail:{displayOverlay:!1}}))}onConfirmButtonClick(e){this.hideWebViewOverlay(),i.LoggingUtil.logInteraction(e,this,p,{method:"onConfirmButtonClick"})}onCancelButtonClick(e){this.dispatchEvent(new CustomEvent(v,{detail:{hideConfirmtaionDialog:!0}})),i.LoggingUtil.logInteraction(e,this,p,{method:"onCancelButtonClick"})}}t.registerDecorators(y,{publicProps:{url:{config:0},title:{config:0},displayConfirmationDialog:{config:0}},track:{labels:1},fields:["iframeTitle"]});const w=t.registerComponent(y,{tmpl:u,sel:"embeddedMessaging-chat-web-view-overlay",apiVersion:62});e.constructAutoResponseURL=(e,t,o)=>{const a={};let n;try{if(Array.isArray(t))for(const e of t)l.getValueType(e.value)===l.ValueTypes.TEXT_VALUE?a[e.name]=l.getTextValue(e.value):i.warning(`Unsupported value type ${l.getValueType(e.value)} for parameter ${e.name}`);else i.warning("Parameters received from Auto-Response Messaging Component are empty.");if(Object.assign(a,o),e){const t=h(e);return n=decodeURI(t.href).replaceAll(i.AUTORESPONSE_URL_PLACEHOLDER_REGEX,e=>{const t=i.AUTORESPONSE_URL_PLACEHOLDER_REGEX.exec(e);if(i.AUTORESPONSE_URL_PLACEHOLDER_REGEX.lastIndex=0,null!==t&&t[1]){const o=t[1];if(Object.keys(a).includes(o))return a[o];i.warning(`Unable to replace query string parameter ${o}. URL will include placeholder ${e}.`)}return e}),h(n),n}}catch(e){throw new Error(`Error constructing web view URL from Auto-Response. ${e&&e.message?e.message:e}`)}return n},e.default=w,e.requestParametersFromAutoResponseAPI=()=>{i.util.sendPostMessageToOrigin(i.util.getParentWindowUrl(),i.events.APP_REQUEST_AUTORESPONSE_PARAMETERS_EVENT_NAME)},e.validateParametersFromAutoResponseAPI=e=>{if("object"!=typeof e||"[object Object]"!==Object.prototype.toString.call(e))throw new Error(`Expected value to be an 'object', but received: ${e||typeof e}`);if(Object.keys(e).length>0)for(const[t,o]of Object.entries(e))i.validateString(t),i.validateString(o);else i.warning("[Auto-Response API] Parameters received from host domain are empty.")},Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/chatWebViewOverlay', ['embeddedMessaging/chatWebViewOverlay'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryRoutingResult",["exports","lwc","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/common"],function(e,t,n,i,s){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(n);class o extends a.default{constructor(e,t,n,i,s,r,a,o,u,d=null){super(e,t,n,i,s,r,a,o,u),super.validate()}get isRoutingResultSystemEvent(){return this.isSystemEvent&&this.entryType===i.EntryTypes.ROUTING_RESULT}get isRoutingSuccessful(){return this.isRoutingResultSystemEvent&&this.content.failureType===i.RoutingFailureTypes.NO_ERROR}get isInitialRouting(){return this.isRoutingResultSystemEvent&&this.messageType===i.RoutingTypes.INITIAL}get isInitialRoutingFailure(){return this.isInitialRouting&&(this.content.failureType===i.RoutingFailureTypes.SUBMISSION_ERROR||this.content.failureType===i.RoutingFailureTypes.ROUTING_ERROR||this.content.failureType===i.RoutingFailureTypes.UNKNOWN_ERROR)}get isTransferRouting(){return this.isRoutingResultSystemEvent&&this.messageType===i.RoutingTypes.TRANSFER}get isTransferRoutingInitiated(){return this.isTransferRouting&&this.content.failureType===i.RoutingFailureTypes.NO_ERROR}get shouldShowRoutingResultSystemEventText(){return this.isInitialRoutingFailure||this.isTransferRoutingInitiated}get shouldShowEstimatedWaitTime(){let e;return!!(this.isRoutingSuccessful&&this.content&&this.content.estimatedWaitTime)&&(e=this.content.estimatedWaitTime.estimatedWaitTimeInSeconds,!(!s.isNumber(e)||e<=0)||(s.warning(`estimated wait time (in seconds): ${e}`),!1))}get estimatedWaitTimeInMinutes(){return this.shouldShowEstimatedWaitTime?Math.ceil(this.content.estimatedWaitTime.estimatedWaitTimeInSeconds/60):1}get hasRoutingFailureReason(){return s.isString(this.content.failureReason)}get shouldShowRoutingFailureReason(){return this.isInitialRoutingFailure&&this.hasRoutingFailureReason}get routingFailureReason(){return s.isString(this.content.failureReason)?this.content.failureReason:""}validate(){try{n.validateMessageType(this.messageType),s.validateString(this.content.failureType),s.validateObject(this.content.estimatedWaitTime)}catch(e){s.error(`Error validating conversation entry properties: ${e}`)}}static populateConversationEntryObject(e){const t=JSON.parse(e.conversationEntry.entryPayload);return a.default.populateConversationEntryObject({conversationId:e.conversationId,messageId:e.conversationEntry.identifier,content:t,messageType:t.routingType,entryType:t.entryType,sender:e.conversationEntry.sender,actorName:e.conversationEntry.senderDisplayName?e.conversationEntry.senderDisplayName:e.conversationEntry.sender.role,actorType:e.conversationEntry.sender.role,transcriptedTimestamp:e.conversationEntry.transcriptedTimestamp})}static createConversationEntry(e){return new o(e.conversationId,e.messageId,e.content,e.messageType,e.entryType,e.sender,e.actorName,e.actorType,e.transcriptedTimestamp)}}const u=t.registerComponent(o,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-routing-result",apiVersion:62});e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationEntryRoutingResult', ['embeddedMessaging/conversationEntryRoutingResult'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryParticipantChanged",["exports","lwc","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/participant"],function(t,e,n,r,i,a){function s(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=s(n);class c extends o.default{constructor(t,e,n,r,i,a,s,o,c,p=null){super(t,e,n,r,i,a,s,o,c),super.validate()}get isParticipantChangedSystemEvent(){return this.isSystemEvent&&this.entryType===r.EntryTypes.PARTICIPANT_CHANGED}get isParticipantForParticipantChangedSystemEventAnAgent(){const t=this.participantObject;return!!t&&!!a.isAgentParticipant(t)}get isParticipantForParticipantChangedSystemEventAChatbot(){const t=this.participantObject;return!!t&&!!a.isBotParticipant(t)}get participantEntries(){return this.isParticipantChangedSystemEvent&&Array.isArray(this.content.entries)&&this.content.entries.length?this.content.entries:[]}get participantObject(){let t;try{t=this.participantEntries&&this.participantEntries[0].participant?this.participantEntries[0].participant:void 0}catch(t){i.error(`Error getting participant object from a conversation entry: ${t}`)}return t}validate(){try{n.validateMessageType(this.messageType)}catch(t){i.error(`Error validating conversation entry properties: ${t}`)}}static populateConversationEntryObject(t){const e=JSON.parse(t.conversationEntry.entryPayload);return o.default.populateConversationEntryObject({conversationId:t.conversationId,messageId:t.conversationEntry.identifier,content:e,messageType:e.entries[0].operation,entryType:e.entryType,sender:t.conversationEntry.sender,actorName:e.entries[0].displayName||e.entries[0].participant.role,actorType:t.conversationEntry.sender.role,transcriptedTimestamp:t.conversationEntry.transcriptedTimestamp})}static createConversationEntry(t){return new c(t.conversationId,t.messageId,t.content,t.messageType,t.entryType,t.sender,t.actorName,t.actorType,t.transcriptedTimestamp)}}const p=e.registerComponent(c,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-participant-changed",apiVersion:62});t.default=p,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationEntryParticipantChanged', ['embeddedMessaging/conversationEntryParticipantChanged'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryFactory",["exports","lwc","embeddedMessaging/conversationEntryMessage","embeddedMessaging/conversationEntryParticipantChanged","embeddedMessaging/conversationEntryRoutingResult","embeddedMessaging/conversationEntry","embeddedMessaging/common","embeddedMessaging/constants"],function(e,t,r,n,o,a,s,i){function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=y(r),c=y(n),p=y(o);function v(e){if(e&&e.data&&"string"==typeof e.data){const t=JSON.parse(e.data);if(t&&"object"==typeof t)return t;throw new Error("Error parsing data in server sent event.")}throw new Error("Invalid data in server sent event.")}function E(e){if(e&&e.conversationEntry&&"object"==typeof e.conversationEntry)return e.conversationEntry;throw new Error("Error validating conversation entry in event.")}function l(e){if(e&&e.entryPayload&&"string"==typeof e.entryPayload){const t=JSON.parse(e.entryPayload);if(t&&"object"==typeof t)return t;throw new Error("Error parsing entry payload in conversation entry.")}throw new Error("Invalid entry payload in conversation entry.")}function f(e){let t,r;if(!e||!e.conversationEntry||"object"!=typeof e.conversationEntry)throw new Error("Invalid conversation entry from event payload.");if(t=l(e.conversationEntry),!t||!t.entryType||"string"!=typeof t.entryType)throw new Error("Error getting entry type from conversation entry from event payload.");return r=t.entryType,r}const u={[i.EntryTypes.CONVERSATION_MESSAGE.toUpperCase()]:d.default,[i.EntryTypes.PARTICIPANT_CHANGED.toUpperCase()]:c.default,[i.EntryTypes.ROUTING_RESULT.toUpperCase()]:p.default};const g=t.registerComponent(class{constructor(e){this._handlers={};const t=this.getEntryType(e).toUpperCase();let r={};if(this.isEntryTypeSupported(t))try{if(this._handlers=u[t],"function"!=typeof this._handlers.populateConversationEntryObject||"function"!=typeof this._handlers.createConversationEntry)throw new Error("Factory handler methods are not valid functions.");return r=this._handlers.populateConversationEntryObject(e),a.validateConversationEntryProperties(r,!0),this._handlers.createConversationEntry({conversationId:r.conversationId,messageId:r.messageId,content:r.content,messageType:r.messageType,entryType:r.entryType,sender:r.sender,actorName:r.actorName,actorType:r.actorType,transcriptedTimestamp:r.transcriptedTimestamp,messageReason:r.messageReason})}catch(e){s.error(`Error creating conversation entry of type ${t}: ${e}`)}else s.error(`Entry type ${t} is not supported by conversation entry factory.`)}getSupportedEntryTypes(){return Object.keys(u)||[]}getEntryType(e){return f(e)?f(e):""}isEntryTypeSupported(e){let t=!1;return e&&s.isString(e)?this.getSupportedEntryTypes().includes(e)&&(t=!0):s.warning(`Expected valid entryType, but received: ${e}`),t}static parseServerSentEventData(e){return v(e)}static parseServerSentConversationEntry(e){return E(e)}static parseServerSentConversationEntryPayload(e){return l(e)}},{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-factory",apiVersion:62});e.createConversationEntryFactory=function(e){return new g(e)},e.default=g,e.getConversationEntryType=f,e.getConversationIdentifier=function(e){const t=e&&e.conversationId?e.conversationId:void 0;if(s.isString(t))return t;throw new Error("Error getting conversationId from event payload.")},e.getParticipantChangedDisplayName=function(e){if(Array.isArray(e.entries)&&void 0!==e.entries[0]){const t=e.entries[0];return t.displayName?t.displayName:t.participant.role}},e.getSenderDisplayName=function(e){return e&&e.conversationEntry&&e.conversationEntry.senderDisplayName||""},e.getSenderRole=function(e){return e&&e.conversationEntry&&e.conversationEntry.sender&&e.conversationEntry.sender.role||""},e.parseServerSentConversationEntry=E,e.parseServerSentConversationEntryPayload=l,e.parseServerSentEventData=v,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationEntryFactory', ['embeddedMessaging/conversationEntryFactory'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/formattedDateTime",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/internationalizationLibrary","lightning/utilsPrivate"],function(t,e,i,o,n){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=r(i);function s(t,e,i,o){const{d:n,t:r}=t;return[r(n(e.formattedValue))]}var h=e.registerTemplate(s);s.stylesheets=[],s.stylesheetToken="lwc-klp6k35fm",s.legacyStylesheetToken="lightning-formattedDateTime_formattedDateTime",e.freezeTemplate(s);class u extends a.default{constructor(...t){super(...t),this.value=void 0,this.weekday=void 0,this.era=void 0,this.year=void 0,this.month=void 0,this.day=void 0,this.hour=void 0,this.minute=void 0,this.second=void 0,this.timeZoneName=void 0,this.timeZone=void 0,this._hour12=!1,this._hour12Set=!1}get hour12(){return this._hour12}set hour12(t){void 0===t?(this._hour12Set=!1,this._hour12=t):(this._hour12Set=!0,this._hour12=n.normalizeBoolean(t))}get formattedValue(){return n.toFormattedDate(this,o.dateTimeFormat)}getOptions(){return n.toDateTimeFormatOptions(this)}}e.registerDecorators(u,{publicProps:{value:{config:0},weekday:{config:0},era:{config:0},year:{config:0},month:{config:0},day:{config:0},hour:{config:0},minute:{config:0},second:{config:0},timeZoneName:{config:0},timeZone:{config:0},hour12:{config:3}},track:{_hour12:1,_hour12Set:1}});const d=e.registerComponent(u,{tmpl:h,sel:"lightning-formatted-date-time",apiVersion:62});t.default=d,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("embeddedMessaging/chatTypingIndicator",["exports","lwc"],function(e,a){var t=[function(e,a,t){var n=e?"["+e+"]":"",i=e?"-"+e:"";return".loadingBall"+n+" {font-size: 4px;text-align: left;float: left;margin: 0px 1.5px;max-width: 100%;width: 4px;height: 4px;border-radius: 50%;background-color: var(--slds-g-color-neutral-base-100, white);animation-delay: -0.5s;animation: chatTypingIndicatorAnimate"+i+" 2.5s infinite ease-in-out;}.second"+n+" {animation-delay: 3s;}.third"+n+" {animation-delay: 4s;}@keyframes chatTypingIndicatorAnimate"+i+" {0% {opacity: 0;}35% {opacity: 1;}50% {opacity: 1;}}"}];const n=a.parseFragment`<div class="loadingBallsContainer${0}" aria-hidden="true"${2}><span class="loadingBall first${0}"${2}></span><span class="loadingBall second${0}"${2}></span><span class="loadingBall third${0}"${2}></span></div>`;function i(e,a,t,i){const{st:s}=e;return[s(n,1)]}var s=a.registerTemplate(i);i.stylesheets=[],i.stylesheetToken="lwc-22793iaukvo",i.legacyStylesheetToken="embeddedMessaging-chatTypingIndicator_chatTypingIndicator",t&&i.stylesheets.push.apply(i.stylesheets,t),a.freezeTemplate(i);class l extends a.LightningElement{}const o=a.registerComponent(l,{tmpl:s,sel:"embeddedMessaging-chat-typing-indicator",apiVersion:62});e.default=o,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/chatTypingIndicator', ['embeddedMessaging/chatTypingIndicator'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatUnseenMessageNotification",["exports","lwc","lightning/buttonIcon","embeddedmessaging/chatTypingIndicator","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(e,s,i,n,t,a,o){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(i),u=l(n);var g=[function(e,s,i){var n=e?"["+e+"]":"",t=e?"-"+e:"";return[".unseenMessageNotification",n," {position: absolute;display: flex;flex-direction: column;flex-wrap: nowrap;justify-content: center;align-items: center;height: 60px;width: 36px;bottom: 0;left: 0.5rem;pointer-events: none;}",i?"":'[dir="rtl"]'," ",i?":dir(rtl)":""," .unseenMessageNotification",n," {left: auto;transform: translateX(-1px);}.unseenMessageNotification",n," > .scrollDownButton:hover",n,",.unseenMessageNotification",n," > .unseenMessageBubble:hover",n," {cursor: pointer;}.unseenMessageNotification",n," .unseenMessageBubble",n," {order: 0;position: relative;top: 5px;display: flex;width: 30px;height: 30px;border-radius: 50%;margin: 0 0.25rem;justify-content: center;align-items: center;border: none;pointer-events: auto;background-color: var(--contrastPrimaryColor, #333333);}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount",n," {color: var(--slds-g-color-neutral-base-95, #F4F4F4);font-weight: bold;font-size: 1rem;}.messageCount",n," {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.unseenMessageNotification",n," .scrollDownButton",n,",.scrollDownButton",n," button",n," {order: 1;position: relative;margin-top: auto;pointer-events: auto;}@supports (-moz-appearance:none) {.unseenMessageNotification",n," .unseenMessageBubble",n," {z-index: 1;}}.unseenMessageNotification.hideMessageCount",n," {-webkit-animation: notification-exit-fade-out",t," 0.3s ease-in both;animation: notification-exit-fade-out",t," 0.3s ease-in both;}.unseenMessageNotification",n," .scrollDownButton",n," {-webkit-animation: unseen-message-notification-fade-in",t," 0.5s ease-out both;animation: unseen-message-notification-fade-in",t," 0.5s ease-out both;}.unseenMessageNotification",n," .unseenMessageBubble",n," {-webkit-animation: bubble-scale-in-bottom-left",t," 0.3s ease-out both;animation: bubble-scale-in-bottom-left",t," 0.3s ease-out both;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount.showMessageCount",n," {-webkit-animation: message-count-increment-slide-in-top",t," 0.3s cubic-bezier(0.075, 0.820, 0.165, 1.000) both;animation: message-count-increment-slide-in-top",t," 0.3s cubic-bezier(0.075, 0.820, 0.165, 1.000) both;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount.showNinePlusMessageCount",n," {-webkit-animation: unseen-message-notification-fade-in",t," 0.3s ease-out both;animation: unseen-message-notification-fade-in",t," 0.3s ease-out both;}@media not screen and (prefers-reduced-motion: no-preference),only screen and (prefers-reduced-motion: reduce) {.unseenMessageNotification.hideMessageCount",n," {-webkit-animation: none;animation: none;}.unseenMessageNotification",n," .scrollDownButton",n," {-webkit-animation: none;animation: none;}.unseenMessageNotification",n," .unseenMessageBubble",n," {-webkit-animation: none;animation: none;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount.showMessageCount",n," {-webkit-animation: none;animation: none;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount.showNinePlusMessageCount",n," {-webkit-animation: none;animation: none;}}@-webkit-keyframes unseen-message-notification-fade-in {0%",n," {opacity: 0;visibility: hidden;}100%",n," {opacity: 1;visibility: visible;}}@keyframes unseen-message-notification-fade-in",t," {0% {opacity: 0;visibility: hidden;}100% {opacity: 1;visibility: visible;}}@-webkit-keyframes bubble-scale-in-bottom-left {0%",n," {-webkit-transform: scale(0);transform: scale(0);-webkit-transform-origin: 0% 100%;transform-origin: 0% 100%;opacity: 1;visibility: hidden;}100%",n," {-webkit-transform: scale(1);transform: scale(1);-webkit-transform-origin: 0% 100%;transform-origin: 0% 100%;opacity: 1;visibility: visible;}}@keyframes bubble-scale-in-bottom-left",t," {0% {-webkit-transform: scale(0);transform: scale(0);-webkit-transform-origin: 0% 100%;transform-origin: 0% 100%;opacity: 1;visibility: hidden;}100% {-webkit-transform: scale(1);transform: scale(1);-webkit-transform-origin: 0% 100%;transform-origin: 0% 100%;opacity: 1;visibility: visible;}}@-webkit-keyframes message-count-increment-slide-in-top {0%",n," {-webkit-transform: translateY(-30px);transform: translateY(-30px);opacity: 0;visibility: hidden;}100%",n," {-webkit-transform: translateY(0);transform: translateY(0);opacity: 1;visibility: visible;}}@keyframes message-count-increment-slide-in-top",t," {0% {-webkit-transform: translateY(-30px);transform: translateY(-30px);opacity: 0;visibility: hidden;}100% {-webkit-transform: translateY(0);transform: translateY(0);opacity: 1;visibility: visible;}}@-webkit-keyframes notification-exit-fade-out {0%",n," {opacity: 1;visibility: visible;}100%",n," {opacity: 0;visibility: hidden;}}@keyframes notification-exit-fade-out",t," {0% {opacity: 1;visibility: visible;}100% {opacity: 0;visibility: hidden;}}"].join("")}];const c=s.parseFragment`<span${"c0"} aria-hidden="true"${"a0:title"} tabindex="0"${"a0:id"}${2}>${"t1"}</span>`,b={unseenMessageNotification:!0},d={scrollDownButton:!0},m={unseenMessageBubble:!0},f={key:4};function h(e,s,i,n){const{gid:t,b:a,c:o,h:l,ncls:g,d:h,sp:M,st:p}=e,{_m0:y,_m1:v,_m2:N}=n;return[l("div",{classMap:b,attrs:{id:t("unseenMessageNotification")},key:0,on:{click:y||(n._m0=a(s.handleClick))}},[l("div",{classMap:d,attrs:{id:t("scrollDownButton"),"aria-live":"assertive"},key:1},[o("lightning-button-icon",r.default,{props:{iconName:"utility:chevrondown",size:"medium",variant:"bare",alternativeText:s.unseenMessageNotificationAssistiveLabel,id:t("scrollDownButtonIcon")},key:2})]),s.shouldDisplayBubble?l("div",{classMap:m,attrs:{id:t("unseenMessageBubble")},key:3},[s.isAnotherParticipantTyping?o("embeddedmessaging-chat-typing-indicator",u.default,f):null,s.isAnotherParticipantTyping?null:p(c,6,[M(0,{on:{keypress:N||(n._m2=a(s.handleClick))},className:g(s.unseenMessageCountClass),attrs:{title:s.numberOfUnreadMessages,id:t("unseenMessageCountText")}},null),M(1,null,h(s.numberOfUnreadMessages))])]):null])]}var M=s.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-6berj1hjgql",h.legacyStylesheetToken="embeddedMessaging-chatUnseenMessageNotification_chatUnseenMessageNotification",g&&h.stylesheets.push.apply(h.stylesheets,g),s.freezeTemplate(h);class p extends s.LightningElement{constructor(...e){super(...e),this.unseenMessageCount=void 0,this.isAnotherParticipantTyping=void 0,this.labels={},this.isAnimating=!1}connectedCallback(){a.validateNumber(this.unseenMessageCount),a.validateBoolean(this.isAnotherParticipantTyping),this.handleLabels()}get shouldDisplayBubble(){return this.unseenMessageCount>0||this.isAnotherParticipantTyping}get numberOfUnreadMessages(){return this.unseenMessageCount<=9?this.unseenMessageCount:this.labels.NinePlusUnseenMessageCount}get unseenMessageNotificationAssistiveLabel(){const e={"{0}":this.unseenMessageCount};return 0===this.unseenMessageCount||this.isAnotherParticipantTyping?this.labels.ZeroUnseenMessagesAssistiveText:this.unseenMessageCount<=9?a.util.replacePlaceholdersInString(this.labels.UnseenMessagesAssistiveText,e):this.labels.NinePlusUnseenMessagesAssistiveText}get unseenMessageCountClass(){return this.unseenMessageCount<10?"messageCount showMessageCount":"messageCount showNinePlusMessageCount"}getUnseenMessageNotification(){return this.template?this.template.querySelector(".unseenMessageNotification"):void 0}getUnseenMessageNotificationBubble(){return this.template?this.template.querySelector(".unseenMessageNotification > .unseenMessageBubble"):void 0}initiateHideAnimation(){const e=this.template?this.template.querySelector(".unseenMessageNotification"):void 0;e&&!this.isAnimating&&(this.isAnimating=!0,e.addEventListener("animationend",()=>{this.isAnimating=!1,t.dispatchEvent(a.events.EMBEDDED_MESSAGING_UNSEEN_NOTIFICATION_ANIMATION_END,{})}),e.classList.add("hideMessageCount"))}handleClick(e){t.dispatchEvent(a.events.UNSEEN_MESSAGE_NOTIFICATION_CLICKED,{bubbles:!0}),a.LoggingUtil.logInteraction(e,this,"EmbeddedMessaging-ChatUnseenMessageNotification",{method:"handleClick"})}handleLabels(){this.labels.NinePlusUnseenMessageCount=o.getLabel("EmbeddedMessagingUnseenMessageNotification","NinePlusUnseenMessageCount"),this.labels.ZeroUnseenMessagesAssistiveText=o.getLabel("EmbeddedMessagingUnseenMessageNotification","ZeroUnseenMessagesAssistiveText"),this.labels.UnseenMessagesAssistiveText=o.getLabel("EmbeddedMessagingUnseenMessageNotification","UnseenMessagesAssistiveText"),this.labels.NinePlusUnseenMessagesAssistiveText=o.getLabel("EmbeddedMessagingUnseenMessageNotification","NinePlusUnseenMessagesAssistiveText")}}s.registerDecorators(p,{publicProps:{unseenMessageCount:{config:0},isAnotherParticipantTyping:{config:0}},publicMethods:["getUnseenMessageNotification","getUnseenMessageNotificationBubble","initiateHideAnimation"],track:{labels:1},fields:["isAnimating"]});const y=s.registerComponent(p,{tmpl:M,sel:"embeddedMessaging-chat-unseen-message-notification",apiVersion:62});e.default=y,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/chatUnseenMessageNotification', ['embeddedMessaging/chatUnseenMessageNotification'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/spinner",["exports","lwc","embeddedMessaging/common","embeddedMessaging/brandingUtils","embeddedMessaging/labelUtils"],function(s,e,i,t,n){var a=[function(s,e,i){var t=s?"["+s+"-host]":"",n=s?"-"+s:"";return(e?":host {":t+" {")+"height: 1rem;width: 100%;flex: 0 1 auto;margin: 10px 0;}"+(e?":host.showAnimation {":t+".showAnimation {")+"opacity: 1;display: block;visibility: visible;animation: appear"+n+" 0.5s linear;}"+(e?":host.hideAnimation {":t+".hideAnimation {")+"opacity: 0;display: none;animation: disappear"+n+" 0.5s linear;}.slds-align_absolute-center"+(s?"["+s+"]":"")+" {transform: translate(0, 50%);}@keyframes appear"+n+" {0% {opacity: 0;}100% {opacity: 1;}}@keyframes disappear"+n+" {0% {opacity: 1;}100% {opacity: 0;}}"}];const l=e.parseFragment`<div${"c0"}${2}><div role="status"${"c1"}${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span><div class="slds-spinner__dot-a${0}"${2}></div><div class="slds-spinner__dot-b${0}"${2}></div></div></div>`;function o(s,e,i,t){const{ncls:n,d:a,sp:o,st:r}=s;return[r(l,1,[o(0,{className:n(e.spinnerContainerClass)},null),o(1,{className:n(e.spinnerClass)},null),o(3,null,a(e.assistiveLabel))])]}var r=e.registerTemplate(o);o.stylesheets=[],o.stylesheetToken="lwc-hia9nsqi18",o.legacyStylesheetToken="embeddedMessaging-spinner_spinner",a&&o.stylesheets.push.apply(o.stylesheets,a),e.freezeTemplate(o);class d extends e.LightningElement{constructor(...s){super(...s),this.assistiveText=void 0,this.size=void 0,this.isInline=!1,this.labels={},this.spinnerColorToken=void 0,this._shouldDisplay=!0}get assistiveLabel(){return i.isString(this.assistiveText)?this.assistiveText:this.labels.SpinnerDefaultAssistiveText||""}get spinnerContainerClass(){return""+(this.isInline?"slds-align_absolute-center":"")}get spinnerClass(){return`slds-spinner slds-spinner_${i.isString(this.size)?this.size:"small"} ${this.isInline?"slds-spinner_inline":""}`}get shouldDisplay(){return this._shouldDisplay}set shouldDisplay(s){i.validateBoolean(s),this._shouldDisplay=s,s?(this.template.host.classList.add("showAnimation"),this.template.host.classList.remove("hideAnimation")):(this.template.host.classList.remove("showAnimation"),this.template.host.classList.add("hideAnimation"))}connectedCallback(){this.applyStyling(),this.handleLabels()}applyStyling(){try{if(i.isString(this.spinnerColorToken)){const s=document.createElement("style"),e=t.getBrandingValue(this.spinnerColorToken.name);this.template.host.appendChild(s),s.sheet.insertRule(`.slds-spinner:before, .slds-spinner:after, .slds-spinner__dot-a:before, .slds-spinner__dot-b:before, .slds-spinner__dot-a:after, .slds-spinner__dot-b:after { background-color: var(${this.spinnerColorToken.name}, ${e}); }`)}}catch(s){i.warning(s)}}handleLabels(){this.labels.SpinnerDefaultAssistiveText=n.getLabel("EmbeddedMessagingConversationState","SpinnerDefaultAssistiveText")}}e.registerDecorators(d,{publicProps:{assistiveText:{config:0},size:{config:0},isInline:{config:0},spinnerColorToken:{config:0},shouldDisplay:{config:3}},track:{labels:1},fields:["_shouldDisplay"]});const p=e.registerComponent(d,{tmpl:r,sel:"embeddedMessaging-spinner",apiVersion:62});s.default=p,Object.defineProperty(s,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/spinner', ['embeddedMessaging/spinner'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesButtons",["exports","lwc","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/inAppService","embeddedMessaging/labelUtils"],function(e,t,s,i,o,n){var l=[function(e,t,s){var i=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"max-width: 100%;margin-left: 40px;margin-top: var(--lwc-spacingXxSmall, 0.75rem);margin-bottom: var(--lwc-spacingXxSmall, 0.75rem);}.embedded-messaging-quick-replies"+i+" {flex-wrap: wrap;gap: 0.25rem;}.embedded-messaging-quick-reply"+i+" {word-wrap: break-word;overflow-wrap: break-word;word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;-ms-hyphens: auto;hyphens: auto;border-radius: 10px;min-height: 2.5rem;color: var(--contrastPrimaryColor, #333333);background-color: var(--slds-g-color-neutral-base-100, #FFFFFF);border-width: 1px;border-color: black;border-style: solid;}.embedded-messaging-quick-reply:hover"+i+" {color: var(--slds-g-color-neutral-base-100, #FFFFFF);background-color: var(--secondaryColor, #005290);}.embedded-messaging-quick-reply:focus"+i+" {color: var(--slds-g-color-neutral-base-100, #FFFFFF);background-color: var(--secondaryColor, #005290);box-shadow: 0px 0px 6px 0px var(--secondaryColor, #005290);}.embedded-messaging-quick-reply:active"+i+" {color: var(--contrastPrimaryColor, #333333);background-color: var(--slds-g-color-neutral-base-100, #FFFFFF);}"}];const a=t.parseFragment`<div role="presentation"${3}><button class="embedded-messaging-quick-reply${0}" role="option"${"a1:title"}${"a1:value"}${"a1:disabled"}${2}><span${"a2:value"}${3}>${"t3"}</span></button></div>`;function d(e,t,s,i){const{ncls:o,k:n,b:l,d:d,sp:r,st:c,i:h,h:p}=e,{_m0:u}=i;return[p("div",{className:o(t.generateButtonGroupClassName),attrs:{"aria-label":t.assistiveTextLabel,"aria-orientation":"horizontal"},key:0},h(t.options,function(e){return c(a,n(2,e.optionIdentifier),[r(1,{on:{click:u||(i._m0=l(t.handleSelection))},attrs:{title:e.titleItem.title,value:e.optionIdentifier,disabled:t.isDisabled?"":null}},null),r(2,{attrs:{value:e.optionIdentifier}},null),r(3,null,d(e.titleItem.title))])}))]}var r=t.registerTemplate(d);d.stylesheets=[],d.stylesheetToken="lwc-21dfapp5sfs",d.legacyStylesheetToken="embeddedMessaging-choicesButtons_choicesButtons",l&&d.stylesheets.push.apply(d.stylesheets,l),t.freezeTemplate(d);class c extends t.LightningElement{constructor(...e){super(...e),this.options=[],this.conversationStatus=void 0,this.conversationId=void 0,this.messageId=void 0,this.selectedOptionId=void 0,this._isSelectedOrRepliedTo=!1,this.assistiveTextLabel=void 0,this.focusableOptions=[],this.focusedOptionIndex=0,this._initialRender=!0}connectedCallback(){this.applyStyling(),this.handleLabels()}renderedCallback(){this._initialRender&&(!this.isDisabled&&this.getListboxOptionItems()&&(this.focusableOptions=this.getListboxOptionItems(),this.focusableOptions.forEach((e,t)=>{e&&e.firstElementChild&&(e.firstElementChild.tabIndex=0===t?0:-1,e.firstElementChild.addEventListener("keydown",this.handleKeyDown.bind(this)))})),this._initialRender=!1)}get isDisabled(){return this._isSelectedOrRepliedTo||this.conversationStatus===i.ConversationStatus.CLOSED_CONVERSATION}set isDisabled(e){this._isSelectedOrRepliedTo=e}disableOptions(){this._isSelectedOrRepliedTo=!0}get generateButtonGroupClassName(){let e="embedded-messaging-quick-replies slds-button-group-row";return this._isSelectedOrRepliedTo&&(e+=" slds-hide"),e}handleSelection(e){let t,i;e&&(e.preventDefault(),e.stopPropagation(),e.target&&e.target.getAttribute("value")&&(this.selectedOptionId=e.target.getAttribute("value"),i=this.options.find(e=>e.optionIdentifier===this.selectedOptionId),this.conversationId&&this.messageId&&this.selectedOptionId&&i&&(t=s.util.uuid(),o.sendChoicesResponseMessage(this.conversationId,this.selectedOptionId,t,this.messageId).catch(e=>{this.dispatchEvent(new CustomEvent(s.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:t},bubbles:!0,composed:!0}))}),s.createConversationEntryUtil.createChoicesResponseSelectionsEntry(i,t,this.messageId),e.target.ariaPressed=!0,this.disableOptions())))}handleKeyDown(e){const t=this.focusableOptions[this.focusedOptionIndex];let i;if(e&&e.keyCode&&t&&t.firstElementChild)switch(e.keyCode){case 37:case 38:e.preventDefault(),e.stopPropagation(),t.firstElementChild.tabIndex=-1,0===this.focusedOptionIndex?this.focusedOptionIndex=this.focusableOptions.length-1:this.focusedOptionIndex-=1,i=this.focusableOptions[this.focusedOptionIndex],i&&i.firstElementChild&&(i.firstElementChild.tabIndex=0,s.util.waitForFrame(()=>{i.firstElementChild.focus()}));break;case 39:case 40:e.preventDefault(),e.stopPropagation(),t.firstElementChild.tabIndex=-1,this.focusedOptionIndex===this.focusableOptions.length-1?this.focusedOptionIndex=0:this.focusedOptionIndex+=1,i=this.focusableOptions[this.focusedOptionIndex],i&&i.firstElementChild&&(i.firstElementChild.tabIndex=0,s.util.waitForFrame(()=>{i.firstElementChild.focus()}))}}getListboxOptionItems(){return this.template&&this.template.firstElementChild&&this.template.firstElementChild.children&&this.template.firstElementChild.children.length?Array.prototype.slice.call(this.template.firstElementChild.children):void 0}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet.insertRule("lightning-button.embedded-messaging-quick-reply > button.slds-button:focus { box-shadow: 0 0 0.375rem var(--primaryColor, #1A1B1E); }",0),e.sheet.insertRule("lightning-button.embedded-messaging-quick-reply:focus-visible { outline: 0; }",0)}handleLabels(){this.assistiveTextLabel=n.getLabel("EmbeddedMessagingConversationState","ChoicesButtonsMessageAssistiveText")}}t.registerDecorators(c,{publicProps:{options:{config:0},conversationStatus:{config:0},conversationId:{config:0},messageId:{config:0},isDisabled:{config:3}},publicMethods:["handleSelection"],fields:["selectedOptionId","_isSelectedOrRepliedTo","assistiveTextLabel","focusableOptions","focusedOptionIndex","_initialRender"]});const h=t.registerComponent(c,{tmpl:r,sel:"embeddedMessaging-choices-buttons",apiVersion:62});e.default=h,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/choicesButtons', ['embeddedMessaging/choicesButtons'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesResponse",["exports","lwc","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/labelUtils"],function(e,t,s,n,a){const o=t.parseFragment`<span${"a0:title"}${3}>${"t1"}</span>`;function i(e,t,s,n){const{d:a,sp:i,st:l}=e;return[l(o,1,[i(0,{attrs:{title:t.metadata.title}},null),i(1,null,a(t.metadata.title))])]}var l=t.registerTemplate(i);i.stylesheets=[],i.stylesheetToken="lwc-5rmuop48tpn",i.legacyStylesheetToken="embeddedMessaging-choicesResponse_choicesResponse",t.freezeTemplate(i);class d extends t.LightningElement{constructor(...e){super(...e),this.response=void 0,this._response={},this.metadata={title:""}}connectedCallback(){const e=s.util.unwrapProxy(this.response);try{this.metadata.title=n.getOptionTitle(e)}catch(e){this.metadata.title=a.getLabel("EmbeddedMessagingConversationState","ChoicesSelectionResponsePlaceholderText")}}}t.registerDecorators(d,{publicProps:{response:{config:0}},track:{metadata:1},fields:["_response"]});const r=t.registerComponent(d,{tmpl:l,sel:"embeddedMessaging-choices-response",apiVersion:62});e.default=r,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/choicesResponse', ['embeddedMessaging/choicesResponse'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesMenuItem",["exports","lwc"],function(e,t){var s=[function(e,t,s){var i=e?"["+e+"]":"";return".embedded-messaging-menu-item-option"+i+" {min-height: 2.75rem;color: var(--contrastPrimaryColor, #333333);background-color: var(--slds-g-color-neutral-base-100, #FFFFFF);border: none;border-radius: 4px;}.embedded-messaging-menu-item-option:focus"+i+" {outline: 0px;box-shadow: 0 0 0.1875rem var(--secondaryColor, #005290);}.embedded-messaging-menu-item-option:hover:not(.isDisabled)"+i+" {color: var(--secondaryColor, #005290);text-decoration: underline;}.embedded-messaging-menu-item-option:active"+i+" {color: var(--primaryColor, #1A1B1E);}.middleMenuItem"+i+" {border-radius: 0;}.middleMenuItem"+i+",.lastMenuItem"+i+" {border-top-width: 0;}.embedded-messaging-menu-item"+i+" {padding: 0;border-color: #949494;}.embedded-messaging-menu-item-option"+i+" {min-width: 100%;word-wrap: break-word;overflow-wrap: break-word;word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;-ms-hyphens: auto;hyphens: auto;font-size: 0.875em;}.embedded-messaging-menu-item"+i+" > .embedded-messaging-menu-item-option.isDisabled:not(.isSelected)"+i+" {opacity: 50%;}"}];const i=t.parseFragment`<div${"c0"} role="presentation"${2}><button${"c1"} role="option"${"a1:title"}${"a1:value"}${"a1:disabled"}${2}><span${"a2:value"}${3}>${"t3"}</span></button></div>`;function n(e,t,s,n){const{ncls:o,b:l,d:a,sp:d,st:r}=e,{_m0:m}=n;return[r(i,1,[d(0,{className:o(t.generateMenuItemClassName)},null),d(1,{on:{click:m||(n._m0=l(t.handleSelection))},className:o(t.generateOptionClassName),attrs:{title:t.option.titleItem.title,value:t.option.optionIdentifier,disabled:t.isDisabled?"":null}},null),d(2,{attrs:{value:t.option.optionIdentifier}},null),d(3,null,a(t.option.titleItem.title))])]}var o=t.registerTemplate(n);n.stylesheets=[],n.stylesheetToken="lwc-1gc2o50o3ue",n.legacyStylesheetToken="embeddedMessaging-choicesMenuItem_choicesMenuItem",s&&n.stylesheets.push.apply(n.stylesheets,s),t.freezeTemplate(n);class l extends t.LightningElement{constructor(...e){super(...e),this.option=void 0,this.isFirst=!1,this.isLast=!1,this.isDisabled=!1,this.isSelected=!1}get generateMenuItemClassName(){let e="embedded-messaging-menu-item slds-box slds-align_absolute-center slds-m-around_none";return this.isFirst?e+=" slds-has-bottom-magnet":this.isLast?e+=" slds-has-top-magnet lastMenuItem":e+=" middleMenuItem",e}get generateOptionClassName(){let e="embedded-messaging-menu-item-option";return this.isSelected&&(e+=" isSelected"),this.isDisabled&&(e+=" isDisabled"),e}handleSelection(e){const t=this.option;let s;e&&(e.preventDefault(),e.target&&e.target.getAttribute("value")&&(s=e.target.getAttribute("value"),s&&t&&(this.dispatchEvent(new CustomEvent("menuitemselected",{detail:{value:s,option:t}})),this.isSelected=!0)))}getMenuItem(){return this.template&&this.template.firstElementChild&&this.template.firstElementChild.children&&this.template.firstElementChild.children.length?Array.prototype.slice.call(this.template.firstElementChild.children):void 0}}t.registerDecorators(l,{publicProps:{option:{config:0},isFirst:{config:0},isLast:{config:0},isDisabled:{config:0}},publicMethods:["getMenuItem"],fields:["isSelected"]});const a=t.registerComponent(l,{tmpl:o,sel:"embeddedMessaging-choices-menu-item",apiVersion:62});e.default=a,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/choicesMenuItem', ['embeddedMessaging/choicesMenuItem'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesMenu",["exports","lwc","embeddedmessaging/choicesMenuItem","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/inAppService","embeddedMessaging/labelUtils"],function(e,t,i,s,n,o,d){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(i);var r=[function(e,t,i){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"min-width: 50vw;max-width: 65vw;margin: var(--lwc-spacingXxSmall, 0.75rem) auto;justify-content: center;align-content: center;align-items: center;overflow-wrap: break-word;}"}];const c={role:"presentation"};function h(e,t,i,s){const{k:n,b:o,c:d,h:a,i:r}=e,{_m0:h}=s;return[a("ul",{attrs:{"aria-label":t.assistiveTextLabel},key:0},r(t.options,function(e,i,r,p){const u={value:e,index:i,first:r,last:p};return a("li",{attrs:c,key:n(1,u.value.optionIdentifier)},[d("embeddedmessaging-choices-menu-item",l.default,{props:{option:u.value,isFirst:u.first,isLast:u.last,isDisabled:t.isDisabled},key:2,on:{menuitemselected:h||(s._m0=o(t.handleSelection))}})])}))]}var p=t.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-3hvb3iog5pd",h.legacyStylesheetToken="embeddedMessaging-choicesMenu_choicesMenu",r&&h.stylesheets.push.apply(h.stylesheets,r),t.freezeTemplate(h);class u extends t.LightningElement{constructor(...e){super(...e),this.options=void 0,this.conversationStatus=void 0,this.conversationId=void 0,this.messageId=void 0,this.selectedOptionId=void 0,this._isSelectedOrRepliedTo=!1,this.assistiveTextLabel=void 0,this.focusableOptions=[],this.focusedOptionIndex=0,this._initialRender=!0}connectedCallback(){this.handleLabels()}renderedCallback(){this._initialRender&&(!this.isDisabled&&this.getListboxOptionItems()&&(this.focusableOptions=this.getListboxOptionItems(),this.focusableOptions.forEach((e,t)=>{const i=this.getListboxOptionButtonElement(e);i&&(0===t?i.setAttribute("tabindex",0):i.setAttribute("tabindex",-1),i.addEventListener("keydown",this.handleKeyDown.bind(this)))})),this._initialRender=!1)}get isDisabled(){return this._isSelectedOrRepliedTo||this.conversationStatus===n.ConversationStatus.CLOSED_CONVERSATION}set isDisabled(e){this._isSelectedOrRepliedTo=e}disableOptions(){this._isSelectedOrRepliedTo=!0}handleSelection(e){let t,i;e&&(e.stopPropagation(),e.detail&&e.detail.value&&e.detail.option&&(this.selectedOptionId=e.detail.value,i=e.detail.option,this.conversationId&&this.messageId&&this.selectedOptionId&&i&&(t=s.util.uuid(),o.sendChoicesResponseMessage(this.conversationId,this.selectedOptionId,t,this.messageId).catch(e=>{this.dispatchEvent(new CustomEvent(s.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:t},bubbles:!0,composed:!0}))}),s.createConversationEntryUtil.createChoicesResponseSelectionsEntry(i,t,this.messageId),this.disableOptions())))}handleKeyDown(e){const t=this.focusableOptions[this.focusedOptionIndex],i=this.getListboxOptionButtonElement(t);let n,o;if(e&&e.keyCode&&i)switch(e.keyCode){case 38:e.preventDefault(),e.stopPropagation(),i.setAttribute("tabindex",-1),0===this.focusedOptionIndex?this.focusedOptionIndex=this.focusableOptions.length-1:this.focusedOptionIndex-=1,n=this.focusableOptions[this.focusedOptionIndex],o=this.getListboxOptionButtonElement(n),o&&(o.setAttribute("tabindex",0),s.util.waitForFrame(()=>{o.focus()}));break;case 40:e.preventDefault(),e.stopPropagation(),i.setAttribute("tabindex",-1),i.removeAttribute("aria-selected"),this.focusedOptionIndex===this.focusableOptions.length-1?this.focusedOptionIndex=0:this.focusedOptionIndex+=1,n=this.focusableOptions[this.focusedOptionIndex],o=this.getListboxOptionButtonElement(n),o&&(o.setAttribute("tabindex",0),s.util.waitForFrame(()=>{o.focus()}))}}getListboxOptionItems(){return this.template&&this.template.firstElementChild&&this.template.firstElementChild.children&&this.template.firstElementChild.children.length?Array.prototype.slice.call(this.template.firstElementChild.children):void 0}getListboxOptionButtonElement(e){return e&&e.firstElementChild&&e.firstElementChild.getMenuItem()&&e.firstElementChild.getMenuItem()[0]?e.firstElementChild.getMenuItem()[0]:void 0}handleLabels(){this.assistiveTextLabel=d.getLabel("EmbeddedMessagingConversationState","ChoicesMenuMessageAssistiveText")}}t.registerDecorators(u,{publicProps:{options:{config:0},conversationStatus:{config:0},conversationId:{config:0},messageId:{config:0},isDisabled:{config:3}},publicMethods:["handleSelection"],fields:["selectedOptionId","_isSelectedOrRepliedTo","assistiveTextLabel","focusableOptions","focusedOptionIndex","_initialRender"]});const b=t.registerComponent(u,{tmpl:p,sel:"embeddedMessaging-choices-menu",apiVersion:62});e.default=b,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/choicesMenu', ['embeddedMessaging/choicesMenu'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/lightningCarousel",["exports","lwc","embeddedMessaging/common"],function(t,e,s){var i=[function(t,e,s){var i=t?"["+t+"]":"";return(e?":host {":(t?"["+t+"-host]":"")+" {")+"--slds-c-button-text-color: var(--secondaryColor, #005290);--slds-c-button-text-color-hover: var(--secondaryColor, #005290);--slds-c-button-shadow-focus: var(--secondaryColor, #005290);--slds-c-button-text-color-active: var(--secondaryColor, #005290);}slot"+i+" {display: flex;max-width: 100%;}.slds-carousel__indicators"+i+" {position: relative;margin: 5px;}.slds-carousel__indicator-action"+i+" {width: 0.75rem;height: 0.75rem;}.slds-carousel__indicator-action"+i+",.slds-carousel__indicator-action:hover"+i+",.slds-carousel__indicator-action:focus"+i+",.slds-carousel__indicator-action:active"+i+",.slds-carousel__indicator-action.slds-is-active"+i+",.slds-carousel__indicator-action.slds-is-active:hover"+i+",.slds-carousel__indicator-action.slds-is-active:focus"+i+",.slds-carousel__indicator-action.slds-is-active:active"+i+" {box-shadow: 0 0 3px var(--secondaryColor, #005290);}"}];const l=e.parseFragment`<span class="slds-carousel__autoplay${0}"${2}><button class="slds-button slds-button_icon slds-button_icon-border-filled slds-button_icon-x-small${0}"${"a1:aria-pressed"}${"a1:title"}${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span></button></span>`,a=e.parseFragment`<li class="slds-carousel__indicator${0}" role="presentation"${"a0:data-index"}${2}><a${"c1"}${"a1:id"} href="about:blank" role="tab"${"a1:tabindex"}${"a1:aria-selected"}${"a1:title"}${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span></a></li>`,o={classMap:{"slds-carousel":!0},key:0},n={"slds-carousel__stage":!0},r={"slds-carousel__panels":!0},c={key:5},d=[],u={"slds-carousel__indicators":!0},h={role:"tablist"};function m(t,e,s,i){const{b:m,d:g,sp:I,st:b,s:S,h:p,k:f,ncls:_,gid:v,ti:y,i:x}=t,{_m0:A,_m1:k,_m2:P,_m3:$,_m4:T,_m5:w,_m6:C}=i;return[p("div",o,[p("div",{classMap:n,key:1,on:{touchstart:A||(i._m0=m(e.handleTouchStart)),touchend:k||(i._m1=m(e.handleTouchEnd))}},[e.disableAutoScroll?null:b(l,3,[I(1,{on:{click:P||(i._m2=m(e.toggleAutoScroll))},attrs:{"aria-pressed":e.ariaPressed,title:e.togglePlayString}},null),I(3,null,g(e.i18n.autoPlay))]),p("div",{classMap:r,style:e.carouselPanelsStyle,key:4},[S("",c,d,s)]),p("ul",{classMap:u,attrs:h,key:6,on:{keydown:$||(i._m3=m(e.keyDownHandler))}},x(e.paginationItems,function(t,s){return b(a,f(8,t.key),[I(0,{on:{click:w||(i._m5=m(e.onItemSelect))},attrs:{"data-index":s}},null),I(1,{on:{click:C||(i._m6=m(e.onItemLinkSelect))},className:_(t.className),attrs:{id:v(t.id),tabindex:y(t.tabIndex),"aria-selected":t.ariaSelected,title:t.tabTitle}},null),I(3,null,g(t.tabTitle))])}))])])]}var g=e.registerTemplate(m);m.slots=[""],m.stylesheets=[],m.stylesheetToken="lwc-25h6dejmj6h",m.legacyStylesheetToken="embeddedMessaging-lightningCarousel_lightningCarousel",i&&m.stylesheets.push.apply(m.stylesheets,i),e.freezeTemplate(m);const I="slds-carousel__indicator-action",b="slds-is-active",S="utility:pause",p="false",f="true",_="right",v={autoPlay:"autoplay",tabString:"tabstring"},y=37,x=39;function A(t){return"string"==typeof t||!!t}class k extends e.LightningElement{constructor(...t){super(...t),this.scrollDuration=5,this.paginationItems=[],this.autoScrollIcon=S,this.ariaPressed=p,this.carouselPanelsStyle=void 0,this.togglePlayString=v.autoPlay,this.initialRender=!0,this.activeIndexItem=0,this.carouselItems=[],this.autoScrollTimeOut=void 0,this.swipeXStart=0}get i18n(){return v}get disableAutoScroll(){return this._disableAutoScroll||!1}set disableAutoScroll(t){this._disableAutoScroll=A(t)}get disableAutoRefresh(){return this._disableAutoRefresh||!1}set disableAutoRefresh(t){this._disableAutoRefresh=A(t)}handlePrivateImageRegister(t){const e=t.target,s=t.detail,i=this.carouselItems.length,l=i===this.activeIndexItem,a={key:s.guid,id:`pagination-item-${i}`,tabTitle:e.description?e.description+" "+v.tabString:null,className:l?I+" "+b:I,tabIndex:l?"0":"-1",contentId:t.detail.contentId,ariaSelected:l?f:p};t.stopPropagation(),i>5||(l&&s.callbacks.select(),this.paginationItems.push(a),this.carouselItems.push(s))}connectedCallback(){this.setAttribute("data-handles-touch",!0),this.addEventListener("privateimageregister",this.handlePrivateImageRegister.bind(this))}renderedCallback(){this.initialRender&&(this.disableAutoScroll||this.setAutoScroll()),this.synchronizeA11y(),this.initialRender=!1}synchronizeA11y(){if(!this.hasSyncChronizedA11y){this.template.querySelectorAll(".slds-carousel__indicators a").forEach((t,e)=>{t.setAttribute("aria-controls",this.paginationItems[e].contentId),this.carouselItems[e].callbacks.setLabelledBy(t.id),this.hasSyncChronizedA11y=!0})}}setAutoScroll(){const t=this.carouselItems.length;this.activeIndexItem===t-1&&this.disableAutoRefresh?this.autoScrollOff():this.cancelAutoScrollTimeOut()}startAutoScroll(){this.selectNextSibling(),this.setAutoScroll()}cancelAutoScrollTimeOut(){clearTimeout(this.autoScrollTimeOut)}toggleAutoScroll(){this.ariaPressed===p?this.autoScrollOff():this.autoScrollOn()}autoScrollOn(){const t=this.carouselItems.length;this.disableAutoScroll||(this.activeIndexItem===t-1&&this.disableAutoRefresh&&(this.unselectCurrentItem(),this.selectNewItem(0)),this.autoScrollIcon=S,this.ariaPressed=p,this.setAutoScroll())}autoScrollOff(){this.disableAutoScroll||(this.ariaPressed=f,this.autoScrollIcon="utility:right",this.cancelAutoScrollTimeOut())}onItemSelect(t){const e=t.currentTarget.getAttribute("data-index");this.autoScrollOff(),this.activeIndexItem!==e&&(this.unselectCurrentItem(),this.selectNewItem(e),this.activeIndexItem=parseInt(e,10))}onItemLinkSelect(t){t.preventDefault()}unselectCurrentItem(){const t=this.paginationItems[this.activeIndexItem];t.tabIndex="-1",t.ariaSelected=p,t.className=I,this.carouselItems[this.activeIndexItem].callbacks.unselect()}selectNewItem(t){const e=this.paginationItems[t];this.carouselItems[t].callbacks.isSelected()||(e.tabIndex="0",e.ariaSelected=f,e.className=I+" "+b,this.carouselPanelsStyle=`transform:translateX(${s.rtlUtil.isHtmlDirectionRTL()?"":"-"}${100*t}%);`,this.carouselItems[t].callbacks.select(),this.activeIndexItem=t)}keyDownHandler(t){const e=t.keyCode;let s=this.indicatorActionsElements;e===x&&(t.preventDefault(),t.stopPropagation(),this.autoScrollOff(),this.selectNextSibling()),e===y&&(t.preventDefault(),t.stopPropagation(),this.autoScrollOff(),this.selectPreviousSibling()),s||(s=this.template.querySelectorAll(".slds-carousel__indicator-action"),this.indicatorActionsElements=s),s[this.activeIndexItem].focus()}selectNextSibling(){const t=this.carouselItems.length;let e=this.activeIndexItem+1;if(this.activeIndexItem===t-1){if(this.disableAutoRefresh)return this.autoScrollOff(),e;e=0}return this.unselectCurrentItem(),this.selectNewItem(e),e}selectPreviousSibling(){const t=this.carouselItems.length;let e=this.activeIndexItem-1;if(0===this.activeIndexItem){if(this.disableAutoRefresh)return this.autoScrollOff(),e;e=t-1}return this.unselectCurrentItem(),this.selectNewItem(e),e}handleTouchStart({changedTouches:t}){this.swipeXStart=t&&t[0].clientX||0}handleTouchEnd(t){const{changedTouches:e}=t,s=(e&&e[0].clientX||0)-this.swipeXStart,i=1===Math.sign(s)?"left":_;Math.abs(s)>20&&(i===_?this.selectNextSibling():this.selectPreviousSibling(),t.preventDefault()),this.swipeXStart=0}}e.registerDecorators(k,{publicProps:{disableAutoScroll:{config:3},disableAutoRefresh:{config:3},scrollDuration:{config:0}},publicMethods:["selectNextSibling","selectPreviousSibling"],track:{paginationItems:1,autoScrollIcon:1,ariaPressed:1,carouselPanelsStyle:1},fields:["togglePlayString","initialRender","activeIndexItem","carouselItems","autoScrollTimeOut","swipeXStart"]});const P=e.registerComponent(k,{tmpl:g,sel:"embeddedMessaging-lightning-carousel",apiVersion:62});t.default=P,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/lightningCarousel', ['embeddedMessaging/lightningCarousel'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/lightningCarouselImage",["exports","lwc","embeddedMessaging/constants"],function(e,t,i){var s=[function(e,t,i){var s=e?"["+e+"]":"";return".slds-carousel__image"+s+" {display: flex;justify-content: center;height: 12rem;width: 12rem;}.slds-carousel__panel-action"+s+" {border-radius: 16px;overflow: hidden;box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.16);}.slds-carousel__content"+s+" {padding: 0.6rem 0.75rem 0 0.75rem;height: 6.65rem;max-height: 6.65rem;display: block;}.slds-carousel__content-title"+s+",.slds-button"+s+" {font-size: 0.825rem;}.slds-carousel__content-title"+s+" {max-height: 20%;height: 20%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.slds-carousel__content-subtitle"+s+",.slds-button"+s+" {top: 5px;}.slds-button"+s+" {display: block;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;width: 85%;max-width: 85%;margin: auto;}.slds-button:focus"+s+" {box-shadow: 0 0 3px var(--secondaryColor, #005290);}.slds-carousel__content-subtitle"+s+" {overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;max-height: 40%;height: 40%;font-size: 0.75rem;position: relative;}img"+s+" {height: 100%;width: 100%;object-fit: cover;}img.empty-state"+s+" {background-color: #f3f3f3;}"}];const a=t.parseFragment`<div class="slds-carousel__image${0}"${2}><img${"c1"}${"a1:src"}${"a1:alt"}${2}></div>`,l=t.parseFragment`<h2 class="slds-carousel__content-title${0}"${"a0:title"}${2}>${"t1"}</h2>`,n=t.parseFragment`<p class="slds-carousel__content-subtitle${0}"${"a0:title"}${2}>${"t1"}</p>`,r=t.parseFragment`<button${"a0:id"}${"a0:disabled"} class="slds-button${0}"${"a0:title"}${"a0:tabindex"}${2}><span${3}>${"t2"}</span></button>`,d={"slds-carousel__panel-action":!0,"slds-text-link_reset":!0},o={classMap:{"slds-carousel__content":!0,"content-container":!0},key:4};function c(e,t,i,s){const{gid:c,ti:h,ncls:u,sp:b,st:g,d:p,fr:m,b:v,h:_}=e,{_m0:f,_m1:x}=s;return[_("div",{attrs:{role:"tabpanel",id:c("carousel-image"),"aria-hidden":t.ariaHidden},key:0},[_("div",{classMap:d,attrs:{tabindex:h(t.tabIndex)},key:1},[g(a,3,[b(1,{className:u(t.getImageElementClass),attrs:{src:t.src,alt:t.alternativeText}},null)]),_("div",o,[g(l,6,[b(0,{attrs:{title:t.header}},null),b(1,null,p(t.header))]),t.description?m(7,[g(n,9,[b(0,{attrs:{title:t.description}},null),b(1,null,p(t.description))])],0):null,g(r,11,[b(0,{on:{click:x||(s._m1=v(t.carouselCardSelectionHandler))},attrs:{id:c(t.optionIdentifier),disabled:t.isSubmissionButtonDisabled?"":null,title:t.buttonLabel,tabindex:h(t.tabIndex)}},null),b(2,null,p(t.buttonLabel))])])])])]}var h=t.registerTemplate(c);function u(e,t){if(!e)throw new Error(t)}function b(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}c.stylesheets=[],c.stylesheetToken="lwc-7eo28f8cpkj",c.legacyStylesheetToken="embeddedMessaging-lightningCarouselImage_lightningCarouselImage",s&&c.stylesheets.push.apply(c.stylesheets,s),t.freezeTemplate(c);class g extends t.LightningElement{get src(){return this._src}set src(e){this._src=e,this.validateSrc()}get alternativeText(){return this._alternativeText}set alternativeText(e){this._alternativeText=e,this.validateAlternativeText()}constructor(){super(),this._src=void 0,this.header=void 0,this.description=void 0,this.buttonLabel=void 0,this._alternativeText=void 0,this.href=void 0,this.optionIdentifier=void 0,this.ariaHidden="true",this.ariaLabelledby=void 0,this.computedId=void 0,this.tabIndex="-1",this._selected=!1,this.isSubmissionButtonDisabled=void 0,this.carouselCardSelectionHandler=void 0,this.initialRender=!0,this.selected=!1}connectedCallback(){this.setAttribute("data-handles-touch",!0)}set selected(e){this._selected=e,!0===e?(this.ariaHidden="false",this.setTabIndex("0")):(this.ariaHidden="true",this.setTabIndex("-1"))}get selected(){return this._selected}get getImageElementClass(){return this.src===i.DEFAULT_IMAGE_URL?"empty-state":""}setLabelledBy(e){this.panelElement.setAttribute("aria-labelledby",e)}setTabIndex(e){this.tabIndex=e}select(){const e=new CustomEvent("privateimageselect",{bubbles:!0,composed:!0});this.selected=!0,this.dispatchEvent(e)}unselect(){this.selected=!1}isSelected(){return this.selected}validateAll(){this.validateAlternativeText(),this.validateSrc()}validateAlternativeText(){u("string"==typeof this._alternativeText&&this._alternativeText.length,'<lightning-carousel-image> The "alternative-text" attribute value is required.')}validateSrc(){u("string"==typeof this._src&&this._src.length,'<lightning-carousel-image> The "src" attribute value is required.')}renderedCallback(){if(this.initialRender){this.validateAll(),this.panelElement=this.template.querySelector("div");const e=new CustomEvent("privateimageregister",{bubbles:!0,detail:{callbacks:{select:this.select.bind(this),unselect:this.unselect.bind(this),isSelected:this.isSelected.bind(this),setTabIndex:this.setTabIndex.bind(this),setLabelledBy:this.setLabelledBy.bind(this)},contentId:this.panelElement.getAttribute("id"),guid:b()}});this.classList.add("slds-carousel__panel"),this.dispatchEvent(e),this.initialRender=!1}}}t.registerDecorators(g,{publicProps:{src:{config:3},header:{config:0},description:{config:0},buttonLabel:{config:0},alternativeText:{config:3},href:{config:0},optionIdentifier:{config:0},isSubmissionButtonDisabled:{config:0},carouselCardSelectionHandler:{config:0}},track:{_src:1,_alternativeText:1,ariaHidden:1,ariaLabelledby:1,computedId:1,tabIndex:1},fields:["_selected","initialRender"]});const p=t.registerComponent(g,{tmpl:h,sel:"embeddedMessaging-lightning-carousel-image",apiVersion:62});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/lightningCarouselImage', ['embeddedMessaging/lightningCarouselImage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesCarousel",["exports","lwc","lightning/button","embeddedmessaging/lightningCarouselImage","embeddedmessaging/lightningCarousel","embeddedMessaging/constants","embeddedMessaging/inAppService","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(e,t,i,s,n,o,l,a,r){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=d(i),u=d(s),g=d(n);var h=[function(e,t,i){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;width: 16rem;height: 21.25rem;max-width: 100%;margin: var(--lwc-spacingXxSmall, 0.75rem) auto;justify-content: center;align-content: center;align-items: center;overflow-wrap: break-word;}.carousel-controls"+(e?"["+e+"]":"")+" {display: flex;justify-content: space-between;position: relative;top: 45%;width: 100%;}"}];const m={classMap:{"carousel-controls":!0},key:0},b={"slds-size_3-of-4":!0,"slds-text-align_center":!0,"slds-m-around_x-small":!0},p={props:{disableAutoRefresh:!0,disableAutoScroll:!0},key:6},v=[];function I(e,t,i,s){const{b:n,c:o,h:l,k:a,i:r}=e,{_m0:d,_m1:h,_m2:I,_m3:f}=s;return[l("div",m,[t.isPreviousButtonDisabled?o("lightning-button",c.default,{props:{iconName:t.generatePreviousButtonIcon,variant:"base",name:t.previousButtonLabel,alternativeText:t.previousButtonLabel,title:t.previousButtonLabel,disabled:!0},key:1,on:{click:d||(s._m0=n(t.selectPrevious))}}):null,t.isPreviousButtonDisabled?null:o("lightning-button",c.default,{props:{iconName:t.generatePreviousButtonIcon,variant:"base",name:t.previousButtonLabel,alternativeText:t.previousButtonLabel,title:t.previousButtonLabel},key:2,on:{click:h||(s._m1=n(t.selectPrevious))}}),t.isNextButtonDisabled?o("lightning-button",c.default,{props:{iconName:t.generateNextButtonIcon,variant:"base",name:t.nextButtonLabel,alternativeText:t.nextButtonLabel,title:t.nextButtonLabel,disabled:!0},key:3,on:{click:I||(s._m2=n(t.selectNext))}}):null,t.isNextButtonDisabled?null:o("lightning-button",c.default,{props:{iconName:t.generateNextButtonIcon,variant:"base",name:t.nextButtonLabel,alternativeText:t.nextButtonLabel,title:t.nextButtonLabel},key:4,on:{click:f||(s._m3=n(t.selectNext))}})]),l("div",{classMap:b,attrs:{"aria-roledescription":"carousel","aria-label":t.assistiveTextLabel},key:5},[o("embeddedmessaging-lightning-carousel",g.default,p,t.cards?r(t.cards,function(e){return o("embeddedmessaging-lightning-carousel-image",u.default,{props:{isSubmissionButtonDisabled:t.isDisabled,header:e.title,description:e.subtitle,src:e.imageUrl,alternativeText:e.title,buttonLabel:e.button,optionIdentifier:e.optionIdentifier,carouselCardSelectionHandler:t.selectionHandler},key:a(7,e.optionIdentifier)})}):v)])]}var f=t.registerTemplate(I);I.stylesheets=[],I.stylesheetToken="lwc-2r0g3kehsc4",I.legacyStylesheetToken="embeddedMessaging-choicesCarousel_choicesCarousel",h&&I.stylesheets.push.apply(I.stylesheets,h),t.freezeTemplate(I);const x="EmbeddedMessaging-ChoicesCarousel";class L extends t.LightningElement{constructor(...e){super(...e),this.options=void 0,this.images=void 0,this.cards=[],this.messageId=void 0,this.conversationId=void 0,this.conversationStatus=void 0,this.configuration=void 0,this.selectedOptionId=void 0,this.currentActiveImageIndex=0,this._isSelectedOrRepliedTo=!1,this.selectionHandler=this.handleSelection.bind(this),this.assistiveTextLabel=void 0,this.previousButtonLabel=void 0,this.nextButtonLabel=void 0}connectedCallback(){this.options.forEach(e=>{const t={optionIdentifier:"",buttonText:"",imageUrl:"",title:"",subtitle:""};e.titleItem&&e.interactionItems&&e.interactionItems[0]&&(t.optionIdentifier=e.interactionItems[0].optionIdentifier,t.button=e.interactionItems[0].titleItem.title,t.title=e.titleItem.title,t.subtitle=e.titleItem.subTitle,e.titleItem.imageId?this.images.forEach(i=>{i.id===e.titleItem.imageId&&(t.imageUrl=i.assetUrl?i.assetUrl:"")}):t.imageUrl=o.DEFAULT_IMAGE_URL,this.cards.push(t))}),this.handleLabels()}get isDisabled(){return this._isSelectedOrRepliedTo||this.conversationStatus===o.ConversationStatus.CLOSED_CONVERSATION}set isDisabled(e){this._isSelectedOrRepliedTo=e}disableOptions(){this._isSelectedOrRepliedTo=!0}handleSelection(e){if(e&&e.currentTarget&&e.currentTarget.id){const t=this.options.find(t=>e.currentTarget.id.startsWith(t.interactionItems[0].optionIdentifier)),i=a.util.uuid();this.selectedOptionId=t.interactionItems[0].optionIdentifier,a.LoggingUtil.logInteraction(e,this,x,{method:"handleSelection",feature:this.selectedOptionId}),l.sendChoicesResponseMessage(this.conversationId,this.selectedOptionId,i,this.messageId).catch(e=>{this.dispatchEvent(new CustomEvent(a.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:i},bubbles:!0,composed:!0}))}),a.createConversationEntryUtil.createChoicesResponseSelectionsEntry(t,i,this.messageId),this.disableOptions()}}handleLabels(){this.previousButtonLabel=r.getLabel("EmbeddedMessagingCarousels","PreviousCardButtonAssistiveText"),this.nextButtonLabel=r.getLabel("EmbeddedMessagingCarousels","NextCardButtonAssistiveText"),this.assistiveTextLabel=r.getLabel("EmbeddedMessagingCarousels","CarouselDescriptionAssistiveText")}get generatePreviousButtonIcon(){return a.rtlUtil.isHtmlDirectionRTL()?"utility:chevronright":"utility:chevronleft"}get generateNextButtonIcon(){return a.rtlUtil.isHtmlDirectionRTL()?"utility:chevronleft":"utility:chevronright"}get isPreviousButtonDisabled(){return 0===this.currentActiveImageIndex}get isNextButtonDisabled(){return this.currentActiveImageIndex===this.options.length-1}selectPrevious(e){this.currentActiveImageIndex=this.querySelectLightningCarousel().selectPreviousSibling(),a.LoggingUtil.logInteraction(e,this,x,{method:"selectPrevious"})}selectNext(e){this.currentActiveImageIndex=this.querySelectLightningCarousel().selectNextSibling(),a.LoggingUtil.logInteraction(e,this,x,{method:"selectNext"})}querySelectLightningCarousel(){return this.template.querySelector("embeddedmessaging-lightning-carousel")?this.template.querySelector("embeddedmessaging-lightning-carousel"):void 0}}t.registerDecorators(L,{publicProps:{options:{config:0},images:{config:0},messageId:{config:0},conversationId:{config:0},conversationStatus:{config:0},configuration:{config:0},isDisabled:{config:3}},publicMethods:["handleSelection"],fields:["cards","selectedOptionId","currentActiveImageIndex","_isSelectedOrRepliedTo","selectionHandler","assistiveTextLabel","previousButtonLabel","nextButtonLabel"]});const B=t.registerComponent(L,{tmpl:f,sel:"embeddedMessaging-choices-carousel",apiVersion:62});e.default=B,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/choicesCarousel', ['embeddedMessaging/choicesCarousel'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/avatar",["exports","lwc","lightning/icon","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/iconUtils"],function(t,a,e,s,i,l,r){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=n(e),o=n(s);var u=[function(){return""}];const g=a.parseFragment`<img${"a0:src"}${"a0:alt"}${"a0:title"}${3}>`,h=a.parseFragment`<abbr${"c0"}${"a0:title"}${"s0"}${2}>${"t1"}</abbr>`,m={part:"avatar"},d={exportparts:"icon"};function v(t,a,e,s){const{ncls:i,b:l,sp:r,st:n,d:o,c:u,h:v}=t,{_m0:f,_m1:_}=s;return[v("span",{className:i(a.computedClass),attrs:m,key:0},[a._src?n(g,2,[r(0,{on:{error:_||(s._m1=l(a.handleImageError))},attrs:{src:a._src,alt:a.alternativeText,title:a.alternativeText}},null)]):null,a.showInitials?n(h,4,[r(0,{className:i(a.computedInitialsClass),style:a.computedInitialsStyle,attrs:{title:a.alternativeText}},null),r(1,null,o(a.initials))]):null,a.showIcon?u("lightning-icon",c.default,{attrs:d,props:{iconName:a.fallbackIconName,alternativeText:a.alternativeText,title:a.alternativeText},key:5}):null])]}var f=a.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-35am9di7q5a",v.legacyStylesheetToken="lightning-avatar_avatar",u&&v.stylesheets.push.apply(v.stylesheets,u),a.freezeTemplate(v);const _="medium",p="square";class b extends o.default{constructor(...t){super(...t),this.alternativeText="",this.initials=void 0,this._size=_,this._src="",this._fallbackIconName="",this._variant=p}set fallbackIconName(t){this._fallbackIconName=t,l.reflectAttribute(this,"icon-name",this._fallbackIconName)}get fallbackIconName(){return this._fallbackIconName}get size(){return this._size}set size(t){this._size=l.normalizeString(t,{fallbackValue:_,validValues:["x-small","small","medium","large"]}),l.reflectAttribute(this,"size",this._size)}get src(){return this._src}set src(t){this._src="string"==typeof t&&t.trim()||""}get variant(){return this._variant}set variant(t){this._variant=l.normalizeString(t,{fallbackValue:p,validValues:["circle","square"]}),l.reflectAttribute(this,"variant",this._variant)}get computedClass(){const t=this._variant,a=this._size;return i.classSet("slds-avatar").add({"slds-avatar_x-small":"x-small"===a,"slds-avatar_small":"small"===a,"slds-avatar_medium":"medium"===a,"slds-avatar_large":"large"===a}).add({"slds-avatar_circle":"circle"===t})}get computedInitialsClass(){return i.classSet("slds-avatar__initials").add(r.computeSldsClass(this.fallbackIconName)).toString()}get computedInitialsStyle(){if(this.fallbackIconName){const t=r.getIconColor(this.fallbackIconName);if(t)return`background-color: var(--slds-c-icon-color-background, ${t})`}return"background-color: var(\n            --slds-c-avatar-color-background,\n            var(--slds-g-color-accent-container-2, #0176d3)\n        )"}get showInitials(){return!this._src&&this.initials}get showIcon(){return!this._src&&!this.initials}handleImageError(t){console.warn(`<lightning-avatar> Image with src="${t.target.src}" failed to load.`),this._src=""}}a.registerDecorators(b,{publicProps:{alternativeText:{config:0},fallbackIconName:{config:3},initials:{config:0},size:{config:3},src:{config:3},variant:{config:3}},track:{_size:1,_src:1,_fallbackIconName:1,_variant:1}});const I=a.registerComponent(b,{tmpl:f,sel:"lightning-avatar",apiVersion:62});t.default=I,Object.defineProperty(t,"__esModule",{value:!0})});
})();(function() { LWR.define("embeddedMessaging/chatMessageWebView",["exports","lwc","embeddedMessaging/globalEventStore","embeddedMessaging/labelUtils","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/chatWebViewOverlay"],function(e,t,n,r,s,a,i){var o=[function(e,t,n){var r=e?"["+e+"]":"";return"div.conversation-link-message__panel"+r+" {display: inline-block;width: 15rem;overflow: hidden;overflow-wrap: break-word;white-space: pre-line;word-wrap: break-word;text-align: center;background-color: #f2f2f3;max-width: 50vw;border: 1px solid var(--slds-g-color-neutral-base-95, #f3f2f2);}div.conversation-link-message__panel_inbound"+r+" {border-radius: 0.5rem 0.5rem 0.5rem 0;color: var(--contrastPrimaryColor, #333333);margin-right: auto;min-height: 2rem;}div.conversation-link-message__panel_outbound"+r+" {border-radius: 0.5rem 0.5rem 0;color: var(--slds-g-color-neutral-base-100, #ffffff);margin-left: auto;min-height: 2rem;}div.conversation-link-message__content_outbound"+r+" {background-color: var(--secondaryColor, #005290);}div.conversation-link-message__content_inbound"+r+" {background-color: var(--slds-g-color-neutral-base-95, #f2f2f3);color: var(--contrastPrimaryColor, #333333);}"+(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" div.conversation-link-message__panel_outbound"+r+" {border-radius: 0.5rem 0.5rem 0.5rem 0;}"+(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" div.conversation-link-message__content_inbound"+r+" {border-radius: 0.5rem 0.5rem 0;}div.conversation-link-message__content"+r+" {padding: 1rem;text-align: left;word-break: keep-all;}"}];const l=t.parseFragment`<a${"a0:href"} target="_blank" rel="noopener noreferrer"${"a0:title"}${3}><div${"c1"}${2}><div${"c2"}${2}><span${3}>${"t4"}</span><br${3}><span${3}>${"t7"}</span></div></div></a>`;function c(e,t,n,r){const{b:s,ncls:a,d:i,sp:o,st:c}=e,{_m0:d,_m1:g}=r;return[c(l,1,[o(0,{on:{click:g||(r._m1=s(t.handleClick))},attrs:{href:t.url,title:t.title}},null),o(1,{className:a(t.generateDisplayClass)},null),o(2,{className:a(t.generateContentDisplayClass)},null),o(4,null,i(t.title)),o(7,null,i(t.urlDomain))])]}var d=t.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-7qeq8ljfm7j",c.legacyStylesheetToken="embeddedMessaging-chatMessageWebView_chatMessageWebView",o&&c.stylesheets.push.apply(c.stylesheets,o),t.freezeTemplate(c);const g="onReceivedParametersFromAutoResponseAPI";class m extends t.LightningElement{constructor(...e){super(...e),this.conversationEntry=void 0,this._url=void 0,this.urlDomain=void 0,this.title=void 0}set url(e){try{this._url=e,this.urlDomain=this.extractRichLinkURLDomain(e)}catch(e){throw new Error("URL failed validation: "+e)}}get url(){return this._url}handleClick(e){e&&e.stopPropagation()}connectedCallback(){n.assignHandler(g,this.handleConstructAutoResponseURL.bind(this)),this._url=this.conversationEntry.webViewURL,this.urlDomain=this.extractRichLinkURLDomain(this.conversationEntry.webViewURL),this.title=s.getTitle(this.conversationEntry.webViewTitle)||r.getLabel("EmbeddedMessagingPostchat","PostchatFrameTitle")}errorCallback(e,t){a.error(`${e&&e.message?e.message:e} \nThrown from ${t}`)}disconnectedCallback(){n.clearHandlersForEvent(g)}handleConstructAutoResponseURL(e){if(e&&e.params){const t=this.conversationEntry.webViewURL,n=this.conversationEntry.webViewParameters||{},r=e.params||{};this._url=i.constructAutoResponseURL(t,n,r)}}extractRichLinkURLDomain(e){const t=a.DOMAIN_REGEX.exec(e);return t?t[1]:""}get generateDisplayClass(){return"conversation-link-message__panel conversation-link-message__panel_"+m.directionalityMap.get(this.conversationEntry.actorType.toLowerCase())}get generateContentDisplayClass(){return"conversation-link-message__content conversation-link-message__content_"+m.directionalityMap.get(this.conversationEntry.actorType.toLowerCase())}}m.directionalityMap=new Map([[s.ParticipantRoles.AGENT.toLowerCase(),s.ConversationMessageDirectionality.INBOUND],[s.ParticipantRoles.CHATBOT.toLowerCase(),s.ConversationMessageDirectionality.INBOUND],[s.ParticipantRoles.SYSTEM.toLowerCase(),s.ConversationMessageDirectionality.INBOUND],[s.ParticipantRoles.ENDUSER.toLowerCase(),s.ConversationMessageDirectionality.OUTBOUND]]),t.registerDecorators(m,{publicProps:{conversationEntry:{config:0},url:{config:3}},fields:["_url","urlDomain","title"]});const u=t.registerComponent(m,{tmpl:d,sel:"embeddedMessaging-chat-message-web-view",apiVersion:62});e.CONSTRUCT_RICH_LINK_FROM_AUTORESPONSE_PARAMETERS_EVENT=g,e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/chatMessageWebView', ['embeddedMessaging/chatMessageWebView'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationLinkMessage",["exports","lwc","lightning/icon","embeddedMessaging/constants","embeddedMessaging/globalEventStore","embeddedMessaging/common"],function(e,n,a,i,r,t){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(a);var l=[function(e,n,a){var i=e?"["+e+"]":"";return"div.conversation-link-message__panel"+i+" {display: inline-block;width: 15rem;overflow: hidden;overflow-wrap: break-word;white-space: pre-line;word-wrap: break-word;text-align: center;background-color: var(--slds-g-color-neutral-base-95, #f2f2f3);max-width: 50vw;border: 1px solid var(--slds-g-color-neutral-base-95, #f3f2f2);}div.conversation-link-message__panel.defaultLinkImage"+i+" {display: flex;flex-direction: column;}div.conversation-link-message__panel_inbound"+i+" {border-radius: 0.5rem 0.5rem 0.5rem 0;color: var(--contrastPrimaryColor, #333333);margin-right: auto;min-height: 2rem;}div.conversation-link-message__panel_outbound"+i+" {border-radius: 0.5rem 0.5rem 0;color: var(--slds-g-color-neutral-base-100, #ffffff);margin-left: auto;min-height: 2rem;}div.conversation-link-message__content_outbound"+i+" {background-color: var(--secondaryColor, #005290);}div.conversation-link-message__content_inbound"+i+" {background-color: var(--slds-g-color-neutral-base-95, #f2f2f3);color: var(--contrastPrimaryColor, #333333);}"+(a?"":'[dir="rtl"]')+" "+(a?":dir(rtl)":"")+" div.conversation-link-message__panel_outbound"+i+" {border-radius: 0.5rem 0.5rem 0.5rem 0;}"+(a?"":'[dir="rtl"]')+" "+(a?":dir(rtl)":"")+" div.conversation-link-message__content_inbound"+i+" {border-radius: 0.5rem 0.5rem 0;}div.conversation-link-message__content"+i+" {padding: 1rem;text-align: left;}div.linkIconContainer"+i+" {display: flex;justify-content: center;width: 100%;height: 6rem;background-color: var(--slds-g-color-neutral-base-95, #f3f2f2);}.linkIconContainer"+i+" .slds-icon_container"+i+" {align-self: center;}"}];const c=n.parseFragment`<div${3}><img${"a1:src"}${3}></div>`,d=n.parseFragment`<div${"c0"}${2}><span${3}>${"t2"}</span><br${3}><span${3}>${"t5"}</span></div>`,g={classMap:{linkIconContainer:!0},key:4},m={props:{iconName:"utility:link",size:"small"},key:5};function v(e,n,a,i){const{b:r,ncls:t,sp:o,st:l,c:v,h:k,d:p}=e,{_m0:u,_m1:_,_m2:h}=i;return[k("a",{attrs:{href:n.conversationEntry.linkUrl,target:"_blank",rel:"noopener noreferrer",title:n.conversationEntry.linkTitle},key:0,on:{click:u||(i._m0=r(n.handleConversationEntryClick))}},[k("div",{className:t(n.generateDisplayClass),key:1},[n.hasValidLinkImageUrl?l(c,3,[o(1,{on:{load:_||(i._m1=r(n.handleImageLoad)),error:h||(i._m2=r(n.handleInvalidImageUrl))},attrs:{src:n.conversationEntry.linkImageUrl}},null)]):null,n.hasValidLinkImageUrl?null:k("div",g,[v("lightning-icon",s.default,m)]),l(d,7,[o(0,{className:t(n.generateContentDisplayClass)},null),o(2,null,p(n.conversationEntry.linkTitle)),o(5,null,p(n.linkUrlDomain))])])])]}var k=n.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-1g368pmbh5p",v.legacyStylesheetToken="embeddedMessaging-conversationLinkMessage_conversationLinkMessage",l&&v.stylesheets.push.apply(v.stylesheets,l),n.freezeTemplate(v);class p extends n.LightningElement{constructor(...e){super(...e),this.conversationEntry=void 0,this.linkImageUrl=void 0,this.linkUrlDomain=void 0,this.hasValidLinkImageUrl=void 0}connectedCallback(){this.hasValidLinkImageUrl=this.validateLinkImageUrl(this.conversationEntry.linkImageUrl),this.linkUrlDomain=this.extractLinkUrlDomain(this.conversationEntry.linkUrl)}renderedCallback(){r.dispatchEvent(t.events.EMBEDDED_MESSAGING_LINK_MESSAGE_RERENDER_EVENT,{bubbles:!0})}get generateDisplayClass(){return"conversation-link-message__panel conversation-link-message__panel_"+p.directionalityMap.get(this.conversationEntry.actorType.toLowerCase())+(this.hasValidLinkImageUrl?"":" defaultLinkImage")}get generateContentDisplayClass(){return"conversation-link-message__content conversation-link-message__content_"+p.directionalityMap.get(this.conversationEntry.actorType.toLowerCase())}validateLinkImageUrl(e){return null!=e&&"string"==typeof e&&""!==e}extractLinkUrlDomain(e){const n=t.DOMAIN_REGEX.exec(e);return n?n[1]:""}handleImageLoad(){r.dispatchEvent(t.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_UPDATED,{entry:this.conversationEntry})}handleInvalidImageUrl(){this.hasValidLinkImageUrl=!1}handleConversationEntryClick(e){e&&e.stopPropagation()}}p.directionalityMap=new Map([[i.ParticipantRoles.AGENT.toLowerCase(),i.ConversationMessageDirectionality.INBOUND],[i.ParticipantRoles.CHATBOT.toLowerCase(),i.ConversationMessageDirectionality.INBOUND],[i.ParticipantRoles.SYSTEM.toLowerCase(),i.ConversationMessageDirectionality.SYSTEM],[i.ParticipantRoles.ENDUSER.toLowerCase(),i.ConversationMessageDirectionality.OUTBOUND]]),n.registerDecorators(p,{publicProps:{conversationEntry:{config:0},linkImageUrl:{config:0}},fields:["linkUrlDomain","hasValidLinkImageUrl"]});const u=n.registerComponent(p,{tmpl:k,sel:"embeddedMessaging-conversation-link-message",apiVersion:62});e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationLinkMessage', ['embeddedMessaging/conversationLinkMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationFormMessage",["exports","lwc","lightning/icon","embeddedmessaging/spinner","embeddedMessaging/brandingUtils","embeddedMessaging/common","embeddedMessaging/labelUtils","embeddedMessaging/constants","embeddedMessaging/globalEventStore"],function(e,s,t,r,i,o,a,n,m){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=d(t),g=d(r);var c=[function(e,s,t){var r=e?"["+e+"]":"";return"div.conversation-form-message"+r+" {display: flex;margin-right: auto;min-height: 2rem;max-width: 50vw;}.slds-chat-listitem.slds-chat-listitem_inbound"+r+",.slds-chat-listitem.slds-chat-listitem_outbound"+r+" {margin-top: 0;}.container"+r+" {margin-right: auto;background-color: #e5e5e5;color: #181818;}.embedded-messaging-inbound-form-message.container.disabled"+r+",.embedded-messaging-outbound-form-message.container.disabled"+r+" {pointer-events: none;}.embedded-messaging-inbound-form-message"+r+","+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+".embedded-messaging-outbound-form-message"+r+" {border-radius: .5rem .5rem .5rem 0;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+".embedded-messaging-inbound-form-message"+r+",.embedded-messaging-outbound-form-message"+r+" {border-radius: .5rem .5rem 0 .5rem;}.formMesssage"+r+" {display: flex;background: none;border: none;padding: 0;overflow: hidden;align-items: stretch;}.embedded-messaging-inbound-form-button"+r+" {border-radius: .5rem .5rem .5rem 0;}.embedded-messaging-outbound-form-button"+r+" {border-radius: .5rem .5rem 0 .5rem;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .embedded-messaging-inbound-form-button"+r+" {border-radius: .5rem .5rem 0 .5rem;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .embedded-messaging-outbound-form-button"+r+" {border-radius: .5rem .5rem .5rem 0;}.embedded-messaging-outbound-form-button.hasSpinner"+r+" {align-items: center;}.embedded-messaging-outbound-form-button.hasSpinner"+r+" > .showAnimation"+r+" {width: 40%;}.embedded-messaging-form-icon"+r+" {padding: 0.5rem;border-radius: 0;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .embedded-messaging-form-icon"+r+" {transform: scaleX(-1);}.embedded-messaging-form-icon.active"+r+" {background-color: var(--secondaryColor, #005290);}.embedded-messaging-form-icon.inactive"+r+",.embedded-messaging-form-icon.inactive:hover"+r+" {background-color: #aeaeae;}.embedded-messaging-inbound-form-title-container"+r+",.embedded-messaging-outbound-form-title-container"+r+" {display: flex;align-items: center;padding: 3px 5px;}.embedded-messaging-inbound-form-title-container"+r+" {background-color: var(--slds-g-color-neutral-base-95, #f2f2f3);}.embedded-messaging-outbound-form-title-container"+r+" {background-color: var(--secondaryColor, #005290);}.embedded-messaging-inbound-form-title"+r+",.embedded-messaging-outbound-form-title"+r+" {text-align: left;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+".embedded-messaging-inbound-form-title"+r+","+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+".embedded-messaging-outbound-form-title"+r+" {text-align: right;}.embedded-messaging-inbound-form-title"+r+" {padding: 0 0.5rem;color: var(--contrastPrimaryColor, #333333);}.embedded-messaging-outbound-form-title"+r+" {padding: 0 0.5rem 0 0;color: #fff;}"}];const u=s.parseFragment`<div${"c0"}${2}><span${"c1"}${2}>${"t2"}</span></div>`,b=s.parseFragment`<div${"c0"}${2}><span${"c1"} tabindex="-1" aria-live="polite"${2}>${"t2"}</span></div>`;function f(e,s,t,r){const{ncls:i,b:o,c:a,d:n,sp:m,st:d,h:c}=e,{_m0:f}=r;return[c("div",{className:i(s.generateFormMessageListItemClass),key:0},[c("div",{className:i(s.generateFormMessageContainerClass),key:1},[s.isFormMessageInbound?c("button",{className:i(s.generateFormMessageButtonClass),key:2,on:{click:f||(r._m0=o(s.handleFormButtonClick))}},[a("lightning-icon",l.default,{className:i(s.generateFormMessageIconClass),props:{iconName:s.formIconName,size:"x-small",variant:"inverse"},key:3}),d(u,5,[m(0,{className:i(s.generateFormTitleContainerClass)},null),m(1,{className:i(s.generateFormTitleClass)},null),m(2,null,n(s.formTitle))])]):null,s.isFormMessageInbound?null:c("div",{className:i(s.generateFormMessageButtonClass),key:6},[s.isSubmittingForm?a("embeddedmessaging-spinner",g.default,{props:{spinnerColorToken:s.spinnerColorToken,size:s.spinnerSize,isInline:s.isInlineSpinner,shouldDisplay:s.isSubmittingForm,assistiveText:s.labels.pendingSecureFormResponse},key:7}):null,s.isSubmittingForm?null:a("lightning-icon",l.default,{className:i(s.generateFormMessageIconClass),props:{iconName:s.formIconName,size:"x-small",variant:"inverse"},key:8}),d(b,10,[m(0,{className:i(s.generateFormTitleContainerClass)},null),m(1,{className:i(s.generateFormTitleClass)},null),m(2,null,n(s.formTitle))])])])])]}var S=s.registerTemplate(f);f.stylesheets=[],f.stylesheetToken="lwc-2tdfgh865gt",f.legacyStylesheetToken="embeddedMessaging-conversationFormMessage_conversationFormMessage",c&&f.stylesheets.push.apply(f.stylesheets,c),s.freezeTemplate(f);class h extends s.LightningElement{constructor(...e){super(...e),this.labels={},this.formState=void 0,this.formSections=void 0,this.spinnerColorToken=i.BRANDING_TOKENS.CONTRAST_PRIMARY_COLOR,this.spinnerSize="x-small",this.isInlineSpinner=!0,this.isInitialFormResult=!0,this._formTitle=void 0,this.conversationStatus=void 0,this.conversationId=void 0,this.messageId=void 0,this._isSelectedOrRepliedTo=!1}get formTitle(){let e;switch(this.formState){case n.FormMessageState.ERROR:e=this.labels.errorSecureFormResponse;break;case n.FormMessageState.SUCCESS:e=this.labels.successfulSecureFormResponse;break;case n.FormMessageState.PENDING:e=this.labels.pendingSecureFormResponse;break;case n.FormMessageState.INITIAL:default:e=this._formTitle}return e}set formTitle(e){this._formTitle=e}get isRepliedTo(){return this._isSelectedOrRepliedTo||this.formState===n.FormMessageState.INACTIVE}set isRepliedTo(e){this._isSelectedOrRepliedTo=e}get isDisabled(){return this.isRepliedTo||this.formState===n.FormMessageState.ERROR||this.formState===n.FormMessageState.SUCCESS||this.formState===n.FormMessageState.PENDING||this.conversationStatus===n.ConversationStatus.CLOSED_CONVERSATION}get formMessageAssistiveText(){switch(this.formState){case n.FormMessageState.INITIAL:return this.labels.openSecureForm;case n.FormMessageState.INACTIVE:return this.labels.disabledSecureForm;case n.FormMessageState.ERROR:return this.labels.errorSecureFormResponse;case n.FormMessageState.SUCCESS:return this.labels.successfulSecureFormResponse;case n.FormMessageState.PENDING:return this.labels.pendingSecureFormResponse;default:return""}}get formMessageDirectionality(){switch(this.formState){case n.FormMessageState.INITIAL:case n.FormMessageState.INACTIVE:return n.ConversationMessageDirectionality.INBOUND;case n.FormMessageState.ERROR:case n.FormMessageState.SUCCESS:case n.FormMessageState.PENDING:default:return n.ConversationMessageDirectionality.OUTBOUND}}get isFormMessageInbound(){return this.formMessageDirectionality===n.ConversationMessageDirectionality.INBOUND}get isSubmittingForm(){switch(this.formState){case n.FormMessageState.PENDING:return!0;case n.FormMessageState.INITIAL:case n.FormMessageState.INACTIVE:case n.FormMessageState.ERROR:case n.FormMessageState.SUCCESS:default:return!1}}get formIconName(){switch(this.formState){case n.FormMessageState.ERROR:return"utility:error";case n.FormMessageState.INITIAL:case n.FormMessageState.INACTIVE:case n.FormMessageState.SUCCESS:default:return"utility:list"}}get generateFormMessageListItemClass(){return"slds-chat-listitem slds-chat-listitem_"+this.formMessageDirectionality}get generateFormMessageIconClass(){return"embedded-messaging-form-icon "+(this.isRepliedTo?"inactive":"active")}get generateFormMessageContainerClass(){return`embedded-messaging-${this.formMessageDirectionality}-form-message container ${this.isDisabled?"disabled":"enabled"}`}get generateFormMessageButtonClass(){return`formMesssage embedded-messaging-${this.formMessageDirectionality}-form-button ${this.isSubmittingForm?"hasSpinner":""}`}get generateFormTitleContainerClass(){return`embedded-messaging-${this.formMessageDirectionality}-form-title-container`}get generateFormTitleClass(){return`embedded-messaging-${this.formMessageDirectionality}-form-title`}connectedCallback(){this.handleLabels()}renderedCallback(){!this.isFormMessageInbound&&this.isSubmittingForm&&this.isInitialFormResult&&(this.setFocusOnFormResult(),this.isInitialFormResult=!1)}handleLabels(){this.labels.openSecureForm=a.getLabel("EmbeddedMessagingSecureForm","FormButtonInitialStateAssistiveText"),this.labels.disabledSecureForm=a.getLabel("EmbeddedMessagingSecureForm","FormButtonInactiveStateAssistiveText"),this.labels.errorSecureFormResponse=a.getLabel("EmbeddedMessagingSecureForm","FormButtonErrorResponseStateTitle"),this.labels.successfulSecureFormResponse=a.getLabel("EmbeddedMessagingSecureForm","FormButtonSuccessResponseStateTitle"),this.labels.pendingSecureFormResponse=a.getLabel("EmbeddedMessagingSecureForm","FormButtonPendingStateTitle")}handleFormButtonClick(e){e&&!this.isRepliedTo&&(e.preventDefault(),e.stopPropagation(),m.dispatchEvent(o.events.EMBEDDED_MESSAGING_FORM_MESSAGE_CLICK_EVENT,{formSections:this.formSections,formTitle:this.formTitle,formMessageButtonId:this.messageId}),o.LoggingUtil.logInteraction(e,this,"EmbeddedMessaging-ConversationFormMessage",{method:"handleFormButtonClick",feature:this.messageId}))}setFocusOnFormResult(){const e=this.querySelectFormResultTitle();e&&o.util.waitForFrame(()=>{e.focus()})}querySelectFormResultTitle(){return this.template&&this.template.querySelector(".embedded-messaging-outbound-form-title")?this.template.querySelector(".embedded-messaging-outbound-form-title"):void 0}}s.registerDecorators(h,{publicProps:{formState:{config:0},formSections:{config:0},formTitle:{config:3},conversationStatus:{config:0},conversationId:{config:0},messageId:{config:0},isRepliedTo:{config:3}},publicMethods:["handleFormButtonClick"],track:{labels:1},fields:["spinnerColorToken","spinnerSize","isInlineSpinner","isInitialFormResult","_formTitle","_isSelectedOrRepliedTo"]});const F=s.registerComponent(h,{tmpl:S,sel:"embeddedMessaging-conversation-form-message",apiVersion:62});e.default=F,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationFormMessage', ['embeddedMessaging/conversationFormMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/fileAttachmentMessage",["exports","lwc","lightning/icon","embeddedmessaging/spinner","embeddedmessaging/fileAttachmentDefaultIcon","embeddedMessaging/common","embeddedMessaging/icons","embeddedMessaging/labelUtils","embeddedMessaging/globalEventStore","embeddedMessaging/fileAttachmentFooter","embeddedMessaging/constants"],function(e,t,n,a,i,s,l,o,r,d,c){function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=h(n),g=h(a),p=h(i);var u=[function(e,t,n){var a=e?"["+e+"]":"";return".attachmentMessageWrapper"+a+' {width: 13rem;max-width: 100%;}.attachmentMessageWrapper[class~="fileSendFailed"]'+a+" {pointer-events: none;}.attachmentMessageView"+a+" {height: auto;}.attachmentMessageFooter"+a+" {height: 25px;}"+(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" .attachmentMessageFooter"+a+" {padding-left: 3rem;padding-right: 0;}.attachmentMessageFooterControls"+a+" {height: 18px;width: 25px;}.attachmentMessageFooterNameIconWrapper"+a+" {display: flex;flex-direction: row;}.attachmentMessageFooterIconWrapper"+a+" {flex-grow: 0;}.attachmentNameWrapper"+a+" {flex-grow: 1;color: var(--contrastPrimaryColor, #333333);font-family: var(--font, Arial, sans-serif);}.attachmentMessageFooterIconContainer"+a+" {width: 18px;}.attachmentMessageFooterIconContainer"+a+" > .attachmentMessageFooterIcon"+a+" {transform: scale(0.5) translateX(-15px);}.attachmentMessageFailedIcon"+a+" {position: absolute;top: 42px;left: 88px;}embeddedmessaging-spinner"+a+" {position: initial;}.previewContainer"+a+" {overflow: hidden;}.previewContainer.outboundFileAttachment"+a+" {pointer-events: none;}.previewRegion"+a+" {max-width: 100%;width: 100%;}"}];const f=t.parseFragment`<img class="previewRegion${0}"${"a0:src"}${"a0:alt"}${"a0:id"}${2}>`,w=t.parseFragment`<svg aria-hidden="true" viewBox="0 0 100 100" class="slds-icon defaultAttachmentIconSvg attachmentMessageFooterIcon${0}"${2}><path${"a1:d"} fill="#49c9a7"${3}/><path${"a2:d"} opacity=".5"${3}/><path${"a3:d"}${3}/></svg>`,v=t.parseFragment`<div class="attachmentNameWrapper slds-media__body${0}" tabindex="0"${2}><span class="slds-file__text slds-truncate${0}"${"a1:title"} role="status" aria-live="polite"${2}>${"t2"}</span></div>`,F={classMap:{attachmentMessageView:!0},key:1},b={classMap:{attachmentMessageFailedIcon:!0},props:{iconName:"utility:error",tabIndex:"-1"},key:3},y={props:{size:"medium"},key:4},_={classMap:{attachmentMessageViewIconContainer:!0,"slds-file__icon":!0,"slds-icon_container":!0},key:5},T={key:6},M={classMap:{attachmentMessageFooter:!0,"slds-file__title":!0,"slds-file__title_card":!0,"slds-file-has-actions":!0},key:10},I={classMap:{attachmentMessageFooterNameIconWrapper:!0,"slds-media":!0,"slds-media_small":!0,"slds-media_center":!0},key:11},A={classMap:{attachmentMessageFooterIconWrapper:!0,"slds-media__figure":!0,"slds-line-height_reset":!0},key:12},E={classMap:{attachmentMessageFooterIconContainer:!0,"slds-icon_container":!0},key:13},D={classMap:{attachmentMessageFooterControls:!0,"slds-file__actions-menu":!0},key:19},C={downloadButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon":!0,"slds-button_icon-x-small":!0};function P(e,t,n,a){const{ncls:i,ti:s,gid:l,b:o,c:r,h:d,sp:c,st:h,d:u}=e,{_m0:P,_m1:S,_m2:U}=a;return[d("div",{className:i(t.attachmentMessageWrapperClassName),key:0},[d("figure",F,[d("a",{className:i(t.previewContainerClassName),attrs:{tabindex:s(t.generatePreviewContainerTabIndex),role:t.generatePreviewContainerRole,id:l("fileThumbnailPreviewRegion")},key:2,on:{click:P||(a._m0=o(t.handlePreviewRegionClick)),keydown:S||(a._m1=o(t.handlePreviewRegionKeyDown))}},[t.showFileSendingSpinner&&t.hasFileSendFailed?r("lightning-icon",m.default,b):null,t.showFileSendingSpinner?t.hasFileSendFailed?null:r("embeddedmessaging-spinner",g.default,y):null,t.showFileSendingSpinner||t.filePreviewUrl?null:d("span",_,[t.fileAttachmentIconType?null:r("embeddedmessaging-file-attachment-default-icon",p.default,T),t.fileAttachmentIconType?r("lightning-icon",m.default,{props:{iconName:t.fileAttachmentIconType,size:"medium"},key:7}):null]),t.showFileSendingSpinner?null:t.filePreviewUrl?h(f,9,[c(0,{attrs:{src:t.filePreviewUrl,alt:t.fileAttachmentName,id:l("fileThumbnailPreviewImage")}},null)]):null]),d("figcaption",M,[d("div",I,[d("div",A,[t.showFileSendingSpinner?null:d("span",E,[t.fileAttachmentIconType?null:h(w,15,[c(1,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON}},null),c(2,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON_FOLD}},null),c(3,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON_PAPER_CLIP}},null)]),t.fileAttachmentIconType?r("lightning-icon",m.default,{props:{iconName:t.fileAttachmentIconType,size:"x-small"},key:16}):null])]),h(v,18,[c(1,{attrs:{title:t.fileAttachmentName}},null),c(2,null,u(t.fileAttachmentName))])])])]),d("div",D,[t.isFileAttachmentInbound?d("button",{classMap:C,attrs:{title:t.labels.FileDownloadButtonTitle,"aria-label":t.labels.FileDownloadButtonAssistiveText,id:l("fileDownloadButton")},key:20,on:{click:U||(a._m2=o(t.handleFileDownload))}},[r("lightning-icon",m.default,{props:{iconName:"utility:download",alternativeText:"Download",ariaHidden:"true",size:"xx-small",id:l("fileDownloadButtonIcon")},key:21})]):null])])]}var S=t.registerTemplate(P);P.stylesheets=[],P.stylesheetToken="lwc-2a3urm58oh2",P.legacyStylesheetToken="embeddedMessaging-fileAttachmentMessage_fileAttachmentMessage",u&&P.stylesheets.push.apply(P.stylesheets,u),t.freezeTemplate(P);const U="EmbeddedMessaging-FileAttachmentMessage",N="FullSizePreview",x="ThumbnailPreview";class k extends t.LightningElement{constructor(...e){super(...e),this.conversationEntry=void 0,this.attachment=void 0,this.labels={},this.configuration=void 0,this.defaultAttachmentIcon=l.defaultIcons.ATTACHMENT_ICON,this._previewType=x}connectedCallback(){this.handleLabels()}renderedCallback(){this.isDownloadDisabled()}handleLabels(){this.labels.FileSendingText=o.getLabel("EmbeddedMessagingFileAttachments","FileSendingText"),this.labels.FileDownloadButtonTitle=o.getLabel("EmbeddedMessagingFileAttachments","DownloadFileButtonTitle"),this.labels.FileDownloadButtonAssistiveText=o.getLabel("EmbeddedMessagingFileAttachments","DownloadFileButtonAssistiveText")}get fileAttachmentName(){return this.conversationEntry.isMessageOutbound?this.hasFileSendFailed||this.attachment&&this.isFileUploadComplete()?this.attachment.name:this.labels.FileSendingText:this.attachment?this.attachment.name:""}get fileAttachmentIconType(){return this.attachment&&this.attachment.mimeType?d.getSupportedFileType(this.attachment.mimeType):void 0}get attachmentMessageWrapperClassName(){const e="attachmentMessageWrapper slds-file slds-has-title";return this.attachment?this.hasFileSendFailed?`${e} fileSendFailed`:e:`${e} slds-file_loading`}get downloadButton(){return this.template&&this.template.querySelector(".attachmentMessageFooterControls > .downloadButton")?this.template.querySelector(".attachmentMessageFooterControls > .downloadButton"):void 0}isDownloadDisabled(){const e=this.downloadButton;e&&(this.hasFileSendFailed||!this.attachment?e.disabled=!0:e.disabled=!1)}get showFileSendingSpinner(){return this.conversationEntry.isMessageOutbound&&this.attachment&&!this.isFileUploadComplete()}get hasFileSendFailed(){return this.conversationEntry.hasSendFailed}get isFileAttachmentInbound(){return!this.conversationEntry.isMessageOutbound}handleFileDownload(e){const t=this.fileDownloadUrl;let n=!1;t&&(s.util.isDesktop()||!s.util.isIOSChrome()&&!s.util.isMobilePublisherApp()||(n=!0),s.util.sendPostMessageToOrigin(s.util.getParentWindowUrl(),s.events.EMBEDDED_MESSAGING_DOWNLOAD_FILE,{attachmentDownloadURL:t,shouldOpenFileInNewTab:n})),s.LoggingUtil.logInteraction(e,this,U,{method:"handleFileDownload"})}get fileDownloadUrl(){return this.conversationEntry.isMessageOutbound?"":this.attachment&&this.attachment.url?this.attachment.url:""}get isAttachmentTypePDF(){return"application/pdf"===this.attachment.mimeType}set previewType(e){this._previewType=e}get previewType(){return this._previewType}get filePreviewUrl(){let e="";try{if(this.isFileAttachmentInbound)if(this.isAttachmentTypePDF){const t=decodeURIComponent(decodeURIComponent(this.fileDownloadUrl)),n=t.split("/sfc")[0],a=t.match(/ids=(.*?)&/i)[1],i="THUMB720BY480",s="/sfc/dist/version/renditionDownload?rendition=",l="/sfc/p/",o=t.match(/&d=\/a(.*?)&asPdf/i)[1],r=this.configuration.orgId,d=this.configuration.orgId.match(/00D(.*)/)[1];e=this.previewType===N?n+l+d+"/a"+o:n+s+i+"&versionId="+a+"&d=/a"+o+"&oid="+r}else e=this.fileDownloadUrl}catch(t){e="",s.LoggingUtil.logError(t,U,{method:"filePreviewUrl",errMessage:`Something went wrong in generating a ${this.previewType} for a file of ${this.attachment.mimeType} type. Expected a valid public link format for the file, instead received: ${this.fileDownloadUrl}`,convEntryId:this.conversationEntry.messageId})}return e}handlePreviewRegionClick(e){this.isAttachmentTypePDF&&(this._previewType=N);const t=this.filePreviewUrl;t&&r.dispatchEvent(s.events.EMBEDDED_MESSAGING_SHOW_FULL_SIZE_FILE_PREVIEW_EVENT,{bubbles:!0,composed:!0,attachmentUrl:t,attachmentName:this.fileAttachmentName,attachmentType:this.attachment.mimeType}),this._previewType=x,e&&(e.stopPropagation(),s.LoggingUtil.logInteraction(e,this,U,{method:"handlePreviewRegionClick"}))}handlePreviewRegionKeyDown(e){e&&(e.key!==s.KEY_CODES.ENTER&&e.key!==s.KEY_CODES.SPACE||e.currentTarget.click())}get previewContainerClassName(){let e="previewContainer "+(this.isFileAttachmentInbound?"slds-file__figure":"outboundFileAttachment slds-file__figure");const t=new Image;return t.src=this.filePreviewUrl,t.onload=()=>{t.naturalWidth>t.naturalHeight&&(e+=" slds-file__figure_portrait")},e}get generatePreviewContainerTabIndex(){return this.isFileAttachmentInbound?0:-1}get generatePreviewContainerRole(){return this.isFileAttachmentInbound?"button":"none"}get fileUploadResult(){return this.attachment&&this.attachment.attachmentUploadResult&&this.attachment.attachmentUploadResult.resultType}isFileUploadComplete(){return this.fileUploadResult===c.ATTACHMENT_UPLOAD_RESULT_TYPE.COMPLETED}isFileUploadPending(){return this.fileUploadResult===c.ATTACHMENT_UPLOAD_RESULT_TYPE.PENDING}hasFileUploadFailed(){return this.fileUploadResult===c.ATTACHMENT_UPLOAD_RESULT_TYPE.ERROR}}t.registerDecorators(k,{publicProps:{conversationEntry:{config:0},attachment:{config:0},configuration:{config:0},previewType:{config:3},filePreviewUrl:{config:1}},track:{labels:1},fields:["defaultAttachmentIcon","_previewType"]});const R=t.registerComponent(k,{tmpl:S,sel:"embeddedMessaging-file-attachment-message",apiVersion:62});e.default=R,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/fileAttachmentMessage', ['embeddedMessaging/fileAttachmentMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryItem",["exports","lwc","lightning/formattedDateTime","lightning/avatar","embeddedmessaging/choicesResponse","embeddedmessaging/fileAttachmentMessage","embeddedmessaging/conversationLinkMessage","embeddedmessaging/chatMessageWebView","embeddedmessaging/conversationFormMessage","lightning/icon","embeddedmessaging/choicesButtons","embeddedmessaging/choicesMenu","embeddedmessaging/choicesCarousel","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/labelUtils","embeddedMessaging/common","embeddedMessaging/brandingUtils","embeddedMessaging/globalEventStore","embeddedMessaging/fileAttachmentFooter"],function(e,t,s,a,n,i,r,o,d,l,g,c,m,u,h,v,p,y,E,b){function T(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=T(s),C=T(a),M=T(n),f=T(i),R=T(r),I=T(o),k=T(d),_=T(l),N=T(g),A=T(c),x=T(m);var w=[function(e,t,s){var a=e?"["+e+"]":"";return[t?":host {":(e?"["+e+"-host]":"")+" {","--slds-c-avatar-color-background: var(--secondaryColor, #005290);}div.slds-chat-event",a," {font-size: 0.75em;}div.embedded-messaging-system-event-avatar",a," {display: flex;flex-direction: column;align-items: center;justify-content: space-around;}div.embedded-messaging-system-event-participantchanged",a," {display: flex;}div.embedded-messaging-system-event-participantchanged",a," > lightning-avatar.embedded-messaging-system-event-avatar",a," {border-radius: 25px;display: inline-block;width: 1.25rem;height: 1.25rem;margin-top: 0.25rem;}div.embedded-messaging-system-event-participantchanged-text",a,",div.embedded-messaging-system-event-routingresult-text",a," {color: var(--contrastPrimaryColor, #333333);background-color: var(--slds-g-color-neutral-base-100, #FBFBFB);border-radius: 5px;padding: 5px;}div.embedded-messaging-chat-message",a," > lightning-avatar.embedded-messaging-chat-message-agent-avatar",a," {border-radius: 25px;min-width: 1.5rem;}div.embedded-messaging-chat-message",a," > lightning-avatar",a," {align-self: flex-end;margin-bottom: 16px;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," div.embedded-messaging-chat-message",a," > lightning-avatar",a," {margin-left: 0.5rem;margin-right: 0;}div.embedded-messaging-chat-message",a," {max-width: 85%;white-space: pre-wrap;word-break: break-word;overflow-wrap: break-word;}div.embedded-messaging-inbound-chat-message",a,",div.embedded-messaging-outbound-chat-message",a," {font-size: 0.875em;}div.embedded-messaging-inbound-chat-message",a," {background-color: #f2f2f3;}div.embedded-messaging-chat-message-metadata",a," {font-size: 0.625em;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," div.embedded-messaging-outbound-chat-message",a," {margin-right: auto;margin-left: 0;border-radius: 0.5rem 0.5rem 0.5rem 0;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," div.embedded-messaging-inbound-chat-message",a," {margin-right: 0;margin-left: auto;border-radius: 0.5rem 0.5rem 0 0.5rem;}.slds-chat-message_faux-avatar",a," {padding-left: 2rem;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .slds-chat-message_faux-avatar",a," {padding-right: 2rem;padding-left: 0;}.embedded-messaging-chat-message",a," div.embedded-messaging-inbound-chat-message",a," {color: var(--contrastPrimaryColor, #333333);}.embedded-messaging-chat-message",a," div.embedded-messaging-outbound-chat-message:not(.slds-chat-message__file_outbound):not(.slds-chat-message__file_inbound):not(.slds-chat-message__link_outbound)",a," {background-color: var(--secondaryColor, #005290);}.embedded-messaging-chat-message",a," div.slds-chat-message__form_inbound",a," {border-radius: .5rem .5rem .5rem 0;}.embedded-messaging-chat-message",a," div.slds-chat-message__form_outbound",a," {border-radius: .5rem .5rem 0;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embedded-messaging-chat-message",a," div.slds-chat-message__form_inbound",a," {border-radius: .5rem .5rem 0;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embedded-messaging-chat-message",a," div.slds-chat-message__form_outbound",a," {border-radius: .5rem .5rem .5rem 0;}div.embedded-messaging-outbound-chat-message",a," + div.embedded-messaging-chat-message-metadata",a," {margin-left: auto;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," div.embedded-messaging-outbound-chat-message",a," + div.embedded-messaging-chat-message-metadata",a," {margin-right: auto;margin-left: 0;}.embedded-messaging-conversation-entry-listitem.embedded-messaging-choices-message",a," {flex-direction: column;}.embedded-messaging-conversation-entry-listitem",a," {margin-top: 0.25rem;margin-bottom: 0.25rem;flex-wrap: wrap;}div.embedded-messaging-automated-response",a,",div.embedded-messaging-estimated-wait-time",a," {color: var(--contrastPrimaryColor, #333333);margin: 12px auto;position: relative;width: 100%;text-align: center;word-break: break-word;font-size: 0.75em;white-space : pre-line;}.embedded-messaging-retry-button",a," {color: var(--secondaryColor, #005290);display: inline;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;max-width: 10ch;font-size: 0.625rem;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embedded-messaging-retry-button",a," {transform: scaleX(-1);}.embedded-messaging-timestamp",a," {margin: 12px auto;position: relative;width: 100%;text-align: center;word-break: break-word;font-size: 0.75em;}.unsupportedMessage",a," {display: flex;}.unsupportedMessageIconContainer",a," {background: red;border-radius: .5rem 0 0 0;margin: -8px;}.unsupportedMessageIcon",a," {--sds-c-icon-color-foreground-default: white;padding: 0.5rem 0.5rem;}.unsupportedMessageText",a," {padding-left: 1.25rem;}"].join("")}];const L=t.parseFragment`<a${"a0:href"} target="_blank" rel="noopener"${"a0:id"}${3}>${"t1"}</a>`,F=t.parseFragment`<span${3}>${"t1"}</span>`,P=t.parseFragment`<div${"c0"}${2}><span${3}>${"t2"}</span></div>`,D=t.parseFragment`<div${"c0"}${2}><span${3}>${"t2"}</span></div>`,O=t.parseFragment`<span class="unsupportedMessageText${0}"${2}>${"t1"}</span>`,B=t.parseFragment`<span${"a0:id"}${3}>${"t1"}</span>`,$=t.parseFragment`<span${3}>${"t1"}</span>`,U=t.parseFragment`<span${3}>${"t1"}</span>`,G=t.parseFragment`<div class="embedded-messaging-automated-response${0}"${2}><span${3}>${"t2"}</span></div>`,W={role:"presentation"},H={classMap:{"embedded-messaging-timestamp":!0},key:1},V={key:2},z=[],Y={classMap:{unsupportedMessageIconContainer:!0},key:29},K={classMap:{unsupportedMessageIcon:!0},props:{iconName:"utility:error",alternativeText:"error",size:"small"},key:30},q={"slds-button":!0,"embedded-messaging-retry-button":!0},j={"aria-hidden":"true"},J={key:40},X={classMap:{"embedded-messaging-system-event-participantchanged":!0},key:44},Q={classMap:{"embedded-messaging-system-event-participantchanged-text":!0},key:46},Z={key:47},ee={classMap:{"embedded-messaging-system-event-routingresult":!0},key:49},te={classMap:{"embedded-messaging-system-event-routingresult-text":!0},key:50},se={key:53},ae={classMap:{"embedded-messaging-estimated-wait-time":!0},key:55},ne={key:56};function ie(e,t,s,a){const{ncls:n,d:i,t:r,c:o,h:d,fid:l,gid:g,k:c,b:m,sp:u,st:h,i:v,f:p}=e,{_m0:y,_m1:E,_m2:b}=a;return[t.shouldDisplayConversationEntry?d("li",{className:n(t.generateListItemClassName),attrs:W,key:0},[t.shouldShowTimestamp?d("div",H,[d("span",V,[r(i(t.generateTimeStamp)+" • "),o("lightning-formatted-date-time",S.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:3})])]):null,d("div",{className:n(t.generateEntryTypeClassName),key:4},[t.shouldDisplayChatBubble?t.conversationEntry.isMessageOutbound?null:t.isLastInGroup?o("lightning-avatar",C.default,{className:n(t.generateMessageAvatarClassName),props:{variant:"circle",size:"small",initials:t.generateAvatarInitials,alternativeText:t.conversationEntry.actorName,src:t.generateAvatarImage},key:5}):null:null,d("div",{className:n(t.generateEntryTypeBodyClassName),key:6},p([t.shouldDisplayChatBubble?p([t.conversationEntry.isStaticText?d("div",{className:n(t.generateChatMessageClassName),key:7},v(t.conversationEntry.parsedStaticTextContent,function(e){return[e.isAnchor?h(L,c(9,e.id),[u(0,{on:{click:E||(a._m1=m(t.handleConversationEntryClick))},attrs:{href:l(e.url),id:g("conversationEntryLink")}},null),u(1,null,i(e.text))]):null,e.isAnchor?null:h(F,c(11,e.id),[u(1,null,i(e.text))])]})):null,t.conversationEntry.choicesText?h(P,13,[u(0,{className:n(t.generateChatMessageClassName)},null),u(2,null,i(t.conversationEntry.choicesText))]):null,t.conversationEntry.isChoicesResponse?d("div",{className:n(t.generateChatMessageClassName),key:14},[o("embeddedmessaging-choices-response",M.default,{props:{response:t.conversationEntry.choicesResponseSelection},key:15})]):null,t.conversationEntry.isAttachments?p([t.conversationEntry.staticTextInAttachmentsEntry?h(D,17,[u(0,{className:n(t.generateClassNameForStaticTextInAttachmentMessage)},null),u(2,null,i(t.conversationEntry.staticTextInAttachmentsEntry))]):null,v(t.conversationEntry.attachments,function(e){return d("div",{className:n(t.generateChatMessageClassName),key:c(18,e.id)},[o("embeddedmessaging-file-attachment-message",f.default,{props:{conversationEntry:t.conversationEntry,attachment:e,configuration:t.configuration},key:19})])})]):z,t.conversationEntry.isRichLink?d("div",{className:n(t.generateChatMessageClassName),key:20},[o("embeddedmessaging-conversation-link-message",R.default,{props:{conversationEntry:t.conversationEntry},key:21})]):null,t.conversationEntry.isWebViewChatMessage?d("div",{className:n(t.generateChatMessageClassName),key:22},[o("embeddedmessaging-chat-message-web-view",I.default,{props:{conversationEntry:t.conversationEntry},key:23})]):null,t.conversationEntry.isForm?d("div",{className:n(t.generateChatMessageClassName),key:24},[o("embeddedmessaging-conversation-form-message",k.default,{props:{formState:t.conversationEntry.formState,formSections:t.conversationEntry.formSections,formTitle:t.conversationEntry.formTitle,messageId:t.conversationEntry.messageId,isRepliedTo:t.conversationEntry.isSelectedOrRepliedTo,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus},key:25})]):null,t.conversationEntry.isFormResponseResult?d("div",{className:n(t.generateChatMessageClassName),key:26},[o("embeddedmessaging-conversation-form-message",k.default,{props:{formState:t.conversationEntry.formState,formTitle:t.conversationEntry.formTitle,messageId:t.conversationEntry.messageId,isRepliedTo:t.conversationEntry.isSelectedOrRepliedTo,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus},key:27})]):null,t.conversationEntry.isUnsupportedMessageType?d("div",{className:n(t.generateUnsupportedMessageTypeClassName),key:28},[d("div",Y,[o("lightning-icon",_.default,K)]),h(O,32,[u(1,null,i(t.unsupportedMessageTypeText))])]):null,t.isLastInGroup?d("div",{className:n(t.generateChatMessageMetadataClassName),attrs:{"aria-label":t.generateChatMessageMetadataAssistiveText},key:33},[t.conversationEntry.isMessageOutbound&&t.shouldDisplayResendButton?d("button",{classMap:q,attrs:{role:"button",title:t.labels.MessageResendButtonText,id:g("resendButton")},key:34,on:{click:b||(a._m2=m(t.onResendButtonClick))}},[o("lightning-icon",_.default,{props:{iconName:"utility:refresh",size:"xx-small",id:g("resendButtonIcon")},key:35}),r(" "),h(B,37,[u(0,{attrs:{id:g("resendButtonText")}},null),u(1,null,i(t.labels.MessageResendButtonText))])]):null,t.conversationEntry.isMessageOutbound&&t.shouldDisplayResendButton?r(" • "):null,t.conversationEntry.isMessageOutbound&&t.shouldDisplayReceipt?d("span",{className:n(t.generateChatMessageReceiptTextClassName),attrs:j,key:38},[r(i(t.receiptText)+" • "),o("lightning-formatted-date-time",S.default,{props:{value:t.receiptTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:39})]):null,t.conversationEntry.isMessageOutbound?null:d("span",J,[h($,42,[u(1,null,i(t.conversationEntry.actorName))]),r(" • "),o("lightning-formatted-date-time",S.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:43})])]):null]):z,t.conversationEntry.isSystemEvent&&t.conversationEntry.isParticipantChangedSystemEvent?d("div",X,[o("lightning-avatar",C.default,{className:n(t.generateEventAvatarClassName),props:{variant:"circle",size:"x-small",initials:t.generateAvatarInitials,alternativeText:t.conversationEntry.actorName,src:t.generateAvatarImage},key:45}),d("div",Q,[d("span",Z,[r(i(t.generateParticipantChangedSystemEventText)+" • "),o("lightning-formatted-date-time",S.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:48})])])]):null,t.conversationEntry.isSystemEvent&&t.conversationEntry.isRoutingResultSystemEvent&&t.conversationEntry.shouldShowRoutingResultSystemEventText?d("div",ee,[d("div",te,[t.conversationEntry.isInitialRoutingFailure?h(U,52,[u(1,null,i(t.generateInitialRoutingFailureSystemEventText))]):null,t.conversationEntry.isTransferRoutingInitiated?d("span",se,[r(i(t.generateTransferRoutingInitiatedSystemEventText)+" "),o("lightning-formatted-date-time",S.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:54})]):null])]):null]))]),t.conversationEntry.isRoutingResultSystemEvent&&t.conversationEntry.shouldShowEstimatedWaitTime?d("div",ae,[d("span",ne,[r(i(t.generateEstimatedWaitTimeSystemEventText)+" • "),o("lightning-formatted-date-time",S.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:57})])]):null,t.conversationEntry.isAutomatedResponseStaticText?h(G,59,[u(2,null,i(t.conversationEntry.automatedResponseText))]):null,t.conversationEntry.isChoices&&t.conversationEntry.isChoicesButtons?o("embeddedmessaging-choices-buttons",N.default,{props:{options:t.conversationEntry.choices,messageId:t.conversationEntry.messageId,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus,isDisabled:t.conversationEntry.isSelectedOrRepliedTo},key:60}):null,t.conversationEntry.isChoices&&t.conversationEntry.isChoicesMenu?o("embeddedmessaging-choices-menu",A.default,{props:{options:t.conversationEntry.choices,messageId:t.conversationEntry.messageId,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus,isDisabled:t.conversationEntry.isSelectedOrRepliedTo},key:61}):null,t.conversationEntry.isChoices&&t.conversationEntry.isChoicesCarousel?o("embeddedmessaging-choices-carousel",x.default,{props:{options:t.conversationEntry.choicesCarouselOptions,images:t.conversationEntry.choicesCarouselImages,messageId:t.conversationEntry.messageId,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus,configuration:t.configuration,isDisabled:t.conversationEntry.isSelectedOrRepliedTo},key:62}):null]):null]}var re=t.registerTemplate(ie);ie.stylesheets=[],ie.stylesheetToken="lwc-3cjfrt9r4ka",ie.legacyStylesheetToken="embeddedMessaging-conversationEntryItem_conversationEntryItem",w&&ie.stylesheets.push.apply(ie.stylesheets,w),t.freezeTemplate(ie);const oe="EmbeddedMessaging-ConversationEntryItem";class de extends t.LightningElement{constructor(...e){super(...e),this.conversationEntry=void 0,this.conversationStatus=void 0,this.labels={},this.configuration={}}connectedCallback(){u.validateMessageId(this.conversationEntry.messageId),this.conversationEntry.validate(),this.handleLabels(),this.applyStyling()}get shouldDisplayConversationEntry(){return this.conversationEntry.entryType!==h.EntryTypes.PARTICIPANT_CHANGED||("boolean"!=typeof this.configuration.snippetSettings.shouldShowParticipantChgEvntInConvHist||this.configuration.snippetSettings.shouldShowParticipantChgEvntInConvHist)}get shouldDisplayResendButton(){return this.conversationEntry.isMessageOutbound&&this.conversationEntry.hasSendFailed&&(this.conversationEntry.formatType!==h.FormatTypes.ATTACHMENTS||this.shouldDisplayFileAttachmentResend)&&this.conversationStatus===h.ConversationStatus.OPENED_CONVERSATION&&!this.conversationEntry.resendInProgress}get shouldDisplayFileAttachmentResend(){return b.allowEndUserFileAttachments(this.configuration)&&this.conversationEntry.attachedFile}get shouldDisplayChatBubble(){return this.conversationEntry.isChatMessage&&(this.conversationEntry.isStaticContentMessage||this.conversationEntry.isChoices&&this.conversationEntry.choicesText||this.conversationEntry.isChoicesResponse||this.conversationEntry.isForm||this.conversationEntry.isFormResponseResult)||this.conversationEntry.isSystemEvent&&this.conversationEntry.isWebViewChatMessage||this.conversationEntry.isUnsupportedMessageType&&!this.conversationEntry.isMessageOutbound}get shouldDisplayReceipt(){return(this.conversationEntry.isRead||this.conversationEntry.isDelivered||this.conversationEntry.isSent||this.conversationEntry.hasSendFailed)&&this.shouldDisplayChatBubble}get isLastInGroup(){return this.conversationEntry.isLastInGroup||this.conversationEntry.isFauxLastInGroup}get receiptText(){return this.conversationEntry.hasSendFailed?this.labels.NotSent:this.conversationEntry.isRead&&this.configuration.embeddedServiceMessagingChannel.showReadReceipts?this.labels.Read:this.conversationEntry.isDelivered&&this.configuration.embeddedServiceMessagingChannel.showDeliveryReceipts?this.labels.Delivered:this.conversationEntry.isSent?this.labels.Sent:""}get receiptTimestamp(){return this.conversationEntry.isRead&&this.configuration.embeddedServiceMessagingChannel.showReadReceipts&&this.conversationEntry.readAcknowledgementTimestamp?this.conversationEntry.readAcknowledgementTimestamp:this.conversationEntry.isDelivered&&this.configuration.embeddedServiceMessagingChannel.showDeliveryReceipts&&this.conversationEntry.deliveryAcknowledgementTimestamp?this.conversationEntry.deliveryAcknowledgementTimestamp:(this.conversationEntry.isSent||this.conversationEntry.hasSendFailed)&&this.conversationEntry.transcriptedTimestamp?this.conversationEntry.transcriptedTimestamp:""}get generateChatMessageReceiptTextClassName(){let e="embedded-messaging-chat-message-receipt-text";return e+=this.conversationEntry.hasSendFailed?" slds-text-color_error":"",e}get generateListItemClassName(){const e=this.conversationEntry.actorType;let t="slds-chat-listitem slds-chat-listitem_";switch(e){case h.ParticipantRoles.AGENT:case h.ParticipantRoles.CHATBOT:t+="inbound";break;case h.ParticipantRoles.ENDUSER:t+="outbound";break;case h.ParticipantRoles.SYSTEM:t+="event";break;default:throw new Error(`Unsupported actor type: ${e}`)}return t+=" embedded-messaging-conversation-entry-listitem",this.conversationEntry.choicesText&&(t+=" embedded-messaging-choices-message"),t}get generateEntryTypeClassName(){const e=this.conversationEntry.entryType;let t="slds-chat-";switch(e.toLowerCase()){case h.EntryTypes.CONVERSATION_MESSAGE.toLowerCase():t+="message",t+=" embedded-messaging-chat-message",this.isLastInGroup||this.conversationEntry.isMessageOutbound||this.conversationEntry.isChoicesCarousel||(t+=" slds-chat-message_faux-avatar");break;case h.EntryTypes.PARTICIPANT_CHANGED.toLowerCase():case h.EntryTypes.ROUTING_RESULT.toLowerCase():t+="event";break;default:throw new Error(`Unsupported entry type: ${e}`)}return t}get generateEntryTypeBodyClassName(){const e=this.conversationEntry.entryType;let t="slds-chat-";switch(e.toLowerCase()){case h.EntryTypes.CONVERSATION_MESSAGE.toLowerCase():t+="message";break;case h.EntryTypes.PARTICIPANT_CHANGED.toLowerCase():case h.EntryTypes.ROUTING_RESULT.toLowerCase():t+="event";break;default:throw new Error(`Unsupported entry type: ${e}`)}return t+="__body",t}get generateChatMessageClassName(){const e=this.conversationEntry.formatType,t=this.conversationEntry.actorType;let s="slds-chat-message";switch(e.toLowerCase()){case h.FormatTypes.TEXT.toLowerCase():case h.FormatTypes.BUTTONS.toLowerCase():case h.FormatTypes.QUICK_REPLIES.toLowerCase():case h.FormatTypes.CAROUSELS.toLowerCase():case h.FormatTypes.SELECTIONS.toLowerCase():s+="__text";break;case h.FormatTypes.ATTACHMENTS.toLowerCase():s+="__file";break;case h.FormatTypes.RICH_LINK.toLowerCase():case h.FormatTypes.WEB_VIEW.toLowerCase():s+="__link";break;case h.FormatTypes.INPUTS.toLowerCase():case h.FormatTypes.RESULT.toLowerCase():s+="__form";break;default:throw new Error(`Unsupported format type: ${e}`)}switch(s.concat(" ",s),t){case h.ParticipantRoles.AGENT:case h.ParticipantRoles.CHATBOT:case h.ParticipantRoles.SYSTEM:s+="_inbound",s+=" embedded-messaging-inbound-chat-message",s+=this.conversationEntry.isAttachments?" slds-m-top_small":"";break;case h.ParticipantRoles.ENDUSER:s+="_outbound",s+=" embedded-messaging-outbound-chat-message";break;default:throw new Error(`Unsupported actor type: ${t}`)}return s}get generateUnsupportedMessageTypeClassName(){let e="slds-chat-message__text";const t=this.conversationEntry.actorType;switch(t){case h.ParticipantRoles.AGENT:case h.ParticipantRoles.CHATBOT:case h.ParticipantRoles.SYSTEM:e+="_inbound",e+=" embedded-messaging-inbound-chat-message";break;case h.ParticipantRoles.ENDUSER:e+="_outbound",e+=" embedded-messaging-outbound-chat-message";break;default:throw new Error(`Unsupported actor type: ${t}`)}return e+=" unsupportedMessage",e}get unsupportedMessageTypeText(){const e={"{0}":this.conversationEntry.actorType};return p.util.replacePlaceholdersInString(this.labels.UnsupportedMessageText,e)}get generateChatMessageMetadataClassName(){let e="slds-chat-message__meta";return e+=" embedded-messaging-chat-message-metadata","slds-chat-message__meta embedded-messaging-chat-message-metadata"}get generateChatMessageMetadataAssistiveText(){if(this.labels.ChatMessageMetadataAssistiveText){const e={"{0}":this.conversationEntry.actorName,"{1}":new Date(this.conversationEntry.transcriptedTimestamp).toLocaleTimeString()};return p.util.replacePlaceholdersInString(this.labels.ChatMessageMetadataAssistiveText,e)}return""}get generateMessageAvatarClassName(){let e="slds-chat-avatar";return e+=" embedded-messaging-chat-message-agent-avatar","slds-chat-avatar embedded-messaging-chat-message-agent-avatar"}get generateEventAvatarClassName(){return"embedded-messaging-system-event-avatar"}get generateParticipantChangedSystemEventText(){const e=this.conversationEntry.messageType,t={"{0}":this.conversationEntry.actorName};let s="";if(e===h.ParticipantChangedOperations.ADD)s=p.util.replacePlaceholdersInString(this.labels.ParticipantJoinText,t);else{if(e!==h.ParticipantChangedOperations.REMOVE)throw new Error(`Unsupported ParticipantChanged operation: ${e}`);s=p.util.replacePlaceholdersInString(this.labels.ParticipantLeaveText,t)}return s}get generateInitialRoutingFailureSystemEventText(){return this.conversationEntry.shouldShowRoutingFailureReason?this.conversationEntry.routingFailureReason:this.labels.InitialRoutingFailureSystemMessage}get generateTransferRoutingInitiatedSystemEventText(){return this.labels.TransferRequestSuccessSystemMessage}get generateEstimatedWaitTimeSystemEventText(){let e="";const t={"{0}":this.conversationEntry.estimatedWaitTimeInMinutes};return e=this.conversationEntry.estimatedWaitTimeInMinutes>1?p.util.replacePlaceholdersInString(this.labels.EstimatedWaitTimeInMinutes,t):p.util.replacePlaceholdersInString(this.labels.EstimatedWaitTimeInMinute,t),e}get generateAvatarInitials(){const e=this.conversationEntry.actorName.toUpperCase().split(" ");let t="";return e.forEach((s,a)=>{const n=a;e[n].length>0&&""!==e[n]&&(t+=e[n][0])}),t.length>2&&(t=t.slice(0,2)),t}get generateAvatarImage(){let e;switch(this.conversationEntry.actorType){case h.ParticipantRoles.AGENT:e=y.getBrandingValue(y.BRANDING_TOKENS.AGENT_AVATAR_IMAGE.name);break;case h.ParticipantRoles.CHATBOT:e=y.getBrandingValue(y.BRANDING_TOKENS.BOT_AVATAR_IMAGE.name);break;case h.ParticipantRoles.SYSTEM:e=this.conversationEntry.isParticipantForParticipantChangedSystemEventAnAgent?y.getBrandingValue(y.BRANDING_TOKENS.AGENT_AVATAR_IMAGE.name):this.conversationEntry.isParticipantForParticipantChangedSystemEventAChatbot?y.getBrandingValue(y.BRANDING_TOKENS.BOT_AVATAR_IMAGE.name):"";break;default:e=""}return e}get shouldShowTimestamp(){return this.conversationEntry.shouldShowTimeStamp}get generateTimeStamp(){const e=(new Date).setHours(0,0,0,0).valueOf(),t=new Date(this.conversationEntry.transcriptedTimestamp),s=e-this.conversationEntry.transcriptedTimestamp;return p.util.isSameDay(this.conversationEntry.transcriptedTimestamp,e)?this.labels.StartBookendText:s<h.DAY_THRESHOLD_MILLISECONDS?this.labels.Yesterday:s<h.WEEK_THRESHOLD_MILLISECONDS?t.toLocaleString(p.getLanguage(),h.WEEKDAY_TIMESTAMP_FORMAT):t.toLocaleDateString(p.getLanguage(),h.DATE_TIMESTAMP_FORMAT)}onResendButtonClick(e){E.dispatchEvent(p.events.EMBEDDED_MESSAGING_RESEND_FAILED_MESSAGE,{conversationEntry:this.conversationEntry,resendButtonElement:e.target}),p.LoggingUtil.logInteraction(e,this,oe,{method:"onResendButtonClick"})}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet.insertRule("lightning-avatar.embedded-messaging-chat-message-agent-avatar > abbr.slds-avatar__initials, lightning-avatar.embedded-messaging-chat-message-agent-avatar > abbr.slds-avatar__initials:hover, lightning-avatar.embedded-messaging-system-event-avatar > abbr.slds-avatar__initials, lightning-avatar.embedded-messaging-system-event-avatar > abbr.slds-avatar__initials:hover { color: #FFFFFF; text-shadow:none; }",0)}handleLabels(){this.labels.ChatMessageMetadataAssistiveText=v.getLabel("EmbeddedMessagingConversationState","ChatMessageMetadataAssistiveText"),this.labels.ParticipantJoinText=v.getLabel("EmbeddedMessagingConversationState","ParticipantJoinText"),this.labels.ParticipantLeaveText=v.getLabel("EmbeddedMessagingConversationState","ParticipantLeaveText"),this.labels.NotSent=v.getLabel("EmbeddedMessagingConversationState","NotSent"),this.labels.Sent=v.getLabel("EmbeddedMessagingConversationState","Sent"),this.labels.Delivered=v.getLabel("EmbeddedMessagingConversationState","Delivered"),this.labels.Read=v.getLabel("EmbeddedMessagingConversationState","Read"),this.labels.TransferRequestSuccessSystemMessage=v.getLabel("EmbeddedMessagingConversationState","TransferRequestSuccessSystemMessage"),this.labels.TransferRequestFailureSystemMessage=v.getLabel("EmbeddedMessagingConversationState","TransferRequestFailureSystemMessage"),this.labels.TransferRequestTryAgainSystemMessage=v.getLabel("EmbeddedMessagingConversationState","TransferRequestTryAgainSystemMessage"),this.labels.InitialRoutingFailureSystemMessage=v.getLabel("EmbeddedMessagingConversationState","NotRoutedToAgentRoutingResult"),this.labels.MessageResendButtonText=v.getLabel("EmbeddedMessagingConversationState","MessageResendButtonText"),this.labels.EstimatedWaitTimeInMinute=v.getLabel("EmbeddedMessagingConversationState","EstimatedWaitTimeInMinute"),this.labels.EstimatedWaitTimeInMinutes=v.getLabel("EmbeddedMessagingConversationState","EstimatedWaitTimeInMinutes"),this.labels.StartBookendText=v.getLabel("EmbeddedMessagingConversationState","StartBookendText"),this.labels.Yesterday=v.getLabel("EmbeddedMessagingConversationState","Yesterday"),this.labels.UnsupportedMessageText=v.getLabel("EmbeddedMessagingConversationState","UnsupportedMessageTypeText")}get generateClassNameForStaticTextInAttachmentMessage(){const e=this.conversationEntry.isMessageOutbound?"outbound":"inbound";return`slds-chat-message__text_${e} embedded-messaging-${e}-chat-message slds-m-bottom_small`}handleConversationEntryClick(e){e&&(e.stopPropagation(),p.LoggingUtil.logInteraction(e,this,oe,{method:"handleConversationEntryClick"}))}}t.registerDecorators(de,{publicProps:{conversationEntry:{config:0},conversationStatus:{config:0},configuration:{config:0}},track:{labels:1}});const le=t.registerComponent(de,{tmpl:re,sel:"embeddedMessaging-conversation-entry-item",apiVersion:62});e.default=le,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationEntryItem', ['embeddedMessaging/conversationEntryItem'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationLog",["exports","lwc","embeddedmessaging/spinner","embeddedmessaging/conversationEntryItem","embeddedmessaging/chatTypingIndicator","lightning/formattedDateTime","embeddedmessaging/chatUnseenMessageNotification","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/brandingUtils","embeddedMessaging/globalEventStore","embeddedMessaging/inAppService","embeddedMessaging/countdownTimer","embeddedMessaging/labelUtils","embeddedMessaging/webStorageUtils"],function(e,t,s,i,n,o,a,r,l,d,c,h,g,p,m){function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=u(s),T=u(i),M=u(n),S=u(o),v=u(a),A=u(g);var b=[function(e,t,s){var i=e?"["+e+"]":"",n=e?"["+e+"-host]":"";return(t?":host {":n+" {")+"height: inherit;width: inherit;position: relative;align-self: stretch;flex: 1 1 auto;overflow: hidden;}"+(t?":host:focus {":n+":focus {")+"border: 1px solid var(--secondaryColor, #005290);outline: none;}li"+i+" > div.embedded-messaging-bookend"+i+" {border: none;color: var(--contrastPrimaryColor, #333333);text-align: center;font-size: 0.75em;}section.slds-chat"+i+" {height: 100%;width: 100%;overflow: hidden;display: flex;flex-direction: column;justify-content: end;}ul.slds-chat-list"+i+" {flex: 0 1 auto;width: 100%;overflow-y: auto;padding: 5px 14px 0 14px;}ul"+i+" > div.chat-typing-indicator"+i+" > embeddedmessaging-chat-typing-indicator"+i+" {position: relative;top: 5px;display: flex;width: 30px;height: 30px;border-radius: 50%;justify-content: center;align-items: center;border: none;pointer-events: auto;background-color: var(--contrastPrimaryColor, #333333);margin-bottom: 5px;}ul"+i+" > div.chat-typing-indicator"+i+" > span.typing-indicator-text"+i+" {color: var(--contrastPrimaryColor, #333333);font-size: 0.625em;}embeddedmessaging-spinner"+i+" {position: absolute;}"}];const f=t.parseFragment`<span class="typing-indicator-text${0}"${"a0:title"}${2}>${"t1"}</span>`,y=t.parseFragment`<span${3}>${"t1"}</span>`,C={"slds-chat":!0},N={classMap:{"slds-chat-list":!0},key:2},R={classMap:{"chat-typing-indicator":!0},key:4},D={key:5},_={classMap:{"slds-chat-listitem":!0,"slds-chat-listitem_bookend":!0},key:8},w={classMap:{"embedded-messaging-bookend":!0,"slds-chat-bookend":!0,"slds-chat-bookend_stop":!0},key:9},x={key:10},O={key:14};function I(e,t,s,i){const{c:n,k:o,i:a,d:r,sp:l,st:d,h:c,f:h}=e;return[t.showGetConversationEntriesSpinner?n("embeddedmessaging-spinner",E.default,{props:{spinnerColorToken:t.spinnerColorToken,shouldDisplay:t.showGetConversationEntriesSpinner,assistiveText:t.spinnerAssistiveText},key:0}):null,c("section",{classMap:C,attrs:{role:"log","aria-label":t.conversationLogAssistiveText},key:1},[c("ul",N,h([a(t.conversationEntries,function(e){return n("embeddedmessaging-conversation-entry-item",T.default,{props:{conversationEntry:e,conversationStatus:t.conversationStatus,configuration:t.configuration},key:o(3,e.messageId)})}),t.isAnotherParticipantTyping?c("div",R,[n("embeddedmessaging-chat-typing-indicator",M.default,D),d(f,7,[l(0,{attrs:{title:t.getTypingText}},null),l(1,null,r(t.getTypingText))])]):null,t.endBookendText?c("li",_,[c("div",w,[c("p",x,[d(y,12,[l(1,null,r(t.endBookendText)+" ")]),n("lightning-formatted-date-time",S.default,{props:{value:t.conversationEndTime,hour:"numeric",minute:"numeric",hour12:"true"},key:13})])])]):null]))]),t.shouldDisplayUnseenMessageBanner?c("div",O,[n("embeddedmessaging-chat-unseen-message-notification",v.default,{props:{unseenMessageCount:t.unseenMessageCount,isAnotherParticipantTyping:t.isAnotherParticipantTyping},key:15})]):null]}var P=t.registerTemplate(I);I.stylesheets=[],I.stylesheetToken="lwc-2itfp6ba1pc",I.legacyStylesheetToken="embeddedMessaging-conversationLog_conversationLog",b&&I.stylesheets.push.apply(I.stylesheets,b),t.freezeTemplate(I);class k extends t.LightningElement{constructor(...e){super(...e),this.conversationEntries=void 0,this.conversationStatus=void 0,this.conversationId=void 0,this.startTime=void 0,this.endTime=void 0,this.unseenMessageCount=0,this.shouldDisplayUnseenMessageBanner=void 0,this.currentTypingParticipants=void 0,this._isAnotherParticipantTyping=!1,this.isJwtExpired=void 0,this.configuration={},this.labels={},this._isMinimized=void 0,this.isAppAfterMaximization=!0,this.scrollingTimer=void 0,this.readReceiptsTimer=void 0,this.lastReadRecipt=-1,this.lastProcessedEntry=-1,this.isAutoScrollEnabled=!1,this.messageAreaElement=void 0,this.lastMessageAreaScrollPosition=void 0,this.isScrolledToTheBottom=!1,this._showGetConversationEntriesSpinner=!1,this.isInitialRender=!0,this.hasLoadedAllConversationEntries=void 0,this.spinnerColorToken=d.BRANDING_TOKENS.CONTRAST_PRIMARY_COLOR,this.handleScroll=()=>{this.isAppAfterMaximization&&(this.isAutoScrollEnabled=!0,this.isScrolledToTheBottom=this.isMessageAreaEndOfScroll(),c.dispatchEvent(r.events.EMBEDDED_MESSAGING_SCROLL_STATE_UPDATE,{isMessageAreaEndOfScroll:this.isMessageAreaEndOfScroll()}),this.hasLoadedAllConversationEntries||this.showGetConversationEntriesSpinner||!this.isMessageAreaTopOfScroll()||this.dispatchEvent(new CustomEvent("messageareatopofscroll")),!this.shouldShowUnseenMessageCounter()&&this.conversationEntries.length>0&&this.clearUnseenMessageNotifications(),this.scrollingTimer?this.scrollingTimer.reset(Date.now()):(this.scrollingTimer=new A.default(this.handleScrollEnd.bind(this),500,Date.now()),this.scrollingTimer.start()),this.lastMessageAreaScrollPosition=this.getMessageArea().scrollTop,m.setItemInWebStorage(l.STORAGE_KEYS.SCROLL_POSITION,this.getMessageArea().scrollTop))}}get isAnotherParticipantTyping(){return this._isAnotherParticipantTyping}set isAnotherParticipantTyping(e){this._isAnotherParticipantTyping=e,this.isAutoScrollEnabled&&this.isMessageAreaEndOfScroll()&&this.scrollToBottom()}get isMinimized(){return this._isMinimized}set isMinimized(e){this._isMinimized=e,this.readReceiptsTimer&&this.readReceiptsTimer.clear(),e||(this.readReceiptsTimer=new A.default(()=>{this.handleSendReadAcknowledgement(),this.readReceiptsTimer=void 0},500,Date.now()),this.readReceiptsTimer.start())}get showGetConversationEntriesSpinner(){return this._showGetConversationEntriesSpinner}set showGetConversationEntriesSpinner(e){const t=this.getMessageArea();this._showGetConversationEntriesSpinner=e;try{!1===e&&r.isNumber(this.lastMessageAreaScrollPosition)&&t&&(t.scrollTop=t.scrollHeight-this.lastMessageAreaScrollPosition)}catch(e){r.warning(e)}}get spinnerAssistiveText(){return this.labels.FetchMoreEntriesSpinnerAssistiveText}get getTypingText(){if(this.currentTypingParticipants){const e=Object.keys(this.currentTypingParticipants);if(this.currentTypingParticipants[e[0]].role===l.ParticipantRoles.CHATBOT)return this.labels.ChatbotTypingIndicatorAssistiveTextLabel;const t={"{0}":e[0]};return r.util.replacePlaceholdersInString(this.labels.AgentTypingIndicatorAssistiveTextLabel,t)}}get endBookendText(){return this.isJwtExpired?this.labels.ExpiredJWTLabel:this.isConversationClosed?this.labels.EndBookendText:void 0}get isConversationClosed(){switch(this.conversationStatus){case l.ConversationStatus.CLOSED_CONVERSATION:return!0;case l.ConversationStatus.NOT_STARTED_CONVERSATION:case l.ConversationStatus.OPENED_CONVERSATION:default:return!1}}get conversationLogAssistiveText(){return p.getLabel("EmbeddedMessagingChatHeader","ChatWindowAssistiveText")}connectedCallback(){c.assignHandler(r.events.UNSEEN_MESSAGE_NOTIFICATION_CLICKED,this.scrollToBottom.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_END_USER_SENT_MESSAGE,()=>{this.isAutoScrollEnabled=!0}),c.assignHandler(r.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_ADDED,this.handleConversationEntry.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_UPDATED,this.handleConversationEntry.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_ACKNOWLEDGEMENT_UPDATE,this.handleAcknowledgementUpdate.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_UNSEEN_NOTIFICATION_ANIMATION_END,this.clearUnseenMessageNotificationsAttributes.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_LINK_MESSAGE_RERENDER_EVENT,()=>{this.isScrolledToTheBottom&&this.scrollToBottom()}),r.util.isSafari()?window.addEventListener("focus",this.handleSendReadAcknowledgement.bind(this)):window.addEventListener("visibilitychange",this.handleSendReadAcknowledgement.bind(this)),this.handleLabels()}renderedCallback(){const e=this.getMessageArea();if(e&&(e.addEventListener("scroll",this.handleScroll.bind(this),!1),this.conversationEntries.length>0&&this.isInitialRender)){this.isInitialRender=!1;const t=m.getItemInWebStorageByKey(l.STORAGE_KEYS.SCROLL_POSITION);"number"!=typeof t||t<0?this.scrollToBottom():e.scrollTop=t}}disconnectedCallback(){const e=this.getMessageArea();e&&e.removeEventListener("scroll",this.handleScroll.bind(this)),this.isScrolledToTheBottom=!1}errorCallback(e,t){r.error(`Error loading the conversation: ${e.message} ${t}.`)}handleConversationEntry(e){const t=e&&e.entry?e.entry:void 0;if(this.conversationEntries.length){if(t&&!t.isServerSentEntry)return;if((this.isOutgoingMessage(t)||this.isAutoScrollEnabled&&0===this.unseenMessageCount&&this.isMessageAreaEndOfScroll())&&this.scrollToBottom(),this.isIncomingMessage(t)){const e=this.conversationEntries.length>this.lastProcessedEntry;(this.shouldShowUnseenMessageCounter()||"visible"!==document.visibilityState||this.isMinimized)&&e&&(this.unseenMessageCount+=1,this.lastProcessedEntry=this.conversationEntries.length),this.isAutoScrollEnabled&&this.isMessageAreaEndOfScroll()&&this.scrollToBottom()}this.readReceiptsTimer=new A.default(()=>{this.handleSendReadAcknowledgement(),this.readReceiptsTimer=void 0},500,Date.now()),this.readReceiptsTimer.start()}}handleAcknowledgementUpdate(){const e=this.getMessageArea(),t=e?e.querySelector("embeddedmessaging-conversation-entry-item:last-child"):void 0;t&&r.util.isElementVisible(t,e)&&this.isAutoScrollEnabled&&this.scrollToBottom()}scrollUp(){this.getMessageArea().scrollTop=this.getMessageArea().scrollTop-100}scrollDown(){this.getMessageArea().scrollTop=this.getMessageArea().scrollTop+100}handleScrollEnd(){this.handleSendReadAcknowledgement(),this.scrollingTimer=void 0}handleScrollPositionOnMaximizeAndMinimize(e){this.isAppAfterMaximization=!e,e?this.lastMessageAreaScrollPosition=this.getMessageArea().scrollTop:this.lastMessageAreaScrollPosition&&(this.getMessageArea().scrollTop=this.lastMessageAreaScrollPosition)}isMessageAreaTopOfScroll(){const e=this.getMessageArea();return!!e&&e.scrollTop<=10}getMessageAreaDistanceFromBottom(){const e=this.getMessageArea();return Math.abs(Math.round(e.scrollHeight-e.scrollTop)-e.clientHeight)}isMessageAreaEndOfScroll(){return this.getMessageAreaDistanceFromBottom()<=10}getMessageArea(){return r.isNullOrUndefined(this.messageAreaElement)&&(this.messageAreaElement=this.template&&this.template.querySelector(".slds-chat")?this.template.querySelector(".slds-chat").querySelector("ul"):void 0),this.messageAreaElement}scrollToBottom(){const e=this.getMessageArea();this.isScrolledToTheBottom=!0,e&&r.util.waitForFrame(()=>{e.scrollTop=e.scrollHeight-e.offsetHeight})}isIncomingMessage(e){return e.actorType===l.ParticipantRoles.AGENT||e.actorType===l.ParticipantRoles.CHATBOT||e.actorType===l.ParticipantRoles.SYSTEM}isOutgoingMessage(e){return e.actorType===l.ParticipantRoles.ENDUSER}getChatUnseenMessageNotificationComponent(){return this.template?this.template.querySelector("embeddedmessaging-chat-unseen-message-notification"):void 0}getUnseenMessageNotificationBubble(){return this.getChatUnseenMessageNotificationComponent()?this.getChatUnseenMessageNotificationComponent().getUnseenMessageNotificationBubble():void 0}getUnseenMessageNotificationHeight(){return this.getChatUnseenMessageNotificationComponent()&&this.getChatUnseenMessageNotificationComponent().shadowRoot.querySelector(".unseenMessageNotification")?this.getChatUnseenMessageNotificationComponent().shadowRoot.querySelector(".unseenMessageNotification").offsetHeight:void 0}shouldShowUnseenMessageCounter(){const e=this.getMessageArea(),t=e?e.querySelector("embeddedmessaging-conversation-entry-item:last-child"):void 0,s=this.getUnseenMessageNotificationHeight()||(t?t.getBoundingClientRect().height/2:30);let i;return e?(i=this.getMessageAreaDistanceFromBottom()>s,this.shouldDisplayUnseenMessageBanner=!!i||this.shouldDisplayUnseenMessageBanner):this.shouldDisplayUnseenMessageBanner=!1,i}clearUnseenMessageNotificationsAttributes(){this.shouldDisplayUnseenMessageBanner=!1,this.unseenMessageCount=0}clearUnseenMessageNotifications(){const e=this.getChatUnseenMessageNotificationComponent();e&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&this.clearUnseenMessageNotificationsAttributes(),e.initiateHideAnimation())}handleSendReadAcknowledgement(){if("boolean"==typeof this.isMinimized&&!this.isMinimized&&"visible"===document.visibilityState&&this.conversationStatus===l.ConversationStatus.OPENED_CONVERSATION){const e=this.conversationEntries,t=this.getMessageArea(),s=t.querySelectorAll("ul > embeddedmessaging-conversation-entry-item");let i,n;if(s&&e.length&&e.length-1>this.lastReadRecipt){for(let o=e.length-1;o>=0&&!i;o--){const a=e[o];a.actorType!==l.ParticipantRoles.ENDUSER&&(!this.isAutoScrollEnabled&&this.isMessageAreaEndOfScroll()||r.util.isElementVisible(s[o],t))&&(n=o,i=a)}i&&n>this.lastReadRecipt&&(h.sendReadAcknowledgement(i.conversationId,i.messageId,Date.now()),this.lastReadRecipt=n)}}}handleLabels(){this.labels.EndBookendText=p.getLabel("EmbeddedMessagingConversationState","EndBookendText"),this.labels.ExpiredJWTLabel=p.getLabel("EmbeddedMessagingConversationState","ExpiredJWT"),this.labels.AgentTypingIndicatorAssistiveTextLabel=p.getLabel("EmbeddedMessagingConversationState","AgentTypingIndicatorAssistiveText"),this.labels.ChatbotTypingIndicatorAssistiveTextLabel=p.getLabel("EmbeddedMessagingConversationState","ChatbotTypingIndicatorAssistiveText"),this.labels.FetchMoreEntriesSpinnerAssistiveText=p.getLabel("EmbeddedMessagingConversationState","FetchMoreEntriesSpinnerAssistiveText")}get conversationEndTime(){return this.endTime||new Date(Date.now())}}t.registerDecorators(k,{publicProps:{conversationEntries:{config:0},conversationStatus:{config:0},conversationId:{config:0},startTime:{config:0},endTime:{config:0},currentTypingParticipants:{config:0},isAnotherParticipantTyping:{config:3},isJwtExpired:{config:0},configuration:{config:0},isMinimized:{config:3},showGetConversationEntriesSpinner:{config:3},hasLoadedAllConversationEntries:{config:0}},publicMethods:["scrollUp","scrollDown","handleScrollPositionOnMaximizeAndMinimize","getMessageArea","scrollToBottom","getChatUnseenMessageNotificationComponent"],track:{labels:1},fields:["unseenMessageCount","shouldDisplayUnseenMessageBanner","_isAnotherParticipantTyping","_isMinimized","isAppAfterMaximization","scrollingTimer","readReceiptsTimer","lastReadRecipt","lastProcessedEntry","isAutoScrollEnabled","messageAreaElement","lastMessageAreaScrollPosition","isScrolledToTheBottom","_showGetConversationEntriesSpinner","isInitialRender","spinnerColorToken","handleScroll"]});const B=t.registerComponent(k,{tmpl:P,sel:"embeddedMessaging-conversation-log",apiVersion:62});e.default=B,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationLog', ['embeddedMessaging/conversationLog'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationState",["exports","lwc","embeddedmessaging/conversationLog","embeddedmessaging/inputFooter","embeddedmessaging/chatWebViewOverlay","embeddedmessaging/prechatState","embeddedmessaging/secureForm","embeddedMessaging/common","embeddedMessaging/globalEventStore","lightningsnapin/eventStore","embeddedMessaging/inAppService","embeddedMessaging/conversationEntryMessage","embeddedMessaging/chatWebViewOverlay","embeddedMessaging/chatMessageWebView","embeddedMessaging/constants","embeddedMessaging/countdownTimer","embeddedMessaging/participant","embeddedMessaging/conversationEntryFactory","embeddedMessaging/labelUtils","embeddedMessaging/webStorageUtils"],function(e,t,n,r,s,i,o,a,c,l,h,u,d,p,f,g,E,m,y,v){function T(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=T(n),b=T(r),_=T(s),w=T(i),I=T(o),C=T(u),R=T(g),M=T(E),A=T(m);var O=[function(e,t,n){var r=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"width: 100%;position: relative;background: var(--slds-g-color-neutral-base-100, #ffffff);overflow: hidden;justify-content: space-between;flex: 1 1 auto;display: flex;flex-direction: column;}.conversationState.webviewOverlay"+r+" {display: none;}.conversationState.sessionPrechatForm"+r+" {display: none;}.conversationState.secureForm"+r+" {display: none;}embeddedmessaging-secure-form"+r+" {display: flex;flex-direction: column;justify-content: space-between;height: calc(100vh - 50px);width: 100%;position: absolute;background: var(--slds-g-color-neutral-base-100, #FFFFFF);overflow: auto;}"}];function N(e,t,n,r){const{ncls:s,b:i,c:o,dc:a,fr:c}=e,{_m0:l,_m1:h,_m2:u,_m3:d,_m4:p,_m5:f,_m6:g}=r;return[o("embeddedmessaging-conversation-log",S.default,{className:s(t.generateConversationStateClass),props:{tabIndex:"0",configuration:t.configuration,conversationEntries:t.conversationEntries,conversationStatus:t.conversationStatus,conversationId:t.conversationId,startTime:t.conversationStartTime,endTime:t.conversationEndTime,currentTypingParticipants:t.currentTypingParticipants,hasLoadedAllConversationEntries:t.hasLoadedAllConversationEntries,isAnotherParticipantTyping:t.isAnotherParticipantTyping,isJwtExpired:t.isJwtExpired,isMinimized:t.isMinimized,showGetConversationEntriesSpinner:t.showGetConversationEntriesSpinner},key:0,on:{inappserviceerror:l||(r._m0=i(t.handleInAppServiceErrorCustomEvent)),messageareatopofscroll:h||(r._m1=i(t.handleScrollToTop)),keydown:u||(r._m2=i(t.handleConversationLogKeyDown))}}),o("embeddedmessaging-input-footer",b.default,{className:s(t.generateConversationStateClass),props:{configuration:t.configuration,conversationStatus:t.conversationStatus,conversationId:t.conversationId,conversationParticipants:t.conversationParticipants,isDisabled:t.isUserInputDisabled},key:1,on:{inappserviceerror:d||(r._m3=i(t.handleInAppServiceErrorCustomEvent))}}),t.displayWebViewOverlay?o("embeddedmessaging-chat-web-view-overlay",_.default,{props:{title:t.webViewMetadata.title,url:t.webViewMetadata.url,displayConfirmationDialog:t.displayConfirmationDialogInOverlay},key:2,on:{toggleoverlay:p||(r._m4=i(t.handleToggleOverlay))}}):null,t.displaySessionPrechatForm?t.prechatConstructor?c(3,[a(t.prechatConstructor,{props:{configuration:t.publicConfiguration},key:4,on:{prechatsubmit:f||(r._m5=i(t.handleSessionPrechatSubmit))}})],0):c(3,[o("embeddedmessaging-prechat-state",w.default,{props:{configuration:t.publicConfiguration,conversationStatus:t.conversationStatus},key:5,on:{prechatsubmit:g||(r._m6=i(t.handleSessionPrechatSubmit))}})],0):null,t.displaySecureForm?o("embeddedmessaging-secure-form",I.default,{props:{formTitle:t.secureFormTitle,formInputData:t.secureFormData},key:6}):null]}var P=t.registerTemplate(N);N.stylesheets=[],N.stylesheetToken="lwc-67djd267s8u",N.legacyStylesheetToken="embeddedMessaging-conversationState_conversationState",O&&N.stylesheets.push.apply(N.stylesheets,O),t.freezeTemplate(N);var D=void 0;class U{constructor(e,t,n,r,s,i,o){this.lowerBoundTimestamp=void 0,this.upperBoundTimestamp=void 0,this.entryList=[],this.firstEntryId=void 0,this.lastEntryId=void 0,this.isOutbound=void 0,this.isDelivered=void 0,this.isRead=void 0,this._isDirty=void 0,this.isFailureGroup=void 0,this.isOutbound=e,this.isDelivered=t,this.isRead=n,this.isFailureGroup=r,this.lowerBoundTimestamp=s,this.upperBoundTimestamp=i,this.entryList=o,this.refreshEntryList()}get isDirty(){return this._isDirty}markProcessed(){this._isDirty=!1}add(e){this.entryList.push(e),this.refreshEntryList()}refreshEntryList(){this.entryList.sort((e,t)=>e.transcriptedTimestamp-t.transcriptedTimestamp),this.firstEntryId=this.entryList[0].messageId,this.lastEntryId=this.entryList[this.entryList.length-1].messageId,this._isDirty=!0}updateAcknowledgement(e){this.isDelivered=e.isDelivered,this.isRead=e.isRead,this.isFailureGroup=e.hasSendFailed,this._isDirty=!0}includesTime(e){const t=new Date(e);return t.getTime()>this.lowerBoundTimestamp.getTime()&&t.getTime()<=this.upperBoundTimestamp.getTime()}isEarlierThan(e){return new Date(e).getTime()>this.upperBoundTimestamp.getTime()}isAcknowledged(){return this.isDelivered||this.isRead}hasDifferentDirectionalityFrom(e){return!(!e||!a.isBoolean(e.isMessageOutbound))&&this.isOutbound!==e.isMessageOutbound}shouldBeSubsumedUnder(e){const t=this.lastEntryInEntryGroup();return!(this.isFailureGroup||e.isFailureGroup||this.hasDifferentDirectionalityFrom(t))&&(e.includesTime(t.transcriptedTimestamp)&&(this.isRead&&e.isRead||!this.isRead&&!e.isRead&&this.isDelivered&&e.isDelivered||!this.isAcknowledged()&&!e.isRead&&!e.isDelivered))}lastEntryInEntryGroup(){return this.entryList&&this.entryList.length?this.entryList[this.entryList.length-1]:void 0}}t.registerComponent(U,{tmpl:D,sel:"embeddedMessaging-conversation-state",apiVersion:62});const x=e=>{const t=new Date(e.transcriptedTimestamp),n=new Date(t.getTime()+18e4);return new U(e.isMessageOutbound,e.isDelivered,e.isRead,e.hasSendFailed,t,n,new Array(e))};class L{constructor(e){this._entryArray=[],this._entryHashMap={},this._entryIndexHashMap={},this._inboundEntryGroups=[],this._outboundEntryGroups=[],this._outboundEntryGroupIndexMap={},this.lastReadEntryGroupIndex=-1,e&&Array.isArray(e)&&(this._entryArray=e,this._entryArray.length&&this.sortArrayAndUpdateHashMaps())}get entryArray(){return this._entryArray}getEntry(e){return this._entryHashMap[e]}getOldestEntry(){return Array.isArray(this._entryArray)?this._entryArray[0]:void 0}getEntryIndex(e){return this._entryIndexHashMap[e]}isDuplicateEntry(e){return void 0!==this.getEntry(e.messageId)}sortArrayAndUpdateHashMaps(){this._entryArray.sort((e,t)=>e.transcriptedTimestamp-t.transcriptedTimestamp),this._entryArray.forEach((e,t)=>{this._entryHashMap[e.messageId]=e,this._entryIndexHashMap[e.messageId]=t})}addEntry(e){this.isDuplicateEntry(e)||(this._entryArray.push(e),this.sortArrayAndUpdateHashMaps(),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_ADDED,{entry:e}),e.isChatMessage&&e.isMessageOutbound?this.addEntryToGroup(e,this._outboundEntryGroups):e.isChatMessage&&!e.isMessageOutbound&&this.addEntryToGroup(e,this._inboundEntryGroups),this.shouldEntryIncludeTimeStamp(e))}setEntry(e,t){const n=this.getEntryIndex(e);this._entryArray[n]=t,this._entryHashMap[t.messageId]=t,this._entryIndexHashMap[t.messageId]=n}updateEntry(e,t){const n=this.getEntry(e);if(n){const r=Object.assign(Object.create(Object.getPrototypeOf(n)),n);Object.keys(t).forEach(e=>{r[e]=t[e]}),this.setEntry(e,r),this.sortArrayAndUpdateHashMaps(),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_UPDATED,{entry:r})}}updateAcknowledgementForEntryGroup(e){const t=this.getEntry(e),n=this._outboundEntryGroupIndexMap[t.messageId],r=this._outboundEntryGroups[n];if(r&&!r.isRead){if(r.updateAcknowledgement(t),t.isRead)for(let e=n-1;e>this.lastReadEntryGroupIndex;e-=1){const n=this._outboundEntryGroups[e],r=!!n&&n.isAcknowledged(),s=n&&n.lastEntryId?this.getEntry(n.lastEntryId):void 0;if(r||s&&!s.isDelivered&&!s.isRead)break;n&&!n.isFailureGroup&&n.updateAcknowledgement(t)}for(let e=n;e>0;e-=1){const t=this._outboundEntryGroups[e],n=this._outboundEntryGroups[e-1],r=this.getEntryIndex(t.firstEntryId)-1,o=this._entryArray[r];if(t&&n&&!t.isFailureGroup&&!t.hasDifferentDirectionalityFrom(o)&&t.shouldBeSubsumedUnder(n)){const r=(s=n,new U((i=t).isOutbound,i.isDelivered,i.isRead,i.isFailureGroup,s.lowerBoundTimestamp,s.upperBoundTimestamp,s.entryList.concat(i.entryList)));this.updateEntry(n.lastEntryId,{isLastInGroup:!1,isDelivered:r.isDelivered,isRead:r.isRead}),delete this._outboundEntryGroups[e],delete this._outboundEntryGroups[e-1],this._outboundEntryGroups[e-1]=r}}var s,i;this.updateEntryGroups(this._outboundEntryGroups,!0,this.lastReadEntryGroupIndex+1),this.lastReadEntryGroupIndex=r.isRead?n:this.lastReadEntryGroupIndex}}addEntryToGroup(e,t){let n,r;if(0===t.length)n=x(e);else{let s,i,o,a;for(let c=t.length-1;c>=0;c-=1){if(r=this._entryIndexHashMap[e.messageId],s=t[c],i=s?s.lastEntryInEntryGroup():void 0,o=this._entryArray[r-1],a=i&&i.actorName!==e.actorName,s&&(s.isEarlierThan(e.transcriptedTimestamp)||o&&s.hasDifferentDirectionalityFrom(o)||s.isAcknowledged()||e.isMessageOutbound&&!e.isSent||e.hasSendFailed||o&&o.hasSendFailed||a)){n=x(e);break}if(s&&s.includesTime(e.transcriptedTimestamp)){s.add(e);break}}}void 0!==n&&t.push(n),this.updateEntryGroups(t,e.isMessageOutbound,0)}updateEntryGroups(e,t,n){const r=t?this.updateOutboundEntryGroup:this.updateInboundEntryGroup;if(e.length){e.sort((e,t)=>e.lowerTimeBound-t.lowerTimeBound);for(let t=e.length-1;t>=n;t-=1)e[t]&&e[t].isDirty&&(r.call(this,e[t],t),e[t].markProcessed())}}updateInboundEntryGroup(e){this.updateLastEntryWithinGroup(e)}updateOutboundEntryGroup(e,t){e.entryList.forEach(e=>{this._outboundEntryGroupIndexMap[e.messageId]=t}),this.updateLastEntryWithinGroup(e)}updateLastEntryWithinGroup(e){const t=e.entryList;if(this.updateEntry(e.lastEntryId,{isLastInGroup:!0,isDelivered:e.isDelivered,isRead:e.isRead,hasSendFailed:e.isFailureGroup}),1!==t.length){this.getEntry(e.lastEntryId).isChoicesCarousel&&!this.getEntry(t[t.length-2].messageId).isChoicesCarousel&&this.updateEntry(t[t.length-2].messageId,{isFauxLastInGroup:!0});for(let n=t.length-2;n>=0;n-=1){const r=this.getEntry(t[n].messageId);!r.isLastInGroup&&r.isRead||this.updateEntry(t[n].messageId,{isLastInGroup:!1,isDelivered:e.isDelivered,isRead:e.isRead}),r.isFauxLastInGroup&&n!==t.length-2&&this.updateEntry(t[n].messageId,{isFauxLastInGroup:!1})}}}shouldEntryIncludeTimeStamp(e){const t=this.getEntryIndex(e.messageId);0!==t&&a.util.isSameDay(e.transcriptedTimestamp,this._entryArray[t-1].transcriptedTimestamp)||this.updateEntry(e.messageId,{shouldShowTimeStamp:!0})}}t.registerComponent(L,{tmpl:D,sel:"embeddedMessaging-conversation-state",apiVersion:62}),function(e){const t={};function n(r){if(t[r])return t[r].exports;const s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){const t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=21)}([function(e,t){let n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){const n=e.exports={};let r,s;function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(e){s=o}}();let c,l=[],h=!1,u=-1;function d(){h&&c&&(h=!1,c.length?l=c.concat(l):u=-1,l.length&&p())}function p(){if(h)return;const e=a(d);h=!0;let t=l.length;for(;t;){for(c=l,l=[];++u<t;)c&&c[u].run();u=-1,t=l.length}c=null,h=!1,function(e){if(s===clearTimeout)return clearTimeout(e);if((s===o||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}(e)}function f(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){const t=new Array(arguments.length-1);if(arguments.length>1)for(let e=1;e<arguments.length;e++)t[e-1]=arguments[e];l.push(new f(e,t)),1!==l.length||h||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(e,t,n){(function(e){
/* !
        * The buffer module from node.js, for the browser.
        *
        * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
        * @license  MIT
        */
const r=n(23),s=n(24),i=n(25);function o(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');const r=0|f(t,n);e=a(e,r);const s=e.write(t,n);s!==r&&(e=e.slice(0,s));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){const n=0|p(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?a(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function h(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t){if(h(t),e=a(e,t<0?0:0|p(t)),!c.TYPED_ARRAY_SUPPORT)for(let n=0;n<t;++n)e[n]=0;return e}function d(e,t){const n=t.length<0?0:0|p(t.length);e=a(e,n);for(let r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function f(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);const n=e.length;if(0===n)return 0;let r=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return j(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return I(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function E(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,s){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=s?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(s)return-1;n=e.length-1}else if(n<0){if(!s)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,s);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,s);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,s){let i,o=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(s){let r=-1;for(i=n;i<a;i++)if(l(e,i)===l(t,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===c)return r*o}else-1!==r&&(i-=i-r),r=-1}else for(n+c>a&&(n=a-c),i=n;i>=0;i--){let n=!0;for(let r=0;r<c;r++)if(l(e,i+r)!==l(t,r)){n=!1;break}if(n)return i}return-1}function v(e,t,n,r){n=Number(n)||0;const s=e.length-n;r?(r=Number(r))>s&&(r=s):r=s;const i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o<r;++o){const r=parseInt(t.substr(2*o,2),16);if(isNaN(r))return o;e[n+o]=r}return o}function T(e,t,n,r){return H(j(t,e.length-n),e,n,r)}function S(e,t,n,r){return H(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function b(e,t,n,r){return S(e,t,n,r)}function _(e,t,n,r){return H(V(t),e,n,r)}function w(e,t,n,r){return H(function(e,t){let n,r,s;const i=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,s=n%256,i.push(s),i.push(r);return i}(t,e.length-n),e,n,r)}function I(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);const r=[];let s=t;for(;s<n;){const t=e[s];let l=null,h=t>239?4:t>223?3:t>191?2:1;var i,o,a,c;if(s+h<=n)switch(h){case 1:t<128&&(l=t);break;case 2:128==(192&(i=e[s+1]))&&(c=(31&t)<<6|63&i)>127&&(l=c);break;case 3:i=e[s+1],o=e[s+2],128==(192&i)&&128==(192&o)&&(c=(15&t)<<12|(63&i)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[s+1],o=e[s+2],a=e[s+3],128==(192&i)&&128==(192&o)&&128==(192&a)&&(c=(15&t)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),s+=h}return function(e){const t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=R));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{const e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:()=>42},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=o(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return l(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return h(t),t<=0?a(e,t):void 0!==n?"string"==typeof r?a(e,t).fill(n,r):a(e,t).fill(n):a(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return u(null,e)},c.allocUnsafeSlow=function(e){return u(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;let n=e.length,r=t.length;for(let s=0,i=Math.min(n,r);s<i;++s)if(e[s]!==t[s]){n=e[s],r=t[s];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=c.allocUnsafe(t);let s=0;for(n=0;n<e.length;++n){const t=e[n];if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,s),s+=t.length}return r},c.byteLength=f,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)E(this,t,t+1);return this},c.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)E(this,t,t+3),E(this,t+1,t+2);return this},c.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)E(this,t,t+7),E(this,t+1,t+6),E(this,t+2,t+5),E(this,t+3,t+4);return this},c.prototype.toString=function(){const e=0|this.length;return 0===e?"":0===arguments.length?C(this,0,e):g.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,s){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===s&&(s=this.length),t<0||n>e.length||r<0||s>this.length)throw new RangeError("out of range index");if(r>=s&&t>=n)return 0;if(r>=s)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(s>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0);const a=Math.min(i,o),l=this.slice(r,s),h=e.slice(t,n);for(let e=0;e<a;++e)if(l[e]!==h[e]){i=l[e],o=h[e];break}return i<o?-1:o<i?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const s=this.length-t;if((void 0===n||n>s)&&(n=s),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return T(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const R=4096;function M(e,t,n){let r="";n=Math.min(e.length,n);for(let s=t;s<n;++s)r+=String.fromCharCode(127&e[s]);return r}function A(e,t,n){let r="";n=Math.min(e.length,n);for(let s=t;s<n;++s)r+=String.fromCharCode(e[s]);return r}function O(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let s="";for(let r=t;r<n;++r)s+=G(e[r]);return s}function N(e,t,n){const r=e.slice(t,n);let s="";for(let e=0;e<r.length;e+=2)s+=String.fromCharCode(r[e]+256*r[e+1]);return s}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,s,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function U(e,t,n,r){t<0&&(t=65535+t+1);for(let s=0,i=Math.min(e.length-n,2);s<i;++s)e[n+s]=(t&255<<8*(r?s:1-s))>>>8*(r?s:1-s)}function x(e,t,n,r){t<0&&(t=4294967295+t+1);for(let s=0,i=Math.min(e.length-n,4);s<i;++s)e[n+s]=t>>>8*(r?s:3-s)&255}function L(e,t,n,r,s,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,i){return i||L(e,0,n,4),s.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,i){return i||L(e,0,n,8),s.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){const n=this.length;let r;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=c.prototype;else{const n=t-e;r=new c(n,void 0);for(let t=0;t<n;++t)r[t]=this[t+e]}return r},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);let r=this[e],s=1,i=0;for(;++i<t&&(s*=256);)r+=this[e+i]*s;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);let r=this[e+--t],s=1;for(;t>0&&(s*=256);)r+=this[e+--t]*s;return r},c.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);let r=this[e],s=1,i=0;for(;++i<t&&(s*=256);)r+=this[e+i]*s;return s*=128,r>=s&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);let r=t,s=1,i=this[e+--r];for(;r>0&&(s*=256);)i+=this[e+--r]*s;return s*=128,i>=s&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),s.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),s.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),s.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),s.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){D(this,e,t,n,Math.pow(2,8*n)-1,0)}let s=1,i=0;for(this[t]=255&e;++i<n&&(s*=256);)this[t+i]=e/s&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){D(this,e,t,n,Math.pow(2,8*n)-1,0)}let s=n-1,i=1;for(this[t+s]=255&e;--s>=0&&(i*=256);)this[t+s]=e/i&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):x(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):x(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){const r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}let s=0,i=1,o=0;for(this[t]=255&e;++s<n&&(i*=256);)e<0&&0===o&&0!==this[t+s-1]&&(o=1),this[t+s]=(e/i|0)-o&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){const r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}let s=n-1,i=1,o=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/i|0)-o&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):x(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):x(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const s=r-n;let i;if(this===e&&n<t&&t<r)for(i=s-1;i>=0;--i)e[i+t]=this[i+n];else if(s<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+s),t);return s},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){const t=e.charCodeAt(0);t<256&&(e=t)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let s;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s<n;++s)this[s]=e;else{const i=c.isBuffer(e)?e:j(new c(e,r).toString()),o=i.length;for(s=0;s<n-t;++s)this[s+t]=i[s%o]}return this};const k=/[^+\/0-9A-Za-z-_]/g;function G(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){let n;t=t||1/0;const r=e.length;let s=null;const i=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!s){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}s=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),s=n;continue}n=65536+(s-55296<<10|n-56320)}else s&&(t-=3)>-1&&i.push(239,191,189);if(s=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(k,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var s=0;s<r&&!(s+n>=t.length||s>=e.length);++s)t[s+n]=e[s];return s}}).call(t,n(0))},function(e,t,n){const r=n(6),s=Object.keys||function(e){const t=[];for(const n in e)t.push(n);return t};e.exports=c;const i=n(4);i.inherits=n(5);const o=n(15),a=n(18);i.inherits(c,o);{const e=s(a.prototype);for(let t=0;t<e.length;t++){const n=e[t];c.prototype[n]||(c.prototype[n]=a.prototype[n])}}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"destroyed",{get(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),c.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(t,n(2).Buffer)},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;const n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){(function(t){!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,s){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');const i=arguments.length;let o,a;switch(i){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(()=>{e.call(null,n)});case 3:return t.nextTick(()=>{e.call(null,n,r)});case 4:return t.nextTick(()=>{e.call(null,n,r,s)});default:for(o=new Array(i-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick(()=>{e.apply(null,o)})}}}:e.exports=t}).call(t,n(1))},function(e,t,n){const r=n(30),s=n(32);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=v,t.resolve=function(e,t){return v(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){if(!e)return t;return v(e,!1,!0).resolveObject(t)},t.format=function(e){s.isString(e)&&(e=v(e));if(!(e instanceof i))return i.prototype.format.call(e);return e.format()},t.Url=i;const o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(l),u=["%","/","?",";","#"].concat(h),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},E={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(33);function v(e,t,n){if(e&&s.isObject(e)&&e instanceof i)return e;const r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!s.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);const i=e.indexOf("?"),a=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");let v=e=l.join(a);if(v=v.trim(),!n&&1===e.split("#").length){const e=c.exec(v);if(e)return this.path=v,this.href=v,this.pathname=e[1],e[2]?(this.search=e[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}let T=o.exec(v);if(T){T=T[0];var S=T.toLowerCase();this.protocol=S,v=v.substr(T.length)}if(n||T||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var b="//"===v.substr(0,2);!b||T&&E[T]||(v=v.substr(2),this.slashes=!0)}if(!E[T]&&(b||T&&!m[T])){let e,t,n=-1;for(var _=0;_<d.length;_++){-1!==(w=v.indexOf(d[_]))&&(-1===n||w<n)&&(n=w)}t=-1===n?v.lastIndexOf("@"):v.lastIndexOf("@",n),-1!==t&&(e=v.slice(0,t),v=v.slice(t+1),this.auth=decodeURIComponent(e)),n=-1;for(_=0;_<u.length;_++){var w;-1!==(w=v.indexOf(u[_]))&&(-1===n||w<n)&&(n=w)}-1===n&&(n=v.length),this.host=v.slice(0,n),v=v.slice(n),this.parseHost(),this.hostname=this.hostname||"";const s="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!s){const e=this.hostname.split(/\./);_=0;for(var I=e.length;_<I;_++){const t=e[_];if(t&&!t.match(p)){let n="";for(let e=0,r=t.length;e<r;e++)t.charCodeAt(e)>127?n+="x":n+=t[e];if(!n.match(p)){const n=e.slice(0,_),r=e.slice(_+1),s=t.match(f);s&&(n.push(s[1]),r.unshift(s[2])),r.length&&(v="/"+r.join(".")+v),this.hostname=n.join(".");break}}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),s||(this.hostname=r.toASCII(this.hostname));var C=this.port?":"+this.port:"";const i=this.hostname||"";this.host=i+C,this.href+=this.host,s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!g[S])for(_=0,I=h.length;_<I;_++){const e=h[_];if(-1===v.indexOf(e))continue;let t=encodeURIComponent(e);t===e&&(t=escape(e)),v=v.split(e).join(t)}const R=v.indexOf("#");-1!==R&&(this.hash=v.substr(R),v=v.slice(0,R));const M=v.indexOf("?");if(-1!==M?(this.search=v.substr(M),this.query=v.substr(M+1),t&&(this.query=y.parse(this.query)),v=v.slice(0,M)):t&&(this.search="",this.query={}),v&&(this.pathname=v),m[S]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){C=this.pathname||"";const e=this.search||"";this.path=C+e}return this.href=this.format(),this},i.prototype.format=function(){let e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");let t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&s.isObject(this.query)&&Object.keys(this.query).length&&(o=y.stringify(this.query));let a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,e=>encodeURIComponent(e)),a=a.replace("#","%23"),t+i+n+a+r},i.prototype.resolve=function(e){return this.resolveObject(v(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(s.isString(e)){const t=new i;t.parse(e,!1,!0),e=t}const t=new i,n=Object.keys(this);for(let e=0;e<n.length;e++){const r=n[e];t[r]=this[r]}if(t.hash=e.hash,""===e.href)return t.href=t.format(),t;if(e.slashes&&!e.protocol){const n=Object.keys(e);for(let r=0;r<n.length;r++){const s=n[r];"protocol"!==s&&(t[s]=e[s])}return m[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(e.protocol&&e.protocol!==t.protocol){if(!m[e.protocol]){const n=Object.keys(e);for(let r=0;r<n.length;r++){const s=n[r];t[s]=e[s]}return t.href=t.format(),t}if(t.protocol=e.protocol,e.host||E[e.protocol])t.pathname=e.pathname;else{for(var r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),t.pathname=r.join("/")}if(t.search=e.search,t.query=e.query,t.host=e.host||"",t.auth=e.auth,t.hostname=e.hostname||e.host,t.port=e.port,t.pathname||t.search){const e=t.pathname||"",n=t.search||"";t.path=e+n}return t.slashes=t.slashes||e.slashes,t.href=t.format(),t}var o=t.pathname&&"/"===t.pathname.charAt(0),a=e.host||e.pathname&&"/"===e.pathname.charAt(0),c=a||o||t.host&&e.pathname,l=c,h=t.pathname&&t.pathname.split("/")||[],u=(r=e.pathname&&e.pathname.split("/")||[],t.protocol&&!m[t.protocol]);if(u&&(t.hostname="",t.port=null,t.host&&(""===h[0]?h[0]=t.host:h.unshift(t.host)),t.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),c=c&&(""===r[0]||""===h[0])),a)t.host=e.host||""===e.host?e.host:t.host,t.hostname=e.hostname||""===e.hostname?e.hostname:t.hostname,t.search=e.search,t.query=e.query,h=r;else if(r.length)h||(h=[]),h.pop(),h=h.concat(r),t.search=e.search,t.query=e.query;else if(!s.isNullOrUndefined(e.search)){if(u)t.hostname=t.host=h.shift(),(y=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=y.shift(),t.host=t.hostname=y.shift());return t.search=e.search,t.query=e.query,s.isNull(t.pathname)&&s.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t}if(!h.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;let d=h.slice(-1)[0];const p=(t.host||e.host||h.length>1)&&("."===d||".."===d)||""===d;let f=0;for(let e=h.length;e>=0;e--)d=h[e],"."===d?h.splice(e,1):".."===d?(h.splice(e,1),f++):f&&(h.splice(e,1),f--);if(!c&&!l)for(;f--;f)h.unshift("..");!c||""===h[0]||h[0]&&"/"===h[0].charAt(0)||h.unshift(""),p&&"/"!==h.join("/").substr(-1)&&h.push("");const g=""===h[0]||h[0]&&"/"===h[0].charAt(0);var y;u&&(t.hostname=t.host=g?"":h.length?h.shift():"",(y=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=y.shift(),t.host=t.hostname=y.shift()));return(c=c||t.host&&h.length)&&!g&&h.unshift(""),h.length?t.pathname=h.join("/"):(t.pathname=null,t.path=null),s.isNull(t.pathname)&&s.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=e.auth||t.auth,t.slashes=t.slashes||e.slashes,t.href=t.format(),t},i.prototype.parseHost=function(){let e=this.host,t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function s(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){let t,n,o,a,c,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;{const e=new Error('Uncaught, unspecified "error" event. ('+t+")");throw e.context=t,e}}if(n=this._events[e],i(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(s(n))for(a=Array.prototype.slice.call(arguments,1),l=n.slice(),o=l.length,c=0;c<o;c++)l[c].apply(this,a);return!0},n.prototype.addListener=function(e,t){let o;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?s(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,s(this._events[e])&&!this._events[e].warned&&(o=i(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,o&&o>0&&this._events[e].length>o&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");let n=!1;function s(){this.removeListener(e,s),n||(n=!0,t.apply(this,arguments))}return s.listener=t,this.on(e,s),this},n.prototype.removeListener=function(e,t){let n,i,o,a;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(n)){for(a=o;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){i=a;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){let t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){let t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[],t},n.prototype.listenerCount=function(e){if(this._events){const t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){const r=n(2),s=r.Buffer;function i(e,t){for(const n in e)t[n]=e[n]}function o(e,t,n){return s(e,t,n)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=o),i(s,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");const r=s(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){(function(e){const r=n(37),s=n(13),i=n(48),o=n(49),a=n(7),c=t;c.request=function(t,n){t="string"==typeof t?a.parse(t):i(t);const s=-1===e.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||s;let c=t.hostname||t.host;const l=t.port,h=t.path||"/";c&&-1!==c.indexOf(":")&&(c="["+c+"]"),t.url=(c?o+"//"+c:"")+(l?":"+l:"")+h,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};const u=new r(t);return n&&u.on("response",n),u},c.get=function(e,t){const n=c.request(e,t);return n.end(),n},c.ClientRequest=r,c.IncomingMessage=s.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=o,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(t,n(0))},function(e,t,n){(function(e){t.fetch=a(e.fetch)&&a(e.ReadableStream),t.writableStream=a(e.WritableStream),t.abortController=a(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}let n;function r(){if(void 0!==n)return n;if(e.XMLHttpRequest){n=new e.XMLHttpRequest;try{n.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function s(e){const t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}const i=void 0!==e.ArrayBuffer,o=i&&a(e.ArrayBuffer.prototype.slice);function a(e){return"function"==typeof e}t.arraybuffer=t.fetch||i&&s("arraybuffer"),t.msstream=!t.fetch&&o&&s("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&i&&s("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!r()&&a(r().overrideMimeType),t.vbArray=a(e.VBArray),n=null}).call(t,n(0))},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;const n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){(function(e,r,s){const i=n(11),o=n(12),a=n(14),c=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=t.IncomingMessage=function(t,n,o,c){const l=this;if(a.Readable.call(l),l._mode=o,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",()=>{e.nextTick(()=>{l.emit("close")})}),"fetch"===o){if(l._fetchResponse=n,l.url=n.url,l.statusCode=n.status,l.statusMessage=n.statusText,n.headers.forEach((e,t)=>{l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)}),i.writableStream){const e=new WritableStream({write:e=>new Promise((t,n)=>{l._destroyed?n():l.push(new r(e))?t():l._resumeFetch=t}),close(){s.clearTimeout(c),l._destroyed||l.push(null)},abort(e){l._destroyed||l.emit("error",e)}});try{return void n.body.pipeTo(e).catch(e=>{s.clearTimeout(c),l._destroyed||l.emit("error",e)})}catch(e){}}const e=n.body.getReader();!function t(){e.read().then(e=>{if(!l._destroyed){if(e.done)return s.clearTimeout(c),void l.push(null);l.push(new r(e.value)),t()}}).catch(e=>{s.clearTimeout(c),l._destroyed||l.emit("error",e)})}()}else{l._xhr=t,l._pos=0,l.url=t.responseURL,l.statusCode=t.status,l.statusMessage=t.statusText;if(t.getAllResponseHeaders().split(/\r?\n/).forEach(e=>{const t=e.match(/^([^:]+):\s*(.*)/);if(t){const e=t[1].toLowerCase();"set-cookie"===e?(void 0===l.headers[e]&&(l.headers[e]=[]),l.headers[e].push(t[2])):void 0!==l.headers[e]?l.headers[e]+=", "+t[2]:l.headers[e]=t[2],l.rawHeaders.push(t[1],t[2])}}),l._charset="x-user-defined",!i.overrideMimeType){const e=l.rawHeaders["mime-type"];if(e){const t=e.match(/;\s*charset=([^;])(;|$)/);t&&(l._charset=t[1].toLowerCase())}l._charset||(l._charset="utf-8")}}};o(l,a.Readable),l.prototype._read=function(){const e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())},l.prototype._onXHRProgress=function(){const e=this,t=e._xhr;let n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==c.DONE)break;try{n=new s.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new r(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){const t=n.substr(e._pos);if("x-user-defined"===e._charset){const n=new r(t.length);for(let e=0;e<t.length;e++)n[e]=255&t.charCodeAt(e);e.push(n)}else e.push(t,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==c.DONE||!t.response)break;n=t.response,e.push(new r(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==c.LOADING||!n)break;e.push(new r(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==c.LOADING)break;var i=new s.MSStreamReader;i.onprogress=function(){i.result.byteLength>e._pos&&(e.push(new r(new Uint8Array(i.result.slice(e._pos)))),e._pos=i.result.byteLength)},i.onload=function(){e.push(null)},i.readAsArrayBuffer(n)}e._xhr.readyState===c.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(t,n(1),n(2).Buffer,n(0))},function(e,t,n){(t=e.exports=n(15)).Stream=t,t.Readable=t,t.Writable=n(18),t.Duplex=n(3),t.Transform=n(20),t.PassThrough=n(46)},function(e,t,n){(function(t,r){const s=n(6);e.exports=v;const i=n(38);let o;v.ReadableState=y,n(8).EventEmitter;const a=function(e,t){return e.listeners(t).length},c=n(16),l=n(9).Buffer,h=t.Uint8Array||function(){};const u=n(4);u.inherits=n(5);const d=n(39);let p;p=d&&d.debuglog?d.debuglog("stream"):function(){};const f=n(40),g=n(17);let E;u.inherits(v,c);const m=["error","close","destroy","pause","resume"];function y(e,t){o=o||n(3),e=e||{};const r=t instanceof o;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);const s=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:r&&(i||0===i)?i:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(E||(E=n(19).StringDecoder),this.decoder=new E(e.encoding),this.encoding=e.encoding)}function v(e){if(o=o||n(3),!(this instanceof v))return new v(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function T(e,t,n,r,s){const i=e._readableState;if(null===t)i.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,w(e)}(e,i);else{let o;s||(o=function(e,t){let n;r=t,l.isBuffer(r)||r instanceof h||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(i,t)),o?e.emit("error",o):i.objectMode||t&&t.length>0?("string"==typeof t||i.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?i.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):S(e,i,t,!0):i.ended?e.emit("error",new Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!n?(t=i.decoder.write(t),i.objectMode||0!==t.length?S(e,i,t,!1):C(e,i)):S(e,i,t,!1))):r||(i.reading=!1)}return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(i)}function S(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&w(e)),C(e,t)}Object.defineProperty(v.prototype,"destroyed",{get(){return void 0!==this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){const n=this._readableState;let r;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=l.from(e,t),t=""),r=!0),T(this,e,t,!1,r)},v.prototype.unshift=function(e){return T(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(e){return E||(E=n(19).StringDecoder),this._readableState.decoder=new E(e),this._readableState.encoding=e,this};const b=8388608;function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=b?e=b:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function w(e){const t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?s.nextTick(I,e):I(e))}function I(e){p("emit readable"),e.emit("readable"),O(e)}function C(e,t){t.readingMore||(t.readingMore=!0,s.nextTick(R,e,t))}function R(e,t){let n=t.length;for(;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function M(e){p("readable nexttick read 0"),e.read(0)}function A(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),O(e),t.flowing&&!t.reading&&e.read(0)}function O(e){const t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){if(0===t.length)return null;let n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){let r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){let n=t.head,r=1,s=n.data;e-=s.length;for(;n=n.next;){const i=n.data,o=e>i.length?i.length:e;if(o===i.length?s+=i:s+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(o));break}++r}return t.length-=r,s}(e,t):function(e,t){const n=l.allocUnsafe(e);let r=t.head,s=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){const i=r.data,o=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,o),0===(e-=o)){o===i.length?(++s,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(o));break}++s}return t.length-=s,n}(e,t);return r}(e,t.buffer,t.decoder),n}function P(e){const t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,s.nextTick(D,t,e))}function D(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function U(e,t){for(let n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}v.prototype.read=function(e){p("read",e),e=parseInt(e,10);const t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):w(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&P(this),null;let r,s=t.needReadable;return p("need readable",s),(0===t.length||t.length-e<t.highWaterMark)&&(s=!0,p("length less than watermark",s)),t.ended||t.reading?(s=!1,p("reading or ended",s)):s&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_(n,t))),r=e>0?N(e,t):null,null===r?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&P(this)),null!==r&&this.emit("data",r),r},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){const n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,p("pipe count=%d opts=%j",o.pipesCount,t);const c=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?h:v;function l(t,r){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),e.removeListener("close",m),e.removeListener("finish",y),e.removeListener("drain",u),e.removeListener("error",E),e.removeListener("unpipe",l),n.removeListener("end",h),n.removeListener("end",v),n.removeListener("data",g),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function h(){p("onend"),e.end()}o.endEmitted?s.nextTick(c):n.once("end",c),e.on("unpipe",l);const u=function(e){return function(){const t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,O(e))}}(n);e.on("drain",u);let d=!1;let f=!1;function g(t){p("ondata"),f=!1;!1!==e.write(t)||f||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==U(o.pipes,e))&&!d&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,f=!0),n.pause())}function E(t){p("onerror",t),v(),e.removeListener("error",E),0===a(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",y),v()}function y(){p("onfinish"),e.removeListener("close",m),v()}function v(){p("unpipe"),n.unpipe(e)}return n.on("data",g),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?i(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",E),e.once("close",m),e.once("finish",y),e.emit("pipe",n),o.flowing||(p("pipe resume"),n.resume()),e},v.prototype.unpipe=function(e){const t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){const e=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(let t=0;t<r;t++)e[t].emit("unpipe",this,n);return this}const r=U(t.pipes,e);return-1===r||(t.pipes.splice(r,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},v.prototype.on=function(e,t){const n=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){const e=this._readableState;e.endEmitted||e.readableListening||(e.readableListening=e.needReadable=!0,e.emittedReadable=!1,e.reading?e.length&&w(this):s.nextTick(M,this))}return n},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){const e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,s.nextTick(A,e,t))}(this,e)),this},v.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){const t=this,n=this._readableState;let r=!1;e.on("end",()=>{if(p("wrapped end"),n.decoder&&!n.ended){const e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",s=>{if(p("wrapped data"),n.decoder&&(s=n.decoder.write(s)),n.objectMode&&null==s)return;if(!(n.objectMode||s&&s.length))return;t.push(s)||(r=!0,e.pause())});for(const t in e)void 0===this[t]&&"function"==typeof e[t]&&(this[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t));for(let t=0;t<m.length;t++)e.on(m[t],this.emit.bind(this,m[t]));return this._read=function(t){p("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get(){return this._readableState.highWaterMark}}),v._fromList=N}).call(t,n(0),n(1))},function(e,t,n){e.exports=n(8).EventEmitter},function(e,t,n){const r=n(6);function s(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){const n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(s,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,e=>{!t&&e?(r.nextTick(s,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){(function(t,r,s){const i=n(6);function o(e){const t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){let r=e.entry;e.entry=null;for(;r;){const e=r.callback;t.pendingcb--,e(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=y;const a=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:i.nextTick;let c;y.WritableState=E;const l=n(4);l.inherits=n(5);const h={deprecate:n(44)},u=n(16),d=n(9).Buffer,p=s.Uint8Array||function(){};const f=n(17);function g(){}function E(e,t){c=c||n(3),e=e||{};const r=t instanceof c;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);const s=e.highWaterMark,l=e.writableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:r&&(l||0===l)?l:h,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){const n=e._writableState,r=n.sync,s=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,s){--t.pendingcb,n?(i.nextTick(s,r),i.nextTick(w,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(s(r),e._writableState.errorEmitted=!0,e.emit("error",r),w(e,t))}(e,n,r,t,s);else{const t=b(n);t||n.corked||n.bufferProcessing||!n.bufferedRequest||S(e,n),r?a(T,e,n,t,s):T(e,n,t,s)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}let m;function y(e){if(c=c||n(3),!(m.call(y,this)||this instanceof c))return new y(e);this._writableState=new E(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function v(e,t,n,r,s,i,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(s,t.onwrite):e._write(s,i,t.onwrite),t.sync=!1}function T(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),w(e,t)}function S(e,t){t.bufferProcessing=!0;let n=t.bufferedRequest;if(e._writev&&n&&n.next){const r=t.bufferedRequestCount,s=new Array(r),i=t.corkedRequestsFree;i.entry=n;let a=0,c=!0;for(;n;)s[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;s.allBuffers=c,v(e,t,!0,t.length,s,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){const r=n.chunk,s=n.encoding,i=n.callback;if(v(e,t,!1,t.objectMode?1:r.length,r,s,i),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final(n=>{t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),w(e,t)})}function w(e,t){const n=b(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(y,u),E.prototype.getBuffer=function(){let e=this.bufferedRequest;const t=[];for(;e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:h.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value(e){return!!m.call(this,e)||this===y&&(e&&e._writableState instanceof E)}})):m=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){const r=this._writableState;let s=!1;const o=!r.objectMode&&(a=e,d.isBuffer(a)||a instanceof p);var a;return o&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(n=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=g),r.ended?function(e,t){const n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}(this,n):(o||function(e,t,n,r){let s=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),i.nextTick(r,o),s=!1),s}(this,r,e,n))&&(r.pendingcb++,s=function(e,t,n,r,s,i){if(!n){const e=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,n));return t}(t,r,s);r!==e&&(n=!0,s="buffer",r=e)}const o=t.objectMode?1:r.length;t.length+=o;const a=t.length<t.highWaterMark;a||(t.needDrain=!0);if(t.writing||t.corked){const e=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:s,isBuf:n,callback:i,next:null},e?e.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else v(e,t,!1,o,r,s,i);return a}(this,r,o,e,t,n)),s},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||S(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){const r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,w(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get(){return void 0!==this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=f.destroy,y.prototype._undestroy=f.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,n(1),n(42).setImmediate,n(0))},function(e,t,n){const r=n(45).Buffer,s=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){let t;switch(this.encoding=function(e){const t=function(e){if(!e)return"utf8";let t;for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=h,this.end=u,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){const t=this.lastTotal-this.lastNeed,n=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){const n=e.toString("utf16le",t);if(n){const t=n.charCodeAt(n.length-1);if(t>=55296&&t<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){const t=e&&e.length?this.write(e):"";if(this.lastNeed){const e=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,e)}return t}function h(e,t){const n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){const t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";let t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){const t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t},i.prototype.text=function(e,t){const n=function(e,t,n){let r=t.length-1;if(r<n)return 0;let s=o(t[r]);if(s>=0)return s>0&&(e.lastNeed=s-1),s;if(--r<n||-2===s)return 0;if(s=o(t[r]),s>=0)return s>0&&(e.lastNeed=s-2),s;if(--r<n||-2===s)return 0;if(s=o(t[r]),s>=0)return s>0&&(2===s?s=0:e.lastNeed=s-3),s;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;const r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){e.exports=o;const r=n(3),s=n(4);function i(e,t){const n=this._transformState;n.transforming=!1;const r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);const s=this._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);r.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",a)}function a(){const e=this;"function"==typeof this._flush?this._flush((t,n)=>{c(e,t,n)}):c(this,null,null)}function c(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}s.inherits=n(5),s.inherits(o,r),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,n){const r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){const e=this._readableState;(r.needTransform||e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}},o.prototype._read=function(e){const t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){const n=this;r.prototype._destroy.call(this,e,e=>{t(e),n.emit("close")})}},function(e,t,n){const r=n(22);"object"==typeof window?(window.EventSourcePolyfill=r,window.EventSource||(window.EventSource=r),e.exports=window.EventSource):e.exports=r},function(e,t,n){(function(t,r){const s=n(26),i=n(7).parse,o=n(8),a=n(36),c=n(10),l=n(50),h=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","servername"],u=[239,187,191];function d(e,n){let o=d.CONNECTING;Object.defineProperty(this,"readyState",{get:()=>o}),Object.defineProperty(this,"url",{get:()=>e});const l=this;function g(){o!==d.CLOSED&&(o=d.CONNECTING,_("error",new p("error")),S&&(e=S,S=null),setTimeout(()=>{o===d.CONNECTING&&b()},l.reconnectInterval))}let E;l.reconnectInterval=1e3;let m="";n&&n.headers&&n.headers["Last-Event-ID"]&&(m=n.headers["Last-Event-ID"],delete n.headers["Last-Event-ID"]);let y=!1,v="",T="";var S=null;function b(){const s=i(e);let f="https:"===s.protocol;if(s.headers={"Cache-Control":"no-cache",Accept:"text/event-stream"},m&&(s.headers["Last-Event-ID"]=m),n&&n.headers)for(const e in n.headers){const t=n.headers[e];t&&(s.headers[e]=t)}s.rejectUnauthorized=!(n&&!n.rejectUnauthorized);if(n&&n.proxy){const t=i(n.proxy);f="https:"===t.protocol,s.protocol=f?"https:":"http:",s.path=e,s.headers.Host=s.host,s.hostname=t.hostname,s.host=t.host,s.port=t.port}if(n&&n.https)for(const e in n.https){if(-1===h.indexOf(e))continue;const t=n.https[e];void 0!==t&&(s[e]=t)}n&&void 0!==n.withCredentials&&(s.withCredentials=n.withCredentials),E=(f?a:c).request(s,n=>{if(500===n.statusCode||502===n.statusCode||503===n.statusCode||504===n.statusCode)return _("error",new p("error",{status:n.statusCode})),void g();if(301===n.statusCode||307===n.statusCode)return n.headers.location?(307===n.statusCode&&(S=e),e=n.headers.location,void t.nextTick(b)):void _("error",new p("error",{status:n.statusCode}));if(200!==n.statusCode)return _("error",new p("error",{status:n.statusCode})),l.close();o=d.OPEN,n.on("close",()=>{n.removeAllListeners("close"),n.removeAllListeners("end"),g()}),n.on("end",()=>{n.removeAllListeners("close"),n.removeAllListeners("end"),g()}),_("open",new p("open"));let s,i=!0;n.on("data",e=>{s=s?r.concat([s,e]):e,i&&function(e){return u.every((t,n)=>e[n]===t)}(s)&&(s=s.slice(u.length)),i=!1;let t=0;const n=s.length;for(;t<n;){y&&(10===s[t]&&++t,y=!1);let e=-1,r=-1;var o;for(let i=t;e<0&&i<n;++i)58===(o=s[i])?r<0&&(r=i-t):13===o?(y=!0,e=i-t):10===o&&(e=i-t);if(e<0)break;w(s,t,r,e),t+=e+1}t===n?s=void 0:t>0&&(s=s.slice(t))})}),E.on("error",g),E.setNoDelay&&E.setNoDelay(!0),E.end()}function _(){l.listeners(arguments[0]).length>0&&l.emit.apply(l,arguments)}function w(t,n,r,i){if(0===i){if(v.length>0){const t=T||"message";_(t,new f(t,{data:v.slice(0,-1),lastEventId:m,origin:s(e)})),v=""}T=void 0}else if(r>0){const e=r<0;let s=0;const o=t.slice(n,n+(e?i:r)).toString();s=e?i:32!==t[n+r+1]?r+1:r+2,n+=s;const a=i-s,c=t.slice(n,n+a).toString();if("data"===o)v+=c+"\n";else if("event"===o)T=c;else if("id"===o)m=c;else if("retry"===o){const e=parseInt(c,10);Number.isNaN(e)||(l.reconnectInterval=e)}}}b(),this._close=function(){o!==d.CLOSED&&(o=d.CLOSED,E.abort&&E.abort(),E.xhr&&E.xhr.abort&&E.xhr.abort())}}function p(e,t){if(Object.defineProperty(this,"type",{writable:!1,value:e,enumerable:!0}),t)for(const e in t)t.hasOwnProperty(e)&&Object.defineProperty(this,e,{writable:!1,value:t[e],enumerable:!0})}function f(e,t){Object.defineProperty(this,"type",{writable:!1,value:e,enumerable:!0});for(const e in t)t.hasOwnProperty(e)&&Object.defineProperty(this,e,{writable:!1,value:t[e],enumerable:!0})}e.exports=d,l.inherits(d,o.EventEmitter),d.prototype.constructor=d,["open","error","message"].forEach(e=>{Object.defineProperty(d.prototype,"on"+e,{get:function(){const t=this.listeners(e)[0];return t?t._listener?t._listener:t:void 0},set:function(t){this.removeAllListeners(e),this.addEventListener(e,t)}})}),Object.defineProperty(d,"CONNECTING",{enumerable:!0,value:0}),Object.defineProperty(d,"OPEN",{enumerable:!0,value:1}),Object.defineProperty(d,"CLOSED",{enumerable:!0,value:2}),d.prototype.CONNECTING=0,d.prototype.OPEN=1,d.prototype.CLOSED=2,d.prototype.close=function(){this._close()},d.prototype.addEventListener=function(e,t){"function"==typeof t&&(t._listener=t,this.on(e,t))},d.prototype.removeEventListener=function(e,t){"function"==typeof t&&(t._listener=void 0,this.removeListener(e,t))}}).call(t,n(1),n(2).Buffer)},function(e,t,n){t.byteLength=function(e){const t=a(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){let t;const n=a(e),r=n[0],o=n[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,r,o));let l=0;const h=o>0?r-4:r;for(var u=0;u<h;u+=4)t=s[e.charCodeAt(u)]<<18|s[e.charCodeAt(u+1)]<<12|s[e.charCodeAt(u+2)]<<6|s[e.charCodeAt(u+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===o&&(t=s[e.charCodeAt(u)]<<2|s[e.charCodeAt(u+1)]>>4,c[l++]=255&t);1===o&&(t=s[e.charCodeAt(u)]<<10|s[e.charCodeAt(u+1)]<<4|s[e.charCodeAt(u+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){let t;const n=e.length,s=n%3,i=[],o=16383;for(let t=0,r=n-s;t<r;t+=o)i.push(c(e,t,t+o>r?r:t+o));1===s?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===s&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};const r=[],s=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(let e=0,t=64;e<t;++e)r[e]=o[e],s[o.charCodeAt(e)]=e;function a(e){const t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");let n=e.indexOf("=");-1===n&&(n=t);return[n,n===t?0:4-n%4]}function c(e,t,n){let s;const i=[];for(let a=t;a<n;a+=3)s=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(r[(o=s)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);var o;return i.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,s){let i,o;const a=8*s-r-1,c=(1<<a)-1,l=c>>1;let h=-7,u=n?s-1:0;const d=n?-1:1;let p=e[t+u];for(u+=d,i=p&(1<<-h)-1,p>>=-h,h+=a;h>0;i=256*i+e[t+u],u+=d,h-=8);for(o=i&(1<<-h)-1,i>>=-h,h+=r;h>0;o=256*o+e[t+u],u+=d,h-=8);if(0===i)i=1-l;else{if(i===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),i-=l}return(p?-1:1)*o*Math.pow(2,i-r)},t.write=function(e,t,n,r,s,i){let o,a,c,l=8*i-s-1;const h=(1<<l)-1,u=h>>1,d=23===s?Math.pow(2,-24)-Math.pow(2,-77):0;let p=r?0:i-1;const f=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=h):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+u>=1?d/c:d*Math.pow(2,1-u))*c>=2&&(o++,c/=2),o+u>=h?(a=0,o=h):o+u>=1?(a=(t*c-1)*Math.pow(2,s),o+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,s),o=0));s>=8;e[n+p]=255&a,p+=f,a/=256,s-=8);for(o=o<<s|a,l+=s;l>0;e[n+p]=255&o,p+=f,o/=256,l-=8);e[n+p-f]|=128*g}},function(e,t){const n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){const r=n(27);function s(e){return"string"==typeof e&&(e=r(e)),e.protocol&&e.hostname?(e.protocol+"//"+e.host).toLowerCase():"null"}s.same=function(e,t){return s(e)===s(t)},e.exports=s},function(e,t,n){(function(t){const r=n(28),s=n(29),i=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,o=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,a=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],c={hash:1,query:1};function l(e){const n=t&&t.location||{};let r,s={},i=typeof(e=e||n);if("blob:"===e.protocol)s=new u(unescape(e.pathname),{});else if("string"===i)for(r in s=new u(e,{}),c)delete s[r];else if("object"===i){for(r in e)r in c||(s[r]=e[r]);void 0===s.slashes&&(s.slashes=o.test(e.href))}return s}function h(e){const t=i.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!t[2],rest:t[3]}}function u(e,t,n){if(!(this instanceof u))return new u(e,t,n);let i,o,c,d,p,f,g=a.slice(),E=typeof t,m=this,y=0;for("object"!==E&&"string"!==E&&(n=t,t=null),n&&"function"!=typeof n&&(n=s.parse),t=l(t),o=h(e||""),i=!o.protocol&&!o.slashes,m.slashes=o.slashes||i&&t.slashes,m.protocol=o.protocol||t.protocol||"",e=o.rest,o.slashes||(g[3]=[/(.*)/,"pathname"]);y<g.length;y++)d=g[y],"function"!=typeof d?(c=d[0],f=d[1],c!=c?m[f]=e:"string"==typeof c?~(p=e.indexOf(c))&&("number"==typeof d[2]?(m[f]=e.slice(0,p),e=e.slice(p+d[2])):(m[f]=e.slice(p),e=e.slice(0,p))):(p=c.exec(e))&&(m[f]=p[1],e=e.slice(0,p.index)),m[f]=m[f]||i&&d[3]&&t[f]||"",d[4]&&(m[f]=m[f].toLowerCase())):e=d(e);n&&(m.query=n(m.query)),i&&t.slashes&&"/"!==m.pathname.charAt(0)&&(""!==m.pathname||""!==t.pathname)&&(m.pathname=function(e,t){let n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,s=n[r-1],i=!1,o=0;for(;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),o++):o&&(0===r&&(i=!0),n.splice(r,1),o--);return i&&n.unshift(""),"."!==s&&".."!==s||n.push(""),n.join("/")}(m.pathname,t.pathname)),r(m.port,m.protocol)||(m.host=m.hostname,m.port=""),m.username=m.password="",m.auth&&(d=m.auth.split(":"),m.username=d[0]||"",m.password=d[1]||""),m.origin=m.protocol&&m.host&&"file:"!==m.protocol?m.protocol+"//"+m.host:"null",m.href=m.toString()}u.prototype={set:function(e,t,n){const i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||s.parse)(t)),i[e]=t;break;case"port":i[e]=t,r(t,i.protocol)?t&&(i.host=i.hostname+":"+t):(i.host=i.hostname,i[e]="");break;case"hostname":i[e]=t,i.port&&(t+=":"+i.port),i.host=t;break;case"host":i[e]=t,/:\d+$/.test(t)?(t=t.split(":"),i.port=t.pop(),i.hostname=t.join(":")):(i.hostname=t,i.port="");break;case"protocol":i.protocol=t.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(t){const n="pathname"===e?"/":"#";i[e]=t.charAt(0)!==n?n+t:t}else i[e]=t;break;default:i[e]=t}for(let e=0;e<a.length;e++){const t=a[e];t[4]&&(i[t[1]]=i[t[1]].toLowerCase())}return i.origin=i.protocol&&i.host&&"file:"!==i.protocol?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(e){e&&"function"==typeof e||(e=s.stringify);let t,n=this,r=n.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");let i=r+(n.slashes?"//":"");return n.username&&(i+=n.username,n.password&&(i+=":"+n.password),i+="@"),i+=n.host+n.pathname,t="object"==typeof n.query?e(n.query):n.query,t&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},u.extractProtocol=h,u.location=l,u.qs=s,e.exports=u}).call(t,n(0))},function(e,t,n){e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},function(e,t,n){const r=Object.prototype.hasOwnProperty;function s(e){return decodeURIComponent(e.replace(/\+/g," "))}t.stringify=function(e,t){const n=[];"string"!=typeof(t=t||"")&&(t="?");for(const t in e)r.call(e,t)&&n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]));return n.length?t+n.join("&"):""},t.parse=function(e){let t,n=/([^=?&]+)=?([^&]*)/g,r={};for(;t=n.exec(e);){const e=s(t[1]),n=s(t[2]);e in r||(r[e]=n)}return r}},function(e,t,n){(function(e,r){let s;!function(){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;const i="object"==typeof r&&r;i.global===i||i.window===i||i.self;let o,a=2147483647,c=36,l=1,h=26,u=38,d=700,p=72,f=128,g="-",E=/^xn--/,m=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},T=c-l,S=Math.floor,b=String.fromCharCode;function _(e){throw new RangeError(v[e])}function w(e,t){let n=e.length;const r=[];for(;n--;)r[n]=t(e[n]);return r}function I(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);return r+w((e=e.replace(y,".")).split("."),t).join(".")}function C(e){let t,n,r=[],s=0,i=e.length;for(;s<i;)t=e.charCodeAt(s++),t>=55296&&t<=56319&&s<i?(n=e.charCodeAt(s++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),s--)):r.push(t);return r}function R(e){return w(e,e=>{let t="";return e>65535&&(t+=b((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=b(e),t}).join("")}function M(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){let r=0;for(e=n?S(e/d):e>>1,e+=S(e/t);e>T*h>>1;r+=c)e=S(e/T);return S(r+(T+1)*e/(e+u))}function O(e){let t,n,r,s,i,o,u,d,E,m,y=[],v=e.length,T=0,b=f,w=p;for(n=e.lastIndexOf(g),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&_("not-basic"),y.push(e.charCodeAt(r));for(s=n>0?n+1:0;s<v;){for(i=T,o=1,u=c;s>=v&&_("invalid-input"),d=(I=e.charCodeAt(s++))-48<10?I-22:I-65<26?I-65:I-97<26?I-97:c,(d>=c||d>S((a-T)/o))&&_("overflow"),T+=d*o,E=u<=w?l:u>=w+h?h:u-w,!(d<E);u+=c)m=c-E,o>S(a/m)&&_("overflow"),o*=m;t=y.length+1,w=A(T-i,t,0==i),S(T/t)>a-b&&_("overflow"),b+=S(T/t),T%=t,y.splice(T++,0,b)}var I;return R(y)}function N(e){let t,n,r,s,i,o,u,d,E,m,y,v,T,w,I,R=[];for(v=(e=C(e)).length,t=f,n=0,i=p,o=0;o<v;++o)y=e[o],y<128&&R.push(b(y));for(r=s=R.length,s&&R.push(g);r<v;){for(u=a,o=0;o<v;++o)y=e[o],y>=t&&y<u&&(u=y);for(T=r+1,u-t>S((a-n)/T)&&_("overflow"),n+=(u-t)*T,t=u,o=0;o<v;++o)if(y=e[o],y<t&&++n>a&&_("overflow"),y==t){for(d=n,E=c;m=E<=i?l:E>=i+h?h:E-i,!(d<m);E+=c)I=d-m,w=c-m,R.push(b(M(m+I%w,0))),d=S(I/w);R.push(b(M(d,0))),i=A(n,T,r==s),n=0,++r}++n,++t}return R.join("")}o={version:"1.4.1",ucs2:{decode:C,encode:R},decode:O,encode:N,toASCII:function(e){return I(e,e=>m.test(e)?"xn--"+N(e):e)},toUnicode:function(e){return I(e,e=>E.test(e)?O(e.slice(4).toLowerCase()):e)}},s=function(){return o}.call(t,n,t,e),void 0===s||(e.exports=s)}()}).call(t,n(31)(e),n(0))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:()=>e.l}),Object.defineProperty(e,"id",{enumerable:!0,get:()=>e.i}),e.webpackPolyfill=1),e}},function(e,t,n){e.exports={isString:e=>"string"==typeof e,isObject:e=>"object"==typeof e&&null!==e,isNull:e=>null===e,isNullOrUndefined:e=>null==e}},function(e,t,n){t.decode=t.parse=n(34),t.encode=t.stringify=n(35)},function(e,t,n){function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";const o={};if("string"!=typeof e||0===e.length)return o;const a=/\+/g;e=e.split(t);let c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);let l=e.length;c>0&&l>c&&(l=c);for(let t=0;t<l;++t){var h,u,d,p,f=e[t].replace(a,"%20"),g=f.indexOf(n);g>=0?(h=f.substr(0,g),u=f.substr(g+1)):(h=f,u=""),d=decodeURIComponent(h),p=decodeURIComponent(u),r(o,d)?s(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o};var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){const r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(o(e),o=>{const a=encodeURIComponent(r(o))+n;return s(e[o])?i(e[o],e=>a+encodeURIComponent(r(e))).join(t):a+encodeURIComponent(r(e[o]))}).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=Object.keys||function(e){const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){const r=n(10),s=n(7),i=e.exports;for(const e in r)r.hasOwnProperty(e)&&(i[e]=r[e]);function o(e){if("string"==typeof e&&(e=s.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}i.request=function(e,t){return e=o(e),r.request.call(this,e,t)},i.get=function(e,t){return e=o(e),r.get.call(this,e,t)}},function(e,t,n){(function(t,r,s){const i=n(11),o=n(12),a=n(13),c=n(14),l=n(47),h=a.IncomingMessage,u=a.readyStates;const d=e.exports=function(e){const n=this;let r;c.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach(t=>{n.setHeader(t,e.headers[t])});let s=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!i.abortController)s=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!i.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return i.fetch&&t?"fetch":i.mozchunkedarraybuffer?"moz-chunked-arraybuffer":i.msstream?"ms-stream":i.arraybuffer&&e?"arraybuffer":i.vbArray&&e?"text:vbarray":"text"}(r,s),n._fetchTimer=null,n.on("finish",()=>{n._onFinish()})};o(d,c.Writable),d.prototype.setHeader=function(e,t){const n=e.toLowerCase();-1===p.indexOf(n)&&(this._headers[n]={name:e,value:t})},d.prototype.getHeader=function(e){const t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){const e=this;if(e._destroyed)return;const n=e._opts,o=e._headers;let a=null;"GET"!==n.method&&"HEAD"!==n.method&&(a=i.arraybuffer?l(t.concat(e._body)):i.blobConstructor?new r.Blob(e._body.map(e=>l(e)),{type:(o["content-type"]||{}).value||""}):t.concat(e._body).toString());const c=[];if(Object.keys(o).forEach(e=>{const t=o[e].name,n=o[e].value;Array.isArray(n)?n.forEach(e=>{c.push([t,e])}):c.push([t,n])}),"fetch"===e._mode){let t=null;if(i.abortController){const s=new AbortController;t=s.signal,e._fetchAbortController=s,"requestTimeout"in n&&0!==n.requestTimeout&&(e._fetchTimer=r.setTimeout(()=>{e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},n.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:c,body:a||void 0,mode:"cors",credentials:n.withCredentials?"include":"same-origin",signal:t}).then(t=>{e._fetchResponse=t,e._connect()},t=>{r.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)})}else{const t=e._xhr=new r.XMLHttpRequest;try{t.open(e._opts.method,e._opts.url,!0)}catch(t){return void s.nextTick(()=>{e.emit("error",t)})}"responseType"in t&&(t.responseType=e._mode.split(":")[0]),"withCredentials"in t&&(t.withCredentials=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in t&&t.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(t.timeout=n.requestTimeout,t.ontimeout=function(){e.emit("requestTimeout")}),c.forEach(e=>{t.setRequestHeader(e[0],e[1])}),e._response=null,t.onreadystatechange=function(){switch(t.readyState){case u.LOADING:case u.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(t.onprogress=function(){e._onXHRProgress()}),t.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{t.send(a)}catch(t){s.nextTick(()=>{e.emit("error",t)})}}},d.prototype._onXHRProgress=function(){const e=this;(function(e){try{const t=e.status;return null!==t&&0!==t}catch(e){return!1}})(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},d.prototype._connect=function(){const e=this;e._destroyed||(e._response=new h(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",t=>{e.emit("error",t)}),e.emit("response",e._response))},d.prototype._write=function(e,t,n){this._body.push(e),n()},d.prototype.abort=d.prototype.destroy=function(){const e=this;e._destroyed=!0,r.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},d.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=void 0),c.Writable.prototype.end.call(this,e,t,n)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var p=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(t,n(2).Buffer,n(0),n(1))},function(e,t){const n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t){},function(e,t,n){const r=n(9).Buffer,s=n(41);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";let t=this.head,n=""+t.data;for(;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;const t=r.allocUnsafe(e>>>0);let n=this.head,s=0;for(;n;)i=n.data,o=t,a=s,i.copy(o,a),s+=n.data.length,n=n.next;var i,o,a;return t},e}(),s&&s.inspect&&s.inspect.custom&&(e.exports.prototype[s.inspect.custom]=function(){const e=s.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e){const r=void 0!==e&&e||"undefined"!=typeof self&&self||window,s=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(s.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(s.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);const t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(()=>{e._onTimeout&&e._onTimeout()},t))},n(43),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(0))},function(e,t,n){(function(e,t){!function(e,n){if(e.setImmediate)return;let r=1;const s={};let i=!1;const o=e.document;let a;function c(e){delete s[e]}function l(e){if(i)setTimeout(l,0,e);else{const t=s[e];if(t){i=!0;try{!function(e){const t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{c(e),i=!1}}}}let h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?a=function(e){t.nextTick(()=>{l(e)})}:function(){if(e.postMessage&&!e.importScripts){let t=!0;const n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){const t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&l(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),a=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){const e=new MessageChannel;e.port1.onmessage=function(e){l(e.data)},a=function(t){e.port2.postMessage(t)}}():o&&"onreadystatechange"in o.createElement("script")?function(){const e=o.documentElement;a=function(t){let n=o.createElement("script");n.onreadystatechange=function(){l(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():a=function(e){setTimeout(l,0,e)},h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));const t=new Array(arguments.length-1);for(let e=0;e<t.length;e++)t[e]=arguments[e+1];const n={callback:e,args:t};return s[r]=n,a(r),r++},h.clearImmediate=c}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n(0),n(1))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}const n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;let r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(t,n(0))},function(e,t,n){const r=n(2),s=r.Buffer;function i(e,t){for(const n in e)t[n]=e[n]}function o(e,t,n){return s(e,t,n)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=o),i(s,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");const r=s(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){e.exports=i;const r=n(20),s=n(4);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}s.inherits=n(5),s.inherits(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){const r=n(2).Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){const t=new Uint8Array(e.length),n=e.length;for(let r=0;r<n;r++)t[r]=e[r];return t.buffer}throw new Error("Argument must be a Buffer")}},function(e,t){e.exports=function(){const e={};for(let t=0;t<arguments.length;t++){const r=arguments[t];for(const t in r)n.call(r,t)&&(e[t]=r[t])}return e};const n=Object.prototype.hasOwnProperty},function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(e,t,n){(function(e,r){const s=/%[sdj%]/g;t.format=function(e){if(!m(e)){const e=[];for(var t=0;t<arguments.length;t++)e.push(a(arguments[t]));return e.join(" ")}t=1;const n=arguments,r=n.length;let i=String(e).replace(s,e=>{if("%%"===e)return"%";if(t>=r)return e;switch(e){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(e){return"[Circular]"}default:return e}});for(let e=n[t];t<r;e=n[++t])g(e)||!T(e)?i+=" "+e:i+=" "+a(e);return i},t.deprecate=function(n,s){if(y(e.process))return function(){return t.deprecate(n,s).apply(this,arguments)};if(!0===r.noDeprecation)return n;let i=!1;return function(){if(!i){if(r.throwDeprecation)throw new Error(s);r.traceDeprecation?console.trace(s):console.error(s),i=!0}return n.apply(this,arguments)}};const i={};let o;function a(e,n){const r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),f(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),h(r,e,r.depth)}function c(e,t){const n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function l(e,t){return e}function h(e,n,r){if(e.customInspect&&n&&_(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){let t=n.inspect(r,e);return m(t)||(t=h(e,t,r)),t}const s=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(m(t)){const n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(E(t))return e.stylize(""+t,"number");if(f(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,n);if(s)return s;let i=Object.keys(n);const o=function(e){const t={};return e.forEach((e,n)=>{t[e]=!0}),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(n)),b(n)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return u(n);if(0===i.length){if(_(n)){const t=n.name?": "+n.name:"";return e.stylize("[Function"+t+"]","special")}if(v(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return e.stylize(Date.prototype.toString.call(n),"date");if(b(n))return u(n)}let a,c="",l=!1,T=["{","}"];if(p(n)&&(l=!0,T=["[","]"]),_(n)){c=" [Function"+(n.name?": "+n.name:"")+"]"}return v(n)&&(c=" "+RegExp.prototype.toString.call(n)),S(n)&&(c=" "+Date.prototype.toUTCString.call(n)),b(n)&&(c=" "+u(n)),0!==i.length||l&&0!=n.length?r<0?v(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),a=l?function(e,t,n,r,s){const i=[];for(let s=0,o=t.length;s<o;++s)R(t,String(s))?i.push(d(e,t,n,r,String(s),!0)):i.push("");return s.forEach(s=>{s.match(/^\d+$/)||i.push(d(e,t,n,r,s,!0))}),i}(e,n,r,o,i):i.map(t=>d(e,n,r,o,t,l)),e.seen.pop(),function(e,t,n){const r=e.reduce((e,t)=>(t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(a,c,T)):T[0]+c+T[1]}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,s,i){let o,a,c;if(c=Object.getOwnPropertyDescriptor(t,s)||{value:t[s]},c.get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),R(r,s)||(o="["+s+"]"),a||(e.seen.indexOf(c.value)<0?(a=g(n)?h(e,c.value,null):h(e,c.value,n-1),a.indexOf("\n")>-1&&(a=i?a.split("\n").map(e=>"  "+e).join("\n").substr(2):"\n"+a.split("\n").map(e=>"   "+e).join("\n"))):a=e.stylize("[Circular]","special")),y(o)){if(i&&s.match(/^\d+$/))return a;o=JSON.stringify(""+s),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function p(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function g(e){return null===e}function E(e){return"number"==typeof e}function m(e){return"string"==typeof e}function y(e){return void 0===e}function v(e){return T(e)&&"[object RegExp]"===w(e)}function T(e){return"object"==typeof e&&null!==e}function S(e){return T(e)&&"[object Date]"===w(e)}function b(e){return T(e)&&("[object Error]"===w(e)||e instanceof Error)}function _(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(y(o)&&(o=r.env.NODE_DEBUG||""),e=e.toUpperCase(),!i[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){const n=r.pid;i[e]=function(){const r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else i[e]=function(){};return i[e]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=f,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=E,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=y,t.isRegExp=v,t.isObject=T,t.isDate=S,t.isError=b,t.isFunction=_,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(51);const C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",function(){const e=new Date,t=[I(e.getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}(),t.format.apply(t,arguments))},t.inherits=n(52),t._extend=function(e,t){if(!t||!T(t))return e;const n=Object.keys(t);let r=n.length;for(;r--;)e[n[r]]=t[n[r]];return e}}).call(t,n(0),n(1))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;const n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}]);const F="ADD",B="DELETE",k="EmbeddedMessaging-ConversationState";class G extends t.LightningElement{constructor(...e){super(...e),this.configuration=void 0,this.publicConfiguration=void 0,this.prechatConstructor=void 0,this.conversationEntries=[],this.conversationEntriesUtil=void 0,this.conversationParticipants=[],this.conversationData=void 0,this.conversationStatus=void 0,this.isMinimized=void 0,this.conversationId=void 0,this.currentTypingParticipants={},this.isAnotherParticipantTyping=!1,this.isJwtExpired=!1,this.isTransferring=!1,this.showGetConversationEntriesSpinner=!1,this.hasLoadedAllConversationEntries=!1,this.sseStatus=f.SseStatus.NOT_STARTED_SSE,this.sseBlockedTS=void 0,this.failedMessages={},this.webViewMetadata={},this.displayWebViewOverlay=!1,this.displayConfirmationDialogInOverlay=!1,this.displaySessionPrechatForm=!1,this.displaySecureForm=!1,this.visiblePrechatFields={},this.headerMenuOptions=[],this.isReconnectInProgress=!1,this.conversationEntriesStartIndexForTTFM=0,this.firstEndUserMessageTimeWhenEndUserOnlyParticipant=void 0,this.pingTimer=void 0,this.messageResponseExperienceTimeWithBot={endUserMessageToBotTime:void 0,endUserMessageId:void 0},this._lastInAppServiceErrorTime=void 0,this.enableUserInputForConversationWithBot=!0,this.handleMessageEvents=e=>{a.util.handleWindowEvents(e,{[a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT]:this.setFocusOnLastFocusableElement.bind(this),[a.events.APP_RECEIVE_AUTORESPONSE_PARAMETER_EVENT_NAME]:this.handleReceiveParametersFromAutoResponseAPI.bind(this),[a.events.APP_RECEIVE_HIDDEN_PRECHAT_FIELDS_EVENT_NAME]:this.handleReceiveHiddenPrechatFields.bind(this)})},this.renderConversationMessage=(e,t)=>{try{if(!e)return;this.conversationId===e.conversationId&&(e.isWebViewChatMessage&&d.requestParametersFromAutoResponseAPI(),this.conversationEntriesUtil.getEntry(e.messageId)?this.updateExistingConversationEntry(e,t||{}):this.addConversationEntry(Object.assign(e,t||{})),this.toggleUserInputOnNewMessage(e),this.setNextOutboundMessageAsChoicesResponse(e),this.handleConversationEntryMetadata(e))}catch(e){a.error(`Error thrown while handling historical conversation message in conversation ${this.conversationId}: ${e}`)}},this.renderParticipantChanged=e=>{try{if(!e)return;if(this.conversationId===e.conversationId){const t=e.participantEntries;if(!t.length||E.isSupervisorParticipant(t[0].participant))return;this.addConversationEntry(e)}}catch(e){a.error(`Error thrown while handling historical participant change in conversation ${this.conversationId}: ${e}`)}},this.renderRoutingResult=e=>{try{if(!e)return;if(this.conversationId===e.conversationId)if(e.messageType===f.RoutingTypes.INITIAL)switch(e.content.failureType){case f.RoutingFailureTypes.NO_ERROR:case f.RoutingFailureTypes.SUBMISSION_ERROR:case f.RoutingFailureTypes.ROUTING_ERROR:case f.RoutingFailureTypes.UNKNOWN_ERROR:this.addConversationEntry(e);break;default:a.warning(`Unrecognized initial routing failure type: ${e.content.failureType}`)}else if(e.messageType===f.RoutingTypes.TRANSFER)switch(e.content.failureType){case f.RoutingFailureTypes.NO_ERROR:this.addConversationEntry(e);break;case f.RoutingFailureTypes.SUBMISSION_ERROR:case f.RoutingFailureTypes.ROUTING_ERROR:case f.RoutingFailureTypes.UNKNOWN_ERROR:case f.RoutingFailureTypes.CANCELLED:break;default:a.warning(`Unrecognized transfer routing failure type: ${e.content.failureType}`)}else a.warning(`Unrecognized routing type: ${e.messageType}`)}catch(e){a.error(`Error thrown while handling historical routing result in conversation ${this.conversationId}: ${e}`)}},this.handleReceiveParametersFromAutoResponseAPI=e=>{let t;try{d.validateParametersFromAutoResponseAPI(e),t=e,this.webViewMetadata.shouldRenderInline&&(this.webViewMetadata.pageParameters=t||{},this.webViewMetadata.url=d.constructAutoResponseURL(this.webViewMetadata.templateURL,this.webViewMetadata.coreParameters,this.webViewMetadata.pageParameters))}catch(e){a.error(`Error validating Auto-Response API parameters received from host domain: ${e}`)}finally{this.webViewMetadata.shouldRenderInline?v.getItemInWebStorageByKey(f.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED)||(v.setItemInWebStorage(f.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED,!0),v.setItemInWebStorage(f.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED,!0,!1),this.onShowWebViewOverlay()):c.dispatchEvent(p.CONSTRUCT_RICH_LINK_FROM_AUTORESPONSE_PARAMETERS_EVENT,{params:t||{}})}}}getSseStatus(){return this.sseStatus}get lastInAppServiceErrorTime(){return this._lastInAppServiceErrorTime}get generateConversationStateClass(){let e="conversationState";return this.displayWebViewOverlay?e+=" webviewOverlay":this.displaySessionPrechatForm?e+=" sessionPrechatForm":this.displaySecureForm&&(e+=" secureForm"),e}get secureFormTitle(){return this.secureForm&&this.secureForm.formTitle?this.secureForm.formTitle:""}get secureFormData(){return this.secureForm&&this.secureForm.formSections?this.secureForm.formSections:{}}get isUserInputDisabled(){switch(this.conversationStatus){case f.ConversationStatus.OPENED_CONVERSATION:return!this.enableUserInputForConversationWithBot;case f.ConversationStatus.NOT_STARTED_CONVERSATION:case f.ConversationStatus.CLOSED_CONVERSATION:default:return!0}}closeConversation(){return h.closeConversation(this.conversationId).then(()=>{a.LoggingUtil.logCurrentState(k,{method:"closeConversation",stateMessage:"Closed the conversation successfully."})}).catch(e=>{a.LoggingUtil.logError(e,k,{method:"closeConversation",errMessage:"Close Conversation ia-message request failed.",errCode:e.status}),this.handleInAppServiceError(e)})}connectedCallback(){var e;this.conversationEntriesUtil=(e=this.conversationEntries,new L(e)),this.conversationId=this.configuration&&this.configuration.conversationId;this.handleSubscribeToEventSource().then(this.conversationData.isExistingConversation?this.handleExistingConversation.bind(this):this.handleNewConversation.bind(this)).catch(this.handleInAppServiceError.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_SSE_TOO_MANY_RETRIES_EVENT,this.handleInAppServiceError.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,this.handleCreateConversationEntry.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_SCROLL_STATE_UPDATE,e=>{e.isMessageAreaEndOfScroll&&(this.conversationStatus===f.ConversationStatus.CLOSED_CONVERSATION?this.updateTitleNotification(e):this.isTransferring||c.dispatchChatHeaderEvent(c.HEADER_EVENTS.CLEAR_NOTIFICATION,{}))}),c.assignHandler(a.events.EMBEDDED_MESSAGING_RESEND_FAILED_MESSAGE,this.handleMessageResend.bind(this)),l.assignMessagingEventHandler(l.MESSAGING_EVENT.BACK_BUTTON_CLICK,this.handleChatHeaderBackButtonClick.bind(this)),l.assignMessagingEventHandler(l.MESSAGING_EVENT.MENU_ITEM_SELECTED,this.handleMenuItemSelection.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_FORM_MESSAGE_CLICK_EVENT,this.handleFormMessageButtonClick.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_CLOSE_CONFIRMATION,this.handleDialogCloseConfirmation.bind(this)),c.assignFormEventHandler(c.FORM_EVENTS.SECURE_FORM_SUBMIT,this.handleSecureFormSubmit.bind(this)),window.addEventListener("message",this.handleMessageEvents),document.addEventListener("visibilitychange",this.updateTitleNotification.bind(this)),this.failedMessages=this.getFailedMessagesIfExists()}renderedCallback(){const e=this.querySelectConversationLog(),t=this.querySelectInputFooter();c.assignHandler(a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,this.setFocusOnLastFocusableElement.bind(this)),this.conversationStatus===f.ConversationStatus.CLOSED_CONVERSATION&&e&&e.addEventListener("keydown",e=>{this.conversationStatus===f.ConversationStatus.CLOSED_CONVERSATION&&e&&e.key&&(e.key!==a.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0})))}),e&&e.addEventListener("click",()=>{c.dispatchChatHeaderEvent(c.HEADER_EVENTS.CLICK_OUTSIDE_HEADER,{})}),t&&t.addEventListener("click",()=>{c.dispatchChatHeaderEvent(c.HEADER_EVENTS.CLICK_OUTSIDE_HEADER,{})})}errorCallback(e,t){a.error(`Something went wrong in conversation ${this.conversationId}: ${e&&e.message?e.message:e} ${t}`)}disconnectedCallback(){document.removeEventListener("visibilitychange",this.updateTitleNotification.bind(this)),window.removeEventListener("message",this.handleMessageEvents),c.clearHandlersForEvent(a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT),c.clearHandlersForFormEvent(c.FORM_EVENTS.SECURE_FORM_SUBMIT)}handleNewConversation(){this.addConversationParticipants(this.conversationData.participants),this.conversationStartTime=new Date,a.LoggingUtil.logCurrentState(k,{method:"handleNewConversation",stateMessage:`Created a new conversation with routing attributes ${JSON.stringify(Object.keys(this.configuration.routingAttributes))}`})}setFocusOnLastFocusableElement(){if(this.conversationStatus===f.ConversationStatus.OPENED_CONVERSATION){const e=this.querySelectInputFooter();this.displaySecureForm?c.dispatchFormEvent(c.FORM_EVENTS.FOCUS_ON_LAST_FOCUSABLE_ELEMENT,{}):e&&e.setFocusOnTextArea()}else{const e=this.querySelectConversationLog();e&&e.focus()}}handleExistingConversation(){return new Promise(e=>{if(this.addConversationParticipants(this.conversationData.participants),this.toggleUserInputOnParticipantChanged(),this.conversationStartTime=this.conversationData.startTimestamp,1===E.getAgentOrBotParticipantCount(this.conversationParticipants)){const e=E.getAgentOrBotParticipants(this.conversationParticipants)[0];l.dispatchMessagingEvent(l.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:e.displayName||e.role})}this.handleGetConversationRoutingStatus().then(()=>{this.isTransferring&&this.onTransferRoutingInitiated()}),this.handleGetConversationEntries().then(e)}).catch(e=>{a.LoggingUtil.logError(e,k,{method:"handleExistingConversation",errMessage:"Something went wrong while showing an existing open conversation."}),this.handleInAppServiceError(e)})}parseGetConversationEntriesResponse(e){try{e.reverse().forEach(e=>{const t=m.createConversationEntryFactory(e);switch(e.conversationEntry.entryType){case f.EntryTypes.CONVERSATION_MESSAGE:this.renderConversationMessage(t);break;case f.EntryTypes.PARTICIPANT_CHANGED:this.processParticipantMetadata(t),this.renderParticipantChanged(t);break;case f.EntryTypes.ROUTING_RESULT:this.renderRoutingResult(t);break;default:throw Error(`Unrecognized conversation entry type: ${e.conversationEntry.entryType}.`)}})}catch(e){throw new Error(`Error occurred while processing conversation history: ${e&&e.message?e.message:e}`)}}reconnectToEventSource(){return h.closeEventSource().then(()=>h.subscribeToEventSource(this.getSupportedServerEvents())).catch(e=>{a.LoggingUtil.logCurrentState(k,{method:"reconnectToEventSource",stateMessage:"Failed to reconnect to event source.",errCode:e.status}),this.handleInAppServiceError(e)})}handleConnectionInterrupted(){this.isReconnectInProgress=!0,this.onReconnectInProgress()}handleConnectionEnded(){this.isReconnectInProgress&&(this.isReconnectInProgress=!1,this.onReconnectEnded())}handlePingTimeoutError(){if(this.conversationStatus===f.ConversationStatus.OPENED_CONVERSATION&&!this.isReconnectInProgress){const e=Date.now();this.sseBlockedTS||(this.sseBlockedTS=e),a.LoggingUtil.logError("PingTimeoutFailure",k,{method:"handlePingTimeoutError",errMessage:`Did not receive ping from server within expected time period of ${f.PING_TIMEOUT_MS} ms, timer started at: ${this.pingTimer._lastReceivedTimestamp}. Tab state is: ${document.visibilityState}. SseStatus before missed ping was: ${this.sseStatus}. Timestamp of first missed ping: ${this.sseBlockedTS}`}),this.sseStatus=f.SseStatus.BLOCKED_SSE,this.pingTimer.reset(e)}}prepareConnectionHandlers(){c.assignHandler(a.events.EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED_EVENT,this.handleConnectionInterrupted.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED_EVENT,this.handleConnectionEnded.bind(this))}handleSubscribeToEventSource(){return this.prepareConnectionHandlers(),this.setPingTimer(f.PING_TIMEOUT_MS),h.subscribeToEventSource(this.getSupportedServerEvents())}setPingTimer(e){this.pingTimer=new R.default(this.handlePingTimeoutError.bind(this),e,Date.now()),this.pingTimer.start()}handleGetConversationEntries(){return h.getConversationEntries(this.conversationId,f.GET_CONVERSATION_ENTRIES_LIMIT,Date.now()).then(e=>{this.parseGetConversationEntriesResponse(e),this.restoreWebStorageFailedMessageEntries(),a.LoggingUtil.logCurrentState(k,{method:"handleGetConversationEntries",stateMessage:"Fetched conversation entries for the current conversation."})}).catch(e=>{a.LoggingUtil.logError(e,k,{method:"handleGetConversationEntries",errMessage:"Failed to retrieve conversation entries for the current conversation.",errCode:e.status}),this.handleInAppServiceError(e)})}handleScrollToTop(){const e=this.conversationEntriesUtil.getOldestEntry();this.showGetConversationEntriesSpinner=!0,h.getConversationEntries(this.conversationId,f.GET_CONVERSATION_ENTRIES_LIMIT,e.transcriptedTimestamp).then(e=>{e.length<f.GET_CONVERSATION_ENTRIES_LIMIT&&(this.hasLoadedAllConversationEntries=!0),this.parseGetConversationEntriesResponse(e)}).catch(e=>{a.LoggingUtil.logError(e,k,{method:"handleScrollToTop",errMessage:"Failed to retrieve older conversation entries for the current conversation when user scrolled to the top of the coversation log.",errCode:e.status}),this.handleInAppServiceError(e)}).finally(()=>{this.showGetConversationEntriesSpinner=!1})}handleGetConversationRoutingStatus(){return h.getConversationRoutingStatus(this.conversationId).then(e=>{this.isTransferring=e.routingStatus===f.RoutingStatus.TRANSFER,a.LoggingUtil.logCurrentState(k,{method:"handleGetConversationRoutingStatus",stateMessage:"Fetched conversation routing status for the current conversation."})}).catch(e=>{a.LoggingUtil.logError(e,k,{method:"handleGetConversationRoutingStatus",errMessage:"Failed to make request to get routing status of the current conversation.",errCode:e.status}),this.handleInAppServiceError(e)})}handleInAppServiceErrorCustomEvent(e){this.handleInAppServiceError(e)}handleInAppServiceError(e){let t;if(this._lastInAppServiceErrorTime=Date.now(),e)if(t=e.detail||void 0,t){if(t.error&&409!==t.error.status)if(401===t.error.status||t.error===f.SSE_TOO_MANY_RETRIES)this.handleJwtExpiry();else if(t.entryId&&this.conversationEntriesUtil.getEntry(t.entryId).isChatMessage&&this.conversationEntriesUtil.getEntry(t.entryId).isMessageOutbound)a.LoggingUtil.logError(t.error,k,{method:"handleInAppServiceError",errMessage:"Message send failed",errCode:t.error.status,convEntryId:t.entryId}),this.conversationEntriesUtil.updateEntry(t.entryId,{hasSendFailed:!0,...t.attachedFile&&{attachedFile:t.attachedFile},resendInProgress:!1,errorStatus:t.error.status}),this.conversationEntriesUtil.updateAcknowledgementForEntryGroup(t.entryId),this.updateWebStorageFailedMessageEntries(t.entryId,F),this.querySelectConversationLog().scrollToBottom(),t.error.status===f.HTTP_ERROR_CODE_MISSING_SESSION&&this.isSessionPrechatEnabled()&&(this.sessionPrechatHasVisibleFields()||this.hasTermsAndConditions()?this.showSessionPrechatForm():this.sessionPrechatHasHiddenFields()&&a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.APP_REQUEST_HIDDEN_PRECHAT_FIELDS_EVENT_NAME),this.updateEntriesStartIndexForTimeToFirstMessage(t.entryId));else{const e=`${t.error.statusText?t.error.statusText:t.error?t.error:"Error thrown was undefined."}`;a.error(e),a.LoggingUtil.logError("Undefined error",k,{method:"handleInAppServiceError",errMessage:e,errCode:t.error.status})}}else(e.status&&409!==e.status&&401===e.status||a.error.error&&a.error.error===f.SSE_TOO_MANY_RETRIES)&&this.handleJwtExpiry()}handleJwtExpiry(){this.isJwtExpired=!0,this.conversationEndTime=new Date,this.dispatchConversationStatusChangeEvent(f.ConversationStatus.CLOSED_CONVERSATION),c.dispatchChatHeaderEvent(c.HEADER_EVENTS.JWT_EXPIRED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.JWT_EXPIRED,{}),a.LoggingUtil.logError("Jwt Expired",k,{method:"handleJwtExpiry",errMessage:"Either Jwt expired or SSE retry limit reached"})}dispatchConversationStatusChangeEvent(e){const t=e===f.ConversationStatus.OPENED_CONVERSATION?a.events.EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_OPENED_EVENT:a.events.EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_CLOSED_EVENT;e===f.ConversationStatus.CLOSED_CONVERSATION&&(this.sseStatus=f.SseStatus.CLOSED_SSE),c.dispatchEvent(t,{bubbles:!0})}getSupportedServerEvents(){const e={[f.EventTypes.CONVERSATION_MESSAGE]:this.handleConversationMessageServerSentEvent.bind(this),[f.EventTypes.CONVERSATION_PARTICIPANT_CHANGED]:this.handleParticipantChangedServerSentEvent.bind(this),[f.EventTypes.CONVERSATION_ROUTING_RESULT]:this.handleRoutingResultServerSentEvent.bind(this),[f.EventTypes.CONVERSATION_CLOSE_CONVERSATION]:this.handleCloseConversationServerSentEvent.bind(this),[f.EventTypes.CONVERSATION_PING]:this.handlePingServerSentEvent.bind(this)};return this.configuration.embeddedServiceMessagingChannel.showDeliveryReceipts&&(e[f.EventTypes.CONVERSATION_DELIVERY_ACKNOWLEDGEMENT]=this.handleConversationDeliveryAcknowledgementServerSentEvent.bind(this)),e[f.EventTypes.CONVERSATION_READ_ACKNOWLEDGEMENT]=this.handleConversationReadAcknowledgementServerSentEvent.bind(this),this.configuration.embeddedServiceMessagingChannel.showTypingIndicators&&(e[f.EventTypes.CONVERSATION_TYPING_STARTED_INDICATOR]=this.handleTypingStartedIndicatorServerSentEvent.bind(this),e[f.EventTypes.CONVERSATION_TYPING_STOPPED_INDICATOR]=this.handleTypingStoppedIndicatorServerSentEvent.bind(this)),e}querySelectConversationLog(){return this.template&&this.template.querySelector("embeddedmessaging-conversation-log")?this.template.querySelector("embeddedmessaging-conversation-log"):void 0}querySelectInputFooter(){return this.template&&this.template.querySelector("embeddedmessaging-input-footer")?this.template.querySelector("embeddedmessaging-input-footer"):void 0}handleTypingStartedIndicatorServerSentEvent(e){try{const t=A.default.parseServerSentEventData(e);if(e&&e.lastEventId&&h.setLastEventId(e.lastEventId),this.conversationId===m.getConversationIdentifier(t)){const e=m.getSenderDisplayName(t)||m.getSenderRole(t),n=this.currentTypingParticipants[e]&&this.currentTypingParticipants[e].countdownTimer;t.conversationEntry.sender.role!==f.ParticipantRoles.ENDUSER&&(n?n.reset(Date.now()):(this.currentTypingParticipants[e]={countdownTimer:new R.default(()=>{delete this.currentTypingParticipants[e],Object.keys(this.currentTypingParticipants).length||(this.isAnotherParticipantTyping=!1)},12e4,Date.now()),role:t.conversationEntry.sender.role},this.currentTypingParticipants[e].countdownTimer.start()),this.isAnotherParticipantTyping=!0)}}catch(e){a.error(`Error thrown while handling typing started indicator server sent event in ${this.conversationId}: ${e}`)}}handleTypingStoppedIndicatorServerSentEvent(e){try{const t=A.default.parseServerSentEventData(e);if(e&&e.lastEventId&&h.setLastEventId(e.lastEventId),this.conversationId===m.getConversationIdentifier(t)){const e=m.getSenderDisplayName(t)||m.getSenderRole(t);this.removeParticipantTypingIndicator(e)}}catch(e){a.error(`Error thrown while handling typing stopped indicator server sent event in conversation ${this.conversationId}: ${e}`)}}handleParticipantLeftTypingIndicator(e){if(this.isAnotherParticipantTyping){const t=m.getParticipantChangedDisplayName(e);this.removeParticipantTypingIndicator(t)}}removeParticipantTypingIndicator(e){const t=this.currentTypingParticipants[e]&&this.currentTypingParticipants[e].countdownTimer;t&&(t.clear(),delete this.currentTypingParticipants[e],Object.keys(this.currentTypingParticipants).length||(this.isAnotherParticipantTyping=!1))}handleConversationDeliveryAcknowledgementServerSentEvent(e){try{this.handleAcknowledgementServerSentEvent(e)}catch(e){a.error(`Error thrown while handling conversation delivery acknowledgement server sent event in conversation ${this.conversationId}: ${e}`)}}handleConversationReadAcknowledgementServerSentEvent(e){try{this.handleAcknowledgementServerSentEvent(e)}catch(e){a.error(`Error thrown while handling conversation read acknowledgement server sent event in conversation ${this.conversationId}: ${e}.`)}}handleAcknowledgementServerSentEvent(e){const t=A.default.parseServerSentEventData(e),n=A.default.parseServerSentConversationEntry(t),r=A.default.parseServerSentConversationEntryPayload(n);if(e&&e.lastEventId&&h.setLastEventId(e.lastEventId),this.conversationId===m.getConversationIdentifier(t)){const e=this.conversationEntriesUtil.getEntry(r.acknowledgedConversationEntryIdentifier);e&&(e.isMessageOutbound&&(this.configuration.embeddedServiceMessagingChannel.showDeliveryReceipts&&r.entryType===f.EntryTypes.DELIVERY_ACKNOWLEDGEMENT?a.util.dispatchEventToHost(f.HOST_EVENT.ON_EMBEDDED_MESSAGE_DELIVERED,t):this.configuration.embeddedServiceMessagingChannel.showReadReceipts&&r.entryType===f.EntryTypes.READ_ACKNOWLEDGEMENT&&a.util.dispatchEventToHost(f.HOST_EVENT.ON_EMBEDDED_MESSAGE_READ,t)),(r.entryType===f.EntryTypes.DELIVERY_ACKNOWLEDGEMENT||this.configuration.embeddedServiceMessagingChannel.showReadReceipts)&&this.updateAcknowledgementTimestampsAndBadge(r,e),r.entryType!==f.EntryTypes.READ_ACKNOWLEDGEMENT||e.isMessageOutbound||a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_UPDATE_TITLE_NOTIFICATION))}}updateAcknowledgementTimestampsAndBadge(e,t){this.conversationEntriesUtil.updateEntry(t.messageId,{...e.entryType===f.EntryTypes.DELIVERY_ACKNOWLEDGEMENT&&{isDelivered:!0,deliveryAcknowledgementTimestamp:e.acknowledgementTimestamp},...e.entryType===f.EntryTypes.READ_ACKNOWLEDGEMENT&&{isRead:!0,readAcknowledgementTimestamp:e.acknowledgementTimestamp}}),t.isChatMessage&&t.isMessageOutbound&&(this.conversationEntriesUtil.updateAcknowledgementForEntryGroup(t.messageId),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_ACKNOWLEDGEMENT_UPDATE,{}))}handleConversationMessageServerSentEvent(e){try{const t=A.default.parseServerSentEventData(e),n=m.createConversationEntryFactory(t);if(e&&e.lastEventId&&h.setLastEventId(e.lastEventId),!n)return;E.isEndUserOnlyParticipant(this.conversationParticipants)&&(n.isMessageOutbound&&!this.firstEndUserMessageTimeWhenEndUserOnlyParticipant&&(this.firstEndUserMessageTimeWhenEndUserOnlyParticipant=n.transcriptedTimestamp),this.updateEntriesStartIndexForTimeToFirstMessage(n.messageId)),n.actorType!==f.ParticipantRoles.ENDUSER&&(this.handleTypingStoppedIndicatorServerSentEvent(e),this.conversationStatus===f.ConversationStatus.OPENED_CONVERSATION&&h.sendDeliveryAcknowledgement(n.conversationId,n.messageId).catch(e=>{a.LoggingUtil.logError(e,k,{method:"handleConversationMessageServerSentEvent",errMessage:"Failed to send Delivery acknowledgement for the received Conversation Message.",errCode:e.status,convEntryId:n.messageId}),this.handleInAppServiceError(e)}),this.updateTitleNotification({newMessages:!0,senderDisplayName:m.getSenderDisplayName(t)})),this.conversationId===m.getConversationIdentifier(t)&&(this.renderAutoResponseInWebViewOverlay(n),this.processConversationMessageForCurrentConversation(n),a.util.dispatchEventToHost(f.HOST_EVENT.ON_EMBEDDED_MESSAGE_SENT,t))}catch(e){a.error(`Error thrown while handling conversation message server sent event in conversation ${this.conversationId}: ${e}`)}}processConversationMessageForCurrentConversation(e){const t={isSent:!0,hasSendFailed:!1,isServerSentEntry:!0,attachedFile:void 0,resendInProgress:!1};e.conversationId===this.conversationId&&(this.updateWebStorageFailedMessageEntries(e.messageId,B),this.renderConversationMessage(e,t),e.isChatMessage&&e.isMessageOutbound?(this.conversationEntriesUtil.updateAcknowledgementForEntryGroup(e.messageId),this.isEndUserReplyToABot(e)&&!this.messageResponseExperienceTimeWithBot.endUserMessageToBotTime&&(this.messageResponseExperienceTimeWithBot.endUserMessageToBotTime=e.transcriptedTimestamp,this.messageResponseExperienceTimeWithBot.endUserMessageId=e.messageId)):e.isChatMessage&&!e.isMessageOutbound&&(this.logTimeToFirstMessage(e),this.logTimeToBotOptions(e),this.logMessageResponseExperience(e),this.firstEndUserMessageTimeWhenEndUserOnlyParticipant=void 0,this.messageResponseExperienceTimeWithBot={endUserMessageToBotTime:void 0,endUserMessageId:void 0}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES,{}))}logTimeToFirstMessage(e){if(e&&(E.isBotParticipant(e.sender)||E.isSystemParticipant(e.sender)))try{const t=this.conversationEntriesUtil.entryArray.slice(this.conversationEntriesStartIndexForTTFM).map(e=>({entryId:e.messageId,entryType:e.entryType})).filter(t=>t.entryType===e.entryType);if(t.length&&e.messageId===t[0].entryId){const t=this.getFirstWelcomeMessageInitiatorTime(),n=e.transcriptedTimestamp;if(a.isNumber(t))if(a.isNumber(n)){const r=a.util.getEpochTimesDiffInSeconds(t,n);a.LoggingUtil.logCurrentState(k,{method:"logTimeToFirstMessage",stateMessage:`[Time To First Message] Time To First Message from ${e.actorType} is ${r} seconds`,convEntryId:e.messageId})}else a.LoggingUtil.logError("Time To First Message",k,{method:"logTimeToFirstMessage",errMessage:`[Time To First Message] Unable to calculate Time To First Message from ${e.actorType} - Expected a valid numerical first welcome message time, instead received: ${e.transcriptedTimestamp}`,convEntryId:e.messageId});else a.LoggingUtil.logError("Time To First Message",k,{method:"logTimeToFirstMessage",errMessage:`[Time To First Message] Unable to calculate Time To First Message from ${e.actorType} - Expected a valid numerical first welcome message initiator time, instead received: ${t}`,convEntryId:e.messageId})}}catch(t){a.LoggingUtil.logError(t,k,{method:"logTimeToFirstMessage",errMessage:`[Time To First Message] Something went wrong while calculating Time To First Message from ${e.actorType}`,convEntryId:e.messageId})}}logTimeToBotOptions(e){if(e&&e.isChoices&&E.isBotParticipant(e.sender))try{const t=this.conversationEntriesUtil.entryArray.slice(this.conversationEntriesStartIndexForTTFM).map(e=>({entryId:e.messageId,entryType:e.entryType,messageType:e.messageType})).filter(t=>t.messageType===e.messageType);if(t.length&&e.messageId===t[0].entryId){const t=this.conversationEntriesUtil.getEntryIndex(e.messageId),n=t?t-1:-1,r=n<0||E.isBotParticipant(this.conversationEntries[n])?this.getFirstWelcomeMessageInitiatorTime():this.conversationEntries[n].transcriptedTimestamp,s=e.transcriptedTimestamp;if(a.isNumber(r))if(a.isNumber(s)){const t=a.util.getEpochTimesDiffInSeconds(r,s);a.LoggingUtil.logCurrentState(k,{method:"logTimeToBotOptions",stateMessage:`[Time To Bot Options] Time To Bot Options from ${e.actorType} is ${t} seconds`,convEntryId:e.messageId})}else a.LoggingUtil.logError("Time To Bot Options",k,{method:"logTimeToBotOptions",errMessage:`[Time To Bot Options] Unable to calculate Time To Bot Options from ${e.actorType} - Expected a valid numerical first choices message time, instead received: ${e.transcriptedTimestamp}`,convEntryId:e.messageId});else a.LoggingUtil.logError("Time To Bot Options",k,{method:"logTimeToBotOptions",errMessage:`[Time To Bot Options] Unable to calculate Time To Bot Options from ${e.actorType} - Expected a valid numerical first choices message initiator time, instead received: ${r}`,convEntryId:e.messageId})}}catch(t){a.LoggingUtil.logError(t,k,{method:"logTimeToBotOptions",errMessage:`[Time To Bot Options] Something went wrong while calculating Time To Bot Options from ${e.actorType}`,convEntryId:e.messageId})}}getFirstWelcomeMessageInitiatorTime(){return this.isPrechatEnabled()?this.isSessionPrechatEnabled()?this.sessionPrechatHasVisibleFields()||this.hasTermsAndConditions()?v.getItemInWebStorageByKey(f.STORAGE_KEYS.PRECHAT_SUBMIT_TIME):0===this.conversationEntriesStartIndexForTTFM?v.getItemInWebStorageByKey(f.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME):this.lastInAppServiceErrorTime:this.prechatHasVisibleFields()||this.hasTermsAndConditions()?0===this.conversationEntriesStartIndexForTTFM?v.getItemInWebStorageByKey(f.STORAGE_KEYS.PRECHAT_SUBMIT_TIME):this.firstEndUserMessageTimeWhenEndUserOnlyParticipant:0===this.conversationEntriesStartIndexForTTFM?v.getItemInWebStorageByKey(f.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME):this.firstEndUserMessageTimeWhenEndUserOnlyParticipant:0===this.conversationEntriesStartIndexForTTFM?v.getItemInWebStorageByKey(f.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME):this.firstEndUserMessageTimeWhenEndUserOnlyParticipant}updateEntriesStartIndexForTimeToFirstMessage(e){const t=this.conversationEntriesUtil.getEntryIndex(e);t&&(this.conversationEntriesStartIndexForTTFM=t+1)}isEndUserReplyToABot(e){return e.isMessageOutbound&&E.isBotParticipantPresent(this.conversationParticipants)&&e.content.inReplyToMessageId}logMessageResponseExperience(e){if(e&&E.isBotParticipant(e.sender)&&this.messageResponseExperienceTimeWithBot.endUserMessageId&&this.messageResponseExperienceTimeWithBot.endUserMessageToBotTime&&E.isEndUserParticipant(this.conversationEntries[this.conversationEntriesUtil.getEntryIndex(e.messageId)-1].sender))try{const t=this.messageResponseExperienceTimeWithBot.endUserMessageToBotTime,n=e.transcriptedTimestamp;if(a.isNumber(t))if(a.isNumber(n)){const r=a.util.getEpochTimesDiffInSeconds(t,n);a.LoggingUtil.logCurrentState(k,{method:"logMessageResponseExperience",stateMessage:`[Message Response Experience] Message Response Experience from ${e.actorType} to messageId: ${this.messageResponseExperienceTimeWithBot.endUserMessageId} is ${r} seconds`,convEntryId:e.messageId})}else a.LoggingUtil.logError("Message Response Experience",k,{method:"logMessageResponseExperience",errMessage:`[Message Response Experience] Unable to calculate Message Response Experience from ${e.actorType} to messageId: ${this.messageResponseExperienceTimeWithBot.endUserMessageId} - Expected a valid numerical Bot message reply time, instead received: ${n}`,convEntryId:e.messageId});else a.LoggingUtil.logError("Message Response Experience",k,{method:"logMessageResponseExperience",errMessage:`[Message Response Experience] Unable to calculate Message Response Experience from ${e.actorType} to messageId: ${this.messageResponseExperienceTimeWithBot.endUserMessageId} - Expected a valid numerical end-user messsage to Bot time, instead received: ${t}`,convEntryId:e.messageId})}catch(t){a.LoggingUtil.logError(t,k,{method:"logMessageResponseExperience",errMessage:`[Message Response Experience] Something went wrong while calculating Message Response Experience from ${e.actorType} to messageId: ${this.messageResponseExperienceTimeWithBot.endUserMessageId}`,convEntryId:e.messageId})}}handleParticipantChangedServerSentEvent(e){try{const t=A.default.parseServerSentEventData(e),n=m.createConversationEntryFactory(t);e&&e.lastEventId&&h.setLastEventId(e.lastEventId);const r={isServerSentEntry:!0};if(!n)return;if(this.renderParticipantChanged(Object.assign(n,r)),this.conversationId===m.getConversationIdentifier(t)){const e=n.participantEntries;if(!e.length)throw new Error("Invalid `entries` in ParticipantChanged event.");if(E.isSupervisorParticipant(e[0].participant))return;this.changeParticipants(e),n.messageType===f.ParticipantChangedOperations.ADD?(this.onParticipantJoined(n),this.isTransferring&&(this.isTransferring=!1,this.onTransferRoutingSuccessful())):n.messageType===f.ParticipantChangedOperations.REMOVE&&(this.onParticipantLeft(),this.handleParticipantLeftTypingIndicator(n.content)),a.util.dispatchEventToHost(f.HOST_EVENT.ON_EMBEDDED_MESSAGING_CONVERSATION_PARTICIPANT_CHANGED,t),this.toggleUserInputOnParticipantChanged()}}catch(e){a.error(`Error thrown while handling conversation participant changed server sent event in conversation ${this.conversationId}: ${e}`)}}processParticipantMetadata(e){try{const t=E.isBotParticipantPresent(this.conversationParticipants)?E.getBotParticipants(this.conversationParticipants)[0].getSubject():null;e.content.entries.some(e=>e.participant.subject===t)&&l.dispatchMessagingEvent(l.MESSAGING_EVENT.PARTICIPANT_JOINED,{options:this.handleBotParticipantMetadata(e),silentMode:!0})}catch(e){a.error(`Error thrown while processing historical participant metadata in conversation ${this.conversationId}: ${e}`)}}handleRoutingResultServerSentEvent(e){try{const t=A.default.parseServerSentEventData(e);e&&e.lastEventId&&h.setLastEventId(e.lastEventId);const n=m.createConversationEntryFactory(t),r={isServerSentEntry:!0};if(!n)return;if(this.conversationId===m.getConversationIdentifier(t)){if(this.renderRoutingResult(Object.assign(n,r)),n.messageType===f.RoutingTypes.INITIAL)switch(n.content.failureType){case f.RoutingFailureTypes.NO_ERROR:case f.RoutingFailureTypes.SUBMISSION_ERROR:case f.RoutingFailureTypes.ROUTING_ERROR:case f.RoutingFailureTypes.UNKNOWN_ERROR:break;default:a.warning(`Unrecognized initial routing failure type: ${n.content.failureType}`)}else if(n.messageType===f.RoutingTypes.TRANSFER)switch(n.content.failureType){case f.RoutingFailureTypes.NO_ERROR:this.isTransferring=!0,this.onTransferRoutingInitiated();break;case f.RoutingFailureTypes.SUBMISSION_ERROR:case f.RoutingFailureTypes.ROUTING_ERROR:case f.RoutingFailureTypes.UNKNOWN_ERROR:case f.RoutingFailureTypes.CANCELLED:this.isTransferring=!1,this.onTransferRoutingFailure();break;default:a.warning(`Unrecognized transfer routing failure type: ${n.content.failureType}`)}else a.warning(`Unrecognized routing type: ${n.messageType}`);a.util.dispatchEventToHost(f.HOST_EVENT.ON_EMBEDDED_MESSAGING_CONVERSATION_ROUTED,t)}}catch(e){a.error(`Error thrown while handling conversation routing result server sent event in conversation ${this.conversationId}: ${e}`)}}handleCloseConversationServerSentEvent(e){try{const t=A.default.parseServerSentEventData(e);e&&e.lastEventId&&h.setLastEventId(e.lastEventId),this.conversationId===m.getConversationIdentifier(t)&&(this.displaySecureForm=!1,this.secureForm={},v.clearWebStorage(),this.showClosedConversationState(t.conversationEntry&&t.conversationEntry.transcriptedTimestamp?t.conversationEntry.transcriptedTimestamp:Date.now()),a.util.dispatchEventToHost(f.HOST_EVENT.ON_EMBEDDED_MESSAGING_CONVERSATION_CLOSED,t))}catch(e){a.error(`Error thrown while handling conversation closed server sent event in conversation ${this.conversationId}: ${e}`)}}handlePingServerSentEvent(){this.SseStatus===f.SseStatus.BLOCKED_SSE&&a.LoggingUtil.logCurrentState(k,{method:"handlePingServerSentEvent",stateMessage:`Ping received from server (SSE traffic restored). SSE had been blocked since ${this.sseBlockedTS}`}),this.sseStatus=f.SseStatus.OPENED_SSE,this.sseBlockedTS=void 0,this.pingTimer.reset(Date.now())}showClosedConversationState(e){if("number"!=typeof e)throw new Error(`Expected a timestamp of type number, instead received: ${e}.`);this.conversationEndTime=new Date(e),this.dispatchConversationStatusChangeEvent(f.ConversationStatus.CLOSED_CONVERSATION)}updateTitleNotification(e){if(e.newMessages&&"hidden"===document.visibilityState){const t={"{0}":e.senderDisplayName},n=[a.util.replacePlaceholdersInString(y.getLabel("EmbeddedMessagingConversationState","TitleNotificationSenderDisplayName"),t)];a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_UPDATE_TITLE_NOTIFICATION,JSON.stringify(n))}else e.isMessageAreaEndOfScroll&&a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_UPDATE_TITLE_NOTIFICATION)}handleMessageResend(e){const t=e.conversationEntry;switch(this.updateWebStorageFailedMessageEntries(e.conversationEntry.messageId,B),this.conversationEntriesUtil.updateEntry(t.messageId,{resendInProgress:!0}),t.formatType){case f.FormatTypes.ATTACHMENTS:t.attachedFile&&(a.createConversationEntryUtil.createStaticContentAttachmentsEntry(t.messageId,t.attachedFile),h.sendFileAttachment(this.conversationId,t.attachedFile,t.messageId,null,null,e.isNewMessagingSession,e.prechatFields).then(()=>{a.LoggingUtil.logCurrentState(k,{method:"handleMessageResend",stateMessage:`Sucessfully resent message of type ${f.FormatTypes.ATTACHMENTS}.`,convEntryId:t.messageId})}).catch(n=>{this.handleInAppServiceError({detail:{error:n,entryId:t.messageId,attachedFile:t.attachedFile}}),e.resendButtonElement&&a.util.waitForFrame(()=>{e.resendButtonElement.focus()})}));break;case f.FormatTypes.SELECTIONS:a.createConversationEntryUtil.createChoicesResponseSelectionsEntry(t.choicesResponseSelection,t.messageId,t.content.inReplyToMessageId),h.sendChoicesResponseMessage(this.conversationId,t.choicesResponseSelection.optionIdentifier,t.messageId,t.content.inReplyToMessageId,e.isNewMessagingSession,e.prechatFields).then(()=>{a.LoggingUtil.logCurrentState(k,{method:"handleMessageResend",stateMessage:`Sucessfully resent message of type ${f.FormatTypes.SELECTIONS}.`,convEntryId:t.messageId})}).catch(n=>{this.handleInAppServiceError({detail:{error:n,entryId:t.messageId}}),e.resendButtonElement&&a.util.waitForFrame(()=>{e.resendButtonElement.focus()})});break;case f.FormatTypes.TEXT:a.createConversationEntryUtil.createStaticContentTextEntry(t.staticTextContent,t.messageId,t.inReplyToMessageId),h.sendTextMessage(this.conversationId,t.staticTextContent,t.messageId,t.inReplyToMessageId,e.isNewMessagingSession,e.prechatFields).then(()=>{a.LoggingUtil.logCurrentState(k,{method:"handleMessageResend",stateMessage:`Sucessfully resent message of type ${f.FormatTypes.TEXT}.`,convEntryId:t.messageId})}).catch(n=>{this.handleInAppServiceError({detail:{error:n,entryId:t.messageId}}),e.resendButtonElement&&a.util.waitForFrame(()=>{e.resendButtonElement.focus()})});break;default:throw new Error(`Unrecognized message format type: ${t.formatType}`)}this.setFocusOnLastFocusableElement()}handleMenuItemSelection(e){let t,n;e&&e.selectedOption&&(n=e.selectedOption,this.conversationId&&n.optionIdentifier&&(t=a.util.uuid(),h.sendChoicesResponseMessage(this.conversationId,n.optionIdentifier,t).catch(e=>{this.dispatchEvent(new CustomEvent(a.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{err:e,entryId:t},bubbles:!0,composed:!0}))}),a.createConversationEntryUtil.createChoicesResponseSelectionsEntry(f.createTitleOptionItem(n),t)))}handleFormMessageButtonClick(e){const t={};e&&e.formTitle&&e.formSections&&e.formMessageButtonId&&(t.formTitle=e.formTitle,t.formSections=e.formSections,t.formMessageButtonId=e.formMessageButtonId,this.secureForm=t,this.displaySecureForm=!0,a.LoggingUtil.logCurrentState(k,{method:"handleFormMessageButtonClick",stateMessage:"Secure form displayed."}))}handleSecureFormSubmit(e){if(e&&e.inputValues){const t=a.util.uuid();a.createConversationEntryUtil.createFormResponsePendingMessageEntry(t,this.secureForm.formMessageButtonId),h.sendFormResponseMessage(this.conversationId,e.inputValues,t,this.secureForm.formMessageButtonId).catch(e=>{const n=this.conversationEntriesUtil.getEntry(t),r={errorType:"ApiResultErrorCode",errorMessage:e.statusText,errorCode:e.status};this.dispatchEvent(new CustomEvent(a.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{err:e,entryId:t},bubbles:!0,composed:!0})),n?this.conversationEntriesUtil.updateEntry(t,{formResponseResult:{resultType:f.FormResultType.FORM_ERROR_RESULT,errors:[r]}}):a.createConversationEntryUtil.createFormResponseErrorMessageEntry([r],t,this.secureForm.formMessageButtonId)}),this.displaySecureForm=!1;const n=this.conversationEntriesUtil.getEntry(this.secureForm.formMessageButtonId);n&&n.isForm&&(n.formState=f.FormMessageState.INACTIVE,n.isSelectedOrRepliedTo=!0,this.conversationEntriesUtil.updateEntry(this.secureForm.formMessageButtonId,{isSelectedOrRepliedTo:!0})),this.secureForm={}}}handleFormResponseResult(e){let t;e.records&&e.records.length>0&&e.records[0].resultMessage?t=e.records[0].resultMessage+" Reference record ID: "+e.records[0].recordReferenceId:e.errors&&e.errors.length>0&&e.errors[0].errorMessage&&(t=e.errors[0].errorMessage),a.LoggingUtil.logCurrentState(k,{method:"handleFormResponseResult",stateMessage:t})}handleDialogCloseConfirmation(){this.displaySecureForm&&(this.displaySecureForm=!1,l.dispatchMessagingEvent(l.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!1}),l.dispatchMessagingEvent(l.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:y.getLabel("EmbeddedMessagingChatHeader","DefaultHeaderText")}),a.LoggingUtil.logCurrentState(k,{method:"handleDialogCloseConfirmation",stateMessage:"Confirmation dialog closed."}))}getFailedMessagesIfExists(){return this.configuration.failedMessages?a.util.unwrapProxy(this.configuration.failedMessages):v.getItemInWebStorageByKey(f.STORAGE_KEYS.FAILED_OUTBOUND_MESSAGE_ENTRIES,!1)?JSON.parse(v.getItemInWebStorageByKey(f.STORAGE_KEYS.FAILED_OUTBOUND_MESSAGE_ENTRIES,!1)):{}}updateWebStorageFailedMessageEntries(e,t){let n=!1;if(e&&"string"==typeof e&&t&&"string"==typeof t){switch(t.toUpperCase()){case F:this.failedMessages[e]=this.conversationEntriesUtil.getEntry(e),n=!0;break;case B:this.failedMessages&&this.failedMessages.hasOwnProperty(e)&&(delete this.failedMessages[e],n=!0);break;default:a.error(`Error processing Embedded Messaging Failed Messages: Expected operations ${F} or ${B} but received ${t.toUpperCase()}.`)}n&&(v.setItemInWebStorage(f.STORAGE_KEYS.FAILED_OUTBOUND_MESSAGE_ENTRIES,this.failedMessages,!1),a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_UPDATE_WEBSTORAGE_FAILEDMESSAGES_EVENT_NAME,JSON.parse(JSON.stringify(this.failedMessages))),n=!1)}}restoreWebStorageFailedMessageEntries(){Object.keys(this.failedMessages).forEach(e=>{const t=this.failedMessages[e],n=C.default.createConversationEntry({conversationId:t._conversationId,messageId:t._messageId,content:t.abstractMessage?t.abstractMessage:t._content,messageType:t._messageType,entryType:t._entryType,sender:t._sender,actorName:t.senderDisplayName?t.senderDisplayName:t._sender.role,actorType:t._sender.role,transcriptedTimestamp:t._transcriptedTimestamp});if(this.addConversationEntry(n),this.conversationEntriesUtil.updateEntry(n._messageId,{hasSendFailed:!0}),this.conversationEntriesUtil.updateAcknowledgementForEntryGroup(n._messageId),n.formatType===f.FormatTypes.SELECTIONS){const e=n.content.inReplyToMessageId,t=this.conversationEntriesUtil.getEntry(e);t&&(t.isSelectedOrRepliedTo=!0)}})}toggleUserInputOnNewMessage(e){e.sender.role!==f.ParticipantRoles.ENDUSER&&e.sender.role!==f.ParticipantRoles.CHATBOT||a.getEnableUserInputForConversationWithBotFromConfig()||!E.isBotParticipantPresent(this.conversationParticipants)||(this.enableUserInputForConversationWithBot=e.actorType===f.ParticipantRoles.CHATBOT)}toggleUserInputOnParticipantChanged(){a.getEnableUserInputForConversationWithBotFromConfig()||(this.enableUserInputForConversationWithBot=!E.isBotParticipantPresent(this.conversationParticipants))}setNextOutboundMessageAsChoicesResponse(e){e.isChoices?this.querySelectInputFooter().setInputAsReplyToChoices(e.messageId):this.querySelectInputFooter().clearInputAsReplyToChoices()}handleConversationEntryMetadata(e){let t,n;if(e.content.inReplyToMessageId){const t=e.content.inReplyToMessageId;n=this.conversationEntriesUtil.getEntry(t),e.inReplyToMessageId=t,n&&(e.isStaticContentMessage||e.isChoicesResponse||e.isFormResponseResult)&&(n.isSelectedOrRepliedTo=!0,this.conversationEntriesUtil.updateEntry(t,{isSelectedOrRepliedTo:!0}),e.isFormResponseResult&&this.handleFormResponseResult(e.formResponseResult))}if(e.isChoicesResponse&&e.choicesResponseSelection&&e.choicesResponseSelection.optionIdentifier){if(n)n.isChoicesCarousel?t=n.choicesCarouselOptions.find(t=>t.interactionItems[0].optionIdentifier===e.choicesResponseSelection.optionIdentifier):n.isChoices&&(t=n.choices.find(t=>t.optionIdentifier===e.choicesResponseSelection.optionIdentifier));else{if(!(this.headerMenuOptions.length>0))return;t=this.headerMenuOptions.find(t=>t.optionIdentifier===e.choicesResponseSelection.optionIdentifier)}t&&Object.assign(e.choicesResponseSelection,f.createTitleOptionItem(t))}}renderAutoResponseInWebViewOverlay(e){this.webViewMetadata={},e.isWebViewAutoOverlay&&(this.webViewMetadata.title=f.getTitle(e.webViewTitle),this.webViewMetadata.templateURL=e.webViewURL,this.webViewMetadata.coreParameters=e.webViewParameters,this.webViewMetadata.pageParameters={},this.webViewMetadata.shouldRenderInline=e.isWebViewAutoOverlay,d.requestParametersFromAutoResponseAPI())}handleCreateConversationEntry(e){if(e&&e.detail){const t=C.default.createConversationEntry({conversationId:this.conversationId});Object.keys(e.detail).forEach(n=>{t[n]=e.detail[n]}),t.actorName=this.conversationParticipants.find(e=>e.getRole()===f.ParticipantRoles.ENDUSER).getDisplayName(),this.addConversationEntry(t)}}addConversationEntry(e){this.conversationEntriesUtil.addEntry(e)}updateExistingConversationEntry(e,t){this.conversationEntriesUtil.updateEntry(e.messageId,Object.assign({},t,{transcriptedTimestamp:e.transcriptedTimestamp,...e.content&&{content:e.content}}))}changeParticipants(e){for(const t of e){if(!t.operation||!t.participant)throw new Error("Invalid `operation` or `participant` in ParticipantChanged event.");if(!E.isSupervisorParticipant(t.participant)){const e=new M.default(t.participant.role,t.participant.subject,t.participant.appType,t.participant.displayName||t.participant.role);if(t.operation===f.ParticipantChangedOperations.ADD)this.addConversationParticipant(e);else{if(t.operation!==f.ParticipantChangedOperations.REMOVE)throw new Error("Unsupported `operation` type in ParticipantChanged event.");this.removeConversationParticipant(e)}}}}addConversationParticipants(e){if(!Array.isArray(e))throw new Error(`Expected participants to be an array, instead received: ${e}.`);e.forEach(e=>{if(!E.isSupervisorParticipant(e)){const t=new M.default(e.role,e.subject,e.appType,e.displayName||e.role);this.addConversationParticipant(t)}})}addConversationParticipant(e){this.conversationParticipants=[...this.conversationParticipants,e]}removeConversationParticipant(e){this.conversationParticipants=this.conversationParticipants.filter(t=>t.subject!==e.subject)}announceMessageToScreenReader(e,t){c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_UPDATE,{text:e,options:Object.assign(t,{forceAnnouncement:!0})})}onJWTExpired(){const e=y.getLabel("EmbeddedMessagingChatHeader","JWTExpiredAnnouncement");c.dispatchChatHeaderEvent(c.HEADER_EVENTS.JWT_EXPIRED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.JWT_EXPIRED,{}),this.announceMessageToScreenReader(e,{forceAnnouncement:!0,announceInIntervalsEnabled:!0,minTimeBetweenAnnouncements:6e4,context:"onJwtExpired"})}onParticipantJoined(e){const t=y.getLabel("EmbeddedMessagingChatHeader","AgentJoinAnnouncement");l.dispatchMessagingEvent(l.MESSAGING_EVENT.PARTICIPANT_JOINED,{label:e.actorName,options:this.handleBotParticipantMetadata(e),silentMode:!1}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.PARTICIPANT_JOINED,{}),this.announceMessageToScreenReader(t,{context:"onParticipantJoined"})}onParticipantLeft(){const e=y.getLabel("EmbeddedMessagingChatHeader","AgentLeaveAnnouncement");l.dispatchMessagingEvent(l.MESSAGING_EVENT.PARTICIPANT_LEFT,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.PARTICIPANT_LEFT,{}),this.announceMessageToScreenReader(e,{context:"onParticipantLeft"})}onReconnectInProgress(){const e=y.getLabel("EmbeddedMessagingChatHeader","ReconnectInProgressAssistiveText");l.dispatchMessagingEvent(l.MESSAGING_EVENT.RECONNECT_IN_PROGRESS,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS,{}),this.announceMessageToScreenReader(e,{announceInIntervalsEnabled:!0,minTimeBetweenAnnouncements:3e4,context:"onReconnectInProgress"})}onReconnectEnded(){l.dispatchMessagingEvent(l.MESSAGING_EVENT.RECONNECT_ENDED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.RECONNECT_ENDED,{})}onTransferRoutingInitiated(){const e=y.getLabel("EmbeddedMessagingChatHeader","TransferRequestSuccessHeaderAnnouncement");l.dispatchMessagingEvent(l.MESSAGING_EVENT.TRANSFER_INITIATED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.TRANSFER_INITIATED,{}),this.announceMessageToScreenReader(e,{announceInIntervalsEnabled:!0,minTimeBetweenAnnouncements:6e4,context:"onTransferRoutingInitiated"})}onTransferRoutingFailure(){l.dispatchMessagingEvent(l.MESSAGING_EVENT.TRANSFER_COMPLETED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.TRANSFER_COMPLETED,{})}onTransferRoutingSuccessful(){l.dispatchMessagingEvent(l.MESSAGING_EVENT.TRANSFER_COMPLETED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.TRANSFER_COMPLETED,{})}onShowWebViewOverlay(){l.dispatchMessagingEvent(l.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:this.webViewMetadata.title||y.getLabel("EmbeddedMessagingPostchat","PostchatHeaderText")}),this.displayWebViewOverlay=!0,a.LoggingUtil.logCurrentState(k,{method:"onShowWebViewOverlay",stateMessage:"Web view auto-overlay shown."})}onHideWebViewOverlay(){l.dispatchMessagingEvent(l.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:y.getLabel("EmbeddedMessagingChatHeader","DefaultHeaderText")}),this.displayWebViewOverlay=!1,this.displayConfirmationDialogInOverlay=!1,v.removeItemInWebStorage(f.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED),this.webViewMetadata={},a.LoggingUtil.logCurrentState(k,{method:"onHideWebViewOverlay",stateMessage:"Web view auto-overlay hidden."})}handleToggleOverlay(e){e&&e.detail&&(a.isBoolean(e.detail.displayOverlay)||a.isBoolean(e.detail.hideConfirmtaionDialog))&&(e.detail.displayOverlay?this.onShowWebViewOverlay():e.detail.hideConfirmtaionDialog?this.displayConfirmationDialogInOverlay=!1:this.onHideWebViewOverlay())}isPrechatEnabled(){return Boolean(this.configuration.forms.length)}prechatHasVisibleFields(){return this.configuration.forms[0].formFields.length>0}isSessionPrechatEnabled(){return(this.configuration.forms||[]).some(e=>e.formType===f.FormTypes.PRE_CHAT&&e.displayContext===f.FormDisplayContext.SESSION)}sessionPrechatHasVisibleFields(){return this.isSessionPrechatEnabled()&&this.configuration.forms[0].formFields.length>0}sessionPrechatHasHiddenFields(){return this.isSessionPrechatEnabled()&&this.configuration.forms[0].hiddenFormFields.length>0}hasTermsAndConditions(){const e=this.configuration.termsAndConditions||{};return Boolean(e.isTermsAndConditionsEnabled)}showSessionPrechatForm(){l.dispatchMessagingEvent(l.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!0}),this.displaySessionPrechatForm=!0,a.LoggingUtil.logCurrentState(k,{method:"showSessionPrechatForm",stateMessage:"Session prechat state shown."})}hideSessionPrechatForm(){l.dispatchMessagingEvent(l.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!1}),this.displaySessionPrechatForm=!1,a.LoggingUtil.logCurrentState(k,{method:"hideSessionPrechatForm",stateMessage:"Session prechat state hidden."})}handleSessionPrechatSubmit(e){this.visiblePrechatFields=e&&e.detail&&e.detail.value,this.hideSessionPrechatForm(),a.util.dispatchEventToHost(f.HOST_EVENT.ON_EMBEDDED_MESSAGING_PRECHAT_SUBMITTED_EVENT_NAME,{[f.PRECHAT_DISPLAY_EVENT_DETAIL_NAME]:f.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE.SESSION}),a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.APP_REQUEST_HIDDEN_PRECHAT_FIELDS_EVENT_NAME)}handleReceiveHiddenPrechatFields(e){const t=Object.assign(this.visiblePrechatFields,e);a.LoggingUtil.logCurrentState(k,{method:"handleReceiveHiddenPrechatFields",stateMessage:`Session prechat state submitted with routing attributes ${JSON.stringify(Object.keys(t))}.`}),this.handleMissingSessionMessageResend(t)}handleMissingSessionMessageResend(e){Object.values(this.failedMessages).forEach(t=>{t&&t.errorStatus===f.HTTP_ERROR_CODE_MISSING_SESSION&&this.handleMessageResend({conversationEntry:t,isNewMessagingSession:!0,prechatFields:e})})}handleChatHeaderBackButtonClick(){this.displayWebViewOverlay?this.displayConfirmationDialogInOverlay=!0:this.displaySessionPrechatForm?this.hideSessionPrechatForm():this.displaySecureForm&&c.dispatchFormEvent(c.FORM_EVENTS.SHOW_CLOSE_CONFIRMATION_DIALOG,{})}handleBotParticipantMetadata(e){const t=[];return e.content&&e.content.entries&&Array.from(e.content.entries).forEach(e=>{const n=e.participant?e.participant.role:null,r=e.operation,s=e.menuMetadata?e.menuMetadata.menuOptions:null;n===f.ParticipantRoles.CHATBOT&&r===f.ParticipantChangedOperations.ADD&&s&&0!==s.length&&t.push(...s)}),this.headerMenuOptions=t,t}handleConversationLogKeyDown(e){const t=this.querySelectConversationLog();t&&e&&e.key&&(e.key===a.KEY_CODES.UP?(e.preventDefault(),t.scrollUp()):e.key===a.KEY_CODES.DOWN&&(e.preventDefault(),t.scrollDown()))}}t.registerDecorators(G,{publicProps:{configuration:{config:0},publicConfiguration:{config:0},prechatConstructor:{config:0},conversationData:{config:0},conversationStatus:{config:0},isMinimized:{config:0},lastInAppServiceErrorTime:{config:1}},publicMethods:["getSseStatus","closeConversation","reconnectToEventSource","handleConnectionInterrupted","setPingTimer","dispatchConversationStatusChangeEvent","querySelectConversationLog","handlePingServerSentEvent"],track:{conversationEntries:1,conversationParticipants:1,currentTypingParticipants:1,failedMessages:1},fields:["conversationEntriesUtil","conversationId","isAnotherParticipantTyping","isJwtExpired","isTransferring","showGetConversationEntriesSpinner","hasLoadedAllConversationEntries","sseStatus","sseBlockedTS","webViewMetadata","displayWebViewOverlay","displayConfirmationDialogInOverlay","displaySessionPrechatForm","displaySecureForm","visiblePrechatFields","headerMenuOptions","isReconnectInProgress","conversationEntriesStartIndexForTTFM","firstEndUserMessageTimeWhenEndUserOnlyParticipant","pingTimer","messageResponseExperienceTimeWithBot","_lastInAppServiceErrorTime","enableUserInputForConversationWithBot","handleMessageEvents","renderConversationMessage","renderParticipantChanged","renderRoutingResult","handleReceiveParametersFromAutoResponseAPI"]});const j=t.registerComponent(G,{tmpl:P,sel:"embeddedMessaging-conversation-state",apiVersion:62});e.default=j,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/conversationState', ['embeddedMessaging/conversationState'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/loadingAnimation",["exports","lwc","embeddedMessaging/common","embeddedMessaging/brandingUtils"],function(a,e,i,n){var s=[function(a,e,i){var n=a?"["+a+"]":"",s=a?"["+a+"-host]":"",t=a?"-"+a:"";return(e?":host {":s+" {")+"position: relative;}"+(e?":host.showLoadingAnimation {":s+".showLoadingAnimation {")+"opacity: 1;display: block;visibility: visible;background-color: inherit;animation: appear"+t+" 0.5s linear;}"+(e?":host.hideLoadingAnimation {":s+".hideLoadingAnimation {")+"opacity: 0;display: none;animation: disappear"+t+" 0.5s linear;}@keyframes appear"+t+" {0% {opacity: 0;}100% {opacity: 1;}}@keyframes disappear"+t+" {0% {opacity: 1;}100% {opacity: 0;}}span.loadingBall"+n+" {font-size: 8px;text-align: center;margin: 3px;display: inline-block;width: 1em;height: 1em;border-radius: 50%;vertical-align: middle;}span.loadingBall.first"+n+" {animation: ballanimate"+t+" 2.25s infinite ease-in-out;}span.loadingBall.second"+n+" {animation: ballanimate-2"+t+" 2.25s infinite ease-in-out;}span.loadingBall.third"+n+" {animation: ballanimate-3"+t+" 2.25s infinite ease-in-out;}@keyframes ballanimate"+t+" {0% {transform: scale(1.0);}16% {transform: scale(1.5);}32% {transform: scale(1.0);}}@keyframes ballanimate-2"+t+" {32% {transform: scale(1.0);}48% {transform: scale(1.5);}64% {transform: scale(1.0);}}@keyframes ballanimate-3"+t+" {64% {transform: scale(1.0);}80% {transform: scale(1.5);}96% {transform: scale(1.0);}}"}];const t=e.parseFragment`<span class="loadingBall first${0}"${2}></span>`,l=e.parseFragment`<span class="loadingBall second${0}"${2}></span>`,o=e.parseFragment`<span class="loadingBall third${0}"${2}></span>`;function r(a,e,i,n){const{st:s}=a;return[s(t,1),s(l,3),s(o,5)]}var d=e.registerTemplate(r);r.stylesheets=[],r.stylesheetToken="lwc-2kir59ntf7a",r.legacyStylesheetToken="embeddedMessaging-loadingAnimation_loadingAnimation",s&&r.stylesheets.push.apply(r.stylesheets,s),e.freezeTemplate(r);class m extends e.LightningElement{constructor(...a){super(...a),this.loadingBallColorToken=void 0,this._shouldDisplay=void 0}get shouldDisplay(){return this._shouldDisplay}set shouldDisplay(a){i.validateBoolean(a),this._shouldDisplay=a,a?(this.template.host.classList.add("showLoadingAnimation"),this.template.host.classList.remove("hideLoadingAnimation")):(this.template.host.classList.remove("showLoadingAnimation"),this.template.host.classList.add("hideLoadingAnimation"))}connectedCallback(){this.applyStyling()}applyStyling(){try{if(i.isString(this.loadingBallColorToken.name)){const a=document.createElement("style"),e=n.getBrandingValue(this.loadingBallColorToken.name);this.template.host.appendChild(a),a.sheet.insertRule(`.loadingBall { background-color: var(${this.loadingBallColorToken.name}, ${e}); }`)}}catch(a){i.warning(a)}}}e.registerDecorators(m,{publicProps:{loadingBallColorToken:{config:0},shouldDisplay:{config:3}},fields:["_shouldDisplay"]});const p=e.registerComponent(m,{tmpl:d,sel:"embeddedMessaging-loading-animation",apiVersion:62});a.default=p,Object.defineProperty(a,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/loadingAnimation', ['embeddedMessaging/loadingAnimation'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatHeaderAnnouncement",["exports","lwc","embeddedmessaging/loadingAnimation","embeddedMessaging/brandingUtils"],function(e,n,t,i){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(t);var l=[function(e,n,t){var i=e?"["+e+"]":"",a=e?"-"+e:"";return(n?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;visibility: hidden;}p"+i+" {background-color: inherit;width: 100%;visibility: visible;padding: 12px;margin: 0;top: 0;right: 0;overflow-y: scroll;word-wrap: break-word;box-sizing: border-box;display: inline-table;z-index: inherit;}.text"+i+" {animation: slide"+a+" 2s;}.loadingAnimation"+i+" {animation: slide"+a+" 1.85s;}.temporary"+i+" {visibility: hidden;animation: temporary"+a+" 2s;}.announcement"+i+" {visibility: hidden;animation: announcement"+a+" 6.5s;}@keyframes slide"+a+" {0% {opacity: 0;transform: translateY(-50px);}85% {transform: translateY(0);}100% {opacity: 1;}}@keyframes temporary"+a+" {0% {visibility: visible;opacity: 1;}100% {opacity: 0;}}@keyframes announcement"+a+" {0% {visibility: visible;opacity: 0;transform: translateY(-50px);}15% {transform: translateY(0);}18% {opacity: 1;}90% {opacity: 1;}100% {opacity: 0;}}"}];const s=n.parseFragment`<p class="text${0}"${"a0:title"}${2}>${"t1"}</p>`,r=n.parseFragment`<p class="text temporary${0}"${"a0:title"}${2}>${"t1"}</p>`,d=n.parseFragment`<p class="text announcement${0}"${"a0:title"}${2}>${"t1"}</p>`,c={loadingAnimation:!0};function m(e,n,t,i){const{c:a,d:l,sp:m,st:p}=e;return[a("embeddedmessaging-loading-animation",o.default,{classMap:c,props:{loadingBallColorToken:n.loadingBallColorToken,shouldDisplay:n.loading},key:0}),n.text?p(s,2,[m(0,{attrs:{title:n.text}},null),m(1,null,l(n.text))]):null,n.temporary?p(r,4,[m(0,{attrs:{title:n.temporary}},null),m(1,null,l(n.temporary))]):null,n.announcement?p(d,6,[m(0,{attrs:{title:n.announcement}},null),m(1,null,l(n.announcement))]):null]}var p=n.registerTemplate(m);m.stylesheets=[],m.stylesheetToken="lwc-7k5g5qoesmg",m.legacyStylesheetToken="embeddedMessaging-chatHeaderAnnouncement_chatHeaderAnnouncement",l&&m.stylesheets.push.apply(m.stylesheets,l),n.freezeTemplate(m);class u extends n.LightningElement{constructor(...e){super(...e),this.loadingBallColorToken=i.BRANDING_TOKENS.HEADER_TEXT_COLOR,this.text=void 0,this.temporary=void 0,this.announcement=void 0,this.loading=!1,this.clearAnnouncement=void 0}renderedCallback(){const e=this.template.querySelector(".text.temporary");e&&e.addEventListener("animationend",this.clearAnnouncement)}}n.registerDecorators(u,{publicProps:{text:{config:0},temporary:{config:0},announcement:{config:0},loading:{config:0},clearAnnouncement:{config:0}},fields:["loadingBallColorToken"]});const g=n.registerComponent(u,{tmpl:p,sel:"embeddedMessaging-chat-header-announcement",apiVersion:62});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/chatHeaderAnnouncement', ['embeddedMessaging/chatHeaderAnnouncement'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatHeader",["exports","lwc","lightning/icon","embeddedmessaging/chatHeaderAnnouncement","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/brandingUtils","embeddedMessaging/labelUtils","lightningsnapin/eventStore"],function(e,t,n,s,o,i,a,l,r,u){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=d(n),h=d(s);var m=[function(e,t,n){var s=e?"["+e+"]":"";return[t?":host {":(e?"["+e+"-host]":"")+" {","flex: 0 1 auto;height: 50px;min-height: 50px;color: var(--headerTextColor, var(--slds-g-color-neutral-base-100, #FFFFFF));background-color: var(--headerColor, var(--lwc-brandContrast, #1A1B1E));}.chatHeader",s,", .headerAnnouncement",s," {width: 100%;max-width: 100%;background-color: inherit;transition: background-color 1s ease;}.chatHeader",s," {display: flex;align-items: center;box-sizing: border-box;position: relative;height: 100%;padding-left: 0.55rem;padding-right: 0.55rem;}.headerAnnouncement",s," {z-index: 6;position: absolute;right: 0;font-size: 0.75em;height: fit-content;text-align: center;}img",s," {margin-left: 10px;max-height: 36px;max-width: 36px;}",n?"":'[dir="rtl"]'," ",n?":dir(rtl)":""," img",s," {margin-right: 10px;margin-left: 0;}h2",s," {margin: 0.1rem 0.55rem 0 0.55rem;align-self: center;flex-grow: 1;text-align: left;vertical-align: middle;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-weight: normal;letter-spacing: 0.025em;font-size: var(--baseFontSize, medium);color: var(--headerTextColor, var(--slds-g-color-neutral-base-100, #FFFFFF));}",n?"":'[dir="rtl"]'," ",n?":dir(rtl)":""," h2",s," {text-align: right;}.headerButton",s," {height: 32px;min-height: 32px;width: 32px;min-width: 32px;cursor: default;}.headerButton:focus",s," {box-shadow: 0 0 3px var(--secondaryColor, #005290);outline: 0;}.headerButton:hover",s,':before {content: " ";position: absolute;width: 32px;height: 32px;background-color: var(--slds-g-color-neutral-base-100, #FFFFFF);opacity: .2;border-radius: 4px;}.slds-button',s,"+.slds-button",s," {margin-left: 0;}.minimizeButton",s," > .slds-icon_container",s," {padding-bottom: 4px;}.optionsMenu",s," {width: 100vw;}.optionsMenu",s," > .slds-dropdown__list",s," {max-height: 20rem;overflow-y: auto;}.chatOverlay",s," {display: none;width: 100vw;height: 100vh;background: rgba(147, 147, 147, .5);position: fixed;left: 0;top: 55px;right: 0;bottom: 0;z-index: 99;}.slds-dropdown-trigger",s,">[class*=slds-button_icon]",s,"~.slds-dropdown_right[class*=slds-nubbin]",s," {right: -0.55rem;}.slds-dropdown-trigger",s,">[class*=slds-button_icon]",s,"~.slds-dropdown_right[class~=backButtonPresent]",s," {right: -2.55rem;}.slds-dropdown-trigger",s,">[class*=slds-button_icon]",s,"~.slds-dropdown_left[class*=slds-nubbin]",s," {left: -0.55rem;}.slds-dropdown-trigger",s,">[class*=slds-button_icon]",s,"~.slds-dropdown_left[class~=backButtonPresent]",s," {left: -2.55rem;}.backButtonPresent.slds-nubbin--top-left",s,":after, .backButtonPresent.slds-nubbin--top-left",s,":before,.backButtonPresent.slds-nubbin_top-left-corner",s,":after, .backButtonPresent.slds-nubbin_top-left-corner",s,":before,.backButtonPresent.slds-nubbin_top-left",s,":after, .backButtonPresent.slds-nubbin_top-left",s,":before {left: 3.5rem;}.backButtonPresent.slds-nubbin--top-right",s,":after, .backButtonPresent.slds-nubbin--top-right",s,":before,.backButtonPresent.slds-nubbin_top-right-corner",s,":after, .backButtonPresent.slds-nubbin_top-right-corner",s,":before,.backButtonPresent.slds-nubbin_top-right",s,":after, .backButtonPresent.slds-nubbin_top-right",s,":before {right: 3.5rem;}.slds-dropdown",s," {max-width: 30rem;}.slds-dropdown__item",s," > .closeConversationOption",s,",.slds-dropdown__item",s," > .requestTranscriptOption",s,",.slds-dropdown__item",s," > .chatbotMenuOption",s," {position: relative;z-index: 100;padding: 0.75rem 1rem;background-color: #ffffff;border: 0;display: flex;width: 100%;font-size: 0.8rem;}.slds-dropdown__item",s," > .closeConversationOption:focus",s,",.slds-dropdown__item",s," > .closeConversationOption:hover",s,",.slds-dropdown__item",s," > .requestTranscriptOption:focus",s,",.slds-dropdown__item",s," > .requestTranscriptOption:hover",s,",.slds-dropdown__item",s," > .chatbotMenuOption:focus",s,",.slds-dropdown__item",s," > .chatbotMenuOption:hover",s," {outline: 0;text-decoration: none;background-color: var(--slds-g-color-neutral-base-95, #F3F3F3);}.slds-dropdown__list",s," > .slds-dropdown__item:not(:first-child)",s," {border-top: #e2e2e2 1px solid;}.slds-dropdown__item",s," .slds-truncate:not(.closeConversation)",s," {color: var(--secondaryColor, #005290);}.closeConversation",s," {color: var(--slds-g-color-error-base-40, #BA0517);}.slds-dropdown__item",s,' > .closeConversationOption[aria-disabled="true"]',s,"{outline: 0;text-decoration: none;background-color: #c9c9c9;cursor: not-allowed;}"].join("")}];const g=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,p=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,b=t.parseFragment`<div class="chatOverlay${0}"${2}></div>`,E=t.parseFragment`<li class="slds-dropdown__item${0}" role="presentation"${2}><button role="menuitem" class="chatbotMenuOption${0}" tabindex="-1"${"a1:value"}${"a1:id"}${2}><span class="slds-truncate${0}"${"a2:title"}${"a2:value"}${"a2:id"}${2}>${"t3"}</span></button></li>`,_=t.parseFragment`<li class="slds-dropdown__item${0}" role="presentation"${2}><button role="menuitem" class="requestTranscriptOption${0}" tabindex="-1"${"a1:id"}${2}><span class="slds-truncate${0}"${"a2:title"}${"a2:id"}${2}>${"t3"}</span></button></li>`,M=t.parseFragment`<li class="slds-dropdown__item${0}" role="presentation"${2}><button role="menuitem" class="closeConversationOption${0}" tabindex="-1"${"a1:aria-disabled"}${"a1:id"}${2}><span class="closeConversation slds-truncate${0}"${"a2:title"}${"a2:id"}${2}>${"t3"}</span></button></li>`,B=t.parseFragment`<img${"a0:src"} alt=""${3}>`,C=t.parseFragment`<h2${"c0"}${"a0:title"} aria-live="polite"${2}>${"t1"}</h2>`,v=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,S=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,T={classMap:{chatHeader:!0},key:0},O={headerButton:!0,backButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-bare":!0,"slds-button_icon-inverse":!0},A={headerButton:!0,menuButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-bare":!0,"slds-button_icon-inverse":!0},y={classMap:{"slds-dropdown__list":!0},attrs:{role:"menu"},key:13},f={headerButton:!0,minimizeButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-bare":!0,"slds-button_icon-inverse":!0},k={headerButton:!0,closeButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-bare":!0,"slds-button_icon-inverse":!0},x={headerAnnouncement:!0};function N(e,t,n,s){const{gid:o,b:i,d:a,sp:l,st:r,c:u,h:d,ncls:m,k:N,i:I,f:D}=e,{_m0:w,_m1:F,_m2:L,_m3:H,_m4:R,_m5:q,_m6:$,_m7:G,_m8:P,_m9:z,_m10:K,_m11:V,_m12:U,_m13:Y,_m14:J,_m15:W,_m16:j,_m17:X,_m18:Q,_m19:Z,_m20:ee,_m21:te,_m22:ne}=s;return[d("header",T,[t.shouldDisplayBackButton?d("button",{classMap:O,attrs:{title:t.labels.BackButtonTitle,id:o("headerBackButton")},key:1,on:{keydown:w||(s._m0=i(t.onBackButtonKeyDown)),click:F||(s._m1=i(t.onBackButtonClick))}},[r(g,3,[l(1,null,a(t.labels.BackButtonAssistiveText))]),u("lightning-icon",c.default,{props:{iconName:t.generateBackButtonIconName,variant:"inverse",size:"x-small",id:o("headerBackButtonIcon")},key:4})]):null,t.shouldDisplayMenuButton?d("div",{className:m(t.menuClass),key:5},[d("button",{classMap:A,attrs:{title:t.menuButtonText,"aria-haspopup":"true","aria-expanded":t.isAriaExpanded,id:o("headerMenuButton")},key:6,on:{keydown:L||(s._m2=i(t.onMenuButtonKeyDown)),mousedown:H||(s._m3=i(t.onMenuButtonMouseDown)),click:R||(s._m4=i(t.onMenuButtonClick))}},[r(p,8,[l(1,null,a(t.menuButtonText))]),u("lightning-icon",c.default,{props:{iconName:"utility:threedots_vertical",variant:"inverse",size:"x-small",id:o("menuButtonIcon")},key:9})]),r(b,11,[l(0,{on:{click:$||(s._m6=i(t.closeMenu))}},null)]),d("section",{className:m(t.generateOptionMenuClassName),key:12},[d("ul",y,D([I(t.chatbotMenuOptions,function(e){return r(E,N(15,e.optionIdentifier),[l(1,{on:{keydown:G||(s._m7=i(t.onMenuItemKeyDown)),mouseenter:P||(s._m8=i(t.onMenuItemMouseEnter)),click:z||(s._m9=i(t.onMenuOptionClick)),blur:K||(s._m10=i(t.onMenuItemBlur))},attrs:{value:e.optionIdentifier,id:o("chatbotMenuOptionButton")}},null),l(2,{attrs:{title:e.title,value:e.optionIdentifier,id:o("chatbotMenuOptionText")}},null),l(3,null,a(e.title))])}),t.shouldDisplayRequestTranscriptOption?r(_,17,[l(1,{on:{keydown:V||(s._m11=i(t.onMenuItemKeyDown)),blur:U||(s._m12=i(t.onMenuItemBlur)),mouseenter:Y||(s._m13=i(t.onMenuItemMouseEnter)),click:J||(s._m14=i(t.onRequestTranscriptOptionClick))},attrs:{id:o("requestTranscriptOptionButton")}},null),l(2,{attrs:{title:t.labels.RequestTranscript,id:o("requestTranscriptOptionText")}},null),l(3,null,a(t.labels.RequestTranscript))]):null,t.shouldDisplayEndConversationOption?r(M,19,[l(1,{on:{keydown:W||(s._m15=i(t.onMenuItemKeyDown)),blur:j||(s._m16=i(t.onMenuItemBlur)),mouseenter:X||(s._m17=i(t.onMenuItemMouseEnter)),click:Q||(s._m18=i(t.handleCloseConversation))},attrs:{"aria-disabled":t.shouldDisableEndConversationOption,id:o("closeConversationOptionButton")}},null),l(2,{attrs:{title:t.labels.CloseConversation,id:o("closeConversationOptionText")}},null),l(3,null,a(t.labels.CloseConversation))]):null]))])]):null,t.logo?r(B,21,[l(0,{attrs:{src:t.logo}},null)]):null,r(C,23,[l(0,{className:m(t.generateHeaderTextClassName),attrs:{title:t.headerText}},null),l(1,null,a(t.headerText))]),t.shouldDisplayMinimizeButton?d("button",{classMap:f,attrs:{title:t.labels.Minimize,id:o("headerMinimizeButton")},key:24,on:{keydown:Z||(s._m19=i(t.onMinimizeButtonKeyDown)),click:ee||(s._m20=i(t.onMinimizeButtonClick))}},[r(v,26,[l(1,null,a(t.labels.MinimizeButtonAssistiveText))]),u("lightning-icon",c.default,{props:{iconName:"utility:chevrondown",variant:"inverse",size:"x-small",id:o("headerMinimizeButtonIcon")},key:27})]):null,t.shouldDisplayCloseButton?d("button",{classMap:k,attrs:{title:t.labels.Close,id:o("headerCloseButton")},key:28,on:{keydown:te||(s._m21=i(t.onCloseButtonKeyDown)),click:ne||(s._m22=i(t.onCloseButtonClick))}},[r(S,30,[l(1,null,a(t.labels.CloseButtonAssistiveText))]),u("lightning-icon",c.default,{props:{iconName:"utility:close",variant:"inverse",size:"x-small",id:o("closeButtonIcon")},key:31})]):null]),u("embeddedmessaging-chat-header-announcement",h.default,{classMap:x,props:{text:t.headerAnnouncement.text,temporary:t.headerAnnouncement.temporary,announcement:t.headerAnnouncement.announcement,loading:t.headerAnnouncement.loading,clearAnnouncement:t.clearAnnouncement},key:32})]}var I=t.registerTemplate(N);N.stylesheets=[],N.stylesheetToken="lwc-c5th8h1hm8",N.legacyStylesheetToken="embeddedMessaging-chatHeader_chatHeader",m&&N.stylesheets.push.apply(N.stylesheets,m),t.freezeTemplate(N);const D="slds-dropdown-trigger slds-dropdown-trigger_click",w=D+" slds-is-open",F="EmbeddedMessaging-ChatHeader";class L extends t.LightningElement{constructor(...e){super(...e),this.configuration=void 0,this.chatbotMenuOptions=[],this.logo=l.getBrandingValue(l.BRANDING_TOKENS.LOGO_IMAGE.name),this.showBackButton=!1,this.showMinimizeButton=!0,this.headerText="",this.headerAnnouncement={text:"",temporary:"",announcement:"",loading:!1},this.menuClass=D,this.setFirstMenuItemFocus=!1,this.cancelMenuItemBlur=!1,this.labels={},this.isMessageAreaEndOfScroll=void 0,this._conversationStatus=void 0,this.clearAnnouncement=()=>{this.setSubText(""),this.setTemporarySubText(""),this.setAnnouncementSubText(""),this.setLoadingAnimation(!1)}}get shouldDisplayBackButton(){return this.showBackButton}get shouldDisplayMinimizeButton(){return this.showMinimizeButton}get shouldDisplayMenuButton(){return this.shouldDisplayChatbotOptions||this.shouldDisplayRequestTranscriptOption||this.shouldDisplayEndConversationOption}get shouldDisplayChatbotOptions(){return this.chatbotMenuOptions.length>0}get shouldDisplayRequestTranscriptOption(){return this.conversationStatus!==a.ConversationStatus.NOT_STARTED_CONVERSATION&&Boolean(this.configuration.transcript&&this.configuration.transcript.allowTranscriptDownload)}get shouldDisplayEndConversationOption(){return this.conversationStatus!==a.ConversationStatus.NOT_STARTED_CONVERSATION&&!this.isAuthenticated}get isAriaExpanded(){return this.menuClass===w}get menuButtonText(){return this.isAriaExpanded?this.labels.CloseMenuButtonAssistiveText:this.labels.MenuButtonAssistiveText}get generateOptionMenuClassName(){return"optionsMenu slds-dropdown"+(i.rtlUtil.isHtmlDirectionRTL()?" slds-dropdown_right slds-nubbin_top-right":" slds-dropdown_left slds-nubbin_top-left")+(this.shouldDisplayBackButton?" backButtonPresent":"")}get generateHeaderTextClassName(){return this.logo?"headerText logo":"headerText"}get generateBackButtonIconName(){return i.rtlUtil.isHtmlDirectionRTL()?"utility:forward":"utility:back"}get conversationStatus(){return this._conversationStatus}set conversationStatus(e){this._conversationStatus=e,this._conversationStatus===a.ConversationStatus.CLOSED_CONVERSATION&&this.clearAnnouncement()}get isAuthenticated(){return i.authUtil.isUserVerificationEnabled(this.configuration)}connectedCallback(){this.handleLabels(),this.headerText=this.labels.DefaultHeaderText,this.assignHandlers(),this.applyStyling()}renderedCallback(){o.assignHandler(i.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,()=>{this.showBackButton?this.setFocusOnBackButton():this.shouldDisplayMenuButton?this.setFocusOnMenuButton():this.showMinimizeButton?this.setFocusOnMinimizeButton():this.shouldDisplayCloseButton&&this.setFocusOnCloseButton()}),this.setFirstMenuItemFocus&&(this.setFocusOnFirstMenuItem(),this.setFirstMenuItemFocus=!1)}disconnectedCallback(){o.clearHandlersForEvent(i.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT)}errorCallback(e,t){i.error(e,t)}assignHandlers(){u.assignMessagingEventHandler(u.MESSAGING_EVENT.UPDATE_HEADER_TEXT,e=>{e&&e.text&&this.setText(e.text)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,e=>{e&&i.isBoolean(e.showBackButton)&&(this.showBackButton=e.showBackButton)}),o.assignChatHeaderHandler(o.HEADER_EVENTS.CLEAR_NOTIFICATION,()=>{this.clearAnnouncement()}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.PARTICIPANT_JOINED,e=>{e&&(e.options&&Array.isArray(e.options)&&e.options.forEach(e=>{this.chatbotMenuOptions.some(t=>t.optionIdentifier===e.optionIdentifier)||this.chatbotMenuOptions.push(e)}),e.label&&!e.silentMode&&(this.setText(e.label),this.clearAnnouncement(),i.isBoolean(this.isMessageAreaEndOfScroll)&&!this.isMessageAreaEndOfScroll&&this.setAnnouncementSubText(this.labels.AgentJoinAnnouncement)))}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.PARTICIPANT_LEFT,()=>{this.chatbotMenuOptions=[],this.setText(this.labels.DefaultHeaderText),i.isBoolean(this.isMessageAreaEndOfScroll)&&!this.isMessageAreaEndOfScroll&&this.setAnnouncementSubText(this.labels.AgentLeaveAnnouncement)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.TRANSFER_INITIATED,()=>{this.chatbotMenuOptions=[],this.setLoadingAnimation(!0),this.setSubText(this.labels.TransferRequestSuccessHeaderAnnouncement)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.TRANSFER_COMPLETED,this.clearAnnouncement.bind(this)),o.assignChatHeaderHandler(o.HEADER_EVENTS.JWT_EXPIRED,()=>{this.chatbotMenuOptions=[],this.setSubText(this.labels.JWTExpiredAnnouncement)}),o.assignChatHeaderHandler(o.HEADER_EVENTS.CLICK_OUTSIDE_HEADER,()=>{this.closeMenu()}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.RECONNECT_IN_PROGRESS,()=>{this.setLoadingAnimation(!0),this.setSubText(this.labels.ReconnectInProgress)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.RECONNECT_ENDED,()=>{this.setTemporarySubText(this.labels.ReconnectInProgress),this.setLoadingAnimation(!1)})}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule("embeddedmessaging-chat-header .slds-icon_container svg.slds-icon_x-small { width: 20px; height: 20px; }",0),e.sheet.insertRule("embeddedmessaging-chat-header .slds-icon_container svg.slds-icon_x-small { fill: "+l.getBrandingValue(l.BRANDING_TOKENS.HEADER_TEXT_COLOR.name)+" }",0))}handleLabels(){this.labels.Minimize=r.getLabel("EmbeddedMessagingChatHeader","Minimize"),this.labels.Close=r.getLabel("EmbeddedMessagingChatHeader","Close"),this.labels.CloseConversation=r.getLabel("EmbeddedMessagingChatHeader","CloseConversation"),this.labels.DefaultHeaderText=r.getLabel("EmbeddedMessagingChatHeader","DefaultHeaderText"),this.labels.TransferRequestSuccessHeaderAnnouncement=r.getLabel("EmbeddedMessagingChatHeader","TransferRequestSuccessHeaderAnnouncement"),this.labels.TransferRequestFailureHeaderAnnouncement=r.getLabel("EmbeddedMessagingChatHeader","TransferRequestFailureHeaderAnnouncement"),this.labels.AgentJoinAnnouncement=r.getLabel("EmbeddedMessagingChatHeader","AgentJoinAnnouncement"),this.labels.AgentLeaveAnnouncement=r.getLabel("EmbeddedMessagingChatHeader","AgentLeaveAnnouncement"),this.labels.JWTExpiredAnnouncement=r.getLabel("EmbeddedMessagingChatHeader","JWTExpiredAnnouncement"),this.labels.BackButtonTitle=r.getLabel("EmbeddedMessagingPostchat","PostchatHeaderBackButtonTitle"),this.labels.BackButtonAssistiveText=r.getLabel("EmbeddedMessagingPostchat","PostchatHeaderBackButtonAssistiveText"),this.labels.MinimizeButtonAssistiveText=r.getLabel("EmbeddedMessagingChatHeader","MinimizeButtonAssistiveText"),this.labels.CloseButtonAssistiveText=r.getLabel("EmbeddedMessagingChatHeader","CloseButtonAssistiveText"),this.labels.MenuButtonAssistiveText=r.getLabel("EmbeddedMessagingChatHeader","MenuButtonAssistiveText"),this.labels.CloseMenuButtonAssistiveText=r.getLabel("EmbeddedMessagingChatHeader","CloseMenuButtonAssistiveText"),this.labels.ReconnectInProgress=r.getLabel("EmbeddedMessagingChatHeader","ReconnectInProgress"),this.labels.RequestTranscript=r.getLabel("EmbeddedMessagingChatHeader","RequestTranscriptMenuOption")}setText(e){this.headerText=e}setSubText(e){this.headerAnnouncement.text=e,this.headerAnnouncement.temporary="",this.headerAnnouncement.announcement=""}setTemporarySubText(e){this.headerAnnouncement.temporary=e,this.headerAnnouncement.text="",this.headerAnnouncement.announcement=""}setAnnouncementSubText(e){this.headerAnnouncement.announcement!==e&&(this.headerAnnouncement.text&&(this.headerAnnouncement.text=""),this.headerAnnouncement.temporary&&(this.headerAnnouncement.temporary=""),Promise.resolve().then(()=>{this.headerAnnouncement.announcement=e}))}setLoadingAnimation(e){this.headerAnnouncement.loading=Boolean(e)}onBackButtonClick(e){u.dispatchMessagingEvent(u.MESSAGING_EVENT.BACK_BUTTON_CLICK,{}),i.LoggingUtil.logInteraction(e,this,F,{method:"onBackButtonClick"})}onBackButtonKeyDown(e){e&&e.key===i.KEY_CODES.TAB&&e.shiftKey&&(e.preventDefault(),o.dispatchEvent(i.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}onMinimizeButtonClick(e){u.dispatchMessagingEvent(u.MESSAGING_EVENT.MINIMIZE_BUTTON_CLICK,{bubbles:!0}),i.LoggingUtil.logInteraction(e,this,F,{method:"onMinimizeButtonClick"})}onMinimizeButtonKeyDown(e){e.key===i.KEY_CODES.TAB&&e.shiftKey&&(e.preventDefault(),this.shouldDisplayMenuButton?this.setFocusOnMenuButton():this.showBackButton?this.setFocusOnBackButton():o.dispatchEvent(i.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}get shouldDisplayCloseButton(){return this.conversationStatus===a.ConversationStatus.NOT_STARTED_CONVERSATION||this.conversationStatus===a.ConversationStatus.CLOSED_CONVERSATION}onCloseButtonKeyDown(e){e.key===i.KEY_CODES.TAB&&e.shiftKey&&(e.preventDefault(),this.shouldDisplayMinimizeButton?this.setFocusOnMinimizeButton():this.shouldDisplayMenuButton?this.setFocusOnMenuButton():this.showBackButton?this.setFocusOnBackButton():o.dispatchEvent(i.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}onCloseButtonClick(e){this.dispatchCloseContainerEvent(),i.LoggingUtil.logInteraction(e,this,F,{method:"onCloseHeaderButtonClick"})}onMenuButtonClick(e){this.toggleMenuVisibility(),this.cancelMenuItemBlur=!0,i.LoggingUtil.logInteraction(e,this,F,{method:"onMenuButtonClick"})}onMenuButtonKeyDown(e){e&&(e.key===i.KEY_CODES.ENTER||e.key===i.KEY_CODES.SPACE||e.key===i.KEY_CODES.DOWN?(e.preventDefault(),this.onMenuButtonClick()):e.key===i.KEY_CODES.TAB&&e.shiftKey&&(e.preventDefault(),this.showBackButton?this.setFocusOnBackButton():o.dispatchEvent(i.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0})))}onMenuButtonMouseDown(){this.cancelMenuItemBlur=!0}onMenuItemKeyDown(e){e&&(e.key===i.KEY_CODES.ENTER||e.key===i.KEY_CODES.SPACE?(e.preventDefault(),e.currentTarget.click()):e.key===i.KEY_CODES.ESCAPE?(e.preventDefault(),this.closeMenu(),this.setFocusOnMenuButton()):e.key===i.KEY_CODES.DOWN?(e.preventDefault(),this.cancelMenuItemBlur=!0,this.setFocusOnNextMenuItem(e.currentTarget.parentElement)):e.key===i.KEY_CODES.UP?(e.preventDefault(),this.cancelMenuItemBlur=!0,this.setFocusOnPreviousMenuItem(e.currentTarget.parentElement)):e.key===i.KEY_CODES.TAB&&e.shiftKey?(e.preventDefault(),this.cancelMenuItemBlur=!1,o.dispatchEvent(i.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0})):e.key===i.KEY_CODES.TAB&&(this.cancelMenuItemBlur=!1))}onMenuItemMouseEnter(e){e&&e.currentTarget&&(e.currentTarget.focus(),this.cancelMenuItemBlur=!0)}onMenuItemBlur(){this.cancelMenuItemBlur||this.closeMenu()}onMenuOptionClick(e){let t,n,s;e&&(e.preventDefault(),e.target&&e.target.getAttribute("value")&&(t=e.target.getAttribute("value"),n=this.chatbotMenuOptions.find(e=>e.optionIdentifier===t),t&&n&&u.dispatchMessagingEvent(u.MESSAGING_EVENT.MENU_ITEM_SELECTED,{selectedOption:n})),s=e.target.id.includes("-")?e.target.id.substr(0,e.target.id.lastIndexOf("-")):e.target.id,i.LoggingUtil.logInteraction(e,this,F,{method:"onMenuOptionClick",feature:e.target.value?`${s}_${e.target.value}`:s})),this.closeMenu(),this.setFocusOnMenuButton()}toggleMenuVisibility(){this.menuClass===D?(this.openMenu(),this.setFirstMenuItemFocus=!0):this.closeMenu()}showOverlay(){const e=this.querySelectChatOverlayOption();e&&(e.style.display="block")}hideOverlay(){const e=this.querySelectChatOverlayOption();e&&(e.style.display="none")}openMenu(){this.menuClass=w,this.showOverlay()}closeMenu(){this.menuClass=D,this.hideOverlay()}handleCloseConversation(e){this.conversationStatus!==a.ConversationStatus.CLOSED_CONVERSATION&&(this.closeMenu(),this.dispatchCloseConversationEvent(),this.setFocusOnMenuButton(),e&&(e.stopPropagation(),i.LoggingUtil.logInteraction(e,this,F,{method:"handleCloseConversation"})))}dispatchCloseConversationEvent(){u.dispatchMessagingEvent(u.MESSAGING_EVENT.CLOSE_CONVERSATION,{bubbles:!0})}dispatchCloseContainerEvent(){u.dispatchMessagingEvent(u.MESSAGING_EVENT.CLOSE_CONTAINER,{bubbles:!0})}get shouldDisableEndConversationOption(){return this.conversationStatus===a.ConversationStatus.CLOSED_CONVERSATION}onRequestTranscriptOptionClick(){u.dispatchMessagingEvent(u.MESSAGING_EVENT.REQUEST_TRANSCRIPT,{bubbles:!0}),this.closeMenu(),this.setFocusOnMenuButton()}querySelectHeader(){return this.template&&this.template.querySelector(".chatHeader")?this.template.querySelector(".chatHeader"):void 0}querySelectBackButton(){return this.template&&this.template.querySelector("button.backButton")?this.template.querySelector("button.backButton"):void 0}querySelectMenuButton(){return this.template&&this.template.querySelector("button.menuButton")?this.template.querySelector("button.menuButton"):void 0}querySelectMinimizeButton(){return this.template&&this.template.querySelector("button.minimizeButton")?this.template.querySelector("button.minimizeButton"):void 0}querySelectCloseButton(){return this.template&&this.template.querySelector("button.closeButton")?this.template.querySelector("button.closeButton"):void 0}querySelectFirstMenuItem(){return this.template&&this.template.querySelector(".slds-dropdown__list > li.slds-dropdown__item:first-child > button")?this.template.querySelector(".slds-dropdown__list > li.slds-dropdown__item:first-child > button"):void 0}querySelectNextMenuItem(e){return i.util.querySelectItem(e,1)}querySelectPreviousMenuItem(e){return i.util.querySelectItem(e,-1)}querySelectCloseConversationOption(){return this.template&&this.template.querySelector("button.closeConversationOption")?this.template.querySelector("button.closeConversationOption"):void 0}querySelectChatOverlayOption(){return this.template.querySelector(".chatOverlay")}setFocusOnElement(e){i.util.waitForFrame(()=>{e&&e.focus()})}setFocusOnBackButton(){this.setFocusOnElement(this.querySelectBackButton())}setFocusOnMinimizeButton(){this.setFocusOnElement(this.querySelectMinimizeButton())}setFocusOnCloseButton(){this.setFocusOnElement(this.querySelectCloseButton())}setFocusOnMenuButton(){this.setFocusOnElement(this.querySelectMenuButton())}setFocusOnFirstMenuItem(){this.setFocusOnElement(this.querySelectFirstMenuItem())}setFocusOnNextMenuItem(e){this.setFocusOnElement(this.querySelectNextMenuItem(e))}setFocusOnPreviousMenuItem(e){this.setFocusOnElement(this.querySelectPreviousMenuItem(e))}}t.registerDecorators(L,{publicProps:{configuration:{config:0},isMessageAreaEndOfScroll:{config:0},conversationStatus:{config:3}},track:{headerAnnouncement:1,labels:1},fields:["chatbotMenuOptions","logo","showBackButton","showMinimizeButton","headerText","menuClass","setFirstMenuItemFocus","cancelMenuItemBlur","_conversationStatus","clearAnnouncement"]});const H=t.registerComponent(L,{tmpl:I,sel:"embeddedMessaging-chat-header",apiVersion:62});e.default=H,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/chatHeader', ['embeddedMessaging/chatHeader'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/ariaLiveAnnouncer",["exports","lwc"],function(e,t){var s=[function(e,t,s){return".accessibleText"+(e?"["+e+"]":"")+" {position: absolute;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);}"}];const n=t.parseFragment`<div role="alert" aria-live="polite" class="accessibleText${0}" aria-atomic="true"${2}><pre${3}>${"t2"}</pre></div>`,i=t.parseFragment`<div role="alert" aria-live="polite" class="accessibleText${0}" aria-atomic="true"${2}><pre${3}>${"t2"}</pre></div>`;function o(e,t,s,o){const{d:r,sp:a,st:c}=e;return[c(n,1,[a(2,null,r(t.firstPoliteMessage))]),c(i,3,[a(2,null,r(t.secondPoliteMessage))])]}var r=t.registerTemplate(o);o.stylesheets=[],o.stylesheetToken="lwc-2vma9s18e7s",o.legacyStylesheetToken="embeddedMessaging-ariaLiveAnnouncer_ariaLiveAnnouncer",s&&o.stylesheets.push.apply(o.stylesheets,s),t.freezeTemplate(o);class a extends t.LightningElement{constructor(...e){super(...e),this.lastAnnouncementTimeKeeper=new Map,this.isFirstPoliteRegionActive=!1,this.firstPoliteMessage="",this.secondPoliteMessage=""}announceMessage(e,t){if("string"!=typeof e)return;const s=Object.assign({announceInIntervalsEnabled:!1,minTimeBetweenAnnouncements:6e4,forceAnnouncement:!1},t);if(s.announceInIntervalsEnabled){const t=Date.now();(t-this.getLastAnnouncementTimeForContext(s.context)>=s.minTimeBetweenAnnouncements||s.forceAnnouncement)&&(this.setMessageForAnnouncement(e),this.setLastAnnouncementTimeForContext(s.context,t))}else this.setMessageForAnnouncement(e);setTimeout(this.removeMessageFromAnnouncer.bind(this),9600,e)}purgeContextValues(){this.lastAnnouncementTimeKeeper.clear()}setLastAnnouncementTimeForContext(e,t){this.lastAnnouncementTimeKeeper.set(e,t)}getLastAnnouncementTimeForContext(e){let t=0;return this.lastAnnouncementTimeKeeper.has(e)&&(t=this.lastAnnouncementTimeKeeper.get(e)),t}setMessageForAnnouncement(e){this.isFirstPoliteRegionActive?this.secondPoliteMessage=this.formatMessageForAnnouncement(this.secondPoliteMessage,e):this.firstPoliteMessage=this.formatMessageForAnnouncement(this.firstPoliteMessage,e),this.isFirstPoliteRegionActive=!this.isFirstPoliteRegionActive}formatMessageForAnnouncement(e,t){return e===t?t+" ":t}removeMessageFromAnnouncer(e){this.firstPoliteMessage!==e?this.secondPoliteMessage===e&&(this.secondPoliteMessage=""):this.firstPoliteMessage=""}}t.registerDecorators(a,{publicMethods:["announceMessage","purgeContextValues"],track:{firstPoliteMessage:1,secondPoliteMessage:1},fields:["lastAnnouncementTimeKeeper","isFirstPoliteRegionActive"]});const c=t.registerComponent(a,{tmpl:r,sel:"embeddedMessaging-aria-live-announcer",apiVersion:62});e.default=c,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/ariaLiveAnnouncer', ['embeddedMessaging/ariaLiveAnnouncer'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatNotification",["exports","lwc","lightning/icon","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(t,s,e,i,n,o){function l(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=l(e);var r=[function(t,s,e){var i=t?"["+t+"]":"",n=t?"["+t+"-host]":"";return(s?":host {":n+" {")+"--slds-c-toast-sizing-min-width: 100vw;--slds-c-toast-radius-border: 0;}"+(s?(e?"":'[dir="ltr"]')+" "+(e?":dir(ltr)":"")+" :host {":(e?"":'[dir="ltr"]')+" "+(e?":dir(ltr)":"")+" "+n+" {")+"--slds-c-toast-spacing-inline-start: 1rem;}"+(s?(e?"":'[dir="rtl"]')+" "+(e?":dir(rtl)":"")+" :host {":(e?"":'[dir="rtl"]')+" "+(e?":dir(rtl)":"")+" "+n+" {")+"--slds-c-toast-spacing-inline-start: 3rem;--slds-c-toast-spacing-inline-end: 1rem;}.slds-notify_container"+i+" {z-index: 99;}.notificationText"+i+" {font-size: 0.8rem;line-height: 1.25;}.slds-notify--toast"+i+", .slds-notify_toast"+i+" {margin: 0;}.iconContainer"+i+" {margin: 0 0.75rem 0 0.75rem;}.closeButton"+i+" {border: none;background-color: inherit;text-decoration: underline;font-size: 0.8rem;position: fixed;}"+(e?"":'[dir="ltr"]')+" "+(e?":dir(ltr)":"")+" .closeButton"+i+" {right: 1rem;}"+(e?"":'[dir="rtl"]')+" "+(e?":dir(rtl)":"")+" .closeButton"+i+" {left: 1rem;}"}];const d=s.parseFragment`<div class="slds-notify__content${0}"${2}><div class="notificationText${0}"${2}>${"t2"}</div></div>`,c=s.parseFragment`<button class="closeButton${0}"${2}>${"t1"}</button>`,h={classMap:{"slds-notify_container":!0,"slds-is-relative":!0},key:0},f={role:"alert"},g={classMap:{"slds-icon_container":!0,"slds-no-flex":!0,"slds-align-top":!0,iconContainer:!0},key:2};function m(t,s,e,i){const{ncls:n,c:o,h:l,d:r,sp:m,st:u,b:p}=t,{_m0:I,_m1:N}=i;return[s.shouldDisplayNotification?l("div",h,[l("div",{className:n(s.notificationClass),attrs:f,key:1},[l("span",g,[o("lightning-icon",a.default,{props:{iconName:s.notificationIcon,variant:"inverse",size:"small"},key:3})]),u(d,5,[m(2,null,r(s.text))]),s.isDismissible?u(c,7,[m(0,{on:{click:N||(i._m1=p(s.onClose))}},null),m(1,null,r(s.labels.Close))]):null])]):null]}var u=s.registerTemplate(m);m.stylesheets=[],m.stylesheetToken="lwc-2eenglaejop",m.legacyStylesheetToken="embeddedMessaging-chatNotification_chatNotification",r&&m.stylesheets.push.apply(m.stylesheets,r),s.freezeTemplate(m);class p extends s.LightningElement{constructor(...t){super(...t),this.type="",this.text="",this.isDismissible=!0,this.labels={}}get shouldDisplayNotification(){return this.type&&this.text}get notificationClass(){if(this.type)switch(this.type){case n.NOTIFICATION_TYPES.SUCCESS:return"slds-notify slds-notify_toast slds-theme_success";case n.NOTIFICATION_TYPES.ERROR:return"slds-notify slds-notify_toast slds-theme_error";case n.NOTIFICATION_TYPES.INFO:return"slds-notify slds-notify_toast slds-theme_info"}return"slds-notify slds-notify_toast"}get notificationIcon(){if(this.type)switch(this.type){case n.NOTIFICATION_TYPES.SUCCESS:return n.SLDS_ICON.SUCCESS;case n.NOTIFICATION_TYPES.ERROR:return n.SLDS_ICON.ERROR;case n.NOTIFICATION_TYPES.INFO:return n.SLDS_ICON.INFO}return""}connectedCallback(){this.handleLabels(),this.assignHandlers()}handleLabels(){this.labels.Close=o.getLabel("EmbeddedMessagingIframesAndContents","CloseNotification")}assignHandlers(){i.assignHandler(n.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,this.setNotificationData.bind(this)),i.assignHandler(n.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,this.clearNotification.bind(this))}setNotificationData(t){t&&(this.text=t.text,this.type=t.type,this.isDismissible=t.isDismissible)}clearNotification(){this.text="",this.type="",this.isDismissible=!0}onClose(){i.dispatchEvent(n.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,{})}}s.registerDecorators(p,{track:{labels:1},fields:["type","text","isDismissible"]});const I=s.registerComponent(p,{tmpl:u,sel:"embeddedMessaging-chat-notification",apiVersion:62});t.default=I,Object.defineProperty(t,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/chatNotification', ['embeddedMessaging/chatNotification'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/container",["exports","@salesforce/loader","lwc","embeddedmessaging/chatHeader","embeddedmessaging/prechatState","embeddedmessaging/chatNotification","embeddedmessaging/conversationState","embeddedmessaging/minimizedState","embeddedmessaging/ariaLiveAnnouncer","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/brandingUtils","embeddedMessaging/inAppService","embeddedMessaging/labelUtils","embeddedMessaging/countdownTimer","embeddedMessaging/webStorageUtils","embeddedMessaging/fileAttachmentFooter","lightningsnapin/eventStore"],function(e,t,n,i,s,o,a,r,d,l,h,E,g,c,u,S,T,m,_){function I(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=I(i),M=I(s),C=I(o),A=I(a),N=I(r),p=I(d),D=I(S);var f=[function(e,t,n){var i=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+'font-family: var(--font, Arial, sans-serif), "Twemoji Mozilla", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Android Emoji", "Noto Color Emoji", "EmojiOne Color";font-size: var(--baseFontSize, medium);display: flex;flex-direction: column;height: 100vh;width: 100vw;outline: none;position: relative;}.containerArea.minimized'+i+" {display: none;}.notificationArea.maximized"+i+" {display: none;}"}];const b={key:9};function P(e,t,n,i){const{ncls:s,dc:o,fr:a,c:r,b:d}=e,{_m0:l,_m1:h}=i;return[t.shouldRenderApp?t.headerConstructor?a(0,[o(t.headerConstructor,{className:s(t.generateMaximizedClass),props:{configuration:t.publicConfiguration,conversationStatus:t.conversationStatus,isMessageAreaEndOfScroll:t.isMessageAreaEndOfScroll},key:1})],0):a(0,[r("embeddedmessaging-chat-header",v.default,{className:s(t.generateMaximizedClass),props:{configuration:t.publicConfiguration,conversationStatus:t.conversationStatus,isMessageAreaEndOfScroll:t.isMessageAreaEndOfScroll},key:2})],0):null,t.shouldRenderApp&&t.shouldShowPrechatState?t.prechatConstructor?a(3,[o(t.prechatConstructor,{className:s(t.generateMaximizedClass),props:{configuration:t.publicConfiguration},key:4,on:{prechatsubmit:l||(i._m0=d(t.handlePrechatSubmit))}})],0):a(3,[r("embeddedmessaging-prechat-state",M.default,{className:s(t.generateMaximizedClass),props:{configuration:t.publicConfiguration,conversationStatus:t.conversationStatus},key:5,on:{prechatsubmit:h||(i._m1=d(t.handlePrechatSubmit))}})],0):null,t.shouldRenderApp?r("embeddedmessaging-chat-notification",C.default,{className:s(t.generateMaximizedClass),key:6}):null,t.shouldRenderApp&&t.shouldShowConversationState?r("embeddedmessaging-conversation-state",A.default,{className:s(t.generateMaximizedClass),props:{configuration:t.configuration,publicConfiguration:t.publicConfiguration,prechatConstructor:t.prechatConstructor,conversationStatus:t.conversationStatus,conversationData:t.conversationData,isMinimized:t.isMinimized},key:7}):null,t.shouldRenderApp?r("embeddedmessaging-minimized-state",N.default,{className:s(t.generateMinimizedClass),props:{configuration:t.configuration,conversationStatus:t.conversationStatus,isMinimized:t.isMinimized},key:8}):null,t.shouldRenderApp?r("embeddedmessaging-aria-live-announcer",p.default,b):null]}var O=n.registerTemplate(P);P.stylesheets=[],P.stylesheetToken="lwc-64un2jbuqj8",P.legacyStylesheetToken="embeddedMessaging-container_container",f&&P.stylesheets.push.apply(P.stylesheets,f),n.freezeTemplate(P);const R=["name","branding","forms","customLabels","choiceListConfig","orgId","language","standardLabels","termsAndConditions","embeddedServiceMessagingChannel","htmlDirection","transcript"],y="EmbeddedMessaging-Container";class U extends n.LightningElement{constructor(...e){super(...e),this.configuration={},this.publicConfiguration={},this.hostDomain=void 0,this.customPrechatComponent=void 0,this.prechatConstructor=null,this.customHeaderComponent=void 0,this.headerConstructor=null,this.conversationData=void 0,this._conversationStatus=E.ConversationStatus.NOT_STARTED_CONVERSATION,this.isMinimized=!1,this.labels={},this.brandingTokens=[],this.isInitialized=!1,this.isMessageAreaEndOfScroll=void 0,this.restoreScrollPositionTimer=void 0,this._initialRender=!0,this._subsequentRender=!1,this.setIdentityTokenResolve=void 0,this.pendingRequestQueue=[],this.handleMessageEvents=e=>{h.util.handleWindowEvents(e,{[h.events.APP_MINIMIZE_EVENT_NAME]:this.handleMinimization.bind(this),[h.events.APP_MAXIMIZE_EVENT_NAME]:this.handleMaximization.bind(this),[h.events.EMBEDDED_MESSAGING_SET_CONFIG_EVENT_NAME]:this.beginInitialization.bind(this),[h.events.EMBEDDED_MESSAGING_MAXIMIZE_RESIZING_COMPLETED_EVENT]:this.afterMaximization.bind(this),[h.events.EMBEDDED_MESSAGING_MINIMIZE_RESIZING_COMPLETED_EVENT]:this.afterMinimization.bind(this),[h.events.EMBEDDED_MESSAGING_SET_JWT_EVENT_NAME]:this.handleInitJwt.bind(this),[h.events.EMBEDDED_MESSAGING_SET_CONVERSATION_DATA_EVENT_NAME]:this.handleInitConversationData.bind(this),[h.authEvent.EMBEDDED_MESSAGING_CLEAR_USER_SESSION_EVENT_NAME]:this.handleClearUserSession.bind(this),[h.authEvent.EMBEDDED_MESSAGING_SET_IDENTITY_TOKEN_EVENT_NAME]:this.handleSetIdentityToken.bind(this),[h.events.EMBEDDED_MESSAGING_PUSH_PARENT_FRAME_LOGS]:this.processPendingLogs.bind(this),[h.events.EMBEDDED_MESSAGING_PUSH_VISIBLE_PRECHAT_FIELDS]:this.handleReceiveVisiblePrechatFieldsFromHost.bind(this),[h.events.EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_SUCCESS]:this.handleRequestTranscriptSuccess.bind(this),[h.events.EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_ERROR]:this.handleRequestTranscriptError.bind(this),[h.events.EMBEDDED_MESSAGING_APP_AFTER_REFRESH]:this.handleCleanUpPostChatPopup.bind(this),[h.events.EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_REQUEST_EVENT_NAME]:this.handlePublicSendTextMessage.bind(this)})},this.handleBeforeUnload=e=>{const t=this.labels.BeforeUnloadWarningMessage;if(this.conversationStatus===E.ConversationStatus.OPENED_CONVERSATION&&!T.isLocalStorageAvailable()&&!T.isSessionStorageAvailable())return e.returnValue=t,t;this.handleCleanUpPostChatPopup()}}get conversationStatus(){return this._conversationStatus}set conversationStatus(e){this._conversationStatus=e}get shouldInitializeInMinimizedState(){if(this.configuration.isExistingSessionOnPageLoad){const e=T.getItemInWebStorageByKey(E.STORAGE_KEYS.IS_MINIMIZED,!1);return void 0===e?this.configuration.snippetSettings.shouldMinimizeWindowOnNewTab:e}return!1}get shouldRenderApp(){return this.isInitialized}get shouldShowPrechatState(){return(this.hasVisiblePrechatFields()||this.hasTermsAndConditions())&&this._conversationStatus===E.ConversationStatus.NOT_STARTED_CONVERSATION}get shouldShowConversationState(){return this._conversationStatus===E.ConversationStatus.OPENED_CONVERSATION||this._conversationStatus===E.ConversationStatus.CLOSED_CONVERSATION}connectedCallback(){this.assignHandlers(),window.addEventListener("message",this.handleMessageEvents),window.addEventListener("beforeunload",this.handleBeforeUnload),T.isLocalStorageAvailable()&&window.addEventListener("storage",this.handleStorageEvents.bind(this)),Promise.all([this.loadPrechatConstructor(),this.loadHeaderConstructor()]).then(()=>{h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.EMBEDDED_MESSAGING_APP_READY_EVENT_NAME)})}loadPrechatConstructor(){return this.loadComponentConstructor(this.customPrechatComponent,"prechatConstructor")}loadHeaderConstructor(){return this.loadComponentConstructor(this.customHeaderComponent,"headerConstructor")}loadComponentConstructor(e,n){return new Promise(i=>{e&&null===this[n]?t.load(e).then(e=>{e&&e.default&&(this[n]=e.default),i()}):i()})}disconnectedCallback(){window.removeEventListener("message",this.handleMessageEvents),window.removeEventListener("beforeunload",this.handleBeforeUnload),T.isLocalStorageAvailable()&&window.removeEventListener("storage",this.handleStorageEvents.bind(this))}renderedCallback(){this._initialRender&&(this._initialRender=!1)}assignHandlers(){_.assignMessagingEventHandler(_.MESSAGING_EVENT.MINIMIZE_BUTTON_CLICK,this.handleMinimization.bind(this)),l.assignHandler(h.events.EMBEDDED_MESSAGING_MAXIMIZE_EVENT,this.handleMaximization.bind(this)),l.assignHandler(h.events.EMBEDDED_MESSAGING_MINIMIZED_NOTIFICATION_DISMISS,this.handleMinimization.bind(this)),_.assignMessagingEventHandler(_.MESSAGING_EVENT.CLOSE_CONVERSATION,this.handleCloseConversation.bind(this)),_.assignMessagingEventHandler(_.MESSAGING_EVENT.CLOSE_CONTAINER,this.handleCloseContainer.bind(this)),l.assignHandler(h.events.EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_OPENED_EVENT,this.handleConversationStatusChangeForOpenedConversation.bind(this)),l.assignHandler(h.events.EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_CLOSED_EVENT,this.handleConversationStatusChangeForClosedConversation.bind(this)),l.assignHandler(h.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_UPDATE,this.handleAnnouncement.bind(this)),l.assignHandler(h.events.EMBEDDED_MESSAGING_SCROLL_STATE_UPDATE,e=>{this.isMessageAreaEndOfScroll=e.isMessageAreaEndOfScroll}),l.assignHandler(h.events.EMBEDDED_MESSAGING_SHOW_FULL_SIZE_FILE_PREVIEW_EVENT,e=>{h.util.sendPostMessageToFilePreviewFrame(this.configuration.siteUrl,h.events.EMBEDDED_MESSAGING_SHOW_FULL_SIZE_FILE_PREVIEW_EVENT,e)}),l.assignHandler(h.authEvent.EMBEDDED_MESSAGING_AUTHENTICATED_JWT_EXPIRED_EVENT_NAME,this.handleAuthenticatedJWTExpiry.bind(this)),l.assignHandler(h.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME,this.handleIdentityTokenExpiry.bind(this)),l.assignHandler(h.events.EMBEDDED_MESSAGING_SHOW_MINIMIZED_NOTIFICATION_EVENT,this.showMinimizedStateNotification.bind(this)),_.assignMessagingEventHandler(_.MESSAGING_EVENT.REQUEST_TRANSCRIPT,this.handleRequestTranscript.bind(this)),l.assignHandler(h.events.EMBEDDED_MESSAGING_PRECHAT_STATE_INITIAL_RENDER,this.handlePrechatInitialRender.bind(this))}handleStorageEvents(e){if(e&&e.key===T.storageKey&&null!==e.newValue){const t=T.getItemInPayloadByKey(e.newValue,E.STORAGE_KEYS.JWT),n=T.getItemInPayloadByKey(e.oldValue,E.STORAGE_KEYS.JWT);n&&t&&n!==t&&h.authUtil.isUserVerificationEnabled(this.configuration)&&this.handleUpdateAuthenticatedJWTStorageEvent(t)}}handleUpdateAuthenticatedJWTStorageEvent(e){return new Promise(t=>{this.handleGetContinuityJWT(e).then(e=>{if(!e)throw new Error("Failed to retrieve continuityJWT by using the renewed JWT.");c.setJwt(e),this.reconnectToEventSource().then(()=>{h.LoggingUtil.logCurrentState(y,{method:"handleUpdateAuthenticatedJWTStorageEvent",stateMessage:"Reconnected to the event source after fetching a Continuity Access JWT."}),t()})})})}handleInitConversationData(e){e&&(h.log("Setting conversation data with id "+e.conversationId),this.conversationData=e,this.configuration.conversationId!==e.conversationId&&(h.LoggingUtil.setConversationId(e.conversationId),h.LoggingUtil.logCurrentState(y,{method:"handleInitConversationData",stateMessage:`ConversationId change detected. Old conversation-id: ${this.configuration.conversationId} \n                    & New conversation-id: ${e.conversationId}`}),this.configuration.conversationId=e.conversationId),this.conversationData.esDeveloperName&&c.setDeveloperNameAssociatedWithCurrentConversation(this.conversationData.esDeveloperName),this.handleConversationStatusChangeForOpenedConversation())}getBrandingData(e){e&&e.branding&&(this.brandingTokens=e.branding,g.createCustomCSSProperties(this.brandingTokens))}handleLabels(){this.labels.BeforeUnloadWarningMessage=u.getLabel("EmbeddedMessagingSessionContinuity","BeforeUnloadWarningMessage")}beginInitialization(e){try{if(!e)throw new Error(`Expected configuration service data to be a truthy object, instead received: ${e}.`);this.configuration=e,this.publicConfiguration=this.getPublicConfiguration(e),h.setDevMode(this.configuration.devMode),u.setLabelsData(this.configuration.standardLabels||[],this.configuration.customLabels||[]),c.setScrtServiceData(this.configuration.scrt2URL,"iamessage","v1",this.configuration.embeddedServiceMessagingChannel.authMode),c.setOrgId(this.configuration.orgId),c.setDeveloperName(this.configuration.name),c.setChannelAddressIdentifier(this.configuration.embeddedServiceMessagingChannel.channelAddressIdentifier),h.LoggingUtil.initializeLoggingUtil(this.configuration),T.initializeWebStorage(this.configuration.orgId),c.setIdentityToken(this.configuration.identityToken),h.setLanguage(this.configuration.language),this.configuration.snippetSettings&&"boolean"==typeof this.configuration.snippetSettings.enableUserInputForConversationWithBot&&h.setEnableUserInputForConversationWithBotFromConfig(this.configuration.snippetSettings.enableUserInputForConversationWithBot),!this.hasVisiblePrechatFields()&&this.customPrechatComponent&&(h.error("Custom prechat component specified but prechat is not enabled."),h.LoggingUtil.logError("Disabled custom prechat",y,{method:"beginInitialization",errMessage:"Custom prechat component specified but prechat is not enabled."}),this.prechatConstructor=null),this.configuration.snippetSettings&&this.configuration.snippetSettings.imageCompressionOptions&&m.setImageCompressionOptions(this.configuration.snippetSettings.imageCompressionOptions),this.handleLabels(),this.getBrandingData(this.configuration),h.util.sendPostMessageToFilePreviewFrame(this.configuration.siteUrl,h.events.EMBEDDED_MESSAGING_INITIALIZE_FILE_PREVIEW_FRAME,{filePreviewFrameCloseButtonTitle:u.getLabel("EmbeddedMessagingIframesAndContents","FilePreviewIframeCloseButtonTitle")}),this.template&&this.template.host&&"string"==typeof this.configuration.htmlDirection&&(h.rtlUtil.setHtmlDirection(this.configuration.htmlDirection),this.template.host.setAttribute("dir",this.configuration.htmlDirection.toLowerCase())),this.handleInitJwt(this.configuration.jwtData),this.handleInitConversationData(this.configuration.conversationData),this.shouldInitializeInMinimizedState?this.handleMinimization():this.handleMaximization(),this.finishInitialization()}catch(e){throw h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.APP_INIT_ERROR_EVENT_NAME),new Error(`Something went wrong initalizing Embedded Messaging: ${e}`)}}handlePublicSendTextMessage(e){this.publicSendTextMessage(e).then(()=>{h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_RESPONSE_EVENT_NAME,{success:!0})}).catch(e=>{h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_RESPONSE_EVENT_NAME,{success:!1,error:e})})}publicSendTextMessage(e){if(h.LoggingUtil.logCurrentState(y,{method:"publicSendTextMessage",stateMessage:"publicSendTextMessage invoked."}),"string"==typeof e&&e.length&&this.conversationStatus===E.ConversationStatus.OPENED_CONVERSATION)return c.sendTextMessage(this.configuration.conversationId,e,h.util.uuid());const t="Failed to send text message: type of message: "+typeof e+", message length: "+("string"==typeof e?e.length:void 0)+", conversation status: "+this.conversationStatus;return h.LoggingUtil.logError("publicSendTextMessage error",y,{method:"publicSendTextMessage",errMessage:t}),Promise.reject(new Error(t))}publicEndSession(){let e;return this.conversationStatus!==E.ConversationStatus.OPENED_CONVERSATION?(e="Cannot call End Session when the conversation is not open.",h.LoggingUtil.logError("publicEndSession error",y,{method:"publicEndSession",errMessage:e}),Promise.reject(e)):h.authUtil.isUserVerificationEnabled(this.configuration)?c.endSession(this.configuration.conversationId):(e="End Session can only be called in User Verified conversations.",h.LoggingUtil.logError("publicEndSession error",y,{method:"publicEndSession",errMessage:e}),Promise.reject(e))}finishInitialization(){this.isInitialized=!0,h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.APP_LOADED_EVENT_NAME)}processPendingLogs(e){let t,n;if(e&&e.pendingLogs){const i=e.pendingLogs;t=i.currentStateLogs?i.currentStateLogs:[],n=i.errorLogs?i.errorLogs:[],t.forEach(e=>{h.LoggingUtil.logCurrentState(y,{configDev:e.configDev,method:e.method,stateMessage:e.stateMessage,convId:e.convId,convType:e.convType,hostUrl:e.hostUrl})}),n.forEach(e=>{h.LoggingUtil.logError("HOST_ERROR_LOGS",y,{configDev:e.configDev,method:e.method,errMessage:e.errMessage,...e.errCode&&{errCode:e.errCode},convId:e.convId,convType:e.convType,hostUrl:e.hostUrl})})}}handleInitJwt(e){e&&(h.log("Setting initial jwt: "+e),this.setAndStoreJWT(e.accessToken),e.lastEventId&&c.setLastEventId(e.lastEventId))}setAndStoreJWT(e,t){t&&h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.EMBEDDED_MESSAGING_SET_JWT_EVENT_NAME,e),T.setItemInWebStorage(E.STORAGE_KEYS.JWT,e),c.setJwt(e);try{h.LoggingUtil.setClientSessionId(h.util.getClientSessionIdJwtClaim(e))}catch(e){h.LoggingUtil.logError(e,y,{method:"setAndStoreJWT",errMessage:"Something went wrong while setting the clientSessionId claim on LoggingUtil."})}}handleGetContinuityJWT(e){return e?(c.setJwt(e),new Promise(e=>{c.getContinuityJwt().then(t=>{c.setLastEventId(t.lastEventId),e(t.accessToken),h.LoggingUtil.logCurrentState(y,{method:"reconnectToEventSource",stateMessage:"Successfully fetched a Continuity Access JWT."})}).catch(e=>{h.error(`Failed to get continuity JWT: ${e&&e.message?e.message:e}.`),h.LoggingUtil.logError(e,y,{method:"handleGetContinuityJWT",errMessage:"Failed to fetch a Continuity Access JWT.",errCode:e.status}),this.handleCloseContainer()})})):Promise.reject(void 0)}getJWTIfExists(){return this.configuration.jwtData&&this.configuration.jwtData.accessToken?this.configuration.jwtData.accessToken:T.getItemInWebStorageByKey(E.STORAGE_KEYS.JWT)}handleGetAuthenticatedJWT(){const e=h.authUtil.getAuthMode(this.configuration)===E.AUTH_MODE.EXP_SITE_AUTH&&this.configuration.expSiteUrl,t=e?c.getExpSiteAuthenticatedJwt(this.configuration.expSiteUrl):c.getAuthenticatedJwt();return new Promise(n=>{t.then(t=>{const i=e?t.data:t;c.setLastEventId(i.lastEventId),n(i.accessToken)}).catch(e=>{h.error(`Error retrieving authenticated token: ${e&&e.message?e.message:e}.`),h.LoggingUtil.logError(e,y,{method:"handleGetAuthenticatedJWT",errMessage:"Failed to fetch an Authenticated JWT.",errCode:e.status}),h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),l.MINIMIZED_EVENTS.JWT_FETCH_FAILURE,{})})})}handleCleanUpPostChatPopup(){T.getItemInWebStorageByKey(E.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED,!1)&&T.removeItemInWebStorage(E.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED)}handleReceiveVisiblePrechatFieldsFromHost(e){Array.isArray(e)&&this.hasVisiblePrechatFields()&&(this.publicConfiguration.forms[0].formFields=e,h.LoggingUtil.logCurrentState(y,{method:"handleReceiveVisiblePrechatFieldsFromHost",stateMessage:"Received visible prechat fields from host."}))}handleMinimization(e){const t=this.querySelectMinimizedState(),n={hasMinimizedNotification:!!t&&t.shouldDisplayMinimizedNotification,...e&&e.detail&&{detail:e.detail}};if(!this.isMinimized){const e=this.querySelectConversationState(),t=e?e.querySelectConversationLog():void 0;t&&t.handleScrollPositionOnMaximizeAndMinimize(!0)}this.isMinimized=!0,T.setItemInWebStorage(E.STORAGE_KEYS.IS_MINIMIZED,!0,!1),h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.APP_MINIMIZE_EVENT_NAME,n)}afterMinimization(){const e=this.querySelectMinimizedState();e&&e.setFocusOnMinimizedButton()}showMinimizedStateNotification(e){e&&h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.APP_SHOW_MINIMIZED_STATE_NOTIFICATION)}handleMaximization(){this.isMinimized=!1,T.setItemInWebStorage(E.STORAGE_KEYS.IS_MINIMIZED,!1,!1),l.dispatchChatMinimizedEvent(l.MINIMIZED_EVENTS.CLEAR_NOTIFICATIONS,{}),h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.APP_MAXIMIZE_EVENT_NAME)}afterMaximization(){l.dispatchEvent(h.events.EMBEDDED_MESSAGING_STORE_RESTORE_MESSAGE_AREA_SCROLL_POSITION,{}),this.restoreScrollPositionTimer||(this.restoreScrollPositionTimer=new D.default(()=>{const e=this.querySelectConversationState(),t=e?e.querySelectConversationLog():void 0;t&&t.handleScrollPositionOnMaximizeAndMinimize(!1),this.restoreScrollPositionTimer=void 0},60,Date.now()),this.restoreScrollPositionTimer.start()),this._subsequentRender?l.dispatchEvent(h.events.EMBEDDED_MESSAGING_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}):this._subsequentRender=!0}handleConversationStatusChangeForOpenedConversation(){this._conversationStatus=E.ConversationStatus.OPENED_CONVERSATION,h.util.dispatchEventToHost(E.HOST_EVENT.ON_EMBEDDED_MESSAGEING_CONVERSATION_OPENED_EVENT_NAME,{conversationId:this.configuration.conversationId})}handleConversationStatusChangeForClosedConversation(){this._conversationStatus=E.ConversationStatus.CLOSED_CONVERSATION}handleCloseConversation(){const e=this.querySelectConversationState(),t=this.configuration.devMode,n=h.authUtil.getAuthMode(this.configuration);return new Promise((i,s)=>{if(n!==E.AUTH_MODE.UNAUTH&&!t)return h.error(`Close conversation operation not permitted for authMode:${n}. Aborting.`),void s();this.conversationStatus===E.ConversationStatus.OPENED_CONVERSATION?e?(this.handleConversationStatusChangeForClosedConversation(),e.closeConversation().then(()=>{this.cleanUpFailedMessages(),i()})):(h.log("conversationState not found when attempting to close the conversation."),i()):i()})}handleCloseContainer(){h.authUtil.getAuthMode(this.configuration)!==E.AUTH_MODE.UNAUTH||this.conversationStatus!==E.ConversationStatus.OPENED_CONVERSATION?(h.LoggingUtil.logCurrentState(y,{method:"handleCloseContainer",stateMessage:"Closed the container."}),T.clearWebStorage(),h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.APP_RESET_INITIAL_STATE_EVENT_NAME)):h.error("Close container operation not permitted while an unverified conversation is active. Aborting.")}handlePrechatSubmit(e){let t={};e&&e.detail&&(t=e.detail.value),h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.APP_PRECHAT_SUBMIT,t)}handleAnnouncement(e){const t=this.template&&this.template.querySelector("embeddedmessaging-aria-live-announcer")?this.template.querySelector("embeddedmessaging-aria-live-announcer"):void 0;t&&e&&e.text&&e.options&&t.announceMessage(e.text,e.options)}handleClearUserSession(e){h.authUtil.isUserVerificationEnabled(this.configuration)?Boolean(e)&&this.getJWTIfExists()?c.revokeJwt().then(this.handleCloseContainer).catch(e=>{this.handleRevokeJWTError(e)}):this.handleCloseContainer():h.authUtil.getAuthMode(this.configuration)===E.AUTH_MODE.UNAUTH&&this.handleCloseConversation().then(this.handleCloseContainer).catch(e=>{h.error(`Something went wrong with close conversation: ${e&&e.message?e.message:e}. Closing the container.`),this.handleCloseContainer()})}handleRevokeJWTError(e){e&&e.status&&e.status>=500&&e.status<=599?(h.error(`Something went wrong while revoking JWT: ${e&&e.message?e.message:e}. Re-trying revoke JWT.`),c.revokeJwt().then(this.handleCloseContainer).catch(e=>{h.error(`Something went wrong with re-trying revoke JWT: ${e&&e.message?e.message:e}. Proceeding to close the container.`),h.LoggingUtil.logError(e,y,{method:"handleRevokeJWTError",errMessage:"Something went wrong with re-trying revoke JWT, proceeding to close the container.",errCode:e.status}),this.handleCloseContainer()})):(h.error(`Something went wrong while revoking JWT: ${e&&e.message?e.message:e}. Proceeding to close the container.`),this.handleCloseContainer())}handleAuthenticatedJWTExpiry(e){e&&e.pendingRequest&&this.renewAuthenticatedJWT([e.pendingRequest])}renewAuthenticatedJWT(e){return new Promise(t=>{this.handleGetAuthenticatedJWT().then(n=>{this.setAndStoreJWT(n,!0),this.reconnectToEventSource().then(()=>{h.LoggingUtil.logCurrentState(y,{method:"renewAuthenticatedJWT",stateMessage:"Reconnected to the event source after a successfull Authenticated JWT renewal."}),e&&(e.forEach(e=>{this.handlePendingRequest(e)}),t())})})})}handlePendingRequest(e){e&&c.sendFetchRequest(e.apiPath,e.method,e.mode,e.requestHeaders,e.requestBody).then(t=>{e.resolve&&"function"==typeof e.resolve&&e.resolve(t)}).catch(t=>c.handleSendFetchRequestError(t,e.apiPath,e.method,e.mode,e.requestHeaders,e.requestBody))}handleIdentityTokenExpiry(e){if(!e||!e.pendingRequest)return;if(this.pendingRequestQueue.push(e.pendingRequest),this.setIdentityTokenResolve)return;h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME),this.hasEmbeddedMessagingIdentityTokenExpiredEventFired=!0;const t=new Promise(e=>{this.setIdentityTokenResolve=e}),n=new Promise((e,t)=>{new D.default(()=>{t()},E.SET_IDENTITY_TOKEN_TIMEOUT_IN_MS,Date.now()).start()});Promise.race([t,n]).then(()=>{if(h.log("Valid identity token found. Fetch authenticated JWT."),1===this.pendingRequestQueue.length&&this.pendingRequestQueue[0].apiPath.includes(E.ACCESS_TOKEN_PATH)){const e=this.pendingRequestQueue[0];e.requestBody.customerIdentityToken=c.getIdentityToken(),this.handlePendingRequest(e),this.pendingRequestQueue.length=0,this.hasEmbeddedMessagingIdentityTokenExpiredEventFired=!1}else this.renewAuthenticatedJWT(this.pendingRequestQueue).then(()=>{this.pendingRequestQueue.length=0,this.hasEmbeddedMessagingIdentityTokenExpiredEventFired=!1})}).catch(e=>{h.error("Failed to fetch authenticated JWT due to setIdentityToken timeout or other error. Clearing the messaging session on all tabs."),h.LoggingUtil.logError(e,y,{method:"handleIdentityTokenExpiry",errMessage:"Failed to fetch authenticated JWT due to setIdentityToken timeout or other error. Clearing the messaging session on all tabs."}),this.handleClearUserSession(!1)})}handleSetIdentityToken(e){e?(c.setIdentityToken(e),this.setIdentityTokenResolve&&"function"==typeof this.setIdentityTokenResolve&&(this.setIdentityTokenResolve(),this.setIdentityTokenResolve=void 0)):h.warning("Received identity token is null/undefined.")}reconnectToEventSource(){const e=this.querySelectConversationState();return new Promise(t=>{e?e.reconnectToEventSource().then(()=>{t()}):(h.log("conversationState not found. Re-connect/subscribe to EventSource when conversationState is loaded."),t())})}handleRequestTranscript(){l.dispatchEvent(h.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:u.getLabel("EmbeddedMessagingIframesAndContents","DownloadInProgressNotification"),type:h.NOTIFICATION_TYPES.INFO,isDismissible:!1}),h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT)}handleRequestTranscriptSuccess(){l.dispatchEvent(h.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:u.getLabel("EmbeddedMessagingIframesAndContents","DownloadSuccessNotification"),type:h.NOTIFICATION_TYPES.SUCCESS,isDismissible:!0})}handleRequestTranscriptError(){l.dispatchEvent(h.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:u.getLabel("EmbeddedMessagingIframesAndContents","DownloadErrorNotification"),type:h.NOTIFICATION_TYPES.ERROR,isDismissible:!0})}get generateMaximizedClass(){return"containerArea"+(this.isMinimized?" minimized":"")}get generateMinimizedClass(){return"notificationArea"+(this.isMinimized?"":" maximized")}hasVisiblePrechatFields(){return(this.configuration.forms||[]).some(e=>(e.formFields=e.formFields||[],e.formType===E.FormTypes.PRE_CHAT&&e.formFields.length>0))}hasTermsAndConditions(){const e=this.configuration.termsAndConditions||{};return Boolean(e.isTermsAndConditionsEnabled)}cleanUpFailedMessages(){T.removeItemInWebStorage(E.STORAGE_KEYS.FAILED_OUTBOUND_MESSAGE_ENTRIES),h.util.sendPostMessageToOrigin(h.util.getParentWindowUrl(),h.events.EMBEDDED_MESSAGING_CLEAN_UP_WEBSTORAGE_FAILEDMESSAGES_EVENT_NAME)}getPublicConfiguration(e){const t={};return R.forEach(n=>{t[n]=e[n]}),t.util={sendTextMessage:this.publicSendTextMessage.bind(this),endSession:this.publicEndSession.bind(this)},t}handlePrechatInitialRender(){let e,t;if(this.conversationStatus===E.ConversationStatus.NOT_STARTED_CONVERSATION)e=this.querySelectPrechatState(),t=T.getItemInWebStorageByKey(E.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME);else if(this.conversationStatus===E.ConversationStatus.OPENED_CONVERSATION){const n=this.querySelectConversationState();n&&(e=n.shadowRoot&&n.shadowRoot.querySelector("embeddedmessaging-prechat-state")?n.shadowRoot.querySelector("embeddedmessaging-prechat-state"):void 0,t=n.lastInAppServiceErrorTime)}e?(e.logPrechatAvailabilityTime(t),h.util.dispatchEventToHost(E.HOST_EVENT.ON_EMBEDDED_MESSAGING_PRECHAT_LOADED,{[E.PRECHAT_DISPLAY_EVENT_DETAIL_NAME]:this.conversationStatus===E.ConversationStatus.OPENED_CONVERSATION?E.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE.SESSION:E.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE.CONVERSATION})):h.LoggingUtil.logError("Pre-Chat Availability Time",y,{method:"handlePrechatInitialRender",errMessage:"Unable to retrieve Pre-Chat state component."})}querySelectPrechatState(){return this.template&&this.template.querySelector("embeddedmessaging-prechat-state")?this.template.querySelector("embeddedmessaging-prechat-state"):void 0}querySelectConversationState(){return this.template&&this.template.querySelector("embeddedmessaging-conversation-state")?this.template.querySelector("embeddedmessaging-conversation-state"):void 0}querySelectMinimizedState(){return this.template&&this.template.querySelector("embeddedmessaging-minimized-state")?this.template.querySelector("embeddedmessaging-minimized-state"):void 0}}n.registerDecorators(U,{publicProps:{hostDomain:{config:0},customPrechatComponent:{config:0},customHeaderComponent:{config:0},conversationStatus:{config:3},shouldRenderApp:{config:1},handleBeforeUnload:{config:0}},publicMethods:["beginInitialization","getJWTIfExists","handleMinimization","handleMaximization","getPublicConfiguration"],track:{configuration:1,publicConfiguration:1,prechatConstructor:1,headerConstructor:1,conversationData:1},fields:["_conversationStatus","isMinimized","labels","brandingTokens","isInitialized","isMessageAreaEndOfScroll","restoreScrollPositionTimer","_initialRender","_subsequentRender","setIdentityTokenResolve","pendingRequestQueue","handleMessageEvents"]});const w=n.registerComponent(U,{tmpl:O,sel:"embeddedMessaging-container",apiVersion:62});e.default=w,Object.defineProperty(e,"__esModule",{value:!0})});
})();LWR.define('embeddedmessaging/container', ['embeddedMessaging/container'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embedded_service_iframe/frameLayout",["exports","lwc"],function(e,t){const n={attrs:{name:"content"},key:0},s=[];function r(e,t,r,a){const{s:o}=e;return[o("content",n,s,r)]}var a=t.registerTemplate(r);r.slots=["content"],r.stylesheets=[],r.stylesheetToken="lwc-404uu0t71gk",r.legacyStylesheetToken="embedded_service_iframe-frameLayout_frameLayout",t.freezeTemplate(r);class o extends t.LightningElement{}const l=t.registerComponent(o,{tmpl:a,sel:"embedded_service_iframe-frame-layout",apiVersion:62});e.default=l,Object.defineProperty(e,"__esModule",{value:!0})});
})();(function() { LWR.define("@view/home",["exports","dxp_data_provider/dataProxy","dxp_data_provider/userDataProvider","lwc","embeddedMessaging/container","embedded_service_iframe/frameLayout","community_builder/seoAssistant","webruntime/viewchangeNotifier","webruntime/pageDataLayerObject","community_layout/hiddenRegion","webruntime/expressions"],function(e,t,a,r,d,s,i,o,n,u,c){function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=_(t),l=_(a),m=_(d),f=_(s),y=_(i),g=_(o),v=_(n),b=_(u);function h(e,t,a,r){const{c:d,fr:s,ssf:i}=e;return[d("dxp_data_provider-user-data-provider",l.default,{props:{sfdcExpressionKey:t.attributes.dxp_data_provideruserdataprovider_1_0.sfdcExpressionKey,generatedTemplate:t.attributes.dxp_data_provideruserdataprovider_1_0.generatedTemplate,sfdcIsPreviewMode:t.attributes.dxp_data_provideruserdataprovider_1_0.sfdcIsPreviewMode,childData:t.attributes.dxp_data_provideruserdataprovider_1_0.childData,sfdcFields:t.attributes.dxp_data_provideruserdataprovider_1_0.sfdcFields},key:0},[i("",function(e,a){return s(a,[d("dxp_data_provider-data-proxy",p.default,{props:{routerContainerView:t.routerContainerView,sfdcData:e,generatedTemplate:t.attributes.dxp_data_provideruserdataprovider_1_0.generatedTemplate,routeParams:t.routeParams},key:1})],0)})])]}var w=r.registerTemplate(h);h.renderMode="light",h.stylesheets=[],h.stylesheetToken="lwc-joe6bta6e1",h.legacyStylesheetToken="___at___view-home_home",r.freezeTemplate(h);const x={attrs:{"data-component-id":"frameLayout-8d01"},key:0},T={styleDecls:[],slotAssignment:"content",attrs:{"data-component-id":"container-ca21"},key:1},k={key:2},P=[],D={"component-wrapper-spacer":!0},M={"data-component-id":"seoAssistant-8188"},H={slotAssignment:"sfdcHiddenRegion",attrs:{"data-component-id":"viewchangeNotifier-0acd"},key:4},I={slotAssignment:"sfdcHiddenRegion",attrs:{"data-component-id":"pageDataLayerObject-3806"},key:5};function j(e,t,a,r){const{c:d}=e;return[d("embedded_service_iframe-frame-layout",f.default,x,[d("embeddedmessaging-container",m.default,T)]),d("community_layout-hidden-region",b.default,k,[d("community_builder-seo-assistant",y.default,{styleDecls:P,classMap:D,slotAssignment:"sfdcHiddenRegion",attrs:M,props:{recordId:t.attributes.community_builderseoassistant_2_0.recordId,pageTitle:t.attributes.community_builderseoassistant_2_0.pageTitle,description:t.attributes.community_builderseoassistant_2_0.description,customHeadTags:t.attributes.community_builderseoassistant_2_0.customHeadTags},key:3}),d("webruntime-viewchange-notifier",g.default,H),d("webruntime-page-data-layer-object",v.default,I)])]}var A=r.registerTemplate(j);j.renderMode="light",j.stylesheets=[],j.stylesheetToken="lwc-5fc3onb2uht",j.legacyStylesheetToken="___at___view-home_dxp_data_provideruserdataprovider_1_0_html",r.freezeTemplate(j);const R=r.registerComponent(class{static get html(){return w}static get attributes(){return function(e){return{dxp_data_provideruserdataprovider_1_0:{sfdcIsPreviewMode:!1,sfdcFields:[],childData:{},sfdcExpressionKey:"User",generatedTemplate:{attributes:t=>({community_builderseoassistant_2_0:{recordId:c.EXPR_CLOSURE(()=>e.routeParams.recordId||""),customHeadTags:"",pageTitle:"Home",description:""}}),html:A}}}}}},{tmpl:w,sel:"@view-home",apiVersion:62});e.default=R,Object.defineProperty(e,"__esModule",{value:!0})});
})();