Mini Kabibi Habibi
"use strict";(()=>{var e6=Object.create;var bf=Object.defineProperty;var t6=Object.getOwnPropertyDescriptor;var r6=Object.getOwnPropertyNames;var n6=Object.getPrototypeOf,o6=Object.prototype.hasOwnProperty;var i6=(e,t)=>()=>(e&&(t=e(e=0)),t);var j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var a6=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(var r=r6(t),a=0,l=r.length,u;a<l;a++)u=r[a],!o6.call(e,u)&&u!==n&&bf(e,u,{get:(c=>t[c]).bind(null,u),enumerable:!(o=t6(t,u))||o.enumerable});return e};var m=(e,t,n)=>(n=e!=null?e6(n6(e)):{},a6(t||!e||!e.__esModule?bf(n,"default",{value:e,enumerable:!0}):n,e));var Cf=j((exports,module)=>{s();if(exports.__platformBundles!==void 0)for(platformBundles=exports.__platformBundles.concat(),Reflect.deleteProperty(exports,"__platformBundles"),i=0;i<platformBundles.length;++i)console.log("PB start "+(i+1)+"/"+platformBundles.length),eval(platformBundles[i]),console.log("PB done "+(i+1)+"/"+platformBundles.length);var platformBundles,i});var global,s=i6(()=>{global=new Function("return this;")();Cf()});var Sf=j((UC,vf)=>{s();vf.exports=OfficePlatformGlobal.Ply.AppRegistry});var xf=j((KC,yf)=>{s();yf.exports=OfficePlatformGlobal.ReactNativeReka});var kf=j((ZC,cn)=>{s();function mc(e,t){return cn.exports=mc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},cn.exports.__esModule=!0,cn.exports.default=cn.exports,mc(e,t)}cn.exports=mc,cn.exports.__esModule=!0,cn.exports.default=cn.exports});var Fe=j((XC,Ki)=>{s();var s6=kf();function l6(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,s6(e,t)}Ki.exports=l6,Ki.exports.__esModule=!0,Ki.exports.default=Ki.exports});var R=j((JC,Tf)=>{s();Tf.exports=OfficePlatformGlobal.React});var pc=j((iv,$i)=>{s();function c6(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}$i.exports=c6,$i.exports.__esModule=!0,$i.exports.default=$i.exports});var Ff=j((sv,Zi)=>{s();var d6=pc();function f6(e){if(Array.isArray(e))return d6(e)}Zi.exports=f6,Zi.exports.__esModule=!0,Zi.exports.default=Zi.exports});var Rf=j((uv,Qi)=>{s();function g6(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}Qi.exports=g6,Qi.exports.__esModule=!0,Qi.exports.default=Qi.exports});var bc=j((dv,Xi)=>{s();var Hf=pc();function m6(e,t){if(e){if(typeof e=="string")return Hf(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hf(e,t):void 0}}Xi.exports=m6,Xi.exports.__esModule=!0,Xi.exports.default=Xi.exports});var wf=j((gv,Yi)=>{s();function h6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Yi.exports=h6,Yi.exports.__esModule=!0,Yi.exports.default=Yi.exports});var Ds=j((hv,Ji)=>{s();var p6=Ff(),b6=Rf(),C6=bc(),v6=wf();function S6(e){return p6(e)||b6(e)||C6(e)||v6()}Ji.exports=S6,Ji.exports.__esModule=!0,Ji.exports.default=Ji.exports});var X=j((Jv,If)=>{s();If.exports=OfficePlatformGlobal.ReactNative.Components});var Of=j((sS,na)=>{s();function k6(e){if(Array.isArray(e))return e}na.exports=k6,na.exports.__esModule=!0,na.exports.default=na.exports});var _f=j((uS,oa)=>{s();function T6(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,r,a,l,u=[],c=!0,d=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);c=!0);}catch(g){d=!0,r=g}finally{try{if(!c&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw r}}return u}}oa.exports=T6,oa.exports.__esModule=!0,oa.exports.default=oa.exports});var Df=j((dS,ia)=>{s();function B6(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}ia.exports=B6,ia.exports.__esModule=!0,ia.exports.default=ia.exports});var Dn=j((gS,aa)=>{s();var F6=Of(),R6=_f(),H6=bc(),w6=Df();function A6(e,t){return F6(e)||R6(e,t)||H6(e,t)||w6()}aa.exports=A6,aa.exports.__esModule=!0,aa.exports.default=aa.exports});var zf=j((yS,Mf)=>{"use strict";s();var I6=function(t,n,o,r,a,l,u,c){if(!t){var d;if(n===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[o,r,a,l,u,c],h=0;d=new Error(n.replace(/%s/g,function(){return g[h++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}};Mf.exports=I6});var c0=j((Gk,u0)=>{s();u0.exports={color:{anchor:{primary:"#394146",shade10:"#333a3f",shade20:"#2b3135",shade30:"#202427",shade40:"#111315",shade50:"#090a0b",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},beige:{primary:"#7a7574",shade10:"#6e6968",shade20:"#5d5958",shade30:"#444241",shade40:"#252323",shade50:"#141313",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},berry:{primary:"#c239b3",shade10:"#af33a1",shade20:"#932b88",shade30:"#6d2064",shade40:"#3a1136",shade50:"#1f091d",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},black:"#000000",blackAlpha10:"#0000001a",blackAlpha20:"#00000033",blackAlpha30:"#0000004d",blackAlpha40:"#00000066",blackAlpha5:"#0000000d",blackAlpha50:"#00000080",blackAlpha60:"#00000099",blackAlpha70:"#000000b3",blackAlpha80:"#000000cc",blackAlpha90:"#000000e6",blue:{primary:"#0078d4",shade10:"#006cbf",shade20:"#005ba1",shade30:"#004377",shade40:"#002440",shade50:"#001322",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},brand:{10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc",primary:"#185abd",shade10:"#1651aa",shade20:"#13458f",shade30:"#0e336a",shade40:"#004578",shade50:"#043862",shade60:"#092c47",tint10:"#2e6ac5",tint20:"#6794d7",tint30:"#aec6eb",tint40:"#d2e0f4",tint50:"#deecf9",tint60:"#eff6fc"},brandShadowAmbient:"#0000004d",brandShadowKey:"#00000040",brass:{primary:"#986f0b",shade10:"#89640a",shade20:"#745408",shade30:"#553e06",shade40:"#2e2103",shade50:"#181202",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},bronze:{primary:"#a74109",shade10:"#963a08",shade20:"#7f3107",shade30:"#5e2405",shade40:"#321303",shade50:"#1b0a01",tint10:"#b2521e",tint20:"#bc6535",tint30:"#ca8057",tint40:"#e5bba4",tint50:"#f1d9cc",tint60:"#fbf5f2"},brown:{primary:"#8e562e",shade10:"#804d29",shade20:"#6c4123",shade30:"#50301a",shade40:"#2b1a0e",shade50:"#170e07",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},burgundy:{primary:"#a4262c",shade10:"#942228",shade20:"#7d1d21",shade30:"#5c1519",shade40:"#310b0d",shade50:"#1a0607",tint10:"#af393e",tint20:"#ba4d52",tint30:"#c86c70",tint40:"#e4afb2",tint50:"#f0d3d4",tint60:"#fbf4f4"},charcoal:{primary:"#393939",shade10:"#333333",shade20:"#2b2b2b",shade30:"#202020",shade40:"#111111",shade50:"#090909",tint10:"#515151",tint20:"#686868",tint30:"#888888",tint40:"#c4c4c4",tint50:"#dfdfdf",tint60:"#f7f7f7"},cornflower:{primary:"#4f6bed",shade10:"#4760d5",shade20:"#3c51b4",shade30:"#2c3c85",shade40:"#182047",shade50:"#0d1126",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},cranberry:{primary:"#c50f1f",shade10:"#b10e1c",shade20:"#960b18",shade30:"#6e0811",shade40:"#3b0509",shade50:"#200205",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},cyan:{primary:"#0099bc",shade10:"#008aa9",shade20:"#00748f",shade30:"#005669",shade40:"#002e38",shade50:"#00181e",tint10:"#18a4c4",tint20:"#31afcc",tint30:"#56bfd7",tint40:"#a4deeb",tint50:"#cdedf4",tint60:"#f2fafc"},darkBlue:{primary:"#003966",shade10:"#00335c",shade20:"#002b4e",shade30:"#002039",shade40:"#00111f",shade50:"#000910",tint10:"#0e4a78",tint20:"#215c8b",tint30:"#4178a3",tint40:"#92b5d1",tint50:"#c2d6e7",tint60:"#eff4f9"},darkBrown:{primary:"#4d291c",shade10:"#452519",shade20:"#3a1f15",shade30:"#2b1710",shade40:"#170c08",shade50:"#0c0704",tint10:"#623a2b",tint20:"#784d3e",tint30:"#946b5c",tint40:"#caada3",tint50:"#e3d2cb",tint60:"#f8f3f2"},darkGreen:{primary:"#0b6a0b",shade10:"#0a5f0a",shade20:"#085108",shade30:"#063b06",shade40:"#032003",shade50:"#021102",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},darkOrange:{primary:"#da3b01",shade10:"#c43501",shade20:"#a62d01",shade30:"#7a2101",shade40:"#411200",shade50:"#230900",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},darkPurple:{primary:"#401b6c",shade10:"#3a1861",shade20:"#311552",shade30:"#240f3c",shade40:"#130820",shade50:"#0a0411",tint10:"#512b7e",tint20:"#633e8f",tint30:"#7e5ca7",tint40:"#b9a3d3",tint50:"#d8cce7",tint60:"#f5f2f9"},darkRed:{primary:"#750b1c",shade10:"#690a19",shade20:"#590815",shade30:"#420610",shade40:"#230308",shade50:"#130204",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},darkTeal:{primary:"#006666",shade10:"#005c5c",shade20:"#004e4e",shade30:"#003939",shade40:"#001f1f",shade50:"#001010",tint10:"#0e7878",tint20:"#218b8b",tint30:"#41a3a3",tint40:"#92d1d1",tint50:"#c2e7e7",tint60:"#eff9f9"},excel:{primary:"#107c41",shade10:"#0f703b",shade20:"#0c5f32",shade30:"#094624",shade40:"#094624",shade50:"#052912",shade60:"#03160a",tint10:"#218d51",tint20:"#55b17e",tint30:"#a0d8b9",tint40:"#caead8",tint50:"#a0d8b9",tint60:"#caead8"},forest:{primary:"#498205",shade10:"#427505",shade20:"#376304",shade30:"#294903",shade40:"#162702",shade50:"#0c1501",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},gold:{primary:"#c19c00",shade10:"#ae8c00",shade20:"#937700",shade30:"#6c5700",shade40:"#3a2f00",shade50:"#1f1900",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},grape:{primary:"#881798",shade10:"#7a1589",shade20:"#671174",shade30:"#4c0d55",shade40:"#29072e",shade50:"#160418",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},green:{primary:"#107c10",shade10:"#0e700e",shade20:"#0c5e0c",shade30:"#094509",shade40:"#052505",shade50:"#031403",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},grey10:"#1a1a1a",grey10Alpha10:"#1a1a1a1a",grey10Alpha20:"#1a1a1a33",grey10Alpha30:"#1a1a1a4d",grey10Alpha40:"#1a1a1a66",grey10Alpha5:"#1a1a1a0d",grey10Alpha50:"#1a1a1a80",grey10Alpha60:"#1a1a1a99",grey10Alpha70:"#1a1a1ab3",grey10Alpha80:"#1a1a1acc",grey10Alpha90:"#1a1a1ae6",grey12:"#1f1f1f",grey12Alpha10:"#1f1f1f1a",grey12Alpha20:"#1f1f1f33",grey12Alpha30:"#1f1f1f4d",grey12Alpha40:"#1f1f1f66",grey12Alpha5:"#1f1f1f0d",grey12Alpha50:"#1f1f1f80",grey12Alpha60:"#1f1f1f99",grey12Alpha70:"#1f1f1fb3",grey12Alpha80:"#1f1f1fcc",grey12Alpha90:"#1f1f1fe6",grey14:"#242424",grey14Alpha10:"#2424241a",grey14Alpha20:"#24242433",grey14Alpha30:"#2424244d",grey14Alpha40:"#24242466",grey14Alpha5:"#2424240d",grey14Alpha50:"#24242480",grey14Alpha60:"#24242499",grey14Alpha70:"#242424b3",grey14Alpha80:"#242424cc",grey14Alpha90:"#242424e6",grey16:"#292929",grey18:"#2e2e2e",grey2:"#050505",grey20:"#333333",grey22:"#383838",grey24:"#3d3d3d",grey26:"#424242",grey28:"#474747",grey30:"#4d4d4d",grey32:"#525252",grey34:"#575757",grey36:"#5c5c5c",grey38:"#616161",grey4:"#0a0a0a",grey40:"#666666",grey42:"#6b6b6b",grey44:"#707070",grey46:"#757575",grey48:"#7a7a7a",grey50:"#808080",grey52:"#858585",grey54:"#8a8a8a",grey56:"#8f8f8f",grey58:"#949494",grey6:"#0f0f0f",grey60:"#999999",grey62:"#9e9e9e",grey64:"#a3a3a3",grey66:"#a8a8a8",grey68:"#adadad",grey70:"#b3b3b3",grey72:"#b8b8b8",grey74:"#bdbdbd",grey76:"#c2c2c2",grey78:"#c7c7c7",grey8:"#141414",grey80:"#cccccc",grey82:"#d1d1d1",grey84:"#d6d6d6",grey86:"#dbdbdb",grey88:"#e0e0e0",grey90:"#e6e6e6",grey92:"#ebebeb",grey94:"#f0f0f0",grey96:"#f5f5f5",grey98:"#fafafa",hotPink:{primary:"#e3008c",shade10:"#cc007e",shade20:"#ad006a",shade30:"#7f004e",shade40:"#44002a",shade50:"#240016",tint10:"#e61c99",tint20:"#ea38a6",tint30:"#ee5fb7",tint40:"#f7adda",tint50:"#fbd2eb",tint60:"#fef4fa"},lavender:{primary:"#7160e8",shade10:"#6656d1",shade20:"#5649b0",shade30:"#3f3682",shade40:"#221d46",shade50:"#120f25",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},lightBlue:{primary:"#3a96dd",shade10:"#3487c7",shade20:"#2c72a8",shade30:"#20547c",shade40:"#112d42",shade50:"#091823",tint10:"#4fa1e1",tint20:"#65ade5",tint30:"#83bdeb",tint40:"#bfddf5",tint50:"#dcedfa",tint60:"#f6fafe"},lightGreen:{primary:"#13a10e",shade10:"#11910d",shade20:"#0e7a0b",shade30:"#0b5a08",shade40:"#063004",shade50:"#031a02",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},lightTeal:{primary:"#00b7c3",shade10:"#00a5af",shade20:"#008b94",shade30:"#00666d",shade40:"#00373a",shade50:"#001d1f",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},lilac:{primary:"#b146c2",shade10:"#9f3faf",shade20:"#863593",shade30:"#63276d",shade40:"#35153a",shade50:"#1c0b1f",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},lime:{primary:"#73aa24",shade10:"#689920",shade20:"#57811b",shade30:"#405f14",shade40:"#23330b",shade50:"#121b06",tint10:"#81b437",tint20:"#90be4c",tint30:"#a4cc6c",tint40:"#cfe5af",tint50:"#e5f1d3",tint60:"#f8fcf4"},magenta:{primary:"#bf0077",shade10:"#ac006b",shade20:"#91005a",shade30:"#6b0043",shade40:"#390024",shade50:"#1f0013",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},marigold:{primary:"#eaa300",shade10:"#d39300",shade20:"#b27c00",shade30:"#835b00",shade40:"#463100",shade50:"#251a00",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},mink:{primary:"#5d5a58",shade10:"#54514f",shade20:"#474443",shade30:"#343231",shade40:"#1c1b1a",shade50:"#0f0e0e",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},navy:{primary:"#0027b4",shade10:"#0023a2",shade20:"#001e89",shade30:"#001665",shade40:"#000c36",shade50:"#00061d",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},neutralShadowAmbient:"#0000001f",neutralShadowAmbientDarker:"#00000033",neutralShadowAmbientLighter:"#0000000f",neutralShadowKey:"#00000024",neutralShadowKeyDarker:"#0000003d",neutralShadowKeyLighter:"#00000012",office:{primary:"#d83b01",shade10:"#c33400",shade20:"#a52c00",shade30:"#792000",shade40:"#792000",shade50:"#4d2415",shade60:"#29130b",tint10:"#dd4f1b",tint20:"#e8825d",tint30:"#f4beaa",tint40:"#f9dcd1",tint50:"#f4beaa",tint60:"#f9dcd1"},oneNote:{primary:"#80397b",shade10:"#6c2f68",shade20:"#52254f",shade30:"#3c1a3a",shade40:"#430e60",shade50:"#430e60",shade60:"#430e60",tint10:"#9e5499",tint20:"#d4a9d1",tint30:"#e0bfde",tint40:"#f0daee",tint50:"#e6d1f2",tint60:"#e6d1f2"},orange:{primary:"#f7630c",shade10:"#de590b",shade20:"#bc4b09",shade30:"#8a3707",shade40:"#4a1e04",shade50:"#271002",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},orchid:{primary:"#8764b8",shade10:"#795aa6",shade20:"#674c8c",shade30:"#4c3867",shade40:"#281e37",shade50:"#16101d",tint10:"#9373c0",tint20:"#a083c9",tint30:"#b29ad4",tint40:"#d7caea",tint50:"#e9e2f4",tint60:"#f9f8fc"},outlook:{primary:"#0078d4",shade10:"#106ebe",shade20:"#1664a7",shade30:"#135995",shade40:"#004578",shade50:"#043862",shade60:"#092c47",tint10:"#2488d8",tint20:"#69afe5",tint30:"#b3d6f2",tint40:"#cce3f5",tint50:"#deecf9",tint60:"#eff6fc"},peach:{primary:"#ff8c00",shade10:"#e67e00",shade20:"#c26a00",shade30:"#8f4e00",shade40:"#4d2a00",shade50:"#291600",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},pink:{primary:"#e43ba6",shade10:"#cd3595",shade20:"#ad2d7e",shade30:"#80215d",shade40:"#441232",shade50:"#24091b",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},platinum:{primary:"#69797e",shade10:"#5f6d71",shade20:"#505c60",shade30:"#3b4447",shade40:"#1f2426",shade50:"#111314",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},plum:{primary:"#77004d",shade10:"#6b0045",shade20:"#5a003b",shade30:"#43002b",shade40:"#240017",shade50:"#13000c",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},powerPoint:{primary:"#c43e1c",shade10:"#b13719",shade20:"#952f15",shade30:"#6e220f",shade40:"#6e220f",shade50:"#3c1805",shade60:"#200d03",tint10:"#cb5031",tint20:"#dc816a",tint30:"#edbcb0",tint40:"#f6dbd4",tint50:"#edbcb0",tint60:"#f6dbd4"},pumpkin:{primary:"#ca5010",shade10:"#b6480e",shade20:"#9a3d0c",shade30:"#712d09",shade40:"#3d1805",shade50:"#200d03",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},purple:{primary:"#5c2e91",shade10:"#532982",shade20:"#46236e",shade30:"#341a51",shade40:"#1c0e2b",shade50:"#0f0717",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},red:{primary:"#d13438",shade10:"#bc2f32",shade20:"#9f282b",shade30:"#751d1f",shade40:"#3f1011",shade50:"#210809",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},royalBlue:{primary:"#004e8c",shade10:"#00467e",shade20:"#003b6a",shade30:"#002c4e",shade40:"#00172a",shade50:"#000c16",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},seafoam:{primary:"#00cc6a",shade10:"#00b85f",shade20:"#009b51",shade30:"#00723b",shade40:"#003d20",shade50:"#002111",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},silver:{primary:"#859599",shade10:"#78868a",shade20:"#657174",shade30:"#4a5356",shade40:"#282d2e",shade50:"#151818",tint10:"#92a1a5",tint20:"#a0aeb1",tint30:"#b3bfc2",tint40:"#d8dfe0",tint50:"#eaeeef",tint60:"#fafbfb"},steel:{primary:"#005b70",shade10:"#005265",shade20:"#004555",shade30:"#00333f",shade40:"#001b22",shade50:"#000f12",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},teal:{primary:"#038387",shade10:"#037679",shade20:"#026467",shade30:"#02494c",shade40:"#012728",shade50:"#001516",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},white:"#ffffff",whiteAlpha10:"#ffffff1a",whiteAlpha20:"#ffffff33",whiteAlpha30:"#ffffff4d",whiteAlpha40:"#ffffff66",whiteAlpha5:"#ffffff0d",whiteAlpha50:"#ffffff80",whiteAlpha60:"#ffffff99",whiteAlpha70:"#ffffffb3",whiteAlpha80:"#ffffffcc",whiteAlpha90:"#ffffffe6",word:{primary:"#185abd",shade10:"#1651aa",shade20:"#13458f",shade30:"#0e336a",shade40:"#0e336a",shade50:"#0c2145",shade60:"#071225",tint10:"#2e6ac5",tint20:"#6794d7",tint30:"#aec6eb",tint40:"#d2e0f4",tint50:"#aec6eb",tint60:"#d2e0f4"},yellow:{primary:"#fde300",shade10:"#e4cc00",shade20:"#c0ad00",shade30:"#817400",shade40:"#4c4400",shade50:"#282400",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},hcButtonFace:"PlatformColor(ButtonFace)",hcButtonText:"PlatformColor(ButtonText)",hcCanvas:"PlatformColor(Window)",hcCanvasText:"PlatformColor(WindowText)",hcDisabled:"PlatformColor(GrayText)",hcHighlight:"PlatformColor(Highlight)",hcHighlightText:"PlatformColor(HighlightText)",hcHyperlink:"PlatformColor(Hotlight)"},corner:{radius120:12,radius20:2,radius40:4,radius60:6,radius80:8,radiusCircular:9999,radiusNone:0},font:{family:{base:"Segoe UI",monospace:"Consolas",numeric:"Bahnschrift"},lineHeight100:14,lineHeight1000:92,lineHeight200:16,lineHeight300:20,lineHeight400:22,lineHeight500:26,lineHeight600:32,lineHeight700:36,lineHeight800:40,lineHeight900:52,size100:10,size1000:68,size200:12,size300:14,size400:16,size500:20,size600:24,size700:28,size800:32,size900:40,weight:{bold:"700",medium:"500",regular:"400",semibold:"600"}},size100:10,size120:12,size1200:120,size160:16,size20:2,size200:20,size240:24,size280:28,size320:32,size360:36,size40:4,size400:40,size480:48,size560:56,size60:6,size640:64,size720:72,size80:8,size800:80,sizeNone:0,stroke:{width05:.5,width10:1,width15:1.5,width20:2,width30:3,width40:4,width60:6,widthNone:0}}});var _c=j((Qk,f0)=>{s();f0.exports={shadow16:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:8,blur:16}],shadow2:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:1,blur:2}],shadow28:[{color:"#00000066",x:0,y:0,blur:8},{color:"#0000007a",x:0,y:14,blur:28}],shadow4:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:2,blur:4}],shadow64:[{color:"#00000066",x:0,y:0,blur:8},{color:"#0000007a",x:0,y:32,blur:64}],shadow8:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:4,blur:8}],shadowBrand16:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:8,blur:16}],shadowBrand2:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:1,blur:2}],shadowBrand28:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:14,blur:28}],shadowBrand4:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:2,blur:4}],shadowBrand64:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:32,blur:64}],shadowBrand8:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:4,blur:8}]}});var m0=j((Yk,g0)=>{s();g0.exports={brandBackground:{rest:"#1651aa",hover:"#185abd",pressed:"#004578",selected:"#13458f"},brandBackground2:{rest:"#004578"},brandBackgroundStatic:{rest:"#185abd"},brandForeground1:{rest:"#6794d7"},brandForeground2:{rest:"#aec6eb"},brandForegroundLink:{rest:"#2e6ac5",hover:"#aec6eb",pressed:"#6794d7",selected:"#2e6ac5"},brandStroke1:{rest:"#2e6ac5"},brandStroke2:{rest:"#0e336a"},compoundBrandBackground1:{rest:"#2e6ac5",hover:"#6794d7",pressed:"#185abd"},compoundBrandForeground1:{rest:"#2e6ac5",hover:"#6794d7",pressed:"#185abd"},compoundBrandStroke1:{rest:"#2e6ac5",hover:"#6794d7",pressed:"#185abd"},dangerBackground1:{rest:"#3f1011"},dangerBackground2:{rest:"#751d1f"},dangerBackground3:{rest:"#d13438"},dangerBorder1:{rest:"#d13438"},dangerBorder2:{rest:"#dc5e62"},dangerBorderActive:{rest:"#e37d80"},dangerForeground1:{rest:"#e37d80"},dangerForeground2:{rest:"#f1bbbc"},dangerForeground3:{rest:"#e37d80"},dangerForegroundInverted:{rest:"#d13438"},neutralBackground1:{rest:"#292929",hover:"#3d3d3d",pressed:"#1f1f1f",selected:"#383838"},neutralBackground2:{rest:"#1f1f1f",hover:"#333333",pressed:"#141414",selected:"#2e2e2e"},neutralBackground3:{rest:"#141414",hover:"#292929",pressed:"#0a0a0a",selected:"#242424"},neutralBackground4:{rest:"#0a0a0a",hover:"#1f1f1f",pressed:"#000000",selected:"#1a1a1a"},neutralBackground5:{rest:"#000000",hover:"#141414",pressed:"#050505",selected:"#0f0f0f"},neutralBackground6:{rest:"#333333"},neutralBackgroundDisabled:{rest:"#141414"},neutralBackgroundInverted:{rest:"#ffffff"},neutralForeground1:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralForeground2:{rest:"#d6d6d6",hover:"#ffffff",pressed:"#ffffff",brandHover:"#6794d7",brandPressed:"#2e6ac5",brandSelected:"#6794d7",selected:"#ffffff"},neutralForeground3:{rest:"#adadad",hover:"#d6d6d6",pressed:"#d6d6d6",brandHover:"#6794d7",brandPressed:"#2e6ac5",brandSelected:"#6794d7",selected:"#d6d6d6"},neutralForeground4:{rest:"#999999"},neutralForegroundDisabled:{rest:"#5c5c5c"},neutralForegroundInverted:{rest:"#242424"},neutralForegroundInvertedLink:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralForegroundOnBrand:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralStencil1:{rest:"#333333"},neutralStencil2:{rest:"#575757"},neutralStroke1:{rest:"#666666",hover:"#757575",pressed:"#6b6b6b",selected:"#707070"},neutralStroke2:{rest:"#525252"},neutralStroke3:{rest:"#3d3d3d"},neutralStrokeAccessible:{rest:"#adadad",hover:"#bdbdbd",pressed:"#b3b3b3",selected:"#6794d7"},neutralStrokeDisabled:{rest:"#424242"},outofofficeBackground1:{rest:"#3a1136"},outofofficeBackground2:{rest:"#6d2064"},outofofficeBackground3:{rest:"#c239b3"},outofofficeBorder1:{rest:"#c239b3"},outofofficeBorder2:{rest:"#d161c4"},outofofficeBorderActive:{rest:"#da7ed0"},outofofficeForeground1:{rest:"#da7ed0"},outofofficeForeground2:{rest:"#edbbe7"},outofofficeForeground3:{rest:"#d161c4"},severeBackground1:{rest:"#411200"},severeBackground2:{rest:"#7a2101"},severeBackground3:{rest:"#da3b01"},severeBorder1:{rest:"#da3b01"},severeBorder2:{rest:"#e9835e"},severeBorderActive:{rest:"#e9835e"},severeForeground1:{rest:"#e9835e"},severeForeground2:{rest:"#f4bfab"},severeForeground3:{rest:"#e9835e"},strokeFocus1:{rest:"#000000"},strokeFocus2:{rest:"#ffffff"},subtleBackground:{rest:"#00000000",hover:"#383838",pressed:"#2e2e2e",selected:"#333333"},successBackground1:{rest:"#052505"},successBackground2:{rest:"#094509"},successBackground3:{rest:"#107c10"},successBorder1:{rest:"#107c10"},successBorder2:{rest:"#9fd89f"},successBorderActive:{rest:"#54b054"},successForeground1:{rest:"#54b054"},successForeground2:{rest:"#9fd89f"},successForeground3:{rest:"#9fd89f"},successForegroundInverted:{rest:"#107c10"},transparentBackground:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",selected:"#00000000"},transparentStroke:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",disabled:"#00000000"},warningBackground1:{rest:"#4c4400"},warningBackground2:{rest:"#817400"},warningBackground3:{rest:"#fde300"},warningBorder1:{rest:"#fde300"},warningBorder2:{rest:"#fdea3d"},warningBorderActive:{rest:"#feee66"},warningForeground1:{rest:"#feee66"},warningForeground2:{rest:"#fef7b2"},warningForeground3:{rest:"#fdea3d"},warningForegroundInverted:{rest:"#817400"}}});var p0=j((eT,h0)=>{s();h0.exports={shadow16:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:8,blur:16}],shadow2:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:1,blur:2}],shadow28:[{color:"#00000066",x:0,y:0,blur:8},{color:"#0000007a",x:0,y:14,blur:28}],shadow4:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:2,blur:4}],shadow64:[{color:"#00000066",x:0,y:0,blur:8},{color:"#0000007a",x:0,y:32,blur:64}],shadow8:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:4,blur:8}],shadowBrand16:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:8,blur:16}],shadowBrand2:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:1,blur:2}],shadowBrand28:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:14,blur:28}],shadowBrand4:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:2,blur:4}],shadowBrand64:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:32,blur:64}],shadowBrand8:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:4,blur:8}]}});var C0=j((rT,b0)=>{s();b0.exports={brandBackground:{rest:"#185abd",hover:"#1651aa",pressed:"#004578",selected:"#13458f"},brandBackground2:{rest:"#eff6fc"},brandBackgroundStatic:{rest:"#185abd"},brandForeground1:{rest:"#185abd"},brandForeground2:{rest:"#1651aa"},brandForegroundLink:{rest:"#1651aa",hover:"#13458f",pressed:"#004578",selected:"#1651aa"},brandStroke1:{rest:"#185abd"},brandStroke2:{rest:"#d2e0f4"},compoundBrandBackground1:{rest:"#185abd",hover:"#1651aa",pressed:"#13458f"},compoundBrandForeground1:{rest:"#185abd",hover:"#1651aa",pressed:"#13458f"},compoundBrandStroke1:{rest:"#185abd",hover:"#1651aa",pressed:"#13458f"},dangerBackground1:{rest:"#fdf6f6"},dangerBackground2:{rest:"#f1bbbc"},dangerBackground3:{rest:"#d13438"},dangerBorder1:{rest:"#f1bbbc"},dangerBorder2:{rest:"#d13438"},dangerBorderActive:{rest:"#d13438"},dangerForeground1:{rest:"#bc2f32"},dangerForeground2:{rest:"#751d1f"},dangerForeground3:{rest:"#d13438"},dangerForegroundInverted:{rest:"#dc5e62"},neutralBackground1:{rest:"#ffffff",hover:"#f5f5f5",pressed:"#e0e0e0",selected:"#ebebeb"},neutralBackground2:{rest:"#fafafa",hover:"#f0f0f0",pressed:"#dbdbdb",selected:"#e6e6e6"},neutralBackground3:{rest:"#f5f5f5",hover:"#ebebeb",pressed:"#d6d6d6",selected:"#e0e0e0"},neutralBackground4:{rest:"#f0f0f0",hover:"#fafafa",pressed:"#f5f5f5",selected:"#ffffff"},neutralBackground5:{rest:"#ebebeb",hover:"#f5f5f5",pressed:"#f0f0f0",selected:"#fafafa"},neutralBackground6:{rest:"#e6e6e6"},neutralBackgroundDisabled:{rest:"#f0f0f0"},neutralBackgroundInverted:{rest:"#616161"},neutralForeground1:{rest:"#242424",hover:"#242424",pressed:"#242424",selected:"#242424"},neutralForeground2:{rest:"#424242",hover:"#242424",pressed:"#242424",brandHover:"#185abd",brandPressed:"#1651aa",brandSelected:"#185abd",selected:"#242424"},neutralForeground3:{rest:"#616161",hover:"#424242",pressed:"#424242",brandHover:"#185abd",brandPressed:"#1651aa",brandSelected:"#185abd",selected:"#424242"},neutralForeground4:{rest:"#707070"},neutralForegroundDisabled:{rest:"#bdbdbd"},neutralForegroundInverted:{rest:"#ffffff"},neutralForegroundInvertedLink:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralForegroundOnBrand:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralStencil1:{rest:"#e6e6e6"},neutralStencil2:{rest:"#fafafa"},neutralStroke1:{rest:"#d1d1d1",hover:"#c7c7c7",pressed:"#b3b3b3",selected:"#bdbdbd"},neutralStroke2:{rest:"#e0e0e0"},neutralStroke3:{rest:"#f0f0f0"},neutralStrokeAccessible:{rest:"#616161",hover:"#575757",pressed:"#4d4d4d",selected:"#185abd"},neutralStrokeDisabled:{rest:"#e0e0e0"},outofofficeBackground1:{rest:"#fdf5fc"},outofofficeBackground2:{rest:"#edbbe7"},outofofficeBackground3:{rest:"#c239b3"},outofofficeBorder1:{rest:"#edbbe7"},outofofficeBorder2:{rest:"#c239b3"},outofofficeBorderActive:{rest:"#c239b3"},outofofficeForeground1:{rest:"#af33a1"},outofofficeForeground2:{rest:"#6d2064"},outofofficeForeground3:{rest:"#c239b3"},severeBackground1:{rest:"#fdf6f3"},severeBackground2:{rest:"#f4bfab"},severeBackground3:{rest:"#da3b01"},severeBorder1:{rest:"#f4bfab"},severeBorder2:{rest:"#da3b01"},severeBorderActive:{rest:"#da3b01"},severeForeground1:{rest:"#c43501"},severeForeground2:{rest:"#7a2101"},severeForeground3:{rest:"#da3b01"},strokeFocus1:{rest:"#ffffff"},strokeFocus2:{rest:"#000000"},subtleBackground:{rest:"#00000000",hover:"#f5f5f5",pressed:"#e0e0e0",selected:"#ebebeb"},successBackground1:{rest:"#f1faf1"},successBackground2:{rest:"#9fd89f"},successBackground3:{rest:"#107c10"},successBorder1:{rest:"#9fd89f"},successBorder2:{rest:"#107c10"},successBorderActive:{rest:"#107c10"},successForeground1:{rest:"#0e700e"},successForeground2:{rest:"#094509"},successForeground3:{rest:"#107c10"},successForegroundInverted:{rest:"#359b35"},transparentBackground:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",selected:"#00000000"},transparentStroke:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",disabled:"#00000000"},warningBackground1:{rest:"#fffef5"},warningBackground2:{rest:"#fef7b2"},warningBackground3:{rest:"#fde300"},warningBorder1:{rest:"#fef7b2"},warningBorder2:{rest:"#fde300"},warningBorderActive:{rest:"#fde300"},warningForeground1:{rest:"#817400"},warningForeground2:{rest:"#817400"},warningForeground3:{rest:"#fde300"},warningForegroundInverted:{rest:"#fef7b2"}}});var S0=j((oT,v0)=>{s();v0.exports={shadow16:[{color:"#0000001f",x:0,y:0,blur:2},{color:"#00000024",x:0,y:8,blur:16}],shadow2:[{color:"#0000001f",x:0,y:0,blur:2},{color:"#00000024",x:0,y:1,blur:2}],shadow28:[{color:"#00000033",x:0,y:0,blur:8},{color:"#0000003d",x:0,y:14,blur:28}],shadow4:[{color:"#0000001f",x:0,y:0,blur:2},{color:"#00000024",x:0,y:2,blur:4}],shadow64:[{color:"#00000033",x:0,y:0,blur:8},{color:"#0000003d",x:0,y:32,blur:64}],shadow8:[{color:"#0000001f",x:0,y:0,blur:2},{color:"#00000024",x:0,y:4,blur:8}],shadowBrand16:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:8,blur:16}],shadowBrand2:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:1,blur:2}],shadowBrand28:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:14,blur:28}],shadowBrand4:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:2,blur:4}],shadowBrand64:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:32,blur:64}],shadowBrand8:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:4,blur:8}]}});var ha=j(Zs=>{"use strict";s();Object.defineProperty(Zs,"__esModule",{value:!0});Zs.assertNever=y0;function y0(e,t){if(typeof t=="string")throw new Error(t);if(typeof t=="function")throw new Error(t(e));if(t)return e;throw new Error("Unhandled discriminated union member: ".concat(JSON.stringify(e)))}Zs.default=y0});var Dc=j((lT,x0)=>{s();x0.exports={body1:{fontFamily:"Segoe UI",fontLineHeight:16,fontSize:12,fontWeight:"400"},body1Strong:{fontFamily:"Segoe UI",fontLineHeight:16,fontSize:12,fontWeight:"600"},body2:{fontFamily:"Segoe UI",fontLineHeight:20,fontSize:14,fontWeight:"400"},body2Strong:{fontFamily:"Segoe UI",fontLineHeight:20,fontSize:14,fontWeight:"600"},brandBackground:{rest:"PlatformColor(ButtonFace)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},brandBackground2:{rest:"PlatformColor(ButtonFace)"},brandBackgroundStatic:{rest:"PlatformColor(Window)"},brandForeground1:{rest:"PlatformColor(WindowText)"},brandForeground2:{rest:"PlatformColor(ButtonText)"},brandForegroundLink:{rest:"PlatformColor(Hotlight)",hover:"PlatformColor(Hotlight)",pressed:"PlatformColor(Hotlight)",selected:"PlatformColor(Hotlight)"},brandStroke1:{rest:"PlatformColor(WindowText)"},brandStroke2:{rest:"PlatformColor(Window)"},caption1:{fontFamily:"Segoe UI",fontLineHeight:14,fontSize:10,fontWeight:"400"},compoundBrandBackground1:{rest:"PlatformColor(Highlight)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)"},compoundBrandForeground1:{rest:"PlatformColor(Highlight)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)"},compoundBrandStroke1:{rest:"PlatformColor(Highlight)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)"},dangerBackground1:{rest:"PlatformColor(Window)"},dangerBackground2:{rest:"PlatformColor(Window)"},dangerBackground3:{rest:"PlatformColor(WindowText)"},dangerBorder1:{rest:"PlatformColor(WindowText)"},dangerBorder2:{rest:"PlatformColor(WindowText)"},dangerBorderActive:{rest:"PlatformColor(Highlight)"},dangerForeground1:{rest:"PlatformColor(WindowText)"},dangerForeground2:{rest:"PlatformColor(WindowText)"},dangerForeground3:{rest:"PlatformColor(WindowText)"},dangerForegroundInverted:{rest:"PlatformColor(WindowText)"},display:{fontFamily:"Segoe UI",fontLineHeight:52,fontSize:40,fontWeight:"600"},largeTitle:{fontFamily:"Segoe UI",fontLineHeight:52,fontSize:40,fontWeight:"400"},neutralBackground1:{rest:"PlatformColor(Window)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},neutralBackground2:{rest:"PlatformColor(Window)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},neutralBackground3:{rest:"PlatformColor(Window)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},neutralBackground4:{rest:"PlatformColor(Window)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},neutralBackground5:{rest:"PlatformColor(Window)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},neutralBackground6:{rest:"PlatformColor(Window)"},neutralBackgroundDisabled:{rest:"PlatformColor(Window)"},neutralBackgroundInverted:{rest:"PlatformColor(WindowText)"},neutralForeground1:{rest:"PlatformColor(WindowText)",hover:"PlatformColor(HighlightText)",pressed:"PlatformColor(HighlightText)",selected:"PlatformColor(HighlightText)"},neutralForeground2:{rest:"PlatformColor(WindowText)",hover:"PlatformColor(HighlightText)",pressed:"PlatformColor(HighlightText)",brandHover:"PlatformColor(HighlightText)",brandPressed:"PlatformColor(HighlightText)",brandSelected:"PlatformColor(HighlightText)",selected:"PlatformColor(HighlightText)"},neutralForeground3:{rest:"PlatformColor(WindowText)",hover:"PlatformColor(HighlightText)",pressed:"PlatformColor(HighlightText)",brandHover:"PlatformColor(HighlightText)",brandPressed:"PlatformColor(HighlightText)",brandSelected:"PlatformColor(HighlightText)",selected:"PlatformColor(HighlightText)"},neutralForeground4:{rest:"PlatformColor(WindowText)"},neutralForegroundDisabled:{rest:"PlatformColor(GrayText)"},neutralForegroundInverted:{rest:"PlatformColor(Window)"},neutralForegroundInvertedLink:{rest:"PlatformColor(Hotlight)",hover:"PlatformColor(Hotlight)",pressed:"PlatformColor(Hotlight)",selected:"PlatformColor(Hotlight)"},neutralForegroundOnBrand:{rest:"PlatformColor(ButtonText)",hover:"PlatformColor(HighlightText)",pressed:"PlatformColor(HighlightText)",selected:"PlatformColor(HighlightText)"},neutralStencil1:{rest:"#141414"},neutralStencil2:{rest:"#858585"},neutralStroke1:{rest:"PlatformColor(WindowText)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},neutralStroke2:{rest:"PlatformColor(WindowText)"},neutralStroke3:{rest:"PlatformColor(WindowText)"},neutralStrokeAccessible:{rest:"PlatformColor(WindowText)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},neutralStrokeDisabled:{rest:"PlatformColor(GrayText)"},outofofficeBackground1:{rest:"PlatformColor(Window)"},outofofficeBackground2:{rest:"PlatformColor(Window)"},outofofficeBackground3:{rest:"PlatformColor(WindowText)"},outofofficeBorder1:{rest:"PlatformColor(WindowText)"},outofofficeBorder2:{rest:"PlatformColor(WindowText)"},outofofficeBorderActive:{rest:"PlatformColor(Highlight)"},outofofficeForeground1:{rest:"PlatformColor(WindowText)"},outofofficeForeground2:{rest:"PlatformColor(WindowText)"},outofofficeForeground3:{rest:"PlatformColor(WindowText)"},severeBackground1:{rest:"PlatformColor(Window)"},severeBackground2:{rest:"PlatformColor(Window)"},severeBackground3:{rest:"PlatformColor(WindowText)"},severeBorder1:{rest:"PlatformColor(WindowText)"},severeBorder2:{rest:"PlatformColor(WindowText)"},severeBorderActive:{rest:"PlatformColor(Highlight)"},severeForeground1:{rest:"PlatformColor(WindowText)"},severeForeground2:{rest:"PlatformColor(WindowText)"},severeForeground3:{rest:"PlatformColor(WindowText)"},strokeFocus1:{rest:"PlatformColor(Window)"},strokeFocus2:{rest:"PlatformColor(Highlight)"},subtitle1:{fontFamily:"Segoe UI",fontLineHeight:26,fontSize:20,fontWeight:"400"},subtitle1Strong:{fontFamily:"Segoe UI",fontLineHeight:26,fontSize:20,fontWeight:"600"},subtitle2:{fontFamily:"Segoe UI",fontLineHeight:22,fontSize:16,fontWeight:"400"},subtitle2Strong:{fontFamily:"Segoe UI",fontLineHeight:22,fontSize:16,fontWeight:"600"},subtleBackground:{rest:"#00000000",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",selected:"PlatformColor(Highlight)"},successBackground1:{rest:"PlatformColor(Window)"},successBackground2:{rest:"PlatformColor(Window)"},successBackground3:{rest:"PlatformColor(WindowText)"},successBorder1:{rest:"PlatformColor(WindowText)"},successBorder2:{rest:"PlatformColor(WindowText)"},successBorderActive:{rest:"PlatformColor(Highlight)"},successForeground1:{rest:"PlatformColor(WindowText)"},successForeground2:{rest:"PlatformColor(WindowText)"},successForeground3:{rest:"PlatformColor(WindowText)"},successForegroundInverted:{rest:"PlatformColor(WindowText)"},title1:{fontFamily:"Segoe UI",fontLineHeight:36,fontSize:28,fontWeight:"400"},title1Strong:{fontFamily:"Segoe UI",fontLineHeight:36,fontSize:28,fontWeight:"600"},transparentBackground:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",selected:"#00000000"},transparentStroke:{rest:"PlatformColor(WindowText)",hover:"PlatformColor(Highlight)",pressed:"PlatformColor(Highlight)",disabled:"PlatformColor(GrayText)"},warningBackground1:{rest:"PlatformColor(Window)"},warningBackground2:{rest:"PlatformColor(Window)"},warningBackground3:{rest:"PlatformColor(WindowText)"},warningBorder1:{rest:"PlatformColor(WindowText)"},warningBorder2:{rest:"PlatformColor(WindowText)"},warningBorderActive:{rest:"PlatformColor(Highlight)"},warningForeground1:{rest:"PlatformColor(WindowText)"},warningForeground2:{rest:"PlatformColor(WindowText)"},warningForeground3:{rest:"PlatformColor(WindowText)"},warningForegroundInverted:{rest:"PlatformColor(WindowText)"}}});var bn=j((XH,X0)=>{s();X0.exports=OfficePlatformGlobal.SVG});var Bd=j((oI,Cn)=>{s();function Td(e){"@babel/helpers - typeof";return Cn.exports=Td=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cn.exports.__esModule=!0,Cn.exports.default=Cn.exports,Td(e)}Cn.exports=Td,Cn.exports.__esModule=!0,Cn.exports.default=Cn.exports});var vg=j((aI,Ra)=>{s();var Cg=Bd().default;function R7(e,t){if(Cg(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(Cg(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}Ra.exports=R7,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports});var Fd=j((lI,Ha)=>{s();var H7=Bd().default,w7=vg();function A7(e){var t=w7(e,"string");return H7(t)=="symbol"?t:t+""}Ha.exports=A7,Ha.exports.__esModule=!0,Ha.exports.default=Ha.exports});var dl=j((cI,wa)=>{s();var I7=Fd();function Sg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,I7(o.key),o)}}function E7(e,t,n){return t&&Sg(e.prototype,t),n&&Sg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}wa.exports=E7,wa.exports.__esModule=!0,wa.exports.default=wa.exports});var kg=j((mI,xg)=>{s();xg.exports=OfficePlatformGlobal.RNWin32.UIAnchor});var Ia=j((II,Aa)=>{s();var P7=Fd();function L7(e,t,n){return(t=P7(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Aa.exports=L7,Aa.exports.__esModule=!0,Aa.exports.default=Aa.exports});var Eg=j((NI,Ig)=>{s();Ig.exports=OfficePlatformGlobal.Polyester.Components});var Jo=j((dL,Ma)=>{s();function s9(e){return e&&e.__esModule?e:{default:e}}Ma.exports=s9,Ma.exports.__esModule=!0,Ma.exports.default=Ma.exports});var ei=j((gL,L2)=>{s();L2.exports=OfficePlatformGlobal.ReactNative.codegenNativeComponent});var ti=j((hL,O2)=>{s();O2.exports=OfficePlatformGlobal.ReactNative.NativeComponentRegistry});var Nd=j((bL,_2)=>{s();_2.exports=OfficePlatformGlobal.ReactNative.ViewConfigIgnore});var D2=j(ri=>{s();var l9=Jo();Object.defineProperty(ri,"__esModule",{value:!0});ri.default=ri.__INTERNAL_VIEW_CONFIG=void 0;var vL=l9(ei()),u9=ti(),c9=Nd(),d9=c9.ConditionallyIgnoredEventHandlers,f9="RCTCallout",g9=ri.__INTERNAL_VIEW_CONFIG={uiViewClassName:"RCTCallout",directEventTypes:{topRestoreFocus:{registrationName:"onRestoreFocus"},topDismiss:{registrationName:"onDismiss"},topShow:{registrationName:"onShow"}},validAttributes:Object.assign({accessibilityLabel:!0,accessibilityOnShowAnnouncement:!0,anchorRect:!0,directionalHint:!0,dismissBehaviors:!0,doNotTakePointerCapture:!0,focusable:!0,isBeakVisible:!0,maxHeight:!0,maxWidth:!0,setInitialFocus:!0,target:!0,testID:!0},d9({onRestoreFocus:!0,onDismiss:!0,onShow:!0}))},SL=ri.default=u9.get(f9,function(){return g9})});var M2=j(ni=>{s();var m9=Jo();Object.defineProperty(ni,"__esModule",{value:!0});ni.default=ni.__INTERNAL_VIEW_CONFIG=void 0;var kL=m9(ei()),h9=ti(),p9=Nd(),b9=p9.ConditionallyIgnoredEventHandlers,C9="FRNCallout",v9=ni.__INTERNAL_VIEW_CONFIG={uiViewClassName:"FRNCallout",directEventTypes:{topRestoreFocus:{registrationName:"onRestoreFocus"},topDismiss:{registrationName:"onDismiss"},topShow:{registrationName:"onShow"}},validAttributes:Object.assign({accessibilityLabel:!0,accessibilityOnShowAnnouncement:!0,anchorRect:!0,directionalHint:!0,dismissBehaviors:!0,doNotTakePointerCapture:!0,focusable:!0,isBeakVisible:!0,maxHeight:!0,maxWidth:!0,setInitialFocus:!0,target:!0,testID:!0},b9({onRestoreFocus:!0,onDismiss:!0,onShow:!0}))},TL=ni.default=h9.get(C9,function(){return v9})});var j2=j(oi=>{s();var x9=Jo();Object.defineProperty(oi,"__esModule",{value:!0});oi.default=oi.__INTERNAL_VIEW_CONFIG=void 0;var $L=x9(ei()),k9=ti(),T9="RCTFocusTrapZone",B9=oi.__INTERNAL_VIEW_CONFIG={uiViewClassName:"RCTFocusTrapZone",validAttributes:{disabled:!0,disableFirstFocus:!0,focusPreviouslyFocusedInnerElement:!0,ignoreExternalFocusing:!0,forceFocusInsideTrap:!0}},ZL=oi.default=k9.get(T9,function(){return B9})});var G2=j(si=>{s();var F9=Jo();Object.defineProperty(si,"__esModule",{value:!0});si.default=si.__INTERNAL_VIEW_CONFIG=void 0;var hO=F9(ei()),R9=ti(),H9="RCTFocusZone",w9=si.__INTERNAL_VIEW_CONFIG={uiViewClassName:"RCTFocusZone",validAttributes:{navigateAtEnd:!0,defaultTabbableElement:!0,focusZoneDirection:!0,use2DNavigation:!0,tabKeyNavigation:!0,disabled:!0,isTabNavigation:!0}},pO=si.default=R9.get(H9,function(){return w9})});var xm=j(fi=>{s();var U9=Jo();Object.defineProperty(fi,"__esModule",{value:!0});fi.default=fi.__INTERNAL_VIEW_CONFIG=void 0;var pM=U9(ei()),G9=ti(),K9="RCTNativeAnimatedShimmer",$9=fi.__INTERNAL_VIEW_CONFIG={uiViewClassName:"RCTNativeAnimatedShimmer",validAttributes:{delay:!0,duration:!0}},bM=fi.default=G9.get(K9,function(){return $9})});var ce=j((KV,Kh)=>{s();Kh.exports=OfficePlatformGlobal.ReactJsxRuntime});var U5=j((EW,as)=>{s();function B8(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;n[o]=e[o]}return n}as.exports=B8,as.exports.__esModule=!0,as.exports.default=as.exports});var eo=j((LW,ss)=>{s();var F8=U5();function R8(e,t){if(e==null)return{};var n,o,r=F8(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}ss.exports=R8,ss.exports.__esModule=!0,ss.exports.default=ss.exports});var a4=j((jG,i4)=>{s();i4.exports=OfficePlatformGlobal.Reka});var Tt=j((UG,s4)=>{s();s4.exports=OfficePlatformGlobal.SDX.StringResources});var u4=j((KG,l4)=>{s();l4.exports=Tt().StringResources.createLazyTable({location:"AccCheckerStrings.resjson"})});var d4=j((ZG,c4)=>{s();c4.exports=Tt().StringResources.createLazyTable({location:"AutoReplaceStrings.resjson"})});var g4=j((XG,f4)=>{s();f4.exports=Tt().StringResources.createLazyTable({location:"CatchUpStrings.resjson"})});var h4=j((JG,m4)=>{s();m4.exports=Tt().StringResources.createLazyTable({location:"CommonStrings.resjson"})});var b4=j((tK,p4)=>{s();p4.exports=Tt().StringResources.createLazyTable({location:"CritiqueExplanationStrings.resjson"})});var v4=j((nK,C4)=>{s();C4.exports=Tt().StringResources.createLazyTable({location:"CritiqueStrings.resjson"})});var y4=j((iK,S4)=>{s();S4.exports=Tt().StringResources.createLazyTable({location:"FeedbackStrings.resjson"})});var k4=j((sK,x4)=>{s();x4.exports=Tt().StringResources.createLazyTable({location:"FooterFREStrings.resjson"})});var B4=j((uK,T4)=>{s();T4.exports=Tt().StringResources.createLazyTable({location:"InlineSuggestionsStrings.resjson"})});var R4=j((dK,F4)=>{s();F4.exports=Tt().StringResources.createLazyTable({location:"NeuralRewriteStrings.resjson"})});var w4=j((gK,H4)=>{s();H4.exports=Tt().StringResources.createLazyTable({location:"SimilarityCheckerStrings.resjson"})});var I4=j((hK,A4)=>{s();A4.exports=Tt().StringResources.createLazyTable({location:"SummarizationCommandBarStrings.resjson"})});var P4=j((bK,E4)=>{s();E4.exports=Tt().StringResources.createLazyTable({location:"TextFormattingStrings.resjson"})});var O4=j((vK,L4)=>{s();L4.exports=Tt().StringResources.createLazyTable({location:"TextPenAlternates.resjson"})});var D4=j((yK,_4)=>{s();_4.exports=Tt().StringResources.createLazyTable({location:"TrackChangesStrings.resjson"})});var U4=j((PK,q4)=>{s();q4.exports={body1:{fontFamily:"Segoe UI",fontLineHeight:16,fontSize:12,fontWeight:"400"},body1Strong:{fontFamily:"Segoe UI",fontLineHeight:16,fontSize:12,fontWeight:"600"},body2:{fontFamily:"Segoe UI",fontLineHeight:20,fontSize:14,fontWeight:"400"},body2Strong:{fontFamily:"Segoe UI",fontLineHeight:20,fontSize:14,fontWeight:"600"},brandBackground:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a",selected:"#13458f"},brandBackground2:{rest:"#d2e0f4"},brandBackgroundStatic:{rest:"#185abd"},brandForeground1:{rest:"#aec6eb"},brandForeground2:{rest:"#d2e0f4"},brandForegroundLink:{rest:"#aec6eb",hover:"#d2e0f4",pressed:"#2e6ac5",selected:"#d2e0f4"},brandStroke1:{rest:"#185abd"},brandStroke2:{rest:"#6794d7"},caption1:{fontFamily:"Segoe UI",fontLineHeight:14,fontSize:10,fontWeight:"400"},compoundBrandBackground1:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a"},compoundBrandForeground1:{rest:"#aec6eb",hover:"#d2e0f4",pressed:"#2e6ac5"},compoundBrandStroke1:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a"},dangerBackground1:{rest:"#3f1011"},dangerBackground2:{rest:"#751d1f"},dangerBackground3:{rest:"#d13438"},dangerBorder1:{rest:"#d13438"},dangerBorder2:{rest:"#dc5e62"},dangerBorderActive:{rest:"#e37d80"},dangerForeground1:{rest:"#e37d80"},dangerForeground2:{rest:"#f1bbbc"},dangerForeground3:{rest:"#e37d80"},dangerForegroundInverted:{rest:"#d13438"},display:{fontFamily:"Segoe UI",fontLineHeight:52,fontSize:40,fontWeight:"600"},largeTitle:{fontFamily:"Segoe UI",fontLineHeight:52,fontSize:40,fontWeight:"400"},neutralBackground1:{rest:"#292929",hover:"#3d3d3d",pressed:"#1f1f1f",selected:"#383838"},neutralBackground2:{rest:"#1f1f1f",hover:"#333333",pressed:"#141414",selected:"#2e2e2e"},neutralBackground3:{rest:"#141414",hover:"#292929",pressed:"#0a0a0a",selected:"#242424"},neutralBackground4:{rest:"#0a0a0a",hover:"#1f1f1f",pressed:"#000000",selected:"#1a1a1a"},neutralBackground5:{rest:"#000000",hover:"#141414",pressed:"#050505",selected:"#0f0f0f"},neutralBackground6:{rest:"#333333"},neutralBackgroundDisabled:{rest:"#141414"},neutralBackgroundInverted:{rest:"#ffffff"},neutralForeground1:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralForeground2:{rest:"#d6d6d6",hover:"#ffffff",pressed:"#ffffff",brandHover:"#d2e0f4",brandPressed:"#2e6ac5",brandSelected:"#d2e0f4",selected:"#ffffff"},neutralForeground3:{rest:"#adadad",hover:"#d6d6d6",pressed:"#d6d6d6",brandHover:"#d2e0f4",brandPressed:"#2e6ac5",brandSelected:"#d2e0f4",selected:"#d6d6d6"},neutralForeground4:{rest:"#999999"},neutralForegroundDisabled:{rest:"#5c5c5c"},neutralForegroundInverted:{rest:"#000000"},neutralForegroundInvertedLink:{rest:"#292929",hover:"#292929",pressed:"#292929",selected:"#292929"},neutralForegroundOnBrand:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralStencil1:{rest:"#333333"},neutralStencil2:{rest:"#575757"},neutralStroke1:{rest:"#666666",hover:"#757575",pressed:"#6b6b6b",selected:"#707070"},neutralStroke2:{rest:"#525252"},neutralStroke3:{rest:"#3d3d3d"},neutralStrokeAccessible:{rest:"#adadad",hover:"#bdbdbd",pressed:"#b3b3b3",selected:"#185abd"},neutralStrokeDisabled:{rest:"#424242"},outofofficeBackground1:{rest:"#3a1136"},outofofficeBackground2:{rest:"#6d2064"},outofofficeBackground3:{rest:"#c239b3"},outofofficeBorder1:{rest:"#c239b3"},outofofficeBorder2:{rest:"#d161c4"},outofofficeBorderActive:{rest:"#da7ed0"},outofofficeForeground1:{rest:"#da7ed0"},outofofficeForeground2:{rest:"#edbbe7"},outofofficeForeground3:{rest:"#d161c4"},severeBackground1:{rest:"#411200"},severeBackground2:{rest:"#7a2101"},severeBackground3:{rest:"#da3b01"},severeBorder1:{rest:"#da3b01"},severeBorder2:{rest:"#e9835e"},severeBorderActive:{rest:"#e9835e"},severeForeground1:{rest:"#e9835e"},severeForeground2:{rest:"#f4bfab"},severeForeground3:{rest:"#e9835e"},strokeFocus1:{rest:"#000000"},strokeFocus2:{rest:"#ffffff"},subtitle1:{fontFamily:"Segoe UI",fontLineHeight:26,fontSize:20,fontWeight:"400"},subtitle1Strong:{fontFamily:"Segoe UI",fontLineHeight:26,fontSize:20,fontWeight:"600"},subtitle2:{fontFamily:"Segoe UI",fontLineHeight:22,fontSize:16,fontWeight:"400"},subtitle2Strong:{fontFamily:"Segoe UI",fontLineHeight:22,fontSize:16,fontWeight:"600"},subtleBackground:{rest:"#00000000",hover:"#3d3d3d",pressed:"#1f1f1f",selected:"#383838"},successBackground1:{rest:"#052505"},successBackground2:{rest:"#094509"},successBackground3:{rest:"#107c10"},successBorder1:{rest:"#107c10"},successBorder2:{rest:"#9fd89f"},successBorderActive:{rest:"#54b054"},successForeground1:{rest:"#54b054"},successForeground2:{rest:"#9fd89f"},successForeground3:{rest:"#9fd89f"},successForegroundInverted:{rest:"#107c10"},title1:{fontFamily:"Segoe UI",fontLineHeight:36,fontSize:28,fontWeight:"400"},title1Strong:{fontFamily:"Segoe UI",fontLineHeight:36,fontSize:28,fontWeight:"600"},transparentBackground:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",selected:"#00000000"},transparentStroke:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",disabled:"#00000000"},warningBackground1:{rest:"#4c4400"},warningBackground2:{rest:"#817400"},warningBackground3:{rest:"#fde300"},warningBorder1:{rest:"#fde300"},warningBorder2:{rest:"#fdea3d"},warningBorderActive:{rest:"#feee66"},warningForeground1:{rest:"#feee66"},warningForeground2:{rest:"#fef7b2"},warningForeground3:{rest:"#fdea3d"},warningForegroundInverted:{rest:"#817400"}}});var K4=j((OK,G4)=>{s();G4.exports={shadow16:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:8,blur:16}],shadow2:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:1,blur:2}],shadow28:[{color:"#00000066",x:0,y:0,blur:8},{color:"#0000007a",x:0,y:14,blur:28}],shadow4:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:2,blur:4}],shadow64:[{color:"#00000066",x:0,y:0,blur:8},{color:"#0000007a",x:0,y:32,blur:64}],shadow8:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:4,blur:8}],shadowBrand16:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:8,blur:16}],shadowBrand2:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:1,blur:2}],shadowBrand28:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:14,blur:28}],shadowBrand4:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:2,blur:4}],shadowBrand64:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:32,blur:64}],shadowBrand8:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:4,blur:8}]}});var Z4=j((DK,$4)=>{s();$4.exports={body1:{fontFamily:"Segoe UI",fontLineHeight:16,fontSize:12,fontWeight:"400"},body1Strong:{fontFamily:"Segoe UI",fontLineHeight:16,fontSize:12,fontWeight:"600"},body2:{fontFamily:"Segoe UI",fontLineHeight:20,fontSize:14,fontWeight:"400"},body2Strong:{fontFamily:"Segoe UI",fontLineHeight:20,fontSize:14,fontWeight:"600"},brandBackground:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a",selected:"#13458f"},brandBackground2:{rest:"#d2e0f4"},brandBackgroundStatic:{rest:"#185abd"},brandForeground1:{rest:"#185abd"},brandForeground2:{rest:"#1651aa"},brandForegroundLink:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a",selected:"#13458f"},brandStroke1:{rest:"#185abd"},brandStroke2:{rest:"#6794d7"},caption1:{fontFamily:"Segoe UI",fontLineHeight:14,fontSize:10,fontWeight:"400"},compoundBrandBackground1:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a"},compoundBrandForeground1:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a"},compoundBrandStroke1:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a"},dangerBackground1:{rest:"#fdf6f6"},dangerBackground2:{rest:"#f1bbbc"},dangerBackground3:{rest:"#d13438"},dangerBorder1:{rest:"#f1bbbc"},dangerBorder2:{rest:"#d13438"},dangerBorderActive:{rest:"#d13438"},dangerForeground1:{rest:"#bc2f32"},dangerForeground2:{rest:"#751d1f"},dangerForeground3:{rest:"#d13438"},dangerForegroundInverted:{rest:"#dc5e62"},display:{fontFamily:"Segoe UI",fontLineHeight:52,fontSize:40,fontWeight:"600"},largeTitle:{fontFamily:"Segoe UI",fontLineHeight:52,fontSize:40,fontWeight:"400"},neutralBackground1:{rest:"#ffffff",hover:"#f5f5f5",pressed:"#e0e0e0",selected:"#ebebeb"},neutralBackground2:{rest:"#fafafa",hover:"#f0f0f0",pressed:"#dbdbdb",selected:"#e6e6e6"},neutralBackground3:{rest:"#f5f5f5",hover:"#ebebeb",pressed:"#d6d6d6",selected:"#e0e0e0"},neutralBackground4:{rest:"#f0f0f0",hover:"#fafafa",pressed:"#f5f5f5",selected:"#ffffff"},neutralBackground5:{rest:"#ebebeb",hover:"#f5f5f5",pressed:"#f0f0f0",selected:"#fafafa"},neutralBackground6:{rest:"#e6e6e6"},neutralBackgroundDisabled:{rest:"#f0f0f0"},neutralBackgroundInverted:{rest:"#616161"},neutralForeground1:{rest:"#242424",hover:"#242424",pressed:"#242424",selected:"#242424"},neutralForeground2:{rest:"#424242",hover:"#242424",pressed:"#242424",brandHover:"#1651aa",brandPressed:"#0e336a",brandSelected:"#13458f",selected:"#242424"},neutralForeground3:{rest:"#616161",hover:"#424242",pressed:"#424242",brandHover:"#1651aa",brandPressed:"#0e336a",brandSelected:"#13458f",selected:"#424242"},neutralForeground4:{rest:"#707070"},neutralForegroundDisabled:{rest:"#bdbdbd"},neutralForegroundInverted:{rest:"#ffffff"},neutralForegroundInvertedLink:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralForegroundOnBrand:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralStencil1:{rest:"#e6e6e6"},neutralStencil2:{rest:"#fafafa"},neutralStroke1:{rest:"#d1d1d1",hover:"#c7c7c7",pressed:"#b3b3b3",selected:"#bdbdbd"},neutralStroke2:{rest:"#e0e0e0"},neutralStroke3:{rest:"#f0f0f0"},neutralStrokeAccessible:{rest:"#616161",hover:"#575757",pressed:"#4d4d4d",selected:"#185abd"},neutralStrokeDisabled:{rest:"#e0e0e0"},outofofficeBackground1:{rest:"#fdf5fc"},outofofficeBackground2:{rest:"#edbbe7"},outofofficeBackground3:{rest:"#c239b3"},outofofficeBorder1:{rest:"#edbbe7"},outofofficeBorder2:{rest:"#c239b3"},outofofficeBorderActive:{rest:"#c239b3"},outofofficeForeground1:{rest:"#af33a1"},outofofficeForeground2:{rest:"#6d2064"},outofofficeForeground3:{rest:"#c239b3"},severeBackground1:{rest:"#fdf6f3"},severeBackground2:{rest:"#f4bfab"},severeBackground3:{rest:"#da3b01"},severeBorder1:{rest:"#f4bfab"},severeBorder2:{rest:"#da3b01"},severeBorderActive:{rest:"#da3b01"},severeForeground1:{rest:"#c43501"},severeForeground2:{rest:"#7a2101"},severeForeground3:{rest:"#da3b01"},strokeFocus1:{rest:"#ffffff"},strokeFocus2:{rest:"#000000"},subtitle1:{fontFamily:"Segoe UI",fontLineHeight:26,fontSize:20,fontWeight:"400"},subtitle1Strong:{fontFamily:"Segoe UI",fontLineHeight:26,fontSize:20,fontWeight:"600"},subtitle2:{fontFamily:"Segoe UI",fontLineHeight:22,fontSize:16,fontWeight:"400"},subtitle2Strong:{fontFamily:"Segoe UI",fontLineHeight:22,fontSize:16,fontWeight:"600"},subtleBackground:{rest:"#00000000",hover:"#f5f5f5",pressed:"#e0e0e0",selected:"#ebebeb"},successBackground1:{rest:"#f1faf1"},successBackground2:{rest:"#9fd89f"},successBackground3:{rest:"#107c10"},successBorder1:{rest:"#9fd89f"},successBorder2:{rest:"#107c10"},successBorderActive:{rest:"#107c10"},successForeground1:{rest:"#0e700e"},successForeground2:{rest:"#094509"},successForeground3:{rest:"#107c10"},successForegroundInverted:{rest:"#359b35"},title1:{fontFamily:"Segoe UI",fontLineHeight:36,fontSize:28,fontWeight:"400"},title1Strong:{fontFamily:"Segoe UI",fontLineHeight:36,fontSize:28,fontWeight:"600"},transparentBackground:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",selected:"#00000000"},transparentStroke:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",disabled:"#00000000"},warningBackground1:{rest:"#fffef5"},warningBackground2:{rest:"#fef7b2"},warningBackground3:{rest:"#fde300"},warningBorder1:{rest:"#fef7b2"},warningBorder2:{rest:"#fde300"},warningBorderActive:{rest:"#fde300"},warningForeground1:{rest:"#817400"},warningForeground2:{rest:"#817400"},warningForeground3:{rest:"#fde300"},warningForegroundInverted:{rest:"#fef7b2"}}});var X4=j((zK,Q4)=>{s();Q4.exports={shadow16:[{color:"#0000001f",x:0,y:0,blur:2},{color:"#00000024",x:0,y:8,blur:16}],shadow2:[{color:"#0000001f",x:0,y:0,blur:2},{color:"#00000024",x:0,y:1,blur:2}],shadow28:[{color:"#00000033",x:0,y:0,blur:8},{color:"#0000003d",x:0,y:14,blur:28}],shadow4:[{color:"#0000001f",x:0,y:0,blur:2},{color:"#00000024",x:0,y:2,blur:4}],shadow64:[{color:"#00000033",x:0,y:0,blur:8},{color:"#0000003d",x:0,y:32,blur:64}],shadow8:[{color:"#0000001f",x:0,y:0,blur:2},{color:"#00000024",x:0,y:4,blur:8}],shadowBrand16:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:8,blur:16}],shadowBrand2:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:1,blur:2}],shadowBrand28:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:14,blur:28}],shadowBrand4:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:2,blur:4}],shadowBrand64:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:32,blur:64}],shadowBrand8:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:4,blur:8}]}});var J4=j((NK,Y4)=>{s();Y4.exports={body1:{fontFamily:"Segoe UI",fontLineHeight:16,fontSize:12,fontWeight:"400"},body1Strong:{fontFamily:"Segoe UI",fontLineHeight:16,fontSize:12,fontWeight:"600"},body2:{fontFamily:"Segoe UI",fontLineHeight:20,fontSize:14,fontWeight:"400"},body2Strong:{fontFamily:"Segoe UI",fontLineHeight:20,fontSize:14,fontWeight:"600"},brandBackground:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a",selected:"#13458f"},brandBackground2:{rest:"#d2e0f4"},brandBackgroundStatic:{rest:"#185abd"},brandForeground1:{rest:"#aec6eb"},brandForeground2:{rest:"#d2e0f4"},brandForegroundLink:{rest:"#aec6eb",hover:"#d2e0f4",pressed:"#2e6ac5",selected:"#d2e0f4"},brandStroke1:{rest:"#185abd"},brandStroke2:{rest:"#6794d7"},caption1:{fontFamily:"Segoe UI",fontLineHeight:14,fontSize:10,fontWeight:"400"},compoundBrandBackground1:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a"},compoundBrandForeground1:{rest:"#aec6eb",hover:"#d2e0f4",pressed:"#2e6ac5"},compoundBrandStroke1:{rest:"#185abd",hover:"#1651aa",pressed:"#0e336a"},dangerBackground1:{rest:"#3f1011"},dangerBackground2:{rest:"#751d1f"},dangerBackground3:{rest:"#d13438"},dangerBorder1:{rest:"#d13438"},dangerBorder2:{rest:"#dc5e62"},dangerBorderActive:{rest:"#e37d80"},dangerForeground1:{rest:"#e37d80"},dangerForeground2:{rest:"#f1bbbc"},dangerForeground3:{rest:"#e37d80"},dangerForegroundInverted:{rest:"#d13438"},display:{fontFamily:"Segoe UI",fontLineHeight:52,fontSize:40,fontWeight:"600"},largeTitle:{fontFamily:"Segoe UI",fontLineHeight:52,fontSize:40,fontWeight:"400"},neutralBackground1:{rest:"#4d4d4d",hover:"#5c5c5c",pressed:"#424242",selected:"#575757"},neutralBackground2:{rest:"#424242",hover:"#525252",pressed:"#383838",selected:"#4d4d4d"},neutralBackground3:{rest:"#383838",hover:"#474747",pressed:"#2e2e2e",selected:"#424242"},neutralBackground4:{rest:"#2e2e2e",hover:"#3d3d3d",pressed:"#242424",selected:"#383838"},neutralBackground5:{rest:"#242424",hover:"#333333",pressed:"#1a1a1a",selected:"#2e2e2e"},neutralBackground6:{rest:"#1a1a1a"},neutralBackgroundDisabled:{rest:"#383838"},neutralBackgroundInverted:{rest:"#ffffff"},neutralForeground1:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralForeground2:{rest:"#e6e6e6",hover:"#ffffff",pressed:"#ffffff",brandHover:"#d2e0f4",brandPressed:"#2e6ac5",brandSelected:"#d2e0f4",selected:"#ffffff"},neutralForeground3:{rest:"#cccccc",hover:"#e6e6e6",pressed:"#e6e6e6",brandHover:"#d2e0f4",brandPressed:"#2e6ac5",brandSelected:"#d2e0f4",selected:"#e6e6e6"},neutralForeground4:{rest:"#c2c2c2"},neutralForegroundDisabled:{rest:"#666666"},neutralForegroundInverted:{rest:"#000000"},neutralForegroundInvertedLink:{rest:"#4d4d4d",hover:"#4d4d4d",pressed:"#4d4d4d",selected:"#4d4d4d"},neutralForegroundOnBrand:{rest:"#ffffff",hover:"#ffffff",pressed:"#ffffff",selected:"#ffffff"},neutralStencil1:{rest:"#1a1a1a"},neutralStencil2:{rest:"#424242"},neutralStroke1:{rest:"#8a8a8a",hover:"#999999",pressed:"#8f8f8f",selected:"#949494"},neutralStroke2:{rest:"#757575"},neutralStroke3:{rest:"#616161"},neutralStrokeAccessible:{rest:"#a8a8a8",hover:"#b8b8b8",pressed:"#adadad",selected:"#185abd"},neutralStrokeDisabled:{rest:"#474747"},outofofficeBackground1:{rest:"#3a1136"},outofofficeBackground2:{rest:"#6d2064"},outofofficeBackground3:{rest:"#c239b3"},outofofficeBorder1:{rest:"#c239b3"},outofofficeBorder2:{rest:"#d161c4"},outofofficeBorderActive:{rest:"#da7ed0"},outofofficeForeground1:{rest:"#da7ed0"},outofofficeForeground2:{rest:"#edbbe7"},outofofficeForeground3:{rest:"#d161c4"},severeBackground1:{rest:"#411200"},severeBackground2:{rest:"#7a2101"},severeBackground3:{rest:"#da3b01"},severeBorder1:{rest:"#da3b01"},severeBorder2:{rest:"#e9835e"},severeBorderActive:{rest:"#e9835e"},severeForeground1:{rest:"#e9835e"},severeForeground2:{rest:"#f4bfab"},severeForeground3:{rest:"#e9835e"},strokeFocus1:{rest:"#000000"},strokeFocus2:{rest:"#ffffff"},subtitle1:{fontFamily:"Segoe UI",fontLineHeight:26,fontSize:20,fontWeight:"400"},subtitle1Strong:{fontFamily:"Segoe UI",fontLineHeight:26,fontSize:20,fontWeight:"600"},subtitle2:{fontFamily:"Segoe UI",fontLineHeight:22,fontSize:16,fontWeight:"400"},subtitle2Strong:{fontFamily:"Segoe UI",fontLineHeight:22,fontSize:16,fontWeight:"600"},subtleBackground:{rest:"#00000000",hover:"#5c5c5c",pressed:"#424242",selected:"#575757"},successBackground1:{rest:"#052505"},successBackground2:{rest:"#094509"},successBackground3:{rest:"#107c10"},successBorder1:{rest:"#107c10"},successBorder2:{rest:"#9fd89f"},successBorderActive:{rest:"#54b054"},successForeground1:{rest:"#54b054"},successForeground2:{rest:"#9fd89f"},successForeground3:{rest:"#9fd89f"},successForegroundInverted:{rest:"#107c10"},title1:{fontFamily:"Segoe UI",fontLineHeight:36,fontSize:28,fontWeight:"400"},title1Strong:{fontFamily:"Segoe UI",fontLineHeight:36,fontSize:28,fontWeight:"600"},transparentBackground:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",selected:"#00000000"},transparentStroke:{rest:"#00000000",hover:"#00000000",pressed:"#00000000",disabled:"#00000000"},warningBackground1:{rest:"#4c4400"},warningBackground2:{rest:"#817400"},warningBackground3:{rest:"#fde300"},warningBorder1:{rest:"#fde300"},warningBorder2:{rest:"#fdea3d"},warningBorderActive:{rest:"#feee66"},warningForeground1:{rest:"#feee66"},warningForeground2:{rest:"#fef7b2"},warningForeground3:{rest:"#fdea3d"},warningForegroundInverted:{rest:"#817400"}}});var t3=j((WK,e3)=>{s();e3.exports={shadow16:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:8,blur:16}],shadow2:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:1,blur:2}],shadow28:[{color:"#00000066",x:0,y:0,blur:8},{color:"#0000007a",x:0,y:14,blur:28}],shadow4:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:2,blur:4}],shadow64:[{color:"#00000066",x:0,y:0,blur:8},{color:"#0000007a",x:0,y:32,blur:64}],shadow8:[{color:"#0000003d",x:0,y:0,blur:2},{color:"#00000047",x:0,y:4,blur:8}],shadowBrand16:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:8,blur:16}],shadowBrand2:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:1,blur:2}],shadowBrand28:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:14,blur:28}],shadowBrand4:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:2,blur:4}],shadowBrand64:[{color:"#0000004d",x:0,y:0,blur:8},{color:"#00000040",x:0,y:32,blur:64}],shadowBrand8:[{color:"#0000004d",x:0,y:0,blur:2},{color:"#00000040",x:0,y:4,blur:8}]}});s();var L3=m(Sf()),O3=m(xf());s();var I3=m(Fe()),Ss=m(R());s();var u6=function(){function e(){this.registry=[],this.onMountListeners=[]}var t=e.prototype;return t.Register=function(o,r){this.Unregister(o),this.registry.push({id:o,object:r})},t.Unregister=function(o){this.registry=this.registry.filter(function(r){return r.id!==o})},t.Get=function(o){for(var r of this.registry)if(r.id===o)return r.object},t.NotifyMount=function(o){var r=this.Get(o);if(r)for(var a of this.onMountListeners)a(o,r)},t.AddOnMountListener=function(o){this.onMountListeners.indexOf(o)===-1&&this.onMountListeners.push(o)},t.RemoveOnMountListener=function(o){this.onMountListeners=this.onMountListeners.filter(function(r){return r!==o})},e}(),Yt=new u6;s();var z5=m(Fe()),is=m(R());s();s();s();var Bf=["Accept","Accessibility","AddToDictionary","ArrowReset","BowTie","Cancel","Checkmark","Cloud","Color","Completed","Copy","Delete","EditorSettings","FirstRowAsHeader","Hide","GiveFeedback","Ignore","IgnoreAll","IgnoreRule","Info","MergeCells","Next","Overflow","Plus","PremiumDiamond","Previous","ReadAloud","ShowExplanation","SplitCells"],hc=[].concat(Bf,["AddBot","AddPeople","Apps","ArrowUpload","ChatBubblesQuestion","Dislike","DropdownChevron","ECCFeedback","Emails","ErrorBadge","Event","EventRecorded","EventSeries","FFXCBulletedList","FFXCCallout","FFXCChecklist","FFXCCodeBlock","FFXCCompleted","FFXCInsertTextBox","FFXCKanbanBoard","FFXCNumberedList","FFXQuestionAnswer","FFXCQuote","FFXCRetroBoard","FFXCStatusTracker","FFXCTable","FFXCVote","Files","Hashtag","Laptop","Location","Like","Link","Meeting","Member","People","Person","PhoneNumber","Record","Repeat","Search","Sparkle","TeamsChat","Undo","Upload"]);s();var vc=m(Ds());s();var Af=["Dot","Editor","EditorSingleColor","EditorWithStars","EditorWithStarsAnimated","EditorWithStarsDarkMode","EditorWithStarsDarkModeAnimated","LocalLanguage","LocaleLanguage","NewFeature","PenSparkle"],Cc=[].concat(Af,["AllItems","ClipboardList","ColorfulCopilot","CsvFiles","TxtFiles","Excel","Folder","ForwardSlashPromo","ExploreMoreCopilot","LineCopilot","Loop","OneDrive","OneNoteNotebook","Pdf","PowerPoint","QuickSync","SignUpSheet","UnknownFile","Visio","Word"]);var ea=[].concat((0,vc.default)(hc),(0,vc.default)(Cc));s();function co(e){return ea.some(function(t){return t===e})}s();s();var dn;(function(e){e[e.Retry=0]="Retry",e[e.ClearSearch=1]="ClearSearch"})(dn||(dn={}));s();s();var cr;(function(e){e[e.Normal=0]="Normal",e[e.NoWrap=1]="NoWrap"})(cr||(cr={}));s();var z;(function(e){e[e.Normal=0]="Normal",e[e.Bold=1]="Bold",e[e.SemiBold=2]="SemiBold"})(z||(z={}));var Pe;(function(e){e[e.None=0]="None",e[e.Single=1]="Single",e[e.Double=2]="Double",e[e.SpellingSquiggle=3]="SpellingSquiggle",e[e.GrammarSquiggle=4]="GrammarSquiggle",e[e.CritiqueSquiggle=5]="CritiqueSquiggle"})(Pe||(Pe={}));s();var Le;(function(e){e[e.Text=0]="Text",e[e.Icon=1]="Icon",e[e.MonochromeIcon=2]="MonochromeIcon",e[e.IconButton=3]="IconButton",e[e.IconAndTextButton=4]="IconAndTextButton",e[e.CustomImageAndText=5]="CustomImageAndText"})(Le||(Le={}));var Sc;(function(e){e[e.Undefined=0]="Undefined",e[e.ClassicAttachment=1]="ClassicAttachment",e[e.OneDriveForBusiness=2]="OneDriveForBusiness",e[e.SharepointOnline=3]="SharepointOnline"})(Sc||(Sc={}));var f;(function(e){e[e.Accept=0]="Accept",e[e.ReadAloud=1]="ReadAloud",e[e.SpellOut=2]="SpellOut",e[e.ChangeAll=3]="ChangeAll",e[e.AddToAutoCorrect=4]="AddToAutoCorrect",e[e.AutoCorrectOptions=5]="AutoCorrectOptions",e[e.IgnoreOnce=6]="IgnoreOnce",e[e.IgnoreAll=7]="IgnoreAll",e[e.IgnoreRule=8]="IgnoreRule",e[e.AddToDictionary=9]="AddToDictionary",e[e.Options=10]="Options",e[e.ShowExplanation=11]="ShowExplanation",e[e.ManageLanguages=12]="ManageLanguages",e[e.Next=13]="Next",e[e.Previous=14]="Previous",e[e.ToggleContext=15]="ToggleContext",e[e.ToggleDescription=16]="ToggleDescription",e[e.ReadContext=17]="ReadContext",e[e.ShowMenu=18]="ShowMenu",e[e.Feedback=19]="Feedback",e[e.Report=20]="Report",e[e.Dismiss=21]="Dismiss",e[e.AddOnFooterAction=22]="AddOnFooterAction",e[e.OpenEditorPane=23]="OpenEditorPane",e[e.LearnMore=24]="LearnMore",e[e.Complete=25]="Complete",e[e.IntextCitation=26]="IntextCitation",e[e.FullCitation=27]="FullCitation",e[e.Reject=28]="Reject",e[e.AcceptHoverIn=29]="AcceptHoverIn",e[e.AcceptHoverOut=30]="AcceptHoverOut",e[e.RejectHoverIn=31]="RejectHoverIn",e[e.RejectHoverOut=32]="RejectHoverOut",e[e.OpenCustomDictionary=33]="OpenCustomDictionary",e[e.MoreSources=34]="MoreSources",e[e.SourceSelected=35]="SourceSelected",e[e.Accessibility=36]="Accessibility",e[e.OpenColorPicker=37]="OpenColorPicker",e[e.TurnOffAccChecker=38]="TurnOffAccChecker",e[e.ApplyColor=39]="ApplyColor",e[e.Allow=40]="Allow",e[e.AllowAll=41]="AllowAll",e[e.FixSimilarColors=42]="FixSimilarColors",e[e.FixAllColors=43]="FixAllColors",e[e.AutoGenAltText=44]="AutoGenAltText",e[e.MissingAltText=45]="MissingAltText",e[e.UseFirstRowAsHeader=46]="UseFirstRowAsHeader",e[e.SplitCell=47]="SplitCell",e[e.MergeCells=48]="MergeCells",e[e.MarkAsDecorative=49]="MarkAsDecorative",e[e.MarkAsLayout=50]="MarkAsLayout",e[e.MoreFontColors=51]="MoreFontColors",e[e.ChangeColors=52]="ChangeColors",e[e.ResetGraphic=53]="ResetGraphic",e[e.UndoInsertSummarization=54]="UndoInsertSummarization",e[e.RefreshSummary=55]="RefreshSummary",e[e.Overflow=56]="Overflow",e[e.CatchUp=57]="CatchUp",e[e.Cancel=58]="Cancel",e[e.InsertBelow=59]="InsertBelow",e[e.Regenerate=60]="Regenerate",e[e.StopGenerating=61]="StopGenerating",e[e.ContainerHoverIn=62]="ContainerHoverIn",e[e.ContainerHoverOut=63]="ContainerHoverOut",e[e.LaunchAIRewrite=64]="LaunchAIRewrite",e[e.LaunchAIRewriteHoverIn=65]="LaunchAIRewriteHoverIn",e[e.LaunchAIRewriteHoverOut=66]="LaunchAIRewriteHoverOut"})(f||(f={}));var b;(function(e){e[e.Classification=0]="Classification",e[e.Spelling=1]="Spelling",e[e.RepeatedWord=2]="RepeatedWord",e[e.Grammar=3]="Grammar",e[e.Refinement=4]="Refinement",e[e.NeuralRewrite=5]="NeuralRewrite",e[e.SimilarityChecker=6]="SimilarityChecker",e[e.TonalRewrite=7]="TonalRewrite",e[e.Topic=8]="Topic",e[e.DictationCorrection=9]="DictationCorrection",e[e.AccColorChecker=10]="AccColorChecker",e[e.WritersUnblock=11]="WritersUnblock",e[e.AIFeedback=12]="AIFeedback",e[e.TextPenAlternates=13]="TextPenAlternates",e[e.AltText=14]="AltText",e[e.InlineSuggestion=15]="InlineSuggestion",e[e.AddinCritique=16]="AddinCritique",e[e.MergeSplitCell=17]="MergeSplitCell",e[e.MissingTableHeader=18]="MissingTableHeader"})(b||(b={}));var pe;(function(e){e[e.None=0]="None",e[e.Spelling=1]="Spelling",e[e.Grammar=2]="Grammar",e[e.Refinement=3]="Refinement",e[e.Rewrite=4]="Rewrite",e[e.SimilarityChecker=5]="SimilarityChecker",e[e.AccColorChecker=6]="AccColorChecker",e[e.Modification=7]="Modification",e[e.PremiumEmphasis=8]="PremiumEmphasis",e[e.TrackChangeContent=9]="TrackChangeContent",e[e.TrackChangePlaceholder=10]="TrackChangePlaceholder",e[e.CatchUp=11]="CatchUp"})(pe||(pe={}));var fo;(function(e){e[e.centered=0]="centered",e[e.rightCenter=1]="rightCenter",e[e.bottomCenter=2]="bottomCenter"})(fo||(fo={}));var Me;(function(e){e[e.Location=0]="Location",e[e.Person=1]="Person",e[e.SatoriEntity=2]="SatoriEntity",e[e.Topic=3]="Topic",e[e.File=4]="File"})(Me||(Me={}));var Rt;(function(e){e[e.light=0]="light",e[e.dark=1]="dark",e[e.highContrast=2]="highContrast",e[e.custom=3]="custom",e[e.teamsLight=4]="teamsLight",e[e.teamsDark=5]="teamsDark"})(Rt||(Rt={}));s();var ta;(function(e){e[e.Unknown=0]="Unknown",e[e.Inference=1]="Inference"})(ta||(ta={}));s();var $h=m(Fe()),$a=m(R());s();s();s();s();var Ef=m(X());function ra(e){Ef.AccessibilityInfo.announceForAccessibility(e)}s();s();function ht(){return!1}var Ur={background:{resting:"#FFFFFF",hover:"#D2D2D2",pressed:"#B1B1B1"},title:{resting:"#262626",disabled:"#666666"},tag:{resting:"#605e5c",disabled:"#666666"},subtitle:{resting:"#666666",disabled:"#666666"},focusRing:"#969696"},yc={background:{resting:"var(--colorNeutralBackground1)",hover:"var(--colorNeutralBackground1Hover)",pressed:"var(--colorNeutralBackground1Pressed)",disabled:"var(--colorNeutralBackgroundDisabled)"},title:{resting:"var(--colorNeutralForeground2)",hover:"var(--colorNeutralForeground2Hover)",pressed:"var(--colorNeutralForeground2Pressed)",disabled:"var(--colorNeutralForegroundDisabled)"},tag:{resting:"var(--colorNeutralForeground2)",hover:"var(--colorNeutralForeground2Hover)",pressed:"var(--colorNeutralForeground2Pressed)",disabled:"var(--colorNeutralForegroundDisabled)"},subtitle:{resting:"var(--colorNeutralForeground2)",hover:"var(--colorNeutralForeground2Hover)",pressed:"var(--colorNeutralForeground2Pressed)",disabled:"var(--colorNeutralForegroundDisabled)"},icon:{resting:"var(--colorNeutralForeground2)",hover:"var(--colorNeutralForeground2Hover)",pressed:"var(--colorNeutralForeground2Pressed)",disabled:"var(--colorNeutralForegroundDisabled)"},focusRing:"var(--colorStrokeFocus2)",border:"var(--colorNeutralStroke1)"},y6={background:{resting:"var(--colorBrandBackground)",hover:"var(--colorBrandBackgroundHover)",pressed:"var(--colorBrandBackgroundPressed)",disabled:"var(--colorNeutralBackgroundDisabled)"},title:{resting:"var(--colorNeutralForegroundOnBrand)"},tag:{resting:"var(--colorNeutralForegroundOnBrand)"},subtitle:{resting:"var(--colorNeutralForegroundOnBrand)"},icon:{resting:"var(--colorNeutralForegroundOnBrand)"},focusRing:"var(--colorStrokeFocus2)",border:"var(--colorNeutralStroke1)"},x6=function(){return typeof navigator<"u"&&/firefox/i.test(navigator.userAgent)},Pf=function(t,n,o,r,a,l,u,c){var d={};a?u.background.disabled&&(d.backgroundColor=u.background.disabled,l&&u.border&&(d.borderColor=u.border)):(n&&(c!=null&&c.useFluentV9&&ht()?(d.backgroundColor="Canvas",d.borderColor="Highlight"):(u.background.hover&&(d.backgroundColor=x6()?"Canvas":u.background.hover),u.focusRing&&o&&(d.borderColor=u.focusRing))),r&&(u.background.focused&&(d.backgroundColor=u.background.focused),u.focusRing&&(d.borderColor=u.focusRing)),t&&u.background.pressed&&(d.backgroundColor=u.background.pressed),u.border&&!d.borderColor&&(d.borderColor=u.border));var g=d.backgroundColor||(c!=null&&c.useFluentV9&&ht()?"Canvas":u.background.resting),h=d.borderColor||g;return{backgroundColor:g,borderColor:h}},go=function(t,n,o,r,a){var l=a.resting;return o?a.disabled&&(l=a.disabled):(n&&a.hover&&(l=a.hover),r&&a.focused&&(l=a.focused),t&&a.pressed&&(l=a.pressed)),l},xc=function(t,n,o){return t.map(function(r){var a,l=(a=r.cssColor)!==null&&a!==void 0?a:n;return o&&r.cssColorHover&&(l=r.cssColorHover),Object.assign(Object.assign({},r),{cssColor:l})}).filter(function(r){return!!r})},Ms=function(t,n){return t&&t.cssColor?t:t&&n?Object.assign(Object.assign({},t),{cssColor:n}):n?{cssColor:n}:t},fn=function(t,n){var o=!!(t.showUnderline&&t.topPanelScopeButton);return n||!!t.hasKeyboardFocus||o},gn=function(t,n){return t.theme?t.theme:n!=null&&n.useFluentV9?t.appearance==="primary"?y6:yc:Ur};s();var bl=m(R());s();var hl=m(Dn()),At=m(R());s();var MF=m(X());s();var E;(function(e){e[e.ArrowDown=0]="ArrowDown",e[e.ArrowUp=1]="ArrowUp",e[e.ArrowLeft=2]="ArrowLeft",e[e.ArrowRight=3]="ArrowRight",e[e.End=4]="End",e[e.Enter=5]="Enter",e[e.Escape=6]="Escape",e[e.Home=7]="Home",e[e.Space=8]="Space",e[e.Tab=9]="Tab"})(E||(E={}));function mo(e,t){switch(t){case"alt":return e.alt&&!e.ctrl&&!e.shift&&!e.meta;case"ctrl":return!e.alt&&e.ctrl&&!e.shift&&!e.meta;case"shift":return!e.alt&&!e.ctrl&&e.shift&&!e.meta;case"meta":return!e.alt&&!e.ctrl&&!e.shift&&e.meta;default:return!e.alt&&!e.ctrl&&!e.shift&&!e.meta}}s();s();s();s();var I=function(){return I=Object.assign||function(n){for(var o,r=1,a=arguments.length;r<a;r++){o=arguments[r];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(n[l]=o[l])}return n},I.apply(this,arguments)};function Ht(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function le(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}var Fr=m(R());s();var la=m(R());s();var Gf=m(X()),Kf=m(zf());s();var kS=m(X()),Vf=!1;Vf=!0;function Nf(){return Vf}s();function zs(e){return typeof e=="number"?{bottom:e,left:e,right:e,top:e}:e}var E6={NOT_RESPONDER:{DELAY:"ERROR",RESPONDER_GRANT:"RESPONDER_INACTIVE_PRESS_IN",RESPONDER_RELEASE:"ERROR",RESPONDER_TERMINATED:"ERROR",ENTER_PRESS_RECT:"ERROR",LEAVE_PRESS_RECT:"ERROR",LONG_PRESS_DETECTED:"ERROR"},RESPONDER_INACTIVE_PRESS_IN:{DELAY:"RESPONDER_ACTIVE_PRESS_IN",RESPONDER_GRANT:"ERROR",RESPONDER_RELEASE:"NOT_RESPONDER",RESPONDER_TERMINATED:"NOT_RESPONDER",ENTER_PRESS_RECT:"RESPONDER_INACTIVE_PRESS_IN",LEAVE_PRESS_RECT:"RESPONDER_INACTIVE_PRESS_OUT",LONG_PRESS_DETECTED:"ERROR"},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:"RESPONDER_ACTIVE_PRESS_OUT",RESPONDER_GRANT:"ERROR",RESPONDER_RELEASE:"NOT_RESPONDER",RESPONDER_TERMINATED:"NOT_RESPONDER",ENTER_PRESS_RECT:"RESPONDER_INACTIVE_PRESS_IN",LEAVE_PRESS_RECT:"RESPONDER_INACTIVE_PRESS_OUT",LONG_PRESS_DETECTED:"ERROR"},RESPONDER_ACTIVE_PRESS_IN:{DELAY:"ERROR",RESPONDER_GRANT:"ERROR",RESPONDER_RELEASE:"NOT_RESPONDER",RESPONDER_TERMINATED:"NOT_RESPONDER",ENTER_PRESS_RECT:"RESPONDER_ACTIVE_PRESS_IN",LEAVE_PRESS_RECT:"RESPONDER_ACTIVE_PRESS_OUT",LONG_PRESS_DETECTED:"RESPONDER_ACTIVE_LONG_PRESS_IN"},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:"ERROR",RESPONDER_GRANT:"ERROR",RESPONDER_RELEASE:"NOT_RESPONDER",RESPONDER_TERMINATED:"NOT_RESPONDER",ENTER_PRESS_RECT:"RESPONDER_ACTIVE_PRESS_IN",LEAVE_PRESS_RECT:"RESPONDER_ACTIVE_PRESS_OUT",LONG_PRESS_DETECTED:"ERROR"},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:"ERROR",RESPONDER_GRANT:"ERROR",RESPONDER_RELEASE:"NOT_RESPONDER",RESPONDER_TERMINATED:"NOT_RESPONDER",ENTER_PRESS_RECT:"RESPONDER_ACTIVE_LONG_PRESS_IN",LEAVE_PRESS_RECT:"RESPONDER_ACTIVE_LONG_PRESS_OUT",LONG_PRESS_DETECTED:"RESPONDER_ACTIVE_LONG_PRESS_IN"},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:"ERROR",RESPONDER_GRANT:"ERROR",RESPONDER_RELEASE:"NOT_RESPONDER",RESPONDER_TERMINATED:"NOT_RESPONDER",ENTER_PRESS_RECT:"RESPONDER_ACTIVE_LONG_PRESS_IN",LEAVE_PRESS_RECT:"RESPONDER_ACTIVE_LONG_PRESS_OUT",LONG_PRESS_DETECTED:"ERROR"},ERROR:{DELAY:"NOT_RESPONDER",RESPONDER_GRANT:"RESPONDER_INACTIVE_PRESS_IN",RESPONDER_RELEASE:"NOT_RESPONDER",RESPONDER_TERMINATED:"NOT_RESPONDER",ENTER_PRESS_RECT:"NOT_RESPONDER",LEAVE_PRESS_RECT:"NOT_RESPONDER",LONG_PRESS_DETECTED:"NOT_RESPONDER"}},jf=function(t){return t==="RESPONDER_ACTIVE_PRESS_IN"||t==="RESPONDER_ACTIVE_LONG_PRESS_IN"},Wf=function(t){return t==="RESPONDER_ACTIVE_PRESS_OUT"||t==="RESPONDER_ACTIVE_PRESS_IN"},qf=function(t){return t==="RESPONDER_INACTIVE_PRESS_IN"||t==="RESPONDER_ACTIVE_PRESS_IN"||t==="RESPONDER_ACTIVE_LONG_PRESS_IN"},P6=function(t){return t==="RESPONDER_TERMINATED"||t==="RESPONDER_RELEASE"},L6=370,O6=130,Vs={bottom:30,left:20,right:20,top:20};function sa(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=0),Math.max(t,e??n)}var Uf=function(t){var n=t.nativeEvent,o=n.changedTouches,r=n.touches;return r!=null&&r.length>0?r[0]:o!=null&&o.length>0?o[0]:t.nativeEvent},$f=function(){function e(t){var n=this;this._eventHandlers=null,this._hoverInDelayTimeout=null,this._hoverOutDelayTimeout=null,this._isHovered=!1,this._longPressDelayTimeout=null,this._pressDelayTimeout=null,this._pressOutDelayTimeout=null,this._responderID=null,this._responderRegion=null,this._touchState="NOT_RESPONDER",this._measureCallback=function(o,r,a,l,u,c){!o&&!r&&!a&&!l&&!u&&!c||(n._responderRegion={bottom:c+l,left:u,right:u+a,top:c})},this.configure(t)}return e.prototype.configure=function(t){this._config=t},e.prototype.reset=function(){this._cancelHoverInDelayTimeout(),this._cancelHoverOutDelayTimeout(),this._cancelLongPressDelayTimeout(),this._cancelPressDelayTimeout(),this._cancelPressOutDelayTimeout()},e.prototype.getEventHandlers=function(){return this._eventHandlers==null&&(this._eventHandlers=this._createEventHandlers()),this._eventHandlers},e.prototype._createEventHandlers=function(){var t=this,n={onBlur:function(l){var u=t._config.onBlur;u!=null&&u(l)},onFocus:function(l){var u=t._config.onFocus;u!=null&&u(l)}},o={onStartShouldSetResponder:function(){var l=t._config.disabled;return l==null?!0:!l},onResponderGrant:function(l){l.persist(),t._cancelPressOutDelayTimeout(),t._responderID=l.currentTarget,t._touchState="NOT_RESPONDER",t._receiveSignal("RESPONDER_GRANT",l);var u=sa(t._config.delayPressIn,0,O6);u>0?t._pressDelayTimeout=setTimeout(function(){t._receiveSignal("DELAY",l)},u):t._receiveSignal("DELAY",l);var c=sa(t._config.delayLongPress,10,L6);t._longPressDelayTimeout=setTimeout(function(){t._handleLongPress(l)},c+u)},onResponderMove:function(l){t._config.onPressMove!=null&&t._config.onPressMove(l);var u=t._responderRegion;if(u!=null){var c=Uf(l);if(c==null){t._cancelLongPressDelayTimeout(),t._receiveSignal("LEAVE_PRESS_RECT",l);return}if(t._touchActivatePosition!=null){var d=t._touchActivatePosition.pageX-c.pageX,g=t._touchActivatePosition.pageY-c.pageY;Math.hypot(d,g)>10&&t._cancelLongPressDelayTimeout()}t._isTouchWithinResponderRegion(c,u)?t._receiveSignal("ENTER_PRESS_RECT",l):(t._cancelLongPressDelayTimeout(),t._receiveSignal("LEAVE_PRESS_RECT",l))}},onResponderRelease:function(l){t._receiveSignal("RESPONDER_RELEASE",l)},onResponderTerminate:function(l){t._receiveSignal("RESPONDER_TERMINATED",l)},onResponderTerminationRequest:function(){var l=t._config.cancelable;return l||!0},onClick:function(l){var u=t._config.onPress;u!=null&&u(l)}},r={onMouseEnter:function(l){if(Nf()){t._isHovered=!0,t._cancelHoverOutDelayTimeout();var u=t._config.onHoverIn;if(u!=null){var c=sa(t._config.delayHoverIn);c>0?t._hoverInDelayTimeout=setTimeout(function(){u(l)},c):u(l)}}},onMouseLeave:function(l){if(t._isHovered){t._isHovered=!1,t._cancelHoverInDelayTimeout();var u=t._config.onHoverOut;if(u!=null){var c=sa(t._config.delayHoverOut);c>0?t._hoverInDelayTimeout=setTimeout(function(){u(l)},c):u(l)}}}};return I(I(I({},n),o),r)},e.prototype._receiveSignal=function(t,n){var o=this._touchState,r=E6[o][t];this._responderID==null&&t==="RESPONDER_RELEASE"||((0,Kf.default)(r!=null&&r!=="ERROR","Pressability: Invalid signal `%s` for state `%s` on responder: %s",t,o,typeof this._responderID=="number"?this._responderID:"<<host component>>"),o!==r&&(this._performTransitionSideEffects(o,r,t,n),this._touchState=r))},e.prototype._performTransitionSideEffects=function(t,n,o,r){P6(o)&&(this._touchActivatePosition=null,this._cancelLongPressDelayTimeout());var a=t==="NOT_RESPONDER"&&n==="RESPONDER_INACTIVE_PRESS_IN",l=!Wf(t)&&Wf(n);if((a||l)&&this._measureResponderRegion(),qf(t)&&o==="LONG_PRESS_DETECTED"){var u=this._config.onLongPress;u!=null&&u(r)}var c=jf(t),d=jf(n);if(!c&&d?this._activate(r):c&&!d&&this._deactivate(r),qf(t)&&o==="RESPONDER_RELEASE"){var g=this._config,u=g.onLongPress,h=g.onPress;if(h!=null){var p=u!=null&&t==="RESPONDER_ACTIVE_LONG_PRESS_IN"&&this._shouldLongPressCancelPress();p||(!d&&!c&&(this._activate(r),this._deactivate(r)),h(r))}}this._cancelPressDelayTimeout()},e.prototype._activate=function(t){var n=this._config.onPressIn,o=Uf(t);this._touchActivatePosition={pageX:o.pageX,pageY:o.pageY},n!=null&&n(t)},e.prototype._deactivate=function(t){var n=this._config.onPressOut;if(n!=null){var o=sa(this._config.delayPressOut);o>0?this._pressOutDelayTimeout=setTimeout(function(){n(t)},o):n(t)}},e.prototype._measureResponderRegion=function(){var t,n;if(this._responderID!=null)if(typeof this._responderID=="number")Gf.UIManager.measure(this._responderID,this._measureCallback);else{var o=(t=this===null||this===void 0?void 0:this._responderID)===null||t===void 0?void 0:t.measure;typeof o=="function"&&this._measureCallback&&((n=this===null||this===void 0?void 0:this._responderID)===null||n===void 0||n.measure(this._measureCallback))}},e.prototype._isTouchWithinResponderRegion=function(t,n){var o,r,a,l,u=zs(this._config.hitSlop),c=zs(this._config.pressRectOffset),d=n.bottom,g=n.left,h=n.right,p=n.top;return u!=null&&(u.bottom!=null&&(d+=u.bottom),u.left!=null&&(g-=u.left),u.right!=null&&(h+=u.right),u.top!=null&&(p-=u.top)),d+=(o=c==null?void 0:c.bottom)!==null&&o!==void 0?o:Vs.bottom,g-=(r=c==null?void 0:c.left)!==null&&r!==void 0?r:Vs.left,h+=(a=c==null?void 0:c.right)!==null&&a!==void 0?a:Vs.right,p-=(l=c==null?void 0:c.top)!==null&&l!==void 0?l:Vs.top,t.pageX>g&&t.pageX<h&&t.pageY>p&&t.pageY<d},e.prototype._handleLongPress=function(t){(this._touchState==="RESPONDER_ACTIVE_PRESS_IN"||this._touchState==="RESPONDER_ACTIVE_LONG_PRESS_IN")&&this._receiveSignal("LONG_PRESS_DETECTED",t)},e.prototype._shouldLongPressCancelPress=function(){return!0},e.prototype._cancelHoverInDelayTimeout=function(){this._hoverInDelayTimeout!=null&&(clearTimeout(this._hoverInDelayTimeout),this._hoverInDelayTimeout=null)},e.prototype._cancelHoverOutDelayTimeout=function(){this._hoverOutDelayTimeout!=null&&(clearTimeout(this._hoverOutDelayTimeout),this._hoverOutDelayTimeout=null)},e.prototype._cancelLongPressDelayTimeout=function(){this._longPressDelayTimeout!=null&&(clearTimeout(this._longPressDelayTimeout),this._longPressDelayTimeout=null)},e.prototype._cancelPressDelayTimeout=function(){this._pressDelayTimeout!=null&&(clearTimeout(this._pressDelayTimeout),this._pressDelayTimeout=null)},e.prototype._cancelPressOutDelayTimeout=function(){this._pressOutDelayTimeout!=null&&(clearTimeout(this._pressOutDelayTimeout),this._pressOutDelayTimeout=null)},e}();function kc(e){var t=(0,la.useRef)(null);t.current==null&&(t.current=new $f(e));var n=t.current;return(0,la.useEffect)(function(){n.configure(e)},[e,n]),(0,la.useEffect)(function(){return function(){n.reset()}},[n]),n.getEventHandlers()}function _6(e){var t=Fr.useState({hovered:!1}),n=t[0],o=t[1],r=Fr.useCallback(function(l){o({hovered:!0}),e.onHoverIn&&e.onHoverIn(l)},[o,e.onHoverIn]),a=Fr.useCallback(function(l){o({hovered:!1}),e.onHoverOut&&e.onHoverOut(l)},[o,e.onHoverOut]);return[{onHoverIn:r,onHoverOut:a},n]}function D6(e){var t=Fr.useState({focused:!1}),n=t[0],o=t[1],r=Fr.useCallback(function(l){o({focused:!0}),e.onFocus&&e.onFocus(l)},[o,e.onFocus]),a=Fr.useCallback(function(l){o({focused:!1}),e.onBlur&&e.onBlur(l)},[o,e.onBlur]);return[{onFocus:r,onBlur:a},n]}function M6(e){var t=Fr.useState({pressed:!1}),n=t[0],o=t[1],r=Fr.useCallback(function(l){o({pressed:!0}),e.onPressIn&&e.onPressIn(l)},[o,e.onPressIn]),a=Fr.useCallback(function(l){o({pressed:!1}),e.onPressOut&&e.onPressOut(l)},[o,e.onPressOut]);return[{onPressIn:r,onPressOut:a},n]}function ho(e){var t=_6(e),n=t[0],o=t[1],r=D6(e),a=r[0],l=r[1],u=M6(e),c=u[0],d=u[1],g=kc(I(I(I(I({},e),n),a),c));return{props:I(I({},e),g),state:I(I(I({},o),l),d)}}s();var Rr=m(R());function z6(e){var t=Rr.useState({hovered:!1}),n=t[0],o=t[1],r=e.onHoverIn,a=e.onHoverOut,l=Rr.useCallback(function(c){o({hovered:!0}),r==null||r(c)},[o,r]),u=Rr.useCallback(function(c){o({hovered:!1}),a==null||a(c)},[o,a]);return[{onHoverIn:l,onHoverOut:u},n]}function V6(e){var t=Rr.useState({focused:!1}),n=t[0],o=t[1],r=e.onFocus,a=e.onBlur,l=Rr.useCallback(function(c){o({focused:!0}),r==null||r(c)},[o,r]),u=Rr.useCallback(function(c){o({focused:!1}),a==null||a(c)},[o,a]);return[{onFocus:l,onBlur:u},n]}function N6(e){var t=Rr.useState({pressed:!1}),n=t[0],o=t[1],r=e.onPressIn,a=e.onPressOut,l=Rr.useCallback(function(c){o({pressed:!0}),r==null||r(c)},[o,r]),u=Rr.useCallback(function(c){o({pressed:!1}),a==null||a(c)},[o,a]);return[{onPressIn:l,onPressOut:u},n]}function ua(e){var t=e.onPressIn,n=e.onPressOut,o=e.onHoverIn,r=e.onHoverOut,a=e.onFocus,l=e.onBlur,u=Ht(e,["onPressIn","onPressOut","onHoverIn","onHoverOut","onFocus","onBlur"]),c=z6({onHoverIn:o,onHoverOut:r}),d=c[0],g=c[1],h=V6({onFocus:a,onBlur:l}),p=h[0],C=h[1],v=N6({onPressIn:t,onPressOut:n}),T=v[0],B=v[1];return{props:I(I(I(I({},d),p),T),u),state:I(I(I({},g),C),B)}}s();var Qf=m(R());s();function Zf(e){var t=e.getForwardedRef,n=e.setLocalRef;return function(r){var a=t();n(r),typeof a=="function"?a(r):typeof a=="object"&&a!=null&&(a.current=r)}}function lt(e){var t=Qf.useRef(),n=Zf({getForwardedRef:function(){return e},setLocalRef:function(r){t.current=r}});return n}s();var Ns=m(R());function Tc(e,t){var n=Ns.useState(e),o=n[0],r=n[1],a=Ns.useCallback(function(l){r(l),t&&t(l)},[r,t]);return{onKeySelect:a,selectedKey:o}}s();var Xf=m(R());s();var js=m(R());function Bc(e,t,n){var o=js.useState(e??t),r=o[0],a=o[1],l=js.useCallback(function(u){n&&n(u,!r),a(!r)},[r,a]);return[t??r,l]}s();var Fc=m(R());s();var j6=m(R());s();var U6=m(R()),yy=m(X());s();s();s();function Rc(e,t){return e[t]=e[t]||{}}function W6(e,t){if(t==null)return Rc(e,"empty");if(typeof t=="object"||typeof t=="function"){var n=e.obj=e.obj||new WeakMap;return n.get(t)||n.set(t,{}).get(t)}var o=t+"",r=Rc(e,"str");return r[o]=r[o]||{}}function Hc(e,t){return t&&t.length>0?t.reduce(function(n,o){return W6(n,o)},e):Rc(e,"noargs")}var q6={};function Yf(e,t,n){var o=Hc(e,n);return o.hasOwnProperty("value")||(o.value=typeof t=="function"?t():t),[o.value,function(r,a){return Yf(o,r,a)}]}function ut(e){var t=e?Hc(q6,[e]):{};return function(n,o){return Yf(t,n,o)}}s();function Ye(e){var t=ut(),n=function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];return t(function(){return e.apply(void 0,r)},r)[0]};return n}var G6=function(t){return t&&(t.alt||t.altKey||t.meta||t.metaKey)};function Jf(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=function(a){e!==void 0&&!G6(a.nativeEvent)&&t.includes(a.nativeEvent.key)&&(e(a),a.stopPropagation())};return o}function K6(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o={onKeyUp:Jf.apply(void 0,le([e],t,!1)),keyUpEvents:t.map(function(r){return{key:r}})};return o}function $6(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o={onKeyDown:Jf.apply(void 0,le([e],t,!1)),keyDownEvents:t.map(function(r){return{key:r}})};return o}var e0=Ye(K6),wc=Ye($6),Mn=!1,Hr=e0;s();var t0=m(R()),Fy=m(X());function mn(e,t){var n=t0.useCallback(function(o){var r,a=["windows","win32","macos"].includes("win32"),l=["windows","win32"].includes("win32");a&&l&&((r=e==null?void 0:e.current)===null||r===void 0||r.focus()),t==null||t(o)},[t,e]);return n}s();s();s();s();s();s();var Z6={appendArray:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return[].concat.apply([],t)}};function Q6(e){return typeof e=="boolean"?[{object:e},e]:typeof e=="number"?[{object:e>=0?e:!0},e!==0]:[e,!0]}function r0(e){return typeof e=="object"?Array.isArray(e)?"array":"object":typeof e}function X6(e){return typeof e=="function"?e:typeof e=="string"?Z6[e]:void 0}function Y6(e){return e.array?{array:e.array}:{}}function J6(e,t){return typeof e=="boolean"?e?I({object:e},t):t:typeof e=="number"?e===0?t:I({object:e-1},t):e}function eb(e,t,n){var o=void 0,r=e[t]!==void 0?e[t]:e[n]!==void 0?e[n]:void 0;return r!==void 0&&(o=X6(r),o===void 0&&n==="object"&&(o=J6(r,Y6(e)))),o}function Ac(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var r=n.filter(function(C){return C&&r0(C)==="object"&&Object.getOwnPropertyNames(C).length>0}),a=Q6(e),l=a[0],u=a[1],c=t&&r.length===1;if(r.length>1||c&&r.length===1){var d=c?void 0:Object.assign.apply(Object,le([{}],r,!1)),g=d||r[0],h=function(v){if(g.hasOwnProperty(v)){if(u){var T=g[v],B=r0(T),F=eb(l,v,B);if(F!==void 0){var w=r.map(function(S){return S[v]}).filter(function(S){return S!==void 0}),k=typeof F=="function"?F.apply(void 0,w):Ac.apply(void 0,le([F,t],w,!1));k!==T&&(d=d||Object.assign.apply(Object,le([{}],r,!1)),d[v]=k)}}!c&&d[v]===void 0&&delete d[v]}};for(var p in g)h(p);return d||g}return r.length>0?r[0]:void 0}function Jt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ac.apply(void 0,le([!0,!1],e,!1))}function wr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Ac.apply(void 0,le([e,!1],t,!1))}function n0(e){return Array.isArray(e)?Jt.apply(void 0,e.map(function(t){return n0(t)})):e||{}}function rb(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Jt.apply(void 0,e.map(function(n){return n0(n)}))}var nb=ut();function er(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(function(o){return typeof o=="object"});return n.length>1||n.length===1&&Array.isArray(n[0])?nb(function(){return rb.apply(void 0,le([void 0],n,!1))},n)[0]:n[0]||{}}s();var ob={className:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.filter(function(o){return o&&typeof o=="string"}).join(" ")},style:er};function ib(e){return e.filter(function(t){return typeof t=="object"})}function Te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wr.apply(void 0,le([ob],ib(e),!1))}s();s();s();var zn=function(t){return t.colors},Ar=[{source:"color",lookup:zn}],po=[{source:"backgroundColor",lookup:zn}],o0=le(le([],Ar,!0),po,!0);s();function Vn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(r){var a={};return e.filter(function(l){return r[l]!==void 0}).forEach(function(l){a[l]=r[l]}),a};return{from:n,keys:e}}var Nn=[{source:"borderColor",lookup:zn},{source:"borderWidth"},{source:"borderRadius"},{source:"borderStyle"}],Ir=Vn("borderColor","borderRadius","borderStyle","borderWidth");s();s();function Ws(e,t){return e._keys=t,e}var et={from:function(t,n){var o,r,a,l,u,c,d,g,h,p,C,v,T,B,F,w,k,S,H=t.fontDynamicTypeRamp,W=t.fontFamily,$=t.fontLetterSpacing,Q=t.fontLineHeight,re=t.fontMaximumSize,ie=t.fontSize,fe=t.fontStyle,oe=t.fontWeight,ge=t.textDecorationLine,G=t.variant,de=n.typography,U=de.families,K=de.sizes,Ce=de.weights,Z=de.variants;return H!==void 0||W!==void 0||$!==void 0||Q!==void 0||re!==void 0||ie!==void 0||oe!==void 0||G!==void 0?{fontFamily:(l=(r=(o=U[W])!==null&&o!==void 0?o:W)!==null&&r!==void 0?r:U[(a=Z[G])===null||a===void 0?void 0:a.face])!==null&&l!==void 0?l:(u=Z[G])===null||u===void 0?void 0:u.face,fontSize:(h=(d=(c=K[ie])!==null&&c!==void 0?c:ie)!==null&&d!==void 0?d:K[(g=Z[G])===null||g===void 0?void 0:g.size])!==null&&h!==void 0?h:(p=Z[G])===null||p===void 0?void 0:p.size,fontStyle:fe,fontWeight:(B=(v=(C=Ce[oe])!==null&&C!==void 0?C:oe)!==null&&v!==void 0?v:Ce[(T=Z[G])===null||T===void 0?void 0:T.weight])!==null&&B!==void 0?B:(F=Z[G])===null||F===void 0?void 0:F.weight,lineHeight:Q??((w=Z[G])===null||w===void 0?void 0:w.lineHeight),letterSpacing:$??((k=Z[G])===null||k===void 0?void 0:k.letterSpacing),dynamicTypeRamp:H??((S=Z[G])===null||S===void 0?void 0:S.dynamicTypeRamp),maximumFontSize:re,textDecorationLine:ge}:{}},keys:["fontDynamicTypeRamp","fontFamily","fontLineHeight","fontLetterSpacing","fontMaximumSize","fontSize","fontStyle","fontWeight","variant","textDecorationLine"]};function ab(e,t){return{style:et.from(e,t)}}var Gr=Ws(ab,et.keys);s();var ca=Vn("width","height","minWidth","maxWidth","minHeight","maxHeight","padding","paddingHorizontal","paddingVertical","paddingStart","paddingEnd");s();var i0=Vn("shadowColor","shadowOffset","shadowOpacity","shadowRadius");s();s();var Ic=m(R());function qs(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return typeof e=="function"&&e._canCompose?e.apply(void 0,le([t],n,!1)):Ic.createElement.apply(Ic,le([e,t],n,!1))}s();var a0=m(R());function ub(e){return Array.isArray(e)?e:[e]}function dr(e,t){var n=function(a){var l=a.children,u=Ht(a,["children"]);return e(u)({},ub(l))},o=t?a0.memo(n):n;return Object.assign(o,{_staged:e}),o}s();var da=m(R());function cb(e){return typeof e=="function"&&e._staged||void 0}function Us(e,t,n){var o=cb(e),r=da.useMemo(function(){var u={},c=function(g){for(var h=[],p=1;p<arguments.length;p++)h[p-1]=arguments[p];var C=u.result,v=typeof C=="function"?g:Te(C,g),T=n?Object.keys(v).filter(function(B){return!n(B)}):void 0;return(T==null?void 0:T.length)>0&&(v=Te(v,Object.assign.apply(Object,le([{}],T.map(function(B){var F;return F={},F[B]=void 0,F}),!1)))),typeof C=="function"?C.apply(void 0,le([v],h,!1)):da.createElement.apply(da,le([e,v],h,!1))};return c._canCompose=!0,[c,u]},[e,n]),a=r[0],l=r[1];return l.result=o?o(t):t,a}s();function ee(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return qs.apply(void 0,le([e,t],n,!1))}s();s();function Gs(e){var t=e.slots,n=e.filters,o=n===void 0?{}:n,r=e.useStyling;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var u=typeof r=="function"?r.apply(void 0,a):r||{},c={};return Object.keys(t).forEach(function(d){c[d]=Us(t[d],u[d],o[d])}),c}}s();s();var Ks=m(R()),No=Ks.createContext(void 0),bo=function(){return Ks.useContext(No)};s();s();s();s();s();s();s();function fa(e,t,n,o){for(var r=function(d){var g,h=e[d],p=h===t[d]?void 0:h;g=n(function(){var C;return p===void 0?t:I(I({},t),(C={},C[d]=p,C))},[p]),t=g[0],n=g[1]},a=0,l=o;a<l.length;a++){var u=l[a];r(u)}return[t,n]}s();function jo(e,t,n,o){var r={tokens:e,subCache:n};return t&&t.length>0&&(r=t.filter(function(a){return o(a)}).reduce(function(a,l){var u=a.tokens[l],c=a.subCache(function(){return u&&typeof u=="object"?Jt(a.tokens,u):a.tokens},[u]),d=c[0],g=c[1];return{tokens:d,subCache:g}},r)),[r.tokens,r.subCache]}s();function db(e,t,n){return typeof e=="string"&&(e=n&&n(t,e)||{}),typeof e=="function"&&(e=e(t)),e}function Wo(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=ut(),r=function(l){return o(function(){return Jt.apply(void 0,t.map(function(u){return db(u,l,e)}))},[l])};return r.customize=function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var u=le(le([],t,!0),a,!0);return Wo.apply(void 0,le([e],u,!1))},r}s();s();function ga(e,t,n){for(var o=Object.keys(n).filter(function(c){return n[c]!==void 0}).sort(),r=function(d){var g;g=t(function(){var h;return I(I({},e),(h={},h[d]=n[d],h))},[d,n[d]]),e=g[0],t=g[1]},a=0,l=o;a<l.length;a++){var u=l[a];r(u)}return[e,t]}s();function l0(e,t){return function(n,o,r){return r(function(){return e(n,o)},(t||[]).map(function(a){return n[a]}))[0]}}function fb(e,t){return typeof t=="object"&&Array.isArray(t)?e.filter(function(n){return t.findIndex(function(o){return o===n})!==-1}):t?e:[]}function Ec(e,t){var n=l0(e,t);return n.refine=t&&t.length>0?function(o){return l0(e,fb(t,o))}:void 0,n}function Pc(e,t){var n={};return Object.keys(e).forEach(function(o){var r=typeof e[o]=="function"&&e[o].refine;n[o]=r?r(t):e[o]}),n}function gb(e,t,n,o){var r={};return Object.keys(e).forEach(function(a){var l=e[a];r[a]=typeof l=="function"?l(t,n,o(null,[a])[1]):l}),r}function $s(e,t){var n=t.useTheme,o=t.getComponentInfo,r=e.tokens,a=e.tokensThatAreAlsoProps,l=Pc(e.slotProps||{},a),u=Wo.apply(void 0,le([o],r,!1));return function(c,d){var g,h,p=n(),C=u(p),v=C[0],T=C[1];return e.states&&(g=jo(v,e.states,T,d||function(B){return c[B]}),v=g[0],T=g[1]),typeof a=="object"&&Array.isArray(a)?(h=fa(c,v,T,a),v=h[0],T=h[1]):a==="all"&&(v=I(I({},v),c)),gb(l,v,p,T)}}var Oc=function(){return Oc=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Oc.apply(this,arguments)},Lc={tokens:"appendArray",object:!0};function ma(e,t,n){var o=n==null?void 0:n.__options;e=o?wr(Lc,o,e):Oc({},e),e.useStyling=e.slotProps||e.tokens?$s(e,t):function(){return{}};var r=Gs(e),a=dr(function(l){return e.useRender(l,r)});return a.displayName=e.displayName,a.__options=e,a.customize=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return ma(wr(Lc,e,{tokens:l}),t)},a.compose=function(l){return ma(wr(Lc,e,l),t)},e.statics&&Object.assign(a,e.statics),a}s();s();s();s();var KT=m(X());s();s();var d0=m(c0()),y=d0.default;s();var F0=m(_c()),R0=m(m0()),H0=m(p0()),Mc=m(C0()),w0=m(S0()),A0=m(ha());s();var k0=m(X()),T0=m(Dc()),B0=mb(T0.default);function mb(e){for(var t in e)for(var n in e[t]){var o=e[t][n];if(typeof o=="string"&&o.includes("PlatformColor")){var r=o.substring(14,o.length-1);e[t][n]=(0,k0.PlatformColor)(r)}}return e}function zc(e){return e==="light"?Mc.default:e==="dark"||e==="darkElevated"?R0.default:e==="highContrast"?B0:((0,A0.assertNever)(e),Mc.default)}function Vc(e){return e==="light"?w0.default:e==="dark"?H0.default:F0.default}s();s();s();var Nc=m(X());function jc(e,t){return e===void 0?t:e==="dynamic"?Nc.Appearance&&Nc.Appearance.getColorScheme()||t:e}s();function fr(e){return e?e.name==="HighContrast":!1}s();function pa(e){return{neutralForeground1:e.neutralForeground1.rest,neutralForeground1Hover:e.neutralForeground1.hover,neutralForeground1Pressed:e.neutralForeground1.pressed,neutralForeground1Selected:e.neutralForeground1.selected,neutralForeground2:e.neutralForeground2.rest,neutralForeground2Hover:e.neutralForeground2.hover,neutralForeground2Pressed:e.neutralForeground2.pressed,neutralForeground2Selected:e.neutralForeground2.selected,neutralForeground2BrandHover:e.neutralForeground2.brandHover,neutralForeground2BrandPressed:e.neutralForeground2.brandPressed,neutralForeground2BrandSelected:e.neutralForeground2.brandSelected,neutralForeground3:e.neutralForeground3.rest,neutralForeground3Hover:e.neutralForeground3.hover,neutralForeground3Pressed:e.neutralForeground3.pressed,neutralForeground3Selected:e.neutralForeground3.selected,neutralForeground3BrandHover:e.neutralForeground3.brandHover,neutralForeground3BrandPressed:e.neutralForeground3.brandPressed,neutralForeground3BrandSelected:e.neutralForeground3.brandSelected,neutralForeground4:e.neutralForeground4.rest,neutralForegroundDisabled:e.neutralForegroundDisabled.rest,brandForegroundLink:e.brandForegroundLink.rest,brandForegroundLinkHover:e.brandForegroundLink.hover,brandForegroundLinkPressed:e.brandForegroundLink.pressed,brandForegroundLinkSelected:e.brandForegroundLink.selected,compoundBrandForeground1:e.compoundBrandForeground1.rest,compoundBrandForeground1Hover:e.compoundBrandForeground1.hover,compoundBrandForeground1Pressed:e.compoundBrandForeground1.pressed,brandForeground1:e.brandForeground1.rest,brandForeground1Disabled:e.brandForeground1.disabled,brandForeground1Pressed:e.brandForeground1.pressed,brandForeground2:e.brandForeground2.rest,neutralForegroundInverted:e.neutralForegroundInverted.rest,neutralForegroundOnBrand:e.neutralForegroundOnBrand.rest,neutralForegroundOnBrandHover:e.neutralForegroundOnBrand.hover,neutralForegroundOnBrandPressed:e.neutralForegroundOnBrand.pressed,neutralForegroundOnBrandSelected:e.neutralForegroundOnBrand.selected,neutralForegroundInvertedLink:e.neutralForegroundInvertedLink.rest,neutralForegroundInvertedLinkHover:e.neutralForegroundInvertedLink.hover,neutralForegroundInvertedLinkPressed:e.neutralForegroundInvertedLink.pressed,neutralForegroundInvertedLinkSelected:e.neutralForegroundInvertedLink.selected,neutralBackground1:e.neutralBackground1.rest,neutralBackground1Hover:e.neutralBackground1.hover,neutralBackground1Pressed:e.neutralBackground1.pressed,neutralBackground1Selected:e.neutralBackground1.selected,neutralBackground2:e.neutralBackground2.rest,neutralBackground2Hover:e.neutralBackground2.hover,neutralBackground2Pressed:e.neutralBackground2.pressed,neutralBackground2Selected:e.neutralBackground2.selected,neutralBackground3:e.neutralBackground3.rest,neutralBackground3Hover:e.neutralBackground3.hover,neutralBackground3Pressed:e.neutralBackground3.pressed,neutralBackground3Selected:e.neutralBackground3.selected,neutralBackground4:e.neutralBackground4.rest,neutralBackground4Hover:e.neutralBackground4.hover,neutralBackground4Pressed:e.neutralBackground4.pressed,neutralBackground4Selected:e.neutralBackground4.selected,neutralBackground5:e.neutralBackground5.rest,neutralBackground5Hover:e.neutralBackground5.hover,neutralBackground5Pressed:e.neutralBackground5.pressed,neutralBackground5Selected:e.neutralBackground5.selected,neutralBackground6:e.neutralBackground6.rest,neutralBackgroundInverted:e.neutralBackgroundInverted.rest,subtleBackground:e.subtleBackground.rest,subtleBackgroundHover:e.subtleBackground.hover,subtleBackgroundPressed:e.subtleBackground.pressed,subtleBackgroundSelected:e.subtleBackground.selected,transparentBackground:e.transparentBackground.rest,transparentBackgroundHover:e.transparentBackground.hover,transparentBackgroundPressed:e.transparentBackground.pressed,transparentBackgroundSelected:e.transparentBackground.selected,neutralBackgroundDisabled:e.neutralBackgroundDisabled.rest,neutralStencil1:e.neutralStencil1.rest,neutralStencil2:e.neutralStencil2.rest,brandBackground:e.brandBackground.rest,brandBackgroundHover:e.brandBackground.hover,brandBackgroundPressed:e.brandBackground.pressed,brandBackgroundDisabled:e.brandBackground.disabled,brandBackgroundSelected:e.brandBackground.selected,compoundBrandBackground1:e.compoundBrandBackground1.rest,compoundBrandBackground1Hover:e.compoundBrandBackground1.hover,compoundBrandBackground1Pressed:e.compoundBrandBackground1.pressed,brandBackgroundStatic:e.brandBackgroundStatic.rest,brandBackground2:e.brandBackground2.rest,neutralStrokeAccessible:e.neutralStrokeAccessible.rest,neutralStrokeAccessibleHover:e.neutralStrokeAccessible.hover,neutralStrokeAccessiblePressed:e.neutralStrokeAccessible.pressed,neutralStrokeAccessibleSelected:e.neutralStrokeAccessible.selected,neutralStroke1:e.neutralStroke1.rest,neutralStroke1Hover:e.neutralStroke1.hover,neutralStroke1Pressed:e.neutralStroke1.pressed,neutralStroke1Selected:e.neutralStroke1.selected,neutralStroke2:e.neutralStroke2.rest,neutralStroke3:e.neutralStroke3.rest,brandStroke1:e.brandStroke1.rest,brandStroke2:e.brandStroke2.rest,compoundBrandStroke1:e.compoundBrandStroke1.rest,compoundBrandStroke1Hover:e.compoundBrandStroke1.hover,compoundBrandStroke1Pressed:e.compoundBrandStroke1.pressed,neutralStrokeDisabled:e.neutralStrokeDisabled.rest,transparentStroke:e.transparentStroke.rest,transparentStrokeInteractive:e.transparentStroke.hover,transparentStrokeDisabled:e.transparentStroke.disabled,strokeFocus1:e.strokeFocus1.rest,strokeFocus2:e.strokeFocus2.rest,dangerBackground1:e.dangerBackground1.rest,dangerBackground2:e.dangerBackground2.rest,dangerBackground3:e.dangerBackground3.rest,dangerForeground1:e.dangerForeground1.rest,dangerForeground2:e.dangerForeground2.rest,dangerForeground3:e.dangerForeground3.rest,dangerForegroundInverted:e.dangerForegroundInverted.rest,dangerBorderActive:e.dangerBorderActive.rest,dangerBorder1:e.dangerBorder1.rest,dangerBorder2:e.dangerBorder2.rest,successBackground1:e.successBackground1.rest,successBackground2:e.successBackground2.rest,successBackground3:e.successBackground3.rest,successForeground1:e.successForeground1.rest,successForeground2:e.successForeground2.rest,successForeground3:e.successForeground3.rest,successForegroundInverted:e.successForegroundInverted.rest,successBorderActive:e.successBorderActive.rest,successBorder1:e.successBorder1.rest,successBorder2:e.successBorder2.rest,warningBackground1:e.warningBackground1.rest,warningBackground2:e.warningBackground2.rest,warningBackground3:e.warningBackground3.rest,warningForeground1:e.warningForeground1.rest,warningForeground2:e.warningForeground2.rest,warningForeground3:e.warningForeground3.rest,warningForegroundInverted:e.warningForegroundInverted.rest,warningBorderActive:e.warningBorderActive.rest,warningBorder1:e.warningBorder1.rest,warningBorder2:e.warningBorder2.rest,severeBackground1:e.severeBackground1.rest,severeBackground2:e.severeBackground2.rest,severeBackground3:e.severeBackground3.rest,severeForeground1:e.severeForeground1.rest,severeForeground2:e.severeForeground2.rest,severeForeground3:e.severeForeground3.rest,severeBorderActive:e.severeBorderActive.rest,severeBorder1:e.severeBorder1.rest,severeBorder2:e.severeBorder2.rest,outofofficeBackground1:e.outofofficeBackground1.rest,outofofficeBackground2:e.outofofficeBackground2.rest,outofofficeBackground3:e.outofofficeBackground3.rest,outofofficeForeground1:e.outofofficeForeground1.rest,outofofficeForeground2:e.outofofficeForeground2.rest,outofofficeForeground3:e.outofofficeForeground3.rest,outofofficeBorderActive:e.outofofficeBorderActive.rest,outofofficeBorder1:e.outofofficeBorder1.rest,outofofficeBorder2:e.outofofficeBorder2.rest}}function Wc(e){return{caption1:tr(e.caption1),body1:tr(e.body1),body1Strong:tr(e.body1Strong),body2:tr(e.body2),body2Strong:tr(e.body2Strong),subtitle1:tr(e.subtitle1),subtitle1Strong:tr(e.subtitle1Strong),subtitle2:tr(e.subtitle2),subtitle2Strong:tr(e.subtitle2Strong),title1:tr(e.title1),title1Strong:tr(e.title1Strong),largeTitle:tr(e.largeTitle),display:tr(e.display)}}function tr(e){return{face:"primary",size:e.fontSize,weight:e.fontWeight}}s();function ba(e){return{shadow2:{ambient:e.shadow2[0],key:e.shadow2[1]},shadow4:{ambient:e.shadow4[0],key:e.shadow4[1]},shadow8:{ambient:e.shadow8[0],key:e.shadow8[1]},shadow16:{ambient:e.shadow16[0],key:e.shadow16[1]},shadow28:{ambient:e.shadow28[0],key:e.shadow28[1]},shadow64:{ambient:e.shadow64[0],key:e.shadow64[1]},shadow2brand:{ambient:e.shadowBrand2[0],key:e.shadowBrand2[1]},shadow4brand:{ambient:e.shadowBrand4[0],key:e.shadowBrand4[1]},shadow8brand:{ambient:e.shadowBrand8[0],key:e.shadowBrand8[1]},shadow16brand:{ambient:e.shadowBrand16[0],key:e.shadowBrand16[1]},shadow28brand:{ambient:e.shadowBrand28[0],key:e.shadowBrand28[1]},shadow64brand:{ambient:e.shadowBrand64[0],key:e.shadowBrand64[1]}}}function hb(e){var t=zc(e);return pa(t)}var qo=Ye(hb);function pb(e){var t=Vc(e);return ba(t)}var Qs=Ye(pb);s();var qc=function(){return qc=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},qc.apply(this,arguments)};function Uc(e,t){return{background:e.white,bodyStandoutBackground:e.neutralLighterAlt,bodyFrameBackground:e.white,bodyFrameDivider:e.neutralLight,bodyText:e.neutralPrimary,bodyTextChecked:e.black,subText:e.neutralSecondary,bodyDivider:e.neutralLight,disabledBackground:t?e.neutralQuaternaryAlt:e.neutralLighter,disabledText:e.neutralTertiary,disabledBodyText:e.neutralTertiary,focusBorder:e.neutralSecondary,variantBorder:e.neutralLight,errorText:t?"#ff5f5f":e.redDark,inputBorder:e.neutralTertiary,inputBackground:e.white,inputFocusBorderAlt:e.themePrimary,inputText:e.neutralPrimary,inputPlaceholderText:e.neutralSecondary,buttonBackground:e.neutralLighter,buttonBackgroundChecked:e.neutralTertiaryAlt,buttonBackgroundHovered:e.neutralLight,buttonBackgroundPressed:e.neutralLight,buttonBackgroundDisabled:e.neutralLighter,buttonBorder:e.neutralSecondaryAlt,buttonText:t?e.black:e.neutralPrimary,buttonTextHovered:t?e.neutralPrimary:e.neutralDark,buttonTextChecked:e.neutralDark,buttonTextPressed:e.neutralDark,buttonTextDisabled:e.neutralTertiary,buttonBorderDisabled:e.neutralLighter,buttonBorderFocused:e.neutralSecondaryAlt,primaryButtonBackground:e.themePrimary,primaryButtonBackgroundHovered:e.themeDarkAlt,primaryButtonBackgroundPressed:e.themeDark,primaryButtonBackgroundDisabled:e.neutralLighter,primaryButtonBorder:"transparent",primaryButtonBorderFocused:"transparent",primaryButtonText:e.white,primaryButtonTextHovered:e.white,primaryButtonTextPressed:e.white,primaryButtonTextDisabled:e.neutralQuaternary,accentButtonBackground:e.accent,menuBackground:t?e.neutralLighter:e.white,menuDivider:e.neutralTertiaryAlt,menuIcon:t?e.themeDarkAlt:e.themePrimary,menuItemBackgroundHovered:t?e.neutralQuaternaryAlt:e.neutralLighter,menuItemBackgroundPressed:t?e.neutralQuaternary:e.neutralLight,menuItemText:e.neutralPrimary,menuItemTextHovered:e.neutralDark,listHeaderBackgroundHovered:e.neutralLighter,listHeaderBackgroundPressed:e.neutralLight,actionLink:e.neutralPrimary,link:e.themePrimary,linkHovered:e.themeDarker,linkPressed:e.themeDark,defaultBackground:e.neutralLighter,defaultBorder:e.neutralSecondaryAlt,defaultContent:t?e.black:e.neutralPrimary,defaultIcon:t?e.black:e.neutralPrimary,defaultHoveredBackground:e.neutralLight,defaultHoveredBorder:e.neutralSecondaryAlt,defaultHoveredContent:t?e.neutralPrimary:e.neutralDark,defaultHoveredIcon:t?e.neutralPrimary:e.neutralDark,defaultFocusedBackground:e.neutralLight,defaultFocusedBorder:e.neutralSecondaryAlt,defaultFocusedContent:t?e.neutralPrimary:e.neutralDark,defaultFocusedIcon:t?e.neutralPrimary:e.neutralDark,defaultPressedBackground:e.neutralLight,defaultPressedBorder:e.neutralSecondaryAlt,defaultPressedContent:e.neutralDark,defaultPressedIcon:e.neutralDark,defaultDisabledBackground:e.neutralLighter,defaultDisabledBorder:e.neutralLighter,defaultDisabledContent:e.neutralTertiary,defaultDisabledIcon:e.neutralTertiary,ghostBackground:e.white,ghostBorder:e.white,ghostContent:e.neutralPrimary,ghostIcon:e.neutralPrimary,ghostHoveredBackground:e.neutralLighter,ghostHoveredBorder:e.neutralLighter,ghostHoveredContent:e.neutralDark,ghostHoveredIcon:e.neutralDark,ghostFocusedBackground:e.neutralLighter,ghostFocusedBorder:e.neutralSecondaryAlt,ghostFocusedContent:e.neutralDark,ghostFocusedIcon:e.neutralDark,ghostPressedBackground:e.neutralLight,ghostPressedBorder:e.neutralLight,ghostPressedContent:e.neutralDark,ghostPressedIcon:e.neutralDark,ghostDisabledBackground:e.white,ghostDisabledBorder:e.white,ghostDisabledContent:e.neutralTertiary,ghostDisabledIcon:e.neutralTertiary,brandedBackground:e.themePrimary,brandedDisabledBorder:e.neutralLighter,defaultCheckedBackground:e.neutralTertiaryAlt,defaultCheckedContent:e.neutralDark,defaultCheckedHoveredBackground:e.neutralLight,defaultCheckedHoveredContent:t?e.neutralPrimary:e.neutralDark,ghostCheckedBackground:e.neutralLight,ghostCheckedContent:e.black,ghostCheckedHoveredBackground:e.neutralLighter,ghostCheckedHoveredContent:e.neutralDark,ghostCheckedHoveredBorder:e.neutralDark,ghostSecondaryContent:e.neutralSecondary,ghostFocusedSecondaryContent:e.neutralSecondary,ghostHoveredSecondaryContent:e.neutralSecondary,ghostPressedSecondaryContent:e.neutralSecondary,brandedSecondaryContent:e.neutralLighterAlt,brandedFocusedSecondaryContent:e.neutralLighterAlt,brandedHoveredSecondaryContent:e.neutralLighterAlt,brandedPressedSecondaryContent:e.neutralLighterAlt,defaultHoveredSecondaryContent:e.neutralTertiary,defaultPressedSecondaryContent:e.neutralTertiary,checkmarkColor:e.white,checkboxBackground:e.themePrimary,checkboxBackgroundDisabled:e.neutralLighter,checkboxBorderColor:e.neutralSecondaryAlt,personaActivityRing:e.white,personaActivityGlow:e.themePrimary}}function I0(){return qc({background:"#000000",bodyStandoutBackground:"#000000",bodyFrameBackground:"#000000",bodyFrameDivider:"#000000",bodyText:"#ffffff",bodyTextChecked:"#000000",subText:"#ffffff",bodyDivider:"#ffffff",disabledBackground:"#000000",disabledText:"#3ff23f",disabledBodyText:"#3ff23f",focusBorder:"#ffffff",variantBorder:"#ffffff",errorText:"#ffffff",inputBorder:"#ffffff",inputBackground:"#000000",inputFocusBorderAlt:"#ffffff",inputText:"#ffffff",inputPlaceholderText:"#ffffff",buttonBackground:"#000000",buttonBackgroundChecked:"#1aebff",buttonBackgroundHovered:"#1aebff",buttonBackgroundPressed:"#1aebff",buttonBackgroundDisabled:"#000000",buttonBorder:"#ffffff",buttonText:"#ffffff",buttonTextHovered:"#000000",buttonTextChecked:"#000000",buttonTextPressed:"#000000",buttonTextDisabled:"#3ff23f",buttonBorderDisabled:"#3ff23f",buttonBorderFocused:"#ffffff",primaryButtonBackground:"#000000",primaryButtonBackgroundHovered:"#1aebff",primaryButtonBackgroundPressed:"#1aebff",primaryButtonBackgroundDisabled:"#000000",primaryButtonBorder:"#ffffff",primaryButtonBorderFocused:"#ffffff",primaryButtonText:"#ffffff",primaryButtonTextHovered:"#000000",primaryButtonTextPressed:"#000000",primaryButtonTextDisabled:"#3ff23f",accentButtonBackground:"#000000",menuBackground:"#000000",menuDivider:"#ffffff",menuIcon:"#ffffff",menuItemBackgroundHovered:"#1aebff",menuItemBackgroundPressed:"#1aebff",menuItemText:"#ffffff",menuItemTextHovered:"#000000",listHeaderBackgroundHovered:"#1aebff",listHeaderBackgroundPressed:"#1aebff",actionLink:"#ffff00",link:"#ffff00",linkHovered:"#ffffff",linkPressed:"#ffffff",defaultBackground:"#000000",defaultBorder:"#ffffff",defaultContent:"#ffffff",defaultIcon:"#ffffff",defaultHoveredBackground:"#1aebff",defaultHoveredBorder:"#1aebff",defaultHoveredContent:"#000000",defaultHoveredIcon:"#000000",defaultFocusedBackground:"#000000",defaultFocusedBorder:"#ffffff",defaultFocusedContent:"#ffffff",defaultFocusedIcon:"#ffffff",defaultPressedBackground:"#1aebff",defaultPressedBorder:"#1aebff",defaultPressedContent:"#000000",defaultPressedIcon:"#000000",defaultDisabledBackground:"#000000",defaultDisabledBorder:"#3ff23f",defaultDisabledContent:"#3ff23f",defaultDisabledIcon:"#3ff23f",ghostBackground:"#000000",ghostBorder:"#000000",ghostContent:"#ffffff",ghostIcon:"#ffffff",ghostHoveredBackground:"#1aebff",ghostHoveredBorder:"#1aebff",ghostHoveredContent:"#000000",ghostHoveredIcon:"#000000",ghostFocusedBackground:"#000000",ghostFocusedBorder:"#ffffff",ghostFocusedContent:"#ffffff",ghostFocusedIcon:"#ffffff",ghostPressedBackground:"#1aebff",ghostPressedBorder:"#1aebff",ghostPressedContent:"#000000",ghostPressedIcon:"#000000",ghostDisabledBackground:"#000000",ghostDisabledBorder:"#000000",ghostDisabledContent:"#3ff23f",ghostDisabledIcon:"#3ff23f",brandedBackground:"#000000",brandedDisabledBorder:"#3ff23f",defaultCheckedBackground:"#1aebff",defaultCheckedContent:"#000000",defaultCheckedHoveredBackground:"#1aebff",defaultCheckedHoveredContent:"#000000",ghostCheckedBackground:"#1aebff",ghostCheckedContent:"#000000",ghostCheckedHoveredBackground:"#1aebff",ghostCheckedHoveredContent:"#000000",ghostCheckedHoveredBorder:"#000000",ghostSecondaryContent:"#ffffff",ghostFocusedSecondaryContent:"#ffffff",ghostHoveredSecondaryContent:"#000000",ghostPressedSecondaryContent:"#000000",brandedSecondaryContent:"#ffffff",brandedFocusedSecondaryContent:"#ffffff",brandedHoveredSecondaryContent:"#000000",brandedPressedSecondaryContent:"#000000",defaultHoveredSecondaryContent:"#000000",defaultPressedSecondaryContent:"#000000",checkmarkColor:"#ffffff",checkboxBackground:"#000000",checkboxBackgroundDisabled:"#000000",checkboxBorderColor:"#ffffff",personaActivityRing:"#ffffff",personaActivityGlow:"transparent"},qo("highContrast"))}s();var Uo=function(){return Uo=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Uo.apply(this,arguments)};function E0(){return Uo(Uo({},Uc({black:y.color.black,neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",white:y.color.white,red:y.color.red.primary,redDark:y.color.burgundy.primary,themeDarker:y.color.brand.shade40,themeDark:y.color.brand.shade20,themeDarkAlt:y.color.brand.shade10,themePrimary:y.color.brand.primary,themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:y.color.brand.tint40,themeLighter:y.color.brand.tint50,themeLighterAlt:y.color.brand.tint60,accent:y.color.brand.primary,blackTranslucent40:"rgba(0,0,0,.4)"})),qo("light"))}function P0(){return Uo(Uo({},Uc({themeDarker:"#82c7ff",themeDark:y.color.brand.tint30,themeDarkAlt:y.color.brand.tint20,themePrimary:y.color.brand.tint10,themeSecondary:y.color.brand.primary,themeTertiary:"#235a85",themeLight:y.color.brand.shade30,themeLighter:y.color.brand.shade50,themeLighterAlt:y.color.brand.shade60,black:y.color.white,neutralDark:"#faf9f8",neutralPrimary:"#f3f2f1",neutralPrimaryAlt:"#c8c6c4",neutralSecondary:"#a19f9d",neutralSecondaryAlt:"#979693",neutralTertiary:"#797775",neutralTertiaryAlt:"#484644",neutralQuaternary:"#3b3a39",neutralQuaternaryAlt:"#323130",neutralLight:"#292827",neutralLighter:"#252423",neutralLighterAlt:"#201f1e",white:"#1b1a19",red:y.color.red.primary,accent:y.color.brand.primary,redDark:"#f1707b",blackTranslucent40:"rgba(0,0,0,.4)"},!0)),qo("dark"))}function bb(){var e={sizes:{caption:y.font.size100,secondary:y.font.size200,body:y.font.size300,subheader:y.font.size400,header:y.font.size500,hero:y.font.size700,heroLarge:y.font.size900},weights:{regular:y.font.weight.regular,semiBold:y.font.weight.semibold},families:{primary:"Segoe UI",secondary:"Segoe UI",cursive:"System",monospace:"System",numeric:"System",sansSerif:"System",serif:"System"},variants:{captionStandard:{face:"primary",size:"caption",weight:"regular"},secondaryStandard:{face:"primary",size:"secondary",weight:"regular"},secondarySemibold:{face:"primary",size:"secondary",weight:"semiBold"},bodyStandard:{face:"primary",size:"body",weight:"regular"},bodySemibold:{face:"primary",size:"body",weight:"semiBold"},subheaderStandard:{face:"primary",size:"subheader",weight:"regular"},subheaderSemibold:{face:"primary",size:"subheader",weight:"semiBold"},headerStandard:{face:"primary",size:"header",weight:"regular"},headerSemibold:{face:"primary",size:"header",weight:"semiBold"},heroStandard:{face:"primary",size:"hero",weight:"regular"},heroSemibold:{face:"primary",size:"hero",weight:"semiBold"},heroLargeStandard:{face:"primary",size:"heroLarge",weight:"regular"},heroLargeSemibold:{face:"primary",size:"heroLarge",weight:"semiBold"},caption1:{face:"primary",size:"caption",weight:"regular"},caption1Strong:{face:"primary",size:"caption",weight:"semiBold"},body1:{face:"primary",size:"secondary",weight:"regular"},body1Strong:{face:"primary",size:"secondary",weight:"semiBold"},body2:{face:"primary",size:"body",weight:"regular"},body2Strong:{face:"primary",size:"body",weight:"semiBold"},subtitle1:{face:"primary",size:"header",weight:"regular"},subtitle1Strong:{face:"primary",size:"header",weight:"semiBold"},subtitle2:{face:"primary",size:"subheader",weight:"regular"},subtitle2Strong:{face:"primary",size:"subheader",weight:"semiBold"},title1:{face:"primary",size:"hero",weight:"regular"},title1Strong:{face:"primary",size:"hero",weight:"semiBold"},largeTitle:{face:"primary",size:"heroLarge",weight:"regular"},display:{face:"primary",size:"heroLarge",weight:"semiBold"}}};return e}function Cb(){return{s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"}}var Vt={colors:E0(),typography:bb(),spacing:Cb(),shadows:Qs("light"),components:{},host:{appearance:"light"}},Xs={colors:P0(),typography:Vt.typography,shadows:Qs("dark"),spacing:Vt.spacing,components:{},host:{appearance:"dark"}},L0={colors:I0(),typography:Vt.typography,shadows:Qs("highContrast"),spacing:Vt.spacing,components:{},host:{appearance:"highContrast"}};s();var Kc=m(X());s();s();var Go=m(R());var Gc=function(t){var n=t.theme,o=t.children,r=Go.useState(function(){return n.theme}),a=r[0],l=r[1];return Go.useEffect(function(){l(n.theme);var u=function(){l(n.theme)};return n.addOnThemeChanged(u),function(){n.removeOnThemeChanged(u)}},[n,l]),Go.createElement(No.Provider,{value:a},o)};s();s();function O0(e,t){return Jt(e,t)}var Ca=function(){function e(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=this;if(this.themeData=void 0,this.listeners=[],this.parentRef=void 0,this.listeners=[],this.recipes=n,this.parentRef=t instanceof e?t:void 0,this.parentRef){var a=function(){r.invalidate()};this.parentRef.addOnThemeChanged(a)}this.getParent=function(){return r.parentRef?r.parentRef.theme:t}}return Object.defineProperty(e.prototype,"theme",{get:function(){if(!this.themeData){for(var n=this.getParent(),o=0,r=this.recipes;o<r.length;o++){var a=r[o];n=O0(n,typeof a=="function"?a(n):a)}this.themeData=n}return this.themeData},enumerable:!1,configurable:!0}),e.prototype.addOnThemeChanged=function(t){this.listeners.push(t)},e.prototype.removeOnThemeChanged=function(t){this.listeners=this.listeners.filter(function(n){return n!==t})},e.prototype.invalidate=function(){this.themeData=void 0;for(var t=0,n=this.listeners;t<n.length;t++){var o=n[t];o()}},e.prototype.update=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.recipes=t,this.invalidate()},e}();var _0=m(ha());function $c(e){e===void 0&&(e={});var t=new Ca({},function(){var n=jc(e.appearance,e.defaultAppearance||"light");switch(n){case"light":return Vt;case"dark":return Xs;case"darkElevated":return Xs;case"highContrast":return L0;default:(0,_0.default)(n)}});return Kc.Appearance&&e.appearance==="dynamic"&&Kc.Appearance.addChangeListener(function(){t.invalidate()}),t}function hn(){return bo()||Vt}var va={useTheme:function(){return hn()},getComponentInfo:function(t,n){var o=t.components||{};return o[n]}};function rr(e,t){return ma(e,va,t)}s();function Ys(e,t){var n=function(a){return e(a,t)},o=dr(n);return o.customize=function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];var l=t.customize.apply(t,r);return Ys(e,l)},o}s();function we(e,t){return Ec(e,t)}s();function Zc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Wo.apply(void 0,le([va.getComponentInfo],e,!1))}var Qc=Ye(vb);function vb(e,t){return t?I({disabled:e},t):{disabled:e}}var Sb={" ":E.Space,ArrowDown:E.ArrowDown,ArrowUp:E.ArrowUp,ArrowLeft:E.ArrowLeft,ArrowRight:E.ArrowRight,Enter:E.Enter,End:E.End,Escape:E.Escape,Home:E.Home,Tab:E.Tab},NF={" ":E.Space,ArrowDown:E.ArrowDown,ArrowUp:E.ArrowUp,ArrowLeft:E.ArrowLeft,ArrowRight:E.ArrowRight,Enter:E.Enter,End:E.End,Escape:E.Escape,Home:E.Home,Tab:E.Tab},yb=function(t){if(t!==void 0)return Sb[t]};function xb(e,t,n,o,r){var a=e.nativeEvent,l=yb(a.key);if(l!==void 0){var u={key:l,alt:a.altKey,ctrl:a.ctrlKey,shift:a.shiftKey,meta:a.metaKey};if(!n||n.length===0||n.includes(l)){var c=t(u);if(c&&(e.stopPropagation(),e.preventDefault()),c!==!1)return}if(r&&(l===E.Enter||l===E.Space)){o==null||o();return}}}function Xc(){return!0}function Ko(e,t,n,o){if(Xc()){var r=e.onKeyUp,a=e.onKeyDown,l=e.handledKeys,u=function(d,g){return xb(d,g,l,n,o)};a&&(t.onKeyDown=function(c){u(c,a)}),r&&(t.onKeyUp=function(c){u(c,r)})}}function Js(){return{keyIdentifier:E.ArrowDown,modifier:"alt"}}var RE=m(X());s();s();s();var kb={children:!0,accessibilityAccessKey:!0,accessibilityActions:!0,accessibilityAnnotation:!0,accessibilityControls:!0,accessibilityDescribedBy:!0,accessibilityDescription:!0,accessibilityElementsHidden:!0,accessibilityHint:!0,accessibilityIgnoresInvertColors:!0,accessibilityItemType:!0,accessibilityLabel:!0,accessibilityLabelledBy:!0,accessibilityLanguage:!0,accessibilityLevel:!0,accessibilityLiveRegion:!0,accessibilityPositionInSet:!0,accessibilityRole:!0,accessibilitySetSize:!0,accessibilityState:!0,accessibilityValue:!0,accessibilityViewIsModal:!0,accessible:!0,animationClass:!0,collapsable:!0,cursor:!0,enableFocusRing:!0,focusable:!0,hasTVPreferredFocus:!1,hitSlop:!0,id:!0,importantForAccessibility:!0,isTVSelectable:!1,keyDownEvents:!0,keyUpEvents:!0,nativeID:!0,needsOffscreenAlphaCompositing:!0,onAccessibilityAction:!0,onAccessibilityEscape:!0,onAccessibilityTap:!0,onBlur:!0,onBlurCapture:!0,onFocus:!0,onFocusCapture:!0,onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0,onLayout:!0,onMagicTap:!1,onMouseEnter:!0,onMouseLeave:!0,onMoveShouldSetResponder:!0,onMoveShouldSetResponderCapture:!0,onPointerCancel:!0,onPointerCancelCapture:!0,onPointerDown:!0,onPointerDownCapture:!0,onPointerEnter:!0,onPointerEnterCapture:!0,onPointerLeave:!0,onPointerLeaveCapture:!0,onPointerMove:!0,onPointerMoveCapture:!0,onPointerUp:!0,onPointerUpCapture:!0,onResponderEnd:!0,onResponderGrant:!0,onResponderMove:!0,onResponderReject:!0,onResponderRelease:!0,onResponderStart:!0,onResponderTerminate:!0,onResponderTerminationRequest:!0,onStartShouldSetResponder:!0,onStartShouldSetResponderCapture:!0,onTouchCancel:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchStart:!0,pointerEvents:!0,removeClippedSubviews:!0,renderToHardwareTextureAndroid:!0,role:!0,shouldRasterizeIOS:!0,style:!0,tabIndex:!0,testID:!0,tooltip:!0,tvParallaxMagnification:!1,tvParallaxProperties:!1,tvParallaxShiftDistanceX:!1,tvParallaxShiftDistanceY:!1,tvParallaxTiltAngle:!1,"aria-busy":!0,"aria-checked":!0,"aria-controls":!0,"aria-describedby":!0,"aria-description":!0,"aria-disabled":!0,"aria-expanded":!0,"aria-hidden":!0,"aria-label":!0,"aria-labelledby":!0,"aria-level":!0,"aria-live":!0,"aria-modal":!0,"aria-multiselectable":!0,"aria-posinset":!0,"aria-required":!0,"aria-selected":!0,"aria-setsize":!0,"aria-valuemax":!0,"aria-valuemin":!0,"aria-valuenow":!0,"aria-valuetext":!0},Tb={children:!0,accessibilityAccessKey:!0,accessibilityActions:!0,accessibilityAnnotation:!0,accessibilityControls:!0,accessibilityDescribedBy:!0,accessibilityDescription:!0,accessibilityElementsHidden:!0,accessibilityHint:!0,accessibilityIgnoresInvertColors:!0,accessibilityItemType:!0,accessibilityLabel:!0,accessibilityLabelledBy:!0,accessibilityLanguage:!0,accessibilityLevel:!0,accessibilityLiveRegion:!0,accessibilityPositionInSet:!0,accessibilityRole:!0,accessibilitySetSize:!0,accessibilityState:!0,accessibilityValue:!0,accessibilityViewIsModal:!0,accessible:!0,adjustsFontSizeToFit:!1,allowFontScaling:!0,android_hyphenationFrequency:!1,dataDetectorType:!1,disabled:!0,dynamicTypeRamp:!1,ellipsizeMode:!0,focusable:!0,id:!0,importantForAccessibility:!0,keyDownEvents:!0,keyUpEvents:!0,lineBreakMode:!0,lineBreakStrategyIOS:!0,maxFontSizeMultiplier:!0,minimumFontScale:!0,nativeID:!0,numberOfLines:!0,onAccessibilityAction:!0,onAccessibilityEscape:!0,onAccessibilityTap:!0,onBlur:!0,onBlurCapture:!0,onFocus:!0,onFocusCapture:!0,onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0,onLayout:!0,onLongPress:!0,onMagicTap:!1,onPress:!0,onPressIn:!0,onPressOut:!0,onTextLayout:!0,role:!0,selectable:!0,selectionColor:!0,style:!0,suppressHighlighting:!0,testID:!0,textBreakStrategy:!0,textStyle:!0,tooltip:!0,"aria-busy":!0,"aria-checked":!0,"aria-controls":!0,"aria-describedby":!0,"aria-description":!0,"aria-disabled":!0,"aria-expanded":!0,"aria-hidden":!0,"aria-label":!0,"aria-labelledby":!0,"aria-level":!0,"aria-live":!0,"aria-modal":!0,"aria-multiselectable":!0,"aria-posinset":!0,"aria-required":!0,"aria-selected":!0,"aria-setsize":!0,"aria-valuemax":!0,"aria-valuemin":!0,"aria-valuenow":!0,"aria-valuetext":!0};function el(e){return kb[e]}function Yc(e){return Tb[e]}s();s();var vo=m(R()),ka=m(X());s();s();var Jc=m(R()),tl=m(X());s();var Sa="Text";s();var M0=Zc(function(e){return{variant:"secondaryStandard",color:e.colors.bodyText}},Sa);var Kr=function(){return Kr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Kr.apply(this,arguments)},Bb=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},Fb=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))},z0={},ze=Ys(function(e,t){var n;e===void 0&&(e=z0);var o=e.align,r=o===void 0?void 0:o,a=e.block,l=e.color,u=e.componentRef,c=e.font,d=e.italic,g=e.numberOfLines,h=e.onAccessibilityTap,p=e.onKeyUp,C=e.onKeyDown,v=e.keyUpEvents,T=e.keyDownEvents,B=e.onPress,F=e.size,w=e.strikethrough,k=e.style,S=e.truncate,H=S===void 0?!1:S,W=e.underline,$=e.variant,Q=e.weight,re=e.wrap,ie=re===void 0?!0:re,fe=Bb(e,["align","block","color","componentRef","font","italic","numberOfLines","onAccessibilityTap","onKeyUp","onKeyDown","keyUpEvents","keyDownEvents","onPress","size","strikethrough","style","truncate","underline","variant","weight","wrap"]),oe=hn(),ge=t(oe),G=ge[0],de=ge[1],U=tl.I18nManager.isRTL?r==="start"?"right":r==="end"?"left":r:r==="start"?"left":r==="end"?"right":r,K=Jc.default.useCallback(function(Ie){B&&B(Ie),Ie.stopPropagation()},[B]),Ce=Hr(K," ","Enter"),Z=Jc.default.useCallback(function(Ie){h?h():B(Ie)},[B,h]);n=ga(G,de,{color:l,variant:$,fontFamily:c=="base"?"primary":c,fontMaximumSize:G.maximumFontSize,fontSize:y.font["size"+F],fontWeight:y.font.weight[Q],fontStyle:d?"italic":void 0,textAlign:U,textDecorationLine:W&&w?"underline line-through":W?"underline":w?"line-through":void 0}),G=n[0],de=n[1];var q=de(function(){return Kr({margin:0,color:G.color,fontStyle:G.fontStyle,textAlign:G.textAlign,textDecorationLine:G.textDecorationLine},et.from(G,oe))},Fb(["color","fontStyle","textAlign","textDecorationLine"],et.keys,!0))[0],se=void 0,me=z0,ve=!0,Ze={onKeyUp:p,keyUpEvents:v,validKeysUp:void 0,onKeyDown:C,keyDownEvents:T,validKeysDown:void 0,onAccessibilityTap:Z};return function(Ie,Oe){var qe=Kr(Kr(Kr(Kr(Kr(Kr({},fe),Ce),Ze),Ie),me),{onPress:B,numberOfLines:g??(H||!ie?1:0),style:er(q,e.style,Ie==null?void 0:Ie.style)});return delete qe.style.dynamicTypeRamp,delete qe.style.maximumFontSize,ee(tl.Text,Kr({ref:u,ellipsizeMode:!ie&&!H?"clip":"tail"},qe),Oe)}},M0);ze.displayName=Sa;s();var Rb=ze.customize({variant:"caption1"});var Hb=ze.customize({variant:"body1"}),wb=ze.customize({variant:"body1Strong"}),Ab=ze.customize({variant:"body2"}),Ib=ze.customize({variant:"body2Strong"}),Eb=ze.customize({variant:"subtitle1"}),Pb=ze.customize({variant:"subtitle1Strong"}),Lb=ze.customize({variant:"subtitle2"}),Ob=ze.customize({variant:"subtitle2Strong"}),_b=ze.customize({variant:"title1"}),Db=ze.customize({variant:"title1Strong"});var Mb=ze.customize({variant:"largeTitle"}),zb=ze.customize({variant:"display"});s();var ya="RNFText";s();var Q0=m(X());s();s();s();s();s();var xa=m(R());s();s();var Vb=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))},Nb={tokens:0,object:Te,get _overrides(){return{object:this}}};function Ue(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wr.apply(void 0,Vb([Nb],e,!1))}function rl(e,t){var n=typeof t=="function"?t:function(o){return t[o]};return e&&e._precedence&&e._precedence.filter(function(o){return n(o)})||[]}function ed(e,t){var n=e,o=e._overrides,r=e._precedence;if(t&&o&&r)for(var a=rl(e,t),l=0,u=a;l<u.length;l++){var c=u[l];n=Ue(n,n._overrides[c])}return n}var V0=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))};function N0(e,t,n){var o=Te(e,t);if(n&&o){var r={};Object.getOwnPropertyNames(o).forEach(function(a){n(a)||(r[a]=void 0)}),o=Te(o,r)}return o}function j0(e){return e._canCompose=!0,e}function W0(e,t){var n={composable:e,slotInfo:t},o=e&&e.slots;if(o){var r=n.Slots={},a=n.childInfo={};Object.getOwnPropertyNames(o).forEach(function(l){var u=o[l],c=u.slotType,d=u.filter,g=typeof c!="string"&&c.__composable||void 0,h=a[l]=W0(g,o[l]);g?r[l]=j0(function(p){for(var C=[],v=1;v<arguments.length;v++)C[v-1]=arguments[v];var T=h.renderData,B=h.Slots;if(d||p){var F={root:N0(T.slotProps.root,p,d)};T.slotProps=Ue(T.slotProps,F)}return g.render.apply(g,V0([B,T],C,!1))}):r[l]=j0(function(p){for(var C=[],v=1;v<arguments.length;v++)C[v-1]=arguments[v];var T=N0(h.renderData.slotProps.root,p,d);return xa.createElement.apply(xa,V0([c,T],C,!1))})})}return n}function q0(e,t){if(t.composable){var n=t.composable,o=n.usePrepareProps,r=n.useStyling;t.renderData=o(e,r)||{}}else t.renderData={slotProps:{root:e}};var a=t.childInfo;if(a){var l=t.renderData.slotProps||{};Object.getOwnPropertyNames(a).forEach(function(u){q0(l[u],a[u])})}return{renderData:t.renderData,Slots:t.Slots}}function U0(e,t){var n=xa.useMemo(function(){return W0(t)},[]);return q0(e,n)}s();var rd=m(R()),td=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))};function nl(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return typeof e=="function"&&e._canCompose?e.apply(void 0,td([t],n,!1)):rd.createElement.apply(rd,td([e,t],n,!1))}function pt(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return nl.apply(void 0,td([e,t],n,!1))}var Wb=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},qb=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))};function G0(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return nl.apply(void 0,qb([e.root,void 0],n,!1))}function K0(e,t){var n=Ue(t(e),{root:e});return{slotProps:n}}function Ub(e){var t=e.slots&&Object.getOwnPropertyNames(e.slots).length||0;if(t){if(t>1&&!e.render)throw"A composable component with multiple slots cannot use the default render implementation"}else throw"A composable component must have at least one slot specified";for(var n in e.slots){var o=e.slots[n];o&&(typeof o!="object"||!o.slotType)&&(e.slots[n]={slotType:o})}return e.useStyling||(e.useStyling=function(){return{}}),e.render=e.render||G0,e.usePrepareProps=e.usePrepareProps||K0,e}function Co(e){var t=Ub(e),n=function(r){var a=r,l=a.children,u=Wb(a,["children"]),c=U0(u,t),d=c.renderData,g=c.Slots;return t.render(g,d,l)};return n.displayName=t.displayName,n.__composable=t,n}s();s();s();function $0(e,t,n){return e?Ue.apply(void 0,e.map(function(o){return typeof o=="string"?n&&n(t,o)||void 0:typeof o=="function"?o(t):o})):void 0}function nd(e,t,n,o,r){var a,l=n(function(){return $0(e,t,r)},[t]),u=l[0],c=l[1],d=rl(u,o);return d.length>0&&(a=c(function(){return ed(u,o)},d),u=a[0],c=a[1]),{settings:u,getMemoValue:c}}s();s();var Gb=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function od(e){if(e){var t=e._overrides,n=e._precedence,o=Gb(e,["_overrides","_precedence"]);return o}return e}function id(e,t){return e.components&&e.components[t]||void 0}s();s();s();var ad=function(){return ad=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ad.apply(this,arguments)};function Kb(e,t,n){var o=ad({},t),r={};for(var a in n)e[a]!==void 0&&e[a]!==o[a]&&(r[a]=o[a]=e[a]);return{tokens:o,deltas:r,tokenKeys:n}}function sd(e,t,n,o,r){n=n||{};var a=n.tokens||{},l=o.handlers,u=o.tokenKeys,c=Kb(e,a,u),d={tokens:c.tokens||{}};return Object.getOwnPropertyNames(l).forEach(function(g){var h=l[g];d[g]=h(n[g]||{},c,t,g,r)}),d}s();var $b=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))};function Zb(e,t,n,o){e[t]!==void 0&&(o[n||t]=e[t])}function Qb(e,t,n,o){var r=n.source,a=n.lookup;if(e[r]!==void 0){var l=a&&a(t),u=e[r];typeof u=="string"&&l&&l[u]!==void 0&&(u=l[u]),o[n.target||r]=u}}function Xb(e,t,n){var o={};if(n.toStyle.length>0){for(var r={},a=0,l=n.toStyle;a<l.length;a++){var u=l[a];Qb(e,t,u,r)}Object.keys(r).length>0&&(o.style=r)}for(var c=0,d=n.toTokens;c<d.length;c++){var u=d[c];Zb(e,u.source,u.target,o)}return o}function Yb(e,t,n){if(e&&e.length>0)return Te.apply(void 0,e.map(function(o){return o(t,n)}))}function Jb(e,t,n,o,r,a,l,u){var c=t.tokens,d=t.tokenKeys,g=t.deltas;return r(function(){var h=Te(e,o==="root"?d:void 0,Xb(c,n,l),Yb(l.functions,c,n));return u&&(h=u(h,o)),h},$b([o],a.map(function(h){return g[h]!==void 0?g[h]:""}),!0))[0]}function ld(e,t){var n={},o={};return Object.getOwnPropertyNames(e).forEach(function(r){var a=e[r],l={toStyle:[],toTokens:[],functions:[]},u=l.toStyle,c=l.toTokens,d=l.functions,g={};if(a)for(var h=Array.isArray(a)?a:[a],p=0,C=h;p<C.length;p++){var v=C[p];if(typeof v=="function")d.push(v),v._keys.forEach(function(S){g[S]=void 0});else for(var T=Array.isArray(v)?v:[v],B=0,F=T;B<F.length;B++){var w=F[B];g[w.source]=void 0;var k=w.target||w.source;t&&t(r,k)?c.push(w):u.push(w)}}Object.assign(n,g),o[r]=function(S,H,W,$,Q){var re=Object.getOwnPropertyNames(g);return Jb(S,H,W,$,Q,re,l)}}),{tokenKeys:n,handlers:o}}function ud(e){var t=e&&typeof e;return(t==="object"||t==="function")&&e.__composable||void 0}function e7(e,t){return id(e,t)}function t7(e){var t={};return Object.keys(e).forEach(function(n){var o=e[n],r=typeof o!="object"?o:o.slotType,a=ud(r);t[n]=a&&a.resolvedTokens&&a.resolvedTokens.tokenKeys||void 0}),function(n,o){return t[n]&&t[n].hasOwnProperty(o)}}function r7(e,t,n,o){var r=bo()||Vt;o=o||e;var a=nd(t.settings,r,n,o,e7),l=a.settings,u=a.getMemoValue;return od(sd(e,r,l,t.resolvedTokens,u))}function cd(e){var t=e.styles,n=e.slots;e.resolvedTokens=ld(t,t7(n));var o=ut(e);return function(r,a){return r7(r,e,o,a)}}function n7(e,t){if(t){var n={settings:[].concat(t.settings||[],e.settings||[]).filter(function(o){return o})};return Jt(t,e,n)}return e}function nr(e,t){var n=n7(e,t&&ud(t));n.useStyling=cd(n);var o=Co(n);return o.displayName=n.displayName,Object.assign(o,n.statics),o.customize=function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];return nr({settings:r},o)},o.compose=function(r){return nr(r,o)},o}s();var Z0=[{tokens:{variant:"secondaryStandard",color:"bodyText"},root:{style:{margin:0}},_overrides:{disabled:{tokens:{color:"disabledText"}}},_precedence:["disabled"]},ya];var pn=nr({displayName:ya,settings:Z0,slots:{root:{slotType:Q0.Text,filter:Yc}},styles:{root:[Gr,Ar]}});var Y0=m(bn()),ol=function(){return ol=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ol.apply(this,arguments)},J0=ut();function o7(e){var t=e.width,n=e.height,o=e.color,r=er(e.style,J0({width:t,height:n,tintColor:o},[t,n,o])[0]);return vo.createElement(ka.Image,{source:e.rasterImageSource.src,style:r,accessible:e.accessible,accessibilityRole:"image",accessibilityLabel:e.accessibilityLabel})}function i7(e,t){return t}var a7=ut();function s7(e){var t=e.fontSource,n=a7({fontSrcFile:t.fontSrcFile,fontFamily:t.fontSrcFile!=null?i7(t.fontSrcFile,t.fontFamily):t.fontFamily,fontSize:t.fontSize,color:e.color},[e.color,t.fontSrcFile,t.fontFamily,t.fontSize])[0],o=String.fromCharCode(t.codepoint);return vo.createElement(pn,{accessible:e.accessible,style:n},o)}function l7(e){var t=e.svgSource,n=e.accessible,o=e.accessibilityLabel,r=e.width,a=e.height,l=e.color,u=er(e.style,J0({width:r,height:a},[r,a])[0]),c={width:r,height:a,color:l};return t.viewBox&&(c.viewBox=t.viewBox),t.src?vo.createElement(ka.View,{style:u,accessible:n,accessibilityRole:"image",accessibilityLabel:o},vo.createElement(t.src,ol({},c))):t.uri?vo.createElement(ka.View,{style:u,accessible:n,accessibilityRole:"image",accessibilityLabel:o},vo.createElement(Y0.SvgUri,ol({uri:t.uri},c))):null}var dd=dr(function(e){var t=hn();return function(n){var o,r=e.color||t.colors.buttonText,a=(o=e.accessible)!==null&&o!==void 0?o:!0,l={color:r,accessible:a},u=Te(l,e,n);return u.svgSource?l7(u):u.fontSource?s7(u):u.rasterImageSource?o7(u):null}});s();var eg=m(X());function fd(e){if(e===void 0)return null;if(typeof e=="number"){var t={src:e},n=eg.Image.resolveAssetSource(+e);return{rasterImageSource:t,width:n.width,height:n.height}}else if(typeof e=="string"){var t={src:{uri:e}};return{rasterImageSource:t}}else return e}s();var gd="FontIcon";s();var md="SvgIcon";s();var p7=m(R());s();var rg=m(R()),ng=m(X());s();var dw=m(X());var hd=function(){return hd=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},hd.apply(this,arguments)},u7=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},tg=function(t){var n=t.accessible,o=t.color,r=t.fontSrcFile,a=t.fontFamily,l=t.fontSize,u=t.style,c=u7(t,["accessible","color","fontSrcFile","fontFamily","fontSize","style"]),d=d7({fontFamily:r!=null?c7(r,a):a,fontSize:l,color:o},[o,l,a])[0],g=er(d,u);return hd({accessible:n??!0,style:g},c)};function c7(e,t){return t}var d7=ut();var pd=function(){return pd=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},pd.apply(this,arguments)},f7=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},bd=dr(function(e){var t=tg(e);return function(n){var o=Te(t,n),r=o.codepoint,a=f7(o,["codepoint"]),l=String.fromCharCode(r);return rg.createElement(ng.Text,pd({},a),l)}});bd.displayName=gd;s();var il=m(R()),ig=m(X());var ag=m(bn());s();var Cd=function(){return Cd=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Cd.apply(this,arguments)},g7=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},m7=ut(),og=function(t){var n=t.accessible,o=t.style,r=t.height,a=t.width,l=g7(t,["accessible","style","height","width"]);return Cd({accessible:n??!0,height:r,style:er(o,m7({width:a,height:r},[a,r])[0]),width:a},l)};var vd=function(){return vd=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},vd.apply(this,arguments)},h7=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},Sd=dr(function(e){var t=og(e);return function(n){var o=Te(t,n),r=o.style,a=o.height,l=o.width,u=o.src,c=o.uri,d=o.viewBox,g=o.color,h=h7(o,["style","height","width","src","uri","viewBox","color"]),p=!0;return u||c?il.createElement(ig.View,vd({style:r,accessibilityRole:"image"},h),u?il.createElement(t.src,{viewBox:d,width:l,height:a,color:g}):il.createElement(ag.SvgUri,{uri:c,viewBox:d,width:l,height:a,color:g})):null}});Sd.displayName=md;s();var al="Button";s();var Fa=m(R()),cl=m(X());s();s();s();var cg=m(X());s();var sg=m(X());var lg=m(ha());s();var Ta="ActivityIndicator";var yd=function(){return yd=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},yd.apply(this,arguments)},sl={xSmall:12,small:16,medium:24,large:32,xLarge:36};function b7(e){if(typeof e>"u")return e;switch(e){case"xSmall":return"small";case"small":return"small";case"medium":return"small";case"large":return"large";case"xLarge":return"large";default:(0,lg.default)(e)}}var Xw={tokens:[function(){return{activityIndicatorColor:sg.Appearance.getColorScheme()==="light"?"#BDBDBD":"#666666",lineThickness:"medium",size:"medium"}},Ta],tokensThatAreAlsoProps:"all",slotProps:{root:we(function(e){return{activityIndicatorColor:e.activityIndicatorColor,size:e.size,lineThickness:e.lineThickness!="medium"?e.lineThickness:e.size,accessibilityLabel:"progressbar",accessible:!0,style:{width:sl[e.size],height:sl[e.size]}}},["activityIndicatorColor","lineThickness","size"]),svg:we(function(e){return{width:sl[e.size],height:sl[e.size]}},["size"])}},ug={tokens:[function(){return{size:"small"}},Ta],tokensThatAreAlsoProps:"all",slotProps:{root:we(function(e){return yd({color:e.activityIndicatorColor},e.size&&{size:b7(e.size)})},["activityIndicatorColor","size"])}};var ll=function(){return ll=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ll.apply(this,arguments)},Ba=rr(ll(ll({displayName:Ta},ug),{slots:{root:cg.ActivityIndicator},useRender:function(t,n){var o=n(t);return function(){return ee(o.root,null)}}}));s();var RA=m(X());s();s();var C7={marginTop:-1,marginBottom:1,marginStart:0,marginEnd:-2};function $o(){return C7}s();var tt=m(X());var dg=function(t){return fr(t)?v7:{backgroundColor:t.colors.neutralBackground1,color:t.colors.neutralForeground1,borderColor:t.colors.neutralStroke1,iconColor:t.colors.neutralForeground1,disabled:{backgroundColor:t.colors.neutralBackgroundDisabled,color:t.colors.neutralForegroundDisabled,borderColor:t.colors.neutralStrokeDisabled,iconColor:t.colors.neutralForegroundDisabled},hovered:{backgroundColor:t.colors.neutralBackground1Hover,color:t.colors.neutralForeground1Hover,borderColor:t.colors.neutralStroke1,iconColor:t.colors.neutralForeground1Hover},pressed:{backgroundColor:t.colors.neutralBackground1Pressed,color:t.colors.neutralForeground1Pressed,borderColor:t.colors.neutralStroke1,iconColor:t.colors.neutralForeground1Pressed},focused:{backgroundColor:t.colors.neutralBackground1Hover,color:t.colors.neutralForeground1Hover,borderColor:t.colors.transparentStroke,iconColor:t.colors.neutralForeground1Hover},primary:{backgroundColor:t.colors.brandBackground,color:t.colors.neutralForegroundOnBrand,borderColor:t.colors.brandStroke1,iconColor:t.colors.neutralForegroundOnBrand,disabled:{backgroundColor:t.colors.neutralBackgroundDisabled,color:t.colors.neutralForegroundDisabled,borderColor:t.colors.neutralStrokeDisabled,iconColor:t.colors.neutralForegroundDisabled},hovered:{backgroundColor:t.colors.brandBackgroundHover,color:t.colors.neutralForegroundOnBrandHover,borderColor:t.colors.brandBackgroundHover,iconColor:t.colors.neutralForegroundOnBrandHover},pressed:{backgroundColor:t.colors.brandBackgroundPressed,color:t.colors.neutralForegroundOnBrandPressed,borderColor:t.colors.brandBackgroundPressed,iconColor:t.colors.neutralForegroundOnBrandPressed},focused:{backgroundColor:t.colors.brandBackgroundHover,color:t.colors.neutralForegroundOnBrandHover,borderColor:t.colors.strokeFocus2,borderInnerColor:t.colors.strokeFocus1,iconColor:t.colors.neutralForegroundOnBrandHover}},subtle:{backgroundColor:t.colors.subtleBackground,color:t.colors.neutralForeground1,borderColor:t.colors.transparentStroke,iconColor:t.colors.neutralForeground1,disabled:{backgroundColor:t.colors.subtleBackground,color:t.colors.neutralForegroundDisabled,borderColor:t.colors.transparentStroke,iconColor:t.colors.neutralForegroundDisabled},hovered:{backgroundColor:t.colors.subtleBackgroundHover,color:t.colors.neutralForeground1Hover,borderColor:t.colors.subtleBackgroundHover,iconColor:t.colors.neutralForeground1Hover},pressed:{backgroundColor:t.colors.subtleBackgroundPressed,color:t.colors.neutralForeground1Pressed,borderColor:t.colors.subtleBackgroundPressed,iconColor:t.colors.neutralForeground1Pressed},focused:{backgroundColor:t.colors.subtleBackgroundHover,color:t.colors.neutralForeground1Hover,borderColor:t.colors.transparentStroke,iconColor:t.colors.neutralForeground1Hover}}}},v7={backgroundColor:(0,tt.PlatformColor)("ButtonFace"),borderColor:(0,tt.PlatformColor)("ButtonText"),color:(0,tt.PlatformColor)("ButtonText"),iconColor:(0,tt.PlatformColor)("ButtonText"),disabled:{backgroundColor:(0,tt.PlatformColor)("ButtonFace"),borderColor:(0,tt.PlatformColor)("GrayText"),color:(0,tt.PlatformColor)("GrayText"),iconColor:(0,tt.PlatformColor)("GrayText")},hovered:{backgroundColor:(0,tt.PlatformColor)("Highlight"),color:(0,tt.PlatformColor)("HighlightText"),iconColor:(0,tt.PlatformColor)("HighlightText")},pressed:{backgroundColor:(0,tt.PlatformColor)("Highlight"),color:(0,tt.PlatformColor)("HighlightText"),iconColor:(0,tt.PlatformColor)("HighlightText")},focused:{backgroundColor:(0,tt.PlatformColor)("Highlight"),color:(0,tt.PlatformColor)("HighlightText"),iconColor:(0,tt.PlatformColor)("HighlightText")}};s();var fg=function(t){return{medium:{hasContent:{fontFamily:t.typography.families.secondary,fontSize:y.font.size300,fontWeight:y.font.weight.semibold}},small:{hasContent:{fontFamily:t.typography.families.primary,fontSize:y.font.size200,fontWeight:y.font.weight.regular}},large:{hasContent:{fontFamily:t.typography.families.secondary,fontSize:y.font.size400,fontWeight:y.font.weight.semibold}}}};s();var gg=function(t){return{borderWidth:y.stroke.width10,borderInnerWidth:y.stroke.width10,block:{width:"100%"},medium:{padding:y.size80-y.stroke.width10,iconSize:16,focused:{borderWidth:0,padding:y.size80},primary:!fr(t)&&{focused:{borderWidth:y.stroke.width20,padding:y.size80-y.stroke.width20},square:{focused:{borderWidth:y.stroke.width10,padding:y.size80-y.stroke.width10}}},hasContent:{minWidth:96,padding:y.size60-y.stroke.width10,paddingHorizontal:y.size120-y.stroke.width10,hasIconAfter:{spacingIconContentAfter:y.size80},hasIconBefore:{spacingIconContentBefore:y.size80},focused:{padding:y.size60,paddingHorizontal:y.size120},primary:!fr(t)&&{focused:{padding:y.size60-y.stroke.width20,paddingHorizontal:y.size120-y.stroke.width20},square:{focused:{padding:y.size60-y.stroke.width10,paddingHorizontal:y.size120-y.stroke.width10}}}}},small:{padding:y.size40-y.stroke.width10,iconSize:16,focused:{borderWidth:0,padding:y.size40},primary:!fr(t)&&{focused:{borderWidth:y.stroke.width20,padding:y.size40-y.stroke.width20},square:{focused:{borderWidth:y.stroke.width10,padding:y.size40-y.stroke.width10}}},hasContent:{minWidth:64,minHeight:24,paddingHorizontal:y.size80-y.stroke.width10,hasIconAfter:{spacingIconContentAfter:y.size40},hasIconBefore:{spacingIconContentBefore:y.size40},focused:{paddingHorizontal:y.size80},primary:!fr(t)&&{focused:{paddingHorizontal:y.size80-y.stroke.width20},square:{focused:{paddingHorizontal:y.size80-y.stroke.width10}}}}},large:{padding:y.size100-y.stroke.width10,iconSize:20,focused:{borderWidth:0,padding:y.size100},primary:!fr(t)&&{focused:{borderWidth:y.stroke.width20,padding:y.size100-y.stroke.width20},square:{focused:{borderWidth:y.stroke.width10,padding:y.size100-y.stroke.width10}}},hasContent:{minWidth:96,minHeight:40,padding:y.size80-y.stroke.width10,paddingHorizontal:y.size160-y.stroke.width10,hasIconAfter:{spacingIconContentAfter:y.size60},hasIconBefore:{spacingIconContentBefore:y.size60},focused:{padding:y.size80,paddingHorizontal:y.size160},primary:!fr(t)&&{focused:{padding:y.size80-y.stroke.width20,paddingHorizontal:y.size160-y.stroke.width20},square:{focused:{padding:y.size80-y.stroke.width10,paddingHorizontal:y.size160-y.stroke.width10}}}}},rounded:{borderRadius:y.corner.radius40,borderInnerRadius:y.corner.radius40-1},circular:{borderRadius:y.corner.radiusCircular,borderInnerRadius:y.corner.radiusCircular-1},square:{borderRadius:y.corner.radiusNone,borderInnerRadius:y.corner.radiusNone}}};var Er=function(){return Er=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Er.apply(this,arguments)},xd=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))},S7=["block","small","medium","large","hasContent","hasIconAfter","hasIconBefore","primary","subtle","outline","rounded","circular","square","hovered","focused","pressed","disabled"],mg={tokens:[gg,fg,dg,al],states:S7,slotProps:Er(Er({},!1),{root:we(function(e,t){return{style:Er(Er({display:"flex",overflow:"hidden",alignItems:"center",flexDirection:"row",alignSelf:"flex-start",justifyContent:"center",width:e.width,backgroundColor:e.backgroundColor},Ir.from(e,t)),ca.from(e,t)),android_ripple:{color:e.rippleColor}}},xd(xd(["backgroundColor","width","rippleColor"],Ir.keys,!0),ca.keys,!0)),content:we(function(e,t){return{style:Er({},y7(e,t,e.color,e))}},xd(["color","spacingIconContentAfter","spacingIconContentBefore"],et.keys,!0)),icon:we(function(e){return{color:e.iconColor,height:e.iconSize,width:e.iconSize}},["iconColor","iconSize"]),focusInnerBorder:we(function(e){return{style:{position:"absolute",borderWidth:e.borderInnerWidth,borderColor:e.borderInnerColor,borderRadius:e.borderInnerRadius}}},["borderInnerWidth","borderInnerColor","borderInnerRadius"])})},hg=function(){return"small"},pg=function(t){var n=!0;switch(t){case"accent":return"primary";case"primary":case"subtle":case"outline":return t;default:return null}},y7=function(t,n,o,r){var a=$o(),l=t.spacingIconContentBefore?{marginStart:a.marginStart+t.spacingIconContentBefore}:{},u=t.spacingIconContentAfter?{marginEnd:a.marginEnd+t.spacingIconContentAfter}:{};return Er(Er(Er(Er({color:o},$o()),l),u),et.from(r,n))};s();var $r=m(R()),MA=m(X());var Pr=function(){return Pr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Pr.apply(this,arguments)},x7=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};var ul=!1,bg=function(t){var n=$r.useRef(null),o=t.accessible,r=t.accessibilityRole,a=t.componentRef,l=a===void 0?n:a,u=t.disabled,c=t.onBlur,d=t.onClick,g=t.onLayout,h=t.loading,p=t.enableFocusRing,C=t.focusable,v=x7(t,["accessible","accessibilityRole","componentRef","disabled","onBlur","onClick","onLayout","loading","enableFocusRing","focusable"]),T=!!u||!!h,B=T?null:l,F=mn(B,d),w=$r.useCallback(function(K){ul=!1,c==null||c(K)},[c]),k=ua(Pr(Pr({},v),{onPress:F,onBlur:w})),S=$r.useCallback(function(K){!u&&(K.nativeEvent.key==="Enter"||K.nativeEvent.key===" ")&&(ul=!0)},[u]),H=$r.useCallback(function(K){ul&&(d==null||d(K),ul=!1)},[d]),W=Hr(H," ","Enter"),$=t.accessibilityActions&&!!t.accessibilityActions.find(function(K){return K.name==="Toggle"}),Q=hn(),re=t.appearance==="primary"&&!fr(Q),ie=$r.useState(void 0),fe=ie[0],oe=ie[1],ge=$r.useState(void 0),G=ge[0],de=ge[1],U=$r.useCallback(function(K){re&&(oe(K.nativeEvent.layout.height),de(K.nativeEvent.layout.width)),g&&g(K)},[g,oe,de,re]);return{props:Pr(Pr(Pr(Pr(Pr({},W),{onKeyDown:S}),k.props),T!==void 0&&{disabled:T}),{accessible:o??!0,accessibilityRole:r||"button",onAccessibilityTap:t.onAccessibilityTap||($?void 0:t.onClick),accessibilityLabel:t.accessibilityLabel,enableFocusRing:p??!re,focusable:C??!T,ref:lt(l),iconPosition:t.iconPosition||"before",loading:h,onLayout:U}),state:Pr(Pr({},k.state),{pressed:k.state.pressed,measuredWidth:G,measuredHeight:fe,shouldUseTwoToneFocusBorder:re})}};var So=function(){return So=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},So.apply(this,arguments)},k7=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},T7=function(t,n,o){return n[t]||o[t]||t===pg(o.appearance)||t===o.size||!o.size&&t===hg()||t===o.shape||!o.shape&&t==="rounded"||t==="hovered"&&n[t]&&!o.loading||t==="hasContent"&&!o.iconOnly||t==="hasIconAfter"&&(o.icon||o.loading)&&o.iconPosition==="after"||t==="hasIconBefore"&&(o.icon||o.loading)&&(!o.iconPosition||o.iconPosition==="before")},kd=rr(So(So({displayName:al},mg),{slots:{root:cl.Pressable,rippleContainer:!1,focusInnerBorder:cl.View,icon:dd,content:ze},useRender:function(t,n){var o=bg(t),r=fd(t.icon),a=n(t,function(l){return T7(l,o.state,t)});return function(l){for(var u=[],c=1;c<arguments.length;c++)u[c-1]=arguments[c];var d=Te(o.props,l),g=d.icon,h=d.iconOnly,p=d.iconPosition,C=d.loading,v=d.accessibilityLabel,T=k7(d,["icon","iconOnly","iconPosition","loading","accessibilityLabel"]),B=!C&&g,F="";v===void 0&&Fa.Children.forEach(u,function(H){typeof H=="string"&&(F=H)});var w=v??F,k=ee(Fa.Fragment,null,C&&ee(Ba,null),B&&p==="before"&&ee(a.icon,So({},r,{accessible:!1})),Fa.Children.map(u,function(H){return typeof H=="string"?ee(a.content,{accessible:!1,key:"content"},H):H}),B&&p==="after"&&ee(a.icon,So({},r,{accessible:!1}))),S=!1;return ee(a.root,So({},T,{accessibilityLabel:w}),k,o.state.focused&&!!o.state.measuredHeight&&!!o.state.measuredWidth&&o.state.shouldUseTwoToneFocusBorder&&ee(a.focusInnerBorder,{style:F7(o.state.measuredHeight,o.state.measuredWidth),accessible:!1,focusable:!1}))}}})),B7=function(t,n){var o=2;return{height:t-o,width:n-o}},F7=Ye(B7);s();var yg=m(dl()),Rd=function(){function e(n){this._event=n}var t=e.prototype;return t.stopPropagation=function(){this._event.stopPropagation()},(0,yg.default)(e,[{key:"isOriginal",get:function(){return this._event.currentTarget===this._event.target}}])}();var b2=m(kg());s();var Tg=m(Ds());function Bg(e,t,n){var o=e.indexOf(t);if(o===-1)return n;var r=function(g,h){return g.start-h.start},a=function(g){return g.start<=o&&g.start+g.length>o},l={start:o,length:1,underlineType:Pe.Single},u=n&&n.filter(a);if(!u||u.length===0)return n?[].concat((0,Tg.default)(n),[l]).sort(r):[l];var c=u[0];return o>c.start&&n.push(Object.assign(Object.assign({},c),{length:o-c.start})),n.push(Object.assign(Object.assign({},c),l)),c.start+c.length>o+1&&n.push(Object.assign(Object.assign({},c),{start:o+1,length:c.start+c.length-o-1})),n.filter(function(d){return d!==c}).sort(r)}s();s();function Nt(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o,r;return t===void 0?(e==null?void 0:e.borderRadius)===void 0||typeof(e==null?void 0:e.borderRadius)=="number"?(o=e==null?void 0:e.borderRadius)!==null&&o!==void 0?o:n:void 0:typeof(e==null?void 0:e.borderRadius)=="object"?(r=e.borderRadius[t])!==null&&r!==void 0?r:0:void 0}s();var Wt=m(R());s();var Fg=m(Fe()),Zo=m(R());var yo=m(X());s();var _;(function(e){e[e.TopToBottom=0]="TopToBottom",e[e.LeftToRight=1]="LeftToRight"})(_||(_={}));var A;(function(e){e[e.Start=0]="Start",e[e.Stretch=1]="Stretch",e[e.Baseline=2]="Baseline",e[e.Center=3]="Center"})(A||(A={}));var ue;(function(e){e[e.Start=0]="Start",e[e.Center=1]="Center",e[e.SpaceBetween=2]="SpaceBetween",e[e.End=3]="End"})(ue||(ue={}));var gr;(function(e){e[e.Polite=0]="Polite",e[e.Off=1]="Off"})(gr||(gr={}));var x=function(e){function t(){var o;return o=e.apply(this,arguments)||this,o.isFocused=!1,o}(0,Fg.default)(t,e);var n=t.prototype;return n.render=function(){return this.props&&this.props.focusable?Zo.createElement(yo.TouchableWithoutFeedback,Object.assign({},this.getFocusProps()),Zo.createElement(yo.View,Object.assign({},this.getRootViewProps()),this.props.children)):Zo.createElement(yo.View,Object.assign({},this.getRootViewProps()),this.props.children)},n.isFocusWithin=function(){return this.isFocused},n.getFocusProps=function(){return{onFocus:this.onFocus.bind(this),onBlur:this.onBlur.bind(this),onPress:this.onPress.bind(this)}},n.onFocus=function(r){var a,l;this.isFocused=!0,(l=(a=this.props)===null||a===void 0?void 0:a.onFocus)===null||l===void 0||l.call(a)},n.onBlur=function(r){this.isFocused=!1},n.onPress=function(r){},n.getRootViewProps=function(){var r={style:this.computeStyles(this.props.style)};return Ko(this.props,r,void 0),this.props.accessible&&(r.accessible=!0,r.accessibilityLabel=this.props.accessibilityLabel,r.accessibilityRole=this.getAccessibilityRole()),r.nativeID=this.props.nativeID,r},n.computeStyles=function(r){var a={};switch(this.props.direction===_.LeftToRight?a.flexDirection="row":a.flexDirection="column",this.props.align){case A.Stretch:a.alignItems="stretch";break;case A.Center:a.alignItems="center";break;case A.Baseline:a.alignItems="baseline";break;default:a.alignItems="flex-start"}switch(this.props.justifyContent){case ue.Center:a.justifyContent="center";break;case ue.End:a.justifyContent="flex-end";break;case ue.SpaceBetween:a.justifyContent="space-between";break;default:a.justifyContent="flex-start"}if(r){switch(r.flexibleSize&&(a.flexGrow=1,a.flexShrink=1),r.paddingStart&&(a.paddingStart=r.paddingStart),r.paddingEnd&&(a.paddingEnd=r.paddingEnd),r.paddingHorizontal&&(a.paddingHorizontal=r.paddingHorizontal),r.paddingTop&&(a.paddingTop=r.paddingTop),r.paddingBottom&&(a.paddingBottom=r.paddingBottom),r.paddingVertical&&(a.paddingVertical=r.paddingVertical),r.marginTop&&(a.marginTop=r.marginTop),r.marginBottom&&(a.marginBottom=r.marginBottom),r.marginVertical&&(a.marginVertical=r.marginVertical),r.marginStart!==void 0&&(a.marginStart=r.marginStart),r.marginEnd!==void 0&&(a.marginEnd=r.marginEnd),r.marginHorizontal!==void 0&&(a.marginHorizontal=r.marginHorizontal),r.maxWidth!==void 0&&(a.maxWidth=r.maxWidth),r.minWidth!==void 0&&(a.minWidth=r.minWidth),r.width!==void 0&&(a.width=r.width),r.minHeight!==void 0&&(a.minHeight=r.minHeight),r.maxHeight!==void 0&&(a.maxHeight=r.maxHeight),r.height!==void 0&&(a.height=r.height),r.backgroundColor&&(a.backgroundColor=r.backgroundColor),r.borderColor!==void 0&&(a.borderColor=r.borderColor),r.borderStyle!==void 0&&(a.borderStyle=r.borderStyle),typeof r.borderWidth){case"number":a.borderWidth=r.borderWidth;break;case"object":a.borderTopWidth=r.borderWidth.top,a.borderEndWidth=r.borderWidth.end,a.borderBottomWidth=r.borderWidth.bottom,a.borderStartWidth=r.borderWidth.start;break}switch(typeof r.borderRadius){case"number":a.borderRadius=Nt(r);break;case"object":a.borderTopStartRadius=Nt(r,"topStart",0),a.borderTopEndRadius=Nt(r,"topEnd",0),a.borderBottomStartRadius=Nt(r,"bottomStart",0),a.borderBottomEndRadius=Nt(r,"bottomEnd",0);break}}return yo.StyleSheet.flatten(a)},n.getAccessibilityRole=function(){return this.props.accessibilityRole==="listbox"?"list":"group"},n.focus=function(r){},n.el=function(){return{clientWidth:0}},n.getChildItem=function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return{offsetHeight:0}},t}(Zo.PureComponent);s();var wg=m(Ia()),Ag=m(Fe()),Qo=m(R()),Lr=m(X());s();var Hd=m(Ia()),Rg=m(Fe()),Hg=m(R());var fl=function(e){function t(o){var r;return r=e.call(this,o)||this,r.state={focused:!1},r.onFocus=r.onFocus.bind(r),r.onBlur=r.onBlur.bind(r),r}(0,Rg.default)(t,e);var n=t.prototype;return n.getRunText=function(r,a){var l=this.props.text.length,u=Math.max(0,Math.min(l,r)),c=Math.max(0,Math.min(l,a));return u<c?this.props.text.substr(u,c-u):""},n.renderTextRuns=function(){var r=[];if(this.props.formatting&&this.props.formatting.length>0)for(var a=0,l=0,u=this.props.text.length;a<u;)if(l<this.props.formatting.length){var c=this.props.formatting[l],d=c.start,g=d+c.length,h=Math.max(a,Math.min(u,d)),p=Math.max(a,Math.min(u,g));if(h>=p){l+=1;continue}a<h&&(r.push(this.renderTextRun(a,h)),a=h),a<p&&(r.push(this.renderTextRun(a,p,c)),a=p),l+=1}else a<u&&(r.push(this.renderTextRun(a,u)),a=u);return r},n.onFocus=function(){this.setState({focused:!0})},n.onBlur=function(){this.setState({focused:!1})},n.computeTheme=function(){var r;return(r=this.props.theme)!==null&&r!==void 0?r:t.defaultTheme},n.computeBorderColor=function(){var r=this.computeTheme();return this.state.focused?r.focusRing:r.border},n.computePadding=function(r){var a,l,u,c,d,g,h=(a=this.props.style)!==null&&a!==void 0?a:{},p=(u=(l=this.props.style)===null||l===void 0?void 0:l.padding)!==null&&u!==void 0?u:this.props.focusable?1:0,C=((c=h[r])!==null&&c!==void 0?c:0)+p,v=(g=(d=this.props.style)===null||d===void 0?void 0:d.borderWidth)!==null&&g!==void 0?g:this.props.focusable?1:0;return this.computeBorderColor()!==void 0?C:C+v},n.computeMargin=function(r){var a,l,u,c=(a=this.props.style)!==null&&a!==void 0?a:{};return((l=c[r])!==null&&l!==void 0?l:0)+((u=c[r==="marginStart"||r==="marginEnd"?"marginHorizontal":"marginVertical"])!==null&&u!==void 0?u:0)},n.computeBorderWidth=function(){var r,a,l=(a=(r=this.props.style)===null||r===void 0?void 0:r.borderWidth)!==null&&a!==void 0?a:this.props.focusable?1:0;return this.computeBorderColor()!==void 0?l:0},n.getAccessibilityLabel=function(){return this.props.accessibilityHidden?void 0:this.props.accessibilityLabel?this.props.accessibilityLabel:this.props.text},t}(Hg.PureComponent);fl.defaultTheme={focusRing:"#000000"};fl.baseFontWeightValuesByType=(0,Hd.default)((0,Hd.default)({},z.Bold,"bold"),z.Normal,"normal");var V=function(e){function t(){var o;return o=e.apply(this,arguments)||this,o.viewRef=Qo.createRef(),o}(0,Ag.default)(t,e);var n=t.prototype;return n.render=function(){var r=this,a={};this.props.focusable&&(a.focusable=!0,a.onFocus=this.onFocus,a.onBlur=this.onBlur);var l=this.props.onHeightChange?{onLayout:function(h){var p,C;(C=(p=r.props).onHeightChange)===null||C===void 0||C.call(p,h.nativeEvent.layout.height)}}:{},u=this.renderTextRuns(),c=Qo.createElement(Lr.Text,Object.assign({style:this.renderFormatting(this.props.style),accessible:!1},l,this.getRootTextProps(this.props.style)),u.length!==0?u:this.props.text),d={accessible:!0,accessibilityLabel:this.getAccessibilityLabel(),accessibilityRole:this.props.accessibilityHidden?void 0:this.getAccessibilityRole(),style:this.computeStyles(this.props.style),testID:this.props.automationLabel};return d.accessibilityPositionInSet=this.props.accessibilityPositionInSet,d.accessibilitySetSize=this.props.accessibilitySetSize,this.props.accessibilityHidden?c:Qo.createElement(Lr.View,Object.assign({},a,{ref:this.viewRef},d),c)},n.focus=function(){if(this.props.focusable&&this.viewRef.current){var r=Lr.UIManager.getViewManagerConfig("RCTView").Commands;"focus"in r&&Lr.UIManager.dispatchViewManagerCommand((0,Lr.findNodeHandle)(this.viewRef.current),Lr.UIManager.getViewManagerConfig("RCTView").Commands.focus,void 0)}},n.renderTextRun=function(r,a,l){return Qo.createElement(Lr.Text,{key:r,style:this.renderFormatting(l),accessible:!1},this.getRunText(r,a))},n.renderBold=function(r,a){r.fontWeight=t.fontWeightValueByType[a]},n.renderUnderline=function(r,a,l){switch(a){case Pe.Single:r.textDecorationLine="underline";break;case Pe.SpellingSquiggle:case Pe.GrammarSquiggle:case Pe.CritiqueSquiggle:this.renderBold(r,z.Bold),r.color=l;break}},n.renderFormatting=function(r){var a={};return r!=null&&r.fontWeight&&this.renderBold(a,r.fontWeight),a.fontFamily=r==null?void 0:r.fontFamily,a.fontSize=r==null?void 0:r.fontSize,a.fontStyle=r!=null&&r.italic?"italic":void 0,a.color=r==null?void 0:r.cssColor,r!=null&&r.underlineType&&this.renderUnderline(a,r.underlineType,r.emphasizedColor),a.backgroundColor=r==null?void 0:r.highlightColor,a},n.getRootTextProps=function(r){var a={};return r!=null&&r.truncate&&(a.numberOfLines=1),a},n.getAccessibilityRole=function(){return this.props.accessibilityRole==="heading"?"header":"text"},n.computeStyles=function(r){var a,l=this.computeTheme(),u={};return u.backgroundColor=l.background,u.paddingStart=this.computePadding("paddingHorizontal"),u.paddingEnd=this.computePadding("paddingHorizontal"),u.paddingTop=this.computePadding("paddingVertical"),u.paddingBottom=this.computePadding("paddingVertical"),u.marginStart=this.computeMargin("marginStart"),u.marginEnd=this.computeMargin("marginEnd"),u.marginTop=this.computeMargin("marginTop"),u.marginBottom=this.computeMargin("marginBottom"),u.borderWidth=this.computeBorderWidth(),u.borderColor=this.computeBorderColor(),u.borderRadius=(a=this.props.style)===null||a===void 0?void 0:a.borderRadius,u.borderStyle="solid",u.width=r==null?void 0:r.width,u.height=r==null?void 0:r.height,r!=null&&r.flexibleSize_DONOTUSE&&(u.flexGrow=1,u.flexShrink=1),u},t}(fl);V.fontWeightValueByType=Object.assign(Object.assign({},V.baseFontWeightValuesByType),(0,wg.default)({},z.SemiBold,"600"));s();var Pg=m(R()),Zr=m(Eg()),Xo=function(t){return Pg.createElement(Zr.PersonaProfile,{displayName:t.text,resolutionId:t.resolutionId,backgroundColor:t.initialsColor,size:O7(t.size)})},O7=function(t){return t?t<20?Zr.PersonaImageSize.extraSmall:t<32?Zr.PersonaImageSize.small:t<48?Zr.PersonaImageSize.normal:t<64?Zr.PersonaImageSize.large:t<96?Zr.PersonaImageSize.extraLarge:Zr.PersonaImageSize.extraExtraLarge:Zr.PersonaImageSize.normal};s();s();var vn;(function(e){e[e.bottomCenter=5]="bottomCenter",e[e.rightCenter=12]="rightCenter"})(vn||(vn={}));var rt;(function(e){e[e.Start=0]="Start",e[e.Center=1]="Center"})(rt||(rt={}));var Lg=function(t){var n,o;return((n=t==null?void 0:t.paddingHorizontal)!==null&&n!==void 0?n:8)+((o=t==null?void 0:t.paddingStart)!==null&&o!==void 0?o:0)},Og=function(t){var n,o;return((n=t==null?void 0:t.paddingHorizontal)!==null&&n!==void 0?n:8)+((o=t==null?void 0:t.paddingEnd)!==null&&o!==void 0?o:0)},_g=function(t){var n;return(n=t==null?void 0:t.paddingVertical)!==null&&n!==void 0?n:8},Dg=function(t){var n,o;return((n=t==null?void 0:t.paddingVertical)!==null&&n!==void 0?n:8)+((o=t==null?void 0:t.paddingBottom)!==null&&o!==void 0?o:0)},Mg=function(t){var n,o;return((n=t==null?void 0:t.marginHorizontal)!==null&&n!==void 0?n:0)+((o=t==null?void 0:t.marginStart)!==null&&o!==void 0?o:0)},zg=function(t){var n,o;return((n=t==null?void 0:t.marginHorizontal)!==null&&n!==void 0?n:0)+((o=t==null?void 0:t.marginEnd)!==null&&o!==void 0?o:0)},Vg=function(t){var n;return(n=t==null?void 0:t.marginVertical)!==null&&n!==void 0?n:0},Ng=function(t){var n,o;return((n=t==null?void 0:t.marginVertical)!==null&&n!==void 0?n:0)+((o=t==null?void 0:t.marginBottom)!==null&&o!==void 0?o:0)},Yo=function(t,n){var o,r;return n===void 0?(t==null?void 0:t.borderThickness)===void 0||typeof(t==null?void 0:t.borderThickness)=="number"?(o=t==null?void 0:t.borderThickness)!==null&&o!==void 0?o:1:void 0:typeof(t==null?void 0:t.borderThickness)=="object"?(r=t.borderThickness[n])!==null&&r!==void 0?r:0:void 0},jg=function(t){return t.hidden?0:1},gl=function(t){var n;return!((n=t.style)===null||n===void 0)&&n.flexibleSize?1:void 0},wd=function(t){return(t==null?void 0:t.textAlign)===rt.Center?"center":"start"},Wg=function(t){return(t==null?void 0:t.textAlign)===rt.Center?"center":"flex-start"};s();s();var c2=m(Fe()),Ea=m(R());s();var D=m(R()),O=m(bn());s();var wt=m(R()),bt=m(bn());var Ug=function(t){return wt.createElement(bt.Svg,{viewBox:"0 0 2048 2048",width:"16",height:"16"},wt.createElement(bt.Path,{d:"M0 1280v-128h128v128H0zm0-384V768h128v128H0zm384 0V768h1664v128H384zM0 512V384h128v128H0zm384-128h1664v128H384V384zm0 896v-128h1664v128H384zM0 1664v-128h128v128H0zm384 0v-128h1664v128H384z",fill:t??"black"}))},Gg=function(t){return wt.createElement(bt.Svg,{viewBox:"0 0 2048 2048",width:"16",height:"16"},wt.createElement(bt.Path,{d:"M640 896V768h1408v128H640zm0-512h1408v128H640V384zm0 896v-128h1408v128H640zm0 384v-128h1408v128H640zM192 469l211-210 90 90-301 301L19 477l90-90 83 82zm0 384l211-210 90 90-301 301L19 861l90-90 83 82zm0 384l211-210 90 90-301 301-173-173 90-90 83 82zm0 384l211-210 90 90-301 301-173-173 90-90 83 82z",fill:t??"black"}))},Kg=function(t){return wt.createElement(bt.Svg,{viewBox:"0 0 2048 2048",width:"16",height:"16"},wt.createElement(bt.Path,{d:"M1491 595l90 90-749 749-365-365 90-90 275 275 659-659zM1024 0q141 0 272 36t245 103 207 160 160 208 103 245 37 272q0 141-36 272t-103 245-160 207-208 160-245 103-272 37q-141 0-272-36t-245-103-207-160-160-208-103-244-37-273q0-141 36-272t103-245 160-207 208-160T751 37t273-37zm0 1920q123 0 237-32t214-90 182-141 140-181 91-214 32-238q0-123-32-237t-90-214-141-182-181-140-214-91-238-32q-123 0-237 32t-214 90-182 141-140 181-91 214-32 238q0 123 32 237t90 214 141 182 181 140 214 91 238 32z",fill:t??"black"}))};var $g=function(t){return wt.createElement(bt.Svg,{viewBox:"0 0 2048 2048",width:"16",height:"16"},wt.createElement(bt.Path,{d:"M2048 384v128H512V384h1536zM512 896h1536v128H512V896zm0 512h1536v128H512v-128zM135 349q-14 11-37 21t-43 11v-69q31-11 59-24t54-33h49v385h-82V349zm-1 420q25 0 47 6t39 20 26 34 10 47q0 31-12 54t-29 42-39 33-38 27-30 25-12 26h160v69H5v-41q0-18 10-39 15-34 41-57t51-44 45-40 19-47q0-27-15-38t-40-11q-26 0-49 11t-44 28v-73q50-32 111-32zm36 699q36 5 61 27t25 61q0 31-12 53t-33 35-46 20-54 7q-24 0-48-4t-47-15v-73q19 14 41 21t47 7q26 0 46-11t21-41q0-22-13-32t-31-15-39-5-34 0v-64h32q18 0 34-3t28-14 12-31q0-26-16-36t-40-10q-39 0-74 24v-68q22-11 45-15t48-5q22 0 44 5t39 16 28 30 11 43q0 38-19 60t-56 32v1z",fill:t??"black"}))},Zg=function(t){return wt.createElement(bt.Svg,{viewBox:"0 0 24 24",width:"16",height:"16"},wt.createElement(bt.Path,{d:"M20.498 15.5H3.5v5h16.998v-5zm1.447-1.028l.021.062.023.1.01.1v6.516a.75.75 0 01-.65.743l-.1.007H2.75a.75.75 0 01-.743-.648L2 21.25v-6.5l.002-.052.01-.086a.748.748 0 01.047-.153l2.76-6.019a.75.75 0 01.573-.43l.108-.007 2.54-.001-.79 1.37-.067.13H5.98L3.918 14H20.07l-2.027-4.346.862-1.497c.067.05.125.113.172.184l.053.095 2.815 6.036zm-8.58-12.416l.092.045 5.188 3.003c.328.19.458.591.319.933l-.045.092L16.112 11h1.138a.75.75 0 01.102 1.494l-.102.007-2.002-.001v.003h-4.079l-.003-.003H6.75a.75.75 0 01-.102-1.492l.102-.007L8.573 11l-.182-.105a.752.752 0 01-.318-.933l.044-.092 4.317-7.496c.19-.329.59-.46.931-.32zm-.01 1.72L9.789 9.97l1.778 1.03h2.817l2.865-4.973-3.892-2.253z",fill:t??"#212121"}))},Qg=function(t){return wt.createElement(bt.Svg,{viewBox:"0 0 2048 2048",width:"16",height:"16"},wt.createElement(bt.Path,{d:"M128 256h1664v1536H128V256zm640 768v256h384v-256H768zm384-128V640H768v256h384zm-512 0V640H256v256h384zm-384 128v256h384v-256H256zm384 640v-256H256v256h384zm512 0v-256H768v256h384zm512 0v-256h-384v256h384zm0-384v-256h-384v256h384zm0-384V640h-384v256h384zM256 512h1408V384H256v128z",fill:t??"black"}))},Xg=function(t){return wt.createElement(bt.Svg,{viewBox:"0 0 24 24",width:"16",height:"16"},wt.createElement(bt.Path,{d:"M20.498 15.5H3.5v5h16.998v-5zm1.447-1.028l.021.062.023.1.01.1v6.516a.75.75 0 01-.65.743l-.1.007H2.75a.75.75 0 01-.743-.648L2 21.25v-6.5l.002-.052.01-.086a.748.748 0 01.047-.153l2.76-6.019a.75.75 0 01.573-.43l.108-.007 2.54-.001-.79 1.37-.067.13H5.98L3.918 14H20.07l-2.027-4.346.862-1.497c.067.05.125.113.172.184l.053.095 2.815 6.036zm-8.58-12.416l.092.045 5.188 3.003c.328.19.458.591.319.933l-.045.092L16.112 11h1.138a.75.75 0 01.102 1.494l-.102.007-2.002-.001v.003h-4.079l-.003-.003H6.75a.75.75 0 01-.102-1.492l.102-.007L8.573 11l-.182-.105a.752.752 0 01-.318-.933l.044-.092 4.317-7.496c.19-.329.59-.46.931-.32zm-.01 1.72L9.789 9.97l1.778 1.03h2.817l2.865-4.973-3.892-2.253z",fill:t??"#212121"}))};s();var L=m(R()),P=m(bn()),QI=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M7.5 22H21.5C21.7761 22 22 21.7761 22 21.5V7H18.5C17.6716 7 17 6.32843 17 5.5V2H7.5C7.22386 2 7 2.22386 7 2.5V21.5C7 21.7761 7.22386 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M21.29 5.99996L18 2.70996V5.49996C18 5.7761 18.2239 5.99996 18.5 5.99996H21.29Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M22.56 5.85L18.15 1.44C17.8677 1.16045 17.4873 1.00251 17.09 1H7.5C6.67157 1 6 1.67157 6 2.5V21.5C6 22.3284 6.67157 23 7.5 23H21.5C22.3284 23 23 22.3284 23 21.5V6.91C22.9975 6.51274 22.8396 6.13226 22.56 5.85ZM18 2.71L21.29 6H18.5C18.2239 6 18 5.77614 18 5.5V2.71ZM7.5 22H21.5C21.7761 22 22 21.7761 22 21.5V7H18.5C17.6716 7 17 6.32843 17 5.5V2H7.5C7.22386 2 7 2.22386 7 2.5V21.5C7 21.7761 7.22386 22 7.5 22Z",fill:"#605E5C"}),L.createElement(P.Rect,{x:"1",y:"7",width:"12",height:"12",rx:"1",fill:"#AF2031"}),L.createElement(P.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7.46008 10H6.57008L4.08008 16H5.16008L5.61008 14.86H8.49008L9.00008 16H10.0001L7.46008 10ZM7.00008 11L8.15008 14.08H5.82008L7.00008 11Z",fill:"white"}),L.createElement(P.Path,{d:"M19 10V15.75C19 15.8881 18.8881 16 18.75 16H14V17H18.75C19.4404 17 20 16.4404 20 15.75V10H19Z",fill:"#C94F60"}),L.createElement(P.Path,{d:"M20 11H14V9H19C19.5523 9 20 9.44772 20 10V11Z",fill:"#E08095"})),Yg=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7 21.775 7.225 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M21.293 5.99997L18 2.70697V5.49997C18 5.77497 18.225 5.99997 18.5 5.99997H21.293Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.67","fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.56 5.854L18.146 1.439C17.8642 1.15891 17.4833 1.00117 17.086 1H7.5C6.673 1 6 1.673 6 2.5V21.5C6 22.327 6.673 23 7.5 23H21.5C22.327 23 23 22.327 23 21.5V6.914C23 6.514 22.844 6.137 22.56 5.854ZM18 2.707L21.293 6H18.5C18.2241 5.99945 18.0006 5.77591 18 5.5V2.707ZM7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7.00055 21.7759 7.22409 21.9995 7.5 22Z",fill:"#605E5C"}),L.createElement(P.Path,{d:"M2 19H12C12.5523 19 13 18.5523 13 18V8C13 7.44772 12.5523 7 12 7H2C1.44772 7 1 7.44772 1 8V18C1 18.5523 1.44772 19 2 19Z",fill:"#107C41"}),L.createElement(P.Path,{d:"M4.125 16L6.185 12.991L4.298 10H5.816L6.846 11.913C6.941 12.093 7.006 12.229 7.042 12.318H7.056C7.123 12.173 7.194 12.033 7.269 11.896L8.369 10H9.763L7.827 12.974L9.813 16H8.329L7.139 13.9C7.08337 13.8111 7.03585 13.7174 6.997 13.62H6.98C6.94493 13.7155 6.89861 13.8065 6.842 13.891L5.617 16H4.125Z",fill:"#F9F7F7"}),L.createElement(P.Path,{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.987 16.87H20V12.731C20 11.154 19.256 10.364 17.768 10.364C17.42 10.364 17.02 10.429 16.57 10.559C16.121 10.689 15.804 10.823 15.619 10.963V12.002C16.233 11.487 16.921 11.229 17.683 11.229C18.552 11.229 18.987 11.765 18.987 12.836L17.09 13.101C15.696 13.299 15 13.987 15 15.165C15 15.726 15.185 16.172 15.551 16.503C15.917 16.834 16.405 17 17.015 17C17.872 17 18.522 16.619 18.962 15.857H18.987V16.87ZM18.986 13.6452L18.987 13.645H18.986V13.6452ZM18.986 13.6452L17.454 13.861C16.931 13.935 16.564 14.061 16.354 14.235C16.144 14.411 16.038 14.693 16.038 15.085C16.038 15.402 16.151 15.657 16.378 15.848C16.605 16.04 16.896 16.135 17.251 16.135C17.752 16.135 18.168 15.958 18.495 15.605C18.822 15.249 18.986 14.807 18.986 14.275V13.6452Z",fill:"#33C481"})),Jg=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7 21.775 7.225 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M21.293 6.00003L18 2.70703V5.50003C18 5.77503 18.225 6.00003 18.5 6.00003H21.293Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M22.56 5.854L18.146 1.439C17.8642 1.15891 17.4833 1.00117 17.086 1H7.5C6.673 1 6 1.673 6 2.5V21.5C6 22.327 6.673 23 7.5 23H21.5C22.327 23 23 22.327 23 21.5V6.914C23 6.514 22.844 6.137 22.56 5.854ZM18 2.707L21.293 6H18.5C18.2241 5.99945 18.0006 5.77591 18 5.5V2.707ZM7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7.00055 21.7759 7.22409 21.9995 7.5 22Z",fill:"#605E5C"}),L.createElement(P.Path,{d:"M19 17H18C17.4477 17 17 16.5523 17 16C17 15.4477 17.4477 15 18 15H19C19.5523 15 20 15.4477 20 16C20 16.5523 19.5523 17 19 17Z",fill:"#134A2C"}),L.createElement(P.Path,{d:"M15 17H14V15H15C15.5523 15 16 15.4477 16 16C16 16.5523 15.5523 17 15 17Z",fill:"#185C37"}),L.createElement(P.Path,{d:"M19 14H18C17.4477 14 17 13.5523 17 13C17 12.4477 17.4477 12 18 12H19C19.5523 12 20 12.4477 20 13C20 13.5523 19.5523 14 19 14Z",fill:"#21A366"}),L.createElement(P.Path,{d:"M15 14H14V12H15C15.5523 12 16 12.4477 16 13C16 13.5523 15.5523 14 15 14Z",fill:"#107C41"}),L.createElement(P.Path,{d:"M19 11H18C17.4477 11 17 10.5523 17 10C17 9.44772 17.4477 9 18 9H19C19.5523 9 20 9.44772 20 10C20 10.5523 19.5523 11 19 11Z",fill:"#33C481"}),L.createElement(P.Path,{d:"M15 11H14V9H15C15.5523 9 16 9.44772 16 10C16 10.5523 15.5523 11 15 11Z",fill:"#21A366"}),L.createElement(P.Path,{d:"M2 19H12C12.5523 19 13 18.5523 13 18V8C13 7.44772 12.5523 7 12 7H2C1.44772 7 1 7.44772 1 8V18C1 18.5523 1.44772 19 2 19Z",fill:"#107C41"}),L.createElement(P.Path,{d:"M4.125 16L6.185 12.991L4.298 10H5.816L6.846 11.913C6.941 12.093 7.006 12.229 7.042 12.318H7.056C7.123 12.173 7.194 12.033 7.269 11.896L8.369 10H9.763L7.827 12.974L9.813 16H8.329L7.139 13.9C7.08337 13.8111 7.03585 13.7174 6.997 13.62H6.98C6.94493 13.7155 6.89861 13.8065 6.842 13.891L5.617 16H4.125Z",fill:"#F9F7F7"})),e2=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M21.29 5.99996L18 2.70996V5.49996C18 5.63257 18.0527 5.75975 18.1464 5.85351C18.2402 5.94728 18.3674 5.99996 18.5 5.99996H21.29Z",fill:"white"}),L.createElement(P.Path,{d:"M18.5 7C18.1022 7 17.7206 6.84196 17.4393 6.56066C17.158 6.27936 17 5.89782 17 5.5V2H7.5C7.36739 2 7.24021 2.05268 7.14645 2.14645C7.05268 2.24021 7 2.36739 7 2.5V5.1H7.52C8.05739 5.09871 8.59351 5.15232 9.12 5.26C10.9496 5.61734 12.5784 6.64851 13.684 8.14942C14.7897 9.65034 15.2916 11.5116 15.0904 13.3649C14.8892 15.2182 13.9996 16.9284 12.5977 18.1572C11.1958 19.3859 9.38367 20.0436 7.52 20H7V21.5C7 21.6326 7.05268 21.7598 7.14645 21.8536C7.24021 21.9473 7.36739 22 7.5 22H21.5C21.6326 22 21.7598 21.9473 21.8536 21.8536C21.9473 21.7598 22 21.6326 22 21.5V7H18.5Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",d:"M22.56 5.85L18.15 1.44C17.8677 1.16045 17.4873 1.00251 17.09 1H7.5C7.10218 1 6.72064 1.15804 6.43934 1.43934C6.15804 1.72064 6 2.10218 6 2.5V5.23C6.33 5.17 6.66 5.13 7 5.1V2.5C7 2.36739 7.05268 2.24021 7.14645 2.14645C7.24021 2.05268 7.36739 2 7.5 2H17V5.5C17 5.89782 17.158 6.27936 17.4393 6.56066C17.7206 6.84196 18.1022 7 18.5 7H22V21.5C22 21.6326 21.9473 21.7598 21.8536 21.8536C21.7598 21.9473 21.6326 22 21.5 22H7.5C7.36739 22 7.24021 21.9473 7.14645 21.8536C7.05268 21.7598 7 21.6326 7 21.5V20H6V21.5C6 21.8978 6.15804 22.2794 6.43934 22.5607C6.72064 22.842 7.10218 23 7.5 23H21.5C21.8978 23 22.2794 22.842 22.5607 22.5607C22.842 22.2794 23 21.8978 23 21.5V6.91C22.9975 6.51274 22.8396 6.13226 22.56 5.85ZM18.5 6C18.3674 6 18.2402 5.94732 18.1464 5.85355C18.0527 5.75979 18 5.63261 18 5.5V2.71L21.29 6H18.5Z",fill:"#605E5C"}),L.createElement(P.Path,{d:"M1 12.5199C1.00002 11.24 1.37908 9.98876 2.08936 8.92402C2.79964 7.85927 3.80932 7.02871 4.99106 6.5371C6.1728 6.04549 7.47365 5.91485 8.72955 6.16166C9.98544 6.40847 11.1401 7.02167 12.0479 7.92391C12.9557 8.82616 13.576 9.97704 13.8306 11.2314C14.0851 12.4857 13.9625 13.7874 13.4781 14.9721C12.9938 16.1569 12.1695 17.1716 11.1091 17.8884C10.0488 18.6053 8.79989 18.992 7.52 18.9999H4.44C5.11493 18.4987 5.66223 17.8454 6.03751 17.0931C6.41279 16.3408 6.6055 15.5106 6.6 14.6699H7.32C7.63474 14.68 7.94814 14.6247 8.24046 14.5076C8.53279 14.3905 8.79768 14.2142 9.01846 13.9896C9.23924 13.7651 9.41111 13.4972 9.52325 13.203C9.63539 12.9087 9.68535 12.5944 9.67 12.2799C9.61401 11.7937 9.39453 11.3408 9.04752 10.9957C8.7005 10.6505 8.24654 10.4334 7.76 10.3799C7.44553 10.3632 7.131 10.4119 6.83626 10.5227C6.54151 10.6336 6.27294 10.8044 6.04746 11.0242C5.82198 11.2441 5.64448 11.5082 5.52616 11.8001C5.40785 12.0919 5.35127 12.4051 5.36 12.7199V14.6599C5.36011 15.6151 5.04147 16.5429 4.45457 17.2965C3.86767 18.05 3.04608 18.5861 2.12 18.8199C1.7562 18.9289 1.37962 18.9894 1 18.9999V12.5199Z",fill:"#6C1AE1"})),t2=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 23H20.5C21.327 23 22 22.327 22 21.5V2.5C22 1.673 21.327 1 20.5 1H7.5C6.673 1 6 1.673 6 2.5V21.5C6 22.327 6.673 23 7.5 23ZM7 2.5C7 2.22386 7.22386 2 7.5 2H20.5C20.7761 2 21 2.22386 21 2.5V21.5C21 21.7761 20.7761 22 20.5 22H7.5C7.22386 22 7 21.7761 7 21.5V2.5Z",fill:"#605E5C"}),L.createElement(P.Path,{d:"M22.438 14H22V10H22.438C22.753 10 23 10.26 23 10.594V13.406C23 13.739 22.753 14 22.437 14H22.438Z",fill:"#9332BF"}),L.createElement(P.Path,{d:"M22.438 9H22V5H22.438C22.753 5 23 5.26 23 5.594V8.406C23 8.739 22.753 9 22.437 9H22.438Z",fill:"#AE4BD5"}),L.createElement(P.Path,{d:"M22.438 19H22V15H22.438C22.753 15 23 15.26 23 15.594V18.406C23 18.739 22.753 19 22.437 19H22.438Z",fill:"#7719AA"}),L.createElement(P.Path,{d:"M7.5 22H20.5C20.7761 22 21 21.7761 21 21.5V2.5C21 2.22386 20.7761 2 20.5 2H7.5C7.22386 2 7 2.22386 7 2.5V21.5C7 21.7761 7.22386 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M2 19H12C12.5523 19 13 18.5523 13 18V8C13 7.44772 12.5523 7 12 7H2C1.44772 7 1 7.44772 1 8V18C1 18.5523 1.44772 19 2 19Z",fill:"#7719AA"}),L.createElement(P.Path,{d:"M4.01758 10H5.50758L8.74058 14.41V10H9.98158V16H8.58758L5.25458 11.49C5.25058 11.482 5.27458 15.992 5.27458 15.992L4.01758 16V10Z",fill:"white"})),r2=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M5.5 22H18.5C18.775 22 19 21.775 19 21.5V7H15.5C14.673 7 14 6.327 14 5.5V2H5.5C5.225 2 5 2.225 5 2.5V21.5C5 21.775 5.225 22 5.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M18.293 6.00003L15 2.70703V5.50003C15 5.77503 15.225 6.00003 15.5 6.00003H18.293Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M19.56 5.854L15.146 1.439C14.8642 1.15891 14.4833 1.00117 14.086 1H5.5C4.673 1 4 1.673 4 2.5V21.5C4 22.327 4.673 23 5.5 23H18.5C19.327 23 20 22.327 20 21.5V6.914C20 6.514 19.844 6.137 19.56 5.854ZM15 2.707L18.293 6H15.5C15.2241 5.99945 15.0006 5.77591 15 5.5V2.707ZM5.5 22H18.5C18.775 22 19 21.775 19 21.5V7H15.5C14.673 7 14 6.327 14 5.5V2H5.5C5.225 2 5 2.225 5 2.5V21.5C5.00055 21.7759 5.22409 21.9995 5.5 22Z",fill:"#605E5C"}),L.createElement(P.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 10H16.5C16.7761 10 17 9.77614 17 9.5C17 9.22386 16.7761 9 16.5 9H7.5C7.22386 9 7 9.22386 7 9.5C7 9.77614 7.22386 10 7.5 10ZM7.5 12H16.5C16.7761 12 17 11.7761 17 11.5C17 11.2239 16.7761 11 16.5 11H7.5C7.22386 11 7 11.2239 7 11.5C7 11.7761 7.22386 12 7.5 12Z",fill:"#C8C6C4"}),L.createElement(P.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 20.5H9.5C8.94772 20.5 8.5 20.0523 8.5 19.5V15.5C8.5 14.9477 8.94772 14.5 9.5 14.5H14.5C15.0523 14.5 15.5 14.9477 15.5 15.5V19.5C15.5 20.0523 15.0523 20.5 14.5 20.5Z",fill:"white",stroke:"#D65532",strokeLinecap:"round",strokeLinejoin:"round"}),L.createElement(P.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75 20H4C3.44772 20 3 19.5523 3 19V16C3 15.4477 3.44772 15 4 15H6.75C6.88807 15 7 15.1119 7 15.25V19.75C7 19.8881 6.88807 20 6.75 20ZM17.25 15H20C20.5523 15 21 15.4477 21 16V19C21 19.5523 20.5523 20 20 20H17.25C17.112 20 17 19.888 17 19.75V15.25C17 15.1119 17.1119 15 17.25 15Z",fill:"#D65532"})),n2=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7 21.775 7.225 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M21.293 6.00003L18 2.70703V5.50003C18 5.77503 18.225 6.00003 18.5 6.00003H21.293Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M22.56 5.854L18.146 1.439C17.8642 1.15891 17.4833 1.00117 17.086 1H7.5C6.673 1 6 1.673 6 2.5V21.5C6 22.327 6.673 23 7.5 23H21.5C22.327 23 23 22.327 23 21.5V6.914C23 6.514 22.844 6.137 22.56 5.854ZM18 2.707L21.293 6H18.5C18.2241 5.99945 18.0006 5.77591 18 5.5V2.707ZM7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7.00055 21.7759 7.22409 21.9995 7.5 22Z",fill:"#605E5C"}),L.createElement(P.Path,{d:"M19.95 12H17L16 11H15L14 12V14.945C14.6566 15.6199 15.5584 16.0004 16.5 16C18.433 16 20 14.433 20 12.5C20 12.329 19.973 12.165 19.95 12Z",fill:"#ED6C47"}),L.createElement(P.Path,{d:"M16.5 9C15.511 9 14.633 9.42 14 10.08V12H17V9.05C16.835 9.027 16.671 9 16.5 9Z",fill:"#FF8F6B"}),L.createElement(P.Path,{d:"M18.0498 10.95H20.9998C20.7799 9.42106 19.5787 8.2199 18.0498 8V10.95Z",fill:"#FFC7B5"}),L.createElement(P.Path,{d:"M2 19H12C12.5523 19 13 18.5523 13 18V8C13 7.44772 12.5523 7 12 7H2C1.44772 7 1 7.44772 1 8V18C1 18.5523 1.44772 19 2 19Z",fill:"#C43E1C"}),L.createElement(P.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.747 10.48C8.372 10.16 8.072 10 7.362 10H5V16H6V14H7.288C8.144 14.005 8.57 13.707 8.898 13.295C9.308 12.78 9.313 12.265 9.313 11.875C9.313 11.266 9.125 10.802 8.747 10.48ZM7.155 13H6V11H7.193C7.954 11 8.335 11.325 8.335 11.975C8.335 12.311 8.235 12.565 8.037 12.738C7.838 12.913 7.545 13 7.155 13Z",fill:"#F9F7F7"})),XI=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7 21.775 7.225 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M21.293 6.00003L18 2.70703V5.50003C18 5.77503 18.225 6.00003 18.5 6.00003H21.293Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M22.56 5.854L18.146 1.439C17.8642 1.15891 17.4833 1.00117 17.086 1H7.5C6.673 1 6 1.673 6 2.5V21.5C6 22.327 6.673 23 7.5 23H21.5C22.327 23 23 22.327 23 21.5V6.914C23 6.514 22.844 6.137 22.56 5.854ZM18 2.707L21.293 6H18.5C18.2241 5.99945 18.0006 5.77591 18 5.5V2.707ZM7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7.00055 21.7759 7.22409 21.9995 7.5 22Z",fill:"#605E5C"}),L.createElement(P.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 16H12V15H19.5C19.7761 15 20 15.2239 20 15.5C20 15.7761 19.7761 16 19.5 16ZM19.5 18H12V17H19.5C19.7761 17 20 17.2239 20 17.5C20 17.7761 19.7761 18 19.5 18Z",fill:"#C8C6C4"}),L.createElement(P.Path,{d:"M10 14H19C19.5523 14 20 13.5523 20 13V9C20 8.44772 19.5523 8 19 8H10V14Z",fill:"#81C8C3"}),L.createElement(P.Path,{d:"M2 19H12C12.5523 19 13 18.5523 13 18V8C13 7.44772 12.5523 7 12 7H2C1.44772 7 1 7.44772 1 8V18C1 18.5523 1.44772 19 2 19Z",fill:"#03787C"}),L.createElement(P.Path,{d:"M5.645 12.895C5.44788 12.7595 5.28409 12.581 5.166 12.373C5.056 12.172 5 11.933 5 11.659C5 11.292 5.103 10.984 5.31 10.735C5.516 10.485 5.79 10.3 6.133 10.18C6.476 10.06 6.851 10 7.259 10C7.884 10 8.378 10.071 8.741 10.214V11.294C8.547 11.171 8.324 11.076 8.071 11.011C7.818 10.946 7.555 10.914 7.286 10.914C6.962 10.914 6.693 10.973 6.481 11.091C6.267 11.207 6.161 11.374 6.161 11.59C6.161 11.725 6.206 11.843 6.296 11.944C6.386 12.046 6.507 12.134 6.661 12.214C6.91709 12.3409 7.17795 12.458 7.443 12.565C7.801 12.716 8.089 12.863 8.306 13.004C8.523 13.146 8.692 13.322 8.816 13.534C8.939 13.746 9 14.012 9 14.334C9 14.727 8.903 15.048 8.71 15.296C8.5101 15.5484 8.23963 15.7357 7.933 15.834C7.609 15.945 7.241 16 6.827 16C6.49114 16.0015 6.15582 15.973 5.825 15.915C5.54482 15.8687 5.27164 15.787 5.012 15.672V14.532C5.234 14.702 5.508 14.836 5.835 14.936C6.162 15.036 6.465 15.086 6.741 15.086C7.104 15.086 7.378 15.026 7.563 14.906C7.73994 14.7989 7.84543 14.6047 7.839 14.398C7.84054 14.253 7.78484 14.1132 7.684 14.009C7.56002 13.8833 7.41564 13.7795 7.257 13.702C6.99249 13.5692 6.72368 13.4451 6.451 13.33C6.16861 13.212 5.89862 13.0663 5.645 12.895V12.895Z",fill:"white"})),Ad=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7 21.775 7.225 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M21.293 6.00003L18 2.70703V5.50003C18 5.77503 18.225 6.00003 18.5 6.00003H21.293Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M22.56 5.854L18.146 1.439C17.8642 1.15891 17.4833 1.00117 17.086 1H7.5C6.673 1 6 1.673 6 2.5V21.5C6 22.327 6.673 23 7.5 23H21.5C22.327 23 23 22.327 23 21.5V6.914C23 6.514 22.844 6.137 22.56 5.854ZM18 2.707L21.293 6H18.5C18.2241 5.99945 18.0006 5.77591 18 5.5V2.707ZM7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7.00055 21.7759 7.22409 21.9995 7.5 22Z",fill:"#605E5C"})),o2=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M7.5 22H21.5C21.7761 22 22 21.7761 22 21.5V7H18.5C17.6716 7 17 6.32843 17 5.5V2H7.5C7.22386 2 7 2.22386 7 2.5V21.5C7 21.7761 7.22386 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M21.29 5.99996L18 2.70996V5.49996C18 5.7761 18.2239 5.99996 18.5 5.99996H21.29Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M22.56 5.85L18.15 1.44C17.8677 1.16045 17.4873 1.00251 17.09 1H7.5C6.67157 1 6 1.67157 6 2.5V21.5C6 22.3284 6.67157 23 7.5 23H21.5C22.3284 23 23 22.3284 23 21.5V6.91C22.9975 6.51274 22.8396 6.13226 22.56 5.85ZM18 2.71L21.29 6H18.5C18.2239 6 18 5.77614 18 5.5V2.71ZM7.5 22H21.5C21.7761 22 22 21.7761 22 21.5V7H18.5C17.6716 7 17 6.32843 17 5.5V2H7.5C7.22386 2 7 2.22386 7 2.5V21.5C7 21.7761 7.22386 22 7.5 22Z",fill:"#605E5C"}),L.createElement(P.Rect,{x:"1",y:"7",width:"12",height:"12",rx:"1",fill:"#185ABD"}),L.createElement(P.Path,{d:"M6.69 14C6.86 14.5 6.97 14.82 7 14.95C7 14.8167 7.11 14.4833 7.33 13.95L8.73 10H10L7.66 16H6.31L4 10H5.31L6.69 14Z",fill:"white"}),L.createElement(P.Path,{d:"M16.5 16H15.5V15H16.5C16.7761 15 17 14.7761 17 14.5V11.5H18V14.5C18 15.3284 17.3284 16 16.5 16Z",fill:"#185ABD"}),L.createElement(P.Rect,{x:"14",y:"14",width:"2",height:"4",fill:"#41A5EE"}),L.createElement(P.Rect,{x:"15.502",y:"11.4971",width:"2.83",height:"2.83",transform:"rotate(-45 15.502 11.4971)",fill:"#103F91"})),i2=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},L.createElement(P.Path,{d:"M7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7 21.775 7.225 22 7.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M21.293 6.00003L18 2.70703V5.50003C18 5.77503 18.225 6.00003 18.5 6.00003H21.293Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.64",fillRule:"evenodd",clipRule:"evenodd",d:"M22.56 5.854L18.146 1.439C17.8642 1.15891 17.4833 1.00117 17.086 1H7.5C6.673 1 6 1.673 6 2.5V21.5C6 22.327 6.673 23 7.5 23H21.5C22.327 23 23 22.327 23 21.5V6.914C23 6.514 22.844 6.137 22.56 5.854ZM18 2.707L21.293 6H18.5C18.2241 5.99945 18.0006 5.77591 18 5.5V2.707ZM7.5 22H21.5C21.775 22 22 21.775 22 21.5V7H18.5C17.673 7 17 6.327 17 5.5V2H7.5C7.225 2 7 2.225 7 2.5V21.5C7.00055 21.7759 7.22409 21.9995 7.5 22Z",fill:"#605E5C"}),L.createElement(P.Path,{d:"M19.5 14H14V15H19.5C19.7761 15 20 14.7761 20 14.5C20 14.2239 19.7761 14 19.5 14Z",fill:"#185ABD"}),L.createElement(P.Path,{d:"M19.5 12H14V13H19.5C19.7761 13 20 12.7761 20 12.5C20 12.2239 19.7761 12 19.5 12Z",fill:"#2B7CD3"}),L.createElement(P.Path,{d:"M19.5 10H14V11H19.5C19.7761 11 20 10.7761 20 10.5C20 10.2239 19.7761 10 19.5 10Z",fill:"#41A5EE"}),L.createElement(P.Path,{d:"M2 19H12C12.5523 19 13 18.5523 13 18V8C13 7.44772 12.5523 7 12 7H2C1.44772 7 1 7.44772 1 8V18C1 18.5523 1.44772 19 2 19Z",fill:"#185ABD"}),L.createElement(P.Path,{d:"M11 10L9.493 16H8.083C8.083 16 7.062 11.747 7.051 11.5L5.968 16H4.498L3 10H4.386L5.295 14.714L6.452 10H7.792L8.842 14.714C8.858 14.714 9.722 10 9.722 10H11Z",fill:"white"})),a2=L.createElement(P.Svg,{width:"24",height:"24",viewBox:"0 0 24 24",transform:"translate(2.5, 0)",fill:"none"},L.createElement(P.Path,{d:"M5.5 22H18.5C18.775 22 19 21.775 19 21.5V7H15.5C14.673 7 14 6.327 14 5.5V2H5.5C5.225 2 5 2.225 5 2.5V21.5C5 21.775 5.225 22 5.5 22Z",fill:"white"}),L.createElement(P.Path,{d:"M18.293 6.00003L15 2.70703V5.50003C15 5.77503 15.225 6.00003 15.5 6.00003H18.293Z",fill:"white"}),L.createElement(P.Path,{opacity:"0.67",fillRule:"evenodd",clipRule:"evenodd",d:"M19.56 5.854L15.146 1.439C14.8642 1.15891 14.4833 1.00117 14.086 1H5.5C4.673 1 4 1.673 4 2.5V21.5C4 22.327 4.673 23 5.5 23H18.5C19.327 23 20 22.327 20 21.5V6.914C20 6.514 19.844 6.137 19.56 5.854ZM15 2.707L18.293 6H15.5C15.2241 5.99945 15.0006 5.77591 15 5.5V2.707ZM5.5 22H18.5C18.775 22 19 21.775 19 21.5V7H15.5C14.673 7 14 6.327 14 5.5V2H5.5C5.225 2 5 2.225 5 2.5V21.5C5.00055 21.7759 5.22409 21.9995 5.5 22Z",fill:"#605E5C"}),L.createElement(P.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5 10H7.5C7.22386 10 7 9.77614 7 9.5C7 9.22386 7.22386 9 7.5 9H16.5C16.7761 9 17 9.22386 17 9.5C17 9.77614 16.7761 10 16.5 10ZM16.5 12H7.5C7.22386 12 7 11.7761 7 11.5C7 11.2239 7.22386 11 7.5 11H16.5C16.7761 11 17 11.2239 17 11.5C17 11.7761 16.7761 12 16.5 12ZM7.5 14H16.5C16.7761 14 17 13.7761 17 13.5C17 13.2239 16.7761 13 16.5 13H7.5C7.22386 13 7 13.2239 7 13.5C7 13.7761 7.22386 14 7.5 14ZM16.5 16H7.5C7.22386 16 7 15.7761 7 15.5C7 15.2239 7.22386 15 7.5 15H16.5C16.7761 15 17 15.2239 17 15.5C17 15.7761 16.7761 16 16.5 16ZM7.5 18H16.5C16.7761 18 17 17.7761 17 17.5C17 17.2239 16.7761 17 16.5 17H7.5C7.22386 17 7 17.2239 7 17.5C7 17.7761 7.22386 18 7.5 18Z",fill:"#C8C6C4"}));s();var jt=m(R()),ct=m(bn());var s2=function(t,n){return jt.createElement(ct.Svg,{viewBox:"0 0 32 32",width:"24",height:"24"},jt.createElement(ct.Rect,{width:"32",height:"32",rx:"16",fill:n??"#EBEBEB"}),jt.createElement(ct.Path,{d:"M21.5 8C22.8807 8 24 9.1193 24 10.5V18.5C24 19.8807 22.8807 21 21.5 21H10.5C9.1193 21 8 19.8807 8 18.5V10.5C8 9.1193 9.1193 8 10.5 8H21.5ZM23 11.961 16.2535 15.931C16.1231 16.0077 15.9666 16.0205 15.8275 15.9693L15.7465 15.931 9 11.963V18.5C9 19.3284 9.6716 20 10.5 20H21.5C22.3284 20 23 19.3284 23 18.5V11.961ZM21.5 9H10.5C9.6716 9 9 9.6716 9 10.5V10.802L16 14.9199 23 10.801V10.5C23 9.6716 22.3284 9 21.5 9Z",fill:t??"#616161"}))},l2=function(t,n){return jt.createElement(ct.Svg,{viewBox:"0 0 32 32",width:"24",height:"24"},jt.createElement(ct.Rect,{width:"32",height:"32",rx:"16",fill:n??"#EBEBEB"}),jt.createElement(ct.Path,{d:"M13 17C13.5523 17 14 16.5523 14 16 14 15.4477 13.5523 15 13 15 12.4477 15 12 15.4477 12 16 12 16.5523 12.4477 17 13 17ZM14 19C14 19.5523 13.5523 20 13 20 12.4477 20 12 19.5523 12 19 12 18.4477 12.4477 18 13 18 13.5523 18 14 18.4477 14 19ZM16 17C16.5523 17 17 16.5523 17 16 17 15.4477 16.5523 15 16 15 15.4477 15 15 15.4477 15 16 15 16.5523 15.4477 17 16 17ZM17 19C17 19.5523 16.5523 20 16 20 15.4477 20 15 19.5523 15 19 15 18.4477 15.4477 18 16 18 16.5523 18 17 18.4477 17 19ZM19 17C19.5523 17 20 16.5523 20 16 20 15.4477 19.5523 15 19 15 18.4477 15 18 15.4477 18 16 18 16.5523 18.4477 17 19 17ZM23 11.5C23 10.1193 21.8807 9 20.5 9H11.5C10.1193 9 9 10.1193 9 11.5V20.5C9 21.8807 10.1193 23 11.5 23H20.5C21.8807 23 23 21.8807 23 20.5V11.5ZM10 13H22V20.5C22 21.3284 21.3284 22 20.5 22H11.5C10.6716 22 10 21.3284 10 20.5V13ZM11.5 10H20.5C21.3284 10 22 10.6716 22 11.5V12H10V11.5C10 10.6716 10.6716 10 11.5 10Z",fill:t??"#616161"}))},u2=function(t,n){return jt.createElement(ct.Svg,{viewBox:"0 0 32 32",width:"24",height:"24"},jt.createElement(ct.Rect,{width:"32",height:"32",rx:"16",fill:n??"#EBEBEB"}),jt.createElement(ct.Path,{d:"M20.5 9C21.8807 9 23 10.1193 23 11.5V15.5997C22.6832 15.4378 22.3486 15.3056 22 15.207V13H10V20.5C10 21.3284 10.6716 22 11.5 22H15.207C15.3056 22.3486 15.4378 22.6832 15.5997 23H11.5C10.1193 23 9 21.8807 9 20.5V11.5C9 10.1193 10.1193 9 11.5 9H20.5ZM20.5 10H11.5C10.6716 10 10 10.6716 10 11.5V12H22V11.5C22 10.6716 21.3284 10 20.5 10ZM16 20.5C16 22.9853 18.0147 25 20.5 25C22.9853 25 25 22.9853 25 20.5C25 18.0147 22.9853 16 20.5 16C18.0147 16 16 18.0147 16 20.5ZM22.5 17.5C22.7761 17.5 23 17.7239 23 18V19.5C23 19.7761 22.7761 20 22.5 20H21C20.7239 20 20.5 19.7761 20.5 19.5C20.5 19.2239 20.7239 19 21 19H21.4682C21.4179 18.9722 21.3663 18.9464 21.3135 18.923C21.0682 18.8137 20.8034 18.755 20.535 18.7503C20.2665 18.7456 19.9998 18.795 19.7508 18.8956C19.5018 18.9962 19.2756 19.1459 19.0857 19.3358C18.8905 19.531 18.5739 19.531 18.3786 19.3358C18.1834 19.1405 18.1834 18.8239 18.3786 18.6287C18.6635 18.3439 19.0027 18.1193 19.3762 17.9684C19.7497 17.8175 20.1497 17.7434 20.5524 17.7505C20.9552 17.7575 21.3524 17.8456 21.7203 18.0094C21.8162 18.0521 21.9095 18.0997 22 18.1519V18C22 17.7239 22.2239 17.5 22.5 17.5ZM21.6238 23.0316C21.2503 23.1825 20.8503 23.2566 20.4476 23.2495C20.0448 23.2425 19.6476 23.1544 19.2797 22.9906C19.1838 22.9479 19.0905 22.9003 19 22.8481V23C19 23.2761 18.7761 23.5 18.5 23.5C18.2239 23.5 18 23.2761 18 23V21.5C18 21.2239 18.2239 21 18.5 21H20C20.2761 21 20.5 21.2239 20.5 21.5C20.5 21.7761 20.2761 22 20 22H19.5318C19.5821 22.0278 19.6337 22.0536 19.6865 22.077C19.9318 22.1863 20.1966 22.245 20.465 22.2497C20.7335 22.2544 21.0002 22.205 21.2492 22.1044C21.4982 22.0038 21.7244 21.8541 21.9143 21.6642C22.1095 21.469 22.4261 21.469 22.6214 21.6642C22.8166 21.8595 22.8166 22.1761 22.6214 22.3713C22.3365 22.6561 21.9973 22.8807 21.6238 23.0316Z",fill:t??"#616161"}))},Id=function(t,n){return jt.createElement(ct.Svg,{viewBox:"0 0 32 32",width:"24",height:"24"},jt.createElement(ct.Rect,{width:"32",height:"32",rx:"16",fill:n??"#EBEBEB"}),jt.createElement(ct.Path,{d:"M21.0225 7.40967C22.5758 7.40967 23.835 8.66887 23.835 10.2222V14.8343C23.4786 14.6522 23.1022 14.5035 22.71 14.3926V11.9097H9.20996V20.3472C9.20996 21.2791 9.96548 22.0347 10.8975 22.0347H15.0679C15.1788 22.4269 15.3274 22.8033 15.5096 23.1597H10.8975C9.34416 23.1597 8.08496 21.9005 8.08496 20.3472V10.2222C8.08496 8.66887 9.34416 7.40967 10.8975 7.40967H21.0225ZM21.0225 8.53467H10.8975C9.96548 8.53467 9.20996 9.29019 9.20996 10.2222V10.7847H22.71V10.2222C22.71 9.29019 21.9544 8.53467 21.0225 8.53467ZM21.0225 25.4097C23.8184 25.4097 26.085 23.1432 26.085 20.3472C26.085 17.5511 23.8184 15.2847 21.0225 15.2847C18.2265 15.2847 15.96 17.5511 15.96 20.3472C15.96 23.1432 18.2265 25.4097 21.0225 25.4097ZM20.1908 18.0461C20.2975 18.0461 20.3948 18.0757 20.4826 18.1353L23.0658 19.8292C23.1459 19.8808 23.2089 19.9492 23.2546 20.0346C23.3004 20.1181 23.3233 20.2093 23.3233 20.3084C23.3233 20.4037 23.3014 20.4949 23.2575 20.5823C23.2462 20.6048 23.2338 20.6259 23.2203 20.646C23.1812 20.7042 23.1325 20.7523 23.0744 20.7907L20.4911 22.5532C20.4567 22.576 20.4218 22.595 20.3864 22.6095C20.3728 22.6153 20.359 22.6202 20.3452 22.6246C20.2975 22.6403 20.2461 22.6483 20.1908 22.6483C20.1183 22.6483 20.0487 22.6334 19.9819 22.6038C19.9152 22.5719 19.856 22.5302 19.8046 22.4788C19.7549 22.425 19.7149 22.3634 19.6844 22.2942C19.6558 22.2247 19.6415 22.1522 19.6415 22.0767V18.6176C19.6415 18.5402 19.6558 18.4669 19.6844 18.3974C19.7149 18.3279 19.7549 18.2675 19.8046 18.2158C19.8541 18.1642 19.9123 18.1235 19.979 18.0936C20.0458 18.062 20.1164 18.0461 20.1908 18.0461Z",fill:t??"#616161"}),jt.createElement(ct.Circle,{cx:"21.0091",cy:"20.3338",r:"3.57417",fill:t??"#616161",stroke:"#F5F5F5",strokeWidth:"0.7"}))};function Ed(e,t,n){switch(e){case"Accept":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 2048 2048"},D.createElement(O.Path,{d:"M 704 1690 l -702 -702 l 90 -90 l 612 612 l 1253 -1254 l 91 91 z",fill:t}));case"Accessibility":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 48 48",fill:"none"},D.createElement(O.Path,{d:"M20.0021 10.5C20.0021 12.0719 20.909 13.4321 22.2281 14.0859L22.7199 14.2649C23.5485 14.5665 24.4569 14.5665 25.2855 14.2649L25.7772 14.086C27.0964 13.4321 28.0033 12.072 28.0033 10.5C28.0033 8.29086 26.2122 6.5 24.0027 6.5C21.7932 6.5 20.0021 8.29086 20.0021 10.5ZM17.808 12.4774C17.6091 11.8539 17.5017 11.1895 17.5017 10.5C17.5017 6.91015 20.4123 4 24.0027 4C27.5931 4 30.5037 6.91015 30.5037 10.5C30.5037 11.1895 30.3963 11.8539 30.1974 12.4774L36.2971 10.2576C38.5031 9.45482 40.9423 10.5921 41.7452 12.7977C42.5481 15.0034 41.4107 17.4422 39.2047 18.245L31.0037 21.2295L31.0031 26.0259C31.0031 26.3789 31.0711 26.7286 31.2033 27.056L35.6905 38.1605C36.5699 40.3368 35.5183 42.8138 33.3417 43.6931C31.1651 44.5723 28.6877 43.5209 27.8083 41.3446L24.001 31.9227L20.1938 41.3445C19.3144 43.5208 16.837 44.5723 14.6604 43.693C12.4837 42.8137 11.4321 40.3367 12.3116 38.1604L16.8019 27.0481C16.9342 26.7207 17.0022 26.371 17.0021 26.0179L17.0017 21.2295L8.80071 18.245C6.59472 17.4422 5.4573 15.0034 6.26022 12.7977C7.06313 10.5921 9.50233 9.45482 11.7083 10.2576L17.808 12.4774ZM21.2517 16.391L10.8531 12.6068C9.94479 12.2763 8.94041 12.7446 8.6098 13.6528C8.27919 14.561 8.74754 15.5652 9.65588 15.8958L18.0214 18.9401C18.9104 19.2636 19.502 20.1085 19.5021 21.0544L19.5025 26.0178C19.5026 26.6919 19.3727 27.3596 19.1202 27.9846L14.6299 39.0969C14.2678 39.993 14.7008 41.013 15.597 41.375C16.4933 41.7371 17.5134 41.3041 17.8755 40.408L21.9146 30.4125C22.6727 28.5363 25.3294 28.5363 26.0875 30.4125L30.1266 40.4081C30.4887 41.3042 31.5088 41.7372 32.4051 41.3751C33.3013 41.0131 33.7343 39.9931 33.3722 39.097L28.885 27.9925C28.6325 27.3675 28.5027 26.6998 28.5027 26.0257L28.5034 21.0543C28.5034 20.1085 29.0951 19.2636 29.9841 18.9401L38.3495 15.8958C39.2579 15.5652 39.7262 14.561 39.3956 13.6528C39.065 12.7446 38.0606 12.2763 37.1523 12.6068L26.7536 16.3911C25.9181 16.7818 24.9859 17 24.0027 17C23.0194 17 22.0872 16.7817 21.2517 16.391Z",fill:t}));case"AddToDictionary":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M1 14C1 14.1406 1.02604 14.2708 1.07812 14.3906C1.13021 14.5104 1.20052 14.6146 1.28906 14.7031C1.3776 14.7917 1.48438 14.8646 1.60938 14.9219C1.73438 14.9792 1.86458 15.0052 2 15H11V16H2C1.72396 16 1.46615 15.9479 1.22656 15.8438C0.986979 15.7396 0.773438 15.5964 0.585938 15.4141C0.398438 15.2318 0.255208 15.0208 0.15625 14.7812C0.0572917 14.5417 0.00520833 14.2812 0 14V2C0 1.74479 0.0546875 1.4974 0.164062 1.25781C0.273438 1.01823 0.421875 0.804688 0.609375 0.617188C0.796875 0.429688 1.01042 0.28125 1.25 0.171875C1.48958 0.0625 1.73958 0.00520833 2 0H13V8H12V1H2C1.88021 1 1.76042 1.02865 1.64062 1.08594C1.52083 1.14323 1.41406 1.22135 1.32031 1.32031C1.22656 1.41927 1.15104 1.52604 1.09375 1.64062C1.03646 1.75521 1.00521 1.875 1 2V12.2656C1.30208 12.0885 1.63542 12 2 12H8V13H2C1.85938 13 1.72917 13.026 1.60938 13.0781C1.48958 13.1302 1.38542 13.2005 1.29688 13.2891C1.20833 13.3776 1.13542 13.4844 1.07812 13.6094C1.02083 13.7344 0.994792 13.8646 1 14ZM3 6V3H10V6H3ZM4 5H9V4H4V5ZM16 13H13V16H12V13H9V12H12V9H13V12H16V13Z",fill:t??"#262626"}));case"Adjust":return D.createElement(O.Svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},D.createElement(O.Path,{d:"M14.95 5C14.7184 3.85888 13.7095 3 12.5 3C11.2905 3 10.2816 3.85888 10.05 5H2.5C2.22386 5 2 5.22386 2 5.5C2 5.77614 2.22386 6 2.5 6H10.05C10.2816 7.14112 11.2905 8 12.5 8C13.7297 8 14.752 7.11217 14.961 5.94254C14.9575 5.96177 14.9539 5.98093 14.95 6H17.5C17.7761 6 18 5.77614 18 5.5C18 5.22386 17.7761 5 17.5 5H14.95ZM12.5 7C11.6716 7 11 6.32843 11 5.5C11 4.67157 11.6716 4 12.5 4C13.3284 4 14 4.67157 14 5.5C14 6.32843 13.3284 7 12.5 7ZM9.94999 14C9.71836 12.8589 8.70948 12 7.5 12C6.29052 12 5.28164 12.8589 5.05001 14H2.5C2.22386 14 2 14.2239 2 14.5C2 14.7761 2.22386 15 2.5 15H5.05001C5.28164 16.1411 6.29052 17 7.5 17C8.70948 17 9.71836 16.1411 9.94999 15H17.5C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14H9.94999ZM7.5 16C6.67157 16 6 15.3284 6 14.5C6 13.6716 6.67157 13 7.5 13C8.32843 13 9 13.6716 9 14.5C9 15.3284 8.32843 16 7.5 16Z",fill:t}));case"ArrowUpload":return D.createElement(O.Svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},D.createElement(O.Path,{d:"M15 3.00122C15.2761 3.00122 15.5 2.77736 15.5 2.50122C15.5 2.25576 15.3231 2.05161 15.0899 2.00928L15 2.00122H4C3.72386 2.00122 3.5 2.22508 3.5 2.50122C3.5 2.74668 3.67688 2.95083 3.91012 2.99317L4 3.00122H15ZM9.50014 17.999C9.7456 17.999 9.9497 17.822 9.99197 17.5887L10 17.4989L9.996 5.70501L13.6414 9.35334C13.8148 9.52707 14.0842 9.5466 14.2792 9.41179L14.3485 9.354C14.5222 9.18059 14.5418 8.91118 14.407 8.71619L14.3492 8.64689L9.85745 4.14689C9.78495 4.07426 9.69568 4.02858 9.60207 4.00986L9.49608 4.00012C9.33511 4.00012 9.19192 4.07624 9.10051 4.19444L4.64386 8.64631C4.44846 8.84143 4.44823 9.15802 4.64336 9.35342C4.8168 9.52711 5.08621 9.54658 5.28117 9.41173L5.35046 9.35392L8.996 5.71301L9 17.4992C9.00008 17.7753 9.224 17.999 9.50014 17.999Z",fill:t}));case"ArrowReset":return D.createElement(O.Svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},D.createElement(O.Path,{d:"M5.85355 2.64645C6.04882 2.84171 6.04882 3.15829 5.85355 3.35355L4.20711 5H11C14.3137 5 17 7.68629 17 11C17 14.3137 14.3137 17 11 17C7.68629 17 5 14.3137 5 11C5 10.7239 5.22386 10.5 5.5 10.5C5.77614 10.5 6 10.7239 6 11C6 13.7614 8.23858 16 11 16C13.7614 16 16 13.7614 16 11C16 8.23858 13.7614 6 11 6H4.20711L5.85355 7.64645C6.04882 7.84171 6.04882 8.15829 5.85355 8.35355C5.65829 8.54882 5.34171 8.54882 5.14645 8.35355L2.64645 5.85355C2.45118 5.65829 2.45118 5.34171 2.64645 5.14645L5.14645 2.64645C5.34171 2.45118 5.65829 2.45118 5.85355 2.64645Z",fill:t}));case"BulletedList":return Ug(t);case"BowTie":return D.createElement(O.Svg,{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none"},D.createElement(O.Path,{d:"M9 6.99945H7V12.4995C7 13.3279 6.32843 13.9995 5.5 13.9995H3.88743C2.86359 13.9995 2.14064 12.9964 2.4644 12.0251L3.69787 8.3247L2.9577 8.72843C1.62495 9.45538 0 8.49075 0 6.97264V2.02626C0 0.508145 1.62495 -0.456482 2.9577 0.270472L5.4577 1.63411C5.74056 1.78839 5.97637 2.00527 6.15174 2.26217C6.39301 2.09644 6.68518 1.99945 7 1.99945H9C9.31483 1.99945 9.60699 2.09644 9.84826 2.26217C10.0236 2.00527 10.2594 1.78839 10.5423 1.63411L13.0423 0.270472C14.375 -0.456482 16 0.508145 16 2.02626V6.97264C16 8.49075 14.375 9.45538 13.0423 8.72843L12.3021 8.3247L13.5356 12.0251C13.8594 12.9964 13.1364 13.9995 12.1126 13.9995H10.5C9.67157 13.9995 9 13.3279 9 12.4995V6.99945ZM15 2.02626C15 1.2672 14.1875 0.784891 13.5211 1.14837L11.0211 2.512C10.6999 2.68724 10.5 3.02396 10.5 3.3899V3.99945H12.5C12.7761 3.99945 13 4.22331 13 4.49945C13 4.77559 12.7761 4.99945 12.5 4.99945H10.5V5.609C10.5 5.97495 10.6999 6.31166 11.0211 6.4869L13.5211 7.85053C14.1875 8.21401 15 7.7317 15 6.97264V2.02626ZM10 6.93193V12.4995C10 12.7756 10.2239 12.9995 10.5 12.9995H12.1126C12.4539 12.9995 12.6948 12.6651 12.5869 12.3413L11.0257 7.65756C11.0218 7.64604 11.0184 7.63447 11.0155 7.62288L10.5423 7.36479C10.3343 7.25135 10.1518 7.10407 10 6.93193ZM4.97434 7.65756L3.41308 12.3413C3.30516 12.6651 3.54615 12.9995 3.88743 12.9995H5.5C5.77614 12.9995 6 12.7756 6 12.4995V6.93193C5.84822 7.10407 5.66568 7.25135 5.45771 7.36479L4.98455 7.62288C4.98158 7.63447 4.97819 7.64604 4.97434 7.65756ZM9.5 3.49945C9.5 3.22331 9.27614 2.99945 9 2.99945H7C6.72386 2.99945 6.5 3.22331 6.5 3.49945V5.49945C6.5 5.77559 6.72386 5.99945 7 5.99945H9C9.27614 5.99945 9.5 5.77559 9.5 5.49945V3.49945ZM5.5 4.99945H3.5C3.22386 4.99945 3 4.77559 3 4.49945C3 4.22331 3.22386 3.99945 3.5 3.99945H5.5V3.3899C5.5 3.02396 5.30011 2.68724 4.97885 2.512L2.47885 1.14837C1.81248 0.784891 1 1.2672 1 2.02626V6.97264C1 7.7317 1.81248 8.21401 2.47885 7.85053L4.97885 6.4869C5.30011 6.31166 5.5 5.97495 5.5 5.609V4.99945Z",fill:t}));case"Cancel":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 2048 2048",fill:"none"},D.createElement(O.Path,{d:"M 1115 1024 l 677 677 l -91 91 l -677 -677 l -677 677 l -91 -91 l 677 -677 l -677 -677 l 91 -91 l 677 677 l 677 -677 l 91 91 z",fill:t}));case"CancelSquare":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M4.5 2C3.11929 2 2 3.11929 2 4.5V11.5C2 12.8807 3.11929 14 4.5 14H6.25716C6.00353 13.6929 5.78261 13.3578 5.59971 13H4.5C3.67157 13 3 12.3284 3 11.5V4.5C3 3.67157 3.67157 3 4.5 3H11.5C12.3284 3 13 3.67157 13 4.5V5.59971C13.3578 5.78261 13.6929 6.00353 14 6.25716V4.5C14 3.11929 12.8807 2 11.5 2H4.5ZM10.5 15C12.9853 15 15 12.9853 15 10.5C15 8.01472 12.9853 6 10.5 6C8.01472 6 6 8.01472 6 10.5C6 12.9853 8.01472 15 10.5 15ZM12.3536 8.64645C12.5488 8.84171 12.5488 9.15829 12.3536 9.35355L11.2071 10.5L12.3536 11.6464C12.5488 11.8417 12.5488 12.1583 12.3536 12.3536C12.1583 12.5488 11.8417 12.5488 11.6464 12.3536L10.5 11.2071L9.35355 12.3536C9.15829 12.5488 8.84171 12.5488 8.64645 12.3536C8.45118 12.1583 8.45118 11.8417 8.64645 11.6464L9.79289 10.5L8.64645 9.35355C8.45118 9.15829 8.45118 8.84171 8.64645 8.64645C8.84171 8.45118 9.15829 8.45118 9.35355 8.64645L10.5 9.79289L11.6464 8.64645C11.8417 8.45118 12.1583 8.45118 12.3536 8.64645Z",fill:t}));case"Checkmark":return D.createElement(O.Svg,{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none"},D.createElement(O.Path,{d:"M13.3516 1.35156L5 9.71094L0.648438 5.35156L1.35156 4.64844L5 8.28906L12.6484 0.648438L13.3516 1.35156Z",fill:t}));case"Checklist":return Gg(t);case"Color":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 2048 2048",fill:"none"},D.createElement(O.Path,{d:"M1024 0q141 0 272 36t245 103 207 160 160 208 103 245 37 272q0 141-36 272t-103 245-160 207-208 160-245 103-272 37q-53 0-99-20t-81-55-55-81-21-100q0-49 9-85t24-67 31-56 31-52 23-56 10-68q0-52-20-99t-55-81-82-55-99-21q-38 0-67 9t-56 24-53 31-56 31-67 23-85 10q-53 0-99-20t-81-55-55-81-21-100q0-141 36-272t103-245 160-207 208-160T751 37t273-37zm0 1920q123 0 237-32t214-90 182-141 140-181 91-214 32-238q0-123-32-237t-90-214-141-182-181-140-214-91-238-32q-123 0-237 32t-214 90-182 141-140 181-91 214-32 238q0 27 10 50t27 40 41 28 50 10q38 0 67-9t56-24 52-31 55-31 67-23 87-10q80 0 150 30t122 82 82 122 30 150q0 49-9 86t-24 67-31 55-31 52-23 56-10 68q0 27 10 50t27 40 41 28 50 10zM512 640q27 0 50 10t40 27 28 41 10 50q0 27-10 50t-27 40-41 28-50 10q-27 0-50-10t-40-27-28-41-10-50q0-27 10-50t27-40 41-28 50-10zm384-256q27 0 50 10t40 27 28 41 10 50q0 27-10 50t-27 40-41 28-50 10q-27 0-50-10t-40-27-28-41-10-50q0-27 10-50t27-40 41-28 50-10zm512 384q-27 0-50-10t-40-27-28-41-10-50q0-27 10-50t27-40 41-28 50-10q27 0 50 10t40 27 28 41 10 50q0 27-10 50t-27 40-41 28-50 10zm128 256q27 0 50 10t40 27 28 41 10 50q0 27-10 50t-27 40-41 28-50 10q-27 0-50-10t-40-27-28-41-10-50q0-27 10-50t27-40 41-28 50-10zm-256 384q27 0 50 10t40 27 28 41 10 50q0 27-10 50t-27 40-41 28-50 10q-27 0-50-10t-40-27-28-41-10-50q0-27 10-50t27-40 41-28 50-10z",fill:t}));case"ColorfulCopilot":var o='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M14.1437 3.34932C13.9101 2.54966 13.177 2 12.3439 2L11.7427 2C10.8467 2 10.0758 2.634 9.90296 3.51321L8.85352 8.85006L9.15094 7.89102C9.39431 7.1063 10.1202 6.57143 10.9418 6.57143L14.2351 6.57143L15.6352 7.74347L16.8818 6.57143H16.4905C15.6574 6.57143 14.9242 6.02177 14.6907 5.22211L14.1437 3.34932Z" fill="url(#paint0_radial_56201_15523)"/>\n <path d="M6.0492 16.643C6.28017 17.4465 7.01519 18 7.85121 18H9.07497C10.0844 18 10.9126 17.2009 10.9488 16.1921L11.1295 11.1429L10.842 12.0954C10.6031 12.887 9.87385 13.4286 9.04701 13.4286L5.73383 13.4286L4.34959 12.5434L3.32812 13.4286H3.71324C4.54926 13.4286 5.28427 13.9821 5.51524 14.7855L6.0492 16.643Z" fill="url(#paint1_radial_56201_15523)"/>\n <path d="M12.2503 2H5.68785C3.81286 2 2.68787 4.39748 1.93788 6.79497C1.04933 9.63537 -0.113354 13.4342 3.25037 13.4342H6.11145C6.9435 13.4342 7.67548 12.8878 7.91125 12.0899C8.40466 10.4199 9.26493 7.52162 9.94109 5.31373C10.2857 4.18837 10.5728 3.22188 11.0134 2.62001C11.2604 2.28258 11.6721 2 12.2503 2Z" fill="url(#paint2_linear_56201_15523)"/>\n <path d="M12.2503 2H5.68785C3.81286 2 2.68787 4.39748 1.93788 6.79497C1.04933 9.63537 -0.113354 13.4342 3.25037 13.4342H6.11145C6.9435 13.4342 7.67548 12.8878 7.91125 12.0899C8.40466 10.4199 9.26493 7.52162 9.94109 5.31373C10.2857 4.18837 10.5728 3.22188 11.0134 2.62001C11.2604 2.28258 11.6721 2 12.2503 2Z" fill="url(#paint3_linear_56201_15523)"/>\n <path d="M7.74902 18H14.3115C16.1865 18 17.3114 15.6033 18.0614 13.2067C18.95 10.3672 20.1127 6.5697 16.7489 6.5697H13.8877C13.0557 6.5697 12.3238 7.11596 12.088 7.91383C11.5946 9.58325 10.7343 12.4804 10.0582 14.6874C9.71358 15.8124 9.42651 16.7786 8.98593 17.3802C8.73893 17.7175 8.32725 18 7.74902 18Z" fill="url(#paint4_radial_56201_15523)"/>\n <path d="M7.74902 18H14.3115C16.1865 18 17.3114 15.6033 18.0614 13.2067C18.95 10.3672 20.1127 6.5697 16.7489 6.5697H13.8877C13.0557 6.5697 12.3238 7.11596 12.088 7.91383C11.5946 9.58325 10.7343 12.4804 10.0582 14.6874C9.71358 15.8124 9.42651 16.7786 8.98593 17.3802C8.73893 17.7175 8.32725 18 7.74902 18Z" fill="url(#paint5_linear_56201_15523)"/>\n <defs>\n <radialGradient id="paint0_radial_56201_15523" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.7128 8.89484) rotate(-129.141) scale(7.20751 6.76953)">\n <stop offset="0.0955758" stop-color="#00AEFF"/>\n <stop offset="0.773185" stop-color="#2253CE"/>\n <stop offset="1" stop-color="#0736C4"/>\n </radialGradient>\n <radialGradient id="paint1_radial_56201_15523" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(4.74347 13.4008) rotate(51.7328) scale(6.58647 6.39483)">\n <stop stop-color="#FFB657"/>\n <stop offset="0.633728" stop-color="#FF5F3D"/>\n <stop offset="0.923392" stop-color="#C02B3C"/>\n </radialGradient>\n <linearGradient id="paint2_linear_56201_15523" x1="5.29507" y1="3.38547" x2="6.17192" y2="13.8705" gradientUnits="userSpaceOnUse">\n <stop offset="0.156162" stop-color="#0D91E1"/>\n <stop offset="0.487484" stop-color="#52B471"/>\n <stop offset="0.652394" stop-color="#98BD42"/>\n <stop offset="0.937361" stop-color="#FFC800"/>\n </linearGradient>\n <linearGradient id="paint3_linear_56201_15523" x1="6.11337" y1="2" x2="6.59201" y2="13.4355" gradientUnits="userSpaceOnUse">\n <stop stop-color="#3DCBFF"/>\n <stop offset="0.246674" stop-color="#0588F7" stop-opacity="0"/>\n </linearGradient>\n <radialGradient id="paint4_radial_56201_15523" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(17.0861 5.45059) rotate(109.881) scale(15.2451 18.7446)">\n <stop offset="0.0661714" stop-color="#8C48FF"/>\n <stop offset="0.5" stop-color="#F2598A"/>\n <stop offset="0.895833" stop-color="#FFB152"/>\n </radialGradient>\n <linearGradient id="paint5_linear_56201_15523" x1="17.6045" y1="5.87186" x2="17.5982" y2="8.98507" gradientUnits="userSpaceOnUse">\n <stop offset="0.0581535" stop-color="#F8ADFA"/>\n <stop offset="0.708063" stop-color="#A86EDD" stop-opacity="0"/>\n </linearGradient>\n </defs>\n </svg>\n ';return D.createElement(O.SvgXml,{height:20,width:20,xml:o});case"Completed":return Kg(t);case"Copy":return D.createElement(O.Svg,{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},D.createElement(O.Path,{d:"M14 6.28906V16H4V13H0V0H6.71094L9.71094 3H10.7109L14 6.28906ZM11 6H12.2891L11 4.71094V6ZM4 3H8.28906L6.28906 1H1V12H4V3ZM13 7H10V4H5V15H13V7Z",fill:t}));case"CsvFiles":return Yg;case"Delete":return D.createElement(O.Svg,{width:"13",height:"16",viewBox:"0 0 13 16",fill:"none"},D.createElement(O.Path,{d:"M13 3.00004H12V14.5C12 14.7084 11.9609 14.9037 11.8828 15.086C11.8047 15.2683 11.6979 15.4271 11.5625 15.5625C11.4271 15.698 11.2682 15.8047 11.0859 15.8829C10.9036 15.961 10.7083 16 10.5 16H2.5C2.29167 16 2.09635 15.961 1.91406 15.8829C1.73177 15.8047 1.57292 15.698 1.4375 15.5625C1.30208 15.4271 1.19531 15.2683 1.11719 15.086C1.03906 14.9037 1 14.7084 1 14.5V3.00004H0V2.00004H4V1.00004C4 0.859416 4.02604 0.729207 4.07812 0.609416C4.13021 0.489624 4.20052 0.385457 4.28906 0.296916C4.3776 0.208374 4.48438 0.135457 4.60938 0.0781657C4.73438 0.020874 4.86458 -0.00516764 5 4.06902e-05H8C8.14062 4.06902e-05 8.27083 0.0260824 8.39062 0.0781657C8.51042 0.130249 8.61458 0.200562 8.70312 0.289103C8.79167 0.377645 8.86458 0.484416 8.92188 0.609416C8.97917 0.734416 9.00521 0.864624 9 1.00004V2.00004H13V3.00004ZM5 2.00004H8V1.00004H5V2.00004ZM11 3.00004H2V14.5C2 14.6355 2.04948 14.7526 2.14844 14.8516C2.2474 14.9506 2.36458 15 2.5 15H10.5C10.6354 15 10.7526 14.9506 10.8516 14.8516C10.9505 14.7526 11 14.6355 11 14.5V3.00004ZM5 13H4V5.00004H5V13ZM7 13H6V5.00004H7V13ZM9 13H8V5.00004H9V13Z",fill:t}));case"Dislike":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M10.5776 9.99952C10.5944 10.133 10.6119 10.2848 10.6283 10.45C10.7019 11.1893 10.7593 12.2428 10.6146 13.1274C10.5427 13.5666 10.4137 14.0141 10.1727 14.3636C9.91609 14.7357 9.52604 14.9995 9.00016 14.9995C8.48357 14.9995 8.16907 14.6298 7.97616 14.3084C7.78384 13.9879 7.61527 13.553 7.44271 13.1078L7.42958 13.0739C6.88287 11.6637 6.13522 9.75708 4.1232 8.41574C3.81627 8.21111 3.5248 8.06386 3.26989 7.95815C2.5733 7.6693 1.94781 6.90105 2.11258 6.02165L2.33656 4.82627C2.47706 4.07638 3.03196 3.47175 3.76706 3.26756L8.71713 1.89254C10.6934 1.34358 12.716 2.60391 13.0939 4.61984L13.5475 7.03879C13.836 8.57733 12.6557 9.99952 11.0903 9.99952H10.5776ZM12.1111 4.80413C11.8411 3.36418 10.3964 2.46395 8.98478 2.85605L4.03471 4.23107C3.66715 4.33317 3.38971 4.63549 3.31945 5.01043L3.09548 6.20582C3.04235 6.48935 3.2566 6.87007 3.65293 7.03442C3.96222 7.16268 4.31198 7.33974 4.67791 7.58369C6.9648 9.10828 7.80648 11.2795 8.35387 12.6916L8.36197 12.7124C8.55151 13.2014 8.69067 13.5556 8.83359 13.7938C8.90275 13.909 8.95439 13.9644 8.98519 13.9886C8.99329 13.995 8.99862 13.9981 9.00124 13.9995C9.14311 13.9992 9.24643 13.9453 9.3495 13.7959C9.46849 13.6233 9.56579 13.3445 9.62769 12.966C9.75044 12.2154 9.70484 11.2689 9.63323 10.549C9.60484 10.2636 9.57314 10.0209 9.54862 9.85016C9.53637 9.76485 9.52595 9.69769 9.51867 9.65235L9.51029 9.60123L9.50819 9.58884L9.50772 9.58609C9.48227 9.44064 9.52236 9.29093 9.61735 9.17788C9.66884 9.11659 9.73358 9.06935 9.8056 9.03892C9.86646 9.01321 9.93252 8.99952 10.0002 8.99952H11.0903C12.0295 8.99952 12.7377 8.1462 12.5646 7.22308L12.1111 4.80413Z",fill:t}));case"Dot":return D.createElement(O.Svg,{viewBox:"0 0 20 20",width:"4",height:"4"},D.createElement(O.Circle,{cx:"10",cy:"10",r:"10",fill:t??"#006BFF"}));case"DropdownChevron":return D.createElement(O.Svg,{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none"},D.createElement(O.Path,{d:"M5 6.09082L0.12207 1.21289L0.712891 0.62207L5 4.90918L9.28711 0.62207L9.87793 1.21289L5 6.09082Z",fill:t}));case"EditorSingleColor":return D.createElement(O.Svg,{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none"},D.createElement(O.Path,{d:"M14.0469 5C14.1771 5 14.3021 5.02604 14.4219 5.07812C14.5365 5.125 14.638 5.19271 14.7266 5.28125C14.8099 5.36458 14.8776 5.46615 14.9297 5.58594C14.9766 5.70052 15 5.82292 15 5.95312V6.04688C15 6.17708 14.9766 6.30208 14.9297 6.42188C14.8776 6.53646 14.8099 6.63802 14.7266 6.72656C14.638 6.8099 14.5365 6.8776 14.4219 6.92969C14.3021 6.97656 14.1771 7 14.0469 7H8.97656L8.25 8H12C12.1406 8 12.2708 8.02604 12.3906 8.07812C12.5104 8.13021 12.6172 8.20312 12.7109 8.29688C12.7995 8.38542 12.8698 8.48958 12.9219 8.60938C12.974 8.72917 13 8.85938 13 9C13 9.14062 12.974 9.27083 12.9219 9.39062C12.8698 9.51042 12.7995 9.61719 12.7109 9.71094C12.6172 9.79948 12.5104 9.86979 12.3906 9.92188C12.2708 9.97396 12.1406 10 12 10H6.79688L6.07031 11H10C10.1406 11 10.2708 11.026 10.3906 11.0781C10.5104 11.1302 10.6172 11.2031 10.7109 11.2969C10.7995 11.3854 10.8698 11.4896 10.9219 11.6094C10.974 11.7292 11 11.8594 11 12C11 12.1406 10.974 12.2708 10.9219 12.3906C10.8698 12.5104 10.7995 12.6172 10.7109 12.7109C10.6172 12.7995 10.5104 12.8698 10.3906 12.9219C10.2708 12.974 10.1406 13 10 13H4.61719L4.14844 13.6406L1.89844 15.25C1.84635 15.276 1.79948 15.2891 1.75781 15.2891C1.70573 15.2891 1.66146 15.2786 1.625 15.2578L0.6875 15.9453C0.671875 15.9609 0.645833 15.9688 0.609375 15.9688C0.473958 15.9688 0.356771 15.9297 0.257812 15.8516C0.153646 15.7682 0.101562 15.6745 0.101562 15.5703V15.5469L0.445312 14.4219C0.377604 14.375 0.34375 14.3073 0.34375 14.2188C0.34375 14.1875 0.346354 14.1641 0.351562 14.1484L1.14844 11.5156L9.45312 0.117188C9.50521 0.0755208 9.54427 0.0494792 9.57031 0.0390625C9.59635 0.0286458 9.63542 0.0234375 9.6875 0.0234375C9.72917 0.0234375 9.8099 0.0520833 9.92969 0.109375C10.0495 0.161458 10.1927 0.234375 10.3594 0.328125C10.526 0.416667 10.7057 0.523438 10.8984 0.648438C11.0859 0.773438 11.2734 0.90625 11.4609 1.04688C11.6484 1.1875 11.8229 1.33333 11.9844 1.48438C12.1458 1.63021 12.2786 1.77604 12.3828 1.92188C12.4089 1.96354 12.4323 2 12.4531 2.03125C12.4688 2.0625 12.4766 2.09375 12.4766 2.125C12.4766 2.15104 12.4635 2.1849 12.4375 2.22656L11.8984 2.96875L10.4219 5H14.0469ZM3.4375 12.9219L10.7969 2.78906L9.44531 1.82812L2.05469 11.9609L1.46875 13.9062L1.76562 14.1094L3.4375 12.9219Z",fill:t}));case"Editor":return D.createElement(O.Svg,{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none"},D.createElement(O.Path,{d:"M1.02344 14.2266L0.882812 14.125L1.60156 11.7422L9.75781 0.554688C9.85156 0.596354 9.99219 0.671875 10.1797 0.78125C10.362 0.890625 10.5599 1.01823 10.7734 1.16406C10.9818 1.30469 11.1901 1.46094 11.3984 1.63281C11.6016 1.79948 11.7682 1.96094 11.8984 2.11719L3.79688 13.2812L1.74219 14.7422L1.58594 14.6562L0.6875 15.3281L1.02344 14.2266Z",fill:"#FAF9F8"}),D.createElement(O.Path,{d:"M14.0469 5C14.1771 5 14.3021 5.02604 14.4219 5.07812C14.5365 5.125 14.638 5.19271 14.7266 5.28125C14.8099 5.36458 14.8776 5.46615 14.9297 5.58594C14.9766 5.70052 15 5.82292 15 5.95312V6.04688C15 6.17708 14.9766 6.30208 14.9297 6.42188C14.8776 6.53646 14.8099 6.63802 14.7266 6.72656C14.638 6.8099 14.5365 6.8776 14.4219 6.92969C14.3021 6.97656 14.1771 7 14.0469 7H8.97656L8.25 8H12C12.1406 8 12.2708 8.02604 12.3906 8.07812C12.5104 8.13021 12.6172 8.20312 12.7109 8.29688C12.7995 8.38542 12.8698 8.48958 12.9219 8.60938C12.974 8.72917 13 8.85938 13 9C13 9.14062 12.974 9.27083 12.9219 9.39062C12.8698 9.51042 12.7995 9.61719 12.7109 9.71094C12.6172 9.79948 12.5104 9.86979 12.3906 9.92188C12.2708 9.97396 12.1406 10 12 10H6.79688L6.07031 11H10C10.1406 11 10.2708 11.026 10.3906 11.0781C10.5104 11.1302 10.6172 11.2031 10.7109 11.2969C10.7995 11.3854 10.8698 11.4896 10.9219 11.6094C10.974 11.7292 11 11.8594 11 12C11 12.1406 10.974 12.2708 10.9219 12.3906C10.8698 12.5104 10.7995 12.6172 10.7109 12.7109C10.6172 12.7995 10.5104 12.8698 10.3906 12.9219C10.2708 12.974 10.1406 13 10 13H4.61719L4.14844 13.6406L1.89844 15.25C1.84635 15.276 1.79948 15.2891 1.75781 15.2891C1.70573 15.2891 1.66146 15.2786 1.625 15.2578L0.6875 15.9453C0.671875 15.9609 0.645833 15.9688 0.609375 15.9688C0.473958 15.9688 0.356771 15.9297 0.257812 15.8516C0.153646 15.7682 0.101562 15.6745 0.101562 15.5703V15.5469L0.445312 14.4219C0.377604 14.375 0.34375 14.3073 0.34375 14.2188C0.34375 14.1875 0.346354 14.1641 0.351562 14.1484L1.14844 11.5156L9.45312 0.117188C9.50521 0.0755208 9.54427 0.0494792 9.57031 0.0390625C9.59635 0.0286458 9.63542 0.0234375 9.6875 0.0234375C9.72917 0.0234375 9.8099 0.0520833 9.92969 0.109375C10.0495 0.161458 10.1927 0.234375 10.3594 0.328125C10.526 0.416667 10.7057 0.523438 10.8984 0.648438C11.0859 0.773438 11.2734 0.90625 11.4609 1.04688C11.6484 1.1875 11.8229 1.33333 11.9844 1.48438C12.1458 1.63021 12.2786 1.77604 12.3828 1.92188C12.4089 1.96354 12.4323 2 12.4531 2.03125C12.4688 2.0625 12.4766 2.09375 12.4766 2.125C12.4766 2.15104 12.4635 2.1849 12.4375 2.22656L11.8984 2.96875L10.4219 5H14.0469ZM3.4375 12.9219L10.7969 2.78906L9.44531 1.82812L2.05469 11.9609L1.46875 13.9062L1.76562 14.1094L3.4375 12.9219Z",fill:"#185ABD"}));case"Emails":return s2(t,n);case"ErrorBadge":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 2048 2048",fill:"none"},D.createElement(O.Path,{d:"M1024 0q141 0 272 36t244 104 207 160 161 207 103 245 37 272q0 141-36 272t-104 244-160 207-207 161-245 103-272 37q-141 0-272-36t-244-104-207-160-161-207-103-245-37-272q0-141 36-272t104-244 160-207 207-161T752 37t272-37zm0 1920q124 0 238-32t214-90 181-140 140-181 91-214 32-239q0-124-32-238t-90-214-140-181-181-140-214-91-239-32q-124 0-238 32t-214 90-181 140-140 181-91 214-32 239q0 124 32 238t90 214 140 181 181 140 214 91 239 32zm443-1249l-352 353 352 353-90 90-353-352-353 352-90-90 352-353-352-353 90-90 353 352 353-352 90 90z",fill:t}));case"Event":return l2(t,n);case"EventSeries":return u2(t,n);case"EventRecorded":return Id(t,n);case"Excel":return Jg;case"Files":return Ad;case"FirstRowAsHeader":return D.createElement(O.Svg,{width:"16",height:"12",viewBox:"0 0 16 12",fill:"none"},D.createElement(O.Path,{d:"M0 2C0 0.89543 0.895431 0 2 0H14C15.1046 0 16 0.89543 16 2V10C16 11.1046 15.1046 12 14 12H2C0.895431 12 0 11.1046 0 10V2ZM7.5 11V3H1V10C1 10.5523 1.44772 11 2 11H7.5ZM8.5 3V11H14C14.5523 11 15 10.5523 15 10V3H8.5Z",fill:t}));case"GiveFeedback":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M7.48438 10.375C8.01042 10.5833 8.48958 10.8594 8.92188 11.2031C9.35417 11.5469 9.72396 11.9453 10.0312 12.3984C10.3385 12.8516 10.5755 13.3385 10.7422 13.8594C10.9089 14.3802 10.9948 14.9271 11 15.5V16H10V15.5C10 14.8802 9.88281 14.2969 9.64844 13.75C9.41406 13.2031 9.09115 12.7266 8.67969 12.3203C8.26823 11.9141 7.79167 11.5938 7.25 11.3594C6.70833 11.125 6.125 11.0052 5.5 11C4.88021 11 4.29688 11.1172 3.75 11.3516C3.20312 11.5859 2.72656 11.9089 2.32031 12.3203C1.91406 12.7318 1.59375 13.2083 1.35938 13.75C1.125 14.2917 1.00521 14.875 1 15.5V16H0V15.5C0 14.9323 0.0833333 14.3854 0.25 13.8594C0.416667 13.3333 0.65625 12.8464 0.96875 12.3984C1.28125 11.9505 1.65104 11.5547 2.07812 11.2109C2.50521 10.8672 2.98438 10.5885 3.51562 10.375C3.28125 10.2135 3.07031 10.026 2.88281 9.8125C2.69531 9.59896 2.53646 9.36979 2.40625 9.125C2.27604 8.88021 2.17708 8.61979 2.10938 8.34375C2.04167 8.06771 2.00521 7.78646 2 7.5C2 7.01562 2.09115 6.5625 2.27344 6.14062C2.45573 5.71875 2.70573 5.34896 3.02344 5.03125C3.34115 4.71354 3.71094 4.46354 4.13281 4.28125C4.55469 4.09896 5.01042 4.00521 5.5 4C5.98438 4 6.4375 4.09115 6.85938 4.27344C7.28125 4.45573 7.65104 4.70573 7.96875 5.02344C8.28646 5.34115 8.53646 5.71094 8.71875 6.13281C8.90104 6.55469 8.99479 7.01042 9 7.5C9 7.78646 8.96615 8.0651 8.89844 8.33594C8.83073 8.60677 8.72917 8.86719 8.59375 9.11719C8.45833 9.36719 8.29948 9.59896 8.11719 9.8125C7.9349 10.026 7.72396 10.2135 7.48438 10.375ZM5.5 10C5.84375 10 6.16667 9.9349 6.46875 9.80469C6.77083 9.67448 7.03385 9.4974 7.25781 9.27344C7.48177 9.04948 7.66146 8.78385 7.79688 8.47656C7.93229 8.16927 8 7.84375 8 7.5C8 7.15625 7.9349 6.83333 7.80469 6.53125C7.67448 6.22917 7.49479 5.96615 7.26562 5.74219C7.03646 5.51823 6.77083 5.33854 6.46875 5.20312C6.16667 5.06771 5.84375 5 5.5 5C5.15625 5 4.83333 5.0651 4.53125 5.19531C4.22917 5.32552 3.96354 5.50521 3.73438 5.73438C3.50521 5.96354 3.32552 6.22917 3.19531 6.53125C3.0651 6.83333 3 7.15625 3 7.5C3 7.84375 3.0651 8.16667 3.19531 8.46875C3.32552 8.77083 3.5026 9.03646 3.72656 9.26562C3.95052 9.49479 4.21615 9.67448 4.52344 9.80469C4.83073 9.9349 5.15625 10 5.5 10ZM16 0V8H14L11 11V8H10V7H12V8.58594L13.5859 7H15V1H5V2.79688C4.83333 2.81771 4.66667 2.84375 4.5 2.875C4.33333 2.90625 4.16667 2.95312 4 3.01562V0H16Z",fill:t}));case"Hashtag":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none"},D.createElement(O.Path,{d:"M10.9869 2.88953C11.0639 2.48254 10.7964 2.09019 10.3894 2.0132C9.98238 1.93622 9.59003 2.20374 9.51305 2.61074L8.49396 7.99815L3.74965 8.00037C3.33544 8.00056 2.99981 8.3365 3 8.75072C3.00019 9.16493 3.33614 9.50056 3.75035 9.50037L8.2102 9.49828L7.26445 14.498L2.74965 14.5001C2.33544 14.5003 1.99981 14.8363 2 15.2505C2.00019 15.6647 2.33614 16.0003 2.75035 16.0001L6.98068 15.9981L6.01302 21.1137C5.93603 21.5207 6.20356 21.9131 6.61055 21.99C7.01755 22.067 7.4099 21.7995 7.48688 21.3925L8.50742 15.9974L13.9814 15.9949L13.0131 21.1137C12.9361 21.5207 13.2036 21.9131 13.6106 21.99C14.0176 22.067 14.41 21.7995 14.4869 21.3925L15.5081 15.9942L20.2503 15.9919C20.6646 15.9917 21.0002 15.6558 21 15.2416C20.9998 14.8274 20.6639 14.4918 20.2496 14.4919L15.7919 14.494L16.7376 9.4943L21.2503 9.49219C21.6646 9.49199 22.0002 9.15605 22 8.74184C21.9998 8.32762 21.6639 7.99199 21.2496 7.99219L17.0214 7.99416L17.987 2.88953C18.064 2.48254 17.7964 2.09019 17.3894 2.0132C16.9824 1.93622 16.5901 2.20374 16.5131 2.61074L15.4946 7.99488L10.0207 7.99744L10.9869 2.88953ZM9.73693 9.49757L15.2109 9.49501L14.2651 14.4947L8.79118 14.4973L9.73693 9.49757Z",fill:t}));case"Hide":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 2048 2048",fill:"none"},D.createElement(O.Path,{d:"M74 292l90-90 1630 1629-91 91-457-457q-54 35-105 53t-117 18q-80 0-150-30t-122-82-82-122-30-150q0-65 18-116t53-106L391 610Q266 715 197 851t-69 301H0q0-91 21-179t60-170 94-153 126-130L74 292zm694 860q0 53 20 99t55 82 81 55 100 20q36 0 67-9t62-27l-349-349q-17 31-26 62t-10 67zm328-245L963 774l30-4q15-2 31-2 79 0 149 30t122 82 83 123 30 149q0 15-2 30t-4 31l-133-133q-42-131-173-173zm952 245h-128q0-118-36-221t-99-188-150-152-185-113-208-70-218-24q-98 0-192 19t-185 56l-98-98q116-53 231-79t244-26q144 0 285 35t265 105 226 170 166 234q40 82 61 171t21 181z",fill:t}));case"Ignore":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM15 8C15 6.24696 14.3556 4.64442 13.2907 3.41636L3.41636 13.2907C4.64442 14.3556 6.24696 15 8 15C11.866 15 15 11.866 15 8ZM2.70925 12.5836L12.5836 2.70925C11.3556 1.6444 9.75303 1 8 1C4.13401 1 1 4.13401 1 8C1 9.75303 1.6444 11.3556 2.70925 12.5836Z",fill:t}));case"IgnoreAll":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7ZM7 1C3.68629 1 1 3.68629 1 7C1 8.47685 1.53357 9.82907 2.41846 10.8744L10.8744 2.41846C9.82907 1.53357 8.47685 1 7 1ZM7 13C10.3137 13 13 10.3137 13 7C13 5.52314 12.4664 4.17091 11.5815 3.12557L3.12557 11.5815C4.17091 12.4664 5.52314 13 7 13ZM9.00001 16C7.5154 16 6.13873 15.5378 5.00604 14.7495C5.64346 14.9131 6.31158 15 7.00001 15C7.36366 15 7.72165 14.9757 8.07244 14.9287C8.37476 14.9757 8.68454 15 9.00001 15C12.3137 15 15 12.3137 15 9.00001C15 8.68454 14.9757 8.37476 14.9287 8.07244C14.9757 7.72165 15 7.36366 15 7.00001C15 6.31158 14.9131 5.64346 14.7495 5.00604C15.5378 6.13873 16 7.5154 16 9.00001C16 12.866 12.866 16 9.00001 16Z",fill:t??"#262626"}));case"InsertBelow":return D.createElement(O.Svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},D.createElement(O.Path,{d:"M6 3C5.44772 3 5 3.44772 5 4V6C5 6.55228 5.44772 7 6 7H14C14.5523 7 15 6.55228 15 6V4C15 3.44772 14.5523 3 14 3H6ZM4 4C4 2.89543 4.89543 2 6 2H14C15.1046 2 16 2.89543 16 4V6C16 7.10457 15.1046 8 14 8H6C4.89543 8 4 7.10457 4 6V4ZM6 17C5.44772 17 5 16.5523 5 16V14C5 13.4477 5.44772 13 6 13H14C14.5523 13 15 13.4477 15 14V16C15 16.5523 14.5523 17 14 17H6ZM4 16C4 17.1046 4.89543 18 6 18H14C15.1046 18 16 17.1046 16 16V14C16 12.8954 15.1046 12 14 12H6C4.89543 12 4 12.8954 4 14V16ZM2 10C2 9.72386 2.22386 9.5 2.5 9.5H17.5C17.7761 9.5 18 9.72386 18 10C18 10.2761 17.7761 10.5 17.5 10.5H2.5C2.22386 10.5 2 10.2761 2 10Z",fill:t}));case"Like":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M8.03494 1.92332C8.24411 1.40248 8.83006 0.843 9.5806 1.0516C10.1709 1.21566 10.5544 1.57258 10.7735 2.04807C10.9778 2.49126 11.028 3.01293 11.0375 3.51008C11.0478 4.04484 10.9361 4.68641 10.8047 5.24751C10.7434 5.50906 10.6759 5.76117 10.6099 5.9878H11.9949C13.3298 5.9878 14.29 7.2705 13.9139 8.55127L12.5497 13.1973C12.1555 14.5397 10.7365 15.2974 9.40179 14.8781L4.04591 13.1958C3.45891 13.0114 2.98944 12.5671 2.77304 11.9912L2.25304 10.6072C1.91142 9.69797 2.27244 8.67473 3.109 8.18119L4.98089 7.07684C4.98462 7.07423 4.99002 7.07037 4.99704 7.0652C5.01761 7.05005 5.05204 7.02362 5.09835 6.98435C5.19093 6.90585 5.33128 6.77579 5.5035 6.58154C5.84755 6.19347 6.32141 5.54625 6.79565 4.53704C7.00052 4.10106 7.17287 3.75833 7.32941 3.44707C7.58243 2.94395 7.79411 2.52303 8.03494 1.92332ZM5.51946 7.91969C5.51378 7.92334 5.50805 7.9269 5.50224 7.93032L3.61713 9.04247C3.19885 9.28924 3.01834 9.80086 3.18915 10.2555L3.70914 11.6394C3.81735 11.9274 4.05208 12.1496 4.34558 12.2418L9.70146 13.9241C10.5023 14.1756 11.3537 13.721 11.5902 12.9156L12.9544 8.26953C13.1424 7.62915 12.6623 6.9878 11.9949 6.9878H9.92587C9.76349 6.9878 9.61122 6.90894 9.51751 6.77632C9.42381 6.64369 9.40035 6.47382 9.4546 6.32077C9.55458 6.03869 9.70672 5.54998 9.83103 5.01941C9.95711 4.48125 10.0456 3.93709 10.0377 3.52931C10.0287 3.061 9.97907 2.71335 9.86536 2.46667C9.76654 2.25227 9.61384 2.09874 9.31282 2.01508C9.26971 2.0031 9.21948 2.0066 9.15353 2.04989C9.08149 2.09718 9.00781 2.18417 8.96291 2.29598C8.70922 2.92772 8.46651 3.41157 8.19787 3.94711C8.04311 4.25564 7.87974 4.58133 7.7007 4.96233C7.18681 6.05594 6.66067 6.78372 6.25176 7.24494C6.04749 7.47534 5.87312 7.6385 5.74509 7.74707C5.68109 7.80133 5.62875 7.84188 5.59013 7.87034C5.57082 7.88456 5.55495 7.89575 5.54277 7.90411L5.5273 7.91456L5.52171 7.91823L5.51946 7.91969ZM4.97612 7.08018L4.97492 7.08097Z",fill:t}));case"LineCopilot":return D.createElement(O.Svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},D.createElement(O.Path,{d:"M5.92704 2H12.1392C13.1927 2 14.1203 2.69397 14.4176 3.7046L14.8868 5.29901C15.0476 5.84546 15.5266 6.232 16.086 6.28068H16.3751C17.2627 6.28068 17.9479 6.53232 18.4023 7.04832C18.8449 7.55084 18.9913 8.21838 19.0009 8.88707C19.02 10.208 18.5033 11.849 18.0916 13.1554C17.7333 14.2924 17.273 15.4729 16.6552 16.3777C16.0399 17.2788 15.1999 18.0006 14.073 18.0006H7.87484L7.86695 18.0005H7.86063C6.80716 18.0005 5.87959 17.3066 5.58222 16.296L5.11309 14.7015C4.95237 14.1553 4.47368 13.7689 3.91456 13.7199H3.62488C2.73727 13.7199 2.05209 13.4683 1.59766 12.9523C1.15509 12.4498 1.00872 11.7822 0.999049 11.1135C0.979951 9.7926 1.49665 8.15165 1.90838 6.84517C2.26667 5.70826 2.72694 4.52772 3.34477 3.62288C3.96005 2.72178 4.80007 2 5.92704 2ZM2.86214 7.14574C2.43465 8.50224 1.98267 9.97352 1.99894 11.0991C2.00696 11.6536 2.12929 12.0429 2.34812 12.2914C2.55509 12.5264 2.924 12.7199 3.62488 12.7199H6.25213C6.8614 12.7199 7.39814 12.3195 7.57212 11.7352C8.04172 10.158 8.83794 7.4963 9.46637 5.45934L9.49937 5.35233C9.64852 4.86841 9.79284 4.40016 9.94826 3.98475C10.0807 3.63087 10.2289 3.29335 10.4095 3H5.92704C5.28311 3 4.70642 3.40208 4.17062 4.18678C3.63737 4.96774 3.2122 6.03493 2.86214 7.14574ZM5.73445 13.7199C5.88192 13.9288 5.99729 14.1639 6.07243 14.4193L6.54156 16.0137C6.71371 16.5988 7.25073 17.0005 7.86063 17.0005H7.88678C8.24574 16.9969 8.48955 16.8275 8.64066 16.6226C8.80779 16.3959 8.96035 16.0792 9.11514 15.6654C9.25974 15.2789 9.39567 14.8381 9.5478 14.3446L9.57806 14.2465C9.64307 14.0357 9.70989 13.8183 9.77797 13.596C9.543 13.6733 9.29325 13.7147 9.03611 13.7147H6.41074C6.35823 13.7182 6.30534 13.7199 6.25213 13.7199H5.73445ZM8.1935 12.7147H9.03611C9.58916 12.7147 10.0832 12.3842 10.2986 11.8846C10.7359 10.4387 11.1692 8.98844 11.4694 7.98005C11.5449 7.72668 11.6599 7.4933 11.8065 7.28588H10.9638C10.4111 7.28588 9.91739 7.61592 9.70178 8.11487C9.26432 9.56118 8.83086 11.0119 8.53054 12.0206C8.45511 12.2739 8.34011 12.5073 8.1935 12.7147ZM10.2221 6.40449C10.457 6.32723 10.7067 6.28588 10.9638 6.28588H13.5902C13.6424 6.28243 13.695 6.28068 13.7479 6.28068H14.2655C14.118 6.07183 14.0026 5.83666 13.9274 5.58128L13.4583 3.98687C13.2862 3.40177 12.7491 3 12.1392 3H12.1244C11.7593 3.00023 11.512 3.17099 11.3593 3.37803C11.1922 3.60467 11.0396 3.92146 10.8848 4.33517C10.7402 4.72167 10.6043 5.16256 10.4522 5.65601L10.4219 5.75415C10.3569 5.96483 10.2901 6.18225 10.2221 6.40449ZM17.1379 12.8549C17.5653 11.4984 18.0173 10.0271 18.001 8.90153C17.993 8.34698 17.8707 7.95771 17.6519 7.70923C17.4449 7.47423 17.076 7.28068 16.3751 7.28068H13.7479C13.1386 7.28068 12.6018 7.68108 12.4279 8.26541C11.9583 9.84263 11.1621 12.5043 10.5336 14.5413L10.5006 14.6483C10.3515 15.1322 10.2072 15.6005 10.0517 16.0159C9.91933 16.3697 9.77114 16.7073 9.59044 17.0006H14.073C14.7169 17.0006 15.2936 16.5985 15.8294 15.8138C16.3626 15.0329 16.7878 13.9657 17.1379 12.8549Z",fill:t}));case"Loop":return e2;case"MergeCells":return D.createElement(O.Svg,{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},D.createElement(O.Path,{d:"M4.35355 5.85355C4.54882 5.65829 4.54882 5.34171 4.35355 5.14645C4.15829 4.95118 3.84171 4.95118 3.64645 5.14645L2.14645 6.64645C1.95118 6.84171 1.95118 7.15829 2.14645 7.35355L3.64645 8.85355C3.84171 9.04882 4.15829 9.04882 4.35355 8.85355C4.54882 8.65829 4.54882 8.34171 4.35355 8.14645L3.70711 7.5H10.2929L9.64645 8.14645C9.45118 8.34171 9.45118 8.65829 9.64645 8.85355C9.84171 9.04882 10.1583 9.04882 10.3536 8.85355L11.8536 7.35355C12.0488 7.15829 12.0488 6.84171 11.8536 6.64645L10.3536 5.14645C10.1583 4.95118 9.84171 4.95118 9.64645 5.14645C9.45118 5.34171 9.45118 5.65829 9.64645 5.85355L10.2929 6.5H3.70711L4.35355 5.85355ZM3 0C1.34315 0 0 1.34315 0 3V11C0 12.6569 1.34315 14 3 14H11C12.6569 14 14 12.6569 14 11V3C14 1.34315 12.6569 0 11 0H3ZM1 4H13V10H1V4ZM11 13H3C1.89543 13 1 12.1046 1 11H13C13 12.1046 12.1046 13 11 13ZM13 3L1 3C1 1.89543 1.89543 1 3 1H11C12.1046 1 13 1.89543 13 3Z",fill:t}));case"Next":return D.createElement(O.Svg,{width:"9",height:"16",viewBox:"0 0 9 16",fill:"none"},D.createElement(O.Path,{d:"M0.0234375 15.2734L7.28906 8L0.0234375 0.726562L0.726562 0.0234375L8.71094 8L0.726562 15.9766L0.0234375 15.2734Z",fill:t}));case"NumberedList":return $g(t);case"OneNoteNotebook":return t2;case"Overflow":return D.createElement(O.Svg,{width:"15",height:"2",viewBox:"0 0 15 2",fill:"none"},D.createElement(O.Path,{d:"M1.00065 -2.03548e-05C1.14128 -2.03548e-05 1.27149 0.0260209 1.39128 0.0781035C1.51107 0.130186 1.61524 0.200497 1.70378 0.289038C1.79232 0.377578 1.86524 0.484347 1.92253 0.609345C1.97982 0.734344 2.00586 0.86455 2.00066 0.999964C2.00066 1.14059 1.97461 1.27079 1.92253 1.39058C1.87045 1.51037 1.80013 1.61454 1.71159 1.70308C1.62305 1.79162 1.51628 1.86453 1.39128 1.92183C1.26628 1.97912 1.13607 2.00516 1.00065 1.99995C0.860028 1.99995 0.729819 1.97391 0.610027 1.92183C0.490235 1.86974 0.386069 1.79943 0.297527 1.71089C0.208985 1.62235 0.136068 1.51558 0.0787762 1.39058C0.0214844 1.26559 -0.0045573 1.13538 0.000651043 0.999964C0.000651043 0.859342 0.0266928 0.729135 0.0787762 0.609345C0.13086 0.489556 0.201172 0.38539 0.289714 0.29685C0.378256 0.20831 0.485027 0.135394 0.610027 0.0781035C0.735028 0.0208127 0.865236 -0.00522861 1.00065 -2.03548e-05ZM7.00067 -2.03548e-05C7.14129 -2.03548e-05 7.2715 0.0260209 7.39129 0.0781035C7.51108 0.130186 7.61525 0.200497 7.70379 0.289038C7.79233 0.377578 7.86525 0.484347 7.92254 0.609345C7.97983 0.734344 8.00588 0.86455 8.00067 0.999964C8.00067 1.14059 7.97463 1.27079 7.92254 1.39058C7.87046 1.51037 7.80015 1.61454 7.71161 1.70308C7.62306 1.79162 7.51629 1.86453 7.39129 1.92183C7.26629 1.97912 7.13608 2.00516 7.00067 1.99995C6.86004 1.99995 6.72983 1.97391 6.61004 1.92183C6.49025 1.86974 6.38608 1.79943 6.29754 1.71089C6.209 1.62235 6.13608 1.51558 6.07879 1.39058C6.0215 1.26559 5.99546 1.13538 6.00066 0.999964C6.00066 0.859342 6.02671 0.729135 6.07879 0.609345C6.13087 0.489556 6.20119 0.38539 6.28973 0.29685C6.37827 0.20831 6.48504 0.135394 6.61004 0.0781035C6.73504 0.0208127 6.86525 -0.00522861 7.00067 -2.03548e-05ZM13.0007 -2.03548e-05C13.1413 -2.03548e-05 13.2715 0.0260209 13.3913 0.0781035C13.5111 0.130186 13.6153 0.200497 13.7038 0.289038C13.7923 0.377578 13.8653 0.484347 13.9226 0.609345C13.9798 0.734344 14.0059 0.86455 14.0007 0.999964C14.0007 1.14059 13.9746 1.27079 13.9226 1.39058C13.8705 1.51037 13.8002 1.61454 13.7116 1.70308C13.6231 1.79162 13.5163 1.86453 13.3913 1.92183C13.2663 1.97912 13.1361 2.00516 13.0007 1.99995C12.8601 1.99995 12.7298 1.97391 12.6101 1.92183C12.4903 1.86974 12.3861 1.79943 12.2976 1.71089C12.209 1.62235 12.1361 1.51558 12.0788 1.39058C12.0215 1.26559 11.9955 1.13538 12.0007 0.999964C12.0007 0.859342 12.0267 0.729135 12.0788 0.609345C12.1309 0.489556 12.2012 0.38539 12.2897 0.29685C12.3783 0.20831 12.4851 0.135394 12.6101 0.0781035C12.7351 0.0208127 12.8653 -0.00522861 13.0007 -2.03548e-05Z",fill:t}));case"PenSparkle":return D.createElement(O.Svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},D.createElement(O.Path,{d:"M4.87774 0.282251L5.22602 1.35305C5.33432 1.67859 5.51712 1.97441 5.75988 2.21699C6.00265 2.45957 6.29869 2.64223 6.62448 2.75044L7.6961 3.09845L7.71753 3.10381C7.80013 3.13292 7.87165 3.18692 7.92224 3.25836C7.97283 3.3298 8 3.41516 8 3.50268C8 3.5902 7.97283 3.67556 7.92224 3.747C7.87165 3.81844 7.80013 3.87244 7.71753 3.90155L6.64591 4.24956C6.32012 4.35778 6.02408 4.54044 5.78131 4.78302C5.53855 5.0256 5.35575 5.32141 5.24745 5.64696L4.89918 6.71775C4.87004 6.80029 4.816 6.87175 4.7445 6.92231C4.67301 6.97286 4.58758 7.00001 4.5 7.00001C4.41242 7.00001 4.32699 6.97286 4.2555 6.92231C4.24844 6.91732 4.24157 6.91213 4.23486 6.90675C4.17359 6.85755 4.12709 6.79215 4.10082 6.71775L3.75255 5.64696C3.73383 5.59014 3.71284 5.53422 3.68966 5.47932C3.57963 5.21872 3.42023 4.98116 3.21968 4.77999C3.18154 4.74173 3.14208 4.70496 3.10139 4.66973C2.88302 4.48064 2.62919 4.33588 2.35408 4.24421L1.28247 3.8962C1.19987 3.86708 1.12835 3.81308 1.07776 3.74164C1.02717 3.6702 1 3.58484 1 3.49733C1 3.40981 1.02717 3.32445 1.07776 3.25301C1.12835 3.18157 1.19987 3.12757 1.28247 3.09845L2.35408 2.75044C2.67591 2.63941 2.96768 2.45549 3.20656 2.21307C3.44544 1.97065 3.62497 1.67631 3.73111 1.35305L4.07939 0.282251C4.10853 0.19972 4.16257 0.128252 4.23406 0.0776997C4.30556 0.0271473 4.39098 0 4.47857 0C4.56615 0 4.65158 0.0271473 4.72307 0.0776997C4.79457 0.128252 4.84861 0.19972 4.87774 0.282251ZM9.78293 8.21319L9.01749 7.96461C8.78478 7.88731 8.57332 7.75684 8.39992 7.58357C8.22651 7.4103 8.09594 7.199 8.01859 6.96647L7.76982 6.20161C7.74901 6.14266 7.7104 6.09161 7.65934 6.05551C7.60827 6.0194 7.54725 6.00001 7.48469 6.00001C7.42213 6.00001 7.36111 6.0194 7.31004 6.05551C7.25898 6.09161 7.22038 6.14266 7.19956 6.20161L6.9508 6.96647C6.87498 7.19737 6.74675 7.40762 6.57611 7.58077C6.40548 7.75392 6.19708 7.8853 5.9672 7.96461L5.20176 8.21319C5.14277 8.23398 5.09168 8.27255 5.05554 8.32358C5.01941 8.37461 5 8.43558 5 8.4981C5 8.56061 5.01941 8.62158 5.05554 8.67261C5.09168 8.72364 5.14277 8.76221 5.20176 8.78301L5.9672 9.03158C6.20032 9.10926 6.41205 9.24032 6.58548 9.41428C6.75891 9.58824 6.88926 9.80031 6.9661 10.0335L7.21487 10.7984C7.23569 10.8574 7.27429 10.9084 7.32535 10.9445C7.37642 10.9806 7.43744 11 7.5 11C7.56256 11 7.62358 10.9806 7.67465 10.9445C7.72571 10.9084 7.76431 10.8574 7.78513 10.7984L8.0339 10.0335C8.11125 9.80101 8.24182 9.58972 8.41522 9.41645C8.58863 9.24317 8.80009 9.11271 9.0328 9.03541L9.79824 8.78683C9.85723 8.76603 9.90832 8.72746 9.94446 8.67643C9.98059 8.62541 10 8.56443 10 8.50192C10 8.43941 9.98059 8.37844 9.94446 8.32741C9.90832 8.27638 9.85723 8.23781 9.79824 8.21701L9.78293 8.21319ZM6.01547 10.3473L6.22233 10.9842L4.25254 12.9539C4.05921 13.1473 3.92502 13.3917 3.86572 13.6586L3.15855 16.8414L6.31786 16.1388C6.59969 16.0762 6.85781 15.9344 7.06196 15.7303L16.42 6.3722C17.1774 5.61474 17.1928 4.39152 16.4547 3.61522C15.6898 2.81077 14.4123 2.79465 13.6274 3.57956L9.96525 7.2415L9.32848 7.03188C9.2384 7.00184 9.16833 6.95175 9.09827 6.89166C9.06136 6.85999 9.03278 6.82277 9.00961 6.78292L12.9203 2.87244C14.1027 1.69004 16.0271 1.71432 17.1794 2.92616C18.2913 4.09558 18.2681 5.93826 17.1271 7.0793L16.4568 7.74959L16.7929 8.0857C17.5739 8.86675 17.5739 10.1331 16.7929 10.9141L15.8536 11.8535C15.6583 12.0487 15.3417 12.0487 15.1464 11.8535C14.9512 11.6582 14.9512 11.3416 15.1464 11.1464L16.0858 10.207C16.4763 9.8165 16.4763 9.18333 16.0858 8.79281L15.7497 8.4567L7.76907 16.4374C7.43048 16.776 7.00237 17.011 6.53494 17.115L2.60855 17.9881C2.44166 18.0253 2.26739 17.9745 2.14649 17.8537C2.02559 17.7328 1.97483 17.5585 2.01191 17.3916L2.88953 13.4417C2.99008 12.9891 3.21763 12.5746 3.54545 12.2468L5.75668 10.0357C5.80027 10.0616 5.84107 10.0926 5.87534 10.1269C5.9454 10.187 5.98544 10.2672 6.01547 10.3473Z",fill:t}));case"Pdf":return r2;case"Plus":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M16 7.5V8.5H8.5V16H7.5V8.5H0V7.5H7.5V0H8.5V7.5H16Z",fill:t}));case"PremiumDiamond":return D.createElement(O.Svg,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},D.createElement(O.Path,{d:"M 15.9904 7.393 C 15.9904 7.513 15.9513 7.6188 15.874 7.713 L 8.3778 16.7077 C 8.2845 16.8277 8.1565 16.8872 7.9948 16.8872 C 7.8339 16.8872 7.7059 16.8277 7.6126 16.7077 L 0.1173 7.713 C 0.0391 7.6188 0 7.513 0 7.393 C 0 7.2997 0.024 7.2135 0.0702 7.1353 L 3.0681 2.1385 C 3.1099 2.0656 3.1703 2.0087 3.2486 1.9669 C 3.3259 1.9198 3.4094 1.8958 3.4974 1.8958 L 12.493 1.8958 C 12.581 1.8958 12.6645 1.9198 12.7427 1.9669 C 12.8209 2.0087 12.8805 2.0656 12.9223 2.1385 L 15.9202 7.1353 C 15.9673 7.2135 15.9904 7.2997 15.9904 7.393 Z M 9.1582 2.8948 L 6.8322 2.8948 L 5.2395 6.8926 L 10.7509 6.8926 L 9.1582 2.8948 Z M 3.7792 2.8948 L 1.3821 6.8926 L 4.1614 6.8926 L 5.7541 2.8948 L 3.7792 2.8948 Z M 1.5696 7.8925 L 6.418 13.7169 L 4.1543 7.8925 L 1.5696 7.8925 Z M 7.9948 15.0056 L 10.7669 7.8925 L 5.2235 7.8925 L 7.9948 15.0056 Z M 9.5724 13.7169 L 14.4217 7.8925 L 11.837 7.8925 L 9.5724 13.7169 Z M 11.829 6.8926 L 14.6083 6.8926 L 12.2112 2.8948 L 10.2363 2.8948 L 11.829 6.8926 Z",fill:t}));case"Previous":return D.createElement(O.Svg,{width:"9",height:"16",viewBox:"0 0 9 16",fill:"none"},D.createElement(O.Path,{d:"M8.27344 15.9766L0.289062 8L8.27344 0.0234375L8.97656 0.726562L1.71094 8L8.97656 15.2734L8.27344 15.9766Z",fill:t}));case"PowerPoint":return n2;case"QuestionAnswer":return Zg(t);case"Record":return Id(t,n);case"Regenerate":return D.createElement(O.Svg,{width:"12",height:"16",viewBox:"0 0 12 16",fill:"none"},D.createElement(O.Path,{d:"M5.14645 0.646447C5.34171 0.451184 5.65829 0.451184 5.85355 0.646447L7.35355 2.14645C7.54882 2.34171 7.54882 2.65829 7.35355 2.85355L5.85355 4.35355C5.65829 4.54882 5.34171 4.54882 5.14645 4.35355C4.95118 4.15829 4.95118 3.84171 5.14645 3.64645L5.7885 3.00439C3.12517 3.11522 1 5.30943 1 8C1 9.56799 1.72118 10.9672 2.85185 11.8847C3.06627 12.0587 3.09904 12.3736 2.92503 12.588C2.75103 12.8024 2.43615 12.8352 2.22172 12.6612C0.867117 11.5619 0 9.88205 0 8C0 4.75447 2.57689 2.1108 5.79629 2.00339L5.14645 1.35355C4.95118 1.15829 4.95118 0.841709 5.14645 0.646447ZM9.07497 3.41199C9.24897 3.19756 9.56385 3.1648 9.77828 3.3388C11.1329 4.43806 12 6.11795 12 8C12 11.2455 9.42311 13.8892 6.20371 13.9966L6.85355 14.6464C7.04882 14.8417 7.04882 15.1583 6.85355 15.3536C6.65829 15.5488 6.34171 15.5488 6.14645 15.3536L4.64645 13.8536C4.55268 13.7598 4.5 13.6326 4.5 13.5C4.5 13.3674 4.55268 13.2402 4.64645 13.1464L6.14645 11.6464C6.34171 11.4512 6.65829 11.4512 6.85355 11.6464C7.04882 11.8417 7.04882 12.1583 6.85355 12.3536L6.2115 12.9956C8.87483 12.8848 11 10.6906 11 8C11 6.43201 10.2788 5.03283 9.14815 4.1153C8.93373 3.94129 8.90096 3.62641 9.07497 3.41199Z",fill:t}));case"Repeat":return D.createElement(O.Svg,{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},D.createElement(O.Path,{d:"M19.0039 2.00195V7.99805H13.1152V7.00195H17.4023C17.1029 6.27279 16.7057 5.60221 16.2109 4.99023C15.7161 4.37174 15.1497 3.8444 14.5117 3.4082C13.8672 2.96549 13.1641 2.62044 12.4023 2.37305C11.6406 2.12565 10.8398 2.00195 10 2.00195C9.06901 2.00195 8.18685 2.15495 7.35352 2.46094C6.51367 2.76042 5.75521 3.17708 5.07812 3.71094C4.39453 4.24479 3.81185 4.87956 3.33008 5.61523C2.8418 6.3444 2.48698 7.13867 2.26562 7.99805H1.23047C1.38021 7.33398 1.60482 6.69922 1.9043 6.09375C2.19727 5.48828 2.55208 4.92513 2.96875 4.4043C3.37891 3.88346 3.84115 3.41471 4.35547 2.99805C4.86979 2.57487 5.42643 2.2168 6.02539 1.92383C6.62435 1.62435 7.25911 1.39648 7.92969 1.24023C8.60026 1.07747 9.29036 0.996094 10 0.996094C10.8724 0.996094 11.7122 1.11654 12.5195 1.35742C13.3203 1.5918 14.0658 1.92383 14.7559 2.35352C15.4395 2.7832 16.0579 3.30078 16.6113 3.90625C17.1647 4.50521 17.627 5.16927 17.998 5.89844V2.00195H19.0039ZM18.7695 12.002C18.5417 13.0046 18.1576 13.9323 17.6172 14.7852C17.0703 15.638 16.4128 16.377 15.6445 17.002C14.8698 17.627 14.0039 18.1185 13.0469 18.4766C12.0833 18.8281 11.0677 19.0039 10 19.0039C9.1276 19.0039 8.29102 18.8867 7.49023 18.6523C6.68294 18.4115 5.9375 18.0762 5.25391 17.6465C4.5638 17.2168 3.94206 16.7025 3.38867 16.1035C2.83529 15.498 2.37305 14.8307 2.00195 14.1016V17.998H0.996094V12.002H7.00195V12.998H2.59766C2.89714 13.7337 3.29427 14.4076 3.78906 15.0195C4.28385 15.6315 4.85352 16.1589 5.49805 16.6016C6.13607 17.0378 6.83594 17.3796 7.59766 17.627C8.35938 17.8743 9.16016 17.998 10 17.998C10.931 17.998 11.8164 17.8483 12.6562 17.5488C13.4896 17.2428 14.248 16.8229 14.9316 16.2891C15.6087 15.7552 16.1882 15.1237 16.6699 14.3945C17.1517 13.6589 17.5065 12.8613 17.7344 12.002H18.7695Z",fill:t}));case"Replace":return D.createElement(O.Svg,{width:"14",height:"11",viewBox:"0 0 14 11",fill:"none"},D.createElement(O.Path,{d:"M0.146447 4.85355C-0.0488155 4.65829 -0.0488155 4.34171 0.146447 4.14645L4.14645 0.146446C4.34171 -0.0488155 4.65829 -0.0488155 4.85355 0.146446L8.85355 4.14645C9.04882 4.34171 9.04882 4.65829 8.85355 4.85355C8.65829 5.04882 8.34171 5.04882 8.14645 4.85355L5 1.70711V8C5 9.10457 5.89543 10 7 10L13.5 10C13.7761 10 14 10.2239 14 10.5C14 10.7761 13.7761 11 13.5 11L7 11C5.34315 11 4 9.65685 4 8L4 1.70711L0.853553 4.85355C0.658291 5.04882 0.341709 5.04882 0.146447 4.85355Z",fill:t}));case"ShowExplanation":return D.createElement(O.Svg,{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none"},D.createElement(O.Path,{d:"M7.5 3C8.11979 3 8.70312 3.11719 9.25 3.35156C9.79688 3.58594 10.2734 3.90885 10.6797 4.32031C11.0859 4.73177 11.4062 5.20833 11.6406 5.75C11.875 6.29167 11.9948 6.875 12 7.5C12 7.82812 11.9792 8.13542 11.9375 8.42188C11.8958 8.70833 11.8307 8.98177 11.7422 9.24219C11.6536 9.5026 11.5391 9.76042 11.3984 10.0156C11.2578 10.2708 11.0911 10.5312 10.8984 10.7969C10.7474 11.0052 10.6146 11.1927 10.5 11.3594C10.3854 11.526 10.2917 11.6927 10.2188 11.8594C10.1458 12.026 10.0911 12.2083 10.0547 12.4062C10.0182 12.6042 10 12.8359 10 13.1016V14.5C10 14.7083 9.96094 14.9036 9.88281 15.0859C9.80469 15.2682 9.69792 15.4271 9.5625 15.5625C9.42708 15.6979 9.26823 15.8047 9.08594 15.8828C8.90365 15.9609 8.70833 16 8.5 16H6.5C6.29167 16 6.09635 15.9609 5.91406 15.8828C5.73177 15.8047 5.57292 15.6979 5.4375 15.5625C5.30208 15.4271 5.19531 15.2682 5.11719 15.0859C5.03906 14.9036 5 14.7083 5 14.5V13.0938C5 12.8281 4.98177 12.599 4.94531 12.4062C4.90885 12.2135 4.85417 12.0339 4.78125 11.8672C4.70833 11.7005 4.61458 11.5312 4.5 11.3594C4.38542 11.1875 4.2526 11 4.10156 10.7969C3.90885 10.5312 3.74479 10.2734 3.60938 10.0234C3.47396 9.77344 3.35938 9.51562 3.26562 9.25C3.17188 8.98438 3.10417 8.70833 3.0625 8.42188C3.02083 8.13542 3 7.82812 3 7.5C3 6.88021 3.11719 6.29688 3.35156 5.75C3.58594 5.20312 3.90885 4.72656 4.32031 4.32031C4.73177 3.91406 5.20833 3.59375 5.75 3.35938C6.29167 3.125 6.875 3.00521 7.5 3ZM9 14.5V14H6V14.5C6 14.6354 6.04948 14.7526 6.14844 14.8516C6.2474 14.9505 6.36458 15 6.5 15H8.5C8.63542 15 8.7526 14.9505 8.85156 14.8516C8.95052 14.7526 9 14.6354 9 14.5ZM11 7.5C11 7.01562 10.9089 6.5625 10.7266 6.14062C10.5443 5.71875 10.2943 5.34635 9.97656 5.02344C9.65885 4.70052 9.28906 4.45052 8.86719 4.27344C8.44531 4.09635 7.98958 4.00521 7.5 4C7.01562 4 6.5625 4.09115 6.14062 4.27344C5.71875 4.45573 5.34635 4.70573 5.02344 5.02344C4.70052 5.34115 4.45052 5.71094 4.27344 6.13281C4.09635 6.55469 4.00521 7.01042 4 7.5C4 7.96354 4.04688 8.36198 4.14062 8.69531C4.23438 9.02865 4.35677 9.32552 4.50781 9.58594C4.65885 9.84635 4.81771 10.0911 4.98438 10.3203C5.15104 10.5495 5.3099 10.7891 5.46094 11.0391C5.61198 11.2891 5.73698 11.5703 5.83594 11.8828C5.9349 12.1953 5.98958 12.5677 6 13H9C9.00521 12.5677 9.05729 12.1979 9.15625 11.8906C9.25521 11.5833 9.38021 11.3021 9.53125 11.0469C9.68229 10.7917 9.84115 10.5521 10.0078 10.3281C10.1745 10.1042 10.3333 9.85938 10.4844 9.59375C10.6354 9.32812 10.7578 9.02865 10.8516 8.69531C10.9453 8.36198 10.9948 7.96354 11 7.5ZM7.5 2C7.36458 2 7.2474 1.95052 7.14844 1.85156C7.04948 1.7526 7 1.63542 7 1.5V0.5C7 0.364583 7.04948 0.247396 7.14844 0.148438C7.2474 0.0494792 7.36458 0 7.5 0C7.63542 0 7.7526 0.0494792 7.85156 0.148438C7.95052 0.247396 8 0.364583 8 0.5V1.5C8 1.63542 7.95052 1.7526 7.85156 1.85156C7.7526 1.95052 7.63542 2 7.5 2ZM1.5 7.25H0.5C0.364583 7.25 0.247396 7.20052 0.148438 7.10156C0.0494792 7.0026 0 6.88542 0 6.75C0 6.61458 0.0494792 6.4974 0.148438 6.39844C0.247396 6.29948 0.364583 6.25 0.5 6.25H1.5C1.63542 6.25 1.7526 6.29948 1.85156 6.39844C1.95052 6.4974 2 6.61458 2 6.75C2 6.88542 1.95052 7.0026 1.85156 7.10156C1.7526 7.20052 1.63542 7.25 1.5 7.25ZM1.91406 9.28906C2.04948 9.28906 2.16667 9.33854 2.26562 9.4375C2.36458 9.53646 2.41406 9.65625 2.41406 9.79688C2.41406 9.90104 2.38542 9.99219 2.32812 10.0703C2.27083 10.1484 2.19271 10.2109 2.09375 10.2578C2.03646 10.2839 1.95833 10.3177 1.85938 10.3594C1.76042 10.401 1.65365 10.4453 1.53906 10.4922C1.42448 10.5391 1.32031 10.5781 1.22656 10.6094C1.13281 10.6406 1.04948 10.6589 0.976562 10.6641C0.841146 10.6641 0.723958 10.6146 0.625 10.5156C0.526042 10.4167 0.476562 10.2969 0.476562 10.1562C0.476562 10.0521 0.505208 9.96094 0.5625 9.88281C0.619792 9.80469 0.697917 9.74219 0.796875 9.69531C0.854167 9.67448 0.932292 9.64062 1.03125 9.59375C1.13021 9.54688 1.23698 9.5026 1.35156 9.46094C1.46615 9.41927 1.57031 9.38021 1.66406 9.34375C1.75781 9.30729 1.84115 9.28906 1.91406 9.28906ZM3.10156 4.25C3.10156 4.38542 3.05208 4.5026 2.95312 4.60156C2.85417 4.70052 2.73698 4.75 2.60156 4.75C2.50781 4.75 2.42188 4.72656 2.34375 4.67969L1.49219 4.15625C1.41927 4.10938 1.36198 4.04948 1.32031 3.97656C1.27865 3.90365 1.25521 3.82031 1.25 3.72656C1.25 3.59115 1.29948 3.47396 1.39844 3.375C1.4974 3.27604 1.61458 3.22656 1.75 3.22656C1.83333 3.22656 1.91927 3.2526 2.00781 3.30469L2.86719 3.82031C2.9401 3.86198 2.9974 3.92188 3.03906 4C3.08073 4.07812 3.10156 4.16146 3.10156 4.25ZM3.75 1.375C3.75 1.23958 3.79948 1.1224 3.89844 1.02344C3.9974 0.924479 4.11458 0.875 4.25 0.875C4.33854 0.875 4.42188 0.898438 4.5 0.945312C4.57812 0.992188 4.64062 1.05469 4.6875 1.13281L5.17188 2.00781C5.21354 2.08073 5.23438 2.15885 5.23438 2.24219C5.23438 2.38281 5.1849 2.5026 5.08594 2.60156C4.98698 2.70052 4.86979 2.75 4.73438 2.75C4.64583 2.75 4.5625 2.72656 4.48438 2.67969C4.40625 2.63281 4.34375 2.57031 4.29688 2.49219L3.8125 1.61719C3.77083 1.54427 3.75 1.46354 3.75 1.375ZM14.5 6.25C14.6354 6.25 14.7526 6.29948 14.8516 6.39844C14.9505 6.4974 15 6.61458 15 6.75C15 6.88542 14.9505 7.0026 14.8516 7.10156C14.7526 7.20052 14.6354 7.25 14.5 7.25H13.5C13.3646 7.25 13.2474 7.20052 13.1484 7.10156C13.0495 7.0026 13 6.88542 13 6.75C13 6.61458 13.0495 6.4974 13.1484 6.39844C13.2474 6.29948 13.3646 6.25 13.5 6.25H14.5ZM14.5156 10.1641C14.5156 10.2995 14.4661 10.4167 14.3672 10.5156C14.2682 10.6146 14.151 10.6641 14.0156 10.6641C13.9583 10.6641 13.8802 10.6484 13.7812 10.6172C13.6823 10.5859 13.5755 10.5443 13.4609 10.4922C13.3464 10.4401 13.2422 10.3958 13.1484 10.3594C13.0547 10.3229 12.974 10.2865 12.9062 10.25C12.8125 10.2083 12.737 10.1458 12.6797 10.0625C12.6224 9.97917 12.5911 9.88542 12.5859 9.78125C12.5859 9.64062 12.6354 9.52344 12.7344 9.42969C12.8333 9.33594 12.9531 9.28646 13.0938 9.28125C13.1562 9.28125 13.237 9.29948 13.3359 9.33594C13.4349 9.3724 13.5391 9.41406 13.6484 9.46094C13.7578 9.50781 13.862 9.55469 13.9609 9.60156C14.0599 9.64844 14.1406 9.68229 14.2031 9.70312C14.2969 9.74479 14.3724 9.80469 14.4297 9.88281C14.487 9.96094 14.5156 10.0547 14.5156 10.1641ZM12.3984 4.75C12.263 4.75 12.1458 4.70052 12.0469 4.60156C11.9479 4.5026 11.8984 4.38542 11.8984 4.25C11.8984 4.16146 11.9193 4.07812 11.9609 4C12.0026 3.92188 12.0599 3.86198 12.1328 3.82031L12.9922 3.30469C13.0807 3.2526 13.1667 3.22656 13.25 3.22656C13.3854 3.22656 13.5026 3.27604 13.6016 3.375C13.7005 3.47396 13.75 3.59115 13.75 3.72656C13.75 3.8151 13.7292 3.89583 13.6875 3.96875C13.6458 4.04167 13.5859 4.10417 13.5078 4.15625L12.6562 4.67969C12.5781 4.72656 12.4922 4.75 12.3984 4.75ZM9.76562 2.24219C9.76562 2.15885 9.78646 2.08073 9.82812 2.00781L10.3125 1.13281C10.3542 1.05469 10.4141 0.992188 10.4922 0.945312C10.5703 0.898438 10.6562 0.875 10.75 0.875C10.8854 0.875 11.0026 0.924479 11.1016 1.02344C11.2005 1.1224 11.25 1.23958 11.25 1.375C11.25 1.46354 11.2292 1.54427 11.1875 1.61719L10.7031 2.49219C10.6615 2.57031 10.6016 2.63281 10.5234 2.67969C10.4453 2.72656 10.3594 2.75 10.2656 2.75C10.1302 2.75 10.013 2.70052 9.91406 2.60156C9.8151 2.5026 9.76562 2.38281 9.76562 2.24219Z",fill:t}));case"Sparkle":return D.createElement(O.Svg,{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},D.createElement(O.Path,{d:"M4.39804 9.80834C4.57428 9.93264 4.78476 9.99919 5.00043 9.99881C5.21633 9.99897 5.42686 9.93148 5.60243 9.80581C5.77993 9.67533 5.91464 9.49503 5.98943 9.28781L6.43643 7.91481C6.55086 7.57052 6.74391 7.25762 7.00028 7.0009C7.25665 6.74418 7.56929 6.55071 7.91343 6.43581L9.30443 5.98481C9.45636 5.93046 9.59364 5.84166 9.70551 5.72537C9.81738 5.60908 9.9008 5.46847 9.94924 5.31454C9.99767 5.16062 10.0098 4.99757 9.98468 4.83818C9.95955 4.67879 9.89786 4.52737 9.80443 4.39581C9.67034 4.20989 9.47939 4.07265 9.26043 4.00481L7.88543 3.55781C7.54091 3.44359 7.22777 3.25062 6.97087 2.99423C6.71396 2.73784 6.52035 2.42509 6.40543 2.08081L5.95343 0.692812C5.88113 0.490509 5.74761 0.315748 5.57143 0.192812C5.43877 0.0990858 5.28607 0.0376048 5.12548 0.013259C4.96489 -0.0110867 4.80083 0.00237396 4.64636 0.0525713C4.49188 0.102769 4.35125 0.188318 4.23564 0.302414C4.12004 0.416512 4.03265 0.556009 3.98043 0.709813L3.52343 2.10981C3.40884 2.44464 3.21967 2.74905 2.97022 3.00007C2.72076 3.25108 2.41753 3.44214 2.08343 3.55881L0.692428 4.00681C0.540653 4.06121 0.403522 4.14999 0.291767 4.2662C0.180011 4.38242 0.0966621 4.52291 0.0482407 4.6767C-0.000180673 4.83048 -0.0123605 4.99339 0.0126534 5.15267C0.0376676 5.31194 0.0991972 5.46327 0.192428 5.59481C0.320272 5.77426 0.501046 5.90923 0.709428 5.98081L2.08343 6.42581C2.52354 6.57229 2.90999 6.84664 3.19343 7.21381C3.35585 7.42445 3.4813 7.66115 3.56443 7.91381L4.01643 9.30481C4.08846 9.5081 4.22179 9.68403 4.39804 9.80834ZM4.48343 2.39381L5.01043 1.01681L5.44943 2.39381C5.61312 2.88696 5.88991 3.33497 6.25767 3.70204C6.62544 4.06911 7.07397 4.34505 7.56743 4.50781L8.97343 5.03681L7.59143 5.48481C7.09866 5.64911 6.65095 5.92597 6.28382 6.29345C5.9167 6.66092 5.64026 7.10889 5.47643 7.60181L4.95343 8.97981L4.50443 7.60081C4.34335 7.10754 4.06943 6.65865 3.70443 6.28981C3.3356 5.92177 2.88653 5.64418 2.39243 5.47881L1.01443 4.95681L2.40043 4.50681C2.88672 4.33818 3.32775 4.06002 3.68943 3.69381C4.04901 3.32611 4.32049 2.88162 4.48343 2.39381ZM10.5353 13.8508C10.6713 13.947 10.8337 13.9987 11.0003 13.9988C11.1654 13.9989 11.3264 13.9479 11.4613 13.8528C11.6008 13.7543 11.7058 13.6144 11.7613 13.4528L12.0093 12.6908C12.0625 12.5324 12.1515 12.3883 12.2693 12.2698C12.3867 12.1513 12.5307 12.0625 12.6893 12.0108L13.4613 11.7588C13.619 11.7043 13.7557 11.6019 13.8523 11.4658C13.9257 11.3628 13.9736 11.2439 13.9921 11.1188C14.0106 10.9937 13.9992 10.866 13.9588 10.7462C13.9184 10.6263 13.8501 10.5178 13.7597 10.4294C13.6692 10.3411 13.5591 10.2754 13.4383 10.2378L12.6743 9.98884C12.5162 9.93627 12.3724 9.84765 12.2544 9.72999C12.1364 9.61232 12.0473 9.46883 11.9943 9.31084L11.7423 8.53784C11.6886 8.37999 11.586 8.24338 11.4493 8.14784C11.3473 8.07489 11.2295 8.02695 11.1056 8.00789C10.9816 7.98883 10.8549 7.99918 10.7357 8.03811C10.6164 8.07704 10.508 8.14346 10.4192 8.23201C10.3304 8.32055 10.2636 8.42874 10.2243 8.54784L9.97731 9.30984C9.92502 9.46749 9.83747 9.61113 9.72131 9.72984C9.60657 9.84632 9.46665 9.93492 9.31231 9.98884L8.53931 10.2408C8.38025 10.2947 8.2422 10.3973 8.1447 10.5341C8.04721 10.6708 7.99522 10.8348 7.99611 11.0027C7.99699 11.1707 8.0507 11.3341 8.14963 11.4698C8.24856 11.6055 8.38769 11.7066 8.54731 11.7588L9.31031 12.0058C9.46917 12.0592 9.61358 12.1486 9.73231 12.2668C9.85053 12.3851 9.93896 12.5297 9.99031 12.6888L10.2433 13.4628C10.2981 13.6193 10.4001 13.7549 10.5353 13.8508ZM9.62231 11.0578L9.44331 10.9988L9.62731 10.9348C9.92907 10.8299 10.2027 10.6571 10.4273 10.4298C10.6537 10.2009 10.8248 9.9231 10.9273 9.61784L10.9853 9.43984L11.0443 9.62084C11.1463 9.92754 11.3185 10.2062 11.5471 10.4347C11.7757 10.6631 12.0545 10.8351 12.3613 10.9368L12.5563 10.9998L12.3763 11.0588C12.0689 11.161 11.7898 11.3337 11.5611 11.5631C11.3324 11.7925 11.1606 12.0722 11.0593 12.3798L11.0003 12.5608L10.9423 12.3798C10.8409 12.0717 10.6687 11.7916 10.4394 11.562C10.2102 11.3324 9.93033 11.1597 9.62231 11.0578Z",fill:t}));case"SplitCells":return D.createElement(O.Svg,{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},D.createElement(O.Path,{d:"M7 5V9H6V5H7ZM14 2.5C14 1.11929 12.8807 0 11.5 0H2.5C1.11929 0 0 1.11929 0 2.5V11.5C0 12.8807 1.11929 14 2.5 14H11.5C12.8807 14 14 12.8807 14 11.5V2.5ZM1 11.5V11H6V13H2.5L2.35554 12.9931C1.59489 12.9204 1 12.2797 1 11.5ZM6 1L5.99313 3H0.993134L1 2.5L1.00687 2.35554C1.07955 1.59489 1.7203 1 2.5 1H6ZM6.99313 3L7 1H11.5L11.6445 1.00687C12.4051 1.07955 13 1.7203 13 2.5L12.9931 3H6.99313ZM13 10H1L0.993134 4H12.9931L13 10ZM13 11.5L12.9931 11.6445C12.9204 12.4051 12.2797 13 11.5 13H7V11H13V11.5Z",fill:t}));case"Table":return Qg(t);case"TxtFiles":return a2;case"Undo":return D.createElement(O.Svg,{width:"13",height:"16",viewBox:"0 0 13 16",fill:"none"},D.createElement(O.Path,{d:"M1 0.500001C1 0.223858 0.776142 0 0.5 0C0.223858 0 0 0.223858 0 0.500001V5.4C0 5.73137 0.268628 6 0.6 6H5.5C5.77614 6 6 5.77614 6 5.5C6 5.22386 5.77614 5 5.5 5H1.90603L5.37872 1.98124C7.04598 0.531912 9.57247 0.708581 11.0218 2.37584C12.4711 4.0431 12.2945 6.56959 10.6272 8.01891L2.45529 15.1226C2.24688 15.3038 2.2248 15.6196 2.40596 15.828C2.58713 16.0364 2.90294 16.0585 3.11135 15.8774L11.2833 8.77362C13.3673 6.96197 13.5882 3.80385 11.7765 1.71978C9.96485 -0.364293 6.80673 -0.585129 4.72266 1.22653L1 4.46259V0.500001Z",fill:t}));case"UnknownFile":return Ad;case"Visio":return o2;case"Vote":return Xg(t);case"Word":return i2;case"WordCopilot":var r='\n <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M8.19594 1.92188L3.49974 4.63385C2.57168 5.16979 2 6.16009 2 7.23178V12.7682C2 13.8398 2.57164 14.8301 3.49965 15.366L5.76712 16.6756L5.99007 16L10.2373 13.4567L8.49965 12.4531C7.57164 11.9172 7 10.9269 7 9.85525V8.27344L7.46563 7.67953L8.99999 6.49176V3L8.32422 2.01172L7.58517 2.53879C7.75624 2.30668 7.96137 2.09837 8.19594 1.92188Z" fill="url(#paint0_linear_1533_186901)"/>\n <path d="M8.19594 1.92188L3.49974 4.63385C2.57168 5.16979 2 6.16009 2 7.23178V12.7682C2 13.8398 2.57164 14.8301 3.49965 15.366L5.76712 16.6756L5.99007 16L10.2373 13.4567L8.49965 12.4531C7.57164 11.9172 7 10.9269 7 9.85525V8.27344L7.46563 7.67953L8.99999 6.49176V3L8.32422 2.01172L7.58517 2.53879C7.75624 2.30668 7.96137 2.09837 8.19594 1.92188Z" fill="url(#paint1_linear_1533_186901)"/>\n <path d="M12.9988 7.61523V9.85594C12.9988 10.9276 12.4271 11.9179 11.4991 12.4538L6.49914 15.3415C5.57076 15.8776 4.42682 15.8776 3.49844 15.3415L3.19531 15.1664C3.29151 15.2387 3.39266 15.3057 3.49844 15.3668L8.49844 18.2545C9.42682 18.7906 10.5708 18.7906 11.4991 18.2545L16.4991 15.3668C17.4271 14.8309 17.9988 13.8406 17.9988 12.769V10.6879L12.9988 7.61523Z" fill="url(#paint2_radial_1533_186901)"/>\n <path d="M12.9988 7.61523V9.85594C12.9988 10.9276 12.4271 11.9179 11.4991 12.4538L6.49914 15.3415C5.57076 15.8776 4.42682 15.8776 3.49844 15.3415L3.19531 15.1664C3.29151 15.2387 3.39266 15.3057 3.49844 15.3668L8.49844 18.2545C9.42682 18.7906 10.5708 18.7906 11.4991 18.2545L16.4991 15.3668C17.4271 14.8309 17.9988 13.8406 17.9988 12.769V10.6879L12.9988 7.61523Z" fill="url(#paint3_linear_1533_186901)"/>\n <path d="M8.19524 1.92167L8.49974 1.74582C9.42807 1.20972 10.5719 1.20973 11.5003 1.74582L16.5003 4.63324C17.4283 5.16918 18 6.15948 18 7.23117V12.7675C18 12.7881 17.9998 12.8087 17.9994 12.8293C17.9779 11.7814 17.4105 10.8187 16.5003 10.2931L11.5003 7.40565C10.5719 6.86955 9.42807 6.86954 8.49974 7.40564L7 8.27172V4.31815C7 3.36919 7.44824 2.48405 8.19524 1.92167Z" fill="url(#paint4_radial_1533_186901)"/>\n <path d="M8.19524 1.92167L8.49974 1.74582C9.42807 1.20972 10.5719 1.20973 11.5003 1.74582L16.5003 4.63324C17.4283 5.16918 18 6.15948 18 7.23117V12.7675C18 12.7881 17.9998 12.8087 17.9994 12.8293C17.9779 11.7814 17.4105 10.8187 16.5003 10.2931L11.5003 7.40565C10.5719 6.86955 9.42807 6.86954 8.49974 7.40564L7 8.27172V4.31815C7 3.36919 7.44824 2.48405 8.19524 1.92167Z" fill="url(#paint5_linear_1533_186901)"/>\n <path d="M2.00063 12.8293C2.00063 12.8293 2.00063 12.8292 2.00063 12.8293V12.8293Z" fill="url(#paint6_radial_1533_186901)"/>\n <path d="M2.00063 12.8293C2.00063 12.8293 2.00063 12.8292 2.00063 12.8293V12.8293Z" fill="url(#paint7_linear_1533_186901)"/>\n <defs>\n <linearGradient id="paint0_linear_1533_186901" x1="9.09324" y1="5.8282" x2="4.74492" y2="18.4869" gradientUnits="userSpaceOnUse">\n <stop stop-color="#AE7FE2"/>\n <stop offset="1" stop-color="#0078D4"/>\n </linearGradient>\n <linearGradient id="paint1_linear_1533_186901" x1="7.44306" y1="15.2211" x2="6.6907" y2="13.8939" gradientUnits="userSpaceOnUse">\n <stop offset="0.9999" stop-color="#114A8B"/>\n <stop offset="1" stop-color="#0078D4" stop-opacity="0"/>\n </linearGradient>\n <radialGradient id="paint2_radial_1533_186901" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(5.14608 14.7577) rotate(-13.0688) scale(12.7772 9.84272)">\n <stop offset="0.140029" stop-color="#D59DFF"/>\n <stop offset="1" stop-color="#5E438F"/>\n </radialGradient>\n <linearGradient id="paint3_linear_1533_186901" x1="15.826" y1="9.8471" x2="15.1058" y2="11.0024" gradientUnits="userSpaceOnUse">\n <stop offset="0.9999" stop-color="#493474"/>\n <stop offset="1" stop-color="#8C66BA" stop-opacity="0"/>\n </linearGradient>\n <radialGradient id="paint4_radial_1533_186901" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(16.5411 10.3179) rotate(-143.083) scale(11.412)">\n <stop stop-color="#50E6FF"/>\n <stop offset="1" stop-color="#436DCD"/>\n </radialGradient>\n <linearGradient id="paint5_linear_1533_186901" x1="7.0174" y1="5.56496" x2="8.18205" y2="5.56496" gradientUnits="userSpaceOnUse">\n <stop offset="0.9999" stop-color="#114A8B"/>\n <stop offset="1" stop-color="#0078D4" stop-opacity="0"/>\n </linearGradient>\n <radialGradient id="paint6_radial_1533_186901" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(16.5411 10.3179) rotate(-143.083) scale(11.412)">\n <stop stop-color="#50E6FF"/>\n <stop offset="1" stop-color="#436DCD"/>\n </radialGradient>\n <linearGradient id="paint7_linear_1533_186901" x1="7.0174" y1="5.56496" x2="8.18205" y2="5.56496" gradientUnits="userSpaceOnUse">\n <stop offset="0.9999" stop-color="#114A8B"/>\n <stop offset="1" stop-color="#0078D4" stop-opacity="0"/>\n </linearGradient>\n </defs>\n </svg>\n ';return D.createElement(O.SvgXml,{height:20,width:20,xml:r});default:return}}var ml=m(X());var ye=function(e){function t(){return e.apply(this,arguments)||this}(0,c2.default)(t,e),t.shouldRender=function(r){return t.shouldRenderTypeName(r.type)},t.shouldRenderTypeName=function(r){return co(r)&&(!!t.getTcidImage(r)||!!t.getSubText(r)||!!Ed(r))},t.getSubText=function(r){switch(r){case"Next":return"\u25B6";case"Overflow":return"\u2026";case"Previous":return"\u25C0";default:return}},t.getSubTextStyle=function(r){var a={};return r.primaryColor&&(a.color=r.primaryColor),r.fontSize&&(a.fontSize=r.fontSize),a},t.getTcidImage=function(r){switch(r){case"Delete":return{uri:"ms-namex-icon:TrashCan",width:16,height:16};case"Overflow":return{uri:"ms-namex-icon:MoreCommentThreadActions",width:16,height:16};case"ReadAloud":return{uri:"ms-namex-icon:ProofingContextMenuReadAloud",width:16,height:16};default:return}};var n=t.prototype;return n.render=function(){var r;if(!t.shouldRender(this.props)||!co(this.props.type))return null;var a=Ed(this.props.type,this.props.primaryColor,(r=this.props.style)===null||r===void 0?void 0:r.backgroundColor);if(a)return a;var l=t.getTcidImage(this.props.type);if(l)return this.props.primaryColor&&this.props.primaryColor.length>1&&(l.uri=l.uri+"?color=0xff"+this.props.primaryColor.substr(1)),Ea.createElement(ml.Image,{source:l});var u=t.getSubText(this.props.type);return u?Ea.createElement(ml.Text,{style:t.getSubTextStyle(this.props),accessible:!1},u):null},t}(Ea.PureComponent);function jn(e){return ye.shouldRender(e)}s();var Pd=function(t,n,o,r,a,l,u,c){var d,g,h,p,C,v,T,B,F,w,k;if(t.children)return t.children;var S={flexibleSize:gl(t)?wd(t.style)!=="center":void 0},H=l(t,o,r,a,u,c),W=V7(t),$=N7(t,n,o,r,a,c),Q=j7(t,o,r,a,c),re=H||W;if(!re&&!$)return null;var ie=(g=(d=t.style)===null||d===void 0?void 0:d.textPaddingStart)!==null&&g!==void 0?g:(h=t.style)===null||h===void 0?void 0:h.textHorizontalPadding,fe=(C=(p=t.style)===null||p===void 0?void 0:p.textPaddingEnd)!==null&&C!==void 0?C:(v=t.style)===null||v===void 0?void 0:v.textHorizontalPadding;if(ie===void 0&&fe===void 0){var oe=H||W?8:0;ie=oe,fe=oe}var ge=$?Wt.createElement(x,{justifyContent:ue.Center,align:wd(t.style)!=="center"?A.Stretch:void 0,style:Object.assign({paddingStart:ie,paddingEnd:fe,minWidth:0},re?{flexibleSize:!0}:S)},Q?Wt.createElement(x,{direction:_.LeftToRight,align:A.Baseline,style:{flexibleSize:!0}},$,Q):$,W7(t,o,r,a,c)):void 0,G=t.tagText?Wt.createElement(x,{align:A.Center,justifyContent:ue.Center,style:(T=t.tagStyles)===null||T===void 0?void 0:T.containerStyles},Wt.createElement(V,{text:t.tagText,style:(B=t.tagStyles)===null||B===void 0?void 0:B.textStyles,accessibilityHidden:t.disableTagAccessibility})):void 0;return re?Wt.createElement(x,{direction:_.LeftToRight,align:A.Center,style:Object.assign({minWidth:0},S)},H??W,((F=t.style)===null||F===void 0?void 0:F.iconTextSpacing)!==void 0&&((w=t.style)===null||w===void 0?void 0:w.iconTextSpacing)!==0&&Wt.createElement(x,{style:{paddingHorizontal:(k=t.style)===null||k===void 0?void 0:k.iconTextSpacing}}),ge,G):ge};var Ld=function(t){return(t.accessibilityRole==="overflow"||t.accessibilityRole==="splitbutton")&&t.accessibilityState!==void 0&&t.onAccessibilityExpandCollapse!==void 0},D7=function(t){switch(t.accessibilityRole){case"menuitem":case"option":case"tab":return t.accessibilityRole;case"overflow":return"button";default:return"button"}},M7=function(t){return D7(t)!=="menuitem"},d2=function(t,n,o){var r=t.accessibilityLabel||t.title||t.subtitle;return o&&n&&t.strings&&t.strings.oneOfManyChoiceButtonAccessibilityLabelAugment&&(r=t.strings.oneOfManyChoiceButtonAccessibilityLabelAugment.replace("{0}",r||"").replace("{1}",t.accessibilityPositionInSet.toString(10)).replace("{2}",t.accessibilitySetSize.toString(10))),t.tooltip&&t.accessibilityDescribedByTooltip&&!M7(t)&&(r="".concat(r," ").concat(t.tooltip)),r},f2=function(t){return t.accessibilityPositionInSet!==void 0&&t.accessibilitySetSize!==void 0&&t.accessibilityPositionInSet>0&&t.accessibilityPositionInSet<=t.accessibilitySetSize&&t.accessibilitySetSize>=1},z7=function(t,n){var o=gn(t,n);return o.icon||o.title},V7=function(t){if(!(t.personaCoinProps===void 0||t.icon))return Wt.createElement(x,{accessible:t.iconShouldBeAccessible},Wt.createElement(Xo,Object.assign({},t.personaCoinProps)))},N7=function(t,n,o,r,a,l){if(t.title)return Wt.createElement(V,{text:t.title,style:Object.assign(Object.assign({},t.titleRootStyle),q7(t,o,r,a,l)||{}),formatting:n(G7(t,o,r,a,l)),accessibilityHidden:!0})},j7=function(t,n,o,r,a){return t.tag?Wt.createElement(x,{style:{marginHorizontal:8}},Wt.createElement(V,{text:t.tag,style:U7(t,n,o,r,a),accessibilityHidden:!0})):void 0},W7=function(t,n,o,r,a){return t.subtitle?Wt.createElement(x,{style:{paddingTop:2,width:"100%"}},Wt.createElement(V,{text:t.subtitle,style:K7(t,n,o,r,a),formatting:$7(t,n,o,r,a),accessibilityHidden:!0})):void 0},g2=function(t){if(!t.title||!t.titleStyle||t.titleStyle.length===0)return{};if(t.titleStyle.length===1&&t.titleStyle[0].start===0&&t.titleStyle[0].length===t.title.length)return Object.assign({},t.titleStyle[0])},q7=function(t,n,o,r,a){var l=g2(t);if(l){var u=gn(t,a),c=a!=null&&a.useFluentV9&&ht()?"CanvasText":go(n,o,t.disabled,fn(t,r),u.title);return Ms(l,c)}},U7=function(t,n,o,r,a){var l=gn(t,a),u=a!=null&&a.useFluentV9&&ht()?"CanvasText":go(n,o,t.disabled,fn(t,r),l.tag||l.title);return Ms(t.tagStyle,u)},G7=function(t,n,o,r,a){var l;if(!t.titleFormatting_DONOTUSE){var u=g2(t);if(u)return}var c=gn(t,a),d=go(n,o,t.disabled,fn(t,r),c.title);return xc((l=t.titleFormatting_DONOTUSE)!==null&&l!==void 0?l:t.titleStyle,d,o)},K7=function(t,n,o,r,a){var l=gn(t,a),u=a!=null&&a.useFluentV9&&ht()?"CanvasText":go(n,o,t.disabled,fn(t,r),l.subtitle||l.title);return Ms(t.subtitleStyle,u)},$7=function(t,n,o,r,a){if(t.subtitleFormatting){var l=gn(t,a),u=go(n,o,t.disabled,fn(t,r),l.subtitle||l.title);return xc(t.subtitleFormatting,u,o)}};var m2=function(t,n,o,r,a,l){var u=a??z7(t,l);return go(n,o,t.disabled,fn(t,r),u)};s();var Od=m(R());var p2=function(t,n,o,r,a,l){var u;if(t.icon!==void 0){var c=t.icon,d=c.type,g=c.style,h=c.primaryColor,p=c.filled,C=c.fontSize,v={type:d,style:g,primaryColor:h||m2(t,n,o,r,a,l),filled:o&&p,fontSize:C||((u=t.style)===null||u===void 0?void 0:u.iconFontSize)};return ye.shouldRender(v,l)?Od.createElement(x,{accessible:t.iconShouldBeAccessible},Od.createElement(ye,Object.assign({},v))):void 0}};var Y=At.memo(At.forwardRef(function(e,t){var n,o=At.useRef(null),r=!1,a=At.useState(!1),l=(0,hl.default)(a,2),u=l[0],c=l[1],d=At.useState(!1),g=(0,hl.default)(d,2),h=g[0],p=g[1],C=At.useState(!1),v=(0,hl.default)(C,2),T=v[0],B=v[1];At.useImperativeHandle(t,function(){return{focus:F,getElementRef:w,updateState_StorybookTestOnly:k}});var F=function(){var q;!e.refusesKeyboardFocus&&!e.disableTabFocus&&((q=o.current)===null||q===void 0||q.focus())},w=function(){return o},k=function(q,se,me){B(q),p(se),c(me)},S=function(q){var se=e.accessibilityAccessKey,me=e.title;return se&&me?Bg(me,se,q):q},H=function(){var q;e.disabled||((q=e.onHoverIn)===null||q===void 0||q.call(e),B(!0))},W=function(){var q;e.disabled||((q=e.onHoverOut)===null||q===void 0||q.call(e),B(!1),c(!1))},$=function(){e.disabled||c(!0)},Q=function(){e.disabled||c(!1)},re=function(q){var se,me=new Rd(q);!me.isOriginal||e.disabled||e.refusesKeyboardFocus||e.disableTabFocus||((se=e.onFocus)===null||se===void 0||se.call(e,me),p(!0))},ie=function(q){var se,me=new Rd(q);!me.isOriginal||e.disabled||e.refusesKeyboardFocus||e.disableTabFocus||((se=e.onBlur)===null||se===void 0||se.call(e,me),p(!1))},fe=function(q){var se;(se=e.onHeightChange)===null||se===void 0||se.call(e,q.nativeEvent.layout.height)},oe=function(q){if(e.onAccessibilityExpandCollapse)switch(q.nativeEvent.actionName){case"Expand":case"showMenu":e.onAccessibilityExpandCollapse("expand");break;case"Collapse":e.onAccessibilityExpandCollapse("collapse");break}},ge=function(){var q=!0,se=!1,me=Ld(e);switch(e.accessibilityRole){case"option":return"listitem";case"overflow":return me?"menuitem":"button";case"splitbutton":return me?"splitbutton":"button";case"menuitem":return"menuitem";default:return"button"}},G=function(){var q,se,me,ve,Ze,Ie,Oe,qe,gt=gn(e),Qe=Pf(u,T,e.hoverRing,fn(e,h),e.disabled,e.showBorderWhenDisabled,gt),at=gl(e);return Object.assign(Object.assign({},Qe),{paddingTop:_g(e.style),paddingEnd:Og(e.style),paddingBottom:Dg(e.style),paddingStart:Lg(e.style),marginTop:Vg(e.style),marginEnd:zg(e.style),marginBottom:Ng(e.style),marginStart:Mg(e.style),borderWidth:Yo(e.style),borderStartWidth:Yo(e.style,"start"),borderTopWidth:Yo(e.style,"top"),borderEndWidth:Yo(e.style,"end"),borderBottomWidth:Yo(e.style,"bottom"),borderRadius:Nt(e.style),borderTopStartRadius:Nt(e.style,"topStart"),borderTopEndRadius:Nt(e.style,"topEnd"),borderBottomEndRadius:Nt(e.style,"bottomEnd"),borderBottomStartRadius:Nt(e.style,"bottomStart"),opacity:jg(e),display:"flex",flexGrow:at,flexShrink:at,justifyContent:Wg(e.style),flexDirection:"row",alignItems:"stretch",alignSelf:"auto",overflow:"hidden",width:(q=e.style)===null||q===void 0?void 0:q.width,minWidth:(me=(se=e.style)===null||se===void 0?void 0:se.minWidth)!==null&&me!==void 0?me:0,maxWidth:(ve=e.style)===null||ve===void 0?void 0:ve.maxWidth,height:(Ze=e.style)===null||Ze===void 0?void 0:Ze.height,minHeight:(Oe=(Ie=e.style)===null||Ie===void 0?void 0:Ie.minHeight)!==null&&Oe!==void 0?Oe:10,maxHeight:(qe=e.style)===null||qe===void 0?void 0:qe.maxHeight})},de=!0,U=!1,K={style:G(),disabled:e.disabled,focusable:!e.refusesKeyboardFocus&&!e.disabled&&!e.disableTabFocus,tooltip:e.tooltip,onClick:e.onClick,onHoverIn:H,onHoverOut:W,onFocus:re,onBlur:ie,onPressIn:$,onPressOut:Q,accessibilityLabel:d2(e,r,f2(e)),accessibilityRole:ge(),accessibilityState:{disabled:e.disabled},onAccessibilityTap:e.onClick,testID:e.automationLabel,enableFocusRing:!1};Ko(e,K,e.onClick,!0),K.accessibilityState&&(e.accessibilityRole==="option"||e.accessibilityRole==="menuitem")&&de&&(K.accessibilityActions=[{name:"Select"}],K.accessibilityState.selected=e.hasKeyboardFocus),K.accessibilityState&&Ld(e)&&de&&(K.onAccessibilityAction=oe,K.accessibilityState.expanded=e.accessibilityState,K.accessibilityActions=[{name:"Expand"},{name:"Collapse"}]),K.accessibilityPositionInSet=e.accessibilityPositionInSet,K.accessibilitySetSize=e.accessibilitySetSize,(e.refusesKeyboardFocus||e.disableTabFocus||e.disabled)&&(K.focusable=!1),e.accessibilityAccessKey&&(K.accessibilityAccessKey=e.accessibilityAccessKey),e.onHeightChange&&(K.onLayout=fe);var Ce=At.createElement(kd,Object.assign({size:"small",componentRef:o,accessible:!0},{alwaysShowToolTip:!0},K),Pd(e,S,u,T,h,p2));return e.uiAnchorId?At.createElement(b2.UIAnchor,{uid:e.uiAnchorId},Ce):Ce}));Y.displayName="CompositeButton";s();function _d(e){return 16}s();var y2=m(Fe()),pl=m(R());s();s();var Pa="Separator";s();var S2=m(X());s();var WE=m(X());s();var C2=function(){return{separatorWidth:y.stroke.width10}};var La=function(){return La=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},La.apply(this,arguments)},Z7=!1,Q7=["vertical","insetSpacing"],v2={tokens:[C2,Pa],tokensThatAreAlsoProps:Q7,slotProps:{root:we(function(e){return{style:La(La(La({},e.vertical?{borderLeftWidth:e.separatorWidth}:{borderTopWidth:e.separatorWidth}),e.color&&{borderColor:e.color}),Z7)}},["color","vertical","separatorWidth","insetSpacing"])}};var Oa=function(){return Oa=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Oa.apply(this,arguments)},X7={vertical:void 0},Dd=rr(Oa(Oa({displayName:Pa},v2),{slots:{root:S2.View},useRender:function(t,n){var o=n(t).root;return function(r,a){return ee(o,Oa({},Te(t,r,X7)),a)}}}));var Or=function(e){function t(){return e.apply(this,arguments)||this}(0,y2.default)(t,e);var n=t.prototype;return n.render=function(){var r=this,a=this.props.color?this.props.color:"#E6E6E6";t.customizations[a]||(t.customizations[a]=Dd.customize({color:a}));var l={};return this.props.style&&(l.style={marginHorizontal:this.props.style.marginHorizontal}),this.props.onHeightChange&&(l.onLayout=function(u){var c,d;(d=(c=r.props).onHeightChange)===null||d===void 0||d.call(c,u.nativeEvent.layout.height)}),pl.createElement(t.customizations[a],l)},t}(pl.PureComponent);Or.customizations={};s();var x2=m(R());var k2=function(t){return x2.createElement(x,{style:t.style,align:A.Stretch,onKeyDown:t.onKeyDown,handledKeys:[E.Tab]},t.baseItems)};function T2(e){return e.iconType!==void 0?{type:e.iconType,filled:!0}:void 0}function Y7(e,t,n){var o,r,a,l={paddingHorizontal:8,flexibleSize:!0,iconFontSize:20,borderRadius:(r=(o=e.style)===null||o===void 0?void 0:o.borderRadius)!==null&&r!==void 0?r:4};return!t||n||(l.paddingStart=8+_d((a=e.icon)===null||a===void 0?void 0:a.fontSize)),l}function J7(e,t,n,o,r,a,l){var u=T2(t),c=e.itemTheme,d=e.automationLabelType,g=e.automationId;return bl.createElement(Y,{appearance:"subtle",key:t.key,title:t.title,titleStyle:t.titleStyle,onClick:function(){return n(t)},disabled:t.disabled,theme:c,htmlId:l+t.key,accessibilityRole:"menuitem",automationLabel:"".concat(d,"_").concat(t.title,"_").concat(g),icon:u,style:Y7(e,a,t.iconType!==void 0),accessibilityPositionInSet:o,accessibilitySetSize:r})}var Md=function(t){var n=[];if(t.items){var o=t.items.filter(function(u){return u.type==="item"}),r=o.some(function(u){var c=T2(u);return!!c&&ye.shouldRender(c)}),a=(t==null?void 0:t.id)||"",l=1;n.push(t.items.map(function(u){switch(u.type){case"item":return J7(t,u,t.onItemClick,l++,o.length,r,a);case"separator":return bl.createElement(Or,{key:u.key,color:t.theme&&t.theme.separator});default:return null}}))}return bl.createElement(k2,Object.assign({},t,{baseItems:n}))};s();var kl=m(R());s();var Cl=m(Ia());var B2=(0,Cl.default)((0,Cl.default)((0,Cl.default)({},z.Bold,"bold"),z.Normal,"normal"),z.SemiBold,"600");s();s();var vl="Checkbox";s();var E2=m(R()),zd=m(X());var xl=m(bn());s();var HP=m(X());s();var F2=function(t){return{requiredColor:t.colors.redForeground1,requiredPadding:y.size80,medium:{borderRadius:y.corner.radius20,checkboxBorderWidth:y.stroke.width10,checkboxBorderRadius:y.corner.radius20,checkboxSize:16,checkmarkSize:12,label:{padding:y.size80,paddingHorizontal:y.size120,borderRadius:y.corner.radius40,spacingLabelAfter:y.size80,labelIsBefore:{spacingLabelBefore:y.size80,spacingLabelAfter:0}},padding:y.size40,fontSize:y.font.size200,fontWeight:y.font.weight.regular,fontFamily:t.typography.families.primary},large:{borderRadius:y.corner.radius20,checkboxBorderWidth:y.stroke.width10,checkboxBorderRadius:y.corner.radius20,checkboxSize:20,checkmarkSize:16,label:{padding:y.size80,borderRadius:y.corner.radius40,spacingLabelAfter:y.size120,labelIsBefore:{spacingLabelBefore:y.size120,spacingLabelAfter:0}},padding:y.size40,fontSize:y.font.size300,fontWeight:y.font.weight.regular,fontFamily:t.typography.families.primary},checkboxBackgroundColor:t.colors.neutralBackground1,checkboxBorderColor:t.colors.neutralStrokeAccessible,color:t.colors.neutralForeground1,checkmarkOpacity:0,disabled:{checkboxBorderColor:t.colors.neutralStrokeDisabled,color:t.colors.neutralForegroundDisabled,checkboxBackgroundColor:t.colors.neutralBackgroundDisabled},hovered:{checkboxBackgroundColor:t.colors.neutralBackground1,checkboxBorderColor:t.colors.neutralStrokeAccessibleHover,checkmarkColor:t.colors.neutralForeground4,checkmarkOpacity:1,color:t.colors.neutralForeground1,checked:{checkboxBackgroundColor:t.colors.brandBackgroundHover,checkboxBorderColor:t.colors.compoundBrandStroke1Hover,checkmarkColor:t.colors.neutralForegroundOnBrandHover}},pressed:{checkboxBackgroundColor:t.colors.neutralBackground1,checkboxBorderColor:t.colors.neutralStrokeAccessiblePressed,checkmarkColor:t.colors.neutralForeground1,checkmarkOpacity:1,color:t.colors.neutralForeground1,checked:{checkboxBackgroundColor:t.colors.brandBackgroundPressed,checkboxBorderColor:t.colors.compoundBrandStroke1Pressed,checkmarkColor:t.colors.neutralForegroundOnBrandPressed}},checked:{checkboxBackgroundColor:t.colors.brandBackground,checkboxBorderColor:t.colors.compoundBrandStroke1Hover,checkmarkOpacity:1,checkmarkColor:t.colors.neutralForegroundOnBrand,disabled:{checkmarkColor:t.colors.neutralForegroundDisabled}},circular:{borderRadius:y.corner.radiusCircular,checkboxBorderRadius:y.corner.radiusCircular}}};var Sn=function(){return Sn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Sn.apply(this,arguments)},Sl=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))},e9=["medium","large","circular","label","labelIsBefore","hovered","focused","pressed","checked","disabled"],t9=!1,R2={tokens:[F2,vl],states:e9,slotProps:{root:we(function(e,t){return{style:Sn({display:"flex",alignItems:"center",flexDirection:"row",alignSelf:"flex-start",backgroundColor:e.backgroundColor,padding:e.padding,paddingHorizontal:e.paddingHorizontal},Ir.from(e,t)),android_ripple:{color:e.rippleColor,foreground:!0}}},Sl(Sl(["backgroundColor","padding"],Ir.keys,!0),["rippleColor"],!1)),label:we(function(e,t){return{style:r9(e,t)}},Sl(["spacingLabelAfter","spacingLabelBefore","color"],et.keys,!0)),checkbox:we(function(e){return Sn(Sn({style:{height:e.checkboxSize,width:e.checkboxSize,backgroundColor:e.checkboxBackgroundColor,borderColor:e.checkboxBorderColor,borderRadius:e.checkboxBorderRadius,borderWidth:e.checkboxBorderWidth,alignItems:"center",justifyContent:"center"}},t9),{android_ripple:{color:e.rippleColor,radius:e.checkmarkSize,foreground:!0}})},["checkboxBackgroundColor","checkboxBorderColor","checkboxBorderRadius","checkboxBorderWidth","checkboxSize","rippleColor"]),checkmark:we(function(e){return{style:{width:e.checkmarkSize,height:e.checkmarkSize,color:e.checkmarkColor,opacity:e.checkmarkOpacity}}},["checkmarkColor","checkmarkSize","checkmarkOpacity"]),required:we(function(e,t){return{style:Sn({color:e.requiredColor,paddingStart:e.requiredPadding},et.from(e,t))}},Sl(["requiredColor","requiredPadding"],et.keys,!0))}},H2=function(){return"medium"},r9=function(t,n){var o=$o(),r=t.spacingLabelAfter?{marginStart:o.marginStart+t.spacingLabelAfter}:{},a=t.spacingLabelBefore?{marginEnd:o.marginEnd+t.spacingLabelBefore}:{};return Sn(Sn(Sn({color:t.color},a),r),et.from(t,n))};s();var yl=m(R());var mr=function(){return mr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},mr.apply(this,arguments)},n9=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},w2=function(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,a;o<r;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))},A2=[{name:"Toggle"}],I2=function(t){var n=yl.useRef(null),o=t.accessible,r=t.accessibilityActions,a=t.accessibilityLabel,l=t.accessibilityRole,u=t.accessibilityState,c=t.componentRef,d=c===void 0?n:c,g=t.checked,h=t.defaultChecked,p=t.enableFocusRing,C=t.focusable,v=t.labelPosition,T=t.label,B=t.onAccessibilityAction,F=t.onChange,w=t.required,k=n9(t,["accessible","accessibilityActions","accessibilityLabel","accessibilityRole","accessibilityState","componentRef","checked","defaultChecked","enableFocusRing","focusable","labelPosition","label","onAccessibilityAction","onChange","required"]);h!=null&&g!=null&&console.warn("defaultChecked and checked are mutually exclusive to one another. Use one or the other.");var S=Bc(h,g,F),H=S[0],W=S[1],$=mn(d,W),Q=ua(mr({onPress:$},k)),re=lt(d),ie=Hr(W," "),fe=r?w2(w2([],A2,!0),r,!0):A2,oe=mr(mr({},Q.state),{disabled:!!t.disabled,checked:H,labelIsBefore:v==="before"}),ge=yl.useCallback(function(G){switch(G.nativeEvent.actionName){case"Toggle":W(G);break}B&&B(G)},[W,B]);return{props:mr(mr(mr(mr({ref:re},Q.props),{accessible:o??!0,accessibilityRole:l??"checkbox",accessibilityLabel:a??T,accessibilityState:o9(oe.disabled,oe.checked,!!w,u),accessibilityActions:fe,focusable:C??!oe.disabled,onAccessibilityAction:ge,enableFocusRing:p??!0}),ie),t),state:mr(mr({},Q.state),oe)}},o9=Ye(i9);function i9(e,t,n,o){return t=t??!1,o?mr({disabled:e,checked:t,required:n},o):{disabled:e,checked:t,required:n}}var _a=function(){return _a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},_a.apply(this,arguments)},a9=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},Vd=rr(_a(_a({displayName:vl},R2),{slots:{root:zd.Pressable,checkbox:zd.Pressable,checkmark:xl.Svg,label:ze,required:ze},useRender:function(t,n){var o=I2(t),r=n(t,function(a){return o.state[a]||t[a]||a===t.shape||a===t.size||!t.size&&a===H2()});return function(a){var l=Te(o.props,a),u=l.label,c=l.required,d=a9(l,["label","required"]),g=d.onPress,h=d.disabled,p=ee(E2.Fragment,null,ee(r.label,{key:"label"},u),!!c&&ee(r.required,null,typeof c=="string"?c:"*")),C=ee(xl.Path,{fill:"currentColor",d:"M9.76497 3.20474C10.0661 3.48915 10.0797 3.96383 9.79526 4.26497L5.54526 8.76497C5.40613 8.91228 5.21332 8.99703 5.01071 8.99993C4.8081 9.00282 4.61295 8.92361 4.46967 8.78033L2.21967 6.53033C1.92678 6.23744 1.92678 5.76257 2.21967 5.46967C2.51256 5.17678 2.98744 5.17678 3.28033 5.46967L4.98463 7.17397L8.70474 3.23503C8.98915 2.9339 9.46383 2.92033 9.76497 3.20474Z"});return ee(r.root,_a({},d,!1),o.state.labelIsBefore&&p,ee(r.checkbox,{accessible:!1,onPress:g,disabled:h,focusable:!1},ee(r.checkmark,{key:"checkmark",viewBox:"0 0 12 12"},C)),!o.state.labelIsBefore&&p)}}}));var xo=kl.memo(function(e){var t,n,o,r,a,l={fontSize:(t=e.styles)===null||t===void 0?void 0:t.fontSize,fontFamily:(n=e.styles)===null||n===void 0?void 0:n.fontFamily,fontWeight:B2[(r=(o=e.styles)===null||o===void 0?void 0:o.fontWeight)!==null&&r!==void 0?r:z.Normal],color:(a=e.styles)===null||a===void 0?void 0:a.cssColor},u=Vd.customize({medium:{label:Object.assign({paddingHorizontal:8},l),hovered:Object.assign({},l)}});return kl.createElement(u,{label:e.title,defaultChecked:e.defaultChecked,onChange:function(d,g){var h;(h=e.onChange)===null||h===void 0||h.call(e,g)}})});xo.displayName="Checkbox";s();s();var N2=m(Fe()),It=m(R());s();s();var Da="Callout";s();var Bl=m(R()),z2=m(X());s();var P2=[{tokens:{backgroundColor:"bodyStandoutBackground",beakWidth:20,borderColor:"bodyFrameBackground",borderWidth:1,directionalHint:"bottonLeftEdge",gapSpace:0,minPadding:0}},Da];var V2=m(D2()),LL=m(M2()),Tl=function(){return Tl=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Tl.apply(this,arguments)},S9=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},y9=V2.default,za=nr({displayName:Da,usePrepareProps:function(t,n){var o=t.componentRef,r=t.target,a=S9(t,["componentRef","target"]),l=lt(o),u=Bl.useState(null),c=u[0],d=u[1];Bl.useLayoutEffect(function(){typeof r=="string"?d(r):r!=null&&r.current?d((0,z2.findNodeHandle)(r.current)):d(null)},[r]);var g=Ue(n(t),{root:Tl(Tl({ref:l},c&&{target:c}),a)});return{slotProps:g}},settings:P2,slots:{root:y9},styles:{root:[po,Nn]}});var Fl=function(e){function t(o){var r;return r=e.call(this,o)||this,r.shouldFocusButtonOnUpdate=!1,r.buttonRef=It.createRef(),r.handleClick=r.handleClick.bind(r),r.handleCloseClick=r.handleCloseClick.bind(r),r.closeCallout=r.closeCallout.bind(r),r.onAccessibilityExpandCollapse=r.onAccessibilityExpandCollapse.bind(r),r.state={calloutVisible:!1},r}(0,N2.default)(t,e);var n=t.prototype;return n.render=function(){var r,a,l=this.renderButton(),u=this.renderCloseButton();if(this.state.calloutVisible){var c={borderWidth:1,accessibilityRole:"text",isBeakVisible:!1,setInitialFocus:!0,onDismiss:this.closeCallout,target:(r=this.buttonRef.current)===null||r===void 0?void 0:r.getElementRef()},d={paddingHorizontal:this.props.showCloseButton_DONOTUSE?0:1,paddingVertical:this.props.showCloseButton_DONOTUSE?0:1,maxWidth:450},g={paddingHorizontal:1,paddingVertical:1,backgroundColor:(a=this.props.buttonProps.theme)===null||a===void 0?void 0:a.background.resting},h=It.createElement(za,Object.assign({},c),this.props.showCloseButton_DONOTUSE?It.createElement(x,{direction:_.LeftToRight,align:A.Stretch},It.createElement(x,{style:d,align:A.Stretch},this.props.children),It.createElement(x,{style:g,direction:_.TopToBottom,align:A.Stretch},u)):It.createElement(x,{style:d,align:A.Stretch},this.props.children));return It.createElement(It.Fragment,null,l,h)}else return l},n.componentDidUpdate=function(){var r;this.shouldFocusButtonOnUpdate&&((r=this.buttonRef.current)===null||r===void 0||r.focus(),this.shouldFocusButtonOnUpdate=!1)},n.renderButton=function(){var r=Object.assign(Object.assign({},this.props.buttonProps),{onClick:this.handleClick,accessibilityState:this.state.calloutVisible,accessibilityRole:this.props.buttonAccessibilityRole||"button"});return this.state.calloutVisible&&r.theme&&r.theme.background.hover&&(r.theme=Object.assign(Object.assign({},r.theme),{background:Object.assign(Object.assign({},r.theme.background),{resting:r.theme.background.hover})})),It.createElement(Y,Object.assign({},r,{onAccessibilityExpandCollapse:this.onAccessibilityExpandCollapse,ref:this.buttonRef}))},n.handleClick=function(){this.props.buttonProps.onClick,this.setState(function(r){return{calloutVisible:!r.calloutVisible}})},n.renderCloseButton=function(){var r={onClick:this.handleCloseClick,accessibilityState:this.state.calloutVisible,accessibilityRole:this.props.buttonAccessibilityRole||"button",theme:this.props.buttonProps.theme,automationLabel:"Close",tooltip:this.props.closeButtonAccessibilityLabel_DONOTUSE};return It.createElement(Y,Object.assign({},r,{onAccessibilityExpandCollapse:this.onAccessibilityExpandCollapse,ref:this.buttonRef,icon:{type:"Cancel"}}))},n.handleCloseClick=function(){this.setState(function(r){return{calloutVisible:!r.calloutVisible}})},n.closeCallout=function(){this.shouldFocusButtonOnUpdate=!0,this.setState(function(r){return{calloutVisible:!1}})},n.onAccessibilityExpandCollapse=function(r){r==="expand"&&this.state.calloutVisible||r==="collapse"&&!this.state.calloutVisible||this.handleClick()},t}(It.PureComponent);s();var U2=m(Fe()),Hl=m(R()),aO=m(X());s();s();var W2=m(j2()),Rl=function(){return Rl=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Rl.apply(this,arguments)};function q2(e){return e!=="componentRef"}var jd=Co({usePrepareProps:function(t,n){var o=lt(t.componentRef);return{slotProps:Ue(n(t),{root:Rl(Rl({},t),{ref:o})})}},slots:{root:{slotType:W2.default,filter:q2}}});var ii=function(e){function t(){return e.apply(this,arguments)||this}(0,U2.default)(t,e);var n=t.prototype;return n.render=function(){return Hl.createElement(jd,{disabled:this.props.disabled},this.props.children)},n.focus=function(){},t}(Hl.PureComponent);s();var Z2=m(Fe()),Il=m(R()),wO=m(X());s();var ai;(function(e){e[e.Default=0]="Default",e[e.Vertical=1]="Vertical",e[e.Horizontal=2]="Horizontal",e[e.None=3]="None"})(ai||(ai={}));s();s();s();var Al=m(R()),K2=m(X());var $2=m(G2()),wl=function(){return wl=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},wl.apply(this,arguments)},A9=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},I9=function(t){return t!=="componentRef"},Va=Co({usePrepareProps:function(t,n){var o=t.componentRef,r=t.defaultTabbableElement,a=t.isCircularNavigation,l=A9(t,["componentRef","defaultTabbableElement","isCircularNavigation"]),u=lt(o),c=Al.useState(void 0),d=c[0],g=c[1];return Al.useLayoutEffect(function(){r!=null&&r.current?g((0,K2.findNodeHandle)(r.current)):g(void 0)},[r]),{slotProps:Ue(n(t),{root:wl(wl({navigateAtEnd:a?"NavigateWrap":"NavigateStopAtEnds"},l),{defaultTabbableElement:d,ref:u})})}},slots:{root:{slotType:$2.default,filter:I9}}});var qt=function(e){function t(){return e.apply(this,arguments)||this}(0,Z2.default)(t,e);var n=t.prototype;return n.render=function(){return Il.createElement(Va,{focusZoneDirection:this.getDirection()},this.props.children)},n.focus=function(){},n.getDirection=function(){switch(this.props.direction){case ai.Horizontal:return"horizontal";case ai.Vertical:return"vertical";default:return"bidirectional"}},t}(Il.PureComponent);s();var Wd=m(Dn()),Qr=m(R());var MO=m(X());function yn(e){var t,n,o=Qr.useState(0),r=(0,Wd.default)(o,2),a=r[0],l=r[1],u=Qr.useState(0),c=(0,Wd.default)(u,2),d=c[0],g=c[1];if(e.onHeaderHeightChange){var h=e.componentStackStyle.marginTop?e.componentStackStyle.marginTop:e.componentStackStyle.marginVertical,p=e.componentStackStyle.paddingTop?e.componentStackStyle.paddingTop:e.componentStackStyle.paddingVertical,C=0;e.componentStackStyle.borderWidth&&(typeof e.componentStackStyle.borderWidth=="object"?C=e.componentStackStyle.borderWidth.top?e.componentStackStyle.borderWidth.top:0:C=e.componentStackStyle.borderWidth),e.onHeaderHeightChange((h||0)+(p||0)+C+a+d)}return Qr.createElement(x,{direction:e.stackDirection,style:e.componentStackStyle,align:e.stackAlignment,accessibleLive:(t=e.accessibleLive)!==null&&t!==void 0?t:gr.Polite,accessibilityLabel:e.header,accessibilityRole:"group",accessible:!0},Qr.createElement(V,{text:(n=e.header)!==null&&n!==void 0?n:"",style:e.headerStyle,onHeightChange:l,accessibilityRole:"heading",accessibilityHidden:!0}),e.subheader&&e.subheaderStyle?Qr.createElement(V,{text:e.subheader,style:e.subheaderStyle,onHeightChange:g,accessibilityRole:"text",accessibilityHidden:!0}):Qr.createElement(Qr.Fragment,null),e.children)}s();var om=m(Fe()),$d=m(R());s();var Q2=m(Fe()),El=m(R());var X2=function(e){function t(o){var r;return r=e.call(this,o)||this,r.state={isFocused:!1,isHovered:!1,isPressed:!1},r.onFocus=r.onFocus.bind(r),r.onBlur=r.onBlur.bind(r),r.onHoverIn=r.onHoverIn.bind(r),r.onHoverOut=r.onHoverOut.bind(r),r.onPressIn=r.onPressIn.bind(r),r.onPressOut=r.onPressOut.bind(r),r}(0,Q2.default)(t,e);var n=t.prototype;return n.computeTextColor=function(){var r=this.props.theme;return this.state.isPressed&&(r!=null&&r.pressedColor)?r==null?void 0:r.pressedColor:this.state.isHovered&&(r!=null&&r.hoverColor)?r==null?void 0:r.hoverColor:this.state.isFocused&&(r!=null&&r.focusColor)?r==null?void 0:r.focusColor:r==null?void 0:r.color},n.computeTextStyling=function(){var r,a=this.props.style;return{fontSize:a.fontSize,fontWeight:a.fontWeight,cssColor:this.computeTextColor(),underlineType:(r=this.props.style.underlineType)!==null&&r!==void 0?r:Pe.Single}},n.renderContents=function(){return this.props.text?El.createElement(V,{text:this.props.text,style:this.props.theme||this.props.style?this.computeTextStyling():void 0}):void 0},n.onFocus=function(){this.setState({isFocused:!0})},n.onBlur=function(){this.setState({isFocused:!1})},n.onHoverIn=function(){this.setState({isHovered:!0})},n.onHoverOut=function(){this.setState({isHovered:!1})},n.onPressIn=function(){this.setState({isPressed:!0})},n.onPressOut=function(){this.setState({isPressed:!1})},t}(El.PureComponent);s();s();var Na="Link";s();var qd=function(t){return{color:t.colors.brandForegroundLink,alignSelf:"flex-start",variant:"body1",textDecorationLine:"underline",disabled:{color:t.colors.neutralForegroundDisabled,textDecorationLine:"none",focused:{borderColor:t.colors.strokeFocus2}},hovered:{color:t.colors.brandForegroundLinkHover},pressed:{color:t.colors.brandForegroundLinkPressed},visited:{color:t.colors.brandForegroundLink},focused:{color:t.colors.brandForegroundLink,borderColor:t.colors.strokeFocus2},subtle:{color:t.colors.neutralForeground2,hovered:{color:t.colors.neutralForeground2Hover},pressed:{color:t.colors.neutralForeground2Pressed},visited:{color:t.colors.neutralForeground2},focused:{color:t.colors.neutralForeground2,borderColor:t.colors.strokeFocus2}},brand:{color:t.colors.neutralForegroundInvertedLink,hovered:{color:t.colors.neutralForegroundInvertedLinkHover},pressed:{color:t.colors.neutralForegroundInvertedLinkPressed},visited:{color:t.colors.neutralForegroundInvertedLink},focused:{color:t.colors.neutralForegroundInvertedLink,borderColor:t.colors.strokeFocus2}}}};s();var Y2=["inline","subtle","hovered","focused","pressed","disabled"],Ud={tokens:[qd,Na],states:Y2,slotProps:{root:we(function(e){return{style:{alignSelf:e.alignSelf}}},["alignSelf"]),content:we(function(e,t){return{style:I(I({alignSelf:e.alignSelf,textDecorationLine:e.textDecorationLine,color:e.color,fontStyle:e.fontStyle,textAlign:e.textAlign},et.from(e,t)),Ir.from(e,t)),variant:e.variant}},le(le(["alignSelf","color","textDecorationLine","textAlign"],et.keys,!0),Ir.keys,!0))}};s();var ko=m(R()),J2=m(X());var E9={},Gd=function(t){var n,o=ko.useRef(null),r=t.accessible,a=r===void 0?!0:r,l=t.accessibilityRole,u=t.onKeyUp,c=t.onKeyDown,d=t.keyUpEvents,g=t.keyDownEvents,h=t.onPress,p=t.onAccessibilityTap,C=t.tooltip,v=t.url,T=t.accessibilityState,B=t.componentRef,F=B===void 0?o:B,w=t.disabled,k=t.enableFocusRing,S=t.focusable,H=S===void 0?!0:S,W=Ht(t,["accessible","accessibilityRole","onKeyUp","onKeyDown","keyUpEvents","keyDownEvents","onPress","onAccessibilityTap","tooltip","url","accessibilityState","componentRef","disabled","enableFocusRing","focusable"]),$=!!w,Q=ko.useState(!1),re=Q[0],ie=Q[1],fe=ko.useCallback(function(Z){ie(!0),v?J2.Linking.openURL(v):h&&h(Z),Z.stopPropagation()},[ie,v,h]),oe=$||!H?null:F,ge=mn(oe,fe),G=ho(I(I({},W),{disabled:$,onPress:ge})),de=Hr(fe," ","Enter"),U=I(I({},G.state),{visited:re}),K=ko.useCallback(function(Z){p?p():fe(Z)},[fe,p]),Ce=(n=C??v)!==null&&n!==void 0?n:void 0;return{props:I(I(I(I(I(I({},W),de),G.props),{onAccessibilityTap:K}),E9),{accessible:a,accessibilityRole:"link",accessibilityState:Qc($,T),enableFocusRing:k??!0,focusable:H&&!$,cursor:$?"not-allowed":"pointer",ref:lt(F),tooltip:Ce}),state:U}};s();var em=m(X());var tm=function(t,n,o){return n[t]||o[t]||t===o.appearance},P9=rr(I(I({displayName:Na},Ud),{slots:{root:em.View,content:ze},useRender:function(t,n){var o=Gd(t),r=n(t,function(a){return tm(a,o.state,t)});return function(a){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];var c=Te(o.props,a),d=c.inline,g=Ht(c,["inline"]),h=!0;return d||g.selectable?ee(r.content,I({},g),l):ee(r.root,I({},g),ee(r.content,{focusable:!1},l))}}}));s();var ja="RNFLink";s();var li=m(R()),Pl=m(X());s();var rm=[{tokens:{variant:"secondaryStandard",color:"link",borderColor:"transparent",borderStyle:"solid",borderWidth:2,borderRadius:4,textDecorationLine:"underline"},root:I(I({accessible:!0,focusable:!0,enableFocusRing:!1},{cursor:"pointer"}),{accessibilityRole:"link",style:{display:"flex",alignItems:"flex-start"}}),content:{style:{textDecorationLine:"underline",textAlign:"center"}},_precedence:["visited","hovered","focused","pressed","disabled"],_overrides:{disabled:{tokens:{color:"link"}},hovered:{tokens:{color:"linkHovered"}},pressed:{tokens:{color:"linkPressed"}},visited:{tokens:{color:"link"}},focused:{tokens:{borderColor:"focusBorder"}}}},ja];function nm(e,t){var n=e.url,o=e.onPress,r=Ht(e,["url","onPress"]),a=li.useState({visited:!1}),l=a[0],u=a[1],c=li.useCallback(function(v){u({visited:!0}),n?Pl.Linking.openURL(n):o&&o(v)},[u,n,o]),d=mn(t,c),g=ho(I({onPress:d},r)),h=Hr(c," ","Enter"),p=I(I({},g.state),l),C=I(I(I({},e),g.props),h);return[C,p]}var Kd=nr({displayName:ja,settings:rm,usePrepareProps:function(t,n){var o=li.useRef(null),r=t.content,a=t.onAccessibilityTap,l=t.componentRef,u=l===void 0?o:l,c=Ht(t,["content","onAccessibilityTap","componentRef"]),d=nm(c,u),g=d[0],h=d[1],p=a||g.onPress,C={content:!!r},v=lt(u),T=n(t,function(F){return h[F]||t[F]}),B=Ue(T,{root:I(I({},g),{ref:v,onAccessibilityTap:p}),content:{children:r}});return{slotProps:B,state:I(I({},h),C)}},render:function(t,n){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];var a=n.state&&n.state.content;return o.length&&o.length===1&&o[0]!==void 0?pt(t.root,null,a&&pt(t.content,null),o):pt(t.root,null,a&&pt(t.content,null))},slots:{root:Pl.View,content:pn},styles:{root:[],content:[Ar,Gr,Nn]}});var im=m(X()),hr=function(e){function t(o){return e.call(this,o)||this}(0,om.default)(t,e);var n=t.prototype;return n.render=function(){return $d.createElement(im.View,{style:this.computeContainerStyle()},$d.createElement(Kd,{onFocus:this.onFocus,onBlur:this.onBlur,onHoverIn:this.onHoverIn,onHoverOut:this.onHoverOut,onPressIn:this.onPressIn,onPressOut:this.onPressOut,url:this.props.url},this.renderContents()))},n.computeContainerStyle=function(){var r;return{borderWidth:1,borderColor:this.state.isFocused&&(!((r=this.props.theme)===null||r===void 0)&&r.focusRing)?this.props.theme.focusRing:"rgba(0,0,0,0)"}},t}(X2);s();var am=m(Fe()),Ll=m(R()),sm=m(X()),Ol=function(e){function t(o){return e.call(this,o)||this}(0,am.default)(t,e);var n=t.prototype;return n.render=function(){return Ll.createElement(sm.Image,{source:this.computeSource(this.props.uri,this.props.style)})},n.computeSource=function(r,a){var l={};return l.uri=r,a&&(l.width=a.width,l.height=a.height),l},t}(Ll.PureComponent);s();var Xr=m(R()),_l=m(R());s();var lm=m(Dn()),xn=m(R());s();var Zd=m(R()),te=Zd.createContext(!1);te.displayName="UseFluentV9Context";var pr=Zd.createContext(!1);pr.displayName="UseUiCoherenceContext";var L9=function(t){return t.accessibilityLabel||t.title||t.strings&&t.strings.defaultOverflowButtonAccessibilityLabel},O9=function(t,n,o){var r,a,l=Object.assign({},(a=(r=n.buttonOnlyTheme)!==null&&r!==void 0?r:n.theme)!==null&&a!==void 0?a:o!=null&&o.useFluentV9?yc:Ur);return t&&(l.background.hover&&(l.background=Object.assign(Object.assign({},l.background),{resting:l.background.hover})),l.title.hover&&(l.title=Object.assign(Object.assign({},l.title),{resting:l.title.hover})),l.subtitle&&l.subtitle.hover&&(l.subtitle=Object.assign(Object.assign({},l.subtitle),{resting:l.subtitle.hover})),l.icon&&l.icon.hover&&(l.icon=Object.assign(Object.assign({},l.icon),{resting:l.icon.hover}))),l},_9=function(t){var n=t.style;return n&&n.paddingHorizontal!==void 0?n:Object.assign(Object.assign({},n),{paddingHorizontal:8})},D9=function(t,n,o){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,d,g,h,p,C;return xn.createElement(Y,{appearance:"subtle",ref:l,key:o,htmlId:u,title:t.title,icon:{type:(g=(d=t.icon)===null||d===void 0?void 0:d.type)!==null&&g!==void 0?g:"Overflow",filled:((h=t.icon)===null||h===void 0?void 0:h.filled)||r},tooltip:(p=t.tooltip)!==null&&p!==void 0?p:(C=t.strings)===null||C===void 0?void 0:C.defaultOverflowButtonAccessibilityLabel,tooltipProps:t.layerHostId?{layerHostId:t.layerHostId}:void 0,disabled:t.disabled,hidden:t.hidden,refusesKeyboardFocus:t.refusesKeyboardFocus,style:_9(t),theme:O9(r,t,c),strings:t.strings,onClick:n,onHoverIn:t.onHoverIn,onHoverOut:t.onHoverOut,onFocus:t.onFocus,onBlur:t.onBlur,accessibilityLabel:L9(t),accessibilityPositionInSet:t.accessibilityPositionInSet,accessibilitySetSize:t.accessibilitySetSize,accessibilityRole:"overflow",accessibilityState:r,onAccessibilityExpandCollapse:a,automationLabel:"".concat(t.automationLabelType,"_").concat(t.title||"OverFlow","_").concat(t.automationId),hasKeyboardFocus:t.hasKeyboardFocus,onHeightChange:t.onHeightChange})},um=function(t){var n=xn.useRef(null),o=xn.useRef(null),r=xn.useState(!!t.startOpen),a=(0,lm.default)(r,2),l=a[0],u=a[1],c=xn.useContext(te),d=function(S){var H;l||(S?o.current=document.activeElement:o.current=null,u(!0),(H=t.onMenuOpen)===null||H===void 0||H.call(t))},g=function(){var S;(S=n.current)===null||S===void 0||S.focus()},h=function(){var S;(S=o.current)===null||S===void 0||S.focus()},p=function(S){var H;(H=t.onMenuDismiss)===null||H===void 0||H.call(t,S),t.shouldFocusButtonOnDismiss!==!1?g():h(),o.current=null},C=function(S){p(S),u(!1)},v=function(){u(function(S){var H,W=!S;return W?(H=t.onMenuOpen)===null||H===void 0||H.call(t):p(),W})},T=function(S){var H;(H=t.onClick)===null||H===void 0||H.call(t,S),S.preventDismiss||C()},B=function(S){t.onTabClose&&S.key===E.Tab&&C(!0)},F=function(S){S==="expand"&&l||S==="collapse"&&!l||v()},w=D9(t,v,"button",l,F,n,t.id,{useFluentV9:c});return{menuOpen:l,button:w,buttonRef:n,focus:g,setMenuOpen:u,onAccessibilityExpandCollapse:F,onMenuOpen:d,onMenuDismiss:C,onItemClick:T,onKeyDown:B}};var To=Xr.memo((0,_l.forwardRef)(function(e,t){var n,o=um(Object.assign(Object.assign({},e),{shouldFocusButtonOnDismiss:!0})),r=o.menuOpen,a=o.button,l=o.buttonRef,u=o.focus,c=o.onAccessibilityExpandCollapse,d=o.onMenuOpen,g=o.onMenuDismiss,h=o.onItemClick,p=o.onKeyDown;return Xr.useEffect(function(){e.startOpen&&d()},[]),(0,_l.useImperativeHandle)(t,function(){return{focus:u,openMenu:d,onAccessibilityExpandCollapse:c}}),Xr.createElement(Xr.Fragment,null,a,r&&Xr.createElement(za,{key:"callout",borderWidth:1,accessibilityRole:"menu",isBeakVisible:!1,onDismiss:g,setInitialFocus:!0,target:(n=l.current)===null||n===void 0?void 0:n.getElementRef()},Xr.createElement(Md,Object.assign({},e,{style:{paddingHorizontal:1,paddingVertical:1},onItemClick:h,onKeyDown:p}))))}));To.displayName="OverflowMenu";s();var Wa=32;s();var Vl=m(R()),Nl=m(R()),pm=m(X());s();s();var _r=m(R()),ci=m(X());s();s();var Dl="RadioButton";var cm=20,z9=10,dm=10,V9=5,fm="Select a RadioButton",gm=[{tokens:{borderColor:"menuItemText",color:"menuItemText",backgroundColor:"menuItemText",textBorderColor:"transparent"},root:{accessible:!0,focusable:!0,accessibilityRole:"radio",style:{display:"flex",alignItems:"center",flexDirection:"row",minHeight:20,marginTop:0,position:"relative"}},button:{style:{backgroundColor:"transparent",width:cm,height:cm,top:0,left:0,borderWidth:1,borderStyle:"solid",borderRadius:z9,marginTop:4,marginRight:6,marginBottom:6,marginLeft:6}},innerCircle:{style:{position:"relative",opacity:0,borderRadius:V9,height:dm,width:dm,left:4,top:4}},content:{variant:"subheaderStandard",style:{marginTop:2,borderStyle:"solid",borderWidth:2}},_precedence:["disabled","hovered","focused","selected"],_overrides:{selected:{innerCircle:{style:{opacity:1}}},focused:{tokens:{textBorderColor:"focusBorder"}},hovered:{innerCircle:{style:{opacity:.5}}},disabled:{tokens:{borderColor:"buttonBorderDisabled",color:"disabledBodyText",backgroundColor:"background"}}}},Dl];s();var Ct=m(R()),hm=m(X());s();s();var Ml="RadioGroup";var mm=[{tokens:{color:"menuItemText"},root:{accessible:!0,accessibilityRole:"radio",style:{display:"flex",alignItems:"flex-start",flexDirection:"column"}},label:{style:{fontSize:16,fontWeight:"600"}}},Ml];var zl=Ct.createContext({selectedKey:null,onChange:function(){},updateSelectedButtonRef:function(){},buttonKeys:[]}),Qd=nr({displayName:Ml,usePrepareProps:function(t,n){var o,r=t.label,a=t.ariaLabel,l=t.accessibilityLabel,u=t.selectedKey,c=t.defaultSelectedKey,d=Ht(t,["label","ariaLabel","accessibilityLabel","selectedKey","defaultSelectedKey"]),g=Tc(u||c||null,t.onChange),h=Ct.useState(Ct.useRef(null)),p=h[0],C=h[1],v=Ct.useCallback(function(U){C(U)},[C]),T=Ct.useState(!1),B=T[0],F=T[1],w=Ct.useCallback(function(U){F(U)},[F]),k=Ct.useState([]),S=k[0],H=k[1],W=Ct.useCallback(function(U){S.push(U),H(S)},[H]),$=Ct.useCallback(function(U){S.filter(function(K){return K!==U}),H(S)},[H]),Q=Ct.useState([]),re=Q[0],ie=Q[1],fe=Ct.useCallback(function(U){re.push(U),ie(re)},[ie]),oe=Ct.useCallback(function(U){re.filter(function(K){return K!==U}),ie(re)},[ie]),ge={context:{selectedKey:u??g.selectedKey,onChange:g.onKeySelect,updateSelectedButtonRef:v,invoked:B,updateInvoked:w,buttonKeys:S,enabledButtonKeys:re,addRadioButtonKey:W,removeRadioButtonKey:$,addRadioButtonEnabledKey:fe,removeRadioButtonEnabledKey:oe}},G=n(t,function(U){return ge[U]||t[U]}),de=Ue(G,{root:I({accessibilityLabel:(o=l??a)!==null&&o!==void 0?o:r,accessibilityRole:"radiogroup"},d),label:{children:r},container:{isCircularNavigation:!0,defaultTabbableElement:p}});return{slotProps:de,state:ge}},render:function(t,n){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return n.state==null?null:pt(zl.Provider,{value:n.state.context},pt(t.root,null,pt(t.label,null),pt(t.container,null,o)))},settings:mm,slots:{root:hm.View,label:pn,container:Va},styles:{root:[],label:[Ar,Gr],container:[]}});var ui;(function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowRight="ArrowRight",e.ArrowLeft="ArrowLeft"})(ui||(ui={}));var Xd=nr({displayName:Dl,usePrepareProps:function(t,n){var o,r,a,l=_r.useRef(null),u=t.content,c=t.buttonKey,d=t.disabled,g=t.accessibilityLabel,h=t.ariaLabel,p=t.componentRef,C=p===void 0?l:p,v=t.accessibilityPositionInSet,T=t.ariaPosInSet,B=t.accessibilitySetSize,F=t.ariaSetSize,w=Ht(t,["content","buttonKey","disabled","accessibilityLabel","ariaLabel","componentRef","accessibilityPositionInSet","ariaPosInSet","accessibilitySetSize","ariaSetSize"]),k=_r.useContext(zl),S=lt(C),H=function(){c!=k.selectedKey&&(k.onChange&&k.onChange(c),k.updateSelectedButtonRef&&C&&k.updateSelectedButtonRef(C))};_r.useEffect(function(){c==k.selectedKey&&k.updateSelectedButtonRef&&C&&k.updateSelectedButtonRef(C)},[]),_r.useEffect(function(){return k.addRadioButtonKey(c),d||k.addRadioButtonEnabledKey(c),function(){k.removeRadioButtonKey(c),k.removeRadioButtonEnabledKey(c)}},[]);var W=ci.I18nManager.isRTL,$=_r.useCallback(function(U){if(U.nativeEvent.key in ui){var K=k.enabledButtonKeys.length,Ce=U.nativeEvent.key===ui.ArrowDown||(W?U.nativeEvent.key===ui.ArrowLeft:U.nativeEvent.key===ui.ArrowRight),Z=k.enabledButtonKeys.indexOf(k.selectedKey),q=void 0;Ce?q=(Z+1)%K:q=(Z-1+K)%K,k.onChange&&k.onChange(k.enabledButtonKeys[q]),k.updateInvoked&&k.updateInvoked(!0)}},[k]);_r.useEffect(function(){var U;k.invoked&&c===k.selectedKey&&!d&&(k.updateSelectedButtonRef&&C&&k.updateSelectedButtonRef(C),(U=C==null?void 0:C.current)===null||U===void 0||U.focus(),k.updateInvoked&&k.updateInvoked(!1))},[k.invoked]);var Q=["ArrowDown","ArrowRight","ArrowUp","ArrowLeft"],re=wc.apply(void 0,le([$],Q,!1)),ie=function(){c!=k.selectedKey&&(k.onChange&&k.onChange(c),k.updateSelectedButtonRef&&C&&k.updateSelectedButtonRef(C),k.updateInvoked&&k.updateInvoked(!0))},fe=ho(I(I({},w),{onPress:ie,onFocus:H})),oe=_r.useCallback(function(U){switch(U.nativeEvent.actionName){case"Select":H();break}},[k,c]),ge=I(I({},fe.state),{selected:k.selectedKey===t.buttonKey&&!d,disabled:d||!1}),G=n(t,function(U){return ge[U]||t[U]}),de=Ue(G,{root:I(I(I(I(I({},w),{ref:S}),fe.props),{accessibilityRole:"radio",accessibilityLabel:(o=g??h)!==null&&o!==void 0?o:u,accessibilityState:{disabled:ge.disabled,selected:ge.selected},accessibilityActions:[{name:"Select",label:fm}],accessibilityPositionInSet:(r=v??T)!==null&&r!==void 0?r:k.buttonKeys.findIndex(function(U){return U==c})+1,accessibilitySetSize:(a=B??F)!==null&&a!==void 0?a:k.buttonKeys.length,focusable:!ge.disabled,onAccessibilityAction:oe}),re),content:{children:u}});return{slotProps:de}},render:function(t,n){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return pt(t.root,null,pt(t.button,null,pt(t.innerCircle,null)),pt(t.content,null),o)},settings:gm,slots:{root:ci.View,button:{slotType:ci.View,filter:el},innerCircle:{slotType:ci.View,filter:el},content:pn},styles:{root:[],button:[Nn],innerCircle:[po],content:[Ar,Gr,[{source:"textBorderColor",lookup:zn,target:"borderColor"}]]}});var N9=Qd.customize({root:{style:{alignItems:"stretch"}}}),j9=Xd.customize({content:{style:{flexShrink:1}}});function W9(e){if(e){var t={};return e&&(e.fontFamily&&(t.fontFamily=e.fontFamily),e.italic&&(t.fontStyle="italic"),e.cssColor&&(t.color=e.cssColor),e.fontSize&&(t.fontSize=e.fontSize)),t}}var Bo=(0,Nl.forwardRef)(function(e,t){var n;(0,Nl.useImperativeHandle)(t,function(){return{focus:o}});var o=function(){};return Vl.createElement(pm.View,{style:Object.assign({},e.styles)},Vl.createElement(N9,{label:"",accessibilityLabel:e.accessibilityLabel,defaultSelectedKey:(n=e.defaultSelectedKey)===null||n===void 0?void 0:n.toString(),onChange:function(a){for(var l of e.options)if(a===l.key){e.onChange(l);return}}},e.options.map(function(r){return Vl.createElement(j9,{content:r.text,style:W9(e.radioChoiceTextStyles),buttonKey:r.key,key:r.key})})))});Bo.displayName="RadioGroup";s();var Yd=m(Dn()),br=m(R()),jl=m(X());function q9(e){return;var t}var Wl=function(t){var n=br.useRef(null),o=t.scrollTo,r=t.style;br.useEffect(function(){return T()},[o==null?void 0:o.top,o==null?void 0:o.bottom]);var a=br.useState({x:0,y:0}),l=(0,Yd.default)(a,2),u=l[0],c=l[1],d=br.useState(0),g=(0,Yd.default)(d,2),h=g[0],p=g[1],C=br.useCallback(function(B){c(B.nativeEvent.contentOffset)},[c]),v=br.useCallback(function(B){p(B.nativeEvent.layout.height)},[p]),T=function(){if(n.current&&t.scrollTo){var F=t.scrollTo,w=F.top,k=F.bottom,S=6,H=Math.max(w-S,0),W=k+S;H<u.y?n.current.scrollTo({y:H,animated:!0}):W>=u.y+h&&n.current.scrollTo({y:W-h,animated:!0})}};return br.createElement(jl.ScrollView,{ref:n,onLayout:v,onScroll:C,style:q9(r)},t.children)};s();var Bm=m(R());s();s();var qa=m(X());var km=m(ha()),Ge=m(bn());s();s();s();var di="Shimmer";s();s();var Jd=0,e1=500,t1=2e3;var bm=function(t){return{angle:Jd,backgroundColor:t.colors.background,delay:e1,duration:t1,shimmerColor:t.colors.bodyFrameDivider,shimmerColorOpacity:1,shimmerWaveColor:"#E1E1E1",shimmerWaveColorOpacity:1,shimmerWaveWidth:"100%"}};var Cm={tokens:[bm,di],tokensThatAreAlsoProps:"all",slotProps:{root:we(function(e){return{accessibilityRole:"progressbar",accessible:!0,style:{overflow:"hidden",backgroundColor:e.backgroundColor}}},["backgroundColor"]),shimmerWaveContainer:we(function(e){return{delay:e.delay,duration:e.duration,shimmerColor:e.shimmerColor}},["delay","duration","shimmerColor"]),shimmerWave:we(function(e){return{angle:e.angle,shimmerColor:e.shimmerColor,shimmerWaveColor:e.shimmerWaveColor,shimmerWaveWidth:e.shimmerWaveWidth}},["angle","shimmerColor","shimmerWaveColor","shimmerWaveWidth"]),clippingMask:we(function(e){return{backgroundColor:e.backgroundColor}},["backgroundColor"])}};s();function vm(e,t,n,o,r,a){n*2>r&&(n=r/2),o*2>a&&(o=a/2);var l=r-n*2,u=a-o*2,c=0,d=0,g=1,h=["M",e+n,t];return h=h.concat(["h",l]),h=h.concat(["a",n,o,c,d,g,n,o]),h=h.concat(["v",u]),h=h.concat(["a",n,o,c,d,g,-n,o]),h=h.concat(["h",-l]),h=h.concat(["a",n,o,c,d,g,-n,-o]),h=h.concat(["v",-u]),h=h.concat(["a",n,o,c,d,g,n,-o]),h=h.concat("z"),h.join(" ")}function Sm(e){return vm(e.x?e.x:0,e.y?e.y:0,e.borderRadiusX?e.borderRadiusX:0,e.borderRadiusX?e.borderRadiusY:0,e.width?e.width:100,e.height?e.height:16)}function ym(e){var t=e.radius?e.radius:12;return vm(e.cx?e.cx-e.radius:12,e.cy?e.cy-e.radius:12,t,t,t*2,t*2)}var Tm=m(xm()),Dr=function(){return Dr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Dr.apply(this,arguments)},Z9=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},Q9=function(t){var n=t.backgroundColor,o=t.viewBoxHeight,r=t.viewBoxWidth,a={style:{position:"absolute",height:o,width:r},viewBox:"0 0 "+r+" "+o,preserveAspectRatio:"xMinYMin slice"};return ee(Ge.Svg,Dr({},a),ee(Ge.Defs,null,ee(Ge.ClipPath,{id:"shimmerCuts"},ee(Ge.Path,{d:t.clipPath,clipRule:"evenodd"}))),ee(Ge.Rect,{width:"100%",height:"100%",fill:n,clipPath:"url(#shimmerCuts)"}))},X9=function(t){var n=t.shimmerColor,o=t.shimmerColorOpacity,r=t.shimmerWaveColor,a=t.shimmerWaveColorOpacity,l=t.viewBoxHeight,u=t.viewBoxWidth,c={style:{height:l,width:u},viewBox:"0 0 "+u+" "+l,preserveAspectRatio:"xMinYMin slice"};return typeof(0,qa.processColor)(r)!="object"&&typeof(0,qa.processColor)(n)!="object"?ee(Ge.Svg,Dr({},c),ee(Ge.LinearGradient,{id:"gradient"},ee(Ge.Stop,{stopColor:n,stopOpacity:o}),ee(Ge.Stop,{offset:"20%",stopColor:r,stopOpacity:a}),ee(Ge.Stop,{offset:"40%",stopColor:n,stopOpacity:o})),ee(Ge.Rect,{width:t.shimmerWaveWidth,height:"100%",fill:"url(#gradient)"})):ee(Ge.Svg,Dr({},c),ee(Ge.Rect,{width:t.shimmerWaveWidth,height:"100%",fill:r,fillOpacity:a,scaleX:"0.4"}))},Y9=function(t){var n=t.shimmerColor,o=t.viewBoxHeight,r=t.viewBoxWidth;return ee(Tm.default,Dr({},Dr(Dr({},t),{style:{backgroundColor:n,height:o,width:r,overflow:"hidden"}})))},r1=rr(Dr(Dr({displayName:di},Cm),{slots:{root:qa.View,clippingMask:Q9,shimmerWave:X9,shimmerWaveContainer:Y9},useRender:function(t,n){var o=n(t);return function(r){var a=Te(t,r),l=a.elements,u=Z9(a,["elements"]),c=[],d=0,g=0;l&&l.forEach(function(p){if(p.type=="circle"){c=c.concat(ym(p));var C=p.cx+p.radius,v=p.cy+p.radius;d=d>=C?d:C,g=g>=v?g:v}else if(p.type=="rect"){c=c.concat(Sm(p));var C=p.x+p.width,v=p.y+p.height;d=d>=C?d:C,g=g>=v?g:v}else(0,km.assertNever)(p)});var h=c.join(" ").concat("M 0 0 h "+d+" v "+g+" h -"+d+" z ");return ee(o.root,Dr({},u),ee(o.shimmerWaveContainer,{viewBoxHeight:g,viewBoxWidth:d},ee(o.shimmerWave,{viewBoxHeight:g,viewBoxWidth:d})),ee(o.clippingMask,{clipPath:h,viewBoxHeight:g,viewBoxWidth:d}))}}}));function J9(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:24,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:8,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:120,o=arguments.length>3?arguments[3]:void 0,r,a,l=16,u=e/2,c=(r=o==null?void 0:o.paddingHorizontal)!==null&&r!==void 0?r:8,d=(a=o==null?void 0:o.paddingVertical)!==null&&a!==void 0?a:4,g=4,h=e>l?e:l,p=(h-e)/2,C=(h-l)/2;return{items:[{type:"circle",radius:u,cx:c+u,cy:d+p+u},{type:"rect",x:c+e+t,y:d+C,width:n,height:16},{type:"circle",radius:u,cx:c+u,cy:d+(h+g)+p+u},{type:"rect",x:c+e+t,y:d+(h+g)+C,width:n-20,height:16},{type:"circle",radius:u,cx:c+u,cy:d+2*(h+g)+p+u},{type:"rect",x:c+e+t,y:d+2*(h+g)+C,width:n,height:16}],width:2*c+e+t+n,height:2*d+3*h+8}}var ql=function(t){var n=t.theme,o=J9(t.circleSize,t.gapSize,t.lineSize,t.style),r=o.items,a=o.width,l=o.height;return Bm.createElement(r1,{backgroundColor:n==null?void 0:n.background,shimmerColor:n==null?void 0:n.shimmer,shimmerWaveColor:n==null?void 0:n.shimmerWave,style:{minWidth:a,minHeight:l},elements:r})};s();var gi=function(t){return t.render?t.render():null};s();var Fm=m(Fe()),mi=m(R());var Ul=!0,Gl=function(e){function t(o){var r;return r=e.call(this,o)||this,r.buttonRef=mi.createRef(),r.handleHoverIn=function(){var a,l;(l=(a=r.props).onHoverIn)===null||l===void 0||l.call(a)},r.handleHoverOut=function(){var a,l;(l=(a=r.props).onHoverOut)===null||l===void 0||l.call(a)},r.handlePress=function(){r.focus()},r.state={isHighlighted:!1,isSelected:!1},r}(0,Fm.default)(t,e);var n=t.prototype;return n.focus=function(){var r;(r=this.buttonRef.current)===null||r===void 0||r.focus()},n.highlight=function(){this.setState({isHighlighted:!0})},n.clearHighlight=function(){this.setState({isHighlighted:!1})},n.select=function(){this.setState({isSelected:!0})},n.deselect=function(){this.setState({isSelected:!1})},n.render=function(){var r=this.props.styles.borderThickness.selected!==void 0&&this.state.isSelected?this.props.styles.borderThickness.selected:this.props.styles.borderThickness.default,a={borderRadius:4,paddingHorizontal:0,paddingVertical:0,borderThickness:r},l={border:this.props.theme.borderColor,focusRing:this.props.theme.highlightColor,background:{resting:"black",focused:"black"},title:{resting:"black",focused:"black"}};return mi.createElement(Y,{ref:this.buttonRef,style:a,useFullWidth:!0,onHoverIn:this.handleHoverIn,onHoverOut:this.handleHoverOut,onClick:this.handlePress,hoverRing:!0,hasKeyboardFocus:this.state.isHighlighted||this.state.isSelected,theme:l,automationLabel:this.props.automationLabel},this.props.children)},t}(mi.PureComponent);s();s();var Im=m(Fe()),Cr=m(R());s();function Rm(e){if(e.menuProps&&e.menuProps.accessibilityLabel)return e.menuProps.accessibilityLabel;if(e.buttonProps.title&&e.strings&&e.strings.defaultSplitButtonOverflowAccessibilityLabel)return e.strings.defaultSplitButtonOverflowAccessibilityLabel.replace("{0}",e.buttonProps.title)}function kn(e,t){return e.hover?t?Object.assign(Object.assign({},e),{resting:e.hover}):Object.assign(Object.assign({},e),{hover:void 0}):e}function n1(e,t){return Object.assign(Object.assign({},e),{resting:t,hover:void 0})}function Hm(e,t){return Object.assign(Object.assign({},e),{background:kn(e.background,t),title:kn(e.title,t),subtitle:e.subtitle&&kn(e.subtitle,t),icon:e.icon&&kn(e.icon,t)})}function wm(e,t,n,o){return Object.assign(Object.assign({},e),{background:t&&t.splitMenuHoverBackground&&n&&o?n1(e.background,t.splitMenuHoverBackground):kn(e.background,n),title:t&&t.splitMenuHoverForeground&&n&&o?n1(e.title,t.splitMenuHoverForeground):kn(e.title,n),icon:t&&t.splitMenuHoverForeground&&n&&o?n1(e.icon,t.splitMenuHoverForeground):e.icon&&kn(e.icon,n)})}function Am(e){var t;return(t=e==null?void 0:e.borderThickness)!==null&&t!==void 0?t:1}function hi(e){var t;return(t=e==null?void 0:e.borderRadius)!==null&&t!==void 0?t:0}function pi(e){return e.menuProps&&e.menuProps.items?e.menuProps.items.length>0:!1}var o1=Js(),Yr=function(e){function t(o){var r;return r=e.call(this,o)||this,r.state={buttonHover:!1,overflowHover:!1,rootHover:!1,menuOpened:!1,focused:!1},r.rootRef=Cr.createRef(),r.buttonRef=Cr.createRef(),r.overflowRef=Cr.createRef(),r.overflowRefV9=Cr.createRef(),r.onButtonHoverIn=r.handleEvent.bind(r,"buttonHover",!0),r.onButtonHoverOut=r.handleEvent.bind(r,"buttonHover",!1),r.onOverflowHoverIn=r.handleEvent.bind(r,"overflowHover",!0),r.onOverflowHoverOut=r.handleEvent.bind(r,"overflowHover",!1),r.onRootHoverIn=r.handleEvent.bind(r,"rootHover",!0),r.onRootHoverOut=r.handleEvent.bind(r,"rootHover",!1),r.onMenuOpened=r.handleEvent.bind(r,"menuOpened",!0),r.onMenuDismissed=r.handleEvent.bind(r,"menuOpened",!1),r.onFocus=r.handleEvent.bind(r,"focused",!0),r.onBlur=r.handleEvent.bind(r,"focused",!1),r.onKeyDown=r.onKeyPress.bind(r,"down"),r.onKeyUp=r.onKeyPress.bind(r,"up"),r.onAccessibilityExpandCollapse=r.onAccessibilityExpandCollapse.bind(r),r}(0,Im.default)(t,e),t.shouldShowHighlight=function(r){return r.buttonHover||r.overflowHover||r.rootHover||r.menuOpened},t.shouldShowOverflow=function(r){return r.buttonHover||r.overflowHover||r.rootHover||r.menuOpened||r.focused},t.isSplitButtonEntered=function(r){return r.buttonHover||r.overflowHover||r.rootHover||r.menuOpened||r.focused};var n=t.prototype;return n.render=function(){var r=Cr.createElement(Y,Object.assign({key:"main",ref:this.buttonRef},this.computeButtonProps()));return pi(this.props)?Cr.createElement(Y,Object.assign({key:"root",ref:this.rootRef},this.getRootButtonProps()),Cr.createElement(x,Object.assign({},this.getStackProps()),r,Cr.createElement(To,Object.assign({key:"overflow",ref:this.overflowRef,refV9:this.overflowRefV9},this.computeMenuProps())))):r},n.componentDidUpdate=function(r){(this.state.rootHover||this.state.focused)&&pi(r)&&!pi(this.props)&&this.setState({rootHover:!1,focused:!1})},n.focus=function(){var r=pi(this.props)?this.rootRef:this.buttonRef;r.current&&r.current.focus()},n.getRootButtonProps=function(){var r,a,l,u,c;return{appearance:"subtle",title:this.props.buttonProps.title,style:{paddingHorizontal:0,paddingVertical:0,marginHorizontal:(r=this.props.style)===null||r===void 0?void 0:r.marginHorizontal,marginVertical:(a=this.props.style)===null||a===void 0?void 0:a.marginVertical,borderThickness:Am(this.props.style),borderRadius:hi(this.props.style),flexibleSize:this.props.style?this.props.style.flexibleSize:void 0,height:(l=this.props.style)===null||l===void 0?void 0:l.height,minHeight:(u=this.props.style)===null||u===void 0?void 0:u.minHeight,maxHeight:(c=this.props.style)===null||c===void 0?void 0:c.maxHeight},theme:this.computeButtonTheme(),strings:this.props.strings,onClick:this.props.buttonProps.onClick,onHoverIn:this.onRootHoverIn,onHoverOut:this.onRootHoverOut,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onFocus:this.onFocus,onBlur:this.onBlur,handledKeys:[E.Enter,E.Space,o1.keyIdentifier],tooltipProps:this.props.layerHostId?{layerHostId:this.props.layerHostId}:void 0,accessibilityRole:"splitbutton",accessibilityLabel:this.props.buttonProps.accessibilityLabel,accessibilityState:this.state.menuOpened,onAccessibilityExpandCollapse:this.onAccessibilityExpandCollapse,accessibilityPositionInSet:this.props.accessibilityPositionInSet,accessibilitySetSize:this.props.accessibilitySetSize,automationLabel:"SplitButton_".concat(this.props.buttonProps.title)}},n.getStackProps=function(){var r={direction:_.LeftToRight,align:A.Stretch};return this.props.style&&this.props.style.flexibleSize!==void 0&&(r.style={flexibleSize:this.props.style.flexibleSize}),r},n.computeButtonProps=function(){var r=pi(this.props),a=Object.assign({},this.props.style);return r&&(a.borderThickness=0,a.borderRadius={topStart:hi(this.props.style),bottomStart:hi(this.props.style)},delete a.marginHorizontal,delete a.marginVertical,delete a.height,delete a.minHeight,delete a.maxHeight),Object.assign(Object.assign({},this.props.buttonProps),{hidden:!1,refusesKeyboardFocus:r,style:a,theme:this.computeButtonTheme(),tooltipProps:this.props.layerHostId?{layerHostId:this.props.layerHostId}:void 0,onHoverIn:this.onButtonHoverIn,onHoverOut:this.onButtonHoverOut,onFocus:this.onFocus,onBlur:this.onBlur,accessibilityRole:"button",accessibilityPositionInSet:this.props.accessibilityPositionInSet,accessibilitySetSize:this.props.accessibilitySetSize})},n.computeMenuProps=function(){var r=this.props.menuProps;return Object.assign(Object.assign({},r),{hidden:!t.shouldShowOverflow(this.state),refusesKeyboardFocus:!0,style:{borderThickness:0,borderRadius:{topEnd:hi(this.props.style),bottomEnd:hi(this.props.style)}},theme:wm(r.theme?r.theme:Ur,this.props.theme,t.shouldShowHighlight(this.state),this.state.overflowHover||this.state.menuOpened),onHoverIn:this.onOverflowHoverIn,onHoverOut:this.onOverflowHoverOut,onMenuOpen:this.onMenuOpened,onMenuDismiss:this.onMenuDismissed,accessibilityLabel:Rm(this.props),accessibilityPositionInSet:this.props.accessibilityPositionInSet,accessibilitySetSize:this.props.accessibilitySetSize,layerHostId:this.props.layerHostId})},n.handleEvent=function(r,a){var l=this;this.setState(function(u){var c,d,g,h;if(u[r]!==a){var p=Object.assign({},u);p[r]=a,a&&(r==="overflowHover"&&(p.buttonHover=!1),r==="buttonHover"&&(p.overflowHover=!1));var C=t.isSplitButtonEntered(u),v=t.isSplitButtonEntered(p);return!C&&v?(d=(c=l.props.buttonProps).onSplitButtonIn)===null||d===void 0||d.call(c):C&&!v&&((h=(g=l.props.buttonProps).onSplitButtonOut)===null||h===void 0||h.call(g)),p}})},n.onKeyPress=function(r,a){var l,u;return r===(Mn?"down":"up")&&!this.props.buttonProps.disabled&&this.props.buttonProps.onClick&&(a.key===E.Enter||a.key===E.Space)&&mo(a)?(this.props.buttonProps.onClick(),!0):r==="down"&&a.key===o1.keyIdentifier&&mo(a,o1.modifier)?(this.context?(l=this.overflowRefV9.current)===null||l===void 0||l.openMenu():(u=this.overflowRef.current)===null||u===void 0||u.openMenu(),!0):!1},n.onAccessibilityExpandCollapse=function(r){var a,l;this.context?(a=this.overflowRefV9.current)===null||a===void 0||a.onAccessibilityExpandCollapse(r):(l=this.overflowRef.current)===null||l===void 0||l.performAccessibilityExpandCollapse(r)},n.computeButtonTheme=function(){var r=this.props.buttonProps.theme?this.props.buttonProps.theme:Ur,a=t.shouldShowHighlight(this.state);return Object.assign(Object.assign({},Hm(r,a)),{icon:r.icon&&kn(r.icon,a)})},t}(Cr.PureComponent);Yr.contextType=te;s();var Ae="Segoe UI",Kl="Segoe UI";s();var Pm=m(Fe()),Lm=m(R()),$l=function(e){function t(){return e.apply(this,arguments)||this}(0,Pm.default)(t,e);var n=t.prototype;return n.render=function(){return null},t}(Lm.PureComponent);s();var Om=m(Fe()),_m=m(R()),Wn=function(e){function t(){return e.apply(this,arguments)||this}(0,Om.default)(t,e);var n=t.prototype;return n.render=function(){return null},t}(_m.PureComponent);s();var Dm=m(Fe()),Mm=m(R()),Fo=function(e){function t(){return e.apply(this,arguments)||this}(0,Dm.default)(t,e);var n=t.prototype;return n.render=function(){return null},t}(Mm.PureComponent);s();var qn=m(R()),zm=m(X());function t8(e){var t,n,o={};return e&&e.styles&&(e.styles.marginTop&&(o.marginTop=e.styles.marginTop),e.styles.marginBottom&&(o.marginBottom=e.styles.marginBottom),e.styles.marginLeft&&(o.marginLeft=e.styles.marginLeft),e.styles.marginRight&&(o.marginRight=e.styles.marginRight),e.styles.height&&(o.height=e.styles.height),e.styles.width&&(o.width=e.styles.width),e.styles.borderRadius&&(o.borderRadius=e.styles.borderRadius),e.styles.borderWidth&&(o.borderWidth=e.styles.borderWidth),!((t=e.theme)===null||t===void 0)&&t.borderColor&&(o.borderColor=e.styles.borderColor),!((n=e.theme)===null||n===void 0)&&n.textColor&&(o.color=e.theme.textColor)),o}var Ro=qn.forwardRef(function(e,t){var n=qn.useRef(null);return qn.useImperativeHandle(t,function(){return{focus:function(){var r;(r=n.current)===null||r===void 0||r.focus()}}}),qn.createElement(zm.TextInput,{style:t8(e),placeholder:e.placeholder,onChangeText:function(r){return e.onChange&&e.onChange(r)},multiline:!0,accessibilityLabel:e.accessibilityLabel,defaultValue:e.defaultValue,ref:n})});Ro.displayName="TextField";s();function Ut(e,t,n){for(var o=n?n.filter(function(c){return!!c}).sort(function(c,d){return c.start-d.start}):[],r=[],a=0;a<o.length;a+=1)if(!(e<o[a].start+o[a].length)){var l=a===0?0:o[a-1].start+o[a-1].length;l<o[a].start&&Zl(r,l,o[a].start-l,pe.None,t),Zl(r,o[a].start,o[a].length,o[a].decorationType,t);var u=o[a].start+o[a].length;a===o.length-1&&u<e&&Zl(r,u,e-u,pe.None,t)}return r.length===0&&Zl(r,0,e,pe.None,t),r}function Zl(e,t,n,o,r){var a,l,u={start:t,length:n};switch(o){case pe.Spelling:u.emphasizedColor=r.errorText,u.underlineType=Pe.SpellingSquiggle;break;case pe.Grammar:u.emphasizedColor=r.errorText,u.underlineType=Pe.GrammarSquiggle;break;case pe.Refinement:u.emphasizedColor=r.errorText,u.underlineType=Pe.CritiqueSquiggle;break;case pe.Rewrite:case pe.SimilarityChecker:u.fontWeight=z.Bold,u.cssColor=(a=r.rewriteText)===null||a===void 0?void 0:a.resting,u.cssColorHover=(l=r.rewriteText)===null||l===void 0?void 0:l.hover;break;case pe.Modification:u.highlightColor=r.correctionHighlight,u.highlightRadius=2,u.fontWeight=z.SemiBold;break;case pe.PremiumEmphasis:u.cssColor=r.premiumEmphasis,u.fontFamily=Kl;break;case pe.TrackChangeContent:u.italic=!0;break;case pe.TrackChangePlaceholder:u.cssColor=r.trackChangePlaceholderText;break;case pe.CatchUp:u.cssColor=r.catchUpDescriptorText,u.fontWeight=z.SemiBold;break;default:break}e.push(u)}s();var Ql=function(t){return null};s();var Xl=function(){return!0};s();var Yl=function(t){};var bi=3,Un=16,Vm=3,r8=8,vt={background:{resting:"#FFFFFF",hover:"#F3F2F1",pressed:"#EDEBE9",disabled:"#F3F2F1"},text:{resting:"#201F1E",disabled:"#A19F9D"},tooltip:{textColor:"#201F1E",backgroundColor:"#FFFFFF"},tag:{resting:"#201F1E"},altText:{resting:"#605E5C"},icon:{resting:"#757470",disabled:"#CCCCCC"},altIcon:{resting:"#616161",hover:"#185ABD",disabled:"#CCCCCC"},grammarText:{resting:"#3355FF"},refinementText:{resting:"#5A45B6"},rewriteText:{resting:"#5A45B6"},suggestionMenuHoverBackground:"#E1DFDD",primaryButtonBackground:{resting:"#2E6AC5",hover:"#1651AA",pressed:"#0E336A",disabled:"#F3F2F1"},primaryButtonText:{resting:"#FFFFFF",disabled:"#A19F9D"},header:"#3B3A39",subheader:"#605E5C",dialogText:"#323130",iconText:"#201F1E",contextText:"#201F1E",errorText:"red",border:"#201F1E",separator:"#E6E6E6",focusRing:"#969696",link:"#1651AA",linkPressed:"#002050",addOnFooterBackground:"#F2F6FD",addOnFooterMessage:"#11100F",addOnHeaderBackground:"#ebf3fc",premiumEmphasis:"#2E6AC5",addOnAction:"#2E6AC5",editorIcon:"#185ABD",accessibilityIcon:"#185ABD",correctionHighlight:"#D4EDD4",helpLink:{text:{resting:"#1651AA",hover:"#13458F",focused:"#1651AA",pressed:"#0E336A"},focusRing:"#323130"},badgeBackground:"#185ABD",badgeText:"#FFFFFF"},Mr={background:{resting:"var(--colorNeutralBackground1)",hover:"var(--colorNeutralBackground1Hover)",pressed:"var(--colorNeutralBackground1Pressed)",disabled:"var(--colorNeutralBackgroundDisabled)"},text:{resting:"var(--colorNeutralForeground1)",hover:"var(--colorNeutralForeground1Hover)",pressed:"var(--colorNeutralForeground1Pressed)",disabled:"var(--colorNeutralForegroundDisabled)"},icon:{resting:"var(--colorNeutralForeground1)",hover:"var(--colorNeutralForeground1Hover)",pressed:"var(--colorNeutralForeground1Pressed)",disabled:"var(--colorNeutralForegroundDisabled)"},altIcon:{resting:"var(--colorNeutralForeground1)",hover:"var(--colorNeutralForeground2BrandHover)",disabled:"var(--colorNeutralForegroundDisabled)"},suggestionMenuHoverForeground:"var(--colorNeutralForeground1Hover)",suggestionMenuHoverBackground:"var(--colorNeutralBackground1Hover)",tag:{resting:"var(--editorTagResting)",disabled:"var(--colorNeutralForegroundDisabled)"},altText:{resting:"var(--editorAltTextResting)",disabled:"var(--colorNeutralForegroundDisabled)"},grammarText:{resting:"var(--editorGrammarTextResting)",hover:"var(--editorGrammarTextHover)",disabled:"var(--colorNeutralForegroundDisabled)"},refinementText:{resting:"var(--editorRefinementTextResting)",hover:"var(--editorRefinementTextHover)",disabled:"var(--colorNeutralForegroundDisabled)"},rewriteText:{resting:"var(--editorRewriteTextResting)",hover:"var(--editorRewriteTextHover)"},primaryButtonBackground:{resting:"var(--editorPrimaryButtonBackgroundResting)",hover:"var(--editorPrimaryButtonBackgroundHover)",pressed:"var(--editorPrimaryButtonBackgroundPressed)",disabled:"var(--editorPrimaryButtonBackgroundDisabled)"},primaryButtonText:{resting:"var(--editorPrimaryButtonTextResting)",disabled:"var(--editorPrimaryButtonTextDisabled)"},header:"var(--editorHeader)",subheader:"var(--editorSubheader)",dialogText:"var(--editorDialogText)",iconText:"var(--editorIconText)",contextText:"var(--editorContextText)",errorText:"var(--editorErrorText)",border:"var(--editorBorder)",separator:"var(--editorSeparator)",focusRing:"var(--editorFocusRing)",addOnFooterBackground:"var(--editorAddOnFooterBackground)",addOnFooterMessage:"var(--editorAddOnFooterMessage)",addOnHeaderBackground:"var(--editorAddOnHeaderBackground)",premiumEmphasis:"var(--editorPremiumEmphasis)",addOnAction:"var(--editorAddOnAction)",editorIcon:"var(--editorEditorIcon)",accessibilityIcon:"var(--editorAccessibilityIcon)",correctionHighlight:"var(--editorCorrectionHighlight)",helpLink:{text:{resting:"var(--editorHelpLinkTextResting)",hover:"var(--editorHelpLinkTextHover)",focused:"var(--editorHelpLinkTextFocused)",pressed:"var(--editorHelpLinkTextPressed)"},focusRing:"var(--editorHelpLinkFocusRing)"},badgeBackground:"var(--editorBadgeBackground)",badgeText:"var(--editorBadgeText)"};var OV={fontFamily:"Segoe UI Regular",fontSize:16,underlineType:Pe.Single},_V={paddingHorizontal:0,paddingVertical:0,textAlign:rt.Center};var be={x4small:7,x3small:8,xxsmall:10,xsmall:12,small:14,medium:16,large:18,xlarge:20,xxlarge:22},Gn={xsmall:8,small:12,medium:16},Ci={paddingHorizontal:Un,paddingTop:10,paddingBottom:8};var Nm={paddingHorizontal:Un,paddingBottom:8},vi={paddingHorizontal:r8,paddingVertical:4,gap:4},jm={paddingHorizontal:12,paddingVertical:8,backgroundColor:"#EBF3FC",marginTop:4,marginBottom:-8},Wm={width:32,height:32},qm={paddingHorizontal:8,fontSize:12};var Si={paddingHorizontal:Un,flexibleSize:!0,borderRadius:4};function Jl(e){var t,n;return Object.assign({},e,{paddingHorizontal:(t=e==null?void 0:e.paddingHorizontal)!=null?t:8,borderRadius:(n=e==null?void 0:e.borderRadius)!=null?n:4})}function Um(e){var t;return Object.assign({},e,{borderRadius:(t=e==null?void 0:e.borderRadius)!=null?t:4})}var yi={paddingHorizontal:16,paddingVertical:4,textAlign:rt.Center,borderRadius:2},Gm={paddingTop:24,paddingBottom:24,marginStart:24,marginEnd:24},Km={paddingTop:12},$m={marginHorizontal:16,marginStart:10,paddingTop:12},Zm={paddingTop:12,paddingBottom:12,marginEnd:4},Qm={paddingVertical:2},Xm={fontSize:14};var Ym={paddingTop:16},Jm={borderRadius:4,paddingHorizontal:6,paddingVertical:6},i1={paddingHorizontal:0,paddingTop:12},a1={marginTop:14};function eh(e,t){return{backgroundColor:t==null?void 0:t.background.resting,minWidth:e?e.minWidth:void 0,maxWidth:e?e.maxWidth:void 0,paddingHorizontal:16,paddingTop:6,paddingBottom:22}}function th(e){return{height:60,borderWidth:1,borderColor:e.subheader}}var rh={paddingHorizontal:0,paddingVertical:0,borderThickness:0},nh={marginHorizontal:Un};function eu(e,t,n){return{fontWeight:z.SemiBold,fontFamily:Ae,fontSize:t.xsmall,cssColor:n!=null&&n.useFluentV9?"var(--colorNeutralForeground1)":e.header}}var tu={paddingTop:20,paddingBottom:8};function Ua(e,t,n){var o=t.xsmall;(n!=null&&n.isLargeHeader||n!=null&&n.isIconHeader)&&(o=n!=null&&n.isLargeHeader?t.xxlarge:t.xxsmall);var r=n!=null&&n.isIconHeader?e.iconText:n!=null&&n.useFluentV9?"var(--colorNeutralForeground2)":e.subheader;return{fontWeight:n!=null&&n.isIconHeader?z.SemiBold:z.Normal,fontFamily:Ae,fontSize:o,cssColor:r}}function oh(e,t){return{fontWeight:z.SemiBold,fontFamily:Ae,fontSize:t.xsmall,cssColor:e.subheader}}function ih(e,t){return{cssColor:e.contextText,fontSize:t.small}}function ah(e,t){return{cssColor:e.addOnAction,fontSize:t.xlarge,fontWeight:z.SemiBold,marginVertical:6}}function sh(e,t){return{cssColor:e.subheader,fontSize:t.xsmall,marginVertical:6,lineHeight:16}}function Ga(e,t){return{cssColor:e.subheader,fontSize:t.xsmall,lineHeight:16}}function ru(e,t){return{cssColor:e.text.resting,fontSize:t.xsmall,fontWeight:z.SemiBold,lineHeight:16}}function lh(e,t){return{cssColor:e.text.resting,fontSize:t.xsmall,lineHeight:16,fontWeight:z.SemiBold,italic:!0}}function uh(e,t,n){if(t==="primary"&&e.primaryButtonBackground)return Object.assign({},e.primaryButtonBackground,{focused:e.primaryButtonBackground.hover});if(t==="dialog")return Object.assign({},e.background,{focused:e.background.hover});if(n){var o;return{resting:(o=e.background.hover)!=null?o:"",disabled:void 0}}return Object.assign({},e.background,{disabled:void 0})}function n8(e,t){return t==="primary"&&e.primaryButtonText?e.primaryButtonText:t==="grammar"&&e.grammarText?e.grammarText:t==="refinement"&&e.refinementText?e.refinementText:e.text}function o8(e,t,n){var o,r,a=t&&(o=e.altIcon)!=null?o:e.icon;return a=a&&Object.assign({},a),n&&(r=a)!=null&&r.hover&&(a.resting=a.hover),a}function St(e,t,n,o){return{background:uh(e,t,o),title:n8(e,t),tooltip:e.tooltip,tag:e.tag,subtitle:e.altText,icon:o8(e,n,o),border:t==="dialog"||t==="primary"?e.border:o?e.focusRing:void 0,focusRing:e.focusRing}}function ch(e,t){var n,o=(n=e.altIcon)!=null?n:e.icon;return o=Object.assign({},o,{resting:o.hover}),{background:uh(e,void 0,t),title:o,tooltip:e.tooltip,tag:e.tag,subtitle:e.altText,icon:o,border:t?e.focusRing:void 0,focusRing:e.focusRing}}function nu(e,t){return Object.assign({},St(e,void 0,!0,t),{separator:e.separator})}function dh(e){return St(e)}function ou(e,t){return St(e,t?"primary":"dialog")}function Kn(e,t,n){return{minWidth:t?t.minWidth:void 0,maxWidth:t?t.maxWidth:void 0,minHeight:t?t.minHeight:void 0,maxHeight:t?t.maxHeight:void 0,backgroundColor:n!=null&&n.useFluentV9?"var(--colorNeutralBackground1)":e.background.resting,borderRadius:t!=null&&t.hasBottomAttachment?{topStart:8,topEnd:8}:8}}var fh={paddingHorizontal:24,paddingVertical:10};function Jr(e,t,n,o){return[{start:0,length:t,fontWeight:n?z.Normal:z.SemiBold,fontFamily:Ae,fontSize:o||e.small}]}function iu(e){return{fontFamily:Ae,fontWeight:z.Normal,fontSize:e.xsmall}}function gh(e,t){return[{start:0,length:t,fontWeight:z.Normal,fontFamily:Ae,fontSize:e.small}]}var $n=gh,au=gh;function mh(e){return{paddingHorizontal:8,borderRadius:2,iconFontSize:e.medium}}function s1(e){return{paddingHorizontal:8,borderRadius:4,iconFontSize:e.xlarge}}function hh(e,t){var n;return{paddingHorizontal:8,borderRadius:(n=t==null?void 0:t.borderRadius)!=null?n:4,iconFontSize:e.xlarge}}function ph(e){return{borderColor:e.border}}function bh(e){return{fontSize:e.xsmall}}function Ch(e,t){return{fontWeight:z.Normal,fontSize:e.xsmall,cssColor:t.subheader}}function vh(e){return{fontSize:e.xsmall,fontWeight:z.SemiBold}}function Sh(e){return{color:e.subheader,hoverColor:e.link,pressedColor:e.linkPressed,focusRing:e.focusRing}}function yh(e,t){return{cssColor:e.subheader,fontSize:t.xsmall,fontWeight:z.SemiBold}}function xh(e){return{fontWeight:z.Normal,fontSize:e.xxsmall}}function kh(e,t){return{fontWeight:z.SemiBold,fontSize:t.xxsmall,cssColor:e.text.resting}}function Th(){return{lineHeight:20,truncate:!0}}function xi(e,t,n,o){return{fontWeight:z.Normal,fontFamily:Ae,fontSize:o||(t?e.xxsmall:e.xsmall),width:"100%",truncate:!!n,height:14}}function Bh(e){return{paddingTop:e.small,paddingBottom:e.small*3,paddingHorizontal:e.medium,widths:["91%","96%","71%"]}}function Fh(e){return{paddingHorizontal:e.xsmall,widths:[e.medium*5]}}function Rh(e){var t,n,o,r,a;return{color:(t=e.helpLink)==null?void 0:t.text.resting,hoverColor:(n=e.helpLink)==null?void 0:n.text.hover,focusColor:(o=e.helpLink)==null?void 0:o.text.focused,pressedColor:(r=e.helpLink)==null?void 0:r.text.pressed,focusRing:e.helpLink?(a=e.helpLink)==null?void 0:a.focusRing:e.focusRing}}function Hh(e){return{fontSize:e.xxsmall}}var wh={marginHorizontal:16,marginVertical:10};function Ah(){return{marginVertical:6}}function su(){return{paddingStart:0,paddingEnd:10,paddingVertical:0,marginHorizontal:0,marginVertical:0,verticalAlign:"top",horizontalAlign:"start"}}function lu(){return{paddingStart:10,paddingEnd:0,paddingVertical:0,marginHorizontal:0,marginVertical:0,verticalAlign:"top",horizontalAlign:"start"}}var DV={iconFontWeight:z.SemiBold,iconFontSize:12,paddingHorizontal:8,paddingVertical:8,textAlign:rt.Center};var dt=function(t,n){var o;return(o=t.theme)!=null?o:n?Mr:vt};s();s();var Ih={fontFamily:Ae,fontSize:20,fontWeight:z.SemiBold,lineHeight:28},l1={fontFamily:Ae,fontSize:12,fontWeight:z.Normal,lineHeight:16},Eh={fontFamily:Ae,fontSize:12,fontWeight:z.Normal,lineHeight:16},Ph={fontFamily:Ae,fontSize:12,fontWeight:z.SemiBold,lineHeight:16};var uu=function(t){return Object.assign({},Ih,{cssColor:t.header})},cu=function(t){return Object.assign({},Eh,{cssColor:t.subheader})},u1=function(t){return Object.assign({},Ph,{cssColor:t.subheader})},c1=function(t){return Object.assign({},l1,{cssColor:t.subheader})},Lh=function(t){return{paddingHorizontal:20,paddingVertical:16,backgroundColor:t.addOnFooterBackground}},Oh=function(t){return Object.assign({},l1,{cssColor:t.text.resting,marginEnd:2})};function _h(e){return{color:e.link,focusRing:e.focusRing}}s();function du(){return{width:32,height:32,borderRadius:2,marginEnd:8,borderThickness:2}}function Mh(e){return{background:{resting:e,disabled:"transparent"},border:"#D1D1D1",focusRing:"black",title:{resting:"transparent"}}}function zh(e){return{background:{resting:e,disabled:"transparent"},border:"#D1D1D1",title:{resting:"transparent"}}}var Vh={marginHorizontal:16,marginTop:0,marginBottom:0},fu={marginHorizontal:0,marginTop:2,marginBottom:0},Nh={marginHorizontal:8,marginTop:4,marginBottom:0};var jh={marginHorizontal:16,marginTop:0,marginBottom:0};function Wh(e){return{borderColor:e.border,borderWidth:1,borderRadius:4,marginHorizontal:0,marginVertical:8}}var qh={marginTop:5},Uh={textAlign:rt.Center,borderThickness:1,borderRadius:4,minWidth:104};function Gh(e){return{background:{resting:e.background.resting,hover:e.background.hover,disabled:e.background.disabled,focused:e.background.hover},title:{resting:e.text.resting,hover:e.text.hover,disabled:e.text.disabled},border:e.border,focusRing:e.focusRing}}s();function en(e,t){return t<0||e.length<=t?e:e.substring(0,t).concat("\u2026")}function Zn(e){e=e.replace(/https:\/\//i,""),e=e.replace(/http:\/\//i,"");var t=e.indexOf("/");return t>0?e.substring(0,t):e}function Ka(e){switch(e){case 9:case 10:case 11:case 13:case 32:case 160:case 8197:case 12288:case 65532:return!0}return!1}var ae=m(ce()),zr=function(e){return e[e.DisplayingFeedbackOptions=0]="DisplayingFeedbackOptions",e[e.Confirmation=1]="Confirmation",e}(zr||{}),ft=function(e){function t(o){var r;return r=e.call(this,o)||this,r.feedbackOptionRadioGroupRef=$a.createRef(),r.reportDoneButtonRef=$a.createRef(),r.onSelectFeedbackOption=r.onSelectFeedbackOption.bind(r),r.onCheckboxClicked=r.onCheckboxClicked.bind(r),r.onBackToSelectionSuggestionReport=r.onBackToSelectionSuggestionReport.bind(r),r.onFeedbackReportSuggestionCancel=r.onFeedbackReportSuggestionCancel.bind(r),r.onFeedbackReportSuggestionSend=r.onFeedbackReportSuggestionSend.bind(r),r.onFeedbackReportSuggestionDone=r.onFeedbackReportSuggestionDone.bind(r),r.onCommentChange=r.onCommentChange.bind(r),r.onKeyDown=r.onKeyDown.bind(r),r.state={definition:o.definition,feedbackState:zr.DisplayingFeedbackOptions,feedbackId:void 0,feedbackChoiceGroupSelected:!1,includeCustomerContentData:!1},r}(0,$h.default)(t,e);var n=t.prototype;return n.componentDidUpdate=function(r,a){if(r.definition!==this.props.definition&&this.setState({definition:this.props.definition}),a.feedbackState!==this.state.feedbackState)switch(this.state.feedbackState){case zr.DisplayingFeedbackOptions:this.feedbackOptionRadioGroupRef.current&&this.feedbackOptionRadioGroupRef.current.focus();break;case zr.Confirmation:this.reportDoneButtonRef.current&&this.reportDoneButtonRef.current.focus();break}},n.render=function(){var r=this.getDefinition();if(!r)return null;switch(this.state.feedbackState){case zr.DisplayingFeedbackOptions:return this.renderFeedback();case zr.Confirmation:return this.renderConfirmation()}},n.renderFeedback=function(){var r=this.getTheme(),a=this.getFontTable();return(0,ae.jsx)(ii,{disabled:this.props.disableInitialFocus,children:(0,ae.jsx)(x,{onKeyDown:this.onKeyDown,handledKeys:[E.Escape],children:(0,ae.jsxs)(yn,{header:this.getHeaderText(),headerStyle:uu(r),componentStackStyle:this.props.style?{paddingHorizontal:this.props.style.paddingHorizontal,paddingVertical:this.props.style.paddingVertical,marginHorizontal:this.props.style.marginHorizontal,marginVertical:this.props.style.marginVertical}:Gm,stackDirection:_.TopToBottom,stackAlignment:A.Start,children:[(0,ae.jsx)(x,{style:tu,children:(0,ae.jsx)(V,{style:cu(r),text:this.getSubHeaderText(),accessibilityRole:"text"})}),(0,ae.jsx)(x,{align:A.Stretch,accessibilityLabel:this.props.strings.feedback("similarityfeedbackOptionsAccessibilityLabel"),accessible:!0,children:this.renderFeedbackOptions()}),(0,ae.jsxs)(x,{justifyContent:ue.SpaceBetween,style:Object.assign({},Km,{width:this.props.style?this.props.style.minWidth:"100%"}),align:A.Stretch,children:[(0,ae.jsx)(Ro,{accessibilityLabel:this.props.strings.feedback("neuralRewriteFeedbackDialogTextBoxPlaceholder"),placeholder:this.props.strings.feedback("neuralRewriteFeedbackDialogTextBoxPlaceholder"),styles:th(this.getTheme()),theme:ph(this.getTheme()),multiline:!0,onChange:this.onCommentChange}),(0,ae.jsx)(x,{justifyContent:ue.SpaceBetween,style:Qm,align:A.Stretch,children:this.props.showCheckbox&&(0,ae.jsx)(xo,{title:this.getCheckboxLabel(),defaultChecked:this.state.includeCustomerContentData,onChange:this.onCheckboxClicked,styles:Xm})}),!this.props.hideSnippet&&(0,ae.jsx)(x,{justifyContent:ue.SpaceBetween,style:Lh(this.getTheme()),align:A.Stretch,children:this.renderSnippet(r,a)}),(0,ae.jsxs)(x,{justifyContent:ue.SpaceBetween,style:Zm,align:A.Stretch,children:[(0,ae.jsx)(V,{style:Oh(this.getTheme()),text:this.props.strings.feedback("suggestionFeedbackConsumerPrivacyNotice"),accessibilityRole:"text"}),(0,ae.jsx)(hr,{url:this.props.strings.feedback("neuralRewriteFeedbackDialogPrivacyStatementURL"),theme:_h(this.getTheme()),style:bh(this.getFontTable()),text:this.props.strings.feedback("neuralRewriteFeedbackDialogPrivacyStatementLabel")})]}),this.renderFooterButtonOptions()]})]})})})},n.renderFooterButtonOptions=function(){var r=this.getDefinition();switch(r.critiqueType){case b.NeuralRewrite:case b.Grammar:case b.Refinement:case b.WritersUnblock:return(0,ae.jsxs)(x,{direction:_.LeftToRight,justifyContent:ue.SpaceBetween,style:i1,children:[(0,ae.jsx)(x,{direction:_.LeftToRight,justifyContent:ue.Start,children:this.renderFooterButton(this.props.strings.common("backButton"),this.onBackToSelectionSuggestionReport)}),(0,ae.jsxs)(x,{direction:_.LeftToRight,justifyContent:ue.End,children:[this.renderFooterButton(this.props.strings.common("cancelButton"),this.onFeedbackReportSuggestionCancel),(0,ae.jsx)(x,{style:{minWidth:this.getSpacing().xsmall}}),this.renderFooterButton(this.props.strings.common("submitButton"),this.onFeedbackReportSuggestionSend,this.shouldDisableSubmitButton(),!0)]})]});case b.SimilarityChecker:case b.AccColorChecker:case b.AIFeedback:return(0,ae.jsxs)(x,{direction:_.LeftToRight,justifyContent:ue.End,style:i1,align:A.Stretch,children:[this.renderFooterButton(this.props.strings.common("cancelButton"),this.onFeedbackReportSuggestionCancel),(0,ae.jsx)(x,{style:{minWidth:this.getSpacing().small}}),this.renderFooterButton(this.props.strings.common("submitButton"),this.onFeedbackReportSuggestionSend,!this.state.feedbackChoiceGroupSelected,!0)]});default:return}},n.renderConfirmation=function(){var r=this.getTheme(),a=this.getFontTable();return(0,ae.jsxs)(yn,{header:this.getHeaderText(),componentStackStyle:this.props.style?{paddingHorizontal:this.props.style.paddingHorizontal,paddingVertical:this.props.style.paddingVertical,marginHorizontal:this.props.style.marginHorizontal,marginVertical:this.props.style.marginVertical}:fh,stackDirection:_.TopToBottom,stackAlignment:A.Stretch,children:[(0,ae.jsx)(V,{style:Ua(r,a,{useFluentV9:!!this.context}),text:this.props.strings.feedback("similarityFeedbackConfirmationDialogSubTitle"),accessibilityRole:"text"}),(0,ae.jsx)(x,{direction:_.LeftToRight,justifyContent:ue.End,align:A.Stretch,children:this.renderFooterButton(this.props.strings.common("doneButton"),this.onFeedbackReportSuggestionDone,!1,!0,this.reportDoneButtonRef)})]})},n.generateButtonProps=function(r,a){var l={hoverRing:!1,style:du(),theme:zh(r),tooltip:a,automationLabel:"ColorPickerButton"};return l},n.renderSnippet=function(r,a){var l=this,u=this.getDefinition();switch(u.critiqueType){case b.AccColorChecker:var c=u.suggestions||[],d=c.map(function(T){return(0,ae.jsx)(Y,Object.assign({},l.generateButtonProps(T.title,T.subtitle)),T.id)});return(0,ae.jsx)(x,{direction:_.LeftToRight,align:A.Start,justifyContent:ue.Start,style:fu,children:d});case b.SimilarityChecker:var g=Ua(r,a,{useFluentV9:!!this.context});return(0,ae.jsxs)(x,{direction:_.TopToBottom,justifyContent:ue.SpaceBetween,align:A.Stretch,children:[this.props.definition.sourceSnippet?(0,ae.jsx)(V,{style:g,text:en(this.props.definition.sources&&this.props.sourceIndex?this.props.definition.sources[this.props.sourceIndex].sourceSnippet:this.props.definition.sourceSnippet,t.snippetMaxLength),accessibilityRole:"text"}):null,this.props.definition.sourceUrl?(0,ae.jsx)(V,{style:g,text:Zn(this.props.definition.sources&&this.props.sourceIndex?this.props.definition.sources[this.props.sourceIndex].sourceUrl:this.props.definition.sourceUrl),accessibilityRole:"text"}):null]});case b.NeuralRewrite:case b.Grammar:case b.Refinement:case b.AIFeedback:var h=this.props.strings.feedback("originalSentenceLabel"),p=u.contextText,C=this.getSuggestionLabel(),v=this.getReportedSuggestionText(this.props.reportedSuggestionIndex);return(0,ae.jsxs)(x,{direction:_.TopToBottom,justifyContent:ue.SpaceBetween,align:A.Stretch,children:[h&&(0,ae.jsx)(V,{style:u1(r),text:en(h,t.snippetMaxLength),accessibilityRole:"text"}),p&&(0,ae.jsx)(V,{style:c1(r),text:en(p,t.snippetMaxLength),accessibilityRole:"text"}),C&&(0,ae.jsx)(x,{style:Ym,children:(0,ae.jsx)(V,{style:u1(r),text:C,accessibilityRole:"text"})}),v&&(0,ae.jsx)(V,{style:c1(r),text:v.title,accessibilityRole:"text"})]});default:return(0,ae.jsx)(ae.Fragment,{})}},n.getFeedbackOptions=function(){var r=this.getDefinition();switch(r.critiqueType){case b.AccColorChecker:return[{key:t.FeedbackOptionHelpful,text:this.props.strings.feedback("accColorsFeedbackHelpfulLabel")},{key:t.FeedbackOptionNotHelpful,text:this.props.strings.feedback("accColorsFeedbackNotHelpfulLabel")},{key:t.FeedbackOptionOther,text:this.props.strings.feedback("accColorsFeedbackOtherLabel")}];case b.SimilarityChecker:return[{key:t.FeedbackOptionHelpful,text:this.props.strings.feedback("similarityFeedbackHelpfulLabel")},{key:t.FeedbackOptionWrongSource,text:this.props.strings.feedback("similarityFeedbackWrongSourceLabel")},{key:t.FeedbackOptionOriginal,text:this.props.strings.feedback("similarityFeedbackOriginalContentLabel")},{key:t.FeedbackOptionOffensive,text:this.props.strings.feedback("similarityFeedbackOffensiveContentLabel")},{key:t.FeedbackOptionOther,text:this.props.strings.feedback("similarityFeedbackOtherLabel")}];case b.NeuralRewrite:case b.Refinement:case b.Grammar:case b.AIFeedback:return[{key:t.FeedbackOptionHelpful,text:this.props.strings.feedback("suggestionFeedbackHelpfulLabel")},{key:t.FeedbackOptionWrong,text:this.props.strings.feedback("suggestionFeedbackWrongLabel")},{key:t.FeedbackOptionOffensive,text:this.props.strings.feedback("suggestionFeedbackOffensiveLabel")}];case b.WritersUnblock:return[{key:t.FeedbackOptionHelpful,text:this.props.strings.feedback("suggestionFeedbackHelpfulLabel")},{key:t.FeedbackOptionFactuallyIncorrect,text:this.props.strings.feedback("suggestionFeedbackFactuallyIncorrectLabel")},{key:t.FeedbackOptionOffensive,text:this.props.strings.feedback("suggestionFeedbackOffensiveLabel")}];default:return[]}},n.renderFeedbackOptions=function(){return(0,ae.jsx)(Bo,{ref:this.feedbackOptionRadioGroupRef,onChange:this.onSelectFeedbackOption,options:this.getFeedbackOptions()})},n.renderFooterButton=function(r,a,l,u,c){return(0,ae.jsx)(Y,{title:r,titleStyle:$n(this.getFontTable(),r.length),onClick:a,theme:ou(this.getTheme(),u),disabled:l,style:yi,ref:c,automationLabel:"CritiqueActionButton_".concat(r)})},n.getCheckboxLabel=function(){var r=this.getDefinition();switch(r.critiqueType){case b.SimilarityChecker:return this.props.strings.feedback("similarityFeedbackIncludeDocumentTextAndSourceUrl");case b.NeuralRewrite:case b.Refinement:case b.AIFeedback:return this.props.strings.feedback("neuralRewriteFeedbackDialogCheckboxLabel");case b.Grammar:return this.props.strings.feedback("grammarFeedbackDialogCheckboxLabel");case b.WritersUnblock:return this.props.strings.feedback("writersUnblockDialogCheckboxLabel");default:return"unknown"}},n.getFeedbackHeaderLabel=function(){var r=this.getDefinition();switch(r.critiqueType){case b.AccColorChecker:return this.props.strings.feedback("provideAccColorsFeedbackHeaderText");case b.SimilarityChecker:return this.props.strings.feedback("provideFeedbackHeaderText");case b.NeuralRewrite:case b.Refinement:case b.AIFeedback:return this.props.strings.feedback("neuralRewriteFeedbackDialogChooseOptionTitle");case b.Grammar:return this.props.strings.feedback("grammarFeedbackDialogChooseOptionTitle");case b.WritersUnblock:return this.props.strings.feedback("writersUnblockFeedbackDialogChooseOptionTitle");default:return"unknown"}},n.getConfirmationHeaderLabel=function(){var r=this.getDefinition();switch(r.critiqueType){case b.AccColorChecker:case b.SimilarityChecker:return this.props.strings.feedback("similarityFeedbackConfirmationDialogTitle");case b.NeuralRewrite:case b.Refinement:case b.AIFeedback:return this.props.strings.feedback("neuralRewriteFeedbackConfirmationDialogTitle");case b.Grammar:return this.props.strings.feedback("grammarFeedbackConfirmationDialogTitle");case b.WritersUnblock:return this.props.strings.feedback("writersUnblockFeedbackConfirmationDialogTitle");default:return"unknown"}},n.getSubHeaderLabel=function(){var r=this.getDefinition();switch(r.critiqueType){case b.AccColorChecker:return this.props.strings.feedback("accColorsFeedbackDialogChooseOptionTitle");case b.SimilarityChecker:return this.props.strings.feedback("similarityFeedbackDialogChooseOptionTitle");case b.NeuralRewrite:case b.Refinement:case b.AIFeedback:return this.props.strings.feedback("neuralRewriteFeedbackDialogDescription");case b.Grammar:return this.props.strings.feedback("grammarFeedbackDialogDescription");case b.WritersUnblock:return this.props.strings.feedback("writersUnblockFeedbackDialogDescription");default:return"unknown"}},n.getSuggestionLabel=function(){var r=this.getDefinition();switch(r.critiqueType){case b.NeuralRewrite:case b.Refinement:case b.AIFeedback:return en(this.props.strings.feedback("rewriteSuggestionLabel"),t.snippetMaxLength);case b.Grammar:return en(this.props.strings.feedback("grammarSuggestionLabel"),t.snippetMaxLength);default:return"unknown"}},n.getSubHeaderConfirmationLabel=function(){var r=this.getDefinition();switch(r.critiqueType){case b.SimilarityChecker:return this.props.strings.feedback("similarityFeedbackConfirmationDialogSubTitle");case b.NeuralRewrite:case b.Refinement:case b.AIFeedback:return this.props.strings.feedback("neuralRewriteFeedbackDialogDescription");case b.Grammar:return this.props.strings.feedback("grammarFeedbackDialogDescription");case b.WritersUnblock:return this.props.strings.feedback("writersUnblockFeedbackConfirmationDialogSubTitle");default:return"unknown"}},n.getHeaderText=function(){switch(this.state.feedbackState){case zr.DisplayingFeedbackOptions:return this.getFeedbackHeaderLabel();case zr.Confirmation:return this.getConfirmationHeaderLabel()}},n.getSubHeaderText=function(){switch(this.state.feedbackState){case zr.DisplayingFeedbackOptions:return this.getSubHeaderLabel();case zr.Confirmation:return this.getSubHeaderConfirmationLabel()}},n.onSelectFeedbackOption=function(r){r&&this.setState({feedbackId:r.key,feedbackChoiceGroupSelected:!0})},n.onFeedbackReportSuggestionDone=function(){this.setState({feedbackChoiceGroupSelected:!1}),this.props.onDismiss&&this.props.onDismiss()},n.onFeedbackReportSuggestionCancel=function(){this.onFeedbackReportSuggestionDone()},n.onCommentChange=function(r){this.commentText=r||""},n.onCheckboxClicked=function(r){this.setState({includeCustomerContentData:r})},n.getPayload=function(){var r=this.getDefinition(),a=this.state.includeCustomerContentData;switch(r.critiqueType){case b.SimilarityChecker:return[this.commentText||"undefined",this.state.feedbackId||"undefined",a&&this.props.definition.sourceSnippet?Zn(this.props.definition.sourceSnippet):"undefined",a&&this.props.definition.sourceUrl?Zn(this.props.definition.sourceUrl):"undefined",this.state.feedbackId||"undefined"];case b.NeuralRewrite:case b.Refinement:case b.Grammar:case b.AIFeedback:var l=this.props.reportedSuggestionIndex,u=r.suggestions&&l!==void 0&&l!==-1?r.suggestions[l]:void 0;return[this.commentText||"",this.state.feedbackId||"",a&&r.contextText?r.contextText:"",a&&u?u.title:""];case b.WritersUnblock:return[this.commentText||"undefined",this.state.feedbackId||"undefined",a&&this.props.definition.sourceSnippet||"undefined",a&&this.props.definition.contextText||"undefined",this.state.feedbackId||"undefined"];case b.AccColorChecker:return[this.commentText||"undefined",this.state.feedbackId||"undefined"];default:return[]}},n.onFeedbackReportSuggestionSend=function(){if(this.state.feedbackId){if(this.props.onReport){var r=this.getPayload();this.props.onReport({action:"feedback",option:this.state.feedbackId,type:this.state.definition.critiqueType,payload:{comment:r}},0)}this.setState({feedbackState:zr.Confirmation,feedbackChoiceGroupSelected:!1})}},n.onBackToSelectionSuggestionReport=function(){this.props.onBack&&this.props.onBack()},n.onKeyDown=function(r){r.key===E.Escape&&this.props.onBack&&this.props.onBack()},n.getDefinition=function(){return this.state.definition},n.getTheme=function(){var r;return(r=this.props.theme)!=null?r:this.context?Mr:vt},n.getFontTable=function(){return this.props.fontTable?this.props.fontTable:be},n.getSpacing=function(){return this.props.spacing?this.props.spacing:Gn},n.getReportedSuggestionText=function(r){var a=this.props.definition;return a.suggestions&&r!==void 0&&r!==-1?a.suggestions[r]:void 0},n.shouldDisableSubmitButton=function(){var r=this.getDefinition();switch(r.critiqueType){case b.NeuralRewrite:case b.Grammar:case b.Refinement:case b.AIFeedback:return this.state.feedbackChoiceGroupSelected?this.state.feedbackId===t.FeedbackOptionHelpful?!1:!this.state.includeCustomerContentData:!0;case b.SimilarityChecker:case b.WritersUnblock:default:return!this.state.feedbackChoiceGroupSelected}},t}($a.PureComponent);ft.snippetMaxLength=150;ft.FeedbackOptionHelpful="Helpful";ft.FeedbackOptionNotHelpful="NotHelpful";ft.FeedbackOptionWrong="Wrong";ft.FeedbackOptionFactuallyIncorrect="Hallucination";ft.FeedbackOptionWrongSource="WrongSource";ft.FeedbackOptionOriginal="Original";ft.FeedbackOptionOffensive="Offensive";ft.FeedbackOptionOther="Other";ft.contextType=te;s();var u5=m(R());s();var xN=m(R());s();var Zh=function(e){return e[e.Unknown=0]="Unknown",e[e.VoiceDictationBadge=1]="VoiceDictationBadge",e[e.VoiceDictationPhrase=2]="VoiceDictationPhrase",e}({});s();var Ya=m(R());s();var nN=m(X());function Qh(){return!1}function Za(){return!0}function gu(){return!0}s();var sN=m(R());var d1=m(R());function mu(e){return{oneOfManyChoiceButtonAccessibilityLabelAugment:e("oneOfManyChoiceButtonAccessibilityLabelAugment"),voiceOverSplitButton2AccessibilityHint:e("voiceOverSplitButton2AccessibilityHint")}}function f1(e){return{defaultOverflowButtonAccessibilityLabel:e("defaultOverflowButtonAccessibilityLabel"),oneOfManyChoiceButtonAccessibilityLabelAugment:e("oneOfManyChoiceButtonAccessibilityLabelAugment"),voiceOverSplitButton2AccessibilityHint:e("voiceOverSplitButton2AccessibilityHint")}}function Ho(e){return{defaultSplitButtonOverflowAccessibilityLabel:e("defaultSplitButtonOverflowAccessibilityLabel"),voiceOverSplitButton2AccessibilityHint:e("voiceOverSplitButton2AccessibilityHint")}}function hu(e,t,n,o,r,a,l,u,c,d,g,h,p,C){var v=Xn(e),T=u!==void 0;if(!(u!==void 0&&(u<0||u>=v.length))){var B=T?v[u]:void 0,F=r.filter(function(k){return yt(e,k,B)}).filter(function(k){return Et(e,n,k)}).map(function(k){return Xh(e,n,o,k)});if(!T&&yt(e,f.ShowMenu)&&(F.length>0&&F.push({type:"separator",key:"separator"}),F.push(Xh(e,n,o,f.ShowMenu))),F.length!==0){var w=T||a?void 0:l;return{tooltip:w,items:F,onClick:function(S){if(g){var H=parseInt(S.key,10);g(H,u)}},style:T?{}:Object.assign({},Um(C),{calloutStyle:C==null?void 0:C.calloutStyle}),theme:nu(t,h),itemTheme:St(t,void 0,!0),strings:f1(n.common),accessibilityLabel:l,automationLabelType:"CritiqueActionButton",automationId:c||"",hasKeyboardFocus:h,layerHostId:d,onHeightChange:p,shouldFocusButtonOnDismiss:e.critiqueType===b.InlineSuggestion?!1:void 0}}}}function wo(e,t,n,o,r,a,l,u,c,d,g,h,p,C,v,T,B,F,w,k){var S=Object.assign({},o.tooltipProps,{layerHostId:k||void 0}),H=vr(n),W=H!==void 0?{type:H,filled:v}:void 0,$={onClick:function(){C==null||C(n,void 0,a)},title:l,titleStyle:u,tooltip:c,tooltipProps:S,disabled:Tn(e,n),style:o,theme:St(t,void 0,v,B),accessibilityLabel:ki(e,r,n),automationLabel:d??m1(n,p),badgeProps:h,icon:W,htmlId:T,onHeightChange:w,uiAnchorId:F,hasKeyboardFocus:B,appearance:"subtle"};return(0,d1.createElement)(Y,Object.assign({ref:g},$,{key:n.toString(),useAlternateIconColors:v}))}function Yh(e,t,n,o,r,a,l,u,c){var d=Et(e,o,f.Feedback);if(!d)return null;var g={type:vr(f.Feedback),filled:!0},h=ch(t,l),p={onClick:function(){a==null||a(f.Feedback,void 0,void 0)},title:d,tooltip:d,tooltipProps:{layerHostId:c},disabled:Tn(e,f.Feedback),style:n,theme:h,accessibilityLabel:ki(e,o,f.Feedback),automationLabel:"CritiqueActionButton_".concat(d,"_").concat(r),icon:g,onHeightChange:u};return(0,d1.createElement)(Y,Object.assign({},p,{key:f.Feedback.toString(),useAlternateIconColors:!0}))}function pu(e,t,n,o,r,a,l){var u=e.showDictationCommandUx&&!o;if(u){var c=l8(e,t,r,a);if(c!==void 0)return{text:c.toString(),theme:n,style:l}}}function Xn(e){var t=e.maximumSuggestions||bi;return e.suggestions?e.suggestions.length>t?e.suggestions.slice(0,t):e.suggestions:[]}function g1(e,t){var n=s8(e,t),o=[],r=1;if(n)n.forEach(function(l,u){o.push({action:l,badgeId:r++,suggestionIndex:u})});else{var a;(a=Xn(e))==null||a.forEach(function(l,u){Tn(e,f.Accept,l)||o.push({action:f.Accept,badgeId:r++,suggestionIndex:u})})}return o}function s8(e,t){switch(e.critiqueType){case b.RepeatedWord:return[f.Accept];case b.SimilarityChecker:var n=yt(e,f.MoreSources)?[f.IntextCitation,f.FullCitation,f.MoreSources]:[f.IntextCitation,f.FullCitation];return n.filter(function(o){return Et(e,t,o)})}if(e.isContentPending)return[]}function ki(e,t,n){switch(n){case f.Previous:case f.Next:if(e.wrapAroundNavigation&&e.critiqueSetSize!==void 0&&e.critiqueSetSize>1){var o=e.critiqueSetSize.toString(10);return n===f.Previous?t.critique("previousIssueWithCount").replace("{0}",o):t.critique("nextIssueWithCount").replace("{0}",o)}return n===f.Previous?t.critique("previousIssue"):t.critique("nextIssue")}return Et(e,t,n)}function Et(e,t,n){switch(n){case f.ReadAloud:return t.critique("readAloud");case f.SpellOut:return t.critique("spellOut");case f.ChangeAll:return t.critique("changeAll");case f.AddToAutoCorrect:return t.critique("addToAutoCorrect");case f.AutoCorrectOptions:return t.critique("autoCorrectOptions");case f.IgnoreOnce:return t.critique("ignoreOnce");case f.IgnoreAll:return t.critique("ignoreAll");case f.IgnoreRule:return t.critique("ignoreRule");case f.AddToDictionary:return t.critique("addToDictionary");case f.Options:return t.critique("options");case f.ShowExplanation:return t.critique("footerExplanationButtonAccessibilityLabel");case f.ManageLanguages:return t.critique("manageLanguages");case f.Next:return t.critique("nextIssue");case f.Previous:return t.critique("previousIssue");case f.ToggleContext:return e.showContext?t.critique("hideContext"):t.critique("showContext");case f.ToggleDescription:return e.critiqueType===b.Spelling?e.showDescription?t.critique("hideSynonyms"):t.critique("showSynonyms"):e.critiqueType===b.NeuralRewrite?e.showDescription?t.critique("hideExplanationButtonText"):t.critique("showExplanationButtonText"):void 0;case f.ReadContext:return t.critique("readAloudOriginalSentenceAccessibilityLabel");case f.ShowMenu:return t.critique("showMenuButtonText");case f.Feedback:return t.critique("giveFeedbackButtonText");case f.Dismiss:return t.common("cancelButton");case f.OpenEditorPane:return t.critique("accessibilityLabelForEditorButton");case f.LearnMore:return t.critique("learnMore");case f.IntextCitation:return t.critique("addInTextCitation");case f.FullCitation:return t.critique("copyFullCitation");case f.MoreSources:return t.critique("moreSources");case f.Accessibility:return t.accChecker==null?void 0:t.accChecker("accAssistant");case f.OpenColorPicker:return t.accChecker==null?void 0:t.accChecker("moreColors");case f.MoreFontColors:return t.accChecker==null?void 0:t.accChecker("moreFontColors");case f.ChangeColors:return t.accChecker==null?void 0:t.accChecker("changeColors");case f.ResetGraphic:return t.accChecker==null?void 0:t.accChecker("resetGraphic");case f.TurnOffAccChecker:return t.accChecker==null?void 0:t.accChecker("turnOffAccChecker");case f.Allow:return t.accChecker==null?void 0:t.accChecker("allowTextColorIssue");case f.AllowAll:return t.accChecker==null?void 0:t.accChecker("allowAllTextColorIssues");case f.FixSimilarColors:return t.accChecker==null?void 0:t.accChecker("fixSimilarColors");case f.FixAllColors:return t.accChecker==null?void 0:t.accChecker("fixAllColors");case f.AutoGenAltText:case f.MissingAltText:return t.accChecker==null?void 0:t.accChecker("altText");case f.UseFirstRowAsHeader:return t.accChecker==null?void 0:t.accChecker("useFirstRowAsHeader");case f.SplitCell:return t.accChecker==null?void 0:t.accChecker("splitCell");case f.MergeCells:return t.accChecker==null?void 0:t.accChecker("mergeCells");case f.MarkAsDecorative:return t.accChecker==null?void 0:t.accChecker("markAsDecorative");case f.MarkAsLayout:return t.accChecker==null?void 0:t.accChecker("markAsLayout");case f.Accept:case f.Complete:case f.AddOnFooterAction:case f.Report:case f.RejectHoverIn:case f.RejectHoverOut:case f.AcceptHoverIn:case f.AcceptHoverOut:case f.Reject:case f.OpenCustomDictionary:case f.SourceSelected:case f.ApplyColor:case f.RefreshSummary:case f.UndoInsertSummarization:case f.Overflow:case f.InsertBelow:case f.Regenerate:case f.Cancel:case f.StopGenerating:case f.ContainerHoverIn:case f.ContainerHoverOut:case f.LaunchAIRewrite:case f.LaunchAIRewriteHoverIn:case f.LaunchAIRewriteHoverOut:case f.CatchUp:return}}function vr(e){switch(e){case f.Allow:return"Ignore";case f.AllowAll:return"IgnoreAll";case f.IgnoreOnce:return"Ignore";case f.IgnoreAll:return"IgnoreAll";case f.IgnoreRule:return"IgnoreRule";case f.FixAllColors:return"Completed";case f.AddToDictionary:return"AddToDictionary";case f.ShowExplanation:return"ShowExplanation";case f.Next:return"Next";case f.Previous:return"Previous";case f.ReadContext:return"ReadAloud";case f.Feedback:return"GiveFeedback";case f.Dismiss:return"Cancel";case f.OpenEditorPane:return"Editor";case f.ManageLanguages:return"LocaleLanguage";case f.Options:return"EditorSettings";case f.IntextCitation:return"Plus";case f.FullCitation:return"Copy";case f.Accessibility:return"Accessibility";case f.OpenColorPicker:case f.MoreFontColors:case f.ChangeColors:return"Color";case f.TurnOffAccChecker:return"Hide";case f.MarkAsDecorative:case f.MarkAsLayout:return"BowTie";case f.UseFirstRowAsHeader:return"FirstRowAsHeader";case f.ResetGraphic:return"ArrowReset"}}function Jh(e,t){switch(e){case b.Refinement:case b.RepeatedWord:case b.SimilarityChecker:case b.AccColorChecker:case b.TonalRewrite:case b.Grammar:case b.DictationCorrection:case b.TextPenAlternates:return f.IgnoreOnce;case b.Spelling:case b.Topic:return f.IgnoreAll;case b.InlineSuggestion:switch(t){case Me.Person:case Me.File:case Me.Location:case Me.SatoriEntity:return f.IgnoreOnce;case Me.Topic:return f.IgnoreAll;default:return}case b.AddinCritique:return f.IgnoreOnce;case b.NeuralRewrite:case b.Classification:case b.WritersUnblock:default:return}}function yt(e,t,n){switch(t){case f.Previous:case f.Next:return bu(e)&&Qn(e,t);case f.ToggleContext:if(e.contextText===void 0)return!1;break;case f.ReadContext:var o=vr(t);if(o===void 0||!jn({type:o}))return!1;break;case f.IgnoreOnce:if(e.critiqueType===b.SimilarityChecker)return!0;break;case f.Accessibility:case f.OpenColorPicker:case f.Allow:case f.AllowAll:case f.FixSimilarColors:case f.FixAllColors:case f.AutoGenAltText:case f.MissingAltText:case f.UseFirstRowAsHeader:case f.SplitCell:case f.MergeCells:case f.MarkAsDecorative:case f.MarkAsLayout:return!0;case f.Feedback:case f.TurnOffAccChecker:if(e.critiqueType===b.AccColorChecker||e.critiqueType===b.AltText||e.critiqueType===b.MergeSplitCell||e.critiqueType===b.MissingTableHeader)return!0}return Qn(e,t,n)}function Tn(e,t,n){switch(t){case f.Next:case f.Previous:return!bu(e)||!Qn(e,t)?!0:e.wrapAroundNavigation?!1:t===f.Previous?e.critiquePosition<=0:e.critiquePosition>=e.critiqueSetSize-1;case f.Dismiss:case f.Accessibility:case f.OpenColorPicker:case f.Allow:case f.AllowAll:case f.FixSimilarColors:case f.FixAllColors:case f.Overflow:case f.AutoGenAltText:case f.MissingAltText:case f.UseFirstRowAsHeader:case f.SplitCell:case f.MergeCells:case f.MarkAsDecorative:case f.MarkAsLayout:return!1;default:return!Qn(e,t,n)}}function bu(e){return e.critiquePosition!==void 0&&e.critiqueSetSize!==void 0&&e.critiquePosition>=0&&e.critiqueSetSize>0}function Qn(e,t,n){var o=e.actions,r=n?n.actions:o;return!!r&&r.indexOf(t)>=0}function m1(e,t){switch(e){case f.Previous:return"CritiqueNavButton_Left_".concat(t);case f.Next:return"CritiqueNavButton_Right_".concat(t);case f.Dismiss:return"CritiqueCloseButton_".concat(t);case f.OpenEditorPane:return"EditorPaneOpenButton_".concat(t)}return"undefined"}function l8(e,t,n,o){var r=g1(e,t).filter(function(a){return a.action===n&&a.suggestionIndex===o});if(r.length>0)return r[0].badgeId}function Xh(e,t,n,o){var r=o,a=Et(e,t,r);return{type:"item",key:r.toString(),title:a,titleStyle:au(n,a.length),iconType:vr(r)}}function e5(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.assign({},vi,e)}s();function u8(e,t){return e.settings?e.settings[t]==="true":!1}function Xa(e){return u8(e,"RefactorToGetRewriteNudgeInCritiqueV2")}var Sr=m(ce()),c8=function(t,n){return!!(Qn(t,f.Accept,n)&&t.showDescription&&n.subtitle&&n.subtitle.length>0)},t5=function(t,n,o,r,a,l,u){var c=t.suggestionKind?t.suggestionKind(n):void 0,d=t.definition,g=n.title,h=g.length,p=Tn(d,r,n),C=pu(d,t.strings,a,p,r,o),v=l!==void 0?{type:l}:void 0,T={title:g,titleStyle:c!==void 0&&r!==f.MoreSources?Jr(t.fontTable||be,h):Ut(h,a,n.titleDecorations),tag:n.tag,tagStyle:iu(t.fontTable||be),icon:v,disabled:p,onClick:function(){t.onAction==null||t.onAction(r,o)},theme:St(a,c),strings:mu(t.strings.common),accessibilityRole:"menuitem",accessibilityLabel:t.suggestionAccessibilityLabel&&t.suggestionAccessibilityLabel(n),automationLabel:"CritiqueSuggestionButton_"+n.id,badgeProps:C,uiAnchorId:u};return c8(t.definition,n)&&(T.subtitle=n.subtitle,T.subtitleStyle=xi(t.fontTable||be)),T},r5=function(t,n,o,r,a,l,u,c){return(0,Sr.jsx)(Yr,{ref:n,buttonProps:r,menuProps:l,style:Si,theme:{splitMenuHoverBackground:a.suggestionMenuHoverBackground,splitMenuHoverForeground:a.suggestionMenuHoverForeground},strings:Ho(t.strings.common),accessibilityPositionInSet:u!==void 0?u:1,accessibilitySetSize:c!==void 0?c:1,layerHostId:t.layerHostId},o)};function h1(e,t,n,o,r){var a="NoTooltipForFooterOverflow",l=Xn(n);return l.map(function(u,c){var d=r5(e,c===0?t:void 0,c,t5(e,u,c,f.Accept,o,e.suggestionIcon?e.suggestionIcon(u):void 0),o,hu(n,o,e.strings,e.fontTable||be,e.suggestionOverflowActions||[],!!e.settings&&e.settings[a]==="true",void 0,c,e.automationId,e.layerHostId,e.onAction),c+1,l.length+(r??0));return c>0&&u.tag!==l[c-1].tag?(0,Sr.jsxs)(Sr.Fragment,{children:[(0,Sr.jsx)(Or,{color:e.theme&&e.theme.separator,style:nh},c),d]}):d})}var Je=function(t,n,o,r,a,l,u,c,d,g,h){var p=o===0?n:void 0;return r5(t,p,o,t5(t,{title:r,actions:u?[]:[a]},o,a,l,c,h),l,void 0,d,g)},n5=Ya.forwardRef(function(e,t){var n=e.definition,o=Ya.useContext(te),r=dt(e,o),a=h1(e,t,n,r);return a.length===0?Je(e,t,0,e.noSuggestionsLabel||e.strings.common("suggestionsGroupNoSuggestionsText"),f.Accept,r,!0):(0,Sr.jsx)(Sr.Fragment,{children:a})});n5.displayName="Suggestions";var p1=Ya.forwardRef(function(e,t){var n,o=e.suggestionsGroupAriaLabel,r;Xa(e)?r=e.getCustomSuggestions&&t?e.getCustomSuggestions(e,t):void 0:r=e.customSuggestions;var a=(n=r)!=null?n:(0,Sr.jsx)(n5,Object.assign({},e,{ref:t}));return Qh()?(0,Sr.jsx)(x,{align:A.Stretch,accessible:!1,children:a}):(0,Sr.jsx)(x,{align:A.Stretch,accessible:!0,accessibilityRole:"menu",accessibilityLabel:o,children:a})});p1.displayName="BodySuggestions";var b1=m(ce()),je=function(t,n){var o=function(a){var l=t.definition,u=a.tagAccessibilityLabel||a.tag||"";if(!l.showDescription||!a.subtitle||a.subtitle.trim().length===0)return u?t.strings.critique("suggestionWithTagAccessibilityLabel").replace("{0}",u).replace("{1}",a.title):"";var c=t.strings.critique("neuralRewriteSuggestionAccessibilityLabel");return c.replace("{0}",a.title).replace("{1}",a.subtitle)};return{suggestionKind:function(a){if(!(a.titleDecorations&&a.titleDecorations.length>0))return"suggestion"},suggestionOverflowActions:[],suggestionsGroupAriaLabel:t.strings.critique("suggestionsGroupAccessibilityLabel"),suggestionAccessibilityLabel:o,customBody:t.definition.isContentPending?(0,b1.jsx)(qt,{children:(0,b1.jsx)(gi,{shimmerCount:Vm,styles:Bh(t.spacing||Gn),render:function(){var a=Je(t,void 0,0,t.strings.common("suggestionsGroupLoadingSuggestionsText"),f.Accept,dt(t,!!(n!=null&&n.useFluentV9)),!0);return a}},0)}):void 0}};s();var Cu=m(R());var xt=m(ce()),o5=function(t){var n,o=t.definition,r=0,a=o.suggestions||[],l=function(S){return t.settings?t.settings[S]==="true":!1},u=!!l("FixSimilarByDefault"),c=!1,d="suggestion",g=t.critiqueProps;g.suggestionKind=function(){return d};var h=Cu.useContext(te),p=function(S){return S.title==="More Font Colors"||S.title==="Change Colors"||S.title==="Reset Graphic"},C=function(S){return S.title==="More Font Colors"?(t.strings.accChecker==null?void 0:t.strings.accChecker("moreFontColors"))||"":S.title==="Change Colors"?(t.strings.accChecker==null?void 0:t.strings.accChecker("changeColors"))||"":S.title==="Reset Graphic"&&(t.strings.accChecker==null?void 0:t.strings.accChecker("resetGraphic"))||""},v=function(S){return S.title==="More Font Colors"?f.MoreFontColors:S.title==="Change Colors"?f.ChangeColors:S.title==="Reset Graphic"?f.ResetGraphic:f.ApplyColor},T=function(S){return S.title==="More Font Colors"||S.title==="Change Colors"?"Color":S.title==="Reset Graphic"?"ArrowReset":"Color"},B=function(S){if(S.title==="More Font Colors")return"33cb7af4-ea75-4eab-a8a7-b835a2e2b218";if(S.title==="Change Colors")return"e4ef583b-8a3d-496f-aba6-a984f4634038"},F=a.map(function(k,S){var H;if(k.id||r++,p(k)){var W;return c=!0,Je(g,t.firstSuggestionRef,S,C(k),v(k),dt(g,h),!1,T(k),S+1,(W=t.definition.suggestions)==null?void 0:W.length,B(k))}return(0,xt.jsx)(Y,{ref:S===0?t.firstSuggestionRef:void 0,onClick:function(){t.onAction&&(u?t.onAction(f.FixSimilarColors,S):t.onAction(f.ApplyColor,S))},hoverRing:!0,style:du(),theme:Mh(k.title),automationLabel:"ColorPickerButton_".concat(t.automationId),tooltip:k.subtitle,accessibilityLabel:k.subtitle,accessibilityPositionInSet:S+1,accessibilitySetSize:(H=t.definition.suggestions)==null?void 0:H.length,accessibilityRole:"menuitem"},k.id?k.id:"noid".concat(r))}),w=Je(t.critiqueProps,Cu.useRef(null),0,t.strings.common("suggestionsGroupNoSuggestionsText"),f.Accept,dt(t.critiqueProps,h),!0);return c?(0,xt.jsx)(xt.Fragment,{children:F}):o.suggestions&&((n=o.suggestions)==null?void 0:n.length)>0?(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsxs)(x,{align:A.Start,justifyContent:ue.Start,style:Vh,children:[(0,xt.jsx)(V,{text:t.strings.accChecker("accColorCheckerSecondCardSubheader"),style:oh(t.theme,t.fontTable),accessibilityRole:"heading"}),(0,xt.jsx)(qt,{children:(0,xt.jsx)(x,{direction:_.LeftToRight,align:A.Start,justifyContent:ue.Start,style:fu,accessibilityRole:"menu",accessible:!0,children:F})})]}),l("FixSimilarTextColorIssuesEnabled")&&(0,xt.jsx)(x,{direction:_.LeftToRight,align:A.Start,justifyContent:ue.Start,style:Nh,children:(0,xt.jsx)(xo,{title:t.strings.accChecker("accColorCheckerFixSimilarColors"),defaultChecked:u,onChange:function(S){u=S},styles:{fontWeight:z.Normal,fontFamily:Ae,cssColor:t.theme.subheader}})})]}):(0,xt.jsx)(xt.Fragment,{children:w})};s();var i5=m(Dn()),Ja=m(R());var Ao=m(ce()),a5=function(t){var n,o,r,a,l=Xn(t.definition),u=Ja.useState((n=(o=l[0])==null?void 0:o.title)!=null?n:""),c=(0,i5.default)(u,2),d=c[0],g=c[1],h=Ja.useCallback(function(v){g(v||"")},[g]),p=Ja.useCallback(function(){var v=l.length>0?f.AutoGenAltText:f.MissingAltText;t.onAction==null||t.onAction(v,void 0,{action:"altText",description:d})},[t.onAction,d,l]),C=(0,Ao.jsx)(Ro,{accessibilityLabel:(r=t.strings.accChecker==null?void 0:t.strings.accChecker("altText"))!=null?r:"",placeholder:(a=t.strings.accChecker==null?void 0:t.strings.accChecker("enterDescription"))!=null?a:"",styles:{height:70,marginLeft:6,marginTop:3,marginBottom:3,marginRight:6},theme:{borderColor:t.theme.border,textColor:t.theme.text.resting},multiline:!0,onChange:h,defaultValue:d,ref:t.firstSuggestionRef},"altTextDescription");return(0,Ao.jsxs)(x,{align:A.Stretch,justifyContent:ue.Start,style:jh,children:[(0,Ao.jsx)(x,{direction:_.TopToBottom,align:A.Stretch,justifyContent:ue.Start,style:Wh(t.theme),children:C}),(0,Ao.jsx)(x,{direction:_.TopToBottom,align:A.Start,justifyContent:ue.Start,style:qh,children:(0,Ao.jsx)(Y,{onClick:p,style:Uh,theme:Gh(t.theme),automationLabel:"AltTextApproveButton",title:l.length>0?t.strings.accChecker==null?void 0:t.strings.accChecker("approve"):t.strings.accChecker==null?void 0:t.strings.accChecker("save"),disabled:d.length===0||d.trim().length===0,showBorderWhenDisabled:!0})})]})};s();var vu=m(R());var Su=m(ce()),s5=function(t){var n,o=vu.useContext(te),r=(n=t.suggestions)!=null?n:[],a=r.length,l="suggestion",u=t.critiqueProps;u.suggestionKind=function(){return l};var c=dt(u,o),d=r.map(function(h,p){if(h.title==="Split Cell")return Je(u,t.firstSuggestionRef,p,t.strings.accChecker==null?void 0:t.strings.accChecker("splitCell"),f.SplitCell,c,!1,"SplitCells");if(h.title==="Merge Cells")return Je(u,t.firstSuggestionRef,p,t.strings.accChecker==null?void 0:t.strings.accChecker("mergeCells"),f.MergeCells,c,!1,"MergeCells")}),g=Je(u,vu.useRef(null),0,u.strings.common("suggestionsGroupNoSuggestionsText"),f.Accept,c,!0);return(0,Su.jsx)(Su.Fragment,{children:a>0?d:g})};s();var yu=m(R());var xu=m(ce()),l5=function(t){var n,o=yu.useContext(te),r=(n=t.suggestions)!=null?n:[],a=r.length,l="suggestion",u=t.critiqueProps;u.suggestionKind=function(){return l};var c=dt(u,o),d=r.map(function(h,p){if(h.title==="Use First Row As Header")return Je(u,t.firstSuggestionRef,p,t.strings.accChecker==null?void 0:t.strings.accChecker("useFirstRowAsHeader"),f.UseFirstRowAsHeader,c,!1,"FirstRowAsHeader")}),g=Je(u,yu.useRef(null),0,u.strings.common("suggestionsGroupNoSuggestionsText"),f.Accept,c,!0);return(0,xu.jsx)(xu.Fragment,{children:a>0?d:g})};var es=m(ce());function ku(e,t){var n=u5.createRef(),o=e.definition.critiqueType;return Object.assign({},e,je(e,t),{definition:Object.assign({},e.definition,{header:d8(o,e),subheader:f8(o,e),explanationTitle:g8(o,e),explanation:m8(o,e)}),suggestionOverflowActions:[f.LearnMore],customBody:h8(o,e,n),customFooter:p8(o,e),firstSuggestionRef:n,focusCustomBody:function(){var a=e.definition.suggestions;return o===b.AltText&&(!a||a.length==0)&&n.current?(n.current.focus(),!0):!1},renderPreviewMarker:!1})}var d8=function(t,n){switch(t){case b.AccColorChecker:return n.strings.accChecker==null?void 0:n.strings.accChecker("accColorCheckerCardHeader");case b.AltText:return n.strings.accChecker==null?void 0:n.strings.accChecker("accCheckerAltTextCardHeader");case b.MergeSplitCell:return n.strings.accChecker==null?void 0:n.strings.accChecker("accCheckerMergeSplitCellCardHeader");case b.MissingTableHeader:return n.strings.accChecker==null?void 0:n.strings.accChecker("accCheckerMissingTableHeaderCardHeader");default:return}},f8=function(t,n){switch(t){case b.AccColorChecker:return n.strings.accChecker==null?void 0:n.strings.accChecker("accColorCheckerCardSubheader");case b.AltText:return n.strings.accChecker==null?void 0:n.strings.accChecker("accCheckerAltTextCardSubHeader");case b.MergeSplitCell:return n.strings.accChecker==null?void 0:n.strings.accChecker("accCheckerMergeSplitCellCardSubHeader");case b.MissingTableHeader:return n.strings.accChecker==null?void 0:n.strings.accChecker("accCheckerMissingTableHeaderCardSubHeader");default:return}},g8=function(t,n){switch(t){case b.AccColorChecker:return n.strings.accChecker==null?void 0:n.strings.accChecker("contrastIssueExplanationTitle");case b.AltText:return n.strings.accChecker==null?void 0:n.strings.accChecker("altTextIssueExplanationTitle");case b.MergeSplitCell:return n.strings.accChecker==null?void 0:n.strings.accChecker("mergeSplitCellIssueExplanationTitle");case b.MissingTableHeader:return n.strings.accChecker==null?void 0:n.strings.accChecker("missingTableHeaderIssueExplanationTitle");default:return}},m8=function(t,n){switch(t){case b.AccColorChecker:return n.strings.accChecker==null?void 0:n.strings.accChecker("contrastIssueExplanation");case b.AltText:return n.strings.accChecker==null?void 0:n.strings.accChecker("altTextIssueExplanation");case b.MergeSplitCell:return n.strings.accChecker==null?void 0:n.strings.accChecker("mergeSplitCellIssueExplanation");case b.MissingTableHeader:return n.strings.accChecker==null?void 0:n.strings.accChecker("missingTableHeaderIssueExplanation");default:return}},h8=function(t,n,o){var r,a,l,u,c,d,g;switch(t){case b.AccColorChecker:return(0,es.jsx)(o5,{definition:n.definition,strings:{accChecker:(r=n.strings.accChecker)!=null?r:function(){return""},common:(a=n.strings.common)!=null?a:function(){return""}},critiqueProps:n,theme:n.theme||vt,fontTable:n.fontTable||be,onAction:n.onAction,automationId:n.automationId,settings:n.settings,firstSuggestionRef:o});case b.AltText:return(0,es.jsx)(a5,{definition:n.definition,strings:{accChecker:(l=n.strings.accChecker)!=null?l:function(){return""}},theme:n.theme||vt,fontTable:n.fontTable||be,onAction:n.onAction,firstSuggestionRef:o});case b.MergeSplitCell:return(0,es.jsx)(s5,{suggestions:(u=n.definition.suggestions)!=null?u:[],strings:{accChecker:(c=n.strings.accChecker)!=null?c:function(){return""}},critiqueProps:n,firstSuggestionRef:o});case b.MissingTableHeader:return(0,es.jsx)(l5,{suggestions:(d=n.definition.suggestions)!=null?d:[],strings:{accChecker:(g=n.strings.accChecker)!=null?g:function(){return""}},critiqueProps:n,firstSuggestionRef:o});default:return}},p8=function(t,n){};s();var M5=m(Fe()),os=m(R());s();var R5=m(Fe()),Jn=m(R());s();var c5=m(Fe()),d5=m(R());s();function Tu(e,t,n,o){if(!(!n||!o))for(var r of o)switch(r.decorationType){case pe.Spelling:{var a=n.substr(r.start,r.length);return t===b.RepeatedWord?e("contextAccessibilityLabelForRepeatedWord").replace("{0}",a).replace("{1}",n):e("contextAccessibilityLabelForSpelling").replace("{0}",a).replace("{1}",n)}case pe.Grammar:{var l=n.substr(r.start,r.length);return e("contextAccessibilityLabelForGrammar").replace("{0}",l).replace("{1}",n)}case pe.Refinement:{var u=n.substr(r.start,r.length);return e("contextAccessibilityLabelForRefinement").replace("{0}",u).replace("{1}",n)}case pe.Modification:{var c=n.substr(r.start,r.length);return e("contextAccessibilityLabelForCorrection").replace("{0}",c).replace("{1}",n)}}}var ne=m(ce()),ts=function(e){return e[e.Exposition=0]="Exposition",e[e.Example=1]="Example",e}(ts||{}),f5=function(e){function t(){return e.apply(this,arguments)||this}(0,c5.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){var r=this.getDefinition(),a=r&&r.explanationTitle||"";a&&ra(a),ra(this.getExplanationText())},n.render=function(){var r=this.parseExplanationText(this.getExplanationText()),a=this.getDefinition(),l=a&&a.explanationTitle||"";return(0,ne.jsx)(ii,{children:(0,ne.jsxs)(yn,{componentStackStyle:eh(this.props.style,this.props.theme),stackAlignment:A.Stretch,stackDirection:_.TopToBottom,header:l,headerStyle:ah(this.props.theme,this.props.fontTable),children:[this.renderExplanationText(r),this.renderAccessibleColorsLearningTip(),this.renderMergeSplitCellsLearningTip()]})})},n.renderAccessibleColorsLearningTip=function(){var r,a,l,u,c,d;if(this.props.definition.critiqueType!==b.AccColorChecker)return null;var g={height:16,width:16},h={type:"ErrorBadge",primaryColor:"#E41323",style:g},p={type:"Completed",primaryColor:"#0B6A0B",style:g},C={backgroundColor:"#CCCCCC",borderRadius:2,minHeight:24,marginVertical:4,marginStart:10,paddingHorizontal:15},v={width:"50%"};return(0,ne.jsxs)(x,{children:[(0,ne.jsxs)(x,{direction:_.LeftToRight,children:[(0,ne.jsx)(x,{style:v,children:(0,ne.jsx)(V,{text:this.props.strings.critiqueExplanation("explanationTableBefore"),style:ru(this.props.theme,this.props.fontTable),accessibilityRole:"text",accessibilityHidden:!0})}),(0,ne.jsx)(x,{style:v,children:(0,ne.jsx)(V,{text:this.props.strings.critiqueExplanation("explanationTableAfter"),style:ru(this.props.theme,this.props.fontTable),accessibilityRole:"text",accessibilityHidden:!0})})]}),(0,ne.jsxs)(x,{direction:_.LeftToRight,children:[(0,ne.jsxs)(x,{style:v,children:[(0,ne.jsxs)(x,{direction:_.LeftToRight,children:[(0,ne.jsx)(x,{direction:_.LeftToRight,align:A.Center,style:{height:32},children:(0,ne.jsx)(ye,Object.assign({},h))}),(0,ne.jsx)(x,{direction:_.LeftToRight,align:A.Center,style:C,children:(0,ne.jsx)(V,{text:this.props.strings.critiqueExplanation("exampleText"),style:{cssColor:"#BECFFA",fontSize:this.props.fontTable.xsmall,fontWeight:z.SemiBold},accessibilityRole:"text",accessibilityHidden:!0})})]}),(0,ne.jsxs)(x,{direction:_.LeftToRight,children:[(0,ne.jsx)(x,{style:{width:26}}),(0,ne.jsx)(V,{text:(r=(a=(l=this.props.strings).accChecker)==null?void 0:a.call(l,"poorContrast"))!=null?r:"",style:Ga(this.props.theme,this.props.fontTable),accessibilityRole:"text",accessibilityHidden:!0})]})]}),(0,ne.jsxs)(x,{style:v,children:[(0,ne.jsxs)(x,{direction:_.LeftToRight,children:[(0,ne.jsx)(x,{direction:_.LeftToRight,align:A.Center,style:{height:32},children:(0,ne.jsx)(ye,Object.assign({},p))}),(0,ne.jsx)(x,{direction:_.LeftToRight,align:A.Center,style:C,children:(0,ne.jsx)(V,{text:this.props.strings.critiqueExplanation("exampleText"),style:{cssColor:"#002EA3",fontSize:this.props.fontTable.xsmall,fontWeight:z.SemiBold},accessibilityRole:"text",accessibilityHidden:!0})})]}),(0,ne.jsxs)(x,{direction:_.LeftToRight,children:[(0,ne.jsx)(x,{style:{width:26}}),(0,ne.jsx)(V,{text:(u=(c=(d=this.props.strings).accChecker)==null?void 0:c.call(d,"goodContrast"))!=null?u:"",style:Ga(this.props.theme,this.props.fontTable),accessibilityRole:"text",accessibilityHidden:!0})]})]})]})]})},n.renderMergeSplitCellsLearningTip=function(){var r=this,a=this.props.definition.critiqueType,l=this.props.strings.accChecker;if(a!==b.MergeSplitCell||!l)return null;var u=["mergeSplitCellStepsTitle","mergeSplitCellStepsLine1","mergeSplitCellStepsLine2","mergeSplitCellStepsLine3","mergeSplitCellStepsLine4","mergeSplitCellStepsEnd"];return(0,ne.jsx)(x,{children:u.map(function(c){return(0,ne.jsx)(V,{text:l==null?void 0:l(c),style:Ga(r.props.theme,r.props.fontTable),accessibilityRole:"text",accessibilityHidden:!0},c)})})},n.getDefinition=function(){return this.props.definition},n.getExplanationText=function(){var r=this.getDefinition();return r&&r.explanation?r.explanation.replace("\\r\\n","\r\n"):""},n.parseExplanationText=function(r){var a=[],l=[],u=null,c=!0,d=!1,g=0,h=0,p=0,C=this.props.strings.critiqueExplanation("explanationTableBefore"),v=this.props.strings.critiqueExplanation("explanationTableAfter"),T=r.split("\r\n");for(var B of T){if(B.length===0){u=null,c=!0,d=!1;continue}if(B[0]==="\u2022"){var F=B.indexOf(":"),w=B.substr(2,F-1),k=B.substr(F+2);c?(C=w,u=this.renderBeforeText(k,h++),c=!1,d=!0):d?(v=w,l.push((0,ne.jsxs)(Fo,{children:[this.renderTableHeaderText(C,h++,l.length===0,!0),this.renderTableHeaderText(v,p++,l.length===0,!1)]},g++)),l.push((0,ne.jsxs)(Fo,{children:[u,this.renderAfterText(k,p++)]},g++)),u=null,d=!1):(l.push((0,ne.jsxs)(Fo,{children:[this.renderPlaceholder(h++),this.renderExampleSeparator(p++)]},g++)),l.push((0,ne.jsxs)(Fo,{children:[this.renderPlaceholder(h++),this.renderAfterText(k,p++)]},g++)))}else l.length>0&&(a.push(this.renderCurrentTable(l)),l=[]),a.push(this.renderExplanationNonExampleText(B))}return l.length>0&&(a.push(this.renderCurrentTable(l)),l=[]),a},n.analyzeExampleText=function(r){var a={trimmedText:r,emphasisStart:-1,emphasisLength:-1},l=r.indexOf("{ul}");if(l!==-1){var u=r.indexOf("{ul 0}",l);if(u!==-1){var c=l+4,d=u-c;a.trimmedText=r.substr(0,l)+r.substr(c,d)+r.substr(u+6),a.emphasisStart=l,a.emphasisLength=d}}return a},n.renderTableHeaderText=function(r,a,l,u){var c=u?su():lu();return l?(0,ne.jsx)(Wn,{header:!0,style:c,children:(0,ne.jsx)(V,{text:r,style:ru(this.props.theme,this.props.fontTable),accessibilityRole:"text",accessibilityHidden:!0})},a):(0,ne.jsx)(Wn,{style:c,children:"\xA0"},a)},n.renderCurrentTable=function(r){return{explanationPartType:ts.Example,data:r}},n.getDecorationType=function(r){switch(r){case b.Grammar:return pe.Grammar;case b.Refinement:return pe.Refinement;default:return pe.None}},n.renderBeforeText=function(r,a){return this.renderExampleText(r,a,this.getDecorationType(this.getDefinition().critiqueType),this.props.strings.critiqueExplanation("explanationTableBefore"),!0)},n.renderAfterText=function(r,a){return this.renderExampleText(r,a,pe.Modification,this.props.strings.critiqueExplanation("explanationTableAfter"),!1)},n.renderExampleText=function(r,a,l,u,c){var d=[],g=this.analyzeExampleText(r);g.emphasisStart!==-1&&g.emphasisLength!==-1&&d.push({start:g.emphasisStart,length:g.emphasisLength,decorationType:l});var h=u+" "+Tu(this.props.strings.textFormatting,this.getDefinition().critiqueType,g.trimmedText,d),p=c?su():lu();return(0,ne.jsx)(Wn,{style:p,children:(0,ne.jsx)(V,{text:g.trimmedText,style:Ga(this.props.theme,this.props.fontTable),formatting:Ut(r.length,this.props.theme,d),accessibilityRole:"text",accessibilityLabel:h})},a)},n.renderExampleSeparator=function(r){return(0,ne.jsx)(Wn,{style:lu(),children:(0,ne.jsx)(V,{text:this.props.strings.critiqueExplanation("explanationTableSeparator"),style:lh(this.props.theme,this.props.fontTable),accessibilityRole:"text"})},r)},n.renderPlaceholder=function(r){return(0,ne.jsx)(Wn,{style:su()},r)},n.renderExplanationNonExampleText=function(r){return{explanationPartType:ts.Exposition,data:[(0,ne.jsx)(V,{text:r,style:sh(this.props.theme,this.props.fontTable),accessibilityRole:"text"},0)]}},n.renderExplanationText=function(r){var a=[];for(var l of r)switch(l.explanationPartType){case ts.Exposition:l.data[0]&&a.push(l.data[0]);break;case ts.Example:a.push((0,ne.jsx)($l,{style:Ah(),accessibilityLabel:this.props.strings.critiqueExplanation("explanationTableAccessibilityLabel"),children:l.data}));break}return a},t}(d5.PureComponent);s();var y5=m(R());s();var or=m(Ia());var Bu=(0,or.default)((0,or.default)((0,or.default)((0,or.default)({},Le.Text,{v8:(0,or.default)((0,or.default)({},Rt.light,{type:"Text",textColor:"#616161"}),Rt.dark,{type:"Text",textColor:"#616161"}),v9:{type:"Text",textColor:"var(--editorTextBrandingTextColor, var(--colorNeutralForeground2))"}}),Le.Icon,{v8:(0,or.default)((0,or.default)({},Rt.light,{type:"Icon",iconColor:"#616161"}),Rt.dark,{type:"Icon",iconColor:"#616161"}),v9:{type:"Icon",iconColor:"var(--editorIconBrandingIconColor, var(--colorNeutralForeground2))"}}),Le.IconButton,{v8:(0,or.default)((0,or.default)({},Rt.light,{type:"IconButton",background:{resting:"#FFFFFF",hover:"#F5F5F5",pressed:"#E0E0E0",disabled:"#FFFFFF"},icon:{resting:"#616161",disabled:"#BDBDBD"},focusRing:"#323130"}),Rt.dark,{type:"IconButton",background:{resting:"#1b1a19",hover:"#383838",pressed:"#2E2E2E",disabled:"#383838"},icon:{resting:"#82ABF1"},focusRing:"#323130"}),v9:{type:"IconButton",background:{resting:"var(--editorIconButtonBrandingBackgroundResting, var(--colorNeutralBackground1))",hover:"var(--editorIconButtonBrandingBackgroundHover, var(--colorNeutralBackground1Hover))",pressed:"var(--editorIconButtonBrandingBackgroundPressed, var(--colorNeutralBackground1Pressed))",disabled:"var(--editorIconButtonBrandingBackgroundDisabled, var(--colorNeutralBackgroundDisabled))"},icon:{resting:"var(--editorIconButtonBrandingIconResting, var(--colorNeutralForeground2))",disabled:"var(--editorIconButtonBrandingIconDisabled, var(--colorNeutralForegroundDisabled))"},focusRing:"var(--editorIconButtonBrandingFocusRing, var(--colorStrokeFocus2))"}}),Le.IconAndTextButton,{v8:(0,or.default)((0,or.default)({},Rt.light,{type:"IconAndTextButton",background:{resting:"#FFFFFF",hover:"#F5F5F5",pressed:"#E0E0E0",disabled:"#FFFFFF"},icon:{resting:"#185ABD",disabled:"#BDBDBD"},title:{resting:"#185ABD",disabled:"#BDBDBD"},tooltip:{textColor:"#201F1E"},focusRing:"#323130"}),Rt.dark,{type:"IconAndTextButton",background:{resting:"#1b1a19",hover:"#383838",pressed:"#2E2E2E",disabled:"#383838"},icon:{resting:"#6794D7"},title:{resting:"#6794D7"},tooltip:{textColor:"#FFFFFF"},focusRing:"#323130"}),v9:{type:"IconAndTextButton",background:{resting:"var(--editorIconAndTextButtonBrandingBackgroundResting, var(--colorNeutralBackground1))",hover:"var(--editorIconAndTextButtonBrandingBackgroundHover, var(--colorNeutralBackground1Hover))",pressed:"var(--editorIconAndTextButtonBrandingBackgroundPressed, var(--colorNeutralBackground1Pressed))",disabled:"var(--editorIconAndTextButtonBrandingBackgroundDisabled, var(--colorNeutralBackgroundDisabled))"},icon:{resting:"var(--editorIconAndTextButtonBrandingIconResting, var(--colorNeutralForeground2BrandHover))",hover:"var(--editorIconAndTextButtonBrandingIconHover, var(--colorNeutralForeground2BrandHover))",disabled:"var(--editorIconAndTextButtonBrandingIconDisabled, var(--colorNeutralForegroundDisabled))"},title:{resting:"var(--editorIconAndTextButtonBrandingIconResting, var(--colorNeutralForeground2BrandHover))",hover:"var(--editorIconAndTextButtonBrandingIconHover, var(--colorNeutralForeground2BrandHover))",disabled:"var(--editorIconAndTextButtonBrandingIconDisabled, var(--colorNeutralForegroundDisabled))"},focusRing:"var(--editorIconAndTextButtonBrandingFocusRing, var(--colorStrokeFocus2))"}});function C1(e,t){var n=Object.assign({},e);return t&&n!=null&&n.hover&&(n.resting=n.hover),n}var Io=function(t,n){var o,r;if(t!==void 0){t===Le.MonochromeIcon&&(t=Le.Icon);var a=Bu[t];if(a!==void 0){var l=(o=n==null?void 0:n.themeType)!=null?o:Rt.light;return n!=null&&n.useFluentV9?a.v9:(r=a.v8[l])!=null?r:a.v9}}};function g5(e,t,n){var o=(e==null?void 0:e.type)==="Text"?e:Io(Le.Text,n);return{fontWeight:z.SemiBold,fontSize:t.xsmall,cssColor:o==null?void 0:o.textColor}}function m5(e,t,n){var o=(e==null?void 0:e.type)==="Text"?e:Io(Le.Text,n);return{fontWeight:z.SemiBold,fontFamily:Ae,fontSize:t.small,cssColor:o==null?void 0:o.textColor,userSelectable:!1}}function v1(e,t){var n=(e==null?void 0:e.type)==="Icon"?e:Io(Le.Icon,t);return n.iconColor}function h5(e,t,n){var o,r=(e==null?void 0:e.type)==="IconButton"?e:Io(Le.IconButton,n),a=C1(r.icon,t);return Object.assign({},r,{background:Object.assign({},r.background,{resting:t&&(o=r.background.hover)!=null?o:r.background.resting}),title:a,icon:a,border:t?r.focusRing:void 0})}function p5(e,t,n){var o,r=(e==null?void 0:e.type)==="IconAndTextButton"?e:Io(Le.IconAndTextButton,n);return Object.assign({},r,{background:Object.assign({},r.background,{resting:t&&(o=r.background.hover)!=null?o:r.background.resting}),title:C1(r.title,t),icon:C1(r.icon,t),border:t?r.focusRing:void 0})}function b5(e){return{textAlign:rt.Center,borderRadius:4,iconFontSize:e.xlarge,paddingHorizontal:7,paddingBottom:0,textHorizontalPadding:0,iconTextSpacing:3}}function C5(e){return{fontWeight:z.SemiBold,fontFamily:Ae,fontSize:e.small}}function v5(e){return{textAlign:rt.Center,borderRadius:4,iconFontSize:e.xsmall}}var We=m(ce()),x5=m(R()),k5=function(t){var n=t.brandingMode,o=t.theme,r={useFluentV9:y5.useContext(te)};switch(n){case Le.Text:var a=t.strings,l=t.fontTable,u=a.critique("microsoftEditorBranding"),c=g5(o,l,r),d=a.critique("microsoftEditorBrandingAccessibilityLabel"),g=(0,We.jsx)(V,{text:u,accessibilityLabel:d,style:c});return S1(g);case Le.Icon:return S1((0,We.jsx)(ye,{type:"Editor",primaryColor:v1(o,r)}));case Le.MonochromeIcon:return S1((0,We.jsx)(ye,{type:"EditorSingleColor",primaryColor:v1(o,r)}));case Le.IconButton:return b8(t,r);case Le.IconAndTextButton:return C8(t,r);case Le.CustomImageAndText:return v8(t,r);default:return(0,We.jsx)(We.Fragment,{})}},S1=function(t){return(0,We.jsx)(x,{direction:_.LeftToRight,align:A.Center,style:{paddingHorizontal:6,paddingVertical:6},children:t})},b8=function(t,n){var o=t.definition,r=t.strings,a=t.theme,l=t.automationId,u=t.onAction,c=t.fontTable,d=t.htmlId,g=t.hasKeyboardFocus,h=t.isDisabled,p=t.showPreviewTooltipForBranding,C=t.layerHostId,v=h5(a,g,n),T=v5(c),B=p?r.critique("editorButtonCiqPreviewTooltipContent"):r.critique("editorButtonTooltipContent");return(0,We.jsx)(x,{direction:_.LeftToRight,align:A.Stretch,children:T5(o,v,T,r,void 0,void 0,B,l,u,d,h,g,C)})},C8=function(t,n){var o=t.definition,r=t.strings,a=t.theme,l=t.automationId,u=t.onAction,c=t.fontTable,d=t.htmlId,g=t.hasKeyboardFocus,h=t.isDisabled,p=t.showPreviewTooltipForBranding,C=t.layerHostId,v=p5(a,g,n),T=b5(c),B=r.critique("editorButtonText"),F=C5(c),w=p?r.critique("editorButtonCiqPreviewTooltipContent"):r.critique("editorButtonTooltipContent");return(0,We.jsx)(x,{direction:_.LeftToRight,align:A.Stretch,children:T5(o,v,T,r,B,F,w,l,u,d,h,g,C)})},T5=function(t,n,o,r,a,l,u,c,d,g,h,p,C){var v=vr(f.OpenEditorPane),T=v!==void 0?{type:v}:void 0,B={appearance:"subtle",onClick:function(){d==null||d(f.OpenEditorPane,void 0,void 0)},title:a,titleRootStyle:l,tooltip:u,tooltipProps:C?{layerHostId:C}:void 0,disabled:h,style:o,theme:n,accessibilityLabel:ki(t,r,f.OpenEditorPane),automationLabel:m1(f.OpenEditorPane,c),icon:T,htmlId:g,hasKeyboardFocus:p};return(0,x5.createElement)(Y,Object.assign({},B,{key:f.OpenEditorPane.toString()}))},v8=function(t,n){var o=t.theme,r=t.fontTable,a=t.definition;return!a.brandingImageUri||!a.brandingText?(0,We.jsx)(We.Fragment,{}):(0,We.jsx)(x,{direction:_.LeftToRight,align:A.Center,style:{paddingHorizontal:8,paddingVertical:8},children:(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)(Ol,{uri:a.brandingImageUri,style:{width:20,height:20}}),(0,We.jsx)(x,{style:{paddingHorizontal:3},children:(0,We.jsx)(We.Fragment,{})}),(0,We.jsx)(V,{text:a.brandingText,style:m5(o,r,n)})]})})};s();function ir(e,t){var n;return(n=(t==null?void 0:t[e])==="true")!=null?n:!1}function Yn(e,t){var n=vr(e);return!ir("RenderFooterIcons",t)||!n||!jn({type:n})}function B5(e,t){var n=e.actions,o=e.critiqueType,r=e.isContentPending,a=e.flagType;if(n===void 0||n.length===0)return[];var l=Jh(o,a),u=ir("EnableFeedback",t),c=ir("FirstActionTurnOffAccChecker",t),d;switch(o){case b.Refinement:case b.Topic:var g=[l];yt(e,f.Feedback)&&(!Yn(f.Feedback,t)||o===b.Topic)&&g.push(f.Feedback),d=g;break;case b.Spelling:{d=[l,yt(e,f.Feedback)&&!Yn(f.Feedback,t)?f.Feedback:void 0,Yn(f.AddToDictionary,t)?void 0:f.AddToDictionary];break}case b.AccColorChecker:{var h=ir("AllowTextColorIssueEnabled",t),p=[];h&&p.push(f.Allow),!h&&c&&p.push(f.TurnOffAccChecker),p.push(f.OpenColorPicker),d=p;break}case b.AltText:case b.MissingTableHeader:case b.MergeSplitCell:d=[c?f.TurnOffAccChecker:void 0];break;case b.RepeatedWord:case b.SimilarityChecker:case b.DictationCorrection:case b.TextPenAlternates:d=[l];break;case b.Grammar:d=[l,u&&!Yn(f.Feedback,t)?f.Feedback:void 0];break;case b.TonalRewrite:d=[l,u?f.Feedback:void 0];break;case b.NeuralRewrite:r&&(d=[]);var C=Xn(e);d=C.length===0?[f.Dismiss]:[f.Feedback];break;case b.InlineSuggestion:if(a!==void 0)switch(a){case Me.Location:case Me.SatoriEntity:case Me.Topic:d=[l];break;case Me.File:case Me.Person:d=[l,f.Feedback];break;default:d=[];break}else d=[l,yt(e,f.Feedback)&&!Yn(f.Feedback,t)?f.Feedback:void 0];break;case b.AddinCritique:d=[l];break;default:d=[];break}return d.filter(function(v){return v!==void 0&&n.indexOf(v)!==-1})}function F5(e,t){var n=e.actions,o=e.critiqueType,r=e.flagType;if(n===void 0||n.length===0)return[];var a=ir("EnableFeedback",t),l=ir("FirstActionTurnOffAccChecker",t),u;switch(o){case b.Spelling:u=[f.IgnoreOnce,Yn(f.AddToDictionary,t)?f.AddToDictionary:void 0,f.ToggleContext,f.ToggleDescription,f.Options,f.ManageLanguages];break;case b.RepeatedWord:u=[f.ToggleContext,f.Options];break;case b.Grammar:u=[f.IgnoreAll,f.IgnoreRule,f.ShowExplanation,f.ToggleContext,a&&Yn(f.Feedback,t)?f.Feedback:void 0,f.Options];break;case b.Refinement:u=[f.IgnoreRule,f.ToggleContext,a&&Yn(f.Feedback,t)?f.Feedback:void 0,f.Options];break;case b.TonalRewrite:u=[f.IgnoreAll,f.IgnoreRule,f.ToggleContext,f.Options];break;case b.Topic:u=[f.IgnoreOnce,f.IgnoreRule,f.ToggleContext,f.Options];break;case b.NeuralRewrite:u=[f.ToggleContext,f.ToggleDescription];break;case b.SimilarityChecker:u=[f.Feedback,f.LearnMore];break;case b.AccColorChecker:{var c=ir("AllowTextColorIssueEnabled",t);u=[ir("BulkFixTextColorIssuesEnabled",t)?f.FixAllColors:void 0,c?f.AllowAll:void 0,c||!l?f.TurnOffAccChecker:void 0,f.Feedback];break}case b.AltText:case b.MergeSplitCell:case b.MissingTableHeader:u=[l?void 0:f.TurnOffAccChecker];break;case b.InlineSuggestion:if(r!==void 0)switch(r){case Me.Location:case Me.SatoriEntity:u=[f.IgnoreRule,f.Feedback,f.ReadAloud,f.Options];break;case Me.File:case Me.Person:u=[f.IgnoreRule,f.IgnoreAll,f.ReadAloud,f.Options];break;case Me.Topic:u=[f.Feedback,f.Options];break;default:u=[];break}u=[f.IgnoreRule,f.IgnoreAll,f.ReadAloud,f.Options];break;default:u=[];break}return u.filter(function(d){return d!==void 0&&n.indexOf(d)!==-1})}var nt=m(ce()),Ti=function(t){return"footerButton"+t.toString()},rs=function(e){function t(o){var r;return r=e.call(this,o)||this,r.defaultActionButtonRef=Jn.createRef(),r.overflowMenuRef=Jn.createRef(),r.overflowMenuRefV9=Jn.createRef(),r.isFirstTimeRendering=Jn.createRef(),r.actionIds=Jn.createRef(),r.state={actionIdShowAppearFocusMap:{}},r.addActionId=r.addActionId.bind(r),r.isFirstTimeRendering.current=!0,r}(0,R5.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){if(this.props.setFooterActionIdList){var r;this.props.setFooterActionIdList((r=this.actionIds.current)!=null?r:[])}this.isFirstTimeRendering.current=!1},n.componentDidUpdate=function(r,a){var l=this,u=this.props.selectedButtonIndex,c=r.selectedButtonIndex;u!==c&&(c!==void 0&&this.setState(function(d){if(l.actionIds.current!==null){var g=l.actionIds.current[c],h=Object.assign({},d.actionIdShowAppearFocusMap);return h[g]=!1,Object.assign({},l.state,{actionIdShowAppearFocusMap:h})}return d}),u!==void 0&&this.setState(function(d){if(l.actionIds.current!==null){var g=l.actionIds.current[u],h=Object.assign({},d.actionIdShowAppearFocusMap);return h[g]=!0,Object.assign({},l.state,{actionIdShowAppearFocusMap:h})}return d}))},n.render=function(){return(0,nt.jsxs)(x,{direction:_.LeftToRight,style:this.getFooterStyle(),align:A.Stretch,children:[this.renderIcons(),(0,nt.jsx)(x,{style:{flexibleSize:!0}}),this.props.definition.critiqueType===b.AccColorChecker||this.props.definition.critiqueType===b.AltText||this.props.definition.critiqueType===b.MergeSplitCell||this.props.definition.critiqueType===b.MissingTableHeader?this.renderFooterButton(f.Accessibility):null,this.renderBrandingOrPrevNextButton()]})},n.focus=function(){if(this.defaultActionButtonRef.current)this.defaultActionButtonRef.current.focus();else if(this.context){var r;(r=this.overflowMenuRefV9.current)==null||r.focus()}else{var a;(a=this.overflowMenuRef.current)==null||a.focus()}},n.openOverflowMenu=function(r){if(this.context){var a;(a=this.overflowMenuRefV9.current)==null||a.openMenu(r)}else{var l;(l=this.overflowMenuRef.current)==null||l.openMenu()}},n.componentWillUnmount=function(){this.props.setFooterActionIdList&&this.props.setFooterActionIdList([]),this.isFirstTimeRendering.current=null},n.renderIcons=function(){return this.props.definition.onlyShowFeedbackButton?this.renderFeedbackIcon():(0,nt.jsxs)(nt.Fragment,{children:[this.renderDefaultActionButtons(),this.renderExplanation(),this.renderOverflowMenu()]})},n.renderFeedbackIcon=function(){var r=this.props,a=r.definition,l=r.strings,u=r.layerHostId,c=r.onAction,d=r.automationId;return yt(a,f.Feedback)?(this.addActionId(f.Feedback),Yh(a,this.getTheme(),Jl(this.props.footerButtonStyle),l,d,c,this.state.actionIdShowAppearFocusMap[f.Feedback],void 0,u)):null},n.addActionId=function(r){Tn(this.props.definition,r)||this.isFirstTimeRendering.current&&(this.actionIds.current===null&&(this.actionIds.current=[]),this.actionIds.current.push(r))},n.renderOverflowMenu=function(){var r=this.props,a=r.definition,l=r.layerHostId,u=r.strings,c=r.onAction,d=r.automationId,g=a.critiqueType,h=a.isContentPending;if(g===b.NeuralRewrite&&h||g===b.NeuralRewrite&&ir("renderNRForAIFeedback",this.props.settings)||g===b.DictationCorrection)return null;var p=this.state.actionIdShowAppearFocusMap[f.Overflow],C=hu(a,this.getTheme(),u,this.getFontTable(),F5(a,this.props.settings),ir("NoTooltipForFooterOverflow",this.props.settings),u.critique("footerSeeMoreActionsAccessibilityLabel"),void 0,d,l,c,p,void 0,Object.assign({},this.props.overflowMenuButtonStyle,{calloutStyle:this.props.overflowMenuCalloutStyle}));return C?(this.addActionId(f.Overflow),(0,nt.jsx)(To,Object.assign({ref:this.overflowMenuRef,refV9:this.overflowMenuRefV9},C,{icon:{type:"Overflow",filled:!0}}))):null},n.getTheme=function(r){var a,l=(a=this.props.theme)!=null?a:this.context?Mr:vt,u=l.altIcon;return r===f.Accessibility&&l.accessibilityIcon?Object.assign({},l,{altIcon:Object.assign({},u,{resting:l.accessibilityIcon})}):l},n.getBrandingTheme=function(){var r,a;return(r=(a=this.props.theme)==null?void 0:a.branding)!=null?r:Io(this.props.definition.brandingMode,{useFluentV9:!!this.context})},n.getFontTable=function(){var r;return(r=this.props.fontTable)!=null?r:be},n.getFooterStyle=function(){var r;return(r=this.props.footerContainerStyle)!=null?r:vi},n.renderFooterButton=function(r,a,l){var u,c=this.props,d=c.definition,g=c.strings,h=c.onAction,p=c.automationId;if(!yt(d,r))return null;var C=Et(d,g,r);if(!C)return null;this.addActionId(r);var v="CritiqueActionButton_".concat(C,"_").concat(p),T=Tn(d,r),B=r===f.IgnoreOnce||r===f.IgnoreAll?pu(d,g,this.getTheme(),T,r,void 0,{horizontalSpacing:(u=this.getFooterStyle())==null?void 0:u.paddingHorizontal}):void 0;if(!this.shouldRenderFooterIconActionInOverflow(r))return wo(d,this.getTheme(r),r,Jl(this.props.footerButtonStyle),g,void 0,void 0,void 0,C,v,a?this.defaultActionButtonRef:void 0,B,p,h,!0,Ti(r),this.state.actionIdShowAppearFocusMap[r],l,void 0,this.props.layerHostId);var F={appearance:"subtle",title:C,titleStyle:$n(this.getFontTable(),C.length),onClick:function(){h==null||h(r)},style:Jl(this.props.footerButtonStyle),theme:St(this.getTheme(r)),automationLabel:v,disabled:T};return(0,nt.jsx)(Y,Object.assign({ref:this.defaultActionButtonRef},F),r)},n.renderDefaultActionButtons=function(){var r=this,a=this.props,l=a.definition,u=a.strings,c=a.onAction,d=a.automationId,g=l.critiqueType,h=B5(l,this.props.settings);return g!==b.NeuralRewrite?(0,nt.jsxs)(nt.Fragment,{children:[h.map(function(p,C){return p===f.OpenColorPicker?r.renderFooterButton(f.OpenColorPicker,C===0,"ACCF2E3E-7EC7-46DF-AB25-A1AFEDBC6B7B"):r.renderFooterButton(p,C===0)}),g===b.AltText&&this.renderFooterButton(f.MarkAsDecorative),g===b.MissingTableHeader&&this.renderFooterButton(f.MarkAsLayout)]}):h.length===0?(0,nt.jsx)(gi,{shimmerCount:1,styles:Fh(this.getSpacing())}):(0,nt.jsx)(nt.Fragment,{children:h.map(function(p){return p===f.Dismiss?(r.addActionId(p),wo(l,r.getTheme(p),f.Dismiss,s1(r.getFontTable()),u,void 0,void 0,void 0,void 0,void 0,r.defaultActionButtonRef,void 0,d,c,void 0,void 0,void 0,void 0,void 0,r.props.layerHostId)):r.renderFooterButton(p)})})},n.renderExplanation=function(){var r=this.props,a=r.automationId,l=r.footerButtonStyle,u=r.layerHostId,c=r.onAction,d=r.overflowMenuCalloutStyle,g=r.strings,h=r.style,p=Object.assign({},this.props.definition),C=this.getTheme(),v=this.getFontTable();if(!p.explanationTitle||!p.explanation)return null;var T={appearance:"subtle",onClick:function(){c==null||c(f.ShowExplanation)},style:hh(v,l),theme:St(C,void 0,!0),tooltip:Et(p,g,f.ShowExplanation),accessibilityLabel:ki(p,g,f.ShowExplanation),automationLabel:"CritiqueExplanationButton_".concat(a),icon:{type:"ShowExplanation",filled:!0},tooltipProps:{layerHostId:u}};this.addActionId(f.ShowExplanation);var B={definition:p,strings:g,style:h,theme:C,fontTable:v};return(0,nt.jsx)(Fl,{calloutAccessibilityLabel:g.critique("explanationFlyoutAccessibilityLabel"),calloutStyle:d,layerHostId:u,buttonAccessibilityRole:"button",buttonProps:T,showCloseButton_DONOTUSE:!0,closeButtonAccessibilityLabel_DONOTUSE:g.critique("explanationFlyoutCloseLabel"),children:(0,nt.jsx)(f5,Object.assign({},B))})},n.renderBrandingOrPrevNextButton=function(){var r=this.props,a=r.definition,l=r.showPreviewTooltipForBranding,u=a.brandingMode;if(bu(a))return this.renderPrevNextButtons();if(u===void 0)return null;var c=this.props,d=c.strings,g=c.automationId,h=c.layerHostId,p=c.onAction,C=Tn(a,f.OpenEditorPane);return(u===Le.IconButton||u===Le.IconAndTextButton)&&this.addActionId(f.OpenEditorPane),(0,nt.jsx)(k5,{strings:d,theme:this.getBrandingTheme(),fontTable:this.getFontTable(),definition:a,automationId:g,brandingMode:u,onAction:p,htmlId:Ti(f.OpenEditorPane),hasKeyboardFocus:C?void 0:this.state.actionIdShowAppearFocusMap[f.OpenEditorPane],isDisabled:C,showPreviewTooltipForBranding:l,layerHostId:h})},n.renderPrevNextButtons=function(){if(!yt(this.props.definition,f.Previous)||!yt(this.props.definition,f.Next))return null;var r=s1(this.getFontTable()),a=!ir("NoTooltipForPrevNext",this.props.settings);return this.addActionId(f.Previous),this.addActionId(f.Next),(0,nt.jsxs)(x,{direction:_.LeftToRight,align:A.Stretch,children:[wo(this.props.definition,this.getTheme(),f.Previous,r,this.props.strings,void 0,void 0,void 0,a?Et(this.props.definition,this.props.strings,f.Previous):void 0,void 0,void 0,void 0,this.props.automationId,this.props.onAction,!0,Ti(f.Previous),this.state.actionIdShowAppearFocusMap[f.Previous],void 0,void 0,this.props.layerHostId),wo(this.props.definition,this.getTheme(),f.Next,r,this.props.strings,void 0,void 0,void 0,a?Et(this.props.definition,this.props.strings,f.Next):void 0,void 0,void 0,void 0,this.props.automationId,this.props.onAction,!0,Ti(f.Next),this.state.actionIdShowAppearFocusMap[f.Next],void 0,void 0,this.props.layerHostId)]})},n.shouldRenderFooterIconActionInOverflow=function(r){var a=vr(r);return!ir("RenderFooterIcons",this.props.settings)||!a||!jn({type:a})},n.getSpacing=function(){var r;return(r=this.props.spacing)!=null?r:Gn},t}(Jn.Component);rs.contextType=te;s();var Lj=m(R());var y1=m(ce()),H5=function(t){return(0,y1.jsx)(x,{direction:_.LeftToRight,style:wh,align:A.Stretch,children:(0,y1.jsx)(hr,{text:t.text,url:t.url,theme:Rh(t.theme),style:Hh(t.fontTable)})})};s();var L5=m(R());s();function w5(e){return{paddingHorizontal:Un,paddingVertical:9,backgroundColor:e.addOnFooterBackground}}function x1(e,t,n){return{fontSize:t.xxsmall,fontFamily:Ae,cssColor:n?e.addOnAction:e.addOnFooterMessage,underlineType:n?Pe.Single:Pe.None,wrapMode:n?cr.NoWrap:cr.Normal}}function A5(e){return{fontSize:e.xxsmall,fontWeight:z.Normal,underlineType:Pe.Single}}function I5(e){return{background:{resting:"transparent"},title:{resting:e.addOnAction||e.background.resting}}}function E5(e){return e.xsmall}function P5(e){return e.premiumEmphasis}var Kt=m(ce()),O5=function(t){var n=L5.useContext(te);if(!t.addOnFooterData)return null;var o=t.addOnFooterData,r={onClick:function(){t.onAction==null||t.onAction(f.AddOnFooterAction)},style:rh,theme:I5(t.theme),automationLabel:"AddonFooterButton_".concat(o.actionText,"_").concat(t.automationId)};return(0,Kt.jsxs)(x,{style:w5(t.theme),direction:_.LeftToRight,align:A.Center,accessible:!0,accessibilityLabel:o.message,children:[o.icon&&(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsx)(ye,{type:o.icon,primaryColor:n?"var(--editorPremiumEmphasis)":P5(t.theme),fontSize:E5(t.fontTable)}),(0,Kt.jsx)(x,{style:{width:8}})]}),y8(t),(0,Kt.jsx)(x,{style:{width:4}}),n?(0,Kt.jsx)("div",{style:{paddingBottom:5},children:(0,Kt.jsx)(hr,{text:o.actionText,style:A5(t.fontTable),onClick:function(){t.onAction==null||t.onAction(f.AddOnFooterAction)}})}):(0,Kt.jsx)(Y,Object.assign({},r,{children:(0,Kt.jsx)(V,{text:o.actionText,style:x1(t.theme,t.fontTable,!0)})}))]})},y8=function(t){if(t.addOnFooterData){var n=t.addOnFooterData;return(0,Kt.jsx)(V,{text:n.message,style:x1(t.theme,t.fontTable,!1),formatting:n.footerDecorations?Ut(n.message.length,t.theme,n.footerDecorations):void 0})}};s();var T1=m(R());s();var $j=m(R());var ns=m(ce()),k1=120,_5=function(t){var n=t.definition,o=Tu(t.strings.textFormatting,n.critiqueType,n.contextText,n.contextDecorations),r=yt(n,f.ReadContext),a=r?Object.assign({},a1,{flexibleSize:!0}):a1,l=(0,ns.jsx)(x,{style:a,accessibleLive:gr.Polite,children:n.contextText&&(0,ns.jsx)(V,{text:en(n.contextText,k1),style:ih(t.theme,t.fontTable),formatting:Ut(n.contextText.length,t.theme,n.contextDecorations),accessibilityLabel:o})});if(!r)return l;var u="NoTooltipForReadContext",c=t.settings&&t.settings[u]==="true"?void 0:Et(n,t.strings,f.ReadContext);return(0,ns.jsxs)(x,{direction:_.LeftToRight,align:A.Center,children:[l,wo(n,t.theme,f.ReadContext,mh(t.fontTable),t.strings,{action:"readcontext",context:o||n.contextText},void 0,void 0,c,void 0,void 0,void 0,t.automationId,t.onAction)]})};var Pt=m(ce()),x8=function(t){return(0,Pt.jsx)(V,{text:t.strings.critique("previewHeaderLabel"),style:kh(t.theme,t.fontTable)})},k8=function(t){var n=!!T1.useContext(te),o=t.definition,r=t.renderPreviewMarker?(0,Pt.jsx)(x8,{definition:o,theme:t.theme,fontTable:t.fontTable,strings:t.strings}):void 0,a=o.header,l=a?(0,Pt.jsx)(V,{text:a,style:eu(t.theme,t.fontTable,{useFluentV9:n}),accessibilityRole:"heading"}):null,u=l?o.showPremiumIcon?(0,Pt.jsxs)(x,{direction:_.LeftToRight,children:[(0,Pt.jsx)(ye,{type:"PremiumDiamond",primaryColor:t.theme.header}),(0,Pt.jsx)(x,{style:{minWidth:6}}),l]}):l:null;return t.renderPreviewMarker?(0,Pt.jsxs)(x,{align:A.Stretch,direction:_.LeftToRight,children:[u,(0,Pt.jsx)(x,{style:{flexibleSize:!0,minWidth:16}}),r]}):u},T8=function(t){var n=t.definition.subheader,o=T1.useContext(te);return n?(0,Pt.jsx)(V,{text:n,style:Ua(t.theme,t.fontTable,{useFluentV9:!!o}),accessibilityRole:"heading"}):null},D5=function(t){var n=t.definition;return(0,Pt.jsxs)(x,{style:Ci,align:A.Stretch,children:[(0,Pt.jsx)(k8,{definition:n,theme:t.theme,fontTable:t.fontTable,strings:t.strings,renderPreviewMarker:t.renderPreviewHeader}),(0,Pt.jsx)(T8,{definition:n,theme:t.theme,fontTable:t.fontTable}),n.showContext&&n.contextText&&n.contextText.length&&(0,Pt.jsx)(_5,{definition:n,theme:t.theme,fontTable:t.fontTable,automationId:"HeaderContext",strings:t.strings,onAction:t.onAction,settings:t.settings})]})};var tn=m(ce()),rn=function(e){function t(o){var r;return r=e.call(this,o)||this,r.firstSuggestionRef=os.createRef(),r.footerRef=os.createRef(),r.state={definition:o.definition},r}(0,M5.default)(t,e);var n=t.prototype;return n.setDefinition=function(r){this.setState({definition:r})},n.componentDidMount=function(){var r,a;(r=(a=this.props).onAfterUpdate)==null||r.call(a,this.state.definition)},n.componentDidUpdate=function(r,a){this.props.onAfterUpdate&&a.definition!==this.state.definition&&this.props.onAfterUpdate(this.state.definition),r.definition!==this.props.definition&&this.setState({definition:this.props.definition})},n.render=function(){var r=Kn(this.getTheme(),this.props.style,{useFluentV9:!!this.context});return(0,tn.jsxs)(x,{style:r,align:A.Stretch,children:[(0,tn.jsx)(D5,{definition:this.getDefinition(),theme:this.getTheme(),fontTable:this.getFontTable(),strings:this.props.strings,renderPreviewHeader:!!this.props.renderPreviewMarker,onAction:this.props.onAction}),this.renderBody(),this.props.customLowerBody,this.renderFooter(),this.props.addOnFooterData&&(0,tn.jsx)(O5,{addOnFooterData:this.props.addOnFooterData,theme:this.getTheme(),fontTable:this.getFontTable(),automationId:this.props.automationId})]})},n.focus=function(){if(!(this.props.customBody&&this.props.focusCustomBody&&this.props.focusCustomBody())){var r=this.props.definition.suggestions?this.props.definition.suggestions.length:0;if(this.props.firstSuggestionRef&&this.props.firstSuggestionRef.current&&r>0)this.props.firstSuggestionRef.current.focus();else if(this.firstSuggestionRef.current&&r>0)this.firstSuggestionRef.current.focus();else{var a;(a=this.footerRef.current)==null||a.focus()}}},n.executeBadgedAction=function(r){if(this.props.onAction){var a=g1(this.getDefinition(),this.props.strings),l={actionSourceId:Zh.VoiceDictationBadge,maxBadgeId:a.reduce(function(c,d){return Math.max(c,d.badgeId)},0)},u=a.filter(function(c){return c.badgeId===r});u.length>0?(l.executedBadgeId=u[0].badgeId,this.props.onAction(u[0].action,u[0].suggestionIndex,void 0,l)):this.props.onAction(f.Dismiss,void 0,void 0,l)}},n.getDefinition=function(){return this.state.definition},n.renderBody=function(){var r,a,l,u=this.getDefinition();return(0,tn.jsxs)(x,{align:A.Stretch,children:[this.props.customUpperBody,this.props.customBody?this.props.customBody:(0,tn.jsx)(qt,{children:(0,tn.jsx)(p1,Object.assign({},this.props,{ref:(r=this.props.firstSuggestionRef)!=null?r:this.firstSuggestionRef}))}),u.helpLink&&(0,tn.jsx)(H5,{text:(a=u.helpLink)==null?void 0:a.text,url:(l=u.helpLink)==null?void 0:l.url,theme:this.getTheme(),fontTable:this.getFontTable()})]})},n.renderFooter=function(){var r,a,l,u,c=this.props,d=c.automationId,g=c.fontTable,h=c.layerHostId,p=c.onAction,C=c.settings,v=c.spacing,T=c.strings,B=c.style,F=c.theme;return(r=this.props.customFooter)!=null?r:(0,tn.jsx)(rs,{automationId:d,layerHostId:h,definition:this.state.definition,theme:F,fontTable:g,spacing:v,style:B,strings:T,settings:C,onAction:p,overflowMenuCalloutStyle:B==null||(a=B.footerStyle)==null?void 0:a.overflowMenuCalloutStyle,footerContainerStyle:e5(B==null?void 0:B.footerStyle),footerButtonStyle:B==null||(l=B.footerStyle)==null?void 0:l.buttonStyles,overflowMenuButtonStyle:B==null||(u=B.footerStyle)==null?void 0:u.buttonStyles,ref:this.footerRef})},n.getTheme=function(){var r;return(r=this.props.theme)!=null?r:this.context?Mr:vt},n.getFontTable=function(){return this.props.fontTable?this.props.fontTable:be},t}(os.Component);rn.contextType=te;var B1=m(ce()),Eo=function(e){return e[e.Default=0]="Default",e[e.DisplayingFeedbackOptions=1]="DisplayingFeedbackOptions",e}(Eo||{}),F1=function(e){function t(o){var r;return r=e.call(this,o)||this,r.innerCritiqueRef=is.createRef(),r.firstSourceRef=is.createRef(),r.onCritiqueCardClick=r.onCritiqueCardClick.bind(r),r.onFeedbackCardBack=r.onFeedbackCardBack.bind(r),r.onFeedbackCardDismiss=r.onFeedbackCardDismiss.bind(r),r.onFeedbackCardReport=r.onFeedbackCardReport.bind(r),r.state={definition:o.definition,accColorCheckerState:Eo.Default,sourceIndex:0},r}(0,z5.default)(t,e);var n=t.prototype;return n.setDefinition=function(r){this.setState({definition:r})},n.executeBadgedAction=function(r){this.innerCritiqueRef.current&&this.innerCritiqueRef.current.executeBadgedAction(r)},n.componentDidUpdate=function(r,a){if(r.definition!==this.props.definition&&this.setState({definition:this.props.definition}),a.accColorCheckerState!==this.state.accColorCheckerState)switch(this.state.accColorCheckerState){default:this.focus()}},n.focus=function(){this.innerCritiqueRef.current?this.innerCritiqueRef.current.focus():this.firstSourceRef.current&&this.firstSourceRef.current.focus()},n.render=function(){var r=this.getDefinition();if(!r)return null;switch(this.state.accColorCheckerState){case Eo.Default:var a=Object.assign({},this.props,{definition:Object.assign({},r,{critiqueType:r.critiqueType}),onAction:this.onCritiqueCardClick,sourceIndex:this.state.sourceIndex}),l=ku(a,{useFluentV9:!!this.context});return(0,B1.jsx)(rn,Object.assign({},l,{ref:this.innerCritiqueRef}));case Eo.DisplayingFeedbackOptions:return this.renderFeedback()}},n.renderFeedback=function(){var r=this.getDefinition();if(!r)return null;var a=Object.assign({},this.props,{definition:Object.assign({},r,{critiqueType:r.critiqueType}),showCheckbox:!1,hideSnippet:!1,sourceIndex:this.state.sourceIndex,onBack:this.onFeedbackCardBack,onDismiss:this.onFeedbackCardDismiss,onReport:this.onFeedbackCardReport});return(0,B1.jsx)(ft,Object.assign({},a))},n.onCritiqueCardClick=function(r,a,l){r===f.Feedback?this.setState({accColorCheckerState:Eo.DisplayingFeedbackOptions}):this.props.onAction&&this.props.onAction(r,a,l)},n.onFeedbackCardBack=function(){this.setState({accColorCheckerState:Eo.Default})},n.onFeedbackCardDismiss=function(){this.setState({accColorCheckerState:Eo.Default})},n.onFeedbackCardReport=function(r,a){this.props.onAction&&this.props.onAction(f.Report,a,r)},n.getDefinition=function(){return this.state.definition},t}(is.Component);F1.contextType=te;s();var j5=m(dl()),W5=m(Fe()),Fu=m(R());s();function V5(e){return{dot:{marginEnd:4},timestamp:{marginVertical:1,fontSize:10,cssColor:e.timestampColor,lineHeight:17},topperHeading:{fontSize:11,fontWeight:z.SemiBold,lineHeight:17,cssColor:e.annotationColor},topperRoot:{paddingHorizontal:2,paddingVertical:2},catchUpActivityType:{fontSize:12,lineHeight:17,cssColor:e.catchUpTypeColor},catchUpInfo:{marginStart:8,marginEnd:4,flexibleSize:!0},catchUpInfoContainer:{marginTop:8,marginBottom:10}}}var N5={textColor:"#000000",annotationColor:"#006BFF",catchUpTypeColor:"#605E5C",timestampColor:"#605E5C",catchUpDotColor:"#006BFF",background:"#FFFFFF"};var yr=m(ce()),q5=function(e){function t(o){var r;return r=e.call(this,o)||this,r.styles=V5(r.theme),r.innerRef=Fu.createRef(),r.state={catchUpEditedDescriptionFormat:r.props.strings.catchUpEditedDescriptionFormat,catchUpDescriptorWithOneOtherFragment:r.props.strings.catchUpDescriptorWithOneOtherFragment,catchUpDescriptorWithMultipleOthersFragment:r.props.strings.catchUpDescriptorWithMultipleOthersFragment,heading:r.props.strings.catchUpHeading},r}(0,W5.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onAfterUpdate&&this.props.onAfterUpdate(this.props.definition)},n.componentDidUpdate=function(r){this.props.onAfterUpdate&&r.definition!==this.props.definition&&this.props.onAfterUpdate(this.props.definition)},n.render=function(){return(0,yr.jsx)(x,{align:A.Stretch,children:this.createCatchUpInfo()})},n.focus=function(){this.innerRef.current&&this.innerRef.current.focus()},n.createCatchUpDotIcon=function(){return(0,yr.jsx)(x,{style:this.styles.dot,children:(0,yr.jsx)(ye,{type:"Dot",primaryColor:this.theme.catchUpDotColor})})},n.createTopper=function(){return(0,yr.jsxs)(x,{direction:_.LeftToRight,align:A.Center,style:this.styles.topperRoot,children:[this.createCatchUpDotIcon(),(0,yr.jsx)(V,{text:this.state.heading,style:this.styles.topperHeading})]})},n.createCatchUpInfo=function(){return(0,yr.jsx)(x,{direction:_.LeftToRight,style:this.styles.catchUpInfoContainer,children:(0,yr.jsxs)(x,{style:this.styles.catchUpInfo,children:[this.createTopper(),this.createCatchUpContent(),this.createTimestamp()]})})},n.getCatchUpDescriptor=function(){return this.state.catchUpEditedDescriptionFormat.replace("{0}",this.resolveCatchUpFragmentString())},n.resolveCatchUpFragmentString=function(){var r;switch(this.props.definition.descriptor.additionalAuthorCount){case 0:r=this.props.definition.descriptor.authorName;break;case 1:r=this.state.catchUpDescriptorWithOneOtherFragment;break;default:r=this.state.catchUpDescriptorWithMultipleOthersFragment}return r=r.replace("{0}",this.props.definition.descriptor.authorName),this.props.definition.descriptor.additionalAuthorCount&&(r=r.replace("{1}",this.props.definition.descriptor.additionalAuthorCount.toString())),r},n.getCatchUpSubjectIndex=function(){var r=[];return r[0]=this.state.catchUpEditedDescriptionFormat.indexOf("{0}"),r[1]=this.resolveCatchUpFragmentString().length+r[0],r},n.createCatchUpContent=function(){var r=this.getCatchUpDescriptor(),a=this.getCatchUpSubjectIndex();return(0,yr.jsx)(x,{direction:_.LeftToRight,align:A.Center,children:(0,yr.jsx)(V,{text:r,style:this.styles.catchUpActivityType,formatting:Ut(r.length,{catchUpDescriptorText:this.theme.textColor},[{start:a[0],length:a[1],decorationType:pe.CatchUp}])})})},n.createTimestamp=function(){return(0,yr.jsx)(V,{text:this.props.definition.descriptor.localizedDate,style:this.styles.timestamp})},(0,j5.default)(t,[{key:"theme",get:function(){var r;return(r=this.props.definition.catchUpTheme)!=null?r:N5}}])}(Fu.Component);s();var V1=m(eo()),Lt=m(Dn()),J=m(R());s();var Ru={headerMarginVertical:4,itemBorderRadius:4,itemIconSize:24,menuHeight:252};var Hu={flexibleSize:!0,borderRadius:4},G5={width:300,maxHeight:48};var DW={width:100,borderRadius:4,paddingHorizontal:1,paddingVertical:1,fontWeight:z.Bold,height:40},wu={width:24,height:24,minWidth:24};function Au(e,t){var n,o,r,a,l,u,c,d,g;return{containerStyles:{paddingHorizontal:(n=t==null?void 0:t.paddingHorizontal)!=null?n:2,paddingVertical:(o=t==null?void 0:t.paddingVertical)!=null?o:6,minWidth:(r=t==null?void 0:t.minWidth)!=null?r:33,height:(a=t==null?void 0:t.height)!=null?a:18,backgroundColor:(l=e.tag)==null?void 0:l.background,borderRadius:(u=t==null?void 0:t.borderRadius)!=null?u:8},textStyles:{width:(c=t==null?void 0:t.minWidth)!=null?c:33,height:t!=null&&t.height?(t==null?void 0:t.height)-4:20,fontSize:(d=t==null?void 0:t.fontSize)!=null?d:10,cssColor:(g=e.tag)==null?void 0:g.textColor,fontFamily:"Segoe UI",fontWeight:z.Bold,textAlign:"center"}}}var K5=Object.assign({},wu,{margin:8}),MW=Object.assign({},wu,{margin:8,marginRight:0}),$5={marginTop:6,fontSize:20},Z5={paddingHorizontal:12};function Q5(e,t,n){var o,r;return{fontWeight:z.SemiBold,fontFamily:Ae,fontSize:n.xsmall,paddingHorizontal:8,marginVertical:(o=t.headerMarginVertical)!=null?o:4,cssColor:e.text.resting,lineHeight:(r=t.headerLineHeight)!=null?r:20}}function X5(e,t,n){var o,r,a;return{fontWeight:z.Normal,fontFamily:Ae,fontSize:n.xsmall,marginTop:0,marginBottom:(o=t.headerMarginVertical)!=null?o:4,paddingHorizontal:8,cssColor:(r=(a=e.altText)==null?void 0:a.resting)!=null?r:"#605e5c"}}function Y5(e,t){return{fontWeight:z.Normal,fontFamily:Ae,fontSize:t.small,cssColor:e,lineHeight:20}}function J5(e){var t={};return e&&(t.borderWidth={top:0,end:0,start:0,bottom:1},t.borderStyle="solid"),t}function ep(){return{fontSize:12,fontWeight:600}}var tp={style:{marginStart:-8,marginEnd:-12,marginTop:8,marginBottom:8,height:1}},R1={paddingTop:12,paddingBottom:8,paddingHorizontal:12},H8={paddingVertical:8,paddingStart:4,borderRadius:8},H1={description:R1,item:H8};s();var w1=m(Ds()),kt="noSuggestions",rp=2e3,Iu="Retry",Eu="ClearSearch",Bn=function(t,n){return(n?"ms-ecc-header-option":"ms-ecc-option")+t};var np=function(t){return t?t.menuType==="InlineSuggestionsResultsUserInitiatedMenuType"?t.brandingMode!==void 0:t.menuType==="InlineSuggestionsResultsFlagMenuType":!1},op=function(t){return t&&"actions"in t?t.actions:[]},ip=function(t){var n="https://www.bing.com/q=";return n+t},ap=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0;if(t&&o)return[];var c=A1(a);if(n)return[Object.assign({},l,{disableTooltips:!0,suggestions:[{id:Iu,type:kt,title:r.inlineSuggestions("tryAgainLabel"),noSuggestionsDescription:r.inlineSuggestions("somethingWentWrongLabel")}]})].concat((0,w1.default)(c.filter(function(g){return g.alwaysDisplay})));if(o||u){var d=o?"clearSearchLabel":"showAvailableSuggestionsLabel";return[Object.assign({},l,{disableTooltips:!0,suggestions:[{id:Eu,type:kt,title:r.inlineSuggestions(d),noSuggestionsDescription:r.common("suggestionsGroupNoSuggestionsText")}]})].concat((0,w1.default)(c.filter(function(g){return g.alwaysDisplay})))}return c},A1=function(t){if(t instanceof Array){var n=[];return t.forEach(function(a){return n.push(A1(a))}),n}else if(typeof t=="object"){var o={};for(var r in t)o[r]=A1(t[r]);return o}else return t};s();var Mp=m(eo()),Vr=m(R());s();var GW=m(R());s();var ls={background:{resting:"#FFFFFF",hover:"#F5F5F5",pressed:"#F0F0F0"},footerButtonBackground:{resting:"#FFFFFF",hover:"#F5F5F5",pressed:"#E0E0E0",disabled:"#FFFFFF"},altIcon:{resting:"#616161",hover:"#185ABD",pressed:"#185ABD",disabled:"#CCCCCC"},text:{resting:"#201F1E",disabled:"#707070"},altText:{resting:"#605E5C"},noSuggestions:{descriptionTextColor:"#605E5C",item:{background:{resting:"#FFFFFF",hover:"#F5F5F5",pressed:"#F0F0F0",disabled:"#FFFFFF"},text:{resting:"#115EA3",hover:"#115EA3",disabled:"#707070"},actionButtonForeground:{resting:"#FFFFFF",hover:"#F5F5F5",pressed:"#F0F0F0",disabled:"#FFFFFF"},highlighting:"#F5F5F5"}},actionButtonForeground:{resting:"#0078D4",disabled:"#707070"},highlighting:"#F5F5F5",highlightingBorderColor:"#201f1e",shimmer:{shimmerColor:"#F3F2F1",shimmerWaveColor:"#EDEBE9"},scroll:{thumbColor:"#bdbdbd"},focusRing:"#323130",searchBox:{borderColor:{resting:"#D1D1D1",hover:"#D1D1D1"},borderBottomColor:"#464FEB",iconColor:"#424242"},tooltip:{directionHint:1},tag:{background:"#EBF3FC",textColor:"#0F6CBD"},meetingBanner:{backgroundColor:"#FAF9F8",text:"#424242",iconPrimaryColor:"#616161",borderColor:"#d1d1d1"}},w8=function(t){return{background:{resting:t?"var(--colorNeutralBackground3)":"var(--colorNeutralBackground1)",hover:"var(--colorNeutralBackground1Hover)",pressed:"var(--colorNeutralBackground1Pressed)",disabled:"var(--colorNeutralBackgroundDisabled)"},text:{resting:"var(--colorNeutralForeground1)",hover:"var(--colorNeutralForeground1Hover)",pressed:"var(--colorNeutralForeground1Pressed)",disabled:"var(--colorNeutralForegroundDisabled)"},altIcon:{resting:"var(--colorNeutralForeground1)",hover:"var(--colorNeutralForeground2BrandHover)",disabled:"var(--colorNeutralForegroundDisabled)"},altText:{resting:"var(--colorNeutralForeground2)",hover:"var(--colorNeutralForeground2Hover)",pressed:"var(--colorNeutralForeground2Pressed)",disabled:"var(--colorNeutralForegroundDisabled)"},highlighting:"var(--colorNeutralBackground1Hover)",highlightingBorderColor:"var(--colorStrokeFocus2)",focusRing:"var(--colorStrokeFocus2)",footerButtonBackground:{resting:"var(--colorNeutralBackground1)",hover:"var(--colorNeutralBackground1Hover)",pressed:"var(--colorNeutralBackground1Pressed)",disabled:"var(--colorNeutralBackgroundDisabled)"},noSuggestions:{descriptionTextColor:"var(--colorNeutralForeground2)",item:{background:{resting:"var(--colorNeutralBackground1)",hover:"var(--colorNeutralBackground1Hover)",pressed:"var(--colorNeutralBackground1Pressed)",disabled:"var(--colorNeutralBackgroundDisabled)"},text:{resting:"var(--editorNoSuggestionsTextColorResting, var(--colorNeutralForeground2BrandHover))",hover:"var(--editorNoSuggestionsTextColorHover, var(--editorNoSuggestionsTextColorResting, var(--colorNeutralForeground2BrandHover)))",disabled:"var(--colorNeutralForegroundDisabled)"},actionButtonForeground:{resting:"var(--colorNeutralBackground1)",hover:"var(--colorNeutralBackground1Hover)",pressed:"var(--colorNeutralBackground1Pressed)",disabled:"var(--colorNeutralBackgroundDisabled)"},highlighting:"var(--colorNeutralBackground1Hover)"}},actionButtonForeground:{resting:"var(--editorActionButtonForegroundResting)",hover:"var(--editorActionButtonForegroundHover)",pressed:"var(--editorActionButtonForegroundPressed)",disabled:"var(--editorActionButtonForegroundDisabled)"},shimmer:{shimmerColor:"var(--editorShimmerColor)",shimmerWaveColor:"var(--editorShimmerWaveColor)"},scroll:{thumbColor:"var(--editorScrollThumbColor)"},searchBox:{borderColor:{resting:"var(--editorSearchBoxBorderColorResting)",hover:"var(--editorSearchBoxBorderColorHover)"},borderBottomColor:"var(--editorSearchBoxBorderBottomColor)",iconColor:"var(--editorSearchBoxIconColor)"},tooltip:{directionHint:1},tag:{background:"var(--editorTagBackground)",textColor:"var(--editorTagTextColor)"},meetingBanner:{backgroundColor:"var(--editorMeetingBannerBackgroundColor)",text:"var(--editorMeetingBannerText)",iconPrimaryColor:"var(--editorMeetingBannerIconPrimaryColor)",borderColor:"var(--editorMeetingBannerBorderColor)"}}},nn=function(t,n,o){var r,a;return n?Object.assign({},w8(o),{branding:t?(r=Bu[t])==null?void 0:r.v9:void 0}):Object.assign({},ls,{branding:t?(a=Bu[t])==null?void 0:a.v8[Rt.light]:void 0})};function sp(e,t,n){return e===kt?A8(t,n):I1(t??ls,n)}function I1(e,t){var n=Object.assign({},e.background,{disabled:void 0}),o=Object.assign({},e.text),r=e.altText?Object.assign({},e.altText):void 0,a;return t&&(e.highlighting&&(n.resting=e.highlighting,a=e.highlightingBorderColor),o.hover&&(o.resting=o.hover),r!=null&&r.hover&&(r.resting=r.hover)),{background:n,title:o,subtitle:r,focusRing:e.focusRing,border:a,tooltip:e.tooltip,underline:e.headerUnderlineColor}}function lp(e,t){var n=Object.assign({},e.background,{disabled:void 0}),o;return t&&e.highlighting&&(n.resting=e.highlighting,o=e.highlightingBorderColor),{background:n,title:e.actionButtonForeground,subtitle:e.altText,focusRing:e.focusRing,border:o}}function up(e,t){var n=Object.assign({},e.background,{disabled:void 0});return t&&e.highlighting&&(n.resting=e.highlighting),{background:n,title:{resting:t?e.actionButtonForeground.resting:e.text.resting},focusRing:e.focusRing}}function cp(e){var t={resting:"transparent",hover:"transparent"};return{background:t,title:e.actionButtonForeground}}function A8(e,t){var n,o,r=e==null||(n=e.noSuggestions)==null?void 0:n.item;if(r){var a,l=Object.assign({},r.background,{disabled:void 0}),u=Object.assign({},r.text,{focused:r.text.hover});if(t&&r.highlighting){var c;u.resting=(c=u.focused)!=null?c:u.resting,l.resting=r.highlighting}return{background:l,title:u,focusRing:(a=e.focusRing)!=null?a:"transparent"}}var d=e??ls,g=Object.assign({},d.background,{disabled:void 0}),h=Object.assign({},d.actionButtonForeground,{focused:d.actionButtonForeground.hover});if(t&&d.highlighting){var p;h.resting=(p=h.focused)!=null?p:h.resting,g.resting=d.highlighting}return{background:g,title:h,focusRing:(o=d.focusRing)!=null?o:"transparent"}}function dp(e){var t;return{focusRing:(t=e.focusRing)!=null?t:"#323130"}}function fp(e,t){var n,o=(n=ls.text.disabled)!=null?n:ls.text.resting;if(e.type===kt){var r,a;return(r=t==null||(a=t.noSuggestions)==null?void 0:a.descriptionTextColor)!=null?r:o}else{var l;return(l=t==null?void 0:t.text.disabled)!=null?l:o}}var gp=function(t){if(t){var n,o;return Object.assign({},t,{background:(n=t.footerButtonBackground)!=null?n:t.background,header:"",subheader:"",dialogText:"",iconText:"",contextText:"",errorText:"",border:"",separator:"",focusRing:(o=t.focusRing)!=null?o:"",link:"",linkPressed:"",tag:void 0})}},mp=function(t){var n,o;return{background:t==null?void 0:t.background.resting,shimmer:t==null||(n=t.shimmer)==null?void 0:n.shimmerColor,shimmerWave:t==null||(o=t.shimmer)==null?void 0:o.shimmerWaveColor}},hp=function(t,n){var o={backgroundColor:t.background.resting};return n&&(o.borderColor="#E1DFDD"),o};var E1=m(ce()),pp=function(t){return null},bp=function(t){var n=t.hideTitle,o=t.style,r=t.inlineSuggestionsTheme;return(0,E1.jsx)(x,{align:A.Start,children:(0,E1.jsx)(ql,{style:o,circleSize:o==null?void 0:o.personaCoinSize,gapSize:o==null?void 0:o.textPaddingLeft,lineSize:o==null?void 0:o.lineSize,hideHeaders:!n,theme:r?mp(r):void 0})})};s();s();var Dp=m(eo()),Ou=m(R());s();var Ke;(function(e){e.Acronym="Acronym",e.Address="Address",e.Attachment="Attachment",e.Bookmark="Bookmark",e.Building="Building",e.Channel="Channel",e.Chat="Chat",e.Conversation="Conversation",e.CopilotPlugin="CopilotPlugin",e.DateTime="DateTime",e.Document="Document",e.EditorialQnA="EditorialQnA",e.Email="Email",e.EmployeeOffer="EmployeeOffer",e.Event="Event",e.External="External",e.Fact="Fact",e.File="File",e.Flight="Flight",e.Floorplan="Floorplan",e.Group="Group",e.Keywords="Keywords",e.Link="Link",e.LocalBusiness="LocalBusiness",e.Loop="Loop",e.MeetingCatchUp="MeetingCatchUp",e.MeetingProposal="MeetingProposal",e.MeetingRoomProposal="MeetingRoomProposal",e.Message="Message",e.MessageExtensionApp="MessageExtensionApp",e.PIM="PIM",e.People="People",e.Report="Report",e.Satori="Satori",e.Scope="Scope",e.SharePoint="SharePoint",e.Site="Site",e.Streams="Streams",e.Task="Task",e.Team="Team",e.Text="Text",e.Time="Time",e.Topic="Topic",e.TranscriptLlmAnswer="TranscriptLlmAnswer",e.TuringQnA="TuringQnA",e.Prompt="Prompt",e.PeopleInGroup="PeopleInGroup",e.App="App"})(Ke||(Ke={}));s();s();var Lp=m(eo()),to=m(R());s();var P1=m(R());s();function Cp(e,t,n){var o,r=(o=e.inlineSuggestions("combineSentences"))!=null?o:"{0}. {1}";return r.replace("{0}",t).replace("{1}",n)}s();function Pu(e,t,n,o,r,a){var l=n?e==null?void 0:e.borderThicknessInitialSelection:o?e==null?void 0:e.borderThicknessWithKeyboardFocus:void 0,u=r&&l?l:e==null?void 0:e.borderThickness,c=typeof u=="number"?u:u==null?void 0:u.start,d=typeof u=="number"?u:u==null?void 0:u.end,g=typeof u=="number"?u:u==null?void 0:u.top,h=typeof u=="number"?u:u==null?void 0:u.bottom;ht()&&a!=null&&a.useFluentV9&&(c=c===0?1:c,d=d===0?1:d,g=g===0?1:g,h=h===0?1:h);var p="";return c&&(p+="inset ".concat(c,"px 0 0 0 ").concat(t,",")),d&&(p+="inset -".concat(d,"px 0 0 0 ").concat(t,",")),g&&(p+="inset 0 ".concat(g,"px 0 0 ").concat(t,",")),h&&(p+="inset 0 -".concat(h,"px 0 0 ").concat(t,",")),p.length>0&&(p=p.substring(0,p.length-1)),{borderThickness:u,shadows:p}}var yp=m(ce());function vp(e,t){if(t){e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase();var n=t.indexOf(e);if(!(n<0))return[{start:n,length:e.length,fontWeight:z.SemiBold,wrapMode:cr.NoWrap}]}}function Sp(e,t,n){if(e){var o=n?t==null?void 0:t.filter(function(a){return a.propertyHit===n}):t,r=[];return o&&o.forEach(function(a){r.push({start:a.offset,length:a.word.length,fontWeight:z.SemiBold,wrapMode:cr.NoWrap})}),r}}var xp=function(t){var n,o,r,a,l,u,c,d,g,h,p,C,v,T=t.htmlId,B=t.theme,F=t.style,w=t.strings,k=t.suggestionId,S=t.suggestionType,H=t.queryString,W=t.title,$=t.titleFontSize,Q=t.subtitle,re=t.subtitleFontSize,ie=t.truncateSubtitle,fe=t.tooltip,oe=t.icon,ge=t.layerHostId,G=t.personaCoinProps,de=t.isHighlighted,U=t.hasSelectionBeenModifiedViaKeyboard,K=t.showKeyboardTooltip,Ce=t.disableTabFocus,Z=t.isInitialSelection,q=t.accessibilityRole,se=t.accessibilityPositionInSet,me=t.accessibilitySetSize,ve=t.disableAccessibilityExpanded,Ze=t.onHeightChange,Ie=t.onHoverIn,Oe=t.onClick,qe=t.enablePrefixHighlighting,gt=t.hitHighlightIndexes,Qe=t.displayNewItemTag,at=t.newItemTagStyles,xr=t.disableTooltips,Ot=t.enableExpandedECCScopeLayout,_e=t.isScopeSelected,Qt=t.isDisabled,_t=t.updateItemHeight,Bt=P1.useContext(te),Ee=P1.useContext(pr),Ft=S===Ke.Topic,xe=B??nn(void 0,Bt,Ee),Se=vn.rightCenter;switch(xe==null||(n=xe.tooltip)==null?void 0:n.directionHint){case fo.centered:Se=void 0;break;case fo.rightCenter:Se=vn.rightCenter;break;case fo.bottomCenter:Se=vn.bottomCenter;break;default:Se=Ft?vn.rightCenter:void 0;break}var Be=sp(S,B,de),no=W&&Q?Cp(w,W,Q):W;if(Qe){var oo;no=w.inlineSuggestions("combineTag").replace("{0}",(oo=no)!=null?oo:"").replace("{1}",w.inlineSuggestions("newTagText"))}var Dt=Pu(F,Bt?ht()?"Highlight":(o=xe.focusRing)!=null?o:"var(--colorStrokeFocus2)":(r=Be.border)!=null?r:"#000",Z??!1,U??!1,de??!1,{useFluentV9:Bt}),kr=Dt.borderThickness,In=Dt.shadows;return(0,yp.jsx)(Y,{appearance:"subtle",htmlId:T,onClick:Oe,onHoverIn:Ie,accessibilityLabel:no,accessibilityRole:q,accessibilityPositionInSet:se,accessibilitySetSize:me,accessibilityDescribedByTooltip:fe?!0:void 0,disableAccessibilityExpanded:ve,onHeightChange:Ze,automationLabel:"Inline".concat(S,"Suggestion-").concat(k),tooltipProps:{showBeak:(a=xe==null||(l=xe.tooltip)==null?void 0:l.showBeak)!=null?a:Ft,gapSpace:xe==null||(u=xe.tooltip)==null?void 0:u.gapSpace,borderRadius:xe==null||(c=xe.tooltip)==null?void 0:c.borderRadius,calloutMaxWidth:xe==null||(d=xe.tooltip)==null?void 0:d.calloutMaxWidth,paddingStart:xe==null||(g=xe.tooltip)==null?void 0:g.paddingStart,paddingEnd:xe==null||(h=xe.tooltip)==null?void 0:h.paddingEnd,paddingTop:xe==null||(p=xe.tooltip)==null?void 0:p.paddingTop,paddingBottom:xe==null||(C=xe.tooltip)==null?void 0:C.paddingBottom,coverTarget:Se===void 0,directionHint:Se,layerHostId:ge},title:W,titleStyle:Jr(be,W?W.length:0,!0,$),titleRootStyle:Th(),personaCoinProps:G,style:F?Object.assign({},F,{borderThickness:In?0:kr,boxShadow:((v=In==null?void 0:In.length)!=null?v:0)>0?In:void 0}):void 0,subtitle:Q,subtitleStyle:xi(be,!0,ie,re),theme:Be,hasKeyboardFocus:de,isSelectedByKeyboard:de&&U&&K,tooltip:xr?"":fe,icon:oe?Object.assign({},oe,{filled:!0}):void 0,iconShouldBeAccessible:!1,titleFormatting_DONOTUSE:H?qe?Sp(W,gt,"title"):vp(H,W):void 0,subtitleFormatting:H?qe?Sp(Q,gt,"subTitle"):vp(H,Q):void 0,disableTagAccessibility:!0,tagStyles:Au(xe,at),tagText:Qe?w.inlineSuggestions("newTagText"):void 0,topPanelScopeButton:Ot,showUnderline:_e,disabled:Qt,updateItemHeight:_t,disableTabFocus:Ce})};s();var Fn=m(eo());s();var kp=Object.freeze({Apps:"Apps"});function L1(e){return e&&e in kp?kp[e]:e}s();var I8=Object.freeze({doc:{iconType:"Word"},docx:{iconType:"Word"},dot:{iconType:"Word"},dotx:{iconType:"Word"},docm:{iconType:"Word"},docb:{iconType:"Word"},ppt:{iconType:"PowerPoint"},pptx:{iconType:"PowerPoint"},xls:{iconType:"Excel"},xlm:{iconType:"Excel"},xlsx:{iconType:"Excel"},xlsm:{iconType:"Excel"},xlsb:{iconType:"Excel"},xltx:{iconType:"Excel"},pdf:{iconType:"Pdf"},vsd:{iconType:"Visio"},vsdx:{iconType:"Visio"},loop:{iconType:"Loop"},fluid:{iconType:"Loop"},one:{iconType:"OneNoteNotebook"},wbk:{iconType:"Files"},dotm:{iconType:"Files"},xlb:{iconType:"Files"},xlc:{iconType:"Files"},xlt:{iconType:"Files"},xltm:{iconType:"Files"},xla:{iconType:"Files"},xll:{iconType:"Files"},xlam:{iconType:"Files"},xlw:{iconType:"Files"},odc:{iconType:"Files"},ods:{iconType:"Files"},pot:{iconType:"Files"},potx:{iconType:"Files"},potm:{iconType:"Files"},ppam:{iconType:"Files"},ppsx:{iconType:"Files"},ppsm:{iconType:"Files"},sldx:{iconType:"Files"},rtf:{iconType:"Files"},sldm:{iconType:"Files"},ppa:{iconType:"Files"},htm:{iconType:"Files"},html:{iconType:"Files"},odt:{iconType:"Files"},odp:{iconType:"Files"},csv:{iconType:"CsvFiles"},txt:{iconType:"TxtFiles"},folder:{iconType:"Folder"}});function Tp(e){var t,n,o=e.toLocaleLowerCase();return(t=(n=I8[o])==null?void 0:n.iconType)!=null?t:"UnknownFile"}var E8=["iconStyles","titleFontSize","subtitleFontSize"],P8=["personaCoinSize","titleFontSize","subtitleFontSize"],L8=["iconStyles","titleFontSize","subtitleFontSize","personaCoinSize"],O8=["iconStyles","titleFontSize","subtitleFontSize"],_8=["iconStyles","titleFontSize","subtitleFontSize"],D8=["iconStyles","titleFontSize","subtitleFontSize","personaCoinSize"],M8=["iconStyles","personaCoinSize","titleFontSize","subtitleFontSize"],z8=["iconStyles","personaCoinSize","titleFontSize","subtitleFontSize"];function Bp(e){return e.type===Ke.Event}function Fp(e){return e.type===Ke.Message}function Rp(e){return e.type===Ke.File}function Hp(e){return e.type===Ke.People}function wp(e){return e.type===Ke.Scope}function Ap(e){return e.type===Ke.Chat}function Ip(e){return e.type===Ke.CopilotPlugin}function Ep(e){return e.type===Ke.App}function O1(e){return Bp(e)?e.eventId:Fp(e)?e.emailId:Rp(e)?e.fileName:Hp(e)?e.displayName:wp(e)?e.id:Ap(e)?e.name:Ip(e)?e.previewCard.title:(Ep(e),e.title)}function V8(e,t,n){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"en-US",r="",a=Date.parse(e);if(!Number.isNaN(a)){var l=new Date(a),u=Date.parse(t);if(Number.isNaN(u))n?r=l.toLocaleString(o,{weekday:"short"})+" "+l.toLocaleDateString(o):r=l.toLocaleString(o,{weekday:"short"})+" "+l.toLocaleDateString(o)+" "+l.toLocaleTimeString(o,{hour:"numeric",minute:"2-digit"});else{var c=new Date(u),d=l.getFullYear()===c.getFullYear()&&l.getMonth()===c.getMonth()&&l.getDate()===c.getDate();d?n?r=l.toLocaleString(o,{weekday:"short"})+" "+l.toLocaleDateString(o):r=l.toLocaleString(o,{weekday:"short"})+" "+l.toLocaleDateString(o)+" "+l.toLocaleTimeString(o,{hour:"numeric",minute:"2-digit"})+" - "+c.toLocaleTimeString(o,{hour:"numeric",minute:"2-digit"}):n?r=l.toLocaleDateString(o)+" - "+c.toLocaleDateString(o):r=l.toLocaleDateString(o)+" "+l.toLocaleTimeString(o,{hour:"numeric",minute:"2-digit"})+" - "+c.toLocaleDateString(o)+" "+c.toLocaleTimeString(o,{hour:"numeric",minute:"2-digit"})}}return r}var Pp=function(t,n,o,r,a,l,u){if(Rp(t)){var c,d=t.hitFileName||"".concat(t.fileName,".").concat(t.fileExtension),g=d.endsWith(".".concat(t.fileExtension)),h=(o==null?void 0:o.fileItemStyles)||{},p=h.iconStyles,C=h.titleFontSize,v=h.subtitleFontSize,T=(0,Fn.default)(h,E8),B=Tp(t.fileExtension),F=B==="Files",w=F?(r==null||(c=r.fallbackIcon)==null?void 0:c.background)||(p==null?void 0:p.backgroundColor):void 0,k=F&&!g?".".concat(t.fileExtension):"",S=F?6:void 0;return{suggestionId:t.itemId,suggestionType:t.type,title:d+k,titleFontSize:C,icon:{type:B,style:Object.assign({},p,{backgroundColor:w,padding:S,fontSize:16})||{backgroundColor:w}},style:T,subtitle:t.subject,subtitleFontSize:v,tooltip:d,isHighlighted:t.isHighlighted,hitHighlightIndexes:t.hitHighlightIndexes}}else if(Hp(t)){var H,W=(o==null?void 0:o.personItemStyles)||{},$=W.personaCoinSize,Q=W.titleFontSize,re=W.subtitleFontSize,ie=(0,Fn.default)(W,P8);return Object.assign({suggestionId:t.displayName,suggestionType:t.type,title:t.displayName,titleFontSize:Q,personaCoinProps:{text:t.displayName,size:us($),imageUrl:t.imageUrl,initials:t.initials,borderColor:r==null?void 0:r.userAvatarBorderColor}},t.iconName&&{icon:{type:t.iconName}},{style:ie,subtitle:(H=t.subtitleOverride)!=null?H:t.primaryEmailAddress,subtitleFontSize:re,truncateSubtitle:!0,tooltip:t.primaryEmailAddress,isHighlighted:t.isHighlighted,hitHighlightIndexes:t.hitHighlightIndexes})}else if(wp(t)){var fe,oe=(o==null?void 0:o.scopeItemStyles)||{},ge=oe.iconStyles,G=oe.titleFontSize,de=oe.subtitleFontSize,U=oe.personaCoinSize,K=(0,Fn.default)(oe,L8),Ce=L1(t.iconName);return{suggestionId:t.id,suggestionType:t.type,title:t.title,titleFontSize:G,icon:Ce!==void 0&&!a?{type:Ce,style:ge||{}}:void 0,personaCoinProps:(t.imageUrl||t.iconName)&&!a?{text:"",size:us(U),imageUrl:t.imageUrl,color:"neutral"}:void 0,style:K,subtitle:t.subtitle,subtitleFontSize:de,tooltip:(fe=t.tooltip)!=null?fe:t.title,isHighlighted:t.isHighlighted,hitHighlightIndexes:t.hitHighlightIndexes,displayNewItemTag:t.isNew,enableExpandedECCScopeLayout:a,isScopeSelected:t.isSelected}}else if(Bp(t)){var Z,q,se=t.eventId,me=t.eventName,ve=t.eventStartDateTime,Ze=t.eventEndDateTime,Ie=t.isAllDay,Oe=t.isSeries,qe=t.hasRecording,gt=(o==null?void 0:o.eventItemStyles)||{},Qe=gt.iconStyles,at=gt.titleFontSize,xr=gt.subtitleFontSize,Ot=(0,Fn.default)(gt,O8),_e=V8(ve,Ze,Ie,u),Qt=(n==null?void 0:n.inlineSuggestions("recordText"))||"",_t=l&&qe?_e+" | "+Qt:_e;return{suggestionId:se,suggestionType:t.type,title:me,titleFontSize:at,icon:{type:l&&qe?"EventRecorded":Oe?"EventSeries":"Event",fontSize:Oe?16:14,style:Object.assign({},Qe,{backgroundColor:(r==null||(Z=r.fallbackIcon)==null?void 0:Z.background)||(Qe==null?void 0:Qe.backgroundColor)}),primaryColor:r==null||(q=r.fallbackIcon)==null?void 0:q.color},style:Ot,subtitle:_t,subtitleFontSize:xr,truncateSubtitle:!0,tooltip:me+" "+_t,isHighlighted:t.isHighlighted,hitHighlightIndexes:t.hitHighlightIndexes}}else if(Fp(t)){var Bt,Ee,Ft,xe,Se=t,Be=Se.subject,no=Se.sender,oo=Se.emailId,Dt=(o==null?void 0:o.emailItemStyles)||{},kr=Dt.iconStyles,In=Dt.titleFontSize,ys=Dt.subtitleFontSize,De=(0,Fn.default)(Dt,_8),ln=(Bt=n.inlineSuggestions("emailSentBy"))==null?void 0:Bt.replace("{0}",no);return{suggestionId:oo,suggestionType:t.type,title:Be,titleFontSize:In,icon:{type:"Emails",fontSize:(Ee=De.iconFontSize)!=null?Ee:16,style:Object.assign({},kr,{backgroundColor:(r==null||(Ft=r.fallbackIcon)==null?void 0:Ft.background)||(kr==null?void 0:kr.backgroundColor)}),primaryColor:r==null||(xe=r.fallbackIcon)==null?void 0:xe.color},style:De,subtitle:ln,subtitleFontSize:ys,truncateSubtitle:!0,tooltip:Be,isHighlighted:t.isHighlighted,hitHighlightIndexes:t.hitHighlightIndexes}}else if(Ep(t)){var xs,Pi,Xe=t,Oo=Xe.title,Li=Xe.imageUrl,Ju=Xe.collectorId,ks=Xe.appType,Oi=Xe.subtitle,_i=Xe.isMoreButton;return{tooltip:Oo,suggestionId:Ju,suggestionType:t.type,title:Oo,appType:ks,subtitle:Oi,icon:Li?void 0:_i?{type:"ExploreMoreCopilot",fontSize:32,style:{backgroundColor:r==null||(xs=r.fallbackIcon)==null?void 0:xs.background,height:32,width:32}}:{type:"ChatBubblesQuestion",fontSize:32,style:{backgroundColor:r==null||(Pi=r.fallbackIcon)==null?void 0:Pi.background,height:32,width:32}},personaCoinProps:Li?{text:Oo,imageUrl:Li,color:"neutral",size:32}:void 0,truncateSubtitle:!0,isHighlighted:t.isHighlighted,hitHighlightIndexes:t.hitHighlightIndexes,disableAccessibilityExpanded:!0,style:{flexibleSize:!0}}}else if(Ap(t)){var Ts,Di,Mi=t.name,Mt=t.chatMembers,ec=t.threadId,Bs=t.lastMessageTime,mt=t.imageUrl,En=(o==null?void 0:o.chatItemStyles)||{},zi=En.iconStyles,Fs=En.titleFontSize,tc=En.subtitleFontSize,Vi=En.personaCoinSize,rc=(0,Fn.default)(En,D8),Ni=2,sr=Mt.length-Ni,Tr=Mt.slice(0,Ni).map(function(lc){return lc.displayName}).join(", ");sr>0&&(Tr+=", +".concat(sr));var ji=Mi||Tr,Wi=new Date(Bs),Rs=Wi.toLocaleTimeString(void 0,{hour:"numeric",minute:"numeric",hour12:!0}),_o="".concat(Wi.toLocaleDateString("en-US")," ").concat(Rs);return Object.assign({title:ji,tooltip:ji,subtitle:Mi?Tr:_o,suggestionId:ec,suggestionType:t.type,truncateSubtitle:!0,titleFontSize:Fs,subtitleFontSize:tc,isHighlighted:t.isHighlighted,hitHighlightIndexes:t.hitHighlightIndexes,style:rc},mt?{personaCoinProps:{text:ji,imageUrl:mt,size:us(Vi),borderColor:r==null?void 0:r.userAvatarBorderColor}}:{icon:{type:"TeamsChat",style:Object.assign({},zi,{backgroundColor:(r==null||(Ts=r.fallbackIcon)==null?void 0:Ts.background)||(zi==null?void 0:zi.backgroundColor)}),primaryColor:r==null||(Di=r.fallbackIcon)==null?void 0:Di.color}})}else if(Ip(t)){var Hs,qi,io=(o==null?void 0:o.genericItemStyles)||{},Do=io.iconStyles,nc=io.personaCoinSize,ws=io.titleFontSize,oc=io.subtitleFontSize,Pn=(0,Fn.default)(io,M8),ao=t.previewCard,Ln=(Hs=ao.images)==null||(qi=Hs[0])==null?void 0:qi.url;return{suggestionId:ao.title,suggestionType:t.type,title:ao.title,titleFontSize:ws,personaCoinProps:Ln?{text:"",size:us(nc),imageUrl:Ln,color:"neutral"}:void 0,style:Pn,subtitle:ao.subtitle,subtitleFontSize:oc,tooltip:ao.title,displayNewItemTag:t.isNew,isHighlighted:t.isHighlighted,hitHighlightIndexes:t.hitHighlightIndexes}}var Re=t,On=Re.id,As=Re.title,zt=Re.subtitle,_n=Re.imageUrl,so=Re.tooltip,Is=Re.type,lo=Re.isHighlighted,uo=(o==null?void 0:o.genericItemStyles)||{},Es=uo.iconStyles,ic=uo.personaCoinSize,ac=uo.titleFontSize,sc=uo.subtitleFontSize,Xt=(0,Fn.default)(uo,z8),Mo=L1(t.iconName);return{suggestionId:On,suggestionType:Is,title:As,titleFontSize:ac,icon:Mo!==void 0?{type:Mo,style:Es}:void 0,personaCoinProps:_n||Mo?{text:"",size:us(ic),imageUrl:_n,color:"neutral"}:void 0,style:Xt,subtitle:zt,subtitleFontSize:sc,truncateSubtitle:!!so,tooltip:so??As,isHighlighted:lo,hitHighlightIndexes:t.hitHighlightIndexes,displayNewItemTag:t.isNew}},us=function(t){return t?t<20?16:t<24?20:t<28?24:t<32?28:t<36?32:t<40?36:t<48?40:t<56?48:t<64?56:t<72?64:t<96?72:t<120?96:t<128?120:128:20};var Op=m(R()),cs=m(ce()),N8=["suggestion","theme","styles","newItemTagStyles","onItemHovered","onItemSelected","strings","enableExpandedECCScopeLayout","enableMeetingBanner","locale"],Lu=to.memo(function(e){var t,n=e.suggestion,o=e.theme,r=e.styles,a=e.newItemTagStyles,l=e.onItemHovered,u=e.onItemSelected,c=e.strings,d=e.enableExpandedECCScopeLayout,g=e.enableMeetingBanner,h=e.locale,p=(0,Lp.default)(e,N8),C=to.useContext(te),v=to.useContext(pr),T=o??nn(void 0,C,v),B=to.useCallback(function(){u(n)},[n,u]),F=to.useCallback(function(){l==null||l(n)},[n,l]),w=Pp(n,c,r,T,d,g,h),k=n.type===kt&&r!=null&&(t=r.noSuggestionsStyles)!=null&&t.item?r.noSuggestionsStyles.item:w.style,S="".concat(w.suggestionId,"-").concat(p.queryString),H=(0,Op.createElement)(xp,Object.assign({},p,w,{style:k,newItemTagStyles:a,strings:c,theme:o,onClick:B,onHoverIn:F,isDisabled:n.isDisabled,key:S}));if(n.noSuggestionsDescription){var W,$=n.type===kt?r==null||(W=r.noSuggestionsStyles)==null?void 0:W.description:void 0;return(0,cs.jsxs)(x,{align:A.Stretch,direction:_.TopToBottom,children:[(0,cs.jsx)(x,{style:$??R1,children:(0,cs.jsx)(V,{text:n.noSuggestionsDescription,style:Y5(fp(n,o),be)})}),H]})}return H});Lu.displayName="InlineSuggestionsItem";s();var _p=m(Dn()),Rn=m(R());var on=m(ce()),ds=Rn.memo(function(e){var t=e.group,n=e.htmlId,o=e.theme,r=e.style,a=e.styles,l=e.isScopableHeader,u=e.accessibilityPositionInSet,c=e.accessibilitySetSize,d=e.onClick,g=e.onGroupHovered,h=e.onHeightChange,p=e.onHeightExtraSpaceBottomChange,C=e.children,v=e.strings,T=e.displayNewItemTag,B=e.newItemTagStyles,F=e.hasSelectionBeenModifiedViaKeyboard,w=Rn.useContext(te),k=Rn.useContext(pr),S=t.title,H=t.subtitle,W=t.isScoped,$=W===void 0?!1:W,Q=t.isHighlighted,re=t.addBottomBorder,ie=Rn.useState(!1),fe=(0,_p.default)(ie,2),oe=fe[0],ge=fe[1],G=o??nn(void 0,w,k),de=r??Ru,U=Object.assign({},hp(G),J5(re)),K=Rn.useCallback(function(){ge(!0),g==null||g(t)},[t,g]);if(p){var Ce=0;U.borderWidth&&(typeof U.borderWidth=="object"?Ce=U.borderWidth.bottom?U.borderWidth.bottom:0:Ce=U.borderWidth),p(Ce)}if(l&&S){var Z,q,se,me,ve,Ze=(Z=a==null?void 0:a.titleLineHeight)!=null?Z:10,Ie=(q=a==null?void 0:a.headerIconSize)!=null?q:10,Oe;if(ht())Oe=Q?w?"CanvasText":"HighlightText":"CanvasText";else{var qe;Oe=(Q||oe)&&(qe=G==null?void 0:G.text.hover)!=null?qe:G==null?void 0:G.text.resting}var gt={lineHeight:Ze+"px",display:"flex",width:$?"auto":"100%",flexDirection:$?"row-reverse":"row",justifyContent:"flex-end"},Qe={color:Oe,marginLeft:"4px",fontWeight:"600",flexGrow:$?0:1,fontSize:be.xsmall,display:"flex",alignItems:"center"},at=$?"Previous":"Next",xr=I1(G,Q),Ot=Pu(a,w?ht()?"Highlight":(se=o==null?void 0:o.focusRing)!=null?se:"var(--colorStrokeFocus2)":(me=xr.border)!=null?me:"#000",!1,F??!1,Q??!1,{useFluentV9:w}),_e=Ot.borderThickness,Qt=Ot.shadows,_t=l?"menuitem":"option",Bt=l&&$;return(0,on.jsxs)(on.Fragment,{children:[(0,on.jsx)(Y,{appearance:"subtle",hasKeyboardFocus:Q,htmlId:n,icon:{type:at},automationLabel:S,title:S,titleStyle:Jr(be,(S==null?void 0:S.length)||0,!0),theme:xr,onClick:d,style:Object.assign({flexibleSize:!0,borderRadius:4},a,{borderThickness:Qt?0:_e,boxShadow:((ve=Qt==null?void 0:Qt.length)!=null?ve:0)>0?Qt:void 0}),onHeightChange:h,onHoverIn:K,onHoverOut:function(){return ge(!1)},accessibilityRole:_t,accessibilityPositionInSet:u,accessibilitySetSize:c,accessibilityState:Bt,accessibilityDescribedByTooltip:!0,useFullWidth:!0,children:(0,on.jsxs)("span",{"data-is-focusable":!0,style:gt,children:[(0,on.jsx)("span",{style:Qe,children:S}),(0,on.jsx)(ye,{type:at,primaryColor:Oe,fontSize:Ie,style:{margin:(Ze-Ie)/2}})]})}),C]})}var Ee=T?v==null?void 0:v.inlineSuggestions("combineTag").replace("{0}",S??"").replace("{1}",v==null?void 0:v.inlineSuggestions("newTagText")):S;return(0,on.jsx)(yn,{header:S,headerStyle:Object.assign({},Q5(G,de,be),a,{userSelectable:!1}),subheader:H,subheaderStyle:Object.assign({},X5(G,de,be),a),componentStackStyle:U,stackDirection:_.TopToBottom,stackAlignment:A.Stretch,accessibleLive:gr.Off,accessibleLabel:Ee,onHeaderHeightChange:h,tagStyles:Au(G,B),tagText:T?v==null?void 0:v.inlineSuggestions("newTagText"):void 0,children:C})});ds.displayName="InlineSuggestionsGroupHeader";var ar=m(ce()),j8=["index","hasScopableHeader","onItemHeightChange"],_u=Ou.memo(function(e){for(var t,n,o,r,a=e.theme,l=e.group,u=e.accessibilitySetSize,c=e.strings,d=e.headerHtmlId,g=e.isHeaderVisible,h=e.headerStyles,p=e.containerStyles,C=e.hasScopableHeader,v=e.headerAccessibilityPositionInSet,T=e.enablePrefixHighlighting,B=e.showSeparator,F=e.separatorProps,w=e.hasSelectionBeenModifiedViaKeyboard,k=e.showKeyboardTooltip,S=e.isInitialSelection,H=e.layerHostId,W=e.showPartialLoadingEntities,$=e.shimmerStyles,Q=e.itemsStyles,re=e.newItemTagStyles,ie=e.itemQueryString,fe=e.canDisableTabFocus,oe=e.onHeaderClick,ge=e.onHeaderHeightChange,G=e.onSeparatorHeightChange,de=e.onHeightExtraSpaceBottomChange,U=e.onGroupHovered,K=e.onItemHovered,Ce=e.onItemSelected,Z=e.onItemHeightChange,q=e.disableTooltips,se=e.enableExpandedECCScopeLayout,me=e.overflowIndex,ve=e.showMeetingBanner,Ze=e.enableMeetingBanner,Ie=e.meetingBannerText,Oe=e.accessibilityRole,qe=Oe===void 0?"menuitem":Oe,gt=e.isSmallWindow,Qe=e.updateItemHeight,at=e.locale,xr=l.suggestions,Ot=!1,_e=!1,Qt=xr.map(function(Ee,Ft){if(!(me&&me<=Ft)){var xe=v+(C?++Ft:Ft);return Ot=Ot||Ee.isNew&&Ee.type===Ke.Scope||!1,_e=ve&&Ee.type===Ke.Event||!1,(0,ar.jsx)(W8,{styles:Q,containerStyles:p,newItemTagStyles:re,strings:c,suggestion:Ee,index:Ft,locale:at,htmlId:se?Bn(Ft,!0):Ee.type===kt?kt:Bn(xe),theme:a,queryString:ie!==""?ie:void 0,accessibilityRole:qe,accessibilityPositionInSet:xe+1,accessibilitySetSize:u,truncateSubtitle:!0,onItemHovered:K,onItemSelected:Ce,onItemHeightChange:Z,enablePrefixHighlighting:T,hasSelectionBeenModifiedViaKeyboard:w,showKeyboardTooltip:k&&!!Ee.isHighlighted,disableTabFocus:fe,isInitialSelection:S,layerHostId:H,disableTooltips:q,enableExpandedECCScopeLayout:se,enableMeetingBanner:Ze,hasScopableHeader:C,updateItemHeight:Qe},"suggestion-item-".concat(Ft))}}),_t=[],Bt=0;Bt<(W||0);Bt++)_t.push((0,ar.jsx)(pp,{style:$},"shimmer-skeleton-".concat(Bt)));return(0,ar.jsxs)(ar.Fragment,{children:[B&&(0,ar.jsx)(Or,Object.assign({},F,{onHeightChange:G})),_e&&(0,ar.jsxs)("div",{style:{display:"flex",width:"100%",height:gt?"52px":"36px",alignItems:"center",gap:"12px",borderRadius:"6px",backgroundColor:"".concat(a==null||(t=a.meetingBanner)==null?void 0:t.backgroundColor),padding:"6px 12px",border:"1px solid ".concat(a==null||(n=a.meetingBanner)==null?void 0:n.borderColor),margin:"6px 0",boxSizing:"border-box"},"aria-label":Ie,children:[(0,ar.jsx)(ye,{type:"Info",filled:!0,primaryColor:a==null||(o=a.meetingBanner)==null?void 0:o.iconPrimaryColor}),(0,ar.jsx)("span",{style:{fontSize:"12px",fontStyle:"normal",fontWeight:400,lineHeight:"16px",padding:"1px 0px 3px 0px",color:"".concat(a==null||(r=a.meetingBanner)==null?void 0:r.text)},children:Ie})]}),g?(0,ar.jsx)(ds,{theme:a,styles:h,htmlId:d,group:l,isScopableHeader:C,accessibilityPositionInSet:v+1,accessibilitySetSize:u,onClick:oe,onGroupHovered:U,onHeightChange:ge,onHeightExtraSpaceBottomChange:de,strings:c,displayNewItemTag:Ot,newItemTagStyles:re,hasSelectionBeenModifiedViaKeyboard:w,children:Qt}):Qt,_t]})});_u.displayName="InlineSuggestionsGroup";var W8=function(t){var n=t.index,o=t.hasScopableHeader,r=t.onItemHeightChange,a=(0,Dp.default)(t,j8),l=Ou.useCallback(function(u){return r(u,n-(o?1:0))},[n,o]);return(0,ar.jsx)(Lu,Object.assign({},a,{onHeightChange:l}))};var fs=m(ce()),q8=["styles","group","entryIndex","itemsCount","cumulativeCount","onGroupSelected","updateMenuLayout","updateItemHeight","showPartialLoadingEntities"],_1=Vr.memo(function(e){var t,n,o=e.theme,r=e.styles,a=e.strings,l=e.results,u=e.isShimmerVisible,c=e.enableScopedHeader,d=e.enablePrefixHighlighting,g=e.layerHostId,h=e.itemsCount,p=e.itemQueryString,C=e.isGroupHeaderVisible,v=e.hasSelectionBeenModifiedViaKeyboard,T=e.canDisableSuggestionTabFocus,B=e.showKeyboardTooltip,F=e.isInitialSelection,w=e.disableTooltips,k=e.showMeetingBanner,S=e.enableMeetingBanner,H=e.meetingBannerText,W=e.isSmallWindow,$=e.suggestionsRef,Q=e.locale,re=e.showPartialLoadingEntities,ie=e.onGroupSelected,fe=e.onGroupHovered,oe=e.onItemHovered,ge=e.onItemSelected,G=e.updateMenuLayout,de=e.updateItemHeight,U=Vr.useContext(te),K=Vr.useContext(pr),Ce=o??nn(void 0,U,K),Z=0;return u?(0,fs.jsx)(bp,{hideTitle:!C,style:r==null?void 0:r.shimmerStyles,inlineSuggestionsTheme:Ce}):(0,fs.jsx)(x,{ref:$,style:{marginEnd:r==null||(t=r.containerStyles)==null?void 0:t.marginEnd,height:r==null||(n=r.gptViewStyles)==null?void 0:n.height,backgroundColor:K?Ce.background.resting:"unset"},align:A.Stretch,children:l.map(function(q,se){var me=q.suggestions,ve=c&&q.isScopingEnabled!==!1&&q.title!==void 0,Ze=(0,fs.jsx)(U8,{theme:Ce,styles:r,strings:a,entryIndex:se,itemsCount:h,cumulativeCount:Z,group:q,locale:Q,layerHostId:g,accessibilitySetSize:h,headerHtmlId:Bn(Z),headerStyles:r==null?void 0:r.headerStyles,containerStyles:r==null?void 0:r.containerStyles,headerAccessibilityPositionInSet:Z,hasScopableHeader:ve,enablePrefixHighlighting:d,onGroupSelected:ie,onGroupHovered:fe,itemsStyles:r==null?void 0:r.itemsStyles,itemQueryString:p,onItemHovered:oe,onItemSelected:ge,showSeparator:q.showSeparator,isHeaderVisible:C,canDisableTabFocus:T,separatorProps:q.showSeparator&&tp||void 0,hasSelectionBeenModifiedViaKeyboard:v,showKeyboardTooltip:B,isInitialSelection:F,disableTooltips:w||q.disableTooltips,showMeetingBanner:k&&se===0,enableMeetingBanner:S,meetingBannerText:H,isSmallWindow:W,updateMenuLayout:G,updateItemHeight:de,showPartialLoadingEntities:re,shimmerStyles:r==null?void 0:r.shimmerStyles},"suggestion-group-".concat(se));return ve&&(Z+=1),Z+=me.length,Ze})})});_1.displayName="InlineSuggestionsResultBody";var U8=function(t){var n=t.styles,o=t.group,r=t.entryIndex,a=t.itemsCount,l=t.cumulativeCount,u=t.onGroupSelected,c=t.updateMenuLayout,d=t.updateItemHeight,g=t.showPartialLoadingEntities,h=(0,Mp.default)(t,q8),p=Vr.useCallback(function(){return u==null?void 0:u(o)},[u,o]),C=Vr.useCallback(function(F){return c(function(w){w.groupLayouts[r]||(w.groupLayouts[r]={headerHeight:F,separatorHeight:0,extraSpaceBottomHeight:0,itemHeights:[]}),w.groupLayouts[r].headerHeight=F})},[]),v=Vr.useCallback(function(F){return c(function(w){w.groupLayouts[r]||(w.groupLayouts[r]={headerHeight:F,separatorHeight:0,extraSpaceBottomHeight:F,itemHeights:[]}),w.groupLayouts[r].extraSpaceBottomHeight=F})},[]),T=Vr.useCallback(function(F){return c(function(w){w.groupLayouts[r]||(w.groupLayouts[r]={headerHeight:0,separatorHeight:F,extraSpaceBottomHeight:0,itemHeights:[]}),w.groupLayouts[r].separatorHeight=F})},[]),B=Vr.useCallback(function(F,w){return c(function(k){k.groupLayouts[r]||(k.groupLayouts[r]={headerHeight:0,separatorHeight:0,extraSpaceBottomHeight:0,itemHeights:[]}),k.groupLayouts[r].itemHeights[w]=F})},[]);return(0,fs.jsx)(_u,Object.assign({},h,{group:o,accessibilitySetSize:a,headerHtmlId:Bn(l),headerStyles:n==null?void 0:n.headerStyles,newItemTagStyles:n==null?void 0:n.newItemTagStyles,containerStyles:n==null?void 0:n.containerStyles,headerAccessibilityPositionInSet:l,onHeaderClick:p,onHeaderHeightChange:C,onHeightExtraSpaceBottomChange:v,onSeparatorHeightChange:T,itemsStyles:n==null?void 0:n.itemsStyles,onItemHeightChange:B,updateItemHeight:d,showPartialLoadingEntities:g}))};s();var zp=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return Object.assign({},t,{containerStyles:G8(t.containerStyles,n),shimmerStyles:K8(t),headerStyles:$8(t.headerStyles),itemsStyles:Q8(t.itemsStyles,n),footerStyles:iC(t.footerStyles)})},G8=function(){var t,n,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return Object.assign({minWidth:240,maxWidth:(t=r==null?void 0:r.menuMaxWidth)!=null?t:240,maxHeight:(n=r==null?void 0:r.menuHeight)!=null?n:252,borderRadius:8,paddingTop:4,paddingBottom:4,paddingHorizontal:4},o)},K8=function(){var t,n,o,r,a,l,u,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=c==null||(t=c.itemsStyles)==null?void 0:t.genericItemStyles;return Object.assign({itemPaddingVertical:(n=d==null?void 0:d.paddingVertical)!=null?n:6,itemPaddingHorizontal:(o=d==null?void 0:d.paddingHorizontal)!=null?o:12,textPaddingLeft:(r=d==null?void 0:d.textPaddingStart)!=null?r:8,personaCoinSize:(a=d==null?void 0:d.personaCoinSize)!=null?a:24,titleLineHeight:(l=c==null||(u=c.headerStyles)==null?void 0:u.titleLineHeight)!=null?l:16},c.shimmerStyles)},$8=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.assign({},t)},Z8=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{item:Object.assign({},an(o),H1.item,n,t.item),description:Object.assign({},an(o),H1.description,n,t.description)}},Q8=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return{genericItemStyles:X8(t.genericItemStyles,t.sharedItemStyles,n),personItemStyles:Y8(t.personItemStyles,t.sharedItemStyles,n),fileItemStyles:J8(t.fileItemStyles,t.sharedItemStyles,n),scopeItemStyles:eC(t.scopeItemStyles,t.sharedItemStyles,n),eventItemStyles:tC(t.eventItemStyles,t.sharedItemStyles,n),emailItemStyles:rC(t.emailItemStyles,t.sharedItemStyles,n),chatItemStyles:oC(t.chatItemStyles,t.sharedItemStyles,n),appGptItemStyles:nC(t.appGptItemStyles,t.sharedItemStyles,n),noSuggestionsStyles:Z8(t.noSuggestionsStyles,t.sharedItemStyles,n)}},an=function(t){var n,o;return Object.assign({},Hu,{borderRadius:(n=t==null?void 0:t.itemBorderRadius)!=null?n:Hu.borderRadius,height:(o=t==null?void 0:t.itemHeight)!=null?o:Hu.height})},Ri=function(t){return Object.assign({},wu,t!=null&&t.itemIconSize?{width:t.itemIconSize,height:t.itemIconSize,minWidth:t.itemIconSize}:{})},X8=function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return Object.assign({},an(r),{personaCoinSize:(t=r==null?void 0:r.itemIconSize)!=null?t:24},o,n,{iconStyles:Object.assign({},Ri(r),n==null?void 0:n.iconStyles)})},Y8=function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return Object.assign({},an(r),{personaCoinSize:(t=r==null?void 0:r.itemIconSize)!=null?t:24},o,n)},J8=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return Object.assign({},an(o),n,t,{iconStyles:Object.assign({},Ri(o),t==null?void 0:t.iconStyles)})},eC=function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return Object.assign({},an(r),{personaCoinSize:(t=r==null?void 0:r.itemIconSize)!=null?t:24},o,n,{iconStyles:Object.assign({},Ri(r),n==null?void 0:n.iconStyles)})},tC=function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return Object.assign({},an(r),{personaCoinSize:(t=r==null?void 0:r.itemIconSize)!=null?t:24},o,n,{iconStyles:Object.assign({},Ri(r),n==null?void 0:n.iconStyles)})},rC=function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return Object.assign({},an(r),{personaCoinSize:(t=r==null?void 0:r.itemIconSize)!=null?t:24},o,n,{iconStyles:Object.assign({},Ri(r),n==null?void 0:n.iconStyles)})},nC=function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return Object.assign({},an(r),{personaCoinSize:(t=r==null?void 0:r.itemIconSize)!=null?t:24},o,n,{iconStyles:Object.assign({},Ri(r),n==null?void 0:n.iconStyles)})},oC=function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return Object.assign({},an(r),{personaCoinSize:(t=r==null?void 0:r.itemIconSize)!=null?t:24},o,n,{iconStyles:Object.assign({width:24,height:24,borderRadius:20},n==null?void 0:n.iconStyles)})},iC=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.assign({},vi,{height:45,paddingTop:6,paddingBottom:4,paddingHorizontal:6,marginTop:-4,marginHorizontal:-4,marginBottom:4,transform:"translateY(4px)"},t)};s();var Vp=m(eo()),Np=m(R());var Hi=m(ce()),aC=["style","theme"],D1=Np.memo(function(e){var t,n,o,r,a,l,u,c,d,g,h,p,C,v,T=e.style,B=e.theme,F=(0,Vp.default)(e,aC);return(0,Hi.jsx)(Hi.Fragment,{children:(0,Hi.jsx)(x,{style:{marginBottom:(t=T==null?void 0:T.marginBottom)!=null?t:8,marginTop:(n=T==null?void 0:T.marginTop)!=null?n:8,marginStart:(o=T==null?void 0:T.marginStart)!=null?o:0,marginEnd:(r=T==null?void 0:T.marginEnd)!=null?r:12,width:"100%",minWidth:0},children:(0,Hi.jsx)(Ql,Object.assign({},F,{isSearchBoxHighlighted:!1,autoComplete:!1,spellCheck:!1,accessibilityLabel:"InlineSuggestionsSearchBox",styles:{borderRadius:4,width:"100%",borderBottom:"".concat(B==null||(a=B.searchBox)==null?void 0:a.borderBottomColor," solid 1px")},theme:{background:B==null?void 0:B.background.resting,textColor:B==null||(l=B.text)==null?void 0:l.resting,placeholderTextColor:B==null||(u=B.text)==null?void 0:u.disabled,clearButton:{hover:B==null||(c=B.background)==null?void 0:c.hover,resting:B==null||(d=B.background)==null?void 0:d.resting},iconColor:B==null||(g=B.searchBox)==null?void 0:g.iconColor,borderColor:{hover:B==null||(h=B.searchBox)==null||(p=h.borderColor)==null?void 0:p.hover,resting:B==null||(C=B.searchBox)==null||(v=C.borderColor)==null?void 0:v.resting}}}))})})});D1.displayName="InlineSuggestionsSearchBox";s();var jp=m(eo()),Wp=m(R());var M1=m(ce()),sC=["strings","theme","browseThisComputerButtonLabel","isBrowseThisComputerEnabled","onClickBrowseThisComputer","hasSelectionBeenModifiedViaKeyboard"],z1=Wp.memo(function(e){var t=e.strings,n=e.theme,o=e.browseThisComputerButtonLabel,r=e.isBrowseThisComputerEnabled,a=e.onClickBrowseThisComputer,l=e.hasSelectionBeenModifiedViaKeyboard,u=(0,jp.default)(e,sC);return(0,M1.jsx)(x,{direction:_.LeftToRight,align:A.Stretch,children:(0,M1.jsx)(Y,Object.assign({},u,{style:G5,accessibilityRole:"option",automationLabel:"InlineSuggestionsBrowseThisComputer",title:o,icon:{type:"Laptop",style:K5},onClick:a,hasKeyboardFocus:r,theme:n,isSelectedByKeyboard:r&&l}))})});z1.displayName="InlineSuggestionsBrowseThisComputer";s();var aU=m(R());var gs=m(ce()),qp=function(t){return(0,gs.jsxs)(x,{direction:_.LeftToRight,style:jm,children:[(0,gs.jsx)(ye,{type:"ForwardSlashPromo",style:Wm}),(0,gs.jsx)(V,{text:t.strings.inlineSuggestions("discoveryPromoFooterText"),style:qm})]})};var Ve=m(ce()),lC=["paddingStart","paddingEnd","paddingHorizontal","paddingTop","paddingBottom","paddingVertical","paddingScrollTop","scrollbarThumbWidth","scrollbarPaddingBottom"],uC=["maxHeight"],Up=function(t){var n,o,r,a=t.definition,l=t.theme,u=t.style,c=t.styles,d=t.strings,g=t.layerHostId,h=t.queryString,p=t.results,C=t.isError,v=t.isLoading,T=t.menuType,B=t.enableScopedHeader,F=t.enablePrefixHighlighting,w=t.enableStickyFooter,k=t.keyboardHandlerTarget,S=t.showMoreEntitiesConfig,H=t.browseThisComputerConfig,W=t.showDiscoveryPromoFooter,$=t.listID,Q=t.noSuggestionsHeaderInfo,re=t.disableTooltips,ie=t.moveSelectionOnHover,fe=t.locale,oe=t.showMeetingBanner,ge=t.enableMeetingBanner,G=t.meetingBannerText,de=t.isUnsupported,U=t.showPartialLoadingEntities,K=t.onGroupSelected,Ce=t.onAction,Z=t.onItemSelected,q=t.onFocus,se=t.onFooterAction,me=t.onAfterUpdate,ve=t.appGptConfig,Ze=J.useContext(te),Ie=J.useContext(pr),Oe=p.every(function(M){var N;return!((N=M.suggestions)!=null&&N.length)||M.alwaysDisplay}),qe=J.useState({type:"item",groupIndex:0,itemIndex:0}),gt=(0,Lt.default)(qe,2),Qe=gt[0],at=gt[1],xr=J.useCallback(function(M){M.type===kt?M.id===Iu?Ce==null||Ce(dn.Retry):M.id===Eu&&(Vi(""),Ce==null||Ce(dn.ClearSearch)):M.type===Ke.App&&M.AppType===void 0?ve==null||ve.onClickExploreMoreCopilots==null||ve.onClickExploreMoreCopilots():Z(M)},[Ce,Z]),Ot=u??Ru,_e=J.useMemo(function(){return zp(c,Ot)},[c,Ot]),Qt={RenderFooterIcons:"true"},_t=J.useRef(null),Bt=J.createRef(),Ee=J.useRef({groupLayouts:[]}),Ft=J.useState(0),xe=(0,Lt.default)(Ft,2),Se=xe[0],Be=xe[1],no=J.useState(!1),oo=(0,Lt.default)(no,2),Dt=oo[0],kr=oo[1],In=J.useState(void 0),ys=(0,Lt.default)(In,2),De=ys[0],ln=ys[1],xs=J.useState([]),Pi=(0,Lt.default)(xs,2),Xe=Pi[0],Oo=Pi[1],Li=J.useCallback(function(M){Oo(M)},[Oo]),Ju=J.useState(!1),ks=(0,Lt.default)(Ju,2),Oi=ks[0],_i=ks[1],Ts=J.useState(),Di=(0,Lt.default)(Ts,2),Mi=Di[0],Mt=Di[1],ec=J.useState(!1),Bs=(0,Lt.default)(ec,2),mt=Bs[0],En=Bs[1],zi=J.useState(""),Fs=(0,Lt.default)(zi,2),tc=Fs[0],Vi=Fs[1],rc=J.useState(!1),Ni=(0,Lt.default)(rc,2),sr=Ni[0],Tr=Ni[1],ji=J.useState(!1),Wi=(0,Lt.default)(ji,2),Rs=Wi[0],_o=Wi[1],Hs=J.useState(!1),qi=(0,Lt.default)(Hs,2),io=qi[0],Do=qi[1],nc=J.useState(!0),ws=(0,Lt.default)(nc,2),oc=ws[0],Pn=ws[1],ao=J.useRef(null),Ln=J.useMemo(function(){var M=!1;if(ve!=null&&ve.enableAppGpt){var N,He;p[0]||(p[0]={suggestions:[]}),M=(N=p[0].suggestions)==null?void 0:N.every(function(Br){return Br.type===Ke.App});var he=(He=p[0].suggestions)==null?void 0:He.some(function(Br){return Br.isMoreButton});if(ve!=null&&ve.onClickExploreMoreCopilots&&M&&!he){var ke={type:Ke.App,title:(ve==null?void 0:ve.moreCopilotsStringOverride)||"Get Copilot extensions",isMoreButton:!0};p[0].suggestions.push(ke)}}var st=ap(v,C,Oe,d,p,Q,de),un=st.filter(function(Br){return Br.isScopingEnabled!==!1&&!!Br.title}).length,lr=B&&!mt&&un>0&&!M,ur=st.reduce(function(Br,gc){return gc.suggestions.length+Br},0),_s=lr?ur+un:ur;return{baseInlineSuggestionsGroups:st,isScopedHeaderEnabled:lr,itemsCount:ur,itemsAndGroupHeadingCount:_s,isGptMenu:M}},[v,C,Oe,d,p,Q]),Re=Ln.baseInlineSuggestionsGroups,On=Ln.isScopedHeaderEnabled,As=Ln.itemsCount,zt=Ln.itemsAndGroupHeadingCount,_n=Ln.isGptMenu,so=J.useRef(),Is=J.useMemo(function(){return Qe===void 0?Re:Qe.type==="group"?Re.map(function(M,N){return N===Qe.groupIndex?Object.assign({},M,{isHighlighted:!0}):M}):Re.map(function(M,N){return N===Qe.groupIndex?Object.assign({},M,{suggestions:M.suggestions.map(function(He,he){return he===Qe.itemIndex?Object.assign({},He,{isHighlighted:!0}):He})}):M})},[Qe,Re]),lo=np(T),uo=!!T&&"brandingMode"in T&&T.brandingMode!==void 0,Es=uo?T.brandingMode:void 0,ic=T&&"flag"in T?T.critiquePosition:void 0,ac=T&&"flag"in T?T.critiqueSetSize:void 0,sc={flexGrow:0,flexShrink:0},Xt=l??nn(Es,Ze,Ie);J.useEffect(function(){Mt({top:0,bottom:0,isNewRender:!0})},[h]),J.useEffect(function(){if(!v){var M=On&&Re.length>0&&Re[0].title?1:0;mt&&H!=null&&H.isBrowseThisComputerEnabled&&(M=-1,Mt({top:0,bottom:0,isNewRender:!0}),kr(!0)),Ne(M,M===1),Be(M)}},[v,mt,Re]);var Mo=Re.length;J.useEffect(function(){_t.current&&(clearTimeout(_t.current),_t.current=null),v?Mo?_t.current=setTimeout(function(){return _i(!0)},rp):_i(!0):_i(!1)},[v,Mo]),J.useEffect(function(){me&&a&&me(a)});var lc=J.useCallback(function(M){M(Ee.current)},[]),_3=J.useCallback(function(M,N){N.type===kt?N.id===Iu?q==null||q({focusedItemHtmlId:kt,selection:{type:"retryButton"}}):N.id===Eu&&(q==null||q({focusedItemHtmlId:kt,selection:{type:"clearSearchButton"}})):q==null||q({focusedItemHtmlId:Bn(M),selection:{type:"item",item:N,positionInSet:M,setSize:zt}})},[zt,q]),Ne=J.useCallback(function(M,N){if(M===void 0)return at(void 0),-1;M=M%zt;for(var He=0,he={top:0,bottom:0},ke=0;ke<Re.length;ke++){var st,un,lr=Re[ke];if(he.top=he.bottom+((st=Ee.current.groupLayouts[ke])==null?void 0:st.separatorHeight),he.bottom=he.top+((un=Ee.current.groupLayouts[ke])==null?void 0:un.headerHeight),On&&lr.isScopingEnabled!==!1&&lr.title){if(M===He)return Mt(Object.assign({},he,{isNewRender:!!N})),q==null||q({focusedItemHtmlId:Bn(M),selection:{type:"group",group:lr,positionInSet:M,setSize:zt}}),ke<Re.length&&at({type:"group",groupIndex:ke}),M;He++}for(var ur=0;ur<lr.suggestions.length;ur++){var _s,Br,gc=lr.suggestions[ur];if(ur!==0&&(he.top=he.bottom),he.bottom=he.bottom+((_s=(Br=Ee.current.groupLayouts[ke])==null?void 0:Br.itemHeights[ur])!=null?_s:0),ur===lr.suggestions.length-1){var pf;he.bottom+=(pf=Ee.current.groupLayouts[ke])==null?void 0:pf.extraSpaceBottomHeight}if(M===He)return Mt(Object.assign({},he,{isNewRender:!!N})),_3(M,gc),ke<Re.length&&ur<Re[ke].suggestions.length&&at({type:"item",groupIndex:ke,itemIndex:ur}),M;He++}}return M},[Re]),Ps=J.useCallback(function(M){ln(M),q==null||q({focusedItemHtmlId:Ti(Xe[M]),selection:{type:"action",action:Xe[M],positionInSet:M,setSize:Xe.length}})},[Xe,q,ln]),zo=J.useRef(!0),Ls=J.useCallback(function(M){ie?(Pn(!1),Be(Ne(M))):(zo.current||Xl())&&(Be(M),Ne(void 0))},[ie,Re,Ne]),D3=J.useCallback(function(M){var N=O1(M);if(N){var He=function(){var st=0;for(var un of Re){On&&un.isScopingEnabled!==!1&&un.title&&st++;for(var lr of un.suggestions){if(lr.type===M.type&&O1(lr)===N)return st;st++}}return st},he=He();Ls(he)}},[Ls]),M3=J.useCallback(function(M){var N=function(){var ke=0;for(var st of Re){if(On&&st.isScopingEnabled!==!1&&st.title){if(M.title===st.title&&M.subtitle===st.subtitle)return ke;ke++}ke+=st.suggestions.length}return ke},He=N();Ls(He)},[Ls]);Yl(function(){zo.current=!0});var Ui=function(N){switch(N){case E.ArrowDown:{De===void 0?(Ps(0),at(void 0),Mt({top:1e4,bottom:1e4,isNewRender:!1})):De<Xe.length-1?(Ps(De+1),Mt({top:1e4,bottom:1e4,isNewRender:!1})):mt&&H!=null&&H.isBrowseThisComputerEnabled?Vo(N):(Be(Ne(0)),ln(void 0));break}case E.ArrowUp:{De===0?(ln(void 0),S!=null&&S.isShowMoreEntitiesEnabled&&!mt?(at(void 0),Tr(!0),Mt({top:1e4,bottom:1e4,isNewRender:!1})):Be(Ne(zt-1))):De!==void 0&&De>0?(Ps(De-1),Mt({top:1e4,bottom:1e4,isNewRender:!1})):(Ne(void 0,!1),Ps(Xe.length-1),Mt({top:1e4,bottom:1e4,isNewRender:!1}));break}case E.Enter:case E.Tab:{if(De===void 0)break;var He=Xe[De];if(He===f.Overflow){var he;(he=Bt.current)==null||he.openOverflowMenu(!0)}else se==null||se(Xe[De]);break}default:break}},of=function(){so.current=Is[0],En(!0),Tr(!1),S==null||S.onClickShowMoreEntities==null||S.onClickShowMoreEntities(!0),Be(void 0)},z3=function(){En(!1),S==null||S.onCloseShowMoreEntities==null||S.onCloseShowMoreEntities(!1),Be(0)},uc=function(N){switch(N){case E.ArrowDown:{sr?Xe.length>0?(Tr(!1),ln(0)):(Tr(!1),Be(Ne(0))):(Ne(Se,!1),Tr(!0),Mt({top:1e4,bottom:1e4,isNewRender:!1}));break}case E.ArrowUp:{sr?(Tr(!1),Be(Ne(zt-1))):(Ne(Se,!1),ln(void 0),Tr(!0),Mt({top:1e4,bottom:1e4,isNewRender:!1}));break}case E.Enter:case E.Tab:{of();break}default:break}},Vo=function(N){var He=As-1===Se;switch(N){case E.ArrowDown:{if(lo&&De===Xe.length-1)ln(void 0),Be(Ne(void 0)),kr(!0);else{var he=!lo&&He&&!Dt;kr(he),Be(he?void 0:Ne((Se??-1)+1))}break}case E.ArrowUp:{Dt?(kr(!1),lo&&De===void 0?Ui(N):Be(Ne(zt-1))):(Ne(Se,!1),Be(void 0),kr(!0));break}case E.Enter:case E.Tab:{H==null||H.onClickBrowseThisComputer==null||H.onClickBrowseThisComputer();break}default:break}},cc=function(N){if(N!==E.ArrowDown&&N!==E.ArrowUp&&N!==E.Enter&&N!==E.Tab&&N!==E.Home&&N!==E.End)return!1;switch(N){case E.ArrowDown:{if(_o(!0),Do(!1),Pn(!1),zo.current=!1,De===void 0&&Se!==zt-1&&!sr)if(!(H!=null&&H.isBrowseThisComputerEnabled)||_n){var He=Ne((Se??-1)+1);Be(He)}else Vo(N);else S!=null&&S.isShowMoreEntitiesEnabled&&!mt&&(De===void 0||sr)?uc(N):Xe.length>0?Ui(N):H!=null&&H.isBrowseThisComputerEnabled&&!_n?Vo(N):Be(Ne(0));break}case E.ArrowUp:{_o(!0),Do(!1),Pn(!1),zo.current=!1,Dt&&mt?Vo(N):Se===0&&mt?H!=null&&H.isBrowseThisComputerEnabled?Vo(N):lo?Ui(N):Be(Ne(zt-1)):De===void 0&&Se!==0&&!sr?Be(Ne((Se??-1)-1)):(Se===0||De!==void 0)&&Xe.length>0&&!sr?Ui(N):sr||Se===0&&S!=null&&S.isShowMoreEntitiesEnabled&&!mt&&(De===0||De===void 0)?uc(N):Be(Ne(zt-1));break}case E.Home:{_o(!0),Do(!1),Pn(!1),Be(Ne(0)),zo.current=!1;break}case E.End:{_o(!0),Do(!1),Pn(!1),Be(Ne(zt-1)),zo.current=!1;break}case E.Enter:case E.Tab:{if(sr){uc(N);break}if(De!==void 0){Ui(N);break}if(Dt){Vo(N);break}var he=0;Re.forEach(function(ke){On&&ke.isScopingEnabled!==!1&&ke.title&&(Se===he&&(K==null||K(ke)),he++),Se!==void 0&&Se>=he&&Se<he+ke.suggestions.length&&xr(ke.suggestions[Se-he]),he+=ke.suggestions.length});break}default:return!1}return!0},af=function(N){k||cc(N.key)},V3=function(N){cc(N.key)};J.useEffect(function(){return k==null||k.setKeyPressHandler(cc),function(){k==null||k.setKeyPressHandler(void 0)}});var Gi=J.useRef(),sf=function(){Gi.current&&clearTimeout(Gi.current),Gi.current=setTimeout(function(){clearTimeout(Gi.current),Gi.current=void 0,Do(!0)},50)};J.useEffect(sf,[Mi]);var N3=function(N){N&&Pn(!1)},qr=_e.containerStyles||{},lf=qr.paddingStart,uf=qr.paddingEnd,cf=qr.paddingHorizontal,dc=qr.paddingTop,fc=qr.paddingBottom,j3=qr.paddingVertical,W3=qr.paddingScrollTop,q3=qr.scrollbarThumbWidth,U3=qr.scrollbarPaddingBottom,Os=(0,V1.default)(qr,lC),G3=J.useState((n=(o=_e.gptViewStyles)==null?void 0:o.defaultContainerHeight)!=null?n:250),df=(0,Lt.default)(G3,2),ff=df[0],K3=df[1],$3=function(N){var He,he,ke=Math.min((He=(he=p[0])==null?void 0:he.suggestions.length)!=null?He:1,5);K3(N*ke+(dc??0)+(fc??0))},NC=Os.maxHeight,Z3=(0,V1.default)(Os,uC),Q3=ve!=null&&ve.enableAppGpt&&_n?Object.assign({},Z3,{maxHeight:ff,height:ff}):Os,X3=lf??cf,Y3=uf??cf,gf=W&&T&&"flag"in T&&T.flag===Me.File,mf=function(){return(0,Ve.jsx)(qp,{strings:{inlineSuggestions:d.inlineSuggestions}})},hf=function(){var N,He;return!lo||ve!=null&&ve.enableAppGpt?(0,Ve.jsx)(Ve.Fragment,{}):(0,Ve.jsx)(rs,{ref:Bt,theme:gp(Xt),definition:{critiqueType:b.InlineSuggestion,flagType:T&&"flag"in T?T.flag:void 0,brandingMode:Es,onlyShowFeedbackButton:w,actions:op(T),critiquePosition:ic,critiqueSetSize:ac},layerHostId:g,strings:d,settings:Qt,onAction:se,overflowMenuCalloutStyle:_e==null||(N=_e.footerStyles)==null?void 0:N.overflowMenuCalloutStyles,footerContainerStyle:_e.footerStyles,footerButtonStyle:_e.footerStyles.buttonStyles,overflowMenuButtonStyle:(He=_e.footerStyles.buttonStyles)!=null?He:_e.footerStyles.overFlowButtonStyles,setFooterActionIdList:Li,selectedButtonIndex:De,showPreviewTooltipForBranding:!0})},J3=(S==null?void 0:S.isShowMoreEntitiesEnabled)&&!mt&&!(C||Oe||de);return(0,Ve.jsxs)(x,{style:Object.assign({},Kn(Xt,void 0,{useFluentV9:Ze}),Q3,{hideFocusBox:!0}),align:A.Stretch,focusable:!0,onKeyDown:af,handledKeys:[E.ArrowDown,E.ArrowUp,E.Enter,E.Tab,E.Home,E.End],accessibilityRole:Oi||C||Oe||de?void 0:"group",accessible:!0,accessibilityLabel:d.inlineSuggestions("suggestionsGroupSearchResultAccessibilityLabel"),nativeID:$,children:[(0,Ve.jsxs)(Wl,{scrollDirection:"vertical",style:{paddingStart:X3,paddingEnd:Y3,paddingTop:dc,paddingBottom:fc,paddingVertical:j3,paddingScrollTop:W3,scrollbarThumbWidth:q3,scrollbarPaddingBottom:U3,borderRadius:Os.borderRadius},theme:{thumbColor:Xt==null||(r=Xt.scroll)==null?void 0:r.thumbColor},onScroll:sf,onScrollStatusChange:N3,scrollTo:Mi,hidden:Oi,alwaysShowScrollbar:(ve==null?void 0:ve.enableAppGpt)&&_n,children:[(0,Ve.jsx)(qt,{disableInitialFocus:!0,children:(0,Ve.jsxs)(x,{align:A.Stretch,accessible:!0,accessibilityRole:"menu",accessibilityLabel:d.inlineSuggestions("suggestionsGroupSearchResultAccessibilityLabel"),children:[mt&&(0,Ve.jsxs)(Ve.Fragment,{children:[S!=null&&S.displayGroupHeaderDuringSearch&&so.current?(0,Ve.jsx)(ds,{theme:Xt,styles:_e==null?void 0:_e.headerStyles,group:so.current,isScopableHeader:!1,onHeightChange:function(N){Ee.current.groupLayouts[0]||(Ee.current.groupLayouts[0]={headerHeight:N,separatorHeight:0,extraSpaceBottomHeight:0,itemHeights:[]}),Ee.current.groupLayouts[0].headerHeight=N},onHeightExtraSpaceBottomChange:function(N){Ee.current.groupLayouts[0]||(Ee.current.groupLayouts[0]={headerHeight:N,separatorHeight:0,extraSpaceBottomHeight:N,itemHeights:[]}),Ee.current.groupLayouts[0].extraSpaceBottomHeight=N},strings:d,displayNewItemTag:!1}):void 0,(0,Ve.jsxs)(x,{direction:_.LeftToRight,children:[(S==null?void 0:S.shouldOnlyShowSearchBox)!==!0?(0,Ve.jsx)("span",{style:sc,children:(0,Ve.jsx)(Y,{appearance:"subtle",style:Z5,automationLabel:"InlineSuggestionBackButton",onClick:z3,theme:cp(Xt),icon:{type:"Previous",style:$5}})}):void 0,(0,Ve.jsx)(D1,{theme:Xt,style:_e==null?void 0:_e.searchBoxStyles,htmlId:S==null?void 0:S.searchBoxHtmlId,autoFocus:!0,handledKeys:[E.ArrowDown,E.ArrowUp,E.Enter,E.Tab,E.Home,E.End],onKeyDown:V3,placeholder:(S==null?void 0:S.searchBoxPlaceHolder)||"",value:tc,onValueChange:function(N){Vi(N),S==null||S.onSearchChange==null||S.onSearchChange(N)},onClear:function(){Vi(""),S==null||S.onSearchClear==null||S.onSearchClear()}})]})]}),(H==null?void 0:H.isBrowseThisComputerEnabled)&&mt&&(0,Ve.jsx)(z1,{handledKeys:[E.ArrowDown,E.ArrowUp,E.Enter,E.Tab,E.Home,E.End],onKeyDown:af,strings:d,browseThisComputerButtonLabel:H==null?void 0:H.browseThisComputerButtonLabel,isBrowseThisComputerEnabled:Dt,hasSelectionBeenModifiedViaKeyboard:Rs,browseThisComputerHtmlId:H==null?void 0:H.browseThisComputerHtmlId,onClickBrowseThisComputer:H==null?void 0:H.onClickBrowseThisComputer,theme:up(Xt,Dt)}),(0,Ve.jsx)(_1,{suggestionsRef:ao,theme:Xt,styles:_e,strings:d,locale:fe,results:Is,isShimmerVisible:Oi,enableScopedHeader:On,itemsCount:zt,itemQueryString:h,onGroupSelected:K,onGroupHovered:M3,onItemHovered:D3,onItemSelected:xr,enablePrefixHighlighting:F,isGroupHeaderVisible:!mt&&!_n,hasSelectionBeenModifiedViaKeyboard:Rs,showKeyboardTooltip:io,isInitialSelection:oc,layerHostId:g,disableTooltips:re,updateMenuLayout:lc,updateItemHeight:$3,showMeetingBanner:oe,enableMeetingBanner:ge,meetingBannerText:G,showPartialLoadingEntities:U}),J3&&(0,Ve.jsx)(Y,{appearance:"subtle",automationLabel:"InlineSuggestionMoreEntitiesButton",title:S.showMoreEntitiesButtonLabel,useFullWidth:!0,accessibilityRole:"option",theme:lp(Xt,sr),onClick:of})]})}),T&&"flag"in T&&T.flag===Me.SatoriEntity&&(0,Ve.jsx)(x,{style:{paddingHorizontal:Un},children:(0,Ve.jsx)(hr,{url:ip(h),text:d.inlineSuggestions("seeMoreHyperLinkLabel"),theme:dp(Xt),style:ep(),inline:!1})}),!w&&hf(),!w&&gf&&mf()]}),w&&hf(),w&&gf&&mf()]})};s();var Gp=function(){function e(){this._onUpdate=void 0}var t=e.prototype;return t.onKeyPressed=function(o){return this._onUpdate?this._onUpdate(o):!1},t.setKeyPressHandler=function(o){this._onUpdate=o},e}();s();s();var Yp=m(dl()),Jp=m(Fe()),$e=m(R());s();s();function Kp(e){return 5}function $p(){return 5}var Zp={marginHorizontal:8};var Qp={separatorColor:"#E6E6E6",textColor:"#000000",placeholderTextColor:"#605E5C",timestampColor:"#605E5C",background:"#FFFFFF",acceptButtonBackground:{resting:"#FFFFFF",hover:"#CFF7E4",focused:"#CFF7E4",disabled:"#F0F0F0"},rejectButtonBackground:{resting:"#FFFFFF",hover:"#F6D1D4",focused:"#F6D1D4",disabled:"#F0F0F0"},buttonColor:{resting:"#000000",disabled:"#A8A7A7"}};function Xp(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o={marginTop:8,marginBottom:10};return{authorName:{fontWeight:z.SemiBold,fontSize:14,lineHeight:20,cssColor:e.textColor},root:{minWidth:n.minWidth,maxWidth:n.maxWidth,backgroundColor:e.background,borderRadius:n.borderRadius,width:"100%"},timestamp:{marginVertical:1,fontSize:10,cssColor:e.timestampColor,lineHeight:17},topperActionButton:{iconFontWeight:z.SemiBold,iconFontSize:12,paddingHorizontal:5,paddingVertical:5,textAlign:rt.Center},topperHeading:Object.assign(Object.assign({fontSize:10,fontWeight:z.SemiBold,lineHeight:16},Zp),{cssColor:e.textColor,flexibleSize_DONOTUSE:!0}),topperRoot:{paddingHorizontal:2,paddingVertical:2},trackChangeContent:{marginVertical:3,fontSize:12,lineHeight:17,cssColor:e.textColor},trackChangeInfo:{marginStart:$p(),marginEnd:4,flexibleSize:!0},trackChangeInfoContainer:Object.assign(Object.assign({},o),{marginStart:Kp(t)}),trackChangeInfoHeaderContainer:{flexibleSize:!0}}}s();var wi=!0;var N1=function(e){function t(o){var r;return r=e.call(this,o)||this,r.acceptButtonRef=$e.createRef(),r.onKeyUpCallback=function(a,l){r.shouldHandleKeyUpKey(a.key)?(r.setState(function(u){return{heading:l==="Accept"?r.props.strings.acceptHoveredHeading:r.props.strings.rejectHoveredHeading,focusedActionId:l,hoveredActionId:u.hoveredActionId}}),r.propsByActionId[l].onButtonEnter()):r.shouldHandleKeyUpAsClick(a)&&r.propsByActionId[l].onButtonClick()},r.onAcceptKeyUpCallback=function(a){r.onKeyUpCallback(a,"Accept")},r.onRejectKeyUpCallback=function(a){r.onKeyUpCallback(a,"Reject")},r.state={heading:r.props.strings.regularHeading,hoveredActionId:void 0,focusedActionId:void 0},r.onAcceptHoverInCallback=r.createButtonEnterCallback("Accept","HoverIn"),r.onAcceptHoverOutCallback=r.createButtonExitCallback("Accept","HoverOut"),r.onAcceptFocusCallback=r.createButtonEnterCallback("Accept","Focus"),r.onAcceptBlurCallback=r.createButtonExitCallback("Accept","Blur"),r.onRejectHoverInCallback=r.createButtonEnterCallback("Reject","HoverIn"),r.onRejectHoverOutCallback=r.createButtonExitCallback("Reject","HoverOut"),r.onRejectFocusCallback=r.createButtonEnterCallback("Reject","Focus"),r.onRejectBlurCallback=r.createButtonExitCallback("Reject","Blur"),r}(0,Jp.default)(t,e);var n=t.prototype;return n.render=function(){var r=this.theme,a=this.getStyles(r);return $e.createElement(x,{style:a.root,align:A.Stretch},this.createTopper(r,a),this.createSeparator(r),this.createTrackChangeInfo(a))},n.componentDidMount=function(){this.props.onAfterUpdate&&this.props.onAfterUpdate(this.props.definition)},n.componentDidUpdate=function(r){this.props.onAfterUpdate&&r.definition!==this.props.definition&&this.props.onAfterUpdate(this.props.definition)},n.focus=function(){if(this.acceptButtonRef.current){this.acceptButtonRef.current.focus();var r={key:E.ArrowDown,alt:!1,ctrl:!1,shift:!1,meta:!1};wi&&this.onKeyUpCallback(r,"Accept")}},n.setDefinition=function(r){},n.createTopper=function(r,a){return $e.createElement(x,{direction:_.LeftToRight,justifyContent:ue.SpaceBetween,align:A.Center,style:a.topperRoot},$e.createElement(V,{text:this.state.heading,style:a.topperHeading}),this.createTopperRightSection(r,a))},n.createSeparator=function(r){return $e.createElement(Or,{color:r.separatorColor})},n.createTrackChangeInfo=function(r){return $e.createElement(x,{direction:_.LeftToRight,style:r.trackChangeInfoContainer},$e.createElement(x,null,$e.createElement(Xo,{text:this.props.definition.authorName,size:Wa,resolutionId:this.props.definition.resolutionId})),$e.createElement(x,{style:r.trackChangeInfo},this.createTrackChangeInfoHeader(r),this.createTrackChangeContent(r),this.createTimestamp(r)))},n.createTrackChangeContent=function(r){return $e.createElement(V,{text:this.props.definition.changeDescriptor.text,formatting:Ut(this.props.definition.changeDescriptor.text.length,{trackChangePlaceholderText:this.theme.placeholderTextColor},this.props.definition.changeDescriptor.formatting),style:r.trackChangeContent})},n.createTimestamp=function(r){return $e.createElement(V,{text:this.props.definition.changeDescriptor.localizedDate,style:r.timestamp})},n.createTopperRightSection=function(r,a){var l={resting:r.buttonColor.resting,disabled:r.buttonColor.disabled},u=this.createButtonTheme(r.acceptButtonBackground,l),c=this.createButtonTheme(r.rejectButtonBackground,l);return $e.createElement(x,{direction:_.LeftToRight},$e.createElement(Y,{automationLabel:"TrackChange_AcceptButton",icon:{type:"Accept"},style:a.topperActionButton,theme:u,onHoverIn:this.onAcceptHoverInCallback,onHoverOut:this.onAcceptHoverOutCallback,onClick:this.props.onAcceptClick,onFocus:wi?void 0:this.onAcceptFocusCallback,onBlur:this.onAcceptBlurCallback,onKeyUp:wi?this.onAcceptKeyUpCallback:void 0,accessibilityLabel:this.props.strings.acceptHoveredHeading,disabled:this.props.definition.acceptDisabled,ref:this.acceptButtonRef}),$e.createElement(Y,{automationLabel:"TrackChange_RejectButton",icon:{type:"Cancel"},style:a.topperActionButton,theme:c,onHoverIn:this.onRejectHoverInCallback,onHoverOut:this.onRejectHoverOutCallback,onClick:this.props.onRejectClick,onFocus:wi?void 0:this.onRejectFocusCallback,onBlur:this.onRejectBlurCallback,onKeyUp:wi?this.onRejectKeyUpCallback:void 0,accessibilityLabel:this.props.strings.rejectHoveredHeading,disabled:this.props.definition.rejectDisabled}))},n.createButtonEnterCallback=function(r,a){var l=this;return function(){var u=a==="Focus"?l.state.hoveredActionId:l.state.focusedActionId;l.setState(function(c){return{heading:r==="Accept"?l.props.strings.acceptHoveredHeading:l.props.strings.rejectHoveredHeading,focusedActionId:a==="Focus"?r:c.focusedActionId,hoveredActionId:a==="HoverIn"?r:c.hoveredActionId}}),u!==r&&l.propsByActionId[r].onButtonEnter()}},n.createButtonExitCallback=function(r,a){var l=this;return function(){var u=a==="Blur"?l.state.hoveredActionId:l.state.focusedActionId,c=u?l.propsByActionId[u].heading:l.props.strings.regularHeading;l.setState(function(d){return{heading:c,hoveredActionId:a==="HoverOut"?void 0:d.hoveredActionId,focusedActionId:a==="Blur"?void 0:d.focusedActionId}}),l.propsByActionId[r].onButtonExit(),u&&l.propsByActionId[u].onButtonEnter()}},n.shouldHandleKeyUpKey=function(r){return r===E.ArrowLeft||r===E.ArrowRight||r===E.ArrowDown||r===E.ArrowUp||r===E.Tab},n.shouldHandleKeyUpAsClick=function(r){return mo(r)&&!Mn&&(r.key===E.Enter||r.key===E.Space)},n.createButtonTheme=function(r,a){return Object.assign(Object.assign({},Ur),{background:r,icon:{resting:a.resting,disabled:a.disabled}})},n.createTrackChangeInfoHeader=function(r){return $e.createElement(x,{direction:_.LeftToRight,justifyContent:ue.SpaceBetween,style:r.trackChangeInfoHeaderContainer},$e.createElement(V,{text:this.props.definition.authorName,style:r.authorName}))},n.getStyles=function(r){return Xp(r,Wa,this.props.style)},(0,Yp.default)(t,[{key:"theme",get:function(){var r;return(r=this.props.definition.theme)!==null&&r!==void 0?r:Qp}},{key:"propsByActionId",get:function(){return{Accept:{heading:this.props.strings.acceptHoveredHeading,onButtonEnter:this.props.onAcceptHoverIn,onButtonExit:this.props.onAcceptHoverOut,onButtonClick:this.props.onAcceptClick},Reject:{heading:this.props.strings.rejectHoveredHeading,onButtonEnter:this.props.onRejectHoverIn,onButtonExit:this.props.onRejectHoverOut,onButtonClick:this.props.onRejectClick}}}}])}($e.Component);s();var t4=m(Fe()),hs=m(R());s();s();var q1=m(R());s();var Du=m(R());var Ai=m(ce()),cC=function(t,n,o,r,a,l,u){var c={title:r,actions:[f.LaunchAIRewrite]},d={title:r,titleStyle:Jr(t.fontTable||be,r.length),tag:void 0,tagStyle:iu(t.fontTable||be),icon:{type:"PenSparkle"},disabled:!1,onClick:function(){t.onAction==null||t.onAction(f.LaunchAIRewrite,o)},onSplitButtonIn:function(){t.onAction==null||t.onAction(f.LaunchAIRewriteHoverIn,o)},onSplitButtonOut:function(){t.onAction==null||t.onAction(f.LaunchAIRewriteHoverOut,o)},theme:St(a,"suggestion"),strings:mu(t.strings.common),accessibilityRole:"menuitem",accessibilityLabel:t.suggestionAccessibilityLabel&&t.suggestionAccessibilityLabel(c),automationLabel:"CritiqueSuggestionButton_"+c.id};return(0,Ai.jsx)(Yr,{ref:n,buttonProps:d,menuProps:void 0,style:Si,theme:{splitMenuHoverBackground:a.suggestionMenuHoverBackground,splitMenuHoverForeground:a.suggestionMenuHoverForeground},strings:Ho(t.strings.common),accessibilityPositionInSet:l!==void 0?l:1,accessibilitySetSize:u!==void 0?u:1,layerHostId:t.layerHostId},o)},ms=Du.forwardRef(function(e,t){var n,o=e.definition,r=Du.useContext(te),a=dt(e,r),l=h1(e,t,o,a,1),u=l.length+1;return l.length===0&&(l.push(Je(e,t,0,e.noSuggestionsLabel||e.strings.common("suggestionsGroupNoSuggestionsText"),f.Accept,a,!0)),u-=1),l.push(cC(e,l.length===0?t:void 0,l.length,(n=o.aIRewriteButtonText)!=null?n:e.strings.critique("defaultCritiqueAIRewriteText"),a,u,u)),(0,Ai.jsx)(Ai.Fragment,{children:l})});function j1(e){return e.showAIRewriteNudgeForCritiqueType!=null&&e.showAIRewriteNudgeForCritiqueType.length>0&&e.showAIRewriteNudgeForCritiqueType.includes(e.critiqueType)}function W1(e,t){var n;return(0,Ai.jsx)(ms,Object.assign({},e,{ref:(n=e.firstSuggestionRef)!=null?n:t}))}ms.displayName="AIRewriteSuggestions";var U1=m(ce());function Mu(e,t){var n=Object.assign({},e,je(e,t),{definition:Object.assign({},e.definition,{header:e.strings.critique("grammarCardHeader")}),suggestionOverflowActions:[f.Accept,f.ReadAloud,f.SpellOut],suggestionKind:function(){return"grammar"},suggestionIcon:function(){return e.critiqueSource===ta.Inference?"Cloud":void 0}});if(Xa(e))n.getCustomSuggestions=j1(e.definition)?W1:void 0;else{var o,r=q1.createRef(),a=e.definition.showAIRewriteNudgeForCritiqueType!=null&&e.definition.showAIRewriteNudgeForCritiqueType.length>0&&e.definition.showAIRewriteNudgeForCritiqueType.includes(e.definition.critiqueType);n.customSuggestions=a?(0,U1.jsx)(ms,Object.assign({},n,{ref:(o=n.firstSuggestionRef)!=null?o:r})):void 0}return n}function Po(e,t){var n=Object.assign({},e,je(e,t),{suggestionOverflowActions:[f.Accept,f.ReadAloud,f.SpellOut],suggestionKind:function(){return"refinement"}});if(Xa(e))n.getCustomSuggestions=j1(e.definition)?W1:void 0;else{var o,r=q1.createRef(),a=e.definition.showAIRewriteNudgeForCritiqueType!=null&&e.definition.showAIRewriteNudgeForCritiqueType.length>0&&e.definition.showAIRewriteNudgeForCritiqueType.includes(e.definition.critiqueType);n.customSuggestions=a?(0,U1.jsx)(ms,Object.assign({},n,{ref:(o=n.firstSuggestionRef)!=null?o:r})):void 0}return n}function zu(e,t){var n=Po(e),o=je(e,t);if(b.Grammar===e.definition.critiqueType)return Object.assign({},n,Mu(e));if(b.Refinement===e.definition.critiqueType)return Object.assign({},n,Po(e),{suggestionKind:o.suggestionKind});var r="renderNRForAIFeedback";return e.settings&&e.settings[r]==="true"?Object.assign({},n,Po(e),{suggestionKind:o.suggestionKind,definition:Object.assign({},n.definition,{header:void 0,subheader:e.strings.critique("aIFeedbackCardSubHeader")})}):(n.definition.header=e.strings.critique("neuralRewriteCardHeader"),n.definition.subheader=e.strings.critique("neuralRewriteCardSubheader"),n.suggestionKind=o.suggestionKind,n.suggestionAccessibilityLabel=o.suggestionAccessibilityLabel,n.suggestionIcon=function(a){return Qn(e.definition,f.Accept,a)?void 0:"Info"},n.noSuggestionsLabel=n.strings.critique("neuralRewriteNoSuggestionsText"),n.renderPreviewMarker=e.definition.critiqueType===b.NeuralRewrite,n)}function e4(e,t){var n=Po(e,t);return n.definition.header=e.strings.critique("tonalRewriteCardHeader"),n.renderPreviewMarker=!0,n}var $t=m(ce()),Nr=function(e){return e[e.Default=0]="Default",e[e.ReportRewriteSuggestions=1]="ReportRewriteSuggestions",e[e.Feedback=2]="Feedback",e}(Nr||{}),ps=function(e){function t(o){var r;return r=e.call(this,o)||this,r.reportSuggestionsRadioGroupRef=hs.createRef(),r.innerCritiqueRef=hs.createRef(),r.onRewriteSelectFeedbackSuggestion=r.onRewriteSelectFeedbackSuggestion.bind(r),r.onRewriteReportSuggestionCancel=r.onRewriteReportSuggestionCancel.bind(r),r.onRewriteReportSuggestionNext=r.onRewriteReportSuggestionNext.bind(r),r.onCritiqueCardClick=r.onCritiqueCardClick.bind(r),r.onFeedbackCardBack=r.onFeedbackCardBack.bind(r),r.onFeedbackCardDismiss=r.onFeedbackCardDismiss.bind(r),r.onFeedbackCardReport=r.onFeedbackCardReport.bind(r),r.state={definition:o.definition,rewriteState:Nr.Default,rewriteReportedSuggestionId:void 0,rewriteOption:void 0,rewriteChoiceGroupSelected:!1},r}(0,t4.default)(t,e),t.isRewriteFeedbackNegative=function(r){return r!==ft.FeedbackOptionHelpful};var n=t.prototype;return n.setDefinition=function(r){this.setState({definition:r})},n.executeBadgedAction=function(r){this.innerCritiqueRef.current&&this.innerCritiqueRef.current.executeBadgedAction(r)},n.componentDidUpdate=function(r,a){if(r.definition!==this.props.definition&&this.setState({definition:this.props.definition}),a.rewriteState!==this.state.rewriteState)switch(this.state.rewriteState){case Nr.ReportRewriteSuggestions:this.reportSuggestionsRadioGroupRef.current&&this.reportSuggestionsRadioGroupRef.current.focus();break;default:this.innerCritiqueRef.current&&this.innerCritiqueRef.current.focus()}},n.focus=function(){this.innerCritiqueRef.current&&this.innerCritiqueRef.current.focus()},n.render=function(){var r=this,a=this.getDefinition();if(!a||!a.suggestions)return null;switch(this.state.rewriteState){case Nr.Default:var l=a.suggestions.map(function(g){if(r.isSuggestionReportedNegative(g.title))return Object.assign({},g,{actions:g.actions.filter(function(v){return v!==f.Accept}),title:r.props.strings.neuralRewrite("neuralRewriteReportedSuggestionTitle"),subtitle:void 0,titleDecorations:void 0});if(g.titleDecorations===void 0&&a.contextText){var h=mC(a.contextText,g.title),p=h.commonPrefixLength,C=h.commonSuffixLength;return Object.assign({},g,{titleDecorations:[{start:p,length:g.title.length-p-C,decorationType:pe.Rewrite}]})}else return g}),u=Object.assign({},this.props,{definition:Object.assign({},a,{suggestions:l}),onAction:this.onCritiqueCardClick}),c=zu(u);return(0,$t.jsx)(rn,Object.assign({},c,{ref:this.innerCritiqueRef}));case Nr.Feedback:return this.renderFeedback();case Nr.ReportRewriteSuggestions:var d=Kn(this.getTheme(),this.props.style,{useFluentV9:!!this.context});return(0,$t.jsxs)(x,{direction:_.TopToBottom,style:Object.assign({},d,{paddingHorizontal:24,paddingVertical:24}),align:A.Stretch,children:[this.renderHeader(),this.renderReportSuggestions(),this.renderFooter()]})}},n.getDefinition=function(){return this.state.definition},n.getTheme=function(){var r;return(r=this.props.theme)!=null?r:this.context?Mr:vt},n.getFontTable=function(){return this.props.fontTable||be},n.getSpacing=function(){return this.props.spacing||Gn},n.onCritiqueCardClick=function(r,a){r===f.Feedback&&this.setState({rewriteState:Nr.ReportRewriteSuggestions,rewriteReportedSuggestionId:void 0,rewriteOption:void 0,rewriteChoiceGroupSelected:!1}),this.props.onAction&&this.props.onAction(r,a)},n.onFeedbackCardDismiss=function(){this.setState({rewriteState:Nr.Default})},n.onFeedbackCardBack=function(){this.setState({rewriteState:Nr.ReportRewriteSuggestions,rewriteChoiceGroupSelected:!0})},n.renderFeedback=function(){var r=this.getDefinition(),a=this.getIndexOfReportedSuggestion(),l=Object.assign({},this.props,{style:void 0,reportedSuggestionIndex:a,showCheckbox:!0,definition:r,onBack:this.onFeedbackCardBack,onDismiss:this.onFeedbackCardDismiss,onReport:this.onFeedbackCardReport});return(0,$t.jsx)(ft,Object.assign({},l))},n.isSuggestionReportedNegative=function(r){return t.suggestionsReportedNegative.indexOf(r)>=0},n.isSuggestionAlreadyReported=function(r){return t.reportedSuggestions.indexOf(r)>=0},n.renderReportSuggestions=function(){var r=this,a=this.getDefinition();if(!a||!a.suggestions)return null;var l=a.suggestions.filter(function(u){return!!u&&(!!u.id||a.critiqueType===b.Grammar)&&!!u.title}).map(function(u){var c=u,d=c.title,g=r.isSuggestionReportedNegative(d),h=r.isSuggestionAlreadyReported(d);if(a.critiqueType===b.Grammar){var p;c.id=(p=a.suggestions)==null?void 0:p.indexOf(c).toString()}return{key:c.id,disabled:h,text:g?r.props.strings.neuralRewrite("neuralRewriteReportedSuggestionTitle"):d}}).filter(function(u,c){return c<bi});return l.length===0?null:(0,$t.jsx)(Bo,{onChange:this.onRewriteSelectFeedbackSuggestion,options:l,ref:this.reportSuggestionsRadioGroupRef,defaultSelectedKey:this.state.rewriteReportedSuggestionId,accessibilityLabel:this.props.strings.feedback("neuralRewriteFeedbackDialogChooseSuggestionTitle")})},n.onRewriteSelectFeedbackSuggestion=function(r){r&&this.setState({rewriteReportedSuggestionId:r.key,rewriteChoiceGroupSelected:!0})},n.renderHeader=function(){var r=this.getTheme(),a=this.props.definition.critiqueType===b.Grammar?this.props.strings.feedback("grammarFeedbackDialogChooseSuggestionTitle"):this.props.strings.feedback("neuralRewriteFeedbackDialogChooseSuggestionTitle");return(0,$t.jsxs)(x,{direction:_.TopToBottom,align:A.Stretch,accessibleLive:gr.Polite,children:[(0,$t.jsx)(V,{text:a,style:uu(r),accessibilityRole:"heading"}),(0,$t.jsx)(x,{style:tu,children:(0,$t.jsx)(V,{text:this.props.strings.feedback("neuralRewriteFeedbackDialogChooseSuggestionDescription"),style:cu(r),accessibilityRole:"text"})})]})},n.renderFooterButton=function(r,a,l,u,c){return(0,$t.jsx)(Y,{title:r,titleStyle:$n(this.getFontTable(),r.length),onClick:a,theme:ou(this.getTheme(),u),disabled:l,style:yi,ref:c,automationLabel:"CritiqueActionButton_".concat(r,"_").concat(this.props.automationId)})},n.renderFooter=function(){return(0,$t.jsx)(x,{direction:_.TopToBottom,justifyContent:ue.SpaceBetween,style:$m,align:A.Stretch,children:(0,$t.jsxs)(x,{direction:_.LeftToRight,justifyContent:ue.End,align:A.Stretch,children:[this.renderFooterButton(this.props.strings.common("cancelButton"),this.onRewriteReportSuggestionCancel),(0,$t.jsx)(x,{style:{minWidth:this.getSpacing().small}}),this.renderFooterButton(this.props.strings.common("nextButton"),this.onRewriteReportSuggestionNext,!this.state.rewriteChoiceGroupSelected,!0)]})})},n.onRewriteReportSuggestionCancel=function(){this.setState({rewriteState:Nr.Default,rewriteReportedSuggestionId:void 0,rewriteChoiceGroupSelected:!1})},n.onRewriteReportSuggestionNext=function(){this.setState({rewriteState:Nr.Feedback,rewriteChoiceGroupSelected:!1})},n.getIndexOfReportedSuggestion=function(){var r=this.state.rewriteReportedSuggestionId,a=this.getDefinition();if(a.suggestions)for(var l=0;l<a.suggestions.length;l++){var u=a.suggestions[l];if(u&&u.id===r)return!u||!u.title?-1:l}},n.onFeedbackCardReport=function(r,a){var l=this.getDefinition();if(!(!this.state.rewriteReportedSuggestionId||!l.suggestions)){var u=this.getIndexOfReportedSuggestion();if(u!==void 0){var c=l.suggestions[u].title;this.props.onAction&&this.props.onAction(f.Report,u,{action:"feedback",type:l.critiqueType,option:r.option,comments:r.comments,payload:r.payload}),!this.isSuggestionAlreadyReported(c)&&l.critiqueType!==b.Grammar&&t.reportedSuggestions.push(c),r.option!==void 0&&t.isRewriteFeedbackNegative(r.option)&&!this.isSuggestionReportedNegative(c)&&l.critiqueType!==b.Grammar&&t.suggestionsReportedNegative.push(c),this.setState({rewriteReportedSuggestionId:void 0,rewriteChoiceGroupSelected:!1})}}},t}(hs.Component);ps.reportedSuggestions=[];ps.suggestionsReportedNegative=[];ps.contextType=te;function dC(e,t){for(var n=e.length,o=t.length,r=0,a=0,l=0;l<Math.min(n,o)&&e.charAt(l)===t.charAt(l);l++)r++,Ka(e.charCodeAt(l))&&(a=r);return a}function fC(e,t){for(var n=e.length,o=t.length,r=0,a=0,l=0;l<Math.min(n,o)&&e.charAt(n-l-1)===t.charAt(o-l-1);l++)r++,Ka(e.charCodeAt(n-l-1))&&(a=r);return a}function Vu(e,t,n,o){if(o){for(;!Ka(e.charCodeAt(t))&&t<n;)++t;return t}else{for(var r=n;!Ka(e.charCodeAt(n))&&n>t;)--n;return n+1<=r&&++n,n}}function gC(e,t,n){var o,r,a=e/2;return t<a&&n<a?(o=t,r=n):t<a?(o=t,r=Math.min(n,e-o)):n<a?(r=n,o=Math.min(t,e-r)):(o=a,r=a),{actualLeftContextLength:o,actualRightContextLength:r}}function mC(e,t){var n=130,o=150,r=t.length,a=dC(e,t),l=Math.min(fC(e,t),Math.min(r,e.length)-a),u=a+l,c=r-u,d=Math.min(n,c),g=Math.min(o-d,u),h=Math.min(g,a),p=Math.min(g,l),C=gC(g,h,p),v=C.actualLeftContextLength,T=C.actualRightContextLength,B=t.substring(a-v,a),F=t.substring(a,r-l),w=t.substring(r-l,r-l+T),k=B,S=F,H=w;if(a>v){var W=Vu(B,0,B.length,!0);k="..."+B.substring(W,B.length)}if(F.length>d){var $=Vu(F,0,d/2,!1),Q=Vu(F,d/2,F.length,!0);S=F.substring(0,$)+"..."+F.substring(Q,F.length)}if(l>T){var re=Vu(w,0,w.length,!1);H=w.substring(0,re)+"..."}return{truncatedPrefix:k,truncatedSubstring:S,truncatedSuffix:H,target:F,commonPrefixLength:a,commonSuffixLength:l}}s();var o4=m(Fe()),bs=m(R());s();var Ii=m(R());s();var hG=m(R());var Zt=m(ce()),r4=function(t){var n=t.definition,o=t.sourceIndex||0;if(!n.sources)return(0,Zt.jsx)(Zt.Fragment,{});var r=function(g,h){return(0,Zt.jsx)(hr,{url:g,theme:Sh(t.theme),style:vh(t.fontTable),text:h})},a=function(g){return(0,Zt.jsx)(V,{text:g,style:yh(t.theme,t.fontTable)})},l=n.sources[o].sourceUrl,u=n.sources[o].sourceTitle;if(!l||!u)return(0,Zt.jsx)(Zt.Fragment,{});var c=Zn(l);return(0,Zt.jsxs)(x,{style:Nm,align:A.Stretch,children:[(0,Zt.jsx)(V,{text:u,style:Ch(t.fontTable,t.theme)}),(0,Zt.jsxs)(x,{direction:_.LeftToRight,align:A.Baseline,children:[(0,Zt.jsx)(x,{direction:_.LeftToRight,align:A.Baseline,style:{flexibleSize:!0},children:n.sourceUrlClickable?r(l,c):a(c)}),(0,Zt.jsx)(V,{text:t.strings.critique("poweredByBing"),style:xh(t.fontTable)})]})]})};var ro=m(ce()),n4=Ii.forwardRef(function(e,t){var n=Ii.useContext(te),o=yt(e.definition,f.MoreSources)?[f.IntextCitation,f.FullCitation,f.MoreSources]:[f.IntextCitation,f.FullCitation];return(0,ro.jsx)(ro.Fragment,{children:o.filter(function(r){return Et(e.definition,e.strings,r)}).map(function(r,a,l){return Je(e,t,a,Et(e.definition,e.strings,r),r,dt(e,n),void 0,vr(r),a+1,l.length)})})});n4.displayName="ActionListAsSuggestions";function Nu(e,t){var n=Ii.createRef();return Object.assign({},e,je(e,t),{definition:Object.assign({},e.definition,{header:e.strings.critique("similarityCheckerCardHeader"),subheader:e.strings.critique("similarityCheckerCardSubheader")}),suggestionOverflowActions:[f.LearnMore,f.ReadAloud,f.SpellOut],suggestionsGroupAriaLabel:void 0,customUpperBody:(0,ro.jsx)(r4,{definition:e.definition,theme:e.theme||vt,fontTable:e.fontTable||be,sourceIndex:e.sourceIndex,strings:e.strings}),renderPreviewMarker:!0,customBody:(0,ro.jsx)(qt,{children:(0,ro.jsx)(x,{align:A.Stretch,accessible:!0,children:(0,ro.jsx)(n4,Object.assign({},e,{ref:n,suggestionKind:function(){return"suggestion"}}))})}),firstSuggestionRef:n,focusCustomBody:function(){return n.current?(n.current.focus(),!0):!1}})}var jr=m(ce()),sn=function(e){return e[e.Default=0]="Default",e[e.DisplayingFeedbackOptions=1]="DisplayingFeedbackOptions",e[e.DisplayingSimilarSources=2]="DisplayingSimilarSources",e}(sn||{}),ju=function(e){function t(o){var r;return r=e.call(this,o)||this,r.innerCritiqueRef=bs.createRef(),r.firstSourceRef=bs.createRef(),r.onCritiqueCardClick=r.onCritiqueCardClick.bind(r),r.onFeedbackCardBack=r.onFeedbackCardBack.bind(r),r.onFeedbackCardDismiss=r.onFeedbackCardDismiss.bind(r),r.onFeedbackCardReport=r.onFeedbackCardReport.bind(r),r.state={definition:o.definition,similarityCheckerState:sn.Default,sourceIndex:0},r}(0,o4.default)(t,e);var n=t.prototype;return n.setDefinition=function(r){this.setState({definition:r})},n.executeBadgedAction=function(r){this.innerCritiqueRef.current&&this.innerCritiqueRef.current.executeBadgedAction(r)},n.componentDidUpdate=function(r,a){if(r.definition!==this.props.definition&&this.setState({definition:this.props.definition}),a.similarityCheckerState!==this.state.similarityCheckerState)switch(this.state.similarityCheckerState){default:this.focus()}},n.focus=function(){this.innerCritiqueRef.current?this.innerCritiqueRef.current.focus():this.firstSourceRef.current&&this.firstSourceRef.current.focus()},n.render=function(){var r=this.getDefinition();if(!r)return null;switch(this.state.similarityCheckerState){case sn.Default:var a=Object.assign({},this.props,{definition:Object.assign({},r,{critiqueType:b.SimilarityChecker}),onAction:this.onCritiqueCardClick,sourceIndex:this.state.sourceIndex}),l=Nu(a);return(0,jr.jsx)(rn,Object.assign({},l,{ref:this.innerCritiqueRef}));case sn.DisplayingFeedbackOptions:return this.renderFeedback();case sn.DisplayingSimilarSources:return this.renderSimilarSources()}},n.getTheme=function(){var r;return(r=this.props.theme)!=null?r:this.context?Mr:vt},n.getFontTable=function(){return this.props.fontTable?this.props.fontTable:be},n.getSources=function(){var r=this.getDefinition(),a=this.props.definition.maximumSuggestions||bi;return r.sources?r.sources.length>a?r.sources.slice(0,a):r.sources:[]},n.getSourceButtonProps=function(r,a,l){var u=this,c="suggestion",d=r.sourceTitle.length||0,g={title:r.sourceTitle,titleStyle:Jr(this.getFontTable(),d),subtitle:Zn(r.sourceUrl)+"\n"+en(r.sourceSnippet,t.contextMaxLength),subtitleStyle:xi(this.getFontTable(),!0),onClick:function(){u.onCritiqueCardClick(l,a)},theme:St(this.getTheme(),c),strings:Ho(this.props.strings.common),accessibilityRole:"menuitem",accessibilityLabel:this.getSourceAccessibilityLabel(r),automationLabel:"CritiqueSuggestionButton_"+a};return g},n.getOverflowMenuProps=function(r,a,l){var u=this,c=this.getSources();if(!(l!==void 0&&(l<0||l>c.length))){var d=this.getActionString(f.Feedback),g=r.filter(function(C){return u.getActionString(C)}).map(function(C){return{type:"item",key:C.toString(),title:d,titleStyle:au(u.getFontTable(),d.length)}});if(g.length!==0){var h=this.getTheme(),p=a;return{tooltip:p,items:g,onClick:function(v){if(u.props.onAction){var T=parseInt(v.key,10);u.onCritiqueCardClick(T,l)}},style:Jm,theme:nu(h),itemTheme:St(h),strings:f1(this.props.strings.common),accessibilityLabel:a,automationLabelType:"CritiqueActionButton",automationId:this.props.automationId||""}}}},n.getSourceAccessibilityLabel=function(r){if(r.sourceTitle)return this.props.strings.similarityChecker("sourceTextAccessibilityLabel").replace("{0}",r.sourceTitle)},n.renderSplitButtonSuggestion=function(r,a,l,u,c,d){var g=this.getTheme();return(0,jr.jsx)(Yr,{ref:a,buttonProps:l,menuProps:u,style:Si,theme:{splitMenuHoverBackground:g.suggestionMenuHoverBackground,splitMenuHoverForeground:g.suggestionMenuHoverForeground},strings:Ho(this.props.strings.common),accessibilityPositionInSet:c!==void 0?c:1,accessibilitySetSize:d!==void 0?d:1,layerHostId:this.props.layerHostId},r)},n.getActionString=function(r){switch(r){case f.Feedback:return this.props.strings.critique("giveFeedbackButtonText");default:return}},n.renderMoreSources=function(){var r=this,a=this.getDefinition();if(!a||!a.sources)return null;var l=this.getSources(),u=l.map(function(c,d){var g=r.renderSplitButtonSuggestion(d,d===0?r.firstSourceRef:void 0,r.getSourceButtonProps(c,d,f.SourceSelected),r.getOverflowMenuProps([f.Feedback],void 0,d+1),d+1,l.length);return g});return u},n.renderFooterButton=function(r,a){return(0,jr.jsx)(Y,{title:r,titleStyle:$n(this.getFontTable(),r.length),onClick:a,theme:dh(this.getTheme()),style:yi,automationLabel:"CritiqueActionButton_".concat(r,"_").concat(this.props.automationId)})},n.renderSimilarSources=function(){var r=this.getDefinition();if(!r)return null;var a=Kn(this.getTheme(),this.props.style,{useFluentV9:!!this.context});return(0,jr.jsxs)(x,{style:a,align:A.Stretch,children:[(0,jr.jsx)(x,{style:Ci,children:(0,jr.jsx)(V,{text:this.props.strings.similarityChecker("moreSourcesHeader"),style:eu(this.getTheme(),this.getFontTable(),{useFluentV9:!!this.context}),accessibilityRole:"heading"})}),this.renderMoreSources(),(0,jr.jsx)(x,{direction:_.LeftToRight,justifyContent:ue.SpaceBetween,children:(0,jr.jsx)(x,{direction:_.LeftToRight,children:this.renderFooterButton(this.props.strings.common("backButton"),this.onFeedbackCardBack)})})]})},n.renderFeedback=function(){var r=this.getDefinition();if(!r)return null;var a=Object.assign({},this.props,{style:void 0,definition:Object.assign({},r,{critiqueType:b.SimilarityChecker}),showCheckbox:!0,sourceIndex:this.state.sourceIndex,onBack:this.onFeedbackCardBack,onDismiss:this.onFeedbackCardDismiss,onReport:this.onFeedbackCardReport});return(0,jr.jsx)(ft,Object.assign({},a))},n.onCritiqueCardClick=function(r,a){r===f.Feedback?this.setState({similarityCheckerState:sn.DisplayingFeedbackOptions}):r===f.MoreSources?this.setState({similarityCheckerState:sn.DisplayingSimilarSources}):r===f.SourceSelected&&this.setState({similarityCheckerState:sn.Default,sourceIndex:a}),this.props.onAction&&r!==f.Feedback&&r!==f.MoreSources&&r!==f.SourceSelected&&this.props.onAction(r,this.state.sourceIndex)},n.onFeedbackCardBack=function(){this.setState({similarityCheckerState:sn.Default})},n.onFeedbackCardDismiss=function(){this.setState({similarityCheckerState:sn.Default})},n.onFeedbackCardReport=function(r,a){this.props.onAction&&this.props.onAction(f.Report,a,r)},n.getDefinition=function(){return this.state.definition},t}(bs.Component);ju.contextType=te;ju.contextMaxLength=120;s();function Wu(e,t){return Object.assign({},e,je(e,t),{definition:Object.assign({},e.definition,{actions:[f.IgnoreOnce],header:e.strings.textPenAlternates==null?void 0:e.strings.textPenAlternates("textPenAlternatesGroupTitle"),maximumSuggestions:5})})}s();var qu=m(a4());qu.CustomTypeRegistry.registerTypeInfos({"CanvasContextualData::InlineSuggestionsGroup":{title:"$string",subtitle:["opt-field","$string"],suggestions:["$array",["$union",["RekaTypesDataFromCanvasContextualTypes::InlinePerson","RekaTypesDataFromCanvasContextualTypes::InlineFile"]]],isScoped:["opt-field","$boolean"],isHighlighted:["opt-field","$boolean"],addBottomBorder:["opt-field","$boolean"]},"CanvasContextualData::TrackChangeTheme":{separatorColor:"$string",textColor:"$string",placeholderTextColor:"$string",buttonColor:"RekaTypesDataFromCanvasContextualTypes::StatefulThemeFragment",timestampColor:"$string",background:"$string",acceptButtonBackground:"RekaTypesDataFromCanvasContextualTypes::StatefulThemeFragmentWithFocus",rejectButtonBackground:"RekaTypesDataFromCanvasContextualTypes::StatefulThemeFragmentWithFocus"},"CanvasContextualData::ITrackChangeDescriptor":{text:"$string",formatting:["$array","RekaTypesDataFromCanvasContextualTypes::TextRunDecoration"],localizedDate:"$string"},"CanvasContextualData::TrackChangeDefinition":{definitionType:"$string",authorName:"$string",authorColor:"$string",resolutionId:["opt-field","$string"],changeDescriptor:"CanvasContextualData::ITrackChangeDescriptor",acceptDisabled:"$boolean",rejectDisabled:"$boolean",theme:["opt-field","CanvasContextualData::TrackChangeTheme"]},"CanvasContextualData::InlineSuggestionsResultDefinition":{definitionType:"$string",results:["$array","CanvasContextualData::InlineSuggestionsGroup"],queryString:"$string",inlineSuggestionsTheme:["opt-field","RekaTypesDataFromCanvasContextualTypes::IInlineSuggestionsTheme"],inlineSuggestionsStyle:["opt-field","RekaTypesDataFromCanvasContextualTypes::IInlineSuggestionsStyle"],isError:"$boolean",isLoading:["opt-field","$boolean"],menuType:["opt-field",["$union",["RekaTypesDataFromCanvasContextualTypes::InlineSuggestionsResultsUserInitiatedMenuType","RekaTypesDataFromCanvasContextualTypes::InlineSuggestionsResultsFlagMenuType","RekaTypesDataFromCanvasContextualTypes::InlineSuggestionsRightClickContextMenuType","RekaTypesDataFromCanvasContextualTypes::InlineSuggestionsEntityPredictionMenuType"]]]},"CanvasContextualData::CatchUpTheme":{textColor:"$string",annotationColor:"$string",catchUpTypeColor:"$string",timestampColor:"$string",catchUpDotColor:"$string",background:"$string"},"CanvasContextualData::ICatchUpDescriptor":{authorName:"$string",additionalAuthorCount:["opt-field","$number"],formatting:["$array","RekaTypesDataFromCanvasContextualTypes::TextRunDecoration"],localizedDate:"$string"},"CanvasContextualData::CatchUpDefinition":{definitionType:"$string",authorColor:"$string",descriptor:"CanvasContextualData::ICatchUpDescriptor",resolutionId:["opt-field","$string"],catchUpTheme:["opt-field","CanvasContextualData::CatchUpTheme"]},"CanvasContextualData::ContainerTheme":{borderColor:"$string",highlightColor:"$string"},"CanvasContextualData::ContainerProps":{accessibilityLabel:"$string",theme:"CanvasContextualData::ContainerTheme"},"CanvasContextualData::FeatureGate":{name:"$string",value:"$string"},"CanvasContextualData::ComponentProps":{id:"$number",definition:["$union",["RekaTypesDataFromCanvasContextualTypes::CritiqueDefinition","CanvasContextualData::TrackChangeDefinition","CanvasContextualData::InlineSuggestionsResultDefinition","CanvasContextualData::CatchUpDefinition"]],addonFooterData:["opt-field","RekaTypesDataFromCanvasContextualTypes::AddOnFooterData"],theme:["opt-field","RekaTypesDataFromCanvasContextualTypes::CritiqueTheme"],featureGates:["opt-field",["$array","CanvasContextualData::FeatureGate"]],containerProps:["opt-field","CanvasContextualData::ContainerProps"]},"CanvasContextualData::SdxExportedStrings":{spellingHeader:"$string",spellingSubheader:"$string",repeatedWordSubheader:"$string",grammarHeader:"$string",sensitiveContentHeader:"$string",neuralRewriteHeader:"$string",neuralRewriteSubheader:"$string",similarityCheckerHeader:"$string",similarityCheckerSubheader:"$string",accAltTextCheckerHeader:"$string",accAltTextCheckerSubheader:"$string",accColorCheckerHeader:"$string",accColorCheckerSubheader:"$string",tonalRewriteHeader:"$string",contextMaxLength:["opt-field","$number"],spellingContextAccessibilityFormat:"$string",repeatedWordContextAccessibilityFormat:"$string",grammarContextAccessibilityFormat:"$string",refinementContextAccessibilityFormat:"$string",noSuggestions:"$string",noSuggestionsRewrite:"$string",loadingSuggestions:"$string",deleteRepeatedWordSuggestion:"$string",catchUpAccessibilityLabel:"$string",catchUpDescriptorWithOneOtherFragment:"$string",catchUpDescriptorWithMultipleOthersFragment:"$string"}});var G1={Host:["CanvasContextualData::Host",{OnStringsReady:["FireAndForgetMethod",["CanvasContextualData::SdxExportedStrings"]],OnAction:["FireAndForgetMethod",["$number","$number","$number",["$union",["RekaTypesDataFromCanvasContextualTypes::ReadContextData","RekaTypesDataFromCanvasContextualTypes::FeedbackData","RekaTypesDataFromCanvasContextualTypes::SelectedSuggestionData","RekaTypesDataFromCanvasContextualTypes::FocusedSuggestionData","RekaTypesDataFromCanvasContextualTypes::AltTextData","RekaTypesDataFromCanvasContextualTypes::ClearSearchData"]]]],OnAfterUpdate:["FireAndForgetMethod",["$number",["$union",["RekaTypesDataFromCanvasContextualTypes::CritiqueDefinition","CanvasContextualData::TrackChangeDefinition","CanvasContextualData::InlineSuggestionsResultDefinition","CanvasContextualData::CatchUpDefinition"]]]]}],SDX:["CanvasContextualData::SDX",{Focus:["FireAndForgetMethod",["$number"]],UpdateProps:["FireAndForgetMethod",["CanvasContextualData::ComponentProps"]],NotifyKeyPress:["FireAndForgetMethod",["$number","$string"]],NotifyDismiss:["FireAndForgetMethod",["$number"]],Highlight:["FireAndForgetMethod",["$number"]],ClearHighlight:["FireAndForgetMethod",["$number"]],Select:["FireAndForgetMethod",["$number"]],Deselect:["FireAndForgetMethod",["$number"]]}]},Uu={Host:qu.RekaServiceRegistry.getNativeService(G1.Host)};s();var pC=u4(),kK=d4(),bC=g4(),CC=h4(),vC=b4(),SC=v4(),yC=y4(),TK=k4(),xC=B4(),kC=R4(),TC=w4(),BK=I4(),BC=P4(),FC=O4(),RC=D4();function Ei(e){return pC.getString(e)}function Hn(e){return bC.getString(e)}function wn(e){return CC.getString(e)}function Lo(e){return vC.getString(e)}function ot(e){return SC.getString(e)}function Gu(e){return yC.getString(e)}function M4(e){return xC.getString(e)}function z4(e){return kC.getString(e)}function V4(e){return TC.getString(e)}function Wr(e){return BC.getString(e)}function N4(e){return FC.getString(e)}function Ku(e){return RC.getString(e)}s();var tZ=m(R());s();s();s();function j4(e,t){return t?{}:{neutralForeground1:e.Text,neutralForeground1Hover:e.TextHover,neutralForeground1Pressed:e.TextPressed,neutralForeground1Selected:e.TextSelected,neutralForeground2:e.TextSecondary,neutralForeground2Hover:e.TextSecondaryHover,neutralForeground2Pressed:e.TextSecondaryPressed,neutralForeground2Selected:e.TextSecondarySelected,neutralForeground4:e.TextCtlSubtlePlaceholder,neutralForegroundDisabled:e.TextDisabled,compoundBrandForeground1:e.TextEmphasis,compoundBrandForeground1Hover:e.TextEmphasisHover,compoundBrandForeground1Pressed:e.TextEmphasisPressed,neutralForegroundInverted:e.TextCtlSubtleSelectionHighlight,neutralForegroundOnBrand:e.TextCtlEmphasis,neutralForegroundOnBrandHover:e.TextCtlEmphasisHover,neutralForegroundOnBrandPressed:e.TextCtlEmphasisPressed,neutralForegroundInvertedLink:e.BkgToggleSwitchOff,neutralForegroundInvertedLinkHover:e.BkgToggleSwitchOffHover,neutralForegroundInvertedLinkPressed:e.BkgToggleSwitchOffPressed,neutralBackground1:e.Bkg,neutralBackground1Hover:e.BkgHover,neutralBackground1Pressed:e.BkgPressed,neutralBackground1Selected:e.BkgSelected,neutralBackground2:e.BkgHeader,neutralBackground2Hover:e.BkgSubtle,neutralBackground3:e.BkgSubtle,neutralBackgroundInverted:e.BkgSelectionHighlight,neutralBackgroundDisabled:e.BkgCtlDisabled,neutralStencil1:e.SliderBuffer,brandBackground:e.BkgCtlEmphasis,brandBackgroundHover:e.BkgCtlEmphasisHover,brandBackgroundPressed:e.BkgCtlEmphasisPressed,compoundBrandBackground1:e.BkgToggleSwitchOn,compoundBrandBackground1Hover:e.BkgToggleSwitchOnHover,compoundBrandBackground1Pressed:e.BkgToggleSwitchOnPressed,neutralStrokeAccessible:e.StrokeOnlySelected,neutralStrokeAccessibleHover:e.StrokeOnlyHover,neutralStrokeAccessiblePressed:e.StrokeOnlyPressed,neutralStroke1:e.StrokeCtl,neutralStroke1Hover:e.StrokeSelectedHover,neutralStroke1Pressed:e.StrokeOverPressed,neutralStroke2:e.SliderBuffer,brandStroke1:e.AccentEmphasis,compoundBrandStroke1:e.StrokeToggleSwitchOn,compoundBrandStroke1Hover:e.StrokeToggleSwitchOnHover,compoundBrandStroke1Pressed:e.StrokeToggleSwitchOnPressed,neutralStrokeDisabled:e.StrokeCtlDisabled,strokeFocus2:e.StrokeKeyboard}}s();function K1(e,t){return e==="HighContrast"||!t.host.colors?{}:{colors:W4(e,t.host.colors.AppPrimary)}}function W4(e,t){var n=HC(t),o=e==="White"||e==="Colorful";return{neutralForeground2BrandHover:o?n.shade10:n.tint40,neutralForeground2BrandPressed:o?n.shade30:n.tint10,neutralForeground2BrandSelected:o?n.shade20:n.tint40,neutralForeground3BrandHover:o?n.shade10:n.tint40,neutralForeground3BrandPressed:o?n.shade30:n.tint10,neutralForeground3BrandSelected:o?n.shade20:n.tint40,brandForegroundLink:o?n.primary:n.tint30,brandForegroundLinkHover:o?n.shade10:n.tint40,brandForegroundLinkPressed:o?n.shade30:n.tint10,brandForegroundLinkSelected:o?n.shade20:n.tint40,compoundBrandForeground1:o?n.primary:n.tint30,compoundBrandForeground1Hover:o?n.shade10:n.tint40,compoundBrandForeground1Pressed:o?n.shade30:n.tint10,brandForeground1:o?n.primary:n.tint30,brandForeground2:o?n.shade10:n.tint40,brandBackground:n.primary,brandBackgroundHover:n.shade10,brandBackgroundPressed:n.shade30,brandBackgroundSelected:n.shade20,compoundBrandBackground1:n.primary,compoundBrandBackground1Hover:n.shade10,compoundBrandBackground1Pressed:n.shade20,brandBackgroundStatic:n.primary,brandBackground2:n.tint40,neutralStrokeAccessibleSelected:n.primary,brandStroke1:n.primary,brandStroke2:n.tint40,compoundBrandStroke1:n.primary,compoundBrandStroke1Hover:n.shade10,compoundBrandStroke1Pressed:n.shade20}}function HC(e){if(typeof e=="string"){if(e.toLowerCase()==="#185abd")return y.color.word;if(e.toLowerCase()==="#107c41")return y.color.excel;if(e.toLowerCase()==="#d83b01")return y.color.office;if(e.toLowerCase()==="#80397b"||e.toLowerCase()==="#7719aa")return y.color.oneNote;if(e.toLowerCase()==="#0078d4")return y.color.outlook;if(e.toLowerCase()==="#c43e1c")return y.color.powerPoint}return y.color.brand}s();s();var i3=m(U4()),a3=m(K4()),$u=m(Z4()),s3=m(X4()),l3=m(J4()),u3=m(t3()),c3=m(_c());s();var r3=m(X()),n3=m(Dc()),o3=wC(n3.default);function wC(e){for(var t in e)for(var n in e[t]){var o=e[t][n];if(typeof o=="string"&&o.includes("PlatformColor")){var r=o.substring(14,o.length-1);e[t][n]=(0,r3.PlatformColor)(r)}}return e}function Zu(e){return e==="White"||e==="Colorful"?$u.default:e==="DarkGray"?l3.default:e==="Black"?i3.default:e==="HighContrast"?o3:$u.default}function d3(e){return e==="White"||e==="Colorful"?s3.default:e==="DarkGray"?u3.default:e==="Black"?a3.default:e==="HighContrast"?c3.default:$u.default}function AC(e){var t=Zu(e);return pa(t)}var $1=Ye(AC);function IC(e){var t=d3(e);return ba(t)}var f3=Ye(IC);s();s();function Z1(e){return{background:e.Bkg,bodyStandoutBackground:e.Bkg,bodyFrameBackground:e.Bkg,bodyFrameDivider:e.AccentLight,bodyText:e.Text,bodyTextChecked:e.TextSelected,subText:e.TextSecondary,bodyDivider:e.AccentLight,disabledBackground:e.BkgCtlSubtleDisabled,disabledText:e.TextCtlSubtleDisabled,disabledBodyText:e.TextDisabled,focusBorder:e.StrokeKeyboard,variantBorder:e.AccentOutline,errorText:e.TextError,inputBorder:e.StrokeCtlSubtle,inputBackground:e.BkgCtlSubtle,inputFocusBorderAlt:e.StrokeCtlSubtleKeyboard,inputText:e.TextCtlSubtle,inputPlaceholderText:e.TextCtlSubtlePlaceholder,buttonBackground:e.BkgCtl,buttonBackgroundChecked:e.BkgCtlSelected,buttonBackgroundHovered:e.BkgCtlHover,buttonBackgroundPressed:e.BkgCtlPressed,buttonBackgroundDisabled:e.BkgCtlDisabled,buttonBorder:e.StrokeCtl,buttonText:e.TextCtl,buttonTextHovered:e.TextCtlHover,buttonTextChecked:e.TextCtlSelected,buttonTextPressed:e.TextCtlPressed,buttonTextDisabled:e.TextCtlDisabled,buttonBorderDisabled:e.StrokeCtlDisabled,buttonBorderFocused:e.StrokeCtlKeyboard,primaryButtonBackground:e.BkgCtlEmphasis,primaryButtonBackgroundHovered:e.BkgCtlEmphasisHover,primaryButtonBackgroundPressed:e.BkgCtlEmphasisPressed,primaryButtonBackgroundDisabled:e.BkgCtlEmphasisDisabled,primaryButtonBorder:e.StrokeCtlEmphasis,primaryButtonBorderFocused:e.StrokeCtlEmphasisKeyboard,primaryButtonText:e.TextCtlEmphasis,primaryButtonTextHovered:e.TextCtlEmphasisHover,primaryButtonTextPressed:e.TextCtlEmphasisPressed,primaryButtonTextDisabled:e.TextCtlEmphasisDisabled,accentButtonBackground:e.BkgCtlEmphasis,menuBackground:e.Bkg,menuDivider:e.AccentLight,menuIcon:e.Text,menuItemBackgroundHovered:e.BkgHover,menuItemBackgroundPressed:e.BkgPressed,menuItemText:e.Text,menuItemTextHovered:e.TextHover,listHeaderBackgroundHovered:e.BkgHover,listHeaderBackgroundPressed:e.BkgPressed,actionLink:e.TextActive,link:e.TextHyperlink,linkHovered:e.TextHyperlinkHover,linkPressed:e.TextHyperlinkPressed,defaultBackground:e.BkgCtl,defaultBorder:e.StrokeCtl,defaultContent:e.TextCtl,defaultIcon:e.TextCtl,defaultHoveredBackground:e.BkgCtlHover,defaultHoveredBorder:e.StrokeCtlHover,defaultHoveredContent:e.TextCtlHover,defaultHoveredIcon:e.TextCtlHover,defaultFocusedBackground:e.BkgCtlHover,defaultFocusedBorder:e.StrokeCtlKeyboard,defaultFocusedContent:e.TextCtlHover,defaultFocusedIcon:e.TextCtlHover,defaultPressedBackground:e.BkgCtlPressed,defaultPressedBorder:e.StrokeCtlPressed,defaultPressedContent:e.TextCtlPressed,defaultPressedIcon:e.TextCtlPressed,defaultDisabledBackground:e.BkgCtlDisabled,defaultDisabledBorder:e.StrokeCtlDisabled,defaultDisabledContent:e.TextCtlDisabled,defaultDisabledIcon:e.TextCtlDisabled,ghostBackground:e.Bkg,ghostBorder:e.Bkg,ghostContent:e.Text,ghostIcon:e.Text,ghostHoveredBackground:e.BkgHover,ghostHoveredBorder:e.BkgHover,ghostHoveredContent:e.TextHover,ghostHoveredIcon:e.TextHover,ghostFocusedBackground:e.BkgHover,ghostFocusedBorder:e.StrokeKeyboard,ghostFocusedContent:e.TextHover,ghostFocusedIcon:e.TextHover,ghostPressedBackground:e.BkgPressed,ghostPressedBorder:e.BkgPressed,ghostPressedContent:e.TextPressed,ghostPressedIcon:e.TextPressed,ghostDisabledBackground:e.Bkg,ghostDisabledBorder:e.Bkg,ghostDisabledContent:e.TextDisabled,ghostDisabledIcon:e.TextDisabled,brandedBackground:e.BkgCtlEmphasis,brandedDisabledBorder:e.StrokeCtlEmphasisDisabled,defaultCheckedBackground:e.BkgCtlSelected,defaultCheckedContent:e.TextCtlSelected,defaultCheckedHoveredBackground:e.BkgCtlHover,defaultCheckedHoveredContent:e.TextCtlHover,ghostCheckedBackground:e.BkgSelected,ghostCheckedContent:e.TextSelected,ghostCheckedHoveredBackground:e.BkgHover,ghostCheckedHoveredContent:e.TextHover,ghostCheckedHoveredBorder:e.StrokeSelectedHover,ghostSecondaryContent:e.TextSecondary,ghostFocusedSecondaryContent:e.TextSecondaryHover,ghostHoveredSecondaryContent:e.TextSecondaryHover,ghostPressedSecondaryContent:e.TextSecondaryPressed}}var EC=function(t){return Object.keys(t.getConstants().ramps).reduce(function(n,o){return Object.assign.apply(Object,le([n],t.getConstants().rampNames[o].map(function(r,a){var l;return l={},l[r]=t.getConstants().ramps[o][a],l}),!1))},{})};function Q1(e,t,n){return I({colors:I({},n&&Z1(n)),typography:e.getConstants().fluentTypography,host:{palette:n||{},colors:EC(e)}},t?{name:t}:void 0)}s();s();function PC(){var e=Zu("Colorful");return Wc(e)}var X1=Ye(PC);function Cs(){var e={sizes:Vt.typography.sizes,weights:Vt.typography.weights,families:{primary:"Segoe UI",secondary:"Segoe UI Semibold",cursive:"System",monospace:"Consolas",sansSerif:"System",serif:"System",numeric:"Bahnschrift"},variants:I({captionStandard:{face:"primary",size:"caption",weight:"regular"},secondaryStandard:{face:"primary",size:"secondary",weight:"regular"},secondarySemibold:{face:"primary",size:"secondary",weight:"semiBold"},bodyStandard:{face:"primary",size:"body",weight:"regular"},bodySemibold:{face:"primary",size:"body",weight:"semiBold"},subheaderStandard:{face:"primary",size:"subheader",weight:"regular"},subheaderSemibold:{face:"primary",size:"subheader",weight:"semiBold"},headerStandard:{face:"primary",size:"header",weight:"regular"},headerSemibold:{face:"primary",size:"header",weight:"semiBold"},heroStandard:{face:"primary",size:"hero",weight:"regular"},heroSemibold:{face:"primary",size:"hero",weight:"semiBold"},heroLargeStandard:{face:"primary",size:"heroLarge",weight:"regular"},heroLargeSemibold:{face:"primary",size:"heroLarge",weight:"semiBold"}},X1())};return e}s();var Yu=m(X());s();var g3={Bkg:"#FFFFFF",BkgHover:"#D2D2D2",BkgPressed:"#B1B1B1",BkgSelected:"#C6C6C6",BkgSubtle:"#F3F3F3",BkgSelectionHighlight:"#737373",Text:"#262626",TextRest:"#262626",TextHover:"#262626",TextPressed:"#262626",TextSelected:"#262626",TextDisabled:"#B1B1B1",TextSelectionHighlight:"#FFFFFF",TextSecondary:"#666666",TextSecondaryRest:"#666666",TextSecondaryHover:"#505050",TextSecondaryPressed:"#666666",TextSecondarySelected:"#666666",TextEmphasis:"#D83B01",TextEmphasisRest:"#D83B01",TextEmphasisHover:"#EA6115",TextEmphasisPressed:"#A22C01",TextEmphasisSelected:"#D83B01",StrokeSelectedHover:"#969696",StrokeKeyboard:"#969696",StrokeOverRest:"#00000000",StrokeOverHover:"#00000000",StrokeOverPressed:"#00000000",StrokeOverSelectedRest:"#00000000",StrokeOverSelectedHover:"#969696",StrokeOverSelectedPressed:"#00000000",BkgCtl:"#E6E6E6",BkgCtlHover:"#FFF7F0",BkgCtlPressed:"#FBDFD0",BkgCtlSelected:"#E6E6E6",BkgCtlDisabled:"#E6E6E6",TextCtl:"#262626",TextCtlHover:"#262626",TextCtlPressed:"#262626",TextCtlSelected:"#262626",TextCtlDisabled:"#B1B1B1",StrokeCtl:"#969696",StrokeCtlHover:"#FBDFD0",StrokeCtlPressed:"#EA6115",StrokeCtlSelected:"#969696",StrokeCtlDisabled:"#D2D2D2",StrokeCtlKeyboard:"#FBDFD0",BkgCtlEmphasis:"#D83B01",BkgCtlEmphasisHover:"#F29F71",BkgCtlEmphasisPressed:"#A22C01",BkgCtlEmphasisDisabled:"#E6E6E6",TextCtlEmphasis:"#FFFFFF",TextCtlEmphasisHover:"#FFFFFF",TextCtlEmphasisPressed:"#FFFFFF",TextCtlEmphasisDisabled:"#B1B1B1",StrokeCtlEmphasis:"#A22C01",StrokeCtlEmphasisHover:"#D83B01",StrokeCtlEmphasisPressed:"#A22C01",StrokeCtlEmphasisDisabled:"#D2D2D2",StrokeCtlEmphasisKeyboard:"#A22C01",BkgCtlSubtle:"#FFFFFF",BkgCtlSubtleHover:"#FFFFFF",BkgCtlSubtlePressed:"#FFFFFF",BkgCtlSubtleDisabled:"#F3F3F3",BkgCtlSubtleSelectionHighlight:"#7DA3C6",TextCtlSubtle:"#262626",TextCtlSubtlePlaceholder:"#666666",TextCtlSubtleHover:"#262626",TextCtlSubtlePressed:"#262626",TextCtlSubtleDisabled:"#B1B1B1",TextCtlSubtleSelectionHighlight:"#262626",StrokeCtlSubtle:"#C6C6C6",StrokeCtlSubtleHover:"#969696",StrokeCtlSubtlePressed:"#969696",StrokeCtlSubtleDisabled:"#C6C6C6",StrokeCtlSubtleKeyboard:"#969696",TextHyperlink:"#D83B01",TextHyperlinkHover:"#A22C01",TextHyperlinkPressed:"#6C1E01",TextActive:"#262626",TextActiveHover:"#EA6115",TextActivePressed:"#A22C01",TextActiveSelected:"#D83B01",StrokeOnlyHover:"#B1B1B1",StrokeOnlyPressed:"#737373",StrokeOnlySelected:"#969696",TextError:"#A50000",TextErrorHover:"#A50000",TextErrorPressed:"#A50000",TextErrorSelected:"#A50000",ThumbToggleSwitchOff:"#505050",ThumbToggleSwitchOffHover:"#505050",ThumbToggleSwitchOffPressed:"#505050",ThumbToggleSwitchOffDisabled:"#D2D2D2",ThumbToggleSwitchOn:"#FFFFFF",ThumbToggleSwitchOnHover:"#FFFFFF",ThumbToggleSwitchOnPressed:"#FFFFFF",ThumbToggleSwitchOnDisabled:"#FFFFFF",BkgToggleSwitchOff:"#FFFFFF",BkgToggleSwitchOffHover:"#D2D2D2",BkgToggleSwitchOffPressed:"#B1B1B1",BkgToggleSwitchOffDisabled:"#FFFFFF",BkgToggleSwitchOn:"#D83B01",BkgToggleSwitchOnHover:"#EA6115",BkgToggleSwitchOnPressed:"#A22C01",BkgToggleSwitchOnDisabled:"#D2D2D2",StrokeToggleSwitchOff:"#505050",StrokeToggleSwitchOffHover:"#505050",StrokeToggleSwitchOffPressed:"#505050",StrokeToggleSwitchOffDisabled:"#D2D2D2",StrokeToggleSwitchOn:"#D83B01",StrokeToggleSwitchOnHover:"#EA6115",StrokeToggleSwitchOnPressed:"#A22C01",StrokeToggleSwitchOnDisabled:"#D2D2D2",SliderPrimary:"#444444",SliderPrimaryHover:"#D2D2D2",SliderPrimaryPressed:"#262626",SliderPrimaryDisabled:"#969696",SliderSecondary:"#D2D2D2",SliderBuffer:"#262626",SliderKeyboard:"#444444",SliderToolTipBorder:"#C6C6C6",SliderToolTipLabel:"#262626",SliderToolTipBkg:"#FFFFFF",AccentDark:"#C6C6C6",AccentLight:"#E6E6E6",AccentEmphasis:"#D83B01",AccentOutline:"#000000",TextEmphasis2:"#D83B01",BkgCtlSubtleSelected:"#F3F3F3",TextCtlSubtleSelected:"#262626",BkgCtlEmphasisFocus:"#F3F3F3",BkgCtlSubtleFocus:"#F3F3F3",BkgCtlSubtleHoverDisabled:"#F3F3F3",BkgCtlSubtleSelectedDisabled:"#F3F3F3",BkgHeader:"#E6E6E6",TextHeader:"#262626"};function Qu(e){return e==="TaskPane"?I(I({},g3),{Bkg:"antiquewhite"}):g3}var Y1={getPalette:Qu,getConstants:function(){return{ramps:{App:["#F8F8F8","#EFF6FC","#BBDAF3","#55A4E2","#359EDD","#0078d7","#283E4A","#030C13"],FluentGrays:["#FAF9F8","#797775","#11100F"],ClassicGrays:["#FFFFFF","#737373","#000000"],Sepias:["#ECE6DE"]},typography:{},fluentTypography:{},rampNames:{App:["FakeApp1","App2","App3","App4","App5","App6","App7","App8"],FluentGrays:["FakeGray1","Gray2","Gray3"],ClassicGrays:["FakeGray4","Gray5","Gray6"],Sepias:["FakeSepia"]}}}};s();var m3="",h3=function(){return m3},Xu=function(t){m3=t};function LC(){var e=!1;return e}function p3(){return v3}var vs=void 0,v3=void 0,b3=void 0;function J1(){if(!vs){var e=Yu.TurboModuleRegistry.get("Theming");e?(C3||(Xu(e.getConstants().initialHostThemeSetting),C3=!0),v3=e.getConstants(),LC()?vs=I(I({},e),{getPalette:Qu,getConstants:p3}):vs=I(I({},e),{getPalette:e.getPalette,getConstants:p3}),b3=new Yu.NativeEventEmitter(e)):vs=Y1}return[vs,b3]}var C3=!1;function OC(e){var t=e;return t&&t.message!==void 0?void 0:e}function ef(e){e===void 0&&(e={});var t=J1(),n=t[0],o=t[1],r={module:n,emitter:o,themeName:h3()||""},a=e.paletteName,l=new Ca($c(e),function(){var c=a||"WhiteColors",d=OC(r.module.getPalette(c));return Q1(n,r.themeName,d)},function(){return!r.themeName||r.themeName===""?{}:{shadows:I({},f3(r.themeName)),typography:Cs()}},function(){return!r.themeName||r.themeName===""?{}:{colors:I({},$1(r.themeName)),typography:Cs()}},function(c){return K1(r.themeName,c)},function(c){return c.host.palette?I(I({},a!==void 0&&{colors:j4(c.host.palette,r.themeName==="HighContrast")}),{typography:Cs()}):{}}),u=function(d){r.themeName=d&&d.hostThemeSetting||r.themeName,Xu(r.themeName),l.invalidate()};return o&&o.addListener("onPlatformDefaultsChanged",u),l}s();s();var S3=m(ce()),_C=ef({paletteName:"Dialog"}),An=function(t){var n=t.children;return(0,S3.jsx)(Gc,{theme:_C,children:n})};s();s();function y3(e,t){return Object.assign({},e,je(e,t),{definition:Object.assign({},e.definition,{header:e.strings.critique("sensitiveContentCardHeader")}),suggestionIcon:function(o){return e.definition.suggestions&&e.definition.suggestions.length===1?"Delete":void 0}})}s();var mZ=m(R());s();var uZ=m(R());var x3=m(ce()),k3=function(t){var n=t.strings.critique("dictationSpelloutCommandCardTitle");return n?(0,x3.jsx)(x,{style:Ci,align:A.Stretch,children:n}):null};var T3=m(ce());function tf(e,t){return Object.assign({},e,je(e,t),{definition:Object.assign({},e.definition,{header:e.definition.showDictationCommandUx?e.strings.critique("dictationCorrectionsGroupTitle"):void 0,subheader:e.definition.subheader||e.strings.critique("dictationCorrectionCommandCardTitle")}),customLowerBody:(0,T3.jsx)(k3,{strings:e.strings})})}s();var B3=m(R());var F3=m(ce());function rf(e,t){var n=e.definition,o=e.strings,r=function(l){var u=l.tagAccessibilityLabel||l.tag||"";if(!n.showDescription||!l.subtitle||l.subtitle.trim().length===0)return u?o.critique("suggestionWithTagAccessibilityLabel").replace("{0}",u).replace("{1}",l.title):"";if(u)return o.critique("spellingSuggestionTagAndDescriptionAccessibilityLabel").replace("{0}",u).replace("{1}",l.title).replace("{2}",l.subtitle);var c=o.critique("spellingSuggestionDescriptionAccessibilityLabel");return c.replace("{0}",l.title).replace("{1}",l.subtitle)};return Object.assign({},e,je(e,t),{definition:Object.assign({},n,{header:o.critique("spellingCardHeader"),subheader:void 0}),suggestionOverflowActions:[f.Accept,f.ReadAloud,f.SpellOut,f.ChangeAll,f.AddToAutoCorrect,f.AutoCorrectOptions],suggestionAccessibilityLabel:r,strings:o})}function R3(e,t){var n=B3.createRef(),o=rf(e);o.definition.subheader=e.strings.critique("repeatedWordCardSubheader");var r=Je(e,n,0,e.strings.critique("deleteRepeatedWord"),f.Accept,dt(e,!!(t!=null&&t.useFluentV9)),!1,"Delete");return o.customBody=(0,F3.jsx)(qt,{children:r}),o.firstSuggestionRef=n,o}s();function H3(e,t){var n;return(n=e.definition.suggestions)==null||n.forEach(function(o){o.title&&o.title[0]!=="#"&&(o.title="#".concat(o.title))}),Object.assign({},e,je(e,t),{suggestionKind:function(){return"refinement"}})}s();function w3(e,t){var n=e.definition,o=e.strings,r=function(l){var u=l.tagAccessibilityLabel||l.tag||"";if(!n.showDescription||!l.subtitle||l.subtitle.trim().length===0)return u?o.critique("suggestionWithTagAccessibilityLabel").replace("{0}",u).replace("{1}",l.title):"";if(u)return o.critique("spellingSuggestionTagAndDescriptionAccessibilityLabel").replace("{0}",u).replace("{1}",l.title).replace("{2}",l.subtitle);var c=o.critique("spellingSuggestionDescriptionAccessibilityLabel");return c.replace("{0}",l.title).replace("{1}",l.subtitle)};return Object.assign({},e,je(e,t),{definition:Object.assign({},n),suggestionOverflowActions:[f.Accept,f.ReadAloud,f.SpellOut],suggestionAccessibilityLabel:r,strings:o})}function A3(e,t){if(e.definition.showDictationCommandUx)return tf(e,t);switch(e.definition.critiqueType){case b.Spelling:return rf(e,t);case b.RepeatedWord:return R3(e,t);case b.Grammar:return Mu(e,t);case b.Refinement:return Po(e,t);case b.NeuralRewrite:return zu(e,t);case b.TonalRewrite:return e4(e,t);case b.Classification:return y3(e,t);case b.SimilarityChecker:return Nu(e,t);case b.AccColorChecker:case b.AltText:case b.MergeSplitCell:case b.MissingTableHeader:return ku(e,t);case b.Topic:return H3(e,t);case b.DictationCorrection:return tf(e,t);case b.TextPenAlternates:return Wu(e,t);case b.AddinCritique:return w3(e,t);default:return e}}var cQ=m(X()),it=m(ce());function DC(e){var t="Microsoft.Office.Word.CanvasContextual.",n={};if(e)for(var o of e){var r=o.name;if(r.length>t.length+1&&r.substr(0,t.length)===t){var a=r.substr(t.length);n[a]=o.value}}return n}var MC={common:wn,critique:ot,critiqueExplanation:Lo,textFormatting:Wr,inlineSuggestions:M4};function zC(){return{acceptHoveredHeading:Ku("acceptHoveredHeading"),regularHeading:Ku("regularHeading"),rejectHoveredHeading:Ku("rejectHoveredHeading")}}function VC(){return{catchUpEditedDescriptionFormat:Hn("catchUpEditedDescriptionFormat"),catchUpDescriptorWithOneOtherFragment:Hn("catchUpDescriptorWithOneOtherFragment"),catchUpDescriptorWithMultipleOthersFragment:Hn("catchUpDescriptorWithMultipleOthersFragment"),catchUpAccessibilityLabel:Hn("catchUpAccessibilityLabel"),catchUpHeading:Hn("catchUpHeading")}}function E3(){Uu.Host.OnStringsReady({spellingHeader:ot("spellingCardHeader"),spellingSubheader:"",repeatedWordSubheader:ot("repeatedWordCardSubheader"),grammarHeader:ot("grammarCardHeader"),sensitiveContentHeader:ot("sensitiveContentCardHeader"),neuralRewriteHeader:ot("neuralRewriteCardHeader"),neuralRewriteSubheader:ot("neuralRewriteCardSubheader"),similarityCheckerHeader:ot("similarityCheckerCardHeader"),similarityCheckerSubheader:ot("similarityCheckerCardSubheader"),accAltTextCheckerHeader:Za()?Ei("accCheckerAltTextCardHeader"):"",accAltTextCheckerSubheader:Za()?Ei("accCheckerAltTextCardSubHeader"):"",accColorCheckerHeader:Za()?Ei("accColorCheckerCardHeader"):"",accColorCheckerSubheader:Za()?Ei("accColorCheckerCardSubheader"):"",tonalRewriteHeader:ot("tonalRewriteCardHeader"),contextMaxLength:k1,spellingContextAccessibilityFormat:Wr("contextAccessibilityLabelForSpelling"),repeatedWordContextAccessibilityFormat:Wr("contextAccessibilityLabelForRepeatedWord"),grammarContextAccessibilityFormat:Wr("contextAccessibilityLabelForGrammar"),refinementContextAccessibilityFormat:Wr("contextAccessibilityLabelForRefinement"),noSuggestions:wn("suggestionsGroupNoSuggestionsText"),noSuggestionsRewrite:ot("neuralRewriteNoSuggestionsText"),loadingSuggestions:wn("suggestionsGroupLoadingSuggestionsText"),deleteRepeatedWordSuggestion:ot("deleteRepeatedWord"),catchUpAccessibilityLabel:gu()?Hn("catchUpAccessibilityLabel"):"",catchUpDescriptorWithOneOtherFragment:gu()?Hn("catchUpDescriptorWithOneOtherFragment"):"",catchUpDescriptorWithMultipleOthersFragment:gu()?Hn("catchUpDescriptorWithMultipleOthersFragment"):""})}var P3=function(e){function t(o){var r;return r=e.call(this,o)||this,r.onAction=r.onAction.bind(r),r.onAfterUpdate=r.onAfterUpdate.bind(r),r.innerRef=Ss.createRef(),r.containerRef=Ss.createRef(),r.state={definition:r.props.definition,addOnFooterData:r.props.addonFooterData},Yt.Register(o.id,r),r}(0,I3.default)(t,e);var n=t.prototype;return n.setDefinition=function(r){this.innerRef.current&&this.innerRef.current.setDefinition&&this.innerRef.current.setDefinition(r),this.setState({definition:r})},n.componentDidMount=function(){Yt.NotifyMount(this.props.id)},n.componentDidUpdate=function(r){r.definition!==this.props.definition&&this.setState({definition:this.props.definition})},n.render=function(){var r=this,a,l,u=DC(this.props.featureGates);switch(this.state.definition.definitionType){case"TrackChangeDefinition":var c={definition:this.state.definition,strings:zC(),onAcceptClick:function(){r.onAction(f.Accept)},onRejectClick:function(){r.onAction(f.Reject)},onAcceptHoverIn:function(){r.onAction(f.AcceptHoverIn)},onAcceptHoverOut:function(){r.onAction(f.AcceptHoverOut)},onRejectHoverIn:function(){r.onAction(f.RejectHoverIn)},onRejectHoverOut:function(){r.onAction(f.RejectHoverOut)},onAfterUpdate:this.onAfterUpdate};{var d=(0,it.jsx)(N1,Object.assign({ref:this.innerRef},c));return(0,it.jsx)(An,{children:this.wrapComponentInContainerIfNeeded(d)})}case"InlineSuggestionsResultDefinition":this.inlineSuggestionsKeyboardHandler||(this.inlineSuggestionsKeyboardHandler=new Gp);var g={definition:this.state.definition,results:this.state.definition.results,queryString:this.state.definition.queryString,onItemSelected:function(k){r.onAction(f.Accept,void 0,{action:"selectedsuggestion",selectedItem:k})},onFocus:function(k){var S;if((k==null||(S=k.selection)==null?void 0:S.type)==="item"){var H;r.onAction(f.Accept,void 0,{action:"focusedsuggestion",focusedItem:k==null||(H=k.selection)==null?void 0:H.item})}},onFooterAction:function(k){r.onAction(k)},onAction:function(k){k===dn.ClearSearch&&r.onAction(f.Regenerate,void 0,{action:"clearsearch"})},isError:(a=this.state.definition.isError)!=null?a:!1,strings:MC,isLoading:(l=this.state.definition.isLoading)!=null?l:!1,keyboardHandlerTarget:this.inlineSuggestionsKeyboardHandler,onAfterUpdate:this.onAfterUpdate,theme:this.state.definition.inlineSuggestionsTheme,style:this.state.definition.inlineSuggestionsStyle,menuType:this.state.definition.menuType};return(0,it.jsx)(An,{children:(0,it.jsx)(Up,Object.assign({},g))});case"CatchUpDefinition":var h={definition:this.state.definition,strings:VC(),onAfterUpdate:this.onAfterUpdate};return(0,it.jsx)(An,{children:(0,it.jsx)(q5,Object.assign({ref:this.innerRef},h))});case"CritiqueDefinition":var p=this.state,C=p.definition,v=p.addOnFooterData,T={definition:C,addOnFooterData:v,theme:this.props.theme,settings:u,onAction:this.onAction,onAfterUpdate:this.onAfterUpdate};switch(this.state.definition.critiqueType){case b.SimilarityChecker:return(0,it.jsx)(An,{children:(0,it.jsx)(ju,Object.assign({ref:this.innerRef,strings:{common:wn,critique:ot,critiqueExplanation:Lo,textFormatting:Wr,similarityChecker:V4,feedback:Gu}},T))});case b.NeuralRewrite:return(0,it.jsx)(An,{children:(0,it.jsx)(ps,Object.assign({ref:this.innerRef,strings:{common:wn,critique:ot,critiqueExplanation:Lo,textFormatting:Wr,neuralRewrite:z4,feedback:Gu}},T))});case b.AccColorChecker:case b.AltText:case b.MergeSplitCell:case b.MissingTableHeader:return(0,it.jsx)(An,{children:(0,it.jsx)(F1,Object.assign({ref:this.innerRef,strings:{common:wn,critique:ot,critiqueExplanation:Lo,textFormatting:Wr,accChecker:Ei,feedback:Gu}},T))});case b.TextPenAlternates:var B=Wu(Object.assign({strings:{common:wn,critique:ot,critiqueExplanation:Lo,textFormatting:Wr,textPenAlternates:N4}},T));return(0,it.jsx)(An,{children:(0,it.jsx)(rn,Object.assign({ref:this.innerRef},B))});default:var F=A3(Object.assign({strings:{common:wn,critique:ot,critiqueExplanation:Lo,textFormatting:Wr}},T));return(0,it.jsx)(An,{children:(0,it.jsx)(rn,Object.assign({ref:this.innerRef},F))})}}},n.focus=function(){this.containerRef.current?this.containerRef.current.focus():this.innerRef.current&&this.innerRef.current.focus()},n.notifyKeyPress=function(r){if(this.state.definition.definitionType==="InlineSuggestionsResultDefinition"){var a={up:E.ArrowUp,down:E.ArrowDown,tab:E.Tab,enter:E.Enter};if(a[r]!==void 0){var l;(l=this.inlineSuggestionsKeyboardHandler)==null||l.onKeyPressed(a[r])}}},n.highlight=function(){var r;(r=this.containerRef.current)==null||r.highlight()},n.clearHighlight=function(){var r;(r=this.containerRef.current)==null||r.clearHighlight()},n.select=function(){var r;(r=this.containerRef.current)==null||r.select()},n.deselect=function(){var r;(r=this.containerRef.current)==null||r.deselect()},n.onAction=function(r,a,l){Uu.Host.OnAction(this.props.id,r,a,l)},n.onAfterUpdate=function(r){Uu.Host.OnAfterUpdate(this.props.id,r)},n.wrapComponentInContainerIfNeeded=function(r){var a=this;if(this.props.containerProps===void 0||!Ul)return r;var l={borderColor:this.props.containerProps.theme.borderColor,highlightColor:this.props.containerProps.theme.highlightColor},u=1,c=2,d={automationLabel:this.props.containerProps.accessibilityLabel,theme:l,styles:{borderThickness:{default:u,selected:c}},onHoverIn:function(){a.onAction(f.ContainerHoverIn)},onHoverOut:function(){a.onAction(f.ContainerHoverOut)}};return(0,it.jsx)(Gl,Object.assign({ref:this.containerRef},d,{children:r}))},t}(Ss.Component);s();var nf=function(){function e(){this.registered=!1,this.cachedProps={}}var t=e.prototype;return t.Focus=function(o){var r=Yt.Get(o);r==null||r.focus()},t.Highlight=function(o){var r=Yt.Get(o);r==null||r.highlight()},t.ClearHighlight=function(o){var r=Yt.Get(o);r==null||r.clearHighlight()},t.Select=function(o){var r=Yt.Get(o);r==null||r.select()},t.Deselect=function(o){var r=Yt.Get(o);r==null||r.deselect()},t.UpdateProps=function(o){var r=Yt.Get(o.id);if(!r){this.ensureRegistered(),this.cachedProps[o.id]=o;return}r.setDefinition(o.definition),delete this.cachedProps[o.id]},t.NotifyKeyPress=function(o,r){var a=Yt.Get(o);a==null||a.notifyKeyPress(r)},t.NotifyDismiss=function(o){Yt.Unregister(o),delete this.cachedProps[o]},t.ensureRegistered=function(){this.registered||(this.registered=!0,this.onComponentMount=this.onComponentMount.bind(this),Yt.AddOnMountListener(this.onComponentMount))},t.onComponentMount=function(o,r){var a=this.cachedProps[o];a&&(r.setDefinition(a.definition),delete this.cachedProps[o])},e}();nf.ServiceInfo=G1.SDX;L3.AppRegistry.registerComponent("ContextualComponent",function(){return P3});(0,O3.initReka)(nf);E3();})();
//# sourceMappingURL=index.win32.bundle.map