-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path4952.js
1 lines (1 loc) · 16.6 KB
/
4952.js
1
"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[4952],{60646:(e,t,i)=>{i.d(t,{g:()=>I});var a=i(32511),n=i(30758),o=i(63616),r=i(36685),l=i(42861),s=i(70585),d=i(59804),c=i(87150),u=d.Ay.div.withConfig({displayName:"Group",componentId:"sc-u9bcx5-0"})(["",";padding-block-end:",";",";"],(0,l.W)(),(0,s.po)("looser","24px"),(function(e){return"fieldset"===e.as&&(0,c.AH)(["min-inline-size:0;padding-inline:0;padding-block-start:0;margin:0;border:0;"])})),p=i(28860),h=i(32037),v=d.Ay.span.withConfig({displayName:"IndicatorText",componentId:"sc-7u3ecx-0"})(["color:",";padding-inline-start:",";@media (max-width:","){flex:1;}"],(0,h.oj)(h.ZI.textSubdued),(0,s.po)("tighter-4","4px"),p.en),f=d.Ay.div.withConfig({displayName:"InlineGroup",componentId:"sc-4o5aq4-0"})(["display:flex;flex-wrap:wrap;"]),b=d.Ay.label.withConfig({displayName:"Label",componentId:"sc-1c0cv3r-0"})(["color:",";"],(0,h.oj)(h.ZI.textBase)),m=d.Ay.div.withConfig({displayName:"LabelGroup",componentId:"sc-1ibddrg-0"})(["",";align-items:center;display:flex;inline-size:100%;padding-block-end:",";@media (max-width:","){justify-content:space-between;}",";",";"],(0,l.W)(),(0,s.po)("tighter-2","8px"),p.en,(function(e){return"legend"===e.as&&(0,c.AH)(["padding-inline:0;"])}),(function(e){return e.$isHidden&&(0,c.AH)(["",""],(0,c.AH)(["border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;"]))})),g=d.Ay.span.withConfig({displayName:"LabelInner",componentId:"sc-19pye2k-0"})(["display:inline-block;"]),y=d.Ay.span.withConfig({displayName:"Popover",componentId:"sc-19tjcmc-0"})(["display:inline-flex;margin-inline-start:",";"],(0,s.po)("tighter-4","4px")),R=d.Ay.span.withConfig({displayName:"Required",componentId:"sc-7zzom7-0"})(["color:",";border-block-end:0;text-decoration:none;padding-inline-start:",";@media (max-width:","){flex:1;}"],(0,h.oj)(h.ZI.textNegative),(0,s.po)("tighter-4","4px"),p.en),w=["withFieldset","children","indicator","inline","label","labelFor","hideLabel","popover","optionalIndicatorText","requiredIndicatorTextForScreenReader"],A=function(e,t,i){switch(e){case"optional":return n.createElement(v,{className:(0,s.W3)("bodySmall")},t);case"required":return n.createElement(n.Fragment,null,n.createElement(R,{"aria-hidden":"true"},"*"),n.createElement(r.s,null,i));default:return n.createElement(v,{className:(0,s.W3)("bodySmall")},"(",e,")")}},I=function(e){var t=e.withFieldset,i=e.children,r=e.indicator,l=e.inline,d=e.label,c=e.labelFor,p=e.hideLabel,h=e.popover,v=e.optionalIndicatorText,R=void 0===v?"(Optional)":v,I=e.requiredIndicatorTextForScreenReader,L=void 0===I?"(required)":I,C=(0,a.A)(e,w);return n.createElement(u,Object.assign({as:t?"fieldset":void 0},C,{"data-encore-id":o.j.FormGroup}),d&&n.createElement(m,{as:t?"legend":void 0,$isHidden:!!p,className:(0,s.W3)("bodySmallBold")},t?n.createElement("span",null,d,r&&A(r,R,L)):n.createElement(b,{htmlFor:c},n.createElement(g,null,d,r&&A(r,R,L))),h&&n.createElement(y,null,h)),l?n.createElement(f,null,i):i)}},22915:(e,t,i)=>{i.d(t,{N:()=>o});var a=i(30758),n=i(12323);function o(e){var t,i,o,r,l,s=e.size?n.$Z[e.size]:e.iconSize,d=(0,n._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M7.25 12.026v-1.5h1.5v1.5h-1.5zm.884-7.096A1.125 1.125 0 0 0 7.06 6.39l-1.431.448a2.625 2.625 0 1 1 5.13-.784c0 .54-.156 1.015-.503 1.488-.3.408-.7.652-.973.818l-.112.068c-.185.116-.26.203-.302.283-.046.087-.097.245-.097.57h-1.5c0-.47.072-.898.274-1.277.206-.385.507-.645.827-.846l.147-.092c.285-.177.413-.257.526-.41.169-.23.213-.397.213-.602 0-.622-.503-1.125-1.125-1.125z'/>"},{size:24,svgContent:"<path d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12z'/><path d='M12.162 8a1.72 1.72 0 0 0-1.643 2.235l-1.909.597a3.72 3.72 0 1 1 7.273-1.111c0 .763-.22 1.435-.714 2.107-.423.577-.987.92-1.385 1.162l-.164.101c-.277.174-.398.31-.47.444-.076.143-.15.388-.15.87V15h-2v-.596c0-.675.102-1.279.386-1.812.29-.541.713-.907 1.17-1.194l.212-.133c.412-.256.614-.382.788-.62.255-.347.327-.608.327-.925 0-.95-.77-1.72-1.72-1.72zM11 19v-2h2v2h-2z'/>"}],s||24),c=null!==(t=e.autoMirror)&&void 0!==t&&t;return a.createElement(n.In,Object.assign({},e,{autoMirror:c,viewBox:"0 0 ".concat(d.size," ").concat(d.size),dangerouslySetInnerHTML:{__html:"".concat((r=e.title,l=e.titleId,r?"<title ".concat(l?'id="'.concat(l,'"'):"",">").concat(r,"</title>"):"")).concat((i=e.desc,o=e.descId,i?"<desc ".concat(o?'id="'.concat(o,'"'):"",">").concat(i,"</desc>"):"")).concat(d.svgContent)}}))}},82068:(e,t,i)=>{i.d(t,{T:()=>l});const a="music",n="1.0.0",o="default",r="16.1.6";function l(e){return new s(e)}class s{constructor(e){this._path=[{name:"desktop-settings-zoom"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}zoomLevelRadioButtonFactory(e){return new s.ZoomLevelRadioButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}resetButtonFactory(){return new s.ResetButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[n,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ZoomLevelRadioButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:i}){this._path=e.concat({...i,name:"zoom_level_radio_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[n,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSetSettingField(){return{actionName:"set_setting_field",actionVersion:1,app:a,generatorVersion:r,interactionType:"hit",specificationMode:o,specificationVersion:n,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(s||(s={})),function(e){e.ResetButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:i}){this._path=e.concat({name:"reset_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[n,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSetSettingField(){return{actionName:"set_setting_field",actionVersion:1,app:a,generatorVersion:r,interactionType:"hit",specificationMode:o,specificationVersion:n,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(s||(s={}))},97106:(e,t,i)=>{i.d(t,{sx:()=>ie,z6:()=>te});var a=i(4041),n=i(50104),o=i(30668),r=i(92900),l=i(78307);const s=new WeakMap;var d=i(20879),c=i(47165),u=i(81056),p=i(39456);function h(e,t){return"#comment"!==e.nodeName&&function(e){const t=(0,p.m)(e);if(!(e instanceof t.HTMLElement||e instanceof t.SVGElement))return!1;let{display:i,visibility:a}=e.style,n="none"!==i&&"hidden"!==a&&"collapse"!==a;if(n){const{getComputedStyle:t}=e.ownerDocument.defaultView;let{display:i,visibility:a}=t(e);n="none"!==i&&"hidden"!==a&&"collapse"!==a}return n}(e)&&function(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))}(e,t)&&(!e.parentElement||h(e.parentElement,e))}var v=i(30758);const f=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],b=f.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";f.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const m=f.join(':not([hidden]):not([tabindex="-1"]),');function g(e,t){return!!e&&(!!t&&t.some((t=>t.contains(e))))}function y(e,t,i){let a=(null==t?void 0:t.tabbable)?m:b,n=(0,p.T)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var n;return(null==t||null===(n=t.from)||void 0===n?void 0:n.contains(e))?NodeFilter.FILTER_REJECT:!e.matches(a)||!h(e)||i&&!g(e,i)||(null==t?void 0:t.accept)&&!t.accept(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}});return(null==t?void 0:t.from)&&(n.currentNode=t.from),n}class R{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,i){let a=this.fastMap.get(null!=t?t:null);if(!a)return;let n=new w({scopeRef:e});a.addChild(n),n.parent=a,this.fastMap.set(e,n),i&&(n.nodeToRestore=i)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let i=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&g(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let a=t.children;i&&(i.removeChild(t),a.size>0&&a.forEach((e=>i&&i.addChild(e)))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new R;var i;for(let a of this.traverse())t.addTreeNode(a.scopeRef,null!==(i=null===(e=a.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==i?i:null,a.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new w({scopeRef:null}),this.fastMap.set(null,this.root)}}class w{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}new R;var A=i(27650),I=i(29905);const L=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),C=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function x(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),i="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(i)return"rtl"===i.direction;if(t.script)return L.has(t.script)}let t=e.split("-")[0];return C.has(t)}var _=i(9493);const M=Symbol.for("react-aria.i18n.locale");function E(){let e="undefined"!=typeof window&&window[M]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:x(e)?"rtl":"ltr"}}let S=E(),T=new Set;function F(){S=E();for(let e of T)e(S)}function N(){let e=(0,_.wR)(),[t,i]=(0,v.useState)(S);return(0,v.useEffect)((()=>(0===T.size&&window.addEventListener("languagechange",F),T.add(i),()=>{T.delete(i),0===T.size&&window.removeEventListener("languagechange",F)})),[]),e?{locale:"en-US",direction:"ltr"}:t}const V=v.createContext(null);function P(){let e=N();return(0,v.useContext)(V)||e}function z(e,t){let{name:i,isReadOnly:a,isRequired:n,isDisabled:o,orientation:r="vertical",validationBehavior:l="aria"}=e,{direction:p}=P(),{isInvalid:h,validationErrors:v,validationDetails:f}=t.displayValidation,{labelProps:b,fieldProps:m,descriptionProps:g,errorMessageProps:R}=(0,A.M)({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||v}),w=(0,d.$)(e,{labelable:!0}),{focusWithinProps:L}=(0,I.R)({onBlurWithin(i){var a;null===(a=e.onBlur)||void 0===a||a.call(e,i),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),C=(0,c.Bi)(i);return s.set(t,{name:C,descriptionId:g.id,errorMessageId:R.id,validationBehavior:l}),{radioGroupProps:(0,u.v)(w,{role:"radiogroup",onKeyDown:e=>{let i;switch(e.key){case"ArrowRight":i="rtl"===p&&"vertical"!==r?"prev":"next";break;case"ArrowLeft":i="rtl"===p&&"vertical"!==r?"next":"prev";break;case"ArrowDown":i="next";break;case"ArrowUp":i="prev";break;default:return}e.preventDefault();let a,n=y(e.currentTarget,{from:e.target});"next"===i?(a=n.nextNode(),a||(n.currentNode=e.currentTarget,a=n.firstChild())):(a=n.previousNode(),a||(n.currentNode=e.currentTarget,a=n.lastChild())),a&&(a.focus(),t.setSelectedValue(a.value))},"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":a||void 0,"aria-required":n||void 0,"aria-disabled":o||void 0,"aria-orientation":r,...m,...L}),labelProps:b,descriptionProps:g,errorMessageProps:R,isInvalid:h,validationErrors:v,validationDetails:f}}var k=i(61715),D=i(30413),q=i(95677),B=i(42868);function O(e,t,i){let{value:a,children:n,"aria-label":o,"aria-labelledby":r}=e;const l=e.isDisabled||t.isDisabled;null!=n||(null!=o||null!=r)||console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===a,{pressProps:p,isPressed:h}=(0,B.d)({isDisabled:l}),{pressProps:v,isPressed:f}=(0,B.d)({isDisabled:l,onPress(){t.setSelectedValue(a)}}),{focusableProps:b}=(0,D.W)((0,u.v)(e,{onFocus:()=>t.setLastFocusedValue(a)}),i),m=(0,u.v)(p,b),g=(0,d.$)(e,{labelable:!0}),y=-1;null!=t.selectedValue?t.selectedValue===a&&(y=0):t.lastFocusedValue!==a&&null!=t.lastFocusedValue||(y=0),l&&(y=void 0);let{name:R,descriptionId:w,errorMessageId:A,validationBehavior:I}=s.get(t);return(0,k.F)(i,t.selectedValue,t.setSelectedValue),(0,q.X)({validationBehavior:I},t,i),{labelProps:(0,u.v)(v,{onClick:e=>e.preventDefault()}),inputProps:(0,u.v)(g,{...m,type:"radio",name:R,tabIndex:y,disabled:l,required:t.isRequired&&"native"===I,checked:c,value:a,onChange:e=>{e.stopPropagation(),t.setSelectedValue(a)},"aria-describedby":[e["aria-describedby"],t.isInvalid?A:null,w].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:h||f}}var W=i(19304),j=i(75282),H=i(40524),G=i(84216),$=i(25167),Z=i(9837),U=i(51190);let K=Math.round(1e10*Math.random()),J=0;function X(e){let t=(0,v.useMemo)((()=>e.name||`radio-group-${K}-${++J}`),[e.name]);var i;let[a,n]=(0,U.P)(e.value,null!==(i=e.defaultValue)&&void 0!==i?i:null,e.onChange),[o,r]=(0,v.useState)(null),l=(0,Z.KZ)({...e,value:a}),s=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:a,setSelectedValue:t=>{e.isReadOnly||e.isDisabled||(n(t),l.commitValidation())},lastFocusedValue:o,setLastFocusedValue:r,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(s?"invalid":null),isInvalid:s}}const Y=(0,v.createContext)(null),Q=(0,v.createContext)(null),ee=(0,v.createContext)(null),te=(0,v.forwardRef)((function(e,t){[e,t]=(0,a.JT)(e,t,Y);let{validationBehavior:i}=(0,a.CC)(o.c)||{};var s,d;let c=null!==(d=null!==(s=e.validationBehavior)&&void 0!==s?s:i)&&void 0!==d?d:"native",u=X({...e,validationBehavior:c}),[p,h]=(0,a._E)(),{radioGroupProps:f,labelProps:b,descriptionProps:m,errorMessageProps:g,...y}=z({...e,label:h,validationBehavior:c},u),R=(0,a.Sl)({...e,values:{orientation:e.orientation||"vertical",isDisabled:u.isDisabled,isReadOnly:u.isReadOnly,isRequired:u.isRequired,isInvalid:u.isInvalid,state:u},defaultClassName:"react-aria-RadioGroup"});return v.createElement("div",{...f,...R,ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||"vertical","data-invalid":u.isInvalid||void 0,"data-disabled":u.isDisabled||void 0,"data-readonly":u.isReadOnly||void 0,"data-required":u.isRequired||void 0},v.createElement(a.Kq,{values:[[ee,u],[r.I,{...b,ref:p,elementType:"span"}],[l.h,{slots:{description:m,errorMessage:g}}],[n.C,y]]},R.children))})),ie=(0,v.forwardRef)((function(e,t){let{inputRef:i=null,...n}=e;[e,t]=(0,a.JT)(n,t,Q);let o=v.useContext(ee),r=(0,G.U)((0,$.P)(i,void 0!==e.inputRef?e.inputRef:null)),{labelProps:l,inputProps:s,isSelected:c,isDisabled:p,isPressed:h}=O({...(0,a.SK)(e),children:"function"==typeof e.children||e.children},o,r),{isFocused:f,isFocusVisible:b,focusProps:m}=(0,W.o)(),g=p||o.isReadOnly,{hoverProps:y,isHovered:R}=(0,j.M)({...e,isDisabled:g}),w=(0,a.Sl)({...e,defaultClassName:"react-aria-Radio",values:{isSelected:c,isPressed:h,isHovered:R,isFocused:f,isFocusVisible:b,isDisabled:p,isReadOnly:o.isReadOnly,isInvalid:o.isInvalid,isRequired:o.isRequired}}),A=(0,d.$)(e);return delete A.id,v.createElement("label",{...(0,u.v)(A,l,y,w),ref:t,"data-selected":c||void 0,"data-pressed":h||void 0,"data-hovered":R||void 0,"data-focused":f||void 0,"data-focus-visible":b||void 0,"data-disabled":p||void 0,"data-readonly":o.isReadOnly||void 0,"data-invalid":o.isInvalid||void 0,"data-required":o.isRequired||void 0},v.createElement(H.s,{elementType:"span"},v.createElement("input",{...(0,u.v)(s,m),ref:r})),w.children)}))}}]);