1"use strict";(globalThis.webpackChunkcenterpiece_ui=globalThis.webpackChunkcenterpiece_ui||[]).push([[470],{5470(e,s,a){a.r(s),a.d(s,{default:()=>u});var c=a(9950),n=a(8182),i=a(2203),t=a(5234),r=a(3238),o=a(8568),l=a(7270),d=a(4414);const u=e=>{let{currentPreferences:s}=e;const[a,u]=(0,c.useState)(!1),[h,E]=(0,c.useState)((null===s||void 0===s?void 0:s.functionalInsights)||!1);(0,c.useEffect)(()=>{E((null===s||void 0===s?void 0:s.functionalInsights)||!1)},[s]);const N=async()=>{await(0,o.S)({functionalInsights:!0})},p=async()=>{const e={functionalInsights:h};await(0,o.S)(e)};return(0,d.jsx)("div",{className:`cookie-consent-wrapper ${(()=>{const e=window.location.pathname;return e===l.du.AUTH_PROFILE||e===l.du.AUTH_PLAN?"is-onboarding":""})()}`,children:(0,d.jsx)("div",{className:"cookie-consent",children:a?(0,d.jsxs)(t.A,{direction:"vertical",size:24,children:[(0,d.jsxs)(t.A,{direction:"vertical",size:6,children:[(0,d.jsx)("h3",{children:"Customize your preferences"}),(0,d.jsx)("p",{children:"Manage preferences for ODIpro. Your choices will be applied across all devices where you are logged in."})]}),(0,d.jsxs)("div",{className:"cookie-options",children:[(0,d.jsxs)(t.A,{direction:"vertical",children:[(0,d.jsxs)(t.A,{children:[(0,d.jsx)("h4",{children:"Necessary Cookies"}),(0,d.jsx)(r.A,{checked:!0,disabled:!0})]}),(0,d.jsx)("p",{children:"These cookies are strictly necessary to operate ODIpro. They ensure basic functionalities and security features of the website, such as session management and access control. These cookies are essential for the app to work correctly and cannot be turned off."})]}),(0,d.jsxs)(t.A,{direction:"vertical",children:[(0,d.jsxs)(t.A,{children:[(0,d.jsx)("h4",{children:"Functional Insights"}),(0,d.jsx)(r.A,{checked:h,onChange:e=>E(e)})]}),(0,d.jsx)("p",{children:"Help us provide better support and improve app reliability. These cookies and related technologies allow us to collect data on how you use ODIpro, assisting us in improving the app and troubleshooting potential bugs. Disabling this option may impact our ability to quickly resolve any problems you report."})]})]}),(0,d.jsxs)("div",{className:"consent-buttons",children:[(0,d.jsxs)(n.A,{size:"large",color:"neutral",type:"link",onClick:()=>u(!1),children:[(0,d.jsx)(i.A,{size:"14",type:"regular",icon:"fa-arrow-left"}),"Back"]}),(0,d.jsxs)(n.A,{size:"large",color:"neutral",onClick:N,children:[(0,d.jsx)(i.A,{size:"14",type:"solid",icon:"fa-check-double"}),"Accept All"]}),(0,d.jsxs)(n.A,{size:"large",color:"neutral",onClick:p,children:[(0,d.jsx)(i.A,{size:"14",type:"solid",icon:"fa-save"}),"Save Preferences"]})]})]}):(0,d.jsxs)(t.A,{direction:"vertical",size:24,children:[(0,d.jsxs)(t.A,{direction:"vertical",children:[(0,d.jsx)("h3",{children:"We value your privacy"}),(0,d.jsxs)("p",{children:["ODIpro uses cookies and similar technologies, including those from select third parties, to enhance your experience and analyze site usage. This allows us to collect data that aids in product enhancement and troubleshooting issues."," "]}),(0,d.jsxs)("p",{children:["You can select \u201cAccept\u201d to consent to our use of these technologies, or click \u201cCustomize\u201d to choose your preferences regarding additional data collection. You can revoke your consent at any time by informing us at [email protected]. For more details, check our"," ",(0,d.jsx)("a",{href:"/privacy",target:"_blank",children:"Privacy Policy"})," ","and"," ",(0,d.jsx)("a",{href:"/terms-of-use",target:"_blank",children:"Terms of Use"}),"."]})]}),(0,d.jsxs)("div",{className:"consent-buttons",children:[(0,d.jsxs)(n.A,{size:"large",color:"neutral",type:"alternative",onClick:()=>u(!0),children:[(0,d.jsx)(i.A,{size:"14",type:"solid",icon:"fa-sliders"}),"Customize"]}),(0,d.jsxs)(n.A,{size:"large",color:"neutral",onClick:N,children:[(0,d.jsx)(i.A,{size:"14",type:"solid",icon:"fa-check"}),"Accept"]})]})]})})})}},8029(e,s,a){a.d(s,{K:()=>c});var c={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_
1SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var s=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||s>=c.F1&&s<=c.F12)return!1;switch(s){case c.ALT:case c.CAPS_LOCK:case c.CONTEXT_MENU:case c.CTRL:case c.DOWN:case c.END:case c.ESC:case c.HOME:case c.INSERT:case c.LEFT:case c.MAC_FF_META:case c.META:case c.NUMLOCK:case c.NUM_CENTER:case c.PAGE_DOWN:case c.PAGE_UP:case c.PAUSE:case c.PRINT_SCREEN:case c.RIGHT:case c.SHIFT:case c.UP:case c.WIN_KEY:case c.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=c.ZERO&&e<=c.NINE||e>=c.NUM_ZERO&&e<=c.NUM_MULTIPLY||e>=c.A&&e<=c.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case c.SPACE:case c.QUESTION_MARK:case c.NUM_PLUS:case c.NUM_MINUS:case c.NUM_PERIOD:case c.NUM_DIVISION:case c.SEMICOLON:case c.DASH:case c.EQUALS:case c.COMMA:case c.PERIOD:case c.SLASH:case c.APOSTROPHE:case c.SINGLE_QUOTE:case c.OPEN_SQUARE_BRACKET:case c.BACKSLASH:case c.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}}},3238(e,s,a){a.d(s,{A:()=>E});var c=a(9950),n=a(9398),i=a(6744),t=a(6042),r=a(8029),o=a(3507),l=(a(7119),c.forwardRef(function(e,s){var a,n=e.prefixCls,o=void 0===n?"rc-switch":n,l=e.className,d=e.checked,u=e.defaultChecked,h=e.disabled,E=e.loadingIcon,N=e.checkedChildren,p=e.unCheckedChildren,A=e.onClick,C=e.onChange,f=e.onKeyDown,_=(0,i.z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),T=(0,t.u)(!1,{value:d,defaultValue:u}),S=(0,i._)(T,2),O=S[0],I=S[1];function g(e,s){var a=O;return h||(I(a=e),null==C||C(a,s)),a}var m=(0,i.c)(o,l,(a={},(0,i.a)(a,"".concat(o,"-checked"),O),(0,i.a)(a,"".concat(o,"-disabled"),h),a));return c.createElement("button",Object.assign({},_,{type:"button",role:"switch","aria-checked":O,disabled:h,className:m,ref:s,onKeyDown:function(e){e.which===r.K.LEFT?g(!1,e):e.which===r.K.RIGHT&&g(!0,e),null==f||f(e)},onClick:function(e){var s=g(!O,e);null==A||A(s,e)}}),E,c.createElement("span",{className:"".concat(o,"-inner")},O?N:p))}));l.displayName="Switch";var d=globalThis&&globalThis.__rest||function(e,s){var a={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&s.indexOf(c)<0&&(a[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(c=Object.getOwnPropertySymbols(e);n<c.length;n++)s.indexOf(c[n])<0&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(a[c[n]]=e[c[n]])}return a},u=c.forwardRef(function(e,s){var a,n=e.prefixCls,t=e.size,r=e.loading,u=e.className,h=void 0===u?"":u,E=e.disabled,N=d(e,["prefixCls","size","loading","className","disabled"]);(0,i.j)("checked"in N||!("value"in N),"Switch","`value` is not a valid prop, do you mean `checked`?");var p=c.useContext(i.k),A=p.getPrefixCls,C=p.direction,f=c.useContext(i.S),_=A("switch",n),T=c.createElement("div",{className:"".concat(_,"-handle")},r&&c.createElement(i.M,{className:"".concat(_,"-loading-icon")})),S=(0,i.c)((a={},(0,i.a)(a,"".concat(_,"-small"),"small"===(t||f)),(0,i.a)(a,"".concat(_,"-loading"),r),(0,i.a)(a,"".concat(_,"-rtl"),"rtl"===C),a),h);return c.createElement(o.W,{insertExtraNode:!0},c.createElement(l,(0,i.g)({},N,{prefixCls:_,className:S,disabled:E||r,ref:s,loadingIcon:T})))});u.__ANT_SWITCH=!0,u.displayName="Switch";const h=u;class E extends c.Component{getWrapperClassName(e){switch(e){case"large":return"large";case"medium":default:return"medium";case"small":return"small"}}render(){const{size:e,...s}=this.props;return(0,n.j)("span",{className:`st-switch-wrapper ${this.getWrapperClassName(e)}`,children:(0,n.j)(h,{...s})})}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.